mirror of
https://github.com/MercuryWorkshop/adrift.git
synced 2025-05-12 05:50:00 -04:00
55 lines
275 KiB
JavaScript
55 lines
275 KiB
JavaScript
"use strict";(()=>{var Eo=Object.create;var kt=Object.defineProperty;var Ao=Object.getOwnPropertyDescriptor;var Po=Object.getOwnPropertyNames;var Lo=Object.getPrototypeOf,Ro=Object.prototype.hasOwnProperty;var Io=(e,t,i)=>t in e?kt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var Pn=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,i)=>(typeof require<"u"?require:t)[i]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var j=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ln=(e,t)=>{for(var i in t)kt(e,i,{get:t[i],enumerable:!0})},Bo=(e,t,i,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Po(t))!Ro.call(e,n)&&n!==i&&kt(e,n,{get:()=>t[n],enumerable:!(r=Ao(t,n))||r.enumerable});return e};var et=(e,t,i)=>(i=e!=null?Eo(Lo(e)):{},Bo(t||!e||!e.__esModule?kt(i,"default",{value:e,enumerable:!0}):i,e));var Mi=(e,t,i)=>(Io(e,typeof t!="symbol"?t+"":t,i),i);var Fi=j((vc,In)=>{"use strict";function _e(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function Rn(e,t){for(var i="",r=0,n=-1,a=0,o,s=0;s<=e.length;++s){if(s<e.length)o=e.charCodeAt(s);else{if(o===47)break;o=47}if(o===47){if(!(n===s-1||a===1))if(n!==s-1&&a===2){if(i.length<2||r!==2||i.charCodeAt(i.length-1)!==46||i.charCodeAt(i.length-2)!==46){if(i.length>2){var c=i.lastIndexOf("/");if(c!==i.length-1){c===-1?(i="",r=0):(i=i.slice(0,c),r=i.length-1-i.lastIndexOf("/")),n=s,a=0;continue}}else if(i.length===2||i.length===1){i="",r=0,n=s,a=0;continue}}t&&(i.length>0?i+="/..":i="..",r=2)}else i.length>0?i+="/"+e.slice(n+1,s):i=e.slice(n+1,s),r=s-n-1;n=s,a=0}else o===46&&a!==-1?++a:a=-1}return i}function To(e,t){var i=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return i?i===t.root?i+r:i+e+r:r}var He={resolve:function(){for(var t="",i=!1,r,n=arguments.length-1;n>=-1&&!i;n--){var a;n>=0?a=arguments[n]:(r===void 0&&(r=process.cwd()),a=r),_e(a),a.length!==0&&(t=a+"/"+t,i=a.charCodeAt(0)===47)}return t=Rn(t,!i),i?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(_e(t),t.length===0)return".";var i=t.charCodeAt(0)===47,r=t.charCodeAt(t.length-1)===47;return t=Rn(t,!i),t.length===0&&!i&&(t="."),t.length>0&&r&&(t+="/"),i?"/"+t:t},isAbsolute:function(t){return _e(t),t.length>0&&t.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var t,i=0;i<arguments.length;++i){var r=arguments[i];_e(r),r.length>0&&(t===void 0?t=r:t+="/"+r)}return t===void 0?".":He.normalize(t)},relative:function(t,i){if(_e(t),_e(i),t===i||(t=He.resolve(t),i=He.resolve(i),t===i))return"";for(var r=1;r<t.length&&t.charCodeAt(r)===47;++r);for(var n=t.length,a=n-r,o=1;o<i.length&&i.charCodeAt(o)===47;++o);for(var s=i.length,c=s-o,u=a<c?a:c,l=-1,h=0;h<=u;++h){if(h===u){if(c>u){if(i.charCodeAt(o+h)===47)return i.slice(o+h+1);if(h===0)return i.slice(o+h)}else a>u&&(t.charCodeAt(r+h)===47?l=h:h===0&&(l=0));break}var p=t.charCodeAt(r+h),m=i.charCodeAt(o+h);if(p!==m)break;p===47&&(l=h)}var y="";for(h=r+l+1;h<=n;++h)(h===n||t.charCodeAt(h)===47)&&(y.length===0?y+="..":y+="/..");return y.length>0?y+i.slice(o+l):(o+=l,i.charCodeAt(o)===47&&++o,i.slice(o))},_makeLong:function(t){return t},dirname:function(t){if(_e(t),t.length===0)return".";for(var i=t.charCodeAt(0),r=i===47,n=-1,a=!0,o=t.length-1;o>=1;--o)if(i=t.charCodeAt(o),i===47){if(!a){n=o;break}}else a=!1;return n===-1?r?"/":".":r&&n===1?"//":t.slice(0,n)},basename:function(t,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');_e(t);var r=0,n=-1,a=!0,o;if(i!==void 0&&i.length>0&&i.length<=t.length){if(i.length===t.length&&i===t)return"";var s=i.length-1,c=-1;for(o=t.length-1;o>=0;--o){var u=t.charCodeAt(o);if(u===47){if(!a){r=o+1;break}}else c===-1&&(a=!1,c=o+1),s>=0&&(u===i.charCodeAt(s)?--s===-1&&(n=o):(s=-1,n=c))}return r===n?n=c:n===-1&&(n=t.length),t.slice(r,n)}else{for(o=t.length-1;o>=0;--o)if(t.charCodeAt(o)===47){if(!a){r=o+1;break}}else n===-1&&(a=!1,n=o+1);return n===-1?"":t.slice(r,n)}},extname:function(t){_e(t);for(var i=-1,r=0,n=-1,a=!0,o=0,s=t.length-1;s>=0;--s){var c=t.charCodeAt(s);if(c===47){if(!a){r=s+1;break}continue}n===-1&&(a=!1,n=s+1),c===46?i===-1?i=s:o!==1&&(o=1):i!==-1&&(o=-1)}return i===-1||n===-1||o===0||o===1&&i===n-1&&i===r+1?"":t.slice(i,n)},format:function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return To("/",t)},parse:function(t){_e(t);var i={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return i;var r=t.charCodeAt(0),n=r===47,a;n?(i.root="/",a=1):a=0;for(var o=-1,s=0,c=-1,u=!0,l=t.length-1,h=0;l>=a;--l){if(r=t.charCodeAt(l),r===47){if(!u){s=l+1;break}continue}c===-1&&(u=!1,c=l+1),r===46?o===-1?o=l:h!==1&&(h=1):o!==-1&&(h=-1)}return o===-1||c===-1||h===0||h===1&&o===c-1&&o===s+1?c!==-1&&(s===0&&n?i.base=i.name=t.slice(1,c):i.base=i.name=t.slice(s,c)):(s===0&&n?(i.name=t.slice(1,o),i.base=t.slice(1,c)):(i.name=t.slice(s,o),i.base=t.slice(s,c)),i.ext=t.slice(o,c)),s>0?i.dir=t.slice(0,s-1):n&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null};He.posix=He;In.exports=He});var Ta=j(ur=>{"use strict";ur.parse=U0;ur.serialize=W0;var $0=Object.prototype.toString,Ft=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function U0(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");for(var i={},r=t||{},n=r.decode||q0,a=0;a<e.length;){var o=e.indexOf("=",a);if(o===-1)break;var s=e.indexOf(";",a);if(s===-1)s=e.length;else if(s<o){a=e.lastIndexOf(";",o-1)+1;continue}var c=e.slice(a,o).trim();if(i[c]===void 0){var u=e.slice(o+1,s).trim();u.charCodeAt(0)===34&&(u=u.slice(1,-1)),i[c]=K0(u,n)}a=s+1}return i}function W0(e,t,i){var r=i||{},n=r.encode||z0;if(typeof n!="function")throw new TypeError("option encode is invalid");if(!Ft.test(e))throw new TypeError("argument name is invalid");var a=n(t);if(a&&!Ft.test(a))throw new TypeError("argument val is invalid");var o=e+"="+a;if(r.maxAge!=null){var s=r.maxAge-0;if(isNaN(s)||!isFinite(s))throw new TypeError("option maxAge is invalid");o+="; Max-Age="+Math.floor(s)}if(r.domain){if(!Ft.test(r.domain))throw new TypeError("option domain is invalid");o+="; Domain="+r.domain}if(r.path){if(!Ft.test(r.path))throw new TypeError("option path is invalid");o+="; Path="+r.path}if(r.expires){var c=r.expires;if(!G0(c)||isNaN(c.valueOf()))throw new TypeError("option expires is invalid");o+="; Expires="+c.toUTCString()}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.priority){var u=typeof r.priority=="string"?r.priority.toLowerCase():r.priority;switch(u){case"low":o+="; Priority=Low";break;case"medium":o+="; Priority=Medium";break;case"high":o+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){var l=typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite;switch(l){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return o}function q0(e){return e.indexOf("%")!==-1?decodeURIComponent(e):e}function z0(e){return encodeURIComponent(e)}function G0(e){return $0.call(e)==="[object Date]"||e instanceof Date}function K0(e,t){try{return t(e)}catch{return e}}});var Na=j((Mc,ut)=>{"use strict";var We={decodeValues:!0,map:!1,silent:!1};function lr(e){return typeof e=="string"&&!!e.trim()}function fr(e,t){var i=e.split(";").filter(lr),r=i.shift(),n=X0(r),a=n.name,o=n.value;t=t?Object.assign({},We,t):We;try{o=t.decodeValues?decodeURIComponent(o):o}catch(c){console.error("set-cookie-parser encountered an error while decoding a cookie with value '"+o+"'. Set options.decodeValues to false to disable this feature.",c)}var s={name:a,value:o};return i.forEach(function(c){var u=c.split("="),l=u.shift().trimLeft().toLowerCase(),h=u.join("=");l==="expires"?s.expires=new Date(h):l==="max-age"?s.maxAge=parseInt(h,10):l==="secure"?s.secure=!0:l==="httponly"?s.httpOnly=!0:l==="samesite"?s.sameSite=h:s[l]=h}),s}function X0(e){var t="",i="",r=e.split("=");return r.length>1?(t=r.shift(),i=r.join("=")):i=e,{name:t,value:i}}function Da(e,t){if(t=t?Object.assign({},We,t):We,!e)return t.map?{}:[];if(e.headers)if(typeof e.headers.getSetCookie=="function")e=e.headers.getSetCookie();else if(e.headers["set-cookie"])e=e.headers["set-cookie"];else{var i=e.headers[Object.keys(e.headers).find(function(n){return n.toLowerCase()==="set-cookie"})];!i&&e.headers.cookie&&!t.silent&&console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),e=i}if(Array.isArray(e)||(e=[e]),t=t?Object.assign({},We,t):We,t.map){var r={};return e.filter(lr).reduce(function(n,a){var o=fr(a,t);return n[o.name]=o,n},r)}else return e.filter(lr).map(function(n){return fr(n,t)})}function Q0(e){if(Array.isArray(e))return e;if(typeof e!="string")return[];var t=[],i=0,r,n,a,o,s;function c(){for(;i<e.length&&/\s/.test(e.charAt(i));)i+=1;return i<e.length}function u(){return n=e.charAt(i),n!=="="&&n!==";"&&n!==","}for(;i<e.length;){for(r=i,s=!1;c();)if(n=e.charAt(i),n===","){for(a=i,i+=1,c(),o=i;i<e.length&&u();)i+=1;i<e.length&&e.charAt(i)==="="?(s=!0,i=o,t.push(e.substring(r,a)),r=i):i=a+1}else i+=1;(!s||i>=e.length)&&t.push(e.substring(r,e.length))}return t}ut.exports=Da;ut.exports.parse=Da;ut.exports.parseString=fr;ut.exports.splitCookiesString=Q0});var as=j(()=>{});var G=j((Qt,ss)=>{(function(e,t){typeof Qt=="object"?ss.exports=Qt=t():typeof define=="function"&&define.amd?define([],t):e.CryptoJS=t()})(Qt,function(){var e=e||function(t,i){var r;if(typeof window<"u"&&window.crypto&&(r=window.crypto),typeof self<"u"&&self.crypto&&(r=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(r=globalThis.crypto),!r&&typeof window<"u"&&window.msCrypto&&(r=window.msCrypto),!r&&typeof global<"u"&&global.crypto&&(r=global.crypto),!r&&typeof Pn=="function")try{r=as()}catch{}var n=function(){if(r){if(typeof r.getRandomValues=="function")try{return r.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof r.randomBytes=="function")try{return r.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function d(){}return function(x){var b;return d.prototype=x,b=new d,d.prototype=null,b}}(),o={},s=o.lib={},c=s.Base=function(){return{extend:function(d){var x=a(this);return d&&x.mixIn(d),(!x.hasOwnProperty("init")||this.init===x.init)&&(x.init=function(){x.$super.init.apply(this,arguments)}),x.init.prototype=x,x.$super=this,x},create:function(){var d=this.extend();return d.init.apply(d,arguments),d},init:function(){},mixIn:function(d){for(var x in d)d.hasOwnProperty(x)&&(this[x]=d[x]);d.hasOwnProperty("toString")&&(this.toString=d.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),u=s.WordArray=c.extend({init:function(d,x){d=this.words=d||[],x!=i?this.sigBytes=x:this.sigBytes=d.length*4},toString:function(d){return(d||h).stringify(this)},concat:function(d){var x=this.words,b=d.words,_=this.sigBytes,S=d.sigBytes;if(this.clamp(),_%4)for(var w=0;w<S;w++){var B=b[w>>>2]>>>24-w%4*8&255;x[_+w>>>2]|=B<<24-(_+w)%4*8}else for(var L=0;L<S;L+=4)x[_+L>>>2]=b[L>>>2];return this.sigBytes+=S,this},clamp:function(){var d=this.words,x=this.sigBytes;d[x>>>2]&=4294967295<<32-x%4*8,d.length=t.ceil(x/4)},clone:function(){var d=c.clone.call(this);return d.words=this.words.slice(0),d},random:function(d){for(var x=[],b=0;b<d;b+=4)x.push(n());return new u.init(x,d)}}),l=o.enc={},h=l.Hex={stringify:function(d){for(var x=d.words,b=d.sigBytes,_=[],S=0;S<b;S++){var w=x[S>>>2]>>>24-S%4*8&255;_.push((w>>>4).toString(16)),_.push((w&15).toString(16))}return _.join("")},parse:function(d){for(var x=d.length,b=[],_=0;_<x;_+=2)b[_>>>3]|=parseInt(d.substr(_,2),16)<<24-_%8*4;return new u.init(b,x/2)}},p=l.Latin1={stringify:function(d){for(var x=d.words,b=d.sigBytes,_=[],S=0;S<b;S++){var w=x[S>>>2]>>>24-S%4*8&255;_.push(String.fromCharCode(w))}return _.join("")},parse:function(d){for(var x=d.length,b=[],_=0;_<x;_++)b[_>>>2]|=(d.charCodeAt(_)&255)<<24-_%4*8;return new u.init(b,x)}},m=l.Utf8={stringify:function(d){try{return decodeURIComponent(escape(p.stringify(d)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(d){return p.parse(unescape(encodeURIComponent(d)))}},y=s.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(d){typeof d=="string"&&(d=m.parse(d)),this._data.concat(d),this._nDataBytes+=d.sigBytes},_process:function(d){var x,b=this._data,_=b.words,S=b.sigBytes,w=this.blockSize,B=w*4,L=S/B;d?L=t.ceil(L):L=t.max((L|0)-this._minBufferSize,0);var T=L*w,N=t.min(T*4,S);if(T){for(var C=0;C<T;C+=w)this._doProcessBlock(_,C);x=_.splice(0,T),b.sigBytes-=N}return new u.init(x,N)},clone:function(){var d=c.clone.call(this);return d._data=this._data.clone(),d},_minBufferSize:0}),g=s.Hasher=y.extend({cfg:c.extend(),init:function(d){this.cfg=this.cfg.extend(d),this.reset()},reset:function(){y.reset.call(this),this._doReset()},update:function(d){return this._append(d),this._process(),this},finalize:function(d){d&&this._append(d);var x=this._doFinalize();return x},blockSize:512/32,_createHelper:function(d){return function(x,b){return new d.init(b).finalize(x)}},_createHmacHelper:function(d){return function(x,b){return new v.HMAC.init(d,b).finalize(x)}}}),v=o.algo={};return o}(Math);return e})});var _t=j((Yt,os)=>{(function(e,t){typeof Yt=="object"?os.exports=Yt=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(Yt,function(e){return function(t){var i=e,r=i.lib,n=r.Base,a=r.WordArray,o=i.x64={},s=o.Word=n.extend({init:function(u,l){this.high=u,this.low=l}}),c=o.WordArray=n.extend({init:function(u,l){u=this.words=u||[],l!=t?this.sigBytes=l:this.sigBytes=u.length*8},toX32:function(){for(var u=this.words,l=u.length,h=[],p=0;p<l;p++){var m=u[p];h.push(m.high),h.push(m.low)}return a.create(h,this.sigBytes)},clone:function(){for(var u=n.clone.call(this),l=u.words=this.words.slice(0),h=l.length,p=0;p<h;p++)l[p]=l[p].clone();return u}})}(),e})});var us=j((Zt,cs)=>{(function(e,t){typeof Zt=="object"?cs.exports=Zt=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(Zt,function(e){return function(){if(typeof ArrayBuffer=="function"){var t=e,i=t.lib,r=i.WordArray,n=r.init,a=r.init=function(o){if(o instanceof ArrayBuffer&&(o=new Uint8Array(o)),(o instanceof Int8Array||typeof Uint8ClampedArray<"u"&&o instanceof Uint8ClampedArray||o instanceof Int16Array||o instanceof Uint16Array||o instanceof Int32Array||o instanceof Uint32Array||o instanceof Float32Array||o instanceof Float64Array)&&(o=new Uint8Array(o.buffer,o.byteOffset,o.byteLength)),o instanceof Uint8Array){for(var s=o.byteLength,c=[],u=0;u<s;u++)c[u>>>2]|=o[u]<<24-u%4*8;n.call(this,c,s)}else n.apply(this,arguments)};a.prototype=r}}(),e.lib.WordArray})});var fs=j((Jt,ls)=>{(function(e,t){typeof Jt=="object"?ls.exports=Jt=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(Jt,function(e){return function(){var t=e,i=t.lib,r=i.WordArray,n=t.enc,a=n.Utf16=n.Utf16BE={stringify:function(s){for(var c=s.words,u=s.sigBytes,l=[],h=0;h<u;h+=2){var p=c[h>>>2]>>>16-h%4*8&65535;l.push(String.fromCharCode(p))}return l.join("")},parse:function(s){for(var c=s.length,u=[],l=0;l<c;l++)u[l>>>1]|=s.charCodeAt(l)<<16-l%2*16;return r.create(u,c*2)}};n.Utf16LE={stringify:function(s){for(var c=s.words,u=s.sigBytes,l=[],h=0;h<u;h+=2){var p=o(c[h>>>2]>>>16-h%4*8&65535);l.push(String.fromCharCode(p))}return l.join("")},parse:function(s){for(var c=s.length,u=[],l=0;l<c;l++)u[l>>>1]|=o(s.charCodeAt(l)<<16-l%2*16);return r.create(u,c*2)}};function o(s){return s<<8&4278255360|s>>>8&16711935}}(),e.enc.Utf16})});var De=j((ei,hs)=>{(function(e,t){typeof ei=="object"?hs.exports=ei=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(ei,function(e){return function(){var t=e,i=t.lib,r=i.WordArray,n=t.enc,a=n.Base64={stringify:function(s){var c=s.words,u=s.sigBytes,l=this._map;s.clamp();for(var h=[],p=0;p<u;p+=3)for(var m=c[p>>>2]>>>24-p%4*8&255,y=c[p+1>>>2]>>>24-(p+1)%4*8&255,g=c[p+2>>>2]>>>24-(p+2)%4*8&255,v=m<<16|y<<8|g,d=0;d<4&&p+d*.75<u;d++)h.push(l.charAt(v>>>6*(3-d)&63));var x=l.charAt(64);if(x)for(;h.length%4;)h.push(x);return h.join("")},parse:function(s){var c=s.length,u=this._map,l=this._reverseMap;if(!l){l=this._reverseMap=[];for(var h=0;h<u.length;h++)l[u.charCodeAt(h)]=h}var p=u.charAt(64);if(p){var m=s.indexOf(p);m!==-1&&(c=m)}return o(s,c,l)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function o(s,c,u){for(var l=[],h=0,p=0;p<c;p++)if(p%4){var m=u[s.charCodeAt(p-1)]<<p%4*2,y=u[s.charCodeAt(p)]>>>6-p%4*2,g=m|y;l[h>>>2]|=g<<24-h%4*8,h++}return r.create(l,h)}}(),e.enc.Base64})});var ds=j((ti,ps)=>{(function(e,t){typeof ti=="object"?ps.exports=ti=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(ti,function(e){return function(){var t=e,i=t.lib,r=i.WordArray,n=t.enc,a=n.Base64url={stringify:function(s,c=!0){var u=s.words,l=s.sigBytes,h=c?this._safe_map:this._map;s.clamp();for(var p=[],m=0;m<l;m+=3)for(var y=u[m>>>2]>>>24-m%4*8&255,g=u[m+1>>>2]>>>24-(m+1)%4*8&255,v=u[m+2>>>2]>>>24-(m+2)%4*8&255,d=y<<16|g<<8|v,x=0;x<4&&m+x*.75<l;x++)p.push(h.charAt(d>>>6*(3-x)&63));var b=h.charAt(64);if(b)for(;p.length%4;)p.push(b);return p.join("")},parse:function(s,c=!0){var u=s.length,l=c?this._safe_map:this._map,h=this._reverseMap;if(!h){h=this._reverseMap=[];for(var p=0;p<l.length;p++)h[l.charCodeAt(p)]=p}var m=l.charAt(64);if(m){var y=s.indexOf(m);y!==-1&&(u=y)}return o(s,u,h)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function o(s,c,u){for(var l=[],h=0,p=0;p<c;p++)if(p%4){var m=u[s.charCodeAt(p-1)]<<p%4*2,y=u[s.charCodeAt(p)]>>>6-p%4*2,g=m|y;l[h>>>2]|=g<<24-h%4*8,h++}return r.create(l,h)}}(),e.enc.Base64url})});var Ne=j((ii,ms)=>{(function(e,t){typeof ii=="object"?ms.exports=ii=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(ii,function(e){return function(t){var i=e,r=i.lib,n=r.WordArray,a=r.Hasher,o=i.algo,s=[];(function(){for(var m=0;m<64;m++)s[m]=t.abs(t.sin(m+1))*4294967296|0})();var c=o.MD5=a.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(m,y){for(var g=0;g<16;g++){var v=y+g,d=m[v];m[v]=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360}var x=this._hash.words,b=m[y+0],_=m[y+1],S=m[y+2],w=m[y+3],B=m[y+4],L=m[y+5],T=m[y+6],N=m[y+7],C=m[y+8],I=m[y+9],D=m[y+10],R=m[y+11],H=m[y+12],F=m[y+13],$=m[y+14],q=m[y+15],k=x[0],A=x[1],P=x[2],E=x[3];k=u(k,A,P,E,b,7,s[0]),E=u(E,k,A,P,_,12,s[1]),P=u(P,E,k,A,S,17,s[2]),A=u(A,P,E,k,w,22,s[3]),k=u(k,A,P,E,B,7,s[4]),E=u(E,k,A,P,L,12,s[5]),P=u(P,E,k,A,T,17,s[6]),A=u(A,P,E,k,N,22,s[7]),k=u(k,A,P,E,C,7,s[8]),E=u(E,k,A,P,I,12,s[9]),P=u(P,E,k,A,D,17,s[10]),A=u(A,P,E,k,R,22,s[11]),k=u(k,A,P,E,H,7,s[12]),E=u(E,k,A,P,F,12,s[13]),P=u(P,E,k,A,$,17,s[14]),A=u(A,P,E,k,q,22,s[15]),k=l(k,A,P,E,_,5,s[16]),E=l(E,k,A,P,T,9,s[17]),P=l(P,E,k,A,R,14,s[18]),A=l(A,P,E,k,b,20,s[19]),k=l(k,A,P,E,L,5,s[20]),E=l(E,k,A,P,D,9,s[21]),P=l(P,E,k,A,q,14,s[22]),A=l(A,P,E,k,B,20,s[23]),k=l(k,A,P,E,I,5,s[24]),E=l(E,k,A,P,$,9,s[25]),P=l(P,E,k,A,w,14,s[26]),A=l(A,P,E,k,C,20,s[27]),k=l(k,A,P,E,F,5,s[28]),E=l(E,k,A,P,S,9,s[29]),P=l(P,E,k,A,N,14,s[30]),A=l(A,P,E,k,H,20,s[31]),k=h(k,A,P,E,L,4,s[32]),E=h(E,k,A,P,C,11,s[33]),P=h(P,E,k,A,R,16,s[34]),A=h(A,P,E,k,$,23,s[35]),k=h(k,A,P,E,_,4,s[36]),E=h(E,k,A,P,B,11,s[37]),P=h(P,E,k,A,N,16,s[38]),A=h(A,P,E,k,D,23,s[39]),k=h(k,A,P,E,F,4,s[40]),E=h(E,k,A,P,b,11,s[41]),P=h(P,E,k,A,w,16,s[42]),A=h(A,P,E,k,T,23,s[43]),k=h(k,A,P,E,I,4,s[44]),E=h(E,k,A,P,H,11,s[45]),P=h(P,E,k,A,q,16,s[46]),A=h(A,P,E,k,S,23,s[47]),k=p(k,A,P,E,b,6,s[48]),E=p(E,k,A,P,N,10,s[49]),P=p(P,E,k,A,$,15,s[50]),A=p(A,P,E,k,L,21,s[51]),k=p(k,A,P,E,H,6,s[52]),E=p(E,k,A,P,w,10,s[53]),P=p(P,E,k,A,D,15,s[54]),A=p(A,P,E,k,_,21,s[55]),k=p(k,A,P,E,C,6,s[56]),E=p(E,k,A,P,q,10,s[57]),P=p(P,E,k,A,T,15,s[58]),A=p(A,P,E,k,F,21,s[59]),k=p(k,A,P,E,B,6,s[60]),E=p(E,k,A,P,R,10,s[61]),P=p(P,E,k,A,S,15,s[62]),A=p(A,P,E,k,I,21,s[63]),x[0]=x[0]+k|0,x[1]=x[1]+A|0,x[2]=x[2]+P|0,x[3]=x[3]+E|0},_doFinalize:function(){var m=this._data,y=m.words,g=this._nDataBytes*8,v=m.sigBytes*8;y[v>>>5]|=128<<24-v%32;var d=t.floor(g/4294967296),x=g;y[(v+64>>>9<<4)+15]=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360,y[(v+64>>>9<<4)+14]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,m.sigBytes=(y.length+1)*4,this._process();for(var b=this._hash,_=b.words,S=0;S<4;S++){var w=_[S];_[S]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}return b},clone:function(){var m=a.clone.call(this);return m._hash=this._hash.clone(),m}});function u(m,y,g,v,d,x,b){var _=m+(y&g|~y&v)+d+b;return(_<<x|_>>>32-x)+y}function l(m,y,g,v,d,x,b){var _=m+(y&v|g&~v)+d+b;return(_<<x|_>>>32-x)+y}function h(m,y,g,v,d,x,b){var _=m+(y^g^v)+d+b;return(_<<x|_>>>32-x)+y}function p(m,y,g,v,d,x,b){var _=m+(g^(y|~v))+d+b;return(_<<x|_>>>32-x)+y}i.MD5=a._createHelper(c),i.HmacMD5=a._createHmacHelper(c)}(Math),e.MD5})});var ni=j((ri,xs)=>{(function(e,t){typeof ri=="object"?xs.exports=ri=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(ri,function(e){return function(){var t=e,i=t.lib,r=i.WordArray,n=i.Hasher,a=t.algo,o=[],s=a.SHA1=n.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,u){for(var l=this._hash.words,h=l[0],p=l[1],m=l[2],y=l[3],g=l[4],v=0;v<80;v++){if(v<16)o[v]=c[u+v]|0;else{var d=o[v-3]^o[v-8]^o[v-14]^o[v-16];o[v]=d<<1|d>>>31}var x=(h<<5|h>>>27)+g+o[v];v<20?x+=(p&m|~p&y)+1518500249:v<40?x+=(p^m^y)+1859775393:v<60?x+=(p&m|p&y|m&y)-1894007588:x+=(p^m^y)-899497514,g=y,y=m,m=p<<30|p>>>2,p=h,h=x}l[0]=l[0]+h|0,l[1]=l[1]+p|0,l[2]=l[2]+m|0,l[3]=l[3]+y|0,l[4]=l[4]+g|0},_doFinalize:function(){var c=this._data,u=c.words,l=this._nDataBytes*8,h=c.sigBytes*8;return u[h>>>5]|=128<<24-h%32,u[(h+64>>>9<<4)+14]=Math.floor(l/4294967296),u[(h+64>>>9<<4)+15]=l,c.sigBytes=u.length*4,this._process(),this._hash},clone:function(){var c=n.clone.call(this);return c._hash=this._hash.clone(),c}});t.SHA1=n._createHelper(s),t.HmacSHA1=n._createHmacHelper(s)}(),e.SHA1})});var fn=j((ai,ys)=>{(function(e,t){typeof ai=="object"?ys.exports=ai=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(ai,function(e){return function(t){var i=e,r=i.lib,n=r.WordArray,a=r.Hasher,o=i.algo,s=[],c=[];(function(){function h(g){for(var v=t.sqrt(g),d=2;d<=v;d++)if(!(g%d))return!1;return!0}function p(g){return(g-(g|0))*4294967296|0}for(var m=2,y=0;y<64;)h(m)&&(y<8&&(s[y]=p(t.pow(m,1/2))),c[y]=p(t.pow(m,1/3)),y++),m++})();var u=[],l=o.SHA256=a.extend({_doReset:function(){this._hash=new n.init(s.slice(0))},_doProcessBlock:function(h,p){for(var m=this._hash.words,y=m[0],g=m[1],v=m[2],d=m[3],x=m[4],b=m[5],_=m[6],S=m[7],w=0;w<64;w++){if(w<16)u[w]=h[p+w]|0;else{var B=u[w-15],L=(B<<25|B>>>7)^(B<<14|B>>>18)^B>>>3,T=u[w-2],N=(T<<15|T>>>17)^(T<<13|T>>>19)^T>>>10;u[w]=L+u[w-7]+N+u[w-16]}var C=x&b^~x&_,I=y&g^y&v^g&v,D=(y<<30|y>>>2)^(y<<19|y>>>13)^(y<<10|y>>>22),R=(x<<26|x>>>6)^(x<<21|x>>>11)^(x<<7|x>>>25),H=S+R+C+c[w]+u[w],F=D+I;S=_,_=b,b=x,x=d+H|0,d=v,v=g,g=y,y=H+F|0}m[0]=m[0]+y|0,m[1]=m[1]+g|0,m[2]=m[2]+v|0,m[3]=m[3]+d|0,m[4]=m[4]+x|0,m[5]=m[5]+b|0,m[6]=m[6]+_|0,m[7]=m[7]+S|0},_doFinalize:function(){var h=this._data,p=h.words,m=this._nDataBytes*8,y=h.sigBytes*8;return p[y>>>5]|=128<<24-y%32,p[(y+64>>>9<<4)+14]=t.floor(m/4294967296),p[(y+64>>>9<<4)+15]=m,h.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var h=a.clone.call(this);return h._hash=this._hash.clone(),h}});i.SHA256=a._createHelper(l),i.HmacSHA256=a._createHmacHelper(l)}(Math),e.SHA256})});var gs=j((si,vs)=>{(function(e,t,i){typeof si=="object"?vs.exports=si=t(G(),fn()):typeof define=="function"&&define.amd?define(["./core","./sha256"],t):t(e.CryptoJS)})(si,function(e){return function(){var t=e,i=t.lib,r=i.WordArray,n=t.algo,a=n.SHA256,o=n.SHA224=a.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var s=a._doFinalize.call(this);return s.sigBytes-=4,s}});t.SHA224=a._createHelper(o),t.HmacSHA224=a._createHmacHelper(o)}(),e.SHA224})});var hn=j((oi,_s)=>{(function(e,t,i){typeof oi=="object"?_s.exports=oi=t(G(),_t()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],t):t(e.CryptoJS)})(oi,function(e){return function(){var t=e,i=t.lib,r=i.Hasher,n=t.x64,a=n.Word,o=n.WordArray,s=t.algo;function c(){return a.create.apply(a,arguments)}var u=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],l=[];(function(){for(var p=0;p<80;p++)l[p]=c()})();var h=s.SHA512=r.extend({_doReset:function(){this._hash=new o.init([new a.init(1779033703,4089235720),new a.init(3144134277,2227873595),new a.init(1013904242,4271175723),new a.init(2773480762,1595750129),new a.init(1359893119,2917565137),new a.init(2600822924,725511199),new a.init(528734635,4215389547),new a.init(1541459225,327033209)])},_doProcessBlock:function(p,m){for(var y=this._hash.words,g=y[0],v=y[1],d=y[2],x=y[3],b=y[4],_=y[5],S=y[6],w=y[7],B=g.high,L=g.low,T=v.high,N=v.low,C=d.high,I=d.low,D=x.high,R=x.low,H=b.high,F=b.low,$=_.high,q=_.low,k=S.high,A=S.low,P=w.high,E=w.low,Q=B,X=L,re=T,U=N,Ge=C,Oe=I,Ni=D,Ke=R,xe=H,se=F,wt=$,Xe=q,St=k,Qe=A,Oi=P,Ye=E,ye=0;ye<80;ye++){var ce,Ae,Ct=l[ye];if(ye<16)Ae=Ct.high=p[m+ye*2]|0,ce=Ct.low=p[m+ye*2+1]|0;else{var xn=l[ye-15],Me=xn.high,Ze=xn.low,ho=(Me>>>1|Ze<<31)^(Me>>>8|Ze<<24)^Me>>>7,yn=(Ze>>>1|Me<<31)^(Ze>>>8|Me<<24)^(Ze>>>7|Me<<25),vn=l[ye-2],Fe=vn.high,Je=vn.low,po=(Fe>>>19|Je<<13)^(Fe<<3|Je>>>29)^Fe>>>6,gn=(Je>>>19|Fe<<13)^(Je<<3|Fe>>>29)^(Je>>>6|Fe<<26),_n=l[ye-7],mo=_n.high,xo=_n.low,bn=l[ye-16],yo=bn.high,wn=bn.low;ce=yn+xo,Ae=ho+mo+(ce>>>0<yn>>>0?1:0),ce=ce+gn,Ae=Ae+po+(ce>>>0<gn>>>0?1:0),ce=ce+wn,Ae=Ae+yo+(ce>>>0<wn>>>0?1:0),Ct.high=Ae,Ct.low=ce}var vo=xe&wt^~xe&St,Sn=se&Xe^~se&Qe,go=Q&re^Q&Ge^re&Ge,_o=X&U^X&Oe^U&Oe,bo=(Q>>>28|X<<4)^(Q<<30|X>>>2)^(Q<<25|X>>>7),Cn=(X>>>28|Q<<4)^(X<<30|Q>>>2)^(X<<25|Q>>>7),wo=(xe>>>14|se<<18)^(xe>>>18|se<<14)^(xe<<23|se>>>9),So=(se>>>14|xe<<18)^(se>>>18|xe<<14)^(se<<23|xe>>>9),kn=u[ye],Co=kn.high,En=kn.low,oe=Ye+So,Pe=Oi+wo+(oe>>>0<Ye>>>0?1:0),oe=oe+Sn,Pe=Pe+vo+(oe>>>0<Sn>>>0?1:0),oe=oe+En,Pe=Pe+Co+(oe>>>0<En>>>0?1:0),oe=oe+ce,Pe=Pe+Ae+(oe>>>0<ce>>>0?1:0),An=Cn+_o,ko=bo+go+(An>>>0<Cn>>>0?1:0);Oi=St,Ye=Qe,St=wt,Qe=Xe,wt=xe,Xe=se,se=Ke+oe|0,xe=Ni+Pe+(se>>>0<Ke>>>0?1:0)|0,Ni=Ge,Ke=Oe,Ge=re,Oe=U,re=Q,U=X,X=oe+An|0,Q=Pe+ko+(X>>>0<oe>>>0?1:0)|0}L=g.low=L+X,g.high=B+Q+(L>>>0<X>>>0?1:0),N=v.low=N+U,v.high=T+re+(N>>>0<U>>>0?1:0),I=d.low=I+Oe,d.high=C+Ge+(I>>>0<Oe>>>0?1:0),R=x.low=R+Ke,x.high=D+Ni+(R>>>0<Ke>>>0?1:0),F=b.low=F+se,b.high=H+xe+(F>>>0<se>>>0?1:0),q=_.low=q+Xe,_.high=$+wt+(q>>>0<Xe>>>0?1:0),A=S.low=A+Qe,S.high=k+St+(A>>>0<Qe>>>0?1:0),E=w.low=E+Ye,w.high=P+Oi+(E>>>0<Ye>>>0?1:0)},_doFinalize:function(){var p=this._data,m=p.words,y=this._nDataBytes*8,g=p.sigBytes*8;m[g>>>5]|=128<<24-g%32,m[(g+128>>>10<<5)+30]=Math.floor(y/4294967296),m[(g+128>>>10<<5)+31]=y,p.sigBytes=m.length*4,this._process();var v=this._hash.toX32();return v},clone:function(){var p=r.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:1024/32});t.SHA512=r._createHelper(h),t.HmacSHA512=r._createHmacHelper(h)}(),e.SHA512})});var ws=j((ci,bs)=>{(function(e,t,i){typeof ci=="object"?bs.exports=ci=t(G(),_t(),hn()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./sha512"],t):t(e.CryptoJS)})(ci,function(e){return function(){var t=e,i=t.x64,r=i.Word,n=i.WordArray,a=t.algo,o=a.SHA512,s=a.SHA384=o.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 c=o._doFinalize.call(this);return c.sigBytes-=16,c}});t.SHA384=o._createHelper(s),t.HmacSHA384=o._createHmacHelper(s)}(),e.SHA384})});var Cs=j((ui,Ss)=>{(function(e,t,i){typeof ui=="object"?Ss.exports=ui=t(G(),_t()):typeof define=="function"&&define.amd?define(["./core","./x64-core"],t):t(e.CryptoJS)})(ui,function(e){return function(t){var i=e,r=i.lib,n=r.WordArray,a=r.Hasher,o=i.x64,s=o.Word,c=i.algo,u=[],l=[],h=[];(function(){for(var y=1,g=0,v=0;v<24;v++){u[y+5*g]=(v+1)*(v+2)/2%64;var d=g%5,x=(2*y+3*g)%5;y=d,g=x}for(var y=0;y<5;y++)for(var g=0;g<5;g++)l[y+5*g]=g+(2*y+3*g)%5*5;for(var b=1,_=0;_<24;_++){for(var S=0,w=0,B=0;B<7;B++){if(b&1){var L=(1<<B)-1;L<32?w^=1<<L:S^=1<<L-32}b&128?b=b<<1^113:b<<=1}h[_]=s.create(S,w)}})();var p=[];(function(){for(var y=0;y<25;y++)p[y]=s.create()})();var m=c.SHA3=a.extend({cfg:a.cfg.extend({outputLength:512}),_doReset:function(){for(var y=this._state=[],g=0;g<25;g++)y[g]=new s.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(y,g){for(var v=this._state,d=this.blockSize/2,x=0;x<d;x++){var b=y[g+2*x],_=y[g+2*x+1];b=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360;var S=v[x];S.high^=_,S.low^=b}for(var w=0;w<24;w++){for(var B=0;B<5;B++){for(var L=0,T=0,N=0;N<5;N++){var S=v[B+5*N];L^=S.high,T^=S.low}var C=p[B];C.high=L,C.low=T}for(var B=0;B<5;B++)for(var I=p[(B+4)%5],D=p[(B+1)%5],R=D.high,H=D.low,L=I.high^(R<<1|H>>>31),T=I.low^(H<<1|R>>>31),N=0;N<5;N++){var S=v[B+5*N];S.high^=L,S.low^=T}for(var F=1;F<25;F++){var L,T,S=v[F],$=S.high,q=S.low,k=u[F];k<32?(L=$<<k|q>>>32-k,T=q<<k|$>>>32-k):(L=q<<k-32|$>>>64-k,T=$<<k-32|q>>>64-k);var A=p[l[F]];A.high=L,A.low=T}var P=p[0],E=v[0];P.high=E.high,P.low=E.low;for(var B=0;B<5;B++)for(var N=0;N<5;N++){var F=B+5*N,S=v[F],Q=p[F],X=p[(B+1)%5+5*N],re=p[(B+2)%5+5*N];S.high=Q.high^~X.high&re.high,S.low=Q.low^~X.low&re.low}var S=v[0],U=h[w];S.high^=U.high,S.low^=U.low}},_doFinalize:function(){var y=this._data,g=y.words,v=this._nDataBytes*8,d=y.sigBytes*8,x=this.blockSize*32;g[d>>>5]|=1<<24-d%32,g[(t.ceil((d+1)/x)*x>>>5)-1]|=128,y.sigBytes=g.length*4,this._process();for(var b=this._state,_=this.cfg.outputLength/8,S=_/8,w=[],B=0;B<S;B++){var L=b[B],T=L.high,N=L.low;T=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,N=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360,w.push(N),w.push(T)}return new n.init(w,_)},clone:function(){for(var y=a.clone.call(this),g=y._state=this._state.slice(0),v=0;v<25;v++)g[v]=g[v].clone();return y}});i.SHA3=a._createHelper(m),i.HmacSHA3=a._createHmacHelper(m)}(Math),e.SHA3})});var Es=j((li,ks)=>{(function(e,t){typeof li=="object"?ks.exports=li=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(li,function(e){return function(t){var i=e,r=i.lib,n=r.WordArray,a=r.Hasher,o=i.algo,s=n.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]),c=n.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=n.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]),l=n.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]),h=n.create([0,1518500249,1859775393,2400959708,2840853838]),p=n.create([1352829926,1548603684,1836072691,2053994217,0]),m=o.RIPEMD160=a.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(_,S){for(var w=0;w<16;w++){var B=S+w,L=_[B];_[B]=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360}var T=this._hash.words,N=h.words,C=p.words,I=s.words,D=c.words,R=u.words,H=l.words,F,$,q,k,A,P,E,Q,X,re;P=F=T[0],E=$=T[1],Q=q=T[2],X=k=T[3],re=A=T[4];for(var U,w=0;w<80;w+=1)U=F+_[S+I[w]]|0,w<16?U+=y($,q,k)+N[0]:w<32?U+=g($,q,k)+N[1]:w<48?U+=v($,q,k)+N[2]:w<64?U+=d($,q,k)+N[3]:U+=x($,q,k)+N[4],U=U|0,U=b(U,R[w]),U=U+A|0,F=A,A=k,k=b(q,10),q=$,$=U,U=P+_[S+D[w]]|0,w<16?U+=x(E,Q,X)+C[0]:w<32?U+=d(E,Q,X)+C[1]:w<48?U+=v(E,Q,X)+C[2]:w<64?U+=g(E,Q,X)+C[3]:U+=y(E,Q,X)+C[4],U=U|0,U=b(U,H[w]),U=U+re|0,P=re,re=X,X=b(Q,10),Q=E,E=U;U=T[1]+q+X|0,T[1]=T[2]+k+re|0,T[2]=T[3]+A+P|0,T[3]=T[4]+F+E|0,T[4]=T[0]+$+Q|0,T[0]=U},_doFinalize:function(){var _=this._data,S=_.words,w=this._nDataBytes*8,B=_.sigBytes*8;S[B>>>5]|=128<<24-B%32,S[(B+64>>>9<<4)+14]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,_.sigBytes=(S.length+1)*4,this._process();for(var L=this._hash,T=L.words,N=0;N<5;N++){var C=T[N];T[N]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360}return L},clone:function(){var _=a.clone.call(this);return _._hash=this._hash.clone(),_}});function y(_,S,w){return _^S^w}function g(_,S,w){return _&S|~_&w}function v(_,S,w){return(_|~S)^w}function d(_,S,w){return _&w|S&~w}function x(_,S,w){return _^(S|~w)}function b(_,S){return _<<S|_>>>32-S}i.RIPEMD160=a._createHelper(m),i.HmacRIPEMD160=a._createHmacHelper(m)}(Math),e.RIPEMD160})});var hi=j((fi,As)=>{(function(e,t){typeof fi=="object"?As.exports=fi=t(G()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(fi,function(e){(function(){var t=e,i=t.lib,r=i.Base,n=t.enc,a=n.Utf8,o=t.algo,s=o.HMAC=r.extend({init:function(c,u){c=this._hasher=new c.init,typeof u=="string"&&(u=a.parse(u));var l=c.blockSize,h=l*4;u.sigBytes>h&&(u=c.finalize(u)),u.clamp();for(var p=this._oKey=u.clone(),m=this._iKey=u.clone(),y=p.words,g=m.words,v=0;v<l;v++)y[v]^=1549556828,g[v]^=909522486;p.sigBytes=m.sigBytes=h,this.reset()},reset:function(){var c=this._hasher;c.reset(),c.update(this._iKey)},update:function(c){return this._hasher.update(c),this},finalize:function(c){var u=this._hasher,l=u.finalize(c);u.reset();var h=u.finalize(this._oKey.clone().concat(l));return h}})})()})});var Ls=j((pi,Ps)=>{(function(e,t,i){typeof pi=="object"?Ps.exports=pi=t(G(),ni(),hi()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],t):t(e.CryptoJS)})(pi,function(e){return function(){var t=e,i=t.lib,r=i.Base,n=i.WordArray,a=t.algo,o=a.SHA1,s=a.HMAC,c=a.PBKDF2=r.extend({cfg:r.extend({keySize:128/32,hasher:o,iterations:1}),init:function(u){this.cfg=this.cfg.extend(u)},compute:function(u,l){for(var h=this.cfg,p=s.create(h.hasher,u),m=n.create(),y=n.create([1]),g=m.words,v=y.words,d=h.keySize,x=h.iterations;g.length<d;){var b=p.update(l).finalize(y);p.reset();for(var _=b.words,S=_.length,w=b,B=1;B<x;B++){w=p.finalize(w),p.reset();for(var L=w.words,T=0;T<S;T++)_[T]^=L[T]}m.concat(b),v[0]++}return m.sigBytes=d*4,m}});t.PBKDF2=function(u,l,h){return c.create(h).compute(u,l)}}(),e.PBKDF2})});var Te=j((di,Rs)=>{(function(e,t,i){typeof di=="object"?Rs.exports=di=t(G(),ni(),hi()):typeof define=="function"&&define.amd?define(["./core","./sha1","./hmac"],t):t(e.CryptoJS)})(di,function(e){return function(){var t=e,i=t.lib,r=i.Base,n=i.WordArray,a=t.algo,o=a.MD5,s=a.EvpKDF=r.extend({cfg:r.extend({keySize:128/32,hasher:o,iterations:1}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,u){for(var l,h=this.cfg,p=h.hasher.create(),m=n.create(),y=m.words,g=h.keySize,v=h.iterations;y.length<g;){l&&p.update(l),l=p.update(c).finalize(u),p.reset();for(var d=1;d<v;d++)l=p.finalize(l),p.reset();m.concat(l)}return m.sigBytes=g*4,m}});t.EvpKDF=function(c,u,l){return s.create(l).compute(c,u)}}(),e.EvpKDF})});var J=j((mi,Is)=>{(function(e,t,i){typeof mi=="object"?Is.exports=mi=t(G(),Te()):typeof define=="function"&&define.amd?define(["./core","./evpkdf"],t):t(e.CryptoJS)})(mi,function(e){e.lib.Cipher||function(t){var i=e,r=i.lib,n=r.Base,a=r.WordArray,o=r.BufferedBlockAlgorithm,s=i.enc,c=s.Utf8,u=s.Base64,l=i.algo,h=l.EvpKDF,p=r.Cipher=o.extend({cfg:n.extend(),createEncryptor:function(C,I){return this.create(this._ENC_XFORM_MODE,C,I)},createDecryptor:function(C,I){return this.create(this._DEC_XFORM_MODE,C,I)},init:function(C,I,D){this.cfg=this.cfg.extend(D),this._xformMode=C,this._key=I,this.reset()},reset:function(){o.reset.call(this),this._doReset()},process:function(C){return this._append(C),this._process()},finalize:function(C){C&&this._append(C);var I=this._doFinalize();return I},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function C(I){return typeof I=="string"?N:B}return function(I){return{encrypt:function(D,R,H){return C(R).encrypt(I,D,R,H)},decrypt:function(D,R,H){return C(R).decrypt(I,D,R,H)}}}}()}),m=r.StreamCipher=p.extend({_doFinalize:function(){var C=this._process(!0);return C},blockSize:1}),y=i.mode={},g=r.BlockCipherMode=n.extend({createEncryptor:function(C,I){return this.Encryptor.create(C,I)},createDecryptor:function(C,I){return this.Decryptor.create(C,I)},init:function(C,I){this._cipher=C,this._iv=I}}),v=y.CBC=function(){var C=g.extend();C.Encryptor=C.extend({processBlock:function(D,R){var H=this._cipher,F=H.blockSize;I.call(this,D,R,F),H.encryptBlock(D,R),this._prevBlock=D.slice(R,R+F)}}),C.Decryptor=C.extend({processBlock:function(D,R){var H=this._cipher,F=H.blockSize,$=D.slice(R,R+F);H.decryptBlock(D,R),I.call(this,D,R,F),this._prevBlock=$}});function I(D,R,H){var F,$=this._iv;$?(F=$,this._iv=t):F=this._prevBlock;for(var q=0;q<H;q++)D[R+q]^=F[q]}return C}(),d=i.pad={},x=d.Pkcs7={pad:function(C,I){for(var D=I*4,R=D-C.sigBytes%D,H=R<<24|R<<16|R<<8|R,F=[],$=0;$<R;$+=4)F.push(H);var q=a.create(F,R);C.concat(q)},unpad:function(C){var I=C.words[C.sigBytes-1>>>2]&255;C.sigBytes-=I}},b=r.BlockCipher=p.extend({cfg:p.cfg.extend({mode:v,padding:x}),reset:function(){var C;p.reset.call(this);var I=this.cfg,D=I.iv,R=I.mode;this._xformMode==this._ENC_XFORM_MODE?C=R.createEncryptor:(C=R.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==C?this._mode.init(this,D&&D.words):(this._mode=C.call(R,this,D&&D.words),this._mode.__creator=C)},_doProcessBlock:function(C,I){this._mode.processBlock(C,I)},_doFinalize:function(){var C,I=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(I.pad(this._data,this.blockSize),C=this._process(!0)):(C=this._process(!0),I.unpad(C)),C},blockSize:128/32}),_=r.CipherParams=n.extend({init:function(C){this.mixIn(C)},toString:function(C){return(C||this.formatter).stringify(this)}}),S=i.format={},w=S.OpenSSL={stringify:function(C){var I,D=C.ciphertext,R=C.salt;return R?I=a.create([1398893684,1701076831]).concat(R).concat(D):I=D,I.toString(u)},parse:function(C){var I,D=u.parse(C),R=D.words;return R[0]==1398893684&&R[1]==1701076831&&(I=a.create(R.slice(2,4)),R.splice(0,4),D.sigBytes-=16),_.create({ciphertext:D,salt:I})}},B=r.SerializableCipher=n.extend({cfg:n.extend({format:w}),encrypt:function(C,I,D,R){R=this.cfg.extend(R);var H=C.createEncryptor(D,R),F=H.finalize(I),$=H.cfg;return _.create({ciphertext:F,key:D,iv:$.iv,algorithm:C,mode:$.mode,padding:$.padding,blockSize:C.blockSize,formatter:R.format})},decrypt:function(C,I,D,R){R=this.cfg.extend(R),I=this._parse(I,R.format);var H=C.createDecryptor(D,R).finalize(I.ciphertext);return H},_parse:function(C,I){return typeof C=="string"?I.parse(C,this):C}}),L=i.kdf={},T=L.OpenSSL={execute:function(C,I,D,R){R||(R=a.random(64/8));var H=h.create({keySize:I+D}).compute(C,R),F=a.create(H.words.slice(I),D*4);return H.sigBytes=I*4,_.create({key:H,iv:F,salt:R})}},N=r.PasswordBasedCipher=B.extend({cfg:B.cfg.extend({kdf:T}),encrypt:function(C,I,D,R){R=this.cfg.extend(R);var H=R.kdf.execute(D,C.keySize,C.ivSize);R.iv=H.iv;var F=B.encrypt.call(this,C,I,H.key,R);return F.mixIn(H),F},decrypt:function(C,I,D,R){R=this.cfg.extend(R),I=this._parse(I,R.format);var H=R.kdf.execute(D,C.keySize,C.ivSize,I.salt);R.iv=H.iv;var F=B.decrypt.call(this,C,I,H.key,R);return F}})}()})});var Ts=j((xi,Bs)=>{(function(e,t,i){typeof xi=="object"?Bs.exports=xi=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(xi,function(e){return e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();t.Encryptor=t.extend({processBlock:function(r,n){var a=this._cipher,o=a.blockSize;i.call(this,r,n,o,a),this._prevBlock=r.slice(n,n+o)}}),t.Decryptor=t.extend({processBlock:function(r,n){var a=this._cipher,o=a.blockSize,s=r.slice(n,n+o);i.call(this,r,n,o,a),this._prevBlock=s}});function i(r,n,a,o){var s,c=this._iv;c?(s=c.slice(0),this._iv=void 0):s=this._prevBlock,o.encryptBlock(s,0);for(var u=0;u<a;u++)r[n+u]^=s[u]}return t}(),e.mode.CFB})});var Ns=j((yi,Ds)=>{(function(e,t,i){typeof yi=="object"?Ds.exports=yi=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(yi,function(e){return e.mode.CTR=function(){var t=e.lib.BlockCipherMode.extend(),i=t.Encryptor=t.extend({processBlock:function(r,n){var a=this._cipher,o=a.blockSize,s=this._iv,c=this._counter;s&&(c=this._counter=s.slice(0),this._iv=void 0);var u=c.slice(0);a.encryptBlock(u,0),c[o-1]=c[o-1]+1|0;for(var l=0;l<o;l++)r[n+l]^=u[l]}});return t.Decryptor=i,t}(),e.mode.CTR})});var Ms=j((vi,Os)=>{(function(e,t,i){typeof vi=="object"?Os.exports=vi=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(vi,function(e){return e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function i(a){if((a>>24&255)===255){var o=a>>16&255,s=a>>8&255,c=a&255;o===255?(o=0,s===255?(s=0,c===255?c=0:++c):++s):++o,a=0,a+=o<<16,a+=s<<8,a+=c}else a+=1<<24;return a}function r(a){return(a[0]=i(a[0]))===0&&(a[1]=i(a[1])),a}var n=t.Encryptor=t.extend({processBlock:function(a,o){var s=this._cipher,c=s.blockSize,u=this._iv,l=this._counter;u&&(l=this._counter=u.slice(0),this._iv=void 0),r(l);var h=l.slice(0);s.encryptBlock(h,0);for(var p=0;p<c;p++)a[o+p]^=h[p]}});return t.Decryptor=n,t}(),e.mode.CTRGladman})});var Hs=j((gi,Fs)=>{(function(e,t,i){typeof gi=="object"?Fs.exports=gi=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(gi,function(e){return e.mode.OFB=function(){var t=e.lib.BlockCipherMode.extend(),i=t.Encryptor=t.extend({processBlock:function(r,n){var a=this._cipher,o=a.blockSize,s=this._iv,c=this._keystream;s&&(c=this._keystream=s.slice(0),this._iv=void 0),a.encryptBlock(c,0);for(var u=0;u<o;u++)r[n+u]^=c[u]}});return t.Decryptor=i,t}(),e.mode.OFB})});var js=j((_i,Vs)=>{(function(e,t,i){typeof _i=="object"?Vs.exports=_i=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(_i,function(e){return e.mode.ECB=function(){var t=e.lib.BlockCipherMode.extend();return t.Encryptor=t.extend({processBlock:function(i,r){this._cipher.encryptBlock(i,r)}}),t.Decryptor=t.extend({processBlock:function(i,r){this._cipher.decryptBlock(i,r)}}),t}(),e.mode.ECB})});var Us=j((bi,$s)=>{(function(e,t,i){typeof bi=="object"?$s.exports=bi=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(bi,function(e){return e.pad.AnsiX923={pad:function(t,i){var r=t.sigBytes,n=i*4,a=n-r%n,o=r+a-1;t.clamp(),t.words[o>>>2]|=a<<24-o%4*8,t.sigBytes+=a},unpad:function(t){var i=t.words[t.sigBytes-1>>>2]&255;t.sigBytes-=i}},e.pad.Ansix923})});var qs=j((wi,Ws)=>{(function(e,t,i){typeof wi=="object"?Ws.exports=wi=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(wi,function(e){return e.pad.Iso10126={pad:function(t,i){var r=i*4,n=r-t.sigBytes%r;t.concat(e.lib.WordArray.random(n-1)).concat(e.lib.WordArray.create([n<<24],1))},unpad:function(t){var i=t.words[t.sigBytes-1>>>2]&255;t.sigBytes-=i}},e.pad.Iso10126})});var Gs=j((Si,zs)=>{(function(e,t,i){typeof Si=="object"?zs.exports=Si=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(Si,function(e){return e.pad.Iso97971={pad:function(t,i){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,i)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971})});var Xs=j((Ci,Ks)=>{(function(e,t,i){typeof Ci=="object"?Ks.exports=Ci=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(Ci,function(e){return e.pad.ZeroPadding={pad:function(t,i){var r=i*4;t.clamp(),t.sigBytes+=r-(t.sigBytes%r||r)},unpad:function(t){for(var i=t.words,r=t.sigBytes-1,r=t.sigBytes-1;r>=0;r--)if(i[r>>>2]>>>24-r%4*8&255){t.sigBytes=r+1;break}}},e.pad.ZeroPadding})});var Ys=j((ki,Qs)=>{(function(e,t,i){typeof ki=="object"?Qs.exports=ki=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(ki,function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding})});var Js=j((Ei,Zs)=>{(function(e,t,i){typeof Ei=="object"?Zs.exports=Ei=t(G(),J()):typeof define=="function"&&define.amd?define(["./core","./cipher-core"],t):t(e.CryptoJS)})(Ei,function(e){return function(t){var i=e,r=i.lib,n=r.CipherParams,a=i.enc,o=a.Hex,s=i.format,c=s.Hex={stringify:function(u){return u.ciphertext.toString(o)},parse:function(u){var l=o.parse(u);return n.create({ciphertext:l})}}}(),e.format.Hex})});var to=j((Ai,eo)=>{(function(e,t,i){typeof Ai=="object"?eo.exports=Ai=t(G(),De(),Ne(),Te(),J()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],t):t(e.CryptoJS)})(Ai,function(e){return function(){var t=e,i=t.lib,r=i.BlockCipher,n=t.algo,a=[],o=[],s=[],c=[],u=[],l=[],h=[],p=[],m=[],y=[];(function(){for(var d=[],x=0;x<256;x++)x<128?d[x]=x<<1:d[x]=x<<1^283;for(var b=0,_=0,x=0;x<256;x++){var S=_^_<<1^_<<2^_<<3^_<<4;S=S>>>8^S&255^99,a[b]=S,o[S]=b;var w=d[b],B=d[w],L=d[B],T=d[S]*257^S*16843008;s[b]=T<<24|T>>>8,c[b]=T<<16|T>>>16,u[b]=T<<8|T>>>24,l[b]=T;var T=L*16843009^B*65537^w*257^b*16843008;h[S]=T<<24|T>>>8,p[S]=T<<16|T>>>16,m[S]=T<<8|T>>>24,y[S]=T,b?(b=w^d[d[d[L^w]]],_^=d[d[_]]):b=_=1}})();var g=[0,1,2,4,8,16,32,64,128,27,54],v=n.AES=r.extend({_doReset:function(){var d;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var x=this._keyPriorReset=this._key,b=x.words,_=x.sigBytes/4,S=this._nRounds=_+6,w=(S+1)*4,B=this._keySchedule=[],L=0;L<w;L++)L<_?B[L]=b[L]:(d=B[L-1],L%_?_>6&&L%_==4&&(d=a[d>>>24]<<24|a[d>>>16&255]<<16|a[d>>>8&255]<<8|a[d&255]):(d=d<<8|d>>>24,d=a[d>>>24]<<24|a[d>>>16&255]<<16|a[d>>>8&255]<<8|a[d&255],d^=g[L/_|0]<<24),B[L]=B[L-_]^d);for(var T=this._invKeySchedule=[],N=0;N<w;N++){var L=w-N;if(N%4)var d=B[L];else var d=B[L-4];N<4||L<=4?T[N]=d:T[N]=h[a[d>>>24]]^p[a[d>>>16&255]]^m[a[d>>>8&255]]^y[a[d&255]]}}},encryptBlock:function(d,x){this._doCryptBlock(d,x,this._keySchedule,s,c,u,l,a)},decryptBlock:function(d,x){var b=d[x+1];d[x+1]=d[x+3],d[x+3]=b,this._doCryptBlock(d,x,this._invKeySchedule,h,p,m,y,o);var b=d[x+1];d[x+1]=d[x+3],d[x+3]=b},_doCryptBlock:function(d,x,b,_,S,w,B,L){for(var T=this._nRounds,N=d[x]^b[0],C=d[x+1]^b[1],I=d[x+2]^b[2],D=d[x+3]^b[3],R=4,H=1;H<T;H++){var F=_[N>>>24]^S[C>>>16&255]^w[I>>>8&255]^B[D&255]^b[R++],$=_[C>>>24]^S[I>>>16&255]^w[D>>>8&255]^B[N&255]^b[R++],q=_[I>>>24]^S[D>>>16&255]^w[N>>>8&255]^B[C&255]^b[R++],k=_[D>>>24]^S[N>>>16&255]^w[C>>>8&255]^B[I&255]^b[R++];N=F,C=$,I=q,D=k}var F=(L[N>>>24]<<24|L[C>>>16&255]<<16|L[I>>>8&255]<<8|L[D&255])^b[R++],$=(L[C>>>24]<<24|L[I>>>16&255]<<16|L[D>>>8&255]<<8|L[N&255])^b[R++],q=(L[I>>>24]<<24|L[D>>>16&255]<<16|L[N>>>8&255]<<8|L[C&255])^b[R++],k=(L[D>>>24]<<24|L[N>>>16&255]<<16|L[C>>>8&255]<<8|L[I&255])^b[R++];d[x]=F,d[x+1]=$,d[x+2]=q,d[x+3]=k},keySize:256/32});t.AES=r._createHelper(v)}(),e.AES})});var ro=j((Pi,io)=>{(function(e,t,i){typeof Pi=="object"?io.exports=Pi=t(G(),De(),Ne(),Te(),J()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],t):t(e.CryptoJS)})(Pi,function(e){return function(){var t=e,i=t.lib,r=i.WordArray,n=i.BlockCipher,a=t.algo,o=[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],s=[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],c=[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}],l=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=a.DES=n.extend({_doReset:function(){for(var g=this._key,v=g.words,d=[],x=0;x<56;x++){var b=o[x]-1;d[x]=v[b>>>5]>>>31-b%32&1}for(var _=this._subKeys=[],S=0;S<16;S++){for(var w=_[S]=[],B=c[S],x=0;x<24;x++)w[x/6|0]|=d[(s[x]-1+B)%28]<<31-x%6,w[4+(x/6|0)]|=d[28+(s[x+24]-1+B)%28]<<31-x%6;w[0]=w[0]<<1|w[0]>>>31;for(var x=1;x<7;x++)w[x]=w[x]>>>(x-1)*4+3;w[7]=w[7]<<5|w[7]>>>27}for(var L=this._invSubKeys=[],x=0;x<16;x++)L[x]=_[15-x]},encryptBlock:function(g,v){this._doCryptBlock(g,v,this._subKeys)},decryptBlock:function(g,v){this._doCryptBlock(g,v,this._invSubKeys)},_doCryptBlock:function(g,v,d){this._lBlock=g[v],this._rBlock=g[v+1],p.call(this,4,252645135),p.call(this,16,65535),m.call(this,2,858993459),m.call(this,8,16711935),p.call(this,1,1431655765);for(var x=0;x<16;x++){for(var b=d[x],_=this._lBlock,S=this._rBlock,w=0,B=0;B<8;B++)w|=u[B][((S^b[B])&l[B])>>>0];this._lBlock=S,this._rBlock=_^w}var L=this._lBlock;this._lBlock=this._rBlock,this._rBlock=L,p.call(this,1,1431655765),m.call(this,8,16711935),m.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),g[v]=this._lBlock,g[v+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function p(g,v){var d=(this._lBlock>>>g^this._rBlock)&v;this._rBlock^=d,this._lBlock^=d<<g}function m(g,v){var d=(this._rBlock>>>g^this._lBlock)&v;this._lBlock^=d,this._rBlock^=d<<g}t.DES=n._createHelper(h);var y=a.TripleDES=n.extend({_doReset:function(){var g=this._key,v=g.words;if(v.length!==2&&v.length!==4&&v.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var d=v.slice(0,2),x=v.length<4?v.slice(0,2):v.slice(2,4),b=v.length<6?v.slice(0,2):v.slice(4,6);this._des1=h.createEncryptor(r.create(d)),this._des2=h.createEncryptor(r.create(x)),this._des3=h.createEncryptor(r.create(b))},encryptBlock:function(g,v){this._des1.encryptBlock(g,v),this._des2.decryptBlock(g,v),this._des3.encryptBlock(g,v)},decryptBlock:function(g,v){this._des3.decryptBlock(g,v),this._des2.encryptBlock(g,v),this._des1.decryptBlock(g,v)},keySize:192/32,ivSize:64/32,blockSize:64/32});t.TripleDES=n._createHelper(y)}(),e.TripleDES})});var ao=j((Li,no)=>{(function(e,t,i){typeof Li=="object"?no.exports=Li=t(G(),De(),Ne(),Te(),J()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],t):t(e.CryptoJS)})(Li,function(e){return function(){var t=e,i=t.lib,r=i.StreamCipher,n=t.algo,a=n.RC4=r.extend({_doReset:function(){for(var c=this._key,u=c.words,l=c.sigBytes,h=this._S=[],p=0;p<256;p++)h[p]=p;for(var p=0,m=0;p<256;p++){var y=p%l,g=u[y>>>2]>>>24-y%4*8&255;m=(m+h[p]+g)%256;var v=h[p];h[p]=h[m],h[m]=v}this._i=this._j=0},_doProcessBlock:function(c,u){c[u]^=o.call(this)},keySize:256/32,ivSize:0});function o(){for(var c=this._S,u=this._i,l=this._j,h=0,p=0;p<4;p++){u=(u+1)%256,l=(l+c[u])%256;var m=c[u];c[u]=c[l],c[l]=m,h|=c[(c[u]+c[l])%256]<<24-p*8}return this._i=u,this._j=l,h}t.RC4=r._createHelper(a);var s=n.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var c=this.cfg.drop;c>0;c--)o.call(this)}});t.RC4Drop=r._createHelper(s)}(),e.RC4})});var oo=j((Ri,so)=>{(function(e,t,i){typeof Ri=="object"?so.exports=Ri=t(G(),De(),Ne(),Te(),J()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],t):t(e.CryptoJS)})(Ri,function(e){return function(){var t=e,i=t.lib,r=i.StreamCipher,n=t.algo,a=[],o=[],s=[],c=n.Rabbit=r.extend({_doReset:function(){for(var l=this._key.words,h=this.cfg.iv,p=0;p<4;p++)l[p]=(l[p]<<8|l[p]>>>24)&16711935|(l[p]<<24|l[p]>>>8)&4278255360;var m=this._X=[l[0],l[3]<<16|l[2]>>>16,l[1],l[0]<<16|l[3]>>>16,l[2],l[1]<<16|l[0]>>>16,l[3],l[2]<<16|l[1]>>>16],y=this._C=[l[2]<<16|l[2]>>>16,l[0]&4294901760|l[1]&65535,l[3]<<16|l[3]>>>16,l[1]&4294901760|l[2]&65535,l[0]<<16|l[0]>>>16,l[2]&4294901760|l[3]&65535,l[1]<<16|l[1]>>>16,l[3]&4294901760|l[0]&65535];this._b=0;for(var p=0;p<4;p++)u.call(this);for(var p=0;p<8;p++)y[p]^=m[p+4&7];if(h){var g=h.words,v=g[0],d=g[1],x=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,b=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360,_=x>>>16|b&4294901760,S=b<<16|x&65535;y[0]^=x,y[1]^=_,y[2]^=b,y[3]^=S,y[4]^=x,y[5]^=_,y[6]^=b,y[7]^=S;for(var p=0;p<4;p++)u.call(this)}},_doProcessBlock:function(l,h){var p=this._X;u.call(this),a[0]=p[0]^p[5]>>>16^p[3]<<16,a[1]=p[2]^p[7]>>>16^p[5]<<16,a[2]=p[4]^p[1]>>>16^p[7]<<16,a[3]=p[6]^p[3]>>>16^p[1]<<16;for(var m=0;m<4;m++)a[m]=(a[m]<<8|a[m]>>>24)&16711935|(a[m]<<24|a[m]>>>8)&4278255360,l[h+m]^=a[m]},blockSize:128/32,ivSize:64/32});function u(){for(var l=this._X,h=this._C,p=0;p<8;p++)o[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0<o[0]>>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0<o[1]>>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0<o[2]>>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0<o[3]>>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0<o[4]>>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0<o[5]>>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0<o[6]>>>0?1:0)|0,this._b=h[7]>>>0<o[7]>>>0?1:0;for(var p=0;p<8;p++){var m=l[p]+h[p],y=m&65535,g=m>>>16,v=((y*y>>>17)+y*g>>>15)+g*g,d=((m&4294901760)*m|0)+((m&65535)*m|0);s[p]=v^d}l[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,l[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,l[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,l[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,l[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,l[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,l[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,l[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.Rabbit=r._createHelper(c)}(),e.Rabbit})});var uo=j((Ii,co)=>{(function(e,t,i){typeof Ii=="object"?co.exports=Ii=t(G(),De(),Ne(),Te(),J()):typeof define=="function"&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],t):t(e.CryptoJS)})(Ii,function(e){return function(){var t=e,i=t.lib,r=i.StreamCipher,n=t.algo,a=[],o=[],s=[],c=n.RabbitLegacy=r.extend({_doReset:function(){var l=this._key.words,h=this.cfg.iv,p=this._X=[l[0],l[3]<<16|l[2]>>>16,l[1],l[0]<<16|l[3]>>>16,l[2],l[1]<<16|l[0]>>>16,l[3],l[2]<<16|l[1]>>>16],m=this._C=[l[2]<<16|l[2]>>>16,l[0]&4294901760|l[1]&65535,l[3]<<16|l[3]>>>16,l[1]&4294901760|l[2]&65535,l[0]<<16|l[0]>>>16,l[2]&4294901760|l[3]&65535,l[1]<<16|l[1]>>>16,l[3]&4294901760|l[0]&65535];this._b=0;for(var y=0;y<4;y++)u.call(this);for(var y=0;y<8;y++)m[y]^=p[y+4&7];if(h){var g=h.words,v=g[0],d=g[1],x=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,b=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360,_=x>>>16|b&4294901760,S=b<<16|x&65535;m[0]^=x,m[1]^=_,m[2]^=b,m[3]^=S,m[4]^=x,m[5]^=_,m[6]^=b,m[7]^=S;for(var y=0;y<4;y++)u.call(this)}},_doProcessBlock:function(l,h){var p=this._X;u.call(this),a[0]=p[0]^p[5]>>>16^p[3]<<16,a[1]=p[2]^p[7]>>>16^p[5]<<16,a[2]=p[4]^p[1]>>>16^p[7]<<16,a[3]=p[6]^p[3]>>>16^p[1]<<16;for(var m=0;m<4;m++)a[m]=(a[m]<<8|a[m]>>>24)&16711935|(a[m]<<24|a[m]>>>8)&4278255360,l[h+m]^=a[m]},blockSize:128/32,ivSize:64/32});function u(){for(var l=this._X,h=this._C,p=0;p<8;p++)o[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0<o[0]>>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0<o[1]>>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0<o[2]>>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0<o[3]>>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0<o[4]>>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0<o[5]>>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0<o[6]>>>0?1:0)|0,this._b=h[7]>>>0<o[7]>>>0?1:0;for(var p=0;p<8;p++){var m=l[p]+h[p],y=m&65535,g=m>>>16,v=((y*y>>>17)+y*g>>>15)+g*g,d=((m&4294901760)*m|0)+((m&65535)*m|0);s[p]=v^d}l[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,l[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,l[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,l[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,l[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,l[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,l[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,l[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.RabbitLegacy=r._createHelper(c)}(),e.RabbitLegacy})});var fo=j((Bi,lo)=>{(function(e,t,i){typeof Bi=="object"?lo.exports=Bi=t(G(),_t(),us(),fs(),De(),ds(),Ne(),ni(),fn(),gs(),hn(),ws(),Cs(),Es(),hi(),Ls(),Te(),J(),Ts(),Ns(),Ms(),Hs(),js(),Us(),qs(),Gs(),Xs(),Ys(),Js(),to(),ro(),ao(),oo(),uo()):typeof define=="function"&&define.amd?define(["./core","./x64-core","./lib-typedarrays","./enc-utf16","./enc-base64","./enc-base64url","./md5","./sha1","./sha256","./sha224","./sha512","./sha384","./sha3","./ripemd160","./hmac","./pbkdf2","./evpkdf","./cipher-core","./mode-cfb","./mode-ctr","./mode-ctr-gladman","./mode-ofb","./mode-ecb","./pad-ansix923","./pad-iso10126","./pad-iso97971","./pad-zeropadding","./pad-nopadding","./format-hex","./aes","./tripledes","./rc4","./rabbit","./rabbit-legacy"],t):e.CryptoJS=t(e.CryptoJS)})(Bi,function(e){return e})});var Tn=et(Fi()),Et={"application/ecmascript":{source:"apache",compressible:!0,extensions:["ecma"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/http":{source:"iana"},"application/javascript":{source:"apache",charset:"UTF-8",compressible:!0,extensions:["js"]},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/mp4":{source:"iana",extensions:["mp4","mpg4","mp4s","m4p"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/sql":{source:"iana",extensions:["sql"]},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-gzip":{source:"apache"},"application/x-javascript":{compressible:!0},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/red":{source:"iana"},"audio/rtx":{source:"iana"},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/webp":{source:"iana",extensions:["webp"]},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/ecmascript":{source:"apache"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"text/markdown":{source:"iana",compressible:!0,extensions:["md","markdown"]}},Dn=/^\s*([^;\s]*)(?:;|\s|$)/,Do=/^text\//i,ne={};function Bn(e){if(!e||typeof e!="string")return!1;var t=Dn.exec(e),i=t&&Et[t[1].toLowerCase()];return i&&i.charset?i.charset:!(!t||!Do.test(t[1]))&&"UTF-8"}function No(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?ne.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var i=ne.charset(t);i&&(t+="; charset="+i.toLowerCase())}return t}function Oo(e){if(!e||typeof e!="string")return!1;var t=Dn.exec(e),i=t&&ne.extensions[t[1].toLowerCase()];return!(!i||!i.length)&&i[0]}function Mo(e){if(!e||typeof e!="string")return!1;var t=(0,Tn.extname)("x."+e).toLowerCase().substr(1);return t&&ne.types[t]||!1}function Fo(e,t){var i=["nginx","apache",void 0,"iana"];Object.keys(Et).forEach(function(r){var n=Et[r],a=n.extensions;if(a&&a.length){e[r]=a;for(var o=0;o<a.length;o++){var s=a[o];if(t[s]){var c=i.indexOf(Et[t[s]].source),u=i.indexOf(n.source);if(t[s]!=="application/octet-stream"&&(c>u||c===u&&t[s].substr(0,12)==="application/"))continue}t[s]=r}}})}ne.charset=Bn,ne.charsets={lookup:Bn},ne.contentType=No,ne.extension=Oo,ne.extensions=Object.create(null),ne.lookup=Mo,ne.types=Object.create(null),Fo(ne.extensions,ne.types);var Nn=ne;var rc=et(Fi(),1);var At={};Ln(At,{deleteDB:()=>zo,openDB:()=>Wi,unwrap:()=>tt,wrap:()=>ue});var Ho=(e,t)=>t.some(i=>e instanceof i),On,Mn;function Vo(){return On||(On=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function jo(){return Mn||(Mn=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}var Fn=new WeakMap,Vi=new WeakMap,Hn=new WeakMap,Hi=new WeakMap,$i=new WeakMap;function $o(e){let t=new Promise((i,r)=>{let n=()=>{e.removeEventListener("success",a),e.removeEventListener("error",o)},a=()=>{i(ue(e.result)),n()},o=()=>{r(e.error),n()};e.addEventListener("success",a),e.addEventListener("error",o)});return t.then(i=>{i instanceof IDBCursor&&Fn.set(i,e)}).catch(()=>{}),$i.set(t,e),t}function Uo(e){if(Vi.has(e))return;let t=new Promise((i,r)=>{let n=()=>{e.removeEventListener("complete",a),e.removeEventListener("error",o),e.removeEventListener("abort",o)},a=()=>{i(),n()},o=()=>{r(e.error||new DOMException("AbortError","AbortError")),n()};e.addEventListener("complete",a),e.addEventListener("error",o),e.addEventListener("abort",o)});Vi.set(e,t)}var ji={get(e,t,i){if(e instanceof IDBTransaction){if(t==="done")return Vi.get(e);if(t==="objectStoreNames")return e.objectStoreNames||Hn.get(e);if(t==="store")return i.objectStoreNames[1]?void 0:i.objectStore(i.objectStoreNames[0])}return ue(e[t])},set(e,t,i){return e[t]=i,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function Vn(e){ji=e(ji)}function Wo(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...i){let r=e.call(tt(this),t,...i);return Hn.set(r,t.sort?t.sort():[t]),ue(r)}:jo().includes(e)?function(...t){return e.apply(tt(this),t),ue(Fn.get(this))}:function(...t){return ue(e.apply(tt(this),t))}}function qo(e){return typeof e=="function"?Wo(e):(e instanceof IDBTransaction&&Uo(e),Ho(e,Vo())?new Proxy(e,ji):e)}function ue(e){if(e instanceof IDBRequest)return $o(e);if(Hi.has(e))return Hi.get(e);let t=qo(e);return t!==e&&(Hi.set(e,t),$i.set(t,e)),t}var tt=e=>$i.get(e);function Wi(e,t,{blocked:i,upgrade:r,blocking:n,terminated:a}={}){let o=indexedDB.open(e,t),s=ue(o);return r&&o.addEventListener("upgradeneeded",c=>{r(ue(o.result),c.oldVersion,c.newVersion,ue(o.transaction),c)}),i&&o.addEventListener("blocked",c=>i(c.oldVersion,c.newVersion,c)),s.then(c=>{a&&c.addEventListener("close",()=>a()),n&&c.addEventListener("versionchange",u=>n(u.oldVersion,u.newVersion,u))}).catch(()=>{}),s}function zo(e,{blocked:t}={}){let i=indexedDB.deleteDatabase(e);return t&&i.addEventListener("blocked",r=>t(r.oldVersion,r)),ue(i).then(()=>{})}var Go=["get","getKey","getAll","getAllKeys","count"],Ko=["put","add","delete","clear"],Ui=new Map;function jn(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(Ui.get(t))return Ui.get(t);let i=t.replace(/FromIndex$/,""),r=t!==i,n=Ko.includes(i);if(!(i in(r?IDBIndex:IDBObjectStore).prototype)||!(n||Go.includes(i)))return;let a=async function(o,...s){let c=this.transaction(o,n?"readwrite":"readonly"),u=c.store;return r&&(u=u.index(s.shift())),(await Promise.all([u[i](...s),n&&c.done]))[0]};return Ui.set(t,a),a}Vn(e=>({...e,get:(t,i,r)=>jn(t,i)||e.get(t,i,r),has:(t,i)=>!!jn(t,i)||e.has(t,i)}));var Xo=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],zn=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],Qo="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\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\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",Gn="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\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\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\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\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\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-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\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\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\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\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\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",qi={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},zi="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",Yo={5:zi,"5module":zi+" export import",6:zi+" const class extends export import super"},Zo=/^in(stanceof)?$/,Jo=new RegExp("["+Gn+"]"),e0=new RegExp("["+Gn+Qo+"]");function Ki(e,t){for(var i=65536,r=0;r<t.length;r+=2){if(i+=t[r],i>e)return!1;if(i+=t[r+1],i>=e)return!0}return!1}function Se(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Jo.test(String.fromCharCode(e)):t===!1?!1:Ki(e,zn)}function Ve(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&e0.test(String.fromCharCode(e)):t===!1?!1:Ki(e,zn)||Ki(e,Xo)}var K=function(t,i){i===void 0&&(i={}),this.label=t,this.keyword=i.keyword,this.beforeExpr=!!i.beforeExpr,this.startsExpr=!!i.startsExpr,this.isLoop=!!i.isLoop,this.isAssign=!!i.isAssign,this.prefix=!!i.prefix,this.postfix=!!i.postfix,this.binop=i.binop||null,this.updateContext=null};function le(e,t){return new K(e,{beforeExpr:!0,binop:t})}var fe={beforeExpr:!0},ae={startsExpr:!0},Yi={};function z(e,t){return t===void 0&&(t={}),t.keyword=e,Yi[e]=new K(e,t)}var f={num:new K("num",ae),regexp:new K("regexp",ae),string:new K("string",ae),name:new K("name",ae),privateId:new K("privateId",ae),eof:new K("eof"),bracketL:new K("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new K("]"),braceL:new K("{",{beforeExpr:!0,startsExpr:!0}),braceR:new K("}"),parenL:new K("(",{beforeExpr:!0,startsExpr:!0}),parenR:new K(")"),comma:new K(",",fe),semi:new K(";",fe),colon:new K(":",fe),dot:new K("."),question:new K("?",fe),questionDot:new K("?."),arrow:new K("=>",fe),template:new K("template"),invalidTemplate:new K("invalidTemplate"),ellipsis:new K("...",fe),backQuote:new K("`",ae),dollarBraceL:new K("${",{beforeExpr:!0,startsExpr:!0}),eq:new K("=",{beforeExpr:!0,isAssign:!0}),assign:new K("_=",{beforeExpr:!0,isAssign:!0}),incDec:new K("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new K("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:le("||",1),logicalAND:le("&&",2),bitwiseOR:le("|",3),bitwiseXOR:le("^",4),bitwiseAND:le("&",5),equality:le("==/!=/===/!==",6),relational:le("</>/<=/>=",7),bitShift:le("<</>>/>>>",8),plusMin:new K("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:le("%",10),star:le("*",10),slash:le("/",10),starstar:new K("**",{beforeExpr:!0}),coalesce:le("??",1),_break:z("break"),_case:z("case",fe),_catch:z("catch"),_continue:z("continue"),_debugger:z("debugger"),_default:z("default",fe),_do:z("do",{isLoop:!0,beforeExpr:!0}),_else:z("else",fe),_finally:z("finally"),_for:z("for",{isLoop:!0}),_function:z("function",ae),_if:z("if"),_return:z("return",fe),_switch:z("switch"),_throw:z("throw",fe),_try:z("try"),_var:z("var"),_const:z("const"),_while:z("while",{isLoop:!0}),_with:z("with"),_new:z("new",{beforeExpr:!0,startsExpr:!0}),_this:z("this",ae),_super:z("super",ae),_class:z("class",ae),_extends:z("extends",fe),_export:z("export"),_import:z("import",ae),_null:z("null",ae),_true:z("true",ae),_false:z("false",ae),_in:z("in",{beforeExpr:!0,binop:7}),_instanceof:z("instanceof",{beforeExpr:!0,binop:7}),_typeof:z("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:z("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:z("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},de=/\r\n?|\n|\u2028|\u2029/,t0=new RegExp(de.source,"g");function je(e){return e===10||e===13||e===8232||e===8233}function Kn(e,t,i){i===void 0&&(i=e.length);for(var r=t;r<i;r++){var n=e.charCodeAt(r);if(je(n))return r<i-1&&n===13&&e.charCodeAt(r+1)===10?r+2:r+1}return-1}var Xn=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,he=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Qn=Object.prototype,i0=Qn.hasOwnProperty,r0=Qn.toString,at=Object.hasOwn||function(e,t){return i0.call(e,t)},$n=Array.isArray||function(e){return r0.call(e)==="[object Array]"};function Le(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function Re(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var n0=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,rt=function(t,i){this.line=t,this.column=i};rt.prototype.offset=function(t){return new rt(this.line,this.column+t)};var Bt=function(t,i,r){this.start=i,this.end=r,t.sourceFile!==null&&(this.source=t.sourceFile)};function Yn(e,t){for(var i=1,r=0;;){var n=Kn(e,r,t);if(n<0)return new rt(i,t-r);++i,r=n}}var Xi={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Un=!1;function a0(e){var t={};for(var i in Xi)t[i]=e&&at(e,i)?e[i]:Xi[i];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!Un&&typeof console=="object"&&console.warn&&(Un=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),$n(t.onToken)){var r=t.onToken;t.onToken=function(n){return r.push(n)}}return $n(t.onComment)&&(t.onComment=s0(t,t.onComment)),t}function s0(e,t){return function(i,r,n,a,o,s){var c={type:i?"Block":"Line",value:r,start:n,end:a};e.locations&&(c.loc=new Bt(this,o,s)),e.ranges&&(c.range=[n,a]),t.push(c)}}var nt=1,$e=2,Zi=4,Zn=8,Jn=16,ea=32,Ji=64,ta=128,st=256,er=nt|$e|st;function tr(e,t){return $e|(e?Zi:0)|(t?Zn:0)}var Lt=0,ir=1,ke=2,ia=3,ra=4,na=5,Z=function(t,i,r){this.options=t=a0(t),this.sourceFile=t.sourceFile,this.keywords=Le(Yo[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var n="";t.allowReserved!==!0&&(n=qi[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(n+=" await")),this.reservedWords=Le(n);var a=(n?n+" ":"")+qi.strict;this.reservedWordsStrict=Le(a),this.reservedWordsStrictBind=Le(a+" "+qi.strictBind),this.input=String(i),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf(`
|
|
`,r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(de).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=f.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(nt),this.regexpState=null,this.privateNameStack=[]},be={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Z.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};be.inFunction.get=function(){return(this.currentVarScope().flags&$e)>0};be.inGenerator.get=function(){return(this.currentVarScope().flags&Zn)>0&&!this.currentVarScope().inClassFieldInit};be.inAsync.get=function(){return(this.currentVarScope().flags&Zi)>0&&!this.currentVarScope().inClassFieldInit};be.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&st)return!1;if(t.flags&$e)return(t.flags&Zi)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};be.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,i=e.inClassFieldInit;return(t&Ji)>0||i||this.options.allowSuperOutsideMethod};be.allowDirectSuper.get=function(){return(this.currentThisScope().flags&ta)>0};be.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};be.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,i=e.inClassFieldInit;return(t&($e|st))>0||i};be.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&st)>0};Z.extend=function(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];for(var r=this,n=0;n<t.length;n++)r=t[n](r);return r};Z.parse=function(t,i){return new this(i,t).parse()};Z.parseExpressionAt=function(t,i,r){var n=new this(r,t,i);return n.nextToken(),n.parseExpression()};Z.tokenizer=function(t,i){return new this(i,t)};Object.defineProperties(Z.prototype,be);var te=Z.prototype,o0=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;te.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){he.lastIndex=e,e+=he.exec(this.input)[0].length;var t=o0.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){he.lastIndex=e+t[0].length;var i=he.exec(this.input),r=i.index+i[0].length,n=this.input.charAt(r);return n===";"||n==="}"||de.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(n)||n==="!"&&this.input.charAt(r+1)==="=")}e+=t[0].length,he.lastIndex=e,e+=he.exec(this.input)[0].length,this.input[e]===";"&&e++}};te.eat=function(e){return this.type===e?(this.next(),!0):!1};te.isContextual=function(e){return this.type===f.name&&this.value===e&&!this.containsEsc};te.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};te.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};te.canInsertSemicolon=function(){return this.type===f.eof||this.type===f.braceR||de.test(this.input.slice(this.lastTokEnd,this.start))};te.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};te.semicolon=function(){!this.eat(f.semi)&&!this.insertSemicolon()&&this.unexpected()};te.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};te.expect=function(e){this.eat(e)||this.unexpected()};te.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var Tt=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};te.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var i=t?e.parenthesizedAssign:e.parenthesizedBind;i>-1&&this.raiseRecoverable(i,t?"Assigning to rvalue":"Parenthesized pattern")}};te.checkExpressionErrors=function(e,t){if(!e)return!1;var i=e.shorthandAssign,r=e.doubleProto;if(!t)return i>=0||r>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")};te.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};te.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var M=Z.prototype;M.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==f.eof;){var i=this.parseStatement(null,!0,t);e.body.push(i)}if(this.inModule)for(var r=0,n=Object.keys(this.undefinedExports);r<n.length;r+=1){var a=n[r];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var rr={kind:"loop"},c0={kind:"switch"};M.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;he.lastIndex=this.pos;var t=he.exec(this.input),i=this.pos+t[0].length,r=this.input.charCodeAt(i);if(r===91||r===92)return!0;if(e)return!1;if(r===123||r>55295&&r<56320)return!0;if(Se(r,!0)){for(var n=i+1;Ve(r=this.input.charCodeAt(n),!0);)++n;if(r===92||r>55295&&r<56320)return!0;var a=this.input.slice(i,n);if(!Zo.test(a))return!0}return!1};M.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;he.lastIndex=this.pos;var e=he.exec(this.input),t=this.pos+e[0].length,i;return!de.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(Ve(i=this.input.charCodeAt(t+8))||i>55295&&i<56320))};M.parseStatement=function(e,t,i){var r=this.type,n=this.startNode(),a;switch(this.isLet(e)&&(r=f._var,a="let"),r){case f._break:case f._continue:return this.parseBreakContinueStatement(n,r.keyword);case f._debugger:return this.parseDebuggerStatement(n);case f._do:return this.parseDoStatement(n);case f._for:return this.parseForStatement(n);case f._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(n,!1,!e);case f._class:return e&&this.unexpected(),this.parseClass(n,!0);case f._if:return this.parseIfStatement(n);case f._return:return this.parseReturnStatement(n);case f._switch:return this.parseSwitchStatement(n);case f._throw:return this.parseThrowStatement(n);case f._try:return this.parseTryStatement(n);case f._const:case f._var:return a=a||this.value,e&&a!=="var"&&this.unexpected(),this.parseVarStatement(n,a);case f._while:return this.parseWhileStatement(n);case f._with:return this.parseWithStatement(n);case f.braceL:return this.parseBlock(!0,n);case f.semi:return this.parseEmptyStatement(n);case f._export:case f._import:if(this.options.ecmaVersion>10&&r===f._import){he.lastIndex=this.pos;var o=he.exec(this.input),s=this.pos+o[0].length,c=this.input.charCodeAt(s);if(c===40||c===46)return this.parseExpressionStatement(n,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),r===f._import?this.parseImport(n):this.parseExport(n,i);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(n,!0,!e);var u=this.value,l=this.parseExpression();return r===f.name&&l.type==="Identifier"&&this.eat(f.colon)?this.parseLabeledStatement(n,u,l,e):this.parseExpressionStatement(n,l)}};M.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next(),this.eat(f.semi)||this.insertSemicolon()?e.label=null:this.type!==f.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r<this.labels.length;++r){var n=this.labels[r];if((e.label==null||n.name===e.label.name)&&(n.kind!=null&&(i||n.kind==="loop")||e.label&&i))break}return r===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,i?"BreakStatement":"ContinueStatement")};M.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};M.parseDoStatement=function(e){return this.next(),this.labels.push(rr),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(f._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(f.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};M.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(rr),this.enterScope(0),this.expect(f.parenL),this.type===f.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var i=this.isLet();if(this.type===f._var||this.type===f._const||i){var r=this.startNode(),n=i?"let":this.value;return this.next(),this.parseVar(r,!0,n),this.finishNode(r,"VariableDeclaration"),(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&r.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===f._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var a=this.isContextual("let"),o=!1,s=new Tt,c=this.parseExpression(t>-1?"await":!0,s);return this.type===f._in||(o=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===f._in?t>-1&&this.unexpected(t):e.await=t>-1),a&&o&&this.raise(c.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(c,!1,s),this.checkLValPattern(c),this.parseForIn(e,c)):(this.checkExpressionErrors(s,!0),t>-1&&this.unexpected(t),this.parseFor(e,c))};M.parseFunctionStatement=function(e,t,i){return this.next(),this.parseFunction(e,it|(i?0:Qi),!1,t)};M.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(f._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};M.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(f.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};M.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(f.braceL),this.labels.push(c0),this.enterScope(0);for(var t,i=!1;this.type!==f.braceR;)if(this.type===f._case||this.type===f._default){var r=this.type===f._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,t.test=null),this.expect(f.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};M.parseThrowStatement=function(e){return this.next(),de.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var u0=[];M.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?ea:0),this.checkLValPattern(e,t?ra:ke),this.expect(f.parenR),e};M.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===f._catch){var t=this.startNode();this.next(),this.eat(f.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(f._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};M.parseVarStatement=function(e,t,i){return this.next(),this.parseVar(e,!1,t,i),this.semicolon(),this.finishNode(e,"VariableDeclaration")};M.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(rr),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};M.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};M.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};M.parseLabeledStatement=function(e,t,i,r){for(var n=0,a=this.labels;n<a.length;n+=1){var o=a[n];o.name===t&&this.raise(i.start,"Label '"+t+"' is already declared")}for(var s=this.type.isLoop?"loop":this.type===f._switch?"switch":null,c=this.labels.length-1;c>=0;c--){var u=this.labels[c];if(u.statementStart===e.start)u.statementStart=this.start,u.kind=s;else break}return this.labels.push({name:t,kind:s,statementStart:this.start}),e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label"),this.labels.pop(),e.label=i,this.finishNode(e,"LabeledStatement")};M.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};M.parseBlock=function(e,t,i){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(f.braceL),e&&this.enterScope(0);this.type!==f.braceR;){var r=this.parseStatement(null);t.body.push(r)}return i&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};M.parseFor=function(e,t){return e.init=t,this.expect(f.semi),e.test=this.type===f.semi?null:this.parseExpression(),this.expect(f.semi),e.update=this.type===f.parenR?null:this.parseExpression(),this.expect(f.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};M.parseForIn=function(e,t){var i=this.type===f._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(f.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")};M.parseVar=function(e,t,i,r){for(e.declarations=[],e.kind=i;;){var n=this.startNode();if(this.parseVarId(n,i),this.eat(f.eq)?n.init=this.parseMaybeAssign(t):!r&&i==="const"&&!(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!r&&n.id.type!=="Identifier"&&!(t&&(this.type===f._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):n.init=null,e.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(f.comma))break}return e};M.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?ir:ke,!1)};var it=1,Qi=2,aa=4;M.parseFunction=function(e,t,i,r,n){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===f.star&&t&Qi&&this.unexpected(),e.generator=this.eat(f.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&it&&(e.id=t&aa&&this.type!==f.name?null:this.parseIdent(),e.id&&!(t&Qi)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?ir:ke:ia));var a=this.yieldPos,o=this.awaitPos,s=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(tr(e.async,e.generator)),t&it||(e.id=this.type===f.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,i,!1,n),this.yieldPos=a,this.awaitPos=o,this.awaitIdentPos=s,this.finishNode(e,t&it?"FunctionDeclaration":"FunctionExpression")};M.parseFunctionParams=function(e){this.expect(f.parenL),e.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};M.parseClass=function(e,t){this.next();var i=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.enterClassBody(),n=this.startNode(),a=!1;for(n.body=[],this.expect(f.braceL);this.type!==f.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(n.body.push(o),o.type==="MethodDefinition"&&o.kind==="constructor"?(a&&this.raiseRecoverable(o.start,"Duplicate constructor in the same class"),a=!0):o.key&&o.key.type==="PrivateIdentifier"&&l0(r,o)&&this.raiseRecoverable(o.key.start,"Identifier '#"+o.key.name+"' has already been declared"))}return this.strict=i,this.next(),e.body=this.finishNode(n,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};M.parseClassElement=function(e){if(this.eat(f.semi))return null;var t=this.options.ecmaVersion,i=this.startNode(),r="",n=!1,a=!1,o="method",s=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(f.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===f.star?s=!0:r="static"}if(i.static=s,!r&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===f.star)&&!this.canInsertSemicolon()?a=!0:r="async"),!r&&(t>=9||!a)&&this.eat(f.star)&&(n=!0),!r&&!a&&!n){var c=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?o=c:r=c)}if(r?(i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=r,this.finishNode(i.key,"Identifier")):this.parseClassElementName(i),t<13||this.type===f.parenL||o!=="method"||n||a){var u=!i.static&&Rt(i,"constructor"),l=u&&e;u&&o!=="method"&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=u?"constructor":o,this.parseClassMethod(i,n,a,l)}else this.parseClassField(i);return i};M.isClassElementNameStart=function(){return this.type===f.name||this.type===f.privateId||this.type===f.num||this.type===f.string||this.type===f.bracketL||this.type.keyword};M.parseClassElementName=function(e){this.type===f.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)};M.parseClassMethod=function(e,t,i,r){var n=e.key;e.kind==="constructor"?(t&&this.raise(n.start,"Constructor can't be a generator"),i&&this.raise(n.start,"Constructor can't be an async method")):e.static&&Rt(e,"prototype")&&this.raise(n.start,"Classes may not have a static property named prototype");var a=e.value=this.parseMethod(t,i,r);return e.kind==="get"&&a.params.length!==0&&this.raiseRecoverable(a.start,"getter should have no params"),e.kind==="set"&&a.params.length!==1&&this.raiseRecoverable(a.start,"setter should have exactly one param"),e.kind==="set"&&a.params[0].type==="RestElement"&&this.raiseRecoverable(a.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};M.parseClassField=function(e){if(Rt(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Rt(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(f.eq)){var t=this.currentThisScope(),i=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=i}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")};M.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(st|Ji);this.type!==f.braceR;){var i=this.parseStatement(null);e.body.push(i)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};M.parseClassId=function(e,t){this.type===f.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,ke,!1)):(t===!0&&this.unexpected(),e.id=null)};M.parseClassSuper=function(e){e.superClass=this.eat(f._extends)?this.parseExprSubscripts(null,!1):null};M.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};M.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,i=e.used;if(this.options.checkPrivateFields)for(var r=this.privateNameStack.length,n=r===0?null:this.privateNameStack[r-1],a=0;a<i.length;++a){var o=i[a];at(t,o.name)||(n?n.used.push(o):this.raiseRecoverable(o.start,"Private field '#"+o.name+"' must be declared in an enclosing class"))}};function l0(e,t){var i=t.key.name,r=e[i],n="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(n=(t.static?"s":"i")+t.kind),r==="iget"&&n==="iset"||r==="iset"&&n==="iget"||r==="sget"&&n==="sset"||r==="sset"&&n==="sget"?(e[i]="true",!1):r?!0:(e[i]=n,!1)}function Rt(e,t){var i=e.computed,r=e.key;return!i&&(r.type==="Identifier"&&r.name===t||r.type==="Literal"&&r.value===t)}M.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==f.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")};M.parseExport=function(e,t){if(this.next(),this.eat(f.star))return this.parseExportAllDeclaration(e,t);if(this.eat(f._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==f.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var i=0,r=e.specifiers;i<r.length;i+=1){var n=r[i];this.checkUnreserved(n.local),this.checkLocalExport(n.local),n.local.type==="Literal"&&this.raise(n.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};M.parseExportDeclaration=function(e){return this.parseStatement(null)};M.parseExportDefaultDeclaration=function(){var e;if(this.type===f._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,it|aa,!1,e)}else if(this.type===f._class){var i=this.startNode();return this.parseClass(i,"nullableID")}else{var r=this.parseMaybeAssign();return this.semicolon(),r}};M.checkExport=function(e,t,i){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),at(e,t)&&this.raiseRecoverable(i,"Duplicate export '"+t+"'"),e[t]=!0)};M.checkPatternExport=function(e,t){var i=t.type;if(i==="Identifier")this.checkExport(e,t,t.start);else if(i==="ObjectPattern")for(var r=0,n=t.properties;r<n.length;r+=1){var a=n[r];this.checkPatternExport(e,a)}else if(i==="ArrayPattern")for(var o=0,s=t.elements;o<s.length;o+=1){var c=s[o];c&&this.checkPatternExport(e,c)}else i==="Property"?this.checkPatternExport(e,t.value):i==="AssignmentPattern"?this.checkPatternExport(e,t.left):i==="RestElement"?this.checkPatternExport(e,t.argument):i==="ParenthesizedExpression"&&this.checkPatternExport(e,t.expression)};M.checkVariableExport=function(e,t){if(e)for(var i=0,r=t;i<r.length;i+=1){var n=r[i];this.checkPatternExport(e,n.id)}};M.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};M.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")};M.parseExportSpecifiers=function(e){var t=[],i=!0;for(this.expect(f.braceL);!this.eat(f.braceR);){if(i)i=!1;else if(this.expect(f.comma),this.afterTrailingComma(f.braceR))break;t.push(this.parseExportSpecifier(e))}return t};M.parseImport=function(e){return this.next(),this.type===f.string?(e.specifiers=u0,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===f.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};M.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,ke),this.finishNode(e,"ImportSpecifier")};M.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,ke),this.finishNode(e,"ImportDefaultSpecifier")};M.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,ke),this.finishNode(e,"ImportNamespaceSpecifier")};M.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===f.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(f.comma)))return e;if(this.type===f.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(f.braceL);!this.eat(f.braceR);){if(t)t=!1;else if(this.expect(f.comma),this.afterTrailingComma(f.braceR))break;e.push(this.parseImportSpecifier())}return e};M.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===f.string){var e=this.parseLiteral(this.value);return n0.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};M.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)};M.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var me=Z.prototype;me.toAssignable=function(e,t,i){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var r=0,n=e.properties;r<n.length;r+=1){var a=n[r];this.toAssignable(a,t),a.type==="RestElement"&&(a.argument.type==="ArrayPattern"||a.argument.type==="ObjectPattern")&&this.raise(a.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",i&&this.checkPatternErrors(i,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,i);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else i&&this.checkPatternErrors(i,!0);return e};me.toAssignableList=function(e,t){for(var i=e.length,r=0;r<i;r++){var n=e[r];n&&this.toAssignable(n,t)}if(i){var a=e[i-1];this.options.ecmaVersion===6&&t&&a&&a.type==="RestElement"&&a.argument.type!=="Identifier"&&this.unexpected(a.argument.start)}return e};me.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};me.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==f.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};me.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case f.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(f.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case f.braceL:return this.parseObj(!0)}return this.parseIdent()};me.parseBindingList=function(e,t,i,r){for(var n=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(f.comma),t&&this.type===f.comma)n.push(null);else{if(i&&this.afterTrailingComma(e))break;if(this.type===f.ellipsis){var o=this.parseRestBinding();this.parseBindingListItem(o),n.push(o),this.type===f.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else n.push(this.parseAssignableListItem(r))}return n};me.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t};me.parseBindingListItem=function(e){return e};me.parseMaybeDefault=function(e,t,i){if(i=i||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(f.eq))return i;var r=this.startNodeAt(e,t);return r.left=i,r.right=this.parseMaybeAssign(),this.finishNode(r,"AssignmentPattern")};me.checkLValSimple=function(e,t,i){t===void 0&&(t=Lt);var r=t!==Lt;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(r?"Binding ":"Assigning to ")+e.name+" in strict mode"),r&&(t===ke&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),i&&(at(i,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),i[e.name]=!0),t!==na&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":r&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return r&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,i);default:this.raise(e.start,(r?"Binding":"Assigning to")+" rvalue")}};me.checkLValPattern=function(e,t,i){switch(t===void 0&&(t=Lt),e.type){case"ObjectPattern":for(var r=0,n=e.properties;r<n.length;r+=1){var a=n[r];this.checkLValInnerPattern(a,t,i)}break;case"ArrayPattern":for(var o=0,s=e.elements;o<s.length;o+=1){var c=s[o];c&&this.checkLValInnerPattern(c,t,i)}break;default:this.checkLValSimple(e,t,i)}};me.checkLValInnerPattern=function(e,t,i){switch(t===void 0&&(t=Lt),e.type){case"Property":this.checkLValInnerPattern(e.value,t,i);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,i);break;case"RestElement":this.checkLValPattern(e.argument,t,i);break;default:this.checkLValPattern(e,t,i)}};var ve=function(t,i,r,n,a){this.token=t,this.isExpr=!!i,this.preserveSpace=!!r,this.override=n,this.generator=!!a},Y={b_stat:new ve("{",!1),b_expr:new ve("{",!0),b_tmpl:new ve("${",!1),p_stat:new ve("(",!1),p_expr:new ve("(",!0),q_tmpl:new ve("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new ve("function",!1),f_expr:new ve("function",!0),f_expr_gen:new ve("function",!0,!1,null,!0),f_gen:new ve("function",!1,!1,null,!0)},Ue=Z.prototype;Ue.initialContext=function(){return[Y.b_stat]};Ue.curContext=function(){return this.context[this.context.length-1]};Ue.braceIsBlock=function(e){var t=this.curContext();return t===Y.f_expr||t===Y.f_stat?!0:e===f.colon&&(t===Y.b_stat||t===Y.b_expr)?!t.isExpr:e===f._return||e===f.name&&this.exprAllowed?de.test(this.input.slice(this.lastTokEnd,this.start)):e===f._else||e===f.semi||e===f.eof||e===f.parenR||e===f.arrow?!0:e===f.braceL?t===Y.b_stat:e===f._var||e===f._const||e===f.name?!1:!this.exprAllowed};Ue.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1};Ue.updateContext=function(e){var t,i=this.type;i.keyword&&e===f.dot?this.exprAllowed=!1:(t=i.updateContext)?t.call(this,e):this.exprAllowed=i.beforeExpr};Ue.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)};f.parenR.updateContext=f.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===Y.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};f.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Y.b_stat:Y.b_expr),this.exprAllowed=!0};f.dollarBraceL.updateContext=function(){this.context.push(Y.b_tmpl),this.exprAllowed=!0};f.parenL.updateContext=function(e){var t=e===f._if||e===f._for||e===f._with||e===f._while;this.context.push(t?Y.p_stat:Y.p_expr),this.exprAllowed=!0};f.incDec.updateContext=function(){};f._function.updateContext=f._class.updateContext=function(e){e.beforeExpr&&e!==f._else&&!(e===f.semi&&this.curContext()!==Y.p_stat)&&!(e===f._return&&de.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===f.colon||e===f.braceL)&&this.curContext()===Y.b_stat)?this.context.push(Y.f_expr):this.context.push(Y.f_stat),this.exprAllowed=!1};f.backQuote.updateContext=function(){this.curContext()===Y.q_tmpl?this.context.pop():this.context.push(Y.q_tmpl),this.exprAllowed=!1};f.star.updateContext=function(e){if(e===f._function){var t=this.context.length-1;this.context[t]===Y.f_expr?this.context[t]=Y.f_expr_gen:this.context[t]=Y.f_gen}this.exprAllowed=!0};f.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==f.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var V=Z.prototype;V.checkPropClash=function(e,t,i){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r=e.key,n;switch(r.type){case"Identifier":n=r.name;break;case"Literal":n=String(r.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6){n==="__proto__"&&a==="init"&&(t.proto&&(i?i.doubleProto<0&&(i.doubleProto=r.start):this.raiseRecoverable(r.start,"Redefinition of __proto__ property")),t.proto=!0);return}n="$"+n;var o=t[n];if(o){var s;a==="init"?s=this.strict&&o.init||o.get||o.set:s=o.init||o[a],s&&this.raiseRecoverable(r.start,"Redefinition of property")}else o=t[n]={init:!1,get:!1,set:!1};o[a]=!0}};V.parseExpression=function(e,t){var i=this.start,r=this.startLoc,n=this.parseMaybeAssign(e,t);if(this.type===f.comma){var a=this.startNodeAt(i,r);for(a.expressions=[n];this.eat(f.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return n};V.parseMaybeAssign=function(e,t,i){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var r=!1,n=-1,a=-1,o=-1;t?(n=t.parenthesizedAssign,a=t.trailingComma,o=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new Tt,r=!0);var s=this.start,c=this.startLoc;(this.type===f.parenL||this.type===f.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var u=this.parseMaybeConditional(e,t);if(i&&(u=i.call(this,u,s,c)),this.type.isAssign){var l=this.startNodeAt(s,c);return l.operator=this.value,this.type===f.eq&&(u=this.toAssignable(u,!1,t)),r||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=u.start&&(t.shorthandAssign=-1),this.type===f.eq?this.checkLValPattern(u):this.checkLValSimple(u),l.left=u,this.next(),l.right=this.parseMaybeAssign(e),o>-1&&(t.doubleProto=o),this.finishNode(l,"AssignmentExpression")}else r&&this.checkExpressionErrors(t,!0);return n>-1&&(t.parenthesizedAssign=n),a>-1&&(t.trailingComma=a),u};V.parseMaybeConditional=function(e,t){var i=this.start,r=this.startLoc,n=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return n;if(this.eat(f.question)){var a=this.startNodeAt(i,r);return a.test=n,a.consequent=this.parseMaybeAssign(),this.expect(f.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return n};V.parseExprOps=function(e,t){var i=this.start,r=this.startLoc,n=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||n.start===i&&n.type==="ArrowFunctionExpression"?n:this.parseExprOp(n,i,r,-1,e)};V.parseExprOp=function(e,t,i,r,n){var a=this.type.binop;if(a!=null&&(!n||this.type!==f._in)&&a>r){var o=this.type===f.logicalOR||this.type===f.logicalAND,s=this.type===f.coalesce;s&&(a=f.logicalAND.binop);var c=this.value;this.next();var u=this.start,l=this.startLoc,h=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,n),u,l,a,n),p=this.buildBinary(t,i,e,h,c,o||s);return(o&&this.type===f.coalesce||s&&(this.type===f.logicalOR||this.type===f.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(p,t,i,r,n)}return e};V.buildBinary=function(e,t,i,r,n,a){r.type==="PrivateIdentifier"&&this.raise(r.start,"Private identifier can only be left side of binary expression");var o=this.startNodeAt(e,t);return o.left=i,o.operator=n,o.right=r,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")};V.parseMaybeUnary=function(e,t,i,r){var n=this.start,a=this.startLoc,o;if(this.isContextual("await")&&this.canAwait)o=this.parseAwait(r),t=!0;else if(this.type.prefix){var s=this.startNode(),c=this.type===f.incDec;s.operator=this.value,s.prefix=!0,this.next(),s.argument=this.parseMaybeUnary(null,!0,c,r),this.checkExpressionErrors(e,!0),c?this.checkLValSimple(s.argument):this.strict&&s.operator==="delete"&&s.argument.type==="Identifier"?this.raiseRecoverable(s.start,"Deleting local variable in strict mode"):s.operator==="delete"&&sa(s.argument)?this.raiseRecoverable(s.start,"Private fields can not be deleted"):t=!0,o=this.finishNode(s,c?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===f.privateId)(r||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),o=this.parsePrivateIdent(),this.type!==f._in&&this.unexpected();else{if(o=this.parseExprSubscripts(e,r),this.checkExpressionErrors(e))return o;for(;this.type.postfix&&!this.canInsertSemicolon();){var u=this.startNodeAt(n,a);u.operator=this.value,u.prefix=!1,u.argument=o,this.checkLValSimple(o),this.next(),o=this.finishNode(u,"UpdateExpression")}}if(!i&&this.eat(f.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(n,a,o,this.parseMaybeUnary(null,!1,!1,r),"**",!1);else return o};function sa(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&sa(e.expression)}V.parseExprSubscripts=function(e,t){var i=this.start,r=this.startLoc,n=this.parseExprAtom(e,t);if(n.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return n;var a=this.parseSubscripts(n,i,r,!1,t);return e&&a.type==="MemberExpression"&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1),e.trailingComma>=a.start&&(e.trailingComma=-1)),a};V.parseSubscripts=function(e,t,i,r,n){for(var a=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,o=!1;;){var s=this.parseSubscript(e,t,i,r,a,o,n);if(s.optional&&(o=!0),s===e||s.type==="ArrowFunctionExpression"){if(o){var c=this.startNodeAt(t,i);c.expression=s,s=this.finishNode(c,"ChainExpression")}return s}e=s}};V.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(f.arrow)};V.parseSubscriptAsyncArrow=function(e,t,i,r){return this.parseArrowExpression(this.startNodeAt(e,t),i,!0,r)};V.parseSubscript=function(e,t,i,r,n,a,o){var s=this.options.ecmaVersion>=11,c=s&&this.eat(f.questionDot);r&&c&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var u=this.eat(f.bracketL);if(u||c&&this.type!==f.parenL&&this.type!==f.backQuote||this.eat(f.dot)){var l=this.startNodeAt(t,i);l.object=e,u?(l.property=this.parseExpression(),this.expect(f.bracketR)):this.type===f.privateId&&e.type!=="Super"?l.property=this.parsePrivateIdent():l.property=this.parseIdent(this.options.allowReserved!=="never"),l.computed=!!u,s&&(l.optional=c),e=this.finishNode(l,"MemberExpression")}else if(!r&&this.eat(f.parenL)){var h=new Tt,p=this.yieldPos,m=this.awaitPos,y=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var g=this.parseExprList(f.parenR,this.options.ecmaVersion>=8,!1,h);if(n&&!c&&this.shouldParseAsyncArrow())return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=p,this.awaitPos=m,this.awaitIdentPos=y,this.parseSubscriptAsyncArrow(t,i,g,o);this.checkExpressionErrors(h,!0),this.yieldPos=p||this.yieldPos,this.awaitPos=m||this.awaitPos,this.awaitIdentPos=y||this.awaitIdentPos;var v=this.startNodeAt(t,i);v.callee=e,v.arguments=g,s&&(v.optional=c),e=this.finishNode(v,"CallExpression")}else if(this.type===f.backQuote){(c||a)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var d=this.startNodeAt(t,i);d.tag=e,d.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(d,"TaggedTemplateExpression")}return e};V.parseExprAtom=function(e,t,i){this.type===f.slash&&this.readRegexp();var r,n=this.potentialArrowAt===this.start;switch(this.type){case f._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),r=this.startNode(),this.next(),this.type===f.parenL&&!this.allowDirectSuper&&this.raise(r.start,"super() call outside constructor of a subclass"),this.type!==f.dot&&this.type!==f.bracketL&&this.type!==f.parenL&&this.unexpected(),this.finishNode(r,"Super");case f._this:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case f.name:var a=this.start,o=this.startLoc,s=this.containsEsc,c=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!s&&c.name==="async"&&!this.canInsertSemicolon()&&this.eat(f._function))return this.overrideContext(Y.f_expr),this.parseFunction(this.startNodeAt(a,o),0,!1,!0,t);if(n&&!this.canInsertSemicolon()){if(this.eat(f.arrow))return this.parseArrowExpression(this.startNodeAt(a,o),[c],!1,t);if(this.options.ecmaVersion>=8&&c.name==="async"&&this.type===f.name&&!s&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return c=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(f.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(a,o),[c],!0,t)}return c;case f.regexp:var u=this.value;return r=this.parseLiteral(u.value),r.regex={pattern:u.pattern,flags:u.flags},r;case f.num:case f.string:return this.parseLiteral(this.value);case f._null:case f._true:case f._false:return r=this.startNode(),r.value=this.type===f._null?null:this.type===f._true,r.raw=this.type.keyword,this.next(),this.finishNode(r,"Literal");case f.parenL:var l=this.start,h=this.parseParenAndDistinguishExpression(n,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(h)&&(e.parenthesizedAssign=l),e.parenthesizedBind<0&&(e.parenthesizedBind=l)),h;case f.bracketL:return r=this.startNode(),this.next(),r.elements=this.parseExprList(f.bracketR,!0,!0,e),this.finishNode(r,"ArrayExpression");case f.braceL:return this.overrideContext(Y.b_expr),this.parseObj(!1,e);case f._function:return r=this.startNode(),this.next(),this.parseFunction(r,0);case f._class:return this.parseClass(this.startNode(),!1);case f._new:return this.parseNew();case f.backQuote:return this.parseTemplate();case f._import:return this.options.ecmaVersion>=11?this.parseExprImport(i):this.unexpected();default:return this.parseExprAtomDefault()}};V.parseExprAtomDefault=function(){this.unexpected()};V.parseExprImport=function(e){var t=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var i=this.parseIdent(!0);if(this.type===f.parenL&&!e)return this.parseDynamicImport(t);if(this.type===f.dot)return t.meta=i,this.parseImportMeta(t);this.unexpected()};V.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(f.parenR)){var t=this.start;this.eat(f.comma)&&this.eat(f.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};V.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};V.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};V.parseParenExpression=function(){this.expect(f.parenL);var e=this.parseExpression();return this.expect(f.parenR),e};V.shouldParseArrow=function(e){return!this.canInsertSemicolon()};V.parseParenAndDistinguishExpression=function(e,t){var i=this.start,r=this.startLoc,n,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,s=this.startLoc,c=[],u=!0,l=!1,h=new Tt,p=this.yieldPos,m=this.awaitPos,y;for(this.yieldPos=0,this.awaitPos=0;this.type!==f.parenR;)if(u?u=!1:this.expect(f.comma),a&&this.afterTrailingComma(f.parenR,!0)){l=!0;break}else if(this.type===f.ellipsis){y=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===f.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else c.push(this.parseMaybeAssign(!1,h,this.parseParenItem));var g=this.lastTokEnd,v=this.lastTokEndLoc;if(this.expect(f.parenR),e&&this.shouldParseArrow(c)&&this.eat(f.arrow))return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=p,this.awaitPos=m,this.parseParenArrowList(i,r,c,t);(!c.length||l)&&this.unexpected(this.lastTokStart),y&&this.unexpected(y),this.checkExpressionErrors(h,!0),this.yieldPos=p||this.yieldPos,this.awaitPos=m||this.awaitPos,c.length>1?(n=this.startNodeAt(o,s),n.expressions=c,this.finishNodeAt(n,"SequenceExpression",g,v)):n=c[0]}else n=this.parseParenExpression();if(this.options.preserveParens){var d=this.startNodeAt(i,r);return d.expression=n,this.finishNode(d,"ParenthesizedExpression")}else return n};V.parseParenItem=function(e){return e};V.parseParenArrowList=function(e,t,i,r){return this.parseArrowExpression(this.startNodeAt(e,t),i,!1,r)};var f0=[];V.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(f.dot)){e.meta=t;var i=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),i&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var r=this.start,n=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),r,n,!0,!1),this.eat(f.parenL)?e.arguments=this.parseExprList(f.parenR,this.options.ecmaVersion>=8,!1):e.arguments=f0,this.finishNode(e,"NewExpression")};V.parseTemplateElement=function(e){var t=e.isTagged,i=this.startNode();return this.type===f.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value,cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
`),cooked:this.value},this.next(),i.tail=this.type===f.backQuote,this.finishNode(i,"TemplateElement")};V.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var i=this.startNode();this.next(),i.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(i.quasis=[r];!r.tail;)this.type===f.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(f.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(f.braceR),i.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(i,"TemplateLiteral")};V.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===f.name||this.type===f.num||this.type===f.string||this.type===f.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===f.star)&&!de.test(this.input.slice(this.lastTokEnd,this.start))};V.parseObj=function(e,t){var i=this.startNode(),r=!0,n={};for(i.properties=[],this.next();!this.eat(f.braceR);){if(r)r=!1;else if(this.expect(f.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(f.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,n,t),i.properties.push(a)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")};V.parseProperty=function(e,t){var i=this.startNode(),r,n,a,o;if(this.options.ecmaVersion>=9&&this.eat(f.ellipsis))return e?(i.argument=this.parseIdent(!1),this.type===f.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(i,"RestElement")):(i.argument=this.parseMaybeAssign(!1,t),this.type===f.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(i,"SpreadElement"));this.options.ecmaVersion>=6&&(i.method=!1,i.shorthand=!1,(e||t)&&(a=this.start,o=this.startLoc),e||(r=this.eat(f.star)));var s=this.containsEsc;return this.parsePropertyName(i),!e&&!s&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(i)?(n=!0,r=this.options.ecmaVersion>=9&&this.eat(f.star),this.parsePropertyName(i)):n=!1,this.parsePropertyValue(i,e,r,n,a,o,t,s),this.finishNode(i,"Property")};V.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t=e.kind==="get"?0:1;if(e.value.params.length!==t){var i=e.value.start;e.kind==="get"?this.raiseRecoverable(i,"getter should have no params"):this.raiseRecoverable(i,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")};V.parsePropertyValue=function(e,t,i,r,n,a,o,s){(i||r)&&this.type===f.colon&&this.unexpected(),this.eat(f.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init"):this.options.ecmaVersion>=6&&this.type===f.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(i,r)):!t&&!s&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==f.comma&&this.type!==f.braceR&&this.type!==f.eq?((i||r)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((i||r)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=n),e.kind="init",t?e.value=this.parseMaybeDefault(n,a,this.copyNode(e.key)):this.type===f.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(n,a,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected()};V.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(f.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(f.bracketR),e.key;e.computed=!1}return e.key=this.type===f.num||this.type===f.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};V.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};V.parseMethod=function(e,t,i){var r=this.startNode(),n=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(tr(t,r.generator)|Ji|(i?ta:0)),this.expect(f.parenL),r.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0,!1),this.yieldPos=n,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(r,"FunctionExpression")};V.parseArrowExpression=function(e,t,i,r){var n=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(tr(i,!1)|Jn),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!i),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,r),this.yieldPos=n,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")};V.parseFunctionBody=function(e,t,i,r){var n=t&&this.type!==f.braceL,a=this.strict,o=!1;if(n)e.body=this.parseMaybeAssign(r),e.expression=!0,this.checkParams(e,!1);else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!a||s)&&(o=this.strictDirective(this.end),o&&s&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var c=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!a&&!o&&!t&&!i&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,na),e.body=this.parseBlock(!1,void 0,o&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=c}this.exitScope()};V.isSimpleParamList=function(e){for(var t=0,i=e;t<i.length;t+=1){var r=i[t];if(r.type!=="Identifier")return!1}return!0};V.checkParams=function(e,t){for(var i=Object.create(null),r=0,n=e.params;r<n.length;r+=1){var a=n[r];this.checkLValInnerPattern(a,ir,t?null:i)}};V.parseExprList=function(e,t,i,r){for(var n=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(f.comma),t&&this.afterTrailingComma(e))break;var o=void 0;i&&this.type===f.comma?o=null:this.type===f.ellipsis?(o=this.parseSpread(r),r&&this.type===f.comma&&r.trailingComma<0&&(r.trailingComma=this.start)):o=this.parseMaybeAssign(!1,r),n.push(o)}return n};V.checkUnreserved=function(e){var t=e.start,i=e.end,r=e.name;if(this.inGenerator&&r==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&r==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&r==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(r==="arguments"||r==="await")&&this.raise(t,"Cannot use "+r+" in class static initialization block"),this.keywords.test(r)&&this.raise(t,"Unexpected keyword '"+r+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,i).indexOf("\\")!==-1)){var n=this.strict?this.reservedWordsStrict:this.reservedWords;n.test(r)&&(!this.inAsync&&r==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+r+"' is reserved"))}};V.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),t.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t};V.parseIdentNode=function(){var e=this.startNode();return this.type===f.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,(e.name==="class"||e.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),e};V.parsePrivateIdent=function(){var e=this.startNode();return this.type===f.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e};V.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===f.semi||this.canInsertSemicolon()||this.type!==f.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(f.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")};V.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var It=Z.prototype;It.raise=function(e,t){var i=Yn(this.input,e);t+=" ("+i.line+":"+i.column+")";var r=new SyntaxError(t);throw r.pos=e,r.loc=i,r.raisedAt=this.pos,r};It.raiseRecoverable=It.raise;It.curPosition=function(){if(this.options.locations)return new rt(this.curLine,this.pos-this.lineStart)};var Ie=Z.prototype,h0=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};Ie.enterScope=function(e){this.scopeStack.push(new h0(e))};Ie.exitScope=function(){this.scopeStack.pop()};Ie.treatFunctionsAsVarInScope=function(e){return e.flags&$e||!this.inModule&&e.flags&nt};Ie.declareName=function(e,t,i){var r=!1;if(t===ke){var n=this.currentScope();r=n.lexical.indexOf(e)>-1||n.functions.indexOf(e)>-1||n.var.indexOf(e)>-1,n.lexical.push(e),this.inModule&&n.flags&nt&&delete this.undefinedExports[e]}else if(t===ra){var a=this.currentScope();a.lexical.push(e)}else if(t===ia){var o=this.currentScope();this.treatFunctionsAsVar?r=o.lexical.indexOf(e)>-1:r=o.lexical.indexOf(e)>-1||o.var.indexOf(e)>-1,o.functions.push(e)}else for(var s=this.scopeStack.length-1;s>=0;--s){var c=this.scopeStack[s];if(c.lexical.indexOf(e)>-1&&!(c.flags&ea&&c.lexical[0]===e)||!this.treatFunctionsAsVarInScope(c)&&c.functions.indexOf(e)>-1){r=!0;break}if(c.var.push(e),this.inModule&&c.flags&nt&&delete this.undefinedExports[e],c.flags&er)break}r&&this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")};Ie.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};Ie.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Ie.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&er)return t}};Ie.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&er&&!(t.flags&Jn))return t}};var Dt=function(t,i,r){this.type="",this.start=i,this.end=0,t.options.locations&&(this.loc=new Bt(t,r)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[i,0])},ot=Z.prototype;ot.startNode=function(){return new Dt(this,this.start,this.startLoc)};ot.startNodeAt=function(e,t){return new Dt(this,e,t)};function oa(e,t,i,r){return e.type=t,e.end=i,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=i),e}ot.finishNode=function(e,t){return oa.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};ot.finishNodeAt=function(e,t,i,r){return oa.call(this,e,t,i,r)};ot.copyNode=function(e){var t=new Dt(this,e.start,this.startLoc);for(var i in e)t[i]=e[i];return t};var ca="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ua=ca+" Extended_Pictographic",la=ua,fa=la+" EBase EComp EMod EPres ExtPict",ha=fa,p0=ha,d0={9:ca,10:ua,11:la,12:fa,13:ha,14:p0},m0="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",x0={9:"",10:"",11:"",12:"",13:"",14:m0},Wn="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",pa="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",da=pa+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",ma=da+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",xa=ma+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",ya=xa+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",y0=ya+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz",v0={9:pa,10:da,11:ma,12:xa,13:ya,14:y0},va={};function g0(e){var t=va[e]={binary:Le(d0[e]+" "+Wn),binaryOfStrings:Le(x0[e]),nonBinary:{General_Category:Le(Wn),Script:Le(v0[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(Pt=0,Gi=[9,10,11,12,13,14];Pt<Gi.length;Pt+=1)qn=Gi[Pt],g0(qn);var qn,Pt,Gi,O=Z.prototype,we=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=va[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};we.prototype.reset=function(t,i,r){var n=r.indexOf("v")!==-1,a=r.indexOf("u")!==-1;this.start=t|0,this.source=i+"",this.flags=r,n&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=a&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=a&&this.parser.options.ecmaVersion>=9)};we.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};we.prototype.at=function(t,i){i===void 0&&(i=!1);var r=this.source,n=r.length;if(t>=n)return-1;var a=r.charCodeAt(t);if(!(i||this.switchU)||a<=55295||a>=57344||t+1>=n)return a;var o=r.charCodeAt(t+1);return o>=56320&&o<=57343?(a<<10)+o-56613888:a};we.prototype.nextIndex=function(t,i){i===void 0&&(i=!1);var r=this.source,n=r.length;if(t>=n)return n;var a=r.charCodeAt(t),o;return!(i||this.switchU)||a<=55295||a>=57344||t+1>=n||(o=r.charCodeAt(t+1))<56320||o>57343?t+1:t+2};we.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};we.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};we.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};we.prototype.eat=function(t,i){return i===void 0&&(i=!1),this.current(i)===t?(this.advance(i),!0):!1};we.prototype.eatChars=function(t,i){i===void 0&&(i=!1);for(var r=this.pos,n=0,a=t;n<a.length;n+=1){var o=a[n],s=this.at(r,i);if(s===-1||s!==o)return!1;r=this.nextIndex(r,i)}return this.pos=r,!0};O.validateRegExpFlags=function(e){for(var t=e.validFlags,i=e.flags,r=!1,n=!1,a=0;a<i.length;a++){var o=i.charAt(a);t.indexOf(o)===-1&&this.raise(e.start,"Invalid regular expression flag"),i.indexOf(o,a+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),o==="u"&&(r=!0),o==="v"&&(n=!0)}this.options.ecmaVersion>=15&&r&&n&&this.raise(e.start,"Invalid regular expression flag")};O.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))};O.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,i=e.backReferenceNames;t<i.length;t+=1){var r=i[t];e.groupNames.indexOf(r)===-1&&e.raise("Invalid named capture referenced")}};O.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")};O.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););};O.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1};O.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var i=!1;if(this.options.ecmaVersion>=9&&(i=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!i,!0}return e.pos=t,!1};O.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};O.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};O.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var r=0,n=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue),e.eat(125)))return n!==-1&&n<r&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=i}return!1};O.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};O.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1};O.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1};O.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};O.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};O.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};O.regexp_eatSyntaxCharacter=function(e){var t=e.current();return ga(t)?(e.lastIntValue=t,e.advance(),!0):!1};function ga(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}O.regexp_eatPatternCharacters=function(e){for(var t=e.pos,i=0;(i=e.current())!==-1&&!ga(i);)e.advance();return e.pos!==t};O.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};O.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};O.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};O.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Re(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Re(e.lastIntValue);return!0}return!1};O.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,r=e.current(i);return e.advance(i),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(r=e.lastIntValue),_0(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)};function _0(e){return Se(e,!0)||e===36||e===95}O.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,r=e.current(i);return e.advance(i),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(r=e.lastIntValue),b0(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)};function b0(e){return Ve(e,!0)||e===36||e===95||e===8204||e===8205}O.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};O.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var i=e.lastIntValue;if(e.switchU)return i>e.maxBackReference&&(e.maxBackReference=i),!0;if(i<=e.numCapturingParens)return!0;e.pos=t}return!1};O.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};O.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};O.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};O.regexp_eatZero=function(e){return e.current()===48&&!Nt(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};O.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};O.regexp_eatControlLetter=function(e){var t=e.current();return _a(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function _a(e){return e>=65&&e<=90||e>=97&&e<=122}O.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var i=e.pos,r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(r&&n>=55296&&n<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(o>=56320&&o<=57343)return e.lastIntValue=(n-55296)*1024+(o-56320)+65536,!0}e.pos=a,e.lastIntValue=n}return!0}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&w0(e.lastIntValue))return!0;r&&e.raise("Invalid unicode escape"),e.pos=i}return!1};function w0(e){return e>=0&&e<=1114111}O.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};O.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var ba=0,Ce=1,pe=2;O.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(S0(t))return e.lastIntValue=-1,e.advance(),Ce;var i=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((i=t===80)||t===112)){e.lastIntValue=-1,e.advance();var r;if(e.eat(123)&&(r=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return i&&r===pe&&e.raise("Invalid property name"),r;e.raise("Invalid property name")}return ba};function S0(e){return e===100||e===68||e===115||e===83||e===119||e===87}O.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,i,r),Ce}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,n)}return ba};O.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){at(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(i)||e.raise("Invalid property value")};O.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return Ce;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return pe;e.raise("Invalid property name")};O.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";wa(t=e.current());)e.lastStringValue+=Re(t),e.advance();return e.lastStringValue!==""};function wa(e){return _a(e)||e===95}O.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";C0(t=e.current());)e.lastStringValue+=Re(t),e.advance();return e.lastStringValue!==""};function C0(e){return wa(e)||Nt(e)}O.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};O.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),i=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&i===pe&&e.raise("Negated character class may contain strings"),!0}return!1};O.regexp_classContents=function(e){return e.current()===93?Ce:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),Ce)};O.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;e.switchU&&(t===-1||i===-1)&&e.raise("Invalid character class"),t!==-1&&i!==-1&&t>i&&e.raise("Range out of order in character class")}}};O.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var i=e.current();(i===99||ka(i))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return r!==93?(e.lastIntValue=r,e.advance(),!0):!1};O.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};O.regexp_classSetExpression=function(e){var t=Ce,i;if(!this.regexp_eatClassSetRange(e))if(i=this.regexp_eatClassSetOperand(e)){i===pe&&(t=pe);for(var r=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(i=this.regexp_eatClassSetOperand(e))){i!==pe&&(t=Ce);continue}e.raise("Invalid character in character class")}if(r!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(r!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(i=this.regexp_eatClassSetOperand(e),!i)return t;i===pe&&(t=pe)}};O.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;return i!==-1&&r!==-1&&i>r&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1};O.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?Ce:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)};O.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var i=e.eat(94),r=this.regexp_classContents(e);if(e.eat(93))return i&&r===pe&&e.raise("Negated character class may contain strings"),r;e.pos=t}if(e.eat(92)){var n=this.regexp_eatCharacterClassEscape(e);if(n)return n;e.pos=t}return null};O.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var i=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return i}else e.raise("Invalid escape");e.pos=t}return null};O.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===pe&&(t=pe);return t};O.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?Ce:pe};O.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var i=e.current();return i<0||i===e.lookahead()&&k0(i)||E0(i)?!1:(e.advance(),e.lastIntValue=i,!0)};function k0(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function E0(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}O.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return A0(t)?(e.lastIntValue=t,e.advance(),!0):!1};function A0(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}O.regexp_eatClassControlLetter=function(e){var t=e.current();return Nt(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};O.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};O.regexp_eatDecimalDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;Nt(i=e.current());)e.lastIntValue=10*e.lastIntValue+(i-48),e.advance();return e.pos!==t};function Nt(e){return e>=48&&e<=57}O.regexp_eatHexDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;Sa(i=e.current());)e.lastIntValue=16*e.lastIntValue+Ca(i),e.advance();return e.pos!==t};function Sa(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Ca(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}O.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var i=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+i*8+e.lastIntValue:e.lastIntValue=t*8+i}else e.lastIntValue=t;return!0}return!1};O.regexp_eatOctalDigit=function(e){var t=e.current();return ka(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function ka(e){return e>=48&&e<=55}O.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var r=0;r<t;++r){var n=e.current();if(!Sa(n))return e.pos=i,!1;e.lastIntValue=16*e.lastIntValue+Ca(n),e.advance()}return!0};var nr=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new Bt(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},W=Z.prototype;W.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new nr(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};W.getToken=function(){return this.next(),new nr(this)};typeof Symbol<"u"&&(W[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===f.eof,value:t}}}});W.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(f.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};W.readToken=function(e){return Se(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};W.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};W.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(i===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations)for(var r=void 0,n=t;(r=Kn(this.input,n,this.pos))>-1;)++this.curLine,n=this.lineStart=r;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,i),t,this.pos,e,this.curPosition())};W.skipLineComment=function(e){for(var t=this.pos,i=this.options.onComment&&this.curPosition(),r=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!je(r);)r=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,i,this.curPosition())};W.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&Xn.test(String.fromCharCode(e)))++this.pos;else break e}}};W.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=e,this.value=t,this.updateContext(i)};W.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(f.ellipsis)):(++this.pos,this.finishToken(f.dot))};W.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(f.assign,2):this.finishOp(f.slash,1)};W.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),i=1,r=e===42?f.star:f.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++i,r=f.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(f.assign,i+1):this.finishOp(r,i)};W.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(f.assign,3)}return this.finishOp(e===124?f.logicalOR:f.logicalAND,2)}return t===61?this.finishOp(f.assign,2):this.finishOp(e===124?f.bitwiseOR:f.bitwiseAND,1)};W.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(f.assign,2):this.finishOp(f.bitwiseXOR,1)};W.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||de.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(f.incDec,2):t===61?this.finishOp(f.assign,2):this.finishOp(f.plusMin,1)};W.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),i=1;return t===e?(i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+i)===61?this.finishOp(f.assign,i+1):this.finishOp(f.bitShift,i)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(i=2),this.finishOp(f.relational,i))};W.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(f.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(f.arrow)):this.finishOp(e===61?f.eq:f.prefix,1)};W.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57)return this.finishOp(f.questionDot,2)}if(t===63){if(e>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(f.assign,3)}return this.finishOp(f.coalesce,2)}}return this.finishOp(f.question,1)};W.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),Se(t,!0)||t===92))return this.finishToken(f.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Re(t)+"'")};W.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(f.parenL);case 41:return++this.pos,this.finishToken(f.parenR);case 59:return++this.pos,this.finishToken(f.semi);case 44:return++this.pos,this.finishToken(f.comma);case 91:return++this.pos,this.finishToken(f.bracketL);case 93:return++this.pos,this.finishToken(f.bracketR);case 123:return++this.pos,this.finishToken(f.braceL);case 125:return++this.pos,this.finishToken(f.braceR);case 58:return++this.pos,this.finishToken(f.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(f.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(f.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Re(e)+"'")};W.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,i)};W.readRegexp=function(){for(var e,t,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(de.test(r)&&this.raise(i,"Unterminated regular expression"),e)e=!1;else{if(r==="[")t=!0;else if(r==="]"&&t)t=!1;else if(r==="/"&&!t)break;e=r==="\\"}++this.pos}var n=this.input.slice(i,this.pos);++this.pos;var a=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(a);var s=this.regexpState||(this.regexpState=new we(this));s.reset(i,n,o),this.validateRegExpFlags(s),this.validateRegExpPattern(s);var c=null;try{c=new RegExp(n,o)}catch{}return this.finishToken(f.regexp,{pattern:n,flags:o,value:c})};W.readInt=function(e,t,i){for(var r=this.options.ecmaVersion>=12&&t===void 0,n=i&&this.input.charCodeAt(this.pos)===48,a=this.pos,o=0,s=0,c=0,u=t??1/0;c<u;++c,++this.pos){var l=this.input.charCodeAt(this.pos),h=void 0;if(r&&l===95){n&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),s===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),c===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),s=l;continue}if(l>=97?h=l-97+10:l>=65?h=l-65+10:l>=48&&l<=57?h=l-48:h=1/0,h>=e)break;s=l,o=o*e+h}return r&&s===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||t!=null&&this.pos-a!==t?null:o};function P0(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Ea(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}W.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);return i==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(i=Ea(this.input.slice(t,this.pos)),++this.pos):Se(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,i)};W.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var i=this.pos-t>=2&&this.input.charCodeAt(t)===48;i&&this.strict&&this.raise(t,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&r===110){var n=Ea(this.input.slice(t,this.pos));return++this.pos,Se(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,n)}i&&/[89]/.test(this.input.slice(t,this.pos))&&(i=!1),r===46&&!i&&(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),(r===69||r===101)&&!i&&(r=this.input.charCodeAt(++this.pos),(r===43||r===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Se(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=P0(this.input.slice(t,this.pos),i);return this.finishToken(f.num,a)};W.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var i=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(i,"Code point out of bounds")}else t=this.readHexChar(4);return t};W.readString=function(e){for(var t="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;r===92?(t+=this.input.slice(i,this.pos),t+=this.readEscapedChar(!1),i=this.pos):r===8232||r===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(je(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(i,this.pos++),this.finishToken(f.string,t)};var Aa={};W.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Aa)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};W.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Aa;this.raise(e,t)};W.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===f.template||this.type===f.invalidTemplate)?i===36?(this.pos+=2,this.finishToken(f.dollarBraceL)):(++this.pos,this.finishToken(f.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(f.template,e));if(i===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(je(i)){switch(e+=this.input.slice(t,this.pos),++this.pos,i){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
|
|
`;break;default:e+=String.fromCharCode(i);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};W.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(f.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")};W.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
|
|
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Re(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var i=this.pos-1;this.invalidStringToken(i,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],n=parseInt(r,8);return n>255&&(r=r.slice(0,-1),n=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),(r!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(n)}return je(t)?"":String.fromCharCode(t)}};W.readHexChar=function(e){var t=this.pos,i=this.readInt(16,e);return i===null&&this.invalidStringToken(t,"Bad character escape sequence"),i};W.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,i=this.pos,r=this.options.ecmaVersion>=6;this.pos<this.input.length;){var n=this.fullCharCodeAtPos();if(Ve(n,r))this.pos+=n<=65535?1:2;else if(n===92){this.containsEsc=!0,e+=this.input.slice(i,this.pos);var a=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var o=this.readCodePoint();(t?Se:Ve)(o,r)||this.invalidStringToken(a,"Invalid Unicode escape"),e+=Re(o),i=this.pos}else break;t=!1}return e+this.input.slice(i,this.pos)};W.readWord=function(){var e=this.readWord1(),t=f.name;return this.keywords.test(e)&&(t=Yi[e]),this.finishToken(t,e)};var L0="8.10.0";Z.acorn={Parser:Z,version:L0,defaultOptions:Xi,Position:rt,SourceLocation:Bt,getLineInfo:Yn,Node:Dt,TokenType:K,tokTypes:f,keywordTypes:Yi,TokContext:ve,tokContexts:Y,isIdentifierChar:Ve,isIdentifierStart:Se,Token:nr,isNewLine:je,lineBreak:de,lineBreakG:t0,nonASCIIwhitespace:Xn};function Pa(e,t){return Z.parse(e,t)}var Ot,R0=new Uint8Array(16);function ar(){if(!Ot&&(Ot=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Ot))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ot(R0)}var ee=[];for(let e=0;e<256;++e)ee.push((e+256).toString(16).slice(1));function La(e,t=0){return(ee[e[t+0]]+ee[e[t+1]]+ee[e[t+2]]+ee[e[t+3]]+"-"+ee[e[t+4]]+ee[e[t+5]]+"-"+ee[e[t+6]]+ee[e[t+7]]+"-"+ee[e[t+8]]+ee[e[t+9]]+"-"+ee[e[t+10]]+ee[e[t+11]]+ee[e[t+12]]+ee[e[t+13]]+ee[e[t+14]]+ee[e[t+15]]).toLowerCase()}var I0=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),sr={randomUUID:I0};function B0(e,t,i){if(sr.randomUUID&&!t&&!e)return sr.randomUUID();e=e||{};let r=e.random||(e.rng||ar)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){i=i||0;for(let n=0;n<16;++n)t[i+n]=r[n];return t}return La(r)}var Mt=B0;var Be=globalThis.WebSocket,T0=globalThis.Request,D0=globalThis.Response,Ra={prototype:{send:Be.prototype.send},CLOSED:Be.CLOSED,CLOSING:Be.CLOSING,CONNECTING:Be.CONNECTING,OPEN:Be.OPEN},N0=20,O0=[101,204,205,304],M0=[301,302,303,307,308];var or=class{},F0="!#$%&'*+-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_`abcdefghijklmnopqrstuvwxyz|~";function H0(e){for(let t=0;t<e.length;t++){let i=e[t];if(!F0.includes(i))return!1}return!0}var cr=class extends or{constructor(){super();Mi(this,"callbacks",{});Mi(this,"uid",Mt());if(!("ServiceWorkerGlobalScope"in self))throw new TypeError("Attempt to construct RemoteClient from outside a service worker");addEventListener("message",i=>{if(i.data.__remote_target===this.uid){let r=this.callbacks[i.data.__remote_id];r(i.data.__remote_value)}})}async send(i,r){let n=await self.clients.matchAll();if(n.length<1)throw new Error("no available clients");for(let a of n)a.postMessage({__remote_target:this.uid,__remote_id:r,__remote_value:i})}async sendWithResponse(i){let r=Mt();return new Promise(n=>{this.callbacks[r]=n,this.send(i,r)})}connect(i,r,n,a,o){return new Be("")}async request(i,r,n,a,o,s,c){let u=await this.sendWithResponse({type:"request",options:{method:i,requestHeaders:r,body:n,remote:a.toString()}}),l=new D0(O0.includes(u.status)?void 0:u.body,{status:u.status,statusText:u.statusText??void 0,headers:new Headers(u.headers)});return l.rawHeaders=u.headers,l.rawResponse=u,l}},V0=Object.getOwnPropertyDescriptor(Be.prototype,"readyState").get,j0=["ws:","wss:"];self.BCC_VERSION="1.2.0";console.warn("BCC_VERSION: "+self.BCC_VERSION);function Ia(e){self.gBareClientImplementation=e}if("ServiceWorkerGlobalScope"in self)Ia(new cr);else{let e=self;console.log("attempting to find an implementation");for(let t=0;t<10;t++)if(e=e.parent,e&&e.gBareClientImplementation){console.warn("found implementation on parent"),Ia(e.gBareClientImplementation);break}}var ct=class{constructor(...t){}createWebSocket(t,i=[],r){if(!self.gBareClientImplementation)throw new TypeError("A request was made before the client was ready!! This is a problem on the end of whoever set the bare client implementation");try{t=new URL(t)}catch{throw new DOMException(`Faiiled to construct 'WebSocket': The URL '${t}' is invalid.`)}if(!j0.includes(t.protocol))throw new DOMException(`Failed to construct 'WebSocket': The URL's scheme must be either 'ws' or 'wss'. '${t.protocol}' is not allowed.`);Array.isArray(i)||(i=[i]),i=i.map(String);for(let u of i)if(!H0(u))throw new DOMException(`Failed to construct 'WebSocket': The subprotocol '${u}' is invalid.`);let n=self.gBareClientImplementation.connect(t,i,async()=>{let u=typeof r.headers=="function"?await r.headers():r.headers||{},l=u instanceof Headers?Object.fromEntries(u):u;return l.Host=t.host,l.Pragma="no-cache",l["Cache-Control"]="no-cache",l.Upgrade="websocket",l.Connection="Upgrade",l},u=>{a=u.protocol,r.setCookiesCallback&&r.setCookiesCallback(u.setCookies)},u=>{o=u},r.webSocketImpl||Be,ArrayBuffer),a="",o=Ra.CONNECTING,s=()=>{let u=V0.call(n);return u===Ra.OPEN?o:u};r.readyStateHook?r.readyStateHook(n,s):Object.defineProperty(n,"readyState",{get:s,configurable:!0,enumerable:!0}),r.urlHook?r.urlHook(n,t):Object.defineProperty(n,"url",{get:()=>t.toString(),configurable:!0,enumerable:!0});let c=()=>a;return r.protocolHook?r.protocolHook(n,c):Object.defineProperty(n,"protocol",{get:c,configurable:!0,enumerable:!0}),n}async fetch(t,i){let r=new T0(t,i),n=i?.headers||r.headers,a=n instanceof Headers?Object.fromEntries(n):n,o=i?.duplex,s=i?.body||r.body,c=new URL(r.url);if(!self.gBareClientImplementation)throw new TypeError("A request was made before the client was ready!! This is a problem on the end of whoever set the bare client implementation");for(let u=0;;u++){"host"in a?a.host=c.host:a.Host=c.host;let l=await self.gBareClientImplementation.request(r.method,a,s,c,r.cache,o,r.signal,ArrayBuffer);l.finalURL=c.toString();let h=i?.redirect||r.redirect;if(M0.includes(l.status))switch(h){case"follow":{let p=l.headers.get("location");if(N0>u&&p!==null){c=new URL(p,c);continue}else throw new TypeError("Failed to fetch")}case"error":throw new TypeError("Failed to fetch");case"manual":return l}else return l}}};async function Ba(...e){return new ct}var nc=et(Ta(),1),Wa=et(Na(),1);var{stringify:Y0}=JSON;if(!String.prototype.repeat)throw new Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw new Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");var Ht={"||":2,"??":3,"&&":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},ge=17,Z0={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,PrivateIdentifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:ge,ClassExpression:ge,FunctionExpression:ge,ObjectExpression:ge,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function qe(e,t){let{generator:i}=e;if(e.write("("),t!=null&&t.length>0){i[t[0].type](t[0],e);let{length:r}=t;for(let n=1;n<r;n++){let a=t[n];e.write(", "),i[a.type](a,e)}}e.write(")")}function $a(e,t,i,r){let n=e.expressionsPrecedence[t.type];if(n===ge)return!0;let a=e.expressionsPrecedence[i.type];return n!==a?!r&&n===15&&a===14&&i.operator==="**"||n<a:n!==13&&n!==14?!1:t.operator==="**"&&i.operator==="**"?!r:n===13&&a===13&&(t.operator==="??"||i.operator==="??")?!0:r?Ht[t.operator]<=Ht[i.operator]:Ht[t.operator]<Ht[i.operator]}function Vt(e,t,i,r){let{generator:n}=e;$a(e,t,i,r)?(e.write("("),n[t.type](t,e),e.write(")")):n[t.type](t,e)}function J0(e,t,i,r){let n=t.split(`
|
|
`),a=n.length-1;if(e.write(n[0].trim()),a>0){e.write(r);for(let o=1;o<a;o++)e.write(i+n[o].trim()+r);e.write(i+n[a].trim())}}function ie(e,t,i,r){let{length:n}=t;for(let a=0;a<n;a++){let o=t[a];e.write(i),o.type[0]==="L"?e.write("// "+o.value.trim()+`
|
|
`,o):(e.write("/*"),J0(e,o.value,i,r),e.write("*/"+r))}}function ec(e){let t=e;for(;t!=null;){let{type:i}=t;if(i[0]==="C"&&i[1]==="a")return!0;if(i[0]==="M"&&i[1]==="e"&&i[2]==="m")t=t.object;else return!1}}function hr(e,t){let{generator:i}=e,{declarations:r}=t;e.write(t.kind+" ");let{length:n}=r;if(n>0){i.VariableDeclarator(r[0],e);for(let a=1;a<n;a++)e.write(", "),i.VariableDeclarator(r[a],e)}}var Oa,Ma,Fa,Ha,Va,ja,tc={Program(e,t){let i=t.indent.repeat(t.indentLevel),{lineEnd:r,writeComments:n}=t;n&&e.comments!=null&&ie(t,e.comments,i,r);let a=e.body,{length:o}=a;for(let s=0;s<o;s++){let c=a[s];n&&c.comments!=null&&ie(t,c.comments,i,r),t.write(i),this[c.type](c,t),t.write(r)}n&&e.trailingComments!=null&&ie(t,e.trailingComments,i,r)},BlockStatement:ja=function(e,t){let i=t.indent.repeat(t.indentLevel++),{lineEnd:r,writeComments:n}=t,a=i+t.indent;t.write("{");let o=e.body;if(o!=null&&o.length>0){t.write(r),n&&e.comments!=null&&ie(t,e.comments,a,r);let{length:s}=o;for(let c=0;c<s;c++){let u=o[c];n&&u.comments!=null&&ie(t,u.comments,a,r),t.write(a),this[u.type](u,t),t.write(r)}t.write(i)}else n&&e.comments!=null&&(t.write(r),ie(t,e.comments,a,r),t.write(i));n&&e.trailingComments!=null&&ie(t,e.trailingComments,a,r),t.write("}"),t.indentLevel--},ClassBody:ja,StaticBlock(e,t){t.write("static "),this.BlockStatement(e,t)},EmptyStatement(e,t){t.write(";")},ExpressionStatement(e,t){let i=t.expressionsPrecedence[e.expression.type];i===ge||i===3&&e.expression.left.type[0]==="O"?(t.write("("),this[e.expression.type](e.expression,t),t.write(")")):this[e.expression.type](e.expression,t),t.write(";")},IfStatement(e,t){t.write("if ("),this[e.test.type](e.test,t),t.write(") "),this[e.consequent.type](e.consequent,t),e.alternate!=null&&(t.write(" else "),this[e.alternate.type](e.alternate,t))},LabeledStatement(e,t){this[e.label.type](e.label,t),t.write(": "),this[e.body.type](e.body,t)},BreakStatement(e,t){t.write("break"),e.label!=null&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},ContinueStatement(e,t){t.write("continue"),e.label!=null&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},WithStatement(e,t){t.write("with ("),this[e.object.type](e.object,t),t.write(") "),this[e.body.type](e.body,t)},SwitchStatement(e,t){let i=t.indent.repeat(t.indentLevel++),{lineEnd:r,writeComments:n}=t;t.indentLevel++;let a=i+t.indent,o=a+t.indent;t.write("switch ("),this[e.discriminant.type](e.discriminant,t),t.write(") {"+r);let{cases:s}=e,{length:c}=s;for(let u=0;u<c;u++){let l=s[u];n&&l.comments!=null&&ie(t,l.comments,a,r),l.test?(t.write(a+"case "),this[l.test.type](l.test,t),t.write(":"+r)):t.write(a+"default:"+r);let{consequent:h}=l,{length:p}=h;for(let m=0;m<p;m++){let y=h[m];n&&y.comments!=null&&ie(t,y.comments,o,r),t.write(o),this[y.type](y,t),t.write(r)}}t.indentLevel-=2,t.write(i+"}")},ReturnStatement(e,t){t.write("return"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t)),t.write(";")},ThrowStatement(e,t){t.write("throw "),this[e.argument.type](e.argument,t),t.write(";")},TryStatement(e,t){if(t.write("try "),this[e.block.type](e.block,t),e.handler){let{handler:i}=e;i.param==null?t.write(" catch "):(t.write(" catch ("),this[i.param.type](i.param,t),t.write(") ")),this[i.body.type](i.body,t)}e.finalizer&&(t.write(" finally "),this[e.finalizer.type](e.finalizer,t))},WhileStatement(e,t){t.write("while ("),this[e.test.type](e.test,t),t.write(") "),this[e.body.type](e.body,t)},DoWhileStatement(e,t){t.write("do "),this[e.body.type](e.body,t),t.write(" while ("),this[e.test.type](e.test,t),t.write(");")},ForStatement(e,t){if(t.write("for ("),e.init!=null){let{init:i}=e;i.type[0]==="V"?hr(t,i):this[i.type](i,t)}t.write("; "),e.test&&this[e.test.type](e.test,t),t.write("; "),e.update&&this[e.update.type](e.update,t),t.write(") "),this[e.body.type](e.body,t)},ForInStatement:Oa=function(e,t){t.write(`for ${e.await?"await ":""}(`);let{left:i}=e;i.type[0]==="V"?hr(t,i):this[i.type](i,t),t.write(e.type[3]==="I"?" in ":" of "),this[e.right.type](e.right,t),t.write(") "),this[e.body.type](e.body,t)},ForOfStatement:Oa,DebuggerStatement(e,t){t.write("debugger;",e)},FunctionDeclaration:Ma=function(e,t){t.write((e.async?"async ":"")+(e.generator?"function* ":"function ")+(e.id?e.id.name:""),e),qe(t,e.params),t.write(" "),this[e.body.type](e.body,t)},FunctionExpression:Ma,VariableDeclaration(e,t){hr(t,e),t.write(";")},VariableDeclarator(e,t){this[e.id.type](e.id,t),e.init!=null&&(t.write(" = "),this[e.init.type](e.init,t))},ClassDeclaration(e,t){if(t.write("class "+(e.id?`${e.id.name} `:""),e),e.superClass){t.write("extends ");let{superClass:i}=e,{type:r}=i,n=t.expressionsPrecedence[r];(r[0]!=="C"||r[1]!=="l"||r[5]!=="E")&&(n===ge||n<t.expressionsPrecedence.ClassExpression)?(t.write("("),this[e.superClass.type](i,t),t.write(")")):this[i.type](i,t),t.write(" ")}this.ClassBody(e.body,t)},ImportDeclaration(e,t){t.write("import ");let{specifiers:i}=e,{length:r}=i,n=0;if(r>0){for(;n<r;){n>0&&t.write(", ");let a=i[n],o=a.type[6];if(o==="D")t.write(a.local.name,a),n++;else if(o==="N")t.write("* as "+a.local.name,a),n++;else break}if(n<r){for(t.write("{");;){let a=i[n],{name:o}=a.imported;if(t.write(o,a),o!==a.local.name&&t.write(" as "+a.local.name),++n<r)t.write(", ");else break}t.write("}")}t.write(" from ")}this.Literal(e.source,t),t.write(";")},ImportExpression(e,t){t.write("import("),this[e.source.type](e.source,t),t.write(")")},ExportDefaultDeclaration(e,t){t.write("export default "),this[e.declaration.type](e.declaration,t),t.expressionsPrecedence[e.declaration.type]!=null&&e.declaration.type[0]!=="F"&&t.write(";")},ExportNamedDeclaration(e,t){if(t.write("export "),e.declaration)this[e.declaration.type](e.declaration,t);else{t.write("{");let{specifiers:i}=e,{length:r}=i;if(r>0)for(let n=0;;){let a=i[n],{name:o}=a.local;if(t.write(o,a),o!==a.exported.name&&t.write(" as "+a.exported.name),++n<r)t.write(", ");else break}t.write("}"),e.source&&(t.write(" from "),this.Literal(e.source,t)),t.write(";")}},ExportAllDeclaration(e,t){e.exported!=null?t.write("export * as "+e.exported.name+" from "):t.write("export * from "),this.Literal(e.source,t),t.write(";")},MethodDefinition(e,t){e.static&&t.write("static ");let i=e.kind[0];(i==="g"||i==="s")&&t.write(e.kind+" "),e.value.async&&t.write("async "),e.value.generator&&t.write("*"),e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),qe(t,e.value.params),t.write(" "),this[e.value.body.type](e.value.body,t)},ClassExpression(e,t){this.ClassDeclaration(e,t)},ArrowFunctionExpression(e,t){t.write(e.async?"async ":"",e);let{params:i}=e;i!=null&&(i.length===1&&i[0].type[0]==="I"?t.write(i[0].name,i[0]):qe(t,e.params)),t.write(" => "),e.body.type[0]==="O"?(t.write("("),this.ObjectExpression(e.body,t),t.write(")")):this[e.body.type](e.body,t)},ThisExpression(e,t){t.write("this",e)},Super(e,t){t.write("super",e)},RestElement:Fa=function(e,t){t.write("..."),this[e.argument.type](e.argument,t)},SpreadElement:Fa,YieldExpression(e,t){t.write(e.delegate?"yield*":"yield"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t))},AwaitExpression(e,t){t.write("await ",e),Vt(t,e.argument,e)},TemplateLiteral(e,t){let{quasis:i,expressions:r}=e;t.write("`");let{length:n}=r;for(let o=0;o<n;o++){let s=r[o],c=i[o];t.write(c.value.raw,c),t.write("${"),this[s.type](s,t),t.write("}")}let a=i[i.length-1];t.write(a.value.raw,a),t.write("`")},TemplateElement(e,t){t.write(e.value.raw,e)},TaggedTemplateExpression(e,t){Vt(t,e.tag,e),this[e.quasi.type](e.quasi,t)},ArrayExpression:Va=function(e,t){if(t.write("["),e.elements.length>0){let{elements:i}=e,{length:r}=i;for(let n=0;;){let a=i[n];if(a!=null&&this[a.type](a,t),++n<r)t.write(", ");else{a==null&&t.write(", ");break}}}t.write("]")},ArrayPattern:Va,ObjectExpression(e,t){let i=t.indent.repeat(t.indentLevel++),{lineEnd:r,writeComments:n}=t,a=i+t.indent;if(t.write("{"),e.properties.length>0){t.write(r),n&&e.comments!=null&&ie(t,e.comments,a,r);let o=","+r,{properties:s}=e,{length:c}=s;for(let u=0;;){let l=s[u];if(n&&l.comments!=null&&ie(t,l.comments,a,r),t.write(a),this[l.type](l,t),++u<c)t.write(o);else break}t.write(r),n&&e.trailingComments!=null&&ie(t,e.trailingComments,a,r),t.write(i+"}")}else n?e.comments!=null?(t.write(r),ie(t,e.comments,a,r),e.trailingComments!=null&&ie(t,e.trailingComments,a,r),t.write(i+"}")):e.trailingComments!=null?(t.write(r),ie(t,e.trailingComments,a,r),t.write(i+"}")):t.write("}"):t.write("}");t.indentLevel--},Property(e,t){e.method||e.kind[0]!=="i"?this.MethodDefinition(e,t):(e.shorthand||(e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),t.write(": ")),this[e.value.type](e.value,t))},PropertyDefinition(e,t){if(e.static&&t.write("static "),e.computed&&t.write("["),this[e.key.type](e.key,t),e.computed&&t.write("]"),e.value==null){e.key.type[0]!=="F"&&t.write(";");return}t.write(" = "),this[e.value.type](e.value,t),t.write(";")},ObjectPattern(e,t){if(t.write("{"),e.properties.length>0){let{properties:i}=e,{length:r}=i;for(let n=0;this[i[n].type](i[n],t),++n<r;)t.write(", ")}t.write("}")},SequenceExpression(e,t){qe(t,e.expressions)},UnaryExpression(e,t){if(e.prefix){let{operator:i,argument:r,argument:{type:n}}=e;t.write(i);let a=$a(t,r,e);!a&&(i.length>1||n[0]==="U"&&(n[1]==="n"||n[1]==="p")&&r.prefix&&r.operator[0]===i&&(i==="+"||i==="-"))&&t.write(" "),a?(t.write(i.length>1?" (":"("),this[n](r,t),t.write(")")):this[n](r,t)}else this[e.argument.type](e.argument,t),t.write(e.operator)},UpdateExpression(e,t){e.prefix?(t.write(e.operator),this[e.argument.type](e.argument,t)):(this[e.argument.type](e.argument,t),t.write(e.operator))},AssignmentExpression(e,t){this[e.left.type](e.left,t),t.write(" "+e.operator+" "),this[e.right.type](e.right,t)},AssignmentPattern(e,t){this[e.left.type](e.left,t),t.write(" = "),this[e.right.type](e.right,t)},BinaryExpression:Ha=function(e,t){let i=e.operator==="in";i&&t.write("("),Vt(t,e.left,e,!1),t.write(" "+e.operator+" "),Vt(t,e.right,e,!0),i&&t.write(")")},LogicalExpression:Ha,ConditionalExpression(e,t){let{test:i}=e,r=t.expressionsPrecedence[i.type];r===ge||r<=t.expressionsPrecedence.ConditionalExpression?(t.write("("),this[i.type](i,t),t.write(")")):this[i.type](i,t),t.write(" ? "),this[e.consequent.type](e.consequent,t),t.write(" : "),this[e.alternate.type](e.alternate,t)},NewExpression(e,t){t.write("new ");let i=t.expressionsPrecedence[e.callee.type];i===ge||i<t.expressionsPrecedence.CallExpression||ec(e.callee)?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),qe(t,e.arguments)},CallExpression(e,t){let i=t.expressionsPrecedence[e.callee.type];i===ge||i<t.expressionsPrecedence.CallExpression?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),e.optional&&t.write("?."),qe(t,e.arguments)},ChainExpression(e,t){this[e.expression.type](e.expression,t)},MemberExpression(e,t){let i=t.expressionsPrecedence[e.object.type];i===ge||i<t.expressionsPrecedence.MemberExpression?(t.write("("),this[e.object.type](e.object,t),t.write(")")):this[e.object.type](e.object,t),e.computed?(e.optional&&t.write("?."),t.write("["),this[e.property.type](e.property,t),t.write("]")):(e.optional?t.write("?."):t.write("."),this[e.property.type](e.property,t))},MetaProperty(e,t){t.write(e.meta.name+"."+e.property.name,e)},Identifier(e,t){t.write(e.name,e)},PrivateIdentifier(e,t){t.write(`#${e.name}`,e)},Literal(e,t){e.raw!=null?t.write(e.raw,e):e.regex!=null?this.RegExpLiteral(e,t):e.bigint!=null?t.write(e.bigint+"n",e):t.write(Y0(e.value),e)},RegExpLiteral(e,t){let{regex:i}=e;t.write(`/${i.pattern}/${i.flags}`,e)}},ic={};var pr=class{constructor(t){let i=t??ic;this.output="",i.output!=null?(this.output=i.output,this.write=this.writeToStream):this.output="",this.generator=i.generator!=null?i.generator:tc,this.expressionsPrecedence=i.expressionsPrecedence!=null?i.expressionsPrecedence:Z0,this.indent=i.indent!=null?i.indent:" ",this.lineEnd=i.lineEnd!=null?i.lineEnd:`
|
|
`,this.indentLevel=i.startingIndentLevel!=null?i.startingIndentLevel:0,this.writeComments=i.comments?i.comments:!1,i.sourceMap!=null&&(this.write=i.output==null?this.writeAndMap:this.writeToStreamAndMap,this.sourceMap=i.sourceMap,this.line=1,this.column=0,this.lineEndSize=this.lineEnd.split(`
|
|
`).length-1,this.mapping={original:null,generated:this,name:void 0,source:i.sourceMap.file||i.sourceMap._file})}write(t){this.output+=t}writeToStream(t){this.output.write(t)}writeAndMap(t,i){this.output+=t,this.map(t,i)}writeToStreamAndMap(t,i){this.output.write(t),this.map(t,i)}map(t,i){if(i!=null){let{type:a}=i;if(a[0]==="L"&&a[2]==="n"){this.column=0,this.line++;return}if(i.loc!=null){let{mapping:o}=this;o.original=i.loc.start,o.name=i.name,this.sourceMap.addMapping(o)}if(a[0]==="T"&&a[8]==="E"||a[0]==="L"&&a[1]==="i"&&typeof i.value=="string"){let{length:o}=t,{column:s,line:c}=this;for(let u=0;u<o;u++)t[u]===`
|
|
`?(s=0,c++):s++;this.column=s,this.line=c;return}}let{length:r}=t,{lineEnd:n}=this;r>0&&(this.lineEndSize>0&&(n.length===1?t[r-1]===n:t.endsWith(n))?(this.line+=this.lineEndSize,this.column=0):this.column+=r)}toString(){return this.output}};function Ua(e,t){let i=new pr(t);return i.generator[e.type](e,i),i.output}var dr=class{constructor(t){this.mime=Nn;this.idb=At;this.path=rc;this.acorn={parse:Pa};this.bare={createBareClient:Ba,BareClient:ct};this.base64={encode:btoa,decode:atob};this.estree={generate:Ua};this.cookie=nc;this.setCookieParser=Wa.parse;this.ctx=t}},qa=dr;function mr(e,t,i,r,n="",a=!1,o=""){if(self.__dynamic$config)var s=self.__dynamic$config.mode=="development";else var s=!1;if(a){var c=[{nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:e+(s?"?"+Math.floor(Math.random()*89999+1e4):"")}]},{nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:t+(s?"?"+Math.floor(Math.random()*89999+1e4):"")}]}];return this.ctx.config.assets.files.inject&&c.unshift({nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:this.ctx.config.assets.files.inject+(s?"?"+Math.floor(Math.random()*(99999-1e4)+1e4):"")}]}),r&&c.unshift({nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:"data:application/javascript;base64,"+btoa(`self.__dynamic$cookies = atob("${btoa(r)}");document.currentScript?.remove();`)}]}),n&&c.unshift({nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:"data:application/javascript;base64,"+btoa(n+";document.currentScript?.remove();")}]}),o&&c.unshift({nodeName:"script",tagName:"script",namespaceURI:"http://www.w3.org/1999/xhtml",childNodes:[],attrs:[{name:"src",value:"data:application/javascript;base64,"+btoa(o+";document.currentScript?.remove();")}]}),c}else{var u=[`<script src="${t+(s?"?"+Math.floor(Math.random()*89999+1e4):"")}"><\/script>`,`<script src="${e+(s?"?"+Math.floor(Math.random()*89999+1e4):"")}"><\/script>`];return this.ctx.config.assets.files.inject&&u.unshift(`<script src="${this.ctx.config.assets.files.inject+(s?"?"+Math.floor(Math.random()*(99999-1e4)+1e4):"")}"><\/script>`),r&&u.unshift(`<script src="${"data:application/javascript;base64,"+btoa(`self.__dynamic$cookies = atob("${btoa(r)}");document.currentScript?.remove();`)}"><\/script>`),n&&u.unshift(`<script src="${"data:application/javascript;base64,"+btoa(n+";document.currentScript?.remove();")}"><\/script>`),o&&u.unshift(`<script src="${"data:application/javascript;base64,"+btoa(o+";document.currentScript?.remove();")}"><\/script>`),u}}var lt=class{constructor(t){this.generateHead=mr;this.config=[{elements:"all",tags:["style"],action:"css"},{elements:["script","iframe","embed","input","track","media","source","img","a","link","area","form","object"],tags:["src","href","action","data"],action:"url"},{elements:["source","img"],tags:["srcset"],action:"srcset"},{elements:["script","link"],tags:["integrity"],action:"rewrite",new:"nointegrity"},{elements:["script","link"],tags:["nonce"],action:"rewrite",new:"nononce"},{elements:["meta"],tags:["http-equiv"],action:"http-equiv"},{elements:["iframe"],tags:["srcdoc"],action:"html"},{elements:["link"],tags:["imagesrcset"],action:"srcset"},{elements:"all",tags:["onclick"],action:"js"}];this.ctx=t.ctx}generateRedirect(t){return`
|
|
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
|
|
<TITLE>301 Moved</TITLE></HEAD><BODY>
|
|
<H1>301 Moved</H1>
|
|
The document has moved
|
|
<A HREF="${t}">here</A>.
|
|
</BODY></HTML>
|
|
`}iterate(t,i){function r(n=t){for(var a=0;a<n.childNodes.length;a++)i(n.childNodes[a]),n.childNodes[a].childNodes&&n.childNodes[a].childNodes.length&&r(n.childNodes[a])}r(t)}rewrite(t,i,r=[]){return Array.isArray(t)&&(t=t[0]),!t||(t=t.toString(),!t.match(/<(html|script|style)[^>]*>/g)&&t.match(/<\!DOCTYPE[^>]*>/gi))?t:t.replace(/(<!DOCTYPE html>|<html(.*?)>)/im,`$1${r.join("")}
|
|
`).replace(/<(script|link)\b[^>]*>/g,(n,a)=>n.replace(/\snonce\s*=\s*"[^"]*"/,o=>o.replace("nonce","nononce")).replace(/\sintegrity\s*=\s*"[^"]*"/,o=>o.replace("integrity","nointegrity")))}};var ft=class{constructor(t){this.ctx=t.ctx}rewrite(t,i,r={}){return t&&t.toString().replace(/(?:@import\s?|url\(?)['"]?(.*?)['")]/gmi,(...n)=>{try{return n[0].replace(n[3],this.ctx.url.encode(n[3],i))}catch{return n[0]}})}};function xr(e,t){if(typeof e!="object"||!t)return;i(e,null,t);function i(r,n,a){if(!(typeof r!="object"||!a)){r.parent=n,a(r,n,a);for(let o in r)o!=="parent"&&(Array.isArray(r[o])?r[o].forEach(s=>{s&&i(s,r,a)}):r[o]&&i(r[o],r,a));typeof r.iterateEnd=="function"&&r.iterateEnd()}}}function yr(e,t={},i,r){var n=this.ctx.modules.acorn.parse(e.toString(),{sourceType:t.module?"module":"script",allowImportExportEverywhere:!0,allowAwaitOutsideFunction:!0,allowReturnOutsideFunction:!0,ecmaVersion:"latest",preserveParens:!0,loose:!0,allowReserved:!0});return this.iterate(n,(a,o=null)=>{this.emit(a,a.type,o,i,r,t)}),e=this.ctx.modules.estree.generate(n),e}function vr(e,t={}){if(typeof e.name!="string")return!1;if(e.__dynamic!==!0){if(!["parent","top","postMessage","opener","window","self","globalThis","parent","location"].includes(e.name))return!1;if(!(t.type=="CallExpression"&&t.callee==e)&&!(t.type=="MemberExpression"&&t.object!==e&&!["document","window","self","globalThis"].includes(t.object.name))&&t.type!="FunctionDeclaration"&&t.type!="VariableDeclaration"&&!(t.type=="VariableDeclarator"&&t.id==e)&&t.type!="LabeledStatement"&&!(t.type=="Property"&&t.key==e)&&!(t.type=="ArrowFunctionExpression"&&t.params.includes(e))&&!(t.type=="FunctionExpression"&&t.params.includes(e))&&!(t.type=="FunctionExpression"&&t.id==e)&&!(t.type=="CatchClause"&&t.param==e)&&t.type!="ContinueStatement"&&t.type!="BreakStatement"&&!(t.type=="AssignmentExpression"&&t.left==e)&&t.type!="UpdateExpression"&&t.type!="UpdateExpression"&&!(t.type=="ForInStatement"&&t.left==e)&&!(t.type=="MethodDefinition"&&t.key==e)&&!(t.type=="AssignmentPattern"&&t.left==e)&&t.type!="NewExpression"&&t?.parent?.type!="NewExpression"&&!(t.type=="UnaryExpression"&&t.argument==e)&&!(t.type=="Property"&&t.shorthand==!0&&t.value==e)){if(e.name=="__dynamic")return e.name="undefined";if(e.name=="eval"&&t.right!==e)return e.name="__dynamic$eval";e.name=`dg$(${e.name})`}}}function ze(e,t={}){Object.entries({type:"CallExpression",callee:{type:"MemberExpression",object:{type:"Identifier",name:"self"},property:{type:"Identifier",name:"__dynamic$message"}},arguments:[e.object||e,{type:"Identifier",name:"self",__dynamic:!0}]}).forEach(([i,r])=>e[i]=r)}function gr(e,t={},i={}){if(e.object.name+="",t.type!=="AssignmentExpression"&&t.left!==e){if(e.property.value=="postMessage"&&t.type=="CallExpression"&&t.callee==e)return ze(e,t);if(e.object.value=="postMessage"&&t.type=="CallExpression"&&t.callee==e)return ze(e,t);if((e.property.name=="postMessage"||e.object.name=="postMessage")&&e.object.type!=="Super"){var r=e.object?.name;e.type="CallExpression",e.callee={type:"Identifier",name:"__dynamic$message"},e.arguments=[{type:"Identifier",name:r},{type:"Identifier",name:"self",__dynamic:!0}],t.type=="CallExpression"&&(t.arguments=t.arguments);return}}if(e.property.name=="eval"&&(e.property.name="__dynamic$eval"),e.object.name=="eval"&&(e.object.name="__dynamic$eval"),i.destination!=="worker"&&(e.property.name=="window"&&e.object.name!="top"&&(e.object.name=="self"||e.object.name=="globalThis")&&t.type!=="NewExpression"&&(t.type!=="CallExpression"||t.type=="CallExpression"&&e!==t.callee)&&(e.property.name="__dynamic$window"),e.object.name=="top"&&t.type!=="NewExpression"&&(t.type!=="CallExpression"||t.type=="CallExpression"&&e!==t.callee)&&(e.object.name="top.__dynamic$window"),e.property.name=="top"&&(e.object.name=="self"||e.object.name=="globalThis")&&t.type!=="NewExpression"&&(t.type!=="CallExpression"||t.type=="CallExpression"&&e!==t.callee)&&(e.property.name="top.__dynamic$window"),t.type!=="NewExpression"&&(t.type!=="CallExpression"||t.type=="CallExpression"&&e!==t.callee)&&(e.object.name=="window"&&(e.object={type:"CallExpression",callee:{type:"Identifier",name:"dg$"},arguments:[e.object],__dynamic:!0}),e.object.name=="parent"&&(e.object={type:"CallExpression",callee:{type:"Identifier",name:"dg$"},arguments:[e.object],__dynamic:!0}),e.property.name=="__dynamic"&&(e.property.name="undefined"),e.object.name=="self"&&(e.object={type:"CallExpression",callee:{type:"Identifier",name:"dg$"},arguments:[e.object],__dynamic:!0}),e.object.name=="document"&&(e.object={type:"CallExpression",callee:{type:"Identifier",name:"dg$"},arguments:[e.object],__dynamic:!0}),e.object.name=="globalThis"&&(e.object={type:"CallExpression",callee:{type:"Identifier",name:"dg$"},arguments:[e.object],__dynamic:!0})),e.object.name=="location"&&(e.object={type:"CallExpression",callee:{type:"Identifier",name:"dg$"},arguments:[e.object],__dynamic:!0}),e.property.name=="location"&&t.type!=="BinaryExpression"&&t.type!=="AssignmentExpression")){e.property.__dynamic=!0,e.__dynamic=!0;let n=Object.assign({},e);e.type="CallExpression",e.callee={type:"Identifier",name:"dg$",__dynamic:!0},e.arguments=[n],e.__dynamic=!0}e.computed&&i.destination!=="worker"&&(e.property={type:"CallExpression",callee:{type:"Identifier",name:"dp$"},arguments:[e.property],__dynamic:!0})}function _r(e,t={}){if(!(e.value instanceof String)||(e.value=="__dynamic"&&(e.value="undefined"),!["location","parent","top","postMessage"].includes(e.value)))return!1;e.value=="postMessage"&&t.type!="AssignmentExpression"&&t.left!=e&&ze(e,t),e.value=="location"&&(e.value="__dynamic$location"),e.value=="__dynamic"&&(e.value="undefined"),e.value=="eval"&&(e.value="__dynamic$eval")}function jt(e,t={}){e.__dynamic||e.arguments.length&&(e.arguments=[{type:"CallExpression",callee:{type:"Identifier",name:"__dynamic$wrapEval",__dynamic:!0},arguments:e.arguments,__dynamic:!0}],e.__dynamic=!0)}function br(e,t={}){if(!(t.type=="AssignmentExpression"&&t.left==e)){if(e.callee.type=="Identifier"){if(e.callee.name=="postMessage"){let i="undefined";e.callee.type="CallExpression",e.callee.callee={type:"Identifier",name:"__dynamic$message"},e.callee.arguments=[{type:"Identifier",name:i},{type:"Identifier",name:"self",__dynamic:!0}];return}e.callee.name=="eval"&&jt(e)}if(e.callee.type=="MemberExpression"){if(e.callee.property.name=="postMessage"&&e.callee.object.type!=="Super"){let i=e.callee.object;e.callee.type="CallExpression",e.callee.callee={type:"Identifier",name:"__dynamic$message"},e.callee.arguments=[i,{type:"Identifier",name:"self",__dynamic:!0}];return}e.callee.object.name=="eval"&&jt(e)}e.arguments.length>0&&e.arguments.length<4;try{}catch{}}}function wr(e,t={}){if(e.left.type=="Identifier"){if(e.left.__dynamic===!0)return;if(e.left.name=="location"){var i=structuredClone(e.left),r=structuredClone(e.right);e.right.type="CallExpression",e.right.callee={type:"Identifier",name:"ds$"},e.right.arguments=[i,r]}}}function Sr(e,t={}){e.parent.type!="ObjectPattern"&&e.parent?.parent?.type!="AssignmentExpression"&&(e.shorthand=!1)}function Cr(e,t={},i={},r={}){if(e.type=="Literal"&&(t.type=="ImportDeclaration"||t.type=="ExportNamedDeclaration"||t.type=="ExportAllDeclaration")){var n=e.value+"";e.value=i.url.encode(e.value,r.meta),e.raw=e.raw.replace(n,e.value),e.__dynamic=!0}e.type=="ImportExpression"&&(e.source={type:"CallExpression",callee:{type:"Identifier",name:"__dynamic$import"},arguments:[e.source,{type:"Literal",__dynamic:!0,value:i.meta.href}]},e.__dynamic=!0)}function kr(e,t={}){if(e.id.type!=="Identifier")return!1;e.id.__dynamic!==!0&&e.id.name!="location"}function ac(e,t,i={},r={},n={},a={}){if(!e.__dynamic){switch(t){case"Identifier":vr(e,i);break;case"MemberExpression":gr(e,i,a);break;case"Literal":_r(e,i);break;case"CallExpression":br(e,i);break;case"AssignmentExpression":wr(e,i);break;case"ThisExpression":break;case"Property":Sr(e,i);break;case"VariableDeclarator":kr(e,i);break;case"CatchClause":break;default:break}Cr(e,i,r,n)}}var za=ac;var ht=class{constructor(t){this.iterate=xr;this.process=yr;this.emit=za;this.ctx=t.ctx}rewrite(t,i={},r=!0,n={}){if(!t||t instanceof Object||(t=t.toString(),t.includes("/* dynamic.js */")))return t;t=`/* dynamic.js */
|
|
|
|
${t}`;try{try{t=this.process(t,i,{module:!0,...this.ctx},n)}catch{t=this.process(t,i,{module:!1,...this.ctx},n)}}catch{}return r&&(t=`
|
|
if (typeof self !== undefined && typeof self.importScripts == 'function' && typeof self.__dynamic == 'undefined') importScripts('/dynamic/dynamic.config.js', '/dynamic/dynamic.handler.js?'+Math.floor(Math.random()*(99999-10000)+10000));
|
|
|
|
${t}`),t}};var pt=class{constructor(t){this.config={rewrite:[["icons","urlit"],["name"," - Dynamic"],["start_url","url"],["scope","url"],["short_name"," - Dynamic"],["shortcuts","urlev"]],delete:["serviceworker"]};this.ctx=t.ctx}rewrite(t,i){let r=JSON.parse(t);for(let s in this.config)if(s=="rewrite")for(var[n,a]of this.config[s]){if(a=="urlit"&&r[n]){for(var o=0;o<r[n].length;o++)r[n][o].src=this.ctx.url.encode(r[n][o].src,i);continue}if(a=="urlev"&&r[n]){for(var o=0;o<r[n].length;o++)r[n][o].url=this.ctx.url.encode(r[n][o].url,i);continue}if(a=="url"&&r[n]){r[n]=this.ctx.url.encode(r[n],i);continue}a=="url"||a=="urlit"||a=="urlev"||(r[n]=r[n]+a)}else if(s=="delete")for(var n of this.config[s])r[n]&&delete r[n];return JSON.stringify(r)}};var Ga={encode(e,t){return!e||!e.toString()?e:e.split(", ").map(i=>i.split(" ").map((r,n)=>n==0?t.url.encode(r,t.baseURL||t.meta):r).join(" ")).join(", ")},decode(e){return e}};var Er=class{constructor(t){this.ctx=t,this.html=new lt(this),this.srcset=Ga,this.js=new ht(this),this.css=new ft(this),this.man=new pt(this)}},Ka=Er;async function Xa(e){var t;if(e.method==="GET"){var i=new URL(e.url);t=i.searchParams.get("url")}else if(e.method==="POST"){if(t=(await e.formData()).get("url"),t===null){var i=new URL(e.url);t=i.searchParams.get("url")}if(!t)return new Response("Error: Invalid or Unfound url",{status:400})}else return new Response("Error: Invalid method",{status:405});return new Response("",{status:301,headers:{location:location.origin+this.ctx.config.prefix+this.ctx.encoding.encode(t)}})}function Qa({url:e}){return!e.toString().substr(location.origin.length,(this.ctx.config.prefix+"route").length).startsWith(this.ctx.config.prefix+"route")}function Ar({url:e}){return!e.toString().substr(location.origin.length,this.ctx.config.prefix.length).startsWith(this.ctx.config.prefix)}async function Pr(e,t,i){for(let n in e){if(this.ctx.headers.csp.indexOf(n.toLowerCase())!==-1&&delete e[n],n.toLowerCase()=="location"){e[n]=this.ctx.url.encode(e[n],t);continue}if(n.toLowerCase()==="set-cookie"){Array.isArray(e[n])?e[n]=e[n].map(a=>this.ctx.modules.setCookieParser(a,{decodeValues:!1})[0]):e[n]=this.ctx.modules.setCookieParser(e[n],{decodeValues:!1});for await(var r of e[n])await i.set(t.host,this.ctx.modules.cookie.serialize(r.name,r.value,{...r,encode:a=>a}));delete e[n];continue}}return new Headers(e)}function Lr(e,t,i,r){let{referrer:n}=i;if(["origin","Origin","host","Host","referer","Referer"].forEach(a=>{e[a]&&delete e[a]}),e.Origin=`${t.protocol}//${t.host}${t.port?":"+t.port:""}`,e.Host=t.host+(t.port?":"+t.port:""),e.Referer=t.href,i.referrerPolicy=="strict-origin-when-cross-origin"&&(e.Referer=`${t.protocol}//${t.host}/`),i.referrerPolicy=="origin"&&t.origin&&(n=t.origin+"/"),r){switch(i.credentials){case"omit":break;case"same-origin":i.client&&t.origin==i.client.__dynamic$location.origin&&(e.Cookie=r),i.client||(e.Cookie=r);break;case"include":e.Cookie=r;break;default:break}e.Cookie=r}if(n&&n!=location.origin+"/")try{e.Referer=this.ctx.url.decode(n),i.referrerPolicy=="strict-origin-when-cross-origin"&&(e.Referer=new URL(this.ctx.url.decode(n)).origin),e.Origin=new URL(this.ctx.url.decode(n)).origin}catch{}return i.client&&(e.Origin=i.client.__dynamic$location.origin,e.Referer=i.client.__dynamic$location.href,i.referrerPolicy=="strict-origin-when-cross-origin"&&(e.Referer=i.client.__dynamic$location.origin)),this.ctx.config.tab&&this.ctx.config.tab.ua&&(delete e["user-agent"],delete e["User-Agent"],e["user-agent"]=this.ctx.config.tab.ua),e["sec-fetch-dest"]=i.destination||"empty",e["sec-fetch-mode"]=i.mode||"cors",e["sec-fetch-site"]=i.client?i.client.__dynamic$location.origin==t.origin?i.client.__dynamic$location.port==t.port?"same-origin":"same-site":"cross-origin":"none",i.mode=="navigate"&&(e["sec-fetch-site"]="same-origin"),e["sec-fetch-user"]="?1",new Headers(e)}function Rr(e){var t=Object.assign(Object.create(Object.getPrototypeOf(e)),e);return t}function Ir(e){try{if(new new Proxy(e,{construct:()=>({})}),!Object.getOwnPropertyNames(e).includes("arguments"))throw new Error("");return!0}catch{return!1}}function Br(e){return e.url.toString().substr(location.origin.length,e.url.toString().length).startsWith(self.__dynamic$config.assets.prefix)}async function Tr(e){let t;if(self.__dynamic$config.mode!=="development"){var i=await caches.open("__dynamic$files");i?t=await i.match(e.url)||await fetch(e):t=await fetch(e)}else t=await fetch(e);let r=await t.blob();return(e.url.startsWith(location.origin+"/dynamic/dynamic.config.js")||e.url.startsWith(location.origin+"/dynamic/dynamic.client.js"))&&(r=new Blob([`${await r.text()}
|
|
self.document?.currentScript?.remove();`],{type:"application/javascript"})),new Response(r,{headers:t.headers,status:t.status,statusText:t.statusText})}async function Dr(e,t){}var dt=class{constructor(t){this.rawHeaders={};this.headers=new Headers({});this.status=200;this.statusText="OK";this.body=t}async blob(){return this.body}async text(){return await this.body.text()}};function Nr(e){var t=this.ctx.encoding;return typeof this.ctx.config.encoding=="object"?t={...t,...this.ctx.encoding}:t={...this.ctx.encoding[this.ctx.config.encoding]},this.ctx.encoding={...this.ctx.encoding,...t},this.ctx.encoding}function Or(e,t,i){if(!e.url.startsWith("http"))return e.url;let r=e.url.toString();return e.url.startsWith(location.origin)&&(r=r.substr(self.location.origin.length)),r=new URL(r,new URL(t.__dynamic$location.href)).href,this.ctx.url.encode(r,i)}var Mr=class{constructor(t){this.route=Xa;this.routePath=Qa;this.path=Ar;this.resHeader=Pr;this.reqHeader=Lr;this.clone=Rr;this.class=Ir;this.file=Br;this.edit=Tr;this.error=Dr;this.encode=Nr;this.rewritePath=Or;this.about=dt;this.ctx=t}},Ya=Mr;function Fr(e,t){if(!e)return e;if(e=new String(e).toString(),e.startsWith("about:blank"))return location.origin+this.ctx.config.prefix+e;if(!e.match(this.ctx.regex.ProtocolRegex)&&e.match(/^([a-zA-Z0-9\-]+)\:\/\//g)||e.startsWith("chrome-extension://"))return e;if(e.startsWith("javascript:")&&!e.startsWith("javascript:__dynamic$eval")){let c=new URL(e);return`javascript:__dynamic$eval(${JSON.stringify(c.pathname)})`}if(e.match(this.ctx.regex.WeirdRegex)){var i=this.ctx.regex.WeirdRegex.exec(e);i&&(e=i[2])}if(e.startsWith(location.origin+this.ctx.config.prefix)||e.startsWith(this.ctx.config.prefix)||e.startsWith(location.origin+this.ctx.config.assets.prefix+"dynamic.")||e.match(this.ctx.regex.BypassRegex))return e;if(e.match(this.ctx.regex.DataRegex)){try{var i=this.ctx.regex.DataRegex.exec(e);if(i){var[r,n,a,o,s]=i;o=="base64"?s=this.ctx.modules.base64.atob(decodeURIComponent(s)):s=decodeURIComponent(s),n&&(n=="text/html"?s=this.ctx.rewrite.html.rewrite(s,t,this.ctx.rewrite.html.generateHead(location.origin+"/dynamic/dynamic.client.js",location.origin+"/dynamic/dynamic.config.js","",`window.__dynamic$url = "${t.href}"; window.__dynamic$parentURL = "${location.href}";`)):n=="text/css"?s=this.ctx.rewrite.css.rewrite(s,t):(n=="text/javascript"||n=="application/javascript")&&(s=this.ctx.rewrite.js.rewrite(s,t))),o=="base64"?s=this.ctx.modules.base64.btoa(s):s=encodeURIComponent(s),a?o?e=`data:${n};${a};${o},${s}`:e=`data:${n};${a},${s}`:o?e=`data:${n};${o},${s}`:e=`data:${n},${s}`}}catch{}return e}return e=new String(e).toString(),t.href.match(this.ctx.regex.BypassRegex)&&(e=new URL(e,new URL((this.ctx.parent.__dynamic||this.ctx).meta.href)).href),e=new URL(e,t.href),(this.ctx._location?.origin||(location.origin=="null"?location.ancestorOrigins[0]:location.origin))+this.ctx.config.prefix+(this.ctx.encoding.encode(e.origin+e.pathname)+e.search+e.hash)}function Hr(e){if(!e||(e=new String(e).toString(),e.match(this.ctx.regex.BypassRegex)))return e;var t=e.indexOf(this.ctx.config.prefix);if(t==-1)return e;try{if(e=new URL(e,new URL(self.location.origin)).href,t=e.indexOf(this.ctx.config.prefix),e.slice(t+this.ctx.config.prefix.length).trim()=="about:blank")return"about:blank";var i=new URL(e).search+new URL(e).hash||"",r=new URL(this.ctx.encoding.decode(e.slice(t+this.ctx.config.prefix.length).replace("https://","https:/").replace("https:/","https://").split("?")[0]))}catch{return e}return e=r.origin+r.pathname+i+(new URL(e).search?r.search.replace("?","&"):r.search),e}var Vr=class{constructor(t){this.encode=Fr;this.decode=Hr;this.ctx=t}},Za=Vr;var sc=/^(#|about:|mailto:|blob:|javascript:)/g,oc=/^data:([a-z\/A-Z0-9\-\+]+);?(charset\=[\-A-Za-z0-9]+)?;?(base64)?[;,]*(.*)/g,cc=/^([\/A-Za-z0-9\-%]+)(http[s]?:\/\/.*)/g,mt=class{constructor(t){this.BypassRegex=sc;this.DataRegex=oc;this.WeirdRegex=cc;this.ctx=t}};function jr(e){e=new URL(e.href);for(var t in e)this.ctx.meta[t]=e[t];return!0}var xt=class{constructor(){}};var $r=class extends xt{constructor(i){super();this.load=jr;this.ctx=i}},Ja=$r;var es={csp:["cross-origin-embedder-policy","cross-origin-opener-policy","cross-origin-resource-policy","content-security-policy","content-security-policy-report-only","expect-ct","feature-policy","origin-isolation","strict-transport-security","upgrade-insecure-requests","x-content-type-options","x-frame-options","x-permitted-cross-domain-policies","x-xss-protection"],status:{empty:[204,101,205,304]},method:{body:["GET","HEAD"]}};function Ur(e,t=""){return(this.ctx.modules.mime.contentType(t||e.pathname)||"text/css").split(";")[0]==="text/css"}function Wr(e,t="",i=""){let r;return!t&&this.ctx.modules.mime.contentType(e.pathname)==e.pathname?i.trim().match(/<(html|script|body)[^>]*>/g)&&(r=i.trim().indexOf((i.trim().match(/<(html|script|body)[^>]*>/g)||[])[0]),r>-1&&r<100):(this.ctx.modules.mime.contentType(t||e.pathname)||"text/html").split(";")[0]==="text/html"||i.trim().match(/\<\!(doctype|DOCTYPE) html\>/g)}function qr(e,t=""){if(e.pathname.endsWith(".js")&&t=="text/plain")return!0;var i=(this.ctx.modules.mime.contentType(t||e.pathname)||"application/javascript").split(";")[0];return i=="text/javascript"||i=="application/javascript"||i=="application/x-javascript"}var zr=class{constructor(t){this.html=Wr;this.js=qr;this.css=Ur;this.ctx=t}},ts=zr;function $t(e,t=!0){let i=u=>{let l=e.__dynamic.util.clone(u);for(var h=0;h<u.length;h++)e.__dynamic.define(l,h,{value:(e.top.__dynamic$location||e.__dynamic$location).origin,configurable:!0,enumerable:!0,writable:!1});return e.__dynamic.define(l,"length",{value:u.length,configurable:!0,enumerable:!0,writable:!1}),l},r=e.location.ancestorOrigins||[],n=[e.Window,e.Location,e.WorkerLocation,e.Document].filter(u=>u);[...n,e.Object].forEach(u=>{delete u.prototype.__dynamic$location});let a={get(){return e.__dynamic.location},set(u){if(u instanceof e.Location)return e.__dynamic.location=u;e.__dynamic.location.href=u},configurable:!0},o=["href","host","hash","origin","hostname","port","pathname","protocol","search"],s=["assign","replace","toString","reload"];try{var c=new URL(e.__dynamic$url||e.__dynamic.url.decode(e.location.pathname+e.location.search+e.location.hash))}catch{e.__dynamic$url="about:blank";var c=new URL("about:blank")}return e.__dynamic.property=c,e.__dynamic.meta.load(c),e.__dynamic.location=e.__dynamic.util.clone(e.location),o.forEach(u=>{e.__dynamic.define(e.__dynamic.location,u,{get:()=>u=="search"&&e.location[u]+(e.location.search?c.search.replace("?","&"):c.search)||(u=="hash"?location[u]:c[u]),set:l=>e.location[u]=e.__dynamic.url.encode(e.__dynamic.meta.href.replace(c[u],l),c)})}),e.__dynamic.define(e.Object.prototype,"__dynamic$location",{get(){return this===e||this===e.__dynamic$window||this===e.document||this===e.__dynamic$document?this.__dynamic?.location:this.location},set(u){return this===e||this===e.__dynamic$window||this===e.document||this===e.__dynamic$document?this.__dynamic.location.href=u:this.location=u},configurable:!0}),s.forEach(u=>{e.__dynamic.define(e.__dynamic.location,u,{get:()=>u=="toString"?()=>c.href:new e.__dynamic.Function("arg",`return window.location.${u}(arg?${u!=="reload"&&u!=="toString"?"(self.__dynamic).url.encode(arg, new URL('"+c.href+"'))":"arg"}:null)`),set:()=>null})}),r.length&&e.__dynamic.define(e.__dynamic.location,"ancestorOrigins",{get:()=>i(r),set:()=>null}),n.forEach(u=>{e.__dynamic.define(u.prototype,"__dynamic$location",a)}),e.__dynamic.hashchange||(e.__dynamic.hashchange=(e.addEventListener("hashchange",u=>{}),!0)),e.__dynamic.location}function Ut(e){e.__dynamic$get=function(t){var i=e.__dynamic.fire("get",[t]);if(i)return i;try{return t==e.parent?e.parent.__dynamic$window:t==e.top?e.top.__dynamic$window:t==e.location||(e.Location||e.WorkerLocation)&&t instanceof(e.Location||e.WorkerLocation)?e.__dynamic$location:e.Document&&t instanceof e.Document?e.__dynamic$document:t==e?e.__dynamic$window:typeof t=="function"&&t.name=="__d$Send"?e.__dynamic$message(t.target,e):t}catch{return t}},e.__dynamic$property=function(t){return typeof t!="string"?t:t=="location"?"__dynamic$location":t=="eval"?"__dynamic$eval":t},e.__dynamic$set=function(t,i){return t?e.__dynamic.url.encode(e.__dynamic.meta.href.replace(e.__dynamic.property.href,i),e.__dynamic.property):i},e.__dynamic$var=function(t,i){return window[i]=t},e.dg$=e.__dynamic$get,e.ds$=e.__dynamic$set,e.dp$=e.__dynamic$property,e.dv$=e.__dynamic$var,e.d$g_=e.__dynamic$get,e.d$s_=e.__dynamic$set,e.d$p_=e.__dynamic$property,e.d$v_=e.__dynamic$var}function Wt(e){e.__dynamic.util.CreateDocumentProxy=function(i){return new Proxy(i,{get(r,n){let a=r[n];return n=="location"?i.defaultView?i.defaultView.__dynamic$location:e.__dynamic$location:n=="documentURI"&&i.defaultView||n=="baseURI"&&i.defaultView?i.defaultView.__dynamic.location.toString():a&&(typeof a=="function"&&a.toString==e.Object.toString?new Proxy(a,{apply(o,s,c){return(i.defaultView&&c[0]==i.defaultView.__dynamic$document||c[0]==e.__dynamic$document)&&(c[0]=i),a.apply(i,c)}}):a)},set(r,n,a){try{try{i.defaultView.__dynamic?i.defaultView.__dynamic.Reflect.set(r,n,a):r[n]=a}catch{return a||r[n]||!0}return a||r[n]||!0}catch{return a||r[n]||!0}}})},e.__dynamic.util.CreateWindowProxy=function(i){return new Proxy(i,{get(r,n){let a=e.__dynamic.Reflect.get(r,n);if(Object.getOwnPropertyDescriptor(r,n)){var o=Object.getOwnPropertyDescriptor(r,n);if(o?.configurable===!1&&o?.writable===!1&&o?.hasOwnProperty("enumerable"))return o?.value||o?.get?.call(r)}return n=="__dynamic$self"?i.window:n=="location"?i.__dynamic$location:n=="parent"?i.parent.__dynamic$window||i.parent:n=="top"?i.top.__dynamic?i.top.__dynamic$window:i.parent.__dynamic$window:n=="self"||n=="globalThis"?i.__dynamic$window:a&&(typeof a=="function"&&a.toString==e.Object.toString?new Proxy(a,{apply(s,c,u){return Reflect.apply(s,i,u)}}):a)},set(r,n,a){try{var o=Object.getOwnPropertyDescriptor(r,n);if(o?.writable===!1&&o?.enumerable===!1)return!1;if(n.constructor==e.Symbol)return Reflect.set(r,n,a),r[n];if(r.hasOwnProperty("undefined")&&r[n]+""==n)return r[n]||a||!0;if(n=="location")return i.__dynamic$location=a;if(r.hasOwnProperty(n)&&!r.propertyIsEnumerable(n)&&!o?.writable)return r[n];try{i.__dynamic?i.__dynamic.Reflect.set(r,n,a):r[n]=a}catch{return r[n]||!0}return r[n]||!0}catch{return r[n]||!0}}})},e.__dynamic.define(e,"__dynamic$window",{value:e.__dynamic.util.CreateWindowProxy(e),configurable:!1,enumerable:!1,writable:!1}),e.document&&e.__dynamic.define(e,"__dynamic$document",{value:e.__dynamic.util.CreateDocumentProxy(e.document),configurable:!1,enumerable:!1,writable:!1}),e.__dynamic$globalThis=e.__dynamic$window,e.__dynamic$self=e.__dynamic$window}function Gr(e){e.__dynamic.rewrite.dom=function(t,i){if(typeof e.DOMParser>"u"||!t)return t;var r=new e.DOMParser,n=r.parseFromString(t.toString(),"text/html"),a=n.documentElement;return a.querySelectorAll("script").forEach(function(o){!o.type||o.type&&o.type!=="text/javascript"&&o.type!=="application/javascript"&&o.type!=="application/x-javascript"?o.src&&(o.src=e.__dynamic.url.encode(o.getAttribute("src"),i)):o.innerHTML&&(o.innerHTML=e.__dynamic.js.encode(o.innerHTML,{type:"script"},i,{}))}),a.querySelectorAll("link").forEach(function(o){o.href&&o.getAttribute("rel")!=="stylesheet"&&(o.href=e.__dynamic.url.encode(o.getAttribute("href"),i))}),a.querySelectorAll("img").forEach(function(o){o.src&&(o.src=e.__dynamic.url.encode(o.getAttribute("src"),i)),o.srcset&&(o.srcset=e.__dynamic.rewrite.srcset.encode(o.getAttribute("srcset"),e.__dynamic))}),a.querySelectorAll("a").forEach(function(o){o.href&&(o.href=e.__dynamic.url.encode(o.getAttribute("href"),i))}),a.querySelectorAll("style").forEach(function(o){o.innerHTML&&(o.innerHTML=e.__dynamic.rewrite.css.rewrite(o.innerHTML,i))}),a.outerHTML}}function Kr(e){let t=r=>new DOMParser().parseFromString(r,"text/html").body.innerHTML;if(e.__dynamic.elements.config.forEach(r=>{r.elements.forEach(n=>{r.tags.forEach(a=>{var o=Object.getOwnPropertyDescriptor(n.prototype,a);o||(o=Object.getOwnPropertyDescriptor(HTMLElement.prototype,a)),typeof n.prototype.setAttribute.__dynamic$target>"u"&&(n.prototype.setAttribute=e.__dynamic.wrap(n.prototype.setAttribute,function(s,...c){return this instanceof HTMLLinkElement&&e.__dynamic$icon&&c[0].toLowerCase()=="href"&&(this.rel=="icon"||this.rel=="shortcut icon")?(c[1]=e.__dynamic$icon,Reflect.apply(s,this,c)):e.__dynamic.elements.attributes.indexOf(c[0].toLowerCase())==-1?Reflect.apply(s,this,c):c[0].toLowerCase()=="srcset"||c[0].toLowerCase()=="imagesrcset"?(this.dataset[`dynamic_${c[0]}`]=c[1],c[1]=e.__dynamic.rewrite.srcset.encode(c[1],e.__dynamic),Reflect.apply(s,this,c)):c[0].toLowerCase()=="integrity"||c[0].toLowerCase()=="nonce"?(this.dataset[`dynamic_${c[0]}`]=c[1],this.removeAttribute(c[0]),Reflect.apply(s,this,["nointegrity",c[1]])):(this.dataset[`dynamic_${c[0]}`]=c[1],c[1]=e.__dynamic.url.encode(c[1],e.__dynamic.baseURL||e.__dynamic.meta),Reflect.apply(s,this,c))},"setAttribute"),n.prototype.setAttributeNS=e.__dynamic.wrap(n.prototype.setAttributeNS,function(s,...c){return this instanceof HTMLLinkElement&&e.__dynamic$icon&&c[1].toLowerCase()=="href"&&(this.rel=="icon"||this.rel=="shortcut icon")?(c[2]=e.__dynamic$icon,Reflect.apply(s,this,c)):e.__dynamic.elements.attributes.indexOf(c[1].toLowerCase())==-1?Reflect.apply(s,this,c):c[1].toLowerCase()=="srcset"||c[1].toLowerCase()=="imagesrcset"?(this.dataset[`dynamic_${c[1]}`]=c[2],c[2]=e.__dynamic.rewrite.srcset.encode(c[2],e.__dynamic),Reflect.apply(s,this,c)):c[1].toLowerCase()=="integrity"||c[1].toLowerCase()=="nonce"?(this.dataset[`dynamic_${c[1]}`]=c[2],this.removeAttribute(c[1]),Reflect.apply(s,this,["nointegrity",c[2]])):(this.dataset[`dynamic_${c[1]}`]=c[2],c[2]=e.__dynamic.url.encode(c[2],e.__dynamic.baseURL||e.__dynamic.meta),Reflect.apply(s,this,c))},"setAttributeNS"),n.prototype.getAttribute=e.__dynamic.wrap(n.prototype.getAttribute,function(s,...c){return this.dataset[`dynamic_${c[0]}`]?this.dataset[`dynamic_${c[0]}`]:Reflect.apply(s,this,c)},"getAttribute"),n.prototype.getAttributeNS=e.__dynamic.wrap(n.prototype.getAttributeNS,function(s,...c){return this.dataset[`dynamic_${c[1]}`]?this.dataset[`dynamic_${c[1]}`]:Reflect.apply(s,this,c)},"getAttributeNS")),e.__dynamic.define(n.prototype,a,{get(){if(r.action=="window"){let s=e.__dynamic.elements.contentWindow.get.call(this),c=!0;try{s.location.href}catch{c=!1}if(c&&(s.__dynamic||e.__dynamic.elements.client(s,e.__dynamic$config,decodeURIComponent(this.src))),a=="contentDocument")return s.document;if(a=="contentWindow")return c&&s.__dynamic$window||s}if(r.action=="css")return o.get.call(this);try{return e.__dynamic.url.decode(o.get.call(this))}catch{}return o.get.call(this)},set(s){return s&&typeof s=="string"&&(s=s.toString()),a=="href"&&this instanceof HTMLLinkElement&&e.__dynamic$icon&&(this.rel=="icon"||this.rel=="shortcut icon")&&(this.dataset[`dynamic_${a}`]=s,s=e.__dynamic$icon),r.action=="html"?(Promise.resolve(e.__dynamic.createBlobHandler(new Blob([s],{type:"text/html"}),this,s)).then(c=>{this.setAttribute(a,c)}),s):(r.action=="srcset"&&(s=e.__dynamic.rewrite.srcset.encode(s,e.__dynamic)),r.action=="rewrite"?(this.dataset[`dynamic_${a}`]=s,this.removeAttribute(a),this.setAttribute(r.new,s)):(r.action=="css"&&(s=e.__dynamic.rewrite.css.rewrite(s,e.__dynamic.meta)),r.action=="url"&&(s=e.__dynamic.url.encode(s,e.__dynamic.baseURL||e.__dynamic.meta)),this.dataset[`dynamic_${a}`]=s,o.set.call(this,s)))}})})})}),["innerHTML","outerHTML"].forEach(r=>{e.__dynamic.define(e.HTMLElement.prototype,r,{get(){return(this["__"+r]||e.__dynamic.elements[r].get.call(this)).toString()},set(n){return this["__"+r]=t(n),this instanceof e.HTMLTextAreaElement?e.__dynamic.elements[r].set.call(this,n):this instanceof e.HTMLScriptElement?e.__dynamic.elements[r].set.call(this,e.__dynamic.rewrite.js.rewrite(n,{type:"script"})):this instanceof e.HTMLStyleElement?e.__dynamic.elements[r].set.call(this,e.__dynamic.rewrite.css.rewrite(n,e.__dynamic.meta)):e.__dynamic.elements[r].set.call(this,e.__dynamic.rewrite.dom(n,e.__dynamic.meta))}})}),["MutationObserver","ResizeObserver","IntersectionObserver"].forEach(r=>{e[r].prototype.observe=e.__dynamic.wrap(e[r].prototype.observe,function(n,...a){return a[0]==e.__dynamic$document&&(a[0]=e.document),Reflect.apply(n,this,a)},r+".prototype.observe")}),e.__dynamic.defines(e.HTMLAnchorElement.prototype,{pathname:e.__dynamic.elements.createGetter("pathname"),origin:e.__dynamic.elements.createGetter("origin"),host:e.__dynamic.elements.createGetter("host"),hostname:e.__dynamic.elements.createGetter("hostname"),port:e.__dynamic.elements.createGetter("port"),protocol:e.__dynamic.elements.createGetter("protocol"),search:e.__dynamic.elements.createGetter("search"),hash:e.__dynamic.elements.createGetter("hash"),toString:{get:function(){return this.__toString||(()=>this.href?new URL(this.href).toString():"")},set:function(r){this.__toString=r}}}),e.HTMLElement.prototype.insertAdjacentHTML=e.__dynamic.wrap(e.HTMLElement.prototype.insertAdjacentHTML,function(r,...n){return this instanceof e.HTMLStyleElement?Reflect.apply(r,this,[n[0],e.__dynamic.rewrite.css.rewrite(n[1],e.__dynamic.meta)]):this instanceof e.HTMLScriptElement?Reflect.apply(r,this,[n[0],e.__dynamic.rewrite.js.rewrite(n[1],{type:"script"},!1,e.__dynamic)]):this instanceof e.HTMLTextAreaElement?Reflect.apply(r,this,n):Reflect.apply(r,this,[n[0],e.__dynamic.rewrite.html.rewrite(n[1],e.__dynamic.meta)])},"insertAdjacentHTML"),[[e.Node,"textContent"],[e.HTMLElement,"innerText"]].forEach(([r,n])=>{var a=Object.getOwnPropertyDescriptor(r.prototype,n);function o(){return this["__"+n]||a?.get&&a.get.call(this)}e.__dynamic.define(e.HTMLStyleElement.prototype,n,{get:o,set(s){return this["__"+n]=s,a?.set&&a.set.call(this,e.__dynamic.rewrite.css.rewrite(s,e.__dynamic.meta))}}),e.__dynamic.define(e.HTMLScriptElement.prototype,n,{get:o,set(s){return this["__"+n]=s,this.type!==null||this.type!=="application/javascript"||this.type!=="text/javascript"||this.type!=="application/x-javascript"?a?.set&&a.set.call(this,s):a?.set&&a.set.call(this,e.__dynamic.rewrite.js.rewrite(s,{type:"script"},!1,e.__dynamic))}})}),e.Text.prototype.toString=function(){return this.textContent},e.document.createElement=e.__dynamic.wrap(e.document.createElement,function(r,...n){var a=Reflect.apply(r,this,n);return a.rewritten=!0,n[0].toLowerCase()=="iframe"&&(a.src="about:blank"),a},"createElement"),!document.querySelector('link[rel="icon"], link[rel="shortcut icon"]')){var i=document.createElement("link");i.rel="icon",i.href=(e.__dynamic$icon||"/favicon.ico")+"?dynamic",i.dataset.dynamic_hidden="true",document.head.appendChild(i)}e.__dynamic.define(e.Attr.prototype,"value",{get(){return this.__value||e.__dynamic.elements.attrValue.get.call(this)},set(r){return this.__value=r,this.name=="href"||this.name=="src"?e.__dynamic.elements.attrValue.set.call(this,e.__dynamic.url.encode(r,e.__dynamic.meta)):this.name=="style"?e.__dynamic.elements.attrValue.set.call(this,e.__dynamic.rewrite.css.rewrite(r,e.__dynamic.meta)):this.name=="onclick"?e.__dynamic.elements.attrValue.set.call(this,e.__dynamic.rewrite.js.rewrite(r,{type:"script"},!1,e.__dynamic)):e.__dynamic.elements.attrValue.set.call(this,r)}})}function Xr(e){let t=e.XMLHttpRequest;e.Worker=new Proxy(e.Worker,{construct(i,r){if(r[0])if(r[0]=r[0].toString(),r[0].trim().startsWith(`blob:${e.location.origin}`)){let n=new t;n.open("GET",r[0],!1),n.send();let a=e.__dynamic.rewrite.js.rewrite(n.responseText,{type:"worker"},!0),o=new Blob([a],{type:"application/javascript"});r[0]=URL.createObjectURL(o)}else r[0]=e.__dynamic.url.encode(r[0],e.__dynamic.meta);return Reflect.construct(i,r)}})}function Qr(e){e.__dynamic$history=function(t,...i){i[2]&&(i[2]=e.__dynamic.url.encode(i[2],e.__dynamic.meta)),e.__dynamic.Reflect.apply(t,this,i),e.__dynamic.client.location(e,!0,!1)},e.History.prototype.pushState=e.__dynamic.wrap(e.History.prototype.pushState,e.__dynamic$history),e.History.prototype.replaceState=e.__dynamic.wrap(e.History.prototype.replaceState,e.__dynamic$history)}var uc="!#$%&'*+-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_`abcdefghijklmnopqrstuvwxyz|~",lc="%";function is(e){e=e.toString();let t="";for(let i=0;i<e.length;i++){let r=e[i];if(uc.includes(r)&&!lc.includes(r))t+=r;else{let n=r.charCodeAt();t+="%"+n.toString(16).padStart(2,0)}}return t}function Yr(e){let t=()=>e.location.protocol.replace("http","ws")+"//"+new URL((e.__dynamic$config.bare.path+"/"||"/bare/")+"v1/",new URL(location.origin)).href.replace(/http(s?):\/\//g,"").replace(/\/\//g,"/"),i=Object.getOwnPropertyDescriptor(e.WebSocket.prototype,"url");e.__dynamic.define(e.WebSocket.prototype,"url",{get(){let r=i.get.call(this);return e.__dynamic.url.decode(r)},set(r){return!1}}),e.WebSocket=new Proxy(e.WebSocket,{construct(r,n){return console.log(n),e.__dynamic.bare.createWebSocket(n[0],n[1],{webSocketImpl:r})}}),e.__dynamic.wrap(e.WebSocket,(r,...n)=>{console.log(n);let a=new URL(n[0]),o={remote:{host:a.hostname,port:a.port||(a.protocol==="wss:"?"443":"80"),path:a.pathname+a.search,protocol:a.protocol},headers:{Host:a.hostname+(a.port?":"+a.port:""),Origin:e.__dynamic$location.origin,Pragma:"no-cache","Cache-Control":"no-cache",Upgrade:"websocket",Connection:"Upgrade"},forward_headers:["accept-encoding","accept-language","sec-websocket-extensions","sec-websocket-key","sec-websocket-version","sec-websocket-accept"]};return n[1]&&(o.headers["sec-websocket-protocol"]=n[1].toString()),[t(),["bare",is(JSON.stringify(o))]]})}function Zr(e){e.Request=e.__dynamic.wrap(e.Request,function(t,...i){if(i[0]instanceof t){let r=Reflect.construct(t,i);return i[0].mode==="navigate"&&(r.mode="same-origin"),r}return i[0]&&(i[0]=e.__dynamic.url.encode(i[0],e.__dynamic.meta)),i}),e.__dynamic.define(e.Request.prototype,"url",{get(){return e.__dynamic.url.decode(e.__dynamic.http.RequestURL.get.call(this))},set(t){return t}}),e.fetch=e.__dynamic.wrap(e.fetch,function(t,...i){return e.Request&&(i[0].constructor.name==="Request"||i[0]instanceof e.Request)?(console.log(i[0]),Reflect.apply(t,e,i)):(i[0]&&e.__dynamic&&(i[0]=e.__dynamic.url.encode(i[0],e.__dynamic.meta)),Reflect.apply(t,e,i))},"fetch"),e.XMLHttpRequest.prototype.open=e.__dynamic.wrap(e.XMLHttpRequest.prototype.open,function(t,...i){return i[1]&&(i[1]=e.__dynamic.url.encode(i[1],e.__dynamic.meta)),i[2]===!1&&(i[2]=!0),Reflect.apply(t,this,i)},"XMLHttpRequest.prototype.open"),Object.defineProperty(e.XMLHttpRequest.prototype,"responseURL",{get(){return e.__dynamic.url.decode(e.__dynamic.http.XMLResponseURL.get.call(this))},set(t){return t}}),Object.defineProperty(e.Response.prototype,"url",{get(){return e.__dynamic.url.decode(e.__dynamic.http.ResponseURL.get.call(this))},set(t){return t}}),e.open=e.__dynamic.wrap(e.open,function(t,...i){i[0]!=""&&i[0]&&(i[0]=e.__dynamic.url.encode(i[0],e.__dynamic.meta)),i[0]==""&&(i[0]="about:blank");let r=Reflect.apply(t,this,i);r.opener=e.__dynamic$window;try{new URL(i[0]).protocol==="about:"?r.__dynamic$url="about:srcdoc":r.__dynamic$url=e.__dynamic.url.decode(i[0])}catch{r.__dynamic$url="about:srcdoc"}return e.__dynamic.elements.client(r,e.__dynamic$config,r.__dynamic$url),r.__dynamic$window},"window.open"),e.__dynamic.define(e,"__dynamic$import",{get(){return function(t,i){try{return e.__dynamic.url.encode(t,new URL(i))}catch{return e.__dynamic.url.encode(t,e.__dynamic.meta)}}},set:()=>{}})}function qt(e){let t=a=>a.constructor.name=="Worker"||a.constructor.name=="MessagePort"||e.constructor.name=="DedicatedWorkerGlobalScope",i=a=>a.constructor.name=="Window"||a.constructor.name=="global",r=(a,o)=>Object.keys(window||{}).map(s=>parseInt(s)).filter(s=>isFinite(s)).map(s=>window[s]).filter(s=>s||!1).find(s=>{try{return s.name==a&&s.location.href==o}catch{return!1}});e.__dynamic$message=function(a,o=top){a||(a=e);function s(){var c=arguments;return t(a)||!i(a)?a.postMessage.call(a,...c):(a.__dynamic$self&&(a=a.__dynamic$self),(a._postMessage||a.postMessage).call(a,[c[0],o.__dynamic$location.origin,o.location.href,o.name,o!==e],"*",c[2]||[]))}return s},e.constructor.name=="Window"&&(e.addEventListener&&(e.addEventListener=new Proxy(e.addEventListener,{apply(a,o,s){if(o==e.__dynamic$window&&(o=e),!s[1]||!s[0]||typeof s[1]!="function")return Reflect.apply(a,o,s);if(s[0]=="message"){var c=s[1].bind({});s[1]=function(u){return c(n(u))}}return Reflect.apply(a,o,s)}})),e.constructor.name=="Window"&&e.__dynamic.define(e,"onmessage",{get(){return e._onmessage||null},set(a){return e._onmessage&&e.removeEventListener("message",e._onmessage),e.addEventListener("message",a),e._onmessage=a}}));function n(a){let o=e.__dynamic.util.clone(a),s;a.source&&(s=r(a.data[3],a.data[2])||a.currentTarget),e.__dynamic.define(o,"isTrusted",{value:!0,writable:!1}),a.origin&&(Array.isArray(a.data)&&a.data.length==5?e.__dynamic.define(o,"origin",{value:a.data[1],writable:!1}):e.__dynamic.define(o,"origin",{value:a.origin,writable:!1})),a.data&&(Array.isArray(a.data)&&a.data.length==5?e.__dynamic.define(o,"data",{value:a.data[0],writable:!1}):e.__dynamic.define(o,"data",{value:a.data,writable:!1})),a.source&&(s?e.__dynamic.define(o,"source",{value:s?.__dynamic$window||s,writable:!0}):e.__dynamic.define(o,"source",{value:s||Array.isArray(a.data)&&a.data.length==3&&a.data[2]===!0?a.source:a.currentTarget,writable:!0}));for(var c in a)switch(c){default:c!=="isTrusted"&&c!=="origin"&&c!=="data"&&c!=="source"&&e.__dynamic.define(o,c,{value:a[c],writable:!1});break}return o}}function Jr(e){function t(i,...r){for(var n in r)r[n]=e.__dynamic.rewrite.dom(r[n],e.__dynamic.meta);return i.apply(this,r)}["write","writeln"].forEach(i=>{e.document[i]=e.__dynamic.wrap(e.document[i],t,`document.${i}`)})}function zt(e){e.importScripts=new Proxy(e.importScripts,{apply(t,i,r){return[...r].forEach((n,a)=>{r[a]=e.__dynamic.url.encode(n,e.__dynamic.meta)}),Reflect.apply(t,i,r)}}),e.__dynamic.define(e.__dynamic,"_location",{value:e.location,writable:!0}),e.__dynamic.define(e.WorkerGlobalScope.prototype,"location",{get(){return e.__dynamic.location},set(t){return t}}),e.location=e.__dynamic.location}function Gt(e){var t=e.Reflect.get.bind({}),i=e.Reflect.set.bind({});e.Reflect.set=e.__dynamic.wrap(e.Reflect.set,function(r,...n){return n[0].constructor.name=="Window"&&n[1]=="location"?(n[0].__dynamic$location=n[2],!0):n[0].constructor.name=="Location"?(e.__dynamic$location[n[1]]=n[2],!0):Reflect.apply(i,this,n)},"Reflect.set"),e.Reflect.get=e.__dynamic.wrap(e.Reflect.get,function(r,...n){if(typeof n[0]=="object"){if(n[0].constructor.name=="Window"){if(n[1]=="location")return n[0].__dynamic?n[0].__dynamic$location:Reflect.apply(t,this,n);if(n[0][n[1]]&&n[0][n[1]].constructor.name=="Window")return n[0][n[1]].__dynamic$window}if(n[0].constructor.name=="Location")return e.__dynamic$location[n[1]]}return Reflect.apply(t,this,n)},"Reflect.get"),e.__dynamic.Reflect={get:t,set:i,apply:e.Reflect.apply.bind({}),construct:e.Reflect.construct.bind({}),defineProperty:e.Reflect.defineProperty.bind({}),deleteProperty:e.Reflect.deleteProperty.bind({}),getOwnPropertyDescriptor:e.Reflect.getOwnPropertyDescriptor.bind({}),getPrototypeOf:e.Reflect.getPrototypeOf.bind({}),has:e.Reflect.has.bind({}),isExtensible:e.Reflect.isExtensible.bind({}),ownKeys:e.Reflect.ownKeys.bind({}),preventExtensions:e.Reflect.preventExtensions.bind({}),setPrototypeOf:e.Reflect.setPrototypeOf.bind({})}}function en(e){e.__dynamic.define(e.document,"origin",{value:e.__dynamic$location.origin,configurable:!1,enumerable:!1}),e.__dynamic.define(e.document,"domain",{value:e.__dynamic$location.hostname,configurable:!1,enumerable:!1}),["referrer","URL","documentURI"].forEach(t=>{e.__dynamic.define(e.document,t,{value:e.__dynamic$location.toString(),configurable:!1,enumerable:!1})}),[e.document,e.HTMLElement.prototype].forEach(t=>{e.__dynamic.define(t,"baseURI",{get(){return(e.__dynamic.baseURL||e.__dynamic$location).href}})}),["getEntries","getEntriesByName","getEntriesByType"].forEach(t=>{e.performance[t]=new Proxy(e.performance[t],{apply(i,r,n){return Reflect.apply(i,r,n).filter(a=>!a.name?.includes(e.location.origin+"/dynamic/dynamic.")).filter(a=>!a.name.includes(e.location.origin+e.__dynamic.config.prefix+"caches/")).map(a=>{if(a.name){var o=e.__dynamic.util.clone(a);o.__defineGetter__("name",function(){return this._name}),o.__defineSetter__("name",function(u){this._name=u}),o.name=e.__dynamic.url.decode(a.name),e.__dynamic.define(o,"name",{get:void 0,set:void 0}),e.__dynamic.define(o,"name",{value:o._name,writable:!1}),delete o._name;for(var s in a)if(s!="name"){if(typeof a[s]=="function")var c=new Proxy(a[s],{apply(u,l,h){if(u.name=="toJSON"){var p={};for(var m in o)p[m]=o[m];return p}return Reflect.apply(u,a,h)}});else var c=a[s];Object.defineProperty(o,s,{value:c,writable:!0})}a=o}return a})}})}),e.MouseEvent&&(e.MouseEvent.prototype.initMouseEvent=e.__dynamic.wrap(e.MouseEvent.prototype.initMouseEvent,function(t,...i){return i.length&&(i=i.map(r=>r==e.__dynamic$window?e:r)),Reflect.apply(t,this,i)})),e.KeyboardEvent&&(e.KeyboardEvent.prototype.initKeyboardEvent=e.__dynamic.wrap(e.KeyboardEvent.prototype.initKeyboardEvent,function(t,...i){return i.length&&(i=i.map(r=>r==e.__dynamic$window?e:r)),Reflect.apply(t,this,i)})),e.StorageEvent&&(e.StorageEvent.prototype.initStorageEvent=e.__dynamic.wrap(e.StorageEvent.prototype.initStorageEvent,function(t,...i){return i.length&&(i=i.map(r=>r==e.localStorage?e.__dynamic.storage.localStorage:r==e.sessionStorage?e.__dynamic.storage.sessionStorage:r)),Reflect.apply(t,this,i)})),e.Object.defineProperty=e.__dynamic.wrap(e.Object.defineProperty,function(t,...i){try{return Reflect.apply(t,this,i)}catch(r){r.toString().includes("Cannot redefine property:")&&(i[0].__defined||(i[0].__defined={}),i[0].__defined[i[1]]=i[2])}}),e.__dynamic.meta.origin=="https://www.google.com"&&(e.setInterval=new Proxy(e.setInterval,{apply(t,i,r){return r[1]==500?null:Reflect.apply(t,i,r)}}))}function tn(e){e.Storage.prototype.setItem=e.__dynamic.wrap(e.Storage.prototype.setItem,function(t,...i){return i[0]&&(i[0]="__dynamic$"+e.__dynamic$location.host+"$"+i[0].toString()),Reflect.apply(t,this,i)},"Storage.prototype.setItem"),e.Storage.prototype.getItem=e.__dynamic.wrap(e.Storage.prototype.getItem,function(t,...i){return i[0]&&(i[0]="__dynamic$"+e.__dynamic$location.host+"$"+i[0].toString()),Reflect.apply(t,this,i)||null},"Storage.prototype.getItem"),e.Storage.prototype.removeItem=e.__dynamic.wrap(e.Storage.prototype.removeItem,function(t,...i){return i[0]&&(i[0]="__dynamic$"+e.__dynamic$location.host+"$"+i[0].toString()),Reflect.apply(t,this,i)},"Storage.prototype.removeItem"),e.Storage.prototype.clear=e.__dynamic.wrap(e.Storage.prototype.clear,function(t,...i){for(var r=[],n=0;n<this.length;n++)t.call(this,n)?.startsWith("__dynamic$"+e.__dynamic$location.host+"$")&&r.push(t.call(this,n)?.replace("__dynamic$"+e.__dynamic$location.host+"$",""));for(var a in r)t.call(this,r[a])},"Storage.prototype.clear"),e.Storage.prototype.key=e.__dynamic.wrap(e.Storage.prototype.key,function(t,...i){for(var r=[],n=0;n<this.length;n++)t.call(this,n)?.startsWith("__dynamic$"+e.__dynamic$location.host+"$")&&r.push(t.call(this,n)?.replace("__dynamic$"+e.__dynamic$location.host+"$",""));return r[i[0]]?r[i[0]]:null},"Storage.prototype.key"),["localStorage","sessionStorage"].forEach(t=>{e["__dynamic$"+t]=new Proxy(e[t],{get(i,r){if(r=="length"){for(var n=[],a=0;a<Object.keys(e.__dynamic.storage[t]).length;a++)Object.keys(e.__dynamic.storage[t])[a].startsWith("__dynamic$"+e.__dynamic$location.host+"$")&&n.push(Object.keys(e.__dynamic.storage[t])[a].replace("__dynamic$"+e.__dynamic$location.host+"$",""));return n.length}return e.__dynamic.storage.methods.includes(r)?e.__dynamic.storage.cloned[t][r].bind(e.__dynamic.storage[t]):e.__dynamic.storage[t].getItem("__dynamic$"+e.__dynamic$location.host+"$"+r.toString())},set(i,r,n){return e.__dynamic.storage[t].setItem("__dynamic$"+e.__dynamic$location.host+"$"+r.toString(),n),n||!0},deleteProperty(i,r){return e.__dynamic.storage[t].removeItem("__dynamic$"+e.__dynamic$location.host+"$"+r.toString())}}),delete e[t],e[t]=e["__dynamic$"+t]})}function rn(e){"serviceWorker"in e.navigator&&(e.__dynamic.sw=e.navigator.serviceWorker,delete e.navigator.serviceWorker,delete e.Navigator.prototype.serviceWorker),e.navigator.sendBeacon=e.__dynamic.wrap(e.navigator.sendBeacon,function(t,...i){return i[0]&&(i[0]=e.__dynamic.url.encode(i[0],e.__dynamic.meta)),Reflect.apply(t,this,i)},"navigator.sendBeacon")}var nn=e=>e?e.split(";").map(t=>t.split("=")).reduce((t,i)=>(t[i[0].trim()]=i[1].trim(),t),{}):{},yt=(e=[])=>e.map(t=>`${t.name}=${t.value}`).join("; ");function an(e){if(delete e.Document.prototype.cookie,e.__dynamic.define(e.document,"cookie",{get(){var t=e.__dynamic.fire("getCookies",[e.__dynamic.location.host,e.__dynamic.cookie.str||""]);return t||(e.__dynamic.cookies.update(e.__dynamic.location.host),e.__dynamic.cookie.str||e.__dynamic.cookie.desc.get.call(this)||"")},set(t){var i=e.__dynamic.modules.setCookieParser.parse(t,{decodeValues:!1})[0],r=e.__dynamic.fire("setCookie",[e.__dynamic.location.host,t,i]);if(r)return r;i.name=i.name.replace(/^\./g,""),Promise.resolve(e.__dynamic.cookies.set(e.__dynamic.location.host,e.__dynamic.modules.cookie.serialize(i.name,i.value,{...i,encode:a=>a}))).then(async a=>{await e.__dynamic.cookies.update(e.__dynamic.location.host),e.__dynamic.cookie.str=await e.__dynamic.cookies.get(e.__dynamic.location.host)});var n=nn(e.__dynamic.cookie.str||"");n[i.name]=i.value,e.__dynamic.cookie.str=yt(Object.entries(n).map(a=>({name:a[0],value:a[1]})))}}),e.navigator.serviceWorker)try{e.navigator.serviceWorker.onmessage=({data:t})=>{if(t.host==e.__dynamic.location.host&&t.type=="set-cookie"){var i=e.__dynamic.modules.cookie.parse(t.val),r=nn(e.__dynamic.cookie.str||"");r[Object.entries(i)[0][0]]=Object.entries(i)[0][1],e.__dynamic.cookie.str=yt(Object.entries(r).map(n=>({name:n[0],value:n[1]})))}t.host==e.__dynamic.location.host&&t.type=="cookies"&&(e.__dynamic.cookie.str=t.cookies)}}catch{}}function sn(e){e.CSSStyleDeclaration.prototype._setProperty=e.CSSStyleDeclaration.prototype.setProperty,e.CSSStyleDeclaration.prototype.setProperty=e.__dynamic.wrap(e.CSSStyleDeclaration.prototype.setProperty,function(t,...i){return(i[0]=="background-image"||i[0]=="background"||i[0]=="backgroundImage")&&(i[1]=e.__dynamic.rewrite.css.rewrite(i[1],e.__dynamic.meta)),t.apply(this,i)},"CSSStyleDeclaration.prototype.setProperty"),e.__dynamic.define(e.CSSStyleDeclaration.prototype,"background",{get(){return this._background?this._background:this.getPropertyValue("background")},set(t){return this._background=t,this._setProperty("background",e.__dynamic.rewrite.css.rewrite(t,e.__dynamic.meta))}}),e.__dynamic.define(e.CSSStyleDeclaration.prototype,"backgroundImage",{get(){return this._backgroundImage?this._backgroundImage:this.getPropertyValue("background-image")},set(t){return this._backgroundImage=t,this._setProperty("background-image",e.__dynamic.rewrite.css.rewrite(t,e.__dynamic.meta))}}),e.__dynamic.define(e.CSSStyleDeclaration.prototype,"background-image",{get(){return this._backgroundImage?this._backgroundImage:this.getPropertyValue("background-image")},set(t){return this._backgroundImage=t,this._setProperty("background-image",e.__dynamic.rewrite.css.rewrite(t,e.__dynamic.meta))}})}function Kt(e){e.__dynamic.createBlobHandler=async function(t,i,r){let n=(await e.__dynamic.sw.ready).active;e.__dynamic.sw.addEventListener("message",({data:{url:a}})=>{a&&e.__dynamic.elements.iframeSrc.set.call(i,a)},{once:!0}),n.postMessage({type:"createBlobHandler",blob:t,url:e.__dynamic.modules.base64.encode(r.toString().split("").slice(0,10)),location:e.__dynamic.location.href})}}var rs=(e,t,i)=>((i=new MutationObserver(function(n){for(var a of n)e[a.type](a),document.dispatchEvent(new CustomEvent({attributes:"attrChanged",characterData:"characterData",childList:"nodeChanged"}[a.type],{detail:a}))})).observe(t,{subtree:!0,attributes:!0,childList:!0}),i);function Xt(e,t){t||(t=e.__dynamic);function i(n){if(!n.rewritten&&!(n.nodeType!==1&&n.nodeType!==3)){if(n=new Proxy(n,{get(s,c){return c=="src"||c=="href"||c=="srcset"||c=="imageSrcset"||c=="data"||c=="action"?t.elements.getAttribute.call(s,c.toLowerCase()):c=="setAttribute"||c=="getAttribute"||c=="removeAttribute"||c=="hasAttribute"||c=="cloneNode"||c=="addEventListener"?(...u)=>t.elements[c].call(s,...u):c=="node"?s:s[c]},set(s,c,u){return c=="src"||c=="href"||c=="srcset"||c=="imageSrcset"||c=="data"||c=="action"?t.elements.setAttribute.call(s,c.toLowerCase(),u):s[c]=u,!0}}),n instanceof HTMLScriptElement&&(n.src&&(n.dataset.dynamic_src=n.src,n.src=t.url.encode(n.src,t.meta)),n.type&&n.textContent?.length?(n.type=="application/javascript"||n.type=="text/javascript"||n.type=="application/x-javascript"&&n.textContent?.length)&&(n.textContent=t.rewrite.js.rewrite(n.textContent,{type:"script"},!1,t)):!n.type&&n.textContent?.length&&(n.textContent=t.rewrite.js.rewrite(n.textContent,{type:"script"},!1,t))),n instanceof HTMLStyleElement&&n.textContent?.length&&(n.textContent=t.rewrite.css.rewrite(n.textContent,t.meta)),n instanceof HTMLIFrameElement&&(n.src&&(n.dataset.dynamic_src=n.src,n.src=t.url.encode(n.src,t.meta)),n.srcdoc)){n.dataset.dynamic_srcdoc=n.srcdoc;let s=new Blob([t.rewrite.html.rewrite(n.srcdoc,t.meta)],{type:"text/html"});n.src=URL.createObjectURL(s)}if(n instanceof HTMLLinkElement&&(n.getAttribute("rel")!=="stylesheet"&&n.getAttribute("rel")!=="prefetch"&&n.getAttribute("rel")!=="dns-prefetch"?(n.href&&(n.dataset.dynamic_href=n.href,n.href=t.url.encode(n.href,t.meta)),n.imageSrcset&&(n.dataset.dynamic_imagesrcset=n.imageSrcset,n.imageSrcset=t.rewrite.srcset.encode(n.imageSrcset,t))):n.addEventListener("error",s=>{if(n instanceof HTMLLinkElement)return n.href&&(n.dataset.dynamic_href=n.href,n.href=t.url.encode(n.href,t.meta)),n.imageSrcset&&(n.dataset.dynamic_imagesrcset=n.imageSrcset,n.imageSrcset=t.rewrite.srcset.encode(n.imageSrcset,t)),s.preventDefault(),!1},{once:!0})),n instanceof HTMLAnchorElement&&n.href&&(n.dataset.dynamic_href=n.href,n.href=t.url.encode(n.href,t.meta)),n instanceof HTMLFormElement&&n.action&&(n.dataset.dynamic_action=n.action,n.action=t.url.encode(n.action,t.meta)),n instanceof HTMLObjectElement&&n.data&&(n.dataset.dynamic_data=n.data,n.data=t.url.encode(n.data,t.meta)),n instanceof HTMLSourceElement&&(n.src&&(n.dataset.dynamic_src=n.src,n.src=t.url.encode(n.src,t.meta)),n.srcset&&(n.dataset.dynamic_srcset=n.srcset,n.srcset=t.rewrite.srcset.encode(n.srcset,t))),n instanceof HTMLImageElement&&(n.src&&(n.dataset.dynamic_src=n.src,n.src=t.url.encode(n.src,t.meta)),n.srcset&&(n.dataset.dynamic_srcset=n.srcset,n.srcset=t.rewrite.srcset.encode(n.srcset,t))),n instanceof HTMLAreaElement&&n.href&&(n.dataset.dynamic_href=n.href,n.href=t.url.encode(n.href,t.meta)),n instanceof HTMLBaseElement&&n.href&&(n.dataset.dynamic_href=n.href,n.href=t.url.encode(n.href,t.meta)),n instanceof HTMLInputElement&&n.src&&(n.dataset.dynamic_src=n.src,n.src=t.url.encode(n.src,t.meta)),n instanceof HTMLAudioElement&&n.src&&(n.dataset.dynamic_src=n.src,n.src=t.url.encode(n.src,t.meta)),n instanceof HTMLVideoElement&&n.src&&(n.dataset.dynamic_src=n.src,n.src=t.url.encode(n.src,t.meta)),n instanceof HTMLTrackElement&&n.src&&(n.dataset.dynamic_src=n.src,n.src=t.url.encode(n.src,t.meta)),n instanceof HTMLMediaElement&&n.src&&(n.dataset.dynamic_src=n.src,n.src=t.url.encode(n.src,t.meta)),n instanceof HTMLMetaElement&&n.httpEquiv){if(n.httpEquiv.toLowerCase()=="refresh"){var a=n.content.split(";url=")[0],o=n.content.split(";url=")[1];n.content=`${a};url=${t.url.encode(o,t.meta)}`}n.httpEquiv.toLowerCase()=="content-security-policy"&&n.remove()}return n instanceof HTMLElement&&(n.getAttribute("style")&&n.setAttribute("style",t.rewrite.css.rewrite(n.getAttribute("style"),t.meta)),n.integrity&&(n.setAttribute("nointegrity",n.integrity),n.removeAttribute("integrity")),n.nonce&&(n.setAttribute("nononce",n.nonce),n.removeAttribute("nonce"))),n.rewritten=!0}}let r=rs({childList(n){i(n.target);for(let o of n.addedNodes)if(o.childNodes)for(let s of o.childNodes)i(s);if(n.target.childNodes)for(var a of n.target.childNodes)i(a)},attributes(n){},characterData(n){}},e.document);e.document.addEventListener("DOMContentLoaded",function(){r.disconnect()},{once:!0})}function on(e){e.__dynamic.eval=e.__dynamic.wrap(eval,function(t,...i){if(i.length){var r=i[0].toString();return r=e.__dynamic.rewrite.js.rewrite(r,{type:"script"},!1,e.__dynamic),t.apply(this,[r])}},"eval"),e.__dynamic.define(e.Object.prototype,"__dynamic$eval",{get(){return this===window?e.__dynamic.eval:this.eval},set(t){return t}}),e.__dynamic$wrapEval=function(t){if(!arguments.length)return arguments[0];var i=e.__dynamic.fire("eval",[e,t]);return i||(t=e.__dynamic.rewrite.js.rewrite(t,{type:"script"},!1,e.__dynamic),t)}}function cn(e){var t=e.Function.prototype.toString;e.__dynamic.Function=e.Function.bind({}),e.__dynamic.define(e.Function.prototype,"_toString",{get(){return t},set:()=>{}});var i=function(){try{var r=Reflect.apply(t,this,[])}catch{return`function ${this.name}() { [native code] }`}return r.includes("[native code]")?`function ${this.name}() { [native code] }`:r};e.__dynamic.define(e.Function.prototype,"toString",{get(){return this.__toString||i},set(r){this.__toString=r}}),e.Function=new Proxy(e.Function,{apply(r,n,a){var o=[...a],s=o.pop();return s=`(function anonymous(${o.toString()}) {${s}})`,s=e.__dynamic.rewrite.js.rewrite(s,{type:"script"},!1,e.__dynamic),e.eval(s)},construct(r,n){var a=[...n],o=a.pop();return o=`(function anonymous(${a.toString()}) {${o}})`,o=e.__dynamic.rewrite.js.rewrite(o,{type:"script"},!1,e.__dynamic),e.eval(o)}}),e.Function.prototype.apply=e.__dynamic.wrap(e.Function.prototype.apply,function(r,...n){return n[0]==e.__dynamic$window&&(n[0]=n[0].__dynamic$self),n[0]==e.__dynamic$document&&(n[0]=e.document),Reflect.apply(r,this,n)},"Function.prototype.apply"),e.Function.prototype.call=new Proxy(e.Function.prototype.call,{apply(r,n,a){return a[0]==e.__dynamic$window&&(a[0]=a[0].__dynamic$self),a[0]==e.__dynamic$document&&(a[0]=e.document),Reflect.apply(r,n,a)}}),e.Function.prototype.bind=e.__dynamic.wrap(e.Function.prototype.bind,function(r,...n){return n[0]==e.__dynamic$window&&(n[0]=n[0].__dynamic$self),n[0]==e.__dynamic$document&&(n[0]=e.document),r.apply(this,n)},"Function.prototype.bind")}function un(e){}function ln(e){}var ns=[{name:"get",function:"self"},{name:"func",function:"self"},{name:"location",function:"self"},{name:"mutation",function:"self"},{name:"dom",function:"self"},{name:"write",function:"self"},{name:"message",function:"self"},{name:"reflect",function:"self"},{name:"window",function:"self"},{name:"eval",function:"self"},{name:"attr",function:"self"},{name:"policy",function:"self"},{name:"worker",function:"self"},{name:"history",function:"self"},{name:"ws",function:"self"},{name:"cookie",function:"self"},{name:"fetch",function:"self"},{name:"niche",function:"self"},{name:"storage",function:"self"},{name:"style",function:"self"},{name:"rtc",function:"self"},{name:"blob",function:"self"},{name:"navigator",function:"self"}];var vt=class{constructor(t){this.methods=ns;self.constructor.name=="DedicatedWorkerGlobalScope"||self.constructor.name=="SharedWorkerGlobalScope"?(this.message=qt,this.location=$t,this.window=Wt,this.get=Ut,this.reflect=Gt,this.imports=zt,this.blob=Kt,this.mutation=Xt):(this.location=$t,this.get=Ut,this.window=Wt,this.attr=Kr,this.worker=Xr,this.history=Qr,this.ws=Yr,this.fetch=Zr,this.message=qt,this.policy=un,this.write=Jr,this.imports=zt,this.reflect=Gt,this.niche=en,this.storage=tn,this.navigator=rn,this.cookie=an,this.style=sn,this.blob=Kt,this.mutation=Xt,this.eval=on,this.func=cn,this.rtc=ln,this.dom=Gr),this.ctx=t}};function fc(e,t){return e||(e=[]),e.find(i=>i.name==t.name)?e[e.findIndex(i=>i.name==t.name)]={name:t.name,value:t.value,expires:t.expires}:e.push({name:t.name,value:t.value,expires:t.expires}),e}var Ee={open:async()=>Wi("__dynamic$cookies",1,{async upgrade(e){await e.createObjectStore("__dynamic$cookies")}}),set:async(e,t,i)=>{if(t.domain&&(e=t.domain),e.startsWith(".")&&(e=e.slice(1)),t.expires){var r=new Date(t.expires);if(r<new Date)return Ee.remove(e,t,i)}return await(await i).put("__dynamic$cookies",fc(await(await i).get("__dynamic$cookies",e),t),e),!0},get:async(e,t)=>{var i=e.replace(/^(.*\.)?([^.]*\..*)$/g,"$2"),r=await(await t).get("__dynamic$cookies",e)||[];if(e!==i&&e!=="."+i){var n=await(await t).get("__dynamic$cookies",i);if(n)for(var{name:a,value:o,expires:s}of n){if(s){var c=new Date(s);if(c<=new Date){Ee.remove(e,n.find(u=>u.name==a&&u.value==o&&u.expires==s),t);continue}}r.find(u=>u.name==a&&u.value==o)||r.push({name:a,value:o,expires:s||new Date(1e13)})}}return r},remove:async(e,t,i)=>{t.domain&&(e=t.domain),e.startsWith(".")&&(e=e.slice(1));var r=await(await i).get("__dynamic$cookies",e);return r?(r=r.filter(n=>n.name!==t.name),await(await i).put("__dynamic$cookies",r,e),!0):!1},update:async(e,t)=>{var i=e.replace(/^(.*\.)?([^.]*\..*)$/g,"$2"),r=await(await t).get("__dynamic$cookies",i);if(r){for(var{name:n,value:a,expires:o}of r)if(o){var s=new Date(o);if(s<=new Date){Ee.remove(e,{name:n,value:a,expires:o},t);continue}}}return r}};var gt=class{constructor(t){this.db=Ee;this.ctx=t}async get(t){this._db||(this._db=this.db.open());let i=await Ee.get(t,this._db);return yt(i)}async set(t,i=""){return i=this.ctx.modules.setCookieParser.parse(i,{decodeValues:!1})[0],this._db||(this._db=this.db.open()),await Ee.set(t,i,this._db)}async open(){await Ee.open()}async update(t){return this._db||(this._db=this.db.open()),await Ee.update(t,this._db)}};var pn={};Ln(pn,{aes:()=>dc,base64:()=>xc,none:()=>mc,plain:()=>pc,xor:()=>hc});var bt=et(fo(),1),hc={encode:(e,t=2)=>e&&encodeURIComponent(e.split("").map((i,r)=>r%t?String.fromCharCode(i.charCodeAt(0)^t):i).join("")),decode:(e,t=2)=>e&&decodeURIComponent(e).split("").map((i,r)=>r%t?String.fromCharCode(i.charCodeAt(0)^t):i).join("")},pc={encode:e=>e&&encodeURIComponent(e),decode:e=>e&&decodeURIComponent(e)},dc={encode:e=>e&&bt.AES.encrypt(e,"dynamic").toString().substring(10),decode:e=>e&&bt.AES.decrypt("U2FsdGVkX1"+e,"dynamic").toString(bt.enc.Utf8)},mc={encode:e=>e,decode:e=>e},xc={encode:e=>e&&decodeURIComponent(btoa(e)),decode:e=>e&&atob(e)};var Ti=class{constructor(t){this.modules=new qa(this);this.util=new Ya(this);this.meta=new Ja(this);this.regex=new mt(this);this.rewrite=new Ka(this);this.url=new Za(this);this.is=new ts(this);this.cookies=new gt(this);this.client=new vt(this);this.encoding=pn;this.headers=es;this.listeners=[];t&&!this.config&&(this.config=t),t&&this.util.encode(self)}on(t,i){this.listeners.push({event:t,cb:i})}fire(t,i){let r=!1;for(let n of this.listeners)n.event===t&&(i=(r=!0,n.cb(...i)));return r&&i?i:null}};function dn(e,t){t||(t=e.__dynamic),t.define=new e.Proxy(e.Object.defineProperty,{apply(i,r,n){try{return Reflect.apply(i,r,n)}catch{return n[2]}}}),t.defines=new e.Proxy(e.Object.defineProperties,{apply(i,r,n){try{return Reflect.apply(i,r,n)}catch{return n[1]}}}),e.parent&&(t.parent=e.parent),e.top&&(t.top=e.top),e.document&&(t.elements={attributes:["src","href","srcset","action","data","integrity","nonce","imagesrcset"],iframeSrc:Object.getOwnPropertyDescriptor(e.HTMLIFrameElement.prototype,"src"),contentWindow:Object.getOwnPropertyDescriptor(e.HTMLIFrameElement.prototype,"contentWindow"),innerHTML:Object.getOwnPropertyDescriptor(e.Element.prototype,"innerHTML"),outerHTML:Object.getOwnPropertyDescriptor(e.Element.prototype,"outerHTML"),attrValue:Object.getOwnPropertyDescriptor(e.Attr.prototype,"value"),setAttribute:e.Element.prototype.setAttribute,getAttribute:e.Element.prototype.getAttribute,removeAttribute:e.Element.prototype.removeAttribute,hasAttribute:e.Element.prototype.hasAttribute,cloneNode:e.Node.prototype.cloneNode,addEventListener:e.Node.prototype.addEventListener,config:[{elements:[e.HTMLScriptElement,e.HTMLIFrameElement,e.HTMLEmbedElement,e.HTMLInputElement,e.HTMLTrackElement,e.HTMLMediaElement,e.HTMLSourceElement,e.Image,e.HTMLImageElement],tags:["src"],action:"url"},{elements:[e.HTMLSourceElement,e.HTMLImageElement],tags:["srcset"],action:"srcset"},{elements:[e.HTMLAnchorElement,e.HTMLLinkElement,e.HTMLAreaElement,e.SVGImageElement,e.HTMLBaseElement],tags:["href"],action:"url"},{elements:[e.HTMLIFrameElement],tags:["contentWindow","contentDocument"],action:"window"},{elements:[e.HTMLFormElement],tags:["action"],action:"url"},{elements:[e.HTMLObjectElement],tags:["data"],action:"url"},{elements:[e.HTMLScriptElement,e.HTMLLinkElement],tags:["integrity"],action:"rewrite",new:"nointegrity"},{elements:[e.HTMLScriptElement,e.HTMLLinkElement],tags:["nonce"],action:"rewrite",new:"nononce"},{elements:[e.HTMLIFrameElement],tags:["srcdoc"],action:"html"},{elements:[e.HTMLElement],tags:["style"],action:"css"},{elements:[e.HTMLLinkElement],tags:["imageSrcset"],action:"srcset"}],createGetter:i=>({get(){return new URL(this.href||e.__dynamic$location.href)[i]},set(r){}}),client:Di},e.__dynamic.baseURL=e.document?new URL(e.__dynamic.url.decode(e.document.baseURI)):null),e.document&&(t.cookie={str:e.__dynamic$cookie||"",desc:Object.getOwnPropertyDescriptor(e.Document.prototype,"cookie")}),e.XMLHttpRequest&&(t.http={XMLResponseURL:Object.getOwnPropertyDescriptor(e.XMLHttpRequest.prototype,"responseURL"),ResponseURL:Object.getOwnPropertyDescriptor(e.Response.prototype,"url"),RequestURL:Object.getOwnPropertyDescriptor(e.Request.prototype,"url"),XMLHttpRequest:e.XMLHttpRequest}),e.Storage&&(t.storage={localStorage:e.localStorage,sessionStorage:e.sessionStorage,keys:{localStorage:Object.keys(e.localStorage),sessionStorage:Object.keys(e.sessionStorage)},methods:["getItem","setItem","removeItem","clear","length","keys","values","entries","forEach","hasOwnProperty","toString","toLocaleString","valueOf","isPrototypeOf","propertyIsEnumerable","constructor","key"]},t.storage.cloned={localStorage:t.util.clone(t.storage.localStorage),sessionStorage:t.util.clone(t.storage.sessionStorage)}),e.RTCPeerConnection&&(t.webrtc={endpoints:["stun:stun.webice.org"]}),e.trustedTypes&&(t.trustedTypes={policy:e.trustedTypes.createPolicy("dynamic",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i,createURL:i=>i}),createScript:e.TrustedTypePolicy.prototype.createScript}),e.__dynamic$config.tab&&(e.document&&e.__dynamic$config.tab.title&&(document.title=e.__dynamic$config.tab.title,t.define(e.document,"title",{get(){return e.__dynamic$config.tab.title},set(i){return i}})),e.__dynamic$config.tab.icon&&(e.__dynamic$icon=e.__dynamic$config.tab.icon),e.Navigator&&e.__dynamic$config.tab.ua&&t.define(e.navigator,"userAgent",{get(){return e.__dynamic$config.tab.ua},set(){}}))}function mn(e){e.__dynamic.wrap=function(t,i,r){if(t.__dynamic$target)return t;if(t.toString().includes("{ [native code] }")&&!t.prototype){var n=i,a=t,o=function(...c){if(typeof r=="string"){var u=e.__dynamic.fire(r,this?[this,...c]:c);if(u)return u}var l=n.call(this,a,...c);return l},s=function(...c){return o.call(this,...c)};return e.__dynamic.define(s,"name",{value:t.name,writable:!1}),s.__dynamic$target=t,s.toString=()=>`function ${t.name}() { [native code] }`,s}else try{let c=class extends t{constructor(...u){var l=[...u],h=i.call(t,t,...u);h&&(u=h),super(...u),r&&r(this,l)}};return Object.defineProperty(c,"name",{value:t.name,writable:!1}),c}catch{return t}}}function Di(e,t={},i=""){if(e.hasOwnProperty("__dynamic"))return!1;e.hasOwnProperty("__dynamic$config")||(e.__dynamic$config=t),e.parent?.__dynamic&&(e.__dynamic$bare=e.parent.__dynamic$bare);let r=new Ti(e.__dynamic$config);r.config.bare.path=typeof r.config.bare.path=="string"||r.config.bare.path instanceof URL?[new URL(r.config.bare.path,e.location)][0]:r.config.bare.path.map(a=>new URL(a,e.location)),e.__dynamic$baseURL=i||e.__dynamic$url||r.url.decode(location.pathname+location.search+location.hash)||"",e.__dynamic=r,e.__dynamic.bare=new e.__dynamic.modules.bare.BareClient(e.__dynamic$config.bare.path,e.__dynamic$bare),e.__dynamic.meta.load(new URL(e.__dynamic$baseURL)),dn(e,null),mn(e);for(var n of e.__dynamic.client.methods){let a=n.name,o=Object.entries(e.__dynamic.client).find(s=>s[0]==a);a=="mutation"&&e.frameElement||n.function=="self"&&o[1](e)}return e}var Yf=Di(self);})();
|
|
/*! Bundled license information:
|
|
|
|
cookie/index.js:
|
|
(*!
|
|
* cookie
|
|
* Copyright(c) 2012-2014 Roman Shtylman
|
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
* MIT Licensed
|
|
*)
|
|
|
|
crypto-js/ripemd160.js:
|
|
(** @preserve
|
|
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
|
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
|
|
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
*)
|
|
|
|
crypto-js/mode-ctr-gladman.js:
|
|
(** @preserve
|
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
* derived from CryptoJS.mode.CTR
|
|
* Jan Hruby jhruby.web@gmail.com
|
|
*)
|
|
*/
|
|
//# sourceMappingURL=dynamic.client.js.map
|