easy-email-pro-core 1.59.3 → 1.59.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.cjs.js +1 -1
- package/lib/index.es.js +1 -1
- package/package.json +1 -1
package/lib/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=Object.defineProperty,t=Object.defineProperties,r=Object.getOwnPropertyDescriptors,n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,s=(t,r,n)=>r in t?e(t,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[r]=n,o=(e,t)=>{for(var r in t||(t={}))i.call(t,r)&&s(e,r,t[r]);if(n)for(var r of n(t))a.call(t,r)&&s(e,r,t[r]);return e},l=(e,n)=>t(e,r(n)),u=(e,t)=>{var r={};for(var s in e)i.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(null!=e&&n)for(var s of n(e))t.indexOf(s)<0&&a.call(e,s)&&(r[s]=e[s]);return r},c=(e,t,r)=>s(e,"symbol"!=typeof t?t+"":t,r),p=(e,t,r)=>new Promise(((n,i)=>{var a=e=>{try{o(r.next(e))}catch(t){i(t)}},s=e=>{try{o(r.throw(e))}catch(t){i(t)}},o=e=>e.done?n(e.value):Promise.resolve(e.value).then(a,s);o((r=r.apply(e,t)).next())}));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("lodash"),h=require("react"),_=require("axios"),f=require("react-dom/server");function g(...e){return e.filter((e=>"string"==typeof e)).join(" ")}function m(e){return e}function b(e,t){return d.mergeWith(d.cloneDeep(e),d.cloneDeep(t),((e,t)=>d.isArray(t)?t:void 0))}function y(e,t,r){const n=new Date;n.setTime(n.getTime()+1e3*r);const i="expires="+n.toUTCString();document.cookie=e+"="+t+";"+i}var x="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function v(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function w(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var r=function e(){var r=!1;try{r=this instanceof e}catch(n){}return r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var E={exports:{}};function k(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var A={exports:{}};const T=w(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var D;A.exports;function S(){return D||(D=1,A.exports=(e=e||function(e,t){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==x&&x.crypto&&(r=x.crypto),!r)try{r=T}catch(f){}var n=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(f){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(f){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),a={},s=a.lib={},o=s.Base=function(){return{extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),l=s.WordArray=o.extend({init:function(e,r){e=this.words=e||[],this.sigBytes=r!=t?r:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,i=e.sigBytes;if(this.clamp(),n%4)for(var a=0;a<i;a++){var s=r[a>>>2]>>>24-a%4*8&255;t[n+a>>>2]|=s<<24-(n+a)%4*8}else for(var o=0;o<i;o+=4)t[n+o>>>2]=r[o>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(n());return new l.init(t,e)}}),u=a.enc={},c=u.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var a=t[i>>>2]>>>24-i%4*8&255;n.push((a>>>4).toString(16)),n.push((15&a).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new l.init(r,t/2)}},p=u.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var a=t[i>>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new l.init(r,t)}},d=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return p.parse(unescape(encodeURIComponent(e)))}},h=s.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,i=n.words,a=n.sigBytes,s=this.blockSize,o=a/(4*s),u=(o=t?e.ceil(o):e.max((0|o)-this._minBufferSize,0))*s,c=e.min(4*u,a);if(u){for(var p=0;p<u;p+=s)this._doProcessBlock(i,p);r=i.splice(0,u),n.sigBytes-=c}return new l.init(r,c)},clone:function(){var e=o.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});s.Hasher=h.extend({cfg:o.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new _.HMAC.init(e,r).finalize(t)}}});var _=a.algo={};return a}(Math),e)),A.exports;var e}var N,R={exports:{}};R.exports;function O(){return N||(N=1,R.exports=(s=S(),r=(t=s).lib,n=r.Base,i=r.WordArray,(a=t.x64={}).Word=n.extend({init:function(e,t){this.high=e,this.low=t}}),a.WordArray=n.extend({init:function(t,r){t=this.words=t||[],this.sigBytes=r!=e?r:8*t.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n<t;n++){var a=e[n];r.push(a.high),r.push(a.low)}return i.create(r,this.sigBytes)},clone:function(){for(var e=n.clone.call(this),t=e.words=this.words.slice(0),r=t.length,i=0;i<r;i++)t[i]=t[i].clone();return e}}),s)),R.exports;var e,t,r,n,i,a,s}var L,B={exports:{}};B.exports;function C(){return L||(L=1,B.exports=(e=S(),function(){if("function"==typeof ArrayBuffer){var t=e.lib.WordArray,r=t.init,n=t.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],i=0;i<t;i++)n[i>>>2]|=e[i]<<24-i%4*8;r.call(this,n,t)}else r.apply(this,arguments)};n.prototype=t}}(),e.lib.WordArray)),B.exports;var e}var I,q={exports:{}};q.exports;function P(){return I||(I=1,q.exports=(e=S(),function(){var t=e,r=t.lib.WordArray,n=t.enc;function i(e){return e<<8&4278255360|e>>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i+=2){var a=t[i>>>2]>>>16-i%4*8&65535;n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i++)n[i>>>1]|=e.charCodeAt(i)<<16-i%2*16;return r.create(n,2*t)}},n.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],a=0;a<r;a+=2){var s=i(t[a>>>2]>>>16-a%4*8&65535);n.push(String.fromCharCode(s))}return n.join("")},parse:function(e){for(var t=e.length,n=[],a=0;a<t;a++)n[a>>>1]|=i(e.charCodeAt(a)<<16-a%2*16);return r.create(n,2*t)}}}(),e.enc.Utf16)),q.exports;var e}var M,U={exports:{}};U.exports;function F(){return M||(M=1,U.exports=(e=S(),function(){var t=e,r=t.lib.WordArray;function n(e,t,n){for(var i=[],a=0,s=0;s<t;s++)if(s%4){var o=n[e.charCodeAt(s-1)]<<s%4*2|n[e.charCodeAt(s)]>>>6-s%4*2;i[a>>>2]|=o<<24-a%4*8,a++}return r.create(i,a)}t.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var i=[],a=0;a<r;a+=3)for(var s=(t[a>>>2]>>>24-a%4*8&255)<<16|(t[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|t[a+2>>>2]>>>24-(a+2)%4*8&255,o=0;o<4&&a+.75*o<r;o++)i.push(n.charAt(s>>>6*(3-o)&63));var l=n.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(e){var t=e.length,r=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var a=0;a<r.length;a++)i[r.charCodeAt(a)]=a}var s=r.charAt(64);if(s){var o=e.indexOf(s);-1!==o&&(t=o)}return n(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.enc.Base64)),U.exports;var e}var j,z={exports:{}};z.exports;function H(){return j||(j=1,z.exports=(e=S(),function(){var t=e,r=t.lib.WordArray;function n(e,t,n){for(var i=[],a=0,s=0;s<t;s++)if(s%4){var o=n[e.charCodeAt(s-1)]<<s%4*2|n[e.charCodeAt(s)]>>>6-s%4*2;i[a>>>2]|=o<<24-a%4*8,a++}return r.create(i,a)}t.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var r=e.words,n=e.sigBytes,i=t?this._safe_map:this._map;e.clamp();for(var a=[],s=0;s<n;s+=3)for(var o=(r[s>>>2]>>>24-s%4*8&255)<<16|(r[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|r[s+2>>>2]>>>24-(s+2)%4*8&255,l=0;l<4&&s+.75*l<n;l++)a.push(i.charAt(o>>>6*(3-l)&63));var u=i.charAt(64);if(u)for(;a.length%4;)a.push(u);return a.join("")},parse:function(e,t){void 0===t&&(t=!0);var r=e.length,i=t?this._safe_map:this._map,a=this._reverseMap;if(!a){a=this._reverseMap=[];for(var s=0;s<i.length;s++)a[i.charCodeAt(s)]=s}var o=i.charAt(64);if(o){var l=e.indexOf(o);-1!==l&&(r=l)}return n(e,r,a)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),e.enc.Base64url)),z.exports;var e}var V,$={exports:{}};$.exports;function G(){return V||(V=1,$.exports=(e=S(),function(t){var r=e,n=r.lib,i=n.WordArray,a=n.Hasher,s=r.algo,o=[];!function(){for(var e=0;e<64;e++)o[e]=4294967296*t.abs(t.sin(e+1))|0}();var l=s.MD5=a.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var a=this._hash.words,s=e[t+0],l=e[t+1],h=e[t+2],_=e[t+3],f=e[t+4],g=e[t+5],m=e[t+6],b=e[t+7],y=e[t+8],x=e[t+9],v=e[t+10],w=e[t+11],E=e[t+12],k=e[t+13],A=e[t+14],T=e[t+15],D=a[0],S=a[1],N=a[2],R=a[3];D=u(D,S,N,R,s,7,o[0]),R=u(R,D,S,N,l,12,o[1]),N=u(N,R,D,S,h,17,o[2]),S=u(S,N,R,D,_,22,o[3]),D=u(D,S,N,R,f,7,o[4]),R=u(R,D,S,N,g,12,o[5]),N=u(N,R,D,S,m,17,o[6]),S=u(S,N,R,D,b,22,o[7]),D=u(D,S,N,R,y,7,o[8]),R=u(R,D,S,N,x,12,o[9]),N=u(N,R,D,S,v,17,o[10]),S=u(S,N,R,D,w,22,o[11]),D=u(D,S,N,R,E,7,o[12]),R=u(R,D,S,N,k,12,o[13]),N=u(N,R,D,S,A,17,o[14]),D=c(D,S=u(S,N,R,D,T,22,o[15]),N,R,l,5,o[16]),R=c(R,D,S,N,m,9,o[17]),N=c(N,R,D,S,w,14,o[18]),S=c(S,N,R,D,s,20,o[19]),D=c(D,S,N,R,g,5,o[20]),R=c(R,D,S,N,v,9,o[21]),N=c(N,R,D,S,T,14,o[22]),S=c(S,N,R,D,f,20,o[23]),D=c(D,S,N,R,x,5,o[24]),R=c(R,D,S,N,A,9,o[25]),N=c(N,R,D,S,_,14,o[26]),S=c(S,N,R,D,y,20,o[27]),D=c(D,S,N,R,k,5,o[28]),R=c(R,D,S,N,h,9,o[29]),N=c(N,R,D,S,b,14,o[30]),D=p(D,S=c(S,N,R,D,E,20,o[31]),N,R,g,4,o[32]),R=p(R,D,S,N,y,11,o[33]),N=p(N,R,D,S,w,16,o[34]),S=p(S,N,R,D,A,23,o[35]),D=p(D,S,N,R,l,4,o[36]),R=p(R,D,S,N,f,11,o[37]),N=p(N,R,D,S,b,16,o[38]),S=p(S,N,R,D,v,23,o[39]),D=p(D,S,N,R,k,4,o[40]),R=p(R,D,S,N,s,11,o[41]),N=p(N,R,D,S,_,16,o[42]),S=p(S,N,R,D,m,23,o[43]),D=p(D,S,N,R,x,4,o[44]),R=p(R,D,S,N,E,11,o[45]),N=p(N,R,D,S,T,16,o[46]),D=d(D,S=p(S,N,R,D,h,23,o[47]),N,R,s,6,o[48]),R=d(R,D,S,N,b,10,o[49]),N=d(N,R,D,S,A,15,o[50]),S=d(S,N,R,D,g,21,o[51]),D=d(D,S,N,R,E,6,o[52]),R=d(R,D,S,N,_,10,o[53]),N=d(N,R,D,S,v,15,o[54]),S=d(S,N,R,D,l,21,o[55]),D=d(D,S,N,R,y,6,o[56]),R=d(R,D,S,N,T,10,o[57]),N=d(N,R,D,S,m,15,o[58]),S=d(S,N,R,D,k,21,o[59]),D=d(D,S,N,R,f,6,o[60]),R=d(R,D,S,N,w,10,o[61]),N=d(N,R,D,S,h,15,o[62]),S=d(S,N,R,D,x,21,o[63]),a[0]=a[0]+D|0,a[1]=a[1]+S|0,a[2]=a[2]+N|0,a[3]=a[3]+R|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;r[i>>>5]|=128<<24-i%32;var a=t.floor(n/4294967296),s=n;r[15+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),r[14+(i+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),e.sigBytes=4*(r.length+1),this._process();for(var o=this._hash,l=o.words,u=0;u<4;u++){var c=l[u];l[u]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return o},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,r,n,i,a,s){var o=e+(t&r|~t&n)+i+s;return(o<<a|o>>>32-a)+t}function c(e,t,r,n,i,a,s){var o=e+(t&n|r&~n)+i+s;return(o<<a|o>>>32-a)+t}function p(e,t,r,n,i,a,s){var o=e+(t^r^n)+i+s;return(o<<a|o>>>32-a)+t}function d(e,t,r,n,i,a,s){var o=e+(r^(t|~n))+i+s;return(o<<a|o>>>32-a)+t}r.MD5=a._createHelper(l),r.HmacMD5=a._createHmacHelper(l)}(Math),e.MD5)),$.exports;var e}var W,K={exports:{}};K.exports;function X(){return W||(W=1,K.exports=(o=S(),t=(e=o).lib,r=t.WordArray,n=t.Hasher,i=e.algo,a=[],s=i.SHA1=n.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],s=r[2],o=r[3],l=r[4],u=0;u<80;u++){if(u<16)a[u]=0|e[t+u];else{var c=a[u-3]^a[u-8]^a[u-14]^a[u-16];a[u]=c<<1|c>>>31}var p=(n<<5|n>>>27)+l+a[u];p+=u<20?1518500249+(i&s|~i&o):u<40?1859775393+(i^s^o):u<60?(i&s|i&o|s&o)-1894007588:(i^s^o)-899497514,l=o,o=s,s=i<<30|i>>>2,i=n,n=p}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+s|0,r[3]=r[3]+o|0,r[4]=r[4]+l|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e}}),e.SHA1=n._createHelper(s),e.HmacSHA1=n._createHmacHelper(s),o.SHA1)),K.exports;var e,t,r,n,i,a,s,o}var J,Y={exports:{}};Y.exports;function Q(){return J||(J=1,Y.exports=(e=S(),function(t){var r=e,n=r.lib,i=n.WordArray,a=n.Hasher,s=r.algo,o=[],l=[];!function(){function e(e){for(var r=t.sqrt(e),n=2;n<=r;n++)if(!(e%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,i=0;i<64;)e(n)&&(i<8&&(o[i]=r(t.pow(n,.5))),l[i]=r(t.pow(n,1/3)),i++),n++}();var u=[],c=s.SHA256=a.extend({_doReset:function(){this._hash=new i.init(o.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],a=r[2],s=r[3],o=r[4],c=r[5],p=r[6],d=r[7],h=0;h<64;h++){if(h<16)u[h]=0|e[t+h];else{var _=u[h-15],f=(_<<25|_>>>7)^(_<<14|_>>>18)^_>>>3,g=u[h-2],m=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;u[h]=f+u[h-7]+m+u[h-16]}var b=n&i^n&a^i&a,y=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),x=d+((o<<26|o>>>6)^(o<<21|o>>>11)^(o<<7|o>>>25))+(o&c^~o&p)+l[h]+u[h];d=p,p=c,c=o,o=s+x|0,s=a,a=i,i=n,n=x+(y+b)|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+a|0,r[3]=r[3]+s|0,r[4]=r[4]+o|0,r[5]=r[5]+c|0,r[6]=r[6]+p|0,r[7]=r[7]+d|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=t.floor(n/4294967296),r[15+(i+64>>>9<<4)]=n,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});r.SHA256=a._createHelper(c),r.HmacSHA256=a._createHmacHelper(c)}(Math),e.SHA256)),Y.exports;var e}var Z,ee={exports:{}};ee.exports;var te,re={exports:{}};re.exports;function ne(){return te||(te=1,re.exports=(e=S(),O(),function(){var t=e,r=t.lib.Hasher,n=t.x64,i=n.Word,a=n.WordArray,s=t.algo;function o(){return i.create.apply(i,arguments)}var l=[o(1116352408,3609767458),o(1899447441,602891725),o(3049323471,3964484399),o(3921009573,2173295548),o(961987163,4081628472),o(1508970993,3053834265),o(2453635748,2937671579),o(2870763221,3664609560),o(3624381080,2734883394),o(310598401,1164996542),o(607225278,1323610764),o(1426881987,3590304994),o(1925078388,4068182383),o(2162078206,991336113),o(2614888103,633803317),o(3248222580,3479774868),o(3835390401,2666613458),o(4022224774,944711139),o(264347078,2341262773),o(604807628,2007800933),o(770255983,1495990901),o(1249150122,1856431235),o(1555081692,3175218132),o(1996064986,2198950837),o(2554220882,3999719339),o(2821834349,766784016),o(2952996808,2566594879),o(3210313671,3203337956),o(3336571891,1034457026),o(3584528711,2466948901),o(113926993,3758326383),o(338241895,168717936),o(666307205,1188179964),o(773529912,1546045734),o(1294757372,1522805485),o(1396182291,2643833823),o(1695183700,2343527390),o(1986661051,1014477480),o(2177026350,1206759142),o(2456956037,344077627),o(2730485921,1290863460),o(2820302411,3158454273),o(3259730800,3505952657),o(3345764771,106217008),o(3516065817,3606008344),o(3600352804,1432725776),o(4094571909,1467031594),o(275423344,851169720),o(430227734,3100823752),o(506948616,1363258195),o(659060556,3750685593),o(883997877,3785050280),o(958139571,3318307427),o(1322822218,3812723403),o(1537002063,2003034995),o(1747873779,3602036899),o(1955562222,1575990012),o(2024104815,1125592928),o(2227730452,2716904306),o(2361852424,442776044),o(2428436474,593698344),o(2756734187,3733110249),o(3204031479,2999351573),o(3329325298,3815920427),o(3391569614,3928383900),o(3515267271,566280711),o(3940187606,3454069534),o(4118630271,4000239992),o(116418474,1914138554),o(174292421,2731055270),o(289380356,3203993006),o(460393269,320620315),o(685471733,587496836),o(852142971,1086792851),o(1017036298,365543100),o(1126000580,2618297676),o(1288033470,3409855158),o(1501505948,4234509866),o(1607167915,987167468),o(1816402316,1246189591)],u=[];!function(){for(var e=0;e<80;e++)u[e]=o()}();var c=s.SHA512=r.extend({_doReset:function(){this._hash=new a.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],a=r[2],s=r[3],o=r[4],c=r[5],p=r[6],d=r[7],h=n.high,_=n.low,f=i.high,g=i.low,m=a.high,b=a.low,y=s.high,x=s.low,v=o.high,w=o.low,E=c.high,k=c.low,A=p.high,T=p.low,D=d.high,S=d.low,N=h,R=_,O=f,L=g,B=m,C=b,I=y,q=x,P=v,M=w,U=E,F=k,j=A,z=T,H=D,V=S,$=0;$<80;$++){var G,W,K=u[$];if($<16)W=K.high=0|e[t+2*$],G=K.low=0|e[t+2*$+1];else{var X=u[$-15],J=X.high,Y=X.low,Q=(J>>>1|Y<<31)^(J>>>8|Y<<24)^J>>>7,Z=(Y>>>1|J<<31)^(Y>>>8|J<<24)^(Y>>>7|J<<25),ee=u[$-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,ie=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),ae=u[$-7],se=ae.high,oe=ae.low,le=u[$-16],ue=le.high,ce=le.low;W=(W=(W=Q+se+((G=Z+oe)>>>0<Z>>>0?1:0))+ne+((G+=ie)>>>0<ie>>>0?1:0))+ue+((G+=ce)>>>0<ce>>>0?1:0),K.high=W,K.low=G}var pe,de=P&U^~P&j,he=M&F^~M&z,_e=N&O^N&B^O&B,fe=R&L^R&C^L&C,ge=(N>>>28|R<<4)^(N<<30|R>>>2)^(N<<25|R>>>7),me=(R>>>28|N<<4)^(R<<30|N>>>2)^(R<<25|N>>>7),be=(P>>>14|M<<18)^(P>>>18|M<<14)^(P<<23|M>>>9),ye=(M>>>14|P<<18)^(M>>>18|P<<14)^(M<<23|P>>>9),xe=l[$],ve=xe.high,we=xe.low,Ee=H+be+((pe=V+ye)>>>0<V>>>0?1:0),ke=me+fe;H=j,V=z,j=U,z=F,U=P,F=M,P=I+(Ee=(Ee=(Ee=Ee+de+((pe+=he)>>>0<he>>>0?1:0))+ve+((pe+=we)>>>0<we>>>0?1:0))+W+((pe+=G)>>>0<G>>>0?1:0))+((M=q+pe|0)>>>0<q>>>0?1:0)|0,I=B,q=C,B=O,C=L,O=N,L=R,N=Ee+(ge+_e+(ke>>>0<me>>>0?1:0))+((R=pe+ke|0)>>>0<pe>>>0?1:0)|0}_=n.low=_+R,n.high=h+N+(_>>>0<R>>>0?1:0),g=i.low=g+L,i.high=f+O+(g>>>0<L>>>0?1:0),b=a.low=b+C,a.high=m+B+(b>>>0<C>>>0?1:0),x=s.low=x+q,s.high=y+I+(x>>>0<q>>>0?1:0),w=o.low=w+M,o.high=v+P+(w>>>0<M>>>0?1:0),k=c.low=k+F,c.high=E+U+(k>>>0<F>>>0?1:0),T=p.low=T+z,p.high=A+j+(T>>>0<z>>>0?1:0),S=d.low=S+V,d.high=D+H+(S>>>0<V>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=r._createHelper(c),t.HmacSHA512=r._createHmacHelper(c)}(),e.SHA512)),re.exports;var e}var ie,ae={exports:{}};ae.exports;var se,oe={exports:{}};oe.exports;function le(){return se||(se=1,oe.exports=(e=S(),O(),function(t){var r=e,n=r.lib,i=n.WordArray,a=n.Hasher,s=r.x64.Word,o=r.algo,l=[],u=[],c=[];!function(){for(var e=1,t=0,r=0;r<24;r++){l[e+5*t]=(r+1)*(r+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}for(e=0;e<5;e++)for(t=0;t<5;t++)u[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,a=0;a<24;a++){for(var o=0,p=0,d=0;d<7;d++){if(1&i){var h=(1<<d)-1;h<32?p^=1<<h:o^=1<<h-32}128&i?i=i<<1^113:i<<=1}c[a]=s.create(o,p)}}();var p=[];!function(){for(var e=0;e<25;e++)p[e]=s.create()}();var d=o.SHA3=a.extend({cfg:a.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new s.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,n=this.blockSize/2,i=0;i<n;i++){var a=e[t+2*i],s=e[t+2*i+1];a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),(S=r[i]).high^=s,S.low^=a}for(var o=0;o<24;o++){for(var d=0;d<5;d++){for(var h=0,_=0,f=0;f<5;f++)h^=(S=r[d+5*f]).high,_^=S.low;var g=p[d];g.high=h,g.low=_}for(d=0;d<5;d++){var m=p[(d+4)%5],b=p[(d+1)%5],y=b.high,x=b.low;for(h=m.high^(y<<1|x>>>31),_=m.low^(x<<1|y>>>31),f=0;f<5;f++)(S=r[d+5*f]).high^=h,S.low^=_}for(var v=1;v<25;v++){var w=(S=r[v]).high,E=S.low,k=l[v];k<32?(h=w<<k|E>>>32-k,_=E<<k|w>>>32-k):(h=E<<k-32|w>>>64-k,_=w<<k-32|E>>>64-k);var A=p[u[v]];A.high=h,A.low=_}var T=p[0],D=r[0];for(T.high=D.high,T.low=D.low,d=0;d<5;d++)for(f=0;f<5;f++){var S=r[v=d+5*f],N=p[v],R=p[(d+1)%5+5*f],O=p[(d+2)%5+5*f];S.high=N.high^~R.high&O.high,S.low=N.low^~R.low&O.low}S=r[0];var L=c[o];S.high^=L.high,S.low^=L.low}},_doFinalize:function(){var e=this._data,r=e.words;this._nDataBytes;var n=8*e.sigBytes,a=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(t.ceil((n+1)/a)*a>>>5)-1]|=128,e.sigBytes=4*r.length,this._process();for(var s=this._state,o=this.cfg.outputLength/8,l=o/8,u=[],c=0;c<l;c++){var p=s[c],d=p.high,h=p.low;d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),u.push(h),u.push(d)}return new i.init(u,o)},clone:function(){for(var e=a.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});r.SHA3=a._createHelper(d),r.HmacSHA3=a._createHmacHelper(d)}(Math),e.SHA3)),oe.exports;var e}var ue,ce={exports:{}};ce.exports;var pe,de={exports:{}};de.exports;function he(){return pe||(pe=1,de.exports=(e=S(),r=(t=e).lib.Base,n=t.enc.Utf8,void(t.algo.HMAC=r.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=n.parse(t));var r=e.blockSize,i=4*r;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var a=this._oKey=t.clone(),s=this._iKey=t.clone(),o=a.words,l=s.words,u=0;u<r;u++)o[u]^=1549556828,l[u]^=909522486;a.sigBytes=s.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}})))),de.exports;var e,t,r,n}var _e,fe={exports:{}};fe.exports;var ge,me={exports:{}};me.exports;function be(){return ge||(ge=1,me.exports=(o=S(),X(),he(),t=(e=o).lib,r=t.Base,n=t.WordArray,i=e.algo,a=i.MD5,s=i.EvpKDF=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,i=this.cfg,a=i.hasher.create(),s=n.create(),o=s.words,l=i.keySize,u=i.iterations;o.length<l;){r&&a.update(r),r=a.update(e).finalize(t),a.reset();for(var c=1;c<u;c++)r=a.finalize(r),a.reset();s.concat(r)}return s.sigBytes=4*l,s}}),e.EvpKDF=function(e,t,r){return s.create(r).compute(e,t)},o.EvpKDF)),me.exports;var e,t,r,n,i,a,s,o}var ye,xe={exports:{}};xe.exports;function ve(){return ye||(ye=1,xe.exports=(e=S(),be(),void(e.lib.Cipher||function(t){var r=e,n=r.lib,i=n.Base,a=n.WordArray,s=n.BufferedBlockAlgorithm,o=r.enc;o.Utf8;var l=o.Base64,u=r.algo.EvpKDF,c=n.Cipher=s.extend({cfg:i.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?y:m}return function(t){return{encrypt:function(r,n,i){return e(n).encrypt(t,r,n,i)},decrypt:function(r,n,i){return e(n).decrypt(t,r,n,i)}}}}()});n.StreamCipher=c.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var p=r.mode={},d=n.BlockCipherMode=i.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),h=p.CBC=function(){var e=d.extend();function r(e,r,n){var i,a=this._iv;a?(i=a,this._iv=t):i=this._prevBlock;for(var s=0;s<n;s++)e[r+s]^=i[s]}return e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize;r.call(this,e,t,i),n.encryptBlock(e,t),this._prevBlock=e.slice(t,t+i)}}),e.Decryptor=e.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,a=e.slice(t,t+i);n.decryptBlock(e,t),r.call(this,e,t,i),this._prevBlock=a}}),e}(),_=(r.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,n=r-e.sigBytes%r,i=n<<24|n<<16|n<<8|n,s=[],o=0;o<n;o+=4)s.push(i);var l=a.create(s,n);e.concat(l)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}};n.BlockCipher=c.extend({cfg:c.cfg.extend({mode:h,padding:_}),reset:function(){var e;c.reset.call(this);var t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4});var f=n.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),g=(r.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?a.create([1398893684,1701076831]).concat(r).concat(t):t).toString(l)},parse:function(e){var t,r=l.parse(e),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(t=a.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),f.create({ciphertext:r,salt:t})}},m=n.SerializableCipher=i.extend({cfg:i.extend({format:g}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var i=e.createEncryptor(r,n),a=i.finalize(t),s=i.cfg;return f.create({ciphertext:a,key:r,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),b=(r.kdf={}).OpenSSL={execute:function(e,t,r,n,i){if(n||(n=a.random(8)),i)s=u.create({keySize:t+r,hasher:i}).compute(e,n);else var s=u.create({keySize:t+r}).compute(e,n);var o=a.create(s.words.slice(t),4*r);return s.sigBytes=4*t,f.create({key:s,iv:o,salt:n})}},y=n.PasswordBasedCipher=m.extend({cfg:m.cfg.extend({kdf:b}),encrypt:function(e,t,r,n){var i=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize,n.salt,n.hasher);n.iv=i.iv;var a=m.encrypt.call(this,e,t,i.key,n);return a.mixIn(i),a},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var i=n.kdf.execute(r,e.keySize,e.ivSize,t.salt,n.hasher);return n.iv=i.iv,m.decrypt.call(this,e,t,i.key,n)}})}()))),xe.exports;var e}var we,Ee={exports:{}};Ee.exports;var ke,Ae={exports:{}};Ae.exports;var Te,De={exports:{}};De.exports;function Se(){return Te||(Te=1,De.exports=(e=S(),ve(),e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function r(e){if(255&~(e>>24))e+=1<<24;else{var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0,e+=t<<16,e+=r<<8,e+=n}return e}function n(e){return 0===(e[0]=r(e[0]))&&(e[1]=r(e[1])),e}var i=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize,a=this._iv,s=this._counter;a&&(s=this._counter=a.slice(0),this._iv=void 0),n(s);var o=s.slice(0);r.encryptBlock(o,0);for(var l=0;l<i;l++)e[t+l]^=o[l]}});return t.Decryptor=i,t}(),e.mode.CTRGladman)),De.exports;var e}var Ne,Re={exports:{}};Re.exports;var Oe,Le={exports:{}};Le.exports;var Be,Ce={exports:{}};Ce.exports;var Ie,qe={exports:{}};qe.exports;var Pe,Me={exports:{}};Me.exports;var Ue,Fe={exports:{}};Fe.exports;var je,ze={exports:{}};ze.exports;var He,Ve={exports:{}};Ve.exports;var $e,Ge={exports:{}};Ge.exports;var We,Ke={exports:{}};Ke.exports;function Xe(){return We||(We=1,Ke.exports=(e=S(),F(),G(),be(),ve(),function(){var t=e,r=t.lib,n=r.WordArray,i=r.BlockCipher,a=t.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],o=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],u=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],c=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],p=a.DES=i.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=s[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var i=this._subKeys=[],a=0;a<16;a++){var u=i[a]=[],c=l[a];for(r=0;r<24;r++)u[r/6|0]|=t[(o[r]-1+c)%28]<<31-r%6,u[4+(r/6|0)]|=t[28+(o[r+24]-1+c)%28]<<31-r%6;for(u[0]=u[0]<<1|u[0]>>>31,r=1;r<7;r++)u[r]=u[r]>>>4*(r-1)+3;u[7]=u[7]<<5|u[7]>>>27}var p=this._invSubKeys=[];for(r=0;r<16;r++)p[r]=i[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){this._lBlock=e[t],this._rBlock=e[t+1],d.call(this,4,252645135),d.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),d.call(this,1,1431655765);for(var n=0;n<16;n++){for(var i=r[n],a=this._lBlock,s=this._rBlock,o=0,l=0;l<8;l++)o|=u[l][((s^i[l])&c[l])>>>0];this._lBlock=s,this._rBlock=a^o}var p=this._lBlock;this._lBlock=this._rBlock,this._rBlock=p,d.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function d(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<<e}function h(e,t){var r=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<<e}t.DES=i._createHelper(p);var _=a.TripleDES=i.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var t=e.slice(0,2),r=e.length<4?e.slice(0,2):e.slice(2,4),i=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=p.createEncryptor(n.create(t)),this._des2=p.createEncryptor(n.create(r)),this._des3=p.createEncryptor(n.create(i))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=i._createHelper(_)}(),e.TripleDES)),Ke.exports;var e}var Je,Ye={exports:{}};Ye.exports;var Qe,Ze={exports:{}};Ze.exports;var et,tt={exports:{}};tt.exports;var rt,nt={exports:{}};nt.exports;function it(){return rt||(rt=1,nt.exports=(e=S(),F(),G(),be(),ve(),function(){var t=e,r=t.lib.BlockCipher,n=t.algo;const i=16,a=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],s=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var o={pbox:[],sbox:[]};function l(e,t){let r=t>>24&255,n=t>>16&255,i=t>>8&255,a=255&t,s=e.sbox[0][r]+e.sbox[1][n];return s^=e.sbox[2][i],s+=e.sbox[3][a],s}function u(e,t,r){let n,a=t,s=r;for(let o=0;o<i;++o)a^=e.pbox[o],s=l(e,a)^s,n=a,a=s,s=n;return n=a,a=s,s=n,s^=e.pbox[i],a^=e.pbox[i+1],{left:a,right:s}}function c(e,t,r){let n,a=t,s=r;for(let o=i+1;o>1;--o)a^=e.pbox[o],s=l(e,a)^s,n=a,a=s,s=n;return n=a,a=s,s=n,s^=e.pbox[1],a^=e.pbox[0],{left:a,right:s}}function p(e,t,r){for(let i=0;i<4;i++){e.sbox[i]=[];for(let t=0;t<256;t++)e.sbox[i][t]=s[i][t]}let n=0;for(let s=0;s<i+2;s++)e.pbox[s]=a[s]^t[n],n++,n>=r&&(n=0);let o=0,l=0,c=0;for(let a=0;a<i+2;a+=2)c=u(e,o,l),o=c.left,l=c.right,e.pbox[a]=o,e.pbox[a+1]=l;for(let i=0;i<4;i++)for(let t=0;t<256;t+=2)c=u(e,o,l),o=c.left,l=c.right,e.sbox[i][t]=o,e.sbox[i][t+1]=l;return!0}var d=n.Blowfish=r.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4;p(o,t,r)}},encryptBlock:function(e,t){var r=u(o,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},decryptBlock:function(e,t){var r=c(o,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},blockSize:2,keySize:4,ivSize:2});t.Blowfish=r._createHelper(d)}(),e.Blowfish)),nt.exports;var e}var at,st,ot,lt,ut,ct,pt;const dt=v(at?E.exports:(at=1,E.exports=function(e){return e}(S(),O(),C(),P(),F(),H(),G(),X(),Q(),(Z||(Z=1,ee.exports=(pt=S(),Q(),ot=(st=pt).lib.WordArray,lt=st.algo,ut=lt.SHA256,ct=lt.SHA224=ut.extend({_doReset:function(){this._hash=new ot.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=ut._doFinalize.call(this);return e.sigBytes-=4,e}}),st.SHA224=ut._createHelper(ct),st.HmacSHA224=ut._createHmacHelper(ct),pt.SHA224)),ee.exports),ne(),function(){return ie||(ie=1,ae.exports=(o=S(),O(),ne(),t=(e=o).x64,r=t.Word,n=t.WordArray,i=e.algo,a=i.SHA512,s=i.SHA384=a.extend({_doReset:function(){this._hash=new n.init([new r.init(3418070365,3238371032),new r.init(1654270250,914150663),new r.init(2438529370,812702999),new r.init(355462360,4144912697),new r.init(1731405415,4290775857),new r.init(2394180231,1750603025),new r.init(3675008525,1694076839),new r.init(1203062813,3204075428)])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=16,e}}),e.SHA384=a._createHelper(s),e.HmacSHA384=a._createHmacHelper(s),o.SHA384)),ae.exports;var e,t,r,n,i,a,s,o}(),le(),function(){return ue||(ue=1,ce.exports=(e=S(),function(t){var r=e,n=r.lib,i=n.WordArray,a=n.Hasher,s=r.algo,o=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),l=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),u=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),c=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),p=i.create([0,1518500249,1859775393,2400959708,2840853838]),d=i.create([1352829926,1548603684,1836072691,2053994217,0]),h=s.RIPEMD160=a.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var a,s,h,x,v,w,E,k,A,T,D,S=this._hash.words,N=p.words,R=d.words,O=o.words,L=l.words,B=u.words,C=c.words;for(w=a=S[0],E=s=S[1],k=h=S[2],A=x=S[3],T=v=S[4],r=0;r<80;r+=1)D=a+e[t+O[r]]|0,D+=r<16?_(s,h,x)+N[0]:r<32?f(s,h,x)+N[1]:r<48?g(s,h,x)+N[2]:r<64?m(s,h,x)+N[3]:b(s,h,x)+N[4],D=(D=y(D|=0,B[r]))+v|0,a=v,v=x,x=y(h,10),h=s,s=D,D=w+e[t+L[r]]|0,D+=r<16?b(E,k,A)+R[0]:r<32?m(E,k,A)+R[1]:r<48?g(E,k,A)+R[2]:r<64?f(E,k,A)+R[3]:_(E,k,A)+R[4],D=(D=y(D|=0,C[r]))+T|0,w=T,T=A,A=y(k,10),k=E,E=D;D=S[1]+h+A|0,S[1]=S[2]+x+T|0,S[2]=S[3]+v+w|0,S[3]=S[4]+a+E|0,S[4]=S[0]+s+k|0,S[0]=D},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,a=i.words,s=0;s<5;s++){var o=a[s];a[s]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}return i},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function _(e,t,r){return e^t^r}function f(e,t,r){return e&t|~e&r}function g(e,t,r){return(e|~t)^r}function m(e,t,r){return e&r|t&~r}function b(e,t,r){return e^(t|~r)}function y(e,t){return e<<t|e>>>32-t}r.RIPEMD160=a._createHelper(h),r.HmacRIPEMD160=a._createHmacHelper(h)}(),e.RIPEMD160)),ce.exports;var e}(),he(),function(){return _e||(_e=1,fe.exports=(l=S(),Q(),he(),t=(e=l).lib,r=t.Base,n=t.WordArray,i=e.algo,a=i.SHA256,s=i.HMAC,o=i.PBKDF2=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,i=s.create(r.hasher,e),a=n.create(),o=n.create([1]),l=a.words,u=o.words,c=r.keySize,p=r.iterations;l.length<c;){var d=i.update(t).finalize(o);i.reset();for(var h=d.words,_=h.length,f=d,g=1;g<p;g++){f=i.finalize(f),i.reset();for(var m=f.words,b=0;b<_;b++)h[b]^=m[b]}a.concat(d),u[0]++}return a.sigBytes=4*c,a}}),e.PBKDF2=function(e,t,r){return o.create(r).compute(e,t)},l.PBKDF2)),fe.exports;var e,t,r,n,i,a,s,o,l}(),be(),ve(),function(){return we||(we=1,Ee.exports=(e=S(),ve(),e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function r(e,t,r,n){var i,a=this._iv;a?(i=a.slice(0),this._iv=void 0):i=this._prevBlock,n.encryptBlock(i,0);for(var s=0;s<r;s++)e[t+s]^=i[s]}return t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize;r.call(this,e,t,i,n),this._prevBlock=e.slice(t,t+i)}}),t.Decryptor=t.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,a=e.slice(t,t+i);r.call(this,e,t,i,n),this._prevBlock=a}}),t}(),e.mode.CFB)),Ee.exports;var e}(),function(){return ke||(ke=1,Ae.exports=(r=S(),ve(),r.mode.CTR=(e=r.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,i=this._iv,a=this._counter;i&&(a=this._counter=i.slice(0),this._iv=void 0);var s=a.slice(0);r.encryptBlock(s,0),a[n-1]=a[n-1]+1|0;for(var o=0;o<n;o++)e[t+o]^=s[o]}}),e.Decryptor=t,e),r.mode.CTR)),Ae.exports;var e,t,r}(),Se(),function(){return Ne||(Ne=1,Re.exports=(r=S(),ve(),r.mode.OFB=(e=r.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,i=this._iv,a=this._keystream;i&&(a=this._keystream=i.slice(0),this._iv=void 0),r.encryptBlock(a,0);for(var s=0;s<n;s++)e[t+s]^=a[s]}}),e.Decryptor=t,e),r.mode.OFB)),Re.exports;var e,t,r}(),function(){return Oe||(Oe=1,Le.exports=(t=S(),ve(),t.mode.ECB=((e=t.lib.BlockCipherMode.extend()).Encryptor=e.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),e.Decryptor=e.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),e),t.mode.ECB)),Le.exports;var e,t}(),function(){return Be||(Be=1,Ce.exports=(e=S(),ve(),e.pad.AnsiX923={pad:function(e,t){var r=e.sigBytes,n=4*t,i=n-r%n,a=r+i-1;e.clamp(),e.words[a>>>2]|=i<<24-a%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923)),Ce.exports;var e}(),function(){return Ie||(Ie=1,qe.exports=(e=S(),ve(),e.pad.Iso10126={pad:function(t,r){var n=4*r,i=n-t.sigBytes%n;t.concat(e.lib.WordArray.random(i-1)).concat(e.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126)),qe.exports;var e}(),function(){return Pe||(Pe=1,Me.exports=(e=S(),ve(),e.pad.Iso97971={pad:function(t,r){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,r)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971)),Me.exports;var e}(),function(){return Ue||(Ue=1,Fe.exports=(e=S(),ve(),e.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){var t=e.words,r=e.sigBytes-1;for(r=e.sigBytes-1;r>=0;r--)if(t[r>>>2]>>>24-r%4*8&255){e.sigBytes=r+1;break}}},e.pad.ZeroPadding)),Fe.exports;var e}(),function(){return je||(je=1,ze.exports=(e=S(),ve(),e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding)),ze.exports;var e}(),function(){return He||(He=1,Ve.exports=(n=S(),ve(),t=(e=n).lib.CipherParams,r=e.enc.Hex,e.format.Hex={stringify:function(e){return e.ciphertext.toString(r)},parse:function(e){var n=r.parse(e);return t.create({ciphertext:n})}},n.format.Hex)),Ve.exports;var e,t,r,n}(),function(){return $e||($e=1,Ge.exports=(e=S(),F(),G(),be(),ve(),function(){var t=e,r=t.lib.BlockCipher,n=t.algo,i=[],a=[],s=[],o=[],l=[],u=[],c=[],p=[],d=[],h=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,n=0;for(t=0;t<256;t++){var _=n^n<<1^n<<2^n<<3^n<<4;_=_>>>8^255&_^99,i[r]=_,a[_]=r;var f=e[r],g=e[f],m=e[g],b=257*e[_]^16843008*_;s[r]=b<<24|b>>>8,o[r]=b<<16|b>>>16,l[r]=b<<8|b>>>24,u[r]=b,b=16843009*m^65537*g^257*f^16843008*r,c[_]=b<<24|b>>>8,p[_]=b<<16|b>>>16,d[_]=b<<8|b>>>24,h[_]=b,r?(r=f^e[e[e[m^f]]],n^=e[e[n]]):r=n=1}}();var _=[0,1,2,4,8,16,32,64,128,27,54],f=n.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=4*((this._nRounds=r+6)+1),a=this._keySchedule=[],s=0;s<n;s++)s<r?a[s]=t[s]:(u=a[s-1],s%r?r>6&&s%r==4&&(u=i[u>>>24]<<24|i[u>>>16&255]<<16|i[u>>>8&255]<<8|i[255&u]):(u=i[(u=u<<8|u>>>24)>>>24]<<24|i[u>>>16&255]<<16|i[u>>>8&255]<<8|i[255&u],u^=_[s/r|0]<<24),a[s]=a[s-r]^u);for(var o=this._invKeySchedule=[],l=0;l<n;l++){if(s=n-l,l%4)var u=a[s];else u=a[s-4];o[l]=l<4||s<=4?u:c[i[u>>>24]]^p[i[u>>>16&255]]^d[i[u>>>8&255]]^h[i[255&u]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,o,l,u,i)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,c,p,d,h,a),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,i,a,s,o){for(var l=this._nRounds,u=e[t]^r[0],c=e[t+1]^r[1],p=e[t+2]^r[2],d=e[t+3]^r[3],h=4,_=1;_<l;_++){var f=n[u>>>24]^i[c>>>16&255]^a[p>>>8&255]^s[255&d]^r[h++],g=n[c>>>24]^i[p>>>16&255]^a[d>>>8&255]^s[255&u]^r[h++],m=n[p>>>24]^i[d>>>16&255]^a[u>>>8&255]^s[255&c]^r[h++],b=n[d>>>24]^i[u>>>16&255]^a[c>>>8&255]^s[255&p]^r[h++];u=f,c=g,p=m,d=b}f=(o[u>>>24]<<24|o[c>>>16&255]<<16|o[p>>>8&255]<<8|o[255&d])^r[h++],g=(o[c>>>24]<<24|o[p>>>16&255]<<16|o[d>>>8&255]<<8|o[255&u])^r[h++],m=(o[p>>>24]<<24|o[d>>>16&255]<<16|o[u>>>8&255]<<8|o[255&c])^r[h++],b=(o[d>>>24]<<24|o[u>>>16&255]<<16|o[c>>>8&255]<<8|o[255&p])^r[h++],e[t]=f,e[t+1]=g,e[t+2]=m,e[t+3]=b},keySize:8});t.AES=r._createHelper(f)}(),e.AES)),Ge.exports;var e}(),Xe(),function(){return Je||(Je=1,Ye.exports=(e=S(),F(),G(),be(),ve(),function(){var t=e,r=t.lib.StreamCipher,n=t.algo,i=n.RC4=r.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],i=0;i<256;i++)n[i]=i;i=0;for(var a=0;i<256;i++){var s=i%r,o=t[s>>>2]>>>24-s%4*8&255;a=(a+n[i]+o)%256;var l=n[i];n[i]=n[a],n[a]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=a.call(this)},keySize:8,ivSize:0});function a(){for(var e=this._S,t=this._i,r=this._j,n=0,i=0;i<4;i++){r=(r+e[t=(t+1)%256])%256;var a=e[t];e[t]=e[r],e[r]=a,n|=e[(e[t]+e[r])%256]<<24-8*i}return this._i=t,this._j=r,n}t.RC4=r._createHelper(i);var s=n.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)a.call(this)}});t.RC4Drop=r._createHelper(s)}(),e.RC4)),Ye.exports;var e}(),function(){return Qe||(Qe=1,Ze.exports=(e=S(),F(),G(),be(),ve(),function(){var t=e,r=t.lib.StreamCipher,n=t.algo,i=[],a=[],s=[],o=n.Rabbit=r.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,r=0;r<4;r++)e[r]=16711935&(e[r]<<8|e[r]>>>24)|4278255360&(e[r]<<24|e[r]>>>8);var n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,r=0;r<4;r++)l.call(this);for(r=0;r<8;r++)i[r]^=n[r+4&7];if(t){var a=t.words,s=a[0],o=a[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),c=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),p=u>>>16|4294901760&c,d=c<<16|65535&u;for(i[0]^=u,i[1]^=p,i[2]^=c,i[3]^=d,i[4]^=u,i[5]^=p,i[6]^=c,i[7]^=d,r=0;r<4;r++)l.call(this)}},_doProcessBlock:function(e,t){var r=this._X;l.call(this),i[0]=r[0]^r[5]>>>16^r[3]<<16,i[1]=r[2]^r[7]>>>16^r[5]<<16,i[2]=r[4]^r[1]>>>16^r[7]<<16,i[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)i[n]=16711935&(i[n]<<8|i[n]>>>24)|4278255360&(i[n]<<24|i[n]>>>8),e[t+n]^=i[n]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,r=0;r<8;r++)a[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<a[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<a[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<a[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<a[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<a[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<a[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<a[6]>>>0?1:0)|0,this._b=t[7]>>>0<a[7]>>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],i=65535&n,o=n>>>16,l=((i*i>>>17)+i*o>>>15)+o*o,u=((4294901760&n)*n|0)+((65535&n)*n|0);s[r]=l^u}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.Rabbit=r._createHelper(o)}(),e.Rabbit)),Ze.exports;var e}(),function(){return et||(et=1,tt.exports=(e=S(),F(),G(),be(),ve(),function(){var t=e,r=t.lib.StreamCipher,n=t.algo,i=[],a=[],s=[],o=n.RabbitLegacy=r.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)l.call(this);for(i=0;i<8;i++)n[i]^=r[i+4&7];if(t){var a=t.words,s=a[0],o=a[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),c=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),p=u>>>16|4294901760&c,d=c<<16|65535&u;for(n[0]^=u,n[1]^=p,n[2]^=c,n[3]^=d,n[4]^=u,n[5]^=p,n[6]^=c,n[7]^=d,i=0;i<4;i++)l.call(this)}},_doProcessBlock:function(e,t){var r=this._X;l.call(this),i[0]=r[0]^r[5]>>>16^r[3]<<16,i[1]=r[2]^r[7]>>>16^r[5]<<16,i[2]=r[4]^r[1]>>>16^r[7]<<16,i[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)i[n]=16711935&(i[n]<<8|i[n]>>>24)|4278255360&(i[n]<<24|i[n]>>>8),e[t+n]^=i[n]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,r=0;r<8;r++)a[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<a[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<a[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<a[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<a[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<a[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<a[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<a[6]>>>0?1:0)|0,this._b=t[7]>>>0<a[7]>>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],i=65535&n,o=n>>>16,l=((i*i>>>17)+i*o>>>15)+o*o,u=((4294901760&n)*n|0)+((65535&n)*n|0);s[r]=l^u}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.RabbitLegacy=r._createHelper(o)}(),e.RabbitLegacy)),tt.exports;var e}(),it())));let ht="PENDING",_t="",ft={};const gt=["127.0.0.1","localhost"],mt=[{clidText:"yruFnUP9yM3OfLFA8+Vvgw==",expiredAt:1822435200},{clidText:"w7+CgUmAoqiicL1M/+ljjw==",expiredAt:1872288e3},{clidText:"2r+Yh0TuyMDICLBB8uRugg==",expiredAt:1735689600,origins:["easyemail.pro"]}],bt=(e,t)=>{const r=dt.AES.decrypt(t,"easy_email_pro_"+e).toString(dt.enc.Utf8);return JSON.parse(r)},yt={getToken(){if("undefined"!=typeof document)return function(e){let t="";return document.cookie.split(";").forEach((r=>{const n=r.split("=")[0];n.trim()===e&&(t=r.replace(`${n}=`,""))})),t}("e_e_p")},setToken(e){if("undefined"!=typeof document)return y("e_e_p",e,3600)},clearToken(){if("undefined"!=typeof document)return y("e_e_p","",-1)}},xt=e=>{const t=mt.find((t=>t.clidText===(e=>{const t=dt.enc.Utf8.parse("easy-email-pro"),r=dt.enc.Utf8.parse("easy-email-pro_multiple_years"),n=dt.mode.CFB,i=dt.pad.Pkcs7,a=e;return dt.AES.encrypt(a,t,{iv:r,mode:n,padding:i}).toString()})(e)));if(t){if(t.expiredAt>+new Date/1e3){t.expiredAt-+new Date/1e3<5184e3&&(console.log("-----------------------------------------"),console.log("-----------------------------------------"),console.log("-----------------------------------------"),console.error("Your Easy Email Pro subscription is about to expire. Please contact ch.mao@qq.com"),console.error("Your Easy Email Pro subscription is about to expire. Please contact ch.mao@qq.com"),console.error("Your Easy Email Pro subscription is about to expire. Please contact ch.mao@qq.com"),console.log("-----------------------------------------"),console.log("-----------------------------------------"),console.log("-----------------------------------------"));const e="undefined"==typeof window||void 0===window.location;if(t.origins&&!e){if(gt.includes(window.location.hostname))return!0;const e=function(e){var t;let r=null==(t=e.match(/(?:https?:\/\/)?(?:[^@\n]+@)?(?:www\.)?([^:/\n]+)/im))?void 0:t[1];if(!r)return e;if(r.split(".").length>2){const e=r.split(".");r=e.slice(e.length-2).join(".")}return r}(window.location.origin);return!!t.origins.includes(e)}return ht="SUCCESS",!0}return console.error("Subscription error"),!1}return!1};let vt;const wt=Object.freeze(new class{auth(e){return p(this,null,(function*(){_t=e;vt||(vt=p(null,null,(function*(){if("PENDING"!==ht)return;if(xt(e))return!0;const t=yt.getToken();if(t)try{const r=bt(e,t);r.expiredAt>+new Date/1e3&&(ht="SUCCESS",ft=r)}catch(n){yt.clearToken()}const r=()=>p(null,null,(function*(){try{const t="FREE"===e?"https://api.beacas.com":"https://api.easyemail.pro",{data:r}=yield _(`${t}/api/public/token?client_id=${e}&v=1.59.3`,{method:"GET",withCredentials:!1}),n=bt(e,r.access_token);ft=n,yt.setToken(r.access_token),ht="SUCCESS"}catch(n){try{const{data:t}=yield _(`https://api-easyemail-pro.vercel.app/api/public/token?client_id=${e}&v=1.59.3`,{method:"GET"}),r=bt(e,t.access_token);ft=r,yt.setToken(t.access_token),ht="SUCCESS"}catch(t){throw console.log("error",t),ht="ERROR",t}}}));"SUCCESS"===ht?r():yield r()}))),yield vt}))}get clientId(){return _t}getAuthState(){return ht}getFeatureEnabled(e){return!!xt(_t)||d.get(ft,"features",[]).includes(e)}});let Et={},kt=!1,At=!1;const Tt=Object.freeze(new class{checkLocaleData(){return p(this,null,(function*(){const e=setInterval((()=>{"SUCCESS"===wt.getAuthState()&&(kt=wt.getFeatureEnabled("LOCALIZATION"),At=!0,clearInterval(e))}),100)}))}setLocaleData(e){Et=e,At||this.checkLocaleData()}translate(e,t){return this.translateWithParams(e,t)}translateWithParams(e,t){if(At&&!kt)throw new Error("Current plan do not support localization");const r=d.get(Et,e,e);if(!t)return r;const n=r.split("***");return n.splice(1,0,t),d.isString(t)?n.join(""):h.createElement(h.Fragment,null,n.map(((e,t)=>h.createElement(h.Fragment,{key:t},e))))}}),Dt=Tt.translate.bind(Tt),St=".mjbody a{color:inherit}.direction-rtl,.navbar-direction-rtl .mj-link{direction:rtl}[data-view=PC] .hide-desktop-block,[data-view=PC] .hide-desktop-inline-block,[data-view=PC] .mobile-responsive-preview{display:none!important}[data-view=MOBILE] .node-type-page{margin:auto}[data-view=MOBILE] .hide-mobile-block,[data-view=MOBILE] .hide-mobile-inline-block,[data-view=MOBILE] .desktop-responsive-preview{display:none!important}",Nt={PAGE:"page",SECTION:"section",COLUMN:"column",GROUP:"group",TEXT:"text",IMAGE:"image",DIVIDER:"divider",SPACER:"spacer",BUTTON:"button",WRAPPER:"wrapper",RAW:"raw",HERO:"hero",CAROUSEL:"carousel",NAVBAR:"navbar",NAVBAR_LINK:"navbar-link",SOCIAL:"social",SOCIAL_ELEMENT:"social-element",MERGETAG:"mergetag",LINE_BREAK:"line-break",PLACEHOLDER:"placeholder",TABLE:"table",DANGEROUS_CODE:"dangerous-code",HTML_NODE:"html-node",HTML_BLOCK_NODE:"html-block-node",HTML_DOM_NODE:"html-dom-node",CONTENT_WIDGET:"content_widget",SECTION_WIDGET:"section_widget",WRAPPER_WIDGET:"wrapper_widget",PAGE_HEADER:"page-header",PAGE_FOOTER:"page-footer"},Rt={STANDARD_HERO:"standard-hero",STANDARD_WRAPPER:"standard-wrapper",STANDARD_SECTION:"standard-section",STANDARD_GROUP:"standard-group",STANDARD_COLUMN:"standard-column",STANDARD_IMAGE:"standard-image",STANDARD_DIVIDER:"standard-divider",STANDARD_SPACER:"standard-spacer",STANDARD_NAVBAR:"standard-navbar",STANDARD_NAVBAR_LINK:"standard-navbar-link",STANDARD_SOCIAL:"standard-social",STANDARD_SOCIAL_ELEMENT:"standard-social-element",STANDARD_BUTTON:"standard-button",STANDARD_TEXT:"standard-text",STANDARD_PARAGRAPH:"standard-paragraph",STANDARD_H1:"standard-h1",STANDARD_H2:"standard-h2",STANDARD_H3:"standard-h3",STANDARD_H4:"standard-h4",STANDARD_TABLE:"standard-table",STANDARD_TEXT_LIST:"standard-text-list",STANDARD_TEXT_LIST_ITEM:"standard-text-list-item",STANDARD_BLOCK_QUOTE:"standard-blockquote",STANDARD_TABLE2:"standard-table2",STANDARD_TABLE2_TR:"standard-table2-tr",STANDARD_TABLE2_TD:"standard-table2-td"},Ot={FOR_EACH:"logic-for-each",SHOW:"logic-show"},Lt=o(o(o({},Nt),Rt),Ot),Bt={PAGE:"page",RAW:"raw",HERO:"hero",WRAPPER:"wrapper",SECTION:"section",COLUMN:"column",GROUP:"group",TEXT:"text",TABLE:"table",BUTTON:"button",IMAGE:"image",DIVIDER:"divider",NAVBAR:"navbar",NAVBAR_LINK:"navbar-link",SOCIAL:"social",SOCIAL_ELEMENT:"social-element",SPACER:"spacer",TEXT_LIST:"text-list",TEXT_LIST_ITEM:"text-list-item",INLINE_TEXT:"inline-text",BLOCK_NODE:"block-node",DANGEROUS_CODE:"dangerous_code",UNKNOWN_CONTENT:"unknown-content ",AMP_BLOCK:"amp-block",UNSET:"unset",UNSET_RENDER:"unset-render",TABLE2_TR:"table2-tr",TABLE2_TD:"table2-td",PAGE_HEADER:"page-header",PAGE_FOOTER:"page-footer"},Ct="easy_email_pro_preview_content_editable",It="easy_email_pro_slate_node_placeholder",qt="easy_email_pro_slate_code_block",Pt=["img","br","hr","area","base","col","embed","input","link","meta","source"],Mt=["div","p","h1","h2","h3","h4","h5","h6","article","aside","nav","section","header","footer","address","ul","ol","li","table","td","th","tr","blockquote","pre","tbody","center"],Ut=()=>h.useContext(zt),Ft=e=>h.createElement(zt.Provider,{value:{context:e.context}},e.children);class jt{constructor(e){c(this,"mode"),c(this,"headItems",[]),c(this,"addStyle",(e=>{this.addHeadItems({type:"style",id:e.id,content:`<mj-style ${e.inline&&"production"===this.mode?'inline="inline"':""}>${e.content}</mj-style>`})})),this.mode=e.mode}getHeadContent(){return[...new Set(this.headItems.map((e=>e.content)))].join("\n")}addAttributeBySelector(e){this.addHeadItems({type:"selector",content:`<mj-html--attributes>\n <mj-selector path="${e.selector}">\n ${Object.keys(e.attributes).map((t=>`<mj-html--attribute name="${t}">${e.attributes[t]}</mj-html--attribute>`))}\n </mj-selector>\n </mj-html--attributes>`})}addHeadItems(e){e.id&&this.headItems.find((t=>t.id===e.id))||this.headItems.push({id:e.id,content:e.content,type:e.type})}}const zt=h.createContext({});var Ht,Vt={exports:{}};var $t,Gt,Wt=(Ht||(Ht=1,$t=Vt,Gt=Vt.exports,function(e){var t=Gt,r=$t&&$t.exports==t&&$t,n="object"==typeof x&&x;n.global!==n&&n.window!==n||(e=n);var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=/[\x01-\x7F]/g,s=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,o=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,l={"":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp"," ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},u=/["&'<>`]/g,c={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},p=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,d=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,h=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,_={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"",zwnj:""},f={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},g={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},m=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],b=String.fromCharCode,y={}.hasOwnProperty,v=function(e,t){return y.call(e,t)},w=function(e,t){if(!e)return t;var r,n={};for(r in t)n[r]=v(e,r)?e[r]:t[r];return n},E=function(e,t){var r="";return e>=55296&&e<=57343||e>1114111?(t&&T("character reference outside the permissible Unicode range"),"�"):v(g,e)?(t&&T("disallowed character reference"),g[e]):(t&&function(e,t){for(var r=-1,n=e.length;++r<n;)if(e[r]==t)return!0;return!1}(m,e)&&T("disallowed character reference"),e>65535&&(r+=b((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=b(e))},k=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},A=function(e){return"&#"+e+";"},T=function(e){throw Error("Parse error: "+e)},D=function(e,t){(t=w(t,D.options)).strict&&d.test(e)&&T("forbidden code point");var r=t.encodeEverything,n=t.useNamedReferences,c=t.allowUnsafeSymbols,p=t.decimal?A:k,h=function(e){return p(e.charCodeAt(0))};return r?(e=e.replace(a,(function(e){return n&&v(l,e)?"&"+l[e]+";":h(e)})),n&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),n&&(e=e.replace(o,(function(e){return"&"+l[e]+";"})))):n?(c||(e=e.replace(u,(function(e){return"&"+l[e]+";"}))),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(o,(function(e){return"&"+l[e]+";"}))):c||(e=e.replace(u,h)),e.replace(i,(function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return p(1024*(t-55296)+r-56320+65536)})).replace(s,h)};D.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var S=function(e,t){var r=(t=w(t,S.options)).strict;return r&&p.test(e)&&T("malformed character reference"),e.replace(h,(function(e,n,i,a,s,o,l,u,c){var p,d,h,g,m,b;return n?_[m=n]:i?(m=i,(b=a)&&t.isAttributeValue?(r&&"="==b&&T("`&` did not start a character reference"),e):(r&&T("named character reference was not terminated by a semicolon"),f[m]+(b||""))):s?(h=s,d=o,r&&!d&&T("character reference was not terminated by a semicolon"),p=parseInt(h,10),E(p,r)):l?(g=l,d=u,r&&!d&&T("character reference was not terminated by a semicolon"),p=parseInt(g,16),E(p,r)):(r&&T("named character reference was not terminated by a semicolon"),e)}))};S.options={isAttributeValue:!1,strict:!1};var N={version:"1.2.0",encode:D,decode:S,escape:function(e){return e.replace(u,(function(e){return c[e]}))},unescape:S};if(t&&!t.nodeType)if(r)r.exports=N;else for(var R in N)v(N,R)&&(t[R]=N[R]);else e.he=N}(Vt.exports)),Vt.exports);const Kt=v(Wt),Xt=[Bt.COLUMN,Bt.GROUP,Bt.UNSET,Bt.TEXT_LIST_ITEM,Bt.UNKNOWN_CONTENT],Jt=[Bt.DANGEROUS_CODE,Bt.TABLE,Bt.TEXT,Bt.BUTTON,Bt.DIVIDER,Bt.IMAGE,Bt.NAVBAR,Bt.SOCIAL,Bt.SPACER,Bt.TEXT_LIST,Bt.TEXT_LIST_ITEM,Bt.UNKNOWN_CONTENT,Bt.TABLE2_TD,Bt.AMP_BLOCK],Yt=class e{static getPageIdx(){return"content"}static getUniversalElementsIdx(e){return`blocks.${e}`}static getChildIdx(e,t){return`${e}.children.${t}`}static getNodeIdxClassName(e){return`node-idx-${e}`}static getParentIdx(t){var r;return t===e.getPageIdx()?"":(null==(r=/(.*)\.children\.\d+$/.exec(t))?void 0:r[1])||""}static isVoidBlockElement(t){if(!e.isElement(t))return!1;const r=Ja.getBlockByType(t.type);return Boolean(r.void)}static isUnsetElement(t){if(!e.isElement(t))return!1;const r=Ja.getBlockByType(t.type);return r.category===Bt.UNSET||r.category===Bt.SOCIAL_ELEMENT||r.category===Bt.NAVBAR_LINK}static isTable2Element(t){return!!e.isElement(t)&&t.type===Lt.STANDARD_TABLE2}static isAmpBlockElement(t){if(!e.isElement(t))return!1;return Ja.getBlockByType(t.type).category===Bt.AMP_BLOCK}static isTable2TrElement(t){if(!e.isElement(t))return!1;return Ja.getBlockByType(t.type).category===Bt.TABLE2_TR}static isTable2TdElement(t){if(!e.isElement(t))return!1;return Ja.getBlockByType(t.type).category===Bt.TABLE2_TD}static isTextNode(e){return Boolean(void 0!==d.get(e,"text"))}static isElement(e){return Boolean(d.get(e,"type")&&d.get(e,"children")&&d.get(e,"attributes"))}static isHTMLNodeElement(t){return e.isElement(t)&&t.type===Lt.HTML_NODE}static isHTMLBlockNodeElement(t){return e.isElement(t)&&t.type===Lt.HTML_BLOCK_NODE}static isBlockElement(t){const r=d.get(t,"type"),n=Ja.getBlockByType(r);return!!n&&!(n.inlineElement||e.isHTMLBlockNodeElement(t)||e.isTable2TrElement(t)||e.isTable2TdElement(t))}static isLineBreakElement(e){return d.get(e,"type")===Lt.LINE_BREAK}static isUniversalElement(t){return!!e.isElement(t)&&Boolean(t.uid)}static isStandaloneElement(t){var r;return!!e.isElement(t)&&Boolean(null==(r=Ja.getBlockByType(t.type))?void 0:r.standalone)}static isInlineElement(t){if(!e.isElement(t))return!1;const r=d.get(t,"type"),n=Ja.getBlockByType(r);return!!n&&!!n.inlineElement}static isMergetagElement(t){if(!e.isElement(t))return!1;const r=d.get(t,"type"),n=Ja.getBlockByType(r);return!!n&&(!!n.inlineElement&&n.type===Nt.MERGETAG)}static isPageHeaderElement(t){if(!e.isElement(t))return!1;const r=Ja.getBlockByType(t.type);return!!r&&r.category===Bt.PAGE_HEADER}static isPageFooterElement(t){if(!e.isElement(t))return!1;const r=Ja.getBlockByType(t.type);return!!r&&r.category===Bt.PAGE_FOOTER}static isParentCategory(t,r){if(t===Bt.BLOCK_NODE&&r===Bt.BLOCK_NODE)return!0;if([Bt.INLINE_TEXT,Bt.TEXT_LIST,Bt.BLOCK_NODE].includes(t)&&e.isContentElementCategory(r))return!0;if(e.isContentElementCategory(t))return!(!Tn.autoComplete||r!==Bt.PAGE&&r!==Bt.WRAPPER)||(r===Bt.COLUMN||r===Bt.HERO);switch(t){case Bt.COLUMN:return r===Bt.GROUP||r===Bt.SECTION;case Bt.GROUP:return r===Bt.SECTION;case Bt.SECTION:case Bt.HERO:return r===Bt.WRAPPER||r===Bt.PAGE;case Bt.WRAPPER:return r===Bt.PAGE;case Bt.SOCIAL_ELEMENT:return r===Bt.SOCIAL;case Bt.NAVBAR_LINK:return r===Bt.NAVBAR}return!1}static isParentCategoryType(t,r){const n=Ja.getBlockByType(t),i=Ja.getBlockByType(r);return!(![Lt.HTML_BLOCK_NODE,Lt.HTML_NODE].includes(t)||!e.isContentElement(i.create()))||(!(!n.inlineElement||![Lt.HTML_BLOCK_NODE,Lt.HTML_NODE].includes(r))||this.isParentCategory(n.category,i.category))}};c(Yt,"isContentElementCategory",(e=>Jt.includes(e))),c(Yt,"isPageElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.PAGE})),c(Yt,"isSectionElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.SECTION})),c(Yt,"isTableElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.TABLE})),c(Yt,"isHeroElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.HERO})),c(Yt,"isNavbarLink",(e=>!!Yt.isElement(e)&&(e.type===Lt.NAVBAR_LINK||e.type===Lt.STANDARD_NAVBAR_LINK))),c(Yt,"isDividerElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.DIVIDER})),c(Yt,"isSpacerElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.SPACER})),c(Yt,"isButtonElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category.includes(Bt.BUTTON)})),c(Yt,"isImageElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.IMAGE})),c(Yt,"isSocialElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.SOCIAL})),c(Yt,"isWidgetElement",(e=>!!Yt.isElement(e)&&[Lt.CONTENT_WIDGET,Lt.SECTION_WIDGET,Lt.WRAPPER_WIDGET].includes(e.type))),c(Yt,"isWrapperElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category.includes(Bt.WRAPPER)})),c(Yt,"isRawElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category.includes(Bt.RAW)})),c(Yt,"isGroupElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.GROUP})),c(Yt,"isColumnElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.COLUMN})),c(Yt,"isContentElement",(e=>{if(!Yt.isElement(e))return!1;if(e.type===Nt.PLACEHOLDER)return!0;const t=Ja.getBlockByType(e.type);return Jt.includes(t.category)})),c(Yt,"isAutoCompleteElement",(e=>{if(!Yt.isElement(e))return!1;if(e.type===Nt.PLACEHOLDER)return!0;const t=Ja.getBlockByType(e.type).category;return Jt.includes(t)&&t!==Bt.TABLE2_TD})),c(Yt,"isUnelectableElement",(e=>{if(!Yt.isElement(e))return!1;if(e.type===Nt.PLACEHOLDER)return!0;const t=Ja.getBlockByType(e.type);return Xt.includes(t.category)})),c(Yt,"isTextElement",(e=>{if(!Yt.isElement(e))return!1;const t=Ja.getBlockByType(e.type);return Yt.isTable2TdElement(e)||t.category===Bt.TEXT||t.category===Bt.TEXT_LIST||t.category===Bt.TEXT_LIST_ITEM||t.category===Bt.INLINE_TEXT})),c(Yt,"isPlaceholderElement",(e=>!!Yt.isElement(e)&&e.type===Nt.PLACEHOLDER)),c(Yt,"isTextListElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.TEXT_LIST})),c(Yt,"isTextListItemElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.TEXT_LIST_ITEM}));let Qt=Yt;var Zt,er={exports:{}},tr={},rr={exports:{}},nr={},ir={};function ar(){if(Zt)return ir;function e(e){this.__parent=e,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 t(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function r(r,n){this.__indent_cache=new t(r,n),this.raw=!1,this._end_with_newline=r.end_with_newline,this.indent_size=r.indent_size,this.wrap_line_length=r.wrap_line_length,this.indent_empty_lines=r.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}return Zt=1,e.prototype.clone_empty=function(){var t=new e(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},e.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},e.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},e.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.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)},e.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},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return 0===this.__items.length},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},e.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},t.prototype.get_indent_size=function(e,t){var r=this.__base_string_length;return t=t||0,e<0&&(r=0),r+=e*this.__indent_size,r+=t},t.prototype.get_indent_string=function(e,t){var r=this.__base_string;return t=t||0,e<0&&(e=0,r=""),t+=e*this.__indent_size,this.__ensure_cache(t),r+=this.__cache[t]},t.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},t.prototype.__add_column=function(){var e=this.__cache.length,t=0,r="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,r=new Array(t+1).join(this.__indent_string)),e&&(r+=new Array(e+1).join(" ")),this.__cache.push(r)},r.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},r.prototype.get_line_number=function(){return this.__lines.length},r.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},r.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},r.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},r.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},r.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var r=this.__lines.join("\n");return"\n"!==e&&(r=r.replace(/[\n]/g,e)),r},r.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},r.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},r.prototype.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},r.prototype.add_token=function(e){this.__add_space_before_token(),this.current_line.push(e),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},r.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},r.prototype.remove_indent=function(e){for(var t=this.__lines.length;e<t;)this.__lines[e]._remove_indent(),e++;this.current_line._remove_wrap_indent()},r.prototype.trim=function(e){for(e=void 0!==e&&e,this.current_line.trim();e&&this.__lines.length>1&&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},r.prototype.just_added_newline=function(){return this.current_line.is_empty()},r.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},r.prototype.ensure_empty_line_above=function(t,r){for(var n=this.__lines.length-2;n>=0;){var i=this.__lines[n];if(i.is_empty())break;if(0!==i.item(0).indexOf(t)&&i.item(-1)!==r){this.__lines.splice(n+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},ir.Output=r,ir}var sr,or={};function lr(){if(sr)return or;return sr=1,or.Token=function(e,t,r,n){this.type=e,this.text=t,this.comments_before=null,this.newlines=r||0,this.whitespace_before=n||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null},or}var ur,cr={};function pr(){return ur||(ur=1,function(e){var t="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",r="\\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",n="\\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",i="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",a="(?:"+i+"|[\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a"+r+"])",s="(?:"+i+"|["+t+r+n+"])*";e.identifier=new RegExp(a+s,"g"),e.identifierStart=new RegExp(a),e.identifierMatch=new RegExp("(?:"+i+"|["+t+r+n+"])+"),e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp("\r\n|"+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")}(cr)),cr}var dr,hr,_r={},fr={};function gr(){if(dr)return fr;function e(e,r){this.raw_options=t(e,r),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","angular","django","erb","handlebars","php","smarty"],["auto"])}function t(e,t){var n,i={};for(n in e=r(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function r(e){var t,r={};for(t in e){r[t.replace(/-/g,"_")]=e[t]}return r}return dr=1,e.prototype._get_array=function(e,t){var r=this.raw_options[e],n=t||[];return"object"==typeof r?null!==r&&"function"==typeof r.concat&&(n=r.concat()):"string"==typeof r&&(n=r.split(/[^a-zA-Z0-9_\/\-]+/)),n},e.prototype._get_boolean=function(e,t){var r=this.raw_options[e];return void 0===r?!!t:!!r},e.prototype._get_characters=function(e,t){var r=this.raw_options[e],n=t||"";return"string"==typeof r&&(n=r.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),n},e.prototype._get_number=function(e,t){var r=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var n=parseInt(r,10);return isNaN(n)&&(n=t),n},e.prototype._get_selection=function(e,t,r){var n=this._get_selection_list(e,t,r);if(1!==n.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return n[0]},e.prototype._get_selection_list=function(e,t,r){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(r=r||[t[0]],!this._is_valid_selection(r,t))throw new Error("Invalid Default Value!");var n=this._get_array(e,r);if(!this._is_valid_selection(n,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return n},e.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},fr.Options=e,fr.normalizeOpts=r,fr.mergeOpts=t,fr}function mr(){if(hr)return _r;hr=1;var e=gr().Options,t=["before-newline","after-newline","preserve-newline"];function r(r){e.call(this,r,"js");var n=this.raw_options.brace_style||null;"expand-strict"===n?this.raw_options.brace_style="expand":"collapse-preserve-inline"===n?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 i=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var a=0;a<i.length;a++)"preserve-inline"===i[a]?this.brace_preserve_inline=!0:this.brace_style=i[a];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",t),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}return r.prototype=new e,_r.Options=r,_r}var br,yr={},xr={};function vr(){if(br)return xr;br=1;var e=RegExp.prototype.hasOwnProperty("sticky");function t(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}return t.prototype.restart=function(){this.__position=0},t.prototype.back=function(){this.__position>0&&(this.__position-=1)},t.prototype.hasNext=function(){return this.__position<this.__input_length},t.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__input.charAt(this.__position),this.__position+=1),e},t.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__input_length&&(t=this.__input.charAt(e)),t},t.prototype.__match=function(t,r){t.lastIndex=r;var n=t.exec(this.__input);return!n||e&&t.sticky||n.index!==r&&(n=null),n},t.prototype.test=function(e,t){return t=t||0,(t+=this.__position)>=0&&t<this.__input_length&&!!this.__match(e,t)},t.prototype.testChar=function(e,t){var r=this.peek(t);return e.lastIndex=0,null!==r&&e.test(r)},t.prototype.match=function(e){var t=this.__match(e,this.__position);return t?this.__position+=t[0].length:t=null,t},t.prototype.read=function(e,t,r){var n,i="";return e&&(n=this.match(e))&&(i+=n[0]),!t||!n&&e||(i+=this.readUntil(t,r)),i},t.prototype.readUntil=function(e,t){var r,n=this.__position;e.lastIndex=this.__position;var i=e.exec(this.__input);return i?(n=i.index,t&&(n+=i[0].length)):n=this.__input_length,r=this.__input.substring(this.__position,n),this.__position=n,r},t.prototype.readUntilAfter=function(e){return this.readUntil(e,!0)},t.prototype.get_regexp=function(t,r){var n=null,i="g";return r&&e&&(i="y"),"string"==typeof t&&""!==t?n=new RegExp(t,i):t&&(n=new RegExp(t.source,i)),n},t.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},t.prototype.peekUntilAfter=function(e){var t=this.__position,r=this.readUntilAfter(e);return this.__position=t,r},t.prototype.lookBack=function(e){var t=this.__position-1;return t>=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},xr.InputScanner=t,xr}var wr,Er={},kr={};var Ar,Tr,Dr,Sr={},Nr={};function Rr(){if(Ar)return Nr;function e(e,t){this._input=e,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,t&&(this._starting_pattern=this._input.get_regexp(t._starting_pattern,!0),this._match_pattern=this._input.get_regexp(t._match_pattern,!0),this._until_pattern=this._input.get_regexp(t._until_pattern),this._until_after=t._until_after)}return Ar=1,e.prototype.read=function(){var e=this._input.read(this._starting_pattern);return this._starting_pattern&&!e||(e+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),e},e.prototype.read_match=function(){return this._input.match(this._match_pattern)},e.prototype.until_after=function(e){var t=this._create();return t._until_after=!0,t._until_pattern=this._input.get_regexp(e),t._update(),t},e.prototype.until=function(e){var t=this._create();return t._until_after=!1,t._until_pattern=this._input.get_regexp(e),t._update(),t},e.prototype.starting_with=function(e){var t=this._create();return t._starting_pattern=this._input.get_regexp(e,!0),t._update(),t},e.prototype.matching=function(e){var t=this._create();return t._match_pattern=this._input.get_regexp(e,!0),t._update(),t},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},Nr.Pattern=e,Nr}function Or(){if(Dr)return Er;Dr=1;var e=vr().InputScanner,t=lr().Token,r=function(){if(wr)return kr;function e(e){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=e}return wr=1,e.prototype.restart=function(){this.__position=0},e.prototype.isEmpty=function(){return 0===this.__tokens_length},e.prototype.hasNext=function(){return this.__position<this.__tokens_length},e.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__tokens[this.__position],this.__position+=1),e},e.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__tokens_length&&(t=this.__tokens[e]),t},e.prototype.add=function(e){this.__parent_token&&(e.parent=this.__parent_token),this.__tokens.push(e),this.__tokens_length+=1},kr.TokenStream=e,kr}().TokenStream,n=function(){if(Tr)return Sr;Tr=1;var e=Rr().Pattern;function t(t,r){e.call(this,t,r),r?this._line_regexp=this._input.get_regexp(r._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}return t.prototype=new e,t.prototype.__set_whitespace_patterns=function(e,t){e+="\\t ",t+="\\n\\r",this._match_pattern=this._input.get_regexp("["+e+t+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+t+"]")},t.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var e=this._input.read(this._match_pattern);if(" "===e)this.whitespace_before_token=" ";else if(e){var t=this.__split(this._newline_regexp,e);this.newline_count=t.length-1,this.whitespace_before_token=t[this.newline_count]}return e},t.prototype.matching=function(e,t){var r=this._create();return r.__set_whitespace_patterns(e,t),r._update(),r},t.prototype._create=function(){return new t(this._input,this)},t.prototype.__split=function(e,t){e.lastIndex=0;for(var r=0,n=[],i=e.exec(t);i;)n.push(t.substring(r,i.index)),r=i.index+i[0].length,i=e.exec(t);return r<t.length?n.push(t.substring(r,t.length)):n.push(""),n},Sr.WhitespacePattern=t,Sr}().WhitespacePattern,i={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},a=function(t,r){this._input=new e(t),this._options=r||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new n(this._input)};return a.prototype.tokenize=function(){var e;this._input.restart(),this.__tokens=new r,this._reset();for(var n=new t(i.START,""),a=null,s=[],o=new r;n.type!==i.EOF;){for(e=this._get_next_token(n,a);this._is_comment(e);)o.add(e),e=this._get_next_token(n,a);o.isEmpty()||(e.comments_before=o,o=new r),e.parent=a,this._is_opening(e)?(s.push(a),a=e):a&&this._is_closing(e,a)&&(e.opened=a,a.closed=e,a=s.pop(),e.parent=a),e.previous=n,n.next=e,this.__tokens.add(e),n=e}return this.__tokens},a.prototype._is_first_token=function(){return this.__tokens.isEmpty()},a.prototype._reset=function(){},a.prototype._get_next_token=function(e,t){this._readWhitespace();var r=this._input.read(/.+/g);return r?this._create_token(i.RAW,r):this._create_token(i.EOF,"")},a.prototype._is_comment=function(e){return!1},a.prototype._is_opening=function(e){return!1},a.prototype._is_closing=function(e,t){return!1},a.prototype._create_token=function(e,r){return new t(e,r,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},a.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},Er.Tokenizer=a,Er.TOKEN=i,Er}var Lr,Br={};function Cr(){if(Lr)return Br;function e(e,t){e="string"==typeof e?e:e.source,t="string"==typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}return Lr=1,e.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var r=this.__directive_pattern.exec(e);r;)t[r[1]]=r[2],r=this.__directive_pattern.exec(e);return t},e.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},Br.Directives=e,Br}var Ir,qr,Pr,Mr,Ur={};function Fr(){if(Ir)return Ur;Ir=1;var e=Rr().Pattern,t={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function r(r,n){e.call(this,r,n),this.__template_pattern=null,this._disabled=Object.assign({},t),this._excluded=Object.assign({},t),n&&(this.__template_pattern=this._input.get_regexp(n.__template_pattern),this._excluded=Object.assign(this._excluded,n._excluded),this._disabled=Object.assign(this._disabled,n._disabled));var i=new e(r);this.__patterns={handlebars_comment:i.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:i.starting_with(/{{{/).until_after(/}}}/),handlebars:i.starting_with(/{{/).until_after(/}}/),php:i.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:i.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:i.starting_with(/{%/).until_after(/%}/),django_value:i.starting_with(/{{/).until_after(/}}/),django_comment:i.starting_with(/{#/).until_after(/#}/),smarty:i.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:i.starting_with(/{\*/).until_after(/\*}/),smarty_literal:i.starting_with(/{literal}/).until_after(/{\/literal}/)}}return r.prototype=new e,r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){this.__set_templated_pattern()},r.prototype.disable=function(e){var t=this._create();return t._disabled[e]=!0,t._update(),t},r.prototype.read_options=function(e){var r=this._create();for(var n in t)r._disabled[n]=-1===e.templating.indexOf(n);return r._update(),r},r.prototype.exclude=function(e){var t=this._create();return t._excluded[e]=!0,t._update(),t},r.prototype.read=function(){var e="";e=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);for(var t=this._read_template();t;)this._match_pattern?t+=this._input.read(this._match_pattern):t+=this._input.readUntil(this.__template_pattern),e+=t,t=this._read_template();return this._until_after&&(e+=this._input.readUntilAfter(this._until_pattern)),e},r.prototype.__set_templated_pattern=function(){var e=[];this._disabled.php||e.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||e.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||e.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(e.push(this.__patterns.django._starting_pattern.source),e.push(this.__patterns.django_value._starting_pattern.source),e.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||e.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&e.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+e.join("|")+")")},r.prototype._read_template=function(){var e="",t=this._input.peek();if("<"===t){var r=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==r||(e=e||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==r||(e=e||this.__patterns.erb.read())}else"{"===t&&(this._disabled.handlebars||this._excluded.handlebars||(e=(e=(e=e||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(e=e||this.__patterns.django_value.read()),this._excluded.django||(e=(e=e||this.__patterns.django_comment.read())||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(e=(e=(e=e||this.__patterns.smarty_comment.read())||this.__patterns.smarty_literal.read())||this.__patterns.smarty.read()));return e},Ur.TemplatablePattern=r,Ur}function jr(){if(qr)return yr;qr=1;var e=vr().InputScanner,t=Or().Tokenizer,r=Or().TOKEN,n=Cr().Directives,i=pr(),a=Rr().Pattern,s=Fr().TemplatablePattern;function o(e,t){return-1!==t.indexOf(e)}var l={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:r.START,RAW:r.RAW,EOF:r.EOF},u=new n(/\/\*/,/\*\//),c=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,p=/[0-9]/,d=/[^\d\.]/,h=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),_=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";_=(_="\\?\\.(?!\\d) "+(_=_.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"))).replace(/ /g,"|");var f,g=new RegExp(_),m="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),b=m.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),y=new RegExp("^(?:"+b.join("|")+")$"),x=function(e,r){t.call(this,e,r),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var n=new a(this._input),o=new s(this._input).read_options(this._options);this.__patterns={template:o,identifier:o.starting_with(i.identifier).matching(i.identifierMatch),number:n.matching(c),punct:n.matching(g),comment:n.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:n.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:n.matching(/<!--/),html_comment_end:n.matching(/-->/),include:n.starting_with(/#include/).until_after(i.lineBreak),shebang:n.starting_with(/#!/).until_after(i.lineBreak),xml:n.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:o.until(/['\\\n\r\u2028\u2029]/),double_quote:o.until(/["\\\n\r\u2028\u2029]/),template_text:o.until(/[`\\$]/),template_expression:o.until(/[`}\\]/)}};return(x.prototype=new t)._is_comment=function(e){return e.type===l.COMMENT||e.type===l.BLOCK_COMMENT||e.type===l.UNKNOWN},x.prototype._is_opening=function(e){return e.type===l.START_BLOCK||e.type===l.START_EXPR},x.prototype._is_closing=function(e,t){return(e.type===l.END_BLOCK||e.type===l.END_EXPR)&&t&&("]"===e.text&&"["===t.text||")"===e.text&&"("===t.text||"}"===e.text&&"{"===t.text)},x.prototype._reset=function(){f=!1},x.prototype._get_next_token=function(e,t){var r=null;this._readWhitespace();var n=this._input.peek();return null===n?this._create_token(l.EOF,""):r=(r=(r=(r=(r=(r=(r=(r=(r=(r=r||this._read_non_javascript(n))||this._read_string(n))||this._read_pair(n,this._input.peek(1)))||this._read_word(e))||this._read_singles(n))||this._read_comment(n))||this._read_regexp(n,e))||this._read_xml(n,e))||this._read_punctuation())||this._create_token(l.UNKNOWN,this._input.next())},x.prototype._read_word=function(e){var t;return""!==(t=this.__patterns.identifier.read())?(t=t.replace(i.allLineBreaks,"\n"),e.type!==l.DOT&&(e.type!==l.RESERVED||"set"!==e.text&&"get"!==e.text)&&y.test(t)?"in"!==t&&"of"!==t||e.type!==l.WORD&&e.type!==l.STRING?this._create_token(l.RESERVED,t):this._create_token(l.OPERATOR,t):this._create_token(l.WORD,t)):""!==(t=this.__patterns.number.read())?this._create_token(l.WORD,t):void 0},x.prototype._read_singles=function(e){var t=null;return"("===e||"["===e?t=this._create_token(l.START_EXPR,e):")"===e||"]"===e?t=this._create_token(l.END_EXPR,e):"{"===e?t=this._create_token(l.START_BLOCK,e):"}"===e?t=this._create_token(l.END_BLOCK,e):";"===e?t=this._create_token(l.SEMICOLON,e):"."===e&&d.test(this._input.peek(1))?t=this._create_token(l.DOT,e):","===e&&(t=this._create_token(l.COMMA,e)),t&&this._input.next(),t},x.prototype._read_pair=function(e,t){var r=null;return"#"===e&&"{"===t&&(r=this._create_token(l.START_BLOCK,e+t)),r&&(this._input.next(),this._input.next()),r},x.prototype._read_punctuation=function(){var e=this.__patterns.punct.read();if(""!==e)return"="===e?this._create_token(l.EQUALS,e):"?."===e?this._create_token(l.DOT,e):this._create_token(l.OPERATOR,e)},x.prototype._read_non_javascript=function(e){var t="";if("#"===e){if(this._is_first_token()&&(t=this.__patterns.shebang.read()))return this._create_token(l.UNKNOWN,t.trim()+"\n");if(t=this.__patterns.include.read())return this._create_token(l.UNKNOWN,t.trim()+"\n");e=this._input.next();var r="#";if(this._input.hasNext()&&this._input.testChar(p)){do{r+=e=this._input.next()}while(this._input.hasNext()&&"#"!==e&&"="!==e);return"#"===e||("["===this._input.peek()&&"]"===this._input.peek(1)?(r+="[]",this._input.next(),this._input.next()):"{"===this._input.peek()&&"}"===this._input.peek(1)&&(r+="{}",this._input.next(),this._input.next())),this._create_token(l.WORD,r)}this._input.back()}else if("<"===e&&this._is_first_token()){if(t=this.__patterns.html_comment_start.read()){for(;this._input.hasNext()&&!this._input.testChar(i.newline);)t+=this._input.next();return f=!0,this._create_token(l.COMMENT,t)}}else if(f&&"-"===e&&(t=this.__patterns.html_comment_end.read()))return f=!1,this._create_token(l.COMMENT,t);return null},x.prototype._read_comment=function(e){var t=null;if("/"===e){var r="";if("*"===this._input.peek(1)){r=this.__patterns.block_comment.read();var n=u.get_directives(r);n&&"start"===n.ignore&&(r+=u.readIgnored(this._input)),r=r.replace(i.allLineBreaks,"\n"),(t=this._create_token(l.BLOCK_COMMENT,r)).directives=n}else"/"===this._input.peek(1)&&(r=this.__patterns.comment.read(),t=this._create_token(l.COMMENT,r))}return t},x.prototype._read_string=function(t){if("`"===t||"'"===t||'"'===t){var r=this._input.next();return this.has_char_escapes=!1,r+="`"===t?this._read_string_recursive("`",!0,"${"):this._read_string_recursive(t),this.has_char_escapes&&this._options.unescape_strings&&(r=function(t){var r="",n=0,i=new e(t),a=null;for(;i.hasNext();)if((a=i.match(/([\s]|[^\\]|\\\\)+/g))&&(r+=a[0]),"\\"===i.peek()){if(i.next(),"x"===i.peek())a=i.match(/x([0-9A-Fa-f]{2})/g);else{if("u"!==i.peek()){r+="\\",i.hasNext()&&(r+=i.next());continue}(a=i.match(/u([0-9A-Fa-f]{4})/g))||(a=i.match(/u\{([0-9A-Fa-f]+)\}/g))}if(!a)return t;if((n=parseInt(a[1],16))>126&&n<=255&&0===a[0].indexOf("x"))return t;r+=n>=0&&n<32||n>1114111?"\\"+a[0]:34===n||39===n||92===n?"\\"+String.fromCharCode(n):String.fromCharCode(n)}return r}(r)),this._input.peek()===t&&(r+=this._input.next()),r=r.replace(i.allLineBreaks,"\n"),this._create_token(l.STRING,r)}return null},x.prototype._allow_regexp_or_xml=function(e){return e.type===l.RESERVED&&o(e.text,["return","case","throw","else","do","typeof","yield"])||e.type===l.END_EXPR&&")"===e.text&&e.opened.previous.type===l.RESERVED&&o(e.opened.previous.text,["if","while","for"])||o(e.type,[l.COMMENT,l.START_EXPR,l.START_BLOCK,l.START,l.END_BLOCK,l.OPERATOR,l.EQUALS,l.EOF,l.SEMICOLON,l.COMMA])},x.prototype._read_regexp=function(e,t){if("/"===e&&this._allow_regexp_or_xml(t)){for(var r=this._input.next(),n=!1,a=!1;this._input.hasNext()&&(n||a||this._input.peek()!==e)&&!this._input.testChar(i.newline);)r+=this._input.peek(),n?n=!1:(n="\\"===this._input.peek(),"["===this._input.peek()?a=!0:"]"===this._input.peek()&&(a=!1)),this._input.next();return this._input.peek()===e&&(r+=this._input.next(),r+=this._input.read(i.identifier)),this._create_token(l.STRING,r)}return null},x.prototype._read_xml=function(e,t){if(this._options.e4x&&"<"===e&&this._allow_regexp_or_xml(t)){var r="",n=this.__patterns.xml.read_match();if(n){for(var a=n[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),s=0===a.indexOf("{"),o=0;n;){var u=!!n[1],c=n[2];if(!(!!n[n.length-1]||"![CDATA["===c.slice(0,8))&&(c===a||s&&c.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(u?--o:++o),r+=n[0],o<=0)break;n=this.__patterns.xml.read_match()}return n||(r+=this._input.match(/[\s\S]*/g)[0]),r=r.replace(i.allLineBreaks,"\n"),this._create_token(l.STRING,r)}}return null},x.prototype._read_string_recursive=function(e,t,r){var n,a;"'"===e?a=this.__patterns.single_quote:'"'===e?a=this.__patterns.double_quote:"`"===e?a=this.__patterns.template_text:"}"===e&&(a=this.__patterns.template_expression);for(var s=a.read(),o="";this._input.hasNext();){if((o=this._input.next())===e||!t&&i.newline.test(o)){this._input.back();break}"\\"===o&&this._input.hasNext()?("x"===(n=this._input.peek())||"u"===n?this.has_char_escapes=!0:"\r"===n&&"\n"===this._input.peek(1)&&this._input.next(),o+=this._input.next()):r&&("${"===r&&"$"===o&&"{"===this._input.peek()&&(o+=this._input.next()),r===o&&(o+="`"===e?this._read_string_recursive("}",t,"`"):this._read_string_recursive("`",t,"${"),this._input.hasNext()&&(o+=this._input.next()))),s+=o+=a.read()}return s},yr.Tokenizer=x,yr.TOKEN=l,yr.positionable_operators=h.slice(),yr.line_starters=m.slice(),yr}function zr(){if(Pr)return nr;Pr=1;var e=ar().Output,t=lr().Token,r=pr(),n=mr().Options,i=jr().Tokenizer,a=jr().line_starters,s=jr().positionable_operators,o=jr().TOKEN;function l(e,t){return-1!==t.indexOf(e)}function u(e,t){return e&&e.type===o.RESERVED&&e.text===t}function c(e,t){return e&&e.type===o.RESERVED&&l(e.text,t)}var p=["case","return","do","if","throw","else","await","break","continue","async"],d=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].replace(/-/g,"_")]=e[r];return t}(["before-newline","after-newline","preserve-newline"]),h=[d.before_newline,d.preserve_newline],_="BlockStatement",f="Statement",g="ObjectLiteral",m="ArrayLiteral",b="ForInitializer",y="Conditional",x="Expression";function v(e,t){t.multiline_frame||t.mode===b||t.mode===y||e.remove_indent(t.start_line_index)}function w(e){return e===m}function E(e){return l(e,[x,b,y])}function k(e,t){t=t||{},this._source_text=e||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new n(t)}k.prototype.create_flags=function(e,r){var n=0;return e&&(n=e.indentation_level,!this._output.just_added_newline()&&e.line_indent_level>n&&(n=e.line_indent_level)),{mode:r,parent:e,last_token:e?e.last_token:new t(o.START_BLOCK,""),last_word:e?e.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:n,alignment:0,line_indent_level:e?e.line_indent_level:n,start_line_index:this._output.get_line_number(),ternary_depth:0}},k.prototype._reset=function(t){var r=t.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new e(this._options,r),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(_);var n=new i(t,this._options);return this._tokens=n.tokenize(),t},k.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._reset(this._source_text),t=this._options.eol;"auto"===this._options.eol&&(t="\n",e&&r.lineBreak.test(e||"")&&(t=e.match(r.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(t)},k.prototype.handle_token=function(e,t){e.type===o.START_EXPR?this.handle_start_expr(e):e.type===o.END_EXPR?this.handle_end_expr(e):e.type===o.START_BLOCK?this.handle_start_block(e):e.type===o.END_BLOCK?this.handle_end_block(e):e.type===o.WORD||e.type===o.RESERVED?this.handle_word(e):e.type===o.SEMICOLON?this.handle_semicolon(e):e.type===o.STRING?this.handle_string(e):e.type===o.EQUALS?this.handle_equals(e):e.type===o.OPERATOR?this.handle_operator(e):e.type===o.COMMA?this.handle_comma(e):e.type===o.BLOCK_COMMENT?this.handle_block_comment(e,t):e.type===o.COMMENT?this.handle_comment(e,t):e.type===o.DOT?this.handle_dot(e):e.type===o.EOF?this.handle_eof(e):(e.type,o.UNKNOWN,this.handle_unknown(e,t))},k.prototype.handle_whitespace_and_comments=function(e,t){var r=e.newlines,n=this._options.keep_array_indentation&&w(this._flags.mode);if(e.comments_before)for(var i=e.comments_before.next();i;)this.handle_whitespace_and_comments(i,t),this.handle_token(i,t),i=e.comments_before.next();if(n)for(var a=0;a<r;a+=1)this.print_newline(a>0,t);else if(this._options.max_preserve_newlines&&r>this._options.max_preserve_newlines&&(r=this._options.max_preserve_newlines),this._options.preserve_newlines&&r>1){this.print_newline(!1,t);for(var s=1;s<r;s+=1)this.print_newline(!0,t)}};var A=["async","break","continue","return","throw","yield"];return k.prototype.allow_wrap_or_preserved_newline=function(e,t){if(t=void 0!==t&&t,!this._output.just_added_newline()){var r=this._options.preserve_newlines&&e.newlines||t;if(l(this._flags.last_token.text,s)||l(e.text,s)){var n=l(this._flags.last_token.text,s)&&l(this._options.operator_position,h)||l(e.text,s);r=r&&n}if(r)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(c(this._flags.last_token,A))return;this._output.set_wrap_point()}}},k.prototype.print_newline=function(e,t){if(!t&&";"!==this._flags.last_token.text&&","!==this._flags.last_token.text&&"="!==this._flags.last_token.text&&(this._flags.last_token.type!==o.OPERATOR||"--"===this._flags.last_token.text||"++"===this._flags.last_token.text))for(var r=this._tokens.peek();!(this._flags.mode!==f||this._flags.if_block&&u(r,"else")||this._flags.do_block);)this.restore_mode();this._output.add_new_line(e)&&(this._flags.multiline_frame=!0)},k.prototype.print_token_line_indentation=function(e){this._output.just_added_newline()&&(this._options.keep_array_indentation&&e.newlines&&("["===e.text||w(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(e.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},k.prototype.print_token=function(e){if(this._output.raw)this._output.add_raw_token(e);else{if(this._options.comma_first&&e.previous&&e.previous.type===o.COMMA&&this._output.just_added_newline()&&","===this._output.previous_line.last()){var t=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(t),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(e),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(e),this._output.non_breaking_space=!0,this._output.add_token(e.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)}},k.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},k.prototype.deindent=function(){this._flags.indentation_level>0&&(!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))},k.prototype.set_mode=function(e){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,e),this._flags=this.create_flags(this._previous_flags,e),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},k.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===f&&v(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},k.prototype.start_of_object_property=function(){return this._flags.parent.mode===g&&this._flags.mode===f&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||c(this._flags.last_token,["get","set"]))},k.prototype.start_of_statement=function(e){var t=!1;return!!(t=(t=(t=(t=(t=(t=(t=t||c(this._flags.last_token,["var","let","const"])&&e.type===o.WORD)||u(this._flags.last_token,"do"))||!(this._flags.parent.mode===g&&this._flags.mode===f)&&c(this._flags.last_token,A)&&!e.newlines)||u(this._flags.last_token,"else")&&!(u(e,"if")&&!e.comments_before))||this._flags.last_token.type===o.END_EXPR&&(this._previous_flags.mode===b||this._previous_flags.mode===y))||this._flags.last_token.type===o.WORD&&this._flags.mode===_&&!this._flags.in_case&&!("--"===e.text||"++"===e.text)&&"function"!==this._last_last_text&&e.type!==o.WORD&&e.type!==o.RESERVED)||this._flags.mode===g&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||c(this._flags.last_token,["get","set"])))&&(this.set_mode(f),this.indent(),this.handle_whitespace_and_comments(e,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e,c(e,["do","for","if","while"])),!0)},k.prototype.handle_start_expr=function(e){this.start_of_statement(e)||this.handle_whitespace_and_comments(e);var t=x;if("["===e.text){if(this._flags.last_token.type===o.WORD||")"===this._flags.last_token.text)return c(this._flags.last_token,a)&&(this._output.space_before_token=!0),this.print_token(e),this.set_mode(t),this.indent(),void(this._options.space_in_paren&&(this._output.space_before_token=!0));t=m,w(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()),l(this._flags.last_token.type,[o.START_EXPR,o.END_EXPR,o.WORD,o.OPERATOR,o.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===o.RESERVED)"for"===this._flags.last_token.text?(this._output.space_before_token=this._options.space_before_conditional,t=b):l(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,t=y):l(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:"import"===this._flags.last_token.text&&""===e.whitespace_before?this._output.space_before_token=!1:(l(this._flags.last_token.text,a)||"catch"===this._flags.last_token.text)&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===o.EQUALS||this._flags.last_token.type===o.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e);else if(this._flags.last_token.type===o.WORD){this._output.space_before_token=!1;var r=this._tokens.peek(-3);if(this._options.space_after_named_function&&r){var n=this._tokens.peek(-4);c(r,["async","function"])||"*"===r.text&&c(n,["async","function"])?this._output.space_before_token=!0:this._flags.mode===g?"{"!==r.text&&","!==r.text&&("*"!==r.text||"{"!==n.text&&","!==n.text)||(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(e);(this._flags.last_token.type===o.RESERVED&&("function"===this._flags.last_word||"typeof"===this._flags.last_word)||"*"===this._flags.last_token.text&&(l(this._last_last_text,["function","yield"])||this._flags.mode===g&&l(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===o.START_BLOCK?this.print_newline():this._flags.last_token.type!==o.END_EXPR&&this._flags.last_token.type!==o.START_EXPR&&this._flags.last_token.type!==o.END_BLOCK&&"."!==this._flags.last_token.text&&this._flags.last_token.type!==o.COMMA||this.allow_wrap_or_preserved_newline(e,e.newlines),this.print_token(e),this.set_mode(t),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},k.prototype.handle_end_expr=function(e){for(;this._flags.mode===f;)this.restore_mode();this.handle_whitespace_and_comments(e),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(e,"]"===e.text&&w(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type!==o.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(e),this.restore_mode(),v(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===y&&(this._previous_flags.mode=x,this._flags.do_block=!1,this._flags.do_while=!1)},k.prototype.handle_start_block=function(e){this.handle_whitespace_and_comments(e);var t=this._tokens.peek(),r=this._tokens.peek(1);"switch"===this._flags.last_word&&this._flags.last_token.type===o.END_EXPR?(this.set_mode(_),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(_):r&&(l(r.text,[":",","])&&l(t.type,[o.STRING,o.WORD,o.RESERVED])||l(t.text,["get","set","..."])&&l(r.type,[o.WORD,o.RESERVED]))?l(this._last_last_text,["class","interface"])&&!l(r.text,[":",","])?this.set_mode(_):this.set_mode(g):this._flags.last_token.type===o.OPERATOR&&"=>"===this._flags.last_token.text?this.set_mode(_):l(this._flags.last_token.type,[o.EQUALS,o.START_EXPR,o.COMMA,o.OPERATOR])||c(this._flags.last_token,["return","throw","import","default"])?this.set_mode(g):this.set_mode(_),this._flags.last_token&&c(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var n=!t.comments_before&&"}"===t.text,i=n&&"function"===this._flags.last_word&&this._flags.last_token.type===o.END_EXPR;if(this._options.brace_preserve_inline){var a=0,s=null;this._flags.inline_frame=!0;do{if(a+=1,(s=this._tokens.peek(a-1)).newlines){this._flags.inline_frame=!1;break}}while(s.type!==o.EOF&&(s.type!==o.END_BLOCK||s.opened!==e))}("expand"===this._options.brace_style||"none"===this._options.brace_style&&e.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==o.OPERATOR&&(i||this._flags.last_token.type===o.EQUALS||c(this._flags.last_token,p)&&"else"!==this._flags.last_token.text)?this._output.space_before_token=!0:this.print_newline(!1,!0):(!w(this._previous_flags.mode)||this._flags.last_token.type!==o.START_EXPR&&this._flags.last_token.type!==o.COMMA||((this._flags.last_token.type===o.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(e),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==o.OPERATOR&&this._flags.last_token.type!==o.START_EXPR&&(l(this._flags.last_token.type,[o.START_BLOCK,o.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(e),this.indent(),n||this._options.brace_preserve_inline&&this._flags.inline_frame||this.print_newline()},k.prototype.handle_end_block=function(e){for(this.handle_whitespace_and_comments(e);this._flags.mode===f;)this.restore_mode();var t=this._flags.last_token.type===o.START_BLOCK;this._flags.inline_frame&&!t?this._output.space_before_token=!0:"expand"===this._options.brace_style?t||this.print_newline():t||(w(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(e)},k.prototype.handle_word=function(e){if(e.type===o.RESERVED)if(l(e.text,["set","get"])&&this._flags.mode!==g)e.type=o.WORD;else if("import"===e.text&&l(this._tokens.peek().text,["(","."]))e.type=o.WORD;else if(l(e.text,["as","from"])&&!this._flags.import_block)e.type=o.WORD;else if(this._flags.mode===g){":"===this._tokens.peek().text&&(e.type=o.WORD)}if(this.start_of_statement(e)?c(this._flags.last_token,["var","let","const"])&&e.type===o.WORD&&(this._flags.declaration_statement=!0):!e.newlines||E(this._flags.mode)||this._flags.last_token.type===o.OPERATOR&&"--"!==this._flags.last_token.text&&"++"!==this._flags.last_token.text||this._flags.last_token.type===o.EQUALS||!this._options.preserve_newlines&&c(this._flags.last_token,["var","let","const","set","get"])?this.handle_whitespace_and_comments(e):(this.handle_whitespace_and_comments(e),this.print_newline()),this._flags.do_block&&!this._flags.do_while){if(u(e,"while"))return this._output.space_before_token=!0,this.print_token(e),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&&u(e,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===f;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&c(e,["case","default"]))return this.print_newline(),this._flags.case_block||!this._flags.case_body&&!this._options.jslint_happy||this.deindent(),this._flags.case_body=!1,this.print_token(e),void(this._flags.in_case=!0);if(this._flags.last_token.type!==o.COMMA&&this._flags.last_token.type!==o.START_EXPR&&this._flags.last_token.type!==o.EQUALS&&this._flags.last_token.type!==o.OPERATOR||this.start_of_object_property()||l(this._flags.last_token.text,["+","-"])&&":"===this._last_last_text&&this._flags.parent.mode===g||this.allow_wrap_or_preserved_newline(e),u(e,"function"))return(l(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!l(this._flags.last_token.text,["(","[","{",":","=",","])&&this._flags.last_token.type!==o.OPERATOR)&&(this._output.just_added_blankline()||e.comments_before||(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD?c(this._flags.last_token,["get","set","new","export"])||c(this._flags.last_token,A)||u(this._flags.last_token,"default")&&"export"===this._last_last_text||"declare"===this._flags.last_token.text?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===o.OPERATOR||"="===this._flags.last_token.text?this._output.space_before_token=!0:(this._flags.multiline_frame||!E(this._flags.mode)&&!w(this._flags.mode))&&this.print_newline(),this.print_token(e),void(this._flags.last_word=e.text);var t="NONE";(this._flags.last_token.type===o.END_BLOCK?this._previous_flags.inline_frame?t="SPACE":c(e,["else","catch","finally","from"])?"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&e.newlines?t="NEWLINE":(t="SPACE",this._output.space_before_token=!0):t="NEWLINE":this._flags.last_token.type===o.SEMICOLON&&this._flags.mode===_?t="NEWLINE":this._flags.last_token.type===o.SEMICOLON&&E(this._flags.mode)?t="SPACE":this._flags.last_token.type===o.STRING?t="NEWLINE":this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD||"*"===this._flags.last_token.text&&(l(this._last_last_text,["function","yield"])||this._flags.mode===g&&l(this._last_last_text,["{",","]))?t="SPACE":this._flags.last_token.type===o.START_BLOCK?t=this._flags.inline_frame?"SPACE":"NEWLINE":this._flags.last_token.type===o.END_EXPR&&(this._output.space_before_token=!0,t="NEWLINE"),c(e,a)&&")"!==this._flags.last_token.text&&(t=this._flags.inline_frame||"else"===this._flags.last_token.text||"export"===this._flags.last_token.text?"SPACE":"NEWLINE"),c(e,["else","catch","finally"]))?(this._flags.last_token.type!==o.END_BLOCK||this._previous_flags.mode!==_||"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&e.newlines)&&!this._flags.inline_frame?this.print_newline():(this._output.trim(!0),"}"!==this._output.current_line.last()&&this.print_newline(),this._output.space_before_token=!0):"NEWLINE"===t?c(this._flags.last_token,p)||"declare"===this._flags.last_token.text&&c(e,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==o.END_EXPR?this._flags.last_token.type===o.START_EXPR&&c(e,["var","let","const"])||":"===this._flags.last_token.text||(u(e,"if")&&u(e.previous,"else")?this._output.space_before_token=!0:this.print_newline()):c(e,a)&&")"!==this._flags.last_token.text&&this.print_newline():this._flags.multiline_frame&&w(this._flags.mode)&&","===this._flags.last_token.text&&"}"===this._last_last_text?this.print_newline():"SPACE"===t&&(this._output.space_before_token=!0);!e.previous||e.previous.type!==o.WORD&&e.previous.type!==o.RESERVED||(this._output.space_before_token=!0),this.print_token(e),this._flags.last_word=e.text,e.type===o.RESERVED&&("do"===e.text?this._flags.do_block=!0:"if"===e.text?this._flags.if_block=!0:"import"===e.text?this._flags.import_block=!0:this._flags.import_block&&u(e,"from")&&(this._flags.import_block=!1))},k.prototype.handle_semicolon=function(e){this.start_of_statement(e)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(e);for(var t=this._tokens.peek();!(this._flags.mode!==f||this._flags.if_block&&u(t,"else")||this._flags.do_block);)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(e)},k.prototype.handle_string=function(e){(!e.text.startsWith("`")||0!==e.newlines||""!==e.whitespace_before||")"!==e.previous.text&&this._flags.last_token.type!==o.WORD)&&(this.start_of_statement(e)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(e),this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.EQUALS||this._flags.last_token.type===o.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e):!e.text.startsWith("`")||this._flags.last_token.type!==o.END_EXPR||"]"!==e.previous.text&&")"!==e.previous.text||0!==e.newlines?this.print_newline():this._output.space_before_token=!0)),this.print_token(e)},k.prototype.handle_equals=function(e){this.start_of_statement(e)||this.handle_whitespace_and_comments(e),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(e),this._output.space_before_token=!0},k.prototype.handle_comma=function(e){this.handle_whitespace_and_comments(e,!0),this.print_token(e),this._output.space_before_token=!0,this._flags.declaration_statement?(E(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(e)):this._flags.mode===g||this._flags.mode===f&&this._flags.parent.mode===g?(this._flags.mode===f&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(e)},k.prototype.handle_operator=function(e){var t="*"===e.text&&(c(this._flags.last_token,["function","yield"])||l(this._flags.last_token.type,[o.START_BLOCK,o.COMMA,o.END_BLOCK,o.SEMICOLON])),r=l(e.text,["-","+"])&&(l(this._flags.last_token.type,[o.START_BLOCK,o.START_EXPR,o.EQUALS,o.OPERATOR])||l(this._flags.last_token.text,a)||","===this._flags.last_token.text);if(this.start_of_statement(e));else{var n=!t;this.handle_whitespace_and_comments(e,n)}if("*"!==e.text||this._flags.last_token.type!==o.DOT)if("::"!==e.text)if(l(e.text,["-","+"])&&this.start_of_object_property())this.print_token(e);else{if(this._flags.last_token.type===o.OPERATOR&&l(this._options.operator_position,h)&&this.allow_wrap_or_preserved_newline(e),":"===e.text&&this._flags.in_case)return this.print_token(e),this._flags.in_case=!1,this._flags.case_body=!0,void(this._tokens.peek().type!==o.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0));var i=!0,u=!0,g=!1;if(":"===e.text?0===this._flags.ternary_depth?i=!1:(this._flags.ternary_depth-=1,g=!0):"?"===e.text&&(this._flags.ternary_depth+=1),!r&&!t&&this._options.preserve_newlines&&l(e.text,s)){var m=":"===e.text,b=m&&g,y=m&&!g;switch(this._options.operator_position){case d.before_newline:return this._output.space_before_token=!y,this.print_token(e),m&&!b||this.allow_wrap_or_preserved_newline(e),void(this._output.space_before_token=!0);case d.after_newline:return this._output.space_before_token=!0,!m||b?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(e):this._output.space_before_token=!1,this.print_token(e),void(this._output.space_before_token=!0);case d.preserve_newline:return y||this.allow_wrap_or_preserved_newline(e),i=!(this._output.just_added_newline()||y),this._output.space_before_token=i,this.print_token(e),void(this._output.space_before_token=!0)}}if(t){this.allow_wrap_or_preserved_newline(e),i=!1;var x=this._tokens.peek();u=x&&l(x.type,[o.WORD,o.RESERVED])}else if("..."===e.text)this.allow_wrap_or_preserved_newline(e),i=this._flags.last_token.type===o.START_BLOCK,u=!1;else if(l(e.text,["--","++","!","~"])||r){if(this._flags.last_token.type!==o.COMMA&&this._flags.last_token.type!==o.START_EXPR||this.allow_wrap_or_preserved_newline(e),i=!1,u=!1,e.newlines&&("--"===e.text||"++"===e.text||"~"===e.text)){var v=c(this._flags.last_token,p)&&e.newlines;v&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(v,!0)}";"===this._flags.last_token.text&&E(this._flags.mode)&&(i=!0),this._flags.last_token.type===o.RESERVED?i=!0:this._flags.last_token.type===o.END_EXPR?i=!("]"===this._flags.last_token.text&&("--"===e.text||"++"===e.text)):this._flags.last_token.type===o.OPERATOR&&(i=l(e.text,["--","-","++","+"])&&l(this._flags.last_token.text,["--","-","++","+"]),l(e.text,["+","-"])&&l(this._flags.last_token.text,["--","++"])&&(u=!0)),(this._flags.mode!==_||this._flags.inline_frame)&&this._flags.mode!==f||"{"!==this._flags.last_token.text&&";"!==this._flags.last_token.text||this.print_newline()}this._output.space_before_token=this._output.space_before_token||i,this.print_token(e),this._output.space_before_token=u}else this.print_token(e);else this.print_token(e)},k.prototype.handle_block_comment=function(e,t){return this._output.raw?(this._output.add_raw_token(e),void(e.directives&&"end"===e.directives.preserve&&(this._output.raw=this._options.test_output_raw))):e.directives?(this.print_newline(!1,t),this.print_token(e),"start"===e.directives.preserve&&(this._output.raw=!0),void this.print_newline(!1,!0)):r.newline.test(e.text)||e.newlines?void this.print_block_commment(e,t):(this._output.space_before_token=!0,this.print_token(e),void(this._output.space_before_token=!0))},k.prototype.print_block_commment=function(e,t){var n,i=function(e){for(var t=[],n=(e=e.replace(r.allLineBreaks,"\n")).indexOf("\n");-1!==n;)t.push(e.substring(0,n)),n=(e=e.substring(n+1)).indexOf("\n");return e.length&&t.push(e),t}(e.text),a=!1,s=!1,o=e.whitespace_before,l=o.length;if(this.print_newline(!1,t),this.print_token_line_indentation(e),this._output.add_token(i[0]),this.print_newline(!1,t),i.length>1){for(a=function(e,t){for(var r=0;r<e.length;r++)if(e[r].trim().charAt(0)!==t)return!1;return!0}(i=i.slice(1),"*"),s=function(e,t){for(var r,n=0,i=e.length;n<i;n++)if((r=e[n])&&0!==r.indexOf(t))return!1;return!0}(i,o),a&&(this._flags.alignment=1),n=0;n<i.length;n++)a?(this.print_token_line_indentation(e),this._output.add_token(i[n].replace(/^\s+/g,""))):s&&i[n]?(this.print_token_line_indentation(e),this._output.add_token(i[n].substring(l))):(this._output.current_line.set_indent(-1),this._output.add_token(i[n])),this.print_newline(!1,t);this._flags.alignment=0}},k.prototype.handle_comment=function(e,t){e.newlines?this.print_newline(!1,t):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(e),this.print_newline(!1,t)},k.prototype.handle_dot=function(e){this.start_of_statement(e)||this.handle_whitespace_and_comments(e,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),c(this._flags.last_token,p)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(e,")"===this._flags.last_token.text&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(e)},k.prototype.handle_unknown=function(e,t){this.print_token(e),"\n"===e.text[e.text.length-1]&&this.print_newline(!1,t)},k.prototype.handle_eof=function(e){for(;this._flags.mode===f;)this.restore_mode();this.handle_whitespace_and_comments(e)},nr.Beautifier=k,nr}var Hr,Vr,$r,Gr={exports:{}},Wr={},Kr={};function Xr(){if(Hr)return Kr;Hr=1;var e=gr().Options;function t(t){e.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 r=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||r;var n=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var i=0;i<n.length;i++)"expand"!==n[i]?this.brace_style="collapse":this.brace_style=n[i]}return t.prototype=new e,Kr.Options=t,Kr}function Jr(){if($r)return Gr.exports;$r=1;var e=function(){if(Vr)return Wr;Vr=1;var e=Xr().Options,t=ar().Output,r=vr().InputScanner,n=new(0,Cr().Directives)(/\/\*/,/\*\//),i=/\r\n|[\r\n]/,a=/\r\n|[\r\n]/g,s=/\s/,o=/(?:\s|\n)+/g,l=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,u=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function c(t,r){this._source_text=t||"",this._options=new e(r),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},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}return c.prototype.eatString=function(e){var t="";for(this._ch=this._input.next();this._ch;){if(t+=this._ch,"\\"===this._ch)t+=this._input.next();else if(-1!==e.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return t},c.prototype.eatWhitespace=function(e){for(var t=s.test(this._input.peek()),r=0;s.test(this._input.peek());)this._ch=this._input.next(),e&&"\n"===this._ch&&(0===r||r<this._options.max_preserve_newlines)&&(r++,this._output.add_new_line(!0));return t},c.prototype.foundNestedPseudoClass=function(){for(var e=0,t=1,r=this._input.peek(t);r;){if("{"===r)return!0;if("("===r)e+=1;else if(")"===r){if(0===e)return!1;e-=1}else if(";"===r||"}"===r)return!1;t++,r=this._input.peek(t)}return!1},c.prototype.print_string=function(e){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(e)},c.prototype.preserveSingleSpace=function(e){e&&(this._output.space_before_token=!0)},c.prototype.indent=function(){this._indentLevel++},c.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},c.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,c=this._options.eol;"auto"===c&&(c="\n",e&&i.test(e||"")&&(c=e.match(i)[0]));var p=(e=e.replace(a,"\n")).match(/^[\t ]*/)[0];this._output=new t(this._options,p),this._input=new r(e),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var d,h,_=0,f=!1,g=!1,m=!1,b=!1,y=!1,x=this._ch,v=!1;d=""!==this._input.read(o),h=x,this._ch=this._input.next(),"\\"===this._ch&&this._input.hasNext()&&(this._ch+=this._input.next()),x=this._ch,this._ch;)if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var w=this._input.read(l),E=n.get_directives(w);E&&"start"===E.ignore&&(w+=n.readIgnored(this._input)),this.print_string(w),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(u)),this.eatWhitespace(!0);else if("$"===this._ch){this.preserveSingleSpace(d),this.print_string(this._ch);var k=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);k.match(/[ :]$/)&&(k=this.eatString(": ").replace(/\s+$/,""),this.print_string(k),this._output.space_before_token=!0),0===_&&-1!==k.indexOf(":")&&(g=!0,this.indent())}else if("@"===this._ch)if(this.preserveSingleSpace(d),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var A=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);A.match(/[ :]$/)&&(A=this.eatString(": ").replace(/\s+$/,""),this.print_string(A),this._output.space_before_token=!0),0===_&&-1!==A.indexOf(":")?(g=!0,this.indent()):A in this.NESTED_AT_RULE?(this._nestedLevel+=1,A in this.CONDITIONAL_GROUP_RULE&&(m=!0)):0!==_||g||(b=!0)}else if("#"===this._ch&&"{"===this._input.peek())this.preserveSingleSpace(d),this.print_string(this._ch+this.eatString("}"));else if("{"===this._ch)g&&(g=!1,this.outdent()),b=!1,m?(m=!1,f=this._indentLevel>=this._nestedLevel):f=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&f&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,"expand"===this._options.brace_style?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):("("===h?this._output.space_before_token=!1:","!==h&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if("}"===this._ch)this.outdent(),this._output.add_new_line(),"{"===h&&this._output.trim(!0),g&&(this.outdent(),g=!1),this.print_string(this._ch),f=!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._input.peek()&&(this._output.trim(!0),"expand"===this._options.brace_style&&this._output.add_new_line(!0));else if(":"===this._ch){for(var T=0;T<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;T++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[T])){v=!0;break}!f&&!m||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||b||0!==_?(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(":"),g||(g=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent()))}else if('"'===this._ch||"'"===this._ch){var D='"'===h||"'"===h;this.preserveSingleSpace(D||d),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(";"===this._ch)v=!1,0===_?(g&&(this.outdent(),g=!1),b=!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);else if("("===this._ch)if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),_++,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(")")),_&&(_--,this.outdent()));else{var S=!1;this._input.lookBack("with")&&(S=!0),this.preserveSingleSpace(d||S),this.print_string(this._ch),g&&"$"===h&&this._options.selector_separator_newline?(this._output.add_new_line(),y=!0):(this.eatWhitespace(),_++,this.indent())}else if(")"===this._ch)_&&(_--,this.outdent()),y&&";"===this._input.peek()&&this._options.selector_separator_newline&&(y=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(","===this._ch)this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||g&&!y||0!==_||b?this._output.space_before_token=!0:this._output.add_new_line();else if(">"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||g||0!==_)if("]"===this._ch)this.print_string(this._ch);else if("["===this._ch)this.preserveSingleSpace(d),this.print_string(this._ch);else if("="===this._ch)this.eatWhitespace(),this.print_string("="),s.test(this._ch)&&(this._ch="");else if("!"!==this._ch||this._input.lookBack("\\")){var N='"'===h||"'"===h;this.preserveSingleSpace(N||d),this.print_string(this._ch),!this._output.just_added_newline()&&"\n"===this._input.peek()&&v&&this._output.add_new_line()}else this._output.space_before_token=!0,this.print_string(this._ch);else 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&&s.test(this._ch)&&(this._ch=""));return this._output.get_code(c)},Wr.Beautifier=c,Wr}().Beautifier,t=Xr().Options;return Gr.exports=function(t,r){return new e(t,r).beautify()},Gr.exports.defaultOptions=function(){return new t},Gr.exports}var Yr,Qr={exports:{}},Zr={},en={};function tn(){if(Yr)return en;Yr=1;var e=gr().Options;function t(t){e.call(this,t,"html"),1===this.templating.length&&"auto"===this.templating[0]&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}return t.prototype=new e,en.Options=t,en}var rn,nn,an,sn,on,ln={};function un(){if(rn)return ln;rn=1;var e=Or().Tokenizer,t=Or().TOKEN,r=Cr().Directives,n=Fr().TemplatablePattern,i=Rr().Pattern,a={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:t.START,RAW:t.RAW,EOF:t.EOF},s=new r(/<\!--/,/-->/),o=function(t,r){e.call(this,t,r),this._current_tag_name="";var a=new n(this._input).read_options(this._options),s=new i(this._input);if(this.__patterns={word:a.until(/[\n\r\t <]/),word_control_flow_close_excluded:a.until(/[\n\r\t <}]/),single_quote:a.until_after(/'/),double_quote:a.until_after(/"/),attribute:a.until(/[\n\r\t =>]|\/>/),element_name:a.until(/[\n\r\t >\/]/),angular_control_flow_start:s.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:s.starting_with(/{{!--/).until_after(/--}}/),handlebars:s.starting_with(/{{/).until_after(/}}/),handlebars_open:s.until(/[\n\r\t }]/),handlebars_raw_close:s.until(/}}/),comment:s.starting_with(/<!--/).until_after(/-->/),cdata:s.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:s.starting_with(/<!\[/).until_after(/]>/),processing:s.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var o=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=s.matching(o).until_after(o)}};return(o.prototype=new e)._is_comment=function(e){return!1},o.prototype._is_opening=function(e){return e.type===a.TAG_OPEN||e.type===a.CONTROL_FLOW_OPEN},o.prototype._is_closing=function(e,t){return e.type===a.TAG_CLOSE&&t&&((">"===e.text||"/>"===e.text)&&"<"===t.text[0]||"}}"===e.text&&"{"===t.text[0]&&"{"===t.text[1])||e.type===a.CONTROL_FLOW_CLOSE&&"}"===e.text&&t.text.endsWith("{")},o.prototype._reset=function(){this._current_tag_name=""},o.prototype._get_next_token=function(e,t){var r=null;this._readWhitespace();var n=this._input.peek();return null===n?this._create_token(a.EOF,""):r=(r=(r=(r=(r=(r=(r=(r=(r=(r=r||this._read_open_handlebars(n,t))||this._read_attribute(n,e,t))||this._read_close(n,t))||this._read_control_flows(n,t))||this._read_raw_content(n,e,t))||this._read_content_word(n,t))||this._read_comment_or_cdata(n))||this._read_processing(n))||this._read_open(n,t))||this._create_token(a.UNKNOWN,this._input.next())},o.prototype._read_comment_or_cdata=function(e){var t=null,r=null,n=null;"<"===e&&("!"===this._input.peek(1)&&((r=this.__patterns.comment.read())?(n=s.get_directives(r))&&"start"===n.ignore&&(r+=s.readIgnored(this._input)):r=this.__patterns.cdata.read()),r&&((t=this._create_token(a.COMMENT,r)).directives=n));return t},o.prototype._read_processing=function(e){var t=null,r=null;if("<"===e){var n=this._input.peek(1);"!"!==n&&"?"!==n||(r=(r=this.__patterns.conditional_comment.read())||this.__patterns.processing.read()),r&&((t=this._create_token(a.COMMENT,r)).directives=null)}return t},o.prototype._read_open=function(e,t){var r=null,n=null;return t&&t.type!==a.CONTROL_FLOW_OPEN||"<"===e&&(r=this._input.next(),"/"===this._input.peek()&&(r+=this._input.next()),r+=this.__patterns.element_name.read(),n=this._create_token(a.TAG_OPEN,r)),n},o.prototype._read_open_handlebars=function(e,t){var r=null,n=null;return t&&t.type!==a.CONTROL_FLOW_OPEN||this._options.indent_handlebars&&"{"===e&&"{"===this._input.peek(1)&&("!"===this._input.peek(2)?(r=(r=this.__patterns.handlebars_comment.read())||this.__patterns.handlebars.read(),n=this._create_token(a.COMMENT,r)):(r=this.__patterns.handlebars_open.read(),n=this._create_token(a.TAG_OPEN,r))),n},o.prototype._read_control_flows=function(e,t){var r="",n=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars)return n;if("@"===e){if(""===(r=this.__patterns.angular_control_flow_start.read()))return n;for(var i=r.endsWith("(")?1:0,s=0;!r.endsWith("{")||i!==s;){var o=this._input.next();if(null===o)break;"("===o?i++:")"===o&&s++,r+=o}n=this._create_token(a.CONTROL_FLOW_OPEN,r)}else"}"===e&&t&&t.type===a.CONTROL_FLOW_OPEN&&(r=this._input.next(),n=this._create_token(a.CONTROL_FLOW_CLOSE,r));return n},o.prototype._read_close=function(e,t){var r=null,n=null;return t&&t.type===a.TAG_OPEN&&("<"===t.text[0]&&(">"===e||"/"===e&&">"===this._input.peek(1))?(r=this._input.next(),"/"===e&&(r+=this._input.next()),n=this._create_token(a.TAG_CLOSE,r)):"{"===t.text[0]&&"}"===e&&"}"===this._input.peek(1)&&(this._input.next(),this._input.next(),n=this._create_token(a.TAG_CLOSE,"}}"))),n},o.prototype._read_attribute=function(e,t,r){var n=null,i="";if(r&&"<"===r.text[0])if("="===e)n=this._create_token(a.EQUALS,this._input.next());else if('"'===e||"'"===e){var s=this._input.next();s+='"'===e?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),n=this._create_token(a.VALUE,s)}else(i=this.__patterns.attribute.read())&&(n=t.type===a.EQUALS?this._create_token(a.VALUE,i):this._create_token(a.ATTRIBUTE,i));return n},o.prototype._is_content_unformatted=function(e){return-1===this._options.void_elements.indexOf(e)&&(-1!==this._options.content_unformatted.indexOf(e)||-1!==this._options.unformatted.indexOf(e))},o.prototype._read_raw_content=function(e,t,r){var n="";if(r&&"{"===r.text[0])n=this.__patterns.handlebars_raw_close.read();else if(t.type===a.TAG_CLOSE&&"<"===t.opened.text[0]&&"/"!==t.text[0]){var i=t.opened.text.substr(1).toLowerCase();if("script"===i||"style"===i){var s=this._read_comment_or_cdata(e);if(s)return s.type=a.TEXT,s;n=this._input.readUntil(new RegExp("</"+i+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(i)&&(n=this._input.readUntil(new RegExp("</"+i+"[\\n\\r\\t ]*?>","ig")))}return n?this._create_token(a.TEXT,n):null},o.prototype._read_content_word=function(e,t){var r="";if(this._options.unformatted_content_delimiter&&e===this._options.unformatted_content_delimiter[0]&&(r=this.__patterns.unformatted_content_delimiter.read()),r||(r=t&&t.type===a.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),r)return this._create_token(a.TEXT,r)},ln.Tokenizer=o,ln.TOKEN=a,ln}function cn(){if(nn)return Zr;nn=1;var e=tn().Options,t=ar().Output,r=un().Tokenizer,n=un().TOKEN,i=/\r\n|[\r\n]/,a=/\r\n|[\r\n]/g,s=function(e,r){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=e.max_preserve_newlines,this.preserve_newlines=e.preserve_newlines,this._output=new t(e,r)};s.prototype.current_line_has_match=function(e){return this._output.current_line.has_match(e)},s.prototype.set_space_before_token=function(e,t){this._output.space_before_token=e,this._output.non_breaking_space=t},s.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},s.prototype.add_raw_token=function(e){this._output.add_raw_token(e)},s.prototype.print_preserved_newlines=function(e){var t=0;e.type!==n.TEXT&&e.previous.type!==n.TEXT&&(t=e.newlines?1:0),this.preserve_newlines&&(t=e.newlines<this.max_preserve_newlines+1?e.newlines:this.max_preserve_newlines+1);for(var r=0;r<t;r++)this.print_newline(r>0);return 0!==t},s.prototype.traverse_whitespace=function(e){return!(!e.whitespace_before&&!e.newlines)&&(this.print_preserved_newlines(e)||(this._output.space_before_token=!0),!0)},s.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},s.prototype.print_newline=function(e){this._output.add_new_line(e)},s.prototype.print_token=function(e){e.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(e.text))},s.prototype.indent=function(){this.indent_level++},s.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},s.prototype.get_full_indent=function(e){return(e=this.indent_level+(e||0))<1?"":this._output.get_indent_string(e)};var o=function(e,t){var r=null,i=null;return t.closed?("script"===e?r="text/javascript":"style"===e&&(r="text/css"),r=function(e){for(var t=null,r=e.next;r.type!==n.EOF&&e.closed!==r;){if(r.type===n.ATTRIBUTE&&"type"===r.text){r.next&&r.next.type===n.EQUALS&&r.next.next&&r.next.next.type===n.VALUE&&(t=r.next.next.text);break}r=r.next}return t}(t)||r,r.search("text/css")>-1?i="css":r.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?i="javascript":r.search(/(text|application|dojo)\/(x-)?(html)/)>-1?i="html":r.search(/test\/null/)>-1&&(i="null"),i):null};function l(e,t){return-1!==t.indexOf(e)}function u(e,t,r){this.parent=e||null,this.tag=t?t.tag_name:"",this.indent_level=r||0,this.parser_token=t||null}function c(e){this._printer=e,this._current_frame=null}function p(t,r,n,i){this._source_text=t||"",r=r||{},this._js_beautify=n,this._css_beautify=i,this._tag_stack=null;var a=new e(r,"html");this._options=a,this._is_wrap_attributes_force="force"===this._options.wrap_attributes.substr(0,5),this._is_wrap_attributes_force_expand_multiline="force-expand-multiline"===this._options.wrap_attributes,this._is_wrap_attributes_force_aligned="force-aligned"===this._options.wrap_attributes,this._is_wrap_attributes_aligned_multiple="aligned-multiple"===this._options.wrap_attributes,this._is_wrap_attributes_preserve="preserve"===this._options.wrap_attributes.substr(0,8),this._is_wrap_attributes_preserve_aligned="preserve-aligned"===this._options.wrap_attributes}c.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},c.prototype.record_tag=function(e){var t=new u(this._current_frame,e,this._printer.indent_level);this._current_frame=t},c.prototype._try_pop_frame=function(e){var t=null;return e&&(t=e.parser_token,this._printer.indent_level=e.indent_level,this._current_frame=e.parent),t},c.prototype._get_frame=function(e,t){for(var r=this._current_frame;r&&-1===e.indexOf(r.tag);){if(t&&-1!==t.indexOf(r.tag)){r=null;break}r=r.parent}return r},c.prototype.try_pop=function(e,t){var r=this._get_frame([e],t);return this._try_pop_frame(r)},c.prototype.indent_to_tag=function(e){var t=this._get_frame(e);t&&(this._printer.indent_level=t.indent_level)},p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===this._options.eol&&(t="\n",e&&i.test(e)&&(t=e.match(i)[0]));var o=(e=e.replace(a,"\n")).match(/^[\t ]*/)[0],l={text:"",type:""},u=new d,p=new s(this._options,o),h=new r(e,this._options).tokenize();this._tag_stack=new c(p);for(var _=null,f=h.next();f.type!==n.EOF;)f.type===n.TAG_OPEN||f.type===n.COMMENT?u=_=this._handle_tag_open(p,f,u,l,h):f.type===n.ATTRIBUTE||f.type===n.EQUALS||f.type===n.VALUE||f.type===n.TEXT&&!u.tag_complete?_=this._handle_inside_tag(p,f,u,l):f.type===n.TAG_CLOSE?_=this._handle_tag_close(p,f,u):f.type===n.TEXT?_=this._handle_text(p,f,u):f.type===n.CONTROL_FLOW_OPEN?_=this._handle_control_flow_open(p,f):f.type===n.CONTROL_FLOW_CLOSE?_=this._handle_control_flow_close(p,f):p.add_raw_token(f),l=_,f=h.next();return p._output.get_code(t)},p.prototype._handle_control_flow_open=function(e,t){var r={text:t.text,type:t.type};return e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),t.newlines?e.print_preserved_newlines(t):e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),e.print_token(t),e.indent(),r},p.prototype._handle_control_flow_close=function(e,t){var r={text:t.text,type:t.type};return e.deindent(),t.newlines?e.print_preserved_newlines(t):e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),e.print_token(t),r},p.prototype._handle_tag_close=function(e,t,r){var n={text:t.text,type:t.type};return e.alignment_size=0,r.tag_complete=!0,e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),r.is_unformatted?e.add_raw_token(t):("<"===r.tag_start_char&&(e.set_space_before_token("/"===t.text[0],!0),this._is_wrap_attributes_force_expand_multiline&&r.has_wrapped_attrs&&e.print_newline(!1)),e.print_token(t)),!r.indent_content||r.is_unformatted||r.is_content_unformatted||(e.indent(),r.indent_content=!1),r.is_inline_element||r.is_unformatted||r.is_content_unformatted||e.set_wrap_point(),n},p.prototype._handle_inside_tag=function(e,t,r,i){var a=r.has_wrapped_attrs,s={text:t.text,type:t.type};return e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),r.is_unformatted?e.add_raw_token(t):"{"===r.tag_start_char&&t.type===n.TEXT?e.print_preserved_newlines(t)?(t.newlines=0,e.add_raw_token(t)):e.print_token(t):(t.type===n.ATTRIBUTE?e.set_space_before_token(!0):(t.type===n.EQUALS||t.type===n.VALUE&&t.previous.type===n.EQUALS)&&e.set_space_before_token(!1),t.type===n.ATTRIBUTE&&"<"===r.tag_start_char&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(e.traverse_whitespace(t),a=a||0!==t.newlines),this._is_wrap_attributes_force&&r.attr_count>=this._options.wrap_attributes_min_attrs&&(i.type!==n.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(e.print_newline(!1),a=!0)),e.print_token(t),a=a||e.previous_token_wrapped(),r.has_wrapped_attrs=a),s},p.prototype._handle_text=function(e,t,r){var n={text:t.text,type:"TK_CONTENT"};return r.custom_beautifier_name?this._print_custom_beatifier_text(e,t,r):r.is_unformatted||r.is_content_unformatted?e.add_raw_token(t):(e.traverse_whitespace(t),e.print_token(t)),n},p.prototype._print_custom_beatifier_text=function(e,t,r){var n=this;if(""!==t.text){var i,a=t.text,s=1,o="",l="";"javascript"===r.custom_beautifier_name&&"function"==typeof this._js_beautify?i=this._js_beautify:"css"===r.custom_beautifier_name&&"function"==typeof this._css_beautify?i=this._css_beautify:"html"===r.custom_beautifier_name&&(i=function(e,t){return new p(e,t,n._js_beautify,n._css_beautify).beautify()}),"keep"===this._options.indent_scripts?s=0:"separate"===this._options.indent_scripts&&(s=-e.indent_level);var u=e.get_full_indent(s);if(a=a.replace(/\n[ \t]*$/,""),"html"!==r.custom_beautifier_name&&"<"===a[0]&&a.match(/^(<!--|<!\[CDATA\[)/)){var c=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(a);if(!c)return void e.add_raw_token(t);o=u+c[1]+"\n",a=c[4],c[5]&&(l=u+c[5]),a=a.replace(/\n[ \t]*$/,""),(c[2]||-1!==c[3].indexOf("\n"))&&(c=c[3].match(/[ \t]+$/))&&(t.whitespace_before=c[0])}if(a)if(i){var d=function(){this.eol="\n"};d.prototype=this._options.raw_options,a=i(u+a,new d)}else{var h=t.whitespace_before;h&&(a=a.replace(new RegExp("\n("+h+")?","g"),"\n")),a=u+a.replace(/\n/g,"\n"+u)}o&&(a=a?o+a+"\n"+l:o+l),e.print_newline(!1),a&&(t.text=a,t.whitespace_before="",t.newlines=0,e.add_raw_token(t),e.print_newline(!0))}},p.prototype._handle_tag_open=function(e,t,r,i,a){var s=this._get_tag_open_token(t);if(!r.is_unformatted&&!r.is_content_unformatted||r.is_empty_element||t.type!==n.TAG_OPEN||s.is_start_tag?(e.traverse_whitespace(t),this._set_tag_position(e,t,s,r,i),s.is_inline_element||e.set_wrap_point(),e.print_token(t)):(e.add_raw_token(t),s.start_tag_token=this._tag_stack.try_pop(s.tag_name)),s.is_start_tag&&this._is_wrap_attributes_force){var o,l=0;do{(o=a.peek(l)).type===n.ATTRIBUTE&&(s.attr_count+=1),l+=1}while(o.type!==n.EOF&&o.type!==n.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(s.alignment_size=t.text.length+1),s.tag_complete||s.is_unformatted||(e.alignment_size=s.alignment_size),s};var d=function(e,t){if(this.parent=e||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",t){var r;this.tag_start_char=t.text[0],this.text=t.text,"<"===this.tag_start_char?(r=t.text.match(/^<([^\s>]*)/),this.tag_check=r?r[1]:""):(r=t.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=r?r[1]:"",(t.text.startsWith("{{#>")||t.text.startsWith("{{~#>"))&&">"===this.tag_check[0]&&(">"===this.tag_check&&null!==t.next?this.tag_check=t.next.text.split(" ")[0]:this.tag_check=t.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),t.type===n.COMMENT&&(this.tag_complete=!0),this.is_start_tag="/"!==this.tag_check.charAt(0),this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||t.closed&&"/>"===t.closed.text;var i=2;"{"===this.tag_start_char&&this.text.length>=3&&"~"===this.text.charAt(2)&&(i=3),this.is_end_tag=this.is_end_tag||"{"===this.tag_start_char&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(i)))}else this.tag_complete=!0};p.prototype._get_tag_open_token=function(e){var t=new d(this._tag_stack.get_parser_token(),e);return t.alignment_size=this._options.wrap_attributes_indent_size,t.is_end_tag=t.is_end_tag||l(t.tag_check,this._options.void_elements),t.is_empty_element=t.tag_complete||t.is_start_tag&&t.is_end_tag,t.is_unformatted=!t.tag_complete&&l(t.tag_check,this._options.unformatted),t.is_content_unformatted=!t.is_empty_element&&l(t.tag_check,this._options.content_unformatted),t.is_inline_element=l(t.tag_name,this._options.inline)||this._options.inline_custom_elements&&t.tag_name.includes("-")||"{"===t.tag_start_char,t},p.prototype._set_tag_position=function(e,t,r,i,a){if(r.is_empty_element||(r.is_end_tag?r.start_tag_token=this._tag_stack.try_pop(r.tag_name):(this._do_optional_end_element(r)&&(r.is_inline_element||e.print_newline(!1)),this._tag_stack.record_tag(r),"script"!==r.tag_name&&"style"!==r.tag_name||r.is_unformatted||r.is_content_unformatted||(r.custom_beautifier_name=o(r.tag_check,t)))),l(r.tag_check,this._options.extra_liners)&&(e.print_newline(!1),e._output.just_added_blankline()||e.print_newline(!0)),r.is_empty_element){if("{"===r.tag_start_char&&"else"===r.tag_check)this._tag_stack.indent_to_tag(["if","unless","each"]),r.indent_content=!0,e.current_line_has_match(/{{#if/)||e.print_newline(!1);"!--"===r.tag_name&&a.type===n.TAG_CLOSE&&i.is_end_tag&&-1===r.text.indexOf("\n")||(r.is_inline_element||r.is_unformatted||e.print_newline(!1),this._calcluate_parent_multiline(e,r))}else if(r.is_end_tag){var s=!1;s=(s=r.start_tag_token&&r.start_tag_token.multiline_content)||!r.is_inline_element&&!(i.is_inline_element||i.is_unformatted)&&!(a.type===n.TAG_CLOSE&&r.start_tag_token===i)&&"TK_CONTENT"!==a.type,(r.is_content_unformatted||r.is_unformatted)&&(s=!1),s&&e.print_newline(!1)}else r.indent_content=!r.custom_beautifier_name,"<"===r.tag_start_char&&("html"===r.tag_name?r.indent_content=this._options.indent_inner_html:"head"===r.tag_name?r.indent_content=this._options.indent_head_inner_html:"body"===r.tag_name&&(r.indent_content=this._options.indent_body_inner_html)),r.is_inline_element||r.is_unformatted||"TK_CONTENT"===a.type&&!r.is_content_unformatted||e.print_newline(!1),this._calcluate_parent_multiline(e,r)},p.prototype._calcluate_parent_multiline=function(e,t){!t.parent||!e._output.just_added_newline()||(t.is_inline_element||t.is_unformatted)&&t.parent.is_inline_element||(t.parent.multiline_content=!0)};var h=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],_=["a","audio","del","ins","map","noscript","video"];return p.prototype._do_optional_end_element=function(e){var t=null;if(!e.is_empty_element&&e.is_start_tag&&e.parent){if("body"===e.tag_name)t=t||this._tag_stack.try_pop("head");else if("li"===e.tag_name)t=t||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if("dd"===e.tag_name||"dt"===e.tag_name)t=(t=t||this._tag_stack.try_pop("dt",["dl"]))||this._tag_stack.try_pop("dd",["dl"]);else if("p"===e.parent.tag_name&&-1!==h.indexOf(e.tag_name)){var r=e.parent.parent;r&&-1!==_.indexOf(r.tag_name)||(t=t||this._tag_stack.try_pop("p"))}else"rp"===e.tag_name||"rt"===e.tag_name?t=(t=t||this._tag_stack.try_pop("rt",["ruby","rtc"]))||this._tag_stack.try_pop("rp",["ruby","rtc"]):"optgroup"===e.tag_name?t=t||this._tag_stack.try_pop("optgroup",["select"]):"option"===e.tag_name?t=t||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):"colgroup"===e.tag_name?t=t||this._tag_stack.try_pop("caption",["table"]):"thead"===e.tag_name?t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]):"tbody"===e.tag_name||"tfoot"===e.tag_name?t=(t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("thead",["table"]))||this._tag_stack.try_pop("tbody",["table"]):"tr"===e.tag_name?t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]):"th"!==e.tag_name&&"td"!==e.tag_name||(t=(t=t||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]))||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return e.parent=this._tag_stack.get_parser_token(),t}},Zr.Beautifier=p,Zr}function pn(){if(sn)return tr;sn=1;var e=function(){if(Mr)return rr.exports;Mr=1;var e=zr().Beautifier,t=mr().Options;return rr.exports=function(t,r){return new e(t,r).beautify()},rr.exports.defaultOptions=function(){return new t},rr.exports}(),t=Jr(),r=function(){if(an)return Qr.exports;an=1;var e=cn().Beautifier,t=tn().Options;return Qr.exports=function(t,r,n,i){return new e(t,r,n,i).beautify()},Qr.exports.defaultOptions=function(){return new t},Qr.exports}();function n(n,i,a,s){return r(n,i,a=a||e,s=s||t)}return n.defaultOptions=r.defaultOptions,tr.js=e,tr.css=t,tr.html=n,tr}var dn,hn,_n,fn,gn,mn,bn=(on||(on=1,dn=er,(mn=pn()).js_beautify=mn.js,mn.css_beautify=mn.css,mn.html_beautify=mn.html,dn.exports=(_n=mn,fn=mn,(gn=function(e,t){return hn.js_beautify(e,t)}).js=(hn=mn).js_beautify,gn.css=_n.css_beautify,gn.html=fn.html_beautify,gn.js_beautify=hn.js_beautify,gn.css_beautify=_n.css_beautify,gn.html_beautify=fn.html_beautify,gn)),er.exports);const yn=["div","p","h1","h2","h3","h4","h5","h6","ol","ul","li","table","hr","dl"],xn=(e,t)=>{var r;if(e.nodeType===Node.TEXT_NODE)return{text:(null==(r=e.textContent)?void 0:r.replace(/\s+/g," ").replace(/\n/g,""))||""};if(e.nodeType===Node.ELEMENT_NODE&&e instanceof Element){const r=e.tagName.toLowerCase(),n={};return r.startsWith("mj-")?t(e):(e.getAttributeNames().forEach((t=>{let r=d.camelCase(t);"class"===r&&(r="className"),n[r]=e.getAttribute(t)||""})),"iframe"===r?(n.srcdoc&&(n.srcdoc=Kt.decode(n.srcdoc)),Ja.getBlockByType(Lt.HTML_NODE).create({attributes:n,data:{tagName:"iframe"},children:[{text:""}]})):r.startsWith("amp-")?(n.content&&(n.content=Kt.decode(n.content)),Ja.getBlockByType(Lt.HTML_BLOCK_NODE).create({attributes:n,data:{tagName:r},children:[...e.childNodes].filter((e=>e.nodeType!==Node.COMMENT_NODE)).map((e=>xn(e,t)))})):"br"===r?Ja.getBlockByType(Lt.LINE_BREAK).create({attributes:{},data:{},children:[{text:""}]}):yn.includes(r)?Ja.getBlockByType(Lt.HTML_BLOCK_NODE).create({attributes:n,data:{tagName:r},children:[...e.childNodes].filter((e=>e.nodeType!==Node.COMMENT_NODE)).map((e=>xn(e,t)))}):Ja.getBlockByType(Lt.HTML_NODE).create({attributes:n,data:{tagName:r},children:[...e.childNodes].filter((e=>e.nodeType!==Node.COMMENT_NODE)).map((e=>xn(e,t)))}))}throw new Error("Invalid node")};var vn,wn={exports:{}};var En=(vn||(vn=1,wn.exports=function e(t,r,n){function i(s,o){if(!r[s]){if(!t[s]){if(!o&&k)return k(s);if(a)return a(s,!0);throw new Error("Cannot find module '"+s+"'")}o=r[s]={exports:{}},t[s][0].call(o.exports,(function(e){return i(t[s][1][e]||e)}),o,o.exports,e,t,r,n)}return r[s].exports}for(var a=k,s=0;s<n.length;s++)i(n[s]);return i}({1:[function(e,t,r){(function(n,i,a,s,o,l,u,c,p){var d=e("crypto");function h(e,t){var r;return void 0===(r="passthrough"!==(t=g(e,t)).algorithm?d.createHash(t.algorithm):new y).write&&(r.write=r.update,r.end=r.update),b(t,r).dispatch(e),r.update||r.end(""),r.digest?r.digest("buffer"===t.encoding?void 0:t.encoding):(e=r.read(),"buffer"!==t.encoding?e.toString(t.encoding):e)}(r=t.exports=h).sha1=function(e){return h(e)},r.keys=function(e){return h(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},r.MD5=function(e){return h(e,{algorithm:"md5",encoding:"hex"})},r.keysMD5=function(e){return h(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var _=d.getHashes?d.getHashes().slice():["sha1","md5"],f=(_.push("passthrough"),["buffer","hex","binary","base64"]);function g(e,t){var r={};if(r.algorithm=(t=t||{}).algorithm||"sha1",r.encoding=t.encoding||"hex",r.excludeValues=!!t.excludeValues,r.algorithm=r.algorithm.toLowerCase(),r.encoding=r.encoding.toLowerCase(),r.ignoreUnknown=!0===t.ignoreUnknown,r.respectType=!1!==t.respectType,r.respectFunctionNames=!1!==t.respectFunctionNames,r.respectFunctionProperties=!1!==t.respectFunctionProperties,r.unorderedArrays=!0===t.unorderedArrays,r.unorderedSets=!1!==t.unorderedSets,r.unorderedObjects=!1!==t.unorderedObjects,r.replacer=t.replacer||void 0,r.excludeKeys=t.excludeKeys||void 0,void 0===e)throw new Error("Object argument required.");for(var n=0;n<_.length;++n)_[n].toLowerCase()===r.algorithm.toLowerCase()&&(r.algorithm=_[n]);if(-1===_.indexOf(r.algorithm))throw new Error('Algorithm "'+r.algorithm+'" not supported. supported values: '+_.join(", "));if(-1===f.indexOf(r.encoding)&&"passthrough"!==r.algorithm)throw new Error('Encoding "'+r.encoding+'" not supported. supported values: '+f.join(", "));return r}function m(e){if("function"==typeof e)return null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(e))}function b(e,t,r){function n(e){return t.update?t.update(e,"utf8"):t.write(e,"utf8")}return r=r||[],{dispatch:function(t){return this["_"+(null===(t=e.replacer?e.replacer(t):t)?"null":typeof t)](t)},_object:function(t){var i,s=Object.prototype.toString.call(t),o=/\[object (.*)\]/i.exec(s);if(o=(o=o?o[1]:"unknown:["+s+"]").toLowerCase(),0<=(s=r.indexOf(t)))return this.dispatch("[CIRCULAR:"+s+"]");if(r.push(t),void 0!==a&&a.isBuffer&&a.isBuffer(t))return n("buffer:"),n(t);if("object"===o||"function"===o||"asyncfunction"===o)return s=Object.keys(t),e.unorderedObjects&&(s=s.sort()),!1===e.respectType||m(t)||s.splice(0,0,"prototype","__proto__","constructor"),e.excludeKeys&&(s=s.filter((function(t){return!e.excludeKeys(t)}))),n("object:"+s.length+":"),i=this,s.forEach((function(r){i.dispatch(r),n(":"),e.excludeValues||i.dispatch(t[r]),n(",")}));if(!this["_"+o]){if(e.ignoreUnknown)return n("["+o+"]");throw new Error('Unknown object type "'+o+'"')}this["_"+o](t)},_array:function(t,i){i=void 0!==i?i:!1!==e.unorderedArrays;var a=this;if(n("array:"+t.length+":"),!i||t.length<=1)return t.forEach((function(e){return a.dispatch(e)}));var s=[];return i=t.map((function(t){var n=new y,i=r.slice();return b(e,n,i).dispatch(t),s=s.concat(i.slice(r.length)),n.read().toString()})),r=r.concat(s),i.sort(),this._array(i,!1)},_date:function(e){return n("date:"+e.toJSON())},_symbol:function(e){return n("symbol:"+e.toString())},_error:function(e){return n("error:"+e.toString())},_boolean:function(e){return n("bool:"+e.toString())},_string:function(e){n("string:"+e.length+":"),n(e.toString())},_function:function(t){n("fn:"),m(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this._object(t)},_number:function(e){return n("number:"+e.toString())},_xml:function(e){return n("xml:"+e.toString())},_null:function(){return n("Null")},_undefined:function(){return n("Undefined")},_regexp:function(e){return n("regex:"+e.toString())},_uint8array:function(e){return n("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){return n("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){return n("int8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){return n("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){return n("int16array:"),this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){return n("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){return n("int32array:"),this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){return n("float32array:"),this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){return n("float64array:"),this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){return n("arraybuffer:"),this.dispatch(new Uint8Array(e))},_url:function(e){return n("url:"+e.toString())},_map:function(t){return n("map:"),t=Array.from(t),this._array(t,!1!==e.unorderedSets)},_set:function(t){return n("set:"),t=Array.from(t),this._array(t,!1!==e.unorderedSets)},_file:function(e){return n("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown)return n("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return n("domwindow")},_bigint:function(e){return n("bigint:"+e.toString())},_process:function(){return n("process")},_timer:function(){return n("timer")},_pipe:function(){return n("pipe")},_tcp:function(){return n("tcp")},_udp:function(){return n("udp")},_tty:function(){return n("tty")},_statwatcher:function(){return n("statwatcher")},_securecontext:function(){return n("securecontext")},_connection:function(){return n("connection")},_zlib:function(){return n("zlib")},_context:function(){return n("context")},_nodescript:function(){return n("nodescript")},_httpparser:function(){return n("httpparser")},_dataview:function(){return n("dataview")},_signal:function(){return n("signal")},_fsevent:function(){return n("fsevent")},_tlswrap:function(){return n("tlswrap")}}}function y(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}r.writeToStream=function(e,t,r){return void 0===r&&(r=t,t={}),b(t=g(e,t),r).dispatch(e)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/")},{buffer:3,crypto:5,lYpoI2:11}],2:[function(e,t,r){(function(e,t,n,i,a,s,o,l,u){!function(e){var t="undefined"!=typeof Uint8Array?Uint8Array:Array,r="+".charCodeAt(0),n="/".charCodeAt(0),i="0".charCodeAt(0),a="a".charCodeAt(0),s="A".charCodeAt(0),o="-".charCodeAt(0),l="_".charCodeAt(0);function u(e){return(e=e.charCodeAt(0))===r||e===o?62:e===n||e===l?63:e<i?-1:e<i+10?e-i+26+26:e<s+26?e-s:e<a+26?e-a+26:void 0}e.toByteArray=function(e){var r,n;if(0<e.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var i=e.length,a=(i="="===e.charAt(i-2)?2:"="===e.charAt(i-1)?1:0,new t(3*e.length/4-i)),s=0<i?e.length-4:e.length,o=0;function l(e){a[o++]=e}for(r=0;r<s;r+=4,0)l((16711680&(n=u(e.charAt(r))<<18|u(e.charAt(r+1))<<12|u(e.charAt(r+2))<<6|u(e.charAt(r+3))))>>16),l((65280&n)>>8),l(255&n);return 2==i?l(255&(n=u(e.charAt(r))<<2|u(e.charAt(r+1))>>4)):1==i&&(l((n=u(e.charAt(r))<<10|u(e.charAt(r+1))<<4|u(e.charAt(r+2))>>2)>>8&255),l(255&n)),a},e.fromByteArray=function(e){var t,r,n,i,a=e.length%3,s="";function o(e){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e)}for(t=0,n=e.length-a;t<n;t+=3)s+=o((i=r=(e[t]<<16)+(e[t+1]<<8)+e[t+2])>>18&63)+o(i>>12&63)+o(i>>6&63)+o(63&i);switch(a){case 1:s=(s+=o((r=e[e.length-1])>>2))+o(r<<4&63)+"==";break;case 2:s=(s=(s+=o((r=(e[e.length-2]<<8)+e[e.length-1])>>10))+o(r>>4&63))+o(r<<2&63)+"="}return s}}(void 0===r?this.base64js={}:r)}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(e,t,r){(function(t,n,i,a,s,o,l,u,c){var p=e("base64-js"),d=e("ieee754");function i(e,t,r){if(!(this instanceof i))return new i(e,t,r);var n,a,s,o,l=typeof e;if("base64"===t&&"string"==l)for(e=(o=e).trim?o.trim():o.replace(/^\s+|\s+$/g,"");e.length%4!=0;)e+="=";if("number"==l)n=R(e);else if("string"==l)n=i.byteLength(e,t);else{if("object"!=l)throw new Error("First argument needs to be a number, array or string.");n=R(e.length)}if(i._useTypedArrays?a=i._augment(new Uint8Array(n)):((a=this).length=n,a._isBuffer=!0),i._useTypedArrays&&"number"==typeof e.byteLength)a._set(e);else if(O(o=e)||i.isBuffer(o)||o&&"object"==typeof o&&"number"==typeof o.length)for(s=0;s<n;s++)i.isBuffer(e)?a[s]=e.readUInt8(s):a[s]=e[s];else if("string"==l)a.write(e,0,t);else if("number"==l&&!i._useTypedArrays&&!r)for(s=0;s<n;s++)a[s]=0;return a}function h(e,t,r,n){return i._charsWritten=I(function(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function _(e,t,r,n){return i._charsWritten=I(function(e){for(var t,r,n=[],i=0;i<e.length;i++)t=(r=e.charCodeAt(i))>>8,r%=256,n.push(r),n.push(t);return n}(t),e,r,n)}function f(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;i++)n+=String.fromCharCode(e[i]);return n}function g(e,t,r,n){var i;if(n||(F("boolean"==typeof r,"missing or invalid endian"),F(null!=t,"missing offset"),F(t+1<e.length,"Trying to read beyond buffer length")),!((n=e.length)<=t))return r?(i=e[t],t+1<n&&(i|=e[t+1]<<8)):(i=e[t]<<8,t+1<n&&(i|=e[t+1])),i}function m(e,t,r,n){var i;if(n||(F("boolean"==typeof r,"missing or invalid endian"),F(null!=t,"missing offset"),F(t+3<e.length,"Trying to read beyond buffer length")),!((n=e.length)<=t))return r?(t+2<n&&(i=e[t+2]<<16),t+1<n&&(i|=e[t+1]<<8),i|=e[t],t+3<n&&(i+=e[t+3]<<24>>>0)):(t+1<n&&(i=e[t+1]<<16),t+2<n&&(i|=e[t+2]<<8),t+3<n&&(i|=e[t+3]),i+=e[t]<<24>>>0),i}function b(e,t,r,n){if(n||(F("boolean"==typeof r,"missing or invalid endian"),F(null!=t,"missing offset"),F(t+1<e.length,"Trying to read beyond buffer length")),!(e.length<=t))return 32768&(n=g(e,t,r,!0))?-1*(65535-n+1):n}function y(e,t,r,n){if(n||(F("boolean"==typeof r,"missing or invalid endian"),F(null!=t,"missing offset"),F(t+3<e.length,"Trying to read beyond buffer length")),!(e.length<=t))return 2147483648&(n=m(e,t,r,!0))?-1*(4294967295-n+1):n}function x(e,t,r,n){return n||(F("boolean"==typeof r,"missing or invalid endian"),F(t+3<e.length,"Trying to read beyond buffer length")),d.read(e,t,r,23,4)}function v(e,t,r,n){return n||(F("boolean"==typeof r,"missing or invalid endian"),F(t+7<e.length,"Trying to read beyond buffer length")),d.read(e,t,r,52,8)}function w(e,t,r,n,i){if(i||(F(null!=t,"missing value"),F("boolean"==typeof n,"missing or invalid endian"),F(null!=r,"missing offset"),F(r+1<e.length,"trying to write beyond buffer length"),P(t,65535)),!((i=e.length)<=r))for(var a=0,s=Math.min(i-r,2);a<s;a++)e[r+a]=(t&255<<8*(n?a:1-a))>>>8*(n?a:1-a)}function E(e,t,r,n,i){if(i||(F(null!=t,"missing value"),F("boolean"==typeof n,"missing or invalid endian"),F(null!=r,"missing offset"),F(r+3<e.length,"trying to write beyond buffer length"),P(t,4294967295)),!((i=e.length)<=r))for(var a=0,s=Math.min(i-r,4);a<s;a++)e[r+a]=t>>>8*(n?a:3-a)&255}function k(e,t,r,n,i){i||(F(null!=t,"missing value"),F("boolean"==typeof n,"missing or invalid endian"),F(null!=r,"missing offset"),F(r+1<e.length,"Trying to write beyond buffer length"),M(t,32767,-32768)),e.length<=r||w(e,0<=t?t:65535+t+1,r,n,i)}function A(e,t,r,n,i){i||(F(null!=t,"missing value"),F("boolean"==typeof n,"missing or invalid endian"),F(null!=r,"missing offset"),F(r+3<e.length,"Trying to write beyond buffer length"),M(t,2147483647,-2147483648)),e.length<=r||E(e,0<=t?t:4294967295+t+1,r,n,i)}function T(e,t,r,n,i){i||(F(null!=t,"missing value"),F("boolean"==typeof n,"missing or invalid endian"),F(null!=r,"missing offset"),F(r+3<e.length,"Trying to write beyond buffer length"),U(t,34028234663852886e22,-34028234663852886e22)),e.length<=r||d.write(e,t,r,n,23,4)}function D(e,t,r,n,i){i||(F(null!=t,"missing value"),F("boolean"==typeof n,"missing or invalid endian"),F(null!=r,"missing offset"),F(r+7<e.length,"Trying to write beyond buffer length"),U(t,17976931348623157e292,-17976931348623157e292)),e.length<=r||d.write(e,t,r,n,52,8)}r.Buffer=i,r.SlowBuffer=i,r.INSPECT_MAX_BYTES=50,i.poolSize=8192,i._useTypedArrays=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray}catch(r){return!1}}(),i.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.isBuffer=function(e){return!(null==e||!e._isBuffer)},i.byteLength=function(e,t){var r;switch(e+="",t||"utf8"){case"hex":r=e.length/2;break;case"utf8":case"utf-8":r=B(e).length;break;case"ascii":case"binary":case"raw":r=e.length;break;case"base64":r=C(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=2*e.length;break;default:throw new Error("Unknown encoding")}return r},i.concat=function(e,t){if(F(O(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new i(0);if(1===e.length)return e[0];if("number"!=typeof t)for(a=t=0;a<e.length;a++)t+=e[a].length;for(var r=new i(t),n=0,a=0;a<e.length;a++){var s=e[a];s.copy(r,n),n+=s.length}return r},i.prototype.write=function(e,t,r,n){isFinite(t)?isFinite(r)||(n=r,r=void 0):(u=n,n=t,t=r,r=u),t=Number(t)||0;var a,s,o,l,u=this.length-t;switch((!r||u<(r=Number(r)))&&(r=u),n=String(n||"utf8").toLowerCase()){case"hex":a=function(e,t,r,n){r=Number(r)||0;var a=e.length-r;(!n||a<(n=Number(n)))&&(n=a),F((a=t.length)%2==0,"Invalid hex string"),a/2<n&&(n=a/2);for(var s=0;s<n;s++){var o=parseInt(t.substr(2*s,2),16);F(!isNaN(o),"Invalid hex string"),e[r+s]=o}return i._charsWritten=2*s,s}(this,e,t,r);break;case"utf8":case"utf-8":s=this,o=t,l=r,a=i._charsWritten=I(B(e),s,o,l);break;case"ascii":case"binary":a=h(this,e,t,r);break;case"base64":s=this,o=t,l=r,a=i._charsWritten=I(C(e),s,o,l);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":a=_(this,e,t,r);break;default:throw new Error("Unknown encoding")}return a},i.prototype.toString=function(e,t,r){var n,i,a,s,o=this;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,(r=void 0!==r?Number(r):o.length)===t)return"";switch(e){case"hex":n=function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||n<r)&&(r=n);for(var i="",a=t;a<r;a++)i+=L(e[a]);return i}(o,t,r);break;case"utf8":case"utf-8":n=function(e,t,r){var n="",i="";r=Math.min(e.length,r);for(var a=t;a<r;a++)e[a]<=127?(n+=q(i)+String.fromCharCode(e[a]),i=""):i+="%"+e[a].toString(16);return n+q(i)}(o,t,r);break;case"ascii":case"binary":n=f(o,t,r);break;case"base64":i=o,s=r,n=0===(a=t)&&s===i.length?p.fromByteArray(i):p.fromByteArray(i.slice(a,s));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=function(e,t,r){for(var n=e.slice(t,r),i="",a=0;a<n.length;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}(o,t,r);break;default:throw new Error("Unknown encoding")}return n},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},i.prototype.copy=function(e,t,r,n){if(t=t||0,(n=n||0===n?n:this.length)!==(r=r||0)&&0!==e.length&&0!==this.length){F(r<=n,"sourceEnd < sourceStart"),F(0<=t&&t<e.length,"targetStart out of bounds"),F(0<=r&&r<this.length,"sourceStart out of bounds"),F(0<=n&&n<=this.length,"sourceEnd out of bounds"),n>this.length&&(n=this.length);var a=(n=e.length-t<n-r?e.length-t+r:n)-r;if(a<100||!i._useTypedArrays)for(var s=0;s<a;s++)e[s+t]=this[s+r];else e._set(this.subarray(r,r+a),t)}},i.prototype.slice=function(e,t){var r=this.length;if(e=N(e,r,0),t=N(t,r,r),i._useTypedArrays)return i._augment(this.subarray(e,t));for(var n=t-e,a=new i(n,void 0,!0),s=0;s<n;s++)a[s]=this[s+e];return a},i.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},i.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},i.prototype.readUInt8=function(e,t){if(t||(F(null!=e,"missing offset"),F(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return this[e]},i.prototype.readUInt16LE=function(e,t){return g(this,e,!0,t)},i.prototype.readUInt16BE=function(e,t){return g(this,e,!1,t)},i.prototype.readUInt32LE=function(e,t){return m(this,e,!0,t)},i.prototype.readUInt32BE=function(e,t){return m(this,e,!1,t)},i.prototype.readInt8=function(e,t){if(t||(F(null!=e,"missing offset"),F(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return 128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){return b(this,e,!0,t)},i.prototype.readInt16BE=function(e,t){return b(this,e,!1,t)},i.prototype.readInt32LE=function(e,t){return y(this,e,!0,t)},i.prototype.readInt32BE=function(e,t){return y(this,e,!1,t)},i.prototype.readFloatLE=function(e,t){return x(this,e,!0,t)},i.prototype.readFloatBE=function(e,t){return x(this,e,!1,t)},i.prototype.readDoubleLE=function(e,t){return v(this,e,!0,t)},i.prototype.readDoubleBE=function(e,t){return v(this,e,!1,t)},i.prototype.writeUInt8=function(e,t,r){r||(F(null!=e,"missing value"),F(null!=t,"missing offset"),F(t<this.length,"trying to write beyond buffer length"),P(e,255)),t>=this.length||(this[t]=e)},i.prototype.writeUInt16LE=function(e,t,r){w(this,e,t,!0,r)},i.prototype.writeUInt16BE=function(e,t,r){w(this,e,t,!1,r)},i.prototype.writeUInt32LE=function(e,t,r){E(this,e,t,!0,r)},i.prototype.writeUInt32BE=function(e,t,r){E(this,e,t,!1,r)},i.prototype.writeInt8=function(e,t,r){r||(F(null!=e,"missing value"),F(null!=t,"missing offset"),F(t<this.length,"Trying to write beyond buffer length"),M(e,127,-128)),t>=this.length||(0<=e?this.writeUInt8(e,t,r):this.writeUInt8(255+e+1,t,r))},i.prototype.writeInt16LE=function(e,t,r){k(this,e,t,!0,r)},i.prototype.writeInt16BE=function(e,t,r){k(this,e,t,!1,r)},i.prototype.writeInt32LE=function(e,t,r){A(this,e,t,!0,r)},i.prototype.writeInt32BE=function(e,t,r){A(this,e,t,!1,r)},i.prototype.writeFloatLE=function(e,t,r){T(this,e,t,!0,r)},i.prototype.writeFloatBE=function(e,t,r){T(this,e,t,!1,r)},i.prototype.writeDoubleLE=function(e,t,r){D(this,e,t,!0,r)},i.prototype.writeDoubleBE=function(e,t,r){D(this,e,t,!1,r)},i.prototype.fill=function(e,t,r){if(t=t||0,r=r||this.length,F("number"==typeof(e="string"==typeof(e=e||0)?e.charCodeAt(0):e)&&!isNaN(e),"value is not a number"),F(t<=r,"end < start"),r!==t&&0!==this.length){F(0<=t&&t<this.length,"start out of bounds"),F(0<=r&&r<=this.length,"end out of bounds");for(var n=t;n<r;n++)this[n]=e}},i.prototype.inspect=function(){for(var e=[],t=this.length,n=0;n<t;n++)if(e[n]=L(this[n]),n===r.INSPECT_MAX_BYTES){e[n+1]="...";break}return"<Buffer "+e.join(" ")+">"},i.prototype.toArrayBuffer=function(){if("undefined"==typeof Uint8Array)throw new Error("Buffer.toArrayBuffer not supported in this browser");if(i._useTypedArrays)return new i(this).buffer;for(var e=new Uint8Array(this.length),t=0,r=e.length;t<r;t+=1)e[t]=this[t];return e.buffer};var S=i.prototype;function N(e,t,r){return"number"!=typeof e?r:t<=(e=~~e)?t:0<=e||0<=(e+=t)?e:0}function R(e){return(e=~~Math.ceil(+e))<0?0:e}function O(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function L(e){return e<16?"0"+e.toString(16):e.toString(16)}function B(e){for(var t=[],r=0;r<e.length;r++){var n=e.charCodeAt(r);if(n<=127)t.push(e.charCodeAt(r));else for(var i=r,a=(55296<=n&&n<=57343&&r++,encodeURIComponent(e.slice(i,r+1)).substr(1).split("%")),s=0;s<a.length;s++)t.push(parseInt(a[s],16))}return t}function C(e){return p.toByteArray(e)}function I(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);i++)t[i+r]=e[i];return i}function q(e){try{return decodeURIComponent(e)}catch(t){return String.fromCharCode(65533)}}function P(e,t){F("number"==typeof e,"cannot write a non-number as a number"),F(0<=e,"specified a negative value for writing an unsigned value"),F(e<=t,"value is larger than maximum value for type"),F(Math.floor(e)===e,"value has a fractional component")}function M(e,t,r){F("number"==typeof e,"cannot write a non-number as a number"),F(e<=t,"value larger than maximum allowed value"),F(r<=e,"value smaller than minimum allowed value"),F(Math.floor(e)===e,"value has a fractional component")}function U(e,t,r){F("number"==typeof e,"cannot write a non-number as a number"),F(e<=t,"value larger than maximum allowed value"),F(r<=e,"value smaller than minimum allowed value")}function F(e,t){if(!e)throw new Error(t||"Failed assertion")}i._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=S.get,e.set=S.set,e.write=S.write,e.toString=S.toString,e.toLocaleString=S.toString,e.toJSON=S.toJSON,e.copy=S.copy,e.slice=S.slice,e.readUInt8=S.readUInt8,e.readUInt16LE=S.readUInt16LE,e.readUInt16BE=S.readUInt16BE,e.readUInt32LE=S.readUInt32LE,e.readUInt32BE=S.readUInt32BE,e.readInt8=S.readInt8,e.readInt16LE=S.readInt16LE,e.readInt16BE=S.readInt16BE,e.readInt32LE=S.readInt32LE,e.readInt32BE=S.readInt32BE,e.readFloatLE=S.readFloatLE,e.readFloatBE=S.readFloatBE,e.readDoubleLE=S.readDoubleLE,e.readDoubleBE=S.readDoubleBE,e.writeUInt8=S.writeUInt8,e.writeUInt16LE=S.writeUInt16LE,e.writeUInt16BE=S.writeUInt16BE,e.writeUInt32LE=S.writeUInt32LE,e.writeUInt32BE=S.writeUInt32BE,e.writeInt8=S.writeInt8,e.writeInt16LE=S.writeInt16LE,e.writeInt16BE=S.writeInt16BE,e.writeInt32LE=S.writeInt32LE,e.writeInt32BE=S.writeInt32BE,e.writeFloatLE=S.writeFloatLE,e.writeFloatBE=S.writeFloatBE,e.writeDoubleLE=S.writeDoubleLE,e.writeDoubleBE=S.writeDoubleBE,e.fill=S.fill,e.inspect=S.inspect,e.toArrayBuffer=S.toArrayBuffer,e}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(e,t,r){(function(r,n,i,a,s,o,l,u,c){i=e("buffer").Buffer;var p=4,d=new i(p);d.fill(0),t.exports={hash:function(e,t,r,n){for(var a=t(function(e,t){e.length%p!=0&&(r=e.length+(p-e.length%p),e=i.concat([e,d],r));for(var r,n=[],a=t?e.readInt32BE:e.readInt32LE,s=0;s<e.length;s+=p)n.push(a.call(e,s));return n}(e=i.isBuffer(e)?e:new i(e),n),8*e.length),s=(t=n,new i(r)),o=t?s.writeInt32BE:s.writeInt32LE,l=0;l<a.length;l++)o.call(s,a[l],4*l,!0);return s}}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],5:[function(e,t,r){(function(t,n,i,a,s,o,l,u,c){i=e("buffer").Buffer;var p=e("./sha"),d=e("./sha256"),h=e("./rng"),_={sha1:p,sha256:d,md5:e("./md5")},f=64,g=new i(f);function m(e,t){var r=_[e=e||"sha1"],n=[];return r||b("algorithm:",e,"is not yet supported"),{update:function(e){return i.isBuffer(e)||(e=new i(e)),n.push(e),e.length,this},digest:function(e){var a=i.concat(n);return a=t?function(e,t,r){i.isBuffer(t)||(t=new i(t)),i.isBuffer(r)||(r=new i(r)),t.length>f?t=e(t):t.length<f&&(t=i.concat([t,g],f));for(var n=new i(f),a=new i(f),s=0;s<f;s++)n[s]=54^t[s],a[s]=92^t[s];return r=e(i.concat([n,r])),e(i.concat([a,r]))}(r,t,a):r(a),n=null,e?a.toString(e):a}}}function b(){var e=[].slice.call(arguments).join(" ");throw new Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}g.fill(0),r.createHash=function(e){return m(e)},r.createHmac=m,r.randomBytes=function(e,t){if(!t||!t.call)return new i(h(e));try{t.call(this,void 0,new i(h(e)))}catch(r){t(r)}};var y,x=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],v=function(e){r[e]=function(){b("sorry,",e,"is not implemented yet")}};for(y in x)v(x[y])}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(e,t,r){(function(r,n,i,a,s,o,l,u,c){var p=e("./helpers");function d(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var r=1732584193,n=-271733879,i=-1732584194,a=271733878,s=0;s<e.length;s+=16){var o=r,l=n,u=i,c=a;r=_(r,n,i,a,e[s+0],7,-680876936),a=_(a,r,n,i,e[s+1],12,-389564586),i=_(i,a,r,n,e[s+2],17,606105819),n=_(n,i,a,r,e[s+3],22,-1044525330),r=_(r,n,i,a,e[s+4],7,-176418897),a=_(a,r,n,i,e[s+5],12,1200080426),i=_(i,a,r,n,e[s+6],17,-1473231341),n=_(n,i,a,r,e[s+7],22,-45705983),r=_(r,n,i,a,e[s+8],7,1770035416),a=_(a,r,n,i,e[s+9],12,-1958414417),i=_(i,a,r,n,e[s+10],17,-42063),n=_(n,i,a,r,e[s+11],22,-1990404162),r=_(r,n,i,a,e[s+12],7,1804603682),a=_(a,r,n,i,e[s+13],12,-40341101),i=_(i,a,r,n,e[s+14],17,-1502002290),r=f(r,n=_(n,i,a,r,e[s+15],22,1236535329),i,a,e[s+1],5,-165796510),a=f(a,r,n,i,e[s+6],9,-1069501632),i=f(i,a,r,n,e[s+11],14,643717713),n=f(n,i,a,r,e[s+0],20,-373897302),r=f(r,n,i,a,e[s+5],5,-701558691),a=f(a,r,n,i,e[s+10],9,38016083),i=f(i,a,r,n,e[s+15],14,-660478335),n=f(n,i,a,r,e[s+4],20,-405537848),r=f(r,n,i,a,e[s+9],5,568446438),a=f(a,r,n,i,e[s+14],9,-1019803690),i=f(i,a,r,n,e[s+3],14,-187363961),n=f(n,i,a,r,e[s+8],20,1163531501),r=f(r,n,i,a,e[s+13],5,-1444681467),a=f(a,r,n,i,e[s+2],9,-51403784),i=f(i,a,r,n,e[s+7],14,1735328473),r=g(r,n=f(n,i,a,r,e[s+12],20,-1926607734),i,a,e[s+5],4,-378558),a=g(a,r,n,i,e[s+8],11,-2022574463),i=g(i,a,r,n,e[s+11],16,1839030562),n=g(n,i,a,r,e[s+14],23,-35309556),r=g(r,n,i,a,e[s+1],4,-1530992060),a=g(a,r,n,i,e[s+4],11,1272893353),i=g(i,a,r,n,e[s+7],16,-155497632),n=g(n,i,a,r,e[s+10],23,-1094730640),r=g(r,n,i,a,e[s+13],4,681279174),a=g(a,r,n,i,e[s+0],11,-358537222),i=g(i,a,r,n,e[s+3],16,-722521979),n=g(n,i,a,r,e[s+6],23,76029189),r=g(r,n,i,a,e[s+9],4,-640364487),a=g(a,r,n,i,e[s+12],11,-421815835),i=g(i,a,r,n,e[s+15],16,530742520),r=m(r,n=g(n,i,a,r,e[s+2],23,-995338651),i,a,e[s+0],6,-198630844),a=m(a,r,n,i,e[s+7],10,1126891415),i=m(i,a,r,n,e[s+14],15,-1416354905),n=m(n,i,a,r,e[s+5],21,-57434055),r=m(r,n,i,a,e[s+12],6,1700485571),a=m(a,r,n,i,e[s+3],10,-1894986606),i=m(i,a,r,n,e[s+10],15,-1051523),n=m(n,i,a,r,e[s+1],21,-2054922799),r=m(r,n,i,a,e[s+8],6,1873313359),a=m(a,r,n,i,e[s+15],10,-30611744),i=m(i,a,r,n,e[s+6],15,-1560198380),n=m(n,i,a,r,e[s+13],21,1309151649),r=m(r,n,i,a,e[s+4],6,-145523070),a=m(a,r,n,i,e[s+11],10,-1120210379),i=m(i,a,r,n,e[s+2],15,718787259),n=m(n,i,a,r,e[s+9],21,-343485551),r=b(r,o),n=b(n,l),i=b(i,u),a=b(a,c)}return Array(r,n,i,a)}function h(e,t,r,n,i,a){return b((t=b(b(t,e),b(n,a)))<<i|t>>>32-i,r)}function _(e,t,r,n,i,a,s){return h(t&r|~t&n,e,t,i,a,s)}function f(e,t,r,n,i,a,s){return h(t&n|r&~n,e,t,i,a,s)}function g(e,t,r,n,i,a,s){return h(t^r^n,e,t,i,a,s)}function m(e,t,r,n,i,a,s){return h(r^(t|~n),e,t,i,a,s)}function b(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}t.exports=function(e){return p.hash(e,d,16)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(e,t,r){(function(e,r,n,i,a,s,o,l,u){t.exports=function(e){for(var t,r=new Array(e),n=0;n<e;n++)!(3&n)&&(t=4294967296*Math.random()),r[n]=t>>>((3&n)<<3)&255;return r}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(e,t,r){(function(r,n,i,a,s,o,l,u,c){var p=e("./helpers");function d(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var r,n,i,a=Array(80),s=1732584193,o=-271733879,l=-1732584194,u=271733878,c=-1009589776,p=0;p<e.length;p+=16){for(var d=s,f=o,g=l,m=u,b=c,y=0;y<80;y++){a[y]=y<16?e[p+y]:_(a[y-3]^a[y-8]^a[y-14]^a[y-16],1);var x=h(h(_(s,5),(x=o,n=l,i=u,(r=y)<20?x&n|~x&i:!(r<40)&&r<60?x&n|x&i|n&i:x^n^i)),h(h(c,a[y]),(r=y)<20?1518500249:r<40?1859775393:r<60?-1894007588:-899497514));c=u,u=l,l=_(o,30),o=s,s=x}s=h(s,d),o=h(o,f),l=h(l,g),u=h(u,m),c=h(c,b)}return Array(s,o,l,u,c)}function h(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function _(e,t){return e<<t|e>>>32-t}t.exports=function(e){return p.hash(e,d,20,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(e,t,r){(function(r,n,i,a,s,o,l,u,c){function p(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function d(e,t){var r,n=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),i=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),a=new Array(64);e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var s,o,l=0;l<e.length;l+=16){for(var u=i[0],c=i[1],d=i[2],h=i[3],g=i[4],m=i[5],b=i[6],y=i[7],x=0;x<64;x++)a[x]=x<16?e[x+l]:p(p(p((o=a[x-2],_(o,17)^_(o,19)^f(o,10)),a[x-7]),(o=a[x-15],_(o,7)^_(o,18)^f(o,3))),a[x-16]),r=p(p(p(p(y,_(o=g,6)^_(o,11)^_(o,25)),g&m^~g&b),n[x]),a[x]),s=p(_(s=u,2)^_(s,13)^_(s,22),u&c^u&d^c&d),y=b,b=m,m=g,g=p(h,r),h=d,d=c,c=u,u=p(r,s);i[0]=p(u,i[0]),i[1]=p(c,i[1]),i[2]=p(d,i[2]),i[3]=p(h,i[3]),i[4]=p(g,i[4]),i[5]=p(m,i[5]),i[6]=p(b,i[6]),i[7]=p(y,i[7])}return i}var h=e("./helpers"),_=function(e,t){return e>>>t|e<<32-t},f=function(e,t){return e>>>t};t.exports=function(e){return h.hash(e,d,32,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(e,t,r){(function(e,t,n,i,a,s,o,l,u){r.read=function(e,t,r,n,i){var a,s,o=8*i-n-1,l=(1<<o)-1,u=l>>1,c=-7,p=r?i-1:0,d=r?-1:1;for(i=e[t+p],p+=d,a=i&(1<<-c)-1,i>>=-c,c+=o;0<c;a=256*a+e[t+p],p+=d,c-=8);for(s=a&(1<<-c)-1,a>>=-c,c+=n;0<c;s=256*s+e[t+p],p+=d,c-=8);if(0===a)a=1-u;else{if(a===l)return s?NaN:1/0*(i?-1:1);s+=Math.pow(2,n),a-=u}return(i?-1:1)*s*Math.pow(2,a-n)},r.write=function(e,t,r,n,i,a){var s,o,l=8*a-i-1,u=(1<<l)-1,c=u>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:a-1,h=n?1:-1;for(a=t<0||0===t&&1/t<0?1:0,t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(n=Math.pow(2,-s))<1&&(s--,n*=2),2<=(t+=1<=s+c?p/n:p*Math.pow(2,1-c))*n&&(s++,n/=2),u<=s+c?(o=0,s=u):1<=s+c?(o=(t*n-1)*Math.pow(2,i),s+=c):(o=t*Math.pow(2,c-1)*Math.pow(2,i),s=0));8<=i;e[r+d]=255&o,d+=h,o/=256,i-=8);for(s=s<<i|o,l+=i;0<l;e[r+d]=255&s,d+=h,s/=256,l-=8);e[r+d-h]|=128*a}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/ieee754/index.js","/node_modules/gulp-browserify/node_modules/ieee754")},{buffer:3,lYpoI2:11}],11:[function(e,t,r){(function(e,r,n,i,a,s,o,l,u){var c,p,d;function h(){}(e=t.exports={}).nextTick=(p="undefined"!=typeof window&&window.setImmediate,d="undefined"!=typeof window&&window.postMessage&&window.addEventListener,p?function(e){return window.setImmediate(e)}:d?(c=[],window.addEventListener("message",(function(e){var t=e.source;t!==window&&null!==t||"process-tick"!==e.data||(e.stopPropagation(),0<c.length&&c.shift()())}),!0),function(e){c.push(e),window.postMessage("process-tick","*")}):function(e){setTimeout(e,0)}),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.on=h,e.addListener=h,e.once=h,e.off=h,e.removeListener=h,e.removeAllListeners=h,e.emit=h,e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:11}]},{},[1])(1)),wn.exports);const kn=v(En),An=class e{static setAutoComplete(e){this.autoComplete=e}static auth(e){return p(this,null,(function*(){yield wt.auth(e)}))}static toMJML(t){const r=wt.getAuthState();if("PENDING"===r)throw new Error("Please call EditorCore.auth first");if("ERROR"===r)throw new Error("Auth error");const{element:n,pageElement:i,beautify:a,universalElements:s,mode:o,displayMode:l="desktop-mobile",idx:u,mergetagsData:c,attributesVariables:p}=t,_=t.outputFormat||"mjml",g=Ja.getBlockByType(n.type);if(!g)throw new Error(`Block ${n.type} not found`);if(!i&&g.category!==Bt.PAGE)throw new Error("Page element is required if element is not a page");const m=s?e.transformUniversalElements({universalElements:s.elements,content:d.cloneDeep(n)}):d.cloneDeep(n),b=new jt({mode:o}),y={content:i||n};let x="",v="",w=u;if(g.category===Bt.PAGE){w=Qt.getPageIdx();const e=d.cloneDeep(i||m);if(e.attributes=d.omit(e.attributes,"content-background-color"),t.headerElement||t.footerElement){if(!wt.getFeatureEnabled("FROZEN_BLOCK"))throw new Error("Current plan do not support FROZEN_BLOCK");const r={content:e};t.headerElement&&(x=Wt.unescape(f.renderToStaticMarkup(h.createElement(Nn,{universalElements:s,mode:t.mode,context:r,displayMode:l,outputFormat:_,keepEmptyAttributes:Boolean(t.keepEmptyAttributes),mergetagsData:c,attributesVariables:p},h.createElement(Ft,{context:b},h.createElement(Hn,{idx:w,node:d.cloneDeep(t.headerElement)})))))),t.footerElement&&(v=Wt.unescape(f.renderToStaticMarkup(h.createElement(Nn,{universalElements:s,mode:t.mode,context:r,displayMode:l,keepEmptyAttributes:Boolean(t.keepEmptyAttributes),mergetagsData:c,attributesVariables:p,outputFormat:_},h.createElement(Ft,{context:b},h.createElement(Hn,{idx:w,node:d.cloneDeep(t.footerElement)}))))))}}let E=Wt.unescape(f.renderToStaticMarkup(h.createElement(Nn,{universalElements:s,mode:t.mode,context:y,displayMode:l,keepEmptyAttributes:Boolean(t.keepEmptyAttributes),mergetagsData:c,attributesVariables:p,outputFormat:_},h.createElement(Ft,{context:b},h.createElement(Hn,{idx:w,node:m})))));const k=b.getHeadContent();return E=E.replace(/\<!-- GLOBAL_EXTRACT_HEADER --\>/,k),E=wt.getFeatureEnabled("REMOVE_BRAND")?E.replace(/\<!-- EASY_EMAIL_BRAND --\>/g,""):E.replace(/\<!-- EASY_EMAIL_BRAND --\>/,`<mj-section padding-top="20px" padding-bottom="0px">\n <mj-column width="150px">\n <mj-image target="_blank" alt="easy email pro" href="https://www.easyemail.pro/?utm_source=brand_logo&utm_client_id=${wt.clientId}" padding="5px 10px" container-background-color="#fafafa" src="https://cdn.shopify.com/s/files/1/0863/8971/9346/files/image.png" />\n </mj-column>\n </mj-section>`),E=E.replace(/\<!-- GLOBAL_EXTRACT_HEADER --\>/,k),E=E.replace(/\<!-- EASY_EMAIL_FROZEN_HEADER --\>/,x).replace(/\<!-- EASY_EMAIL_FROZEN_FOOTER --\>/,v),"production"!==t.mode&&(E=E.replace(/\<mj-html-attributes\>([\w\W]*?)\<\/mj-html-attributes\>/,"")),a?bn.html(E,{indent_size:2,wrap_attributes_indent_size:2,max_preserve_newlines:0,preserve_newlines:!1}):E}static translate(e){return p(this,null,(function*(){if(!wt.getFeatureEnabled("TRANSLATE_TEMPLATE"))throw new Error("Current plan do not support translate template.");const t=[e.template.subject],r=n=>{var i;Qt.isMergetagElement(n)||(Qt.isElement(n)&&n.children.forEach((e=>{Qt.isTextNode(e)?e.text.trim()&&t.push(e.text):r(e)})),(null==(i=e.helper)?void 0:i.extract)&&e.helper.extract(n,t))};r(e.template.content);const n=yield e.translate([...new Set(t)]),i=t=>{var r;Qt.isMergetagElement(t)||(Qt.isElement(t)&&t.children.forEach((e=>{Qt.isTextNode(e)?e.text.trim()&&(e.text=n[e.text]):i(e)})),(null==(r=e.helper)?void 0:r.replace)&&e.helper.replace(t,n))},a=d.cloneDeep(e.template.content);return i(a),{content:a,subject:n[e.template.subject]}}))}static elementToMjml(e,t){const r=new jt({mode:t.mode});return Wt.unescape(f.renderToStaticMarkup(h.createElement(Nn,{outputFormat:t.outputFormat||"mjml",universalElements:t.universalElements,mode:t.mode,context:{content:t.pageElement},displayMode:t.displayMode||"desktop-mobile",keepEmptyAttributes:Boolean(t.keepEmptyAttributes),mergetagsData:t.mergetagsData,attributesVariables:t.attributesVariables},h.createElement(Ft,{context:r},h.createElement(Hn,{node:d.cloneDeep(e)})))))}static elementComponentToMjml(e,t){const r=new jt({mode:t.mode});return Wt.unescape(f.renderToStaticMarkup(h.createElement(Nn,{outputFormat:t.outputFormat||"mjml",universalElements:t.universalElements,mode:t.mode,context:{content:t.pageElement},displayMode:t.displayMode||"desktop-mobile",keepEmptyAttributes:Boolean(t.keepEmptyAttributes),mergetagsData:t.mergetagsData,attributesVariables:t.attributesVariables},h.createElement(Ft,{context:r},e))))}static isPageDataVariable(e){return/\$var\(([\s\S]+)\)/g.test(e)}};c(An,"autoComplete",!1),c(An,"version","0.14.0"),c(An,"mjmlToBlockElement",(function(e){if(!e.trim())return{text:""};const t=new DOMParser,r=e.replace(/ /g," ").replace(/&/g,"&"),n=t.parseFromString(r,"text/xml"),i=e=>{if(!e)return{text:""};if(8===e.nodeType){return Ja.getBlockByType(Lt.RAW).create({data:{content:e.textContent||""}})}if(3===e.nodeType)return{text:e.textContent||""};if(1!==e.nodeType)throw console.log("Invalid Node",e,e.nodeType),new Error("Invalid Node");const t=e;if(!t.tagName.toLocaleLowerCase().startsWith("mj-"))return xn(t,i);let r={},n=t.tagName.toLocaleLowerCase().replace("mj-",""),a=t.getAttributeNames().filter((e=>!e.startsWith("element-"))).reduce(((e,r)=>l(o({},e),{[r]:t.getAttribute(r)||""})),{});t.getAttribute("element-type")&&(n=t.getAttribute("element-type")),t.getAttribute("element-data")&&(r=JSON.parse(decodeURIComponent(t.getAttribute("element-data")))),t.getAttribute("element-attributes")&&(a=JSON.parse(decodeURIComponent(t.getAttribute("element-attributes")))||{}),n===Lt.TEXT&&d.get(a,"css-class","").includes(qt)&&(n=Lt.DANGEROUS_CODE,r={code:Kt.decode(t.innerHTML)}),"mj-table"===t.tagName.toLocaleLowerCase()&&(n=Lt.TABLE,r={code:Kt.decode(t.innerHTML)});const s=Ja.getBlockByType(n);if(!s)throw new Error(`Don't support ${t.tagName.toLocaleLowerCase()}`);let u=[];switch(n){case Lt.TEXT:case Lt.BUTTON:case Lt.NAVBAR_LINK:case Lt.SOCIAL_ELEMENT:u=((e,t)=>[...(new DOMParser).parseFromString(`<root>${e}</root>`,"text/xml").documentElement.childNodes].map((e=>xn(e,t))))(t.innerHTML||"",i);break;default:u=s.void?[]:t.childNodes.length>0?[...t.childNodes].map(i):[]}return{type:n,data:r,attributes:a,children:u}};return i(n.firstChild)})),c(An,"getPageVariableKey",(e=>e.replace(/\$var\(([\s\S]+)\)/g,"$1"))),c(An,"getPageDataVariables",((e,t)=>(null==e?void 0:e.reduce(((e,t)=>l(o({},e),{[t.name]:t.value})),o({},t)))||o({},t))),c(An,"renderWithPageVariables",((e,t,r)=>{if(!t)return e;const n=d.cloneDeep(e);if("string"==typeof n)return n.replace(/\$var\(([^)]+)\)/g,((e,r)=>d.get(t,r.trim(),"")));const i=e=>{d.forOwn(e,((a,s)=>{"object"==typeof a?("children"!==s||r)&&i(a):"string"==typeof a&&(e[s]=a.replace(/\$var\(([^)]+)\)/g,((e,r)=>d.get(t,r.trim(),""))).replace(/\$input\(([^)]+)\)/g,((e,t)=>Qt.isElement(n)&&Qt.isWidgetElement(n)?`widget_element_${kn(n.data.input)}.${t.trim()}`:t.trim())))}))};return i(n),n})),c(An,"getWidgetElementsInputData",(e=>{const t={},r=e=>{if(Qt.isWidgetElement(e)){const r="widget_element_"+kn(e.data.input);t[r]=e.data.input}e.children&&e.children.forEach((e=>{Qt.isElement(e)&&r(e)}))};return r(e),t})),c(An,"getUniversalElements",(function(e){const t={},r=(e,n)=>{e.uid&&(t[e.uid]||(t[e.uid]=[]),t[e.uid].push({idx:n,blockData:e})),e.children.forEach(((e,t)=>{Qt.isTextNode(e)||r(e,Qt.getChildIdx(n,t))}))};return r(e.content,Qt.getPageIdx()),t})),c(An,"transformUniversalElements",(function(e){const t=d.cloneDeep(e),r=(n,i)=>{if(n.uid){if(!e.universalElements)throw new Error("No universalElements");if(!e.universalElements[n.uid])throw new Error(`Can not find element by uid ${n.uid}`);d.set(t,i,d.cloneDeep(e.universalElements[n.uid]))}n.children.forEach(((e,t)=>{Qt.isTextNode(e)||r(e,Qt.getChildIdx(i,t))}))};return r(t.content,Qt.getPageIdx()),t.content}));let Tn=An;const Dn=h.createContext({}),Sn=()=>h.useContext(Dn),Nn=e=>{const t=h.useMemo((()=>{const t=Tn.getPageDataVariables(e.context.content.data.variables,e.attributesVariables||{});return l(o({},e),{pageVariables:t})}),[e]);return h.createElement(Dn.Provider,{value:t},e.children)};var Rn=(e=>(e.RESPONSIVE="RESPONSIVE",e.TEMPLATE_ENGINE="TEMPLATE_ENGINE",e))(Rn||{});class On{constructor(){c(this,"enabledResponsive",!0)}}c(On,"type","RESPONSIVE");class Ln{}c(Ln,"type","TEMPLATE_ENGINE");class Bn{}const Cn=class e{static registerPlugins(t){t.forEach((t=>{e.registerPlugin(t)}))}static registerPlugin(t){const r=new t;r instanceof On?(e.enabledResponsive=r.enabledResponsive,e.generateResponsive=r.generateResponsive):r instanceof Ln?(e.generateIterationTemplate=r.generateIterationTemplate,e.generateConditionTemplate=r.generateConditionTemplate,e.generateVariable=r.generateVariable,e.isVariable=r.isVariable,e.renderWithData=r.renderWithData):r instanceof Bn&&r.generateElement()}};c(Cn,"enabledResponsive",!1),c(Cn,"generateResponsive",(e=>{const t=Ja.getBlockByType(e.node.type),{mode:r,children:n,context:i,idx:a,node:s,keepEmptyAttributes:u,mergetagsData:c}=e;return t.render(l(o({},e),{mode:r,children:n,context:i,idx:a,node:s,keepEmptyAttributes:u,mergetagsData:c}))})),c(Cn,"generateIterationTemplate",((e,t)=>t)),c(Cn,"isVariable",(e=>!1)),c(Cn,"generateConditionTemplate",((e,t)=>t)),c(Cn,"generateVariable",(e=>e)),c(Cn,"renderWithData",((e,t)=>e));let In=Cn;const qn=h.createContext({}),Pn=e=>h.createElement(qn.Provider,{value:e},e.children),Mn=h.createContext({}),Un=e=>h.createElement(Mn.Provider,{value:e},e.children),Fn=h.createContext({}),jn=()=>h.useContext(Fn),zn=e=>h.createElement(Fn.Provider,{value:e},e.children),Hn=e=>{var t,r,n,i,a,s;const{children:u,node:c,idx:p}=e,{mode:_,context:f,displayMode:g,keepEmptyAttributes:m,mergetagsData:y,pageVariables:x,variablesDisabled:v,outputFormat:w}=Sn(),{element:E}=h.useContext(qn),{element:k}=h.useContext(Mn),{element:A}=jn(),T=Ja.getBlockByType(c.type);if(!T)throw new Error(`${c.type} block is not registered`);if("production"===_){if("amp-mjml"===w&&"html"===c.outputTarget)return null;if("mjml"===w&&"amp"===c.outputTarget){if(!(!0===(null==(t=c.data)?void 0:t.fallback)))return null}}const D=null==(r=c.logic)?void 0:r.condition,S=null==(n=c.logic)?void 0:n.iteration;let N=l(o({},c),{attributes:o({},c.attributes),mobileAttributes:o({},c.mobileAttributes)});const R=d.get(N,"attributes.css-class")||"";"production"===_&&R&&d.set(N,"attributes.css-class",R.replace(Ct,"").replace(It,""));const O=null==(i=N.attributes["mj-class"])?void 0:i.trim();if(O&&f.content.data.classAttributes){const e={},t=O.split(" ").map((e=>e.trim())).filter(Boolean);Object.values(t).forEach((t=>{d.get(f.content.data.classAttributes,t)&&Object.assign(e,d.get(f.content.data.classAttributes,t))})),N.attributes=b(e,N.attributes)}const L=null==(a=f.content.data.blockAttributes)?void 0:a[N.type];L&&(N.attributes=b(L,N.attributes));const B=null==(s=f.content.data.categoryAttributes)?void 0:s[T.category];f.content.data.globalAttributes&&(Qt.isHTMLBlockNodeElement(N)||Qt.isTable2TdElement(N)||Qt.isTable2TrElement(N)||Qt.isHTMLNodeElement(N)||(N.attributes=b(f.content.data.globalAttributes,N.attributes))),B&&(N.attributes=b(B,N.attributes));const C=o({},Ja.getBlockByType(N.type).defaultData.attributes);C&&(d.get(N.attributes,"padding","").trim()&&(delete C.padding,delete C["padding-top"],delete C["padding-bottom"],delete C["padding-left"],delete C["padding-right"]),d.get(N.attributes,"inner-padding","").trim()&&(delete C["inner-padding"],delete C["inner-padding-top"],delete C["inner-padding-bottom"],delete C["inner-padding-left"],delete C["inner-padding-right"]),N.attributes=b(C,N.attributes));if(Qt.isSectionElement(c)||Qt.isWrapperElement(c)){const e=f.content.attributes["content-background-color"];e&&(k||"production"!==_||(N.attributes=b({"background-color":e},N.attributes)))}if(!v){let e=x;Qt.isWidgetElement(N)?(e=b(x,N.data.input),N=Tn.renderWithPageVariables(N,e,!0)):N=Tn.renderWithPageVariables(N,e)}let I=In.generateResponsive({mode:_,children:u,context:f,idx:p,node:N,keepEmptyAttributes:m,mergetagsData:y,displayMode:g,outputFormat:w});if(E)try{const e=E.data.input;S&&S.enabled&&(I=In.generateIterationTemplate(S,I)),D&&D.enabled&&(I=In.generateConditionTemplate(d.cloneDeep(D),I));const t=Tn.elementComponentToMjml(I,{pageElement:f.content,mode:"production",keepEmptyAttributes:!0,mergetagsData:e,displayMode:g}),r=In.renderWithData(t,e);return h.createElement(h.Fragment,null,r)}catch(q){if("production"===_)throw q;return h.createElement(h.Fragment,null)}return"production"===_&&(S&&S.enabled&&(I=In.generateIterationTemplate(S,I)),D&&D.enabled&&(I=In.generateConditionTemplate(d.cloneDeep(D),I))),Qt.isWrapperElement(N)&&(I=h.createElement(Un,{element:N},I)),Qt.isWidgetElement(N)&&!N.data.contentEditable&&N.data.staticLogicEnabled?h.createElement(Pn,{element:N},h.createElement(h.Fragment,null,I)):"production"===_&&N.id&&Qt.isContentElement(N)&&A&&(Qt.isPageElement(A)||Qt.isWrapperElement(A))?h.createElement(zn,{element:null},h.createElement(Hn,{node:{type:Nt.SECTION,data:{},attributes:{padding:"0px 0px 0px 0px"},children:[]}},h.createElement(Hn,{node:{type:Nt.COLUMN,data:{},attributes:{},children:[]}},I))):N.id?h.createElement(zn,{element:N},I):h.createElement(h.Fragment,null,I)},Vn=({node:e,extraStyle:t})=>{let r=e.text;const n=o({},t);if(!r)return null;const i=e;return Object.keys(i).filter((e=>"text"!==e)).forEach((e=>{switch(e){case"bold":r=h.createElement("strong",null,r);break;case"italic":r=h.createElement("em",null,r);break;case"underline":r=h.createElement("u",null,r);break;case"strikethrough":r=h.createElement("del",null,r);break;case"color":n.color=i.color;break;case"bgColor":n.backgroundColor=i.bgColor;break;case"fontSize":n.fontSize=i.fontSize;break;case"fontFamily":n.fontFamily=i.fontFamily;break;case"link":i.link&&(r=h.createElement("a",{style:n,href:i.link.href,target:i.link.blank?"_blank":void 0},r));break;default:d.set(n,e,d.get(i,e))}})),d.isString(r)&&0===Object.keys(n).length?h.createElement(h.Fragment,null,r):h.createElement("span",{style:n},r)};function $n(e){const{params:t,params:{node:r,idx:n,children:i,keepEmptyAttributes:a},tag:s,children:u}=e,c=u||i,p=wu(t,{keepEmptyAttributes:a,removeDefaultAttributes:"production"===t.mode,mode:t.mode});if(Pt.includes(s))return h.createElement(h.Fragment,null,`<${s} ${p?` ${p}`:""} />`);const d=h.createElement(h.Fragment,null,`<${s}${p?` ${p}`:""}>`,c||r.children.map(((e,i)=>{if(Qt.isTextNode(e)){let n=e.text;return 0===i&&(n=n.replace(/^ {1}/g," ")),n=n.replace(/ {1}$/," "),n=n.replace(/ {2}/g," "),!n&&Qt.isHTMLBlockNodeElement(r)&&"div"===s.toLocaleLowerCase()&&1===r.children.length?" ":Qt.isTextListElement(r)?h.createElement(h.Fragment,{key:i},"<li>",h.createElement(Vn,l(o({key:i},t),{node:l(o({},e),{text:n})})),"</li>"):h.createElement(Vn,l(o({key:i},t),{node:l(o({},e),{text:n})}))}return h.createElement(Hn,l(o({key:i},t),{idx:n?Qt.getChildIdx(n,i):null,node:e}))})),`</${s}>`);return h.createElement(h.Fragment,null,d)}const Gn=e=>!!(h.isValidElement(e)||d.isString(e)||d.isUndefined(e)||d.isNumber(e)||d.isBoolean(e)||null===e)||(!(!Array.isArray(e)||!e.every((e=>Gn(e))))||void 0);function Wn(e){return!!Gn(e)}function Kn(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.WRAPPER,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function Xn(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.SECTION,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function Jn(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.GROUP,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function Yn(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.COLUMN,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function Qn(e){const t=e,{data:r,children:n,idx:i}=t,a=u(t,["data","children","idx"]),s={type:Nt.BUTTON,data:r||{},attributes:o({},a),children:Wn(n)?[]:n||[]};return h.createElement(Hn,{idx:i,node:s,children:Wn(n)?n:null})}function Zn(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.IMAGE,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function ei(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.TEXT,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function ti(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.SPACER,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function ri(e){const t=e,{data:r,children:n,idx:i}=t,a=u(t,["data","children","idx"]),s={type:Nt.RAW,data:r||{content:n||""},attributes:o({},a),children:Wn(n)?[]:n||[]};return h.createElement(Hn,{idx:i,node:s,children:Wn(n)?n:null})}function ni(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.DIVIDER,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function ii(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.NAVBAR,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function ai(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.NAVBAR_LINK,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function si(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.SOCIAL,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function oi(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.SOCIAL_ELEMENT,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function li(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.HERO,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function ui(e){const t=e,{idx:r,children:n}=t,i=u(t,["idx","children"]),a={type:Nt.TABLE,data:{code:d.isString(n)?String(n):""},attributes:o({},i),children:[]};return h.createElement(Hn,{idx:r,node:a,children:d.isString(n)?null:n})}const ci=Object.freeze(Object.defineProperty({__proto__:null,BasicBlock:$n,BlockRenderer:Hn,Button:Qn,Code:function(e){const t=e,{children:r,idx:n}=t,i=u(t,["children","idx"]),a={type:Nt.DANGEROUS_CODE,data:{code:String(r)},attributes:o({},i),children:[]};return h.createElement(Hn,{idx:n,node:a,children:null})},Column:Yn,ContentLeaf:Vn,Divider:ni,ForEach:function(e){const t=e,{idx:r,children:n}=t,i=u(t,["idx","children"]),a={type:Lt.FOR_EACH,data:o({},i),attributes:{},children:Wn(n)?[]:n||[]};return h.createElement(Hn,{idx:r,node:a,children:Wn(n)?n:null})},Group:Jn,Hero:li,HtmlDomNode:function(e){const t=e,{tagName:r,idx:n,children:i}=t,a=u(t,["tagName","idx","children"]),s={type:Lt.HTML_DOM_NODE,data:{tagName:r},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})},HtmlNode:function(e){const t=e,{tagName:r,children:n,idx:i}=t,a=u(t,["tagName","children","idx"]),s={type:Nt.HTML_NODE,data:{tagName:r},attributes:o({},a),children:Wn(n)?[]:n||[]};return h.createElement(Hn,{idx:i,node:s,children:Wn(n)?n:null})},Image:Zn,Navbar:ii,NavbarLink:ai,Raw:ri,Section:Xn,Show:function(e){const t=e,{idx:r,children:n}=t,i=u(t,["idx","children"]),a={type:Lt.SHOW,data:l(o({},i),{component:n}),attributes:{},children:[]};return h.createElement(Hn,{idx:r,node:a,children:n})},SlateNodePlaceholder:({node:e})=>h.createElement(Hn,{node:l(o({},e),{attributes:l(o({},e.attributes),{"css-class":g(e.attributes["css-class"],It)})})}),Social:si,SocialElement:oi,Spacer:ti,Style:e=>{const{context:t}=Ut(),{mode:r}=Sn();return"production"===r?(t.addStyle(l(o({},e),{content:e.children})),h.createElement(h.Fragment,null)):h.createElement("style",null,e.children)},Table:ui,Text:ei,Wrapper:Kn,useEmailGlobalContext:Ut},Symbol.toStringTag,{value:"Module"})),pi={get name(){return Dt("Page")},defaultData:{attributes:{width:"600px","margin-top":"30px","margin-bottom":"30px","link-text-decoration":"underline"},data:{breakpoint:"480px"}},type:Nt.PAGE,create:e=>b({type:Nt.PAGE,data:{breakpoint:"480px",globalAttributes:{"font-family":"Arial, sans-serif"}},attributes:{},children:[]},e),category:Bt.PAGE,render(e){var t,r,n,i,a,s;const{node:u,node:{data:c,attributes:p},mode:d,outputFormat:_}=e,f=c.breakpoint?`<mj-breakpoint width="${c.breakpoint}" />`:"",g=[...c.headStyles||[]];"testing"===d?g.unshift({content:St}):(g.unshift({content:".mjbody a{color:inherit}@media(max-width:480px){.hide-mobile-block{max-height:0px;overflow:hidden;display:none!important}.hide-desktop-block{display:block!important}.hide-mobile-inline-block{max-height:0px;overflow:hidden;display:none!important}.hide-desktop-inline-block{display:inline-block!important}}"}),g.unshift({content:".hide-desktop-block,.hide-desktop-inline-block,.hide-block{display:none!important;mso-hide:all!important}.direction-rtl,.navbar-direction-rtl .mj-link{direction:rtl}",inline:"inline"}));const m=g.map((e=>`<mj-style ${e.inline?'inline="inline"':""}>${e.content}</mj-style>`)).join("\n")||"",b={color:(null==(t=p["link-color"])?void 0:t.trim())||"inherit","font-weight":null==(r=p["link-font-weight"])?void 0:r.trim(),"text-decoration":null==(n=p["link-text-decoration"])?void 0:n.trim(),"font-style":null==(i=p["link-font-style"])?void 0:i.trim()},y=Object.keys(b).map((e=>b[e]?`${e}: ${b[e]}`:"")).filter(Boolean).join(";"),x="amp-mjml"===_?`<mj-style>.mjbody a, .mjbody a:hover, .mjbody a:active {${y}}</mj-style>`:`<mj-style>.mjbody a, .mjbody a:hover, .mjbody a:active, .mjbody a[href], .mjbody a[href]:hover, .mjbody a[href]:active {${y}}</mj-style>`,v=p["background-color"]?`background-color="${p["background-color"]}"`:"",w=p["margin-top"]&&"0px"!==p["margin-top"]?`<mj-section padding="0px"><mj-column><mj-spacer height="${p["margin-top"]}"></mj-spacer></mj-column></mj-section>`:"",E=p["margin-bottom"]&&"0px"!==p["margin-bottom"]?`<mj-section padding="0px"><mj-column><mj-spacer height="${p["margin-top"]}"></mj-spacer></mj-column></mj-section>`:"",k=c.preheader?`<mj-preview>${c.preheader}</mj-preview>`:"",A=p.width||"600px";return h.createElement(h.Fragment,null,`\n <mjml>\n <mj-head>\n ${m}\n ${x}\n \x3c!-- GLOBAL_EXTRACT_HEADER --\x3e\n ${f}\n ${k}\n ${(null==(a=c.fonts)?void 0:a.length)?null==(s=c.fonts)?void 0:s.filter(Boolean).map((e=>`<mj-font name="${e.name}" href="${e.href}" />`)):""}\n\n </mj-head>\n <mj-body width="${A}" ${v} css-class="mjbody">\n ${w}\n `,"\x3c!-- EASY_EMAIL_FROZEN_HEADER --\x3e",u.children.map(((t,r)=>h.createElement(Hn,l(o({},e),{idx:Qt.getChildIdx(Qt.getPageIdx(),r),key:r,node:t})))),"\x3c!-- EASY_EMAIL_FROZEN_FOOTER --\x3e","\x3c!-- EASY_EMAIL_BRAND --\x3e",`\n ${E}\n\n </mj-body></mjml>`)}},di=St,hi={get name(){return Dt("Wrapper")},defaultData:{attributes:{"background-repeat":"no-repeat","background-size":"auto","background-position":"top center",direction:"ltr",padding:"20px 0px","padding-top":"20px","padding-right":"0px","padding-bottom":"20px","padding-left":"0px","text-align":"center"},data:{}},type:Nt.WRAPPER,create:e=>b({type:Nt.WRAPPER,data:{},attributes:{},children:[]},e),category:Bt.WRAPPER,render:e=>h.createElement($n,{params:e,tag:"mj-wrapper"})},_i={get name(){return Dt("Row")},defaultData:{attributes:{"background-repeat":"repeat","background-size":"auto","background-position":"top center",direction:"ltr",padding:"20px 0","padding-top":"20px","padding-right":"0px","padding-bottom":"20px","padding-left":"0px","text-align":"center"},data:{}},type:Nt.SECTION,create:e=>b({type:Nt.SECTION,data:{},attributes:{},children:[]},e),category:Bt.SECTION,render:e=>h.createElement($n,{params:e,tag:"mj-section"})},fi={get name(){return Dt("Group")},defaultData:{attributes:{direction:"ltr","vertical-align":"top","padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{}},type:Nt.GROUP,create:e=>b({type:Nt.GROUP,data:{},attributes:{width:"100%"},children:[]},e),category:Bt.GROUP,render:e=>h.createElement($n,{params:e,tag:"mj-group"})},gi={get name(){return Dt("Column")},defaultData:{attributes:{direction:"ltr","vertical-align":"top","padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{}},type:Nt.COLUMN,create:e=>b({type:Nt.COLUMN,data:{},attributes:{},children:[]},e),category:Bt.COLUMN,render:e=>h.createElement($n,{params:e,tag:"mj-column"})},mi={get name(){return Dt("Text")},defaultData:{attributes:{align:"left",color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"1",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","letter-spacing":"0px"},data:{}},type:Nt.TEXT,create:e=>b({type:Nt.TEXT,data:{},attributes:{},children:[]},e),category:Bt.TEXT,render:e=>h.createElement($n,{params:e,tag:"mj-text"})},bi={get name(){return Dt("Button")},defaultData:{attributes:{align:"center","background-color":"#414141",border:"none","border-radius":"3px",color:"#ffffff","font-family":"Arial","font-size":"13px","font-weight":"normal","inner-padding":"10px 25px","letter-spacing":"0px","line-height":"120%",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px",target:"_blank","text-decoration":"none","text-transform":"none","vertical-align":"middle"},data:{}},type:Nt.BUTTON,create:e=>b({type:Nt.BUTTON,data:{},attributes:{},children:[]},e),category:Bt.BUTTON,render:e=>h.createElement($n,{params:e,tag:"mj-button"})},yi={get name(){return Dt("Image")},void:!0,defaultData:{attributes:{align:"center",border:"0",height:"auto",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px",target:"_blank"},data:{}},type:Nt.IMAGE,create:e=>b({type:Nt.IMAGE,data:{},attributes:{},children:[]},e),category:Bt.IMAGE,render:e=>h.createElement($n,{params:e,tag:"mj-image"})},xi={get name(){return Dt("Spacer")},defaultData:{attributes:{height:"20px"},data:{}},type:Nt.SPACER,create:e=>b({type:Nt.SPACER,data:{},attributes:{},children:[]},e),category:Bt.SPACER,render:e=>h.createElement($n,{params:e,tag:"mj-spacer"})},vi={get name(){return Dt("Raw")},defaultData:{attributes:{},data:{content:""}},type:Nt.RAW,create:e=>b({type:Nt.RAW,data:{content:""},attributes:{},children:[]},e),category:Bt.RAW,render:e=>"testing"===e.mode?h.createElement($n,{tag:"span",params:l(o({},e),{node:l(o({},e.node),{attributes:{"element-type":Nt.RAW,"element-category":Bt.RAW,"element-data":encodeURIComponent(JSON.stringify(e.node.data))}})})}):h.createElement($n,{params:e,tag:"mj-raw"},e.node.data.content)},wi={get name(){return Dt("Mergetag")},defaultData:{attributes:{},data:{}},type:Nt.MERGETAG,create:e=>b({type:Nt.MERGETAG,data:{},attributes:{},children:[]},e),inlineElement:!0,category:Bt.INLINE_TEXT,render(e){if("production"===e.mode){const t=e.node.children[0];return h.createElement(Vn,{node:l(o({},t),{text:In.generateVariable(t.text,e.node.data.default)})})}return h.createElement($n,{tag:"span",params:l(o({},e),{node:l(o({},e.node),{attributes:{"element-type":Nt.MERGETAG,"element-category":Bt.INLINE_TEXT}})})})}},Ei={get name(){return Dt("Line break")},defaultData:{attributes:{},data:{}},type:Nt.LINE_BREAK,create:e=>b({type:Nt.LINE_BREAK,data:{},attributes:{},children:[]},e),inlineElement:!0,category:Bt.INLINE_TEXT,render(e){if("production"===e.mode){const t=e.node.children[0];return h.createElement(Vn,{node:l(o({},t),{text:"<br />"})})}return h.createElement($n,{tag:"span",params:l(o({},e),{node:l(o({},e.node),{attributes:{"element-type":Nt.LINE_BREAK,"element-category":Bt.INLINE_TEXT}})})})}},ki={get name(){return Dt("Social")},defaultData:{attributes:{align:"center","border-radius":"3px",color:"#333333","font-family":"Arial","font-size":"13px","icon-size":"20px","line-height":"22px",mode:"horizontal",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","text-decoration":"none"},data:{}},type:Nt.SOCIAL,create:e=>b({type:Nt.SOCIAL,data:{},attributes:{},children:[]},e),category:Bt.SOCIAL,render:e=>h.createElement($n,{params:e,tag:"mj-social"})},Ai={get name(){return Dt("Navbar")},defaultData:{attributes:{align:"center","base-url":null,hamburger:null,"ico-align":"center","ico-open":"☰","ico-close":"⊗","ico-color":"#000000","ico-font-size":"30px","ico-font-family":"Arial","ico-text-transform":"uppercase","ico-padding":"10px","ico-text-decoration":"none","ico-line-height":"30px","padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{}},type:Nt.NAVBAR,create:e=>b({type:Nt.NAVBAR,data:{},attributes:{},children:[]},e),category:Bt.NAVBAR,render:e=>h.createElement($n,{params:e,tag:"mj-navbar"})},Ti={get name(){return Dt("Divider")},defaultData:{attributes:{align:"center","border-width":"4px","border-style":"solid","border-color":"#000000",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px",width:"100%"},data:{}},type:Lt.DIVIDER,create:e=>b({type:Lt.DIVIDER,data:{},attributes:{},children:[]},e),category:Bt.DIVIDER,render:e=>h.createElement($n,{params:e,tag:"mj-divider"})},Di={get name(){return Dt("Navbar Link")},defaultData:{attributes:{color:"#000000","font-family":"Arial","font-size":"13px","font-weight":"normal","line-height":"22px",padding:"15px 10px","padding-top":"15px","padding-right":"10px","padding-bottom":"15px","padding-left":"10px",target:"_blank","text-decoration":"none","text-transform":"uppercase"},data:{}},type:Nt.NAVBAR_LINK,create:e=>b({type:Nt.NAVBAR_LINK,data:{},attributes:{},children:[]},e),category:Bt.NAVBAR_LINK,render:e=>h.createElement($n,{params:e,tag:"mj-navbar-link"})},Si={get name(){return Dt("Social Item")},defaultData:{attributes:{align:"left",color:"#000","border-radius":"3px","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"1",padding:"4px","padding-top":"4px","padding-right":"4px","padding-bottom":"4px","padding-left":"4px","text-padding":"4px 4px 4px 0",target:"_blank","text-decoration":"none","vertical-align":"middle"},data:{}},type:Nt.SOCIAL_ELEMENT,create:e=>b({type:Nt.SOCIAL_ELEMENT,data:{},attributes:{},children:[]},e),category:Bt.SOCIAL_ELEMENT,render:e=>h.createElement($n,{params:e,tag:"mj-social-element"})},Ni={get name(){return Dt("Hero")},defaultData:{attributes:{"background-color":"#ffffff","background-position":"center center",mode:"fixed-height","vertical-align":"top"},data:{}},type:Nt.HERO,create:e=>b({type:Nt.HERO,data:{},attributes:{},children:[]},e),category:Bt.HERO,render:e=>h.createElement($n,{params:e,tag:"mj-hero"})},Ri={get name(){return Dt("Placeholder")},defaultData:{attributes:{},data:{}},type:Nt.PLACEHOLDER,create:e=>b({type:Nt.PLACEHOLDER,data:{},attributes:{},children:[{text:""}]},e),category:Bt.UNSET,render:e=>"production"===e.mode?null:h.createElement($n,{tag:"span",params:l(o({},e),{node:l(o({},e.node),{attributes:{"element-type":Nt.PLACEHOLDER,"element-category":Bt.UNSET}})})})},Oi={get name(){return Dt("HtmlNode")},inlineElement:!0,defaultData:{attributes:{},data:{tagName:"span"}},type:Lt.HTML_NODE,create:e=>b({type:Lt.HTML_NODE,data:{tagName:"span"},attributes:{},children:[{text:""}]},e),category:Bt.INLINE_TEXT,render:e=>"production"===e.mode?h.createElement($n,{tag:e.node.data.tagName,params:e}):h.createElement($n,{tag:e.node.data.tagName||"span",params:l(o({},e),{node:l(o({},e.node),{attributes:{"element-type":Lt.HTML_NODE,"element-category":Bt.INLINE_TEXT,"element-data":encodeURIComponent(JSON.stringify(e.node.data)),"element-attributes":encodeURIComponent(JSON.stringify(e.node.attributes))}})})})},Li={get name(){return Dt("HTML dom node")},defaultData:{attributes:{},data:{tagName:"div"}},type:Lt.HTML_DOM_NODE,create:e=>b({type:Lt.HTML_DOM_NODE,data:{tagName:"div"},attributes:{},children:[{text:""}]},e),category:Bt.UNKNOWN_CONTENT,render(e){const{node:t,idx:r}=e;return"production"===e.mode?h.createElement(h.Fragment,null,t.children.map(((n,i)=>Qt.isTextNode(n)?Qt.isTextListElement(t)?h.createElement(h.Fragment,{key:i},"<li>",h.createElement(Vn,l(o({key:i},e),{node:n})),"</li>"):h.createElement(Vn,l(o({key:i},e),{node:n})):h.createElement(Hn,l(o({key:i},e),{idx:r?Qt.getChildIdx(r,i):null,node:n}))))):h.createElement($n,{tag:e.node.data.tagName||"div",params:l(o({},e),{node:l(o({},e.node),{attributes:{"element-type":Lt.HTML_DOM_NODE,"element-category":Bt.UNKNOWN_CONTENT,"element-data":encodeURIComponent(JSON.stringify(e.node.data)),"element-attributes":encodeURIComponent(JSON.stringify(e.node.attributes))}})})})}},Bi={attributes:{},data:{description:"",config:[],input:{}}},Ci={get name(){return Dt("Widget")},void:!0,defaultData:Bi,type:Nt.CONTENT_WIDGET,create:e=>b({type:Nt.CONTENT_WIDGET,title:"MY FIRST WIDGET",data:o({},Bi.data),attributes:{},children:[{text:""}]},e),get category(){return Bt.UNKNOWN_CONTENT},render(e){const{node:t}=e,r=d.cloneDeep(t.children[0]);return Qt.isElement(r)?h.createElement(Hn,l(o({},e),{node:r})):null}},Ii={attributes:{},data:{description:"",config:[],input:{}}},qi={get name(){return Dt("Widget")},void:!0,defaultData:Ii,type:Nt.SECTION_WIDGET,create:e=>b({type:Nt.SECTION_WIDGET,title:"MY FIRST WIDGET",data:o({},Ii.data),attributes:{},children:[{text:""}]},e),get category(){return Bt.SECTION},render(e){const{node:t}=e,r=d.cloneDeep(t.children[0]);return Qt.isElement(r)?h.createElement(Hn,l(o({},e),{node:r})):null}},Pi={attributes:{},data:{description:"",config:[],input:{}}},Mi={get name(){return Dt("Widget")},void:!0,defaultData:Pi,type:Nt.WRAPPER_WIDGET,create:e=>b({type:Nt.WRAPPER_WIDGET,title:"MY FIRST WIDGET",data:o({},Pi.data),attributes:{},children:[{text:""}]},e),get category(){return Bt.WRAPPER},render(e){const{node:t}=e;return h.createElement(Kn,{padding:"0px"},t.children.map((t=>Qt.isElement(t)?h.createElement(Hn,l(o({},e),{node:t})):null)))}},Ui={get name(){return Dt("Code")},void:!0,defaultData:{attributes:{align:"left",color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"1",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","letter-spacing":"0px"},data:{code:""}},type:Lt.DANGEROUS_CODE,create:e=>b({type:Lt.DANGEROUS_CODE,data:{code:""},attributes:{},children:[{text:""}]},e),category:Bt.DANGEROUS_CODE,render(e){const t=d.cloneDeep(e.node),r="production"===e.mode;r||(t.attributes["css-class"]=g(t.attributes["css-class"],qt));const n=e.node.data.code;return h.createElement($n,{params:l(o({},e),{node:t}),tag:"mj-text",children:h.createElement(Vn,{node:{text:r?n:Kt.encode(n)}})})}},Fi={attributes:{align:"left",border:"none",cellpadding:"0",cellspacing:"0",color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"22px",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","table-layout":"auto",width:"100%"},data:{code:""}},ji={get name(){return Dt("Table")},defaultData:Fi,type:Nt.TABLE,create:e=>b({type:Nt.TABLE,data:{code:""},attributes:o({},Fi.attributes),children:[]},e),category:Bt.TABLE,render(e){const t="production"===e.mode,r=e.node.data.code;return h.createElement($n,{params:e,tag:"mj-table",children:e.children||h.createElement(Vn,{node:{text:t?r:Kt.encode(r)}})})}},zi={get name(){return Dt("HtmlBlockNode")},defaultData:{attributes:{},data:{tagName:"div"}},type:Lt.HTML_BLOCK_NODE,create:e=>b({type:Lt.HTML_BLOCK_NODE,data:{tagName:"div"},attributes:{},children:[{text:""}]},e),category:Bt.BLOCK_NODE,render:e=>"production"===e.mode?h.createElement($n,{tag:e.node.data.tagName,params:e}):h.createElement($n,{tag:e.node.data.tagName||"div",params:l(o({},e),{node:l(o({},e.node),{attributes:{"element-type":Lt.HTML_BLOCK_NODE,"element-category":Bt.BLOCK_NODE,"element-data":encodeURIComponent(JSON.stringify(e.node.data)),"element-attributes":encodeURIComponent(JSON.stringify(e.node.attributes))}})})})},Hi={attributes:{"padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{content:[],editable:!1}},Vi={get name(){return Dt("Header")},void:!0,defaultData:Hi,type:Nt.PAGE_HEADER,create:e=>b({type:Nt.PAGE_HEADER,data:o({},Hi.data),attributes:{},children:[{text:""}]},e),get category(){return Bt.PAGE_HEADER},render(e){const t=l(o({},e.node),{type:Nt.WRAPPER,attributes:o({},e.node.attributes)});return h.createElement(Hn,l(o({},e),{node:t}),e.node.data.content.map((t=>h.createElement(Hn,l(o({key:t.id},e),{node:t})))))}},$i={attributes:{"padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{content:[],editable:!1}},Gi={get name(){return Dt("Footer")},void:!0,defaultData:$i,type:Nt.PAGE_FOOTER,create:e=>b({type:Nt.PAGE_FOOTER,data:o({},$i.data),attributes:{},children:[{text:""}]},e),get category(){return Bt.PAGE_FOOTER},render(e){const t=l(o({},e.node),{type:Nt.WRAPPER,attributes:o({},e.node.attributes)});return h.createElement(Hn,l(o({},e),{node:t}),e.node.data.content.map((t=>h.createElement(Hn,l(o({key:t.id},e),{node:t})))))}},Wi={[Nt.PAGE]:pi,[Nt.HERO]:Ni,[Nt.WRAPPER]:hi,[Nt.SECTION]:_i,[Nt.GROUP]:fi,[Nt.COLUMN]:gi,[Nt.TEXT]:mi,[Nt.TABLE]:ji,[Nt.IMAGE]:yi,[Nt.BUTTON]:bi,[Nt.SPACER]:xi,[Nt.DIVIDER]:Ti,[Nt.SOCIAL]:ki,[Nt.SOCIAL_ELEMENT]:Si,[Nt.NAVBAR]:Ai,[Nt.NAVBAR_LINK]:Di,[Nt.RAW]:vi,[Nt.MERGETAG]:wi,[Nt.LINE_BREAK]:Ei,[Nt.PLACEHOLDER]:Ri,[Nt.DANGEROUS_CODE]:Ui,[Nt.HTML_NODE]:Oi,[Nt.HTML_BLOCK_NODE]:zi,[Nt.HTML_DOM_NODE]:Li,[Nt.CONTENT_WIDGET]:Ci,[Nt.SECTION_WIDGET]:qi,[Nt.WRAPPER_WIDGET]:Mi,[Nt.PAGE_HEADER]:Vi,[Nt.PAGE_FOOTER]:Gi},Ki=b(fi.defaultData,{attributes:{},data:{}}),Xi={get name(){return Dt("Group")},defaultData:Ki,type:Rt.STANDARD_GROUP,create:e=>b({type:Rt.STANDARD_GROUP,data:{},attributes:{},children:[]},e),category:Bt.GROUP,render(e){const{node:t}=e;return h.createElement(Jn,l(o({idx:e.idx},t.attributes),{data:t.data,children:e.children||t.children}))}},Ji=b(_i.defaultData,{attributes:{"vertical-align":"top","background-repeat":"no-repeat","border-width":"1px","border-style":"solid","border-color":"#AAAAAA"},data:{}}),Yi={get name(){return Dt("Section")},defaultData:Ji,type:Rt.STANDARD_SECTION,create:e=>b({type:Rt.STANDARD_SECTION,data:{},attributes:{},children:[]},e),category:Bt.SECTION,render(e){const{node:t}=e,r=d.cloneDeep(t.attributes),{"border-enabled":n,"border-width":i,"border-style":a,"border-color":s,"vertical-align":c="top"}=r,p=u(r,["border-enabled","border-width","border-style","border-color","vertical-align"]);p["background-image-enabled"]||(delete p["background-image-enabled"],delete p["background-url"],delete p["background-position"],delete p["background-position-x"],delete p["background-position-y"],delete p["background-repeat"],delete p["background-size"]);const _=n?`${i||"1px"} ${a||"solid"} ${s||"#AAAAAA"}`:"";return h.createElement(Xn,l(o({padding:"0px",idx:e.idx},p),{border:_,data:t.data,children:e.children||t.children}))}},Qi=d.merge(gi.defaultData,{attributes:{},data:{}}),Zi={get name(){return Dt("Column")},defaultData:Qi,type:Rt.STANDARD_COLUMN,create:e=>b({type:Rt.STANDARD_COLUMN,data:{},attributes:{},children:[]},e),category:Bt.COLUMN,render(e){const{node:t}=e,r=d.cloneDeep(t.attributes),{"border-enabled":n,"border-width":i,"border-style":a,"border-color":s}=r,c=u(r,["border-enabled","border-width","border-style","border-color"]),p=n?`${i||"1px"} ${a||"solid"} ${s||"#AAAAAA"}`:"";return h.createElement(Yn,l(o({idx:e.idx},c),{border:p,data:t.data,children:e.children||t.children}))}},ea=b(bi.defaultData,{attributes:{"inner-padding-top":"10px","inner-padding-bottom":"10px","inner-padding-left":"25px","inner-padding-right":"25px","border-width":"1px","border-style":"solid","border-color":"#AAAAAA","text-decoration":"none","text-transform":"none","vertical-align":"middle"},data:{}}),ta={get name(){return Dt("Button")},defaultData:ea,type:Rt.STANDARD_BUTTON,create:e=>b({type:Rt.STANDARD_BUTTON,data:{content:"Button"},attributes:{},children:[{text:Dt("Click")}]},e),category:Bt.BUTTON,render(e){const{node:t}=e,r=t.attributes,{"inner-padding-top":n,"inner-padding-bottom":i,"inner-padding-left":a,"inner-padding-right":s,"border-enabled":c,"border-width":p,"border-style":d,"border-color":_,"icon-enabled":f,"icon-position":g,"icon-width":m,"icon-height":b,"icon-src":y,"icon-vertical-align":x}=r,v=u(r,["inner-padding-top","inner-padding-bottom","inner-padding-left","inner-padding-right","border-enabled","border-width","border-style","border-color","icon-enabled","icon-position","icon-width","icon-height","icon-src","icon-vertical-align"]),w=`${n||ea.attributes["inner-padding-top"]} ${s||ea.attributes["inner-padding-right"]} ${i||ea.attributes["inner-padding-bottom"]} ${a||ea.attributes["inner-padding-left"]}`,E=c?`${p||"1px"} ${d||"solid"} ${_||"#AAAAAA"}`:"";return"rtl"===v.direction&&(v["css-class"]||(v["css-class"]=""),v["css-class"]=v["css-class"]+" direction-rtl"),f&&y?h.createElement(Qn,l(o({idx:e.idx},v),{border:E,"inner-padding":w,data:t.data,children:h.createElement(h.Fragment,null,"left"===g&&h.createElement(h.Fragment,null,`<img\n src='${y}'\n width='${null==m?void 0:m.replace("px","")}'\n height='${null==b?void 0:b.replace("px","")}'\n style='width: ${m}; height: ${b}; display: inline-block; vertical-align: ${x};'\n /> `),t.children.map(((t,r)=>Qt.isTextNode(t)?h.createElement(Vn,l(o({key:r},e),{node:o({},t),extraStyle:x?{verticalAlign:x}:void 0})):h.createElement(Hn,l(o({key:r},e),{node:t})))),"right"===g&&h.createElement(h.Fragment,null,` <img\n src='${y}'\n width='${null==m?void 0:m.replace("px","")}'\n height='${null==b?void 0:b.replace("px","")}'\n style='width: ${m}; height: ${b}; display: inline-block; vertical-align: ${x};'\n />`))})):h.createElement(Qn,l(o({idx:e.idx},v),{border:E,"inner-padding":w,data:t.data,children:e.children||t.children}))}},ra=b(yi.defaultData,{attributes:{},data:{}}),na={get name(){return Dt("Image")},void:!0,defaultData:ra,type:Rt.STANDARD_IMAGE,create:e=>b({type:Rt.STANDARD_IMAGE,data:{},attributes:{},children:[]},e),category:Bt.IMAGE,render(e){const{node:t}=e,r=t.attributes,{"border-enabled":n,"border-width":i,"border-style":a,"border-color":s}=r,c=u(r,["border-enabled","border-width","border-style","border-color"]),p=n?`${i} ${a} ${s}`:"";return h.createElement(Zn,l(o({idx:e.idx},c),{data:t.data,border:p,children:e.children||t.children}))}},ia=b(xi.defaultData,{attributes:{},data:{}}),aa={get name(){return Dt("Spacer")},void:!0,defaultData:ia,type:Rt.STANDARD_SPACER,create:e=>b({type:Rt.STANDARD_SPACER,data:{},attributes:{},children:[]},e),category:Bt.SPACER,render(e){const{node:t}=e;return h.createElement(ti,l(o({idx:e.idx},t.attributes),{data:t.data,children:e.children||t.children}))}},sa=b(Ai.defaultData,{attributes:{"item-padding-top":"15px","item-padding-bottom":"15px","item-padding-left":"10px","item-padding-right":"10px",color:"#000000","font-family":"Arial","font-size":"13px","font-weight":"normal","line-height":"22px","padding-top":"0","padding-right":"0","padding-bottom":"0","padding-left":"0","letter-spacing":"0px",target:"_blank","text-decoration":"none","text-transform":"uppercase"},data:{}}),oa={get name(){return Dt("Navbar")},defaultData:sa,type:Rt.STANDARD_NAVBAR,create:e=>b({type:Rt.STANDARD_NAVBAR,data:{},attributes:{},children:[{data:{},type:"standard-navbar-link",children:[{text:"Shop"}],attributes:{href:""}},{data:{},type:"standard-navbar-link",children:[{text:"About"}],attributes:{href:""}},{data:{},type:"standard-navbar-link",children:[{text:"Contact"}],attributes:{href:""}},{data:{},type:"standard-navbar-link",children:[{text:"Blog"}],attributes:{href:""}}]},e),category:Bt.NAVBAR,render(e){const{node:t,idx:r}=e,n=u(t.attributes,[]);return"rtl"===n.direction&&(n["css-class"]||(n["css-class"]=""),n["css-class"]=n["css-class"]+" navbar-direction-rtl"),h.createElement(ii,l(o({idx:e.idx},d.omit(n,["color","font-family","font-size","font-style","font-weight","line-height","letter-spacing","text-decoration","text-transform","spacing","item-padding-top","item-padding-bottom","item-padding-left","item-padding-right"])),{data:t.data}),e.children||t.children)}},la=(e,t)=>({get name(){return e.name},defaultData:t,type:e.type,create:t=>b(d.omit(e,["name"]),t),category:Bt.TEXT,render(t){const{node:r}=t,n=b(r.attributes,e.attributes);return"rtl"===n.direction&&(n["css-class"]||(n["css-class"]=""),n["css-class"]=n["css-class"]+" direction-rtl"),h.createElement(ei,l(o({},n),{idx:t.idx}),t.children||r.children)}}),ua=d.cloneDeep(mi.defaultData),ca=la({get name(){return Dt("Text")},type:Rt.STANDARD_TEXT,data:{},attributes:{},children:[{text:Dt("This is a text block. Click here to edit it...")}]},b(ua,{attributes:{},data:{}})),pa=la({get name(){return Dt("Text")},type:Rt.STANDARD_PARAGRAPH,data:{},attributes:{},children:[{text:Dt("This is a text block. Click here to edit it...")}]},b(ua,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"16px","line-height":"1.3","font-weight":"normal",align:"center"},data:{}})),da=la({get name(){return Dt("Heading 1")},type:Rt.STANDARD_H1,data:{},attributes:{},children:[{text:Dt("This is a text block. Click here to edit it...")}]},b(ua,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"40px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),ha=la({get name(){return Dt("Heading 2")},type:Rt.STANDARD_H2,data:{},attributes:{},children:[{text:Dt("This is a text block. Click here to edit it...")}]},b(ua,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"32px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),_a=la({get name(){return Dt("Heading 3")},type:Rt.STANDARD_H3,data:{},attributes:{},children:[{text:Dt("This is a text block. Click here to edit it...")}]},b(ua,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"24px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),fa=la({get name(){return Dt("Heading 4")},type:Rt.STANDARD_H4,data:{},attributes:{},children:[{text:Dt("This is a text block. Click here to edit it...")}]},b(ua,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"18px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),ga={type:Rt.STANDARD_TEXT_LIST_ITEM,data:{},attributes:{},children:[]},ma={get name(){return Dt("Text list")},defaultData:ga,type:Rt.STANDARD_TEXT_LIST_ITEM,create:e=>b(ga,e),category:Bt.TEXT_LIST_ITEM,render:e=>h.createElement($n,{tag:"li",params:l(o({},e),{node:l(o({},e.node),{attributes:{}})})})},ba={type:Rt.STANDARD_TEXT_LIST,data:{},attributes:{"list-style":"number","padding-top":"3px","padding-bottom":"3px","padding-left":"2px","padding-right":"2px","font-size":"16px","line-height":"120%","font-weight":"normal"},children:[]},ya={get name(){return Dt("Text list")},defaultData:ba,type:Rt.STANDARD_TEXT_LIST,create:e=>b({type:Rt.STANDARD_TEXT_LIST,data:{},attributes:{"list-style":"number"},children:[]},e),category:Bt.TEXT_LIST,render(e){const{node:t}=e,r=t.attributes;return h.createElement(ei,o({idx:e.idx,data:t.data},r),h.createElement($n,{tag:"number"===t.attributes["list-style"]?"ol":"ul",params:l(o({},e),{node:l(o({},e.node),{attributes:{}})})}))}},xa=b(hi.defaultData,{attributes:{"vertical-align":"top","background-repeat":"no-repeat","border-width":"1px","border-style":"solid","border-color":"#AAAAAA"},data:{}}),va={get name(){return Dt("Container")},defaultData:xa,type:Rt.STANDARD_WRAPPER,create:e=>b({type:Rt.STANDARD_WRAPPER,data:{},attributes:{},children:[]},e),category:Bt.WRAPPER,render(e){const{node:t}=e,r=d.cloneDeep(t.attributes),{"border-enabled":n,"border-width":i,"border-style":a,"border-color":s,"vertical-align":c="top"}=r,p=u(r,["border-enabled","border-width","border-style","border-color","vertical-align"]);p["background-image-enabled"]||(delete p["background-image-enabled"],delete p["background-url"],delete p["background-position"],delete p["background-position-x"],delete p["background-position-y"],delete p["background-repeat"],delete p["background-size"]);const _=n?`${i||"1px"} ${a||"solid"} ${s||"#AAAAAA"}`:"";return h.createElement(Kn,l(o({padding:"0px",idx:e.idx},p),{border:_,data:t.data,children:e.children||t.children}))}},wa=b(Ti.defaultData,{attributes:{},data:{}}),Ea={get name(){return Dt("Divider")},defaultData:wa,void:!0,type:Rt.STANDARD_DIVIDER,create:e=>b({type:Rt.STANDARD_DIVIDER,data:{},attributes:{},children:[]},e),category:Bt.DIVIDER,render(e){const{node:t}=e;return h.createElement(ni,l(o({idx:e.idx},t.attributes),{data:t.data,children:e.children||t.children}))}},ka=b(ki.defaultData,{attributes:{spacing:"8px"},data:{}}),Aa={get name(){return Dt("Social")},defaultData:ka,type:Rt.STANDARD_SOCIAL,create:e=>b({type:Rt.STANDARD_SOCIAL,data:{},attributes:{spacing:"8px","icon-size":"30px"},children:[{data:{},type:"standard-social-element",children:[{text:""}],attributes:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/psyz-f1z-ryy95lv2rh7g_image.png",href:"","padding-left":"0px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"}},{data:{},type:"standard-social-element",children:[{text:""}],attributes:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/rxxjzpus7vy2cxi0vp6hr_image.png",href:"","padding-left":"8px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"}},{data:{},type:"standard-social-element",children:[{text:""}],attributes:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/obdwqmxv5cljc16-ebnja_image.png",href:"","padding-left":"8px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"}}]},e),category:Bt.SOCIAL,render(e){const{node:t,idx:r}=e,n=u(t.attributes,[]),i=e.node.attributes.spacing;return h.createElement(si,l(o({idx:e.idx},d.omit(n,["spacing"])),{data:t.data}),t.children.map(((t,r)=>{if(!Qt.isElement(t))return null;const n=l(o({},t.attributes),{"padding-left":"0px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"});return"horizontal"===e.node.attributes.mode&&0!==r&&(n["padding-left"]=i),"vertical"===e.node.attributes.mode&&0!==r&&(n["padding-top"]=i),h.createElement(Hn,l(o({},e),{idx:Qt.getChildIdx(Qt.getPageIdx(),r),key:r,node:l(o({},t),{attributes:n})}))})))}},Ta={type:"standard-hero",data:{},attributes:{"padding-top":"100px","padding-bottom":"50px","background-image-enabled":!0,"background-color":"#c5900c","background-position":"center center",mode:"fluid-height"},children:[{type:"standard-h1",data:{},attributes:{color:"#FFFFFF"},children:[{text:"We Serve Healthy & Delicious Foods"}]},{type:"standard-paragraph",data:{},attributes:{color:"#FFFFFF"},children:[{text:"A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth."}]},{type:"standard-button",data:{content:"Button"},attributes:{"padding-top":"30px","padding-bottom":"30px","background-color":"#8b2a36"},children:[{text:"Get Your Order Here!"}]}]},Da=b(Ni.defaultData,{attributes:{"background-image-enabled":!0},data:{}}),Sa={get name(){return Dt("Hero")},defaultData:Da,type:Rt.STANDARD_HERO,create:e=>b(Ta,e),category:Bt.HERO,render(e){const{node:t}=e,r=d.cloneDeep(t.attributes),n=u(r,[]);return n["background-image-enabled"]||(delete n["background-image-enabled"],delete n["background-url"],delete n["background-position"]),h.createElement(li,l(o({idx:e.idx},n),{data:t.data,children:e.children||t.children}))}},Na={facebook:{"share-url":"https://www.facebook.com/sharer/sharer.php?u=[[URL]]","background-color":"#3b5998",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/cxhzkclel5ojn_dzo1o7v_facebook.png"},twitter:{"share-url":"https://twitter.com/intent/tweet?url=[[URL]]","background-color":"#55acee",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/amgedgwcqlylvnrwyr5kq_twitter.png"},x:{"share-url":"https://twitter.com/intent/tweet?url=[[URL]]","background-color":"#000000",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/vjjjm0-8wv5-oumveqyna_twitter-x.png"},google:{"share-url":"https://plus.google.com/share?url=[[URL]]","background-color":"#dc4e41",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/rosf8w1cze_igfziroy-a_google-plus.png"},pinterest:{"share-url":"https://pinterest.com/pin/create/button/?url=[[URL]]&media=&description=","background-color":"#bd081c",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/5nbnpewsfwjzqtps05xmc_pinterest.png"},linkedin:{"share-url":"https://www.linkedin.com/shareArticle?mini=true&url=[[URL]]&title=&summary=&source=","background-color":"#0077b5",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/mgqz7skw2nldk67b-nrwm_linkedin.png"},instagram:{"background-color":"#3f729b",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/yyeuinjdwnclhwonzm04p_instagram.png"},web:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/n-r5usz1urkhrcromjxjc_web.png","background-color":"#4BADE9"},snapchat:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/ab3wb9y0cd6zdwvqjf-gi_snapchat.png","background-color":"#FFFA54"},youtube:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/j5wv-vgx4tse62wzjde4q_youtube.png","background-color":"#EB3323"},tumblr:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/osjreug28o8-zvwduvdm5_tumblr.png","share-url":"https://www.tumblr.com/widgets/share/tool?canonicalUrl=[[URL]]","background-color":"#344356"},github:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/sx2srmw6aeepxzr_l0i9w_github.png","background-color":"#000000"},xing:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/3syvpbhnvbs_uguqf8auu_xing.png","share-url":"https://www.xing.com/app/user?op=share&url=[[URL]]","background-color":"#296366"},vimeo:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/uihefqcygdxyocasyi23__vimeo.png","background-color":"#53B4E7"},medium:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/mxkhtn4agyjm92ph9igzb_medium.png","background-color":"#000000"},soundcloud:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/f8kv_yofbeejet2sdvur2_soundcloud.png","background-color":"#EF7F31"},dribbble:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/atueuzuwh4k9n2nxnahrh_dribbble.png","background-color":"#D95988"}},Ra=b(Si.defaultData,{attributes:{},data:{}}),Oa={get name(){return Dt("Social Item")},defaultData:Ra,type:Lt.STANDARD_SOCIAL_ELEMENT,create:e=>b({type:Lt.STANDARD_SOCIAL_ELEMENT,data:{content:""},attributes:{},children:[]},e),category:Bt.SOCIAL_ELEMENT,render(e){var t;const{node:r}=e,n=r.attributes,{mode:i,name:a,src:s}=n,c=u(n,["mode","name","src"]),p=a?Na[a]:void 0,d=o(o({},c),"prebuilt"===i?{name:void 0,"background-color":c["background-color"]||(null==p?void 0:p["background-color"]),src:null==p?void 0:p.src}:"custom"===i?{name:void 0,src:s}:{name:void 0,src:a?null==(t=Na[a])?void 0:t.src:s});return h.createElement(oi,l(o({idx:e.idx},d),{data:r.data,children:e.children||r.children}))}},La=b(Di.defaultData,{attributes:{},data:{}}),Ba={get name(){return Dt("Navbar Link")},defaultData:La,type:Lt.STANDARD_NAVBAR_LINK,create:e=>b({type:Lt.STANDARD_NAVBAR_LINK,data:{content:""},attributes:{},children:[]},e),category:Bt.NAVBAR_LINK,render(e){const{node:t}=e;return h.createElement(ai,l(o({idx:e.idx},t.attributes),{data:t.data}),e.children||t.children)}},Ca={type:Rt.STANDARD_BLOCK_QUOTE,data:{},attributes:{"padding-top":"3px","padding-bottom":"3px","padding-left":"2px","padding-right":"2px","font-size":"16px","line-height":"120%","font-weight":"normal","border-width":"2px","border-color":"#000000"},children:[]},Ia={get name(){return Dt("Blockquote")},defaultData:Ca,type:Rt.STANDARD_BLOCK_QUOTE,create:e=>b({type:Rt.STANDARD_BLOCK_QUOTE,data:{},attributes:{"border-width":"5px","border-color":"#000000"},children:[]},e),category:Bt.TEXT,render(e){const{node:t}=e,r=t.attributes;return h.createElement(ei,o({idx:e.idx,data:t.data},r),h.createElement($n,{tag:"blockquote",params:l(o({},e),{node:l(o({},e.node),{attributes:{style:`border-left: ${r["border-width"]} solid ${r["border-color"]};margin:0px;padding:0 1em;`}})})}))}},qa=b(ji.defaultData,{attributes:{},data:{code:""}}),Pa={get name(){return Dt("Table")},void:!0,defaultData:qa,type:Rt.STANDARD_TABLE,create:e=>b({type:Rt.STANDARD_TABLE,data:{code:""},attributes:{},children:[]},e),category:Bt.TABLE,render(e){const{node:t,children:r}=e;return h.createElement(ui,l(o({idx:e.idx},t.attributes),{data:t.data}),r||t.data.code)}},Ma={attributes:{align:"left","text-align":"center",border:"none",cellpadding:"0",cellspacing:"0",color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"22px",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","table-layout":"auto",width:"100%","border-color":"#000000","border-style":"solid","border-width":"1px","border-enabled":!0,"cell-padding-top":"10px","cell-padding-bottom":"10px","cell-padding-right":"10px","cell-padding-left":"10px"},data:{}},Ua={get name(){return Dt("Table")},void:!1,defaultData:Ma,type:Rt.STANDARD_TABLE2,create:e=>b({type:Rt.STANDARD_TABLE2,data:{},attributes:{},children:[]},e),category:Bt.TABLE,render(e){const{node:t}=e,r=t.attributes,{"border-enabled":n=!0,"border-width":i,"border-style":a,"border-color":s,"cell-padding-top":c,"cell-padding-bottom":p,"cell-padding-left":d,"cell-padding-right":_}=r,f=u(r,["border-enabled","border-width","border-style","border-color","cell-padding-top","cell-padding-bottom","cell-padding-left","cell-padding-right"]),g=`${c||Ma.attributes["cell-padding-top"]} ${_||Ma.attributes["cell-padding-right"]} ${p||Ma.attributes["cell-padding-bottom"]} ${d||Ma.attributes["cell-padding-left"]}`;return h.createElement(ui,l(o({},f),{cellpadding:g}),h.createElement(h.Fragment,null,h.createElement("tbody",null,t.children.map(((e,r)=>Qt.isTextNode(e)?h.createElement(h.Fragment,{key:r}):h.createElement(Hn,{key:r,node:l(o({},e),{attributes:o({"border-color":s,"border-style":a,"border-width":i,"border-enabled":n,"text-align":t.attributes["text-align"]},e.attributes)})}))))))}},Fa={get name(){return Dt("Table Tr")},void:!1,defaultData:{attributes:{},data:{}},type:Rt.STANDARD_TABLE2_TR,create:e=>b({type:Rt.STANDARD_TABLE2_TR,data:{},attributes:{},children:[]},e),category:Bt.TABLE2_TR,render(e){const{node:t}=e,r=[],n=t.attributes;return n["background-color"]&&r.push(`background-color: ${n["background-color"]}`),h.createElement($n,{params:l(o({},e),{node:l(o({},t),{attributes:{style:r.join(";")}})}),tag:"tr",children:t.children.map(((e,r)=>Qt.isTextNode(e)?h.createElement(h.Fragment,{key:r}):h.createElement(Hn,{key:r,node:l(o({},e),{attributes:o(o({},d.pick(t.attributes,["border-color","border-style","border-width","border-enabled","text-align"])),e.attributes)})})))})}},ja={get name(){return Dt("Table Td")},void:!1,defaultData:{attributes:{},data:{rowspan:1,colspan:1}},type:Rt.STANDARD_TABLE2_TD,create:e=>b({type:Rt.STANDARD_TABLE2_TD,data:{rowspan:1,colspan:1},attributes:{},children:[]},e),category:Bt.TABLE2_TD,render(e){var t,r;const{node:n}=e,i=[],a=n.attributes;return a["border-enabled"]&&i.push(`border: ${a["border-width"]} ${a["border-color"]} ${a["border-style"]}`),a["text-align"]&&i.push(`text-align: ${a["text-align"]}`),h.createElement($n,{params:l(o({},e),{node:l(o({},n),{attributes:{style:i.join(";"),rowspan:(null==(t=n.data.rowspan)?void 0:t.toString())||"1",colspan:(null==(r=n.data.colspan)?void 0:r.toString())||"1"}})}),tag:"td",children:n.children.map(((e,t)=>Qt.isTextNode(e)?h.createElement(Vn,{key:t,node:e}):h.createElement(Hn,{key:t,node:e})))})}},za={[Lt.STANDARD_HERO]:Sa,[Lt.STANDARD_DIVIDER]:Ea,[Lt.STANDARD_WRAPPER]:va,[Lt.STANDARD_SECTION]:Yi,[Lt.STANDARD_GROUP]:Xi,[Lt.STANDARD_SOCIAL]:Aa,[Lt.STANDARD_SOCIAL_ELEMENT]:Oa,[Lt.STANDARD_COLUMN]:Zi,[Lt.STANDARD_BUTTON]:ta,[Lt.STANDARD_SPACER]:aa,[Lt.STANDARD_IMAGE]:na,[Lt.STANDARD_TEXT]:ca,[Lt.STANDARD_NAVBAR]:oa,[Lt.STANDARD_NAVBAR_LINK]:Ba,[Lt.STANDARD_PARAGRAPH]:pa,[Lt.STANDARD_H1]:da,[Lt.STANDARD_H2]:ha,[Lt.STANDARD_H3]:_a,[Lt.STANDARD_H4]:fa,[Lt.STANDARD_TABLE]:Pa,[Lt.STANDARD_TEXT_LIST]:ya,[Lt.STANDARD_TEXT_LIST_ITEM]:ma,[Lt.STANDARD_BLOCK_QUOTE]:Ia,[Lt.STANDARD_TABLE2]:Ua,[Lt.STANDARD_TABLE2_TR]:Fa,[Lt.STANDARD_TABLE2_TD]:ja},Ha={attributes:{},data:{showTruthyInTesting:!0,expression:"",component:h.createElement(h.Fragment,null)}},Va={get name(){return Dt("Show")},type:Lt.FOR_EACH,category:Bt.UNSET,defaultData:Ha,create(e){const t={type:Lt.SHOW,data:o({},Ha.data),attributes:o({},Ha.attributes),children:[]};return d.merge(t,e)},render(e){const{node:t,mode:r}=e,n=t.data;if("testing"===r)return n.showTruthyInTesting?h.createElement(h.Fragment,null,n.component):h.createElement(h.Fragment,null,n.fallback);return In.generateConditionTemplate(n.expression,n.component,n.fallback)}},$a={attributes:{},data:{dataSource:"",itemName:"item",limit:999}},Ga={get name(){return Dt("ForEach")},type:Lt.FOR_EACH,category:Bt.UNSET,defaultData:$a,create(e){const t={type:Lt.FOR_EACH,data:o({},$a.data),attributes:o({},$a.attributes),children:[]};return d.merge(t,e)},render(e){const{node:t,children:r,idx:n}=e;return In.generateIterationTemplate(l(o({mockQuantity:1,limit:999},t.data),{enabled:!0}),r||t.children.map(((r,i)=>Qt.isTextNode(r)?Qt.isTextListElement(t)?h.createElement(h.Fragment,{key:i},"<li>",h.createElement(Vn,l(o({key:i},e),{node:r})),"</li>"):h.createElement(Vn,l(o({key:i},e),{node:r})):h.createElement(Hn,l(o({key:i},e),{idx:n?Qt.getChildIdx(n,i):null,node:r})))))}},Wa={[Lt.FOR_EACH]:Ga,[Lt.SHOW]:Va},Ka=o(o(o({},Wi),za),Wa),Xa=o({},Ka);const Ja=Object.freeze(new class{registerBlocks(e){e.forEach((e=>{Xa[e.type]=e}))}getBlockByType(e){return Xa[e]}getBlocks(){return Object.values(Xa)}getBlockTitle(e){var t;if(e.title)return e.title;return(null==(t=this.getBlockByType(e.type))?void 0:t.name)||""}});var Ya=(e=>(e.TRUTHY="truthy",e.FALSY="falsy",e.EMPTY="empty",e.NOT_EMPTY="not_empty",e.EQUAL="==",e.NOT_EQUAL="!=",e.GREATER=">",e.GREATER_OR_EQUAL=">=",e.LESS="<",e.LESS_OR_EQUAL="<=",e.CONTAINS="contains",e.NOT_CONTAINS="not_contains",e.STARTS_WITH="starts_with",e.ENDS_WITH="ends_with",e.IN="in",e.NOT_IN="not_in",e))(Ya||{}),Qa=(e=>(e.AND="and",e.OR="or",e))(Qa||{});var Za,es={exports:{}};const ts=v((Za||(Za=1,es.exports=function(){var e=1e3,t=6e4,r=36e5,n="millisecond",i="second",a="minute",s="hour",o="day",l="week",u="month",c="quarter",p="year",d="date",h="Invalid Date",_=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},m=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},b={s:m,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+m(n,2,"0")+":"+m(i,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,u),a=r-i<0,s=t.clone().add(n+(a?-1:1),u);return+(-(n+(r-i)/(a?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:p,w:l,d:o,D:d,h:s,m:a,s:i,ms:n,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",x={};x[y]=g;var v="$isDayjsObject",w=function(e){return e instanceof T||!(!e||!e[v])},E=function e(t,r,n){var i;if(!t)return y;if("string"==typeof t){var a=t.toLowerCase();x[a]&&(i=a),r&&(x[a]=r,i=a);var s=t.split("-");if(!i&&s.length>1)return e(s[0])}else{var o=t.name;x[o]=t,i=o}return!n&&i&&(y=i),i||!n&&y},k=function(e,t){if(w(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new T(r)},A=b;A.l=E,A.i=w,A.w=function(e,t){return k(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var T=function(){function g(e){this.$L=E(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[v]=!0}var m=g.prototype;return m.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(A.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(_);if(n){var i=n[2]-1||0,a=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)}}return new Date(t)}(e),this.init()},m.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},m.$utils=function(){return A},m.isValid=function(){return!(this.$d.toString()===h)},m.isSame=function(e,t){var r=k(e);return this.startOf(t)<=r&&r<=this.endOf(t)},m.isAfter=function(e,t){return k(e)<this.startOf(t)},m.isBefore=function(e,t){return this.endOf(t)<k(e)},m.$g=function(e,t,r){return A.u(e)?this[t]:this.set(r,e)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(e,t){var r=this,n=!!A.u(t)||t,c=A.p(e),h=function(e,t){var i=A.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return n?i:i.endOf(o)},_=function(e,t){return A.w(r.toDate()[e].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},f=this.$W,g=this.$M,m=this.$D,b="set"+(this.$u?"UTC":"");switch(c){case p:return n?h(1,0):h(31,11);case u:return n?h(1,g):h(0,g+1);case l:var y=this.$locale().weekStart||0,x=(f<y?f+7:f)-y;return h(n?m-x:m+(6-x),g);case o:case d:return _(b+"Hours",0);case s:return _(b+"Minutes",1);case a:return _(b+"Seconds",2);case i:return _(b+"Milliseconds",3);default:return this.clone()}},m.endOf=function(e){return this.startOf(e,!1)},m.$set=function(e,t){var r,l=A.p(e),c="set"+(this.$u?"UTC":""),h=(r={},r[o]=c+"Date",r[d]=c+"Date",r[u]=c+"Month",r[p]=c+"FullYear",r[s]=c+"Hours",r[a]=c+"Minutes",r[i]=c+"Seconds",r[n]=c+"Milliseconds",r)[l],_=l===o?this.$D+(t-this.$W):t;if(l===u||l===p){var f=this.clone().set(d,1);f.$d[h](_),f.init(),this.$d=f.set(d,Math.min(this.$D,f.daysInMonth())).$d}else h&&this.$d[h](_);return this.init(),this},m.set=function(e,t){return this.clone().$set(e,t)},m.get=function(e){return this[A.p(e)]()},m.add=function(n,c){var d,h=this;n=Number(n);var _=A.p(c),f=function(e){var t=k(h);return A.w(t.date(t.date()+Math.round(e*n)),h)};if(_===u)return this.set(u,this.$M+n);if(_===p)return this.set(p,this.$y+n);if(_===o)return f(1);if(_===l)return f(7);var g=(d={},d[a]=t,d[s]=r,d[i]=e,d)[_]||1,m=this.$d.getTime()+n*g;return A.w(m,this)},m.subtract=function(e,t){return this.add(-1*e,t)},m.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var n=e||"YYYY-MM-DDTHH:mm:ssZ",i=A.z(this),a=this.$H,s=this.$m,o=this.$M,l=r.weekdays,u=r.months,c=r.meridiem,p=function(e,r,i,a){return e&&(e[r]||e(t,n))||i[r].slice(0,a)},d=function(e){return A.s(a%12||12,e,"0")},_=c||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(f,(function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return A.s(t.$y,4,"0");case"M":return o+1;case"MM":return A.s(o+1,2,"0");case"MMM":return p(r.monthsShort,o,u,3);case"MMMM":return p(u,o);case"D":return t.$D;case"DD":return A.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return p(r.weekdaysMin,t.$W,l,2);case"ddd":return p(r.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(a);case"HH":return A.s(a,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return _(a,s,!0);case"A":return _(a,s,!1);case"m":return String(s);case"mm":return A.s(s,2,"0");case"s":return String(t.$s);case"ss":return A.s(t.$s,2,"0");case"SSS":return A.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(n,d,h){var _,f=this,g=A.p(d),m=k(n),b=(m.utcOffset()-this.utcOffset())*t,y=this-m,x=function(){return A.m(f,m)};switch(g){case p:_=x()/12;break;case u:_=x();break;case c:_=x()/3;break;case l:_=(y-b)/6048e5;break;case o:_=(y-b)/864e5;break;case s:_=y/r;break;case a:_=y/t;break;case i:_=y/e;break;default:_=y}return h?_:A.a(_)},m.daysInMonth=function(){return this.endOf(u).$D},m.$locale=function(){return x[this.$L]},m.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=E(e,t,!0);return n&&(r.$L=n),r},m.clone=function(){return A.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},g}(),D=T.prototype;return k.prototype=D,[["$ms",n],["$s",i],["$m",a],["$H",s],["$W",o],["$M",u],["$y",p],["$D",d]].forEach((function(e){D[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),k.extend=function(e,t){return e.$i||(e(t,T,k),e.$i=!0),k},k.locale=E,k.isDayjs=w,k.unix=function(e){return k(1e3*e)},k.en=x[y],k.Ls=x,k.p={},k}()),es.exports));class rs{constructor(e,t,r,n,i){this.kind=e,this.input=t,this.begin=r,this.end=n,this.file=i}getText(){return this.input.slice(this.begin,this.end)}getPosition(){let[e,t]=[1,1];for(let r=0;r<this.begin;r++)"\n"===this.input[r]?(e++,t=1):t++;return[e,t]}size(){return this.end-this.begin}}class ns{liquidMethodMissing(e){}}const is=Object.prototype.toString,as=String.prototype.toLowerCase,ss=Object.hasOwnProperty;function os(e){return"string"==typeof e}function ls(e){return"function"==typeof e}function us(e){return e&&ls(e.then)}function cs(e){return e&&ls(e.next)&&ls(e.throw)&&ls(e.return)}function ps(e){return os(e=ds(e))?e:fs(e)?"":gs(e)?e.map((e=>ps(e))).join(""):String(e)}function ds(e){return e instanceof ns&&ls(e.valueOf)?e.valueOf():e}function hs(e){return"number"==typeof e}function _s(e){return e&&ls(e.toLiquid)?_s(e.toLiquid()):e}function fs(e){return null==e}function gs(e){return"[object Array]"===is.call(e)}function ms(e,t){e=e||{};for(const r in e)if(ss.call(e,r)&&!1===t(e[r],r,e))break;return e}function bs(e){return e[e.length-1]}function ys(e){const t=typeof e;return null!==e&&("object"===t||"function"===t)}function xs(e,t,r=1){const n=[];for(let i=e;i<t;i+=r)n.push(i);return n}function vs(e,t,r=" "){return ws(e,t,r,((e,t)=>t+e))}function ws(e,t,r,n){let i=t-(e=String(e)).length;for(;i-- >0;)e=n(e,r);return e}function Es(e){return e}function ks(e,t){return null==e&&null==t?0:null==e?1:null==t||(e=as.call(e))<(t=as.call(t))?-1:e>t?1:0}function As(e){return(...t)=>e(...t.map(ds))}function Ts(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}const Ds="__liquidClass__";class Ss extends Error{constructor(e,t){super("string"==typeof e?e:e.message),this.context="","string"!=typeof e&&Object.defineProperty(this,"originalError",{value:e,enumerable:!1}),Object.defineProperty(this,"token",{value:t,enumerable:!1}),Object.defineProperty(this,Ds,{value:"LiquidError",enumerable:!1})}update(){Object.defineProperty(this,"context",{value:Is(this.token),enumerable:!1}),this.message=function(e,t){t.file&&(e+=`, file:${t.file}`);const[r,n]=t.getPosition();return e+=`, line:${r}, col:${n}`}(this.message,this.token),this.stack=this.message+"\n"+this.context+"\n"+this.stack,this.originalError&&(this.stack+="\nFrom "+this.originalError.stack)}static is(e){return"LiquidError"===(null==e?void 0:e[Ds])}}class Ns extends Ss{constructor(e,t){super(e,t),this.name="TokenizationError",super.update()}}class Rs extends Ss{constructor(e,t){super(e,t),this.name="ParseError",this.message=e.message,super.update()}}class Os extends Ss{constructor(e,t){super(e,t.token),this.name="RenderError",this.message=e.message,super.update()}static is(e){return"RenderError"===e.name}}class Ls extends Ss{constructor(e,t){super(e,t),this.name="UndefinedVariableError",this.message=e.message,super.update()}}class Bs extends Error{constructor(e){super(`undefined variable: ${e}`),this.name="InternalUndefinedVariableError",this.variableName=e}}class Cs extends Error{constructor(e){super(e),this.name="AssertionError",this.message=e+""}}function Is(e){const[t,r]=e.getPosition(),n=e.input.split("\n"),i=Math.max(t-2,1),a=Math.min(t+3,n.length);return xs(i,a+1).map((e=>{let i=`${e===t?">> ":" "}${vs(String(e),String(a).length)}| `;const s=e===t?"\n"+vs("^",r+i.length):"";return i+=n[e-1],i+=s,i})).join("\n")}const qs=[0,0,0,0,0,0,0,0,0,20,4,4,4,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,2,8,0,0,0,0,8,0,0,0,64,0,65,0,0,33,33,33,33,33,33,33,33,33,33,0,0,2,2,2,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Ps=1,Ms=4,Us=16;function Fs(e){const t=e.charCodeAt(0);return t>=128?!qs[t]:!!(qs[t]&Ps)}function js(e,t){if(!e){const r="function"==typeof t?t():t||`expect ${e} to be true`;throw new Cs(r)}}qs[160]=qs[5760]=qs[6158]=qs[8192]=qs[8193]=qs[8194]=qs[8195]=qs[8196]=qs[8197]=qs[8198]=qs[8199]=qs[8200]=qs[8201]=qs[8202]=qs[8232]=qs[8233]=qs[8239]=qs[8287]=qs[12288]=Ms,qs[8220]=qs[8221]=128;class zs extends ns{equals(e){return!(e instanceof zs)&&(os(e=ds(e))||gs(e)?0===e.length:!!ys(e)&&0===Object.keys(e).length)}gt(){return!1}geq(){return!1}lt(){return!1}leq(){return!1}valueOf(){return""}}class Hs extends ns{constructor(e,t,r){super(),this.i=0,this.length=e,this.name=`${r}-${t}`}next(){this.i++}index0(){return this.i}index(){return this.i+1}first(){return 0===this.i}last(){return this.i===this.length-1}rindex(){return this.length-this.i}rindex0(){return this.length-this.i-1}valueOf(){return JSON.stringify(this)}}class Vs extends ns{constructor(e=(()=>"")){super(),this.superBlockRender=e}super(){return this.superBlockRender()}}function $s(e){return e&&ls(e.equals)}const Gs=new class extends ns{equals(e){return fs(ds(e))}gt(){return!1}geq(){return!1}lt(){return!1}leq(){return!1}valueOf(){return null}},Ws={true:!0,false:!1,nil:Gs,null:Gs,empty:new zs,blank:new class extends zs{equals(e){return!1===e||(!!fs(ds(e))||(os(e)?/^\s*$/.test(e):super.equals(e)))}}};function Ks(e){const t={};for(const[r,n]of Object.entries(e)){let e=t;for(let t=0;t<r.length;t++){const n=r[t];e[n]=e[n]||{},t===r.length-1&&Fs(r[t])&&(e[n].needBoundary=!0),e=e[n]}e.data=n,e.end=!0}return t}var Xs=function(){return Xs=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Xs.apply(this,arguments)};function Js(e,t,r,n){return new(r||(r=Promise))((function(t,i){function a(e){try{o(n.next(e))}catch(t){i(t)}}function s(e){try{o(n.throw(e))}catch(t){i(t)}}function o(e){var n;e.done?t(e.value):(n=e.value,n instanceof r?n:new r((function(e){e(n)}))).then(a,s)}o((n=n.apply(e,[])).next())}))}function Ys(e){return Js(this,0,void 0,(function*(){if(!cs(e))return e;let t,r=!1,n="next";do{const a=e[n](t);r=a.done,t=a.value,n="next";try{cs(t)&&(t=Ys(t)),us(t)&&(t=yield t)}catch(i){n="throw",t=i}}while(!r);return t}))}function Qs(e){if(!cs(e))return e;let t,r=!1,n="next";do{const a=e[n](t);if(r=a.done,t=a.value,n="next",cs(t))try{t=Qs(t)}catch(i){n="throw",t=i}}while(!r);return t}function Zs(e){return gs(e=ds(e))?e:os(e)&&e.length>0?[e]:ys(t=e)&&Symbol.iterator in t?Array.from(e):ys(e)?Object.keys(e).map((t=>[t,e[t]])):[];var t}function eo(e){return fs(e)?[]:gs(e)?e:[e]}const to=/%([-_0^#:]+)?(\d+)?([EO])?(.)/,ro=["January","February","March","April","May","June","July","August","September","October","November","December"],no=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],io=ro.map(so),ao=no.map(so);function so(e){return e.slice(0,3)}function oo(e){const t=function(e){const t=e.getFullYear();return!(3&t||!(t%100||t%400==0&&t))}(e)?29:28;return[31,t,31,30,31,30,31,31,30,31,30,31]}function lo(e){let t=0;for(let r=0;r<e.getMonth();++r)t+=oo(e)[r];return t+e.getDate()}function uo(e,t){const r=lo(e)+(t-e.getDay()),n=7-new Date(e.getFullYear(),0,1).getDay()+t;return String(Math.floor((r-n)/7)+1)}const co={d:2,e:2,H:2,I:2,j:3,k:2,l:2,L:3,m:2,M:2,S:2,U:2,W:2},po={a:" ",A:" ",b:" ",B:" ",c:" ",e:" ",k:" ",l:" ",p:" ",P:" "},ho={a:e=>ao[e.getDay()],A:e=>no[e.getDay()],b:e=>io[e.getMonth()],B:e=>ro[e.getMonth()],c:e=>e.toLocaleString(),C:e=>function(e){return parseInt(e.getFullYear().toString().substring(0,2),10)}(e),d:e=>e.getDate(),e:e=>e.getDate(),H:e=>e.getHours(),I:e=>String(e.getHours()%12||12),j:e=>lo(e),k:e=>e.getHours(),l:e=>String(e.getHours()%12||12),L:e=>e.getMilliseconds(),m:e=>e.getMonth()+1,M:e=>e.getMinutes(),N:(e,t)=>{const r=Number(t.width)||9;return function(e,t,r=" "){return ws(e,t,r,((e,t)=>e+t))}(String(e.getMilliseconds()).slice(0,r),r,"0")},p:e=>e.getHours()<12?"AM":"PM",P:e=>e.getHours()<12?"am":"pm",q:e=>function(e){const t=e.getDate();let r="th";switch(t){case 11:case 12:case 13:break;default:switch(t%10){case 1:r="st";break;case 2:r="nd";break;case 3:r="rd"}}return r}(e),s:e=>Math.round(e.getTime()/1e3),S:e=>e.getSeconds(),u:e=>e.getDay()||7,U:e=>uo(e,0),w:e=>e.getDay(),W:e=>uo(e,1),x:e=>e.toLocaleDateString(),X:e=>e.toLocaleTimeString(),y:e=>e.getFullYear().toString().slice(2,4),Y:e=>e.getFullYear(),z:(e,t)=>{const r=Math.abs(e.getTimezoneOffset()),n=Math.floor(r/60),i=r%60;return(e.getTimezoneOffset()>0?"-":"+")+vs(n,2,"0")+(t.flags[":"]?":":"")+vs(i,2,"0")},t:()=>"\t",n:()=>"\n","%":()=>"%"};function _o(e,t){const[r,n="",i,a,s]=t,o=ho[s];if(!o)return r;const l={};for(const h of n)l[h]=!0;let u=String(o(e,{flags:l,width:i,modifier:a})),c=po[s]||"0",p=i||co[s]||0;var d;return l["^"]?u=u.toUpperCase():l["#"]&&(d=u,u=[...d].some((e=>e>="a"&&e<="z"))?d.toUpperCase():d.toLowerCase()),l._?c=" ":l[0]&&(c="0"),l["-"]&&(p=0),vs(u,p,c)}ho.h=ho.b;const fo=/([zZ]|([+-])(\d{2}):(\d{2}))$/;class go{constructor(e,t){this.date=e instanceof go?e.date:new Date(e),this.timezoneOffset=t;const r=6e4*(this.date.getTimezoneOffset()-this.timezoneOffset),n=this.date.getTime()+r;this.displayDate=new Date(n)}getTime(){return this.displayDate.getTime()}getMilliseconds(){return this.displayDate.getMilliseconds()}getSeconds(){return this.displayDate.getSeconds()}getMinutes(){return this.displayDate.getMinutes()}getHours(){return this.displayDate.getHours()}getDay(){return this.displayDate.getDay()}getDate(){return this.displayDate.getDate()}getMonth(){return this.displayDate.getMonth()}getFullYear(){return this.displayDate.getFullYear()}toLocaleString(e,t){return(null==t?void 0:t.timeZone)?this.date.toLocaleString(e,t):this.displayDate.toLocaleString(e,t)}toLocaleTimeString(e){return this.displayDate.toLocaleTimeString(e)}toLocaleDateString(e){return this.displayDate.toLocaleDateString(e)}getTimezoneOffset(){return this.timezoneOffset}static createDateFixedToTimezone(e){const t=e.match(fo);if(t&&"Z"===t[1])return new go(+new Date(e),0);if(t&&t[2]&&t[3]&&t[4]){const[,,r,n,i]=t,a=("+"===r?-1:1)*(60*parseInt(n,10)+parseInt(i,10));return new go(+new Date(e),a)}return new Date(e)}}class mo extends rs{constructor(e,[t,r],n,i,a,s,o,l){super(e,n,i,a,l),this.trimLeft=!1,this.trimRight=!1;const u="-"===n[t],c="-"===n[r-1];let p=u?t+1:t,d=c?r-1:r;for(;p<d&&qs[n.charCodeAt(p)]&Ms;)p++;for(;d>p&&qs[n.charCodeAt(d-1)]&Ms;)d--;this.contentRange=[p,d],this.trimLeft=u||s,this.trimRight=c||o}get content(){return this.input.slice(this.contentRange[0],this.contentRange[1])}}class bo extends mo{constructor(e,t,r,n,i){const{trimTagLeft:a,trimTagRight:s,tagDelimiterLeft:o,tagDelimiterRight:l}=n,[u,c]=[t+o.length,r-l.length];super(wl.Tag,[u,c],e,t,r,a,s,i),this.tokenizer=new pl(e,n.operators,i,this.contentRange),this.name=this.tokenizer.readTagName(),this.tokenizer.assert(this.name,"illegal tag syntax, tag name expected"),this.tokenizer.skipBlank()}get args(){return this.tokenizer.input.slice(this.tokenizer.p,this.contentRange[1])}}class yo extends mo{constructor(e,t,r,n,i){const{trimOutputLeft:a,trimOutputRight:s,outputDelimiterLeft:o,outputDelimiterRight:l}=n,u=[t+o.length,r-l.length];super(wl.Output,u,e,t,r,a,s,i)}}class xo extends rs{constructor(e,t,r,n){super(wl.HTML,e,t,r,n),this.input=e,this.begin=t,this.end=r,this.file=n,this.trimLeft=0,this.trimRight=0}getContent(){return this.input.slice(this.begin+this.trimLeft,this.end-this.trimRight)}}class vo extends rs{constructor(e,t,r,n){super(wl.Number,e,t,r,n),this.input=e,this.begin=t,this.end=r,this.file=n,this.content=Number(this.getText())}}class wo extends rs{constructor(e,t,r,n){super(wl.Word,e,t,r,n),this.input=e,this.begin=t,this.end=r,this.file=n,this.content=this.getText()}isNumber(e=!1){for(let t=e&&64&qs[this.input.charCodeAt(this.begin)]?this.begin+1:this.begin;t<this.end;t++)if(!(32&qs[this.input.charCodeAt(t)]))return!1;return!0}}class Eo extends rs{constructor(e,t,r,n){super(wl.Literal,e,t,r,n),this.input=e,this.begin=t,this.end=r,this.file=n,this.literal=this.getText(),this.content=Ws[this.literal]}}const ko={"==":2,"!=":2,">":2,"<":2,">=":2,"<=":2,contains:2,not:1,and:0,or:0},Ao={"==":0,"!=":0,">":0,"<":0,">=":0,"<=":0,contains:0,not:1,and:0,or:0};class To extends rs{constructor(e,t,r,n){super(wl.Operator,e,t,r,n),this.input=e,this.begin=t,this.end=r,this.file=n,this.operator=this.getText()}getPrecedence(){const e=this.getText();return e in ko?ko[e]:1}}class Do extends rs{constructor(e,t,r,n,i,a){super(wl.PropertyAccess,r,n,i,a),this.variable=e,this.props=t}}class So extends rs{constructor(e,t,r,n,i,a){super(wl.Filter,r,n,i,a),this.name=e,this.args=t}}class No extends rs{constructor(e,t,r,n,i,a){super(wl.Hash,e,t,r,a),this.input=e,this.begin=t,this.end=r,this.name=n,this.value=i,this.file=a}}const Ro=/[\da-fA-F]/,Oo=/[0-7]/,Lo={b:"\b",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v"};function Bo(e){const t=e.charCodeAt(0);return t>=97?t-87:t>=65?t-55:t-48}class Co extends rs{constructor(e,t,r,n){super(wl.Quoted,e,t,r,n),this.input=e,this.begin=t,this.end=r,this.file=n,this.content=function(e){let t="";for(let r=1;r<e.length-1;r++)if("\\"===e[r])if(void 0!==Lo[e[r+1]])t+=Lo[e[++r]];else if("u"===e[r+1]){let n=0,i=r+2;for(;i<=r+5&&Ro.test(e[i]);)n=16*n+Bo(e[i++]);r=i-1,t+=String.fromCharCode(n)}else if(Oo.test(e[r+1])){let n=r+1,i=0;for(;n<=r+3&&Oo.test(e[n]);)i=8*i+Bo(e[n++]);r=n-1,t+=String.fromCharCode(i)}else t+=e[++r];else t+=e[r];return t}(this.getText())}}class Io extends rs{constructor(e,t,r,n,i,a){super(wl.Range,e,t,r,a),this.input=e,this.begin=t,this.end=r,this.lhs=n,this.rhs=i,this.file=a}}class qo extends mo{constructor(e,t,r,n,i){super(wl.Tag,[t,r],e,t,r,!1,!1,i),this.tokenizer=new pl(e,n.operators,i,this.contentRange),this.name=this.tokenizer.readTagName(),this.tokenizer.assert(this.name,"illegal liquid tag syntax"),this.tokenizer.skipBlank(),this.args=this.tokenizer.remaining()}}class Po extends rs{constructor(e,t,r,n,i,a){super(wl.FilteredValue,r,n,i,a),this.initial=e,this.filters=t,this.input=r,this.begin=n,this.end=i,this.file=a}}class Mo{constructor(){this.buffer=""}write(e){this.buffer+=ps(e)}}class Uo{constructor(){throw this.buffer="",this.stream=null,new Error("streaming not supported in browser")}}class Fo{constructor(){this.buffer=""}write(e){"string"!=typeof(e=ds(e))&&""===this.buffer?this.buffer=e:this.buffer=ps(this.buffer)+ps(e)}}class jo{renderTemplatesToNodeStream(e,t){const r=new Uo;return Promise.resolve().then((()=>Ys(this.renderTemplates(e,t,r)))).then((()=>r.end()),(e=>r.error(e))),r.stream}*renderTemplates(e,t,r){r||(r=t.opts.keepOutputType?new Fo:new Mo);for(const i of e)try{const e=yield i.render(t,r);if(e&&r.write(e),r.break||r.continue)break}catch(n){throw Os.is(n)?n:new Os(n,i)}return r.buffer}}class zo{constructor(e){this.postfix=[...$o(e)]}*evaluate(e,t){js(e,"unable to evaluate: context not defined");const r=[];for(const n of this.postfix)if(Sl(n)){const t=r.pop();let i;if(1===Ao[n.operator])i=yield e.opts.operators[n.operator](t,e);else{const a=r.pop();i=yield e.opts.operators[n.operator](a,t,e)}r.push(i)}else r.push(yield Ho(n,e,t&&1===this.postfix.length));return r[0]}valid(){return!!this.postfix.length}}function*Ho(e,t,r=!1){if(e)return"content"in e?e.content:Ol(e)===wl.PropertyAccess?yield function*(e,t,r){const n=[],i=yield Ho(e.variable,t,r);for(const s of e.props)n.push(yield Ho(s,t,!1));try{return e.variable?yield t._getFromScope(i,n):yield t._get(n)}catch(a){if(r&&"InternalUndefinedVariableError"===a.name)return null;throw new Ls(a,e)}}(e,t,r):function(e){return Ol(e)===wl.Range}(e)?yield function*(e,t){const r=yield Ho(e.lhs,t),n=yield Ho(e.rhs,t);return xs(+r,+n+1)}(e,t):void 0}function Vo(e){return e.content}function*$o(e){const t=[];for(const r of e)if(Sl(r)){for(;t.length&&t[t.length-1].getPrecedence()>r.getPrecedence();)yield t.pop();t.push(r)}else yield r;for(;t.length;)yield t.pop()}function Go(e,t){return!Wo(e,t)}function Wo(e,t){return t.opts.jsTruthy?!e:!1===e||null==e}const Ko={"==":Xo,"!=":(e,t)=>!Xo(e,t),">":(e,t)=>$s(e)?e.gt(t):$s(t)?t.lt(e):ds(e)>ds(t),"<":(e,t)=>$s(e)?e.lt(t):$s(t)?t.gt(e):ds(e)<ds(t),">=":(e,t)=>$s(e)?e.geq(t):$s(t)?t.leq(e):ds(e)>=ds(t),"<=":(e,t)=>$s(e)?e.leq(t):$s(t)?t.geq(e):ds(e)<=ds(t),contains:(e,t)=>gs(e=ds(e))?e.some((e=>Xo(e,t))):!!os(e)&&e.indexOf(ds(t))>-1,not:(e,t)=>Wo(ds(e),t),and:(e,t,r)=>Go(ds(e),r)&&Go(ds(t),r),or:(e,t,r)=>Go(ds(e),r)||Go(ds(t),r)};function Xo(e,t){return $s(e)?e.equals(t):$s(t)?t.equals(e):(e=ds(e),t=ds(t),gs(e)?gs(t)&&function(e,t){return e.length===t.length&&!e.some(((e,r)=>!Xo(e,t[r])))}(e,t):e===t)}let Jo=class{constructor(e,t,r,n){this.key=e,this.value=t,this.next=r,this.prev=n}};class Yo{constructor(e,t=0){this.limit=e,this.size=t,this.cache={},this.head=new Jo("HEAD",null,null,null),this.tail=new Jo("TAIL",null,null,null),this.head.next=this.tail,this.tail.prev=this.head}write(e,t){if(this.cache[e])this.cache[e].value=t;else{const r=new Jo(e,t,this.head.next,this.head);this.head.next.prev=r,this.head.next=r,this.cache[e]=r,this.size++,this.ensureLimit()}}read(e){if(!this.cache[e])return;const{value:t}=this.cache[e];return this.remove(e),this.write(e,t),t}remove(e){const t=this.cache[e];t.prev.next=t.next,t.next.prev=t.prev,delete this.cache[e],this.size--}clear(){this.head.next=this.tail,this.tail.prev=this.head,this.size=0,this.cache={}}ensureLimit(){this.size>this.limit&&this.remove(this.tail.prev.key)}}function Qo(e,t){const r=document.createElement("base");r.href=e;const n=document.getElementsByTagName("head")[0];n.insertBefore(r,n.firstChild);const i=document.createElement("a");i.href=t;const a=i.href;return n.removeChild(r),a}var Zo=Object.freeze({__proto__:null,resolve:function(e,t,r){return e.length&&"/"!==bs(e)&&(e+="/"),Qo(e,t).replace(/^(\w+:\/\/[^/]+)(\/[^?]+)/,((e,t,n)=>{const i=n.split("/").pop();return/\.\w+$/.test(i)?e:t+n+r}))},readFile:function(e){return Js(this,0,void 0,(function*(){return new Promise(((t,r)=>{const n=new XMLHttpRequest;n.onload=()=>{n.status>=200&&n.status<300?t(n.responseText):r(new Error(n.statusText))},n.onerror=()=>{r(new Error("An error occurred whilst receiving the response."))},n.open("GET",e),n.send()}))}))},readFileSync:function(e){const t=new XMLHttpRequest;if(t.open("GET",e,!1),t.send(),t.status<200||t.status>=300)throw new Error(t.statusText);return t.responseText},exists:function(e){return Js(this,0,void 0,(function*(){return!0}))},existsSync:function(e){return!0},dirname:function(e){return Qo(e,".")},sep:"/"});function el(e,t=0){return JSON.stringify(e,null,t)}const tl={raw:!0,handler:Es},rl={"&":"&","<":"<",">":">",'"':""","'":"'"},nl={"&":"&","<":"<",">":">",""":'"',"'":"'"};function il(e){return ps(e).replace(/&|<|>|"|'/g,(e=>rl[e]))}var al=Object.freeze({__proto__:null,escape:il,escape_once:function(e){return il(function(e){return ps(e).replace(/&(amp|lt|gt|#34|#39);/g,(e=>nl[e]))}(ps(e)))},newline_to_br:function(e){return ps(e).replace(/\r?\n/gm,"<br />\n")},strip_html:function(e){return ps(e).replace(/<script[\s\S]*?<\/script>|<style[\s\S]*?<\/style>|<.*?>|<!--[\s\S]*?-->/g,"")}});const sl={root:["."],layouts:["."],partials:["."],relativeReference:!0,jekyllInclude:!1,cache:void 0,extname:"",fs:Zo,dynamicPartials:!0,jsTruthy:!1,dateFormat:"%A, %B %-e, %Y at %-l:%M %P %z",trimTagRight:!1,trimTagLeft:!1,trimOutputRight:!1,trimOutputLeft:!1,greedy:!0,tagDelimiterLeft:"{%",tagDelimiterRight:"%}",outputDelimiterLeft:"{{",outputDelimiterRight:"}}",preserveTimezones:!1,strictFilters:!1,strictVariables:!1,ownPropertyOnly:!0,lenientIf:!1,globals:{},keepOutputType:!1,operators:Ko};function ol(e){if(e.hasOwnProperty("root")&&(e.hasOwnProperty("partials")||(e.partials=e.root),e.hasOwnProperty("layouts")||(e.layouts=e.root)),e.hasOwnProperty("cache")){let t;t="number"==typeof e.cache?e.cache>0?new Yo(e.cache):void 0:"object"==typeof e.cache?e.cache:e.cache?new Yo(1024):void 0,e.cache=t}var t;return(e=Object.assign(Object.assign(Object.assign({},sl),e.jekyllInclude?{dynamicPartials:!1}:{}),e)).fs.dirname&&e.fs.sep||!e.relativeReference||(console.warn("[LiquidJS] `fs.dirname` and `fs.sep` are required for relativeReference, set relativeReference to `false` to suppress this warning"),e.relativeReference=!1),e.root=ll(e.root),e.partials=ll(e.partials),e.layouts=ll(e.layouts),e.outputEscape=e.outputEscape&&("escape"===(t=e.outputEscape)?il:"json"===t?el:(js(ls(t),"`outputEscape` need to be of type string or function"),t)),e}function ll(e){let t=[];return gs(e)&&(t=e),os(e)&&(t=[e]),t}function ul(e,t){if(!e||!Nl(e))return;const r=t?Ms:Us;for(;qs[e.input.charCodeAt(e.end-1-e.trimRight)]&r;)e.trimRight++}function cl(e,t){if(!e||!Nl(e))return;const r=t?Ms:Us;for(;qs[e.input.charCodeAt(e.begin+e.trimLeft)]&r;)e.trimLeft++;"\n"===e.input.charAt(e.begin+e.trimLeft)&&e.trimLeft++}class pl{constructor(e,t=sl.operators,r,n){this.input=e,this.file=r,this.range=n,this.rawBeginAt=-1,this.p=n?n[0]:0,this.N=n?n[1]:e.length,this.opTrie=Ks(t),this.literalTrie=Ks(Ws)}readExpression(){return new zo(this.readExpressionTokens())}*readExpressionTokens(){for(;this.p<this.N;){const e=this.readOperator();if(e){yield e;continue}const t=this.readValue();if(!t)return;yield t}}readOperator(){this.skipBlank();const e=this.matchTrie(this.opTrie);if(-1!==e)return new To(this.input,this.p,this.p=e,this.file)}matchTrie(e){let t,r=e,n=this.p;for(;r[this.input[n]]&&n<this.N;)r=r[this.input[n++]],r.end&&(t=r);return t?t.needBoundary&&Fs(this.peek(n-this.p))?-1:n:-1}readFilteredValue(){const e=this.p,t=this.readExpression();this.assert(t.valid(),`invalid value expression: ${this.snapshot()}`);const r=this.readFilters();return new Po(t,r,this.input,e,this.p,this.file)}readFilters(){const e=[];for(;;){const t=this.readFilter();if(!t)return e;e.push(t)}}readFilter(){if(this.skipBlank(),this.end())return null;this.assert("|"===this.peek(),'expected "|" before filter'),this.p++;const e=this.p,t=this.readIdentifier();if(!t.size())return this.assert(this.end(),"expected filter name"),null;const r=[];if(this.skipBlank(),":"===this.peek())do{++this.p;const e=this.readFilterArg();e&&r.push(e),this.skipBlank(),this.assert(this.end()||","===this.peek()||"|"===this.peek(),(()=>`unexpected character ${this.snapshot()}`))}while(","===this.peek());else if("|"!==this.peek()&&!this.end())throw this.error('expected ":" after filter name');return new So(t.getText(),r,this.input,e,this.p,this.file)}readFilterArg(){const e=this.readValue();if(!e)return;if(this.skipBlank(),":"!==this.peek())return e;++this.p;const t=this.readValue();return[e.getText(),t]}readTopLevelTokens(e=sl){const t=[];for(;this.p<this.N;){const r=this.readTopLevelToken(e);t.push(r)}return function(e,t){let r=!1;for(let n=0;n<e.length;n++){const i=e[n];Ol(i)&wl.Delimited&&(!r&&i.trimLeft&&ul(e[n-1],t.greedy),Rl(i)&&("raw"===i.name?r=!0:"endraw"===i.name&&(r=!1)),!r&&i.trimRight&&cl(e[n+1],t.greedy))}}(t,e),t}readTopLevelToken(e){const{tagDelimiterLeft:t,outputDelimiterLeft:r}=e;return this.rawBeginAt>-1?this.readEndrawOrRawContent(e):this.match(t)?this.readTagToken(e):this.match(r)?this.readOutputToken(e):this.readHTMLToken([t,r])}readHTMLToken(e){const t=this.p;for(;this.p<this.N&&!e.some((e=>this.match(e)));)++this.p;return new xo(this.input,t,this.p,this.file)}readTagToken(e=sl){const{file:t,input:r}=this,n=this.p;if(-1===this.readToDelimiter(e.tagDelimiterRight))throw this.error(`tag ${this.snapshot(n)} not closed`,n);const i=new bo(r,n,this.p,e,t);return"raw"===i.name&&(this.rawBeginAt=n),i}readToDelimiter(e,t=!1){for(this.skipBlank();this.p<this.N;)if(t&&8&this.peekType())this.readQuoted();else if(++this.p,this.rmatch(e))return this.p;return-1}readOutputToken(e=sl){const{file:t,input:r}=this,{outputDelimiterRight:n}=e,i=this.p;if(-1===this.readToDelimiter(n,!0))throw this.error(`output ${this.snapshot(i)} not closed`,i);return new yo(r,i,this.p,e,t)}readEndrawOrRawContent(e){const{tagDelimiterLeft:t,tagDelimiterRight:r}=e,n=this.p;let i=this.readTo(t)-t.length;for(;this.p<this.N;)if("endraw"===this.readIdentifier().getText())for(;this.p<=this.N;){if(this.rmatch(r)){const t=this.p;return n===i?(this.rawBeginAt=-1,new bo(this.input,n,t,e,this.file)):(this.p=i,new xo(this.input,n,i,this.file))}if(this.rmatch(t))break;this.p++}else i=this.readTo(t)-t.length;throw this.error(`raw ${this.snapshot(this.rawBeginAt)} not closed`,n)}readLiquidTagTokens(e=sl){const t=[];for(;this.p<this.N;){const r=this.readLiquidTagToken(e);r&&t.push(r)}return t}readLiquidTagToken(e){if(this.skipBlank(),this.end())return;const t=this.p;this.readToDelimiter("\n");const r=this.p;return new qo(this.input,t,r,e,this.file)}error(e,t=this.p){return new Ns(e,new wo(this.input,t,this.N,this.file))}assert(e,t,r){if(!e)throw this.error("function"==typeof t?t():t,r)}snapshot(e=this.p){return JSON.stringify((t=this.input.slice(e,this.N),r=32,t.length>r?t.slice(0,r-3)+"...":t));var t,r}readWord(){return this.readIdentifier()}readIdentifier(){this.skipBlank();const e=this.p;for(;!this.end()&&Fs(this.peek());)++this.p;return new wo(this.input,e,this.p,this.file)}readTagName(){return this.skipBlank(),"#"===this.input[this.p]?this.input.slice(this.p,++this.p):this.readIdentifier().getText()}readHashes(e){const t=[];for(;;){const r=this.readHash(e);if(!r)return t;t.push(r)}}readHash(e){this.skipBlank(),","===this.peek()&&++this.p;const t=this.p,r=this.readIdentifier();if(!r.size())return;let n;this.skipBlank();const i=e?"=":":";return this.peek()===i&&(++this.p,n=this.readValue()),new No(this.input,t,this.p,r,n,this.file)}remaining(){return this.input.slice(this.p,this.N)}advance(e=1){this.p+=e}end(){return this.p>=this.N}readTo(e){for(;this.p<this.N;)if(++this.p,this.rmatch(e))return this.p;return-1}readValue(){this.skipBlank();const e=this.p,t=this.readLiteral()||this.readQuoted()||this.readRange()||this.readNumber(),r=[];for(;;)if("["!==this.peek()){if(!t&&!r.length){const e=this.readIdentifier();if(e.size()){r.push(e);continue}}if("."!==this.peek()||"."===this.peek(1))break;{this.p++;const e=this.readIdentifier();if(!e.size())break;r.push(e)}}else{this.p++;const e=this.readValue()||new wo(this.input,this.p,this.p,this.file);this.assert(-1!==this.readTo("]"),"[ not closed"),r.push(e)}return r.length?new Do(t,r,this.input,e,this.p):t}readNumber(){this.skipBlank();let e=!1,t=!1,r=0;for(64&this.peekType()&&r++;this.p+r<=this.N;)if(32&this.peekType(r))t=!0,r++;else{if("."!==this.peek(r)||"."===this.peek(r+1))break;if(e||!t)return;e=!0,r++}if(t&&!Fs(this.peek(r))){const e=new vo(this.input,this.p,this.p+r,this.file);return this.advance(r),e}}readLiteral(){this.skipBlank();const e=this.matchTrie(this.literalTrie);if(-1===e)return;const t=new Eo(this.input,this.p,e,this.file);return this.p=e,t}readRange(){this.skipBlank();const e=this.p;if("("!==this.peek())return;++this.p;const t=this.readValueOrThrow();this.p+=2;const r=this.readValueOrThrow();return++this.p,new Io(this.input,e,this.p,t,r,this.file)}readValueOrThrow(){const e=this.readValue();return this.assert(e,(()=>`unexpected token ${this.snapshot()}, value expected`)),e}readQuoted(){this.skipBlank();const e=this.p;if(!(8&this.peekType()))return;++this.p;let t=!1;for(;this.p<this.N&&(++this.p,this.input[this.p-1]!==this.input[e]||t);)t?t=!1:"\\"===this.input[this.p-1]&&(t=!0);return new Co(this.input,e,this.p,this.file)}*readFileNameTemplate(e){const{outputDelimiterLeft:t}=e,r=[","," ",t],n=new Set(r);for(;this.p<this.N&&!n.has(this.peek());)yield this.match(t)?this.readOutputToken(e):this.readHTMLToken(r)}match(e){for(let t=0;t<e.length;t++)if(e[t]!==this.input[this.p+t])return!1;return!0}rmatch(e){for(let t=0;t<e.length;t++)if(e[e.length-1-t]!==this.input[this.p-1-t])return!1;return!0}peekType(e=0){return this.p+e>=this.N?0:qs[this.input.charCodeAt(this.p+e)]}peek(e=0){return this.p+e>=this.N?"":this.input[this.p+e]}skipBlank(){for(;this.peekType()&Ms;)++this.p}}class dl{constructor(e,t){this.handlers={},this.stopRequested=!1,this.tokens=e,this.parseToken=t}on(e,t){return this.handlers[e]=t,this}trigger(e,t){const r=this.handlers[e];return!!r&&(r.call(this,t),!0)}start(){let e;for(this.trigger("start");!this.stopRequested&&(e=this.tokens.shift());){if(this.trigger("token",e))continue;if(Rl(e)&&this.trigger(`tag:${e.name}`,e))continue;const t=this.parseToken(e,this.tokens);this.trigger("template",t)}return this.stopRequested||this.trigger("end"),this}stop(){return this.stopRequested=!0,this}}class hl{constructor(e){this.token=e}}class _l extends hl{constructor(e,t,r){super(e),this.name=e.name,this.liquid=r,this.tokenizer=e.tokenizer}}class fl{constructor(e,t){this.hash={};const r=new pl(e,{});for(const n of r.readHashes(t))this.hash[n.name.content]=n.value}*render(e){const t={};for(const r of Object.keys(this.hash))t[r]=void 0===this.hash[r]||(yield Ho(this.hash[r],e));return t}}class gl{constructor(e,t,r,n){this.name=e,this.handler=ls(t)?t:ls(null==t?void 0:t.handler)?t.handler:Es,this.raw=!ls(t)&&!!(null==t?void 0:t.raw),this.args=r,this.liquid=n}*render(e,t){const r=[];for(const n of this.args)gs(n)?r.push([n[0],yield Ho(n[1],t)]):r.push(yield Ho(n,t));return yield this.handler.apply({context:t,liquid:this.liquid},[e,...r])}}class ml{constructor(e,t){this.filters=[];const r="string"==typeof e?new pl(e,t.options.operators).readFilteredValue():e;this.initial=r.initial,this.filters=r.filters.map((({name:e,args:r})=>new gl(e,this.getFilter(t,e),r,t)))}*value(e,t){t=t||e.opts.lenientIf&&this.filters.length>0&&"default"===this.filters[0].name;let r=yield this.initial.evaluate(e,t);for(const n of this.filters)r=yield n.render(r,e);return r}getFilter(e,t){const r=e.filters[t];return js(r||!e.options.strictFilters,(()=>`undefined filter: ${t}`)),r}}class bl extends hl{constructor(e,t){var r;super(e);const n=new pl(e.input,t.options.operators,e.file,e.contentRange);this.value=new ml(n.readFilteredValue(),t);const i=this.value.filters,a=t.options.outputEscape;!(null===(r=i[i.length-1])||void 0===r?void 0:r.raw)&&a&&i.push(new gl(toString.call(a),a,[],t))}*render(e,t){const r=yield this.value.value(e,!1);t.write(r)}}class yl extends hl{constructor(e){super(e),this.str=e.getContent()}*render(e,t){t.write(this.str)}}var xl,vl,wl,El,kl,Al;(vl=xl||(xl={})).Partials="partials",vl.Layouts="layouts",vl.Root="root";class Tl{constructor(e){if(this.options=e,e.relativeReference){const t=e.fs.sep;js(t,"`fs.sep` is required for relative reference");const r=new RegExp(["."+t,".."+t,"./","../"].map((e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"))).join("|"));this.shouldLoadRelative=e=>r.test(e)}else this.shouldLoadRelative=e=>!1;this.contains=this.options.fs.contains||(()=>!0)}*lookup(e,t,r,n){const{fs:i}=this.options,a=this.options[t];for(const s of this.candidates(e,a,n,t!==xl.Root))if(r?i.existsSync(s):yield i.exists(s))return s;throw this.lookupError(e,a)}*candidates(e,t,r,n){const{fs:i,extname:a}=this.options;if(this.shouldLoadRelative(e)&&r){const s=i.resolve(this.dirname(r),e,a);for(const e of t)if(!n||this.contains(e,s)){yield s;break}}for(const s of t){const t=i.resolve(s,e,a);n&&!this.contains(s,t)||(yield t)}if(void 0!==i.fallback){const t=i.fallback(e);void 0!==t&&(yield t)}}dirname(e){const t=this.options.fs;return js(t.dirname,"`fs.dirname` is required for relative reference"),t.dirname(e)}lookupError(e,t){const r=new Error("ENOENT");return r.message=`ENOENT: Failed to lookup "${e}" in "${t}"`,r.code="ENOENT",r}}class Dl{constructor(e){this.liquid=e,this.cache=this.liquid.options.cache,this.fs=this.liquid.options.fs,this.parseFile=this.cache?this._parseFileCached:this._parseFile,this.loader=new Tl(this.liquid.options)}parse(e,t){const r=new pl(e,this.liquid.options.operators,t).readTopLevelTokens(this.liquid.options);return this.parseTokens(r)}parseTokens(e){let t;const r=[];for(;t=e.shift();)r.push(this.parseToken(t,e));return r}parseToken(e,t){try{if(Rl(e)){const r=this.liquid.tags[e.name];return js(r,`tag "${e.name}" not found`),new r(e,t,this.liquid)}return Ol(e)===wl.Output?new bl(e,this.liquid):new yl(e)}catch(r){if(Ss.is(r))throw r;throw new Rs(r,e)}}parseStream(e){return new dl(e,((e,t)=>this.parseToken(e,t)))}*_parseFileCached(e,t,r=xl.Root,n){const i=this.cache,a=this.loader.shouldLoadRelative(e)?n+","+e:r+":"+e,s=yield i.read(a);if(s)return s;const o=this._parseFile(e,t,r,n),l=t?yield o:Ys(o);i.write(a,l);try{return yield l}catch(u){throw i.remove(a),u}}*_parseFile(e,t,r=xl.Root,n){const i=yield this.loader.lookup(e,r,t,n);return this.liquid.parse(t?this.fs.readFileSync(i):yield this.fs.readFile(i),i)}}function Sl(e){return Ol(e)===wl.Operator}function Nl(e){return Ol(e)===wl.HTML}function Rl(e){return Ol(e)===wl.Tag}function Ol(e){return e?e.kind:-1}(El=wl||(wl={}))[El.Number=1]="Number",El[El.Literal=2]="Literal",El[El.Tag=4]="Tag",El[El.Output=8]="Output",El[El.HTML=16]="HTML",El[El.Filter=32]="Filter",El[El.Hash=64]="Hash",El[El.PropertyAccess=128]="PropertyAccess",El[El.Word=256]="Word",El[El.Range=512]="Range",El[El.Quoted=1024]="Quoted",El[El.Operator=2048]="Operator",El[El.FilteredValue=4096]="FilteredValue",El[El.Delimited=12]="Delimited";class Ll{constructor(e={},t=sl,r={}){var n,i,a;this.scopes=[{}],this.registers={},this.sync=!!r.sync,this.opts=t,this.globals=null!==(n=r.globals)&&void 0!==n?n:t.globals,this.environments=e,this.strictVariables=null!==(i=r.strictVariables)&&void 0!==i?i:this.opts.strictVariables,this.ownPropertyOnly=null!==(a=r.ownPropertyOnly)&&void 0!==a?a:t.ownPropertyOnly}getRegister(e){return this.registers[e]=this.registers[e]||{}}setRegister(e,t){return this.registers[e]=t}saveRegister(...e){return e.map((e=>[e,this.getRegister(e)]))}restoreRegister(e){return e.forEach((([e,t])=>this.setRegister(e,t)))}getAll(){return[this.globals,this.environments,...this.scopes].reduce(((e,t)=>Xs(e,t)),{})}get(e){return this.getSync(e)}getSync(e){return Qs(this._get(e))}*_get(e){const t=this.findScope(e[0]);return yield this._getFromScope(t,e)}getFromScope(e,t){return Qs(this._getFromScope(e,t))}*_getFromScope(e,t,r=this.strictVariables){os(t)&&(t=t.split("."));for(let n=0;n<t.length;n++)if(e=yield Bl(e,t[n],this.ownPropertyOnly),r&&void 0===e)throw new Bs(t.slice(0,n+1).join("."));return e}push(e){return this.scopes.push(e)}pop(){return this.scopes.pop()}bottom(){return this.scopes[0]}findScope(e){for(let t=this.scopes.length-1;t>=0;t--){const r=this.scopes[t];if(e in r)return r}return e in this.environments?this.environments:this.globals}}function Bl(e,t,r){if(fs(e=_s(e)))return e;if(gs(e)&&t<0)return e[e.length+ +t];const n=function(e,t,r){return!r||Object.hasOwnProperty.call(e,t)||e instanceof ns?e[t]:void 0}(e,t,r);return void 0===n&&e instanceof ns?e.liquidMethodMissing(t):ls(n)?n.call(e):"size"===t?function(e){if(e.hasOwnProperty("size")||void 0!==e.size)return e.size;if(gs(e)||os(e))return e.length;if("object"==typeof e)return Object.keys(e).length}(e):"first"===t?function(e){return gs(e)?e[0]:e.first}(e):"last"===t?function(e){return gs(e)?e[e.length-1]:e.last}(e):n}(Al=kl||(kl={}))[Al.OUTPUT=0]="OUTPUT",Al[Al.STORE=1]="STORE";const Cl=As(Math.abs),Il=As(Math.max),ql=As(Math.min),Pl=As(Math.ceil),Ml=As(((e,t,r=!1)=>r?Math.floor(e/t):e/t)),Ul=As(Math.floor),Fl=As(((e,t)=>e-t)),jl=As(((e,t)=>e%t)),zl=As(((e,t)=>e*t));var Hl=Object.freeze({__proto__:null,abs:Cl,at_least:Il,at_most:ql,ceil:Pl,divided_by:Ml,floor:Ul,minus:Fl,modulo:jl,times:zl,round:function(e,t=0){e=ds(e),t=ds(t);const r=Math.pow(10,t);return Math.round(e*r)/r},plus:function(e,t){return e=ds(e),t=ds(t),Number(e)+Number(t)}});var Vl=Object.freeze({__proto__:null,url_decode:e=>ps(e).split("+").map(decodeURIComponent).join(" "),url_encode:e=>ps(e).split(" ").map(encodeURIComponent).join("+")});const $l=As(((e,t)=>eo(e).join(void 0===t?" ":t))),Gl=As((e=>gs(e)?bs(e):"")),Wl=As((e=>gs(e)?e[0]:"")),Kl=As((e=>[...eo(e)].reverse()));function Xl(e,t=[]){return e=ds(e),t=eo(t).map((e=>ds(e))),eo(e).concat(t)}var Jl=Object.freeze({__proto__:null,join:$l,last:Gl,first:Wl,reverse:Kl,sort:function*(e,t){const r=[];for(const n of eo(ds(e)))r.push([n,t?yield this.context._getFromScope(n,ps(t).split("."),!1):n]);return r.sort(((e,t)=>{const r=e[1],n=t[1];return r<n?-1:r>n?1:0})).map((e=>e[0]))},sort_natural:function(e,t){e=ds(e);const r=ps(t),n=void 0===t?ks:(e,t)=>ks(e[r],t[r]);return[...eo(e)].sort(n)},size:e=>e&&e.length||0,map:function*(e,t){const r=[];for(const n of eo(ds(e)))r.push(yield this.context._getFromScope(n,ps(t),!1));return r},sum:function*(e,t){let r=0;for(const n of eo(ds(e))){const e=Number(t?yield this.context._getFromScope(n,ps(t),!1):n);r+=Number.isNaN(e)?0:e}return r},compact:function(e){return eo(e=ds(e)).filter((e=>!fs(ds(e))))},concat:Xl,push:function(e,t){return Xl(e,[t])},slice:function(e,t,r=1){return fs(e=ds(e))?[]:(gs(e)||(e=ps(e)),t=t<0?e.length+t:t,e.slice(t,t+r))},where:function*(e,t,r){const n=[];e=eo(ds(e));for(const i of e)n.push(yield this.context._getFromScope(i,ps(t).split("."),!1));return e.filter(((e,t)=>void 0===r?Go(n[t],this.context):$s(r)?r.equals(n[t]):n[t]===r))},uniq:function(e){e=ds(e);const t={};return(e||[]).filter((e=>!ss.call(t,String(e))&&(t[String(e)]=!0,!0)))},sample:function(e,t=1){if(fs(e=ds(e)))return[];gs(e)||(e=ps(e));const r=[...e].sort((()=>Math.random()-.5));return 1===t?r[0]:r.slice(0,t)}});function Yl(e,t){if(hs(t))return t;const r=new Date(e.toLocaleString("en-US",{timeZone:"UTC"})),n=new Date(e.toLocaleString("en-US",{timeZone:t}));return(r.getTime()-n.getTime())/6e4}var Ql=Object.freeze({__proto__:null,date:function(e,t,r){const n=this.context.opts;let i;return e=ds(e),t=fs(t=ds(t))?n.dateFormat:ps(t),i="now"===e||"today"===e?new Date:hs(e)?new Date(1e3*e):os(e)?/^\d+$/.test(e)?new Date(1e3*+e):n.preserveTimezones?go.createDateFixedToTimezone(e):new Date(e):e,function(e){return(e instanceof Date||e instanceof go)&&!isNaN(e.getTime())}(i)?(void 0!==r?i=new go(i,Yl(i,r)):i instanceof go||void 0===n.timezoneOffset||(i=new go(i,Yl(i,n.timezoneOffset))),function(e,t){let r,n="",i=t;for(;r=to.exec(i);)n+=i.slice(0,r.index),i=i.slice(r.index+r[0].length),n+=_o(e,r);return n+i}(i,t)):e}});var Zl=Object.freeze({__proto__:null,append:function(e,t){return js(2===arguments.length,"append expect 2 arguments"),ps(e)+ps(t)},prepend:function(e,t){return js(2===arguments.length,"prepend expect 2 arguments"),ps(t)+ps(e)},lstrip:function(e,t){return t?(t=Ts(ps(t)),ps(e).replace(new RegExp(`^[${t}]+`,"g"),"")):ps(e).replace(/^\s+/,"")},downcase:function(e){return ps(e).toLowerCase()},upcase:function(e){return ps(e).toUpperCase()},remove:function(e,t){return ps(e).split(String(t)).join("")},remove_first:function(e,t){return ps(e).replace(String(t),"")},remove_last:function(e,t){const r=ps(e),n=String(t),i=r.lastIndexOf(n);return-1===i?r:r.substring(0,i)+r.substring(i+n.length)},rstrip:function(e,t){return t?(t=Ts(ps(t)),ps(e).replace(new RegExp(`[${t}]+$`,"g"),"")):ps(e).replace(/\s+$/,"")},split:function(e,t){const r=ps(e).split(String(t));for(;r.length&&""===r[r.length-1];)r.pop();return r},strip:function(e,t){return t?(t=Ts(ps(t)),ps(e).replace(new RegExp(`^[${t}]+`,"g"),"").replace(new RegExp(`[${t}]+$`,"g"),"")):ps(e).trim()},strip_newlines:function(e){return ps(e).replace(/\r?\n/gm,"")},capitalize:function(e){return(e=ps(e)).charAt(0).toUpperCase()+e.slice(1).toLowerCase()},replace:function(e,t,r){return ps(e).split(String(t)).join(r)},replace_first:function(e,t,r){return ps(e).replace(String(t),r)},replace_last:function(e,t,r){const n=ps(e),i=String(t),a=n.lastIndexOf(i);if(-1===a)return n;const s=String(r);return n.substring(0,a)+s+n.substring(a+i.length)},truncate:function(e,t=50,r="..."){return(e=ps(e)).length<=t?e:e.substring(0,t-r.length)+r},truncatewords:function(e,t=15,r="..."){const n=ps(e).split(/\s+/);t<=0&&(t=1);let i=n.slice(0,t).join(" ");return n.length>=t&&(i+=r),i}});const eu=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},al),Hl),Vl),Jl),Ql),Zl),{json:el,raw:tl,default:function(e,t,...r){return gs(e=ds(e))||os(e)?e.length?e:t:(!1!==e||!new Map(r).get("allow_false"))&&(Wo(e,this.context)?t:e)}});const tu=["offset","limit","reversed"];function ru(e,t){if(t.options.dynamicPartials){const r=e.readValue();if(e.assert(r,"illegal file path"),"none"===r.getText())return;if(Ol(r)===wl.Quoted){return nu(t.parse(Vo(r)))}return r}const r=[...e.readFileNameTemplate(t.options)],n=nu(t.parser.parseTokens(r));return"none"===n?void 0:n}function nu(e){return 1===e.length&&Nl(e[0].token)?e[0].token.getContent():e}function*iu(e,t,r){return"string"==typeof e?e:Array.isArray(e)?r.renderer.renderTemplates(e,t):yield Ho(e,t)}class au extends Hs{constructor(e,t,r,n){super(e,r,n),this.length=e,this.cols=t}row(){return Math.floor(this.i/this.cols)+1}col0(){return this.i%this.cols}col(){return this.col0()+1}col_first(){return 0===this.col0()}col_last(){return this.col()===this.cols}}const su={assign:class extends _l{constructor(e,t,r){super(e,t,r),this.key=this.tokenizer.readIdentifier().content,this.tokenizer.assert(this.key,"expected variable name"),this.tokenizer.skipBlank(),this.tokenizer.assert("="===this.tokenizer.peek(),'expected "="'),this.tokenizer.advance(),this.value=new ml(this.tokenizer.readFilteredValue(),this.liquid)}*render(e){e.bottom()[this.key]=yield this.value.value(e,this.liquid.options.lenientIf)}},for:class extends _l{constructor(e,t,r){super(e,t,r);const n=this.tokenizer.readIdentifier(),i=this.tokenizer.readIdentifier(),a=this.tokenizer.readValue();if(!n.size()||"in"!==i.content||!a)throw new Error(`illegal tag: ${e.getText()}`);let s;this.variable=n.content,this.collection=a,this.hash=new fl(this.tokenizer.remaining()),this.templates=[],this.elseTemplates=[];const o=this.liquid.parser.parseStream(t).on("start",(()=>s=this.templates)).on("tag:else",(()=>s=this.elseTemplates)).on("tag:endfor",(()=>o.stop())).on("template",(e=>s.push(e))).on("end",(()=>{throw new Error(`tag ${e.getText()} not closed`)}));o.start()}*render(e,t){const r=this.liquid.renderer;let n=Zs(yield Ho(this.collection,e));if(!n.length)return void(yield r.renderTemplates(this.elseTemplates,e,t));const i="continue-"+this.variable+"-"+this.collection.getText();e.push({continue:e.getRegister(i)});const a=yield this.hash.render(e);e.pop();n=(this.liquid.options.orderedFilterParameters?Object.keys(a).filter((e=>tu.includes(e))):tu.filter((e=>void 0!==a[e]))).reduce(((e,t)=>{return"offset"===t?(r=e,n=a.offset,r.slice(n)):"limit"===t?function(e,t){return e.slice(0,t)}(e,a.limit):function(e){return[...e].reverse()}(e);var r,n}),n),e.setRegister(i,(a.offset||0)+n.length);const s={forloop:new Hs(n.length,this.collection.getText(),this.variable)};e.push(s);for(const o of n){if(s[this.variable]=o,yield r.renderTemplates(this.templates,e,t),t.break){t.break=!1;break}t.continue=!1,s.forloop.next()}e.pop()}},capture:class extends _l{constructor(e,t,r){for(super(e,t,r),this.templates=[],this.variable=this.readVariableName();t.length;){const e=t.shift();if(Rl(e)&&"endcapture"===e.name)return;this.templates.push(r.parser.parseToken(e,t))}throw new Error(`tag ${e.getText()} not closed`)}*render(e){const t=this.liquid.renderer,r=yield t.renderTemplates(this.templates,e);e.bottom()[this.variable]=r}readVariableName(){const e=this.tokenizer.readIdentifier().content;if(e)return e;const t=this.tokenizer.readQuoted();if(t)return Vo(t);throw this.tokenizer.error("invalid capture name")}},case:class extends _l{constructor(e,t,r){super(e,t,r),this.branches=[],this.elseTemplates=[],this.value=new ml(this.tokenizer.readFilteredValue(),this.liquid),this.elseTemplates=[];let n=[],i=0;const a=this.liquid.parser.parseStream(t).on("tag:when",(e=>{if(i>0)return;n=[];const t=[];for(;!e.tokenizer.end();)t.push(e.tokenizer.readValueOrThrow()),e.tokenizer.skipBlank(),","===e.tokenizer.peek()?e.tokenizer.readTo(","):e.tokenizer.readTo("or");this.branches.push({values:t,templates:n})})).on("tag:else",(()=>{i++,n=this.elseTemplates})).on("tag:endcase",(()=>a.stop())).on("template",(e=>{n===this.elseTemplates&&1!==i||n.push(e)})).on("end",(()=>{throw new Error(`tag ${e.getText()} not closed`)}));a.start()}*render(e,t){const r=this.liquid.renderer,n=ds(yield this.value.value(e,e.opts.lenientIf));let i=!1;for(const a of this.branches)for(const s of a.values){if(n===(yield Ho(s,e,e.opts.lenientIf))){yield r.renderTemplates(a.templates,e,t),i=!0;break}}i||(yield r.renderTemplates(this.elseTemplates,e,t))}},comment:class extends _l{constructor(e,t,r){for(super(e,t,r);t.length;){const e=t.shift();if(Rl(e)&&"endcomment"===e.name)return}throw new Error(`tag ${e.getText()} not closed`)}render(){}},include:class extends _l{constructor(e,t,r){super(e,t,r);const{tokenizer:n}=e;this.file=ru(n,this.liquid),this.currentFile=e.file;const i=n.p;"with"===n.readIdentifier().content?(n.skipBlank(),":"!==n.peek()?this.withVar=n.readValue():n.p=i):n.p=i,this.hash=new fl(n.remaining(),this.liquid.options.jekyllInclude)}*render(e,t){const{liquid:r,hash:n,withVar:i}=this,{renderer:a}=r,s=yield iu(this.file,e,r);js(s,(()=>`illegal file path "${s}"`));const o=e.saveRegister("blocks","blockMode");e.setRegister("blocks",{}),e.setRegister("blockMode",kl.OUTPUT);const l=yield n.render(e);i&&(l[s]=yield Ho(i,e));const u=yield r._parsePartialFile(s,e.sync,this.currentFile);e.push(e.opts.jekyllInclude?{include:l}:l),yield a.renderTemplates(u,e,t),e.pop(),e.restoreRegister(o)}},render:class extends _l{constructor(e,t,r){super(e,t,r);const n=this.tokenizer;for(this.file=ru(n,this.liquid),this.currentFile=e.file;!n.end();){n.skipBlank();const e=n.p,t=n.readIdentifier();if(("with"===t.content||"for"===t.content)&&(n.skipBlank(),":"!==n.peek())){const e=n.readValue();if(e){const r=n.p;let i;"as"===n.readIdentifier().content?i=n.readIdentifier():n.p=r,this[t.content]={value:e,alias:i&&i.content},n.skipBlank(),","===n.peek()&&n.advance();continue}}n.p=e;break}this.hash=new fl(n.remaining())}*render(e,t){const{liquid:r,hash:n}=this,i=yield iu(this.file,e,r);js(i,(()=>`illegal file path "${i}"`));const a=new Ll({},e.opts,{sync:e.sync,globals:e.globals,strictVariables:e.strictVariables}),s=a.bottom();if(Xs(s,yield n.render(e)),this.with){const{value:t,alias:r}=this.with;s[r||i]=yield Ho(t,e)}if(this.for){const{value:n,alias:o}=this.for,l=Zs(yield Ho(n,e));s.forloop=new Hs(l.length,n.getText(),o);for(const e of l){s[o]=e;const n=yield r._parsePartialFile(i,a.sync,this.currentFile);yield r.renderer.renderTemplates(n,a,t),s.forloop.next()}}else{const e=yield r._parsePartialFile(i,a.sync,this.currentFile);yield r.renderer.renderTemplates(e,a,t)}}},decrement:class extends _l{constructor(e,t,r){super(e,t,r),this.variable=this.tokenizer.readIdentifier().content}render(e,t){const r=e.environments;hs(r[this.variable])||(r[this.variable]=0),t.write(ps(--r[this.variable]))}},increment:class extends _l{constructor(e,t,r){super(e,t,r),this.variable=this.tokenizer.readIdentifier().content}render(e,t){const r=e.environments;hs(r[this.variable])||(r[this.variable]=0);const n=r[this.variable];r[this.variable]++,t.write(ps(n))}},cycle:class extends _l{constructor(e,t,r){super(e,t,r),this.candidates=[];const n=this.tokenizer.readValue();for(this.tokenizer.skipBlank(),n&&(":"===this.tokenizer.peek()?(this.group=n,this.tokenizer.advance()):this.candidates.push(n));!this.tokenizer.end();){const e=this.tokenizer.readValue();e&&this.candidates.push(e),this.tokenizer.readTo(",")}this.tokenizer.assert(this.candidates.length,(()=>`empty candidates: "${e.getText()}"`))}*render(e,t){const r=`cycle:${yield Ho(this.group,e)}:`+this.candidates.join(","),n=e.getRegister("cycle");let i=n[r];void 0===i&&(i=n[r]=0);const a=this.candidates[i];return i=(i+1)%this.candidates.length,n[r]=i,yield Ho(a,e)}},if:class extends _l{constructor(e,t,r){super(e,t,r),this.branches=[],this.elseTemplates=[];let n=[],i=0;r.parser.parseStream(t).on("start",(()=>this.branches.push({value:new ml(e.args,this.liquid),templates:n=[]}))).on("tag:elsif",(e=>{i>0?n=[]:this.branches.push({value:new ml(e.args,this.liquid),templates:n=[]})})).on("tag:else",(()=>{i++,n=this.elseTemplates})).on("tag:endif",(function(){this.stop()})).on("template",(e=>{n===this.elseTemplates&&1!==i||n.push(e)})).on("end",(()=>{throw new Error(`tag ${e.getText()} not closed`)})).start()}*render(e,t){const r=this.liquid.renderer;for(const{value:n,templates:i}of this.branches){if(Go(yield n.value(e,e.opts.lenientIf),e))return void(yield r.renderTemplates(i,e,t))}yield r.renderTemplates(this.elseTemplates,e,t)}},layout:class extends _l{constructor(e,t,r){super(e,t,r),this.file=ru(this.tokenizer,this.liquid),this.currentFile=e.file,this.args=new fl(this.tokenizer.remaining()),this.templates=this.liquid.parser.parseTokens(t)}*render(e,t){const{liquid:r,args:n,file:i}=this,{renderer:a}=r;if(void 0===i)return e.setRegister("blockMode",kl.OUTPUT),void(yield a.renderTemplates(this.templates,e,t));const s=yield iu(this.file,e,r);js(s,(()=>`illegal file path "${s}"`));const o=yield r._parseLayoutFile(s,e.sync,this.currentFile);e.setRegister("blockMode",kl.STORE);const l=yield a.renderTemplates(this.templates,e),u=e.getRegister("blocks");void 0===u[""]&&(u[""]=(e,t)=>t.write(l)),e.setRegister("blockMode",kl.OUTPUT),e.push(yield n.render(e)),yield a.renderTemplates(o,e,t),e.pop()}},block:class extends _l{constructor(e,t,r){super(e,t,r),this.templates=[];const n=/\w+/.exec(e.args);for(this.block=n?n[0]:"";t.length;){const e=t.shift();if(Rl(e)&&"endblock"===e.name)return;const n=r.parser.parseToken(e,t);this.templates.push(n)}throw new Error(`tag ${e.getText()} not closed`)}*render(e,t){const r=this.getBlockRender(e);e.getRegister("blockMode")===kl.STORE?e.getRegister("blocks")[this.block]=r:yield r(new Vs,t)}getBlockRender(e){const{liquid:t,templates:r}=this,n=e.getRegister("blocks")[this.block],i=function*(n,i){e.push({block:n}),yield t.renderer.renderTemplates(r,e,i),e.pop()};return n?(e,t)=>n(new Vs((()=>i(e,t))),t):i}},raw:class extends _l{constructor(e,t,r){for(super(e,t,r),this.tokens=[];t.length;){const e=t.shift();if(Rl(e)&&"endraw"===e.name)return;this.tokens.push(e)}throw new Error(`tag ${e.getText()} not closed`)}render(){return this.tokens.map((e=>e.getText())).join("")}},tablerow:class extends _l{constructor(e,t,r){super(e,t,r);const n=this.tokenizer.readIdentifier();this.tokenizer.skipBlank();const i=this.tokenizer.readIdentifier(),a=this.tokenizer.readValue();if("in"!==i.content||!a)throw new Error(`illegal tag: ${e.getText()}`);let s;this.variable=n.content,this.collection=a,this.args=new fl(this.tokenizer.remaining()),this.templates=[];const o=this.liquid.parser.parseStream(t).on("start",(()=>s=this.templates)).on("tag:endtablerow",(()=>o.stop())).on("template",(e=>s.push(e))).on("end",(()=>{throw new Error(`tag ${e.getText()} not closed`)}));o.start()}*render(e,t){let r=Zs(yield Ho(this.collection,e));const n=yield this.args.render(e),i=n.offset||0,a=void 0===n.limit?r.length:n.limit;r=r.slice(i,i+a);const s=n.cols||r.length,o=this.liquid.renderer,l=new au(r.length,s,this.collection.getText(),this.variable),u={tablerowloop:l};e.push(u);for(let c=0;c<r.length;c++,l.next())u[this.variable]=r[c],0===l.col0()&&(1!==l.row()&&t.write("</tr>"),t.write(`<tr class="row${l.row()}">`)),t.write(`<td class="col${l.col()}">`),yield o.renderTemplates(this.templates,e,t),t.write("</td>");r.length&&t.write("</tr>"),e.pop()}},unless:class extends _l{constructor(e,t,r){super(e,t,r),this.branches=[],this.elseTemplates=[];let n=[],i=0;this.liquid.parser.parseStream(t).on("start",(()=>this.branches.push({value:new ml(e.args,this.liquid),test:Wo,templates:n=[]}))).on("tag:elsif",(e=>{i>0?n=[]:this.branches.push({value:new ml(e.args,this.liquid),test:Go,templates:n=[]})})).on("tag:else",(()=>{i++,n=this.elseTemplates})).on("tag:endunless",(function(){this.stop()})).on("template",(e=>{n===this.elseTemplates&&1!==i||n.push(e)})).on("end",(()=>{throw new Error(`tag ${e.getText()} not closed`)})).start()}*render(e,t){const r=this.liquid.renderer;for(const{value:n,test:i,templates:a}of this.branches){if(i(yield n.value(e,e.opts.lenientIf),e))return void(yield r.renderTemplates(a,e,t))}yield r.renderTemplates(this.elseTemplates,e,t)}},break:class extends _l{render(e,t){t.break=!0}},continue:class extends _l{render(e,t){t.continue=!0}},echo:class extends _l{constructor(e,t,r){super(e,t,r),this.tokenizer.skipBlank(),this.tokenizer.end()||(this.value=new ml(this.tokenizer.readFilteredValue(),this.liquid))}*render(e,t){if(!this.value)return;const r=yield this.value.value(e,!1);t.write(r)}},liquid:class extends _l{constructor(e,t,r){super(e,t,r);const n=this.tokenizer.readLiquidTagTokens(this.liquid.options);this.templates=this.liquid.parser.parseTokens(n)}*render(e,t){yield this.liquid.renderer.renderTemplates(this.templates,e,t)}},"#":class extends _l{constructor(e,t,r){if(super(e,t,r),-1!==e.args.search(/\n\s*[^#\s]/g))throw new Error("every line of an inline comment must start with a '#' character")}render(){}}};class ou{constructor(e={}){this.renderer=new jo,this.filters={},this.tags={},this.options=ol(e),this.parser=new Dl(this),ms(su,((e,t)=>this.registerTag(t,e))),ms(eu,((e,t)=>this.registerFilter(t,e)))}parse(e,t){return this.parser.parse(e,t)}_render(e,t,r){const n=t instanceof Ll?t:new Ll(t,this.options,r);return this.renderer.renderTemplates(e,n)}render(e,t,r){return Js(this,0,void 0,(function*(){return Ys(this._render(e,t,Object.assign(Object.assign({},r),{sync:!1})))}))}renderSync(e,t,r){return Qs(this._render(e,t,Object.assign(Object.assign({},r),{sync:!0})))}renderToNodeStream(e,t,r={}){const n=new Ll(t,this.options,r);return this.renderer.renderTemplatesToNodeStream(e,n)}_parseAndRender(e,t,r){const n=this.parse(e);return this._render(n,t,r)}parseAndRender(e,t,r){return Js(this,0,void 0,(function*(){return Ys(this._parseAndRender(e,t,Object.assign(Object.assign({},r),{sync:!1})))}))}parseAndRenderSync(e,t,r){return Qs(this._parseAndRender(e,t,Object.assign(Object.assign({},r),{sync:!0})))}_parsePartialFile(e,t,r){return this.parser.parseFile(e,t,xl.Partials,r)}_parseLayoutFile(e,t,r){return this.parser.parseFile(e,t,xl.Layouts,r)}_parseFile(e,t,r,n){return this.parser.parseFile(e,t,r,n)}parseFile(e,t){return Js(this,0,void 0,(function*(){return Ys(this.parser.parseFile(e,!1,t))}))}parseFileSync(e,t){return Qs(this.parser.parseFile(e,!0,t))}*_renderFile(e,t,r){const n=yield this._parseFile(e,r.sync,r.lookupType);return yield this._render(n,t,r)}renderFile(e,t,r){return Js(this,0,void 0,(function*(){return Ys(this._renderFile(e,t,Object.assign(Object.assign({},r),{sync:!1})))}))}renderFileSync(e,t,r){return Qs(this._renderFile(e,t,Object.assign(Object.assign({},r),{sync:!0})))}renderFileToNodeStream(e,t,r){return Js(this,0,void 0,(function*(){const n=yield this.parseFile(e);return this.renderToNodeStream(n,t,r)}))}_evalValue(e,t){const r=new ml(e,this),n=t instanceof Ll?t:new Ll(t,this.options);return r.value(n)}evalValue(e,t){return Js(this,0,void 0,(function*(){return Ys(this._evalValue(e,t))}))}evalValueSync(e,t){return Qs(this._evalValue(e,t))}registerFilter(e,t){this.filters[e]=t}registerTag(e,t){var r;this.tags[e]=ls(t)?t:(r=t,class extends _l{constructor(e,t,n){super(e,t,n),ls(r.parse)&&r.parse.call(this,e,t)}*render(e,t){const n=yield new fl(this.token.args).render(e);return yield r.render.call(this,e,t,n)}})}plugin(e){return e.call(this,ou)}express(){const e=this;let t=!0;return function(r,n,i){if(t){t=!1;const r=ll(this.root);e.options.root.unshift(...r),e.options.layouts.unshift(...r),e.options.partials.unshift(...r)}e.renderFile(r,n).then((e=>i(null,e)),i)}}}const lu=/{{([\s\S]+?)}}/;class uu extends Ln{generateIterationTemplate(e,t){return h.createElement(h.Fragment,null,h.createElement(ri,null,`\n \x3c!-- htmlmin:ignore --\x3e\n {% for ${e.itemName} in ${e.dataSource} ${e.limit?`limit:${e.limit}`:""} %}\n \x3c!-- htmlmin:ignore --\x3e\n `),t,h.createElement(ri,null," \x3c!-- htmlmin:ignore --\x3e{% endfor %} \x3c!-- htmlmin:ignore --\x3e"))}generateConditionTemplate(e,t,r){if("string"==typeof e)return h.createElement(h.Fragment,null,h.createElement(ri,null,`\n \x3c!-- htmlmin:ignore --\x3e{% if ${e} %}\x3c!-- htmlmin:ignore --\x3e\n `),t,h.createElement(ri,null,"\x3c!-- htmlmin:ignore --\x3e{% else %}\x3c!-- htmlmin:ignore --\x3e"),r,h.createElement(ri,null,"\x3c!-- htmlmin:ignore --\x3e{% endif %} \x3c!-- htmlmin:ignore --\x3e"));const{symbol:n,groups:i}=e,a=e=>{return e.operator===Ya.TRUTHY?e.left:e.operator===Ya.FALSY?e.left+" == nil"||e.left+" == false":e.operator===Ya.EMPTY?e.left+" == empty":e.operator===Ya.NOT_EMPTY?e.left+" not empty":e.left+" "+e.operator+" "+("number"!=typeof(t=e.right)&&"string"!=typeof t||isNaN(Number(t))?`"${Kt.encode(e.right)}"`:e.right);var t},s=+new Date,o=i.map(((e,t)=>`con_${t}_${s}`)),l=i.map(((e,t)=>`{% assign ${o[t]} = ${e.groups.map(a).join(` ${e.symbol} `)} %}`)).join("\n"),u=o.join(` ${n} `);return h.createElement(h.Fragment,null,h.createElement(ri,null,`\n \x3c!-- htmlmin:ignore --\x3e\n ${l}\n {% if ${u} %}\n \x3c!-- htmlmin:ignore --\x3e\n `),t,h.createElement(ri,null,"\n \x3c!-- htmlmin:ignore --\x3e\n {% endif %}\n \x3c!-- htmlmin:ignore --\x3e\n "))}generateVariable(e,t){return t?`{{ ${e}| default: "${Kt.encode(t)}" }}`:`{{ ${e} }}`}isVariable(e){return lu.test(e)}renderWithData(e,t){const r=new ou;r.plugin((function(){this.registerFilter("title_case",(e=>d.startCase(e))),this.registerFilter("chunk",((e,t=1)=>d.chunk(e,t))),this.registerFilter("arr_filter",((e,t,...r)=>e?e.filter((e=>r.includes(e[t]))):null)),this.registerFilter("arr_filter_sort",((e,t,...r)=>e&&r?r.map((r=>e.find((e=>d.get(e,t)===r)))).filter(Boolean):null)),this.registerFilter("arr_slice",((e,t,r)=>e?e.slice(t,r):null)),this.registerFilter("date",(e=>ts(e).format("MMM DD, YY"))),this.registerFilter("money",(e=>{const r=d.get(t,"shop.money_in_emails_format","");return r?this.parseAndRenderSync(r,{amount:Number(e).toFixed(2)}):e})),this.registerFilter("money_with_currency",(e=>{const r=d.get(t,"shop.money_with_currency_in_emails_format","");return r?this.parseAndRenderSync(r,{amount:Number(e).toFixed(2)}):e})),this.registerFilter("money_without_currency",(e=>Number(e).toFixed(2))),this.registerFilter("money_without_trailing_zeros",(e=>{const r=d.get(t,"shop.money_in_emails_format","");return r?this.parseAndRenderSync(r,{amount:Number(e)}):e})),this.registerFilter("img_url",(e=>d.get(e,"image")||d.get(e,"src")||"")),this.registerFilter("format_address",(e=>e)),this.registerFilter("payment_type_img_url",(e=>e))}));const n=r.parse(e);return r.renderSync(n,t)}}function cu(e){const{desktop:t,mobile:r}=e,n=Sn(),{displayMode:i="desktop-mobile"}=n;return"only-desktop"===i?h.createElement(Nn,l(o({},n),{displayMode:"only-desktop"}),h.createElement(h.Fragment,null,h.createElement(t,null))):"only-mobile"===i?h.createElement(h.Fragment,null,"production"===n.mode&&h.createElement(ri,null,"\x3c!-- htmlmin:ignore --\x3e\x3c!--[if !mso]>\x3c!--\x3e\x3c!-- htmlmin:ignore --\x3e"),h.createElement(Nn,l(o({},n),{displayMode:"only-mobile"}),h.createElement(h.Fragment,null,h.createElement(r,null))),"production"===n.mode&&h.createElement(ri,null,"\x3c!-- htmlmin:ignore --\x3e\x3c!--<![endif]--\x3e\x3c!-- htmlmin:ignore --\x3e")):h.createElement(h.Fragment,null,h.createElement(Nn,l(o({},n),{displayMode:"only-desktop"}),h.createElement(h.Fragment,null,h.createElement(t,null))),"production"===n.mode&&h.createElement(ri,null,"\x3c!-- htmlmin:ignore --\x3e\x3c!--[if !mso]>\x3c!--\x3e\x3c!-- htmlmin:ignore --\x3e"),h.createElement(Nn,l(o({},n),{displayMode:"only-mobile"}),h.createElement(h.Fragment,null,h.createElement(r,null))),"production"===n.mode&&h.createElement(ri,null,"\x3c!-- htmlmin:ignore --\x3e\x3c!--<![endif]--\x3e\x3c!-- htmlmin:ignore --\x3e"))}const pu="hide-desktop-block",du="hide-mobile-block",hu="hide-desktop-inline-block",_u="hide-mobile-inline-block",fu=[Lt.GROUP,Lt.COLUMN,Lt.NAVBAR_LINK];class gu extends On{constructor(){super(...arguments),c(this,"generateResponsive",(e=>{const{mode:t,displayMode:r,node:n,keepEmptyAttributes:i,mergetagsData:a={},children:s,context:u,idx:c,outputFormat:p}=e,_=Ja.getBlockByType(n.type);if(!_)throw new Error(`${n.type} block is not registered`);const f=n.mobileAttributes&&Object.keys(n.mobileAttributes).some((e=>void 0!==n.mobileAttributes[e]&&n.mobileAttributes[e]!==n.attributes[e])),m=fu.includes(_.type)?hu:pu,y=fu.includes(_.type)?_u:du,x=d.get(n,"attributes.css-class")||"";if("only-desktop"===r){if("mobile"===n.visible)return null;if(x.includes(m))return null;x.includes(y)||d.set(n,"attributes.css-class",g(x,y))}else if("only-mobile"===r){if(x.includes(y))return null;x.includes(m)||d.set(n,"attributes.css-class",g(x,m))}const v=o({},_.defaultData.attributes);if(v&&(d.get(n.attributes,"padding","").trim()&&(delete v.padding,delete v["padding-top"],delete v["padding-bottom"],delete v["padding-left"],delete v["padding-right"]),d.get(n.attributes,"inner-padding","").trim()&&(delete v["inner-padding"],delete v["inner-padding-top"],delete v["inner-padding-bottom"],delete v["inner-padding-left"],delete v["inner-padding-right"])),"only-mobile"===r){if("desktop"===n.visible)return null;n.attributes=b(b(v),n.attributes)}else n.attributes=b(v,n.attributes);"desktop"===n.visible?d.set(n,"attributes.css-class",g(x,y)):"mobile"===n.visible&&d.set(n,"attributes.css-class",g(x,m)),n.visible;const w="desktop"===n.visible?null:_.render({mode:t,children:s,context:u,idx:c,node:l(o({},n),{attributes:b(n.attributes,n.mobileAttributes),mobileAttributes:void 0}),keepEmptyAttributes:i,mergetagsData:a,displayMode:r,outputFormat:p}),E=_.render(l(o({},e),{mode:t,children:s,context:u,idx:c,node:n,keepEmptyAttributes:i,mergetagsData:a}));let k=E;return f&&(k=h.createElement(h.Fragment,null,h.createElement(cu,{desktop:()=>h.createElement(h.Fragment,null,E),mobile:()=>h.createElement(h.Fragment,null,w)}))),k}))}}const mu={Text:{align:"enum(left,right,center,justify)","background-color":"color",color:"color","container-background-color":"color","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string",height:"unit(px,%)","letter-spacing":"unitWithNegative(px,em)","line-height":"unit(px,%,)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}","text-decoration":"string","text-transform":"string","vertical-align":"enum(top,bottom,middle)"},Section:{"background-color":"color","background-url":"string","background-repeat":"enum(repeat,no-repeat)","background-size":"string","background-position":"string","background-position-x":"string","background-position-y":"string",border:"string","border-bottom":"string","border-left":"string","border-radius":"string","border-right":"string","border-top":"string",direction:"enum(ltr,rtl)","full-width":"enum(full-width,false,)",padding:"unit(px,%){1,4}","padding-top":"unit(px,%)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","text-align":"enum(left,center,right)"},Column:{"background-color":"color",border:"string","border-bottom":"string","border-left":"string","border-radius":"unit(px,%){1,4}","border-right":"string","border-top":"string",direction:"enum(ltr,rtl)","inner-background-color":"color","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)","inner-border":"string","inner-border-bottom":"string","inner-border-left":"string","inner-border-radius":"unit(px,%){1,4}","inner-border-right":"string","inner-border-top":"string",padding:"unit(px,%){1,4}","vertical-align":"enum(top,bottom,middle)",width:"unit(px,%)"},Button:{align:"enum(left,center,right)","background-color":"color","border-bottom":"string","border-left":"string","border-radius":"string","border-right":"string","border-top":"string",border:"string",color:"color","container-background-color":"color","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string",height:"unit(px,%)",href:"string",name:"string",title:"string","inner-padding":"unit(px,%){1,4}","letter-spacing":"unitWithNegative(px,em)","line-height":"unit(px,%,)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}",rel:"string",target:"string","text-decoration":"string","text-transform":"string","vertical-align":"enum(top,bottom,middle)","text-align":"enum(left,right,center)",width:"unit(px,%)"},Divider:{"border-color":"color","border-style":"string","border-width":"unit(px)","container-background-color":"color",padding:"unit(px,%){1,4}","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",width:"unit(px,%)",align:"enum(left,center,right)"},Group:{"background-color":"color",direction:"enum(ltr,rtl)","vertical-align":"enum(top,bottom,middle)",width:"unit(px,%)"},Hero:{mode:"string",height:"unit(px,%)","background-url":"string","background-width":"unit(px,%)","background-height":"unit(px,%)","background-position":"string","border-radius":"string","container-background-color":"color","inner-background-color":"color","inner-padding":"unit(px,%){1,4}","inner-padding-top":"unit(px,%)","inner-padding-left":"unit(px,%)","inner-padding-right":"unit(px,%)","inner-padding-bottom":"unit(px,%)",padding:"unit(px,%){1,4}","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)","background-color":"color","vertical-align":"enum(top,bottom,middle)"},Image:{alt:"string",href:"string",name:"string",src:"string",srcset:"string",sizes:"string",title:"string",rel:"string",align:"enum(left,center,right)",border:"string","border-bottom":"string","border-left":"string","border-right":"string","border-top":"string","border-radius":"unit(px,%){1,4}","container-background-color":"color","fluid-on-mobile":"boolean",padding:"unit(px,%){1,4}","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",target:"string",width:"unit(px)",height:"unit(px,auto)","max-height":"unit(px,%)","font-size":"unit(px)",usemap:"string"},Navbar:{align:"enum(left,center,right)","base-url":"string",hamburger:"string","container-background-color":"color","ico-align":"enum(left,center,right)","ico-open":"string","ico-close":"string","ico-color":"color","ico-font-size":"unit(px,%)","ico-font-family":"string","ico-text-transform":"string","ico-padding":"unit(px,%){1,4}","ico-padding-left":"unit(px,%)","ico-padding-top":"unit(px,%)","ico-padding-right":"unit(px,%)","ico-padding-bottom":"unit(px,%)",padding:"unit(px,%){1,4}","padding-left":"unit(px,%)","padding-top":"unit(px,%)","padding-right":"unit(px,%)","padding-bottom":"unit(px,%)","ico-text-decoration":"string","ico-line-height":"unit(px,%,)"},NavbarLink:{color:"color","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string",href:"string",name:"string",target:"string",rel:"string","letter-spacing":"unitWithNegative(px,em)","line-height":"unit(px,%,)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}","text-decoration":"string","text-transform":"string"},Social:{align:"enum(left,right,center)","border-radius":"unit(px,%)","container-background-color":"color",color:"color","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string","icon-size":"unit(px,%)","icon-height":"unit(px,%)","icon-padding":"unit(px,%){1,4}","inner-padding":"unit(px,%){1,4}","line-height":"unit(px,%,)",mode:"enum(horizontal,vertical)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}","table-layout":"enum(auto,fixed)","text-padding":"unit(px,%){1,4}","text-decoration":"string","vertical-align":"enum(top,bottom,middle)"},SocialElement:{align:"enum(left,center,right)","background-color":"color",color:"color","border-radius":"unit(px)","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string",href:"string","icon-size":"unit(px,%)","icon-height":"unit(px,%)","icon-padding":"unit(px,%){1,4}","line-height":"unit(px,%,)",name:"string","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}","text-padding":"unit(px,%){1,4}",rel:"string",src:"string",srcset:"string",sizes:"string",alt:"string",title:"string",target:"string","text-decoration":"string","vertical-align":"enum(top,middle,bottom)"},Spacer:{border:"string","border-bottom":"string","border-left":"string","border-right":"string","border-top":"string","container-background-color":"color","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}",height:"unit(px,%)"},Raw:{},Table:{align:"enum(left,right,center)",border:"string",cellpadding:"integer",cellspacing:"integer","container-background-color":"color",color:"color","font-family":"string","font-size":"unit(px)","font-weight":"string","line-height":"unit(px,%,)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}",role:"enum(none,presentation)","table-layout":"enum(auto,fixed,initial,inherit)","vertical-align":"enum(top,bottom,middle)",width:"unit(px,%)"}},bu=["mj-class","css-class"],yu=(e,t)=>{switch(e.type){case Lt.TEXT:return xu(e.attributes,mu.Text);case Lt.WRAPPER:case Lt.SECTION:return xu(e.attributes,mu.Section);case Lt.COLUMN:return xu(e.attributes,mu.Column);case Lt.BUTTON:return xu(e.attributes,mu.Button);case Lt.DIVIDER:return xu(e.attributes,mu.Divider);case Lt.GROUP:return xu(e.attributes,mu.Group);case Lt.HERO:return xu(e.attributes,mu.Hero);case Lt.IMAGE:return xu(e.attributes,mu.Image);case Lt.NAVBAR:return xu(e.attributes,mu.Navbar);case Lt.NAVBAR_LINK:return xu(e.attributes,mu.NavbarLink);case Lt.SOCIAL:return xu(e.attributes,mu.Social);case Lt.SOCIAL_ELEMENT:return xu(e.attributes,mu.SocialElement);case Lt.SPACER:return xu(e.attributes,mu.Spacer);case Lt.RAW:return"production"===t?d.omit(xu(e.attributes,mu.Raw),"css-class"):e.attributes}return e.attributes},xu=(e,t)=>d.pickBy(e,((e,r)=>!!bu.includes(r)||Object.keys(t).includes(r))),vu=["padding","mode"];function wu(e,t){var r,n;const{node:i}=e,a=null!=(r=null==t?void 0:t.keepEmptyAttributes)&&r,s=null!=(n=null==t?void 0:t.removeDefaultAttributes)&&n,l=o({},yu(i,null==t?void 0:t.mode)),u=Ja.getBlockByType(i.type).defaultData.attributes;let c="";for(const o in l){const e=o;let t=l[e];d.isString(t)&&(t=null==t?void 0:t.trim());const r=Object.values(Nt).includes(i.type);if((!s||!r||u[e]!==t||vu.includes(e))&&(d.isString(t)&&(t=t.trim(),a||t))){const e=" ";c+=`${o}="${t.replace(/"/gm,"").trim()}"`+e}}return c}const Eu=e=>{const t=Array.from(e.childNodes).filter((e=>e.nodeType!==Node.COMMENT_NODE));if(!t.some((e=>e.nodeType===Node.ELEMENT_NODE&&ku({item:e}))))return t;const r=[],n=function(e){const t=[];let r=null;const n=Array.from(e.childNodes).filter((e=>e.nodeType!==Node.COMMENT_NODE));for(const i of n){let e="inline";i.nodeType===Node.ELEMENT_NODE&&ku({item:i})&&(e="block"),r&&r.display===e||(r={display:e,children:[]},t.push(r)),r.children.push(i)}return t}(e),i=[];n.forEach((e=>{if("inline"===e.display){const t=document.createElement("div");e.children.forEach((e=>{var r;(null==(r=e.textContent)?void 0:r.trim())&&t.appendChild(e)})),t.childNodes.length>0&&i.push(t)}else i.push(...e.children)})),i.forEach(((e,t)=>{if(e instanceof HTMLBRElement){i[t-1]instanceof HTMLBRElement||r.push(t)}})),r.reverse().forEach((e=>{i.splice(e,1)}));const a=document.createElement("div");return a.replaceChildren(...i.map((e=>e.cloneNode(!0)))),Array.from(a.childNodes)},ku=({item:e})=>e instanceof Element&&Mt.includes(e.tagName.toLowerCase()),Au=e=>{const t=document.createElement("div");return t.innerHTML=e,Eu(t).map((e=>Tu(e)))},Tu=e=>{var t,r,n,i;if(e.nodeType===Node.TEXT_NODE){let a=e.textContent||"";return 1===(null==(t=e.parentElement)?void 0:t.childNodes.length)&&e.parentElement.textContent===e.textContent&&(a=e.parentElement.innerHTML.replace(/ /gi," ")||""),a=(null==a?void 0:a.replace(/(?:(?!\u00A0|\xA0)\s)+/g," ").replace(/\n/g,""))||"",e.previousSibling instanceof HTMLBRElement&&(a=a.replace(/^ /,"")),1===(null==(r=e.parentElement)?void 0:r.childNodes.length)&&((null==(n=e.parentElement)?void 0:n.previousSibling)instanceof HTMLBRElement||(null==(i=e.parentElement)?void 0:i.previousSibling)instanceof HTMLDivElement)&&(a=a.replace(/^ /,"")),{text:a}}if(e.nodeType===Node.ELEMENT_NODE&&e instanceof Element){const t={};e.getAttributeNames().forEach((r=>{let n=d.camelCase(r);"class"===n&&(n="className"),t[n]=e.getAttribute(r)||""}));const r=e.tagName.toLowerCase();if("img"===r)return Ja.getBlockByType(Lt.HTML_NODE).create({attributes:t,data:{tagName:"img"},children:[{text:""}]});if("a"===r&&0===e.children.length&&1===e.childNodes.length)return{text:(e.textContent||"").trim(),link:{href:e.getAttribute("href")||"",blank:"_blank"===e.getAttribute("target")}};let n=Eu(e).map((e=>Tu(e)));0===n.length&&n.push({text:""});const i=n[0];return"div"===r&&1===n.length&&Qt.isTextNode(i)&&" "===i.text&&(n=[{text:""}]),Mt.includes(r)?Ja.getBlockByType(Lt.HTML_BLOCK_NODE).create({attributes:t,data:{tagName:r},children:n}):Ja.getBlockByType(Lt.HTML_NODE).create({attributes:t,data:{tagName:r},children:n})}throw console.log("Invalid Node",e),new Error("Invalid node")},Du={text:Lt.STANDARD_PARAGRAPH,button:Lt.STANDARD_BUTTON,image:Lt.STANDARD_IMAGE,divider:Lt.STANDARD_DIVIDER,spacer:Lt.STANDARD_SPACER,social:Lt.STANDARD_SOCIAL,navbar:Lt.STANDARD_NAVBAR,wrapper:Lt.STANDARD_WRAPPER,section:Lt.STANDARD_SECTION,group:Lt.STANDARD_GROUP,column:Lt.STANDARD_COLUMN,advanced_text:Lt.STANDARD_TEXT,advanced_button:Lt.STANDARD_BUTTON,advanced_image:Lt.STANDARD_IMAGE,advanced_divider:Lt.STANDARD_DIVIDER,advanced_hero:Lt.STANDARD_HERO,advanced_spacer:Lt.STANDARD_SPACER,advanced_social:Lt.STANDARD_SOCIAL,advanced_navbar:Lt.STANDARD_NAVBAR,advanced_wrapper:Lt.STANDARD_WRAPPER,advanced_section:Lt.STANDARD_SECTION,advanced_group:Lt.STANDARD_GROUP,advanced_column:Lt.STANDARD_COLUMN},Su=(e,t)=>{var r,n,i,a;let s,l,u=e.children.map((t=>Su(t,e)));if(e.data.value.content&&(u=Au(e.data.value.content)),"navbar"===e.type||"advanced_navbar"===e.type){u=e.data.value.links.map((e=>{const t=Au(e.content);return Ja.getBlockByType(Lt.STANDARD_NAVBAR_LINK).create({attributes:o({},d.omit(e,"content")),children:0===t.length?[{text:""}]:t})}))}if("social"===e.type||"advanced_social"===e.type){u=e.data.value.elements.map((e=>{const t=Au(e.content);return Ja.getBlockByType(Lt.STANDARD_SOCIAL_ELEMENT).create({attributes:o({},d.omit(e,"content")),children:0===t.length?[{text:""}]:t})}))}0===u.length&&(u=[{text:""}]),"desktop"===e.displayMode?s="desktop":"mobile"===e.displayMode&&(s="mobile"),(null==(r=e.data.value)?void 0:r.condition)&&(l||(l={}),l.condition=null==(n=e.data.value)?void 0:n.condition),(null==(i=e.data.value)?void 0:i.iteration)&&(l||(l={}),l.iteration=null==(a=e.data.value)?void 0:a.iteration);const c={type:Du[e.type]||e.type,attributes:d.pickBy(e.attributes,(e=>!d.isUndefined(e)&&""!==e.trim())),mobileAttributes:e.mobileAttributes?d.pickBy(e.mobileAttributes,(e=>!d.isUndefined(e)&&""!==e.trim())):void 0,data:d.omit(e.data.value,"content"),children:u,visible:s,logic:l},p=d.get(c.attributes,"padding"),h=d.get(c.attributes,"inner-padding");if(p){const e=document.createElement("div");e.style.setProperty("padding",p),d.set(c.attributes,"padding-top",e.style.paddingTop),d.set(c.attributes,"padding-bottom",e.style.paddingBottom),d.set(c.attributes,"padding-left",e.style.paddingLeft),d.set(c.attributes,"padding-right",e.style.paddingRight)}if(h){const e=document.createElement("div");e.style.setProperty("padding",h),d.set(c.attributes,"inner-padding-top",e.style.paddingTop),d.set(c.attributes,"inner-padding-bottom",e.style.paddingBottom),d.set(c.attributes,"inner-padding-left",e.style.paddingLeft),d.set(c.attributes,"inner-padding-right",e.style.paddingRight)}if([Lt.STANDARD_HERO,Lt.STANDARD_SECTION].includes(c.type)&&(c.attributes["background-image-enabled"]=!0),[Lt.STANDARD_BUTTON,Lt.STANDARD_IMAGE,Lt.STANDARD_SECTION].includes(c.type)){const e=document.createElement("div");e.style.setProperty("border",c.attributes.border),(c.attributes.border&&"none"!==c.attributes.border.trim()||c.attributes["border-width"])&&(c.attributes["border-width"]=e.style.getPropertyValue("border-width"),c.attributes["border-style"]=e.style.getPropertyValue("border-style"),c.attributes["border-color"]=e.style.getPropertyValue("border-color"),c.attributes["border-enabled"]=!0,delete c.attributes.border)}const _=d.pickBy(c,d.identity);return["advanced_text","advanced_image","advanced_divider","advanced_spacer","advanced_button","advanced_navbar","advanced_social","advanced_social"].includes(e.type)&&t&&!t.type.includes("column")?Ja.getBlockByType(Lt.STANDARD_SECTION).create({attributes:{"padding-top":"0px","padding-bottom":"0px","padding-left":"0px","padding-right":"0px"},children:[Ja.getBlockByType(Lt.STANDARD_COLUMN).create({children:[_]})]}):_},Nu=e=>{if(e.attributes.padding){const t=document.createElement("div");t.style.padding=d.get(e.attributes,"padding"),d.get(e.attributes,"padding-top")&&(t.style.paddingTop=d.get(e.attributes,"padding-top")),d.get(e.attributes,"padding-bottom")&&(t.style.paddingTop=d.get(e.attributes,"padding-bottom")),d.get(e.attributes,"padding-left")&&(t.style.paddingTop=d.get(e.attributes,"padding-left")),d.get(e.attributes,"padding-right")&&(t.style.paddingTop=d.get(e.attributes,"padding-right")),delete e.attributes.padding,e.attributes["padding-top"]=t.style.paddingTop,e.attributes["padding-bottom"]=t.style.paddingBottom,e.attributes["padding-left"]=t.style.paddingLeft,e.attributes["padding-right"]=t.style.paddingRight}if(e.attributes["inner-padding"]){const t=document.createElement("div");t.style.padding=d.get(e.attributes,"inner-padding"),d.get(e.attributes,"inner-padding-top")&&(t.style.paddingTop=d.get(e.attributes,"inner-padding-top")),d.get(e.attributes,"inner-padding-bottom")&&(t.style.paddingTop=d.get(e.attributes,"inner-padding-bottom")),d.get(e.attributes,"inner-padding-left")&&(t.style.paddingTop=d.get(e.attributes,"inner-padding-left")),d.get(e.attributes,"inner-padding-right")&&(t.style.paddingTop=d.get(e.attributes,"inner-padding-right")),delete e.attributes["inner-padding"],e.attributes["inner-padding-top"]=t.style.paddingTop,e.attributes["inner-padding-bottom"]=t.style.paddingBottom,e.attributes["inner-padding-left"]=t.style.paddingLeft,e.attributes["inner-padding-right"]=t.style.paddingRight}return e};function Ru(e){const t=e=>{var r,n,i,a,s,u,c,p,h,_;const f=e.attributes;if("mjml"===e.tagName){const d=null==(r=e.children)?void 0:r.find((e=>"mj-body"===e.tagName));if(!d)throw new Error("Invalid content");const _=null==(n=e.children)?void 0:n.find((e=>"mj-head"===e.tagName)),f=(null==(i=null==_?void 0:_.children)?void 0:i.filter((e=>"mj-font"===e.tagName)).map((e=>({name:e.attributes.name,href:e.attributes.href}))))||[],g=null==(a=null==_?void 0:_.children)?void 0:a.filter((e=>"mj-style"===e.tagName)).map((e=>({content:e.content||"",inline:e.inline}))),m=null==(s=null==_?void 0:_.children)?void 0:s.find((e=>"mj-breakpoint"===e.tagName)),b=null==(u=null==_?void 0:_.children)?void 0:u.find((e=>"mj-preview"===e.tagName)),y=Ja.getBlockByType(Lt.PAGE).create({attributes:o({"margin-top":"0px","margin-bottom":"0px"},d.attributes),children:null==(c=d.children)?void 0:c.map(t),data:{headStyles:g,fonts:f,breakpoint:null==m?void 0:m.attributes.breakpoint,preheader:null==b?void 0:b.content}});return((null==(h=null==(p=null==_?void 0:_.children)?void 0:p.find((e=>"mj-attributes"===e.tagName)))?void 0:h.children)||[]).forEach((e=>{if("mj-all"===(e=Nu(e)).tagName)y.data.globalAttributes=o(o({},y.data.globalAttributes),e.attributes);else if("mj-class"===e.tagName){const t=e.attributes.name;delete e.attributes.name,y.data.classAttributes=l(o({},y.data.classAttributes),{[t]:e.attributes})}else y.data.categoryAttributes=l(o({},y.data.categoryAttributes),{[e.tagName.replace("mj-","")]:e.attributes})})),y}{const r=e.tagName.replace("mj-","").toLowerCase(),n=Ja.getBlockByType(r);if(!n)throw new Error(`${r} block no found `);if("social"===r){(null==(_=e.children)?void 0:_.every((e=>!("mj-social-element"!==e.tagName||d.get(e,"attributes.padding")||d.get(e,"attributes.padding-left")||d.get(e,"attributes.padding-right")||d.get(e,"attributes.padding-top")||d.get(e,"attributes.padding-bottom")))))&&(f.spacing="8px")}"social-element"===r&&f.src&&(f.mode="custom");const i={type:n.type,attributes:f,data:{},children:[]};switch(n.type){case Lt.TEXT:case Lt.BUTTON:case Lt.NAVBAR_LINK:case Lt.SOCIAL_ELEMENT:i.children=Au(e.content||"");break;case Lt.TABLE:i.data.code=e.content||"";break;default:e.children&&(i.children=e.children.map(t))}0===i.children.length&&(i.children=[{text:""}]);return function(e){const t="standard-"+e.type;switch(e.type){case Lt.WRAPPER:case Lt.HERO:case Lt.SECTION:case Lt.GROUP:case Lt.COLUMN:case Lt.TEXT:case Lt.BUTTON:case Lt.IMAGE:case Lt.NAVBAR:case Lt.SOCIAL:case Lt.DIVIDER:case Lt.SPACER:case Lt.SOCIAL_ELEMENT:case Lt.NAVBAR_LINK:case Lt.TABLE:const r=o({},e);return[Lt.HERO,Lt.SECTION].includes(e.type)&&(r.attributes["background-image-enabled"]=!0),[Lt.BUTTON,Lt.IMAGE,Lt.SECTION].includes(e.type)&&(r.attributes.border&&"none"!==r.attributes.border.trim()||r.attributes["border-width"])&&(r.attributes["border-enabled"]=!0),l(o({},Nu(e)),{type:t})}return e}(n.create(i))}};return t(e)}const Ou={id:"__easy_email_ai_agent_no_initial_selection__"};function Lu(e){return"selected"in e&&!0===e.selected}const Bu="AI_AGENT";function Cu(){if(!wt.getFeatureEnabled(Bu))throw new Error("Current plan do not support AI Agent")}function Iu(e){return p(this,null,(function*(){const t=yield e.text().catch((()=>""));if(!t)return`${e.status} ${e.statusText}`;try{const e=JSON.parse(t);if("string"==typeof e.error)return e.error;if("string"==typeof e.message)return e.message}catch(r){}return t}))}function qu(e){let t="";const r=[];e.split(/\r?\n/).forEach((e=>{e&&!e.startsWith(":")&&(e.startsWith("event:")?t=e.slice(6).trim():e.startsWith("data:")&&r.push(e.slice(5).trimStart()))}));const n=r.join("\n");if(!n)return null;try{const e=JSON.parse(n);return!e.type&&t&&(e.type=t),e}catch(i){return null}}function Pu(e,t){return p(this,null,(function*(){const r=e.getReader(),n=new TextDecoder;let i="";const a=[];for(;;){const{done:e,value:s}=yield r.read();if(e)break;i+=n.decode(s,{stream:!0});const o=i.split(/\n\n|\r\n\r\n/);i=o.pop()||"";for(const r of o){const e=qu(r);e&&(a.push(e),null==t||t(e))}}i+=n.decode();const s=qu(i);return s&&(a.push(s),null==t||t(s)),a}))}function Mu(e){return"standard-image"===e||"image"===e}function Uu(e,t){return!!e&&((!("id"in e)||e.id!==Ou.id)&&Mu("type"in e?e.type:t))}function Fu(e,t){return!!e&&(!("type"in e)&&("high"===t||("id"in e||"uid"in e||"selected"in e)))}function ju(e,t){return!(!e||!t)&&("id"in e&&"id"in t?e.id===t.id:"uid"in e&&"uid"in t&&e.uid===t.uid)}function zu(e){const t=e.width&&e.height?`${e.width}x${e.height}`:"";return[e.title,t].filter(Boolean).join(" · ")||void 0}const Hu=Object.values(Lt),Vu=new Set(Hu),$u={[Lt.PAGE]:"page",[Lt.HERO]:"hero",[Lt.STANDARD_HERO]:"hero",[Lt.WRAPPER]:"wrapper",[Lt.STANDARD_WRAPPER]:"wrapper",[Lt.SECTION]:"section",[Lt.STANDARD_SECTION]:"section",[Lt.GROUP]:"group",[Lt.STANDARD_GROUP]:"group",[Lt.COLUMN]:"column",[Lt.STANDARD_COLUMN]:"column",[Lt.NAVBAR_LINK]:"unset",[Lt.STANDARD_NAVBAR_LINK]:"unset",[Lt.SOCIAL_ELEMENT]:"unset",[Lt.STANDARD_SOCIAL_ELEMENT]:"unset",[Lt.MERGETAG]:"inline",[Lt.LINE_BREAK]:"inline",[Lt.HTML_NODE]:"inline",[Lt.STANDARD_TABLE2_TR]:"table-row",[Lt.STANDARD_TABLE2_TD]:"table-cell"},Gu=new Set([Lt.TEXT,Lt.STANDARD_TEXT,Lt.STANDARD_PARAGRAPH,Lt.STANDARD_H1,Lt.STANDARD_H2,Lt.STANDARD_H3,Lt.STANDARD_H4,Lt.BUTTON,Lt.STANDARD_BUTTON,Lt.IMAGE,Lt.STANDARD_IMAGE,Lt.DIVIDER,Lt.STANDARD_DIVIDER,Lt.SPACER,Lt.STANDARD_SPACER,Lt.NAVBAR,Lt.STANDARD_NAVBAR,Lt.SOCIAL,Lt.STANDARD_SOCIAL,Lt.TABLE,Lt.STANDARD_TABLE,Lt.STANDARD_TABLE2,Lt.STANDARD_TEXT_LIST,Lt.STANDARD_TEXT_LIST_ITEM,Lt.STANDARD_BLOCK_QUOTE,Lt.DANGEROUS_CODE,Lt.HTML_BLOCK_NODE,Lt.HTML_DOM_NODE,Lt.CONTENT_WIDGET,Lt.SECTION_WIDGET,Lt.WRAPPER_WIDGET,Lt.RAW]);function Wu(e){return Boolean(e&&"object"==typeof e&&!Array.isArray(e))}function Ku(e){return Wu(e)&&"text"in e&&!("type"in e)}function Xu(e){var t;return Ku(e)?l(o({},e),{text:"string"==typeof e.text?e.text:String(null!=(t=e.text)?t:"")}):Wu(e)&&"string"==typeof e.type?l(o({},e),{data:Wu(e.data)?e.data:{},attributes:Wu(e.attributes)?e.attributes:{},children:Array.isArray(e.children)?e.children.map(Xu):[]}):e}function Ju(e){return Gu.has(e)?"content":$u[e]||null}function Yu(e,t){if(Ku(e))return"string"==typeof e.text?[]:[{path:`${t.path}.text`,code:"invalid_text",message:"Text node text must be a string"}];if(!Wu(e))return[{path:t.path,code:"invalid_element",message:"Easy Email node must be an object"}];const r=[],n=e.type;if("string"!=typeof n)return r.push({path:`${t.path}.type`,code:"missing_field",message:"Easy Email element type is required"}),r;if(!Vu.has(n))return r.push({path:`${t.path}.type`,code:"unknown_type",message:`Unknown Easy Email element type: ${n}`}),r;(function(e,t){if(!t)return e===Lt.PAGE;const r=Ju(e),n=Ju(t);return!(!r||!n||("wrapper"===r?"page"!==n:"section"===r?"page"!==n&&"wrapper"!==n:"group"===r?"section"!==n:"column"===r?"section"!==n&&"group"!==n:"content"===r?"column"!==n&&"hero"!==n&&"content"!==n:"inline"===r?"content"!==n:"unset"===r?(e!==Lt.NAVBAR_LINK&&e!==Lt.STANDARD_NAVBAR_LINK||t!==Lt.NAVBAR&&t!==Lt.STANDARD_NAVBAR)&&(e!==Lt.SOCIAL_ELEMENT&&e!==Lt.STANDARD_SOCIAL_ELEMENT||t!==Lt.SOCIAL&&t!==Lt.STANDARD_SOCIAL):"table-row"===r?t!==Lt.STANDARD_TABLE2:"table-cell"!==r||t!==Lt.STANDARD_TABLE2_TR))})(n,t.parentType)||r.push({path:t.path,code:"invalid_parent",message:t.parentType?`${n} cannot be a child of ${t.parentType}`:`${n} cannot be used as the root element`}),Wu(e.data)||r.push({path:`${t.path}.data`,code:"missing_field",message:`${n}.data must be an object`}),Wu(e.attributes)||r.push({path:`${t.path}.attributes`,code:"missing_field",message:`${n}.attributes must be an object`});const i=t.ids||new Set,a=t.uids||new Set;return"string"==typeof e.id&&e.id&&(i.has(e.id)&&r.push({path:`${t.path}.id`,code:"duplicate_id",message:`Duplicate Easy Email element id: ${e.id}`}),i.add(e.id)),"string"==typeof e.uid&&e.uid&&(a.has(e.uid)&&r.push({path:`${t.path}.uid`,code:"duplicate_uid",message:`Duplicate Easy Email element uid: ${e.uid}`}),a.add(e.uid)),Array.isArray(e.children)?(e.children.forEach(((e,s)=>{r.push(...Yu(e,{path:`${t.path}.children.${s}`,parentType:n,ids:i,uids:a}))})),r):(r.push({path:`${t.path}.children`,code:"missing_field",message:`${n}.children must be an array`}),r)}function Qu(e){return function(e,t={}){const r=Yu(e,{path:t.path||"content",parentType:t.parentType,ids:new Set,uids:new Set});return{valid:0===r.length,errors:r}}(Wu(e)&&"content"in e?e.content:e,{path:"content"})}function Zu(e){if(Ku(e))return[Xu(e)];if(!Wu(e)||"string"!=typeof e.type)return[];const t=Xu(e);if(!Wu(t)||"string"!=typeof t.type)return[];const r=Ju(t.type);return"content"===r||"inline"===r?[ec(t,Lt.COLUMN)]:Array.isArray(t.children)?t.children.flatMap(Zu):[]}function ec(e,t){if(Ku(e))return Xu(e);const r=Xu(e);if(!Wu(r)||"string"!=typeof r.type)return r;const n=(Array.isArray(r.children)?r.children:[]).flatMap((e=>{const t=Wu(e)&&"string"==typeof e.type?e.type:null,n=t?Ju(t):null,i=Ju(r.type);return(r.type!==Lt.COLUMN&&r.type!==Lt.STANDARD_COLUMN||"section"!==n&&"group"!==n&&"column"!==n)&&("content"!==i||"wrapper"!==n&&"section"!==n&&"group"!==n&&"column"!==n)?[ec(e,r.type)]:Zu(e)}));return l(o({},r),{children:n})}function tc(e){const t=function(e){return Wu(e)?"content"in e?l(o({},e),{content:Xu(e.content)}):Xu(e):e}(e);return Wu(t)?"content"in t?l(o({},t),{content:ec(t.content)}):ec(t):t}const rc={type:"json_schema",name:"easy_email_ask_response",strict:!0,schema:{type:"object",additionalProperties:!1,required:["language","intent","payload"],properties:{language:{type:"string"},intent:{type:"string",enum:["answer"]},payload:{type:"object",additionalProperties:!1,required:["answer","summary","confidence","decision","toolCallsJson","image"],properties:{answer:{type:"string"},summary:{type:"null"},confidence:{type:"null"},decision:{type:"null"},toolCallsJson:{type:"null"},image:{type:"null"}}}}}},nc={type:"json_schema",name:"easy_email_action_response",strict:!0,schema:{type:"object",additionalProperties:!1,required:["language","intent","payload"],properties:{language:{type:"string"},intent:{type:"string",enum:["decision_request","tool_calls","image"]},payload:{type:"object",additionalProperties:!1,required:["answer","summary","confidence","decision","toolCallsJson","image"],properties:{answer:{type:"null"},summary:{type:["string","null"]},confidence:{type:["string","null"],enum:["high","ambiguous","low",null]},decision:{type:["object","null"],additionalProperties:!1,required:["id","kind","title","message","choices","allowCustom","required"],properties:{id:{type:"string"},kind:{type:"string",enum:["style_direction","target_block","missing_detail"]},title:{type:"string"},message:{type:"string"},allowCustom:{type:"boolean"},required:{type:"boolean"},choices:{type:"array",items:{type:"object",additionalProperties:!1,required:["id","label","description","prompt","thumbnail","target","value"],properties:{id:{type:"string"},label:{type:"string"},description:{type:["string","null"]},prompt:{type:["string","null"]},thumbnail:{type:["string","null"]},target:{type:["object","null"],additionalProperties:!1,required:["selected","id","uid","type","index"],properties:{selected:{type:["boolean","null"]},id:{type:["string","null"]},uid:{type:["string","null"]},type:{type:["string","null"]},index:{type:["number","null"]}}},value:{type:["string","null"]}}}}}},toolCallsJson:{type:["string","null"]},image:{type:["object","null"],additionalProperties:!1,required:["action","prompt","size","target","confidence","candidates","imageIntent"],properties:{action:{type:"string",enum:["generate","edit"]},prompt:{type:"string"},size:{type:"string",enum:["auto","1024x1024","1536x1024","1024x1536"]},target:{type:["object","null"],additionalProperties:!1,required:["selected","id","uid","type","index"],properties:{selected:{type:["boolean","null"]},id:{type:["string","null"]},uid:{type:["string","null"]},type:{type:["string","null"]},index:{type:["number","null"]}}},confidence:{type:"string",enum:["high","ambiguous","low"]},candidates:{type:"array",items:{type:"object",additionalProperties:!1,required:["id","label","description","prompt","thumbnail","target","value"],properties:{id:{type:"string"},label:{type:"string"},description:{type:["string","null"]},prompt:{type:["string","null"]},thumbnail:{type:["string","null"]},target:{type:["object","null"],additionalProperties:!1,required:["selected","id","uid","type","index"],properties:{selected:{type:["boolean","null"]},id:{type:["string","null"]},uid:{type:["string","null"]},type:{type:["string","null"]},index:{type:["number","null"]}}},value:{type:["string","null"]}}}},imageIntent:{type:"string",enum:["replace","insert","attach"]}}}}}}}},ic={type:"json_schema",name:"easy_email_reference_rewrite_response",strict:!0,schema:{type:"object",additionalProperties:!1,required:["language","intent","payload"],properties:{language:{type:"string"},intent:{type:"string",enum:["tool_calls"]},payload:{type:"object",additionalProperties:!1,required:["answer","summary","confidence","decision","toolCallsJson","templateJson","image"],properties:{answer:{type:"null"},summary:{type:"string"},confidence:{type:"string",enum:["high"]},decision:{type:"null"},toolCallsJson:{type:"null"},templateJson:{type:"string",description:"A JSON object string that starts with { and parses to a complete Easy Email template."},image:{type:"null"}}}}}},ac={type:"json_schema",name:"easy_email_intent_router_response",strict:!0,schema:{type:"object",additionalProperties:!1,required:["intent","confidence","reason"],properties:{intent:{type:"string",enum:["ask","action","reference_rewrite"]},confidence:{type:"string",enum:["high","low"]},reason:{type:"string"}}}};function sc(e){if(!e||"object"!=typeof e)return null;const t=e;return{currentSnapshotId:"string"==typeof t.currentSnapshotId?t.currentSnapshotId:null,snapshots:Array.isArray(t.snapshots)?t.snapshots.slice(-20).map((e=>({id:e.id,title:e.title,summary:e.summary,createdAt:e.createdAt}))):[],messages:Array.isArray(t.messages)?t.messages.slice(-16).map((e=>({role:e.role,content:e.content,status:e.status,createdAt:e.createdAt,attachments:Array.isArray(e.attachments)?e.attachments.map((e=>{const t=e;return{type:t.type,name:t.name,mimeType:t.mimeType}})):[]}))):[]}}function oc(e){if(!e||"object"!=typeof e)return!1;const t=e.messages;return!!Array.isArray(t)&&t.some((e=>{if(!e||"object"!=typeof e)return!1;if("user"!==e.role)return!1;const t=e.attachments;return Array.isArray(t)&&t.some((e=>{if(!e||"object"!=typeof e)return!1;const t=e,r="string"==typeof t.type?t.type:"",n="string"==typeof t.mimeType?t.mimeType:"";return"image"===r||n.startsWith("image/")}))}))}function lc(e){if(!e||"object"!=typeof e)return[];const t=e.messages;if(!Array.isArray(t))return[];const r=[];for(const n of t.slice(-8)){if(!n||"object"!=typeof n)continue;if("user"!==n.role)continue;const e=n.attachments;if(Array.isArray(e))for(const t of e){if(!t||"object"!=typeof t)continue;const e=t,n="string"==typeof e.url?e.url:void 0,i="string"==typeof e.dataUrl?e.dataUrl:void 0,a="string"==typeof e.mimeType?e.mimeType:void 0,s="string"==typeof e.type?e.type:"";(n||i)&&(("image"===s||(null==a?void 0:a.startsWith("image/")))&&r.push({id:"string"==typeof e.id?e.id:void 0,name:"string"==typeof e.name?e.name:"reference-image",mimeType:a||"image/png",url:n,dataUrl:i,size:"number"==typeof e.size?e.size:void 0}))}}return r}function uc(e){const t=new Set;return e.filter((e=>{const r=e.url||e.dataUrl||e.id||e.name;return!!r&&(!t.has(r)&&(t.add(r),!0))}))}function cc(e){const t="ask"===e.intent,r="action"===e.intent,n="reference_rewrite"===e.intent;return["You are an AI assistant inside a visual Easy Email Pro email editor.","Always write user-facing text in the same language as the latest user message. This includes answers, summaries, decision titles, decision messages, decision choice labels/descriptions, and image summaries.","First infer the latest user message language. Put that language in the top-level language field, such as the language name or a BCP 47 tag.","The language value is metadata only. Do not let the example JSON language placeholder decide the response language.","Decide whether the latest user message is asking a question or asking you to change the email.","Return exactly one JSON object matching the provided schema. Use null for fields that do not apply and [] for unused arrays.","For any edit result, write summary as a completed-change summary, not a plan. Say what was changed in 1-2 short sentences. Do not say 'I will', '我会', or describe future intent after changes are applied.","",...t?["ASK MODE:","The router classified the latest user message as a question or strategy discussion.","Return intent=answer only. Do not propose tool calls or template changes.",""]:[],...r?["ACTION MODE:","The router classified the latest user message as a request to change the email or an email asset.","Do not return intent=answer. Do not only confirm that you can make the change.","Return executable tool_calls or image. Use the current template, editor context, reference images, and conversation history to make the best reasonable edit.","When the user asks to change the layout or structure to match a reference image or previous context, treat that as a request to move the whole email closer to the reference layout unless a selected block is clearly the target.","For reference layout requests, choose the best full-match direction yourself and return tool_calls; do not ask which layout direction to use.","Return decision_request only when there is no safe target or the request has multiple materially different meanings that would cause a likely unwanted change.",""]:[],...n?["REFERENCE DESIGN REWRITE MODE:","The user uploaded a reference/design image and explicitly asked to recreate or rewrite the whole template from it.","Do not ask a decision question. Do not return decision_request. Do not ask which direction to use.","Return intent=tool_calls with payload.templateJson containing the complete rewritten Easy Email template as a JSON string.","payload.templateJson must start with { and end with }. Do not put Markdown, prose, comments, or another quoted JSON string inside templateJson.","The templateJson must parse to a complete Easy Email template object using the current template shape: include subject when present and content as a page element with type='page', attributes, data, and children.","Use only legal Easy Email hierarchy: page children are standard-section, standard-wrapper, or standard-hero. standard-section children are standard-column or standard-group. standard-group children are standard-column. standard-column children are content blocks such as standard-paragraph, standard-h1, standard-h2, standard-h3, standard-h4, standard-button, standard-image, standard-divider, standard-spacer, standard-navbar, standard-social, or standard-table. Never put a section inside a column.","Match the reference image overall, including layout, typography, color, spacing, hierarchy, and content structure. Use the current template only as a starting point.","Set payload.toolCallsJson=null. The worker will wrap templateJson into an apply_template tool call.",""]:[],...t?["If the latest user message asks a question or discusses strategy without requesting an immediate edit, return:",'{"language":"<latest-user-message-language>","intent":"answer","payload":{"answer":"Concise answer in the same language as the latest user message.","summary":null,"confidence":null,"decision":null,"toolCallsJson":null,"image":null}}',""]:[],...n||t?[]:["If an edit cannot be made safely because the target or required detail is genuinely missing, ask the user to choose before editing. Return:",'{"language":"<latest-user-message-language>","intent":"decision_request","payload":{"answer":null,"summary":null,"confidence":null,"decision":{"id":"style-direction","kind":"style_direction","title":"Short title in the same language as the latest user message","message":"Short question in the same language as the latest user message","allowCustom":true,"required":false,"choices":[{"id":"premium","label":"Choice label in the same language as the latest user message","description":"Choice description in the same language as the latest user message","prompt":"Instruction in the same language as the latest user message.","thumbnail":null,"target":null,"value":null}]},"toolCallsJson":null,"image":null}}',"Do not ask a decision question only because the request is broad. For broad style, layout, or conversion improvements, make a best-effort edit using the available template and reference context.","If the user asks for the layout to follow a reference or previous image, apply the closest layout you can with available tool calls instead of asking for a direction.","Do not ask a decision question for clear quick actions such as translate, shorten, update CTA, or when the user has already answered a decisionResponse.","Do not ask a decision question when the latest user message explicitly asks to match an uploaded/reference/design image overall, recreate a design, rewrite the template from a reference, or make it pixel-by-pixel close to the reference.",""],...t?[]:["If the latest user message asks to generate, create, design, redraw, restyle, edit, modify, retouch, or transform an image asset, return:",'{"language":"<latest-user-message-language>","intent":"image","payload":{"answer":null,"summary":"Completed-change summary in the same language as the latest user message","confidence":"high","decision":null,"toolCallsJson":null,"image":{"action":"generate","prompt":"Detailed image prompt for the image model.","size":"auto","target":{"selected":null,"id":"real-id-from-template","uid":null,"type":null,"index":null},"confidence":"high","candidates":[],"imageIntent":"replace"}}}',"Use action=edit when uploaded/reference images are provided and the user asks to modify or transform them. Use action=generate when creating a new image from text.","Choose size from the user's requested image format: 1536x1024 for landscape/banner/hero-wide, 1024x1536 for portrait/story/tall, 1024x1024 for square, or auto when the user did not specify an aspect ratio.","For image requests, choose target from Current editor selection context selected when it is an image asset, otherwise choose from Current editor selection context images. The image list includes normal image blocks (attributeKey=src) and background images on supported blocks such as section, wrapper/container, and hero (attributeKey=background-url). Match the screenshot/user wording to the image list by role, source, size, order, title, src, and dimensions. Prefer exact id/uid from the image list.","A screenshot or uploaded reference image is not an editor selection. If no image block is selected and several image blocks could match, do not guess the replacement block.","Do not use {type,index} as a high-confidence image replacement target. If you cannot identify a specific image block id/uid, set image.confidence=ambiguous, image.target=null, include candidates, and include a target_block decision in payload.decision.","For image prompts, include the desired subject, composition, style, visible text requirements, and any constraints from the email/template context.","","If the latest user message asks to edit, rewrite, translate, recolor, resize, move, add, remove, or restyle the email, prefer small tool calls and return:",'{"language":"<latest-user-message-language>","intent":"tool_calls","payload":{"answer":null,"summary":"Completed-change summary in the same language as the latest user message","confidence":"high","decision":null,"toolCallsJson":"[{\\"name\\":\\"update_text\\",\\"target\\":{\\"id\\":\\"real-id-from-template\\"},\\"text\\":\\"new text\\"}]","image":null}}',"toolCallsJson must be a JSON string containing an array of tool calls. If the edit direction, target block, or required detail is unclear, set payload.confidence=ambiguous, include a decision, and set toolCallsJson=null.",'For an explicit reference design rewrite, full-template recreation, or pixel-by-pixel match request, use toolCallsJson with a single apply_template call: [{"name":"apply_template","template":{...full Easy Email Pro template JSON...}}]. This is allowed only for those explicit full-template reference-design requests.',""],'Tool target can be {"selected":true}, {"id":"real-id-from-template"}, {"uid":"real-uid-from-template"}, or {"type":"block-type","index":0}. Never invent ids such as subject, header, hero, title, or cta. Use only ids/uids that appear in Current template JSON.','Use {"selected":true} only when Current editor selection context has a selected node and the user explicitly refers to the selected/current/this block. If selected is null, never use {"selected":true}.',"When the user says current block, selected block, this section, or this block, scope the edit to Current editor selection context selected. If selected.descendants contains multiple matching text nodes, generate tool calls for every matching descendant, not just the first match.","When the user mentions mobile, phone, small screen, responsive mobile, or asks to change only mobile styles, use update_mobile_attribute so desktop attributes remain unchanged.","Use update_attribute for desktop/default styles. Use update_mobile_attribute for mobile-only overrides. The key should be the raw attribute key such as font-size, padding-top, width, align, or line-height, not mobileAttributes.font-size.","For broad style requests such as brand color, inspect the template and target the relevant existing nodes by real id/uid/type. Make a best-effort edit across the relevant existing nodes; ask a decision question only when there is no safe target.","Available tool call names:",'- update_text: {"name":"update_text","target":target,"text":"new text"}','- update_attribute: {"name":"update_attribute","target":target,"key":"background-color","value":"#111111"}','- update_mobile_attribute: {"name":"update_mobile_attribute","target":target,"key":"font-size","value":"12px"}. Use this for mobile-only style changes.','- update_attributes: {"name":"update_attributes","target":target,"scope":"desktop","attributes":{"font-size":"14px","line-height":"1.4"}}. Use this when changing multiple style attributes on one block. Use scope=mobile for mobile-only attributes.','- update_data: {"name":"update_data","target":target,"key":"...","value":...}','- replace_children: {"name":"replace_children","target":target,"children":[...]}','- set_visibility: {"name":"set_visibility","target":target,"desktop":true,"mobile":false}. Use this to show a block only on desktop/mobile or restore both devices.','- replace_block: {"name":"replace_block","target":target,"block":{...Easy Email node...}}. Use this to replace one existing block, not the whole template.','- update_link: {"name":"update_link","target":target,"href":"https://example.com","blank":true,"title":"Optional title"}. Use this for button, image, navbar, and social links.','- move_up / move_down / duplicate / delete_node: {"name":"move_up","target":target}','- add_block_after: {"name":"add_block_after","target":target,"block":{...Easy Email node...}}','- add_block_before: {"name":"add_block_before","target":target,"block":{...Easy Email node...}}. Use this for requests like adding content above/before an existing price or heading.','- select_node: {"name":"select_node","target":target}','- apply_template: {"name":"apply_template","template":{...full Easy Email Pro template JSON...}}. Use only for explicit full-template reference-design or pixel-by-pixel rewrite requests.',"For update_text, target text-bearing nodes such as standard-paragraph, standard-button, or html-block-node. Do not target page, standard-section, or standard-column for text replacement.","For merchandising price edits, distinguish update vs add. If the user asks to add a compare price / original price / crossed-out price, do not overwrite the current price text. Insert a separate text block before/above the current price, or replace the local product card structure if needed. For a selected/current block containing multiple product prices, apply the same rule to each matching price in that block and calculate compare prices from each current price.","When generating new blocks, keep the Easy Email hierarchy valid: page -> standard-section/standard-wrapper/standard-hero -> standard-column -> content blocks. Never nest standard-section under standard-column.","","Preservation rules:","- Do not recreate the template from scratch for small edits.","- Preserve id, uid, title, visible, mobileAttributes, outputTarget, logic, and unknown fields unless directly involved.","- Never replace text children with raw strings. Easy Email text children must remain TextNode objects.","- Never output custom schemas such as brand/hero/products.","","Current editor selection context:",JSON.stringify(e.editorContext||null,null,2),"","Recent conversation history:",JSON.stringify(sc(e.history),null,2),"","User decision response, if any:",JSON.stringify(e.decisionResponse||null,null,2),"","Current template JSON:",JSON.stringify(e.template||null,null,2),"","Latest user message:",e.userPrompt].join("\n")}function pc(e){const t=function(e){const t=e.trim(),r=t.match(/^```(?:json)?\s*([\s\S]*?)\s*```$/i);return r?r[1].trim():t}(e).trim();try{return JSON.parse(t),t}catch(o){}const r=[t.indexOf("{"),t.indexOf("[")].filter((e=>e>=0));if(!r.length)return t;const n=Math.min(...r),i=[];let a=!1,s=!1;for(let l=n;l<t.length;l+=1){const e=t[l];if(a)s?s=!1:"\\"===e?s=!0:'"'===e&&(a=!1);else if('"'!==e)if("{"!==e)if("["!==e){if("}"===e||"]"===e){if(i[i.length-1]!==e)break;if(i.pop(),0===i.length)return t.slice(n,l+1)}}else i.push("]");else i.push("}");else a=!0}return t}function dc(e){const t=JSON.parse(pc(e)),r=Bc(t.payload)?t.payload:{},n=t.intent||(t.toolCalls?"tools":t.template?"modify":t.prompt&&t.action?"image":t.answer?"answer":null);if("answer"===n)return{type:"easy_email_answer",payload:{answer:String(r.answer||t.answer||"OK.")}};if("decision_request"===n)return{type:"decision_request",payload:kc(Bc(r.decision)?r.decision:t)};if("tools"===n||"tool_calls"===n){const e=r.confidence||t.confidence;if("ambiguous"===e||"low"===e)return{type:"decision_request",payload:kc(Bc(r.decision)?r.decision:t)};const n="string"==typeof r.toolCallsJson?gc(r.toolCallsJson):Array.isArray(r.toolCalls)?fc(r.toolCalls):Array.isArray(t.toolCalls)?t.toolCalls:[];return n.length?{type:"easy_email_tool_calls",payload:{summary:"string"==typeof r.summary?r.summary:"string"==typeof t.summary?t.summary:null,toolCalls:n,fallbackTemplate:t.fallbackTemplate||null}}:{type:"decision_request",payload:kc(Bc(r.decision)?r.decision:t)}}if("image"===n){const e=Bc(r.image)?r.image:t,n=e.confidence||r.confidence;return{type:"easy_email_image_request",payload:{action:"edit"===e.action?"edit":"generate",prompt:String(e.prompt||"").trim(),size:Rc(e.size),summary:"string"==typeof r.summary?r.summary:"string"==typeof t.summary?t.summary:null,target:Sc(e.target),confidence:"high"===n||"low"===n||"ambiguous"===n?n:null,candidates:Dc(e.candidates),decision:(i=r.decision,Bc(i)?kc(i):null),intent:"insert"===e.imageIntent||"attach"===e.imageIntent||"insert"===e.intentMode||"attach"===e.intentMode?e.imageIntent||e.intentMode:"replace"}}}var i;return"modify"===n?{type:"easy_email_result",payload:{valid:Boolean(t.template),errors:t.template?[]:["template is required for modify intent"],template:t.template||null,summary:"string"==typeof t.summary?t.summary:null}}:{type:"easy_email_answer",payload:{answer:e.trim()||"OK."}}}function hc(e){const t=dc(e);return"easy_email_answer"!==t.type?t:{type:"decision_request",payload:kc({id:"action-follow-up",kind:"missing_detail",title:"Choose the change",message:t.payload.answer||null||"I understand you want to change the email. Please choose a direction or describe the exact change.",allowCustom:!0,required:!1,choices:[]})}}function _c(e){return"ask"===e?rc:"reference_rewrite"===e?ic:nc}function fc(e){return e.map((e=>{if(!Bc(e))return e;const t=o({},e),r=Sc(t.target);return t.target=r,Object.keys(t).forEach((e=>{null===t[e]&&delete t[e]})),t}))}function gc(e){try{const t=JSON.parse(e);return Array.isArray(t)?fc(t):[]}catch(t){return[]}}function mc(e,t){return p(this,null,(function*(){const r=JSON.parse(pc(e)),n=Bc(r.payload)?r.payload:{},i="string"==typeof n.summary?n.summary:"string"==typeof r.summary?r.summary:null,a=function(e){if("string"!=typeof e||!e.trim())return null;let t=e;try{for(let e=0;e<3;e+=1){const e=JSON.parse(pc(t));if(Bc(e))return e;if("string"!=typeof e||!e.trim())return null;t=e}return null}catch(r){return null}}(n.templateJson);if(a){return{type:"easy_email_tool_calls",payload:{summary:i,toolCalls:[{name:"apply_template",template:yield vc(a,t)}],fallbackTemplate:null}}}const s="string"==typeof n.toolCallsJson?gc(n.toolCallsJson):[];if(s.length)return{type:"easy_email_tool_calls",payload:{summary:i,toolCalls:yield wc(s,t),fallbackTemplate:null}};if("string"==typeof n.templateJson)throw new Error("Reference rewrite templateJson was not parseable JSON");return{type:"easy_email_answer",payload:{answer:e.trim()||"OK."}}}))}function bc(e,t){if(!Bc(e))return null;if("string"==typeof e.type&&t(e))return e;const r=e.children;if(!Array.isArray(r))return null;for(const n of r){const e=bc(n,t);if(e)return e}return null}function yc(e,t){if(!Bc(e))return 0;let r=e.type===t?1:0;const n=e.children;if(Array.isArray(n))for(const i of n)r+=yc(i,t);return r}function xc(e,t,r){var n;const i=Sc(e);if(!i)return!1;const a=function(e){return Bc(e)&&"content"in e?e.content:e}(t);if("selected"in i)return Boolean(null==r?void 0:r.selected);if("id"in i)return Boolean(bc(a,(e=>e.id===i.id)));if("uid"in i)return Boolean(bc(a,(e=>e.uid===i.uid)));if("type"in i){const e=null!=(n=i.index)?n:0;return yc(a,i.type)>e}return!1}function vc(e,t){return p(this,null,(function*(){return Bc(e)?Bc(e.content)?yield tc(e):"page"!==e.type?e:yield tc(Bc(t)?l(o({},t),{content:e}):{content:e}):e}))}function wc(e,t){return p(this,null,(function*(){return yield Promise.all(e.map((e=>p(null,null,(function*(){return Bc(e)&&"apply_template"===e.name?l(o({},e),{template:yield vc(e.template,t)}):e})))))}))}function Ec(e){return p(this,null,(function*(){var t;if(!Bc(e)||"apply_template"!==e.name)return"apply_template tool call is required";if(!function(e){if(!Bc(e))return null;const t=Bc(e.content)?e.content:e;return"page"===t.type&&Array.isArray(t.children)?0===t.children.length?null:t:null}(e.template))return"apply_template.template must include a non-empty page content element";const r=yield Qu(e.template);return r.valid?null:(null==(t=r.errors[0])?void 0:t.message)||"apply_template.template is not a valid Easy Email template"}))}function kc(e){const t=Dc(e.choices).slice(0,6);return{id:"string"==typeof e.id&&e.id.trim()?e.id.trim():`decision-${Date.now()}`,kind:"target_block"===e.kind||"missing_detail"===e.kind?e.kind:"style_direction",title:"string"==typeof e.title&&e.title.trim()?e.title.trim():"Choose an option",message:"string"==typeof e.message&&e.message.trim()?e.message.trim():"Which direction should I use?",choices:t.length?t:[{id:"premium",label:"More premium",description:"Refine typography, spacing, CTA, and visual restraint.",prompt:"Make the template feel more premium while preserving the current structure."},{id:"conversion",label:"More conversion focused",description:"Strengthen hierarchy, CTA clarity, and offer visibility.",prompt:"Make the template more conversion focused with clearer hierarchy and CTA."},{id:"minimal",label:"Cleaner and simpler",description:"Reduce clutter, tighten copy, and simplify the layout.",prompt:"Make the template cleaner and simpler without changing the core content."}],allowCustom:!1!==e.allowCustom,required:Boolean(e.required)}}function Ac(e){var t;const r=(null==(t=e.candidates)?void 0:t.length)?e.candidates:[{id:"choose-target",label:"Choose target image",description:"Pick the image block that should be replaced.",prompt:"Use this image block as the replacement target.",thumbnail:void 0,target:null,value:null}];return{id:`target-image-${Date.now()}`,kind:"target_block",title:"Choose image block",message:e.summary||"Which image block should use the generated image?",choices:r,allowCustom:!1,required:!1}}function Tc(e){const t=/[\u3400-\u9fff]/.test(e.userPrompt),r=e.missingTargets.slice(0,4).join(", ");return{id:`missing-target-${Date.now()}`,kind:"missing_detail",title:t?"需要确认修改位置":"Confirm edit target",message:t?`我找不到要修改的模块:${r}。请指定具体要改哪一块,或先选中目标 block 后再试。`:`I could not find these edit targets: ${r}. Please specify the block to edit, or select the target block and try again.`,choices:[],allowCustom:!0,required:!1}}function Dc(e){return Array.isArray(e)?e.map(((e,t)=>{if(!e||"object"!=typeof e)return null;const r=e,n=Sc(r.target),i="string"==typeof r.label&&r.label.trim()?r.label.trim():`Option ${t+1}`;return{id:"string"==typeof r.id&&r.id.trim()?r.id.trim():`choice-${t+1}`,label:i,description:"string"==typeof r.description?r.description:void 0,prompt:"string"==typeof r.prompt?r.prompt:void 0,thumbnail:"string"==typeof r.thumbnail?r.thumbnail:"string"==typeof r.src?r.src:void 0,target:n,value:r.value}})).filter(Boolean):[]}function Sc(e){if(!e||"object"!=typeof e)return null;const t=e;if(!0===t.selected)return{selected:!0};const r=Nc(t.id);if(r)return{id:r};const n=Nc(t.uid);if(n)return{uid:n};const i=Nc(t.type);if(i){const e={type:i};return"number"==typeof t.index&&Number.isFinite(t.index)&&t.index>=0&&(e.index=Math.floor(t.index)),e}return null}function Nc(e){if("string"!=typeof e)return null;const t=e.trim();return!t||"..."===t||/^<.*>$/.test(t)?null:t}function Rc(e){return"1024x1024"===e||"1536x1024"===e||"1024x1536"===e||"auto"===e?e:"auto"}function Oc(e){if("number"==typeof e&&Number.isFinite(e)&&e>0)return e;if("string"!=typeof e)return null;const t=e.trim().match(/^(\d+(?:\.\d+)?)/);if(!t)return null;const r=Number.parseFloat(t[1]);return Number.isFinite(r)&&r>0?r:null}function Lc(e,t){const r=e/t;return r>=1.18?"1536x1024":r<=.85?"1024x1536":"1024x1024"}function Bc(e){return Boolean(e&&"object"==typeof e&&!Array.isArray(e))}function Cc(e,t){if(!t||!Bc(e))return null;if(function(e,t){return!!t&&(t.id&&e.id===t.id||t.uid&&e.uid===t.uid)}(e,t))return e;const r=e.children;if(!Array.isArray(r))return null;for(const n of r){const e=Cc(n,t);if(e)return e}return null}function Ic(e){var t,r;if(!e)return null;const n=Oc(null!=(t=e.width)?t:e["image-width"]),i=Oc(null!=(r=e.height)?r:e["image-height"]);return n&&i?{width:n,height:i}:null}function qc(e){var t;if("auto"!==e.requestedSize)return e.requestedSize;const r=null==(t=e.editorContext)?void 0:t.selected,n=function(e,t){var r;const n=null==e?void 0:e.images;if(!t||!Array.isArray(n))return null;const i=null==e?void 0:e.selected;if("id"in t)return n.find((e=>e.id===t.id))||null;if("uid"in t)return n.find((e=>e.uid===t.uid))||null;if("type"in t){const e=null!=(r=t.index)?r:0;return n.filter((e=>e.type===t.type))[e]||null}if("selected"in t&&i)return n.find((e=>i.id&&e.id===i.id||i.uid&&e.uid===i.uid))||null;return null}(e.editorContext,e.target);if((null==n?void 0:n.width)&&n.height)return Lc(n.width,n.height);const i=null==r?void 0:r.layout;if((null==i?void 0:i.width)&&i.height)return Lc(i.width,i.height);const a=function(e){if(!e)return null;const t=Ic(e);if(t)return t;const r=Ic(Bc(e.attributes)?e.attributes:null);return r||Ic(Bc(e.data)?e.data:null)}(Cc(e.template,r)||(r?{attributes:r.attributes,data:r.data}:null));return a?Lc(a.width,a.height):"auto"}function Pc(e){return"number"==typeof e&&Number.isFinite(e)?e:void 0}function Mc(e){if("string"==typeof e.output_text)return e.output_text;const t=[];if(Array.isArray(e.output))for(const r of e.output){if(!r||"object"!=typeof r)continue;const e=r.content;if(Array.isArray(e))for(const r of e){if(!r||"object"!=typeof r)continue;const e=r.text;"string"==typeof e&&t.push(e)}}return t.join("")}In.registerPlugins([uu,gu]),exports.AI_AGENT_FEATURE=Bu,exports.BasicType=Nt,exports.BlockManager=Ja,exports.CONTENT_EDITABLE_CLASSNAME=Ct,exports.ConditionOperator=Ya,exports.ConditionOperatorSymbol=Qa,exports.EditorAuth=wt,exports.EditorCore=Tn,exports.ElementAllowAttributes=mu,exports.ElementCategory=Bt,exports.ElementPlugin=Bn,exports.ElementType=Lt,exports.EmailRenderProvider=Nn,exports.HIDE_DESKTOP_BLOCK_CLASS_NAME=pu,exports.HIDE_DESKTOP_INLINE_BLOCK_CLASS_NAME=hu,exports.HIDE_MOBILE_BLOCK_CLASS_NAME=du,exports.HIDE_MOBILE_INLINE_BLOCK_CLASS_NAME=_u,exports.HTML_BLOCK_NODE_TAGS=Mt,exports.HTML_NODE_VOID_TAGS=Pt,exports.HtmlNodeAdapter=Au,exports.I18nManager=Tt,exports.LogicType=Ot,exports.NodeUtils=Qt,exports.PageTestingCss=di,exports.ParentElementProvider=zn,exports.PluginManager=In,exports.PluginType=Rn,exports.Responsive=gu,exports.ResponsivePlugin=On,exports.SLATE_CODE_BLOCK_CLASSNAME=qt,exports.SLATE_NODE_PLACEHOLDER_CLASSNAME=It,exports.StandardType=Rt,exports.TemplateEngine=uu,exports.TemplateEnginePlugin=Ln,exports.assertAiAgentFeatureEnabled=Cu,exports.blockMap=Ka,exports.canAutoReplaceImageTarget=function(e,t,r){return!!Fu(t,r)&&(!!Uu(e.selectedTarget,e.selectedType)&&(!!t&&(!!Lu(t)||ju(e.selectedTarget,t))))},exports.canReplaceTargetImage=Uu,exports.choiceImageAttributeKey=function(e){const t=e.value;if(!t||"object"!=typeof t)return"src";const r=t.attributeKey;return"string"==typeof r&&r?r:"src"},exports.classnames=g,exports.components=ci,exports.createBlock=m,exports.createCustomBlock=function(e){return e},exports.createEasyEmailAgentSession=function(e){var t,r,n;const i=null==(r=null==(t=e.prompt)?void 0:t.text)?void 0:r.trim();if(!i)throw new Error("prompt.text is required");return{body:e,text:i,images:uc([...null!=(n=e.images)?n:[],...lc(e.history)]).slice(0,6)}},exports.createEasyEmailImageResultEvent=function(e){const{imageStep:t,image:r}=e;return{type:"image_result",payload:{summary:t.resultPayload.summary,images:[{id:r.id,name:r.name,mimeType:r.mimeType,dataUrl:r.dataUrl,url:r.url}],target:t.resultPayload.target,confidence:t.resultPayload.confidence,candidates:t.resultPayload.candidates,intent:t.resultPayload.intent,revisedPrompt:r.revisedPrompt||null,model:r.model,size:r.size}}},exports.createEasyEmailIntentRequest=function(e){return{input:[{role:"user",content:[{type:"input_text",text:(t={text:e.text,imageCount:e.images.length,history:e.body.history},["Route the latest Easy Email AI request.","Return ask only when the user is asking a question, asking for analysis, or discussing strategy without asking you to change the email now.","Return action when the user wants the email, text, layout, styles, links, blocks, or image assets changed, even if the requested change is broad or lacks details.","Return reference_rewrite only when the user explicitly asks to replace, rebuild, recreate, or rewrite the whole email/template from uploaded or previous reference image(s).","If the request is unclear but could require changing the email, return action so the planner can ask a decision question.","",`Reference image count: ${t.imageCount}`,"History has user image attachment: "+(oc(t.history)?"yes":"no"),"","Latest user message:",t.text].join("\n"))}]}],text:{format:ac},max_output_tokens:256,stream:!1,store:!1};var t},exports.createEasyEmailPlannerRequest=function(e,t){const r=[{type:"input_text",text:cc({userPrompt:e.text,template:e.body.template,editorContext:e.body.editorContext,history:e.body.history,decisionResponse:e.body.decisionResponse,intent:t})}];return e.images.forEach((e=>{const t=e.dataUrl||e.url;t&&r.push({type:"input_image",image_url:t})})),{input:[{role:"user",content:r}],text:{format:_c(t)},max_output_tokens:"reference_rewrite"===t?16e3:4096,stream:!1,store:!1}},exports.deleteNoAllowKey=xu,exports.easyEmailToEasyEmailPro=e=>{const t=d.cloneDeep(e),r={},n={[Bt.TEXT]:{}};return t.data.value["font-family"]&&(r["font-family"]=t.data.value["font-family"]),t.data.value["font-size"]&&(n[Bt.TEXT]=l(o({},n[Bt.TEXT]),{"font-size":t.data.value["font-size"]})),t.data.value["line-height"]&&(n[Bt.TEXT]=l(o({},n[Bt.TEXT]),{"line-height":t.data.value["line-height"]})),t.data.value["font-weight"]&&(n[Bt.TEXT]=l(o({},n[Bt.TEXT]),{"font-weight":t.data.value["font-weight"]})),t.data.value["text-color"]&&(n[Bt.TEXT]=l(o({},n[Bt.TEXT]),{color:t.data.value["text-color"]})),t.data.value["font-weight"]&&(r["font-weight"]=t.data.value["font-weight"]),Ja.getBlockByType(Lt.PAGE).create({attributes:{width:t.attributes.width,"background-color":t.attributes["background-color"],"content-background-color":t.data.value["content-background-color"],"margin-top":"0px","margin-bottom":"0px"},data:{globalAttributes:r,categoryAttributes:n,blockAttributes:{},classAttributes:{},breakpoint:t.data.value.breakpoint,headStyles:t.data.value.headStyles,fonts:t.data.value.fonts},children:t.children.map((t=>Su(t,e)))})},exports.formateBasicBlockAttribute=yu,exports.freezeSelectedTargets=function(e,t){const r=t||Ou;return e.map((e=>"target"in e&&Lu(e.target)?l(o({},e),{target:r}):e))},exports.getAdapterAttributesString=wu,exports.imageChoiceDescription=zu,exports.imageDecisionChoices=function(e,t,r="Image"){var n;return(null==(n=e.candidates)?void 0:n.length)?e.candidates:(t||[]).filter((e=>e.id||e.uid)).slice(0,8).map(((e,t)=>({id:e.id||e.uid||`image-${t}`,label:e.title||`${r} ${t+1}`,description:zu(e),thumbnail:e.src,value:e.attributeKey?{attributeKey:e.attributeKey}:void 0,target:e.id?{id:e.id}:e.uid?{uid:e.uid}:void 0}))).filter((e=>e.target))},exports.imageReplacementTarget=function(e,t){return t?"id"in t&&t.id===Ou.id?null:"selected"in t?Uu(e.selectedTarget,e.selectedType)?e.selectedTarget:null:"type"in t&&!Mu(t.type)?null:t:Uu(e.selectedTarget,e.selectedType)?e.selectedTarget:null},exports.imageTargetAttributeKey=function(e,t){if(!t)return"src";const r=(e||[]).find((r=>{if("id"in t)return r.id===t.id;if("uid"in t)return r.uid===t.uid;if("type"in t){const n=t.index||0;return(e||[]).filter((e=>e.type===t.type))[n]===r}return!1}));return(null==r?void 0:r.attributeKey)||"src"},exports.isHighConfidenceImageTarget=Fu,exports.isSelectedTarget=Lu,exports.keyGenerate=()=>e=>e,exports.mergeBlock=b,exports.mergeTagGenerate=e=>`{{ ${e} }}`,exports.missingInitialSelectionTarget=Ou,exports.mjmlToJsonCore=e=>{const{content:t,mjmlHelper:r}=e;if(!d.isString(t))return Ru(t);const n=(new DOMParser).parseFromString(t,"text/xml").firstChild;if("mjml"!==n.tagName)throw new Error("mjmlToJson: invalid mjml. First node must be mjml");if("mjml"===n.tagName){const{json:e}=r(t,{validationLevel:"soft"});return Ru(e)}const i=e=>{if("parsererror"===e.tagName)throw new Error("Invalid content");const t={};e.getAttributeNames().forEach((r=>{const n=e.getAttribute(r);d.isString(n)&&(t[r]=n)}));const r=e.tagName.replace("mj-","");if(!(Ja.getBlockByType(r)||e.parentElement&&"mj-text"===e.parentElement.tagName))throw new Error("Invalid content");const n={type:r,attributes:t,data:{},children:[...e.children].filter((e=>e instanceof Element)).map(i)};if(r===Lt.TEXT)n.data.value.content=e.innerHTML,n.children=[];return n};return i(n)},exports.normalizeToolCallsPayload=function(e){return l(o({},e),{toolCalls:Array.isArray(e.toolCalls)?e.toolCalls:Array.isArray(e.tool_calls)?e.tool_calls:[],fallbackTemplate:void 0===e.fallbackTemplate?e.fallback_template:e.fallbackTemplate})},exports.parseEasyEmailAiStream=Pu,exports.parseEasyEmailIntentResponse=function(e){return function(e){try{const t=JSON.parse(e);if(("ask"===t.intent||"action"===t.intent||"reference_rewrite"===t.intent)&&"high"===t.confidence)return t.intent}catch(t){return"action"}return"action"}(Mc(e||{}))},exports.parseEasyEmailSseMessage=qu,exports.readEasyEmailAiError=Iu,exports.resolveAiChatResult=function(e,t){return p(this,null,(function*(){if(Cu(),!e)throw new Error("onChat did not return a result");if(r=e,"undefined"!=typeof Response&&r instanceof Response){if(!e.ok)throw new Error(yield Iu(e));if(!e.body)throw new Error("Streaming response body is empty");return Pu(e.body,t)}var r;return function(e){return"undefined"!=typeof ReadableStream&&e instanceof ReadableStream}(e)?Pu(e,t):(t&&e.forEach(t),e)}))},exports.resolveEasyEmailAgentTextResponse=function(e){return p(this,null,(function*(){var t;const{session:r,intent:n}=e,i=e.payload||{};if("incomplete"===i.status||"max_output_tokens"===(null==(t=i.incomplete_details)?void 0:t.reason))throw new Error("AI response was truncated before template rewrite completed");const a=Mc(i),s=function(e,t="unknown"){var r,n,i,a,s,o,l,u,c,p,d,h;if(!e||"object"!=typeof e)return null;const _=e,f=_.input_tokens_details||_.inputTokenDetails||{},g=_.output_tokens_details||_.outputTokenDetails||{},m=null!=(n=null!=(r=Pc(_.input_tokens))?r:Pc(_.inputTokens))?n:Pc(_.prompt_tokens),b=null!=(a=null!=(i=Pc(_.output_tokens))?i:Pc(_.outputTokens))?a:Pc(_.completion_tokens),y=null!=(o=null!=(s=Pc(_.total_tokens))?s:Pc(_.totalTokens))?o:void 0!==m&&void 0!==b?m+b:void 0,x=null!=(c=null!=(u=null!=(l=Pc(_.cached_input_tokens))?l:Pc(_.cachedInputTokens))?u:Pc(f.cached_tokens))?c:Pc(f.cachedTokens),v=null!=(h=null!=(d=null!=(p=Pc(_.reasoning_tokens))?p:Pc(_.reasoningTokens))?d:Pc(g.reasoning_tokens))?h:Pc(g.reasoningTokens);return void 0===m&&void 0===b&&void 0===y&&void 0===x&&void 0===v?null:{model:t,inputTokens:m,outputTokens:b,totalTokens:y,cachedInputTokens:x,reasoningTokens:v}}(i.usage,e.model),u=[];s&&u.push({type:"usage",payload:s});const c="reference_rewrite"===n?yield mc(a,r.body.template):"action"===n?hc(a):dc(a);if("reference_rewrite"===n){if("easy_email_tool_calls"!==c.type)throw new Error("Reference rewrite did not return template changes. Please try again.");const e=yield wc(c.payload.toolCalls,r.body.template),t=yield function(e){return p(this,null,(function*(){if(1!==e.length)return"reference rewrite must return exactly one apply_template call";const t=e[0];return yield Ec(t)}))}(e);if(t)throw new Error(t);return u.push({type:"easy_email_tool_calls",payload:l(o({},c.payload),{toolCalls:e})}),{events:u}}if("easy_email_tool_calls"===c.type){const e=yield wc(c.payload.toolCalls,r.body.template),t=yield function(e){return p(this,null,(function*(){for(const t of e){if(!Bc(t)||"apply_template"!==t.name)continue;const e=yield Ec(t);if(e)return e}return null}))}(e);if(t)throw new Error(t);const n=function(e,t,r){const n=[];for(const a of e)Bc(a)?"apply_template"!==a.name&&(xc(a.target,t,r)||n.push(Bc(i=a.target)?!0===i.selected?"selected":"string"==typeof i.id?`id:${i.id}`:"string"==typeof i.uid?`uid:${i.uid}`:"string"==typeof i.type?`type:${i.type}`:"unknown target":"missing target")):n.push("invalid tool call");var i;return Array.from(new Set(n))}(e,r.body.template,r.body.editorContext);if(n.length)return u.push({type:"decision_request",payload:Tc({userPrompt:r.text,missingTargets:n})}),{events:u};c.payload.toolCalls=e}if("easy_email_image_request"===c.type){if("high"!==c.payload.confidence)return u.push({type:"decision_request",payload:c.payload.decision||Ac({summary:c.payload.summary,candidates:c.payload.candidates})}),{events:u};if(!c.payload.prompt)throw new Error("Image prompt is required");const e="edit"===c.payload.action?"edit":"generate";return u.push({type:"input",payload:{text:"Generating image"}}),{events:u,imageStep:{request:{action:e,prompt:c.payload.prompt,size:qc({requestedSize:c.payload.size,editorContext:r.body.editorContext,template:r.body.template,target:c.payload.target}),images:r.images},resultPayload:{summary:c.payload.summary||"Generated image.",target:c.payload.target,confidence:c.payload.confidence,candidates:c.payload.candidates,intent:c.payload.intent}}}}return u.push({type:c.type,payload:c.payload}),{events:u}}))},exports.selectedTargetFromContext=function(e){const t=null==e?void 0:e.selected;return t?t.id?{id:t.id}:t.uid?{uid:t.uid}:null:null},exports.t=Dt,exports.targetsSameBlock=ju,exports.useContainerWidth=()=>{var e,t,r,n,i;const{element:a}=jn(),{context:s}=Sn(),o=s.content;let l=parseFloat((null==(e=o.attributes)?void 0:e.width)||"600");return a&&Qt.isColumnElement(a)&&(l=(null==(r=null==(t=a.attributes)?void 0:t.width)?void 0:r.includes("%"))?l*parseFloat((null==(n=a.attributes)?void 0:n.width)||"0")/100:parseFloat((null==(i=a.attributes)?void 0:i.width)||"600")),{containerWidth:l}},exports.useEmailGlobalContext=Ut,exports.useEmailRenderContext=Sn,exports.useParentElementContext=jn,exports.variableGenerate=()=>e=>`{{ ${e} }}`;
|
|
1
|
+
"use strict";var e=Object.defineProperty,t=Object.defineProperties,r=Object.getOwnPropertyDescriptors,n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,s=(t,r,n)=>r in t?e(t,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[r]=n,o=(e,t)=>{for(var r in t||(t={}))i.call(t,r)&&s(e,r,t[r]);if(n)for(var r of n(t))a.call(t,r)&&s(e,r,t[r]);return e},l=(e,n)=>t(e,r(n)),u=(e,t)=>{var r={};for(var s in e)i.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(null!=e&&n)for(var s of n(e))t.indexOf(s)<0&&a.call(e,s)&&(r[s]=e[s]);return r},c=(e,t,r)=>s(e,"symbol"!=typeof t?t+"":t,r),p=(e,t,r)=>new Promise(((n,i)=>{var a=e=>{try{o(r.next(e))}catch(t){i(t)}},s=e=>{try{o(r.throw(e))}catch(t){i(t)}},o=e=>e.done?n(e.value):Promise.resolve(e.value).then(a,s);o((r=r.apply(e,t)).next())}));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("lodash"),h=require("react"),_=require("axios"),f=require("react-dom/server");function g(...e){return e.filter((e=>"string"==typeof e)).join(" ")}function m(e){return e}function b(e,t){return d.mergeWith(d.cloneDeep(e),d.cloneDeep(t),((e,t)=>d.isArray(t)?t:void 0))}function y(e,t,r){const n=new Date;n.setTime(n.getTime()+1e3*r);const i="expires="+n.toUTCString();document.cookie=e+"="+t+";"+i}var x="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function v(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function w(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var r=function e(){var r=!1;try{r=this instanceof e}catch(n){}return r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var E={exports:{}};function k(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var A={exports:{}};const T=w(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var D;A.exports;function S(){return D||(D=1,A.exports=(e=e||function(e,t){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==x&&x.crypto&&(r=x.crypto),!r)try{r=T}catch(f){}var n=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(f){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(f){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),a={},s=a.lib={},o=s.Base=function(){return{extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),l=s.WordArray=o.extend({init:function(e,r){e=this.words=e||[],this.sigBytes=r!=t?r:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,i=e.sigBytes;if(this.clamp(),n%4)for(var a=0;a<i;a++){var s=r[a>>>2]>>>24-a%4*8&255;t[n+a>>>2]|=s<<24-(n+a)%4*8}else for(var o=0;o<i;o+=4)t[n+o>>>2]=r[o>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(n());return new l.init(t,e)}}),u=a.enc={},c=u.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var a=t[i>>>2]>>>24-i%4*8&255;n.push((a>>>4).toString(16)),n.push((15&a).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new l.init(r,t/2)}},p=u.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var a=t[i>>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new l.init(r,t)}},d=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return p.parse(unescape(encodeURIComponent(e)))}},h=s.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,i=n.words,a=n.sigBytes,s=this.blockSize,o=a/(4*s),u=(o=t?e.ceil(o):e.max((0|o)-this._minBufferSize,0))*s,c=e.min(4*u,a);if(u){for(var p=0;p<u;p+=s)this._doProcessBlock(i,p);r=i.splice(0,u),n.sigBytes-=c}return new l.init(r,c)},clone:function(){var e=o.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});s.Hasher=h.extend({cfg:o.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new _.HMAC.init(e,r).finalize(t)}}});var _=a.algo={};return a}(Math),e)),A.exports;var e}var N,R={exports:{}};R.exports;function O(){return N||(N=1,R.exports=(s=S(),r=(t=s).lib,n=r.Base,i=r.WordArray,(a=t.x64={}).Word=n.extend({init:function(e,t){this.high=e,this.low=t}}),a.WordArray=n.extend({init:function(t,r){t=this.words=t||[],this.sigBytes=r!=e?r:8*t.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n<t;n++){var a=e[n];r.push(a.high),r.push(a.low)}return i.create(r,this.sigBytes)},clone:function(){for(var e=n.clone.call(this),t=e.words=this.words.slice(0),r=t.length,i=0;i<r;i++)t[i]=t[i].clone();return e}}),s)),R.exports;var e,t,r,n,i,a,s}var L,B={exports:{}};B.exports;function C(){return L||(L=1,B.exports=(e=S(),function(){if("function"==typeof ArrayBuffer){var t=e.lib.WordArray,r=t.init,n=t.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],i=0;i<t;i++)n[i>>>2]|=e[i]<<24-i%4*8;r.call(this,n,t)}else r.apply(this,arguments)};n.prototype=t}}(),e.lib.WordArray)),B.exports;var e}var I,q={exports:{}};q.exports;function P(){return I||(I=1,q.exports=(e=S(),function(){var t=e,r=t.lib.WordArray,n=t.enc;function i(e){return e<<8&4278255360|e>>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i+=2){var a=t[i>>>2]>>>16-i%4*8&65535;n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i++)n[i>>>1]|=e.charCodeAt(i)<<16-i%2*16;return r.create(n,2*t)}},n.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],a=0;a<r;a+=2){var s=i(t[a>>>2]>>>16-a%4*8&65535);n.push(String.fromCharCode(s))}return n.join("")},parse:function(e){for(var t=e.length,n=[],a=0;a<t;a++)n[a>>>1]|=i(e.charCodeAt(a)<<16-a%2*16);return r.create(n,2*t)}}}(),e.enc.Utf16)),q.exports;var e}var M,U={exports:{}};U.exports;function F(){return M||(M=1,U.exports=(e=S(),function(){var t=e,r=t.lib.WordArray;function n(e,t,n){for(var i=[],a=0,s=0;s<t;s++)if(s%4){var o=n[e.charCodeAt(s-1)]<<s%4*2|n[e.charCodeAt(s)]>>>6-s%4*2;i[a>>>2]|=o<<24-a%4*8,a++}return r.create(i,a)}t.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var i=[],a=0;a<r;a+=3)for(var s=(t[a>>>2]>>>24-a%4*8&255)<<16|(t[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|t[a+2>>>2]>>>24-(a+2)%4*8&255,o=0;o<4&&a+.75*o<r;o++)i.push(n.charAt(s>>>6*(3-o)&63));var l=n.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(e){var t=e.length,r=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var a=0;a<r.length;a++)i[r.charCodeAt(a)]=a}var s=r.charAt(64);if(s){var o=e.indexOf(s);-1!==o&&(t=o)}return n(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.enc.Base64)),U.exports;var e}var j,z={exports:{}};z.exports;function H(){return j||(j=1,z.exports=(e=S(),function(){var t=e,r=t.lib.WordArray;function n(e,t,n){for(var i=[],a=0,s=0;s<t;s++)if(s%4){var o=n[e.charCodeAt(s-1)]<<s%4*2|n[e.charCodeAt(s)]>>>6-s%4*2;i[a>>>2]|=o<<24-a%4*8,a++}return r.create(i,a)}t.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var r=e.words,n=e.sigBytes,i=t?this._safe_map:this._map;e.clamp();for(var a=[],s=0;s<n;s+=3)for(var o=(r[s>>>2]>>>24-s%4*8&255)<<16|(r[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|r[s+2>>>2]>>>24-(s+2)%4*8&255,l=0;l<4&&s+.75*l<n;l++)a.push(i.charAt(o>>>6*(3-l)&63));var u=i.charAt(64);if(u)for(;a.length%4;)a.push(u);return a.join("")},parse:function(e,t){void 0===t&&(t=!0);var r=e.length,i=t?this._safe_map:this._map,a=this._reverseMap;if(!a){a=this._reverseMap=[];for(var s=0;s<i.length;s++)a[i.charCodeAt(s)]=s}var o=i.charAt(64);if(o){var l=e.indexOf(o);-1!==l&&(r=l)}return n(e,r,a)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),e.enc.Base64url)),z.exports;var e}var V,$={exports:{}};$.exports;function G(){return V||(V=1,$.exports=(e=S(),function(t){var r=e,n=r.lib,i=n.WordArray,a=n.Hasher,s=r.algo,o=[];!function(){for(var e=0;e<64;e++)o[e]=4294967296*t.abs(t.sin(e+1))|0}();var l=s.MD5=a.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var a=this._hash.words,s=e[t+0],l=e[t+1],h=e[t+2],_=e[t+3],f=e[t+4],g=e[t+5],m=e[t+6],b=e[t+7],y=e[t+8],x=e[t+9],v=e[t+10],w=e[t+11],E=e[t+12],k=e[t+13],A=e[t+14],T=e[t+15],D=a[0],S=a[1],N=a[2],R=a[3];D=u(D,S,N,R,s,7,o[0]),R=u(R,D,S,N,l,12,o[1]),N=u(N,R,D,S,h,17,o[2]),S=u(S,N,R,D,_,22,o[3]),D=u(D,S,N,R,f,7,o[4]),R=u(R,D,S,N,g,12,o[5]),N=u(N,R,D,S,m,17,o[6]),S=u(S,N,R,D,b,22,o[7]),D=u(D,S,N,R,y,7,o[8]),R=u(R,D,S,N,x,12,o[9]),N=u(N,R,D,S,v,17,o[10]),S=u(S,N,R,D,w,22,o[11]),D=u(D,S,N,R,E,7,o[12]),R=u(R,D,S,N,k,12,o[13]),N=u(N,R,D,S,A,17,o[14]),D=c(D,S=u(S,N,R,D,T,22,o[15]),N,R,l,5,o[16]),R=c(R,D,S,N,m,9,o[17]),N=c(N,R,D,S,w,14,o[18]),S=c(S,N,R,D,s,20,o[19]),D=c(D,S,N,R,g,5,o[20]),R=c(R,D,S,N,v,9,o[21]),N=c(N,R,D,S,T,14,o[22]),S=c(S,N,R,D,f,20,o[23]),D=c(D,S,N,R,x,5,o[24]),R=c(R,D,S,N,A,9,o[25]),N=c(N,R,D,S,_,14,o[26]),S=c(S,N,R,D,y,20,o[27]),D=c(D,S,N,R,k,5,o[28]),R=c(R,D,S,N,h,9,o[29]),N=c(N,R,D,S,b,14,o[30]),D=p(D,S=c(S,N,R,D,E,20,o[31]),N,R,g,4,o[32]),R=p(R,D,S,N,y,11,o[33]),N=p(N,R,D,S,w,16,o[34]),S=p(S,N,R,D,A,23,o[35]),D=p(D,S,N,R,l,4,o[36]),R=p(R,D,S,N,f,11,o[37]),N=p(N,R,D,S,b,16,o[38]),S=p(S,N,R,D,v,23,o[39]),D=p(D,S,N,R,k,4,o[40]),R=p(R,D,S,N,s,11,o[41]),N=p(N,R,D,S,_,16,o[42]),S=p(S,N,R,D,m,23,o[43]),D=p(D,S,N,R,x,4,o[44]),R=p(R,D,S,N,E,11,o[45]),N=p(N,R,D,S,T,16,o[46]),D=d(D,S=p(S,N,R,D,h,23,o[47]),N,R,s,6,o[48]),R=d(R,D,S,N,b,10,o[49]),N=d(N,R,D,S,A,15,o[50]),S=d(S,N,R,D,g,21,o[51]),D=d(D,S,N,R,E,6,o[52]),R=d(R,D,S,N,_,10,o[53]),N=d(N,R,D,S,v,15,o[54]),S=d(S,N,R,D,l,21,o[55]),D=d(D,S,N,R,y,6,o[56]),R=d(R,D,S,N,T,10,o[57]),N=d(N,R,D,S,m,15,o[58]),S=d(S,N,R,D,k,21,o[59]),D=d(D,S,N,R,f,6,o[60]),R=d(R,D,S,N,w,10,o[61]),N=d(N,R,D,S,h,15,o[62]),S=d(S,N,R,D,x,21,o[63]),a[0]=a[0]+D|0,a[1]=a[1]+S|0,a[2]=a[2]+N|0,a[3]=a[3]+R|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;r[i>>>5]|=128<<24-i%32;var a=t.floor(n/4294967296),s=n;r[15+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),r[14+(i+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),e.sigBytes=4*(r.length+1),this._process();for(var o=this._hash,l=o.words,u=0;u<4;u++){var c=l[u];l[u]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return o},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,r,n,i,a,s){var o=e+(t&r|~t&n)+i+s;return(o<<a|o>>>32-a)+t}function c(e,t,r,n,i,a,s){var o=e+(t&n|r&~n)+i+s;return(o<<a|o>>>32-a)+t}function p(e,t,r,n,i,a,s){var o=e+(t^r^n)+i+s;return(o<<a|o>>>32-a)+t}function d(e,t,r,n,i,a,s){var o=e+(r^(t|~n))+i+s;return(o<<a|o>>>32-a)+t}r.MD5=a._createHelper(l),r.HmacMD5=a._createHmacHelper(l)}(Math),e.MD5)),$.exports;var e}var W,K={exports:{}};K.exports;function X(){return W||(W=1,K.exports=(o=S(),t=(e=o).lib,r=t.WordArray,n=t.Hasher,i=e.algo,a=[],s=i.SHA1=n.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],s=r[2],o=r[3],l=r[4],u=0;u<80;u++){if(u<16)a[u]=0|e[t+u];else{var c=a[u-3]^a[u-8]^a[u-14]^a[u-16];a[u]=c<<1|c>>>31}var p=(n<<5|n>>>27)+l+a[u];p+=u<20?1518500249+(i&s|~i&o):u<40?1859775393+(i^s^o):u<60?(i&s|i&o|s&o)-1894007588:(i^s^o)-899497514,l=o,o=s,s=i<<30|i>>>2,i=n,n=p}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+s|0,r[3]=r[3]+o|0,r[4]=r[4]+l|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e}}),e.SHA1=n._createHelper(s),e.HmacSHA1=n._createHmacHelper(s),o.SHA1)),K.exports;var e,t,r,n,i,a,s,o}var J,Y={exports:{}};Y.exports;function Q(){return J||(J=1,Y.exports=(e=S(),function(t){var r=e,n=r.lib,i=n.WordArray,a=n.Hasher,s=r.algo,o=[],l=[];!function(){function e(e){for(var r=t.sqrt(e),n=2;n<=r;n++)if(!(e%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,i=0;i<64;)e(n)&&(i<8&&(o[i]=r(t.pow(n,.5))),l[i]=r(t.pow(n,1/3)),i++),n++}();var u=[],c=s.SHA256=a.extend({_doReset:function(){this._hash=new i.init(o.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],a=r[2],s=r[3],o=r[4],c=r[5],p=r[6],d=r[7],h=0;h<64;h++){if(h<16)u[h]=0|e[t+h];else{var _=u[h-15],f=(_<<25|_>>>7)^(_<<14|_>>>18)^_>>>3,g=u[h-2],m=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;u[h]=f+u[h-7]+m+u[h-16]}var b=n&i^n&a^i&a,y=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),x=d+((o<<26|o>>>6)^(o<<21|o>>>11)^(o<<7|o>>>25))+(o&c^~o&p)+l[h]+u[h];d=p,p=c,c=o,o=s+x|0,s=a,a=i,i=n,n=x+(y+b)|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+a|0,r[3]=r[3]+s|0,r[4]=r[4]+o|0,r[5]=r[5]+c|0,r[6]=r[6]+p|0,r[7]=r[7]+d|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=t.floor(n/4294967296),r[15+(i+64>>>9<<4)]=n,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});r.SHA256=a._createHelper(c),r.HmacSHA256=a._createHmacHelper(c)}(Math),e.SHA256)),Y.exports;var e}var Z,ee={exports:{}};ee.exports;var te,re={exports:{}};re.exports;function ne(){return te||(te=1,re.exports=(e=S(),O(),function(){var t=e,r=t.lib.Hasher,n=t.x64,i=n.Word,a=n.WordArray,s=t.algo;function o(){return i.create.apply(i,arguments)}var l=[o(1116352408,3609767458),o(1899447441,602891725),o(3049323471,3964484399),o(3921009573,2173295548),o(961987163,4081628472),o(1508970993,3053834265),o(2453635748,2937671579),o(2870763221,3664609560),o(3624381080,2734883394),o(310598401,1164996542),o(607225278,1323610764),o(1426881987,3590304994),o(1925078388,4068182383),o(2162078206,991336113),o(2614888103,633803317),o(3248222580,3479774868),o(3835390401,2666613458),o(4022224774,944711139),o(264347078,2341262773),o(604807628,2007800933),o(770255983,1495990901),o(1249150122,1856431235),o(1555081692,3175218132),o(1996064986,2198950837),o(2554220882,3999719339),o(2821834349,766784016),o(2952996808,2566594879),o(3210313671,3203337956),o(3336571891,1034457026),o(3584528711,2466948901),o(113926993,3758326383),o(338241895,168717936),o(666307205,1188179964),o(773529912,1546045734),o(1294757372,1522805485),o(1396182291,2643833823),o(1695183700,2343527390),o(1986661051,1014477480),o(2177026350,1206759142),o(2456956037,344077627),o(2730485921,1290863460),o(2820302411,3158454273),o(3259730800,3505952657),o(3345764771,106217008),o(3516065817,3606008344),o(3600352804,1432725776),o(4094571909,1467031594),o(275423344,851169720),o(430227734,3100823752),o(506948616,1363258195),o(659060556,3750685593),o(883997877,3785050280),o(958139571,3318307427),o(1322822218,3812723403),o(1537002063,2003034995),o(1747873779,3602036899),o(1955562222,1575990012),o(2024104815,1125592928),o(2227730452,2716904306),o(2361852424,442776044),o(2428436474,593698344),o(2756734187,3733110249),o(3204031479,2999351573),o(3329325298,3815920427),o(3391569614,3928383900),o(3515267271,566280711),o(3940187606,3454069534),o(4118630271,4000239992),o(116418474,1914138554),o(174292421,2731055270),o(289380356,3203993006),o(460393269,320620315),o(685471733,587496836),o(852142971,1086792851),o(1017036298,365543100),o(1126000580,2618297676),o(1288033470,3409855158),o(1501505948,4234509866),o(1607167915,987167468),o(1816402316,1246189591)],u=[];!function(){for(var e=0;e<80;e++)u[e]=o()}();var c=s.SHA512=r.extend({_doReset:function(){this._hash=new a.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],a=r[2],s=r[3],o=r[4],c=r[5],p=r[6],d=r[7],h=n.high,_=n.low,f=i.high,g=i.low,m=a.high,b=a.low,y=s.high,x=s.low,v=o.high,w=o.low,E=c.high,k=c.low,A=p.high,T=p.low,D=d.high,S=d.low,N=h,R=_,O=f,L=g,B=m,C=b,I=y,q=x,P=v,M=w,U=E,F=k,j=A,z=T,H=D,V=S,$=0;$<80;$++){var G,W,K=u[$];if($<16)W=K.high=0|e[t+2*$],G=K.low=0|e[t+2*$+1];else{var X=u[$-15],J=X.high,Y=X.low,Q=(J>>>1|Y<<31)^(J>>>8|Y<<24)^J>>>7,Z=(Y>>>1|J<<31)^(Y>>>8|J<<24)^(Y>>>7|J<<25),ee=u[$-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,ie=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),ae=u[$-7],se=ae.high,oe=ae.low,le=u[$-16],ue=le.high,ce=le.low;W=(W=(W=Q+se+((G=Z+oe)>>>0<Z>>>0?1:0))+ne+((G+=ie)>>>0<ie>>>0?1:0))+ue+((G+=ce)>>>0<ce>>>0?1:0),K.high=W,K.low=G}var pe,de=P&U^~P&j,he=M&F^~M&z,_e=N&O^N&B^O&B,fe=R&L^R&C^L&C,ge=(N>>>28|R<<4)^(N<<30|R>>>2)^(N<<25|R>>>7),me=(R>>>28|N<<4)^(R<<30|N>>>2)^(R<<25|N>>>7),be=(P>>>14|M<<18)^(P>>>18|M<<14)^(P<<23|M>>>9),ye=(M>>>14|P<<18)^(M>>>18|P<<14)^(M<<23|P>>>9),xe=l[$],ve=xe.high,we=xe.low,Ee=H+be+((pe=V+ye)>>>0<V>>>0?1:0),ke=me+fe;H=j,V=z,j=U,z=F,U=P,F=M,P=I+(Ee=(Ee=(Ee=Ee+de+((pe+=he)>>>0<he>>>0?1:0))+ve+((pe+=we)>>>0<we>>>0?1:0))+W+((pe+=G)>>>0<G>>>0?1:0))+((M=q+pe|0)>>>0<q>>>0?1:0)|0,I=B,q=C,B=O,C=L,O=N,L=R,N=Ee+(ge+_e+(ke>>>0<me>>>0?1:0))+((R=pe+ke|0)>>>0<pe>>>0?1:0)|0}_=n.low=_+R,n.high=h+N+(_>>>0<R>>>0?1:0),g=i.low=g+L,i.high=f+O+(g>>>0<L>>>0?1:0),b=a.low=b+C,a.high=m+B+(b>>>0<C>>>0?1:0),x=s.low=x+q,s.high=y+I+(x>>>0<q>>>0?1:0),w=o.low=w+M,o.high=v+P+(w>>>0<M>>>0?1:0),k=c.low=k+F,c.high=E+U+(k>>>0<F>>>0?1:0),T=p.low=T+z,p.high=A+j+(T>>>0<z>>>0?1:0),S=d.low=S+V,d.high=D+H+(S>>>0<V>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=r._createHelper(c),t.HmacSHA512=r._createHmacHelper(c)}(),e.SHA512)),re.exports;var e}var ie,ae={exports:{}};ae.exports;var se,oe={exports:{}};oe.exports;function le(){return se||(se=1,oe.exports=(e=S(),O(),function(t){var r=e,n=r.lib,i=n.WordArray,a=n.Hasher,s=r.x64.Word,o=r.algo,l=[],u=[],c=[];!function(){for(var e=1,t=0,r=0;r<24;r++){l[e+5*t]=(r+1)*(r+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}for(e=0;e<5;e++)for(t=0;t<5;t++)u[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,a=0;a<24;a++){for(var o=0,p=0,d=0;d<7;d++){if(1&i){var h=(1<<d)-1;h<32?p^=1<<h:o^=1<<h-32}128&i?i=i<<1^113:i<<=1}c[a]=s.create(o,p)}}();var p=[];!function(){for(var e=0;e<25;e++)p[e]=s.create()}();var d=o.SHA3=a.extend({cfg:a.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new s.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,n=this.blockSize/2,i=0;i<n;i++){var a=e[t+2*i],s=e[t+2*i+1];a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),(S=r[i]).high^=s,S.low^=a}for(var o=0;o<24;o++){for(var d=0;d<5;d++){for(var h=0,_=0,f=0;f<5;f++)h^=(S=r[d+5*f]).high,_^=S.low;var g=p[d];g.high=h,g.low=_}for(d=0;d<5;d++){var m=p[(d+4)%5],b=p[(d+1)%5],y=b.high,x=b.low;for(h=m.high^(y<<1|x>>>31),_=m.low^(x<<1|y>>>31),f=0;f<5;f++)(S=r[d+5*f]).high^=h,S.low^=_}for(var v=1;v<25;v++){var w=(S=r[v]).high,E=S.low,k=l[v];k<32?(h=w<<k|E>>>32-k,_=E<<k|w>>>32-k):(h=E<<k-32|w>>>64-k,_=w<<k-32|E>>>64-k);var A=p[u[v]];A.high=h,A.low=_}var T=p[0],D=r[0];for(T.high=D.high,T.low=D.low,d=0;d<5;d++)for(f=0;f<5;f++){var S=r[v=d+5*f],N=p[v],R=p[(d+1)%5+5*f],O=p[(d+2)%5+5*f];S.high=N.high^~R.high&O.high,S.low=N.low^~R.low&O.low}S=r[0];var L=c[o];S.high^=L.high,S.low^=L.low}},_doFinalize:function(){var e=this._data,r=e.words;this._nDataBytes;var n=8*e.sigBytes,a=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(t.ceil((n+1)/a)*a>>>5)-1]|=128,e.sigBytes=4*r.length,this._process();for(var s=this._state,o=this.cfg.outputLength/8,l=o/8,u=[],c=0;c<l;c++){var p=s[c],d=p.high,h=p.low;d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),u.push(h),u.push(d)}return new i.init(u,o)},clone:function(){for(var e=a.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});r.SHA3=a._createHelper(d),r.HmacSHA3=a._createHmacHelper(d)}(Math),e.SHA3)),oe.exports;var e}var ue,ce={exports:{}};ce.exports;var pe,de={exports:{}};de.exports;function he(){return pe||(pe=1,de.exports=(e=S(),r=(t=e).lib.Base,n=t.enc.Utf8,void(t.algo.HMAC=r.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=n.parse(t));var r=e.blockSize,i=4*r;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var a=this._oKey=t.clone(),s=this._iKey=t.clone(),o=a.words,l=s.words,u=0;u<r;u++)o[u]^=1549556828,l[u]^=909522486;a.sigBytes=s.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}})))),de.exports;var e,t,r,n}var _e,fe={exports:{}};fe.exports;var ge,me={exports:{}};me.exports;function be(){return ge||(ge=1,me.exports=(o=S(),X(),he(),t=(e=o).lib,r=t.Base,n=t.WordArray,i=e.algo,a=i.MD5,s=i.EvpKDF=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,i=this.cfg,a=i.hasher.create(),s=n.create(),o=s.words,l=i.keySize,u=i.iterations;o.length<l;){r&&a.update(r),r=a.update(e).finalize(t),a.reset();for(var c=1;c<u;c++)r=a.finalize(r),a.reset();s.concat(r)}return s.sigBytes=4*l,s}}),e.EvpKDF=function(e,t,r){return s.create(r).compute(e,t)},o.EvpKDF)),me.exports;var e,t,r,n,i,a,s,o}var ye,xe={exports:{}};xe.exports;function ve(){return ye||(ye=1,xe.exports=(e=S(),be(),void(e.lib.Cipher||function(t){var r=e,n=r.lib,i=n.Base,a=n.WordArray,s=n.BufferedBlockAlgorithm,o=r.enc;o.Utf8;var l=o.Base64,u=r.algo.EvpKDF,c=n.Cipher=s.extend({cfg:i.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?y:m}return function(t){return{encrypt:function(r,n,i){return e(n).encrypt(t,r,n,i)},decrypt:function(r,n,i){return e(n).decrypt(t,r,n,i)}}}}()});n.StreamCipher=c.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var p=r.mode={},d=n.BlockCipherMode=i.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),h=p.CBC=function(){var e=d.extend();function r(e,r,n){var i,a=this._iv;a?(i=a,this._iv=t):i=this._prevBlock;for(var s=0;s<n;s++)e[r+s]^=i[s]}return e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize;r.call(this,e,t,i),n.encryptBlock(e,t),this._prevBlock=e.slice(t,t+i)}}),e.Decryptor=e.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,a=e.slice(t,t+i);n.decryptBlock(e,t),r.call(this,e,t,i),this._prevBlock=a}}),e}(),_=(r.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,n=r-e.sigBytes%r,i=n<<24|n<<16|n<<8|n,s=[],o=0;o<n;o+=4)s.push(i);var l=a.create(s,n);e.concat(l)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}};n.BlockCipher=c.extend({cfg:c.cfg.extend({mode:h,padding:_}),reset:function(){var e;c.reset.call(this);var t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4});var f=n.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),g=(r.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?a.create([1398893684,1701076831]).concat(r).concat(t):t).toString(l)},parse:function(e){var t,r=l.parse(e),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(t=a.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),f.create({ciphertext:r,salt:t})}},m=n.SerializableCipher=i.extend({cfg:i.extend({format:g}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var i=e.createEncryptor(r,n),a=i.finalize(t),s=i.cfg;return f.create({ciphertext:a,key:r,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),b=(r.kdf={}).OpenSSL={execute:function(e,t,r,n,i){if(n||(n=a.random(8)),i)s=u.create({keySize:t+r,hasher:i}).compute(e,n);else var s=u.create({keySize:t+r}).compute(e,n);var o=a.create(s.words.slice(t),4*r);return s.sigBytes=4*t,f.create({key:s,iv:o,salt:n})}},y=n.PasswordBasedCipher=m.extend({cfg:m.cfg.extend({kdf:b}),encrypt:function(e,t,r,n){var i=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize,n.salt,n.hasher);n.iv=i.iv;var a=m.encrypt.call(this,e,t,i.key,n);return a.mixIn(i),a},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var i=n.kdf.execute(r,e.keySize,e.ivSize,t.salt,n.hasher);return n.iv=i.iv,m.decrypt.call(this,e,t,i.key,n)}})}()))),xe.exports;var e}var we,Ee={exports:{}};Ee.exports;var ke,Ae={exports:{}};Ae.exports;var Te,De={exports:{}};De.exports;function Se(){return Te||(Te=1,De.exports=(e=S(),ve(),e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function r(e){if(255&~(e>>24))e+=1<<24;else{var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0,e+=t<<16,e+=r<<8,e+=n}return e}function n(e){return 0===(e[0]=r(e[0]))&&(e[1]=r(e[1])),e}var i=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize,a=this._iv,s=this._counter;a&&(s=this._counter=a.slice(0),this._iv=void 0),n(s);var o=s.slice(0);r.encryptBlock(o,0);for(var l=0;l<i;l++)e[t+l]^=o[l]}});return t.Decryptor=i,t}(),e.mode.CTRGladman)),De.exports;var e}var Ne,Re={exports:{}};Re.exports;var Oe,Le={exports:{}};Le.exports;var Be,Ce={exports:{}};Ce.exports;var Ie,qe={exports:{}};qe.exports;var Pe,Me={exports:{}};Me.exports;var Ue,Fe={exports:{}};Fe.exports;var je,ze={exports:{}};ze.exports;var He,Ve={exports:{}};Ve.exports;var $e,Ge={exports:{}};Ge.exports;var We,Ke={exports:{}};Ke.exports;function Xe(){return We||(We=1,Ke.exports=(e=S(),F(),G(),be(),ve(),function(){var t=e,r=t.lib,n=r.WordArray,i=r.BlockCipher,a=t.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],o=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],l=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],u=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],c=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],p=a.DES=i.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=s[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var i=this._subKeys=[],a=0;a<16;a++){var u=i[a]=[],c=l[a];for(r=0;r<24;r++)u[r/6|0]|=t[(o[r]-1+c)%28]<<31-r%6,u[4+(r/6|0)]|=t[28+(o[r+24]-1+c)%28]<<31-r%6;for(u[0]=u[0]<<1|u[0]>>>31,r=1;r<7;r++)u[r]=u[r]>>>4*(r-1)+3;u[7]=u[7]<<5|u[7]>>>27}var p=this._invSubKeys=[];for(r=0;r<16;r++)p[r]=i[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){this._lBlock=e[t],this._rBlock=e[t+1],d.call(this,4,252645135),d.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),d.call(this,1,1431655765);for(var n=0;n<16;n++){for(var i=r[n],a=this._lBlock,s=this._rBlock,o=0,l=0;l<8;l++)o|=u[l][((s^i[l])&c[l])>>>0];this._lBlock=s,this._rBlock=a^o}var p=this._lBlock;this._lBlock=this._rBlock,this._rBlock=p,d.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function d(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<<e}function h(e,t){var r=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<<e}t.DES=i._createHelper(p);var _=a.TripleDES=i.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var t=e.slice(0,2),r=e.length<4?e.slice(0,2):e.slice(2,4),i=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=p.createEncryptor(n.create(t)),this._des2=p.createEncryptor(n.create(r)),this._des3=p.createEncryptor(n.create(i))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=i._createHelper(_)}(),e.TripleDES)),Ke.exports;var e}var Je,Ye={exports:{}};Ye.exports;var Qe,Ze={exports:{}};Ze.exports;var et,tt={exports:{}};tt.exports;var rt,nt={exports:{}};nt.exports;function it(){return rt||(rt=1,nt.exports=(e=S(),F(),G(),be(),ve(),function(){var t=e,r=t.lib.BlockCipher,n=t.algo;const i=16,a=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],s=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var o={pbox:[],sbox:[]};function l(e,t){let r=t>>24&255,n=t>>16&255,i=t>>8&255,a=255&t,s=e.sbox[0][r]+e.sbox[1][n];return s^=e.sbox[2][i],s+=e.sbox[3][a],s}function u(e,t,r){let n,a=t,s=r;for(let o=0;o<i;++o)a^=e.pbox[o],s=l(e,a)^s,n=a,a=s,s=n;return n=a,a=s,s=n,s^=e.pbox[i],a^=e.pbox[i+1],{left:a,right:s}}function c(e,t,r){let n,a=t,s=r;for(let o=i+1;o>1;--o)a^=e.pbox[o],s=l(e,a)^s,n=a,a=s,s=n;return n=a,a=s,s=n,s^=e.pbox[1],a^=e.pbox[0],{left:a,right:s}}function p(e,t,r){for(let i=0;i<4;i++){e.sbox[i]=[];for(let t=0;t<256;t++)e.sbox[i][t]=s[i][t]}let n=0;for(let s=0;s<i+2;s++)e.pbox[s]=a[s]^t[n],n++,n>=r&&(n=0);let o=0,l=0,c=0;for(let a=0;a<i+2;a+=2)c=u(e,o,l),o=c.left,l=c.right,e.pbox[a]=o,e.pbox[a+1]=l;for(let i=0;i<4;i++)for(let t=0;t<256;t+=2)c=u(e,o,l),o=c.left,l=c.right,e.sbox[i][t]=o,e.sbox[i][t+1]=l;return!0}var d=n.Blowfish=r.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4;p(o,t,r)}},encryptBlock:function(e,t){var r=u(o,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},decryptBlock:function(e,t){var r=c(o,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},blockSize:2,keySize:4,ivSize:2});t.Blowfish=r._createHelper(d)}(),e.Blowfish)),nt.exports;var e}var at,st,ot,lt,ut,ct,pt;const dt=v(at?E.exports:(at=1,E.exports=function(e){return e}(S(),O(),C(),P(),F(),H(),G(),X(),Q(),(Z||(Z=1,ee.exports=(pt=S(),Q(),ot=(st=pt).lib.WordArray,lt=st.algo,ut=lt.SHA256,ct=lt.SHA224=ut.extend({_doReset:function(){this._hash=new ot.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=ut._doFinalize.call(this);return e.sigBytes-=4,e}}),st.SHA224=ut._createHelper(ct),st.HmacSHA224=ut._createHmacHelper(ct),pt.SHA224)),ee.exports),ne(),function(){return ie||(ie=1,ae.exports=(o=S(),O(),ne(),t=(e=o).x64,r=t.Word,n=t.WordArray,i=e.algo,a=i.SHA512,s=i.SHA384=a.extend({_doReset:function(){this._hash=new n.init([new r.init(3418070365,3238371032),new r.init(1654270250,914150663),new r.init(2438529370,812702999),new r.init(355462360,4144912697),new r.init(1731405415,4290775857),new r.init(2394180231,1750603025),new r.init(3675008525,1694076839),new r.init(1203062813,3204075428)])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=16,e}}),e.SHA384=a._createHelper(s),e.HmacSHA384=a._createHmacHelper(s),o.SHA384)),ae.exports;var e,t,r,n,i,a,s,o}(),le(),function(){return ue||(ue=1,ce.exports=(e=S(),function(t){var r=e,n=r.lib,i=n.WordArray,a=n.Hasher,s=r.algo,o=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),l=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),u=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),c=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),p=i.create([0,1518500249,1859775393,2400959708,2840853838]),d=i.create([1352829926,1548603684,1836072691,2053994217,0]),h=s.RIPEMD160=a.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var a,s,h,x,v,w,E,k,A,T,D,S=this._hash.words,N=p.words,R=d.words,O=o.words,L=l.words,B=u.words,C=c.words;for(w=a=S[0],E=s=S[1],k=h=S[2],A=x=S[3],T=v=S[4],r=0;r<80;r+=1)D=a+e[t+O[r]]|0,D+=r<16?_(s,h,x)+N[0]:r<32?f(s,h,x)+N[1]:r<48?g(s,h,x)+N[2]:r<64?m(s,h,x)+N[3]:b(s,h,x)+N[4],D=(D=y(D|=0,B[r]))+v|0,a=v,v=x,x=y(h,10),h=s,s=D,D=w+e[t+L[r]]|0,D+=r<16?b(E,k,A)+R[0]:r<32?m(E,k,A)+R[1]:r<48?g(E,k,A)+R[2]:r<64?f(E,k,A)+R[3]:_(E,k,A)+R[4],D=(D=y(D|=0,C[r]))+T|0,w=T,T=A,A=y(k,10),k=E,E=D;D=S[1]+h+A|0,S[1]=S[2]+x+T|0,S[2]=S[3]+v+w|0,S[3]=S[4]+a+E|0,S[4]=S[0]+s+k|0,S[0]=D},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,a=i.words,s=0;s<5;s++){var o=a[s];a[s]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}return i},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function _(e,t,r){return e^t^r}function f(e,t,r){return e&t|~e&r}function g(e,t,r){return(e|~t)^r}function m(e,t,r){return e&r|t&~r}function b(e,t,r){return e^(t|~r)}function y(e,t){return e<<t|e>>>32-t}r.RIPEMD160=a._createHelper(h),r.HmacRIPEMD160=a._createHmacHelper(h)}(),e.RIPEMD160)),ce.exports;var e}(),he(),function(){return _e||(_e=1,fe.exports=(l=S(),Q(),he(),t=(e=l).lib,r=t.Base,n=t.WordArray,i=e.algo,a=i.SHA256,s=i.HMAC,o=i.PBKDF2=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,i=s.create(r.hasher,e),a=n.create(),o=n.create([1]),l=a.words,u=o.words,c=r.keySize,p=r.iterations;l.length<c;){var d=i.update(t).finalize(o);i.reset();for(var h=d.words,_=h.length,f=d,g=1;g<p;g++){f=i.finalize(f),i.reset();for(var m=f.words,b=0;b<_;b++)h[b]^=m[b]}a.concat(d),u[0]++}return a.sigBytes=4*c,a}}),e.PBKDF2=function(e,t,r){return o.create(r).compute(e,t)},l.PBKDF2)),fe.exports;var e,t,r,n,i,a,s,o,l}(),be(),ve(),function(){return we||(we=1,Ee.exports=(e=S(),ve(),e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function r(e,t,r,n){var i,a=this._iv;a?(i=a.slice(0),this._iv=void 0):i=this._prevBlock,n.encryptBlock(i,0);for(var s=0;s<r;s++)e[t+s]^=i[s]}return t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize;r.call(this,e,t,i,n),this._prevBlock=e.slice(t,t+i)}}),t.Decryptor=t.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,a=e.slice(t,t+i);r.call(this,e,t,i,n),this._prevBlock=a}}),t}(),e.mode.CFB)),Ee.exports;var e}(),function(){return ke||(ke=1,Ae.exports=(r=S(),ve(),r.mode.CTR=(e=r.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,i=this._iv,a=this._counter;i&&(a=this._counter=i.slice(0),this._iv=void 0);var s=a.slice(0);r.encryptBlock(s,0),a[n-1]=a[n-1]+1|0;for(var o=0;o<n;o++)e[t+o]^=s[o]}}),e.Decryptor=t,e),r.mode.CTR)),Ae.exports;var e,t,r}(),Se(),function(){return Ne||(Ne=1,Re.exports=(r=S(),ve(),r.mode.OFB=(e=r.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,i=this._iv,a=this._keystream;i&&(a=this._keystream=i.slice(0),this._iv=void 0),r.encryptBlock(a,0);for(var s=0;s<n;s++)e[t+s]^=a[s]}}),e.Decryptor=t,e),r.mode.OFB)),Re.exports;var e,t,r}(),function(){return Oe||(Oe=1,Le.exports=(t=S(),ve(),t.mode.ECB=((e=t.lib.BlockCipherMode.extend()).Encryptor=e.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),e.Decryptor=e.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),e),t.mode.ECB)),Le.exports;var e,t}(),function(){return Be||(Be=1,Ce.exports=(e=S(),ve(),e.pad.AnsiX923={pad:function(e,t){var r=e.sigBytes,n=4*t,i=n-r%n,a=r+i-1;e.clamp(),e.words[a>>>2]|=i<<24-a%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923)),Ce.exports;var e}(),function(){return Ie||(Ie=1,qe.exports=(e=S(),ve(),e.pad.Iso10126={pad:function(t,r){var n=4*r,i=n-t.sigBytes%n;t.concat(e.lib.WordArray.random(i-1)).concat(e.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126)),qe.exports;var e}(),function(){return Pe||(Pe=1,Me.exports=(e=S(),ve(),e.pad.Iso97971={pad:function(t,r){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,r)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971)),Me.exports;var e}(),function(){return Ue||(Ue=1,Fe.exports=(e=S(),ve(),e.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){var t=e.words,r=e.sigBytes-1;for(r=e.sigBytes-1;r>=0;r--)if(t[r>>>2]>>>24-r%4*8&255){e.sigBytes=r+1;break}}},e.pad.ZeroPadding)),Fe.exports;var e}(),function(){return je||(je=1,ze.exports=(e=S(),ve(),e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding)),ze.exports;var e}(),function(){return He||(He=1,Ve.exports=(n=S(),ve(),t=(e=n).lib.CipherParams,r=e.enc.Hex,e.format.Hex={stringify:function(e){return e.ciphertext.toString(r)},parse:function(e){var n=r.parse(e);return t.create({ciphertext:n})}},n.format.Hex)),Ve.exports;var e,t,r,n}(),function(){return $e||($e=1,Ge.exports=(e=S(),F(),G(),be(),ve(),function(){var t=e,r=t.lib.BlockCipher,n=t.algo,i=[],a=[],s=[],o=[],l=[],u=[],c=[],p=[],d=[],h=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,n=0;for(t=0;t<256;t++){var _=n^n<<1^n<<2^n<<3^n<<4;_=_>>>8^255&_^99,i[r]=_,a[_]=r;var f=e[r],g=e[f],m=e[g],b=257*e[_]^16843008*_;s[r]=b<<24|b>>>8,o[r]=b<<16|b>>>16,l[r]=b<<8|b>>>24,u[r]=b,b=16843009*m^65537*g^257*f^16843008*r,c[_]=b<<24|b>>>8,p[_]=b<<16|b>>>16,d[_]=b<<8|b>>>24,h[_]=b,r?(r=f^e[e[e[m^f]]],n^=e[e[n]]):r=n=1}}();var _=[0,1,2,4,8,16,32,64,128,27,54],f=n.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=4*((this._nRounds=r+6)+1),a=this._keySchedule=[],s=0;s<n;s++)s<r?a[s]=t[s]:(u=a[s-1],s%r?r>6&&s%r==4&&(u=i[u>>>24]<<24|i[u>>>16&255]<<16|i[u>>>8&255]<<8|i[255&u]):(u=i[(u=u<<8|u>>>24)>>>24]<<24|i[u>>>16&255]<<16|i[u>>>8&255]<<8|i[255&u],u^=_[s/r|0]<<24),a[s]=a[s-r]^u);for(var o=this._invKeySchedule=[],l=0;l<n;l++){if(s=n-l,l%4)var u=a[s];else u=a[s-4];o[l]=l<4||s<=4?u:c[i[u>>>24]]^p[i[u>>>16&255]]^d[i[u>>>8&255]]^h[i[255&u]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,o,l,u,i)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,c,p,d,h,a),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,i,a,s,o){for(var l=this._nRounds,u=e[t]^r[0],c=e[t+1]^r[1],p=e[t+2]^r[2],d=e[t+3]^r[3],h=4,_=1;_<l;_++){var f=n[u>>>24]^i[c>>>16&255]^a[p>>>8&255]^s[255&d]^r[h++],g=n[c>>>24]^i[p>>>16&255]^a[d>>>8&255]^s[255&u]^r[h++],m=n[p>>>24]^i[d>>>16&255]^a[u>>>8&255]^s[255&c]^r[h++],b=n[d>>>24]^i[u>>>16&255]^a[c>>>8&255]^s[255&p]^r[h++];u=f,c=g,p=m,d=b}f=(o[u>>>24]<<24|o[c>>>16&255]<<16|o[p>>>8&255]<<8|o[255&d])^r[h++],g=(o[c>>>24]<<24|o[p>>>16&255]<<16|o[d>>>8&255]<<8|o[255&u])^r[h++],m=(o[p>>>24]<<24|o[d>>>16&255]<<16|o[u>>>8&255]<<8|o[255&c])^r[h++],b=(o[d>>>24]<<24|o[u>>>16&255]<<16|o[c>>>8&255]<<8|o[255&p])^r[h++],e[t]=f,e[t+1]=g,e[t+2]=m,e[t+3]=b},keySize:8});t.AES=r._createHelper(f)}(),e.AES)),Ge.exports;var e}(),Xe(),function(){return Je||(Je=1,Ye.exports=(e=S(),F(),G(),be(),ve(),function(){var t=e,r=t.lib.StreamCipher,n=t.algo,i=n.RC4=r.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],i=0;i<256;i++)n[i]=i;i=0;for(var a=0;i<256;i++){var s=i%r,o=t[s>>>2]>>>24-s%4*8&255;a=(a+n[i]+o)%256;var l=n[i];n[i]=n[a],n[a]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=a.call(this)},keySize:8,ivSize:0});function a(){for(var e=this._S,t=this._i,r=this._j,n=0,i=0;i<4;i++){r=(r+e[t=(t+1)%256])%256;var a=e[t];e[t]=e[r],e[r]=a,n|=e[(e[t]+e[r])%256]<<24-8*i}return this._i=t,this._j=r,n}t.RC4=r._createHelper(i);var s=n.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)a.call(this)}});t.RC4Drop=r._createHelper(s)}(),e.RC4)),Ye.exports;var e}(),function(){return Qe||(Qe=1,Ze.exports=(e=S(),F(),G(),be(),ve(),function(){var t=e,r=t.lib.StreamCipher,n=t.algo,i=[],a=[],s=[],o=n.Rabbit=r.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,r=0;r<4;r++)e[r]=16711935&(e[r]<<8|e[r]>>>24)|4278255360&(e[r]<<24|e[r]>>>8);var n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,r=0;r<4;r++)l.call(this);for(r=0;r<8;r++)i[r]^=n[r+4&7];if(t){var a=t.words,s=a[0],o=a[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),c=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),p=u>>>16|4294901760&c,d=c<<16|65535&u;for(i[0]^=u,i[1]^=p,i[2]^=c,i[3]^=d,i[4]^=u,i[5]^=p,i[6]^=c,i[7]^=d,r=0;r<4;r++)l.call(this)}},_doProcessBlock:function(e,t){var r=this._X;l.call(this),i[0]=r[0]^r[5]>>>16^r[3]<<16,i[1]=r[2]^r[7]>>>16^r[5]<<16,i[2]=r[4]^r[1]>>>16^r[7]<<16,i[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)i[n]=16711935&(i[n]<<8|i[n]>>>24)|4278255360&(i[n]<<24|i[n]>>>8),e[t+n]^=i[n]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,r=0;r<8;r++)a[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<a[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<a[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<a[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<a[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<a[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<a[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<a[6]>>>0?1:0)|0,this._b=t[7]>>>0<a[7]>>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],i=65535&n,o=n>>>16,l=((i*i>>>17)+i*o>>>15)+o*o,u=((4294901760&n)*n|0)+((65535&n)*n|0);s[r]=l^u}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.Rabbit=r._createHelper(o)}(),e.Rabbit)),Ze.exports;var e}(),function(){return et||(et=1,tt.exports=(e=S(),F(),G(),be(),ve(),function(){var t=e,r=t.lib.StreamCipher,n=t.algo,i=[],a=[],s=[],o=n.RabbitLegacy=r.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)l.call(this);for(i=0;i<8;i++)n[i]^=r[i+4&7];if(t){var a=t.words,s=a[0],o=a[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),c=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),p=u>>>16|4294901760&c,d=c<<16|65535&u;for(n[0]^=u,n[1]^=p,n[2]^=c,n[3]^=d,n[4]^=u,n[5]^=p,n[6]^=c,n[7]^=d,i=0;i<4;i++)l.call(this)}},_doProcessBlock:function(e,t){var r=this._X;l.call(this),i[0]=r[0]^r[5]>>>16^r[3]<<16,i[1]=r[2]^r[7]>>>16^r[5]<<16,i[2]=r[4]^r[1]>>>16^r[7]<<16,i[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)i[n]=16711935&(i[n]<<8|i[n]>>>24)|4278255360&(i[n]<<24|i[n]>>>8),e[t+n]^=i[n]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,r=0;r<8;r++)a[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<a[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<a[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<a[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<a[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<a[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<a[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<a[6]>>>0?1:0)|0,this._b=t[7]>>>0<a[7]>>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],i=65535&n,o=n>>>16,l=((i*i>>>17)+i*o>>>15)+o*o,u=((4294901760&n)*n|0)+((65535&n)*n|0);s[r]=l^u}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.RabbitLegacy=r._createHelper(o)}(),e.RabbitLegacy)),tt.exports;var e}(),it())));let ht="PENDING",_t="",ft={};const gt=["127.0.0.1","localhost"],mt=[{clidText:"yruFnUP9yM3OfLFA8+Vvgw==",expiredAt:1822435200},{clidText:"w7+CgUmAoqiicL1M/+ljjw==",expiredAt:1872288e3},{clidText:"2r+Yh0TuyMDICLBB8uRugg==",expiredAt:1735689600,origins:["easyemail.pro"]}],bt=(e,t)=>{const r=dt.AES.decrypt(t,"easy_email_pro_"+e).toString(dt.enc.Utf8);return JSON.parse(r)},yt={getToken(){if("undefined"!=typeof document)return function(e){let t="";return document.cookie.split(";").forEach((r=>{const n=r.split("=")[0];n.trim()===e&&(t=r.replace(`${n}=`,""))})),t}("e_e_p")},setToken(e){if("undefined"!=typeof document)return y("e_e_p",e,3600)},clearToken(){if("undefined"!=typeof document)return y("e_e_p","",-1)}},xt=e=>{const t=mt.find((t=>t.clidText===(e=>{const t=dt.enc.Utf8.parse("easy-email-pro"),r=dt.enc.Utf8.parse("easy-email-pro_multiple_years"),n=dt.mode.CFB,i=dt.pad.Pkcs7,a=e;return dt.AES.encrypt(a,t,{iv:r,mode:n,padding:i}).toString()})(e)));if(t){if(t.expiredAt>+new Date/1e3){t.expiredAt-+new Date/1e3<5184e3&&(console.log("-----------------------------------------"),console.log("-----------------------------------------"),console.log("-----------------------------------------"),console.error("Your Easy Email Pro subscription is about to expire. Please contact ch.mao@qq.com"),console.error("Your Easy Email Pro subscription is about to expire. Please contact ch.mao@qq.com"),console.error("Your Easy Email Pro subscription is about to expire. Please contact ch.mao@qq.com"),console.log("-----------------------------------------"),console.log("-----------------------------------------"),console.log("-----------------------------------------"));const e="undefined"==typeof window||void 0===window.location;if(t.origins&&!e){if(gt.includes(window.location.hostname))return!0;const e=function(e){var t;let r=null==(t=e.match(/(?:https?:\/\/)?(?:[^@\n]+@)?(?:www\.)?([^:/\n]+)/im))?void 0:t[1];if(!r)return e;if(r.split(".").length>2){const e=r.split(".");r=e.slice(e.length-2).join(".")}return r}(window.location.origin);return!!t.origins.includes(e)}return ht="SUCCESS",!0}return console.error("Subscription error"),!1}return!1};let vt;const wt=Object.freeze(new class{auth(e){return p(this,null,(function*(){_t=e;vt||(vt=p(null,null,(function*(){if("PENDING"!==ht)return;if(xt(e))return!0;const t=yt.getToken();if(t)try{const r=bt(e,t);r.expiredAt>+new Date/1e3&&(ht="SUCCESS",ft=r)}catch(n){yt.clearToken()}const r=()=>p(null,null,(function*(){try{const t="FREE"===e?"https://api.beacas.com":"https://api.easyemail.pro",{data:r}=yield _(`${t}/api/public/token?client_id=${e}&v=1.59.4`,{method:"GET",withCredentials:!1}),n=bt(e,r.access_token);ft=n,yt.setToken(r.access_token),ht="SUCCESS"}catch(n){try{const{data:t}=yield _(`https://api-easyemail-pro.vercel.app/api/public/token?client_id=${e}&v=1.59.4`,{method:"GET"}),r=bt(e,t.access_token);ft=r,yt.setToken(t.access_token),ht="SUCCESS"}catch(t){throw console.log("error",t),ht="ERROR",t}}}));"SUCCESS"===ht?r():yield r()}))),yield vt}))}get clientId(){return _t}getAuthState(){return ht}getFeatureEnabled(e){return!!xt(_t)||d.get(ft,"features",[]).includes(e)}});let Et={},kt=!1,At=!1;const Tt=Object.freeze(new class{checkLocaleData(){return p(this,null,(function*(){const e=setInterval((()=>{"SUCCESS"===wt.getAuthState()&&(kt=wt.getFeatureEnabled("LOCALIZATION"),At=!0,clearInterval(e))}),100)}))}setLocaleData(e){Et=e,At||this.checkLocaleData()}translate(e,t){return this.translateWithParams(e,t)}translateWithParams(e,t){if(At&&!kt)throw new Error("Current plan do not support localization");const r=d.get(Et,e,e);if(!t)return r;const n=r.split("***");return n.splice(1,0,t),d.isString(t)?n.join(""):h.createElement(h.Fragment,null,n.map(((e,t)=>h.createElement(h.Fragment,{key:t},e))))}}),Dt=Tt.translate.bind(Tt),St=".mjbody a{color:inherit}.direction-rtl,.navbar-direction-rtl .mj-link{direction:rtl}[data-view=PC] .hide-desktop-block,[data-view=PC] .hide-desktop-inline-block,[data-view=PC] .mobile-responsive-preview{display:none!important}[data-view=MOBILE] .node-type-page{margin:auto}[data-view=MOBILE] .hide-mobile-block,[data-view=MOBILE] .hide-mobile-inline-block,[data-view=MOBILE] .desktop-responsive-preview{display:none!important}",Nt={PAGE:"page",SECTION:"section",COLUMN:"column",GROUP:"group",TEXT:"text",IMAGE:"image",DIVIDER:"divider",SPACER:"spacer",BUTTON:"button",WRAPPER:"wrapper",RAW:"raw",HERO:"hero",CAROUSEL:"carousel",NAVBAR:"navbar",NAVBAR_LINK:"navbar-link",SOCIAL:"social",SOCIAL_ELEMENT:"social-element",MERGETAG:"mergetag",LINE_BREAK:"line-break",PLACEHOLDER:"placeholder",TABLE:"table",DANGEROUS_CODE:"dangerous-code",HTML_NODE:"html-node",HTML_BLOCK_NODE:"html-block-node",HTML_DOM_NODE:"html-dom-node",CONTENT_WIDGET:"content_widget",SECTION_WIDGET:"section_widget",WRAPPER_WIDGET:"wrapper_widget",PAGE_HEADER:"page-header",PAGE_FOOTER:"page-footer"},Rt={STANDARD_HERO:"standard-hero",STANDARD_WRAPPER:"standard-wrapper",STANDARD_SECTION:"standard-section",STANDARD_GROUP:"standard-group",STANDARD_COLUMN:"standard-column",STANDARD_IMAGE:"standard-image",STANDARD_DIVIDER:"standard-divider",STANDARD_SPACER:"standard-spacer",STANDARD_NAVBAR:"standard-navbar",STANDARD_NAVBAR_LINK:"standard-navbar-link",STANDARD_SOCIAL:"standard-social",STANDARD_SOCIAL_ELEMENT:"standard-social-element",STANDARD_BUTTON:"standard-button",STANDARD_TEXT:"standard-text",STANDARD_PARAGRAPH:"standard-paragraph",STANDARD_H1:"standard-h1",STANDARD_H2:"standard-h2",STANDARD_H3:"standard-h3",STANDARD_H4:"standard-h4",STANDARD_TABLE:"standard-table",STANDARD_TEXT_LIST:"standard-text-list",STANDARD_TEXT_LIST_ITEM:"standard-text-list-item",STANDARD_BLOCK_QUOTE:"standard-blockquote",STANDARD_TABLE2:"standard-table2",STANDARD_TABLE2_TR:"standard-table2-tr",STANDARD_TABLE2_TD:"standard-table2-td"},Ot={FOR_EACH:"logic-for-each",SHOW:"logic-show"},Lt=o(o(o({},Nt),Rt),Ot),Bt={PAGE:"page",RAW:"raw",HERO:"hero",WRAPPER:"wrapper",SECTION:"section",COLUMN:"column",GROUP:"group",TEXT:"text",TABLE:"table",BUTTON:"button",IMAGE:"image",DIVIDER:"divider",NAVBAR:"navbar",NAVBAR_LINK:"navbar-link",SOCIAL:"social",SOCIAL_ELEMENT:"social-element",SPACER:"spacer",TEXT_LIST:"text-list",TEXT_LIST_ITEM:"text-list-item",INLINE_TEXT:"inline-text",BLOCK_NODE:"block-node",DANGEROUS_CODE:"dangerous_code",UNKNOWN_CONTENT:"unknown-content ",AMP_BLOCK:"amp-block",UNSET:"unset",UNSET_RENDER:"unset-render",TABLE2_TR:"table2-tr",TABLE2_TD:"table2-td",PAGE_HEADER:"page-header",PAGE_FOOTER:"page-footer"},Ct="easy_email_pro_preview_content_editable",It="easy_email_pro_slate_node_placeholder",qt="easy_email_pro_slate_code_block",Pt=["img","br","hr","area","base","col","embed","input","link","meta","source"],Mt=["div","p","h1","h2","h3","h4","h5","h6","article","aside","nav","section","header","footer","address","ul","ol","li","table","td","th","tr","blockquote","pre","tbody","center"],Ut=()=>h.useContext(zt),Ft=e=>h.createElement(zt.Provider,{value:{context:e.context}},e.children);class jt{constructor(e){c(this,"mode"),c(this,"headItems",[]),c(this,"addStyle",(e=>{this.addHeadItems({type:"style",id:e.id,content:`<mj-style ${e.inline&&"production"===this.mode?'inline="inline"':""}>${e.content}</mj-style>`})})),this.mode=e.mode}getHeadContent(){return[...new Set(this.headItems.map((e=>e.content)))].join("\n")}addAttributeBySelector(e){this.addHeadItems({type:"selector",content:`<mj-html--attributes>\n <mj-selector path="${e.selector}">\n ${Object.keys(e.attributes).map((t=>`<mj-html--attribute name="${t}">${e.attributes[t]}</mj-html--attribute>`))}\n </mj-selector>\n </mj-html--attributes>`})}addHeadItems(e){e.id&&this.headItems.find((t=>t.id===e.id))||this.headItems.push({id:e.id,content:e.content,type:e.type})}}const zt=h.createContext({});var Ht,Vt={exports:{}};var $t,Gt,Wt=(Ht||(Ht=1,$t=Vt,Gt=Vt.exports,function(e){var t=Gt,r=$t&&$t.exports==t&&$t,n="object"==typeof x&&x;n.global!==n&&n.window!==n||(e=n);var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=/[\x01-\x7F]/g,s=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,o=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,l={"":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp"," ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},u=/["&'<>`]/g,c={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},p=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,d=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,h=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,_={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"",zwnj:""},f={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},g={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},m=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],b=String.fromCharCode,y={}.hasOwnProperty,v=function(e,t){return y.call(e,t)},w=function(e,t){if(!e)return t;var r,n={};for(r in t)n[r]=v(e,r)?e[r]:t[r];return n},E=function(e,t){var r="";return e>=55296&&e<=57343||e>1114111?(t&&T("character reference outside the permissible Unicode range"),"�"):v(g,e)?(t&&T("disallowed character reference"),g[e]):(t&&function(e,t){for(var r=-1,n=e.length;++r<n;)if(e[r]==t)return!0;return!1}(m,e)&&T("disallowed character reference"),e>65535&&(r+=b((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=b(e))},k=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},A=function(e){return"&#"+e+";"},T=function(e){throw Error("Parse error: "+e)},D=function(e,t){(t=w(t,D.options)).strict&&d.test(e)&&T("forbidden code point");var r=t.encodeEverything,n=t.useNamedReferences,c=t.allowUnsafeSymbols,p=t.decimal?A:k,h=function(e){return p(e.charCodeAt(0))};return r?(e=e.replace(a,(function(e){return n&&v(l,e)?"&"+l[e]+";":h(e)})),n&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),n&&(e=e.replace(o,(function(e){return"&"+l[e]+";"})))):n?(c||(e=e.replace(u,(function(e){return"&"+l[e]+";"}))),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(o,(function(e){return"&"+l[e]+";"}))):c||(e=e.replace(u,h)),e.replace(i,(function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return p(1024*(t-55296)+r-56320+65536)})).replace(s,h)};D.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var S=function(e,t){var r=(t=w(t,S.options)).strict;return r&&p.test(e)&&T("malformed character reference"),e.replace(h,(function(e,n,i,a,s,o,l,u,c){var p,d,h,g,m,b;return n?_[m=n]:i?(m=i,(b=a)&&t.isAttributeValue?(r&&"="==b&&T("`&` did not start a character reference"),e):(r&&T("named character reference was not terminated by a semicolon"),f[m]+(b||""))):s?(h=s,d=o,r&&!d&&T("character reference was not terminated by a semicolon"),p=parseInt(h,10),E(p,r)):l?(g=l,d=u,r&&!d&&T("character reference was not terminated by a semicolon"),p=parseInt(g,16),E(p,r)):(r&&T("named character reference was not terminated by a semicolon"),e)}))};S.options={isAttributeValue:!1,strict:!1};var N={version:"1.2.0",encode:D,decode:S,escape:function(e){return e.replace(u,(function(e){return c[e]}))},unescape:S};if(t&&!t.nodeType)if(r)r.exports=N;else for(var R in N)v(N,R)&&(t[R]=N[R]);else e.he=N}(Vt.exports)),Vt.exports);const Kt=v(Wt),Xt=[Bt.COLUMN,Bt.GROUP,Bt.UNSET,Bt.TEXT_LIST_ITEM,Bt.UNKNOWN_CONTENT],Jt=[Bt.DANGEROUS_CODE,Bt.TABLE,Bt.TEXT,Bt.BUTTON,Bt.DIVIDER,Bt.IMAGE,Bt.NAVBAR,Bt.SOCIAL,Bt.SPACER,Bt.TEXT_LIST,Bt.TEXT_LIST_ITEM,Bt.UNKNOWN_CONTENT,Bt.TABLE2_TD,Bt.AMP_BLOCK],Yt=class e{static getPageIdx(){return"content"}static getUniversalElementsIdx(e){return`blocks.${e}`}static getChildIdx(e,t){return`${e}.children.${t}`}static getNodeIdxClassName(e){return`node-idx-${e}`}static getParentIdx(t){var r;return t===e.getPageIdx()?"":(null==(r=/(.*)\.children\.\d+$/.exec(t))?void 0:r[1])||""}static isVoidBlockElement(t){if(!e.isElement(t))return!1;const r=Ja.getBlockByType(t.type);return Boolean(r.void)}static isUnsetElement(t){if(!e.isElement(t))return!1;const r=Ja.getBlockByType(t.type);return r.category===Bt.UNSET||r.category===Bt.SOCIAL_ELEMENT||r.category===Bt.NAVBAR_LINK}static isTable2Element(t){return!!e.isElement(t)&&t.type===Lt.STANDARD_TABLE2}static isAmpBlockElement(t){if(!e.isElement(t))return!1;return Ja.getBlockByType(t.type).category===Bt.AMP_BLOCK}static isTable2TrElement(t){if(!e.isElement(t))return!1;return Ja.getBlockByType(t.type).category===Bt.TABLE2_TR}static isTable2TdElement(t){if(!e.isElement(t))return!1;return Ja.getBlockByType(t.type).category===Bt.TABLE2_TD}static isTextNode(e){return Boolean(void 0!==d.get(e,"text"))}static isElement(e){return Boolean(d.get(e,"type")&&d.get(e,"children")&&d.get(e,"attributes"))}static isHTMLNodeElement(t){return e.isElement(t)&&t.type===Lt.HTML_NODE}static isHTMLBlockNodeElement(t){return e.isElement(t)&&t.type===Lt.HTML_BLOCK_NODE}static isBlockElement(t){const r=d.get(t,"type"),n=Ja.getBlockByType(r);return!!n&&!(n.inlineElement||e.isHTMLBlockNodeElement(t)||e.isTable2TrElement(t)||e.isTable2TdElement(t))}static isLineBreakElement(e){return d.get(e,"type")===Lt.LINE_BREAK}static isUniversalElement(t){return!!e.isElement(t)&&Boolean(t.uid)}static isStandaloneElement(t){var r;return!!e.isElement(t)&&Boolean(null==(r=Ja.getBlockByType(t.type))?void 0:r.standalone)}static isInlineElement(t){if(!e.isElement(t))return!1;const r=d.get(t,"type"),n=Ja.getBlockByType(r);return!!n&&!!n.inlineElement}static isMergetagElement(t){if(!e.isElement(t))return!1;const r=d.get(t,"type"),n=Ja.getBlockByType(r);return!!n&&(!!n.inlineElement&&n.type===Nt.MERGETAG)}static isPageHeaderElement(t){if(!e.isElement(t))return!1;const r=Ja.getBlockByType(t.type);return!!r&&r.category===Bt.PAGE_HEADER}static isPageFooterElement(t){if(!e.isElement(t))return!1;const r=Ja.getBlockByType(t.type);return!!r&&r.category===Bt.PAGE_FOOTER}static isParentCategory(t,r){if(t===Bt.BLOCK_NODE&&r===Bt.BLOCK_NODE)return!0;if([Bt.INLINE_TEXT,Bt.TEXT_LIST,Bt.BLOCK_NODE].includes(t)&&e.isContentElementCategory(r))return!0;if(e.isContentElementCategory(t))return!(!Tn.autoComplete||r!==Bt.PAGE&&r!==Bt.WRAPPER)||(r===Bt.COLUMN||r===Bt.HERO);switch(t){case Bt.COLUMN:return r===Bt.GROUP||r===Bt.SECTION;case Bt.GROUP:return r===Bt.SECTION;case Bt.SECTION:case Bt.HERO:return r===Bt.WRAPPER||r===Bt.PAGE;case Bt.WRAPPER:return r===Bt.PAGE;case Bt.SOCIAL_ELEMENT:return r===Bt.SOCIAL;case Bt.NAVBAR_LINK:return r===Bt.NAVBAR}return!1}static isParentCategoryType(t,r){const n=Ja.getBlockByType(t),i=Ja.getBlockByType(r);return!(![Lt.HTML_BLOCK_NODE,Lt.HTML_NODE].includes(t)||!e.isContentElement(i.create()))||(!(!n.inlineElement||![Lt.HTML_BLOCK_NODE,Lt.HTML_NODE].includes(r))||this.isParentCategory(n.category,i.category))}};c(Yt,"isContentElementCategory",(e=>Jt.includes(e))),c(Yt,"isPageElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.PAGE})),c(Yt,"isSectionElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.SECTION})),c(Yt,"isTableElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.TABLE})),c(Yt,"isHeroElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.HERO})),c(Yt,"isNavbarLink",(e=>!!Yt.isElement(e)&&(e.type===Lt.NAVBAR_LINK||e.type===Lt.STANDARD_NAVBAR_LINK))),c(Yt,"isDividerElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.DIVIDER})),c(Yt,"isSpacerElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.SPACER})),c(Yt,"isButtonElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category.includes(Bt.BUTTON)})),c(Yt,"isImageElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.IMAGE})),c(Yt,"isSocialElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.SOCIAL})),c(Yt,"isWidgetElement",(e=>!!Yt.isElement(e)&&[Lt.CONTENT_WIDGET,Lt.SECTION_WIDGET,Lt.WRAPPER_WIDGET].includes(e.type))),c(Yt,"isWrapperElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category.includes(Bt.WRAPPER)})),c(Yt,"isRawElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category.includes(Bt.RAW)})),c(Yt,"isGroupElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.GROUP})),c(Yt,"isColumnElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.COLUMN})),c(Yt,"isContentElement",(e=>{if(!Yt.isElement(e))return!1;if(e.type===Nt.PLACEHOLDER)return!0;const t=Ja.getBlockByType(e.type);return Jt.includes(t.category)})),c(Yt,"isAutoCompleteElement",(e=>{if(!Yt.isElement(e))return!1;if(e.type===Nt.PLACEHOLDER)return!0;const t=Ja.getBlockByType(e.type).category;return Jt.includes(t)&&t!==Bt.TABLE2_TD})),c(Yt,"isUnelectableElement",(e=>{if(!Yt.isElement(e))return!1;if(e.type===Nt.PLACEHOLDER)return!0;const t=Ja.getBlockByType(e.type);return Xt.includes(t.category)})),c(Yt,"isTextElement",(e=>{if(!Yt.isElement(e))return!1;const t=Ja.getBlockByType(e.type);return Yt.isTable2TdElement(e)||t.category===Bt.TEXT||t.category===Bt.TEXT_LIST||t.category===Bt.TEXT_LIST_ITEM||t.category===Bt.INLINE_TEXT})),c(Yt,"isPlaceholderElement",(e=>!!Yt.isElement(e)&&e.type===Nt.PLACEHOLDER)),c(Yt,"isTextListElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.TEXT_LIST})),c(Yt,"isTextListItemElement",(e=>{if(!Yt.isElement(e))return!1;return Ja.getBlockByType(e.type).category===Bt.TEXT_LIST_ITEM}));let Qt=Yt;var Zt,er={exports:{}},tr={},rr={exports:{}},nr={},ir={};function ar(){if(Zt)return ir;function e(e){this.__parent=e,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 t(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function r(r,n){this.__indent_cache=new t(r,n),this.raw=!1,this._end_with_newline=r.end_with_newline,this.indent_size=r.indent_size,this.wrap_line_length=r.wrap_line_length,this.indent_empty_lines=r.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}return Zt=1,e.prototype.clone_empty=function(){var t=new e(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},e.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},e.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},e.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.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)},e.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},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return 0===this.__items.length},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},e.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},t.prototype.get_indent_size=function(e,t){var r=this.__base_string_length;return t=t||0,e<0&&(r=0),r+=e*this.__indent_size,r+=t},t.prototype.get_indent_string=function(e,t){var r=this.__base_string;return t=t||0,e<0&&(e=0,r=""),t+=e*this.__indent_size,this.__ensure_cache(t),r+=this.__cache[t]},t.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},t.prototype.__add_column=function(){var e=this.__cache.length,t=0,r="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,r=new Array(t+1).join(this.__indent_string)),e&&(r+=new Array(e+1).join(" ")),this.__cache.push(r)},r.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},r.prototype.get_line_number=function(){return this.__lines.length},r.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},r.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},r.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},r.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},r.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var r=this.__lines.join("\n");return"\n"!==e&&(r=r.replace(/[\n]/g,e)),r},r.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},r.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},r.prototype.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},r.prototype.add_token=function(e){this.__add_space_before_token(),this.current_line.push(e),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},r.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},r.prototype.remove_indent=function(e){for(var t=this.__lines.length;e<t;)this.__lines[e]._remove_indent(),e++;this.current_line._remove_wrap_indent()},r.prototype.trim=function(e){for(e=void 0!==e&&e,this.current_line.trim();e&&this.__lines.length>1&&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},r.prototype.just_added_newline=function(){return this.current_line.is_empty()},r.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},r.prototype.ensure_empty_line_above=function(t,r){for(var n=this.__lines.length-2;n>=0;){var i=this.__lines[n];if(i.is_empty())break;if(0!==i.item(0).indexOf(t)&&i.item(-1)!==r){this.__lines.splice(n+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},ir.Output=r,ir}var sr,or={};function lr(){if(sr)return or;return sr=1,or.Token=function(e,t,r,n){this.type=e,this.text=t,this.comments_before=null,this.newlines=r||0,this.whitespace_before=n||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null},or}var ur,cr={};function pr(){return ur||(ur=1,function(e){var t="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",r="\\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",n="\\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",i="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",a="(?:"+i+"|[\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a"+r+"])",s="(?:"+i+"|["+t+r+n+"])*";e.identifier=new RegExp(a+s,"g"),e.identifierStart=new RegExp(a),e.identifierMatch=new RegExp("(?:"+i+"|["+t+r+n+"])+"),e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp("\r\n|"+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")}(cr)),cr}var dr,hr,_r={},fr={};function gr(){if(dr)return fr;function e(e,r){this.raw_options=t(e,r),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","angular","django","erb","handlebars","php","smarty"],["auto"])}function t(e,t){var n,i={};for(n in e=r(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function r(e){var t,r={};for(t in e){r[t.replace(/-/g,"_")]=e[t]}return r}return dr=1,e.prototype._get_array=function(e,t){var r=this.raw_options[e],n=t||[];return"object"==typeof r?null!==r&&"function"==typeof r.concat&&(n=r.concat()):"string"==typeof r&&(n=r.split(/[^a-zA-Z0-9_\/\-]+/)),n},e.prototype._get_boolean=function(e,t){var r=this.raw_options[e];return void 0===r?!!t:!!r},e.prototype._get_characters=function(e,t){var r=this.raw_options[e],n=t||"";return"string"==typeof r&&(n=r.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),n},e.prototype._get_number=function(e,t){var r=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var n=parseInt(r,10);return isNaN(n)&&(n=t),n},e.prototype._get_selection=function(e,t,r){var n=this._get_selection_list(e,t,r);if(1!==n.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return n[0]},e.prototype._get_selection_list=function(e,t,r){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(r=r||[t[0]],!this._is_valid_selection(r,t))throw new Error("Invalid Default Value!");var n=this._get_array(e,r);if(!this._is_valid_selection(n,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return n},e.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},fr.Options=e,fr.normalizeOpts=r,fr.mergeOpts=t,fr}function mr(){if(hr)return _r;hr=1;var e=gr().Options,t=["before-newline","after-newline","preserve-newline"];function r(r){e.call(this,r,"js");var n=this.raw_options.brace_style||null;"expand-strict"===n?this.raw_options.brace_style="expand":"collapse-preserve-inline"===n?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 i=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var a=0;a<i.length;a++)"preserve-inline"===i[a]?this.brace_preserve_inline=!0:this.brace_style=i[a];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",t),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}return r.prototype=new e,_r.Options=r,_r}var br,yr={},xr={};function vr(){if(br)return xr;br=1;var e=RegExp.prototype.hasOwnProperty("sticky");function t(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}return t.prototype.restart=function(){this.__position=0},t.prototype.back=function(){this.__position>0&&(this.__position-=1)},t.prototype.hasNext=function(){return this.__position<this.__input_length},t.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__input.charAt(this.__position),this.__position+=1),e},t.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__input_length&&(t=this.__input.charAt(e)),t},t.prototype.__match=function(t,r){t.lastIndex=r;var n=t.exec(this.__input);return!n||e&&t.sticky||n.index!==r&&(n=null),n},t.prototype.test=function(e,t){return t=t||0,(t+=this.__position)>=0&&t<this.__input_length&&!!this.__match(e,t)},t.prototype.testChar=function(e,t){var r=this.peek(t);return e.lastIndex=0,null!==r&&e.test(r)},t.prototype.match=function(e){var t=this.__match(e,this.__position);return t?this.__position+=t[0].length:t=null,t},t.prototype.read=function(e,t,r){var n,i="";return e&&(n=this.match(e))&&(i+=n[0]),!t||!n&&e||(i+=this.readUntil(t,r)),i},t.prototype.readUntil=function(e,t){var r,n=this.__position;e.lastIndex=this.__position;var i=e.exec(this.__input);return i?(n=i.index,t&&(n+=i[0].length)):n=this.__input_length,r=this.__input.substring(this.__position,n),this.__position=n,r},t.prototype.readUntilAfter=function(e){return this.readUntil(e,!0)},t.prototype.get_regexp=function(t,r){var n=null,i="g";return r&&e&&(i="y"),"string"==typeof t&&""!==t?n=new RegExp(t,i):t&&(n=new RegExp(t.source,i)),n},t.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},t.prototype.peekUntilAfter=function(e){var t=this.__position,r=this.readUntilAfter(e);return this.__position=t,r},t.prototype.lookBack=function(e){var t=this.__position-1;return t>=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},xr.InputScanner=t,xr}var wr,Er={},kr={};var Ar,Tr,Dr,Sr={},Nr={};function Rr(){if(Ar)return Nr;function e(e,t){this._input=e,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,t&&(this._starting_pattern=this._input.get_regexp(t._starting_pattern,!0),this._match_pattern=this._input.get_regexp(t._match_pattern,!0),this._until_pattern=this._input.get_regexp(t._until_pattern),this._until_after=t._until_after)}return Ar=1,e.prototype.read=function(){var e=this._input.read(this._starting_pattern);return this._starting_pattern&&!e||(e+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),e},e.prototype.read_match=function(){return this._input.match(this._match_pattern)},e.prototype.until_after=function(e){var t=this._create();return t._until_after=!0,t._until_pattern=this._input.get_regexp(e),t._update(),t},e.prototype.until=function(e){var t=this._create();return t._until_after=!1,t._until_pattern=this._input.get_regexp(e),t._update(),t},e.prototype.starting_with=function(e){var t=this._create();return t._starting_pattern=this._input.get_regexp(e,!0),t._update(),t},e.prototype.matching=function(e){var t=this._create();return t._match_pattern=this._input.get_regexp(e,!0),t._update(),t},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},Nr.Pattern=e,Nr}function Or(){if(Dr)return Er;Dr=1;var e=vr().InputScanner,t=lr().Token,r=function(){if(wr)return kr;function e(e){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=e}return wr=1,e.prototype.restart=function(){this.__position=0},e.prototype.isEmpty=function(){return 0===this.__tokens_length},e.prototype.hasNext=function(){return this.__position<this.__tokens_length},e.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__tokens[this.__position],this.__position+=1),e},e.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__tokens_length&&(t=this.__tokens[e]),t},e.prototype.add=function(e){this.__parent_token&&(e.parent=this.__parent_token),this.__tokens.push(e),this.__tokens_length+=1},kr.TokenStream=e,kr}().TokenStream,n=function(){if(Tr)return Sr;Tr=1;var e=Rr().Pattern;function t(t,r){e.call(this,t,r),r?this._line_regexp=this._input.get_regexp(r._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}return t.prototype=new e,t.prototype.__set_whitespace_patterns=function(e,t){e+="\\t ",t+="\\n\\r",this._match_pattern=this._input.get_regexp("["+e+t+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+t+"]")},t.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var e=this._input.read(this._match_pattern);if(" "===e)this.whitespace_before_token=" ";else if(e){var t=this.__split(this._newline_regexp,e);this.newline_count=t.length-1,this.whitespace_before_token=t[this.newline_count]}return e},t.prototype.matching=function(e,t){var r=this._create();return r.__set_whitespace_patterns(e,t),r._update(),r},t.prototype._create=function(){return new t(this._input,this)},t.prototype.__split=function(e,t){e.lastIndex=0;for(var r=0,n=[],i=e.exec(t);i;)n.push(t.substring(r,i.index)),r=i.index+i[0].length,i=e.exec(t);return r<t.length?n.push(t.substring(r,t.length)):n.push(""),n},Sr.WhitespacePattern=t,Sr}().WhitespacePattern,i={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},a=function(t,r){this._input=new e(t),this._options=r||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new n(this._input)};return a.prototype.tokenize=function(){var e;this._input.restart(),this.__tokens=new r,this._reset();for(var n=new t(i.START,""),a=null,s=[],o=new r;n.type!==i.EOF;){for(e=this._get_next_token(n,a);this._is_comment(e);)o.add(e),e=this._get_next_token(n,a);o.isEmpty()||(e.comments_before=o,o=new r),e.parent=a,this._is_opening(e)?(s.push(a),a=e):a&&this._is_closing(e,a)&&(e.opened=a,a.closed=e,a=s.pop(),e.parent=a),e.previous=n,n.next=e,this.__tokens.add(e),n=e}return this.__tokens},a.prototype._is_first_token=function(){return this.__tokens.isEmpty()},a.prototype._reset=function(){},a.prototype._get_next_token=function(e,t){this._readWhitespace();var r=this._input.read(/.+/g);return r?this._create_token(i.RAW,r):this._create_token(i.EOF,"")},a.prototype._is_comment=function(e){return!1},a.prototype._is_opening=function(e){return!1},a.prototype._is_closing=function(e,t){return!1},a.prototype._create_token=function(e,r){return new t(e,r,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},a.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},Er.Tokenizer=a,Er.TOKEN=i,Er}var Lr,Br={};function Cr(){if(Lr)return Br;function e(e,t){e="string"==typeof e?e:e.source,t="string"==typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}return Lr=1,e.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var r=this.__directive_pattern.exec(e);r;)t[r[1]]=r[2],r=this.__directive_pattern.exec(e);return t},e.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},Br.Directives=e,Br}var Ir,qr,Pr,Mr,Ur={};function Fr(){if(Ir)return Ur;Ir=1;var e=Rr().Pattern,t={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function r(r,n){e.call(this,r,n),this.__template_pattern=null,this._disabled=Object.assign({},t),this._excluded=Object.assign({},t),n&&(this.__template_pattern=this._input.get_regexp(n.__template_pattern),this._excluded=Object.assign(this._excluded,n._excluded),this._disabled=Object.assign(this._disabled,n._disabled));var i=new e(r);this.__patterns={handlebars_comment:i.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:i.starting_with(/{{{/).until_after(/}}}/),handlebars:i.starting_with(/{{/).until_after(/}}/),php:i.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:i.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:i.starting_with(/{%/).until_after(/%}/),django_value:i.starting_with(/{{/).until_after(/}}/),django_comment:i.starting_with(/{#/).until_after(/#}/),smarty:i.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:i.starting_with(/{\*/).until_after(/\*}/),smarty_literal:i.starting_with(/{literal}/).until_after(/{\/literal}/)}}return r.prototype=new e,r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){this.__set_templated_pattern()},r.prototype.disable=function(e){var t=this._create();return t._disabled[e]=!0,t._update(),t},r.prototype.read_options=function(e){var r=this._create();for(var n in t)r._disabled[n]=-1===e.templating.indexOf(n);return r._update(),r},r.prototype.exclude=function(e){var t=this._create();return t._excluded[e]=!0,t._update(),t},r.prototype.read=function(){var e="";e=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);for(var t=this._read_template();t;)this._match_pattern?t+=this._input.read(this._match_pattern):t+=this._input.readUntil(this.__template_pattern),e+=t,t=this._read_template();return this._until_after&&(e+=this._input.readUntilAfter(this._until_pattern)),e},r.prototype.__set_templated_pattern=function(){var e=[];this._disabled.php||e.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||e.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||e.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(e.push(this.__patterns.django._starting_pattern.source),e.push(this.__patterns.django_value._starting_pattern.source),e.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||e.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&e.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+e.join("|")+")")},r.prototype._read_template=function(){var e="",t=this._input.peek();if("<"===t){var r=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==r||(e=e||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==r||(e=e||this.__patterns.erb.read())}else"{"===t&&(this._disabled.handlebars||this._excluded.handlebars||(e=(e=(e=e||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(e=e||this.__patterns.django_value.read()),this._excluded.django||(e=(e=e||this.__patterns.django_comment.read())||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(e=(e=(e=e||this.__patterns.smarty_comment.read())||this.__patterns.smarty_literal.read())||this.__patterns.smarty.read()));return e},Ur.TemplatablePattern=r,Ur}function jr(){if(qr)return yr;qr=1;var e=vr().InputScanner,t=Or().Tokenizer,r=Or().TOKEN,n=Cr().Directives,i=pr(),a=Rr().Pattern,s=Fr().TemplatablePattern;function o(e,t){return-1!==t.indexOf(e)}var l={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:r.START,RAW:r.RAW,EOF:r.EOF},u=new n(/\/\*/,/\*\//),c=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,p=/[0-9]/,d=/[^\d\.]/,h=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),_=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";_=(_="\\?\\.(?!\\d) "+(_=_.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"))).replace(/ /g,"|");var f,g=new RegExp(_),m="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),b=m.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),y=new RegExp("^(?:"+b.join("|")+")$"),x=function(e,r){t.call(this,e,r),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var n=new a(this._input),o=new s(this._input).read_options(this._options);this.__patterns={template:o,identifier:o.starting_with(i.identifier).matching(i.identifierMatch),number:n.matching(c),punct:n.matching(g),comment:n.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:n.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:n.matching(/<!--/),html_comment_end:n.matching(/-->/),include:n.starting_with(/#include/).until_after(i.lineBreak),shebang:n.starting_with(/#!/).until_after(i.lineBreak),xml:n.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:o.until(/['\\\n\r\u2028\u2029]/),double_quote:o.until(/["\\\n\r\u2028\u2029]/),template_text:o.until(/[`\\$]/),template_expression:o.until(/[`}\\]/)}};return(x.prototype=new t)._is_comment=function(e){return e.type===l.COMMENT||e.type===l.BLOCK_COMMENT||e.type===l.UNKNOWN},x.prototype._is_opening=function(e){return e.type===l.START_BLOCK||e.type===l.START_EXPR},x.prototype._is_closing=function(e,t){return(e.type===l.END_BLOCK||e.type===l.END_EXPR)&&t&&("]"===e.text&&"["===t.text||")"===e.text&&"("===t.text||"}"===e.text&&"{"===t.text)},x.prototype._reset=function(){f=!1},x.prototype._get_next_token=function(e,t){var r=null;this._readWhitespace();var n=this._input.peek();return null===n?this._create_token(l.EOF,""):r=(r=(r=(r=(r=(r=(r=(r=(r=(r=r||this._read_non_javascript(n))||this._read_string(n))||this._read_pair(n,this._input.peek(1)))||this._read_word(e))||this._read_singles(n))||this._read_comment(n))||this._read_regexp(n,e))||this._read_xml(n,e))||this._read_punctuation())||this._create_token(l.UNKNOWN,this._input.next())},x.prototype._read_word=function(e){var t;return""!==(t=this.__patterns.identifier.read())?(t=t.replace(i.allLineBreaks,"\n"),e.type!==l.DOT&&(e.type!==l.RESERVED||"set"!==e.text&&"get"!==e.text)&&y.test(t)?"in"!==t&&"of"!==t||e.type!==l.WORD&&e.type!==l.STRING?this._create_token(l.RESERVED,t):this._create_token(l.OPERATOR,t):this._create_token(l.WORD,t)):""!==(t=this.__patterns.number.read())?this._create_token(l.WORD,t):void 0},x.prototype._read_singles=function(e){var t=null;return"("===e||"["===e?t=this._create_token(l.START_EXPR,e):")"===e||"]"===e?t=this._create_token(l.END_EXPR,e):"{"===e?t=this._create_token(l.START_BLOCK,e):"}"===e?t=this._create_token(l.END_BLOCK,e):";"===e?t=this._create_token(l.SEMICOLON,e):"."===e&&d.test(this._input.peek(1))?t=this._create_token(l.DOT,e):","===e&&(t=this._create_token(l.COMMA,e)),t&&this._input.next(),t},x.prototype._read_pair=function(e,t){var r=null;return"#"===e&&"{"===t&&(r=this._create_token(l.START_BLOCK,e+t)),r&&(this._input.next(),this._input.next()),r},x.prototype._read_punctuation=function(){var e=this.__patterns.punct.read();if(""!==e)return"="===e?this._create_token(l.EQUALS,e):"?."===e?this._create_token(l.DOT,e):this._create_token(l.OPERATOR,e)},x.prototype._read_non_javascript=function(e){var t="";if("#"===e){if(this._is_first_token()&&(t=this.__patterns.shebang.read()))return this._create_token(l.UNKNOWN,t.trim()+"\n");if(t=this.__patterns.include.read())return this._create_token(l.UNKNOWN,t.trim()+"\n");e=this._input.next();var r="#";if(this._input.hasNext()&&this._input.testChar(p)){do{r+=e=this._input.next()}while(this._input.hasNext()&&"#"!==e&&"="!==e);return"#"===e||("["===this._input.peek()&&"]"===this._input.peek(1)?(r+="[]",this._input.next(),this._input.next()):"{"===this._input.peek()&&"}"===this._input.peek(1)&&(r+="{}",this._input.next(),this._input.next())),this._create_token(l.WORD,r)}this._input.back()}else if("<"===e&&this._is_first_token()){if(t=this.__patterns.html_comment_start.read()){for(;this._input.hasNext()&&!this._input.testChar(i.newline);)t+=this._input.next();return f=!0,this._create_token(l.COMMENT,t)}}else if(f&&"-"===e&&(t=this.__patterns.html_comment_end.read()))return f=!1,this._create_token(l.COMMENT,t);return null},x.prototype._read_comment=function(e){var t=null;if("/"===e){var r="";if("*"===this._input.peek(1)){r=this.__patterns.block_comment.read();var n=u.get_directives(r);n&&"start"===n.ignore&&(r+=u.readIgnored(this._input)),r=r.replace(i.allLineBreaks,"\n"),(t=this._create_token(l.BLOCK_COMMENT,r)).directives=n}else"/"===this._input.peek(1)&&(r=this.__patterns.comment.read(),t=this._create_token(l.COMMENT,r))}return t},x.prototype._read_string=function(t){if("`"===t||"'"===t||'"'===t){var r=this._input.next();return this.has_char_escapes=!1,r+="`"===t?this._read_string_recursive("`",!0,"${"):this._read_string_recursive(t),this.has_char_escapes&&this._options.unescape_strings&&(r=function(t){var r="",n=0,i=new e(t),a=null;for(;i.hasNext();)if((a=i.match(/([\s]|[^\\]|\\\\)+/g))&&(r+=a[0]),"\\"===i.peek()){if(i.next(),"x"===i.peek())a=i.match(/x([0-9A-Fa-f]{2})/g);else{if("u"!==i.peek()){r+="\\",i.hasNext()&&(r+=i.next());continue}(a=i.match(/u([0-9A-Fa-f]{4})/g))||(a=i.match(/u\{([0-9A-Fa-f]+)\}/g))}if(!a)return t;if((n=parseInt(a[1],16))>126&&n<=255&&0===a[0].indexOf("x"))return t;r+=n>=0&&n<32||n>1114111?"\\"+a[0]:34===n||39===n||92===n?"\\"+String.fromCharCode(n):String.fromCharCode(n)}return r}(r)),this._input.peek()===t&&(r+=this._input.next()),r=r.replace(i.allLineBreaks,"\n"),this._create_token(l.STRING,r)}return null},x.prototype._allow_regexp_or_xml=function(e){return e.type===l.RESERVED&&o(e.text,["return","case","throw","else","do","typeof","yield"])||e.type===l.END_EXPR&&")"===e.text&&e.opened.previous.type===l.RESERVED&&o(e.opened.previous.text,["if","while","for"])||o(e.type,[l.COMMENT,l.START_EXPR,l.START_BLOCK,l.START,l.END_BLOCK,l.OPERATOR,l.EQUALS,l.EOF,l.SEMICOLON,l.COMMA])},x.prototype._read_regexp=function(e,t){if("/"===e&&this._allow_regexp_or_xml(t)){for(var r=this._input.next(),n=!1,a=!1;this._input.hasNext()&&(n||a||this._input.peek()!==e)&&!this._input.testChar(i.newline);)r+=this._input.peek(),n?n=!1:(n="\\"===this._input.peek(),"["===this._input.peek()?a=!0:"]"===this._input.peek()&&(a=!1)),this._input.next();return this._input.peek()===e&&(r+=this._input.next(),r+=this._input.read(i.identifier)),this._create_token(l.STRING,r)}return null},x.prototype._read_xml=function(e,t){if(this._options.e4x&&"<"===e&&this._allow_regexp_or_xml(t)){var r="",n=this.__patterns.xml.read_match();if(n){for(var a=n[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),s=0===a.indexOf("{"),o=0;n;){var u=!!n[1],c=n[2];if(!(!!n[n.length-1]||"![CDATA["===c.slice(0,8))&&(c===a||s&&c.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(u?--o:++o),r+=n[0],o<=0)break;n=this.__patterns.xml.read_match()}return n||(r+=this._input.match(/[\s\S]*/g)[0]),r=r.replace(i.allLineBreaks,"\n"),this._create_token(l.STRING,r)}}return null},x.prototype._read_string_recursive=function(e,t,r){var n,a;"'"===e?a=this.__patterns.single_quote:'"'===e?a=this.__patterns.double_quote:"`"===e?a=this.__patterns.template_text:"}"===e&&(a=this.__patterns.template_expression);for(var s=a.read(),o="";this._input.hasNext();){if((o=this._input.next())===e||!t&&i.newline.test(o)){this._input.back();break}"\\"===o&&this._input.hasNext()?("x"===(n=this._input.peek())||"u"===n?this.has_char_escapes=!0:"\r"===n&&"\n"===this._input.peek(1)&&this._input.next(),o+=this._input.next()):r&&("${"===r&&"$"===o&&"{"===this._input.peek()&&(o+=this._input.next()),r===o&&(o+="`"===e?this._read_string_recursive("}",t,"`"):this._read_string_recursive("`",t,"${"),this._input.hasNext()&&(o+=this._input.next()))),s+=o+=a.read()}return s},yr.Tokenizer=x,yr.TOKEN=l,yr.positionable_operators=h.slice(),yr.line_starters=m.slice(),yr}function zr(){if(Pr)return nr;Pr=1;var e=ar().Output,t=lr().Token,r=pr(),n=mr().Options,i=jr().Tokenizer,a=jr().line_starters,s=jr().positionable_operators,o=jr().TOKEN;function l(e,t){return-1!==t.indexOf(e)}function u(e,t){return e&&e.type===o.RESERVED&&e.text===t}function c(e,t){return e&&e.type===o.RESERVED&&l(e.text,t)}var p=["case","return","do","if","throw","else","await","break","continue","async"],d=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].replace(/-/g,"_")]=e[r];return t}(["before-newline","after-newline","preserve-newline"]),h=[d.before_newline,d.preserve_newline],_="BlockStatement",f="Statement",g="ObjectLiteral",m="ArrayLiteral",b="ForInitializer",y="Conditional",x="Expression";function v(e,t){t.multiline_frame||t.mode===b||t.mode===y||e.remove_indent(t.start_line_index)}function w(e){return e===m}function E(e){return l(e,[x,b,y])}function k(e,t){t=t||{},this._source_text=e||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new n(t)}k.prototype.create_flags=function(e,r){var n=0;return e&&(n=e.indentation_level,!this._output.just_added_newline()&&e.line_indent_level>n&&(n=e.line_indent_level)),{mode:r,parent:e,last_token:e?e.last_token:new t(o.START_BLOCK,""),last_word:e?e.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:n,alignment:0,line_indent_level:e?e.line_indent_level:n,start_line_index:this._output.get_line_number(),ternary_depth:0}},k.prototype._reset=function(t){var r=t.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new e(this._options,r),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(_);var n=new i(t,this._options);return this._tokens=n.tokenize(),t},k.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._reset(this._source_text),t=this._options.eol;"auto"===this._options.eol&&(t="\n",e&&r.lineBreak.test(e||"")&&(t=e.match(r.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(t)},k.prototype.handle_token=function(e,t){e.type===o.START_EXPR?this.handle_start_expr(e):e.type===o.END_EXPR?this.handle_end_expr(e):e.type===o.START_BLOCK?this.handle_start_block(e):e.type===o.END_BLOCK?this.handle_end_block(e):e.type===o.WORD||e.type===o.RESERVED?this.handle_word(e):e.type===o.SEMICOLON?this.handle_semicolon(e):e.type===o.STRING?this.handle_string(e):e.type===o.EQUALS?this.handle_equals(e):e.type===o.OPERATOR?this.handle_operator(e):e.type===o.COMMA?this.handle_comma(e):e.type===o.BLOCK_COMMENT?this.handle_block_comment(e,t):e.type===o.COMMENT?this.handle_comment(e,t):e.type===o.DOT?this.handle_dot(e):e.type===o.EOF?this.handle_eof(e):(e.type,o.UNKNOWN,this.handle_unknown(e,t))},k.prototype.handle_whitespace_and_comments=function(e,t){var r=e.newlines,n=this._options.keep_array_indentation&&w(this._flags.mode);if(e.comments_before)for(var i=e.comments_before.next();i;)this.handle_whitespace_and_comments(i,t),this.handle_token(i,t),i=e.comments_before.next();if(n)for(var a=0;a<r;a+=1)this.print_newline(a>0,t);else if(this._options.max_preserve_newlines&&r>this._options.max_preserve_newlines&&(r=this._options.max_preserve_newlines),this._options.preserve_newlines&&r>1){this.print_newline(!1,t);for(var s=1;s<r;s+=1)this.print_newline(!0,t)}};var A=["async","break","continue","return","throw","yield"];return k.prototype.allow_wrap_or_preserved_newline=function(e,t){if(t=void 0!==t&&t,!this._output.just_added_newline()){var r=this._options.preserve_newlines&&e.newlines||t;if(l(this._flags.last_token.text,s)||l(e.text,s)){var n=l(this._flags.last_token.text,s)&&l(this._options.operator_position,h)||l(e.text,s);r=r&&n}if(r)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(c(this._flags.last_token,A))return;this._output.set_wrap_point()}}},k.prototype.print_newline=function(e,t){if(!t&&";"!==this._flags.last_token.text&&","!==this._flags.last_token.text&&"="!==this._flags.last_token.text&&(this._flags.last_token.type!==o.OPERATOR||"--"===this._flags.last_token.text||"++"===this._flags.last_token.text))for(var r=this._tokens.peek();!(this._flags.mode!==f||this._flags.if_block&&u(r,"else")||this._flags.do_block);)this.restore_mode();this._output.add_new_line(e)&&(this._flags.multiline_frame=!0)},k.prototype.print_token_line_indentation=function(e){this._output.just_added_newline()&&(this._options.keep_array_indentation&&e.newlines&&("["===e.text||w(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(e.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},k.prototype.print_token=function(e){if(this._output.raw)this._output.add_raw_token(e);else{if(this._options.comma_first&&e.previous&&e.previous.type===o.COMMA&&this._output.just_added_newline()&&","===this._output.previous_line.last()){var t=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(t),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(e),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(e),this._output.non_breaking_space=!0,this._output.add_token(e.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)}},k.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},k.prototype.deindent=function(){this._flags.indentation_level>0&&(!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))},k.prototype.set_mode=function(e){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,e),this._flags=this.create_flags(this._previous_flags,e),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},k.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===f&&v(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},k.prototype.start_of_object_property=function(){return this._flags.parent.mode===g&&this._flags.mode===f&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||c(this._flags.last_token,["get","set"]))},k.prototype.start_of_statement=function(e){var t=!1;return!!(t=(t=(t=(t=(t=(t=(t=t||c(this._flags.last_token,["var","let","const"])&&e.type===o.WORD)||u(this._flags.last_token,"do"))||!(this._flags.parent.mode===g&&this._flags.mode===f)&&c(this._flags.last_token,A)&&!e.newlines)||u(this._flags.last_token,"else")&&!(u(e,"if")&&!e.comments_before))||this._flags.last_token.type===o.END_EXPR&&(this._previous_flags.mode===b||this._previous_flags.mode===y))||this._flags.last_token.type===o.WORD&&this._flags.mode===_&&!this._flags.in_case&&!("--"===e.text||"++"===e.text)&&"function"!==this._last_last_text&&e.type!==o.WORD&&e.type!==o.RESERVED)||this._flags.mode===g&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||c(this._flags.last_token,["get","set"])))&&(this.set_mode(f),this.indent(),this.handle_whitespace_and_comments(e,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e,c(e,["do","for","if","while"])),!0)},k.prototype.handle_start_expr=function(e){this.start_of_statement(e)||this.handle_whitespace_and_comments(e);var t=x;if("["===e.text){if(this._flags.last_token.type===o.WORD||")"===this._flags.last_token.text)return c(this._flags.last_token,a)&&(this._output.space_before_token=!0),this.print_token(e),this.set_mode(t),this.indent(),void(this._options.space_in_paren&&(this._output.space_before_token=!0));t=m,w(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()),l(this._flags.last_token.type,[o.START_EXPR,o.END_EXPR,o.WORD,o.OPERATOR,o.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===o.RESERVED)"for"===this._flags.last_token.text?(this._output.space_before_token=this._options.space_before_conditional,t=b):l(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,t=y):l(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:"import"===this._flags.last_token.text&&""===e.whitespace_before?this._output.space_before_token=!1:(l(this._flags.last_token.text,a)||"catch"===this._flags.last_token.text)&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===o.EQUALS||this._flags.last_token.type===o.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e);else if(this._flags.last_token.type===o.WORD){this._output.space_before_token=!1;var r=this._tokens.peek(-3);if(this._options.space_after_named_function&&r){var n=this._tokens.peek(-4);c(r,["async","function"])||"*"===r.text&&c(n,["async","function"])?this._output.space_before_token=!0:this._flags.mode===g?"{"!==r.text&&","!==r.text&&("*"!==r.text||"{"!==n.text&&","!==n.text)||(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(e);(this._flags.last_token.type===o.RESERVED&&("function"===this._flags.last_word||"typeof"===this._flags.last_word)||"*"===this._flags.last_token.text&&(l(this._last_last_text,["function","yield"])||this._flags.mode===g&&l(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===o.START_BLOCK?this.print_newline():this._flags.last_token.type!==o.END_EXPR&&this._flags.last_token.type!==o.START_EXPR&&this._flags.last_token.type!==o.END_BLOCK&&"."!==this._flags.last_token.text&&this._flags.last_token.type!==o.COMMA||this.allow_wrap_or_preserved_newline(e,e.newlines),this.print_token(e),this.set_mode(t),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},k.prototype.handle_end_expr=function(e){for(;this._flags.mode===f;)this.restore_mode();this.handle_whitespace_and_comments(e),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(e,"]"===e.text&&w(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type!==o.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(e),this.restore_mode(),v(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===y&&(this._previous_flags.mode=x,this._flags.do_block=!1,this._flags.do_while=!1)},k.prototype.handle_start_block=function(e){this.handle_whitespace_and_comments(e);var t=this._tokens.peek(),r=this._tokens.peek(1);"switch"===this._flags.last_word&&this._flags.last_token.type===o.END_EXPR?(this.set_mode(_),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(_):r&&(l(r.text,[":",","])&&l(t.type,[o.STRING,o.WORD,o.RESERVED])||l(t.text,["get","set","..."])&&l(r.type,[o.WORD,o.RESERVED]))?l(this._last_last_text,["class","interface"])&&!l(r.text,[":",","])?this.set_mode(_):this.set_mode(g):this._flags.last_token.type===o.OPERATOR&&"=>"===this._flags.last_token.text?this.set_mode(_):l(this._flags.last_token.type,[o.EQUALS,o.START_EXPR,o.COMMA,o.OPERATOR])||c(this._flags.last_token,["return","throw","import","default"])?this.set_mode(g):this.set_mode(_),this._flags.last_token&&c(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var n=!t.comments_before&&"}"===t.text,i=n&&"function"===this._flags.last_word&&this._flags.last_token.type===o.END_EXPR;if(this._options.brace_preserve_inline){var a=0,s=null;this._flags.inline_frame=!0;do{if(a+=1,(s=this._tokens.peek(a-1)).newlines){this._flags.inline_frame=!1;break}}while(s.type!==o.EOF&&(s.type!==o.END_BLOCK||s.opened!==e))}("expand"===this._options.brace_style||"none"===this._options.brace_style&&e.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==o.OPERATOR&&(i||this._flags.last_token.type===o.EQUALS||c(this._flags.last_token,p)&&"else"!==this._flags.last_token.text)?this._output.space_before_token=!0:this.print_newline(!1,!0):(!w(this._previous_flags.mode)||this._flags.last_token.type!==o.START_EXPR&&this._flags.last_token.type!==o.COMMA||((this._flags.last_token.type===o.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(e),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==o.OPERATOR&&this._flags.last_token.type!==o.START_EXPR&&(l(this._flags.last_token.type,[o.START_BLOCK,o.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(e),this.indent(),n||this._options.brace_preserve_inline&&this._flags.inline_frame||this.print_newline()},k.prototype.handle_end_block=function(e){for(this.handle_whitespace_and_comments(e);this._flags.mode===f;)this.restore_mode();var t=this._flags.last_token.type===o.START_BLOCK;this._flags.inline_frame&&!t?this._output.space_before_token=!0:"expand"===this._options.brace_style?t||this.print_newline():t||(w(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(e)},k.prototype.handle_word=function(e){if(e.type===o.RESERVED)if(l(e.text,["set","get"])&&this._flags.mode!==g)e.type=o.WORD;else if("import"===e.text&&l(this._tokens.peek().text,["(","."]))e.type=o.WORD;else if(l(e.text,["as","from"])&&!this._flags.import_block)e.type=o.WORD;else if(this._flags.mode===g){":"===this._tokens.peek().text&&(e.type=o.WORD)}if(this.start_of_statement(e)?c(this._flags.last_token,["var","let","const"])&&e.type===o.WORD&&(this._flags.declaration_statement=!0):!e.newlines||E(this._flags.mode)||this._flags.last_token.type===o.OPERATOR&&"--"!==this._flags.last_token.text&&"++"!==this._flags.last_token.text||this._flags.last_token.type===o.EQUALS||!this._options.preserve_newlines&&c(this._flags.last_token,["var","let","const","set","get"])?this.handle_whitespace_and_comments(e):(this.handle_whitespace_and_comments(e),this.print_newline()),this._flags.do_block&&!this._flags.do_while){if(u(e,"while"))return this._output.space_before_token=!0,this.print_token(e),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&&u(e,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===f;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&c(e,["case","default"]))return this.print_newline(),this._flags.case_block||!this._flags.case_body&&!this._options.jslint_happy||this.deindent(),this._flags.case_body=!1,this.print_token(e),void(this._flags.in_case=!0);if(this._flags.last_token.type!==o.COMMA&&this._flags.last_token.type!==o.START_EXPR&&this._flags.last_token.type!==o.EQUALS&&this._flags.last_token.type!==o.OPERATOR||this.start_of_object_property()||l(this._flags.last_token.text,["+","-"])&&":"===this._last_last_text&&this._flags.parent.mode===g||this.allow_wrap_or_preserved_newline(e),u(e,"function"))return(l(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!l(this._flags.last_token.text,["(","[","{",":","=",","])&&this._flags.last_token.type!==o.OPERATOR)&&(this._output.just_added_blankline()||e.comments_before||(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD?c(this._flags.last_token,["get","set","new","export"])||c(this._flags.last_token,A)||u(this._flags.last_token,"default")&&"export"===this._last_last_text||"declare"===this._flags.last_token.text?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===o.OPERATOR||"="===this._flags.last_token.text?this._output.space_before_token=!0:(this._flags.multiline_frame||!E(this._flags.mode)&&!w(this._flags.mode))&&this.print_newline(),this.print_token(e),void(this._flags.last_word=e.text);var t="NONE";(this._flags.last_token.type===o.END_BLOCK?this._previous_flags.inline_frame?t="SPACE":c(e,["else","catch","finally","from"])?"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&e.newlines?t="NEWLINE":(t="SPACE",this._output.space_before_token=!0):t="NEWLINE":this._flags.last_token.type===o.SEMICOLON&&this._flags.mode===_?t="NEWLINE":this._flags.last_token.type===o.SEMICOLON&&E(this._flags.mode)?t="SPACE":this._flags.last_token.type===o.STRING?t="NEWLINE":this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD||"*"===this._flags.last_token.text&&(l(this._last_last_text,["function","yield"])||this._flags.mode===g&&l(this._last_last_text,["{",","]))?t="SPACE":this._flags.last_token.type===o.START_BLOCK?t=this._flags.inline_frame?"SPACE":"NEWLINE":this._flags.last_token.type===o.END_EXPR&&(this._output.space_before_token=!0,t="NEWLINE"),c(e,a)&&")"!==this._flags.last_token.text&&(t=this._flags.inline_frame||"else"===this._flags.last_token.text||"export"===this._flags.last_token.text?"SPACE":"NEWLINE"),c(e,["else","catch","finally"]))?(this._flags.last_token.type!==o.END_BLOCK||this._previous_flags.mode!==_||"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&e.newlines)&&!this._flags.inline_frame?this.print_newline():(this._output.trim(!0),"}"!==this._output.current_line.last()&&this.print_newline(),this._output.space_before_token=!0):"NEWLINE"===t?c(this._flags.last_token,p)||"declare"===this._flags.last_token.text&&c(e,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==o.END_EXPR?this._flags.last_token.type===o.START_EXPR&&c(e,["var","let","const"])||":"===this._flags.last_token.text||(u(e,"if")&&u(e.previous,"else")?this._output.space_before_token=!0:this.print_newline()):c(e,a)&&")"!==this._flags.last_token.text&&this.print_newline():this._flags.multiline_frame&&w(this._flags.mode)&&","===this._flags.last_token.text&&"}"===this._last_last_text?this.print_newline():"SPACE"===t&&(this._output.space_before_token=!0);!e.previous||e.previous.type!==o.WORD&&e.previous.type!==o.RESERVED||(this._output.space_before_token=!0),this.print_token(e),this._flags.last_word=e.text,e.type===o.RESERVED&&("do"===e.text?this._flags.do_block=!0:"if"===e.text?this._flags.if_block=!0:"import"===e.text?this._flags.import_block=!0:this._flags.import_block&&u(e,"from")&&(this._flags.import_block=!1))},k.prototype.handle_semicolon=function(e){this.start_of_statement(e)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(e);for(var t=this._tokens.peek();!(this._flags.mode!==f||this._flags.if_block&&u(t,"else")||this._flags.do_block);)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(e)},k.prototype.handle_string=function(e){(!e.text.startsWith("`")||0!==e.newlines||""!==e.whitespace_before||")"!==e.previous.text&&this._flags.last_token.type!==o.WORD)&&(this.start_of_statement(e)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(e),this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.EQUALS||this._flags.last_token.type===o.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e):!e.text.startsWith("`")||this._flags.last_token.type!==o.END_EXPR||"]"!==e.previous.text&&")"!==e.previous.text||0!==e.newlines?this.print_newline():this._output.space_before_token=!0)),this.print_token(e)},k.prototype.handle_equals=function(e){this.start_of_statement(e)||this.handle_whitespace_and_comments(e),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(e),this._output.space_before_token=!0},k.prototype.handle_comma=function(e){this.handle_whitespace_and_comments(e,!0),this.print_token(e),this._output.space_before_token=!0,this._flags.declaration_statement?(E(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(e)):this._flags.mode===g||this._flags.mode===f&&this._flags.parent.mode===g?(this._flags.mode===f&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(e)},k.prototype.handle_operator=function(e){var t="*"===e.text&&(c(this._flags.last_token,["function","yield"])||l(this._flags.last_token.type,[o.START_BLOCK,o.COMMA,o.END_BLOCK,o.SEMICOLON])),r=l(e.text,["-","+"])&&(l(this._flags.last_token.type,[o.START_BLOCK,o.START_EXPR,o.EQUALS,o.OPERATOR])||l(this._flags.last_token.text,a)||","===this._flags.last_token.text);if(this.start_of_statement(e));else{var n=!t;this.handle_whitespace_and_comments(e,n)}if("*"!==e.text||this._flags.last_token.type!==o.DOT)if("::"!==e.text)if(l(e.text,["-","+"])&&this.start_of_object_property())this.print_token(e);else{if(this._flags.last_token.type===o.OPERATOR&&l(this._options.operator_position,h)&&this.allow_wrap_or_preserved_newline(e),":"===e.text&&this._flags.in_case)return this.print_token(e),this._flags.in_case=!1,this._flags.case_body=!0,void(this._tokens.peek().type!==o.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0));var i=!0,u=!0,g=!1;if(":"===e.text?0===this._flags.ternary_depth?i=!1:(this._flags.ternary_depth-=1,g=!0):"?"===e.text&&(this._flags.ternary_depth+=1),!r&&!t&&this._options.preserve_newlines&&l(e.text,s)){var m=":"===e.text,b=m&&g,y=m&&!g;switch(this._options.operator_position){case d.before_newline:return this._output.space_before_token=!y,this.print_token(e),m&&!b||this.allow_wrap_or_preserved_newline(e),void(this._output.space_before_token=!0);case d.after_newline:return this._output.space_before_token=!0,!m||b?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(e):this._output.space_before_token=!1,this.print_token(e),void(this._output.space_before_token=!0);case d.preserve_newline:return y||this.allow_wrap_or_preserved_newline(e),i=!(this._output.just_added_newline()||y),this._output.space_before_token=i,this.print_token(e),void(this._output.space_before_token=!0)}}if(t){this.allow_wrap_or_preserved_newline(e),i=!1;var x=this._tokens.peek();u=x&&l(x.type,[o.WORD,o.RESERVED])}else if("..."===e.text)this.allow_wrap_or_preserved_newline(e),i=this._flags.last_token.type===o.START_BLOCK,u=!1;else if(l(e.text,["--","++","!","~"])||r){if(this._flags.last_token.type!==o.COMMA&&this._flags.last_token.type!==o.START_EXPR||this.allow_wrap_or_preserved_newline(e),i=!1,u=!1,e.newlines&&("--"===e.text||"++"===e.text||"~"===e.text)){var v=c(this._flags.last_token,p)&&e.newlines;v&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(v,!0)}";"===this._flags.last_token.text&&E(this._flags.mode)&&(i=!0),this._flags.last_token.type===o.RESERVED?i=!0:this._flags.last_token.type===o.END_EXPR?i=!("]"===this._flags.last_token.text&&("--"===e.text||"++"===e.text)):this._flags.last_token.type===o.OPERATOR&&(i=l(e.text,["--","-","++","+"])&&l(this._flags.last_token.text,["--","-","++","+"]),l(e.text,["+","-"])&&l(this._flags.last_token.text,["--","++"])&&(u=!0)),(this._flags.mode!==_||this._flags.inline_frame)&&this._flags.mode!==f||"{"!==this._flags.last_token.text&&";"!==this._flags.last_token.text||this.print_newline()}this._output.space_before_token=this._output.space_before_token||i,this.print_token(e),this._output.space_before_token=u}else this.print_token(e);else this.print_token(e)},k.prototype.handle_block_comment=function(e,t){return this._output.raw?(this._output.add_raw_token(e),void(e.directives&&"end"===e.directives.preserve&&(this._output.raw=this._options.test_output_raw))):e.directives?(this.print_newline(!1,t),this.print_token(e),"start"===e.directives.preserve&&(this._output.raw=!0),void this.print_newline(!1,!0)):r.newline.test(e.text)||e.newlines?void this.print_block_commment(e,t):(this._output.space_before_token=!0,this.print_token(e),void(this._output.space_before_token=!0))},k.prototype.print_block_commment=function(e,t){var n,i=function(e){for(var t=[],n=(e=e.replace(r.allLineBreaks,"\n")).indexOf("\n");-1!==n;)t.push(e.substring(0,n)),n=(e=e.substring(n+1)).indexOf("\n");return e.length&&t.push(e),t}(e.text),a=!1,s=!1,o=e.whitespace_before,l=o.length;if(this.print_newline(!1,t),this.print_token_line_indentation(e),this._output.add_token(i[0]),this.print_newline(!1,t),i.length>1){for(a=function(e,t){for(var r=0;r<e.length;r++)if(e[r].trim().charAt(0)!==t)return!1;return!0}(i=i.slice(1),"*"),s=function(e,t){for(var r,n=0,i=e.length;n<i;n++)if((r=e[n])&&0!==r.indexOf(t))return!1;return!0}(i,o),a&&(this._flags.alignment=1),n=0;n<i.length;n++)a?(this.print_token_line_indentation(e),this._output.add_token(i[n].replace(/^\s+/g,""))):s&&i[n]?(this.print_token_line_indentation(e),this._output.add_token(i[n].substring(l))):(this._output.current_line.set_indent(-1),this._output.add_token(i[n])),this.print_newline(!1,t);this._flags.alignment=0}},k.prototype.handle_comment=function(e,t){e.newlines?this.print_newline(!1,t):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(e),this.print_newline(!1,t)},k.prototype.handle_dot=function(e){this.start_of_statement(e)||this.handle_whitespace_and_comments(e,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),c(this._flags.last_token,p)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(e,")"===this._flags.last_token.text&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(e)},k.prototype.handle_unknown=function(e,t){this.print_token(e),"\n"===e.text[e.text.length-1]&&this.print_newline(!1,t)},k.prototype.handle_eof=function(e){for(;this._flags.mode===f;)this.restore_mode();this.handle_whitespace_and_comments(e)},nr.Beautifier=k,nr}var Hr,Vr,$r,Gr={exports:{}},Wr={},Kr={};function Xr(){if(Hr)return Kr;Hr=1;var e=gr().Options;function t(t){e.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 r=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||r;var n=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var i=0;i<n.length;i++)"expand"!==n[i]?this.brace_style="collapse":this.brace_style=n[i]}return t.prototype=new e,Kr.Options=t,Kr}function Jr(){if($r)return Gr.exports;$r=1;var e=function(){if(Vr)return Wr;Vr=1;var e=Xr().Options,t=ar().Output,r=vr().InputScanner,n=new(0,Cr().Directives)(/\/\*/,/\*\//),i=/\r\n|[\r\n]/,a=/\r\n|[\r\n]/g,s=/\s/,o=/(?:\s|\n)+/g,l=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,u=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function c(t,r){this._source_text=t||"",this._options=new e(r),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},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}return c.prototype.eatString=function(e){var t="";for(this._ch=this._input.next();this._ch;){if(t+=this._ch,"\\"===this._ch)t+=this._input.next();else if(-1!==e.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return t},c.prototype.eatWhitespace=function(e){for(var t=s.test(this._input.peek()),r=0;s.test(this._input.peek());)this._ch=this._input.next(),e&&"\n"===this._ch&&(0===r||r<this._options.max_preserve_newlines)&&(r++,this._output.add_new_line(!0));return t},c.prototype.foundNestedPseudoClass=function(){for(var e=0,t=1,r=this._input.peek(t);r;){if("{"===r)return!0;if("("===r)e+=1;else if(")"===r){if(0===e)return!1;e-=1}else if(";"===r||"}"===r)return!1;t++,r=this._input.peek(t)}return!1},c.prototype.print_string=function(e){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(e)},c.prototype.preserveSingleSpace=function(e){e&&(this._output.space_before_token=!0)},c.prototype.indent=function(){this._indentLevel++},c.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},c.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,c=this._options.eol;"auto"===c&&(c="\n",e&&i.test(e||"")&&(c=e.match(i)[0]));var p=(e=e.replace(a,"\n")).match(/^[\t ]*/)[0];this._output=new t(this._options,p),this._input=new r(e),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var d,h,_=0,f=!1,g=!1,m=!1,b=!1,y=!1,x=this._ch,v=!1;d=""!==this._input.read(o),h=x,this._ch=this._input.next(),"\\"===this._ch&&this._input.hasNext()&&(this._ch+=this._input.next()),x=this._ch,this._ch;)if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var w=this._input.read(l),E=n.get_directives(w);E&&"start"===E.ignore&&(w+=n.readIgnored(this._input)),this.print_string(w),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(u)),this.eatWhitespace(!0);else if("$"===this._ch){this.preserveSingleSpace(d),this.print_string(this._ch);var k=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);k.match(/[ :]$/)&&(k=this.eatString(": ").replace(/\s+$/,""),this.print_string(k),this._output.space_before_token=!0),0===_&&-1!==k.indexOf(":")&&(g=!0,this.indent())}else if("@"===this._ch)if(this.preserveSingleSpace(d),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var A=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);A.match(/[ :]$/)&&(A=this.eatString(": ").replace(/\s+$/,""),this.print_string(A),this._output.space_before_token=!0),0===_&&-1!==A.indexOf(":")?(g=!0,this.indent()):A in this.NESTED_AT_RULE?(this._nestedLevel+=1,A in this.CONDITIONAL_GROUP_RULE&&(m=!0)):0!==_||g||(b=!0)}else if("#"===this._ch&&"{"===this._input.peek())this.preserveSingleSpace(d),this.print_string(this._ch+this.eatString("}"));else if("{"===this._ch)g&&(g=!1,this.outdent()),b=!1,m?(m=!1,f=this._indentLevel>=this._nestedLevel):f=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&f&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,"expand"===this._options.brace_style?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):("("===h?this._output.space_before_token=!1:","!==h&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if("}"===this._ch)this.outdent(),this._output.add_new_line(),"{"===h&&this._output.trim(!0),g&&(this.outdent(),g=!1),this.print_string(this._ch),f=!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._input.peek()&&(this._output.trim(!0),"expand"===this._options.brace_style&&this._output.add_new_line(!0));else if(":"===this._ch){for(var T=0;T<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;T++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[T])){v=!0;break}!f&&!m||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||b||0!==_?(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(":"),g||(g=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent()))}else if('"'===this._ch||"'"===this._ch){var D='"'===h||"'"===h;this.preserveSingleSpace(D||d),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(";"===this._ch)v=!1,0===_?(g&&(this.outdent(),g=!1),b=!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);else if("("===this._ch)if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),_++,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(")")),_&&(_--,this.outdent()));else{var S=!1;this._input.lookBack("with")&&(S=!0),this.preserveSingleSpace(d||S),this.print_string(this._ch),g&&"$"===h&&this._options.selector_separator_newline?(this._output.add_new_line(),y=!0):(this.eatWhitespace(),_++,this.indent())}else if(")"===this._ch)_&&(_--,this.outdent()),y&&";"===this._input.peek()&&this._options.selector_separator_newline&&(y=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(","===this._ch)this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||g&&!y||0!==_||b?this._output.space_before_token=!0:this._output.add_new_line();else if(">"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||g||0!==_)if("]"===this._ch)this.print_string(this._ch);else if("["===this._ch)this.preserveSingleSpace(d),this.print_string(this._ch);else if("="===this._ch)this.eatWhitespace(),this.print_string("="),s.test(this._ch)&&(this._ch="");else if("!"!==this._ch||this._input.lookBack("\\")){var N='"'===h||"'"===h;this.preserveSingleSpace(N||d),this.print_string(this._ch),!this._output.just_added_newline()&&"\n"===this._input.peek()&&v&&this._output.add_new_line()}else this._output.space_before_token=!0,this.print_string(this._ch);else 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&&s.test(this._ch)&&(this._ch=""));return this._output.get_code(c)},Wr.Beautifier=c,Wr}().Beautifier,t=Xr().Options;return Gr.exports=function(t,r){return new e(t,r).beautify()},Gr.exports.defaultOptions=function(){return new t},Gr.exports}var Yr,Qr={exports:{}},Zr={},en={};function tn(){if(Yr)return en;Yr=1;var e=gr().Options;function t(t){e.call(this,t,"html"),1===this.templating.length&&"auto"===this.templating[0]&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}return t.prototype=new e,en.Options=t,en}var rn,nn,an,sn,on,ln={};function un(){if(rn)return ln;rn=1;var e=Or().Tokenizer,t=Or().TOKEN,r=Cr().Directives,n=Fr().TemplatablePattern,i=Rr().Pattern,a={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:t.START,RAW:t.RAW,EOF:t.EOF},s=new r(/<\!--/,/-->/),o=function(t,r){e.call(this,t,r),this._current_tag_name="";var a=new n(this._input).read_options(this._options),s=new i(this._input);if(this.__patterns={word:a.until(/[\n\r\t <]/),word_control_flow_close_excluded:a.until(/[\n\r\t <}]/),single_quote:a.until_after(/'/),double_quote:a.until_after(/"/),attribute:a.until(/[\n\r\t =>]|\/>/),element_name:a.until(/[\n\r\t >\/]/),angular_control_flow_start:s.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:s.starting_with(/{{!--/).until_after(/--}}/),handlebars:s.starting_with(/{{/).until_after(/}}/),handlebars_open:s.until(/[\n\r\t }]/),handlebars_raw_close:s.until(/}}/),comment:s.starting_with(/<!--/).until_after(/-->/),cdata:s.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:s.starting_with(/<!\[/).until_after(/]>/),processing:s.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var o=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=s.matching(o).until_after(o)}};return(o.prototype=new e)._is_comment=function(e){return!1},o.prototype._is_opening=function(e){return e.type===a.TAG_OPEN||e.type===a.CONTROL_FLOW_OPEN},o.prototype._is_closing=function(e,t){return e.type===a.TAG_CLOSE&&t&&((">"===e.text||"/>"===e.text)&&"<"===t.text[0]||"}}"===e.text&&"{"===t.text[0]&&"{"===t.text[1])||e.type===a.CONTROL_FLOW_CLOSE&&"}"===e.text&&t.text.endsWith("{")},o.prototype._reset=function(){this._current_tag_name=""},o.prototype._get_next_token=function(e,t){var r=null;this._readWhitespace();var n=this._input.peek();return null===n?this._create_token(a.EOF,""):r=(r=(r=(r=(r=(r=(r=(r=(r=(r=r||this._read_open_handlebars(n,t))||this._read_attribute(n,e,t))||this._read_close(n,t))||this._read_control_flows(n,t))||this._read_raw_content(n,e,t))||this._read_content_word(n,t))||this._read_comment_or_cdata(n))||this._read_processing(n))||this._read_open(n,t))||this._create_token(a.UNKNOWN,this._input.next())},o.prototype._read_comment_or_cdata=function(e){var t=null,r=null,n=null;"<"===e&&("!"===this._input.peek(1)&&((r=this.__patterns.comment.read())?(n=s.get_directives(r))&&"start"===n.ignore&&(r+=s.readIgnored(this._input)):r=this.__patterns.cdata.read()),r&&((t=this._create_token(a.COMMENT,r)).directives=n));return t},o.prototype._read_processing=function(e){var t=null,r=null;if("<"===e){var n=this._input.peek(1);"!"!==n&&"?"!==n||(r=(r=this.__patterns.conditional_comment.read())||this.__patterns.processing.read()),r&&((t=this._create_token(a.COMMENT,r)).directives=null)}return t},o.prototype._read_open=function(e,t){var r=null,n=null;return t&&t.type!==a.CONTROL_FLOW_OPEN||"<"===e&&(r=this._input.next(),"/"===this._input.peek()&&(r+=this._input.next()),r+=this.__patterns.element_name.read(),n=this._create_token(a.TAG_OPEN,r)),n},o.prototype._read_open_handlebars=function(e,t){var r=null,n=null;return t&&t.type!==a.CONTROL_FLOW_OPEN||this._options.indent_handlebars&&"{"===e&&"{"===this._input.peek(1)&&("!"===this._input.peek(2)?(r=(r=this.__patterns.handlebars_comment.read())||this.__patterns.handlebars.read(),n=this._create_token(a.COMMENT,r)):(r=this.__patterns.handlebars_open.read(),n=this._create_token(a.TAG_OPEN,r))),n},o.prototype._read_control_flows=function(e,t){var r="",n=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars)return n;if("@"===e){if(""===(r=this.__patterns.angular_control_flow_start.read()))return n;for(var i=r.endsWith("(")?1:0,s=0;!r.endsWith("{")||i!==s;){var o=this._input.next();if(null===o)break;"("===o?i++:")"===o&&s++,r+=o}n=this._create_token(a.CONTROL_FLOW_OPEN,r)}else"}"===e&&t&&t.type===a.CONTROL_FLOW_OPEN&&(r=this._input.next(),n=this._create_token(a.CONTROL_FLOW_CLOSE,r));return n},o.prototype._read_close=function(e,t){var r=null,n=null;return t&&t.type===a.TAG_OPEN&&("<"===t.text[0]&&(">"===e||"/"===e&&">"===this._input.peek(1))?(r=this._input.next(),"/"===e&&(r+=this._input.next()),n=this._create_token(a.TAG_CLOSE,r)):"{"===t.text[0]&&"}"===e&&"}"===this._input.peek(1)&&(this._input.next(),this._input.next(),n=this._create_token(a.TAG_CLOSE,"}}"))),n},o.prototype._read_attribute=function(e,t,r){var n=null,i="";if(r&&"<"===r.text[0])if("="===e)n=this._create_token(a.EQUALS,this._input.next());else if('"'===e||"'"===e){var s=this._input.next();s+='"'===e?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),n=this._create_token(a.VALUE,s)}else(i=this.__patterns.attribute.read())&&(n=t.type===a.EQUALS?this._create_token(a.VALUE,i):this._create_token(a.ATTRIBUTE,i));return n},o.prototype._is_content_unformatted=function(e){return-1===this._options.void_elements.indexOf(e)&&(-1!==this._options.content_unformatted.indexOf(e)||-1!==this._options.unformatted.indexOf(e))},o.prototype._read_raw_content=function(e,t,r){var n="";if(r&&"{"===r.text[0])n=this.__patterns.handlebars_raw_close.read();else if(t.type===a.TAG_CLOSE&&"<"===t.opened.text[0]&&"/"!==t.text[0]){var i=t.opened.text.substr(1).toLowerCase();if("script"===i||"style"===i){var s=this._read_comment_or_cdata(e);if(s)return s.type=a.TEXT,s;n=this._input.readUntil(new RegExp("</"+i+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(i)&&(n=this._input.readUntil(new RegExp("</"+i+"[\\n\\r\\t ]*?>","ig")))}return n?this._create_token(a.TEXT,n):null},o.prototype._read_content_word=function(e,t){var r="";if(this._options.unformatted_content_delimiter&&e===this._options.unformatted_content_delimiter[0]&&(r=this.__patterns.unformatted_content_delimiter.read()),r||(r=t&&t.type===a.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),r)return this._create_token(a.TEXT,r)},ln.Tokenizer=o,ln.TOKEN=a,ln}function cn(){if(nn)return Zr;nn=1;var e=tn().Options,t=ar().Output,r=un().Tokenizer,n=un().TOKEN,i=/\r\n|[\r\n]/,a=/\r\n|[\r\n]/g,s=function(e,r){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=e.max_preserve_newlines,this.preserve_newlines=e.preserve_newlines,this._output=new t(e,r)};s.prototype.current_line_has_match=function(e){return this._output.current_line.has_match(e)},s.prototype.set_space_before_token=function(e,t){this._output.space_before_token=e,this._output.non_breaking_space=t},s.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},s.prototype.add_raw_token=function(e){this._output.add_raw_token(e)},s.prototype.print_preserved_newlines=function(e){var t=0;e.type!==n.TEXT&&e.previous.type!==n.TEXT&&(t=e.newlines?1:0),this.preserve_newlines&&(t=e.newlines<this.max_preserve_newlines+1?e.newlines:this.max_preserve_newlines+1);for(var r=0;r<t;r++)this.print_newline(r>0);return 0!==t},s.prototype.traverse_whitespace=function(e){return!(!e.whitespace_before&&!e.newlines)&&(this.print_preserved_newlines(e)||(this._output.space_before_token=!0),!0)},s.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},s.prototype.print_newline=function(e){this._output.add_new_line(e)},s.prototype.print_token=function(e){e.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(e.text))},s.prototype.indent=function(){this.indent_level++},s.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},s.prototype.get_full_indent=function(e){return(e=this.indent_level+(e||0))<1?"":this._output.get_indent_string(e)};var o=function(e,t){var r=null,i=null;return t.closed?("script"===e?r="text/javascript":"style"===e&&(r="text/css"),r=function(e){for(var t=null,r=e.next;r.type!==n.EOF&&e.closed!==r;){if(r.type===n.ATTRIBUTE&&"type"===r.text){r.next&&r.next.type===n.EQUALS&&r.next.next&&r.next.next.type===n.VALUE&&(t=r.next.next.text);break}r=r.next}return t}(t)||r,r.search("text/css")>-1?i="css":r.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?i="javascript":r.search(/(text|application|dojo)\/(x-)?(html)/)>-1?i="html":r.search(/test\/null/)>-1&&(i="null"),i):null};function l(e,t){return-1!==t.indexOf(e)}function u(e,t,r){this.parent=e||null,this.tag=t?t.tag_name:"",this.indent_level=r||0,this.parser_token=t||null}function c(e){this._printer=e,this._current_frame=null}function p(t,r,n,i){this._source_text=t||"",r=r||{},this._js_beautify=n,this._css_beautify=i,this._tag_stack=null;var a=new e(r,"html");this._options=a,this._is_wrap_attributes_force="force"===this._options.wrap_attributes.substr(0,5),this._is_wrap_attributes_force_expand_multiline="force-expand-multiline"===this._options.wrap_attributes,this._is_wrap_attributes_force_aligned="force-aligned"===this._options.wrap_attributes,this._is_wrap_attributes_aligned_multiple="aligned-multiple"===this._options.wrap_attributes,this._is_wrap_attributes_preserve="preserve"===this._options.wrap_attributes.substr(0,8),this._is_wrap_attributes_preserve_aligned="preserve-aligned"===this._options.wrap_attributes}c.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},c.prototype.record_tag=function(e){var t=new u(this._current_frame,e,this._printer.indent_level);this._current_frame=t},c.prototype._try_pop_frame=function(e){var t=null;return e&&(t=e.parser_token,this._printer.indent_level=e.indent_level,this._current_frame=e.parent),t},c.prototype._get_frame=function(e,t){for(var r=this._current_frame;r&&-1===e.indexOf(r.tag);){if(t&&-1!==t.indexOf(r.tag)){r=null;break}r=r.parent}return r},c.prototype.try_pop=function(e,t){var r=this._get_frame([e],t);return this._try_pop_frame(r)},c.prototype.indent_to_tag=function(e){var t=this._get_frame(e);t&&(this._printer.indent_level=t.indent_level)},p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===this._options.eol&&(t="\n",e&&i.test(e)&&(t=e.match(i)[0]));var o=(e=e.replace(a,"\n")).match(/^[\t ]*/)[0],l={text:"",type:""},u=new d,p=new s(this._options,o),h=new r(e,this._options).tokenize();this._tag_stack=new c(p);for(var _=null,f=h.next();f.type!==n.EOF;)f.type===n.TAG_OPEN||f.type===n.COMMENT?u=_=this._handle_tag_open(p,f,u,l,h):f.type===n.ATTRIBUTE||f.type===n.EQUALS||f.type===n.VALUE||f.type===n.TEXT&&!u.tag_complete?_=this._handle_inside_tag(p,f,u,l):f.type===n.TAG_CLOSE?_=this._handle_tag_close(p,f,u):f.type===n.TEXT?_=this._handle_text(p,f,u):f.type===n.CONTROL_FLOW_OPEN?_=this._handle_control_flow_open(p,f):f.type===n.CONTROL_FLOW_CLOSE?_=this._handle_control_flow_close(p,f):p.add_raw_token(f),l=_,f=h.next();return p._output.get_code(t)},p.prototype._handle_control_flow_open=function(e,t){var r={text:t.text,type:t.type};return e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),t.newlines?e.print_preserved_newlines(t):e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),e.print_token(t),e.indent(),r},p.prototype._handle_control_flow_close=function(e,t){var r={text:t.text,type:t.type};return e.deindent(),t.newlines?e.print_preserved_newlines(t):e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),e.print_token(t),r},p.prototype._handle_tag_close=function(e,t,r){var n={text:t.text,type:t.type};return e.alignment_size=0,r.tag_complete=!0,e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),r.is_unformatted?e.add_raw_token(t):("<"===r.tag_start_char&&(e.set_space_before_token("/"===t.text[0],!0),this._is_wrap_attributes_force_expand_multiline&&r.has_wrapped_attrs&&e.print_newline(!1)),e.print_token(t)),!r.indent_content||r.is_unformatted||r.is_content_unformatted||(e.indent(),r.indent_content=!1),r.is_inline_element||r.is_unformatted||r.is_content_unformatted||e.set_wrap_point(),n},p.prototype._handle_inside_tag=function(e,t,r,i){var a=r.has_wrapped_attrs,s={text:t.text,type:t.type};return e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),r.is_unformatted?e.add_raw_token(t):"{"===r.tag_start_char&&t.type===n.TEXT?e.print_preserved_newlines(t)?(t.newlines=0,e.add_raw_token(t)):e.print_token(t):(t.type===n.ATTRIBUTE?e.set_space_before_token(!0):(t.type===n.EQUALS||t.type===n.VALUE&&t.previous.type===n.EQUALS)&&e.set_space_before_token(!1),t.type===n.ATTRIBUTE&&"<"===r.tag_start_char&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(e.traverse_whitespace(t),a=a||0!==t.newlines),this._is_wrap_attributes_force&&r.attr_count>=this._options.wrap_attributes_min_attrs&&(i.type!==n.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(e.print_newline(!1),a=!0)),e.print_token(t),a=a||e.previous_token_wrapped(),r.has_wrapped_attrs=a),s},p.prototype._handle_text=function(e,t,r){var n={text:t.text,type:"TK_CONTENT"};return r.custom_beautifier_name?this._print_custom_beatifier_text(e,t,r):r.is_unformatted||r.is_content_unformatted?e.add_raw_token(t):(e.traverse_whitespace(t),e.print_token(t)),n},p.prototype._print_custom_beatifier_text=function(e,t,r){var n=this;if(""!==t.text){var i,a=t.text,s=1,o="",l="";"javascript"===r.custom_beautifier_name&&"function"==typeof this._js_beautify?i=this._js_beautify:"css"===r.custom_beautifier_name&&"function"==typeof this._css_beautify?i=this._css_beautify:"html"===r.custom_beautifier_name&&(i=function(e,t){return new p(e,t,n._js_beautify,n._css_beautify).beautify()}),"keep"===this._options.indent_scripts?s=0:"separate"===this._options.indent_scripts&&(s=-e.indent_level);var u=e.get_full_indent(s);if(a=a.replace(/\n[ \t]*$/,""),"html"!==r.custom_beautifier_name&&"<"===a[0]&&a.match(/^(<!--|<!\[CDATA\[)/)){var c=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(a);if(!c)return void e.add_raw_token(t);o=u+c[1]+"\n",a=c[4],c[5]&&(l=u+c[5]),a=a.replace(/\n[ \t]*$/,""),(c[2]||-1!==c[3].indexOf("\n"))&&(c=c[3].match(/[ \t]+$/))&&(t.whitespace_before=c[0])}if(a)if(i){var d=function(){this.eol="\n"};d.prototype=this._options.raw_options,a=i(u+a,new d)}else{var h=t.whitespace_before;h&&(a=a.replace(new RegExp("\n("+h+")?","g"),"\n")),a=u+a.replace(/\n/g,"\n"+u)}o&&(a=a?o+a+"\n"+l:o+l),e.print_newline(!1),a&&(t.text=a,t.whitespace_before="",t.newlines=0,e.add_raw_token(t),e.print_newline(!0))}},p.prototype._handle_tag_open=function(e,t,r,i,a){var s=this._get_tag_open_token(t);if(!r.is_unformatted&&!r.is_content_unformatted||r.is_empty_element||t.type!==n.TAG_OPEN||s.is_start_tag?(e.traverse_whitespace(t),this._set_tag_position(e,t,s,r,i),s.is_inline_element||e.set_wrap_point(),e.print_token(t)):(e.add_raw_token(t),s.start_tag_token=this._tag_stack.try_pop(s.tag_name)),s.is_start_tag&&this._is_wrap_attributes_force){var o,l=0;do{(o=a.peek(l)).type===n.ATTRIBUTE&&(s.attr_count+=1),l+=1}while(o.type!==n.EOF&&o.type!==n.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(s.alignment_size=t.text.length+1),s.tag_complete||s.is_unformatted||(e.alignment_size=s.alignment_size),s};var d=function(e,t){if(this.parent=e||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",t){var r;this.tag_start_char=t.text[0],this.text=t.text,"<"===this.tag_start_char?(r=t.text.match(/^<([^\s>]*)/),this.tag_check=r?r[1]:""):(r=t.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=r?r[1]:"",(t.text.startsWith("{{#>")||t.text.startsWith("{{~#>"))&&">"===this.tag_check[0]&&(">"===this.tag_check&&null!==t.next?this.tag_check=t.next.text.split(" ")[0]:this.tag_check=t.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),t.type===n.COMMENT&&(this.tag_complete=!0),this.is_start_tag="/"!==this.tag_check.charAt(0),this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||t.closed&&"/>"===t.closed.text;var i=2;"{"===this.tag_start_char&&this.text.length>=3&&"~"===this.text.charAt(2)&&(i=3),this.is_end_tag=this.is_end_tag||"{"===this.tag_start_char&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(i)))}else this.tag_complete=!0};p.prototype._get_tag_open_token=function(e){var t=new d(this._tag_stack.get_parser_token(),e);return t.alignment_size=this._options.wrap_attributes_indent_size,t.is_end_tag=t.is_end_tag||l(t.tag_check,this._options.void_elements),t.is_empty_element=t.tag_complete||t.is_start_tag&&t.is_end_tag,t.is_unformatted=!t.tag_complete&&l(t.tag_check,this._options.unformatted),t.is_content_unformatted=!t.is_empty_element&&l(t.tag_check,this._options.content_unformatted),t.is_inline_element=l(t.tag_name,this._options.inline)||this._options.inline_custom_elements&&t.tag_name.includes("-")||"{"===t.tag_start_char,t},p.prototype._set_tag_position=function(e,t,r,i,a){if(r.is_empty_element||(r.is_end_tag?r.start_tag_token=this._tag_stack.try_pop(r.tag_name):(this._do_optional_end_element(r)&&(r.is_inline_element||e.print_newline(!1)),this._tag_stack.record_tag(r),"script"!==r.tag_name&&"style"!==r.tag_name||r.is_unformatted||r.is_content_unformatted||(r.custom_beautifier_name=o(r.tag_check,t)))),l(r.tag_check,this._options.extra_liners)&&(e.print_newline(!1),e._output.just_added_blankline()||e.print_newline(!0)),r.is_empty_element){if("{"===r.tag_start_char&&"else"===r.tag_check)this._tag_stack.indent_to_tag(["if","unless","each"]),r.indent_content=!0,e.current_line_has_match(/{{#if/)||e.print_newline(!1);"!--"===r.tag_name&&a.type===n.TAG_CLOSE&&i.is_end_tag&&-1===r.text.indexOf("\n")||(r.is_inline_element||r.is_unformatted||e.print_newline(!1),this._calcluate_parent_multiline(e,r))}else if(r.is_end_tag){var s=!1;s=(s=r.start_tag_token&&r.start_tag_token.multiline_content)||!r.is_inline_element&&!(i.is_inline_element||i.is_unformatted)&&!(a.type===n.TAG_CLOSE&&r.start_tag_token===i)&&"TK_CONTENT"!==a.type,(r.is_content_unformatted||r.is_unformatted)&&(s=!1),s&&e.print_newline(!1)}else r.indent_content=!r.custom_beautifier_name,"<"===r.tag_start_char&&("html"===r.tag_name?r.indent_content=this._options.indent_inner_html:"head"===r.tag_name?r.indent_content=this._options.indent_head_inner_html:"body"===r.tag_name&&(r.indent_content=this._options.indent_body_inner_html)),r.is_inline_element||r.is_unformatted||"TK_CONTENT"===a.type&&!r.is_content_unformatted||e.print_newline(!1),this._calcluate_parent_multiline(e,r)},p.prototype._calcluate_parent_multiline=function(e,t){!t.parent||!e._output.just_added_newline()||(t.is_inline_element||t.is_unformatted)&&t.parent.is_inline_element||(t.parent.multiline_content=!0)};var h=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],_=["a","audio","del","ins","map","noscript","video"];return p.prototype._do_optional_end_element=function(e){var t=null;if(!e.is_empty_element&&e.is_start_tag&&e.parent){if("body"===e.tag_name)t=t||this._tag_stack.try_pop("head");else if("li"===e.tag_name)t=t||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if("dd"===e.tag_name||"dt"===e.tag_name)t=(t=t||this._tag_stack.try_pop("dt",["dl"]))||this._tag_stack.try_pop("dd",["dl"]);else if("p"===e.parent.tag_name&&-1!==h.indexOf(e.tag_name)){var r=e.parent.parent;r&&-1!==_.indexOf(r.tag_name)||(t=t||this._tag_stack.try_pop("p"))}else"rp"===e.tag_name||"rt"===e.tag_name?t=(t=t||this._tag_stack.try_pop("rt",["ruby","rtc"]))||this._tag_stack.try_pop("rp",["ruby","rtc"]):"optgroup"===e.tag_name?t=t||this._tag_stack.try_pop("optgroup",["select"]):"option"===e.tag_name?t=t||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):"colgroup"===e.tag_name?t=t||this._tag_stack.try_pop("caption",["table"]):"thead"===e.tag_name?t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]):"tbody"===e.tag_name||"tfoot"===e.tag_name?t=(t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("thead",["table"]))||this._tag_stack.try_pop("tbody",["table"]):"tr"===e.tag_name?t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]):"th"!==e.tag_name&&"td"!==e.tag_name||(t=(t=t||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]))||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return e.parent=this._tag_stack.get_parser_token(),t}},Zr.Beautifier=p,Zr}function pn(){if(sn)return tr;sn=1;var e=function(){if(Mr)return rr.exports;Mr=1;var e=zr().Beautifier,t=mr().Options;return rr.exports=function(t,r){return new e(t,r).beautify()},rr.exports.defaultOptions=function(){return new t},rr.exports}(),t=Jr(),r=function(){if(an)return Qr.exports;an=1;var e=cn().Beautifier,t=tn().Options;return Qr.exports=function(t,r,n,i){return new e(t,r,n,i).beautify()},Qr.exports.defaultOptions=function(){return new t},Qr.exports}();function n(n,i,a,s){return r(n,i,a=a||e,s=s||t)}return n.defaultOptions=r.defaultOptions,tr.js=e,tr.css=t,tr.html=n,tr}var dn,hn,_n,fn,gn,mn,bn=(on||(on=1,dn=er,(mn=pn()).js_beautify=mn.js,mn.css_beautify=mn.css,mn.html_beautify=mn.html,dn.exports=(_n=mn,fn=mn,(gn=function(e,t){return hn.js_beautify(e,t)}).js=(hn=mn).js_beautify,gn.css=_n.css_beautify,gn.html=fn.html_beautify,gn.js_beautify=hn.js_beautify,gn.css_beautify=_n.css_beautify,gn.html_beautify=fn.html_beautify,gn)),er.exports);const yn=["div","p","h1","h2","h3","h4","h5","h6","ol","ul","li","table","hr","dl"],xn=(e,t)=>{var r;if(e.nodeType===Node.TEXT_NODE)return{text:(null==(r=e.textContent)?void 0:r.replace(/\s+/g," ").replace(/\n/g,""))||""};if(e.nodeType===Node.ELEMENT_NODE&&e instanceof Element){const r=e.tagName.toLowerCase(),n={};return r.startsWith("mj-")?t(e):(e.getAttributeNames().forEach((t=>{let r=d.camelCase(t);"class"===r&&(r="className"),n[r]=e.getAttribute(t)||""})),"iframe"===r?(n.srcdoc&&(n.srcdoc=Kt.decode(n.srcdoc)),Ja.getBlockByType(Lt.HTML_NODE).create({attributes:n,data:{tagName:"iframe"},children:[{text:""}]})):r.startsWith("amp-")?(n.content&&(n.content=Kt.decode(n.content)),Ja.getBlockByType(Lt.HTML_BLOCK_NODE).create({attributes:n,data:{tagName:r},children:[...e.childNodes].filter((e=>e.nodeType!==Node.COMMENT_NODE)).map((e=>xn(e,t)))})):"br"===r?Ja.getBlockByType(Lt.LINE_BREAK).create({attributes:{},data:{},children:[{text:""}]}):yn.includes(r)?Ja.getBlockByType(Lt.HTML_BLOCK_NODE).create({attributes:n,data:{tagName:r},children:[...e.childNodes].filter((e=>e.nodeType!==Node.COMMENT_NODE)).map((e=>xn(e,t)))}):Ja.getBlockByType(Lt.HTML_NODE).create({attributes:n,data:{tagName:r},children:[...e.childNodes].filter((e=>e.nodeType!==Node.COMMENT_NODE)).map((e=>xn(e,t)))}))}throw new Error("Invalid node")};var vn,wn={exports:{}};var En=(vn||(vn=1,wn.exports=function e(t,r,n){function i(s,o){if(!r[s]){if(!t[s]){if(!o&&k)return k(s);if(a)return a(s,!0);throw new Error("Cannot find module '"+s+"'")}o=r[s]={exports:{}},t[s][0].call(o.exports,(function(e){return i(t[s][1][e]||e)}),o,o.exports,e,t,r,n)}return r[s].exports}for(var a=k,s=0;s<n.length;s++)i(n[s]);return i}({1:[function(e,t,r){(function(n,i,a,s,o,l,u,c,p){var d=e("crypto");function h(e,t){var r;return void 0===(r="passthrough"!==(t=g(e,t)).algorithm?d.createHash(t.algorithm):new y).write&&(r.write=r.update,r.end=r.update),b(t,r).dispatch(e),r.update||r.end(""),r.digest?r.digest("buffer"===t.encoding?void 0:t.encoding):(e=r.read(),"buffer"!==t.encoding?e.toString(t.encoding):e)}(r=t.exports=h).sha1=function(e){return h(e)},r.keys=function(e){return h(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},r.MD5=function(e){return h(e,{algorithm:"md5",encoding:"hex"})},r.keysMD5=function(e){return h(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var _=d.getHashes?d.getHashes().slice():["sha1","md5"],f=(_.push("passthrough"),["buffer","hex","binary","base64"]);function g(e,t){var r={};if(r.algorithm=(t=t||{}).algorithm||"sha1",r.encoding=t.encoding||"hex",r.excludeValues=!!t.excludeValues,r.algorithm=r.algorithm.toLowerCase(),r.encoding=r.encoding.toLowerCase(),r.ignoreUnknown=!0===t.ignoreUnknown,r.respectType=!1!==t.respectType,r.respectFunctionNames=!1!==t.respectFunctionNames,r.respectFunctionProperties=!1!==t.respectFunctionProperties,r.unorderedArrays=!0===t.unorderedArrays,r.unorderedSets=!1!==t.unorderedSets,r.unorderedObjects=!1!==t.unorderedObjects,r.replacer=t.replacer||void 0,r.excludeKeys=t.excludeKeys||void 0,void 0===e)throw new Error("Object argument required.");for(var n=0;n<_.length;++n)_[n].toLowerCase()===r.algorithm.toLowerCase()&&(r.algorithm=_[n]);if(-1===_.indexOf(r.algorithm))throw new Error('Algorithm "'+r.algorithm+'" not supported. supported values: '+_.join(", "));if(-1===f.indexOf(r.encoding)&&"passthrough"!==r.algorithm)throw new Error('Encoding "'+r.encoding+'" not supported. supported values: '+f.join(", "));return r}function m(e){if("function"==typeof e)return null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(e))}function b(e,t,r){function n(e){return t.update?t.update(e,"utf8"):t.write(e,"utf8")}return r=r||[],{dispatch:function(t){return this["_"+(null===(t=e.replacer?e.replacer(t):t)?"null":typeof t)](t)},_object:function(t){var i,s=Object.prototype.toString.call(t),o=/\[object (.*)\]/i.exec(s);if(o=(o=o?o[1]:"unknown:["+s+"]").toLowerCase(),0<=(s=r.indexOf(t)))return this.dispatch("[CIRCULAR:"+s+"]");if(r.push(t),void 0!==a&&a.isBuffer&&a.isBuffer(t))return n("buffer:"),n(t);if("object"===o||"function"===o||"asyncfunction"===o)return s=Object.keys(t),e.unorderedObjects&&(s=s.sort()),!1===e.respectType||m(t)||s.splice(0,0,"prototype","__proto__","constructor"),e.excludeKeys&&(s=s.filter((function(t){return!e.excludeKeys(t)}))),n("object:"+s.length+":"),i=this,s.forEach((function(r){i.dispatch(r),n(":"),e.excludeValues||i.dispatch(t[r]),n(",")}));if(!this["_"+o]){if(e.ignoreUnknown)return n("["+o+"]");throw new Error('Unknown object type "'+o+'"')}this["_"+o](t)},_array:function(t,i){i=void 0!==i?i:!1!==e.unorderedArrays;var a=this;if(n("array:"+t.length+":"),!i||t.length<=1)return t.forEach((function(e){return a.dispatch(e)}));var s=[];return i=t.map((function(t){var n=new y,i=r.slice();return b(e,n,i).dispatch(t),s=s.concat(i.slice(r.length)),n.read().toString()})),r=r.concat(s),i.sort(),this._array(i,!1)},_date:function(e){return n("date:"+e.toJSON())},_symbol:function(e){return n("symbol:"+e.toString())},_error:function(e){return n("error:"+e.toString())},_boolean:function(e){return n("bool:"+e.toString())},_string:function(e){n("string:"+e.length+":"),n(e.toString())},_function:function(t){n("fn:"),m(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this._object(t)},_number:function(e){return n("number:"+e.toString())},_xml:function(e){return n("xml:"+e.toString())},_null:function(){return n("Null")},_undefined:function(){return n("Undefined")},_regexp:function(e){return n("regex:"+e.toString())},_uint8array:function(e){return n("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){return n("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){return n("int8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){return n("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){return n("int16array:"),this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){return n("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){return n("int32array:"),this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){return n("float32array:"),this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){return n("float64array:"),this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){return n("arraybuffer:"),this.dispatch(new Uint8Array(e))},_url:function(e){return n("url:"+e.toString())},_map:function(t){return n("map:"),t=Array.from(t),this._array(t,!1!==e.unorderedSets)},_set:function(t){return n("set:"),t=Array.from(t),this._array(t,!1!==e.unorderedSets)},_file:function(e){return n("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown)return n("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return n("domwindow")},_bigint:function(e){return n("bigint:"+e.toString())},_process:function(){return n("process")},_timer:function(){return n("timer")},_pipe:function(){return n("pipe")},_tcp:function(){return n("tcp")},_udp:function(){return n("udp")},_tty:function(){return n("tty")},_statwatcher:function(){return n("statwatcher")},_securecontext:function(){return n("securecontext")},_connection:function(){return n("connection")},_zlib:function(){return n("zlib")},_context:function(){return n("context")},_nodescript:function(){return n("nodescript")},_httpparser:function(){return n("httpparser")},_dataview:function(){return n("dataview")},_signal:function(){return n("signal")},_fsevent:function(){return n("fsevent")},_tlswrap:function(){return n("tlswrap")}}}function y(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}r.writeToStream=function(e,t,r){return void 0===r&&(r=t,t={}),b(t=g(e,t),r).dispatch(e)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/")},{buffer:3,crypto:5,lYpoI2:11}],2:[function(e,t,r){(function(e,t,n,i,a,s,o,l,u){!function(e){var t="undefined"!=typeof Uint8Array?Uint8Array:Array,r="+".charCodeAt(0),n="/".charCodeAt(0),i="0".charCodeAt(0),a="a".charCodeAt(0),s="A".charCodeAt(0),o="-".charCodeAt(0),l="_".charCodeAt(0);function u(e){return(e=e.charCodeAt(0))===r||e===o?62:e===n||e===l?63:e<i?-1:e<i+10?e-i+26+26:e<s+26?e-s:e<a+26?e-a+26:void 0}e.toByteArray=function(e){var r,n;if(0<e.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var i=e.length,a=(i="="===e.charAt(i-2)?2:"="===e.charAt(i-1)?1:0,new t(3*e.length/4-i)),s=0<i?e.length-4:e.length,o=0;function l(e){a[o++]=e}for(r=0;r<s;r+=4,0)l((16711680&(n=u(e.charAt(r))<<18|u(e.charAt(r+1))<<12|u(e.charAt(r+2))<<6|u(e.charAt(r+3))))>>16),l((65280&n)>>8),l(255&n);return 2==i?l(255&(n=u(e.charAt(r))<<2|u(e.charAt(r+1))>>4)):1==i&&(l((n=u(e.charAt(r))<<10|u(e.charAt(r+1))<<4|u(e.charAt(r+2))>>2)>>8&255),l(255&n)),a},e.fromByteArray=function(e){var t,r,n,i,a=e.length%3,s="";function o(e){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e)}for(t=0,n=e.length-a;t<n;t+=3)s+=o((i=r=(e[t]<<16)+(e[t+1]<<8)+e[t+2])>>18&63)+o(i>>12&63)+o(i>>6&63)+o(63&i);switch(a){case 1:s=(s+=o((r=e[e.length-1])>>2))+o(r<<4&63)+"==";break;case 2:s=(s=(s+=o((r=(e[e.length-2]<<8)+e[e.length-1])>>10))+o(r>>4&63))+o(r<<2&63)+"="}return s}}(void 0===r?this.base64js={}:r)}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(e,t,r){(function(t,n,i,a,s,o,l,u,c){var p=e("base64-js"),d=e("ieee754");function i(e,t,r){if(!(this instanceof i))return new i(e,t,r);var n,a,s,o,l=typeof e;if("base64"===t&&"string"==l)for(e=(o=e).trim?o.trim():o.replace(/^\s+|\s+$/g,"");e.length%4!=0;)e+="=";if("number"==l)n=R(e);else if("string"==l)n=i.byteLength(e,t);else{if("object"!=l)throw new Error("First argument needs to be a number, array or string.");n=R(e.length)}if(i._useTypedArrays?a=i._augment(new Uint8Array(n)):((a=this).length=n,a._isBuffer=!0),i._useTypedArrays&&"number"==typeof e.byteLength)a._set(e);else if(O(o=e)||i.isBuffer(o)||o&&"object"==typeof o&&"number"==typeof o.length)for(s=0;s<n;s++)i.isBuffer(e)?a[s]=e.readUInt8(s):a[s]=e[s];else if("string"==l)a.write(e,0,t);else if("number"==l&&!i._useTypedArrays&&!r)for(s=0;s<n;s++)a[s]=0;return a}function h(e,t,r,n){return i._charsWritten=I(function(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function _(e,t,r,n){return i._charsWritten=I(function(e){for(var t,r,n=[],i=0;i<e.length;i++)t=(r=e.charCodeAt(i))>>8,r%=256,n.push(r),n.push(t);return n}(t),e,r,n)}function f(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;i++)n+=String.fromCharCode(e[i]);return n}function g(e,t,r,n){var i;if(n||(F("boolean"==typeof r,"missing or invalid endian"),F(null!=t,"missing offset"),F(t+1<e.length,"Trying to read beyond buffer length")),!((n=e.length)<=t))return r?(i=e[t],t+1<n&&(i|=e[t+1]<<8)):(i=e[t]<<8,t+1<n&&(i|=e[t+1])),i}function m(e,t,r,n){var i;if(n||(F("boolean"==typeof r,"missing or invalid endian"),F(null!=t,"missing offset"),F(t+3<e.length,"Trying to read beyond buffer length")),!((n=e.length)<=t))return r?(t+2<n&&(i=e[t+2]<<16),t+1<n&&(i|=e[t+1]<<8),i|=e[t],t+3<n&&(i+=e[t+3]<<24>>>0)):(t+1<n&&(i=e[t+1]<<16),t+2<n&&(i|=e[t+2]<<8),t+3<n&&(i|=e[t+3]),i+=e[t]<<24>>>0),i}function b(e,t,r,n){if(n||(F("boolean"==typeof r,"missing or invalid endian"),F(null!=t,"missing offset"),F(t+1<e.length,"Trying to read beyond buffer length")),!(e.length<=t))return 32768&(n=g(e,t,r,!0))?-1*(65535-n+1):n}function y(e,t,r,n){if(n||(F("boolean"==typeof r,"missing or invalid endian"),F(null!=t,"missing offset"),F(t+3<e.length,"Trying to read beyond buffer length")),!(e.length<=t))return 2147483648&(n=m(e,t,r,!0))?-1*(4294967295-n+1):n}function x(e,t,r,n){return n||(F("boolean"==typeof r,"missing or invalid endian"),F(t+3<e.length,"Trying to read beyond buffer length")),d.read(e,t,r,23,4)}function v(e,t,r,n){return n||(F("boolean"==typeof r,"missing or invalid endian"),F(t+7<e.length,"Trying to read beyond buffer length")),d.read(e,t,r,52,8)}function w(e,t,r,n,i){if(i||(F(null!=t,"missing value"),F("boolean"==typeof n,"missing or invalid endian"),F(null!=r,"missing offset"),F(r+1<e.length,"trying to write beyond buffer length"),P(t,65535)),!((i=e.length)<=r))for(var a=0,s=Math.min(i-r,2);a<s;a++)e[r+a]=(t&255<<8*(n?a:1-a))>>>8*(n?a:1-a)}function E(e,t,r,n,i){if(i||(F(null!=t,"missing value"),F("boolean"==typeof n,"missing or invalid endian"),F(null!=r,"missing offset"),F(r+3<e.length,"trying to write beyond buffer length"),P(t,4294967295)),!((i=e.length)<=r))for(var a=0,s=Math.min(i-r,4);a<s;a++)e[r+a]=t>>>8*(n?a:3-a)&255}function k(e,t,r,n,i){i||(F(null!=t,"missing value"),F("boolean"==typeof n,"missing or invalid endian"),F(null!=r,"missing offset"),F(r+1<e.length,"Trying to write beyond buffer length"),M(t,32767,-32768)),e.length<=r||w(e,0<=t?t:65535+t+1,r,n,i)}function A(e,t,r,n,i){i||(F(null!=t,"missing value"),F("boolean"==typeof n,"missing or invalid endian"),F(null!=r,"missing offset"),F(r+3<e.length,"Trying to write beyond buffer length"),M(t,2147483647,-2147483648)),e.length<=r||E(e,0<=t?t:4294967295+t+1,r,n,i)}function T(e,t,r,n,i){i||(F(null!=t,"missing value"),F("boolean"==typeof n,"missing or invalid endian"),F(null!=r,"missing offset"),F(r+3<e.length,"Trying to write beyond buffer length"),U(t,34028234663852886e22,-34028234663852886e22)),e.length<=r||d.write(e,t,r,n,23,4)}function D(e,t,r,n,i){i||(F(null!=t,"missing value"),F("boolean"==typeof n,"missing or invalid endian"),F(null!=r,"missing offset"),F(r+7<e.length,"Trying to write beyond buffer length"),U(t,17976931348623157e292,-17976931348623157e292)),e.length<=r||d.write(e,t,r,n,52,8)}r.Buffer=i,r.SlowBuffer=i,r.INSPECT_MAX_BYTES=50,i.poolSize=8192,i._useTypedArrays=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray}catch(r){return!1}}(),i.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.isBuffer=function(e){return!(null==e||!e._isBuffer)},i.byteLength=function(e,t){var r;switch(e+="",t||"utf8"){case"hex":r=e.length/2;break;case"utf8":case"utf-8":r=B(e).length;break;case"ascii":case"binary":case"raw":r=e.length;break;case"base64":r=C(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=2*e.length;break;default:throw new Error("Unknown encoding")}return r},i.concat=function(e,t){if(F(O(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new i(0);if(1===e.length)return e[0];if("number"!=typeof t)for(a=t=0;a<e.length;a++)t+=e[a].length;for(var r=new i(t),n=0,a=0;a<e.length;a++){var s=e[a];s.copy(r,n),n+=s.length}return r},i.prototype.write=function(e,t,r,n){isFinite(t)?isFinite(r)||(n=r,r=void 0):(u=n,n=t,t=r,r=u),t=Number(t)||0;var a,s,o,l,u=this.length-t;switch((!r||u<(r=Number(r)))&&(r=u),n=String(n||"utf8").toLowerCase()){case"hex":a=function(e,t,r,n){r=Number(r)||0;var a=e.length-r;(!n||a<(n=Number(n)))&&(n=a),F((a=t.length)%2==0,"Invalid hex string"),a/2<n&&(n=a/2);for(var s=0;s<n;s++){var o=parseInt(t.substr(2*s,2),16);F(!isNaN(o),"Invalid hex string"),e[r+s]=o}return i._charsWritten=2*s,s}(this,e,t,r);break;case"utf8":case"utf-8":s=this,o=t,l=r,a=i._charsWritten=I(B(e),s,o,l);break;case"ascii":case"binary":a=h(this,e,t,r);break;case"base64":s=this,o=t,l=r,a=i._charsWritten=I(C(e),s,o,l);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":a=_(this,e,t,r);break;default:throw new Error("Unknown encoding")}return a},i.prototype.toString=function(e,t,r){var n,i,a,s,o=this;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,(r=void 0!==r?Number(r):o.length)===t)return"";switch(e){case"hex":n=function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||n<r)&&(r=n);for(var i="",a=t;a<r;a++)i+=L(e[a]);return i}(o,t,r);break;case"utf8":case"utf-8":n=function(e,t,r){var n="",i="";r=Math.min(e.length,r);for(var a=t;a<r;a++)e[a]<=127?(n+=q(i)+String.fromCharCode(e[a]),i=""):i+="%"+e[a].toString(16);return n+q(i)}(o,t,r);break;case"ascii":case"binary":n=f(o,t,r);break;case"base64":i=o,s=r,n=0===(a=t)&&s===i.length?p.fromByteArray(i):p.fromByteArray(i.slice(a,s));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=function(e,t,r){for(var n=e.slice(t,r),i="",a=0;a<n.length;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}(o,t,r);break;default:throw new Error("Unknown encoding")}return n},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},i.prototype.copy=function(e,t,r,n){if(t=t||0,(n=n||0===n?n:this.length)!==(r=r||0)&&0!==e.length&&0!==this.length){F(r<=n,"sourceEnd < sourceStart"),F(0<=t&&t<e.length,"targetStart out of bounds"),F(0<=r&&r<this.length,"sourceStart out of bounds"),F(0<=n&&n<=this.length,"sourceEnd out of bounds"),n>this.length&&(n=this.length);var a=(n=e.length-t<n-r?e.length-t+r:n)-r;if(a<100||!i._useTypedArrays)for(var s=0;s<a;s++)e[s+t]=this[s+r];else e._set(this.subarray(r,r+a),t)}},i.prototype.slice=function(e,t){var r=this.length;if(e=N(e,r,0),t=N(t,r,r),i._useTypedArrays)return i._augment(this.subarray(e,t));for(var n=t-e,a=new i(n,void 0,!0),s=0;s<n;s++)a[s]=this[s+e];return a},i.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},i.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},i.prototype.readUInt8=function(e,t){if(t||(F(null!=e,"missing offset"),F(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return this[e]},i.prototype.readUInt16LE=function(e,t){return g(this,e,!0,t)},i.prototype.readUInt16BE=function(e,t){return g(this,e,!1,t)},i.prototype.readUInt32LE=function(e,t){return m(this,e,!0,t)},i.prototype.readUInt32BE=function(e,t){return m(this,e,!1,t)},i.prototype.readInt8=function(e,t){if(t||(F(null!=e,"missing offset"),F(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return 128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){return b(this,e,!0,t)},i.prototype.readInt16BE=function(e,t){return b(this,e,!1,t)},i.prototype.readInt32LE=function(e,t){return y(this,e,!0,t)},i.prototype.readInt32BE=function(e,t){return y(this,e,!1,t)},i.prototype.readFloatLE=function(e,t){return x(this,e,!0,t)},i.prototype.readFloatBE=function(e,t){return x(this,e,!1,t)},i.prototype.readDoubleLE=function(e,t){return v(this,e,!0,t)},i.prototype.readDoubleBE=function(e,t){return v(this,e,!1,t)},i.prototype.writeUInt8=function(e,t,r){r||(F(null!=e,"missing value"),F(null!=t,"missing offset"),F(t<this.length,"trying to write beyond buffer length"),P(e,255)),t>=this.length||(this[t]=e)},i.prototype.writeUInt16LE=function(e,t,r){w(this,e,t,!0,r)},i.prototype.writeUInt16BE=function(e,t,r){w(this,e,t,!1,r)},i.prototype.writeUInt32LE=function(e,t,r){E(this,e,t,!0,r)},i.prototype.writeUInt32BE=function(e,t,r){E(this,e,t,!1,r)},i.prototype.writeInt8=function(e,t,r){r||(F(null!=e,"missing value"),F(null!=t,"missing offset"),F(t<this.length,"Trying to write beyond buffer length"),M(e,127,-128)),t>=this.length||(0<=e?this.writeUInt8(e,t,r):this.writeUInt8(255+e+1,t,r))},i.prototype.writeInt16LE=function(e,t,r){k(this,e,t,!0,r)},i.prototype.writeInt16BE=function(e,t,r){k(this,e,t,!1,r)},i.prototype.writeInt32LE=function(e,t,r){A(this,e,t,!0,r)},i.prototype.writeInt32BE=function(e,t,r){A(this,e,t,!1,r)},i.prototype.writeFloatLE=function(e,t,r){T(this,e,t,!0,r)},i.prototype.writeFloatBE=function(e,t,r){T(this,e,t,!1,r)},i.prototype.writeDoubleLE=function(e,t,r){D(this,e,t,!0,r)},i.prototype.writeDoubleBE=function(e,t,r){D(this,e,t,!1,r)},i.prototype.fill=function(e,t,r){if(t=t||0,r=r||this.length,F("number"==typeof(e="string"==typeof(e=e||0)?e.charCodeAt(0):e)&&!isNaN(e),"value is not a number"),F(t<=r,"end < start"),r!==t&&0!==this.length){F(0<=t&&t<this.length,"start out of bounds"),F(0<=r&&r<=this.length,"end out of bounds");for(var n=t;n<r;n++)this[n]=e}},i.prototype.inspect=function(){for(var e=[],t=this.length,n=0;n<t;n++)if(e[n]=L(this[n]),n===r.INSPECT_MAX_BYTES){e[n+1]="...";break}return"<Buffer "+e.join(" ")+">"},i.prototype.toArrayBuffer=function(){if("undefined"==typeof Uint8Array)throw new Error("Buffer.toArrayBuffer not supported in this browser");if(i._useTypedArrays)return new i(this).buffer;for(var e=new Uint8Array(this.length),t=0,r=e.length;t<r;t+=1)e[t]=this[t];return e.buffer};var S=i.prototype;function N(e,t,r){return"number"!=typeof e?r:t<=(e=~~e)?t:0<=e||0<=(e+=t)?e:0}function R(e){return(e=~~Math.ceil(+e))<0?0:e}function O(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function L(e){return e<16?"0"+e.toString(16):e.toString(16)}function B(e){for(var t=[],r=0;r<e.length;r++){var n=e.charCodeAt(r);if(n<=127)t.push(e.charCodeAt(r));else for(var i=r,a=(55296<=n&&n<=57343&&r++,encodeURIComponent(e.slice(i,r+1)).substr(1).split("%")),s=0;s<a.length;s++)t.push(parseInt(a[s],16))}return t}function C(e){return p.toByteArray(e)}function I(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);i++)t[i+r]=e[i];return i}function q(e){try{return decodeURIComponent(e)}catch(t){return String.fromCharCode(65533)}}function P(e,t){F("number"==typeof e,"cannot write a non-number as a number"),F(0<=e,"specified a negative value for writing an unsigned value"),F(e<=t,"value is larger than maximum value for type"),F(Math.floor(e)===e,"value has a fractional component")}function M(e,t,r){F("number"==typeof e,"cannot write a non-number as a number"),F(e<=t,"value larger than maximum allowed value"),F(r<=e,"value smaller than minimum allowed value"),F(Math.floor(e)===e,"value has a fractional component")}function U(e,t,r){F("number"==typeof e,"cannot write a non-number as a number"),F(e<=t,"value larger than maximum allowed value"),F(r<=e,"value smaller than minimum allowed value")}function F(e,t){if(!e)throw new Error(t||"Failed assertion")}i._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=S.get,e.set=S.set,e.write=S.write,e.toString=S.toString,e.toLocaleString=S.toString,e.toJSON=S.toJSON,e.copy=S.copy,e.slice=S.slice,e.readUInt8=S.readUInt8,e.readUInt16LE=S.readUInt16LE,e.readUInt16BE=S.readUInt16BE,e.readUInt32LE=S.readUInt32LE,e.readUInt32BE=S.readUInt32BE,e.readInt8=S.readInt8,e.readInt16LE=S.readInt16LE,e.readInt16BE=S.readInt16BE,e.readInt32LE=S.readInt32LE,e.readInt32BE=S.readInt32BE,e.readFloatLE=S.readFloatLE,e.readFloatBE=S.readFloatBE,e.readDoubleLE=S.readDoubleLE,e.readDoubleBE=S.readDoubleBE,e.writeUInt8=S.writeUInt8,e.writeUInt16LE=S.writeUInt16LE,e.writeUInt16BE=S.writeUInt16BE,e.writeUInt32LE=S.writeUInt32LE,e.writeUInt32BE=S.writeUInt32BE,e.writeInt8=S.writeInt8,e.writeInt16LE=S.writeInt16LE,e.writeInt16BE=S.writeInt16BE,e.writeInt32LE=S.writeInt32LE,e.writeInt32BE=S.writeInt32BE,e.writeFloatLE=S.writeFloatLE,e.writeFloatBE=S.writeFloatBE,e.writeDoubleLE=S.writeDoubleLE,e.writeDoubleBE=S.writeDoubleBE,e.fill=S.fill,e.inspect=S.inspect,e.toArrayBuffer=S.toArrayBuffer,e}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(e,t,r){(function(r,n,i,a,s,o,l,u,c){i=e("buffer").Buffer;var p=4,d=new i(p);d.fill(0),t.exports={hash:function(e,t,r,n){for(var a=t(function(e,t){e.length%p!=0&&(r=e.length+(p-e.length%p),e=i.concat([e,d],r));for(var r,n=[],a=t?e.readInt32BE:e.readInt32LE,s=0;s<e.length;s+=p)n.push(a.call(e,s));return n}(e=i.isBuffer(e)?e:new i(e),n),8*e.length),s=(t=n,new i(r)),o=t?s.writeInt32BE:s.writeInt32LE,l=0;l<a.length;l++)o.call(s,a[l],4*l,!0);return s}}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],5:[function(e,t,r){(function(t,n,i,a,s,o,l,u,c){i=e("buffer").Buffer;var p=e("./sha"),d=e("./sha256"),h=e("./rng"),_={sha1:p,sha256:d,md5:e("./md5")},f=64,g=new i(f);function m(e,t){var r=_[e=e||"sha1"],n=[];return r||b("algorithm:",e,"is not yet supported"),{update:function(e){return i.isBuffer(e)||(e=new i(e)),n.push(e),e.length,this},digest:function(e){var a=i.concat(n);return a=t?function(e,t,r){i.isBuffer(t)||(t=new i(t)),i.isBuffer(r)||(r=new i(r)),t.length>f?t=e(t):t.length<f&&(t=i.concat([t,g],f));for(var n=new i(f),a=new i(f),s=0;s<f;s++)n[s]=54^t[s],a[s]=92^t[s];return r=e(i.concat([n,r])),e(i.concat([a,r]))}(r,t,a):r(a),n=null,e?a.toString(e):a}}}function b(){var e=[].slice.call(arguments).join(" ");throw new Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}g.fill(0),r.createHash=function(e){return m(e)},r.createHmac=m,r.randomBytes=function(e,t){if(!t||!t.call)return new i(h(e));try{t.call(this,void 0,new i(h(e)))}catch(r){t(r)}};var y,x=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],v=function(e){r[e]=function(){b("sorry,",e,"is not implemented yet")}};for(y in x)v(x[y])}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(e,t,r){(function(r,n,i,a,s,o,l,u,c){var p=e("./helpers");function d(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var r=1732584193,n=-271733879,i=-1732584194,a=271733878,s=0;s<e.length;s+=16){var o=r,l=n,u=i,c=a;r=_(r,n,i,a,e[s+0],7,-680876936),a=_(a,r,n,i,e[s+1],12,-389564586),i=_(i,a,r,n,e[s+2],17,606105819),n=_(n,i,a,r,e[s+3],22,-1044525330),r=_(r,n,i,a,e[s+4],7,-176418897),a=_(a,r,n,i,e[s+5],12,1200080426),i=_(i,a,r,n,e[s+6],17,-1473231341),n=_(n,i,a,r,e[s+7],22,-45705983),r=_(r,n,i,a,e[s+8],7,1770035416),a=_(a,r,n,i,e[s+9],12,-1958414417),i=_(i,a,r,n,e[s+10],17,-42063),n=_(n,i,a,r,e[s+11],22,-1990404162),r=_(r,n,i,a,e[s+12],7,1804603682),a=_(a,r,n,i,e[s+13],12,-40341101),i=_(i,a,r,n,e[s+14],17,-1502002290),r=f(r,n=_(n,i,a,r,e[s+15],22,1236535329),i,a,e[s+1],5,-165796510),a=f(a,r,n,i,e[s+6],9,-1069501632),i=f(i,a,r,n,e[s+11],14,643717713),n=f(n,i,a,r,e[s+0],20,-373897302),r=f(r,n,i,a,e[s+5],5,-701558691),a=f(a,r,n,i,e[s+10],9,38016083),i=f(i,a,r,n,e[s+15],14,-660478335),n=f(n,i,a,r,e[s+4],20,-405537848),r=f(r,n,i,a,e[s+9],5,568446438),a=f(a,r,n,i,e[s+14],9,-1019803690),i=f(i,a,r,n,e[s+3],14,-187363961),n=f(n,i,a,r,e[s+8],20,1163531501),r=f(r,n,i,a,e[s+13],5,-1444681467),a=f(a,r,n,i,e[s+2],9,-51403784),i=f(i,a,r,n,e[s+7],14,1735328473),r=g(r,n=f(n,i,a,r,e[s+12],20,-1926607734),i,a,e[s+5],4,-378558),a=g(a,r,n,i,e[s+8],11,-2022574463),i=g(i,a,r,n,e[s+11],16,1839030562),n=g(n,i,a,r,e[s+14],23,-35309556),r=g(r,n,i,a,e[s+1],4,-1530992060),a=g(a,r,n,i,e[s+4],11,1272893353),i=g(i,a,r,n,e[s+7],16,-155497632),n=g(n,i,a,r,e[s+10],23,-1094730640),r=g(r,n,i,a,e[s+13],4,681279174),a=g(a,r,n,i,e[s+0],11,-358537222),i=g(i,a,r,n,e[s+3],16,-722521979),n=g(n,i,a,r,e[s+6],23,76029189),r=g(r,n,i,a,e[s+9],4,-640364487),a=g(a,r,n,i,e[s+12],11,-421815835),i=g(i,a,r,n,e[s+15],16,530742520),r=m(r,n=g(n,i,a,r,e[s+2],23,-995338651),i,a,e[s+0],6,-198630844),a=m(a,r,n,i,e[s+7],10,1126891415),i=m(i,a,r,n,e[s+14],15,-1416354905),n=m(n,i,a,r,e[s+5],21,-57434055),r=m(r,n,i,a,e[s+12],6,1700485571),a=m(a,r,n,i,e[s+3],10,-1894986606),i=m(i,a,r,n,e[s+10],15,-1051523),n=m(n,i,a,r,e[s+1],21,-2054922799),r=m(r,n,i,a,e[s+8],6,1873313359),a=m(a,r,n,i,e[s+15],10,-30611744),i=m(i,a,r,n,e[s+6],15,-1560198380),n=m(n,i,a,r,e[s+13],21,1309151649),r=m(r,n,i,a,e[s+4],6,-145523070),a=m(a,r,n,i,e[s+11],10,-1120210379),i=m(i,a,r,n,e[s+2],15,718787259),n=m(n,i,a,r,e[s+9],21,-343485551),r=b(r,o),n=b(n,l),i=b(i,u),a=b(a,c)}return Array(r,n,i,a)}function h(e,t,r,n,i,a){return b((t=b(b(t,e),b(n,a)))<<i|t>>>32-i,r)}function _(e,t,r,n,i,a,s){return h(t&r|~t&n,e,t,i,a,s)}function f(e,t,r,n,i,a,s){return h(t&n|r&~n,e,t,i,a,s)}function g(e,t,r,n,i,a,s){return h(t^r^n,e,t,i,a,s)}function m(e,t,r,n,i,a,s){return h(r^(t|~n),e,t,i,a,s)}function b(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}t.exports=function(e){return p.hash(e,d,16)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(e,t,r){(function(e,r,n,i,a,s,o,l,u){t.exports=function(e){for(var t,r=new Array(e),n=0;n<e;n++)!(3&n)&&(t=4294967296*Math.random()),r[n]=t>>>((3&n)<<3)&255;return r}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(e,t,r){(function(r,n,i,a,s,o,l,u,c){var p=e("./helpers");function d(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var r,n,i,a=Array(80),s=1732584193,o=-271733879,l=-1732584194,u=271733878,c=-1009589776,p=0;p<e.length;p+=16){for(var d=s,f=o,g=l,m=u,b=c,y=0;y<80;y++){a[y]=y<16?e[p+y]:_(a[y-3]^a[y-8]^a[y-14]^a[y-16],1);var x=h(h(_(s,5),(x=o,n=l,i=u,(r=y)<20?x&n|~x&i:!(r<40)&&r<60?x&n|x&i|n&i:x^n^i)),h(h(c,a[y]),(r=y)<20?1518500249:r<40?1859775393:r<60?-1894007588:-899497514));c=u,u=l,l=_(o,30),o=s,s=x}s=h(s,d),o=h(o,f),l=h(l,g),u=h(u,m),c=h(c,b)}return Array(s,o,l,u,c)}function h(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function _(e,t){return e<<t|e>>>32-t}t.exports=function(e){return p.hash(e,d,20,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(e,t,r){(function(r,n,i,a,s,o,l,u,c){function p(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function d(e,t){var r,n=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),i=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),a=new Array(64);e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var s,o,l=0;l<e.length;l+=16){for(var u=i[0],c=i[1],d=i[2],h=i[3],g=i[4],m=i[5],b=i[6],y=i[7],x=0;x<64;x++)a[x]=x<16?e[x+l]:p(p(p((o=a[x-2],_(o,17)^_(o,19)^f(o,10)),a[x-7]),(o=a[x-15],_(o,7)^_(o,18)^f(o,3))),a[x-16]),r=p(p(p(p(y,_(o=g,6)^_(o,11)^_(o,25)),g&m^~g&b),n[x]),a[x]),s=p(_(s=u,2)^_(s,13)^_(s,22),u&c^u&d^c&d),y=b,b=m,m=g,g=p(h,r),h=d,d=c,c=u,u=p(r,s);i[0]=p(u,i[0]),i[1]=p(c,i[1]),i[2]=p(d,i[2]),i[3]=p(h,i[3]),i[4]=p(g,i[4]),i[5]=p(m,i[5]),i[6]=p(b,i[6]),i[7]=p(y,i[7])}return i}var h=e("./helpers"),_=function(e,t){return e>>>t|e<<32-t},f=function(e,t){return e>>>t};t.exports=function(e){return h.hash(e,d,32,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(e,t,r){(function(e,t,n,i,a,s,o,l,u){r.read=function(e,t,r,n,i){var a,s,o=8*i-n-1,l=(1<<o)-1,u=l>>1,c=-7,p=r?i-1:0,d=r?-1:1;for(i=e[t+p],p+=d,a=i&(1<<-c)-1,i>>=-c,c+=o;0<c;a=256*a+e[t+p],p+=d,c-=8);for(s=a&(1<<-c)-1,a>>=-c,c+=n;0<c;s=256*s+e[t+p],p+=d,c-=8);if(0===a)a=1-u;else{if(a===l)return s?NaN:1/0*(i?-1:1);s+=Math.pow(2,n),a-=u}return(i?-1:1)*s*Math.pow(2,a-n)},r.write=function(e,t,r,n,i,a){var s,o,l=8*a-i-1,u=(1<<l)-1,c=u>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:a-1,h=n?1:-1;for(a=t<0||0===t&&1/t<0?1:0,t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(n=Math.pow(2,-s))<1&&(s--,n*=2),2<=(t+=1<=s+c?p/n:p*Math.pow(2,1-c))*n&&(s++,n/=2),u<=s+c?(o=0,s=u):1<=s+c?(o=(t*n-1)*Math.pow(2,i),s+=c):(o=t*Math.pow(2,c-1)*Math.pow(2,i),s=0));8<=i;e[r+d]=255&o,d+=h,o/=256,i-=8);for(s=s<<i|o,l+=i;0<l;e[r+d]=255&s,d+=h,s/=256,l-=8);e[r+d-h]|=128*a}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/ieee754/index.js","/node_modules/gulp-browserify/node_modules/ieee754")},{buffer:3,lYpoI2:11}],11:[function(e,t,r){(function(e,r,n,i,a,s,o,l,u){var c,p,d;function h(){}(e=t.exports={}).nextTick=(p="undefined"!=typeof window&&window.setImmediate,d="undefined"!=typeof window&&window.postMessage&&window.addEventListener,p?function(e){return window.setImmediate(e)}:d?(c=[],window.addEventListener("message",(function(e){var t=e.source;t!==window&&null!==t||"process-tick"!==e.data||(e.stopPropagation(),0<c.length&&c.shift()())}),!0),function(e){c.push(e),window.postMessage("process-tick","*")}):function(e){setTimeout(e,0)}),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.on=h,e.addListener=h,e.once=h,e.off=h,e.removeListener=h,e.removeAllListeners=h,e.emit=h,e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:11}]},{},[1])(1)),wn.exports);const kn=v(En),An=class e{static setAutoComplete(e){this.autoComplete=e}static auth(e){return p(this,null,(function*(){yield wt.auth(e)}))}static toMJML(t){const r=wt.getAuthState();if("PENDING"===r)throw new Error("Please call EditorCore.auth first");if("ERROR"===r)throw new Error("Auth error");const{element:n,pageElement:i,beautify:a,universalElements:s,mode:o,displayMode:l="desktop-mobile",idx:u,mergetagsData:c,attributesVariables:p}=t,_=t.outputFormat||"mjml",g=Ja.getBlockByType(n.type);if(!g)throw new Error(`Block ${n.type} not found`);if(!i&&g.category!==Bt.PAGE)throw new Error("Page element is required if element is not a page");const m=s?e.transformUniversalElements({universalElements:s.elements,content:d.cloneDeep(n)}):d.cloneDeep(n),b=new jt({mode:o}),y={content:i||n};let x="",v="",w=u;if(g.category===Bt.PAGE){w=Qt.getPageIdx();const e=d.cloneDeep(i||m);if(e.attributes=d.omit(e.attributes,"content-background-color"),t.headerElement||t.footerElement){if(!wt.getFeatureEnabled("FROZEN_BLOCK"))throw new Error("Current plan do not support FROZEN_BLOCK");const r={content:e};t.headerElement&&(x=Wt.unescape(f.renderToStaticMarkup(h.createElement(Nn,{universalElements:s,mode:t.mode,context:r,displayMode:l,outputFormat:_,keepEmptyAttributes:Boolean(t.keepEmptyAttributes),mergetagsData:c,attributesVariables:p},h.createElement(Ft,{context:b},h.createElement(Hn,{idx:w,node:d.cloneDeep(t.headerElement)})))))),t.footerElement&&(v=Wt.unescape(f.renderToStaticMarkup(h.createElement(Nn,{universalElements:s,mode:t.mode,context:r,displayMode:l,keepEmptyAttributes:Boolean(t.keepEmptyAttributes),mergetagsData:c,attributesVariables:p,outputFormat:_},h.createElement(Ft,{context:b},h.createElement(Hn,{idx:w,node:d.cloneDeep(t.footerElement)}))))))}}let E=Wt.unescape(f.renderToStaticMarkup(h.createElement(Nn,{universalElements:s,mode:t.mode,context:y,displayMode:l,keepEmptyAttributes:Boolean(t.keepEmptyAttributes),mergetagsData:c,attributesVariables:p,outputFormat:_},h.createElement(Ft,{context:b},h.createElement(Hn,{idx:w,node:m})))));const k=b.getHeadContent();return E=E.replace(/\<!-- GLOBAL_EXTRACT_HEADER --\>/,k),E=wt.getFeatureEnabled("REMOVE_BRAND")?E.replace(/\<!-- EASY_EMAIL_BRAND --\>/g,""):E.replace(/\<!-- EASY_EMAIL_BRAND --\>/,`<mj-section padding-top="20px" padding-bottom="0px">\n <mj-column width="150px">\n <mj-image target="_blank" alt="easy email pro" href="https://www.easyemail.pro/?utm_source=brand_logo&utm_client_id=${wt.clientId}" padding="5px 10px" container-background-color="#fafafa" src="https://cdn.shopify.com/s/files/1/0863/8971/9346/files/image.png" />\n </mj-column>\n </mj-section>`),E=E.replace(/\<!-- GLOBAL_EXTRACT_HEADER --\>/,k),E=E.replace(/\<!-- EASY_EMAIL_FROZEN_HEADER --\>/,x).replace(/\<!-- EASY_EMAIL_FROZEN_FOOTER --\>/,v),"production"!==t.mode&&(E=E.replace(/\<mj-html-attributes\>([\w\W]*?)\<\/mj-html-attributes\>/,"")),a?bn.html(E,{indent_size:2,wrap_attributes_indent_size:2,max_preserve_newlines:0,preserve_newlines:!1}):E}static translate(e){return p(this,null,(function*(){if(!wt.getFeatureEnabled("TRANSLATE_TEMPLATE"))throw new Error("Current plan do not support translate template.");const t=[e.template.subject],r=n=>{var i;Qt.isMergetagElement(n)||(Qt.isElement(n)&&n.children.forEach((e=>{Qt.isTextNode(e)?e.text.trim()&&t.push(e.text):r(e)})),(null==(i=e.helper)?void 0:i.extract)&&e.helper.extract(n,t))};r(e.template.content);const n=yield e.translate([...new Set(t)]),i=t=>{var r;Qt.isMergetagElement(t)||(Qt.isElement(t)&&t.children.forEach((e=>{Qt.isTextNode(e)?e.text.trim()&&(e.text=n[e.text]):i(e)})),(null==(r=e.helper)?void 0:r.replace)&&e.helper.replace(t,n))},a=d.cloneDeep(e.template.content);return i(a),{content:a,subject:n[e.template.subject]}}))}static elementToMjml(e,t){const r=new jt({mode:t.mode});return Wt.unescape(f.renderToStaticMarkup(h.createElement(Nn,{outputFormat:t.outputFormat||"mjml",universalElements:t.universalElements,mode:t.mode,context:{content:t.pageElement},displayMode:t.displayMode||"desktop-mobile",keepEmptyAttributes:Boolean(t.keepEmptyAttributes),mergetagsData:t.mergetagsData,attributesVariables:t.attributesVariables},h.createElement(Ft,{context:r},h.createElement(Hn,{node:d.cloneDeep(e)})))))}static elementComponentToMjml(e,t){const r=new jt({mode:t.mode});return Wt.unescape(f.renderToStaticMarkup(h.createElement(Nn,{outputFormat:t.outputFormat||"mjml",universalElements:t.universalElements,mode:t.mode,context:{content:t.pageElement},displayMode:t.displayMode||"desktop-mobile",keepEmptyAttributes:Boolean(t.keepEmptyAttributes),mergetagsData:t.mergetagsData,attributesVariables:t.attributesVariables},h.createElement(Ft,{context:r},e))))}static isPageDataVariable(e){return/\$var\(([\s\S]+)\)/g.test(e)}};c(An,"autoComplete",!1),c(An,"version","0.14.0"),c(An,"mjmlToBlockElement",(function(e){if(!e.trim())return{text:""};const t=new DOMParser,r=e.replace(/ /g," ").replace(/&/g,"&"),n=t.parseFromString(r,"text/xml"),i=e=>{if(!e)return{text:""};if(8===e.nodeType){return Ja.getBlockByType(Lt.RAW).create({data:{content:e.textContent||""}})}if(3===e.nodeType)return{text:e.textContent||""};if(1!==e.nodeType)throw console.log("Invalid Node",e,e.nodeType),new Error("Invalid Node");const t=e;if(!t.tagName.toLocaleLowerCase().startsWith("mj-"))return xn(t,i);let r={},n=t.tagName.toLocaleLowerCase().replace("mj-",""),a=t.getAttributeNames().filter((e=>!e.startsWith("element-"))).reduce(((e,r)=>l(o({},e),{[r]:t.getAttribute(r)||""})),{});t.getAttribute("element-type")&&(n=t.getAttribute("element-type")),t.getAttribute("element-data")&&(r=JSON.parse(decodeURIComponent(t.getAttribute("element-data")))),t.getAttribute("element-attributes")&&(a=JSON.parse(decodeURIComponent(t.getAttribute("element-attributes")))||{}),n===Lt.TEXT&&d.get(a,"css-class","").includes(qt)&&(n=Lt.DANGEROUS_CODE,r={code:Kt.decode(t.innerHTML)}),"mj-table"===t.tagName.toLocaleLowerCase()&&(n=Lt.TABLE,r={code:Kt.decode(t.innerHTML)});const s=Ja.getBlockByType(n);if(!s)throw new Error(`Don't support ${t.tagName.toLocaleLowerCase()}`);let u=[];switch(n){case Lt.TEXT:case Lt.BUTTON:case Lt.NAVBAR_LINK:case Lt.SOCIAL_ELEMENT:u=((e,t)=>[...(new DOMParser).parseFromString(`<root>${e}</root>`,"text/xml").documentElement.childNodes].map((e=>xn(e,t))))(t.innerHTML||"",i);break;default:u=s.void?[]:t.childNodes.length>0?[...t.childNodes].map(i):[]}return{type:n,data:r,attributes:a,children:u}};return i(n.firstChild)})),c(An,"getPageVariableKey",(e=>e.replace(/\$var\(([\s\S]+)\)/g,"$1"))),c(An,"getPageDataVariables",((e,t)=>(null==e?void 0:e.reduce(((e,t)=>l(o({},e),{[t.name]:t.value})),o({},t)))||o({},t))),c(An,"renderWithPageVariables",((e,t,r)=>{if(!t)return e;const n=d.cloneDeep(e);if("string"==typeof n)return n.replace(/\$var\(([^)]+)\)/g,((e,r)=>d.get(t,r.trim(),"")));const i=e=>{d.forOwn(e,((a,s)=>{"object"==typeof a?("children"!==s||r)&&i(a):"string"==typeof a&&(e[s]=a.replace(/\$var\(([^)]+)\)/g,((e,r)=>d.get(t,r.trim(),""))).replace(/\$input\(([^)]+)\)/g,((e,t)=>Qt.isElement(n)&&Qt.isWidgetElement(n)?`widget_element_${kn(n.data.input)}.${t.trim()}`:t.trim())))}))};return i(n),n})),c(An,"getWidgetElementsInputData",(e=>{const t={},r=e=>{if(Qt.isWidgetElement(e)){const r="widget_element_"+kn(e.data.input);t[r]=e.data.input}e.children&&e.children.forEach((e=>{Qt.isElement(e)&&r(e)}))};return r(e),t})),c(An,"getUniversalElements",(function(e){const t={},r=(e,n)=>{e.uid&&(t[e.uid]||(t[e.uid]=[]),t[e.uid].push({idx:n,blockData:e})),e.children.forEach(((e,t)=>{Qt.isTextNode(e)||r(e,Qt.getChildIdx(n,t))}))};return r(e.content,Qt.getPageIdx()),t})),c(An,"transformUniversalElements",(function(e){const t=d.cloneDeep(e),r=(n,i)=>{if(n.uid){if(!e.universalElements)throw new Error("No universalElements");if(!e.universalElements[n.uid])throw new Error(`Can not find element by uid ${n.uid}`);d.set(t,i,d.cloneDeep(e.universalElements[n.uid]))}n.children.forEach(((e,t)=>{Qt.isTextNode(e)||r(e,Qt.getChildIdx(i,t))}))};return r(t.content,Qt.getPageIdx()),t.content}));let Tn=An;const Dn=h.createContext({}),Sn=()=>h.useContext(Dn),Nn=e=>{const t=h.useMemo((()=>{const t=Tn.getPageDataVariables(e.context.content.data.variables,e.attributesVariables||{});return l(o({},e),{pageVariables:t})}),[e]);return h.createElement(Dn.Provider,{value:t},e.children)};var Rn=(e=>(e.RESPONSIVE="RESPONSIVE",e.TEMPLATE_ENGINE="TEMPLATE_ENGINE",e))(Rn||{});class On{constructor(){c(this,"enabledResponsive",!0)}}c(On,"type","RESPONSIVE");class Ln{}c(Ln,"type","TEMPLATE_ENGINE");class Bn{}const Cn=class e{static registerPlugins(t){t.forEach((t=>{e.registerPlugin(t)}))}static registerPlugin(t){const r=new t;r instanceof On?(e.enabledResponsive=r.enabledResponsive,e.generateResponsive=r.generateResponsive):r instanceof Ln?(e.generateIterationTemplate=r.generateIterationTemplate,e.generateConditionTemplate=r.generateConditionTemplate,e.generateVariable=r.generateVariable,e.isVariable=r.isVariable,e.renderWithData=r.renderWithData):r instanceof Bn&&r.generateElement()}};c(Cn,"enabledResponsive",!1),c(Cn,"generateResponsive",(e=>{const t=Ja.getBlockByType(e.node.type),{mode:r,children:n,context:i,idx:a,node:s,keepEmptyAttributes:u,mergetagsData:c}=e;return t.render(l(o({},e),{mode:r,children:n,context:i,idx:a,node:s,keepEmptyAttributes:u,mergetagsData:c}))})),c(Cn,"generateIterationTemplate",((e,t)=>t)),c(Cn,"isVariable",(e=>!1)),c(Cn,"generateConditionTemplate",((e,t)=>t)),c(Cn,"generateVariable",(e=>e)),c(Cn,"renderWithData",((e,t)=>e));let In=Cn;const qn=h.createContext({}),Pn=e=>h.createElement(qn.Provider,{value:e},e.children),Mn=h.createContext({}),Un=e=>h.createElement(Mn.Provider,{value:e},e.children),Fn=h.createContext({}),jn=()=>h.useContext(Fn),zn=e=>h.createElement(Fn.Provider,{value:e},e.children),Hn=e=>{var t,r,n,i,a,s;const{children:u,node:c,idx:p}=e,{mode:_,context:f,displayMode:g,keepEmptyAttributes:m,mergetagsData:y,pageVariables:x,variablesDisabled:v,outputFormat:w}=Sn(),{element:E}=h.useContext(qn),{element:k}=h.useContext(Mn),{element:A}=jn(),T=Ja.getBlockByType(c.type);if(!T)throw new Error(`${c.type} block is not registered`);if("production"===_){if("amp-mjml"===w&&"html"===c.outputTarget)return null;if("mjml"===w&&"amp"===c.outputTarget){if(!(!0===(null==(t=c.data)?void 0:t.fallback)))return null}}const D=null==(r=c.logic)?void 0:r.condition,S=null==(n=c.logic)?void 0:n.iteration;let N=l(o({},c),{attributes:o({},c.attributes),mobileAttributes:o({},c.mobileAttributes)});const R=d.get(N,"attributes.css-class")||"";"production"===_&&R&&d.set(N,"attributes.css-class",R.replace(Ct,"").replace(It,""));const O=null==(i=N.attributes["mj-class"])?void 0:i.trim();if(O&&f.content.data.classAttributes){const e={},t=O.split(" ").map((e=>e.trim())).filter(Boolean);Object.values(t).forEach((t=>{d.get(f.content.data.classAttributes,t)&&Object.assign(e,d.get(f.content.data.classAttributes,t))})),N.attributes=b(e,N.attributes)}const L=null==(a=f.content.data.blockAttributes)?void 0:a[N.type];L&&(N.attributes=b(L,N.attributes));const B=null==(s=f.content.data.categoryAttributes)?void 0:s[T.category];f.content.data.globalAttributes&&(Qt.isHTMLBlockNodeElement(N)||Qt.isTable2TdElement(N)||Qt.isTable2TrElement(N)||Qt.isHTMLNodeElement(N)||(N.attributes=b(f.content.data.globalAttributes,N.attributes))),B&&(N.attributes=b(B,N.attributes));const C=o({},Ja.getBlockByType(N.type).defaultData.attributes);C&&(d.get(N.attributes,"padding","").trim()&&(delete C.padding,delete C["padding-top"],delete C["padding-bottom"],delete C["padding-left"],delete C["padding-right"]),d.get(N.attributes,"inner-padding","").trim()&&(delete C["inner-padding"],delete C["inner-padding-top"],delete C["inner-padding-bottom"],delete C["inner-padding-left"],delete C["inner-padding-right"]),N.attributes=b(C,N.attributes));if(Qt.isSectionElement(c)||Qt.isWrapperElement(c)){const e=f.content.attributes["content-background-color"];e&&(k||"production"!==_||(N.attributes=b({"background-color":e},N.attributes)))}if(!v){let e=x;Qt.isWidgetElement(N)?(e=b(x,N.data.input),N=Tn.renderWithPageVariables(N,e,!0)):N=Tn.renderWithPageVariables(N,e)}let I=In.generateResponsive({mode:_,children:u,context:f,idx:p,node:N,keepEmptyAttributes:m,mergetagsData:y,displayMode:g,outputFormat:w});if(E)try{const e=E.data.input;S&&S.enabled&&(I=In.generateIterationTemplate(S,I)),D&&D.enabled&&(I=In.generateConditionTemplate(d.cloneDeep(D),I));const t=Tn.elementComponentToMjml(I,{pageElement:f.content,mode:"production",keepEmptyAttributes:!0,mergetagsData:e,displayMode:g}),r=In.renderWithData(t,e);return h.createElement(h.Fragment,null,r)}catch(q){if("production"===_)throw q;return h.createElement(h.Fragment,null)}return"production"===_&&(S&&S.enabled&&(I=In.generateIterationTemplate(S,I)),D&&D.enabled&&(I=In.generateConditionTemplate(d.cloneDeep(D),I))),Qt.isWrapperElement(N)&&(I=h.createElement(Un,{element:N},I)),Qt.isWidgetElement(N)&&!N.data.contentEditable&&N.data.staticLogicEnabled?h.createElement(Pn,{element:N},h.createElement(h.Fragment,null,I)):"production"===_&&N.id&&Qt.isContentElement(N)&&A&&(Qt.isPageElement(A)||Qt.isWrapperElement(A))?h.createElement(zn,{element:null},h.createElement(Hn,{node:{type:Nt.SECTION,data:{},attributes:{padding:"0px 0px 0px 0px"},children:[]}},h.createElement(Hn,{node:{type:Nt.COLUMN,data:{},attributes:{},children:[]}},I))):N.id?h.createElement(zn,{element:N},I):h.createElement(h.Fragment,null,I)},Vn=({node:e,extraStyle:t})=>{let r=e.text;const n=o({},t);if(!r)return null;const i=e;return Object.keys(i).filter((e=>"text"!==e)).forEach((e=>{switch(e){case"bold":r=h.createElement("strong",null,r);break;case"italic":r=h.createElement("em",null,r);break;case"underline":r=h.createElement("u",null,r);break;case"strikethrough":r=h.createElement("del",null,r);break;case"color":n.color=i.color;break;case"bgColor":n.backgroundColor=i.bgColor;break;case"fontSize":n.fontSize=i.fontSize;break;case"fontFamily":n.fontFamily=i.fontFamily;break;case"link":i.link&&(r=h.createElement("a",{style:n,href:i.link.href,target:i.link.blank?"_blank":void 0},r));break;default:d.set(n,e,d.get(i,e))}})),d.isString(r)&&0===Object.keys(n).length?h.createElement(h.Fragment,null,r):h.createElement("span",{style:n},r)};function $n(e){const{params:t,params:{node:r,idx:n,children:i,keepEmptyAttributes:a},tag:s,children:u}=e,c=u||i,p=wu(t,{keepEmptyAttributes:a,removeDefaultAttributes:"production"===t.mode,mode:t.mode});if(Pt.includes(s))return h.createElement(h.Fragment,null,`<${s} ${p?` ${p}`:""} />`);const d=h.createElement(h.Fragment,null,`<${s}${p?` ${p}`:""}>`,c||r.children.map(((e,i)=>{if(Qt.isTextNode(e)){let n=e.text;return 0===i&&(n=n.replace(/^ {1}/g," ")),n=n.replace(/ {1}$/," "),n=n.replace(/ {2}/g," "),!n&&Qt.isHTMLBlockNodeElement(r)&&"div"===s.toLocaleLowerCase()&&1===r.children.length?" ":Qt.isTextListElement(r)?h.createElement(h.Fragment,{key:i},"<li>",h.createElement(Vn,l(o({key:i},t),{node:l(o({},e),{text:n})})),"</li>"):h.createElement(Vn,l(o({key:i},t),{node:l(o({},e),{text:n})}))}return h.createElement(Hn,l(o({key:i},t),{idx:n?Qt.getChildIdx(n,i):null,node:e}))})),`</${s}>`);return h.createElement(h.Fragment,null,d)}const Gn=e=>!!(h.isValidElement(e)||d.isString(e)||d.isUndefined(e)||d.isNumber(e)||d.isBoolean(e)||null===e)||(!(!Array.isArray(e)||!e.every((e=>Gn(e))))||void 0);function Wn(e){return!!Gn(e)}function Kn(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.WRAPPER,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function Xn(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.SECTION,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function Jn(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.GROUP,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function Yn(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.COLUMN,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function Qn(e){const t=e,{data:r,children:n,idx:i}=t,a=u(t,["data","children","idx"]),s={type:Nt.BUTTON,data:r||{},attributes:o({},a),children:Wn(n)?[]:n||[]};return h.createElement(Hn,{idx:i,node:s,children:Wn(n)?n:null})}function Zn(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.IMAGE,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function ei(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.TEXT,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function ti(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.SPACER,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function ri(e){const t=e,{data:r,children:n,idx:i}=t,a=u(t,["data","children","idx"]),s={type:Nt.RAW,data:r||{content:n||""},attributes:o({},a),children:Wn(n)?[]:n||[]};return h.createElement(Hn,{idx:i,node:s,children:Wn(n)?n:null})}function ni(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.DIVIDER,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function ii(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.NAVBAR,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function ai(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.NAVBAR_LINK,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function si(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.SOCIAL,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function oi(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.SOCIAL_ELEMENT,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function li(e){const t=e,{data:r,idx:n,children:i}=t,a=u(t,["data","idx","children"]),s={type:Nt.HERO,data:r||{},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})}function ui(e){const t=e,{idx:r,children:n}=t,i=u(t,["idx","children"]),a={type:Nt.TABLE,data:{code:d.isString(n)?String(n):""},attributes:o({},i),children:[]};return h.createElement(Hn,{idx:r,node:a,children:d.isString(n)?null:n})}const ci=Object.freeze(Object.defineProperty({__proto__:null,BasicBlock:$n,BlockRenderer:Hn,Button:Qn,Code:function(e){const t=e,{children:r,idx:n}=t,i=u(t,["children","idx"]),a={type:Nt.DANGEROUS_CODE,data:{code:String(r)},attributes:o({},i),children:[]};return h.createElement(Hn,{idx:n,node:a,children:null})},Column:Yn,ContentLeaf:Vn,Divider:ni,ForEach:function(e){const t=e,{idx:r,children:n}=t,i=u(t,["idx","children"]),a={type:Lt.FOR_EACH,data:o({},i),attributes:{},children:Wn(n)?[]:n||[]};return h.createElement(Hn,{idx:r,node:a,children:Wn(n)?n:null})},Group:Jn,Hero:li,HtmlDomNode:function(e){const t=e,{tagName:r,idx:n,children:i}=t,a=u(t,["tagName","idx","children"]),s={type:Lt.HTML_DOM_NODE,data:{tagName:r},attributes:o({},a),children:Wn(i)?[]:i||[]};return h.createElement(Hn,{idx:n,node:s,children:Wn(i)?i:null})},HtmlNode:function(e){const t=e,{tagName:r,children:n,idx:i}=t,a=u(t,["tagName","children","idx"]),s={type:Nt.HTML_NODE,data:{tagName:r},attributes:o({},a),children:Wn(n)?[]:n||[]};return h.createElement(Hn,{idx:i,node:s,children:Wn(n)?n:null})},Image:Zn,Navbar:ii,NavbarLink:ai,Raw:ri,Section:Xn,Show:function(e){const t=e,{idx:r,children:n}=t,i=u(t,["idx","children"]),a={type:Lt.SHOW,data:l(o({},i),{component:n}),attributes:{},children:[]};return h.createElement(Hn,{idx:r,node:a,children:n})},SlateNodePlaceholder:({node:e})=>h.createElement(Hn,{node:l(o({},e),{attributes:l(o({},e.attributes),{"css-class":g(e.attributes["css-class"],It)})})}),Social:si,SocialElement:oi,Spacer:ti,Style:e=>{const{context:t}=Ut(),{mode:r}=Sn();return"production"===r?(t.addStyle(l(o({},e),{content:e.children})),h.createElement(h.Fragment,null)):h.createElement("style",null,e.children)},Table:ui,Text:ei,Wrapper:Kn,useEmailGlobalContext:Ut},Symbol.toStringTag,{value:"Module"})),pi={get name(){return Dt("Page")},defaultData:{attributes:{width:"600px","margin-top":"30px","margin-bottom":"30px","link-text-decoration":"underline"},data:{breakpoint:"480px"}},type:Nt.PAGE,create:e=>b({type:Nt.PAGE,data:{breakpoint:"480px",globalAttributes:{"font-family":"Arial, sans-serif"}},attributes:{},children:[]},e),category:Bt.PAGE,render(e){var t,r,n,i,a,s;const{node:u,node:{data:c,attributes:p},mode:d,outputFormat:_}=e,f=c.breakpoint?`<mj-breakpoint width="${c.breakpoint}" />`:"",g=[...c.headStyles||[]];"testing"===d?g.unshift({content:St}):(g.unshift({content:".mjbody a{color:inherit}@media(max-width:480px){.hide-mobile-block{max-height:0px;overflow:hidden;display:none!important}.hide-desktop-block{display:block!important}.hide-mobile-inline-block{max-height:0px;overflow:hidden;display:none!important}.hide-desktop-inline-block{display:inline-block!important}}"}),g.unshift({content:".hide-desktop-block,.hide-desktop-inline-block,.hide-block{display:none!important;mso-hide:all!important}.direction-rtl,.navbar-direction-rtl .mj-link{direction:rtl}",inline:"inline"}));const m=g.map((e=>`<mj-style ${e.inline?'inline="inline"':""}>${e.content}</mj-style>`)).join("\n")||"",b={color:(null==(t=p["link-color"])?void 0:t.trim())||"inherit","font-weight":null==(r=p["link-font-weight"])?void 0:r.trim(),"text-decoration":null==(n=p["link-text-decoration"])?void 0:n.trim(),"font-style":null==(i=p["link-font-style"])?void 0:i.trim()},y=Object.keys(b).map((e=>b[e]?`${e}: ${b[e]}`:"")).filter(Boolean).join(";"),x="amp-mjml"===_?`<mj-style>.mjbody a, .mjbody a:hover, .mjbody a:active {${y}}</mj-style>`:`<mj-style>.mjbody a, .mjbody a:hover, .mjbody a:active, .mjbody a[href], .mjbody a[href]:hover, .mjbody a[href]:active {${y}}</mj-style>`,v=p["background-color"]?`background-color="${p["background-color"]}"`:"",w=p["margin-top"]&&"0px"!==p["margin-top"]?`<mj-section padding="0px"><mj-column><mj-spacer height="${p["margin-top"]}"></mj-spacer></mj-column></mj-section>`:"",E=p["margin-bottom"]&&"0px"!==p["margin-bottom"]?`<mj-section padding="0px"><mj-column><mj-spacer height="${p["margin-top"]}"></mj-spacer></mj-column></mj-section>`:"",k=c.preheader?`<mj-preview>${c.preheader}</mj-preview>`:"",A=p.width||"600px";return h.createElement(h.Fragment,null,`\n <mjml>\n <mj-head>\n ${m}\n ${x}\n \x3c!-- GLOBAL_EXTRACT_HEADER --\x3e\n ${f}\n ${k}\n ${(null==(a=c.fonts)?void 0:a.length)?null==(s=c.fonts)?void 0:s.filter(Boolean).map((e=>`<mj-font name="${e.name}" href="${e.href}" />`)):""}\n\n </mj-head>\n <mj-body width="${A}" ${v} css-class="mjbody">\n ${w}\n `,"\x3c!-- EASY_EMAIL_FROZEN_HEADER --\x3e",u.children.map(((t,r)=>h.createElement(Hn,l(o({},e),{idx:Qt.getChildIdx(Qt.getPageIdx(),r),key:r,node:t})))),"\x3c!-- EASY_EMAIL_FROZEN_FOOTER --\x3e","\x3c!-- EASY_EMAIL_BRAND --\x3e",`\n ${E}\n\n </mj-body></mjml>`)}},di=St,hi={get name(){return Dt("Wrapper")},defaultData:{attributes:{"background-repeat":"no-repeat","background-size":"auto","background-position":"top center",direction:"ltr",padding:"20px 0px","padding-top":"20px","padding-right":"0px","padding-bottom":"20px","padding-left":"0px","text-align":"center"},data:{}},type:Nt.WRAPPER,create:e=>b({type:Nt.WRAPPER,data:{},attributes:{},children:[]},e),category:Bt.WRAPPER,render:e=>h.createElement($n,{params:e,tag:"mj-wrapper"})},_i={get name(){return Dt("Row")},defaultData:{attributes:{"background-repeat":"repeat","background-size":"auto","background-position":"top center",direction:"ltr",padding:"20px 0","padding-top":"20px","padding-right":"0px","padding-bottom":"20px","padding-left":"0px","text-align":"center"},data:{}},type:Nt.SECTION,create:e=>b({type:Nt.SECTION,data:{},attributes:{},children:[]},e),category:Bt.SECTION,render:e=>h.createElement($n,{params:e,tag:"mj-section"})},fi={get name(){return Dt("Group")},defaultData:{attributes:{direction:"ltr","vertical-align":"top","padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{}},type:Nt.GROUP,create:e=>b({type:Nt.GROUP,data:{},attributes:{width:"100%"},children:[]},e),category:Bt.GROUP,render:e=>h.createElement($n,{params:e,tag:"mj-group"})},gi={get name(){return Dt("Column")},defaultData:{attributes:{direction:"ltr","vertical-align":"top","padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{}},type:Nt.COLUMN,create:e=>b({type:Nt.COLUMN,data:{},attributes:{},children:[]},e),category:Bt.COLUMN,render:e=>h.createElement($n,{params:e,tag:"mj-column"})},mi={get name(){return Dt("Text")},defaultData:{attributes:{align:"left",color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"1",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","letter-spacing":"0px"},data:{}},type:Nt.TEXT,create:e=>b({type:Nt.TEXT,data:{},attributes:{},children:[]},e),category:Bt.TEXT,render:e=>h.createElement($n,{params:e,tag:"mj-text"})},bi={get name(){return Dt("Button")},defaultData:{attributes:{align:"center","background-color":"#414141",border:"none","border-radius":"3px",color:"#ffffff","font-family":"Arial","font-size":"13px","font-weight":"normal","inner-padding":"10px 25px","letter-spacing":"0px","line-height":"120%",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px",target:"_blank","text-decoration":"none","text-transform":"none","vertical-align":"middle"},data:{}},type:Nt.BUTTON,create:e=>b({type:Nt.BUTTON,data:{},attributes:{},children:[]},e),category:Bt.BUTTON,render:e=>h.createElement($n,{params:e,tag:"mj-button"})},yi={get name(){return Dt("Image")},void:!0,defaultData:{attributes:{align:"center",border:"0",height:"auto",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px",target:"_blank"},data:{}},type:Nt.IMAGE,create:e=>b({type:Nt.IMAGE,data:{},attributes:{},children:[]},e),category:Bt.IMAGE,render:e=>h.createElement($n,{params:e,tag:"mj-image"})},xi={get name(){return Dt("Spacer")},defaultData:{attributes:{height:"20px"},data:{}},type:Nt.SPACER,create:e=>b({type:Nt.SPACER,data:{},attributes:{},children:[]},e),category:Bt.SPACER,render:e=>h.createElement($n,{params:e,tag:"mj-spacer"})},vi={get name(){return Dt("Raw")},defaultData:{attributes:{},data:{content:""}},type:Nt.RAW,create:e=>b({type:Nt.RAW,data:{content:""},attributes:{},children:[]},e),category:Bt.RAW,render:e=>"testing"===e.mode?h.createElement($n,{tag:"span",params:l(o({},e),{node:l(o({},e.node),{attributes:{"element-type":Nt.RAW,"element-category":Bt.RAW,"element-data":encodeURIComponent(JSON.stringify(e.node.data))}})})}):h.createElement($n,{params:e,tag:"mj-raw"},e.node.data.content)},wi={get name(){return Dt("Mergetag")},defaultData:{attributes:{},data:{}},type:Nt.MERGETAG,create:e=>b({type:Nt.MERGETAG,data:{},attributes:{},children:[]},e),inlineElement:!0,category:Bt.INLINE_TEXT,render(e){if("production"===e.mode){const t=e.node.children[0];return h.createElement(Vn,{node:l(o({},t),{text:In.generateVariable(t.text,e.node.data.default)})})}return h.createElement($n,{tag:"span",params:l(o({},e),{node:l(o({},e.node),{attributes:{"element-type":Nt.MERGETAG,"element-category":Bt.INLINE_TEXT}})})})}},Ei={get name(){return Dt("Line break")},defaultData:{attributes:{},data:{}},type:Nt.LINE_BREAK,create:e=>b({type:Nt.LINE_BREAK,data:{},attributes:{},children:[]},e),inlineElement:!0,category:Bt.INLINE_TEXT,render(e){if("production"===e.mode){const t=e.node.children[0];return h.createElement(Vn,{node:l(o({},t),{text:"<br />"})})}return h.createElement($n,{tag:"span",params:l(o({},e),{node:l(o({},e.node),{attributes:{"element-type":Nt.LINE_BREAK,"element-category":Bt.INLINE_TEXT}})})})}},ki={get name(){return Dt("Social")},defaultData:{attributes:{align:"center","border-radius":"3px",color:"#333333","font-family":"Arial","font-size":"13px","icon-size":"20px","line-height":"22px",mode:"horizontal",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","text-decoration":"none"},data:{}},type:Nt.SOCIAL,create:e=>b({type:Nt.SOCIAL,data:{},attributes:{},children:[]},e),category:Bt.SOCIAL,render:e=>h.createElement($n,{params:e,tag:"mj-social"})},Ai={get name(){return Dt("Navbar")},defaultData:{attributes:{align:"center","base-url":null,hamburger:null,"ico-align":"center","ico-open":"☰","ico-close":"⊗","ico-color":"#000000","ico-font-size":"30px","ico-font-family":"Arial","ico-text-transform":"uppercase","ico-padding":"10px","ico-text-decoration":"none","ico-line-height":"30px","padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{}},type:Nt.NAVBAR,create:e=>b({type:Nt.NAVBAR,data:{},attributes:{},children:[]},e),category:Bt.NAVBAR,render:e=>h.createElement($n,{params:e,tag:"mj-navbar"})},Ti={get name(){return Dt("Divider")},defaultData:{attributes:{align:"center","border-width":"4px","border-style":"solid","border-color":"#000000",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px",width:"100%"},data:{}},type:Lt.DIVIDER,create:e=>b({type:Lt.DIVIDER,data:{},attributes:{},children:[]},e),category:Bt.DIVIDER,render:e=>h.createElement($n,{params:e,tag:"mj-divider"})},Di={get name(){return Dt("Navbar Link")},defaultData:{attributes:{color:"#000000","font-family":"Arial","font-size":"13px","font-weight":"normal","line-height":"22px",padding:"15px 10px","padding-top":"15px","padding-right":"10px","padding-bottom":"15px","padding-left":"10px",target:"_blank","text-decoration":"none","text-transform":"uppercase"},data:{}},type:Nt.NAVBAR_LINK,create:e=>b({type:Nt.NAVBAR_LINK,data:{},attributes:{},children:[]},e),category:Bt.NAVBAR_LINK,render:e=>h.createElement($n,{params:e,tag:"mj-navbar-link"})},Si={get name(){return Dt("Social Item")},defaultData:{attributes:{align:"left",color:"#000","border-radius":"3px","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"1",padding:"4px","padding-top":"4px","padding-right":"4px","padding-bottom":"4px","padding-left":"4px","text-padding":"4px 4px 4px 0",target:"_blank","text-decoration":"none","vertical-align":"middle"},data:{}},type:Nt.SOCIAL_ELEMENT,create:e=>b({type:Nt.SOCIAL_ELEMENT,data:{},attributes:{},children:[]},e),category:Bt.SOCIAL_ELEMENT,render:e=>h.createElement($n,{params:e,tag:"mj-social-element"})},Ni={get name(){return Dt("Hero")},defaultData:{attributes:{"background-color":"#ffffff","background-position":"center center",mode:"fixed-height","vertical-align":"top"},data:{}},type:Nt.HERO,create:e=>b({type:Nt.HERO,data:{},attributes:{},children:[]},e),category:Bt.HERO,render:e=>h.createElement($n,{params:e,tag:"mj-hero"})},Ri={get name(){return Dt("Placeholder")},defaultData:{attributes:{},data:{}},type:Nt.PLACEHOLDER,create:e=>b({type:Nt.PLACEHOLDER,data:{},attributes:{},children:[{text:""}]},e),category:Bt.UNSET,render:e=>"production"===e.mode?null:h.createElement($n,{tag:"span",params:l(o({},e),{node:l(o({},e.node),{attributes:{"element-type":Nt.PLACEHOLDER,"element-category":Bt.UNSET}})})})},Oi={get name(){return Dt("HtmlNode")},inlineElement:!0,defaultData:{attributes:{},data:{tagName:"span"}},type:Lt.HTML_NODE,create:e=>b({type:Lt.HTML_NODE,data:{tagName:"span"},attributes:{},children:[{text:""}]},e),category:Bt.INLINE_TEXT,render:e=>"production"===e.mode?h.createElement($n,{tag:e.node.data.tagName,params:e}):h.createElement($n,{tag:e.node.data.tagName||"span",params:l(o({},e),{node:l(o({},e.node),{attributes:{"element-type":Lt.HTML_NODE,"element-category":Bt.INLINE_TEXT,"element-data":encodeURIComponent(JSON.stringify(e.node.data)),"element-attributes":encodeURIComponent(JSON.stringify(e.node.attributes))}})})})},Li={get name(){return Dt("HTML dom node")},defaultData:{attributes:{},data:{tagName:"div"}},type:Lt.HTML_DOM_NODE,create:e=>b({type:Lt.HTML_DOM_NODE,data:{tagName:"div"},attributes:{},children:[{text:""}]},e),category:Bt.UNKNOWN_CONTENT,render(e){const{node:t,idx:r}=e;return"production"===e.mode?h.createElement(h.Fragment,null,t.children.map(((n,i)=>Qt.isTextNode(n)?Qt.isTextListElement(t)?h.createElement(h.Fragment,{key:i},"<li>",h.createElement(Vn,l(o({key:i},e),{node:n})),"</li>"):h.createElement(Vn,l(o({key:i},e),{node:n})):h.createElement(Hn,l(o({key:i},e),{idx:r?Qt.getChildIdx(r,i):null,node:n}))))):h.createElement($n,{tag:e.node.data.tagName||"div",params:l(o({},e),{node:l(o({},e.node),{attributes:{"element-type":Lt.HTML_DOM_NODE,"element-category":Bt.UNKNOWN_CONTENT,"element-data":encodeURIComponent(JSON.stringify(e.node.data)),"element-attributes":encodeURIComponent(JSON.stringify(e.node.attributes))}})})})}},Bi={attributes:{},data:{description:"",config:[],input:{}}},Ci={get name(){return Dt("Widget")},void:!0,defaultData:Bi,type:Nt.CONTENT_WIDGET,create:e=>b({type:Nt.CONTENT_WIDGET,title:"MY FIRST WIDGET",data:o({},Bi.data),attributes:{},children:[{text:""}]},e),get category(){return Bt.UNKNOWN_CONTENT},render(e){const{node:t}=e,r=d.cloneDeep(t.children[0]);return Qt.isElement(r)?h.createElement(Hn,l(o({},e),{node:r})):null}},Ii={attributes:{},data:{description:"",config:[],input:{}}},qi={get name(){return Dt("Widget")},void:!0,defaultData:Ii,type:Nt.SECTION_WIDGET,create:e=>b({type:Nt.SECTION_WIDGET,title:"MY FIRST WIDGET",data:o({},Ii.data),attributes:{},children:[{text:""}]},e),get category(){return Bt.SECTION},render(e){const{node:t}=e,r=d.cloneDeep(t.children[0]);return Qt.isElement(r)?h.createElement(Hn,l(o({},e),{node:r})):null}},Pi={attributes:{},data:{description:"",config:[],input:{}}},Mi={get name(){return Dt("Widget")},void:!0,defaultData:Pi,type:Nt.WRAPPER_WIDGET,create:e=>b({type:Nt.WRAPPER_WIDGET,title:"MY FIRST WIDGET",data:o({},Pi.data),attributes:{},children:[{text:""}]},e),get category(){return Bt.WRAPPER},render(e){const{node:t}=e;return h.createElement(Kn,{padding:"0px"},t.children.map((t=>Qt.isElement(t)?h.createElement(Hn,l(o({},e),{node:t})):null)))}},Ui={get name(){return Dt("Code")},void:!0,defaultData:{attributes:{align:"left",color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"1",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","letter-spacing":"0px"},data:{code:""}},type:Lt.DANGEROUS_CODE,create:e=>b({type:Lt.DANGEROUS_CODE,data:{code:""},attributes:{},children:[{text:""}]},e),category:Bt.DANGEROUS_CODE,render(e){const t=d.cloneDeep(e.node),r="production"===e.mode;r||(t.attributes["css-class"]=g(t.attributes["css-class"],qt));const n=e.node.data.code;return h.createElement($n,{params:l(o({},e),{node:t}),tag:"mj-text",children:h.createElement(Vn,{node:{text:r?n:Kt.encode(n)}})})}},Fi={attributes:{align:"left",border:"none",cellpadding:"0",cellspacing:"0",color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"22px",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","table-layout":"auto",width:"100%"},data:{code:""}},ji={get name(){return Dt("Table")},defaultData:Fi,type:Nt.TABLE,create:e=>b({type:Nt.TABLE,data:{code:""},attributes:o({},Fi.attributes),children:[]},e),category:Bt.TABLE,render(e){const t="production"===e.mode,r=e.node.data.code;return h.createElement($n,{params:e,tag:"mj-table",children:e.children||h.createElement(Vn,{node:{text:t?r:Kt.encode(r)}})})}},zi={get name(){return Dt("HtmlBlockNode")},defaultData:{attributes:{},data:{tagName:"div"}},type:Lt.HTML_BLOCK_NODE,create:e=>b({type:Lt.HTML_BLOCK_NODE,data:{tagName:"div"},attributes:{},children:[{text:""}]},e),category:Bt.BLOCK_NODE,render:e=>"production"===e.mode?h.createElement($n,{tag:e.node.data.tagName,params:e}):h.createElement($n,{tag:e.node.data.tagName||"div",params:l(o({},e),{node:l(o({},e.node),{attributes:{"element-type":Lt.HTML_BLOCK_NODE,"element-category":Bt.BLOCK_NODE,"element-data":encodeURIComponent(JSON.stringify(e.node.data)),"element-attributes":encodeURIComponent(JSON.stringify(e.node.attributes))}})})})},Hi={attributes:{"padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{content:[],editable:!1}},Vi={get name(){return Dt("Header")},void:!0,defaultData:Hi,type:Nt.PAGE_HEADER,create:e=>b({type:Nt.PAGE_HEADER,data:o({},Hi.data),attributes:{},children:[{text:""}]},e),get category(){return Bt.PAGE_HEADER},render(e){const t=l(o({},e.node),{type:Nt.WRAPPER,attributes:o({},e.node.attributes)});return h.createElement(Hn,l(o({},e),{node:t}),e.node.data.content.map((t=>h.createElement(Hn,l(o({key:t.id},e),{node:t})))))}},$i={attributes:{"padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px"},data:{content:[],editable:!1}},Gi={get name(){return Dt("Footer")},void:!0,defaultData:$i,type:Nt.PAGE_FOOTER,create:e=>b({type:Nt.PAGE_FOOTER,data:o({},$i.data),attributes:{},children:[{text:""}]},e),get category(){return Bt.PAGE_FOOTER},render(e){const t=l(o({},e.node),{type:Nt.WRAPPER,attributes:o({},e.node.attributes)});return h.createElement(Hn,l(o({},e),{node:t}),e.node.data.content.map((t=>h.createElement(Hn,l(o({key:t.id},e),{node:t})))))}},Wi={[Nt.PAGE]:pi,[Nt.HERO]:Ni,[Nt.WRAPPER]:hi,[Nt.SECTION]:_i,[Nt.GROUP]:fi,[Nt.COLUMN]:gi,[Nt.TEXT]:mi,[Nt.TABLE]:ji,[Nt.IMAGE]:yi,[Nt.BUTTON]:bi,[Nt.SPACER]:xi,[Nt.DIVIDER]:Ti,[Nt.SOCIAL]:ki,[Nt.SOCIAL_ELEMENT]:Si,[Nt.NAVBAR]:Ai,[Nt.NAVBAR_LINK]:Di,[Nt.RAW]:vi,[Nt.MERGETAG]:wi,[Nt.LINE_BREAK]:Ei,[Nt.PLACEHOLDER]:Ri,[Nt.DANGEROUS_CODE]:Ui,[Nt.HTML_NODE]:Oi,[Nt.HTML_BLOCK_NODE]:zi,[Nt.HTML_DOM_NODE]:Li,[Nt.CONTENT_WIDGET]:Ci,[Nt.SECTION_WIDGET]:qi,[Nt.WRAPPER_WIDGET]:Mi,[Nt.PAGE_HEADER]:Vi,[Nt.PAGE_FOOTER]:Gi},Ki=b(fi.defaultData,{attributes:{},data:{}}),Xi={get name(){return Dt("Group")},defaultData:Ki,type:Rt.STANDARD_GROUP,create:e=>b({type:Rt.STANDARD_GROUP,data:{},attributes:{},children:[]},e),category:Bt.GROUP,render(e){const{node:t}=e;return h.createElement(Jn,l(o({idx:e.idx},t.attributes),{data:t.data,children:e.children||t.children}))}},Ji=b(_i.defaultData,{attributes:{"vertical-align":"top","background-repeat":"no-repeat","border-width":"1px","border-style":"solid","border-color":"#AAAAAA"},data:{}}),Yi={get name(){return Dt("Section")},defaultData:Ji,type:Rt.STANDARD_SECTION,create:e=>b({type:Rt.STANDARD_SECTION,data:{},attributes:{},children:[]},e),category:Bt.SECTION,render(e){const{node:t}=e,r=d.cloneDeep(t.attributes),{"border-enabled":n,"border-width":i,"border-style":a,"border-color":s,"vertical-align":c="top"}=r,p=u(r,["border-enabled","border-width","border-style","border-color","vertical-align"]);p["background-image-enabled"]||(delete p["background-image-enabled"],delete p["background-url"],delete p["background-position"],delete p["background-position-x"],delete p["background-position-y"],delete p["background-repeat"],delete p["background-size"]);const _=n?`${i||"1px"} ${a||"solid"} ${s||"#AAAAAA"}`:"";return h.createElement(Xn,l(o({padding:"0px",idx:e.idx},p),{border:_,data:t.data,children:e.children||t.children}))}},Qi=d.merge(gi.defaultData,{attributes:{},data:{}}),Zi={get name(){return Dt("Column")},defaultData:Qi,type:Rt.STANDARD_COLUMN,create:e=>b({type:Rt.STANDARD_COLUMN,data:{},attributes:{},children:[]},e),category:Bt.COLUMN,render(e){const{node:t}=e,r=d.cloneDeep(t.attributes),{"border-enabled":n,"border-width":i,"border-style":a,"border-color":s}=r,c=u(r,["border-enabled","border-width","border-style","border-color"]),p=n?`${i||"1px"} ${a||"solid"} ${s||"#AAAAAA"}`:"";return h.createElement(Yn,l(o({idx:e.idx},c),{border:p,data:t.data,children:e.children||t.children}))}},ea=b(bi.defaultData,{attributes:{"inner-padding-top":"10px","inner-padding-bottom":"10px","inner-padding-left":"25px","inner-padding-right":"25px","border-width":"1px","border-style":"solid","border-color":"#AAAAAA","text-decoration":"none","text-transform":"none","vertical-align":"middle"},data:{}}),ta={get name(){return Dt("Button")},defaultData:ea,type:Rt.STANDARD_BUTTON,create:e=>b({type:Rt.STANDARD_BUTTON,data:{content:"Button"},attributes:{},children:[{text:Dt("Click")}]},e),category:Bt.BUTTON,render(e){const{node:t}=e,r=t.attributes,{"inner-padding-top":n,"inner-padding-bottom":i,"inner-padding-left":a,"inner-padding-right":s,"border-enabled":c,"border-width":p,"border-style":d,"border-color":_,"icon-enabled":f,"icon-position":g,"icon-width":m,"icon-height":b,"icon-src":y,"icon-vertical-align":x}=r,v=u(r,["inner-padding-top","inner-padding-bottom","inner-padding-left","inner-padding-right","border-enabled","border-width","border-style","border-color","icon-enabled","icon-position","icon-width","icon-height","icon-src","icon-vertical-align"]),w=`${n||ea.attributes["inner-padding-top"]} ${s||ea.attributes["inner-padding-right"]} ${i||ea.attributes["inner-padding-bottom"]} ${a||ea.attributes["inner-padding-left"]}`,E=c?`${p||"1px"} ${d||"solid"} ${_||"#AAAAAA"}`:"";return"rtl"===v.direction&&(v["css-class"]||(v["css-class"]=""),v["css-class"]=v["css-class"]+" direction-rtl"),f&&y?h.createElement(Qn,l(o({idx:e.idx},v),{border:E,"inner-padding":w,data:t.data,children:h.createElement(h.Fragment,null,"left"===g&&h.createElement(h.Fragment,null,`<img\n src='${y}'\n width='${null==m?void 0:m.replace("px","")}'\n height='${null==b?void 0:b.replace("px","")}'\n style='width: ${m}; height: ${b}; display: inline-block; vertical-align: ${x};'\n /> `),t.children.map(((t,r)=>Qt.isTextNode(t)?h.createElement(Vn,l(o({key:r},e),{node:o({},t),extraStyle:x?{verticalAlign:x}:void 0})):h.createElement(Hn,l(o({key:r},e),{node:t})))),"right"===g&&h.createElement(h.Fragment,null,` <img\n src='${y}'\n width='${null==m?void 0:m.replace("px","")}'\n height='${null==b?void 0:b.replace("px","")}'\n style='width: ${m}; height: ${b}; display: inline-block; vertical-align: ${x};'\n />`))})):h.createElement(Qn,l(o({idx:e.idx},v),{border:E,"inner-padding":w,data:t.data,children:e.children||t.children}))}},ra=b(yi.defaultData,{attributes:{},data:{}}),na={get name(){return Dt("Image")},void:!0,defaultData:ra,type:Rt.STANDARD_IMAGE,create:e=>b({type:Rt.STANDARD_IMAGE,data:{},attributes:{},children:[]},e),category:Bt.IMAGE,render(e){const{node:t}=e,r=t.attributes,{"border-enabled":n,"border-width":i,"border-style":a,"border-color":s}=r,c=u(r,["border-enabled","border-width","border-style","border-color"]),p=n?`${i} ${a} ${s}`:"";return h.createElement(Zn,l(o({idx:e.idx},c),{data:t.data,border:p,children:e.children||t.children}))}},ia=b(xi.defaultData,{attributes:{},data:{}}),aa={get name(){return Dt("Spacer")},void:!0,defaultData:ia,type:Rt.STANDARD_SPACER,create:e=>b({type:Rt.STANDARD_SPACER,data:{},attributes:{},children:[]},e),category:Bt.SPACER,render(e){const{node:t}=e;return h.createElement(ti,l(o({idx:e.idx},t.attributes),{data:t.data,children:e.children||t.children}))}},sa=b(Ai.defaultData,{attributes:{"item-padding-top":"15px","item-padding-bottom":"15px","item-padding-left":"10px","item-padding-right":"10px",color:"#000000","font-family":"Arial","font-size":"13px","font-weight":"normal","line-height":"22px","padding-top":"0","padding-right":"0","padding-bottom":"0","padding-left":"0","letter-spacing":"0px",target:"_blank","text-decoration":"none","text-transform":"uppercase"},data:{}}),oa={get name(){return Dt("Navbar")},defaultData:sa,type:Rt.STANDARD_NAVBAR,create:e=>b({type:Rt.STANDARD_NAVBAR,data:{},attributes:{},children:[{data:{},type:"standard-navbar-link",children:[{text:"Shop"}],attributes:{href:""}},{data:{},type:"standard-navbar-link",children:[{text:"About"}],attributes:{href:""}},{data:{},type:"standard-navbar-link",children:[{text:"Contact"}],attributes:{href:""}},{data:{},type:"standard-navbar-link",children:[{text:"Blog"}],attributes:{href:""}}]},e),category:Bt.NAVBAR,render(e){const{node:t,idx:r}=e,n=u(t.attributes,[]);return"rtl"===n.direction&&(n["css-class"]||(n["css-class"]=""),n["css-class"]=n["css-class"]+" navbar-direction-rtl"),h.createElement(ii,l(o({idx:e.idx},d.omit(n,["color","font-family","font-size","font-style","font-weight","line-height","letter-spacing","text-decoration","text-transform","spacing","item-padding-top","item-padding-bottom","item-padding-left","item-padding-right"])),{data:t.data}),e.children||t.children)}},la=(e,t)=>({get name(){return e.name},defaultData:t,type:e.type,create:t=>b(d.omit(e,["name"]),t),category:Bt.TEXT,render(t){const{node:r}=t,n=b(r.attributes,e.attributes);return"rtl"===n.direction&&(n["css-class"]||(n["css-class"]=""),n["css-class"]=n["css-class"]+" direction-rtl"),h.createElement(ei,l(o({},n),{idx:t.idx}),t.children||r.children)}}),ua=d.cloneDeep(mi.defaultData),ca=la({get name(){return Dt("Text")},type:Rt.STANDARD_TEXT,data:{},attributes:{},children:[{text:Dt("This is a text block. Click here to edit it...")}]},b(ua,{attributes:{},data:{}})),pa=la({get name(){return Dt("Text")},type:Rt.STANDARD_PARAGRAPH,data:{},attributes:{},children:[{text:Dt("This is a text block. Click here to edit it...")}]},b(ua,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"16px","line-height":"1.3","font-weight":"normal",align:"center"},data:{}})),da=la({get name(){return Dt("Heading 1")},type:Rt.STANDARD_H1,data:{},attributes:{},children:[{text:Dt("This is a text block. Click here to edit it...")}]},b(ua,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"40px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),ha=la({get name(){return Dt("Heading 2")},type:Rt.STANDARD_H2,data:{},attributes:{},children:[{text:Dt("This is a text block. Click here to edit it...")}]},b(ua,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"32px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),_a=la({get name(){return Dt("Heading 3")},type:Rt.STANDARD_H3,data:{},attributes:{},children:[{text:Dt("This is a text block. Click here to edit it...")}]},b(ua,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"24px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),fa=la({get name(){return Dt("Heading 4")},type:Rt.STANDARD_H4,data:{},attributes:{},children:[{text:Dt("This is a text block. Click here to edit it...")}]},b(ua,{attributes:{"letter-spacing":"0px","padding-top":"3px","padding-bottom":"3px","padding-left":"25px","padding-right":"25px","font-size":"18px","line-height":"130%","font-weight":"600",align:"center"},data:{}})),ga={type:Rt.STANDARD_TEXT_LIST_ITEM,data:{},attributes:{},children:[]},ma={get name(){return Dt("Text list")},defaultData:ga,type:Rt.STANDARD_TEXT_LIST_ITEM,create:e=>b(ga,e),category:Bt.TEXT_LIST_ITEM,render:e=>h.createElement($n,{tag:"li",params:l(o({},e),{node:l(o({},e.node),{attributes:{}})})})},ba={type:Rt.STANDARD_TEXT_LIST,data:{},attributes:{"list-style":"number","padding-top":"3px","padding-bottom":"3px","padding-left":"2px","padding-right":"2px","font-size":"16px","line-height":"120%","font-weight":"normal"},children:[]},ya={get name(){return Dt("Text list")},defaultData:ba,type:Rt.STANDARD_TEXT_LIST,create:e=>b({type:Rt.STANDARD_TEXT_LIST,data:{},attributes:{"list-style":"number"},children:[]},e),category:Bt.TEXT_LIST,render(e){const{node:t}=e,r=t.attributes;return h.createElement(ei,o({idx:e.idx,data:t.data},r),h.createElement($n,{tag:"number"===t.attributes["list-style"]?"ol":"ul",params:l(o({},e),{node:l(o({},e.node),{attributes:{}})})}))}},xa=b(hi.defaultData,{attributes:{"vertical-align":"top","background-repeat":"no-repeat","border-width":"1px","border-style":"solid","border-color":"#AAAAAA"},data:{}}),va={get name(){return Dt("Container")},defaultData:xa,type:Rt.STANDARD_WRAPPER,create:e=>b({type:Rt.STANDARD_WRAPPER,data:{},attributes:{},children:[]},e),category:Bt.WRAPPER,render(e){const{node:t}=e,r=d.cloneDeep(t.attributes),{"border-enabled":n,"border-width":i,"border-style":a,"border-color":s,"vertical-align":c="top"}=r,p=u(r,["border-enabled","border-width","border-style","border-color","vertical-align"]);p["background-image-enabled"]||(delete p["background-image-enabled"],delete p["background-url"],delete p["background-position"],delete p["background-position-x"],delete p["background-position-y"],delete p["background-repeat"],delete p["background-size"]);const _=n?`${i||"1px"} ${a||"solid"} ${s||"#AAAAAA"}`:"";return h.createElement(Kn,l(o({padding:"0px",idx:e.idx},p),{border:_,data:t.data,children:e.children||t.children}))}},wa=b(Ti.defaultData,{attributes:{},data:{}}),Ea={get name(){return Dt("Divider")},defaultData:wa,void:!0,type:Rt.STANDARD_DIVIDER,create:e=>b({type:Rt.STANDARD_DIVIDER,data:{},attributes:{},children:[]},e),category:Bt.DIVIDER,render(e){const{node:t}=e;return h.createElement(ni,l(o({idx:e.idx},t.attributes),{data:t.data,children:e.children||t.children}))}},ka=b(ki.defaultData,{attributes:{spacing:"8px"},data:{}}),Aa={get name(){return Dt("Social")},defaultData:ka,type:Rt.STANDARD_SOCIAL,create:e=>b({type:Rt.STANDARD_SOCIAL,data:{},attributes:{spacing:"8px","icon-size":"30px"},children:[{data:{},type:"standard-social-element",children:[{text:""}],attributes:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/psyz-f1z-ryy95lv2rh7g_image.png",href:"","padding-left":"0px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"}},{data:{},type:"standard-social-element",children:[{text:""}],attributes:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/rxxjzpus7vy2cxi0vp6hr_image.png",href:"","padding-left":"8px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"}},{data:{},type:"standard-social-element",children:[{text:""}],attributes:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/obdwqmxv5cljc16-ebnja_image.png",href:"","padding-left":"8px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"}}]},e),category:Bt.SOCIAL,render(e){const{node:t,idx:r}=e,n=u(t.attributes,[]),i=e.node.attributes.spacing;return h.createElement(si,l(o({idx:e.idx},d.omit(n,["spacing"])),{data:t.data}),t.children.map(((t,r)=>{if(!Qt.isElement(t))return null;const n=l(o({},t.attributes),{"padding-left":"0px","padding-right":"0px","padding-top":"0px","padding-bottom":"0px"});return"horizontal"===e.node.attributes.mode&&0!==r&&(n["padding-left"]=i),"vertical"===e.node.attributes.mode&&0!==r&&(n["padding-top"]=i),h.createElement(Hn,l(o({},e),{idx:Qt.getChildIdx(Qt.getPageIdx(),r),key:r,node:l(o({},t),{attributes:n})}))})))}},Ta={type:"standard-hero",data:{},attributes:{"padding-top":"100px","padding-bottom":"50px","background-image-enabled":!0,"background-color":"#c5900c","background-position":"center center",mode:"fluid-height"},children:[{type:"standard-h1",data:{},attributes:{color:"#FFFFFF"},children:[{text:"We Serve Healthy & Delicious Foods"}]},{type:"standard-paragraph",data:{},attributes:{color:"#FFFFFF"},children:[{text:"A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth."}]},{type:"standard-button",data:{content:"Button"},attributes:{"padding-top":"30px","padding-bottom":"30px","background-color":"#8b2a36"},children:[{text:"Get Your Order Here!"}]}]},Da=b(Ni.defaultData,{attributes:{"background-image-enabled":!0},data:{}}),Sa={get name(){return Dt("Hero")},defaultData:Da,type:Rt.STANDARD_HERO,create:e=>b(Ta,e),category:Bt.HERO,render(e){const{node:t}=e,r=d.cloneDeep(t.attributes),n=u(r,[]);return n["background-image-enabled"]||(delete n["background-image-enabled"],delete n["background-url"],delete n["background-position"]),h.createElement(li,l(o({idx:e.idx},n),{data:t.data,children:e.children||t.children}))}},Na={facebook:{"share-url":"https://www.facebook.com/sharer/sharer.php?u=[[URL]]","background-color":"#3b5998",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/cxhzkclel5ojn_dzo1o7v_facebook.png"},twitter:{"share-url":"https://twitter.com/intent/tweet?url=[[URL]]","background-color":"#55acee",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/amgedgwcqlylvnrwyr5kq_twitter.png"},x:{"share-url":"https://twitter.com/intent/tweet?url=[[URL]]","background-color":"#000000",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/vjjjm0-8wv5-oumveqyna_twitter-x.png"},google:{"share-url":"https://plus.google.com/share?url=[[URL]]","background-color":"#dc4e41",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/rosf8w1cze_igfziroy-a_google-plus.png"},pinterest:{"share-url":"https://pinterest.com/pin/create/button/?url=[[URL]]&media=&description=","background-color":"#bd081c",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/5nbnpewsfwjzqtps05xmc_pinterest.png"},linkedin:{"share-url":"https://www.linkedin.com/shareArticle?mini=true&url=[[URL]]&title=&summary=&source=","background-color":"#0077b5",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/mgqz7skw2nldk67b-nrwm_linkedin.png"},instagram:{"background-color":"#3f729b",src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/yyeuinjdwnclhwonzm04p_instagram.png"},web:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/n-r5usz1urkhrcromjxjc_web.png","background-color":"#4BADE9"},snapchat:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/ab3wb9y0cd6zdwvqjf-gi_snapchat.png","background-color":"#FFFA54"},youtube:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/j5wv-vgx4tse62wzjde4q_youtube.png","background-color":"#EB3323"},tumblr:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/osjreug28o8-zvwduvdm5_tumblr.png","share-url":"https://www.tumblr.com/widgets/share/tool?canonicalUrl=[[URL]]","background-color":"#344356"},github:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/sx2srmw6aeepxzr_l0i9w_github.png","background-color":"#000000"},xing:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/3syvpbhnvbs_uguqf8auu_xing.png","share-url":"https://www.xing.com/app/user?op=share&url=[[URL]]","background-color":"#296366"},vimeo:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/uihefqcygdxyocasyi23__vimeo.png","background-color":"#53B4E7"},medium:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/mxkhtn4agyjm92ph9igzb_medium.png","background-color":"#000000"},soundcloud:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/f8kv_yofbeejet2sdvur2_soundcloud.png","background-color":"#EF7F31"},dribbble:{src:"https://cdn.shopify.com/s/files/1/0863/8971/9346/files/atueuzuwh4k9n2nxnahrh_dribbble.png","background-color":"#D95988"}},Ra=b(Si.defaultData,{attributes:{},data:{}}),Oa={get name(){return Dt("Social Item")},defaultData:Ra,type:Lt.STANDARD_SOCIAL_ELEMENT,create:e=>b({type:Lt.STANDARD_SOCIAL_ELEMENT,data:{content:""},attributes:{},children:[]},e),category:Bt.SOCIAL_ELEMENT,render(e){var t;const{node:r}=e,n=r.attributes,{mode:i,name:a,src:s}=n,c=u(n,["mode","name","src"]),p=a?Na[a]:void 0,d=o(o({},c),"prebuilt"===i?{name:void 0,"background-color":c["background-color"]||(null==p?void 0:p["background-color"]),src:null==p?void 0:p.src}:"custom"===i?{name:void 0,src:s}:{name:void 0,src:a?null==(t=Na[a])?void 0:t.src:s});return h.createElement(oi,l(o({idx:e.idx},d),{data:r.data,children:e.children||r.children}))}},La=b(Di.defaultData,{attributes:{},data:{}}),Ba={get name(){return Dt("Navbar Link")},defaultData:La,type:Lt.STANDARD_NAVBAR_LINK,create:e=>b({type:Lt.STANDARD_NAVBAR_LINK,data:{content:""},attributes:{},children:[]},e),category:Bt.NAVBAR_LINK,render(e){const{node:t}=e;return h.createElement(ai,l(o({idx:e.idx},t.attributes),{data:t.data}),e.children||t.children)}},Ca={type:Rt.STANDARD_BLOCK_QUOTE,data:{},attributes:{"padding-top":"3px","padding-bottom":"3px","padding-left":"2px","padding-right":"2px","font-size":"16px","line-height":"120%","font-weight":"normal","border-width":"2px","border-color":"#000000"},children:[]},Ia={get name(){return Dt("Blockquote")},defaultData:Ca,type:Rt.STANDARD_BLOCK_QUOTE,create:e=>b({type:Rt.STANDARD_BLOCK_QUOTE,data:{},attributes:{"border-width":"5px","border-color":"#000000"},children:[]},e),category:Bt.TEXT,render(e){const{node:t}=e,r=t.attributes;return h.createElement(ei,o({idx:e.idx,data:t.data},r),h.createElement($n,{tag:"blockquote",params:l(o({},e),{node:l(o({},e.node),{attributes:{style:`border-left: ${r["border-width"]} solid ${r["border-color"]};margin:0px;padding:0 1em;`}})})}))}},qa=b(ji.defaultData,{attributes:{},data:{code:""}}),Pa={get name(){return Dt("Table")},void:!0,defaultData:qa,type:Rt.STANDARD_TABLE,create:e=>b({type:Rt.STANDARD_TABLE,data:{code:""},attributes:{},children:[]},e),category:Bt.TABLE,render(e){const{node:t,children:r}=e;return h.createElement(ui,l(o({idx:e.idx},t.attributes),{data:t.data}),r||t.data.code)}},Ma={attributes:{align:"left","text-align":"center",border:"none",cellpadding:"0",cellspacing:"0",color:"#000000","font-family":"Ubuntu, Helvetica, Arial, sans-serif","font-size":"13px","line-height":"22px",padding:"10px 25px","padding-top":"10px","padding-right":"25px","padding-bottom":"10px","padding-left":"25px","table-layout":"auto",width:"100%","border-color":"#000000","border-style":"solid","border-width":"1px","border-enabled":!0,"cell-padding-top":"10px","cell-padding-bottom":"10px","cell-padding-right":"10px","cell-padding-left":"10px"},data:{}},Ua={get name(){return Dt("Table")},void:!1,defaultData:Ma,type:Rt.STANDARD_TABLE2,create:e=>b({type:Rt.STANDARD_TABLE2,data:{},attributes:{},children:[]},e),category:Bt.TABLE,render(e){const{node:t}=e,r=t.attributes,{"border-enabled":n=!0,"border-width":i,"border-style":a,"border-color":s,"cell-padding-top":c,"cell-padding-bottom":p,"cell-padding-left":d,"cell-padding-right":_}=r,f=u(r,["border-enabled","border-width","border-style","border-color","cell-padding-top","cell-padding-bottom","cell-padding-left","cell-padding-right"]),g=`${c||Ma.attributes["cell-padding-top"]} ${_||Ma.attributes["cell-padding-right"]} ${p||Ma.attributes["cell-padding-bottom"]} ${d||Ma.attributes["cell-padding-left"]}`;return h.createElement(ui,l(o({},f),{cellpadding:g}),h.createElement(h.Fragment,null,h.createElement("tbody",null,t.children.map(((e,r)=>Qt.isTextNode(e)?h.createElement(h.Fragment,{key:r}):h.createElement(Hn,{key:r,node:l(o({},e),{attributes:o({"border-color":s,"border-style":a,"border-width":i,"border-enabled":n,"text-align":t.attributes["text-align"]},e.attributes)})}))))))}},Fa={get name(){return Dt("Table Tr")},void:!1,defaultData:{attributes:{},data:{}},type:Rt.STANDARD_TABLE2_TR,create:e=>b({type:Rt.STANDARD_TABLE2_TR,data:{},attributes:{},children:[]},e),category:Bt.TABLE2_TR,render(e){const{node:t}=e,r=[],n=t.attributes;return n["background-color"]&&r.push(`background-color: ${n["background-color"]}`),h.createElement($n,{params:l(o({},e),{node:l(o({},t),{attributes:{style:r.join(";")}})}),tag:"tr",children:t.children.map(((e,r)=>Qt.isTextNode(e)?h.createElement(h.Fragment,{key:r}):h.createElement(Hn,{key:r,node:l(o({},e),{attributes:o(o({},d.pick(t.attributes,["border-color","border-style","border-width","border-enabled","text-align"])),e.attributes)})})))})}},ja={get name(){return Dt("Table Td")},void:!1,defaultData:{attributes:{},data:{rowspan:1,colspan:1}},type:Rt.STANDARD_TABLE2_TD,create:e=>b({type:Rt.STANDARD_TABLE2_TD,data:{rowspan:1,colspan:1},attributes:{},children:[]},e),category:Bt.TABLE2_TD,render(e){var t,r;const{node:n}=e,i=[],a=n.attributes;return a["border-enabled"]&&i.push(`border: ${a["border-width"]} ${a["border-color"]} ${a["border-style"]}`),a["text-align"]&&i.push(`text-align: ${a["text-align"]}`),h.createElement($n,{params:l(o({},e),{node:l(o({},n),{attributes:{style:i.join(";"),rowspan:(null==(t=n.data.rowspan)?void 0:t.toString())||"1",colspan:(null==(r=n.data.colspan)?void 0:r.toString())||"1"}})}),tag:"td",children:n.children.map(((e,t)=>Qt.isTextNode(e)?h.createElement(Vn,{key:t,node:e}):h.createElement(Hn,{key:t,node:e})))})}},za={[Lt.STANDARD_HERO]:Sa,[Lt.STANDARD_DIVIDER]:Ea,[Lt.STANDARD_WRAPPER]:va,[Lt.STANDARD_SECTION]:Yi,[Lt.STANDARD_GROUP]:Xi,[Lt.STANDARD_SOCIAL]:Aa,[Lt.STANDARD_SOCIAL_ELEMENT]:Oa,[Lt.STANDARD_COLUMN]:Zi,[Lt.STANDARD_BUTTON]:ta,[Lt.STANDARD_SPACER]:aa,[Lt.STANDARD_IMAGE]:na,[Lt.STANDARD_TEXT]:ca,[Lt.STANDARD_NAVBAR]:oa,[Lt.STANDARD_NAVBAR_LINK]:Ba,[Lt.STANDARD_PARAGRAPH]:pa,[Lt.STANDARD_H1]:da,[Lt.STANDARD_H2]:ha,[Lt.STANDARD_H3]:_a,[Lt.STANDARD_H4]:fa,[Lt.STANDARD_TABLE]:Pa,[Lt.STANDARD_TEXT_LIST]:ya,[Lt.STANDARD_TEXT_LIST_ITEM]:ma,[Lt.STANDARD_BLOCK_QUOTE]:Ia,[Lt.STANDARD_TABLE2]:Ua,[Lt.STANDARD_TABLE2_TR]:Fa,[Lt.STANDARD_TABLE2_TD]:ja},Ha={attributes:{},data:{showTruthyInTesting:!0,expression:"",component:h.createElement(h.Fragment,null)}},Va={get name(){return Dt("Show")},type:Lt.FOR_EACH,category:Bt.UNSET,defaultData:Ha,create(e){const t={type:Lt.SHOW,data:o({},Ha.data),attributes:o({},Ha.attributes),children:[]};return d.merge(t,e)},render(e){const{node:t,mode:r}=e,n=t.data;if("testing"===r)return n.showTruthyInTesting?h.createElement(h.Fragment,null,n.component):h.createElement(h.Fragment,null,n.fallback);return In.generateConditionTemplate(n.expression,n.component,n.fallback)}},$a={attributes:{},data:{dataSource:"",itemName:"item",limit:999}},Ga={get name(){return Dt("ForEach")},type:Lt.FOR_EACH,category:Bt.UNSET,defaultData:$a,create(e){const t={type:Lt.FOR_EACH,data:o({},$a.data),attributes:o({},$a.attributes),children:[]};return d.merge(t,e)},render(e){const{node:t,children:r,idx:n}=e;return In.generateIterationTemplate(l(o({mockQuantity:1,limit:999},t.data),{enabled:!0}),r||t.children.map(((r,i)=>Qt.isTextNode(r)?Qt.isTextListElement(t)?h.createElement(h.Fragment,{key:i},"<li>",h.createElement(Vn,l(o({key:i},e),{node:r})),"</li>"):h.createElement(Vn,l(o({key:i},e),{node:r})):h.createElement(Hn,l(o({key:i},e),{idx:n?Qt.getChildIdx(n,i):null,node:r})))))}},Wa={[Lt.FOR_EACH]:Ga,[Lt.SHOW]:Va},Ka=o(o(o({},Wi),za),Wa),Xa=o({},Ka);const Ja=Object.freeze(new class{registerBlocks(e){e.forEach((e=>{Xa[e.type]=e}))}getBlockByType(e){return Xa[e]}getBlocks(){return Object.values(Xa)}getBlockTitle(e){var t;if(e.title)return e.title;return(null==(t=this.getBlockByType(e.type))?void 0:t.name)||""}});var Ya=(e=>(e.TRUTHY="truthy",e.FALSY="falsy",e.EMPTY="empty",e.NOT_EMPTY="not_empty",e.EQUAL="==",e.NOT_EQUAL="!=",e.GREATER=">",e.GREATER_OR_EQUAL=">=",e.LESS="<",e.LESS_OR_EQUAL="<=",e.CONTAINS="contains",e.NOT_CONTAINS="not_contains",e.STARTS_WITH="starts_with",e.ENDS_WITH="ends_with",e.IN="in",e.NOT_IN="not_in",e))(Ya||{}),Qa=(e=>(e.AND="and",e.OR="or",e))(Qa||{});var Za,es={exports:{}};const ts=v((Za||(Za=1,es.exports=function(){var e=1e3,t=6e4,r=36e5,n="millisecond",i="second",a="minute",s="hour",o="day",l="week",u="month",c="quarter",p="year",d="date",h="Invalid Date",_=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},m=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},b={s:m,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+m(n,2,"0")+":"+m(i,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,u),a=r-i<0,s=t.clone().add(n+(a?-1:1),u);return+(-(n+(r-i)/(a?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:p,w:l,d:o,D:d,h:s,m:a,s:i,ms:n,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",x={};x[y]=g;var v="$isDayjsObject",w=function(e){return e instanceof T||!(!e||!e[v])},E=function e(t,r,n){var i;if(!t)return y;if("string"==typeof t){var a=t.toLowerCase();x[a]&&(i=a),r&&(x[a]=r,i=a);var s=t.split("-");if(!i&&s.length>1)return e(s[0])}else{var o=t.name;x[o]=t,i=o}return!n&&i&&(y=i),i||!n&&y},k=function(e,t){if(w(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new T(r)},A=b;A.l=E,A.i=w,A.w=function(e,t){return k(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var T=function(){function g(e){this.$L=E(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[v]=!0}var m=g.prototype;return m.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(A.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(_);if(n){var i=n[2]-1||0,a=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)}}return new Date(t)}(e),this.init()},m.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},m.$utils=function(){return A},m.isValid=function(){return!(this.$d.toString()===h)},m.isSame=function(e,t){var r=k(e);return this.startOf(t)<=r&&r<=this.endOf(t)},m.isAfter=function(e,t){return k(e)<this.startOf(t)},m.isBefore=function(e,t){return this.endOf(t)<k(e)},m.$g=function(e,t,r){return A.u(e)?this[t]:this.set(r,e)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(e,t){var r=this,n=!!A.u(t)||t,c=A.p(e),h=function(e,t){var i=A.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return n?i:i.endOf(o)},_=function(e,t){return A.w(r.toDate()[e].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},f=this.$W,g=this.$M,m=this.$D,b="set"+(this.$u?"UTC":"");switch(c){case p:return n?h(1,0):h(31,11);case u:return n?h(1,g):h(0,g+1);case l:var y=this.$locale().weekStart||0,x=(f<y?f+7:f)-y;return h(n?m-x:m+(6-x),g);case o:case d:return _(b+"Hours",0);case s:return _(b+"Minutes",1);case a:return _(b+"Seconds",2);case i:return _(b+"Milliseconds",3);default:return this.clone()}},m.endOf=function(e){return this.startOf(e,!1)},m.$set=function(e,t){var r,l=A.p(e),c="set"+(this.$u?"UTC":""),h=(r={},r[o]=c+"Date",r[d]=c+"Date",r[u]=c+"Month",r[p]=c+"FullYear",r[s]=c+"Hours",r[a]=c+"Minutes",r[i]=c+"Seconds",r[n]=c+"Milliseconds",r)[l],_=l===o?this.$D+(t-this.$W):t;if(l===u||l===p){var f=this.clone().set(d,1);f.$d[h](_),f.init(),this.$d=f.set(d,Math.min(this.$D,f.daysInMonth())).$d}else h&&this.$d[h](_);return this.init(),this},m.set=function(e,t){return this.clone().$set(e,t)},m.get=function(e){return this[A.p(e)]()},m.add=function(n,c){var d,h=this;n=Number(n);var _=A.p(c),f=function(e){var t=k(h);return A.w(t.date(t.date()+Math.round(e*n)),h)};if(_===u)return this.set(u,this.$M+n);if(_===p)return this.set(p,this.$y+n);if(_===o)return f(1);if(_===l)return f(7);var g=(d={},d[a]=t,d[s]=r,d[i]=e,d)[_]||1,m=this.$d.getTime()+n*g;return A.w(m,this)},m.subtract=function(e,t){return this.add(-1*e,t)},m.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var n=e||"YYYY-MM-DDTHH:mm:ssZ",i=A.z(this),a=this.$H,s=this.$m,o=this.$M,l=r.weekdays,u=r.months,c=r.meridiem,p=function(e,r,i,a){return e&&(e[r]||e(t,n))||i[r].slice(0,a)},d=function(e){return A.s(a%12||12,e,"0")},_=c||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(f,(function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return A.s(t.$y,4,"0");case"M":return o+1;case"MM":return A.s(o+1,2,"0");case"MMM":return p(r.monthsShort,o,u,3);case"MMMM":return p(u,o);case"D":return t.$D;case"DD":return A.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return p(r.weekdaysMin,t.$W,l,2);case"ddd":return p(r.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(a);case"HH":return A.s(a,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return _(a,s,!0);case"A":return _(a,s,!1);case"m":return String(s);case"mm":return A.s(s,2,"0");case"s":return String(t.$s);case"ss":return A.s(t.$s,2,"0");case"SSS":return A.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(n,d,h){var _,f=this,g=A.p(d),m=k(n),b=(m.utcOffset()-this.utcOffset())*t,y=this-m,x=function(){return A.m(f,m)};switch(g){case p:_=x()/12;break;case u:_=x();break;case c:_=x()/3;break;case l:_=(y-b)/6048e5;break;case o:_=(y-b)/864e5;break;case s:_=y/r;break;case a:_=y/t;break;case i:_=y/e;break;default:_=y}return h?_:A.a(_)},m.daysInMonth=function(){return this.endOf(u).$D},m.$locale=function(){return x[this.$L]},m.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=E(e,t,!0);return n&&(r.$L=n),r},m.clone=function(){return A.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},g}(),D=T.prototype;return k.prototype=D,[["$ms",n],["$s",i],["$m",a],["$H",s],["$W",o],["$M",u],["$y",p],["$D",d]].forEach((function(e){D[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),k.extend=function(e,t){return e.$i||(e(t,T,k),e.$i=!0),k},k.locale=E,k.isDayjs=w,k.unix=function(e){return k(1e3*e)},k.en=x[y],k.Ls=x,k.p={},k}()),es.exports));class rs{constructor(e,t,r,n,i){this.kind=e,this.input=t,this.begin=r,this.end=n,this.file=i}getText(){return this.input.slice(this.begin,this.end)}getPosition(){let[e,t]=[1,1];for(let r=0;r<this.begin;r++)"\n"===this.input[r]?(e++,t=1):t++;return[e,t]}size(){return this.end-this.begin}}class ns{liquidMethodMissing(e){}}const is=Object.prototype.toString,as=String.prototype.toLowerCase,ss=Object.hasOwnProperty;function os(e){return"string"==typeof e}function ls(e){return"function"==typeof e}function us(e){return e&&ls(e.then)}function cs(e){return e&&ls(e.next)&&ls(e.throw)&&ls(e.return)}function ps(e){return os(e=ds(e))?e:fs(e)?"":gs(e)?e.map((e=>ps(e))).join(""):String(e)}function ds(e){return e instanceof ns&&ls(e.valueOf)?e.valueOf():e}function hs(e){return"number"==typeof e}function _s(e){return e&&ls(e.toLiquid)?_s(e.toLiquid()):e}function fs(e){return null==e}function gs(e){return"[object Array]"===is.call(e)}function ms(e,t){e=e||{};for(const r in e)if(ss.call(e,r)&&!1===t(e[r],r,e))break;return e}function bs(e){return e[e.length-1]}function ys(e){const t=typeof e;return null!==e&&("object"===t||"function"===t)}function xs(e,t,r=1){const n=[];for(let i=e;i<t;i+=r)n.push(i);return n}function vs(e,t,r=" "){return ws(e,t,r,((e,t)=>t+e))}function ws(e,t,r,n){let i=t-(e=String(e)).length;for(;i-- >0;)e=n(e,r);return e}function Es(e){return e}function ks(e,t){return null==e&&null==t?0:null==e?1:null==t||(e=as.call(e))<(t=as.call(t))?-1:e>t?1:0}function As(e){return(...t)=>e(...t.map(ds))}function Ts(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}const Ds="__liquidClass__";class Ss extends Error{constructor(e,t){super("string"==typeof e?e:e.message),this.context="","string"!=typeof e&&Object.defineProperty(this,"originalError",{value:e,enumerable:!1}),Object.defineProperty(this,"token",{value:t,enumerable:!1}),Object.defineProperty(this,Ds,{value:"LiquidError",enumerable:!1})}update(){Object.defineProperty(this,"context",{value:Is(this.token),enumerable:!1}),this.message=function(e,t){t.file&&(e+=`, file:${t.file}`);const[r,n]=t.getPosition();return e+=`, line:${r}, col:${n}`}(this.message,this.token),this.stack=this.message+"\n"+this.context+"\n"+this.stack,this.originalError&&(this.stack+="\nFrom "+this.originalError.stack)}static is(e){return"LiquidError"===(null==e?void 0:e[Ds])}}class Ns extends Ss{constructor(e,t){super(e,t),this.name="TokenizationError",super.update()}}class Rs extends Ss{constructor(e,t){super(e,t),this.name="ParseError",this.message=e.message,super.update()}}class Os extends Ss{constructor(e,t){super(e,t.token),this.name="RenderError",this.message=e.message,super.update()}static is(e){return"RenderError"===e.name}}class Ls extends Ss{constructor(e,t){super(e,t),this.name="UndefinedVariableError",this.message=e.message,super.update()}}class Bs extends Error{constructor(e){super(`undefined variable: ${e}`),this.name="InternalUndefinedVariableError",this.variableName=e}}class Cs extends Error{constructor(e){super(e),this.name="AssertionError",this.message=e+""}}function Is(e){const[t,r]=e.getPosition(),n=e.input.split("\n"),i=Math.max(t-2,1),a=Math.min(t+3,n.length);return xs(i,a+1).map((e=>{let i=`${e===t?">> ":" "}${vs(String(e),String(a).length)}| `;const s=e===t?"\n"+vs("^",r+i.length):"";return i+=n[e-1],i+=s,i})).join("\n")}const qs=[0,0,0,0,0,0,0,0,0,20,4,4,4,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,2,8,0,0,0,0,8,0,0,0,64,0,65,0,0,33,33,33,33,33,33,33,33,33,33,0,0,2,2,2,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Ps=1,Ms=4,Us=16;function Fs(e){const t=e.charCodeAt(0);return t>=128?!qs[t]:!!(qs[t]&Ps)}function js(e,t){if(!e){const r="function"==typeof t?t():t||`expect ${e} to be true`;throw new Cs(r)}}qs[160]=qs[5760]=qs[6158]=qs[8192]=qs[8193]=qs[8194]=qs[8195]=qs[8196]=qs[8197]=qs[8198]=qs[8199]=qs[8200]=qs[8201]=qs[8202]=qs[8232]=qs[8233]=qs[8239]=qs[8287]=qs[12288]=Ms,qs[8220]=qs[8221]=128;class zs extends ns{equals(e){return!(e instanceof zs)&&(os(e=ds(e))||gs(e)?0===e.length:!!ys(e)&&0===Object.keys(e).length)}gt(){return!1}geq(){return!1}lt(){return!1}leq(){return!1}valueOf(){return""}}class Hs extends ns{constructor(e,t,r){super(),this.i=0,this.length=e,this.name=`${r}-${t}`}next(){this.i++}index0(){return this.i}index(){return this.i+1}first(){return 0===this.i}last(){return this.i===this.length-1}rindex(){return this.length-this.i}rindex0(){return this.length-this.i-1}valueOf(){return JSON.stringify(this)}}class Vs extends ns{constructor(e=(()=>"")){super(),this.superBlockRender=e}super(){return this.superBlockRender()}}function $s(e){return e&&ls(e.equals)}const Gs=new class extends ns{equals(e){return fs(ds(e))}gt(){return!1}geq(){return!1}lt(){return!1}leq(){return!1}valueOf(){return null}},Ws={true:!0,false:!1,nil:Gs,null:Gs,empty:new zs,blank:new class extends zs{equals(e){return!1===e||(!!fs(ds(e))||(os(e)?/^\s*$/.test(e):super.equals(e)))}}};function Ks(e){const t={};for(const[r,n]of Object.entries(e)){let e=t;for(let t=0;t<r.length;t++){const n=r[t];e[n]=e[n]||{},t===r.length-1&&Fs(r[t])&&(e[n].needBoundary=!0),e=e[n]}e.data=n,e.end=!0}return t}var Xs=function(){return Xs=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Xs.apply(this,arguments)};function Js(e,t,r,n){return new(r||(r=Promise))((function(t,i){function a(e){try{o(n.next(e))}catch(t){i(t)}}function s(e){try{o(n.throw(e))}catch(t){i(t)}}function o(e){var n;e.done?t(e.value):(n=e.value,n instanceof r?n:new r((function(e){e(n)}))).then(a,s)}o((n=n.apply(e,[])).next())}))}function Ys(e){return Js(this,0,void 0,(function*(){if(!cs(e))return e;let t,r=!1,n="next";do{const a=e[n](t);r=a.done,t=a.value,n="next";try{cs(t)&&(t=Ys(t)),us(t)&&(t=yield t)}catch(i){n="throw",t=i}}while(!r);return t}))}function Qs(e){if(!cs(e))return e;let t,r=!1,n="next";do{const a=e[n](t);if(r=a.done,t=a.value,n="next",cs(t))try{t=Qs(t)}catch(i){n="throw",t=i}}while(!r);return t}function Zs(e){return gs(e=ds(e))?e:os(e)&&e.length>0?[e]:ys(t=e)&&Symbol.iterator in t?Array.from(e):ys(e)?Object.keys(e).map((t=>[t,e[t]])):[];var t}function eo(e){return fs(e)?[]:gs(e)?e:[e]}const to=/%([-_0^#:]+)?(\d+)?([EO])?(.)/,ro=["January","February","March","April","May","June","July","August","September","October","November","December"],no=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],io=ro.map(so),ao=no.map(so);function so(e){return e.slice(0,3)}function oo(e){const t=function(e){const t=e.getFullYear();return!(3&t||!(t%100||t%400==0&&t))}(e)?29:28;return[31,t,31,30,31,30,31,31,30,31,30,31]}function lo(e){let t=0;for(let r=0;r<e.getMonth();++r)t+=oo(e)[r];return t+e.getDate()}function uo(e,t){const r=lo(e)+(t-e.getDay()),n=7-new Date(e.getFullYear(),0,1).getDay()+t;return String(Math.floor((r-n)/7)+1)}const co={d:2,e:2,H:2,I:2,j:3,k:2,l:2,L:3,m:2,M:2,S:2,U:2,W:2},po={a:" ",A:" ",b:" ",B:" ",c:" ",e:" ",k:" ",l:" ",p:" ",P:" "},ho={a:e=>ao[e.getDay()],A:e=>no[e.getDay()],b:e=>io[e.getMonth()],B:e=>ro[e.getMonth()],c:e=>e.toLocaleString(),C:e=>function(e){return parseInt(e.getFullYear().toString().substring(0,2),10)}(e),d:e=>e.getDate(),e:e=>e.getDate(),H:e=>e.getHours(),I:e=>String(e.getHours()%12||12),j:e=>lo(e),k:e=>e.getHours(),l:e=>String(e.getHours()%12||12),L:e=>e.getMilliseconds(),m:e=>e.getMonth()+1,M:e=>e.getMinutes(),N:(e,t)=>{const r=Number(t.width)||9;return function(e,t,r=" "){return ws(e,t,r,((e,t)=>e+t))}(String(e.getMilliseconds()).slice(0,r),r,"0")},p:e=>e.getHours()<12?"AM":"PM",P:e=>e.getHours()<12?"am":"pm",q:e=>function(e){const t=e.getDate();let r="th";switch(t){case 11:case 12:case 13:break;default:switch(t%10){case 1:r="st";break;case 2:r="nd";break;case 3:r="rd"}}return r}(e),s:e=>Math.round(e.getTime()/1e3),S:e=>e.getSeconds(),u:e=>e.getDay()||7,U:e=>uo(e,0),w:e=>e.getDay(),W:e=>uo(e,1),x:e=>e.toLocaleDateString(),X:e=>e.toLocaleTimeString(),y:e=>e.getFullYear().toString().slice(2,4),Y:e=>e.getFullYear(),z:(e,t)=>{const r=Math.abs(e.getTimezoneOffset()),n=Math.floor(r/60),i=r%60;return(e.getTimezoneOffset()>0?"-":"+")+vs(n,2,"0")+(t.flags[":"]?":":"")+vs(i,2,"0")},t:()=>"\t",n:()=>"\n","%":()=>"%"};function _o(e,t){const[r,n="",i,a,s]=t,o=ho[s];if(!o)return r;const l={};for(const h of n)l[h]=!0;let u=String(o(e,{flags:l,width:i,modifier:a})),c=po[s]||"0",p=i||co[s]||0;var d;return l["^"]?u=u.toUpperCase():l["#"]&&(d=u,u=[...d].some((e=>e>="a"&&e<="z"))?d.toUpperCase():d.toLowerCase()),l._?c=" ":l[0]&&(c="0"),l["-"]&&(p=0),vs(u,p,c)}ho.h=ho.b;const fo=/([zZ]|([+-])(\d{2}):(\d{2}))$/;class go{constructor(e,t){this.date=e instanceof go?e.date:new Date(e),this.timezoneOffset=t;const r=6e4*(this.date.getTimezoneOffset()-this.timezoneOffset),n=this.date.getTime()+r;this.displayDate=new Date(n)}getTime(){return this.displayDate.getTime()}getMilliseconds(){return this.displayDate.getMilliseconds()}getSeconds(){return this.displayDate.getSeconds()}getMinutes(){return this.displayDate.getMinutes()}getHours(){return this.displayDate.getHours()}getDay(){return this.displayDate.getDay()}getDate(){return this.displayDate.getDate()}getMonth(){return this.displayDate.getMonth()}getFullYear(){return this.displayDate.getFullYear()}toLocaleString(e,t){return(null==t?void 0:t.timeZone)?this.date.toLocaleString(e,t):this.displayDate.toLocaleString(e,t)}toLocaleTimeString(e){return this.displayDate.toLocaleTimeString(e)}toLocaleDateString(e){return this.displayDate.toLocaleDateString(e)}getTimezoneOffset(){return this.timezoneOffset}static createDateFixedToTimezone(e){const t=e.match(fo);if(t&&"Z"===t[1])return new go(+new Date(e),0);if(t&&t[2]&&t[3]&&t[4]){const[,,r,n,i]=t,a=("+"===r?-1:1)*(60*parseInt(n,10)+parseInt(i,10));return new go(+new Date(e),a)}return new Date(e)}}class mo extends rs{constructor(e,[t,r],n,i,a,s,o,l){super(e,n,i,a,l),this.trimLeft=!1,this.trimRight=!1;const u="-"===n[t],c="-"===n[r-1];let p=u?t+1:t,d=c?r-1:r;for(;p<d&&qs[n.charCodeAt(p)]&Ms;)p++;for(;d>p&&qs[n.charCodeAt(d-1)]&Ms;)d--;this.contentRange=[p,d],this.trimLeft=u||s,this.trimRight=c||o}get content(){return this.input.slice(this.contentRange[0],this.contentRange[1])}}class bo extends mo{constructor(e,t,r,n,i){const{trimTagLeft:a,trimTagRight:s,tagDelimiterLeft:o,tagDelimiterRight:l}=n,[u,c]=[t+o.length,r-l.length];super(wl.Tag,[u,c],e,t,r,a,s,i),this.tokenizer=new pl(e,n.operators,i,this.contentRange),this.name=this.tokenizer.readTagName(),this.tokenizer.assert(this.name,"illegal tag syntax, tag name expected"),this.tokenizer.skipBlank()}get args(){return this.tokenizer.input.slice(this.tokenizer.p,this.contentRange[1])}}class yo extends mo{constructor(e,t,r,n,i){const{trimOutputLeft:a,trimOutputRight:s,outputDelimiterLeft:o,outputDelimiterRight:l}=n,u=[t+o.length,r-l.length];super(wl.Output,u,e,t,r,a,s,i)}}class xo extends rs{constructor(e,t,r,n){super(wl.HTML,e,t,r,n),this.input=e,this.begin=t,this.end=r,this.file=n,this.trimLeft=0,this.trimRight=0}getContent(){return this.input.slice(this.begin+this.trimLeft,this.end-this.trimRight)}}class vo extends rs{constructor(e,t,r,n){super(wl.Number,e,t,r,n),this.input=e,this.begin=t,this.end=r,this.file=n,this.content=Number(this.getText())}}class wo extends rs{constructor(e,t,r,n){super(wl.Word,e,t,r,n),this.input=e,this.begin=t,this.end=r,this.file=n,this.content=this.getText()}isNumber(e=!1){for(let t=e&&64&qs[this.input.charCodeAt(this.begin)]?this.begin+1:this.begin;t<this.end;t++)if(!(32&qs[this.input.charCodeAt(t)]))return!1;return!0}}class Eo extends rs{constructor(e,t,r,n){super(wl.Literal,e,t,r,n),this.input=e,this.begin=t,this.end=r,this.file=n,this.literal=this.getText(),this.content=Ws[this.literal]}}const ko={"==":2,"!=":2,">":2,"<":2,">=":2,"<=":2,contains:2,not:1,and:0,or:0},Ao={"==":0,"!=":0,">":0,"<":0,">=":0,"<=":0,contains:0,not:1,and:0,or:0};class To extends rs{constructor(e,t,r,n){super(wl.Operator,e,t,r,n),this.input=e,this.begin=t,this.end=r,this.file=n,this.operator=this.getText()}getPrecedence(){const e=this.getText();return e in ko?ko[e]:1}}class Do extends rs{constructor(e,t,r,n,i,a){super(wl.PropertyAccess,r,n,i,a),this.variable=e,this.props=t}}class So extends rs{constructor(e,t,r,n,i,a){super(wl.Filter,r,n,i,a),this.name=e,this.args=t}}class No extends rs{constructor(e,t,r,n,i,a){super(wl.Hash,e,t,r,a),this.input=e,this.begin=t,this.end=r,this.name=n,this.value=i,this.file=a}}const Ro=/[\da-fA-F]/,Oo=/[0-7]/,Lo={b:"\b",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v"};function Bo(e){const t=e.charCodeAt(0);return t>=97?t-87:t>=65?t-55:t-48}class Co extends rs{constructor(e,t,r,n){super(wl.Quoted,e,t,r,n),this.input=e,this.begin=t,this.end=r,this.file=n,this.content=function(e){let t="";for(let r=1;r<e.length-1;r++)if("\\"===e[r])if(void 0!==Lo[e[r+1]])t+=Lo[e[++r]];else if("u"===e[r+1]){let n=0,i=r+2;for(;i<=r+5&&Ro.test(e[i]);)n=16*n+Bo(e[i++]);r=i-1,t+=String.fromCharCode(n)}else if(Oo.test(e[r+1])){let n=r+1,i=0;for(;n<=r+3&&Oo.test(e[n]);)i=8*i+Bo(e[n++]);r=n-1,t+=String.fromCharCode(i)}else t+=e[++r];else t+=e[r];return t}(this.getText())}}class Io extends rs{constructor(e,t,r,n,i,a){super(wl.Range,e,t,r,a),this.input=e,this.begin=t,this.end=r,this.lhs=n,this.rhs=i,this.file=a}}class qo extends mo{constructor(e,t,r,n,i){super(wl.Tag,[t,r],e,t,r,!1,!1,i),this.tokenizer=new pl(e,n.operators,i,this.contentRange),this.name=this.tokenizer.readTagName(),this.tokenizer.assert(this.name,"illegal liquid tag syntax"),this.tokenizer.skipBlank(),this.args=this.tokenizer.remaining()}}class Po extends rs{constructor(e,t,r,n,i,a){super(wl.FilteredValue,r,n,i,a),this.initial=e,this.filters=t,this.input=r,this.begin=n,this.end=i,this.file=a}}class Mo{constructor(){this.buffer=""}write(e){this.buffer+=ps(e)}}class Uo{constructor(){throw this.buffer="",this.stream=null,new Error("streaming not supported in browser")}}class Fo{constructor(){this.buffer=""}write(e){"string"!=typeof(e=ds(e))&&""===this.buffer?this.buffer=e:this.buffer=ps(this.buffer)+ps(e)}}class jo{renderTemplatesToNodeStream(e,t){const r=new Uo;return Promise.resolve().then((()=>Ys(this.renderTemplates(e,t,r)))).then((()=>r.end()),(e=>r.error(e))),r.stream}*renderTemplates(e,t,r){r||(r=t.opts.keepOutputType?new Fo:new Mo);for(const i of e)try{const e=yield i.render(t,r);if(e&&r.write(e),r.break||r.continue)break}catch(n){throw Os.is(n)?n:new Os(n,i)}return r.buffer}}class zo{constructor(e){this.postfix=[...$o(e)]}*evaluate(e,t){js(e,"unable to evaluate: context not defined");const r=[];for(const n of this.postfix)if(Sl(n)){const t=r.pop();let i;if(1===Ao[n.operator])i=yield e.opts.operators[n.operator](t,e);else{const a=r.pop();i=yield e.opts.operators[n.operator](a,t,e)}r.push(i)}else r.push(yield Ho(n,e,t&&1===this.postfix.length));return r[0]}valid(){return!!this.postfix.length}}function*Ho(e,t,r=!1){if(e)return"content"in e?e.content:Ol(e)===wl.PropertyAccess?yield function*(e,t,r){const n=[],i=yield Ho(e.variable,t,r);for(const s of e.props)n.push(yield Ho(s,t,!1));try{return e.variable?yield t._getFromScope(i,n):yield t._get(n)}catch(a){if(r&&"InternalUndefinedVariableError"===a.name)return null;throw new Ls(a,e)}}(e,t,r):function(e){return Ol(e)===wl.Range}(e)?yield function*(e,t){const r=yield Ho(e.lhs,t),n=yield Ho(e.rhs,t);return xs(+r,+n+1)}(e,t):void 0}function Vo(e){return e.content}function*$o(e){const t=[];for(const r of e)if(Sl(r)){for(;t.length&&t[t.length-1].getPrecedence()>r.getPrecedence();)yield t.pop();t.push(r)}else yield r;for(;t.length;)yield t.pop()}function Go(e,t){return!Wo(e,t)}function Wo(e,t){return t.opts.jsTruthy?!e:!1===e||null==e}const Ko={"==":Xo,"!=":(e,t)=>!Xo(e,t),">":(e,t)=>$s(e)?e.gt(t):$s(t)?t.lt(e):ds(e)>ds(t),"<":(e,t)=>$s(e)?e.lt(t):$s(t)?t.gt(e):ds(e)<ds(t),">=":(e,t)=>$s(e)?e.geq(t):$s(t)?t.leq(e):ds(e)>=ds(t),"<=":(e,t)=>$s(e)?e.leq(t):$s(t)?t.geq(e):ds(e)<=ds(t),contains:(e,t)=>gs(e=ds(e))?e.some((e=>Xo(e,t))):!!os(e)&&e.indexOf(ds(t))>-1,not:(e,t)=>Wo(ds(e),t),and:(e,t,r)=>Go(ds(e),r)&&Go(ds(t),r),or:(e,t,r)=>Go(ds(e),r)||Go(ds(t),r)};function Xo(e,t){return $s(e)?e.equals(t):$s(t)?t.equals(e):(e=ds(e),t=ds(t),gs(e)?gs(t)&&function(e,t){return e.length===t.length&&!e.some(((e,r)=>!Xo(e,t[r])))}(e,t):e===t)}let Jo=class{constructor(e,t,r,n){this.key=e,this.value=t,this.next=r,this.prev=n}};class Yo{constructor(e,t=0){this.limit=e,this.size=t,this.cache={},this.head=new Jo("HEAD",null,null,null),this.tail=new Jo("TAIL",null,null,null),this.head.next=this.tail,this.tail.prev=this.head}write(e,t){if(this.cache[e])this.cache[e].value=t;else{const r=new Jo(e,t,this.head.next,this.head);this.head.next.prev=r,this.head.next=r,this.cache[e]=r,this.size++,this.ensureLimit()}}read(e){if(!this.cache[e])return;const{value:t}=this.cache[e];return this.remove(e),this.write(e,t),t}remove(e){const t=this.cache[e];t.prev.next=t.next,t.next.prev=t.prev,delete this.cache[e],this.size--}clear(){this.head.next=this.tail,this.tail.prev=this.head,this.size=0,this.cache={}}ensureLimit(){this.size>this.limit&&this.remove(this.tail.prev.key)}}function Qo(e,t){const r=document.createElement("base");r.href=e;const n=document.getElementsByTagName("head")[0];n.insertBefore(r,n.firstChild);const i=document.createElement("a");i.href=t;const a=i.href;return n.removeChild(r),a}var Zo=Object.freeze({__proto__:null,resolve:function(e,t,r){return e.length&&"/"!==bs(e)&&(e+="/"),Qo(e,t).replace(/^(\w+:\/\/[^/]+)(\/[^?]+)/,((e,t,n)=>{const i=n.split("/").pop();return/\.\w+$/.test(i)?e:t+n+r}))},readFile:function(e){return Js(this,0,void 0,(function*(){return new Promise(((t,r)=>{const n=new XMLHttpRequest;n.onload=()=>{n.status>=200&&n.status<300?t(n.responseText):r(new Error(n.statusText))},n.onerror=()=>{r(new Error("An error occurred whilst receiving the response."))},n.open("GET",e),n.send()}))}))},readFileSync:function(e){const t=new XMLHttpRequest;if(t.open("GET",e,!1),t.send(),t.status<200||t.status>=300)throw new Error(t.statusText);return t.responseText},exists:function(e){return Js(this,0,void 0,(function*(){return!0}))},existsSync:function(e){return!0},dirname:function(e){return Qo(e,".")},sep:"/"});function el(e,t=0){return JSON.stringify(e,null,t)}const tl={raw:!0,handler:Es},rl={"&":"&","<":"<",">":">",'"':""","'":"'"},nl={"&":"&","<":"<",">":">",""":'"',"'":"'"};function il(e){return ps(e).replace(/&|<|>|"|'/g,(e=>rl[e]))}var al=Object.freeze({__proto__:null,escape:il,escape_once:function(e){return il(function(e){return ps(e).replace(/&(amp|lt|gt|#34|#39);/g,(e=>nl[e]))}(ps(e)))},newline_to_br:function(e){return ps(e).replace(/\r?\n/gm,"<br />\n")},strip_html:function(e){return ps(e).replace(/<script[\s\S]*?<\/script>|<style[\s\S]*?<\/style>|<.*?>|<!--[\s\S]*?-->/g,"")}});const sl={root:["."],layouts:["."],partials:["."],relativeReference:!0,jekyllInclude:!1,cache:void 0,extname:"",fs:Zo,dynamicPartials:!0,jsTruthy:!1,dateFormat:"%A, %B %-e, %Y at %-l:%M %P %z",trimTagRight:!1,trimTagLeft:!1,trimOutputRight:!1,trimOutputLeft:!1,greedy:!0,tagDelimiterLeft:"{%",tagDelimiterRight:"%}",outputDelimiterLeft:"{{",outputDelimiterRight:"}}",preserveTimezones:!1,strictFilters:!1,strictVariables:!1,ownPropertyOnly:!0,lenientIf:!1,globals:{},keepOutputType:!1,operators:Ko};function ol(e){if(e.hasOwnProperty("root")&&(e.hasOwnProperty("partials")||(e.partials=e.root),e.hasOwnProperty("layouts")||(e.layouts=e.root)),e.hasOwnProperty("cache")){let t;t="number"==typeof e.cache?e.cache>0?new Yo(e.cache):void 0:"object"==typeof e.cache?e.cache:e.cache?new Yo(1024):void 0,e.cache=t}var t;return(e=Object.assign(Object.assign(Object.assign({},sl),e.jekyllInclude?{dynamicPartials:!1}:{}),e)).fs.dirname&&e.fs.sep||!e.relativeReference||(console.warn("[LiquidJS] `fs.dirname` and `fs.sep` are required for relativeReference, set relativeReference to `false` to suppress this warning"),e.relativeReference=!1),e.root=ll(e.root),e.partials=ll(e.partials),e.layouts=ll(e.layouts),e.outputEscape=e.outputEscape&&("escape"===(t=e.outputEscape)?il:"json"===t?el:(js(ls(t),"`outputEscape` need to be of type string or function"),t)),e}function ll(e){let t=[];return gs(e)&&(t=e),os(e)&&(t=[e]),t}function ul(e,t){if(!e||!Nl(e))return;const r=t?Ms:Us;for(;qs[e.input.charCodeAt(e.end-1-e.trimRight)]&r;)e.trimRight++}function cl(e,t){if(!e||!Nl(e))return;const r=t?Ms:Us;for(;qs[e.input.charCodeAt(e.begin+e.trimLeft)]&r;)e.trimLeft++;"\n"===e.input.charAt(e.begin+e.trimLeft)&&e.trimLeft++}class pl{constructor(e,t=sl.operators,r,n){this.input=e,this.file=r,this.range=n,this.rawBeginAt=-1,this.p=n?n[0]:0,this.N=n?n[1]:e.length,this.opTrie=Ks(t),this.literalTrie=Ks(Ws)}readExpression(){return new zo(this.readExpressionTokens())}*readExpressionTokens(){for(;this.p<this.N;){const e=this.readOperator();if(e){yield e;continue}const t=this.readValue();if(!t)return;yield t}}readOperator(){this.skipBlank();const e=this.matchTrie(this.opTrie);if(-1!==e)return new To(this.input,this.p,this.p=e,this.file)}matchTrie(e){let t,r=e,n=this.p;for(;r[this.input[n]]&&n<this.N;)r=r[this.input[n++]],r.end&&(t=r);return t?t.needBoundary&&Fs(this.peek(n-this.p))?-1:n:-1}readFilteredValue(){const e=this.p,t=this.readExpression();this.assert(t.valid(),`invalid value expression: ${this.snapshot()}`);const r=this.readFilters();return new Po(t,r,this.input,e,this.p,this.file)}readFilters(){const e=[];for(;;){const t=this.readFilter();if(!t)return e;e.push(t)}}readFilter(){if(this.skipBlank(),this.end())return null;this.assert("|"===this.peek(),'expected "|" before filter'),this.p++;const e=this.p,t=this.readIdentifier();if(!t.size())return this.assert(this.end(),"expected filter name"),null;const r=[];if(this.skipBlank(),":"===this.peek())do{++this.p;const e=this.readFilterArg();e&&r.push(e),this.skipBlank(),this.assert(this.end()||","===this.peek()||"|"===this.peek(),(()=>`unexpected character ${this.snapshot()}`))}while(","===this.peek());else if("|"!==this.peek()&&!this.end())throw this.error('expected ":" after filter name');return new So(t.getText(),r,this.input,e,this.p,this.file)}readFilterArg(){const e=this.readValue();if(!e)return;if(this.skipBlank(),":"!==this.peek())return e;++this.p;const t=this.readValue();return[e.getText(),t]}readTopLevelTokens(e=sl){const t=[];for(;this.p<this.N;){const r=this.readTopLevelToken(e);t.push(r)}return function(e,t){let r=!1;for(let n=0;n<e.length;n++){const i=e[n];Ol(i)&wl.Delimited&&(!r&&i.trimLeft&&ul(e[n-1],t.greedy),Rl(i)&&("raw"===i.name?r=!0:"endraw"===i.name&&(r=!1)),!r&&i.trimRight&&cl(e[n+1],t.greedy))}}(t,e),t}readTopLevelToken(e){const{tagDelimiterLeft:t,outputDelimiterLeft:r}=e;return this.rawBeginAt>-1?this.readEndrawOrRawContent(e):this.match(t)?this.readTagToken(e):this.match(r)?this.readOutputToken(e):this.readHTMLToken([t,r])}readHTMLToken(e){const t=this.p;for(;this.p<this.N&&!e.some((e=>this.match(e)));)++this.p;return new xo(this.input,t,this.p,this.file)}readTagToken(e=sl){const{file:t,input:r}=this,n=this.p;if(-1===this.readToDelimiter(e.tagDelimiterRight))throw this.error(`tag ${this.snapshot(n)} not closed`,n);const i=new bo(r,n,this.p,e,t);return"raw"===i.name&&(this.rawBeginAt=n),i}readToDelimiter(e,t=!1){for(this.skipBlank();this.p<this.N;)if(t&&8&this.peekType())this.readQuoted();else if(++this.p,this.rmatch(e))return this.p;return-1}readOutputToken(e=sl){const{file:t,input:r}=this,{outputDelimiterRight:n}=e,i=this.p;if(-1===this.readToDelimiter(n,!0))throw this.error(`output ${this.snapshot(i)} not closed`,i);return new yo(r,i,this.p,e,t)}readEndrawOrRawContent(e){const{tagDelimiterLeft:t,tagDelimiterRight:r}=e,n=this.p;let i=this.readTo(t)-t.length;for(;this.p<this.N;)if("endraw"===this.readIdentifier().getText())for(;this.p<=this.N;){if(this.rmatch(r)){const t=this.p;return n===i?(this.rawBeginAt=-1,new bo(this.input,n,t,e,this.file)):(this.p=i,new xo(this.input,n,i,this.file))}if(this.rmatch(t))break;this.p++}else i=this.readTo(t)-t.length;throw this.error(`raw ${this.snapshot(this.rawBeginAt)} not closed`,n)}readLiquidTagTokens(e=sl){const t=[];for(;this.p<this.N;){const r=this.readLiquidTagToken(e);r&&t.push(r)}return t}readLiquidTagToken(e){if(this.skipBlank(),this.end())return;const t=this.p;this.readToDelimiter("\n");const r=this.p;return new qo(this.input,t,r,e,this.file)}error(e,t=this.p){return new Ns(e,new wo(this.input,t,this.N,this.file))}assert(e,t,r){if(!e)throw this.error("function"==typeof t?t():t,r)}snapshot(e=this.p){return JSON.stringify((t=this.input.slice(e,this.N),r=32,t.length>r?t.slice(0,r-3)+"...":t));var t,r}readWord(){return this.readIdentifier()}readIdentifier(){this.skipBlank();const e=this.p;for(;!this.end()&&Fs(this.peek());)++this.p;return new wo(this.input,e,this.p,this.file)}readTagName(){return this.skipBlank(),"#"===this.input[this.p]?this.input.slice(this.p,++this.p):this.readIdentifier().getText()}readHashes(e){const t=[];for(;;){const r=this.readHash(e);if(!r)return t;t.push(r)}}readHash(e){this.skipBlank(),","===this.peek()&&++this.p;const t=this.p,r=this.readIdentifier();if(!r.size())return;let n;this.skipBlank();const i=e?"=":":";return this.peek()===i&&(++this.p,n=this.readValue()),new No(this.input,t,this.p,r,n,this.file)}remaining(){return this.input.slice(this.p,this.N)}advance(e=1){this.p+=e}end(){return this.p>=this.N}readTo(e){for(;this.p<this.N;)if(++this.p,this.rmatch(e))return this.p;return-1}readValue(){this.skipBlank();const e=this.p,t=this.readLiteral()||this.readQuoted()||this.readRange()||this.readNumber(),r=[];for(;;)if("["!==this.peek()){if(!t&&!r.length){const e=this.readIdentifier();if(e.size()){r.push(e);continue}}if("."!==this.peek()||"."===this.peek(1))break;{this.p++;const e=this.readIdentifier();if(!e.size())break;r.push(e)}}else{this.p++;const e=this.readValue()||new wo(this.input,this.p,this.p,this.file);this.assert(-1!==this.readTo("]"),"[ not closed"),r.push(e)}return r.length?new Do(t,r,this.input,e,this.p):t}readNumber(){this.skipBlank();let e=!1,t=!1,r=0;for(64&this.peekType()&&r++;this.p+r<=this.N;)if(32&this.peekType(r))t=!0,r++;else{if("."!==this.peek(r)||"."===this.peek(r+1))break;if(e||!t)return;e=!0,r++}if(t&&!Fs(this.peek(r))){const e=new vo(this.input,this.p,this.p+r,this.file);return this.advance(r),e}}readLiteral(){this.skipBlank();const e=this.matchTrie(this.literalTrie);if(-1===e)return;const t=new Eo(this.input,this.p,e,this.file);return this.p=e,t}readRange(){this.skipBlank();const e=this.p;if("("!==this.peek())return;++this.p;const t=this.readValueOrThrow();this.p+=2;const r=this.readValueOrThrow();return++this.p,new Io(this.input,e,this.p,t,r,this.file)}readValueOrThrow(){const e=this.readValue();return this.assert(e,(()=>`unexpected token ${this.snapshot()}, value expected`)),e}readQuoted(){this.skipBlank();const e=this.p;if(!(8&this.peekType()))return;++this.p;let t=!1;for(;this.p<this.N&&(++this.p,this.input[this.p-1]!==this.input[e]||t);)t?t=!1:"\\"===this.input[this.p-1]&&(t=!0);return new Co(this.input,e,this.p,this.file)}*readFileNameTemplate(e){const{outputDelimiterLeft:t}=e,r=[","," ",t],n=new Set(r);for(;this.p<this.N&&!n.has(this.peek());)yield this.match(t)?this.readOutputToken(e):this.readHTMLToken(r)}match(e){for(let t=0;t<e.length;t++)if(e[t]!==this.input[this.p+t])return!1;return!0}rmatch(e){for(let t=0;t<e.length;t++)if(e[e.length-1-t]!==this.input[this.p-1-t])return!1;return!0}peekType(e=0){return this.p+e>=this.N?0:qs[this.input.charCodeAt(this.p+e)]}peek(e=0){return this.p+e>=this.N?"":this.input[this.p+e]}skipBlank(){for(;this.peekType()&Ms;)++this.p}}class dl{constructor(e,t){this.handlers={},this.stopRequested=!1,this.tokens=e,this.parseToken=t}on(e,t){return this.handlers[e]=t,this}trigger(e,t){const r=this.handlers[e];return!!r&&(r.call(this,t),!0)}start(){let e;for(this.trigger("start");!this.stopRequested&&(e=this.tokens.shift());){if(this.trigger("token",e))continue;if(Rl(e)&&this.trigger(`tag:${e.name}`,e))continue;const t=this.parseToken(e,this.tokens);this.trigger("template",t)}return this.stopRequested||this.trigger("end"),this}stop(){return this.stopRequested=!0,this}}class hl{constructor(e){this.token=e}}class _l extends hl{constructor(e,t,r){super(e),this.name=e.name,this.liquid=r,this.tokenizer=e.tokenizer}}class fl{constructor(e,t){this.hash={};const r=new pl(e,{});for(const n of r.readHashes(t))this.hash[n.name.content]=n.value}*render(e){const t={};for(const r of Object.keys(this.hash))t[r]=void 0===this.hash[r]||(yield Ho(this.hash[r],e));return t}}class gl{constructor(e,t,r,n){this.name=e,this.handler=ls(t)?t:ls(null==t?void 0:t.handler)?t.handler:Es,this.raw=!ls(t)&&!!(null==t?void 0:t.raw),this.args=r,this.liquid=n}*render(e,t){const r=[];for(const n of this.args)gs(n)?r.push([n[0],yield Ho(n[1],t)]):r.push(yield Ho(n,t));return yield this.handler.apply({context:t,liquid:this.liquid},[e,...r])}}class ml{constructor(e,t){this.filters=[];const r="string"==typeof e?new pl(e,t.options.operators).readFilteredValue():e;this.initial=r.initial,this.filters=r.filters.map((({name:e,args:r})=>new gl(e,this.getFilter(t,e),r,t)))}*value(e,t){t=t||e.opts.lenientIf&&this.filters.length>0&&"default"===this.filters[0].name;let r=yield this.initial.evaluate(e,t);for(const n of this.filters)r=yield n.render(r,e);return r}getFilter(e,t){const r=e.filters[t];return js(r||!e.options.strictFilters,(()=>`undefined filter: ${t}`)),r}}class bl extends hl{constructor(e,t){var r;super(e);const n=new pl(e.input,t.options.operators,e.file,e.contentRange);this.value=new ml(n.readFilteredValue(),t);const i=this.value.filters,a=t.options.outputEscape;!(null===(r=i[i.length-1])||void 0===r?void 0:r.raw)&&a&&i.push(new gl(toString.call(a),a,[],t))}*render(e,t){const r=yield this.value.value(e,!1);t.write(r)}}class yl extends hl{constructor(e){super(e),this.str=e.getContent()}*render(e,t){t.write(this.str)}}var xl,vl,wl,El,kl,Al;(vl=xl||(xl={})).Partials="partials",vl.Layouts="layouts",vl.Root="root";class Tl{constructor(e){if(this.options=e,e.relativeReference){const t=e.fs.sep;js(t,"`fs.sep` is required for relative reference");const r=new RegExp(["."+t,".."+t,"./","../"].map((e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"))).join("|"));this.shouldLoadRelative=e=>r.test(e)}else this.shouldLoadRelative=e=>!1;this.contains=this.options.fs.contains||(()=>!0)}*lookup(e,t,r,n){const{fs:i}=this.options,a=this.options[t];for(const s of this.candidates(e,a,n,t!==xl.Root))if(r?i.existsSync(s):yield i.exists(s))return s;throw this.lookupError(e,a)}*candidates(e,t,r,n){const{fs:i,extname:a}=this.options;if(this.shouldLoadRelative(e)&&r){const s=i.resolve(this.dirname(r),e,a);for(const e of t)if(!n||this.contains(e,s)){yield s;break}}for(const s of t){const t=i.resolve(s,e,a);n&&!this.contains(s,t)||(yield t)}if(void 0!==i.fallback){const t=i.fallback(e);void 0!==t&&(yield t)}}dirname(e){const t=this.options.fs;return js(t.dirname,"`fs.dirname` is required for relative reference"),t.dirname(e)}lookupError(e,t){const r=new Error("ENOENT");return r.message=`ENOENT: Failed to lookup "${e}" in "${t}"`,r.code="ENOENT",r}}class Dl{constructor(e){this.liquid=e,this.cache=this.liquid.options.cache,this.fs=this.liquid.options.fs,this.parseFile=this.cache?this._parseFileCached:this._parseFile,this.loader=new Tl(this.liquid.options)}parse(e,t){const r=new pl(e,this.liquid.options.operators,t).readTopLevelTokens(this.liquid.options);return this.parseTokens(r)}parseTokens(e){let t;const r=[];for(;t=e.shift();)r.push(this.parseToken(t,e));return r}parseToken(e,t){try{if(Rl(e)){const r=this.liquid.tags[e.name];return js(r,`tag "${e.name}" not found`),new r(e,t,this.liquid)}return Ol(e)===wl.Output?new bl(e,this.liquid):new yl(e)}catch(r){if(Ss.is(r))throw r;throw new Rs(r,e)}}parseStream(e){return new dl(e,((e,t)=>this.parseToken(e,t)))}*_parseFileCached(e,t,r=xl.Root,n){const i=this.cache,a=this.loader.shouldLoadRelative(e)?n+","+e:r+":"+e,s=yield i.read(a);if(s)return s;const o=this._parseFile(e,t,r,n),l=t?yield o:Ys(o);i.write(a,l);try{return yield l}catch(u){throw i.remove(a),u}}*_parseFile(e,t,r=xl.Root,n){const i=yield this.loader.lookup(e,r,t,n);return this.liquid.parse(t?this.fs.readFileSync(i):yield this.fs.readFile(i),i)}}function Sl(e){return Ol(e)===wl.Operator}function Nl(e){return Ol(e)===wl.HTML}function Rl(e){return Ol(e)===wl.Tag}function Ol(e){return e?e.kind:-1}(El=wl||(wl={}))[El.Number=1]="Number",El[El.Literal=2]="Literal",El[El.Tag=4]="Tag",El[El.Output=8]="Output",El[El.HTML=16]="HTML",El[El.Filter=32]="Filter",El[El.Hash=64]="Hash",El[El.PropertyAccess=128]="PropertyAccess",El[El.Word=256]="Word",El[El.Range=512]="Range",El[El.Quoted=1024]="Quoted",El[El.Operator=2048]="Operator",El[El.FilteredValue=4096]="FilteredValue",El[El.Delimited=12]="Delimited";class Ll{constructor(e={},t=sl,r={}){var n,i,a;this.scopes=[{}],this.registers={},this.sync=!!r.sync,this.opts=t,this.globals=null!==(n=r.globals)&&void 0!==n?n:t.globals,this.environments=e,this.strictVariables=null!==(i=r.strictVariables)&&void 0!==i?i:this.opts.strictVariables,this.ownPropertyOnly=null!==(a=r.ownPropertyOnly)&&void 0!==a?a:t.ownPropertyOnly}getRegister(e){return this.registers[e]=this.registers[e]||{}}setRegister(e,t){return this.registers[e]=t}saveRegister(...e){return e.map((e=>[e,this.getRegister(e)]))}restoreRegister(e){return e.forEach((([e,t])=>this.setRegister(e,t)))}getAll(){return[this.globals,this.environments,...this.scopes].reduce(((e,t)=>Xs(e,t)),{})}get(e){return this.getSync(e)}getSync(e){return Qs(this._get(e))}*_get(e){const t=this.findScope(e[0]);return yield this._getFromScope(t,e)}getFromScope(e,t){return Qs(this._getFromScope(e,t))}*_getFromScope(e,t,r=this.strictVariables){os(t)&&(t=t.split("."));for(let n=0;n<t.length;n++)if(e=yield Bl(e,t[n],this.ownPropertyOnly),r&&void 0===e)throw new Bs(t.slice(0,n+1).join("."));return e}push(e){return this.scopes.push(e)}pop(){return this.scopes.pop()}bottom(){return this.scopes[0]}findScope(e){for(let t=this.scopes.length-1;t>=0;t--){const r=this.scopes[t];if(e in r)return r}return e in this.environments?this.environments:this.globals}}function Bl(e,t,r){if(fs(e=_s(e)))return e;if(gs(e)&&t<0)return e[e.length+ +t];const n=function(e,t,r){return!r||Object.hasOwnProperty.call(e,t)||e instanceof ns?e[t]:void 0}(e,t,r);return void 0===n&&e instanceof ns?e.liquidMethodMissing(t):ls(n)?n.call(e):"size"===t?function(e){if(e.hasOwnProperty("size")||void 0!==e.size)return e.size;if(gs(e)||os(e))return e.length;if("object"==typeof e)return Object.keys(e).length}(e):"first"===t?function(e){return gs(e)?e[0]:e.first}(e):"last"===t?function(e){return gs(e)?e[e.length-1]:e.last}(e):n}(Al=kl||(kl={}))[Al.OUTPUT=0]="OUTPUT",Al[Al.STORE=1]="STORE";const Cl=As(Math.abs),Il=As(Math.max),ql=As(Math.min),Pl=As(Math.ceil),Ml=As(((e,t,r=!1)=>r?Math.floor(e/t):e/t)),Ul=As(Math.floor),Fl=As(((e,t)=>e-t)),jl=As(((e,t)=>e%t)),zl=As(((e,t)=>e*t));var Hl=Object.freeze({__proto__:null,abs:Cl,at_least:Il,at_most:ql,ceil:Pl,divided_by:Ml,floor:Ul,minus:Fl,modulo:jl,times:zl,round:function(e,t=0){e=ds(e),t=ds(t);const r=Math.pow(10,t);return Math.round(e*r)/r},plus:function(e,t){return e=ds(e),t=ds(t),Number(e)+Number(t)}});var Vl=Object.freeze({__proto__:null,url_decode:e=>ps(e).split("+").map(decodeURIComponent).join(" "),url_encode:e=>ps(e).split(" ").map(encodeURIComponent).join("+")});const $l=As(((e,t)=>eo(e).join(void 0===t?" ":t))),Gl=As((e=>gs(e)?bs(e):"")),Wl=As((e=>gs(e)?e[0]:"")),Kl=As((e=>[...eo(e)].reverse()));function Xl(e,t=[]){return e=ds(e),t=eo(t).map((e=>ds(e))),eo(e).concat(t)}var Jl=Object.freeze({__proto__:null,join:$l,last:Gl,first:Wl,reverse:Kl,sort:function*(e,t){const r=[];for(const n of eo(ds(e)))r.push([n,t?yield this.context._getFromScope(n,ps(t).split("."),!1):n]);return r.sort(((e,t)=>{const r=e[1],n=t[1];return r<n?-1:r>n?1:0})).map((e=>e[0]))},sort_natural:function(e,t){e=ds(e);const r=ps(t),n=void 0===t?ks:(e,t)=>ks(e[r],t[r]);return[...eo(e)].sort(n)},size:e=>e&&e.length||0,map:function*(e,t){const r=[];for(const n of eo(ds(e)))r.push(yield this.context._getFromScope(n,ps(t),!1));return r},sum:function*(e,t){let r=0;for(const n of eo(ds(e))){const e=Number(t?yield this.context._getFromScope(n,ps(t),!1):n);r+=Number.isNaN(e)?0:e}return r},compact:function(e){return eo(e=ds(e)).filter((e=>!fs(ds(e))))},concat:Xl,push:function(e,t){return Xl(e,[t])},slice:function(e,t,r=1){return fs(e=ds(e))?[]:(gs(e)||(e=ps(e)),t=t<0?e.length+t:t,e.slice(t,t+r))},where:function*(e,t,r){const n=[];e=eo(ds(e));for(const i of e)n.push(yield this.context._getFromScope(i,ps(t).split("."),!1));return e.filter(((e,t)=>void 0===r?Go(n[t],this.context):$s(r)?r.equals(n[t]):n[t]===r))},uniq:function(e){e=ds(e);const t={};return(e||[]).filter((e=>!ss.call(t,String(e))&&(t[String(e)]=!0,!0)))},sample:function(e,t=1){if(fs(e=ds(e)))return[];gs(e)||(e=ps(e));const r=[...e].sort((()=>Math.random()-.5));return 1===t?r[0]:r.slice(0,t)}});function Yl(e,t){if(hs(t))return t;const r=new Date(e.toLocaleString("en-US",{timeZone:"UTC"})),n=new Date(e.toLocaleString("en-US",{timeZone:t}));return(r.getTime()-n.getTime())/6e4}var Ql=Object.freeze({__proto__:null,date:function(e,t,r){const n=this.context.opts;let i;return e=ds(e),t=fs(t=ds(t))?n.dateFormat:ps(t),i="now"===e||"today"===e?new Date:hs(e)?new Date(1e3*e):os(e)?/^\d+$/.test(e)?new Date(1e3*+e):n.preserveTimezones?go.createDateFixedToTimezone(e):new Date(e):e,function(e){return(e instanceof Date||e instanceof go)&&!isNaN(e.getTime())}(i)?(void 0!==r?i=new go(i,Yl(i,r)):i instanceof go||void 0===n.timezoneOffset||(i=new go(i,Yl(i,n.timezoneOffset))),function(e,t){let r,n="",i=t;for(;r=to.exec(i);)n+=i.slice(0,r.index),i=i.slice(r.index+r[0].length),n+=_o(e,r);return n+i}(i,t)):e}});var Zl=Object.freeze({__proto__:null,append:function(e,t){return js(2===arguments.length,"append expect 2 arguments"),ps(e)+ps(t)},prepend:function(e,t){return js(2===arguments.length,"prepend expect 2 arguments"),ps(t)+ps(e)},lstrip:function(e,t){return t?(t=Ts(ps(t)),ps(e).replace(new RegExp(`^[${t}]+`,"g"),"")):ps(e).replace(/^\s+/,"")},downcase:function(e){return ps(e).toLowerCase()},upcase:function(e){return ps(e).toUpperCase()},remove:function(e,t){return ps(e).split(String(t)).join("")},remove_first:function(e,t){return ps(e).replace(String(t),"")},remove_last:function(e,t){const r=ps(e),n=String(t),i=r.lastIndexOf(n);return-1===i?r:r.substring(0,i)+r.substring(i+n.length)},rstrip:function(e,t){return t?(t=Ts(ps(t)),ps(e).replace(new RegExp(`[${t}]+$`,"g"),"")):ps(e).replace(/\s+$/,"")},split:function(e,t){const r=ps(e).split(String(t));for(;r.length&&""===r[r.length-1];)r.pop();return r},strip:function(e,t){return t?(t=Ts(ps(t)),ps(e).replace(new RegExp(`^[${t}]+`,"g"),"").replace(new RegExp(`[${t}]+$`,"g"),"")):ps(e).trim()},strip_newlines:function(e){return ps(e).replace(/\r?\n/gm,"")},capitalize:function(e){return(e=ps(e)).charAt(0).toUpperCase()+e.slice(1).toLowerCase()},replace:function(e,t,r){return ps(e).split(String(t)).join(r)},replace_first:function(e,t,r){return ps(e).replace(String(t),r)},replace_last:function(e,t,r){const n=ps(e),i=String(t),a=n.lastIndexOf(i);if(-1===a)return n;const s=String(r);return n.substring(0,a)+s+n.substring(a+i.length)},truncate:function(e,t=50,r="..."){return(e=ps(e)).length<=t?e:e.substring(0,t-r.length)+r},truncatewords:function(e,t=15,r="..."){const n=ps(e).split(/\s+/);t<=0&&(t=1);let i=n.slice(0,t).join(" ");return n.length>=t&&(i+=r),i}});const eu=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},al),Hl),Vl),Jl),Ql),Zl),{json:el,raw:tl,default:function(e,t,...r){return gs(e=ds(e))||os(e)?e.length?e:t:(!1!==e||!new Map(r).get("allow_false"))&&(Wo(e,this.context)?t:e)}});const tu=["offset","limit","reversed"];function ru(e,t){if(t.options.dynamicPartials){const r=e.readValue();if(e.assert(r,"illegal file path"),"none"===r.getText())return;if(Ol(r)===wl.Quoted){return nu(t.parse(Vo(r)))}return r}const r=[...e.readFileNameTemplate(t.options)],n=nu(t.parser.parseTokens(r));return"none"===n?void 0:n}function nu(e){return 1===e.length&&Nl(e[0].token)?e[0].token.getContent():e}function*iu(e,t,r){return"string"==typeof e?e:Array.isArray(e)?r.renderer.renderTemplates(e,t):yield Ho(e,t)}class au extends Hs{constructor(e,t,r,n){super(e,r,n),this.length=e,this.cols=t}row(){return Math.floor(this.i/this.cols)+1}col0(){return this.i%this.cols}col(){return this.col0()+1}col_first(){return 0===this.col0()}col_last(){return this.col()===this.cols}}const su={assign:class extends _l{constructor(e,t,r){super(e,t,r),this.key=this.tokenizer.readIdentifier().content,this.tokenizer.assert(this.key,"expected variable name"),this.tokenizer.skipBlank(),this.tokenizer.assert("="===this.tokenizer.peek(),'expected "="'),this.tokenizer.advance(),this.value=new ml(this.tokenizer.readFilteredValue(),this.liquid)}*render(e){e.bottom()[this.key]=yield this.value.value(e,this.liquid.options.lenientIf)}},for:class extends _l{constructor(e,t,r){super(e,t,r);const n=this.tokenizer.readIdentifier(),i=this.tokenizer.readIdentifier(),a=this.tokenizer.readValue();if(!n.size()||"in"!==i.content||!a)throw new Error(`illegal tag: ${e.getText()}`);let s;this.variable=n.content,this.collection=a,this.hash=new fl(this.tokenizer.remaining()),this.templates=[],this.elseTemplates=[];const o=this.liquid.parser.parseStream(t).on("start",(()=>s=this.templates)).on("tag:else",(()=>s=this.elseTemplates)).on("tag:endfor",(()=>o.stop())).on("template",(e=>s.push(e))).on("end",(()=>{throw new Error(`tag ${e.getText()} not closed`)}));o.start()}*render(e,t){const r=this.liquid.renderer;let n=Zs(yield Ho(this.collection,e));if(!n.length)return void(yield r.renderTemplates(this.elseTemplates,e,t));const i="continue-"+this.variable+"-"+this.collection.getText();e.push({continue:e.getRegister(i)});const a=yield this.hash.render(e);e.pop();n=(this.liquid.options.orderedFilterParameters?Object.keys(a).filter((e=>tu.includes(e))):tu.filter((e=>void 0!==a[e]))).reduce(((e,t)=>{return"offset"===t?(r=e,n=a.offset,r.slice(n)):"limit"===t?function(e,t){return e.slice(0,t)}(e,a.limit):function(e){return[...e].reverse()}(e);var r,n}),n),e.setRegister(i,(a.offset||0)+n.length);const s={forloop:new Hs(n.length,this.collection.getText(),this.variable)};e.push(s);for(const o of n){if(s[this.variable]=o,yield r.renderTemplates(this.templates,e,t),t.break){t.break=!1;break}t.continue=!1,s.forloop.next()}e.pop()}},capture:class extends _l{constructor(e,t,r){for(super(e,t,r),this.templates=[],this.variable=this.readVariableName();t.length;){const e=t.shift();if(Rl(e)&&"endcapture"===e.name)return;this.templates.push(r.parser.parseToken(e,t))}throw new Error(`tag ${e.getText()} not closed`)}*render(e){const t=this.liquid.renderer,r=yield t.renderTemplates(this.templates,e);e.bottom()[this.variable]=r}readVariableName(){const e=this.tokenizer.readIdentifier().content;if(e)return e;const t=this.tokenizer.readQuoted();if(t)return Vo(t);throw this.tokenizer.error("invalid capture name")}},case:class extends _l{constructor(e,t,r){super(e,t,r),this.branches=[],this.elseTemplates=[],this.value=new ml(this.tokenizer.readFilteredValue(),this.liquid),this.elseTemplates=[];let n=[],i=0;const a=this.liquid.parser.parseStream(t).on("tag:when",(e=>{if(i>0)return;n=[];const t=[];for(;!e.tokenizer.end();)t.push(e.tokenizer.readValueOrThrow()),e.tokenizer.skipBlank(),","===e.tokenizer.peek()?e.tokenizer.readTo(","):e.tokenizer.readTo("or");this.branches.push({values:t,templates:n})})).on("tag:else",(()=>{i++,n=this.elseTemplates})).on("tag:endcase",(()=>a.stop())).on("template",(e=>{n===this.elseTemplates&&1!==i||n.push(e)})).on("end",(()=>{throw new Error(`tag ${e.getText()} not closed`)}));a.start()}*render(e,t){const r=this.liquid.renderer,n=ds(yield this.value.value(e,e.opts.lenientIf));let i=!1;for(const a of this.branches)for(const s of a.values){if(n===(yield Ho(s,e,e.opts.lenientIf))){yield r.renderTemplates(a.templates,e,t),i=!0;break}}i||(yield r.renderTemplates(this.elseTemplates,e,t))}},comment:class extends _l{constructor(e,t,r){for(super(e,t,r);t.length;){const e=t.shift();if(Rl(e)&&"endcomment"===e.name)return}throw new Error(`tag ${e.getText()} not closed`)}render(){}},include:class extends _l{constructor(e,t,r){super(e,t,r);const{tokenizer:n}=e;this.file=ru(n,this.liquid),this.currentFile=e.file;const i=n.p;"with"===n.readIdentifier().content?(n.skipBlank(),":"!==n.peek()?this.withVar=n.readValue():n.p=i):n.p=i,this.hash=new fl(n.remaining(),this.liquid.options.jekyllInclude)}*render(e,t){const{liquid:r,hash:n,withVar:i}=this,{renderer:a}=r,s=yield iu(this.file,e,r);js(s,(()=>`illegal file path "${s}"`));const o=e.saveRegister("blocks","blockMode");e.setRegister("blocks",{}),e.setRegister("blockMode",kl.OUTPUT);const l=yield n.render(e);i&&(l[s]=yield Ho(i,e));const u=yield r._parsePartialFile(s,e.sync,this.currentFile);e.push(e.opts.jekyllInclude?{include:l}:l),yield a.renderTemplates(u,e,t),e.pop(),e.restoreRegister(o)}},render:class extends _l{constructor(e,t,r){super(e,t,r);const n=this.tokenizer;for(this.file=ru(n,this.liquid),this.currentFile=e.file;!n.end();){n.skipBlank();const e=n.p,t=n.readIdentifier();if(("with"===t.content||"for"===t.content)&&(n.skipBlank(),":"!==n.peek())){const e=n.readValue();if(e){const r=n.p;let i;"as"===n.readIdentifier().content?i=n.readIdentifier():n.p=r,this[t.content]={value:e,alias:i&&i.content},n.skipBlank(),","===n.peek()&&n.advance();continue}}n.p=e;break}this.hash=new fl(n.remaining())}*render(e,t){const{liquid:r,hash:n}=this,i=yield iu(this.file,e,r);js(i,(()=>`illegal file path "${i}"`));const a=new Ll({},e.opts,{sync:e.sync,globals:e.globals,strictVariables:e.strictVariables}),s=a.bottom();if(Xs(s,yield n.render(e)),this.with){const{value:t,alias:r}=this.with;s[r||i]=yield Ho(t,e)}if(this.for){const{value:n,alias:o}=this.for,l=Zs(yield Ho(n,e));s.forloop=new Hs(l.length,n.getText(),o);for(const e of l){s[o]=e;const n=yield r._parsePartialFile(i,a.sync,this.currentFile);yield r.renderer.renderTemplates(n,a,t),s.forloop.next()}}else{const e=yield r._parsePartialFile(i,a.sync,this.currentFile);yield r.renderer.renderTemplates(e,a,t)}}},decrement:class extends _l{constructor(e,t,r){super(e,t,r),this.variable=this.tokenizer.readIdentifier().content}render(e,t){const r=e.environments;hs(r[this.variable])||(r[this.variable]=0),t.write(ps(--r[this.variable]))}},increment:class extends _l{constructor(e,t,r){super(e,t,r),this.variable=this.tokenizer.readIdentifier().content}render(e,t){const r=e.environments;hs(r[this.variable])||(r[this.variable]=0);const n=r[this.variable];r[this.variable]++,t.write(ps(n))}},cycle:class extends _l{constructor(e,t,r){super(e,t,r),this.candidates=[];const n=this.tokenizer.readValue();for(this.tokenizer.skipBlank(),n&&(":"===this.tokenizer.peek()?(this.group=n,this.tokenizer.advance()):this.candidates.push(n));!this.tokenizer.end();){const e=this.tokenizer.readValue();e&&this.candidates.push(e),this.tokenizer.readTo(",")}this.tokenizer.assert(this.candidates.length,(()=>`empty candidates: "${e.getText()}"`))}*render(e,t){const r=`cycle:${yield Ho(this.group,e)}:`+this.candidates.join(","),n=e.getRegister("cycle");let i=n[r];void 0===i&&(i=n[r]=0);const a=this.candidates[i];return i=(i+1)%this.candidates.length,n[r]=i,yield Ho(a,e)}},if:class extends _l{constructor(e,t,r){super(e,t,r),this.branches=[],this.elseTemplates=[];let n=[],i=0;r.parser.parseStream(t).on("start",(()=>this.branches.push({value:new ml(e.args,this.liquid),templates:n=[]}))).on("tag:elsif",(e=>{i>0?n=[]:this.branches.push({value:new ml(e.args,this.liquid),templates:n=[]})})).on("tag:else",(()=>{i++,n=this.elseTemplates})).on("tag:endif",(function(){this.stop()})).on("template",(e=>{n===this.elseTemplates&&1!==i||n.push(e)})).on("end",(()=>{throw new Error(`tag ${e.getText()} not closed`)})).start()}*render(e,t){const r=this.liquid.renderer;for(const{value:n,templates:i}of this.branches){if(Go(yield n.value(e,e.opts.lenientIf),e))return void(yield r.renderTemplates(i,e,t))}yield r.renderTemplates(this.elseTemplates,e,t)}},layout:class extends _l{constructor(e,t,r){super(e,t,r),this.file=ru(this.tokenizer,this.liquid),this.currentFile=e.file,this.args=new fl(this.tokenizer.remaining()),this.templates=this.liquid.parser.parseTokens(t)}*render(e,t){const{liquid:r,args:n,file:i}=this,{renderer:a}=r;if(void 0===i)return e.setRegister("blockMode",kl.OUTPUT),void(yield a.renderTemplates(this.templates,e,t));const s=yield iu(this.file,e,r);js(s,(()=>`illegal file path "${s}"`));const o=yield r._parseLayoutFile(s,e.sync,this.currentFile);e.setRegister("blockMode",kl.STORE);const l=yield a.renderTemplates(this.templates,e),u=e.getRegister("blocks");void 0===u[""]&&(u[""]=(e,t)=>t.write(l)),e.setRegister("blockMode",kl.OUTPUT),e.push(yield n.render(e)),yield a.renderTemplates(o,e,t),e.pop()}},block:class extends _l{constructor(e,t,r){super(e,t,r),this.templates=[];const n=/\w+/.exec(e.args);for(this.block=n?n[0]:"";t.length;){const e=t.shift();if(Rl(e)&&"endblock"===e.name)return;const n=r.parser.parseToken(e,t);this.templates.push(n)}throw new Error(`tag ${e.getText()} not closed`)}*render(e,t){const r=this.getBlockRender(e);e.getRegister("blockMode")===kl.STORE?e.getRegister("blocks")[this.block]=r:yield r(new Vs,t)}getBlockRender(e){const{liquid:t,templates:r}=this,n=e.getRegister("blocks")[this.block],i=function*(n,i){e.push({block:n}),yield t.renderer.renderTemplates(r,e,i),e.pop()};return n?(e,t)=>n(new Vs((()=>i(e,t))),t):i}},raw:class extends _l{constructor(e,t,r){for(super(e,t,r),this.tokens=[];t.length;){const e=t.shift();if(Rl(e)&&"endraw"===e.name)return;this.tokens.push(e)}throw new Error(`tag ${e.getText()} not closed`)}render(){return this.tokens.map((e=>e.getText())).join("")}},tablerow:class extends _l{constructor(e,t,r){super(e,t,r);const n=this.tokenizer.readIdentifier();this.tokenizer.skipBlank();const i=this.tokenizer.readIdentifier(),a=this.tokenizer.readValue();if("in"!==i.content||!a)throw new Error(`illegal tag: ${e.getText()}`);let s;this.variable=n.content,this.collection=a,this.args=new fl(this.tokenizer.remaining()),this.templates=[];const o=this.liquid.parser.parseStream(t).on("start",(()=>s=this.templates)).on("tag:endtablerow",(()=>o.stop())).on("template",(e=>s.push(e))).on("end",(()=>{throw new Error(`tag ${e.getText()} not closed`)}));o.start()}*render(e,t){let r=Zs(yield Ho(this.collection,e));const n=yield this.args.render(e),i=n.offset||0,a=void 0===n.limit?r.length:n.limit;r=r.slice(i,i+a);const s=n.cols||r.length,o=this.liquid.renderer,l=new au(r.length,s,this.collection.getText(),this.variable),u={tablerowloop:l};e.push(u);for(let c=0;c<r.length;c++,l.next())u[this.variable]=r[c],0===l.col0()&&(1!==l.row()&&t.write("</tr>"),t.write(`<tr class="row${l.row()}">`)),t.write(`<td class="col${l.col()}">`),yield o.renderTemplates(this.templates,e,t),t.write("</td>");r.length&&t.write("</tr>"),e.pop()}},unless:class extends _l{constructor(e,t,r){super(e,t,r),this.branches=[],this.elseTemplates=[];let n=[],i=0;this.liquid.parser.parseStream(t).on("start",(()=>this.branches.push({value:new ml(e.args,this.liquid),test:Wo,templates:n=[]}))).on("tag:elsif",(e=>{i>0?n=[]:this.branches.push({value:new ml(e.args,this.liquid),test:Go,templates:n=[]})})).on("tag:else",(()=>{i++,n=this.elseTemplates})).on("tag:endunless",(function(){this.stop()})).on("template",(e=>{n===this.elseTemplates&&1!==i||n.push(e)})).on("end",(()=>{throw new Error(`tag ${e.getText()} not closed`)})).start()}*render(e,t){const r=this.liquid.renderer;for(const{value:n,test:i,templates:a}of this.branches){if(i(yield n.value(e,e.opts.lenientIf),e))return void(yield r.renderTemplates(a,e,t))}yield r.renderTemplates(this.elseTemplates,e,t)}},break:class extends _l{render(e,t){t.break=!0}},continue:class extends _l{render(e,t){t.continue=!0}},echo:class extends _l{constructor(e,t,r){super(e,t,r),this.tokenizer.skipBlank(),this.tokenizer.end()||(this.value=new ml(this.tokenizer.readFilteredValue(),this.liquid))}*render(e,t){if(!this.value)return;const r=yield this.value.value(e,!1);t.write(r)}},liquid:class extends _l{constructor(e,t,r){super(e,t,r);const n=this.tokenizer.readLiquidTagTokens(this.liquid.options);this.templates=this.liquid.parser.parseTokens(n)}*render(e,t){yield this.liquid.renderer.renderTemplates(this.templates,e,t)}},"#":class extends _l{constructor(e,t,r){if(super(e,t,r),-1!==e.args.search(/\n\s*[^#\s]/g))throw new Error("every line of an inline comment must start with a '#' character")}render(){}}};class ou{constructor(e={}){this.renderer=new jo,this.filters={},this.tags={},this.options=ol(e),this.parser=new Dl(this),ms(su,((e,t)=>this.registerTag(t,e))),ms(eu,((e,t)=>this.registerFilter(t,e)))}parse(e,t){return this.parser.parse(e,t)}_render(e,t,r){const n=t instanceof Ll?t:new Ll(t,this.options,r);return this.renderer.renderTemplates(e,n)}render(e,t,r){return Js(this,0,void 0,(function*(){return Ys(this._render(e,t,Object.assign(Object.assign({},r),{sync:!1})))}))}renderSync(e,t,r){return Qs(this._render(e,t,Object.assign(Object.assign({},r),{sync:!0})))}renderToNodeStream(e,t,r={}){const n=new Ll(t,this.options,r);return this.renderer.renderTemplatesToNodeStream(e,n)}_parseAndRender(e,t,r){const n=this.parse(e);return this._render(n,t,r)}parseAndRender(e,t,r){return Js(this,0,void 0,(function*(){return Ys(this._parseAndRender(e,t,Object.assign(Object.assign({},r),{sync:!1})))}))}parseAndRenderSync(e,t,r){return Qs(this._parseAndRender(e,t,Object.assign(Object.assign({},r),{sync:!0})))}_parsePartialFile(e,t,r){return this.parser.parseFile(e,t,xl.Partials,r)}_parseLayoutFile(e,t,r){return this.parser.parseFile(e,t,xl.Layouts,r)}_parseFile(e,t,r,n){return this.parser.parseFile(e,t,r,n)}parseFile(e,t){return Js(this,0,void 0,(function*(){return Ys(this.parser.parseFile(e,!1,t))}))}parseFileSync(e,t){return Qs(this.parser.parseFile(e,!0,t))}*_renderFile(e,t,r){const n=yield this._parseFile(e,r.sync,r.lookupType);return yield this._render(n,t,r)}renderFile(e,t,r){return Js(this,0,void 0,(function*(){return Ys(this._renderFile(e,t,Object.assign(Object.assign({},r),{sync:!1})))}))}renderFileSync(e,t,r){return Qs(this._renderFile(e,t,Object.assign(Object.assign({},r),{sync:!0})))}renderFileToNodeStream(e,t,r){return Js(this,0,void 0,(function*(){const n=yield this.parseFile(e);return this.renderToNodeStream(n,t,r)}))}_evalValue(e,t){const r=new ml(e,this),n=t instanceof Ll?t:new Ll(t,this.options);return r.value(n)}evalValue(e,t){return Js(this,0,void 0,(function*(){return Ys(this._evalValue(e,t))}))}evalValueSync(e,t){return Qs(this._evalValue(e,t))}registerFilter(e,t){this.filters[e]=t}registerTag(e,t){var r;this.tags[e]=ls(t)?t:(r=t,class extends _l{constructor(e,t,n){super(e,t,n),ls(r.parse)&&r.parse.call(this,e,t)}*render(e,t){const n=yield new fl(this.token.args).render(e);return yield r.render.call(this,e,t,n)}})}plugin(e){return e.call(this,ou)}express(){const e=this;let t=!0;return function(r,n,i){if(t){t=!1;const r=ll(this.root);e.options.root.unshift(...r),e.options.layouts.unshift(...r),e.options.partials.unshift(...r)}e.renderFile(r,n).then((e=>i(null,e)),i)}}}const lu=/{{([\s\S]+?)}}/;class uu extends Ln{generateIterationTemplate(e,t){return h.createElement(h.Fragment,null,h.createElement(ri,null,`\n \x3c!-- htmlmin:ignore --\x3e\n {% for ${e.itemName} in ${e.dataSource} ${e.limit?`limit:${e.limit}`:""} %}\n \x3c!-- htmlmin:ignore --\x3e\n `),t,h.createElement(ri,null," \x3c!-- htmlmin:ignore --\x3e{% endfor %} \x3c!-- htmlmin:ignore --\x3e"))}generateConditionTemplate(e,t,r){if("string"==typeof e)return h.createElement(h.Fragment,null,h.createElement(ri,null,`\n \x3c!-- htmlmin:ignore --\x3e{% if ${e} %}\x3c!-- htmlmin:ignore --\x3e\n `),t,h.createElement(ri,null,"\x3c!-- htmlmin:ignore --\x3e{% else %}\x3c!-- htmlmin:ignore --\x3e"),r,h.createElement(ri,null,"\x3c!-- htmlmin:ignore --\x3e{% endif %} \x3c!-- htmlmin:ignore --\x3e"));const{symbol:n,groups:i}=e,a=e=>{return e.operator===Ya.TRUTHY?e.left:e.operator===Ya.FALSY?e.left+" == nil"||e.left+" == false":e.operator===Ya.EMPTY?e.left+" == empty":e.operator===Ya.NOT_EMPTY?e.left+" not empty":e.left+" "+e.operator+" "+("number"!=typeof(t=e.right)&&"string"!=typeof t||isNaN(Number(t))?`"${Kt.encode(e.right)}"`:e.right);var t},s=+new Date,o=i.map(((e,t)=>`con_${t}_${s}`)),l=i.map(((e,t)=>`{% assign ${o[t]} = ${e.groups.map(a).join(` ${e.symbol} `)} %}`)).join("\n"),u=o.join(` ${n} `);return h.createElement(h.Fragment,null,h.createElement(ri,null,`\n \x3c!-- htmlmin:ignore --\x3e\n ${l}\n {% if ${u} %}\n \x3c!-- htmlmin:ignore --\x3e\n `),t,h.createElement(ri,null,"\n \x3c!-- htmlmin:ignore --\x3e\n {% endif %}\n \x3c!-- htmlmin:ignore --\x3e\n "))}generateVariable(e,t){return t?`{{ ${e}| default: "${Kt.encode(t)}" }}`:`{{ ${e} }}`}isVariable(e){return lu.test(e)}renderWithData(e,t){const r=new ou;r.plugin((function(){this.registerFilter("title_case",(e=>d.startCase(e))),this.registerFilter("chunk",((e,t=1)=>d.chunk(e,t))),this.registerFilter("arr_filter",((e,t,...r)=>e?e.filter((e=>r.includes(e[t]))):null)),this.registerFilter("arr_filter_sort",((e,t,...r)=>e&&r?r.map((r=>e.find((e=>d.get(e,t)===r)))).filter(Boolean):null)),this.registerFilter("arr_slice",((e,t,r)=>e?e.slice(t,r):null)),this.registerFilter("date",(e=>ts(e).format("MMM DD, YY"))),this.registerFilter("money",(e=>{const r=d.get(t,"shop.money_in_emails_format","");return r?this.parseAndRenderSync(r,{amount:Number(e).toFixed(2)}):e})),this.registerFilter("money_with_currency",(e=>{const r=d.get(t,"shop.money_with_currency_in_emails_format","");return r?this.parseAndRenderSync(r,{amount:Number(e).toFixed(2)}):e})),this.registerFilter("money_without_currency",(e=>Number(e).toFixed(2))),this.registerFilter("money_without_trailing_zeros",(e=>{const r=d.get(t,"shop.money_in_emails_format","");return r?this.parseAndRenderSync(r,{amount:Number(e)}):e})),this.registerFilter("img_url",(e=>d.get(e,"image")||d.get(e,"src")||"")),this.registerFilter("format_address",(e=>e)),this.registerFilter("payment_type_img_url",(e=>e))}));const n=r.parse(e);return r.renderSync(n,t)}}function cu(e){const{desktop:t,mobile:r}=e,n=Sn(),{displayMode:i="desktop-mobile"}=n;return"only-desktop"===i?h.createElement(Nn,l(o({},n),{displayMode:"only-desktop"}),h.createElement(h.Fragment,null,h.createElement(t,null))):"only-mobile"===i?h.createElement(h.Fragment,null,"production"===n.mode&&h.createElement(ri,null,"\x3c!-- htmlmin:ignore --\x3e\x3c!--[if !mso]>\x3c!--\x3e\x3c!-- htmlmin:ignore --\x3e"),h.createElement(Nn,l(o({},n),{displayMode:"only-mobile"}),h.createElement(h.Fragment,null,h.createElement(r,null))),"production"===n.mode&&h.createElement(ri,null,"\x3c!-- htmlmin:ignore --\x3e\x3c!--<![endif]--\x3e\x3c!-- htmlmin:ignore --\x3e")):h.createElement(h.Fragment,null,h.createElement(Nn,l(o({},n),{displayMode:"only-desktop"}),h.createElement(h.Fragment,null,h.createElement(t,null))),"production"===n.mode&&h.createElement(ri,null,"\x3c!-- htmlmin:ignore --\x3e\x3c!--[if !mso]>\x3c!--\x3e\x3c!-- htmlmin:ignore --\x3e"),h.createElement(Nn,l(o({},n),{displayMode:"only-mobile"}),h.createElement(h.Fragment,null,h.createElement(r,null))),"production"===n.mode&&h.createElement(ri,null,"\x3c!-- htmlmin:ignore --\x3e\x3c!--<![endif]--\x3e\x3c!-- htmlmin:ignore --\x3e"))}const pu="hide-desktop-block",du="hide-mobile-block",hu="hide-desktop-inline-block",_u="hide-mobile-inline-block",fu=[Lt.GROUP,Lt.COLUMN,Lt.NAVBAR_LINK];class gu extends On{constructor(){super(...arguments),c(this,"generateResponsive",(e=>{const{mode:t,displayMode:r,node:n,keepEmptyAttributes:i,mergetagsData:a={},children:s,context:u,idx:c,outputFormat:p}=e,_=Ja.getBlockByType(n.type);if(!_)throw new Error(`${n.type} block is not registered`);const f=n.mobileAttributes&&Object.keys(n.mobileAttributes).some((e=>void 0!==n.mobileAttributes[e]&&n.mobileAttributes[e]!==n.attributes[e])),m=fu.includes(_.type)?hu:pu,y=fu.includes(_.type)?_u:du,x=d.get(n,"attributes.css-class")||"";if("only-desktop"===r){if("mobile"===n.visible)return null;if(x.includes(m))return null;x.includes(y)||d.set(n,"attributes.css-class",g(x,y))}else if("only-mobile"===r){if(x.includes(y))return null;x.includes(m)||d.set(n,"attributes.css-class",g(x,m))}const v=o({},_.defaultData.attributes);if(v&&(d.get(n.attributes,"padding","").trim()&&(delete v.padding,delete v["padding-top"],delete v["padding-bottom"],delete v["padding-left"],delete v["padding-right"]),d.get(n.attributes,"inner-padding","").trim()&&(delete v["inner-padding"],delete v["inner-padding-top"],delete v["inner-padding-bottom"],delete v["inner-padding-left"],delete v["inner-padding-right"])),"only-mobile"===r){if("desktop"===n.visible)return null;n.attributes=b(b(v),n.attributes)}else n.attributes=b(v,n.attributes);"desktop"===n.visible?d.set(n,"attributes.css-class",g(x,y)):"mobile"===n.visible&&d.set(n,"attributes.css-class",g(x,m)),n.visible;const w="desktop"===n.visible?null:_.render({mode:t,children:s,context:u,idx:c,node:l(o({},n),{attributes:b(n.attributes,n.mobileAttributes),mobileAttributes:void 0}),keepEmptyAttributes:i,mergetagsData:a,displayMode:r,outputFormat:p}),E=_.render(l(o({},e),{mode:t,children:s,context:u,idx:c,node:n,keepEmptyAttributes:i,mergetagsData:a}));let k=E;return f&&(k=h.createElement(h.Fragment,null,h.createElement(cu,{desktop:()=>h.createElement(h.Fragment,null,E),mobile:()=>h.createElement(h.Fragment,null,w)}))),k}))}}const mu={Text:{align:"enum(left,right,center,justify)","background-color":"color",color:"color","container-background-color":"color","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string",height:"unit(px,%)","letter-spacing":"unitWithNegative(px,em)","line-height":"unit(px,%,)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}","text-decoration":"string","text-transform":"string","vertical-align":"enum(top,bottom,middle)"},Section:{"background-color":"color","background-url":"string","background-repeat":"enum(repeat,no-repeat)","background-size":"string","background-position":"string","background-position-x":"string","background-position-y":"string",border:"string","border-bottom":"string","border-left":"string","border-radius":"string","border-right":"string","border-top":"string",direction:"enum(ltr,rtl)","full-width":"enum(full-width,false,)",padding:"unit(px,%){1,4}","padding-top":"unit(px,%)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","text-align":"enum(left,center,right)"},Column:{"background-color":"color",border:"string","border-bottom":"string","border-left":"string","border-radius":"unit(px,%){1,4}","border-right":"string","border-top":"string",direction:"enum(ltr,rtl)","inner-background-color":"color","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)","inner-border":"string","inner-border-bottom":"string","inner-border-left":"string","inner-border-radius":"unit(px,%){1,4}","inner-border-right":"string","inner-border-top":"string",padding:"unit(px,%){1,4}","vertical-align":"enum(top,bottom,middle)",width:"unit(px,%)"},Button:{align:"enum(left,center,right)","background-color":"color","border-bottom":"string","border-left":"string","border-radius":"string","border-right":"string","border-top":"string",border:"string",color:"color","container-background-color":"color","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string",height:"unit(px,%)",href:"string",name:"string",title:"string","inner-padding":"unit(px,%){1,4}","letter-spacing":"unitWithNegative(px,em)","line-height":"unit(px,%,)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}",rel:"string",target:"string","text-decoration":"string","text-transform":"string","vertical-align":"enum(top,bottom,middle)","text-align":"enum(left,right,center)",width:"unit(px,%)"},Divider:{"border-color":"color","border-style":"string","border-width":"unit(px)","container-background-color":"color",padding:"unit(px,%){1,4}","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",width:"unit(px,%)",align:"enum(left,center,right)"},Group:{"background-color":"color",direction:"enum(ltr,rtl)","vertical-align":"enum(top,bottom,middle)",width:"unit(px,%)"},Hero:{mode:"string",height:"unit(px,%)","background-url":"string","background-width":"unit(px,%)","background-height":"unit(px,%)","background-position":"string","border-radius":"string","container-background-color":"color","inner-background-color":"color","inner-padding":"unit(px,%){1,4}","inner-padding-top":"unit(px,%)","inner-padding-left":"unit(px,%)","inner-padding-right":"unit(px,%)","inner-padding-bottom":"unit(px,%)",padding:"unit(px,%){1,4}","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)","background-color":"color","vertical-align":"enum(top,bottom,middle)"},Image:{alt:"string",href:"string",name:"string",src:"string",srcset:"string",sizes:"string",title:"string",rel:"string",align:"enum(left,center,right)",border:"string","border-bottom":"string","border-left":"string","border-right":"string","border-top":"string","border-radius":"unit(px,%){1,4}","container-background-color":"color","fluid-on-mobile":"boolean",padding:"unit(px,%){1,4}","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",target:"string",width:"unit(px)",height:"unit(px,auto)","max-height":"unit(px,%)","font-size":"unit(px)",usemap:"string"},Navbar:{align:"enum(left,center,right)","base-url":"string",hamburger:"string","container-background-color":"color","ico-align":"enum(left,center,right)","ico-open":"string","ico-close":"string","ico-color":"color","ico-font-size":"unit(px,%)","ico-font-family":"string","ico-text-transform":"string","ico-padding":"unit(px,%){1,4}","ico-padding-left":"unit(px,%)","ico-padding-top":"unit(px,%)","ico-padding-right":"unit(px,%)","ico-padding-bottom":"unit(px,%)",padding:"unit(px,%){1,4}","padding-left":"unit(px,%)","padding-top":"unit(px,%)","padding-right":"unit(px,%)","padding-bottom":"unit(px,%)","ico-text-decoration":"string","ico-line-height":"unit(px,%,)"},NavbarLink:{color:"color","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string",href:"string",name:"string",target:"string",rel:"string","letter-spacing":"unitWithNegative(px,em)","line-height":"unit(px,%,)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}","text-decoration":"string","text-transform":"string"},Social:{align:"enum(left,right,center)","border-radius":"unit(px,%)","container-background-color":"color",color:"color","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string","icon-size":"unit(px,%)","icon-height":"unit(px,%)","icon-padding":"unit(px,%){1,4}","inner-padding":"unit(px,%){1,4}","line-height":"unit(px,%,)",mode:"enum(horizontal,vertical)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}","table-layout":"enum(auto,fixed)","text-padding":"unit(px,%){1,4}","text-decoration":"string","vertical-align":"enum(top,bottom,middle)"},SocialElement:{align:"enum(left,center,right)","background-color":"color",color:"color","border-radius":"unit(px)","font-family":"string","font-size":"unit(px)","font-style":"string","font-weight":"string",href:"string","icon-size":"unit(px,%)","icon-height":"unit(px,%)","icon-padding":"unit(px,%){1,4}","line-height":"unit(px,%,)",name:"string","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}","text-padding":"unit(px,%){1,4}",rel:"string",src:"string",srcset:"string",sizes:"string",alt:"string",title:"string",target:"string","text-decoration":"string","vertical-align":"enum(top,middle,bottom)"},Spacer:{border:"string","border-bottom":"string","border-left":"string","border-right":"string","border-top":"string","container-background-color":"color","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}",height:"unit(px,%)"},Raw:{},Table:{align:"enum(left,right,center)",border:"string",cellpadding:"integer",cellspacing:"integer","container-background-color":"color",color:"color","font-family":"string","font-size":"unit(px)","font-weight":"string","line-height":"unit(px,%,)","padding-bottom":"unit(px,%)","padding-left":"unit(px,%)","padding-right":"unit(px,%)","padding-top":"unit(px,%)",padding:"unit(px,%){1,4}",role:"enum(none,presentation)","table-layout":"enum(auto,fixed,initial,inherit)","vertical-align":"enum(top,bottom,middle)",width:"unit(px,%)"}},bu=["mj-class","css-class"],yu=(e,t)=>{switch(e.type){case Lt.TEXT:return xu(e.attributes,mu.Text);case Lt.WRAPPER:case Lt.SECTION:return xu(e.attributes,mu.Section);case Lt.COLUMN:return xu(e.attributes,mu.Column);case Lt.BUTTON:return xu(e.attributes,mu.Button);case Lt.DIVIDER:return xu(e.attributes,mu.Divider);case Lt.GROUP:return xu(e.attributes,mu.Group);case Lt.HERO:return xu(e.attributes,mu.Hero);case Lt.IMAGE:return xu(e.attributes,mu.Image);case Lt.NAVBAR:return xu(e.attributes,mu.Navbar);case Lt.NAVBAR_LINK:return xu(e.attributes,mu.NavbarLink);case Lt.SOCIAL:return xu(e.attributes,mu.Social);case Lt.SOCIAL_ELEMENT:return xu(e.attributes,mu.SocialElement);case Lt.SPACER:return xu(e.attributes,mu.Spacer);case Lt.RAW:return"production"===t?d.omit(xu(e.attributes,mu.Raw),"css-class"):e.attributes}return e.attributes},xu=(e,t)=>d.pickBy(e,((e,r)=>!!bu.includes(r)||Object.keys(t).includes(r))),vu=["padding","mode"];function wu(e,t){var r,n;const{node:i}=e,a=null!=(r=null==t?void 0:t.keepEmptyAttributes)&&r,s=null!=(n=null==t?void 0:t.removeDefaultAttributes)&&n,l=o({},yu(i,null==t?void 0:t.mode)),u=Ja.getBlockByType(i.type).defaultData.attributes;let c="";for(const o in l){const e=o;let t=l[e];d.isString(t)&&(t=null==t?void 0:t.trim());const r=Object.values(Nt).includes(i.type);if((!s||!r||u[e]!==t||vu.includes(e))&&(d.isString(t)&&(t=t.trim(),a||t))){const e=" ";c+=`${o}="${t.replace(/"/gm,"").trim()}"`+e}}return c}const Eu=e=>{const t=Array.from(e.childNodes).filter((e=>e.nodeType!==Node.COMMENT_NODE));if(!t.some((e=>e.nodeType===Node.ELEMENT_NODE&&ku({item:e}))))return t;const r=[],n=function(e){const t=[];let r=null;const n=Array.from(e.childNodes).filter((e=>e.nodeType!==Node.COMMENT_NODE));for(const i of n){let e="inline";i.nodeType===Node.ELEMENT_NODE&&ku({item:i})&&(e="block"),r&&r.display===e||(r={display:e,children:[]},t.push(r)),r.children.push(i)}return t}(e),i=[];n.forEach((e=>{if("inline"===e.display){const t=document.createElement("div");e.children.forEach((e=>{var r;(null==(r=e.textContent)?void 0:r.trim())&&t.appendChild(e)})),t.childNodes.length>0&&i.push(t)}else i.push(...e.children)})),i.forEach(((e,t)=>{if(e instanceof HTMLBRElement){i[t-1]instanceof HTMLBRElement||r.push(t)}})),r.reverse().forEach((e=>{i.splice(e,1)}));const a=document.createElement("div");return a.replaceChildren(...i.map((e=>e.cloneNode(!0)))),Array.from(a.childNodes)},ku=({item:e})=>e instanceof Element&&Mt.includes(e.tagName.toLowerCase()),Au=e=>{const t=document.createElement("div");return t.innerHTML=e,Eu(t).map((e=>Tu(e)))},Tu=e=>{var t,r,n,i;if(e.nodeType===Node.TEXT_NODE){let a=e.textContent||"";return 1===(null==(t=e.parentElement)?void 0:t.childNodes.length)&&e.parentElement.textContent===e.textContent&&(a=e.parentElement.innerHTML.replace(/ /gi," ")||""),a=(null==a?void 0:a.replace(/(?:(?!\u00A0|\xA0)\s)+/g," ").replace(/\n/g,""))||"",e.previousSibling instanceof HTMLBRElement&&(a=a.replace(/^ /,"")),1===(null==(r=e.parentElement)?void 0:r.childNodes.length)&&((null==(n=e.parentElement)?void 0:n.previousSibling)instanceof HTMLBRElement||(null==(i=e.parentElement)?void 0:i.previousSibling)instanceof HTMLDivElement)&&(a=a.replace(/^ /,"")),{text:a}}if(e.nodeType===Node.ELEMENT_NODE&&e instanceof Element){const t={};e.getAttributeNames().forEach((r=>{let n=d.camelCase(r);"class"===n&&(n="className"),t[n]=e.getAttribute(r)||""}));const r=e.tagName.toLowerCase();if("img"===r)return Ja.getBlockByType(Lt.HTML_NODE).create({attributes:t,data:{tagName:"img"},children:[{text:""}]});if("a"===r&&0===e.children.length&&1===e.childNodes.length)return{text:(e.textContent||"").trim(),link:{href:e.getAttribute("href")||"",blank:"_blank"===e.getAttribute("target")}};let n=Eu(e).map((e=>Tu(e)));0===n.length&&n.push({text:""});const i=n[0];return"div"===r&&1===n.length&&Qt.isTextNode(i)&&" "===i.text&&(n=[{text:""}]),Mt.includes(r)?Ja.getBlockByType(Lt.HTML_BLOCK_NODE).create({attributes:t,data:{tagName:r},children:n}):Ja.getBlockByType(Lt.HTML_NODE).create({attributes:t,data:{tagName:r},children:n})}throw console.log("Invalid Node",e),new Error("Invalid node")},Du={text:Lt.STANDARD_PARAGRAPH,button:Lt.STANDARD_BUTTON,image:Lt.STANDARD_IMAGE,divider:Lt.STANDARD_DIVIDER,spacer:Lt.STANDARD_SPACER,social:Lt.STANDARD_SOCIAL,navbar:Lt.STANDARD_NAVBAR,wrapper:Lt.STANDARD_WRAPPER,section:Lt.STANDARD_SECTION,group:Lt.STANDARD_GROUP,column:Lt.STANDARD_COLUMN,advanced_text:Lt.STANDARD_TEXT,advanced_button:Lt.STANDARD_BUTTON,advanced_image:Lt.STANDARD_IMAGE,advanced_divider:Lt.STANDARD_DIVIDER,advanced_hero:Lt.STANDARD_HERO,advanced_spacer:Lt.STANDARD_SPACER,advanced_social:Lt.STANDARD_SOCIAL,advanced_navbar:Lt.STANDARD_NAVBAR,advanced_wrapper:Lt.STANDARD_WRAPPER,advanced_section:Lt.STANDARD_SECTION,advanced_group:Lt.STANDARD_GROUP,advanced_column:Lt.STANDARD_COLUMN},Su=(e,t)=>{var r,n,i,a;let s,l,u=e.children.map((t=>Su(t,e)));if(e.data.value.content&&(u=Au(e.data.value.content)),"navbar"===e.type||"advanced_navbar"===e.type){u=e.data.value.links.map((e=>{const t=Au(e.content);return Ja.getBlockByType(Lt.STANDARD_NAVBAR_LINK).create({attributes:o({},d.omit(e,"content")),children:0===t.length?[{text:""}]:t})}))}if("social"===e.type||"advanced_social"===e.type){u=e.data.value.elements.map((e=>{const t=Au(e.content);return Ja.getBlockByType(Lt.STANDARD_SOCIAL_ELEMENT).create({attributes:o({},d.omit(e,"content")),children:0===t.length?[{text:""}]:t})}))}0===u.length&&(u=[{text:""}]),"desktop"===e.displayMode?s="desktop":"mobile"===e.displayMode&&(s="mobile"),(null==(r=e.data.value)?void 0:r.condition)&&(l||(l={}),l.condition=null==(n=e.data.value)?void 0:n.condition),(null==(i=e.data.value)?void 0:i.iteration)&&(l||(l={}),l.iteration=null==(a=e.data.value)?void 0:a.iteration);const c={type:Du[e.type]||e.type,attributes:d.pickBy(e.attributes,(e=>!d.isUndefined(e)&&""!==e.trim())),mobileAttributes:e.mobileAttributes?d.pickBy(e.mobileAttributes,(e=>!d.isUndefined(e)&&""!==e.trim())):void 0,data:d.omit(e.data.value,"content"),children:u,visible:s,logic:l},p=d.get(c.attributes,"padding"),h=d.get(c.attributes,"inner-padding");if(p){const e=document.createElement("div");e.style.setProperty("padding",p),d.set(c.attributes,"padding-top",e.style.paddingTop),d.set(c.attributes,"padding-bottom",e.style.paddingBottom),d.set(c.attributes,"padding-left",e.style.paddingLeft),d.set(c.attributes,"padding-right",e.style.paddingRight)}if(h){const e=document.createElement("div");e.style.setProperty("padding",h),d.set(c.attributes,"inner-padding-top",e.style.paddingTop),d.set(c.attributes,"inner-padding-bottom",e.style.paddingBottom),d.set(c.attributes,"inner-padding-left",e.style.paddingLeft),d.set(c.attributes,"inner-padding-right",e.style.paddingRight)}if([Lt.STANDARD_HERO,Lt.STANDARD_SECTION].includes(c.type)&&(c.attributes["background-image-enabled"]=!0),[Lt.STANDARD_BUTTON,Lt.STANDARD_IMAGE,Lt.STANDARD_SECTION].includes(c.type)){const e=document.createElement("div");e.style.setProperty("border",c.attributes.border),(c.attributes.border&&"none"!==c.attributes.border.trim()||c.attributes["border-width"])&&(c.attributes["border-width"]=e.style.getPropertyValue("border-width"),c.attributes["border-style"]=e.style.getPropertyValue("border-style"),c.attributes["border-color"]=e.style.getPropertyValue("border-color"),c.attributes["border-enabled"]=!0,delete c.attributes.border)}const _=d.pickBy(c,d.identity);return["advanced_text","advanced_image","advanced_divider","advanced_spacer","advanced_button","advanced_navbar","advanced_social","advanced_social"].includes(e.type)&&t&&!t.type.includes("column")?Ja.getBlockByType(Lt.STANDARD_SECTION).create({attributes:{"padding-top":"0px","padding-bottom":"0px","padding-left":"0px","padding-right":"0px"},children:[Ja.getBlockByType(Lt.STANDARD_COLUMN).create({children:[_]})]}):_},Nu=e=>{if(e.attributes.padding){const t=document.createElement("div");t.style.padding=d.get(e.attributes,"padding"),d.get(e.attributes,"padding-top")&&(t.style.paddingTop=d.get(e.attributes,"padding-top")),d.get(e.attributes,"padding-bottom")&&(t.style.paddingTop=d.get(e.attributes,"padding-bottom")),d.get(e.attributes,"padding-left")&&(t.style.paddingTop=d.get(e.attributes,"padding-left")),d.get(e.attributes,"padding-right")&&(t.style.paddingTop=d.get(e.attributes,"padding-right")),delete e.attributes.padding,e.attributes["padding-top"]=t.style.paddingTop,e.attributes["padding-bottom"]=t.style.paddingBottom,e.attributes["padding-left"]=t.style.paddingLeft,e.attributes["padding-right"]=t.style.paddingRight}if(e.attributes["inner-padding"]){const t=document.createElement("div");t.style.padding=d.get(e.attributes,"inner-padding"),d.get(e.attributes,"inner-padding-top")&&(t.style.paddingTop=d.get(e.attributes,"inner-padding-top")),d.get(e.attributes,"inner-padding-bottom")&&(t.style.paddingTop=d.get(e.attributes,"inner-padding-bottom")),d.get(e.attributes,"inner-padding-left")&&(t.style.paddingTop=d.get(e.attributes,"inner-padding-left")),d.get(e.attributes,"inner-padding-right")&&(t.style.paddingTop=d.get(e.attributes,"inner-padding-right")),delete e.attributes["inner-padding"],e.attributes["inner-padding-top"]=t.style.paddingTop,e.attributes["inner-padding-bottom"]=t.style.paddingBottom,e.attributes["inner-padding-left"]=t.style.paddingLeft,e.attributes["inner-padding-right"]=t.style.paddingRight}return e};function Ru(e){const t=e=>{var r,n,i,a,s,u,c,p,h,_;const f=e.attributes;if("mjml"===e.tagName){const d=null==(r=e.children)?void 0:r.find((e=>"mj-body"===e.tagName));if(!d)throw new Error("Invalid content");const _=null==(n=e.children)?void 0:n.find((e=>"mj-head"===e.tagName)),f=(null==(i=null==_?void 0:_.children)?void 0:i.filter((e=>"mj-font"===e.tagName)).map((e=>({name:e.attributes.name,href:e.attributes.href}))))||[],g=null==(a=null==_?void 0:_.children)?void 0:a.filter((e=>"mj-style"===e.tagName)).map((e=>({content:e.content||"",inline:e.inline}))),m=null==(s=null==_?void 0:_.children)?void 0:s.find((e=>"mj-breakpoint"===e.tagName)),b=null==(u=null==_?void 0:_.children)?void 0:u.find((e=>"mj-preview"===e.tagName)),y=Ja.getBlockByType(Lt.PAGE).create({attributes:o({"margin-top":"0px","margin-bottom":"0px"},d.attributes),children:null==(c=d.children)?void 0:c.map(t),data:{headStyles:g,fonts:f,breakpoint:null==m?void 0:m.attributes.breakpoint,preheader:null==b?void 0:b.content}});return((null==(h=null==(p=null==_?void 0:_.children)?void 0:p.find((e=>"mj-attributes"===e.tagName)))?void 0:h.children)||[]).forEach((e=>{if("mj-all"===(e=Nu(e)).tagName)y.data.globalAttributes=o(o({},y.data.globalAttributes),e.attributes);else if("mj-class"===e.tagName){const t=e.attributes.name;delete e.attributes.name,y.data.classAttributes=l(o({},y.data.classAttributes),{[t]:e.attributes})}else y.data.categoryAttributes=l(o({},y.data.categoryAttributes),{[e.tagName.replace("mj-","")]:e.attributes})})),y}{const r=e.tagName.replace("mj-","").toLowerCase(),n=Ja.getBlockByType(r);if(!n)throw new Error(`${r} block no found `);if("social"===r){(null==(_=e.children)?void 0:_.every((e=>!("mj-social-element"!==e.tagName||d.get(e,"attributes.padding")||d.get(e,"attributes.padding-left")||d.get(e,"attributes.padding-right")||d.get(e,"attributes.padding-top")||d.get(e,"attributes.padding-bottom")))))&&(f.spacing="8px")}"social-element"===r&&f.src&&(f.mode="custom");const i={type:n.type,attributes:f,data:{},children:[]};switch(n.type){case Lt.TEXT:case Lt.BUTTON:case Lt.NAVBAR_LINK:case Lt.SOCIAL_ELEMENT:i.children=Au(e.content||"");break;case Lt.TABLE:i.data.code=e.content||"";break;default:e.children&&(i.children=e.children.map(t))}0===i.children.length&&(i.children=[{text:""}]);return function(e){const t="standard-"+e.type;switch(e.type){case Lt.WRAPPER:case Lt.HERO:case Lt.SECTION:case Lt.GROUP:case Lt.COLUMN:case Lt.TEXT:case Lt.BUTTON:case Lt.IMAGE:case Lt.NAVBAR:case Lt.SOCIAL:case Lt.DIVIDER:case Lt.SPACER:case Lt.SOCIAL_ELEMENT:case Lt.NAVBAR_LINK:case Lt.TABLE:const r=o({},e);return[Lt.HERO,Lt.SECTION].includes(e.type)&&(r.attributes["background-image-enabled"]=!0),[Lt.BUTTON,Lt.IMAGE,Lt.SECTION].includes(e.type)&&(r.attributes.border&&"none"!==r.attributes.border.trim()||r.attributes["border-width"])&&(r.attributes["border-enabled"]=!0),l(o({},Nu(e)),{type:t})}return e}(n.create(i))}};return t(e)}const Ou={id:"__easy_email_ai_agent_no_initial_selection__"};function Lu(e){return"selected"in e&&!0===e.selected}const Bu="AI_AGENT";function Cu(){if(!wt.getFeatureEnabled(Bu))throw new Error("Current plan do not support AI Agent")}function Iu(e){return p(this,null,(function*(){const t=yield e.text().catch((()=>""));if(!t)return`${e.status} ${e.statusText}`;try{const e=JSON.parse(t);if("string"==typeof e.error)return e.error;if("string"==typeof e.message)return e.message}catch(r){}return t}))}function qu(e){let t="";const r=[];e.split(/\r?\n/).forEach((e=>{e&&!e.startsWith(":")&&(e.startsWith("event:")?t=e.slice(6).trim():e.startsWith("data:")&&r.push(e.slice(5).trimStart()))}));const n=r.join("\n");if(!n)return null;try{const e=JSON.parse(n);return!e.type&&t&&(e.type=t),e}catch(i){return null}}function Pu(e,t){return p(this,null,(function*(){const r=e.getReader(),n=new TextDecoder;let i="";const a=[];for(;;){const{done:e,value:s}=yield r.read();if(e)break;i+=n.decode(s,{stream:!0});const o=i.split(/\n\n|\r\n\r\n/);i=o.pop()||"";for(const r of o){const e=qu(r);e&&(a.push(e),null==t||t(e))}}i+=n.decode();const s=qu(i);return s&&(a.push(s),null==t||t(s)),a}))}function Mu(e){return"standard-image"===e||"image"===e}function Uu(e,t){return!!e&&((!("id"in e)||e.id!==Ou.id)&&Mu("type"in e?e.type:t))}function Fu(e,t){return!!e&&(!("type"in e)&&("high"===t||("id"in e||"uid"in e||"selected"in e)))}function ju(e,t){return!(!e||!t)&&("id"in e&&"id"in t?e.id===t.id:"uid"in e&&"uid"in t&&e.uid===t.uid)}function zu(e){const t=e.width&&e.height?`${e.width}x${e.height}`:"";return[e.title,t].filter(Boolean).join(" · ")||void 0}const Hu=Object.values(Lt),Vu=new Set(Hu),$u={[Lt.PAGE]:"page",[Lt.HERO]:"hero",[Lt.STANDARD_HERO]:"hero",[Lt.WRAPPER]:"wrapper",[Lt.STANDARD_WRAPPER]:"wrapper",[Lt.SECTION]:"section",[Lt.STANDARD_SECTION]:"section",[Lt.GROUP]:"group",[Lt.STANDARD_GROUP]:"group",[Lt.COLUMN]:"column",[Lt.STANDARD_COLUMN]:"column",[Lt.NAVBAR_LINK]:"unset",[Lt.STANDARD_NAVBAR_LINK]:"unset",[Lt.SOCIAL_ELEMENT]:"unset",[Lt.STANDARD_SOCIAL_ELEMENT]:"unset",[Lt.MERGETAG]:"inline",[Lt.LINE_BREAK]:"inline",[Lt.HTML_NODE]:"inline",[Lt.STANDARD_TABLE2_TR]:"table-row",[Lt.STANDARD_TABLE2_TD]:"table-cell"},Gu=new Set([Lt.TEXT,Lt.STANDARD_TEXT,Lt.STANDARD_PARAGRAPH,Lt.STANDARD_H1,Lt.STANDARD_H2,Lt.STANDARD_H3,Lt.STANDARD_H4,Lt.BUTTON,Lt.STANDARD_BUTTON,Lt.IMAGE,Lt.STANDARD_IMAGE,Lt.DIVIDER,Lt.STANDARD_DIVIDER,Lt.SPACER,Lt.STANDARD_SPACER,Lt.NAVBAR,Lt.STANDARD_NAVBAR,Lt.SOCIAL,Lt.STANDARD_SOCIAL,Lt.TABLE,Lt.STANDARD_TABLE,Lt.STANDARD_TABLE2,Lt.STANDARD_TEXT_LIST,Lt.STANDARD_TEXT_LIST_ITEM,Lt.STANDARD_BLOCK_QUOTE,Lt.DANGEROUS_CODE,Lt.HTML_BLOCK_NODE,Lt.HTML_DOM_NODE,Lt.CONTENT_WIDGET,Lt.SECTION_WIDGET,Lt.WRAPPER_WIDGET,Lt.RAW]);function Wu(e){return Boolean(e&&"object"==typeof e&&!Array.isArray(e))}function Ku(e){return Wu(e)&&"text"in e&&!("type"in e)}function Xu(e){var t;return Ku(e)?l(o({},e),{text:"string"==typeof e.text?e.text:String(null!=(t=e.text)?t:"")}):Wu(e)&&"string"==typeof e.type?l(o({},e),{data:Wu(e.data)?e.data:{},attributes:Wu(e.attributes)?e.attributes:{},children:Array.isArray(e.children)?e.children.map(Xu):[]}):e}function Ju(e){return Gu.has(e)?"content":$u[e]||null}function Yu(e,t){if(Ku(e))return"string"==typeof e.text?[]:[{path:`${t.path}.text`,code:"invalid_text",message:"Text node text must be a string"}];if(!Wu(e))return[{path:t.path,code:"invalid_element",message:"Easy Email node must be an object"}];const r=[],n=e.type;if("string"!=typeof n)return r.push({path:`${t.path}.type`,code:"missing_field",message:"Easy Email element type is required"}),r;if(!Vu.has(n))return r.push({path:`${t.path}.type`,code:"unknown_type",message:`Unknown Easy Email element type: ${n}`}),r;(function(e,t){if(!t)return e===Lt.PAGE;const r=Ju(e),n=Ju(t);return!(!r||!n||("wrapper"===r?"page"!==n:"section"===r?"page"!==n&&"wrapper"!==n:"group"===r?"section"!==n:"column"===r?"section"!==n&&"group"!==n:"content"===r?"column"!==n&&"hero"!==n&&"content"!==n:"inline"===r?"content"!==n:"unset"===r?(e!==Lt.NAVBAR_LINK&&e!==Lt.STANDARD_NAVBAR_LINK||t!==Lt.NAVBAR&&t!==Lt.STANDARD_NAVBAR)&&(e!==Lt.SOCIAL_ELEMENT&&e!==Lt.STANDARD_SOCIAL_ELEMENT||t!==Lt.SOCIAL&&t!==Lt.STANDARD_SOCIAL):"table-row"===r?t!==Lt.STANDARD_TABLE2:"table-cell"!==r||t!==Lt.STANDARD_TABLE2_TR))})(n,t.parentType)||r.push({path:t.path,code:"invalid_parent",message:t.parentType?`${n} cannot be a child of ${t.parentType}`:`${n} cannot be used as the root element`}),Wu(e.data)||r.push({path:`${t.path}.data`,code:"missing_field",message:`${n}.data must be an object`}),Wu(e.attributes)||r.push({path:`${t.path}.attributes`,code:"missing_field",message:`${n}.attributes must be an object`});const i=t.ids||new Set,a=t.uids||new Set;return"string"==typeof e.id&&e.id&&(i.has(e.id)&&r.push({path:`${t.path}.id`,code:"duplicate_id",message:`Duplicate Easy Email element id: ${e.id}`}),i.add(e.id)),"string"==typeof e.uid&&e.uid&&(a.has(e.uid)&&r.push({path:`${t.path}.uid`,code:"duplicate_uid",message:`Duplicate Easy Email element uid: ${e.uid}`}),a.add(e.uid)),Array.isArray(e.children)?(e.children.forEach(((e,s)=>{r.push(...Yu(e,{path:`${t.path}.children.${s}`,parentType:n,ids:i,uids:a}))})),r):(r.push({path:`${t.path}.children`,code:"missing_field",message:`${n}.children must be an array`}),r)}function Qu(e){return function(e,t={}){const r=Yu(e,{path:t.path||"content",parentType:t.parentType,ids:new Set,uids:new Set});return{valid:0===r.length,errors:r}}(Wu(e)&&"content"in e?e.content:e,{path:"content"})}function Zu(e){if(Ku(e))return[Xu(e)];if(!Wu(e)||"string"!=typeof e.type)return[];const t=Xu(e);if(!Wu(t)||"string"!=typeof t.type)return[];const r=Ju(t.type);return"content"===r||"inline"===r?[ec(t,Lt.COLUMN)]:Array.isArray(t.children)?t.children.flatMap(Zu):[]}function ec(e,t){if(Ku(e))return Xu(e);const r=Xu(e);if(!Wu(r)||"string"!=typeof r.type)return r;const n=(Array.isArray(r.children)?r.children:[]).flatMap((e=>{const t=Wu(e)&&"string"==typeof e.type?e.type:null,n=t?Ju(t):null,i=Ju(r.type);return(r.type!==Lt.COLUMN&&r.type!==Lt.STANDARD_COLUMN||"section"!==n&&"group"!==n&&"column"!==n)&&("content"!==i||"wrapper"!==n&&"section"!==n&&"group"!==n&&"column"!==n)?[ec(e,r.type)]:Zu(e)}));return l(o({},r),{children:n})}function tc(e){const t=function(e){return Wu(e)?"content"in e?l(o({},e),{content:Xu(e.content)}):Xu(e):e}(e);return Wu(t)?"content"in t?l(o({},t),{content:ec(t.content)}):ec(t):t}const rc={type:"json_schema",name:"easy_email_ask_response",strict:!0,schema:{type:"object",additionalProperties:!1,required:["language","intent","payload"],properties:{language:{type:"string"},intent:{type:"string",enum:["answer"]},payload:{type:"object",additionalProperties:!1,required:["answer","summary","confidence","decision","toolCallsJson","image"],properties:{answer:{type:"string"},summary:{type:"null"},confidence:{type:"null"},decision:{type:"null"},toolCallsJson:{type:"null"},image:{type:"null"}}}}}},nc={type:"json_schema",name:"easy_email_action_response",strict:!0,schema:{type:"object",additionalProperties:!1,required:["language","intent","payload"],properties:{language:{type:"string"},intent:{type:"string",enum:["decision_request","tool_calls","image"]},payload:{type:"object",additionalProperties:!1,required:["answer","summary","confidence","decision","toolCallsJson","image"],properties:{answer:{type:"null"},summary:{type:["string","null"]},confidence:{type:["string","null"],enum:["high","ambiguous","low",null]},decision:{type:["object","null"],additionalProperties:!1,required:["id","kind","title","message","choices","allowCustom","required"],properties:{id:{type:"string"},kind:{type:"string",enum:["style_direction","target_block","missing_detail"]},title:{type:"string"},message:{type:"string"},allowCustom:{type:"boolean"},required:{type:"boolean"},choices:{type:"array",items:{type:"object",additionalProperties:!1,required:["id","label","description","prompt","thumbnail","target","value"],properties:{id:{type:"string"},label:{type:"string"},description:{type:["string","null"]},prompt:{type:["string","null"]},thumbnail:{type:["string","null"]},target:{type:["object","null"],additionalProperties:!1,required:["selected","id","uid","type","index"],properties:{selected:{type:["boolean","null"]},id:{type:["string","null"]},uid:{type:["string","null"]},type:{type:["string","null"]},index:{type:["number","null"]}}},value:{type:["string","null"]}}}}}},toolCallsJson:{type:["string","null"]},image:{type:["object","null"],additionalProperties:!1,required:["action","prompt","size","target","confidence","candidates","imageIntent"],properties:{action:{type:"string",enum:["generate","edit"]},prompt:{type:"string"},size:{type:"string",enum:["auto","1024x1024","1536x1024","1024x1536"]},target:{type:["object","null"],additionalProperties:!1,required:["selected","id","uid","type","index"],properties:{selected:{type:["boolean","null"]},id:{type:["string","null"]},uid:{type:["string","null"]},type:{type:["string","null"]},index:{type:["number","null"]}}},confidence:{type:"string",enum:["high","ambiguous","low"]},candidates:{type:"array",items:{type:"object",additionalProperties:!1,required:["id","label","description","prompt","thumbnail","target","value"],properties:{id:{type:"string"},label:{type:"string"},description:{type:["string","null"]},prompt:{type:["string","null"]},thumbnail:{type:["string","null"]},target:{type:["object","null"],additionalProperties:!1,required:["selected","id","uid","type","index"],properties:{selected:{type:["boolean","null"]},id:{type:["string","null"]},uid:{type:["string","null"]},type:{type:["string","null"]},index:{type:["number","null"]}}},value:{type:["string","null"]}}}},imageIntent:{type:"string",enum:["replace","insert","attach"]}}}}}}}},ic={type:"json_schema",name:"easy_email_reference_rewrite_response",strict:!0,schema:{type:"object",additionalProperties:!1,required:["language","intent","payload"],properties:{language:{type:"string"},intent:{type:"string",enum:["tool_calls"]},payload:{type:"object",additionalProperties:!1,required:["answer","summary","confidence","decision","toolCallsJson","templateJson","image"],properties:{answer:{type:"null"},summary:{type:"string"},confidence:{type:"string",enum:["high"]},decision:{type:"null"},toolCallsJson:{type:"null"},templateJson:{type:"string",description:"A JSON object string that starts with { and parses to a complete Easy Email template."},image:{type:"null"}}}}}},ac={type:"json_schema",name:"easy_email_intent_router_response",strict:!0,schema:{type:"object",additionalProperties:!1,required:["intent","confidence","reason"],properties:{intent:{type:"string",enum:["ask","action","reference_rewrite"]},confidence:{type:"string",enum:["high","low"]},reason:{type:"string"}}}};function sc(e){if(!e||"object"!=typeof e)return null;const t=e;return{currentSnapshotId:"string"==typeof t.currentSnapshotId?t.currentSnapshotId:null,snapshots:Array.isArray(t.snapshots)?t.snapshots.slice(-20).map((e=>({id:e.id,title:e.title,summary:e.summary,createdAt:e.createdAt}))):[],messages:Array.isArray(t.messages)?t.messages.slice(-16).map((e=>({role:e.role,content:e.content,status:e.status,createdAt:e.createdAt,attachments:Array.isArray(e.attachments)?e.attachments.map((e=>{const t=e;return{type:t.type,name:t.name,mimeType:t.mimeType}})):[]}))):[]}}function oc(e){if(!e||"object"!=typeof e)return!1;const t=e.messages;return!!Array.isArray(t)&&t.some((e=>{if(!e||"object"!=typeof e)return!1;if("user"!==e.role)return!1;const t=e.attachments;return Array.isArray(t)&&t.some((e=>{if(!e||"object"!=typeof e)return!1;const t=e,r="string"==typeof t.type?t.type:"",n="string"==typeof t.mimeType?t.mimeType:"";return"image"===r||n.startsWith("image/")}))}))}function lc(e){if(!e||"object"!=typeof e)return[];const t=e.messages;if(!Array.isArray(t))return[];const r=[];for(const n of t.slice(-8)){if(!n||"object"!=typeof n)continue;if("user"!==n.role)continue;const e=n.attachments;if(Array.isArray(e))for(const t of e){if(!t||"object"!=typeof t)continue;const e=t,n="string"==typeof e.url?e.url:void 0,i="string"==typeof e.dataUrl?e.dataUrl:void 0,a="string"==typeof e.mimeType?e.mimeType:void 0,s="string"==typeof e.type?e.type:"";(n||i)&&(("image"===s||(null==a?void 0:a.startsWith("image/")))&&r.push({id:"string"==typeof e.id?e.id:void 0,name:"string"==typeof e.name?e.name:"reference-image",mimeType:a||"image/png",url:n,dataUrl:i,size:"number"==typeof e.size?e.size:void 0}))}}return r}function uc(e){const t=new Set;return e.filter((e=>{const r=e.url||e.dataUrl||e.id||e.name;return!!r&&(!t.has(r)&&(t.add(r),!0))}))}function cc(e){const t="ask"===e.intent,r="action"===e.intent,n="reference_rewrite"===e.intent;return["You are an AI assistant inside a visual Easy Email Pro email editor.","Always write user-facing text in the same language as the latest user message. This includes answers, summaries, decision titles, decision messages, decision choice labels/descriptions, and image summaries.","First infer the latest user message language. Put that language in the top-level language field, such as the language name or a BCP 47 tag.","The language value is metadata only. Do not let the example JSON language placeholder decide the response language.","Decide whether the latest user message is asking a question or asking you to change the email.","Return exactly one JSON object matching the provided schema. Use null for fields that do not apply and [] for unused arrays.","For any edit result, write summary as a completed-change summary, not a plan. Say what was changed in 1-2 short sentences. Do not say 'I will', '我会', or describe future intent after changes are applied.","",...t?["ASK MODE:","The router classified the latest user message as a question or strategy discussion.","Return intent=answer only. Do not propose tool calls or template changes.",""]:[],...r?["ACTION MODE:","The router classified the latest user message as a request to change the email or an email asset.","Do not return intent=answer. Do not only confirm that you can make the change.","Return executable tool_calls or image. Use the current template, editor context, reference images, and conversation history to make the best reasonable edit.","When the user asks to change the layout or structure to match a reference image or previous context, treat that as a request to move the whole email closer to the reference layout unless a selected block is clearly the target.","For reference layout requests, choose the best full-match direction yourself and return tool_calls; do not ask which layout direction to use.","Return decision_request only when there is no safe target or the request has multiple materially different meanings that would cause a likely unwanted change.",""]:[],...n?["REFERENCE DESIGN REWRITE MODE:","The user uploaded a reference/design image and explicitly asked to recreate or rewrite the whole template from it.","Do not ask a decision question. Do not return decision_request. Do not ask which direction to use.","Return intent=tool_calls with payload.templateJson containing the complete rewritten Easy Email template as a JSON string.","payload.templateJson must start with { and end with }. Do not put Markdown, prose, comments, or another quoted JSON string inside templateJson.","The templateJson must parse to a complete Easy Email template object using the current template shape: include subject when present and content as a page element with type='page', attributes, data, and children.","Use only legal Easy Email hierarchy: page children are standard-section, standard-wrapper, or standard-hero. standard-section children are standard-column or standard-group. standard-group children are standard-column. standard-column children are content blocks such as standard-paragraph, standard-h1, standard-h2, standard-h3, standard-h4, standard-button, standard-image, standard-divider, standard-spacer, standard-navbar, standard-social, or standard-table. Never put a section inside a column.","Match the reference image overall, including layout, typography, color, spacing, hierarchy, and content structure. Use the current template only as a starting point.","Set payload.toolCallsJson=null. The worker will wrap templateJson into an apply_template tool call.",""]:[],...t?["If the latest user message asks a question or discusses strategy without requesting an immediate edit, return:",'{"language":"<latest-user-message-language>","intent":"answer","payload":{"answer":"Concise answer in the same language as the latest user message.","summary":null,"confidence":null,"decision":null,"toolCallsJson":null,"image":null}}',""]:[],...n||t?[]:["If an edit cannot be made safely because the target or required detail is genuinely missing, ask the user to choose before editing. Return:",'{"language":"<latest-user-message-language>","intent":"decision_request","payload":{"answer":null,"summary":null,"confidence":null,"decision":{"id":"style-direction","kind":"style_direction","title":"Short title in the same language as the latest user message","message":"Short question in the same language as the latest user message","allowCustom":true,"required":false,"choices":[{"id":"premium","label":"Choice label in the same language as the latest user message","description":"Choice description in the same language as the latest user message","prompt":"Instruction in the same language as the latest user message.","thumbnail":null,"target":null,"value":null}]},"toolCallsJson":null,"image":null}}',"Do not ask a decision question only because the request is broad. For broad style, layout, or conversion improvements, make a best-effort edit using the available template and reference context.","If the user asks for the layout to follow a reference or previous image, apply the closest layout you can with available tool calls instead of asking for a direction.","Do not ask a decision question for clear quick actions such as translate, shorten, update CTA, or when the user has already answered a decisionResponse.","Do not ask a decision question when the latest user message explicitly asks to match an uploaded/reference/design image overall, recreate a design, rewrite the template from a reference, or make it pixel-by-pixel close to the reference.",""],...t?[]:["If the latest user message asks to generate, create, design, redraw, restyle, edit, modify, retouch, or transform an image asset, return:",'{"language":"<latest-user-message-language>","intent":"image","payload":{"answer":null,"summary":"Completed-change summary in the same language as the latest user message","confidence":"high","decision":null,"toolCallsJson":null,"image":{"action":"generate","prompt":"Detailed image prompt for the image model.","size":"auto","target":{"selected":null,"id":"real-id-from-template","uid":null,"type":null,"index":null},"confidence":"high","candidates":[],"imageIntent":"replace"}}}',"Use action=edit when uploaded/reference images are provided and the user asks to modify or transform them. Use action=generate when creating a new image from text.","Choose size from the user's requested image format: 1536x1024 for landscape/banner/hero-wide, 1024x1536 for portrait/story/tall, 1024x1024 for square, or auto when the user did not specify an aspect ratio.","For image requests, choose target from Current editor selection context selected when it is an image asset, otherwise choose from Current editor selection context images. The image list includes normal image blocks (attributeKey=src) and background images on supported blocks such as section, wrapper/container, and hero (attributeKey=background-url). Match the screenshot/user wording to the image list by role, source, size, order, title, src, and dimensions. Prefer exact id/uid from the image list.","A screenshot or uploaded reference image is not an editor selection. If no image block is selected and several image blocks could match, do not guess the replacement block.","Do not use {type,index} as a high-confidence image replacement target. If you cannot identify a specific image block id/uid, set image.confidence=ambiguous, image.target=null, include candidates, and include a target_block decision in payload.decision.","For image prompts, include the desired subject, composition, style, visible text requirements, and any constraints from the email/template context.","","If the latest user message asks to edit, rewrite, translate, recolor, resize, move, add, remove, or restyle the email, prefer small tool calls and return:",'{"language":"<latest-user-message-language>","intent":"tool_calls","payload":{"answer":null,"summary":"Completed-change summary in the same language as the latest user message","confidence":"high","decision":null,"toolCallsJson":"[{\\"name\\":\\"update_text\\",\\"target\\":{\\"id\\":\\"real-id-from-template\\"},\\"text\\":\\"new text\\"}]","image":null}}',"toolCallsJson must be a JSON string containing an array of tool calls. If the edit direction, target block, or required detail is unclear, set payload.confidence=ambiguous, include a decision, and set toolCallsJson=null.",'For an explicit reference design rewrite, full-template recreation, or pixel-by-pixel match request, use toolCallsJson with a single apply_template call: [{"name":"apply_template","template":{...full Easy Email Pro template JSON...}}]. This is allowed only for those explicit full-template reference-design requests.',""],'Tool target can be {"selected":true}, {"id":"real-id-from-template"}, {"uid":"real-uid-from-template"}, or {"type":"block-type","index":0}. Never invent ids such as subject, header, hero, title, or cta. Use only ids/uids that appear in Current template JSON.','Use {"selected":true} only when Current editor selection context has a selected node and the user explicitly refers to the selected/current/this block. If selected is null, never use {"selected":true}.',"When the user says current block, selected block, this section, or this block, scope the edit to Current editor selection context selected. If selected.descendants contains multiple matching text nodes, generate tool calls for every matching descendant, not just the first match.","When the user mentions mobile, phone, small screen, responsive mobile, or asks to change only mobile styles, use update_mobile_attribute so desktop attributes remain unchanged.","Use update_attribute for desktop/default styles. Use update_mobile_attribute for mobile-only overrides. The key should be the raw attribute key such as font-size, padding-top, width, align, or line-height, not mobileAttributes.font-size.","For broad style requests such as brand color, inspect the template and target the relevant existing nodes by real id/uid/type. Make a best-effort edit across the relevant existing nodes; ask a decision question only when there is no safe target.","Available tool call names:",'- update_text: {"name":"update_text","target":target,"text":"new text"}','- update_attribute: {"name":"update_attribute","target":target,"key":"background-color","value":"#111111"}','- update_mobile_attribute: {"name":"update_mobile_attribute","target":target,"key":"font-size","value":"12px"}. Use this for mobile-only style changes.','- update_attributes: {"name":"update_attributes","target":target,"scope":"desktop","attributes":{"font-size":"14px","line-height":"1.4"}}. Use this when changing multiple style attributes on one block. Use scope=mobile for mobile-only attributes.','- update_data: {"name":"update_data","target":target,"key":"...","value":...}','- replace_children: {"name":"replace_children","target":target,"children":[...]}','- set_visibility: {"name":"set_visibility","target":target,"desktop":true,"mobile":false}. Use this to show a block only on desktop/mobile or restore both devices.','- replace_block: {"name":"replace_block","target":target,"block":{...Easy Email node...}}. Use this to replace one existing block, not the whole template.','- update_link: {"name":"update_link","target":target,"href":"https://example.com","blank":true,"title":"Optional title"}. Use this for button, image, navbar, and social links.','- move_up / move_down / duplicate / delete_node: {"name":"move_up","target":target}','- add_block_after: {"name":"add_block_after","target":target,"block":{...Easy Email node...}}','- add_block_before: {"name":"add_block_before","target":target,"block":{...Easy Email node...}}. Use this for requests like adding content above/before an existing price or heading.','- select_node: {"name":"select_node","target":target}','- apply_template: {"name":"apply_template","template":{...full Easy Email Pro template JSON...}}. Use only for explicit full-template reference-design or pixel-by-pixel rewrite requests.',"For update_text, target text-bearing nodes such as standard-paragraph, standard-button, or html-block-node. Do not target page, standard-section, or standard-column for text replacement.","For merchandising price edits, distinguish update vs add. If the user asks to add a compare price / original price / crossed-out price, do not overwrite the current price text. Insert a separate text block before/above the current price, or replace the local product card structure if needed. For a selected/current block containing multiple product prices, apply the same rule to each matching price in that block and calculate compare prices from each current price.","When generating new blocks, keep the Easy Email hierarchy valid: page -> standard-section/standard-wrapper/standard-hero -> standard-column -> content blocks. Never nest standard-section under standard-column.","","Preservation rules:","- Do not recreate the template from scratch for small edits.","- Preserve id, uid, title, visible, mobileAttributes, outputTarget, logic, and unknown fields unless directly involved.","- Never replace text children with raw strings. Easy Email text children must remain TextNode objects.","- Never output custom schemas such as brand/hero/products.","","Current editor selection context:",JSON.stringify(e.editorContext||null,null,2),"","Recent conversation history:",JSON.stringify(sc(e.history),null,2),"","User decision response, if any:",JSON.stringify(e.decisionResponse||null,null,2),"","Current template JSON:",JSON.stringify(e.template||null,null,2),"","Latest user message:",e.userPrompt].join("\n")}function pc(e){const t=function(e){const t=e.trim(),r=t.match(/^```(?:json)?\s*([\s\S]*?)\s*```$/i);return r?r[1].trim():t}(e).trim();try{return JSON.parse(t),t}catch(o){}const r=[t.indexOf("{"),t.indexOf("[")].filter((e=>e>=0));if(!r.length)return t;const n=Math.min(...r),i=[];let a=!1,s=!1;for(let l=n;l<t.length;l+=1){const e=t[l];if(a)s?s=!1:"\\"===e?s=!0:'"'===e&&(a=!1);else if('"'!==e)if("{"!==e)if("["!==e){if("}"===e||"]"===e){if(i[i.length-1]!==e)break;if(i.pop(),0===i.length)return t.slice(n,l+1)}}else i.push("]");else i.push("}");else a=!0}return t}function dc(e){const t=JSON.parse(pc(e)),r=Bc(t.payload)?t.payload:{},n=t.intent||(t.toolCalls?"tools":t.template?"modify":t.prompt&&t.action?"image":t.answer?"answer":null);if("answer"===n)return{type:"easy_email_answer",payload:{answer:String(r.answer||t.answer||"OK.")}};if("decision_request"===n)return{type:"decision_request",payload:kc(Bc(r.decision)?r.decision:t)};if("tools"===n||"tool_calls"===n){const e=r.confidence||t.confidence;if("ambiguous"===e||"low"===e)return{type:"decision_request",payload:kc(Bc(r.decision)?r.decision:t)};const n="string"==typeof r.toolCallsJson?gc(r.toolCallsJson):Array.isArray(r.toolCalls)?fc(r.toolCalls):Array.isArray(t.toolCalls)?t.toolCalls:[];return n.length?{type:"easy_email_tool_calls",payload:{summary:"string"==typeof r.summary?r.summary:"string"==typeof t.summary?t.summary:null,toolCalls:n,fallbackTemplate:t.fallbackTemplate||null}}:{type:"decision_request",payload:kc(Bc(r.decision)?r.decision:t)}}if("image"===n){const e=Bc(r.image)?r.image:t,n=e.confidence||r.confidence;return{type:"easy_email_image_request",payload:{action:"edit"===e.action?"edit":"generate",prompt:String(e.prompt||"").trim(),size:Rc(e.size),summary:"string"==typeof r.summary?r.summary:"string"==typeof t.summary?t.summary:null,target:Sc(e.target),confidence:"high"===n||"low"===n||"ambiguous"===n?n:null,candidates:Dc(e.candidates),decision:(i=r.decision,Bc(i)?kc(i):null),intent:"insert"===e.imageIntent||"attach"===e.imageIntent||"insert"===e.intentMode||"attach"===e.intentMode?e.imageIntent||e.intentMode:"replace"}}}var i;return"modify"===n?{type:"easy_email_result",payload:{valid:Boolean(t.template),errors:t.template?[]:["template is required for modify intent"],template:t.template||null,summary:"string"==typeof t.summary?t.summary:null}}:{type:"easy_email_answer",payload:{answer:e.trim()||"OK."}}}function hc(e){const t=dc(e);return"easy_email_answer"!==t.type?t:{type:"decision_request",payload:kc({id:"action-follow-up",kind:"missing_detail",title:"Choose the change",message:t.payload.answer||null||"I understand you want to change the email. Please choose a direction or describe the exact change.",allowCustom:!0,required:!1,choices:[]})}}function _c(e){return"ask"===e?rc:"reference_rewrite"===e?ic:nc}function fc(e){return e.map((e=>{if(!Bc(e))return e;const t=o({},e),r=Sc(t.target);return t.target=r,Object.keys(t).forEach((e=>{null===t[e]&&delete t[e]})),t}))}function gc(e){try{const t=JSON.parse(e);return Array.isArray(t)?fc(t):[]}catch(t){return[]}}function mc(e,t){return p(this,null,(function*(){const r=JSON.parse(pc(e)),n=Bc(r.payload)?r.payload:{},i="string"==typeof n.summary?n.summary:"string"==typeof r.summary?r.summary:null,a=function(e){if("string"!=typeof e||!e.trim())return null;let t=e;try{for(let e=0;e<3;e+=1){const e=JSON.parse(pc(t));if(Bc(e))return e;if("string"!=typeof e||!e.trim())return null;t=e}return null}catch(r){return null}}(n.templateJson);if(a){return{type:"easy_email_tool_calls",payload:{summary:i,toolCalls:[{name:"apply_template",template:yield vc(a,t)}],fallbackTemplate:null}}}const s="string"==typeof n.toolCallsJson?gc(n.toolCallsJson):[];if(s.length)return{type:"easy_email_tool_calls",payload:{summary:i,toolCalls:yield wc(s,t),fallbackTemplate:null}};if("string"==typeof n.templateJson)throw new Error("Reference rewrite templateJson was not parseable JSON");return{type:"easy_email_answer",payload:{answer:e.trim()||"OK."}}}))}function bc(e,t){if(!Bc(e))return null;if("string"==typeof e.type&&t(e))return e;const r=e.children;if(!Array.isArray(r))return null;for(const n of r){const e=bc(n,t);if(e)return e}return null}function yc(e,t){if(!Bc(e))return 0;let r=e.type===t?1:0;const n=e.children;if(Array.isArray(n))for(const i of n)r+=yc(i,t);return r}function xc(e,t,r){var n;const i=Sc(e);if(!i)return!1;const a=function(e){return Bc(e)&&"content"in e?e.content:e}(t);if("selected"in i)return Boolean(null==r?void 0:r.selected);if("id"in i)return Boolean(bc(a,(e=>e.id===i.id)));if("uid"in i)return Boolean(bc(a,(e=>e.uid===i.uid)));if("type"in i){const e=null!=(n=i.index)?n:0;return yc(a,i.type)>e}return!1}function vc(e,t){return p(this,null,(function*(){return Bc(e)?Bc(e.content)?yield tc(e):"page"!==e.type?e:yield tc(Bc(t)?l(o({},t),{content:e}):{content:e}):e}))}function wc(e,t){return p(this,null,(function*(){return yield Promise.all(e.map((e=>p(null,null,(function*(){return Bc(e)&&"apply_template"===e.name?l(o({},e),{template:yield vc(e.template,t)}):e})))))}))}function Ec(e){return p(this,null,(function*(){var t;if(!Bc(e)||"apply_template"!==e.name)return"apply_template tool call is required";if(!function(e){if(!Bc(e))return null;const t=Bc(e.content)?e.content:e;return"page"===t.type&&Array.isArray(t.children)?0===t.children.length?null:t:null}(e.template))return"apply_template.template must include a non-empty page content element";const r=yield Qu(e.template);return r.valid?null:(null==(t=r.errors[0])?void 0:t.message)||"apply_template.template is not a valid Easy Email template"}))}function kc(e){const t=Dc(e.choices).slice(0,6);return{id:"string"==typeof e.id&&e.id.trim()?e.id.trim():`decision-${Date.now()}`,kind:"target_block"===e.kind||"missing_detail"===e.kind?e.kind:"style_direction",title:"string"==typeof e.title&&e.title.trim()?e.title.trim():"Choose an option",message:"string"==typeof e.message&&e.message.trim()?e.message.trim():"Which direction should I use?",choices:t.length?t:[{id:"premium",label:"More premium",description:"Refine typography, spacing, CTA, and visual restraint.",prompt:"Make the template feel more premium while preserving the current structure."},{id:"conversion",label:"More conversion focused",description:"Strengthen hierarchy, CTA clarity, and offer visibility.",prompt:"Make the template more conversion focused with clearer hierarchy and CTA."},{id:"minimal",label:"Cleaner and simpler",description:"Reduce clutter, tighten copy, and simplify the layout.",prompt:"Make the template cleaner and simpler without changing the core content."}],allowCustom:!1!==e.allowCustom,required:Boolean(e.required)}}function Ac(e){var t;const r=(null==(t=e.candidates)?void 0:t.length)?e.candidates:[{id:"choose-target",label:"Choose target image",description:"Pick the image block that should be replaced.",prompt:"Use this image block as the replacement target.",thumbnail:void 0,target:null,value:null}];return{id:`target-image-${Date.now()}`,kind:"target_block",title:"Choose image block",message:e.summary||"Which image block should use the generated image?",choices:r,allowCustom:!1,required:!1}}function Tc(e){const t=/[\u3400-\u9fff]/.test(e.userPrompt),r=e.missingTargets.slice(0,4).join(", ");return{id:`missing-target-${Date.now()}`,kind:"missing_detail",title:t?"需要确认修改位置":"Confirm edit target",message:t?`我找不到要修改的模块:${r}。请指定具体要改哪一块,或先选中目标 block 后再试。`:`I could not find these edit targets: ${r}. Please specify the block to edit, or select the target block and try again.`,choices:[],allowCustom:!0,required:!1}}function Dc(e){return Array.isArray(e)?e.map(((e,t)=>{if(!e||"object"!=typeof e)return null;const r=e,n=Sc(r.target),i="string"==typeof r.label&&r.label.trim()?r.label.trim():`Option ${t+1}`;return{id:"string"==typeof r.id&&r.id.trim()?r.id.trim():`choice-${t+1}`,label:i,description:"string"==typeof r.description?r.description:void 0,prompt:"string"==typeof r.prompt?r.prompt:void 0,thumbnail:"string"==typeof r.thumbnail?r.thumbnail:"string"==typeof r.src?r.src:void 0,target:n,value:r.value}})).filter(Boolean):[]}function Sc(e){if(!e||"object"!=typeof e)return null;const t=e;if(!0===t.selected)return{selected:!0};const r=Nc(t.id);if(r)return{id:r};const n=Nc(t.uid);if(n)return{uid:n};const i=Nc(t.type);if(i){const e={type:i};return"number"==typeof t.index&&Number.isFinite(t.index)&&t.index>=0&&(e.index=Math.floor(t.index)),e}return null}function Nc(e){if("string"!=typeof e)return null;const t=e.trim();return!t||"..."===t||/^<.*>$/.test(t)?null:t}function Rc(e){return"1024x1024"===e||"1536x1024"===e||"1024x1536"===e||"auto"===e?e:"auto"}function Oc(e){if("number"==typeof e&&Number.isFinite(e)&&e>0)return e;if("string"!=typeof e)return null;const t=e.trim().match(/^(\d+(?:\.\d+)?)/);if(!t)return null;const r=Number.parseFloat(t[1]);return Number.isFinite(r)&&r>0?r:null}function Lc(e,t){const r=e/t;return r>=1.18?"1536x1024":r<=.85?"1024x1536":"1024x1024"}function Bc(e){return Boolean(e&&"object"==typeof e&&!Array.isArray(e))}function Cc(e,t){if(!t||!Bc(e))return null;if(function(e,t){return!!t&&(t.id&&e.id===t.id||t.uid&&e.uid===t.uid)}(e,t))return e;const r=e.children;if(!Array.isArray(r))return null;for(const n of r){const e=Cc(n,t);if(e)return e}return null}function Ic(e){var t,r;if(!e)return null;const n=Oc(null!=(t=e.width)?t:e["image-width"]),i=Oc(null!=(r=e.height)?r:e["image-height"]);return n&&i?{width:n,height:i}:null}function qc(e){var t;if("auto"!==e.requestedSize)return e.requestedSize;const r=null==(t=e.editorContext)?void 0:t.selected,n=function(e,t){var r;const n=null==e?void 0:e.images;if(!t||!Array.isArray(n))return null;const i=null==e?void 0:e.selected;if("id"in t)return n.find((e=>e.id===t.id))||null;if("uid"in t)return n.find((e=>e.uid===t.uid))||null;if("type"in t){const e=null!=(r=t.index)?r:0;return n.filter((e=>e.type===t.type))[e]||null}if("selected"in t&&i)return n.find((e=>i.id&&e.id===i.id||i.uid&&e.uid===i.uid))||null;return null}(e.editorContext,e.target);if((null==n?void 0:n.width)&&n.height)return Lc(n.width,n.height);const i=null==r?void 0:r.layout;if((null==i?void 0:i.width)&&i.height)return Lc(i.width,i.height);const a=function(e){if(!e)return null;const t=Ic(e);if(t)return t;const r=Ic(Bc(e.attributes)?e.attributes:null);return r||Ic(Bc(e.data)?e.data:null)}(Cc(e.template,r)||(r?{attributes:r.attributes,data:r.data}:null));return a?Lc(a.width,a.height):"auto"}function Pc(e){return"number"==typeof e&&Number.isFinite(e)?e:void 0}function Mc(e){if("string"==typeof e.output_text)return e.output_text;const t=[];if(Array.isArray(e.output))for(const r of e.output){if(!r||"object"!=typeof r)continue;const e=r.content;if(Array.isArray(e))for(const r of e){if(!r||"object"!=typeof r)continue;const e=r.text;"string"==typeof e&&t.push(e)}}return t.join("")}In.registerPlugins([uu,gu]),exports.AI_AGENT_FEATURE=Bu,exports.BasicType=Nt,exports.BlockManager=Ja,exports.CONTENT_EDITABLE_CLASSNAME=Ct,exports.ConditionOperator=Ya,exports.ConditionOperatorSymbol=Qa,exports.EditorAuth=wt,exports.EditorCore=Tn,exports.ElementAllowAttributes=mu,exports.ElementCategory=Bt,exports.ElementPlugin=Bn,exports.ElementType=Lt,exports.EmailRenderProvider=Nn,exports.HIDE_DESKTOP_BLOCK_CLASS_NAME=pu,exports.HIDE_DESKTOP_INLINE_BLOCK_CLASS_NAME=hu,exports.HIDE_MOBILE_BLOCK_CLASS_NAME=du,exports.HIDE_MOBILE_INLINE_BLOCK_CLASS_NAME=_u,exports.HTML_BLOCK_NODE_TAGS=Mt,exports.HTML_NODE_VOID_TAGS=Pt,exports.HtmlNodeAdapter=Au,exports.I18nManager=Tt,exports.LogicType=Ot,exports.NodeUtils=Qt,exports.PageTestingCss=di,exports.ParentElementProvider=zn,exports.PluginManager=In,exports.PluginType=Rn,exports.Responsive=gu,exports.ResponsivePlugin=On,exports.SLATE_CODE_BLOCK_CLASSNAME=qt,exports.SLATE_NODE_PLACEHOLDER_CLASSNAME=It,exports.StandardType=Rt,exports.TemplateEngine=uu,exports.TemplateEnginePlugin=Ln,exports.assertAiAgentFeatureEnabled=Cu,exports.blockMap=Ka,exports.canAutoReplaceImageTarget=function(e,t,r){return!!Fu(t,r)&&(!!Uu(e.selectedTarget,e.selectedType)&&(!!t&&(!!Lu(t)||ju(e.selectedTarget,t))))},exports.canReplaceTargetImage=Uu,exports.choiceImageAttributeKey=function(e){const t=e.value;if(!t||"object"!=typeof t)return"src";const r=t.attributeKey;return"string"==typeof r&&r?r:"src"},exports.classnames=g,exports.components=ci,exports.createBlock=m,exports.createCustomBlock=function(e){return e},exports.createEasyEmailAgentSession=function(e){var t,r,n;const i=null==(r=null==(t=e.prompt)?void 0:t.text)?void 0:r.trim();if(!i)throw new Error("prompt.text is required");return{body:e,text:i,images:uc([...null!=(n=e.images)?n:[],...lc(e.history)]).slice(0,6)}},exports.createEasyEmailImageResultEvent=function(e){const{imageStep:t,image:r}=e;return{type:"image_result",payload:{summary:t.resultPayload.summary,images:[{id:r.id,name:r.name,mimeType:r.mimeType,dataUrl:r.dataUrl,url:r.url}],target:t.resultPayload.target,confidence:t.resultPayload.confidence,candidates:t.resultPayload.candidates,intent:t.resultPayload.intent,revisedPrompt:r.revisedPrompt||null,model:r.model,size:r.size}}},exports.createEasyEmailIntentRequest=function(e){return{input:[{role:"user",content:[{type:"input_text",text:(t={text:e.text,imageCount:e.images.length,history:e.body.history},["Route the latest Easy Email AI request.","Return ask only when the user is asking a question, asking for analysis, or discussing strategy without asking you to change the email now.","Return action when the user wants the email, text, layout, styles, links, blocks, or image assets changed, even if the requested change is broad or lacks details.","Return reference_rewrite only when the user explicitly asks to replace, rebuild, recreate, or rewrite the whole email/template from uploaded or previous reference image(s).","If the request is unclear but could require changing the email, return action so the planner can ask a decision question.","",`Reference image count: ${t.imageCount}`,"History has user image attachment: "+(oc(t.history)?"yes":"no"),"","Latest user message:",t.text].join("\n"))}]}],text:{format:ac},max_output_tokens:256,stream:!1,store:!1};var t},exports.createEasyEmailPlannerRequest=function(e,t){const r=[{type:"input_text",text:cc({userPrompt:e.text,template:e.body.template,editorContext:e.body.editorContext,history:e.body.history,decisionResponse:e.body.decisionResponse,intent:t})}];return e.images.forEach((e=>{const t=e.dataUrl||e.url;t&&r.push({type:"input_image",image_url:t})})),{input:[{role:"user",content:r}],text:{format:_c(t)},max_output_tokens:"reference_rewrite"===t?16e3:4096,stream:!1,store:!1}},exports.deleteNoAllowKey=xu,exports.easyEmailToEasyEmailPro=e=>{const t=d.cloneDeep(e),r={},n={[Bt.TEXT]:{}};return t.data.value["font-family"]&&(r["font-family"]=t.data.value["font-family"]),t.data.value["font-size"]&&(n[Bt.TEXT]=l(o({},n[Bt.TEXT]),{"font-size":t.data.value["font-size"]})),t.data.value["line-height"]&&(n[Bt.TEXT]=l(o({},n[Bt.TEXT]),{"line-height":t.data.value["line-height"]})),t.data.value["font-weight"]&&(n[Bt.TEXT]=l(o({},n[Bt.TEXT]),{"font-weight":t.data.value["font-weight"]})),t.data.value["text-color"]&&(n[Bt.TEXT]=l(o({},n[Bt.TEXT]),{color:t.data.value["text-color"]})),t.data.value["font-weight"]&&(r["font-weight"]=t.data.value["font-weight"]),Ja.getBlockByType(Lt.PAGE).create({attributes:{width:t.attributes.width,"background-color":t.attributes["background-color"],"content-background-color":t.data.value["content-background-color"],"margin-top":"0px","margin-bottom":"0px"},data:{globalAttributes:r,categoryAttributes:n,blockAttributes:{},classAttributes:{},breakpoint:t.data.value.breakpoint,headStyles:t.data.value.headStyles,fonts:t.data.value.fonts},children:t.children.map((t=>Su(t,e)))})},exports.formateBasicBlockAttribute=yu,exports.freezeSelectedTargets=function(e,t){const r=t||Ou;return e.map((e=>"target"in e&&Lu(e.target)?l(o({},e),{target:r}):e))},exports.getAdapterAttributesString=wu,exports.imageChoiceDescription=zu,exports.imageDecisionChoices=function(e,t,r="Image"){var n;return(null==(n=e.candidates)?void 0:n.length)?e.candidates:(t||[]).filter((e=>e.id||e.uid)).slice(0,8).map(((e,t)=>({id:e.id||e.uid||`image-${t}`,label:e.title||`${r} ${t+1}`,description:zu(e),thumbnail:e.src,value:e.attributeKey?{attributeKey:e.attributeKey}:void 0,target:e.id?{id:e.id}:e.uid?{uid:e.uid}:void 0}))).filter((e=>e.target))},exports.imageReplacementTarget=function(e,t){return t?"id"in t&&t.id===Ou.id?null:"selected"in t?Uu(e.selectedTarget,e.selectedType)?e.selectedTarget:null:"type"in t&&!Mu(t.type)?null:t:Uu(e.selectedTarget,e.selectedType)?e.selectedTarget:null},exports.imageTargetAttributeKey=function(e,t){if(!t)return"src";const r=(e||[]).find((r=>{if("id"in t)return r.id===t.id;if("uid"in t)return r.uid===t.uid;if("type"in t){const n=t.index||0;return(e||[]).filter((e=>e.type===t.type))[n]===r}return!1}));return(null==r?void 0:r.attributeKey)||"src"},exports.isHighConfidenceImageTarget=Fu,exports.isSelectedTarget=Lu,exports.keyGenerate=()=>e=>e,exports.mergeBlock=b,exports.mergeTagGenerate=e=>`{{ ${e} }}`,exports.missingInitialSelectionTarget=Ou,exports.mjmlToJsonCore=e=>{const{content:t,mjmlHelper:r}=e;if(!d.isString(t))return Ru(t);const n=(new DOMParser).parseFromString(t,"text/xml").firstChild;if("mjml"!==n.tagName)throw new Error("mjmlToJson: invalid mjml. First node must be mjml");if("mjml"===n.tagName){const{json:e}=r(t,{validationLevel:"soft"});return Ru(e)}const i=e=>{if("parsererror"===e.tagName)throw new Error("Invalid content");const t={};e.getAttributeNames().forEach((r=>{const n=e.getAttribute(r);d.isString(n)&&(t[r]=n)}));const r=e.tagName.replace("mj-","");if(!(Ja.getBlockByType(r)||e.parentElement&&"mj-text"===e.parentElement.tagName))throw new Error("Invalid content");const n={type:r,attributes:t,data:{},children:[...e.children].filter((e=>e instanceof Element)).map(i)};if(r===Lt.TEXT)n.data.value.content=e.innerHTML,n.children=[];return n};return i(n)},exports.normalizeToolCallsPayload=function(e){return l(o({},e),{toolCalls:Array.isArray(e.toolCalls)?e.toolCalls:Array.isArray(e.tool_calls)?e.tool_calls:[],fallbackTemplate:void 0===e.fallbackTemplate?e.fallback_template:e.fallbackTemplate})},exports.parseEasyEmailAiStream=Pu,exports.parseEasyEmailIntentResponse=function(e){return function(e){try{const t=JSON.parse(e);if(("ask"===t.intent||"action"===t.intent||"reference_rewrite"===t.intent)&&"high"===t.confidence)return t.intent}catch(t){return"action"}return"action"}(Mc(e||{}))},exports.parseEasyEmailSseMessage=qu,exports.readEasyEmailAiError=Iu,exports.resolveAiChatResult=function(e,t){return p(this,null,(function*(){if(Cu(),!e)throw new Error("onChat did not return a result");if(r=e,"undefined"!=typeof Response&&r instanceof Response){if(!e.ok)throw new Error(yield Iu(e));if(!e.body)throw new Error("Streaming response body is empty");return Pu(e.body,t)}var r;return function(e){return"undefined"!=typeof ReadableStream&&e instanceof ReadableStream}(e)?Pu(e,t):(t&&e.forEach(t),e)}))},exports.resolveEasyEmailAgentTextResponse=function(e){return p(this,null,(function*(){var t;const{session:r,intent:n}=e,i=e.payload||{};if("incomplete"===i.status||"max_output_tokens"===(null==(t=i.incomplete_details)?void 0:t.reason))throw new Error("AI response was truncated before template rewrite completed");const a=Mc(i),s=function(e,t="unknown"){var r,n,i,a,s,o,l,u,c,p,d,h;if(!e||"object"!=typeof e)return null;const _=e,f=_.input_tokens_details||_.inputTokenDetails||{},g=_.output_tokens_details||_.outputTokenDetails||{},m=null!=(n=null!=(r=Pc(_.input_tokens))?r:Pc(_.inputTokens))?n:Pc(_.prompt_tokens),b=null!=(a=null!=(i=Pc(_.output_tokens))?i:Pc(_.outputTokens))?a:Pc(_.completion_tokens),y=null!=(o=null!=(s=Pc(_.total_tokens))?s:Pc(_.totalTokens))?o:void 0!==m&&void 0!==b?m+b:void 0,x=null!=(c=null!=(u=null!=(l=Pc(_.cached_input_tokens))?l:Pc(_.cachedInputTokens))?u:Pc(f.cached_tokens))?c:Pc(f.cachedTokens),v=null!=(h=null!=(d=null!=(p=Pc(_.reasoning_tokens))?p:Pc(_.reasoningTokens))?d:Pc(g.reasoning_tokens))?h:Pc(g.reasoningTokens);return void 0===m&&void 0===b&&void 0===y&&void 0===x&&void 0===v?null:{model:t,inputTokens:m,outputTokens:b,totalTokens:y,cachedInputTokens:x,reasoningTokens:v}}(i.usage,e.model),u=[];s&&u.push({type:"usage",payload:s});const c="reference_rewrite"===n?yield mc(a,r.body.template):"action"===n?hc(a):dc(a);if("reference_rewrite"===n){if("easy_email_tool_calls"!==c.type)throw new Error("Reference rewrite did not return template changes. Please try again.");const e=yield wc(c.payload.toolCalls,r.body.template),t=yield function(e){return p(this,null,(function*(){if(1!==e.length)return"reference rewrite must return exactly one apply_template call";const t=e[0];return yield Ec(t)}))}(e);if(t)throw new Error(t);return u.push({type:"easy_email_tool_calls",payload:l(o({},c.payload),{toolCalls:e})}),{events:u}}if("easy_email_tool_calls"===c.type){const e=yield wc(c.payload.toolCalls,r.body.template),t=yield function(e){return p(this,null,(function*(){for(const t of e){if(!Bc(t)||"apply_template"!==t.name)continue;const e=yield Ec(t);if(e)return e}return null}))}(e);if(t)throw new Error(t);const n=function(e,t,r){const n=[];for(const a of e)Bc(a)?"apply_template"!==a.name&&(xc(a.target,t,r)||n.push(Bc(i=a.target)?!0===i.selected?"selected":"string"==typeof i.id?`id:${i.id}`:"string"==typeof i.uid?`uid:${i.uid}`:"string"==typeof i.type?`type:${i.type}`:"unknown target":"missing target")):n.push("invalid tool call");var i;return Array.from(new Set(n))}(e,r.body.template,r.body.editorContext);if(n.length)return u.push({type:"decision_request",payload:Tc({userPrompt:r.text,missingTargets:n})}),{events:u};c.payload.toolCalls=e}if("easy_email_image_request"===c.type){if("high"!==c.payload.confidence)return u.push({type:"decision_request",payload:c.payload.decision||Ac({summary:c.payload.summary,candidates:c.payload.candidates})}),{events:u};if(!c.payload.prompt)throw new Error("Image prompt is required");const e="edit"===c.payload.action?"edit":"generate";return u.push({type:"input",payload:{text:"Generating image"}}),{events:u,imageStep:{request:{action:e,prompt:c.payload.prompt,size:qc({requestedSize:c.payload.size,editorContext:r.body.editorContext,template:r.body.template,target:c.payload.target}),images:r.images},resultPayload:{summary:c.payload.summary||"Generated image.",target:c.payload.target,confidence:c.payload.confidence,candidates:c.payload.candidates,intent:c.payload.intent}}}}return u.push({type:c.type,payload:c.payload}),{events:u}}))},exports.selectedTargetFromContext=function(e){const t=null==e?void 0:e.selected;return t?t.id?{id:t.id}:t.uid?{uid:t.uid}:null:null},exports.t=Dt,exports.targetsSameBlock=ju,exports.useContainerWidth=()=>{var e,t,r,n,i;const{element:a}=jn(),{context:s}=Sn(),o=s.content;let l=parseFloat((null==(e=o.attributes)?void 0:e.width)||"600");return a&&Qt.isColumnElement(a)&&(l=(null==(r=null==(t=a.attributes)?void 0:t.width)?void 0:r.includes("%"))?l*parseFloat((null==(n=a.attributes)?void 0:n.width)||"0")/100:parseFloat((null==(i=a.attributes)?void 0:i.width)||"600")),{containerWidth:l}},exports.useEmailGlobalContext=Ut,exports.useEmailRenderContext=Sn,exports.useParentElementContext=jn,exports.variableGenerate=()=>e=>`{{ ${e} }}`;
|