@burger-editor/client 3.5.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,88 @@
1
+ /**
2
+ * BurgerEditor v3.5.0-alpha.1
3
+ *
4
+ * Copyright: D-ZERO
5
+ * License: (MIT OR Apache-2.0)
6
+ */
7
+ ;(function () {(function(){var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),u=o(((e,t)=>{var n=function(e){return e&&e.Math===Math&&e};t.exports=n(typeof globalThis==`object`&&globalThis)||n(typeof window==`object`&&window)||n(typeof self==`object`&&self)||n(typeof global==`object`&&global)||n(typeof e==`object`&&e)||(function(){return this})()||Function(`return this`)()})),d=o(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),f=o(((e,t)=>{t.exports=!d()(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})})),p=o(((e,t)=>{t.exports=!d()(function(){var e=function(){}.bind();return typeof e!=`function`||e.hasOwnProperty(`prototype`)})})),m=o(((e,t)=>{var n=p(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}})),h=o((e=>{var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;e.f=n&&!t.call({1:2},1)?function(e){var t=n(this,e);return!!t&&t.enumerable}:t})),g=o(((e,t)=>{t.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}})),_=o(((e,t)=>{var n=p(),r=Function.prototype,i=r.call,a=n&&r.bind.bind(i,i);t.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}})),v=o(((e,t)=>{var n=_(),r=n({}.toString),i=n(``.slice);t.exports=function(e){return i(r(e),8,-1)}})),y=o(((e,t)=>{var n=_(),r=d(),i=v(),a=Object,o=n(``.split);t.exports=r(function(){return!a(`z`).propertyIsEnumerable(0)})?function(e){return i(e)===`String`?o(e,``):a(e)}:a})),b=o(((e,t)=>{t.exports=function(e){return e==null}})),x=o(((e,t)=>{var n=b(),r=TypeError;t.exports=function(e){if(n(e))throw new r(`Can't call method on `+e);return e}})),S=o(((e,t)=>{var n=y(),r=x();t.exports=function(e){return n(r(e))}})),C=o(((e,t)=>{var n=typeof document==`object`&&document.all;t.exports=n===void 0&&n!==void 0?function(e){return typeof e==`function`||e===n}:function(e){return typeof e==`function`}})),w=o(((e,t)=>{var n=C();t.exports=function(e){return typeof e==`object`?e!==null:n(e)}})),T=o(((e,t)=>{var n=u(),r=C(),i=function(e){return r(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?i(n[e]):n[e]&&n[e][t]}})),E=o(((e,t)=>{t.exports=_()({}.isPrototypeOf)})),D=o(((e,t)=>{var n=u().navigator,r=n&&n.userAgent;t.exports=r?String(r):``})),O=o(((e,t)=>{var n=u(),r=D(),i=n.process,a=n.Deno,o=i&&i.versions||a&&a.version,s=o&&o.v8,c,l;s&&(c=s.split(`.`),l=c[0]>0&&c[0]<4?1:+(c[0]+c[1])),!l&&r&&(c=r.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=r.match(/Chrome\/(\d+)/),c&&(l=+c[1]))),t.exports=l})),k=o(((e,t)=>{var n=O(),r=d(),i=u().String;t.exports=!!Object.getOwnPropertySymbols&&!r(function(){var e=Symbol(`symbol detection`);return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})})),A=o(((e,t)=>{t.exports=k()&&!Symbol.sham&&typeof Symbol.iterator==`symbol`})),j=o(((e,t)=>{var n=T(),r=C(),i=E(),a=A(),o=Object;t.exports=a?function(e){return typeof e==`symbol`}:function(e){var t=n(`Symbol`);return r(t)&&i(t.prototype,o(e))}})),M=o(((e,t)=>{var n=String;t.exports=function(e){try{return n(e)}catch{return`Object`}}})),N=o(((e,t)=>{var n=C(),r=M(),i=TypeError;t.exports=function(e){if(n(e))return e;throw new i(r(e)+` is not a function`)}})),P=o(((e,t)=>{var n=N(),r=b();t.exports=function(e,t){var i=e[t];return r(i)?void 0:n(i)}})),F=o(((e,t)=>{var n=m(),r=C(),i=w(),a=TypeError;t.exports=function(e,t){var o,s;if(t===`string`&&r(o=e.toString)&&!i(s=n(o,e))||r(o=e.valueOf)&&!i(s=n(o,e))||t!==`string`&&r(o=e.toString)&&!i(s=n(o,e)))return s;throw new a(`Can't convert object to primitive value`)}})),I=o(((e,t)=>{t.exports=!1})),L=o(((e,t)=>{var n=u(),r=Object.defineProperty;t.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch{n[e]=t}return t}})),R=o(((e,t)=>{var n=I(),r=u(),i=L(),a=`__core-js_shared__`,o=t.exports=r[a]||i(a,{});(o.versions||=[]).push({version:`3.49.0`,mode:n?`pure`:`global`,copyright:`© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.`,license:`https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE`,source:`https://github.com/zloirock/core-js`})})),z=o(((e,t)=>{var n=R();t.exports=function(e,t){return n[e]||(n[e]=t||{})}})),B=o(((e,t)=>{var n=x(),r=Object;t.exports=function(e){return r(n(e))}})),V=o(((e,t)=>{var n=_(),r=B(),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(r(e),t)}})),ee=o(((e,t)=>{var n=_(),r=0,i=Math.random(),a=n(1.1.toString);t.exports=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+a(++r+i,36)}})),H=o(((e,t)=>{var n=u(),r=z(),i=V(),a=ee(),o=k(),s=A(),c=n.Symbol,l=r(`wks`),d=s?c.for||c:c&&c.withoutSetter||a;t.exports=function(e){return i(l,e)||(l[e]=o&&i(c,e)?c[e]:d(`Symbol.`+e)),l[e]}})),te=o(((e,t)=>{var n=m(),r=w(),i=j(),a=P(),o=F(),s=H(),c=TypeError,l=s(`toPrimitive`);t.exports=function(e,t){if(!r(e)||i(e))return e;var s=a(e,l),u;if(s){if(t===void 0&&(t=`default`),u=n(s,e,t),!r(u)||i(u))return u;throw new c(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),o(e,t)}})),ne=o(((e,t)=>{var n=te(),r=j();t.exports=function(e){var t=n(e,`string`);return r(t)?t:t+``}})),U=o(((e,t)=>{var n=u(),r=w(),i=n.document,a=r(i)&&r(i.createElement);t.exports=function(e){return a?i.createElement(e):{}}})),re=o(((e,t)=>{var n=f(),r=d(),i=U();t.exports=!n&&!r(function(){return Object.defineProperty(i(`div`),"a",{get:function(){return 7}}).a!==7})})),W=o((e=>{var t=f(),n=m(),r=h(),i=g(),a=S(),o=ne(),s=V(),c=re(),l=Object.getOwnPropertyDescriptor;e.f=t?l:function(e,t){if(e=a(e),t=o(t),c)try{return l(e,t)}catch{}if(s(e,t))return i(!n(r.f,e,t),e[t])}})),ie=o(((e,t)=>{var n=f(),r=d();t.exports=n&&r(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})})),G=o(((e,t)=>{var n=w(),r=String,i=TypeError;t.exports=function(e){if(n(e))return e;throw new i(r(e)+` is not an object`)}})),K=o((e=>{var t=f(),n=re(),r=ie(),i=G(),a=ne(),o=TypeError,s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l=`enumerable`,u=`configurable`,d=`writable`;e.f=t?r?function(e,t,n){if(i(e),t=a(t),i(n),typeof e==`function`&&t===`prototype`&&`value`in n&&d in n&&!n[d]){var r=c(e,t);r&&r[d]&&(e[t]=n.value,n={configurable:u in n?n[u]:r[u],enumerable:l in n?n[l]:r[l],writable:!1})}return s(e,t,n)}:s:function(e,t,r){if(i(e),t=a(t),i(r),n)try{return s(e,t,r)}catch{}if(`get`in r||`set`in r)throw new o(`Accessors not supported`);return`value`in r&&(e[t]=r.value),e}})),ae=o(((e,t)=>{var n=f(),r=K(),i=g();t.exports=n?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}})),oe=o(((e,t)=>{var n=f(),r=V(),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,o=r(i,`name`);t.exports={EXISTS:o,PROPER:o&&function(){}.name===`something`,CONFIGURABLE:o&&(!n||n&&a(i,`name`).configurable)}})),se=o(((e,t)=>{var n=_(),r=C(),i=R(),a=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),t.exports=i.inspectSource})),ce=o(((e,t)=>{var n=u(),r=C(),i=n.WeakMap;t.exports=r(i)&&/native code/.test(String(i))})),le=o(((e,t)=>{var n=z(),r=ee(),i=n(`keys`);t.exports=function(e){return i[e]||(i[e]=r(e))}})),ue=o(((e,t)=>{t.exports={}})),de=o(((e,t)=>{var n=ce(),r=u(),i=w(),a=ae(),o=V(),s=R(),c=le(),l=ue(),d=`Object already initialized`,f=r.TypeError,p=r.WeakMap,m,h,g,_=function(e){return g(e)?h(e):m(e,{})},v=function(e){return function(t){var n;if(!i(t)||(n=h(t)).type!==e)throw new f(`Incompatible receiver, `+e+` required`);return n}};if(n||s.state){var y=s.state||=new p;y.get=y.get,y.has=y.has,y.set=y.set,m=function(e,t){if(y.has(e))throw new f(d);return t.facade=e,y.set(e,t),t},h=function(e){return y.get(e)||{}},g=function(e){return y.has(e)}}else{var b=c(`state`);l[b]=!0,m=function(e,t){if(o(e,b))throw new f(d);return t.facade=e,a(e,b,t),t},h=function(e){return o(e,b)?e[b]:{}},g=function(e){return o(e,b)}}t.exports={set:m,get:h,has:g,enforce:_,getterFor:v}})),fe=o(((e,t)=>{var n=_(),r=d(),i=C(),a=V(),o=f(),s=oe().CONFIGURABLE,c=se(),l=de(),u=l.enforce,p=l.get,m=String,h=Object.defineProperty,g=n(``.slice),v=n(``.replace),y=n([].join),b=o&&!r(function(){return h(function(){},`length`,{value:8}).length!==8}),x=String(String).split(`String`),S=t.exports=function(e,t,n){g(m(t),0,7)===`Symbol(`&&(t=`[`+v(m(t),/^Symbol\(([^)]*)\).*$/,`$1`)+`]`),n&&n.getter&&(t=`get `+t),n&&n.setter&&(t=`set `+t),(!a(e,`name`)||s&&e.name!==t)&&(o?h(e,`name`,{value:t,configurable:!0}):e.name=t),b&&n&&a(n,`arity`)&&e.length!==n.arity&&h(e,`length`,{value:n.arity});try{n&&a(n,`constructor`)&&n.constructor?o&&h(e,`prototype`,{writable:!1}):e.prototype&&=void 0}catch{}var r=u(e);return a(r,`source`)||(r.source=y(x,typeof t==`string`?t:``)),e};Function.prototype.toString=S(function(){return i(this)&&p(this).source||c(this)},`toString`)})),q=o(((e,t)=>{var n=C(),r=K(),i=fe(),a=L();t.exports=function(e,t,o,s){s||={};var c=s.enumerable,l=s.name===void 0?t:s.name;if(n(o)&&i(o,l,s),s.global)c?e[t]=o:a(t,o);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch{}c?e[t]=o:r.f(e,t,{value:o,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}})),pe=o(((e,t)=>{var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}})),me=o(((e,t)=>{var n=pe();t.exports=function(e){var t=+e;return t!==t||t===0?0:n(t)}})),he=o(((e,t)=>{var n=me(),r=Math.max,i=Math.min;t.exports=function(e,t){var a=n(e);return a<0?r(a+t,0):i(a,t)}})),ge=o(((e,t)=>{var n=me(),r=Math.min;t.exports=function(e){var t=n(e);return t>0?r(t,9007199254740991):0}})),J=o(((e,t)=>{var n=ge();t.exports=function(e){return n(e.length)}})),_e=o(((e,t)=>{var n=S(),r=he(),i=J(),a=function(e){return function(t,a,o){var s=n(t),c=i(s);if(c===0)return!e&&-1;var l=r(o,c),u;if(e&&a!==a){for(;c>l;)if(u=s[l++],u!==u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===a)return e||l||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}})),ve=o(((e,t)=>{var n=_(),r=V(),i=S(),a=_e().indexOf,o=ue(),s=n([].push);t.exports=function(e,t){var n=i(e),c=0,l=[],u;for(u in n)!r(o,u)&&r(n,u)&&s(l,u);for(;t.length>c;)r(n,u=t[c++])&&(~a(l,u)||s(l,u));return l}})),ye=o(((e,t)=>{t.exports=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`]})),be=o((e=>{var t=ve(),n=ye().concat(`length`,`prototype`);e.f=Object.getOwnPropertyNames||function(e){return t(e,n)}})),xe=o((e=>{e.f=Object.getOwnPropertySymbols})),Se=o(((e,t)=>{var n=T(),r=_(),i=be(),a=xe(),o=G(),s=r([].concat);t.exports=n(`Reflect`,`ownKeys`)||function(e){var t=i.f(o(e)),n=a.f;return n?s(t,n(e)):t}})),Ce=o(((e,t)=>{var n=V(),r=Se(),i=W(),a=K();t.exports=function(e,t,o){for(var s=r(t),c=a.f,l=i.f,u=0;u<s.length;u++){var d=s[u];!n(e,d)&&!(o&&n(o,d))&&c(e,d,l(t,d))}}})),we=o(((e,t)=>{var n=d(),r=C(),i=/#|\.prototype\./,a=function(e,t){var i=s[o(e)];return i===l?!0:i===c?!1:r(t)?n(t):!!t},o=a.normalize=function(e){return String(e).replace(i,`.`).toLowerCase()},s=a.data={},c=a.NATIVE=`N`,l=a.POLYFILL=`P`;t.exports=a})),Y=o(((e,t)=>{var n=u(),r=W().f,i=ae(),a=q(),o=L(),s=Ce(),c=we();t.exports=function(e,t){var l=e.target,u=e.global,d=e.stat,f,p=u?n:d?n[l]||o(l,{}):n[l]&&n[l].prototype,m,h,g,_;if(p)for(m in t){if(g=t[m],e.dontCallGetSet?(_=r(p,m),h=_&&_.value):h=p[m],f=c(u?m:l+(d?`.`:`#`)+m,e.forced),!f&&h!==void 0){if(typeof g==typeof h)continue;s(g,h)}(e.sham||h&&h.sham)&&i(g,`sham`,!0),a(p,m,g,e)}}})),Te=o(((e,t)=>{var n=H()(`toStringTag`),r={};r[n]=`z`,t.exports=String(r)===`[object z]`})),Ee=o(((e,t)=>{var n=Te(),r=C(),i=v(),a=H()(`toStringTag`),o=Object,s=i(function(){return arguments}())===`Arguments`,c=function(e,t){try{return e[t]}catch{}};t.exports=n?i:function(e){var t,n,l;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=c(t=o(e),a))==`string`?n:s?i(t):(l=i(t))===`Object`&&r(t.callee)?`Arguments`:l}})),X=o(((e,t)=>{var n=Ee(),r=String;t.exports=function(e){if(n(e)===`Symbol`)throw TypeError(`Cannot convert a Symbol value to a string`);return r(e)}})),De=o(((e,t)=>{var n=ve(),r=ye();t.exports=Object.keys||function(e){return n(e,r)}})),Oe=o((e=>{var t=f(),n=ie(),r=K(),i=G(),a=S(),o=De();e.f=t&&!n?Object.defineProperties:function(e,t){i(e);for(var n=a(t),s=o(t),c=s.length,l=0,u;c>l;)r.f(e,u=s[l++],n[u]);return e}})),ke=o(((e,t)=>{t.exports=T()(`document`,`documentElement`)})),Ae=o(((e,t)=>{var n=G(),r=Oe(),i=ye(),a=ue(),o=ke(),s=U(),c=le(),l=`>`,u=`<`,d=`prototype`,f=`script`,p=c(`IE_PROTO`),m=function(){},h=function(e){return u+f+l+e+u+`/`+f+l},g=function(e){e.write(h(``)),e.close();var t=e.parentWindow.Object;return e=null,t},_=function(){var e=s(`iframe`),t=`java`+f+`:`,n;return e.style.display=`none`,o.appendChild(e),e.src=String(t),n=e.contentWindow.document,n.open(),n.write(h(`document.F=Object`)),n.close(),n.F},v,y=function(){try{v=new ActiveXObject(`htmlfile`)}catch{}y=typeof document<`u`?document.domain&&v?g(v):_():g(v);for(var e=i.length;e--;)delete y[d][i[e]];return y()};a[p]=!0,t.exports=Object.create||function(e,t){var i;return e===null?i=y():(m[d]=n(e),i=new m,m[d]=null,i[p]=e),t===void 0?i:r.f(i,t)}})),je=o(((e,t)=>{t.exports=_()([].slice)})),Me=o(((e,t)=>{var n=v(),r=S(),i=be().f,a=je(),o=typeof window==`object`&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch{return a(o)}};t.exports.f=function(e){return o&&n(e)===`Window`?s(e):i(r(e))}})),Ne=o(((e,t)=>{var n=fe(),r=K();t.exports=function(e,t,i){return i.get&&n(i.get,t,{getter:!0}),i.set&&n(i.set,t,{setter:!0}),r.f(e,t,i)}})),Pe=o((e=>{e.f=H()})),Fe=o(((e,t)=>{t.exports=u()})),Ie=o(((e,t)=>{var n=Fe(),r=V(),i=Pe(),a=K().f;t.exports=function(e){var t=n.Symbol||={};r(t,e)||a(t,e,{value:i.f(e)})}})),Le=o(((e,t)=>{var n=m(),r=T(),i=H(),a=q();t.exports=function(){var e=r(`Symbol`),t=e&&e.prototype,o=t&&t.valueOf,s=i(`toPrimitive`);t&&!t[s]&&a(t,s,function(e){return n(o,this)},{arity:1})}})),Re=o(((e,t)=>{var n=K().f,r=V(),i=H()(`toStringTag`);t.exports=function(e,t,a){e&&!a&&(e=e.prototype),e&&!r(e,i)&&n(e,i,{configurable:!0,value:t})}})),ze=o(((e,t)=>{var n=v(),r=_();t.exports=function(e){if(n(e)===`Function`)return r(e)}})),Be=o(((e,t)=>{var n=ze(),r=N(),i=p(),a=n(n.bind);t.exports=function(e,t){return r(e),t===void 0?e:i?a(e,t):function(){return e.apply(t,arguments)}}})),Ve=o(((e,t)=>{var n=v();t.exports=Array.isArray||function(e){return n(e)===`Array`}})),He=o(((e,t)=>{var n=_(),r=d(),i=C(),a=Ee(),o=T(),s=se(),c=function(){},l=o(`Reflect`,`construct`),u=/^\s*(?:class|function)\b/,f=n(u.exec),p=!u.test(c),m=function(e){if(!i(e))return!1;try{return l(c,[],e),!0}catch{return!1}},h=function(e){if(!i(e))return!1;switch(a(e)){case`AsyncFunction`:case`GeneratorFunction`:case`AsyncGeneratorFunction`:return!1}try{return p||!!f(u,s(e))}catch{return!0}};h.sham=!0,t.exports=!l||r(function(){var e;return m(m.call)||!m(Object)||!m(function(){e=!0})||e})?h:m})),Ue=o(((e,t)=>{var n=Ve(),r=He(),i=w(),a=H()(`species`),o=Array;t.exports=function(e){var t;return n(e)&&(t=e.constructor,r(t)&&(t===o||n(t.prototype))?t=void 0:i(t)&&(t=t[a],t===null&&(t=void 0))),t===void 0?o:t}})),We=o(((e,t)=>{var n=Ue();t.exports=function(e,t){return new(n(e))(t===0?0:t)}})),Ge=o(((e,t)=>{var n=f(),r=K(),i=g();t.exports=function(e,t,a){n?r.f(e,t,i(0,a)):e[t]=a}})),Ke=o(((e,t)=>{var n=Be(),r=y(),i=B(),a=J(),o=We(),s=Ge(),c=function(e){var t=e===1,c=e===2,l=e===3,u=e===4,d=e===6,f=e===7,p=e===5||d;return function(m,h,g){for(var _=i(m),v=r(_),y=a(v),b=n(h,g),x=0,S=0,C=t?o(m,y):c||f?o(m,0):void 0,w,T;y>x;x++)if((p||x in v)&&(w=v[x],T=b(w,x,_),e))if(t)s(C,x,T);else if(T)switch(e){case 3:return!0;case 5:return w;case 6:return x;case 2:s(C,S++,w)}else switch(e){case 4:return!1;case 7:s(C,S++,w)}return d?-1:l||u?u:C}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}})),qe=o((()=>{var e=Y(),t=u(),n=m(),r=_(),i=I(),a=f(),o=k(),s=d(),c=V(),l=E(),p=G(),v=S(),y=ne(),b=X(),x=g(),C=Ae(),w=De(),T=be(),D=Me(),O=xe(),A=W(),j=K(),M=Oe(),N=h(),P=q(),F=Ne(),L=z(),R=le(),B=ue(),te=ee(),U=H(),re=Pe(),ie=Ie(),ae=Le(),oe=Re(),se=de(),ce=Ke().forEach,fe=R(`hidden`),pe=`Symbol`,me=`prototype`,he=se.set,ge=se.getterFor(pe),J=Object[me],_e=t.Symbol,ve=_e&&_e[me],ye=t.RangeError,Se=t.TypeError,Ce=t.QObject,we=A.f,Te=j.f,Ee=D.f,ke=N.f,je=r([].push),Fe=L(`symbols`),ze=L(`op-symbols`),Be=L(`wks`),Ve=!Ce||!Ce[me]||!Ce[me].findChild,He=function(e,t,n){var r=we(J,t);return r&&delete J[t],Te(e,t,n),r&&e!==J&&Te(J,t,r),e},Ue=a&&s(function(){return C(Te({},`a`,{get:function(){return Te(this,`a`,{value:7}).a}})).a!==7})?He:Te,We=function(e,t){var n=Fe[e]=C(ve);return he(n,{type:pe,tag:e,description:t}),a||(n.description=t),n},Ge=function(e,t,n){e===J&&Ge(ze,t,n),p(e);var r=y(t);return p(n),c(Fe,r)?((`enumerable`in n?!n.enumerable:!c(e,r)||c(e,fe)&&e[fe][r])?(c(e,fe)||Te(e,fe,x(1,C(null))),e[fe][r]=!0):(c(e,fe)&&e[fe][r]&&(e[fe][r]=!1),n=C(n,{enumerable:x(0,!1)})),Ue(e,r,n)):Te(e,r,n)},qe=function(e,t){p(e);var r=v(t);return ce(w(r).concat(Qe(r)),function(t){(!a||n(Ye,r,t))&&Ge(e,t,r[t])}),e},Je=function(e,t){return t===void 0?C(e):qe(C(e),t)},Ye=function(e){var t=y(e),r=n(ke,this,t);return this===J&&c(Fe,t)&&!c(ze,t)?!1:r||!c(this,t)||!c(Fe,t)||c(this,fe)&&this[fe][t]?r:!0},Xe=function(e,t){var n=v(e),r=y(t);if(!(n===J&&c(Fe,r)&&!c(ze,r))){var i=we(n,r);return i&&c(Fe,r)&&!(c(n,fe)&&n[fe][r])&&(i.enumerable=!0),i}},Ze=function(e){var t=Ee(v(e)),n=[];return ce(t,function(e){!c(Fe,e)&&!c(B,e)&&je(n,e)}),n},Qe=function(e){var t=e===J,n=Ee(t?ze:v(e)),r=[];return ce(n,function(e){c(Fe,e)&&(!t||c(J,e))&&je(r,Fe[e])}),r};o||(_e=function(){if(l(ve,this))throw new Se(`Symbol is not a constructor`);var e=!arguments.length||arguments[0]===void 0?void 0:b(arguments[0]),r=te(e),i=function(e){var a=this===void 0?t:this;a===J&&n(i,ze,e),c(a,fe)&&c(a[fe],r)&&(a[fe][r]=!1);var o=x(1,e);try{Ue(a,r,o)}catch(e){if(!(e instanceof ye))throw e;He(a,r,o)}};return a&&Ve&&Ue(J,r,{configurable:!0,set:i}),We(r,e)},ve=_e[me],P(ve,`toString`,function(){return ge(this).tag}),P(_e,`withoutSetter`,function(e){return We(te(e),e)}),N.f=Ye,j.f=Ge,M.f=qe,A.f=Xe,T.f=D.f=Ze,O.f=Qe,re.f=function(e){return We(U(e),e)},a&&(F(ve,`description`,{configurable:!0,get:function(){return ge(this).description}}),i||P(J,`propertyIsEnumerable`,Ye,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!o,sham:!o},{Symbol:_e}),ce(w(Be),function(e){ie(e)}),e({target:pe,stat:!0,forced:!o},{useSetter:function(){Ve=!0},useSimple:function(){Ve=!1}}),e({target:`Object`,stat:!0,forced:!o,sham:!a},{create:Je,defineProperty:Ge,defineProperties:qe,getOwnPropertyDescriptor:Xe}),e({target:`Object`,stat:!0,forced:!o},{getOwnPropertyNames:Ze}),ae(),oe(_e,pe),B[fe]=!0})),Je=o(((e,t)=>{t.exports=k()&&!!Symbol.for&&!!Symbol.keyFor})),Ye=o((()=>{var e=Y(),t=T(),n=V(),r=X(),i=z(),a=Je(),o=i(`string-to-symbol-registry`),s=i(`symbol-to-string-registry`);e({target:`Symbol`,stat:!0,forced:!a},{for:function(e){var i=r(e);if(n(o,i))return o[i];var a=t(`Symbol`)(i);return o[i]=a,s[a]=i,a}})})),Xe=o((()=>{var e=Y(),t=V(),n=j(),r=M(),i=z(),a=Je(),o=i(`symbol-to-string-registry`);e({target:`Symbol`,stat:!0,forced:!a},{keyFor:function(e){if(!n(e))throw TypeError(r(e)+` is not a symbol`);if(t(o,e))return o[e]}})})),Ze=o(((e,t)=>{var n=p(),r=Function.prototype,i=r.apply,a=r.call;t.exports=typeof Reflect==`object`&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})})),Qe=o(((e,t)=>{var n=w(),r=de().get;t.exports=function(e){if(!n(e))return!1;var t=r(e);return!!t&&t.type===`RawJSON`}})),$e=o(((e,t)=>{var n=_(),r=V(),i=SyntaxError,a=parseInt,o=String.fromCharCode,s=n(``.charAt),c=n(``.slice),l=n(/./.exec),u={'\\"':`"`,"\\\\":`\\`,"\\/":`/`,"\\b":`\b`,"\\f":`\f`,"\\n":`
8
+ `,"\\r":`\r`,"\\t":` `},d=/^[\da-f]{4}$/i,f=/^[\u0000-\u001F]$/;t.exports=function(e,t){for(var n=!0,p=``;t<e.length;){var m=s(e,t);if(m===`\\`){var h=c(e,t,t+2);if(r(u,h))p+=u[h],t+=2;else if(h===`\\u`){t+=2;var g=c(e,t,t+4);if(!l(d,g))throw new i(`Bad Unicode escape at: `+t);p+=o(a(g,16)),t+=4}else throw new i(`Unknown escape sequence: "`+h+`"`)}else if(m===`"`){n=!1,t++;break}else{if(l(f,m))throw new i(`Bad control character in string literal at: `+t);p+=m,t++}}if(n)throw new i(`Unterminated string at: `+t);return{value:p,end:t}}})),et=o(((e,t)=>{t.exports=!d()(function(){var e=`9007199254740993`,t=JSON.rawJSON(e);return!JSON.isRawJSON(t)||JSON.stringify(t)!==e})})),tt=o((()=>{var e=Y(),t=T(),n=Ze(),r=m(),i=_(),a=d(),o=Ve(),s=C(),c=Qe(),l=j(),u=v(),f=X(),p=je(),h=$e(),g=ee(),y=k(),b=et(),x=String,S=t(`JSON`,`stringify`),w=i(/./.exec),E=i(``.charAt),D=i(``.charCodeAt),O=i(``.replace),A=i(``.slice),M=i([].push),N=i(1.1.toString),P=/[\uD800-\uDFFF]/g,F=/^[\uD800-\uDBFF]$/,I=/^[\uDC00-\uDFFF]$/,L=g(),R=L.length,z=!y||a(function(){var e=t(`Symbol`)(`stringify detection`);return S([e])!==`[null]`||S({a:e})!==`{}`||S(Object(e))!==`{}`}),B=a(function(){return S(`\udf06\ud834`)!==`"\\udf06\\ud834"`||S(`\udead`)!==`"\\udead"`}),V=z?function(e,t){var i=p(arguments),a=te(t);if(!(!s(a)&&(e===void 0||l(e))))return i[1]=function(e,t){if(s(a)&&(t=r(a,this,x(e),t)),!l(t))return t},n(S,null,i)}:S,H=function(e,t,n){var r=E(n,t-1),i=E(n,t+1);return w(F,e)&&!w(I,i)||w(I,e)&&!w(F,r)?`\\u`+N(D(e,0),16):e},te=function(e){if(s(e))return e;if(o(e)){for(var t=e.length,n=[],r=0;r<t;r++){var i=e[r];typeof i==`string`?M(n,i):(typeof i==`number`||u(i)===`Number`||u(i)===`String`)&&M(n,f(i))}var a=n.length,c=!0;return function(e,t){if(c)return c=!1,t;if(o(this))return t;for(var r=0;r<a;r++)if(n[r]===e)return t}}};S&&e({target:`JSON`,stat:!0,arity:3,forced:z||B||!b},{stringify:function(e,t,n){var i=te(t),a=[],o=V(e,function(e,t){var n=s(i)?r(i,this,x(e),t):t;return!b&&c(n)?L+(M(a,n.rawJSON)-1):n},n);if(typeof o!=`string`||(B&&(o=O(o,P,H)),b))return o;for(var l=``,u=o.length,d=0;d<u;d++){var f=E(o,d);if(f===`"`){var p=h(o,++d).end-1,m=A(o,d,p);l+=A(m,0,R)===L?a[A(m,R)]:`"`+m+`"`,d=p}else l+=f}return l}})})),nt=o((()=>{var e=Y(),t=k(),n=d(),r=xe(),i=B();e({target:`Object`,stat:!0,forced:!t||n(function(){r.f(1)})},{getOwnPropertySymbols:function(e){var t=r.f;return t?t(i(e)):[]}})})),rt=o((()=>{qe(),Ye(),Xe(),tt(),nt()})),it=o((()=>{var e=Y(),t=f(),n=u(),r=m(),i=_(),a=V(),o=C(),s=E(),c=X(),l=Ne(),d=Ce(),p=n.Symbol,h=p&&p.prototype;if(t&&o(p)&&(!(`description`in h)||p().description!==void 0)){var g={},v=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:c(arguments[0]),t=s(h,this)?new p(e):e===void 0?p():p(e);return e===``&&(g[t]=!0),t};d(v,p);var y=v.for;v.for={for:function(e){var t=c(e),n=r(y,this,t);return t===``&&(g[n]=!0),n}}.for,v.prototype=h,h.constructor=v;var b=String(p(`description detection`))===`Symbol(description detection)`,x=i(h.valueOf),S=i(h.toString),w=/^Symbol\((.*)\)[^)]+$/,T=i(``.replace),D=i(``.slice);l(h,`description`,{configurable:!0,get:function(){var e=x(this);if(a(g,e))return``;var t=S(e),n=b?D(t,7,-1):T(t,w,`$1`);return n===``?void 0:n}}),e({global:!0,constructor:!0,forced:!0},{Symbol:v})}})),at=o((()=>{var e=u(),t=Ie(),n=K().f,r=W().f,i=e.Symbol;if(t(`asyncDispose`),i){var a=r(i,`asyncDispose`);a.enumerable&&a.configurable&&a.writable&&n(i,`asyncDispose`,{value:a.value,enumerable:!1,configurable:!1,writable:!1})}})),ot=o((()=>{Ie()(`asyncIterator`)})),st=o((()=>{var e=u(),t=Ie(),n=K().f,r=W().f,i=e.Symbol;if(t(`dispose`),i){var a=r(i,`dispose`);a.enumerable&&a.configurable&&a.writable&&n(i,`dispose`,{value:a.value,enumerable:!1,configurable:!1,writable:!1})}})),ct=o((()=>{Ie()(`hasInstance`)})),lt=o((()=>{Ie()(`isConcatSpreadable`)})),ut=o((()=>{Ie()(`iterator`)})),dt=o((()=>{Ie()(`match`)})),ft=o((()=>{Ie()(`matchAll`)})),pt=o((()=>{Ie()(`replace`)})),mt=o((()=>{Ie()(`search`)})),ht=o((()=>{Ie()(`species`)})),gt=o((()=>{Ie()(`split`)})),_t=o((()=>{var e=Ie(),t=Le();e(`toPrimitive`),t()})),vt=o((()=>{var e=T(),t=Ie(),n=Re();t(`toStringTag`),n(e(`Symbol`),`Symbol`)})),yt=o((()=>{Ie()(`unscopables`)})),bt=o(((e,t)=>{var n=_(),r=N();t.exports=function(e,t,i){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[i]))}catch{}}})),xt=o(((e,t)=>{var n=w();t.exports=function(e){return n(e)||e===null}})),St=o(((e,t)=>{var n=xt(),r=String,i=TypeError;t.exports=function(e){if(n(e))return e;throw new i(`Can't set `+r(e)+` as a prototype`)}})),Ct=o(((e,t)=>{var n=bt(),r=w(),i=x(),a=St();t.exports=Object.setPrototypeOf||(`__proto__`in{}?function(){var e=!1,t={},o;try{o=n(Object.prototype,`__proto__`,`set`),o(t,[]),e=t instanceof Array}catch{}return function(t,n){return i(t),a(n),r(t)&&(e?o(t,n):t.__proto__=n),t}}():void 0)})),wt=o(((e,t)=>{var n=K().f;t.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}})),Tt=o(((e,t)=>{var n=C(),r=w(),i=Ct();t.exports=function(e,t,a){var o,s;return i&&n(o=t.constructor)&&o!==a&&r(s=o.prototype)&&s!==a.prototype&&i(e,s),e}})),Et=o(((e,t)=>{var n=X();t.exports=function(e,t){return e===void 0?arguments.length<2?``:t:n(e)}})),Dt=o(((e,t)=>{var n=w(),r=ae();t.exports=function(e,t){n(t)&&`cause`in t&&r(e,`cause`,t.cause)}})),Ot=o(((e,t)=>{var n=_(),r=Error,i=n(``.replace),a=(function(e){return String(new r(e).stack)})(`zxcasd`),o=/\n\s*at [^:]*:[^\n]*/,s=o.test(a);t.exports=function(e,t){if(s&&typeof e==`string`&&!r.prepareStackTrace)for(;t--;)e=i(e,o,``);return e}})),kt=o(((e,t)=>{var n=d(),r=g();t.exports=!n(function(){var e=Error(`a`);return`stack`in e?(Object.defineProperty(e,"stack",r(1,7)),e.stack!==7):!0})})),At=o(((e,t)=>{var n=ae(),r=Ot(),i=kt(),a=Error.captureStackTrace;t.exports=function(e,t,o,s){i&&(a?a(e,t):n(e,`stack`,r(o,s)))}})),jt=o(((e,t)=>{var n=T(),r=V(),i=ae(),a=E(),o=Ct(),s=Ce(),c=wt(),l=Tt(),u=Et(),d=Dt(),p=At(),m=f(),h=I();t.exports=function(e,t,f,g){var _=`stackTraceLimit`,v=g?2:1,y=e.split(`.`),b=y[y.length-1],x=n.apply(null,y);if(x){var S=x.prototype;if(!h&&r(S,`cause`)&&delete S.cause,!f)return x;var C=n(`Error`),w=t(function(e,t){var n=u(g?t:e,void 0),r=g?new x(e):new x;return n!==void 0&&i(r,`message`,n),p(r,w,r.stack,2),this&&a(S,this)&&l(r,this,w),arguments.length>v&&d(r,arguments[v]),r});if(w.prototype=S,b===`Error`?m&&_ in x&&(c(w,x,_),c(w,x,`prepareStackTrace`)):o?o(w,C):s(w,C,{name:!0}),s(w,x),!h)try{S.name!==b&&i(S,`name`,b),S.constructor=w}catch{}return w}}})),Mt=o((()=>{var e=Y(),t=u(),n=Ze(),r=jt(),i=`WebAssembly`,a=t[i],o=Error(`e`,{cause:7}).cause!==7,s=function(t,n){var i={};i[t]=r(t,n,o),e({global:!0,constructor:!0,arity:1,forced:o},i)},c=function(t,n){if(a&&a[t]){var s={};s[t]=r(i+`.`+t,n,o),e({target:i,stat:!0,constructor:!0,arity:1,forced:o},s)}};s(`Error`,function(e){return function(t){return n(e,this,arguments)}}),s(`EvalError`,function(e){return function(t){return n(e,this,arguments)}}),s(`RangeError`,function(e){return function(t){return n(e,this,arguments)}}),s(`ReferenceError`,function(e){return function(t){return n(e,this,arguments)}}),s(`SyntaxError`,function(e){return function(t){return n(e,this,arguments)}}),s(`TypeError`,function(e){return function(t){return n(e,this,arguments)}}),s(`URIError`,function(e){return function(t){return n(e,this,arguments)}}),c(`CompileError`,function(e){return function(t){return n(e,this,arguments)}}),c(`LinkError`,function(e){return function(t){return n(e,this,arguments)}}),c(`RuntimeError`,function(e){return function(t){return n(e,this,arguments)}})})),Nt=o((()=>{var e=Y(),t=T(),n=w(),r=Ee(),i=d(),a=`Error`,o=`DOMException`,s=Object.setPrototypeOf||{}.__proto__,c=t(o),l=Error,u=l.isError;e({target:`Error`,stat:!0,sham:!0,forced:!u||!s||i(function(){return c&&!u(new c(o))||!u(new l(a,{cause:function(){}}))||u(t(`Object`,`create`)(l.prototype))})},{isError:function(e){if(!n(e))return!1;var t=r(e);return t===a||t===o}})})),Pt=o(((e,t)=>{var n=f(),r=d(),i=G(),a=Et(),o=Error.prototype.toString;t.exports=r(function(){if(n){var e=Object.create(Object.defineProperty({},"name",{get:function(){return this===e}}));if(o.call(e)!==`true`)return!0}return o.call({message:1,name:2})!==`2: 1`||o.call({})!==`Error`})?function(){var e=i(this),t=a(e.name,`Error`),n=a(e.message);return t?n?t+`: `+n:t:n}:o})),Ft=o((()=>{var e=q(),t=Pt(),n=Error.prototype;n.toString!==t&&e(n,`toString`,t)})),It=o(((e,t)=>{t.exports=!d()(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})})),Lt=o(((e,t)=>{var n=V(),r=C(),i=B(),a=le(),o=It(),s=a(`IE_PROTO`),c=Object,l=c.prototype;t.exports=o?c.getPrototypeOf:function(e){var t=i(e);if(n(t,s))return t[s];var a=t.constructor;return r(a)&&t instanceof a?a.prototype:t instanceof c?l:null}})),Rt=o(((e,t)=>{t.exports={}})),zt=o(((e,t)=>{var n=H(),r=Rt(),i=n(`iterator`),a=Array.prototype;t.exports=function(e){return e!==void 0&&(r.Array===e||a[i]===e)}})),Bt=o(((e,t)=>{var n=Ee(),r=P(),i=b(),a=Rt(),o=H()(`iterator`);t.exports=function(e){if(!i(e))return r(e,o)||r(e,`@@iterator`)||a[n(e)]}})),Vt=o(((e,t)=>{var n=m(),r=N(),i=G(),a=M(),o=Bt(),s=TypeError;t.exports=function(e,t){var c=arguments.length<2?o(e):t;if(r(c))return i(n(c,e));throw new s(a(e)+` is not iterable`)}})),Ht=o(((e,t)=>{var n=m(),r=G(),i=P();t.exports=function(e,t,a){var o,s;r(e);try{if(o=i(e,`return`),!o){if(t===`throw`)throw a;return a}o=n(o,e)}catch(e){s=!0,o=e}if(t===`throw`)throw a;if(s)throw o;return r(o),a}})),Ut=o(((e,t)=>{var n=Be(),r=m(),i=G(),a=M(),o=zt(),s=J(),c=E(),l=Vt(),u=Bt(),d=Ht(),f=TypeError,p=function(e,t){this.stopped=e,this.result=t},h=p.prototype;t.exports=function(e,t,m){var g=m&&m.that,_=!!(m&&m.AS_ENTRIES),v=!!(m&&m.IS_RECORD),y=!!(m&&m.IS_ITERATOR),b=!!(m&&m.INTERRUPTED),x=n(t,g),S,C,w,T,E,D,O,k=function(e){var t=S;return S=void 0,t&&d(t,`normal`),new p(!0,e)},A=function(e){return _?(i(e),b?x(e[0],e[1],k):x(e[0],e[1])):b?x(e,k):x(e)};if(v)S=e.iterator;else if(y)S=e;else{if(C=u(e),!C)throw new f(a(e)+` is not iterable`);if(o(C)){for(w=0,T=s(e);T>w;w++)if(E=A(e[w]),E&&c(h,E))return E;return new p(!1)}S=l(e,C)}for(D=v?e.next:S.next;!(O=r(D,S)).done;){var j=O.value;try{E=A(j)}catch(e){if(S)d(S,`throw`,e);else throw e}if(typeof E==`object`&&E&&c(h,E))return E}return new p(!1)}})),Wt=o((()=>{var e=Y(),t=E(),n=Lt(),r=Ct(),i=Ce(),a=Ae(),o=ae(),s=g(),c=Dt(),l=At(),u=Ut(),d=Et(),f=H()(`toStringTag`),p=Error,m=[].push,h=function(e,i){var s=t(_,this),g;r?g=r(new p,s?n(this):_):(g=s?this:a(_),o(g,f,`Error`)),i!==void 0&&o(g,`message`,d(i)),l(g,h,g.stack,1),arguments.length>2&&c(g,arguments[2]);var v=[];return u(e,m,{that:v}),o(g,`errors`,v),g};r?r(h,p):i(h,p,{name:!0});var _=h.prototype=a(p.prototype,{constructor:s(1,h),message:s(1,``),name:s(1,`AggregateError`)});e({global:!0,constructor:!0,arity:2},{AggregateError:h})})),Gt=o((()=>{Wt()})),Kt=o((()=>{var e=Y(),t=T(),n=Ze(),r=d(),i=jt(),a=`AggregateError`,o=t(a),s=!r(function(){return o([1]).errors[0]!==1})&&r(function(){return o([1],a,{cause:7}).cause!==7});e({global:!0,constructor:!0,arity:2,forced:s},{AggregateError:i(a,function(e){return function(t,r){return n(e,this,arguments)}},s,!0)})})),qt=o((()=>{var e=Y(),t=u(),n=E(),r=Lt(),i=Ct(),a=Ce(),o=Ae(),s=ae(),c=g(),l=At(),f=Et(),p=H(),m=d(),h=I(),_=t.SuppressedError,v=p(`toStringTag`),y=Error,b=!!_&&_.length!==3,x=!!_&&m(function(){return new _(1,2,3,{cause:4}).cause===4}),S=b||x,C=function(e,t,a){var c=n(w,this),u;return i?u=S&&(!c||r(this)===w)?new _:i(new y,c?r(this):w):(u=c?this:o(w),s(u,v,`Error`)),a!==void 0&&s(u,`message`,f(a)),l(u,C,u.stack,1),s(u,`error`,e),s(u,`suppressed`,t),u};i?i(C,y):a(C,y,{name:!0});var w=C.prototype=S?_.prototype:o(y.prototype,{constructor:c(1,C),message:c(1,``),name:c(1,`SuppressedError`)});S&&!h&&(w.constructor=C),e({global:!0,constructor:!0,arity:3,forced:S},{SuppressedError:C})})),Jt=o(((e,t)=>{var n=H(),r=Ae(),i=K().f,a=n(`unscopables`),o=Array.prototype;o[a]===void 0&&i(o,a,{configurable:!0,value:r(null)}),t.exports=function(e){o[a][e]=!0}})),Yt=o((()=>{var e=Y(),t=B(),n=J(),r=me(),i=Jt();e({target:`Array`,proto:!0},{at:function(e){var i=t(this),a=n(i),o=r(e),s=o>=0?o:a+o;return s<0||s>=a?void 0:i[s]}}),i(`at`)})),Xt=o(((e,t)=>{var n=TypeError,r=9007199254740991;t.exports=function(e){if(e>r)throw new n(`Maximum allowed index exceeded`);return e}})),Zt=o(((e,t)=>{var n=f(),r=Ve(),i=TypeError,a=Object.getOwnPropertyDescriptor;t.exports=n&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(r(e)&&!a(e,`length`).writable)throw new i(`Cannot set read only .length`);return e.length=t}:function(e,t){return e.length=t}})),Qt=o(((e,t)=>{var n=d(),r=H(),i=O(),a=r(`species`);t.exports=function(e){return i>=51||!n(function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},t[e](Boolean).foo!==1})}})),$t=o((()=>{var e=Y(),t=d(),n=Ve(),r=w(),i=B(),a=J(),o=Xt(),s=Ge(),c=Zt(),l=We(),u=Qt(),f=H(),p=O(),m=f(`isConcatSpreadable`),h=p>=51||!t(function(){var e=[];return e[m]=!1,e.concat()[0]!==e}),g=function(e){if(!r(e))return!1;var t=e[m];return t===void 0?n(e):!!t};e({target:`Array`,proto:!0,arity:1,forced:!h||!u(`concat`)},{concat:function(e){var t=i(this),n=l(t,0),r=0,u,d,f,p,m;for(u=-1,f=arguments.length;u<f;u++)if(m=u===-1?t:arguments[u],g(m))for(p=a(m),o(r+p),d=0;d<p;d++,r++)d in m&&s(n,r,m[d]);else o(r+1),s(n,r++,m);return c(n,r),n}})})),en=o(((e,t)=>{var n=M(),r=TypeError;t.exports=function(e,t){if(!delete e[t])throw new r(`Cannot delete property `+n(t)+` of `+n(e))}})),tn=o(((e,t)=>{var n=B(),r=he(),i=J(),a=en(),o=Math.min;t.exports=[].copyWithin||function(e,t){var s=n(this),c=i(s),l=r(e,c),u=r(t,c),d=arguments.length>2?arguments[2]:void 0,f=o((d===void 0?c:r(d,c))-u,c-l),p=1;for(u<l&&l<u+f&&(p=-1,u+=f-1,l+=f-1);f-- >0;)u in s?s[l]=s[u]:a(s,l),l+=p,u+=p;return s}})),nn=o((()=>{var e=Y(),t=tn(),n=Jt();e({target:`Array`,proto:!0},{copyWithin:t}),n(`copyWithin`)})),rn=o(((e,t)=>{var n=d();t.exports=function(e,t){var r=[][e];return!!r&&n(function(){r.call(null,t||function(){return 1},1)})}})),an=o((()=>{var e=Y(),t=Ke().every;e({target:`Array`,proto:!0,forced:!rn()(`every`)},{every:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}})})),on=o(((e,t)=>{var n=B(),r=he(),i=J();t.exports=function(e){for(var t=n(this),a=i(t),o=arguments.length,s=r(o>1?arguments[1]:void 0,a),c=o>2?arguments[2]:void 0,l=c===void 0?a:r(c,a);l>s;)t[s++]=e;return t}})),sn=o((()=>{var e=Y(),t=on(),n=Jt();e({target:`Array`,proto:!0},{fill:t}),n(`fill`)})),cn=o((()=>{var e=Y(),t=Ke().filter;e({target:`Array`,proto:!0,forced:!Qt()(`filter`)},{filter:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}})})),ln=o((()=>{var e=Y(),t=Ke().find,n=Jt(),r=`find`,i=!0;r in[]&&[,][r](function(){i=!1}),e({target:`Array`,proto:!0,forced:i},{find:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),n(r)})),un=o((()=>{var e=Y(),t=Ke().findIndex,n=Jt(),r=`findIndex`,i=!0;r in[]&&[,][r](function(){i=!1}),e({target:`Array`,proto:!0,forced:i},{findIndex:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),n(r)})),dn=o(((e,t)=>{var n=Be(),r=y(),i=B(),a=J(),o=function(e){var t=e===1;return function(o,s,c){for(var l=i(o),u=r(l),d=a(u),f=n(s,c),p,m;d-- >0;)if(p=u[d],m=f(p,d,l),m)switch(e){case 0:return p;case 1:return d}return t?-1:void 0}};t.exports={findLast:o(0),findLastIndex:o(1)}})),fn=o((()=>{var e=Y(),t=dn().findLast,n=Jt();e({target:`Array`,proto:!0},{findLast:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),n(`findLast`)})),pn=o((()=>{var e=Y(),t=dn().findLastIndex,n=Jt();e({target:`Array`,proto:!0},{findLastIndex:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),n(`findLastIndex`)})),mn=o(((e,t)=>{var n=Ve(),r=J(),i=Xt(),a=Be(),o=Ge(),s=function(e,t,c,l,u,d,f,p){for(var m=u,h=0,g=f?a(f,p):!1,_,v;h<l;)h in c&&(_=g?g(c[h],h,t):c[h],d>0&&n(_)?(v=r(_),m=s(e,t,_,v,m,d-1)-1):(i(m+1),o(e,m,_)),m++),h++;return m};t.exports=s})),hn=o((()=>{var e=Y(),t=mn(),n=B(),r=J(),i=me(),a=We();e({target:`Array`,proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,o=n(this),s=r(o),c=e===void 0?1:i(e),l=a(o,0);return t(l,o,o,s,0,c),l}})})),gn=o((()=>{var e=Y(),t=mn(),n=N(),r=B(),i=J(),a=We();e({target:`Array`,proto:!0},{flatMap:function(e){var o=r(this),s=i(o),c;return n(e),c=a(o,0),t(c,o,o,s,0,1,e,arguments.length>1?arguments[1]:void 0),c}})})),_n=o(((e,t)=>{var n=Ke().forEach;t.exports=rn()(`forEach`)?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}})),vn=o((()=>{var e=Y(),t=_n();e({target:`Array`,proto:!0,forced:[].forEach!==t},{forEach:t})})),yn=o(((e,t)=>{var n=G(),r=Ht();t.exports=function(e,t,i,a){try{return a?t(n(i)[0],i[1]):t(i)}catch(t){r(e,`throw`,t)}}})),bn=o(((e,t)=>{var n=Be(),r=m(),i=B(),a=yn(),o=zt(),s=He(),c=J(),l=Ge(),u=Zt(),d=Vt(),f=Bt(),p=Ht(),h=Array;t.exports=function(e){var t=s(this),m=arguments.length,g=m>1?arguments[1]:void 0,_=g!==void 0;_&&(g=n(g,m>2?arguments[2]:void 0));var v=i(e),y=f(v),b=0,x,S,C,w,T,E;if(y&&!(this===h&&o(y)))for(S=t?new this:[],w=d(v,y),T=w.next;!(C=r(T,w)).done;b++){E=_?a(w,g,[C.value,b],!0):C.value;try{l(S,b,E)}catch(e){p(w,`throw`,e)}}else for(x=c(v),S=t?new this(x):h(x);x>b;b++)E=_?g(v[b],b):v[b],l(S,b,E);return u(S,b),S}})),xn=o(((e,t)=>{var n=H()(`iterator`),r=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){r=!0}};a[n]=function(){return this},Array.from(a,function(){throw 2})}catch{}t.exports=function(e,t){try{if(!t&&!r)return!1}catch{return!1}var i=!1;try{var a={};a[n]=function(){return{next:function(){return{done:i=!0}}}},e(a)}catch{}return i}})),Sn=o((()=>{var e=Y(),t=bn();e({target:`Array`,stat:!0,forced:!xn()(function(e){Array.from(e)})},{from:t})})),Cn=o((()=>{var e=Y(),t=_e().includes,n=d(),r=Jt(),i=n(function(){return![,].includes()}),a=n(function(){return[,1].includes(void 0,1)});e({target:`Array`,proto:!0,forced:i||a},{includes:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),r(`includes`)})),wn=o((()=>{var e=Y(),t=ze(),n=_e().indexOf,r=rn(),i=t([].indexOf),a=!!i&&1/i([1],1,-0)<0;e({target:`Array`,proto:!0,forced:a||!r(`indexOf`)},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return a?i(this,e,t)||0:n(this,e,t)}})})),Tn=o((()=>{Y()({target:`Array`,stat:!0},{isArray:Ve()})})),En=o(((e,t)=>{var n=d(),r=C(),i=w(),a=Ae(),o=Lt(),s=q(),c=H(),l=I(),u=c(`iterator`),f=!1,p,m,h;[].keys&&(h=[].keys(),`next`in h?(m=o(o(h)),m!==Object.prototype&&(p=m)):f=!0),!i(p)||n(function(){var e={};return p[u].call(e)!==e})?p={}:l&&(p=a(p)),r(p[u])||s(p,u,function(){return this}),t.exports={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:f}})),Dn=o(((e,t)=>{var n=En().IteratorPrototype,r=Ae(),i=g(),a=Re(),o=Rt(),s=function(){return this};t.exports=function(e,t,c,l){var u=t+` Iterator`;return e.prototype=r(n,{next:i(+!l,c)}),a(e,u,!1,!0),o[u]=s,e}})),On=o(((e,t)=>{var n=Y(),r=m(),i=I(),a=oe(),o=C(),s=Dn(),c=Lt(),l=Ct(),u=Re(),d=ae(),f=q(),p=H(),h=Rt(),g=En(),_=a.PROPER,v=a.CONFIGURABLE,y=g.IteratorPrototype,b=g.BUGGY_SAFARI_ITERATORS,x=p(`iterator`),S=`keys`,w=`values`,T=`entries`,E=function(){return this};t.exports=function(e,t,a,p,m,g,C){s(a,t,p);var D=function(e){if(e===m&&M)return M;if(!b&&e&&e in A)return A[e];switch(e){case S:return function(){return new a(this,e)};case w:return function(){return new a(this,e)};case T:return function(){return new a(this,e)}}return function(){return new a(this)}},O=t+` Iterator`,k=!1,A=e.prototype,j=A[x]||A[`@@iterator`]||m&&A[m],M=!b&&j||D(m),N=t===`Array`&&A.entries||j,P,F,I;if(N&&(P=c(N.call(new e)),P!==Object.prototype&&P.next&&(!i&&c(P)!==y&&(l?l(P,y):o(P[x])||f(P,x,E)),u(P,O,!0,!0),i&&(h[O]=E))),_&&m===w&&j&&j.name!==w&&(!i&&v?d(A,`name`,w):(k=!0,M=function(){return r(j,this)})),m)if(F={values:D(w),keys:g?M:D(S),entries:D(T)},C)for(I in F)(b||k||!(I in A))&&f(A,I,F[I]);else n({target:t,proto:!0,forced:b||k},F);return(!i||C)&&A[x]!==M&&f(A,x,M,{name:m}),h[t]=M,F}})),kn=o(((e,t)=>{t.exports=function(e,t){return{value:e,done:t}}})),An=o(((e,t)=>{var n=S(),r=Jt(),i=Rt(),a=de(),o=K().f,s=On(),c=kn(),l=I(),u=f(),d=`Array Iterator`,p=a.set,m=a.getterFor(d);t.exports=s(Array,`Array`,function(e,t){p(this,{type:d,target:n(e),index:0,kind:t})},function(){var e=m(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,c(void 0,!0);switch(e.kind){case`keys`:return c(n,!1);case`values`:return c(t[n],!1)}return c([n,t[n]],!1)},`values`);var h=i.Arguments=i.Array;if(r(`keys`),r(`values`),r(`entries`),!l&&u&&h.name!==`values`)try{o(h,`name`,{value:`values`})}catch{}})),jn=o((()=>{var e=Y(),t=_(),n=y(),r=S(),i=rn(),a=t([].join);e({target:`Array`,proto:!0,forced:n!==Object||!i(`join`,`,`)},{join:function(e){return a(r(this),e===void 0?`,`:e)}})})),Mn=o(((e,t)=>{var n=Ze(),r=S(),i=me(),a=J(),o=rn(),s=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,u=o(`lastIndexOf`);t.exports=l||!u?function(e){if(l)return n(c,this,arguments)||0;var t=r(this),o=a(t);if(o===0)return-1;var u=o-1;for(arguments.length>1&&(u=s(u,i(arguments[1]))),u<0&&(u=o+u);u>=0;u--)if(u in t&&t[u]===e)return u||0;return-1}:c})),Nn=o((()=>{var e=Y(),t=Mn();e({target:`Array`,proto:!0,forced:t!==[].lastIndexOf},{lastIndexOf:t})})),Pn=o((()=>{var e=Y(),t=Ke().map;e({target:`Array`,proto:!0,forced:!Qt()(`map`)},{map:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}})})),Fn=o((()=>{var e=Y(),t=d(),n=He(),r=Ge(),i=Zt(),a=Array;e({target:`Array`,stat:!0,forced:t(function(){function e(){}return!(a.of.call(e)instanceof e)})},{of:function(){for(var e=0,t=arguments.length,o=new(n(this)?this:a)(t);t>e;)r(o,e,arguments[e++]);return i(o,t),o}})})),In=o((()=>{var e=Y(),t=B(),n=J(),r=Zt(),i=Xt();e({target:`Array`,proto:!0,arity:1,forced:d()(function(){return[].push.call({length:4294967296},1)!==4294967297})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var a=t(this),o=n(a),s=arguments.length;i(o+s);for(var c=0;c<s;c++)a[o]=arguments[c],o++;return r(a,o),o}})})),Ln=o(((e,t)=>{var n=N(),r=B(),i=y(),a=J(),o=TypeError,s=`Reduce of empty array with no initial value`,c=function(e){return function(t,c,l,u){var d=r(t),f=i(d),p=a(d);if(n(c),p===0&&l<2)throw new o(s);var m=e?p-1:0,h=e?-1:1;if(l<2)for(;;){if(m in f){u=f[m],m+=h;break}if(m+=h,e?m<0:p<=m)throw new o(s)}for(;e?m>=0:p>m;m+=h)m in f&&(u=c(u,f[m],m,d));return u}};t.exports={left:c(!1),right:c(!0)}})),Rn=o(((e,t)=>{var n=u(),r=D(),i=v(),a=function(e){return r.slice(0,e.length)===e};t.exports=(function(){return a(`Bun/`)?`BUN`:a(`Cloudflare-Workers`)?`CLOUDFLARE`:a(`Deno/`)?`DENO`:a(`Node.js/`)?`NODE`:n.Bun&&typeof Bun.version==`string`?`BUN`:n.Deno&&typeof Deno.version==`object`?`DENO`:i(n.process)===`process`?`NODE`:n.window&&n.document?`BROWSER`:`REST`})()})),zn=o(((e,t)=>{t.exports=Rn()===`NODE`})),Bn=o((()=>{var e=Y(),t=Ln().left,n=rn(),r=O();e({target:`Array`,proto:!0,forced:!zn()&&r>79&&r<83||!n(`reduce`)},{reduce:function(e){var n=arguments.length;return t(this,e,n,n>1?arguments[1]:void 0)}})})),Vn=o((()=>{var e=Y(),t=Ln().right,n=rn(),r=O();e({target:`Array`,proto:!0,forced:!zn()&&r>79&&r<83||!n(`reduceRight`)},{reduceRight:function(e){return t(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})})),Hn=o((()=>{var e=Y(),t=_(),n=Ve(),r=t([].reverse),i=[1,2];e({target:`Array`,proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return n(this)&&(this.length=this.length),r(this)}})})),Un=o((()=>{var e=Y(),t=Ve(),n=He(),r=w(),i=he(),a=J(),o=S(),s=Ge(),c=Zt(),l=H(),u=Qt(),d=je(),f=u(`slice`),p=l(`species`),m=Array,h=Math.max;e({target:`Array`,proto:!0,forced:!f},{slice:function(e,l){var u=o(this),f=a(u),g=i(e,f),_=i(l===void 0?f:l,f),v,y,b;if(t(u)&&(v=u.constructor,n(v)&&(v===m||t(v.prototype))?v=void 0:r(v)&&(v=v[p],v===null&&(v=void 0)),v===m||v===void 0))return d(u,g,_);for(y=new(v===void 0?m:v)(h(_-g,0)),b=0;g<_;g++,b++)g in u&&s(y,b,u[g]);return c(y,b),y}})})),Wn=o((()=>{var e=Y(),t=Ke().some;e({target:`Array`,proto:!0,forced:!rn()(`some`)},{some:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}})})),Gn=o(((e,t)=>{var n=je(),r=Math.floor,i=function(e,t){var a=e.length;if(a<8)for(var o=1,s,c;o<a;){for(c=o,s=e[o];c&&t(e[c-1],s)>0;)e[c]=e[--c];c!==o++&&(e[c]=s)}else for(var l=r(a/2),u=i(n(e,0,l),t),d=i(n(e,l),t),f=u.length,p=d.length,m=0,h=0;m<f||h<p;)e[m+h]=m<f&&h<p?t(u[m],d[h])<=0?u[m++]:d[h++]:m<f?u[m++]:d[h++];return e};t.exports=i})),Kn=o(((e,t)=>{var n=D().match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]})),qn=o(((e,t)=>{var n=D();t.exports=/MSIE|Trident/.test(n)})),Jn=o(((e,t)=>{var n=D().match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]})),Yn=o((()=>{var e=Y(),t=_(),n=N(),r=B(),i=J(),a=en(),o=X(),s=d(),c=Gn(),l=rn(),u=Kn(),f=qn(),p=O(),m=Jn(),h=[],g=t(h.sort),v=t(h.push),y=s(function(){h.sort(void 0)}),b=s(function(){h.sort(null)}),x=l(`sort`),S=!s(function(){if(p)return p<70;if(!(u&&u>3)){if(f)return!0;if(m)return m<603;var e=``,t,n,r,i;for(t=65;t<76;t++){switch(n=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(i=0;i<47;i++)h.push({k:n+i,v:r})}for(h.sort(function(e,t){return t.v-e.v}),i=0;i<h.length;i++)n=h[i].k.charAt(0),e.charAt(e.length-1)!==n&&(e+=n);return e!==`DGBEFHACIJK`}}),C=y||!b||!x||!S,w=function(e){return function(t,n){if(n===void 0)return-1;if(t===void 0)return 1;if(e!==void 0)return+e(t,n)||0;var r=o(t),i=o(n);return r===i?0:r>i?1:-1}};e({target:`Array`,proto:!0,forced:C},{sort:function(e){e!==void 0&&n(e);var t=r(this);if(S)return e===void 0?g(t):g(t,e);var o=[],s=i(t),l,u;for(u=0;u<s;u++)u in t&&v(o,t[u]);for(c(o,w(e)),l=i(o),u=0;u<l;)t[u]=o[u++];for(;u<s;)a(t,u++);return t}})})),Xn=o(((e,t)=>{var n=T(),r=Ne(),i=H(),a=f(),o=i(`species`);t.exports=function(e){var t=n(e);a&&t&&!t[o]&&r(t,o,{configurable:!0,get:function(){return this}})}})),Zn=o((()=>{Xn()(`Array`)})),Qn=o((()=>{var e=Y(),t=B(),n=he(),r=me(),i=J(),a=Zt(),o=Xt(),s=We(),c=Ge(),l=en(),u=Qt()(`splice`),d=Math.max,f=Math.min;e({target:`Array`,proto:!0,forced:!u},{splice:function(e,u){var p=t(this),m=i(p),h=n(e,m),g=arguments.length,_,v,y,b,x,S;for(g===0?_=v=0:g===1?(_=0,v=m-h):(_=g-2,v=f(d(r(u),0),m-h)),o(m+_-v),y=s(p,v),b=0;b<v;b++)x=h+b,x in p&&c(y,b,p[x]);if(a(y,v),_<v){for(b=h;b<m-v;b++)x=b+v,S=b+_,x in p?p[S]=p[x]:l(p,S);for(b=m;b>m-v+_;b--)l(p,b-1)}else if(_>v)for(b=m-v;b>h;b--)x=b+v-1,S=b+_-1,x in p?p[S]=p[x]:l(p,S);for(b=0;b<_;b++)p[b+h]=arguments[b+2];return a(p,m-v+_),y}})})),$n=o((()=>{var e=Y(),t=J(),n=S(),r=Ge(),i=Jt(),a=Array;e({target:`Array`,proto:!0},{toReversed:function(){for(var e=n(this),i=t(e),o=new a(i),s=0;s<i;s++)r(o,s,e[i-s-1]);return o}}),i(`toReversed`)})),er=o(((e,t)=>{var n=J();t.exports=function(e,t,r){for(var i=0,a=arguments.length>2?r:n(t),o=new e(a);a>i;)o[i]=t[i++];return o}})),tr=o(((e,t)=>{var n=u();t.exports=function(e,t){var r=n[e],i=r&&r.prototype;return i&&i[t]}})),nr=o((()=>{var e=Y(),t=_(),n=N(),r=S(),i=er(),a=tr(),o=Jt(),s=Array,c=t(a(`Array`,`sort`));e({target:`Array`,proto:!0},{toSorted:function(e){return e!==void 0&&n(e),c(i(s,r(this)),e)}}),o(`toSorted`)})),rr=o((()=>{var e=Y(),t=Jt(),n=Xt(),r=J(),i=he(),a=S(),o=me(),s=Ge(),c=Array,l=Math.max,u=Math.min;e({target:`Array`,proto:!0},{toSpliced:function(e,t){var d=a(this),f=r(d),p=i(e,f),m=arguments.length,h=0,g,_,v,y;for(m===0?g=_=0:m===1?(g=0,_=f-p):(g=m-2,_=u(l(o(t),0),f-p)),v=n(f+g-_),y=c(v);h<p;h++)s(y,h,d[h]);for(;h<p+g;h++)s(y,h,arguments[h-p+2]);for(;h<v;h++)s(y,h,d[h+_-g]);return y}}),t(`toSpliced`)})),ir=o((()=>{Jt()(`flat`)})),ar=o((()=>{Jt()(`flatMap`)})),or=o((()=>{var e=Y(),t=B(),n=J(),r=Zt(),i=en(),a=Xt();e({target:`Array`,proto:!0,arity:1,forced:[].unshift(0)!==1||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}()},{unshift:function(e){var o=t(this),s=n(o),c=arguments.length;if(c){a(s+c);for(var l=s;l--;){var u=l+c;l in o?o[u]=o[l]:i(o,u)}for(var d=0;d<c;d++)o[d]=arguments[d]}return r(o,s+c)}})})),sr=o((()=>{var e=Y(),t=J(),n=me(),r=S(),i=Ge(),a=Array,o=RangeError;e({target:`Array`,proto:!0,forced:(function(){try{[].with({valueOf:function(){throw 4}},null)}catch(e){return e!==4}})()},{with:function(e,s){var c=r(this),l=t(c),u=n(e),d=u<0?l+u:u;if(d>=l||d<0)throw new o(`Incorrect index`);for(var f=new a(l),p=0;p<l;p++)i(f,p,p===d?s:c[p]);return f}})})),cr=o(((e,t)=>{t.exports=typeof ArrayBuffer<`u`&&typeof DataView<`u`})),lr=o(((e,t)=>{var n=q();t.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}})),ur=o(((e,t)=>{var n=E(),r=TypeError;t.exports=function(e,t){if(n(t,e))return e;throw new r(`Incorrect invocation`)}})),dr=o(((e,t)=>{var n=me(),r=ge(),i=RangeError;t.exports=function(e){if(e===void 0)return 0;var t=n(e),a=r(t);if(t!==a)throw new i(`Wrong length or index`);return a}})),fr=o(((e,t)=>{t.exports=Math.sign||function(e){var t=+e;return t===0||t!==t?t:t<0?-1:1}})),pr=o(((e,t)=>{var n=1/2220446049250313e-31;t.exports=function(e){return e+n-n}})),mr=o(((e,t)=>{var n=fr(),r=pr(),i=Math.abs,a=2220446049250313e-31;t.exports=function(e,t,o,s){var c=+e,l=i(c),u=n(c);if(l<s)return u*r(l/s/t)*s*t;var d=(1+t/a)*l,f=d-(d-l);return f>o||f!==f?u*(1/0):u*f}})),hr=o(((e,t)=>{var n=mr(),r=1.1920928955078125e-7,i=34028234663852886e22,a=11754943508222875e-54;t.exports=Math.fround||function(e){return n(e,r,i,a)}})),gr=o(((e,t)=>{var n=Array,r=Math.abs,i=Math.pow,a=Math.floor,o=Math.log,s=Math.LN2;t.exports={pack:function(e,t,c){var l=n(c),u=c*8-t-1,d=(1<<u)-1,f=d>>1,p=t===23?i(2,-24)-i(2,-77):0,m=+(e<0||e===0&&1/e<0),h=0,g,_,v;for(e=r(e),e!==e||e===1/0?(_=e===e?0:1,g=d):(g=a(o(e)/s),v=i(2,-g),e*v<1&&(g--,v*=2),g+f>=1?e+=p/v:e+=p*i(2,1-f),e*v>=2&&(g++,v/=2),g+f>=d?(_=0,g=d):g+f>=1?(_=(e*v-1)*i(2,t),g+=f):(_=e*i(2,f-1)*i(2,t),g=0));t>=8;)l[h++]=_&255,_/=256,t-=8;for(g=g<<t|_,u+=t;u>0;)l[h++]=g&255,g/=256,u-=8;return l[h-1]|=m*128,l},unpack:function(e,t){var n=e.length,r=n*8-t-1,a=(1<<r)-1,o=a>>1,s=r-7,c=n-1,l=e[c--],u=l&127,d;for(l>>=7;s>0;)u=u*256+e[c--],s-=8;for(d=u&(1<<-s)-1,u>>=-s,s+=t;s>0;)d=d*256+e[c--],s-=8;if(u===0)u=1-o;else if(u===a)return d?NaN:l?-1/0:1/0;else d+=i(2,t),u-=o;return(l?-1:1)*d*i(2,u-t)}}})),_r=o(((e,t)=>{var n=u(),r=_(),i=f(),a=cr(),o=oe(),s=ae(),c=Ne(),l=lr(),p=d(),m=ur(),h=me(),g=dr(),v=hr(),y=gr(),b=Lt(),x=Ct(),S=on(),C=je(),w=Tt(),T=Ce(),E=Re(),D=de(),O=o.PROPER,k=o.CONFIGURABLE,A=`ArrayBuffer`,j=`DataView`,M=`prototype`,N=`Wrong length`,P=`Wrong index`,F=D.getterFor(A),I=D.getterFor(j),L=D.set,R=n[A],z=R,B=z&&z[M],V=n[j],ee=V&&V[M],H=Object.prototype,te=n.Array,ne=n.RangeError,U=r(S),re=r([].reverse),W=y.pack,ie=y.unpack,G=function(e){return[e&255]},K=function(e){return[e&255,e>>8&255]},se=function(e){return[e&255,e>>8&255,e>>16&255,e>>24&255]},ce=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},le=function(e){return W(v(e),23,4)},ue=function(e){return W(e,52,8)},fe=function(e,t,n){c(e[M],t,{configurable:!0,get:function(){return n(this)[t]}})},q=function(e,t,n,r){var i=I(e),a=g(n),o=!!r;if(a+t>i.byteLength)throw new ne(P);var s=i.bytes,c=a+i.byteOffset,l=C(s,c,c+t);return o?l:re(l)},pe=function(e,t,n,r,i,a){var o=I(e),s=g(n),c=r(+i),l=!!a;if(s+t>o.byteLength)throw new ne(P);for(var u=o.bytes,d=s+o.byteOffset,f=0;f<t;f++)u[d+f]=c[l?f:t-f-1]};if(!a)z=function(e){m(this,B);var t=g(e);L(this,{type:A,bytes:U(te(t),0),byteLength:t}),i||(this.byteLength=t,this.detached=!1)},B=z[M],V=function(e,t,n){m(this,ee),m(e,B);var r=F(e),a=r.byteLength,o=h(t);if(o<0||o>a)throw new ne(`Wrong offset`);if(n=n===void 0?a-o:g(n),o+n>a)throw new ne(N);L(this,{type:j,buffer:e,byteLength:n,byteOffset:o,bytes:r.bytes}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},ee=V[M],i&&(fe(z,`byteLength`,F),fe(V,`buffer`,I),fe(V,`byteLength`,I),fe(V,`byteOffset`,I)),l(ee,{getInt8:function(e){return q(this,1,e)[0]<<24>>24},getUint8:function(e){return q(this,1,e)[0]},getInt16:function(e){var t=q(this,2,e,arguments.length>1?arguments[1]:!1);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=q(this,2,e,arguments.length>1?arguments[1]:!1);return t[1]<<8|t[0]},getInt32:function(e){return ce(q(this,4,e,arguments.length>1?arguments[1]:!1))},getUint32:function(e){return ce(q(this,4,e,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(e){return ie(q(this,4,e,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(e){return ie(q(this,8,e,arguments.length>1?arguments[1]:!1),52)},setInt8:function(e,t){pe(this,1,e,G,t)},setUint8:function(e,t){pe(this,1,e,G,t)},setInt16:function(e,t){pe(this,2,e,K,t,arguments.length>2?arguments[2]:!1)},setUint16:function(e,t){pe(this,2,e,K,t,arguments.length>2?arguments[2]:!1)},setInt32:function(e,t){pe(this,4,e,se,t,arguments.length>2?arguments[2]:!1)},setUint32:function(e,t){pe(this,4,e,se,t,arguments.length>2?arguments[2]:!1)},setFloat32:function(e,t){pe(this,4,e,le,t,arguments.length>2?arguments[2]:!1)},setFloat64:function(e,t){pe(this,8,e,ue,t,arguments.length>2?arguments[2]:!1)}});else{var he=O&&R.name!==A;!p(function(){R(1)})||!p(function(){new R(-1)})||p(function(){return new R,new R(1.5),new R(NaN),R.length!==1||he&&!k})?(z=function(e){return m(this,B),w(new R(g(e)),this,z)},z[M]=B,B.constructor=z,T(z,R)):he&&k&&s(R,`name`,A),x&&b(ee)!==H&&x(ee,H);var ge=new V(new z(2)),J=r(ee.setInt8);ge.setInt8(0,2147483648),ge.setInt8(1,2147483649),(ge.getInt8(0)||!ge.getInt8(1))&&l(ee,{setInt8:function(e,t){J(this,e,t<<24>>24)},setUint8:function(e,t){J(this,e,t<<24>>24)}},{unsafe:!0})}E(z,A),E(V,j),t.exports={ArrayBuffer:z,DataView:V}})),vr=o((()=>{var e=Y(),t=u(),n=_r(),r=Xn(),i=`ArrayBuffer`,a=n[i],o=t[i];e({global:!0,constructor:!0,forced:o!==a},{ArrayBuffer:a}),r(i)})),Z=o(((e,t)=>{var n=cr(),r=f(),i=u(),a=C(),o=w(),s=V(),c=Ee(),l=M(),d=ae(),p=q(),m=Ne(),h=E(),g=Lt(),_=Ct(),v=H(),y=ee(),b=de(),x=b.enforce,S=b.get,T=i.Int8Array,D=T&&T.prototype,O=i.Uint8ClampedArray,k=O&&O.prototype,A=T&&g(T),j=D&&g(D),N=Object.prototype,P=i.TypeError,F=v(`toStringTag`),I=y(`TYPED_ARRAY_TAG`),L=`TypedArrayConstructor`,R=n&&!!_&&c(i.opera)!==`Opera`,z=!1,B,te,ne,U={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},re={BigInt64Array:8,BigUint64Array:8},W=function(e){if(!o(e))return!1;var t=c(e);return t===`DataView`||s(U,t)||s(re,t)},ie=function(e){var t=g(e);if(o(t)){var n=S(t);return n&&s(n,L)?n[L]:ie(t)}},G=function(e){if(!o(e))return!1;var t=c(e);return s(U,t)||s(re,t)},K=function(e){if(G(e))return e;throw new P(`Target is not a typed array`)},oe=function(e){if(a(e)&&(!_||h(A,e)))return e;throw new P(l(e)+` is not a typed array constructor`)},se=function(e,t,n,a){if(r){if(n)for(var o in U){var c=i[o];if(c&&s(c.prototype,e))try{delete c.prototype[e]}catch{try{c.prototype[e]=t}catch{}}}(!j[e]||n)&&p(j,e,n?t:R&&D[e]||t,a)}},ce=function(e,t,n){var a,o;if(r){if(_){if(n){for(a in U)if(o=i[a],o&&s(o,e))try{delete o[e]}catch{}}if(!A[e]||n)try{return p(A,e,n?t:R&&A[e]||t)}catch{}else return}for(a in U)o=i[a],o&&(!o[e]||n)&&p(o,e,t)}};for(B in U)te=i[B],ne=te&&te.prototype,ne?x(ne)[L]=te:R=!1;for(B in re)te=i[B],ne=te&&te.prototype,ne&&(x(ne)[L]=te);if((!R||!a(A)||A===Function.prototype)&&(A=function(){throw new P(`Incorrect invocation`)},R))for(B in U)i[B]&&_(i[B],A);if((!R||!j||j===N)&&(j=A.prototype,R))for(B in U)i[B]&&_(i[B].prototype,j);if(R&&g(k)!==j&&_(k,j),r&&!s(j,F))for(B in z=!0,m(j,F,{configurable:!0,get:function(){return o(this)?this[I]:void 0}}),U)i[B]&&d(i[B].prototype,I,B);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:R,TYPED_ARRAY_TAG:z&&I,aTypedArray:K,aTypedArrayConstructor:oe,exportTypedArrayMethod:se,exportTypedArrayStaticMethod:ce,getTypedArrayConstructor:ie,isView:W,isTypedArray:G,TypedArray:A,TypedArrayPrototype:j}})),yr=o((()=>{var e=Y(),t=Z(),n=t.NATIVE_ARRAY_BUFFER_VIEWS;e({target:`ArrayBuffer`,stat:!0,forced:!n},{isView:t.isView})})),br=o((()=>{var e=Y(),t=ze(),n=d(),r=_r(),i=G(),a=he(),o=ge(),s=r.ArrayBuffer,c=r.DataView,l=c.prototype,u=t(s.prototype.slice),f=t(l.getUint8),p=t(l.setUint8);e({target:`ArrayBuffer`,proto:!0,unsafe:!0,forced:n(function(){return!new s(2).slice(1,void 0).byteLength})},{slice:function(e,t){if(u&&t===void 0)return u(i(this),e);for(var n=i(this).byteLength,r=a(e,n),l=a(t===void 0?n:t,n),d=new s(o(l-r)),m=new c(this),h=new c(d),g=0;r<l;)p(h,g++,f(m,r++));return d}})})),xr=o((()=>{var e=Y(),t=_r();e({global:!0,constructor:!0,forced:!cr()},{DataView:t.DataView})})),Sr=o((()=>{xr()})),Cr=o((()=>{var e=Y(),t=_(),n=Math.pow,r=31,i=1023,a=n(2,-24),o=.0009765625,s=function(e){var t=e>>>15,s=e>>>10&r,c=e&i;return s===r?c===0?t===0?1/0:-1/0:NaN:s===0?c*(t===0?a:-a):n(2,s-15)*(t===0?1+c*o:-1-c*o)},c=t(DataView.prototype.getUint16);e({target:`DataView`,proto:!0},{getFloat16:function(e){return s(c(this,e,arguments.length>1?arguments[1]:!1))}})})),wr=o(((e,t)=>{var n=Ee(),r=TypeError;t.exports=function(e){if(n(e)===`DataView`)return e;throw new r(`Argument is not a DataView`)}})),Tr=o(((e,t)=>{var n=Math.log,r=Math.LN2;t.exports=Math.log2||function(e){return n(e)/r}})),Er=o((()=>{var e=Y(),t=_(),n=wr(),r=dr(),i=Tr(),a=pr(),o=Math.floor,s=Math.pow,c=65520,l=61005353927612305e-21,u=16777216,d=1024,f=function(e){if(e!==e)return 32256;if(e===0)return(1/e==-1/0)<<15;var t=e<0;if(t&&(e=-e),e>=c)return t<<15|31744;if(e<l)return t<<15|a(e*u);var n=o(i(e));if(n===-15)return t<<15|d;var r=a((e*s(2,-n)-1)*d);return r===d?t<<15|n+16<<10:t<<15|n+15<<10|r},p=t(DataView.prototype.setUint16);e({target:`DataView`,proto:!0},{setFloat16:function(e,t){p(n(this),r(e),f(+t),arguments.length>2?arguments[2]:!1)}})})),Dr=o(((e,t)=>{var n=u(),r=bt(),i=v(),a=n.ArrayBuffer,o=n.TypeError;t.exports=a&&r(a.prototype,`byteLength`,`get`)||function(e){if(i(e)!==`ArrayBuffer`)throw new o(`ArrayBuffer expected`);return e.byteLength}})),Or=o(((e,t)=>{var n=u(),r=cr(),i=Dr(),a=n.DataView;t.exports=function(e){if(!r||i(e)!==0)return!1;try{return new a(e),!1}catch{return!0}}})),kr=o((()=>{var e=f(),t=Ne(),n=Or(),r=ArrayBuffer.prototype;e&&!(`detached`in r)&&t(r,`detached`,{configurable:!0,get:function(){return n(this)}})})),Ar=o(((e,t)=>{var n=Or(),r=TypeError;t.exports=function(e){if(n(e))throw new r(`ArrayBuffer is detached`);return e}})),jr=o(((e,t)=>{var n=u(),r=zn();t.exports=function(e){if(r){try{return n.process.getBuiltinModule(e)}catch{}try{return Function(`return require("`+e+`")`)()}catch{}}}})),Mr=o(((e,t)=>{var n=u(),r=d(),i=O(),a=Rn(),o=n.structuredClone;t.exports=!!o&&!r(function(){if(a===`DENO`&&i>92||a===`NODE`&&i>94||a===`BROWSER`&&i>97)return!1;var e=new ArrayBuffer(8),t=o(e,{transfer:[e]});return e.byteLength!==0||t.byteLength!==8})})),Nr=o(((e,t)=>{var n=u(),r=jr(),i=Mr(),a=n.structuredClone,o=n.ArrayBuffer,s=n.MessageChannel,c=!1,l,d,f,p;if(i)c=function(e){a(e,{transfer:[e]})};else if(o)try{s||(l=r(`worker_threads`),l&&(s=l.MessageChannel)),s&&(d=new s,f=new o(2),p=function(e){d.port1.postMessage(null,[e])},f.byteLength===2&&(p(f),f.byteLength===0&&(c=p)))}catch{}t.exports=c})),Pr=o(((e,t)=>{var n=u(),r=_(),i=bt(),a=dr(),o=Ar(),s=Dr(),c=Nr(),l=Mr(),d=n.structuredClone,f=n.ArrayBuffer,p=n.DataView,m=Math.max,h=Math.min,g=f.prototype,v=p.prototype,y=r(g.slice),b=i(g,`resizable`,`get`),x=i(g,`maxByteLength`,`get`),S=r(v.getInt8),C=r(v.setInt8);t.exports=(l||c)&&function(e,t,n){var r=s(e),i=t===void 0?r:a(t),u=!b||!b(e),g;if(o(e),l&&(e=d(e,{transfer:[e]}),r===i&&(n||u)))return e;if(r>=i&&(!n||u))g=y(e,0,i);else{g=new f(i,n&&!u&&x?{maxByteLength:m(i,x(e))}:void 0);for(var _=new p(e),v=new p(g),w=h(i,r),T=0;T<w;T++)C(v,T,S(_,T))}return l||c(e),g}})),Fr=o((()=>{var e=Y(),t=Pr();t&&e({target:`ArrayBuffer`,proto:!0},{transfer:function(){return t(this,arguments.length?arguments[0]:void 0,!0)}})})),Ir=o((()=>{var e=Y(),t=Pr();t&&e({target:`ArrayBuffer`,proto:!0},{transferToFixedLength:function(){return t(this,arguments.length?arguments[0]:void 0,!1)}})})),Lr=o((()=>{var e=Y(),t=_(),n=d()(function(){return new Date(16e11).getYear()!==120}),r=t(Date.prototype.getFullYear);e({target:`Date`,proto:!0,forced:n},{getYear:function(){return r(this)-1900}})})),Rr=o((()=>{var e=Y(),t=_(),n=Date,r=t(n.prototype.getTime);e({target:`Date`,stat:!0},{now:function(){return r(new n)}})})),zr=o((()=>{var e=Y(),t=_(),n=me(),r=Date.prototype,i=t(r.getTime),a=t(r.setFullYear);e({target:`Date`,proto:!0},{setYear:function(e){i(this);var t=+e;if(t!==t)return a(this,t);var r=n(t),o=r>=0&&r<=99?r+1900:r;return a(this,o)}})})),Br=o((()=>{Y()({target:`Date`,proto:!0},{toGMTString:Date.prototype.toUTCString})})),Vr=o(((e,t)=>{var n=me(),r=X(),i=x(),a=RangeError,o=Math.floor;t.exports=function(e){var t=r(i(this)),s=``,c=n(e);if(c<0||c===1/0)throw new a(`Wrong number of repetitions`);for(;c>0;(c=o(c/2))&&(t+=t))c%2&&(s+=t);return s}})),Hr=o(((e,t)=>{var n=_(),r=ge(),i=X(),a=Vr(),o=x(),s=n(a),c=n(``.slice),l=Math.ceil,u=function(e){return function(t,n,a){var u=i(o(t)),d=r(n),f=u.length;if(d<=f)return u;var p=a===void 0?` `:i(a),m,h;return p===``?u:(m=d-f,h=s(p,l(m/p.length)),h.length>m&&(h=c(h,0,m)),e?u+h:h+u)}};t.exports={start:u(!1),end:u(!0)}})),Ur=o(((e,t)=>{var n=_(),r=d(),i=Hr().start,a=RangeError,o=isFinite,s=Math.abs,c=Date.prototype,l=c.toISOString,u=n(c.getTime),f=n(c.getUTCDate),p=n(c.getUTCFullYear),m=n(c.getUTCHours),h=n(c.getUTCMilliseconds),g=n(c.getUTCMinutes),v=n(c.getUTCMonth),y=n(c.getUTCSeconds);t.exports=r(function(){return l.call(new Date(-50000000000001))!==`0385-07-25T07:06:39.999Z`})||!r(function(){l.call(new Date(NaN))})?function(){if(!o(u(this)))throw new a(`Invalid time value`);var e=this,t=p(e),n=h(e),r=t<0?`-`:t>9999?`+`:``;return r+i(s(t),r?6:4,0)+`-`+i(v(e)+1,2,0)+`-`+i(f(e),2,0)+`T`+i(m(e),2,0)+`:`+i(g(e),2,0)+`:`+i(y(e),2,0)+`.`+i(n,3,0)+`Z`}:l})),Wr=o((()=>{var e=Y(),t=Ur();e({target:`Date`,proto:!0,forced:Date.prototype.toISOString!==t},{toISOString:t})})),Gr=o((()=>{var e=Y(),t=d(),n=B(),r=te();e({target:`Date`,proto:!0,arity:1,forced:t(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1})},{toJSON:function(e){var t=n(this),i=r(t,`number`);return typeof i==`number`&&!isFinite(i)?null:t.toISOString()}})})),Kr=o(((e,t)=>{var n=G(),r=F(),i=TypeError;t.exports=function(e){if(n(this),e===`string`||e===`default`)e=`string`;else if(e!==`number`)throw new i(`Incorrect hint`);return r(this,e)}})),qr=o((()=>{var e=V(),t=q(),n=Kr(),r=H()(`toPrimitive`),i=Date.prototype;e(i,r)||t(i,r,n)})),Jr=o((()=>{var e=_(),t=q(),n=Date.prototype,r=`Invalid Date`,i=`toString`,a=e(n[i]),o=e(n.getTime);String(new Date(NaN))!==r&&t(n,i,function(){var e=o(this);return e===e?a(this):r})})),Yr=o(((e,t)=>{var n=T(),r=m(),i=_(),a=Be(),o=G(),s=N(),c=b(),l=P(),u=H(),d=u(`asyncDispose`),f=u(`dispose`),p=i([].push),h=function(e,t){if(t===`async-dispose`){var i=l(e,d);return i!==void 0||(i=l(e,f),i===void 0)?i:function(){var e=this;return new(n(`Promise`))(function(t){r(i,e),t(void 0)})}}return l(e,f)},g=function(e,t,n){return arguments.length<3&&!c(e)&&(n=s(h(o(e),t))),n===void 0?function(){}:a(n,e)};t.exports=function(e,t,n,r){var i;if(arguments.length<4){if(c(t)&&n===`sync-dispose`)return;i=g(t,n)}else i=g(void 0,n,r);p(e.stack,i)}})),Xr=o((()=>{var e=Y(),t=f(),n=T(),r=N(),i=ur(),a=q(),o=lr(),s=Ne(),c=H(),l=de(),u=Yr(),d=n(`SuppressedError`),p=ReferenceError,m=c(`dispose`),h=c(`toStringTag`),g=`DisposableStack`,_=l.set,v=l.getterFor(g),y=`sync-dispose`,b=`disposed`,x=`pending`,S=function(e){var t=v(e);if(t.state===b)throw new p(g+` already disposed`);return t},C=function(){_(i(this,w),{type:g,state:x,stack:[]}),t||(this.disposed=!1)},w=C.prototype;o(w,{dispose:function(){var e=v(this);if(e.state!==b){e.state=b,t||(this.disposed=!0);for(var n=e.stack,r=n.length,i=!1,a;r;){var o=n[--r];n[r]=null;try{o()}catch(e){i?a=new d(e,a):(i=!0,a=e)}}if(e.stack=null,i)throw a}},use:function(e){return u(S(this),e,y),e},adopt:function(e,t){var n=S(this);return r(t),u(n,void 0,y,function(){t(e)}),e},defer:function(e){var t=S(this);r(e),u(t,void 0,y,e)},move:function(){var e=S(this),n=new C;return v(n).stack=e.stack,e.stack=[],e.state=b,t||(this.disposed=!0),n}}),t&&s(w,`disposed`,{configurable:!0,get:function(){return v(this).state===b}}),a(w,m,w.dispose,{name:`dispose`}),a(w,h,g,{nonWritable:!0}),e({global:!0,constructor:!0},{DisposableStack:C})})),Zr=o((()=>{var e=Y(),t=_(),n=X(),r=t(``.charAt),i=t(``.charCodeAt),a=t(/./.exec),o=t(1.1.toString),s=t(``.toUpperCase),c=/[\w*+\-./@]/,l=function(e,t){for(var n=o(e,16);n.length<t;)n=`0`+n;return n};e({global:!0},{escape:function(e){for(var t=n(e),o=``,u=t.length,d=0,f,p;d<u;)f=r(t,d++),a(c,f)?o+=f:(p=i(f,0),p<256?o+=`%`+s(l(p,2)):o+=`%u`+s(l(p,4)));return o}})})),Qr=o(((e,t)=>{var n=_(),r=N(),i=w(),a=V(),o=je(),s=p(),c=Function,l=n([].concat),u=n([].join),d={},f=function(e,t,n){if(!a(d,t)){for(var r=[],i=0;i<t;i++)r[i]=`a[`+i+`]`;d[t]=c(`C,a`,`return new C(`+u(r,`,`)+`)`)}return d[t](e,n)};t.exports=s?c.bind:function(e){var t=r(this),n=t.prototype,a=o(arguments,1),s=function(){var n=l(a,o(arguments));return this instanceof s?f(t,n.length,n):t.apply(e,n)};return i(n)&&(s.prototype=n),s}})),$r=o((()=>{var e=Y(),t=Qr();e({target:`Function`,proto:!0,forced:Function.bind!==t},{bind:t})})),ei=o((()=>{var e=C(),t=w(),n=K(),r=E(),i=H(),a=fe(),o=i(`hasInstance`),s=Function.prototype;o in s||n.f(s,o,{value:a(function(n){if(!e(this)||!t(n))return!1;var i=this.prototype;return t(i)?r(i,n):n instanceof this},o)})})),ti=o((()=>{var e=f(),t=oe().EXISTS,n=_(),r=Ne(),i=Function.prototype,a=n(i.toString),o=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,s=n(o.exec);e&&!t&&r(i,`name`,{configurable:!0,get:function(){try{return s(o,a(this))[1]}catch{return``}}})})),ni=o((()=>{var e=Y(),t=u();e({global:!0,forced:t.globalThis!==t},{globalThis:t})})),ri=o((()=>{var e=Y(),t=u(),n=ur(),r=G(),i=C(),a=Lt(),o=Ne(),s=Ge(),c=d(),l=V(),p=H(),m=En().IteratorPrototype,h=f(),g=I(),_=`constructor`,v=`Iterator`,y=p(`toStringTag`),b=TypeError,x=t[v],S=g||!i(x)||x.prototype!==m||!c(function(){x({})}),w=function(){if(n(this,m),a(this)===m)throw new b(`Abstract class Iterator not directly constructable`)},T=function(e,t){h?o(m,e,{configurable:!0,get:function(){return t},set:function(t){if(r(this),this===m)throw new b(`You can't redefine this property`);l(this,e)?this[e]=t:s(this,e,t)}}):m[e]=t};l(m,y)||T(y,v),(S||!l(m,_)||m[_]===Object)&&T(_,w),w.prototype=m,e({global:!0,constructor:!0,forced:S},{Iterator:w})})),ii=o(((e,t)=>{var n=Ht();t.exports=function(e,t,r){for(var i=e.length-1;i>=0;i--)if(e[i]!==void 0)try{r=n(e[i].iterator,t,r)}catch(e){t=`throw`,r=e}if(t===`throw`)throw r;return r}})),ai=o(((e,t)=>{var n=m(),r=Ae(),i=ae(),a=lr(),o=H(),s=de(),c=P(),l=En().IteratorPrototype,u=kn(),d=Ht(),f=ii(),p=o(`toStringTag`),h=`IteratorHelper`,g=`WrapForValidIterator`,_=`normal`,v=`throw`,y=s.set,b=function(e){var t=s.getterFor(e?g:h);return a(r(l),{next:function(){var n=t(this);if(e)return n.nextHandler();if(n.done)return u(void 0,!0);try{var r=n.nextHandler();return n.returnHandlerResult?r:u(r,n.done)}catch(e){throw n.done=!0,e}},return:function(){var r=t(this),i=r.iterator,a=r.done;if(r.done=!0,e){var o=c(i,`return`);return o?n(o,i):u(void 0,!0)}if(a)return u(void 0,!0);if(r.inner)try{d(r.inner.iterator,_)}catch(e){return d(i,v,e)}if(r.openIters)try{f(r.openIters,_)}catch(e){if(i)return d(i,v,e);throw e}return i&&d(i,_),u(void 0,!0)}})},x=b(!0),S=b(!1);i(S,p,`Iterator Helper`),t.exports=function(e,t,n){var r=function(r,i){i?(i.iterator=r.iterator,i.next=r.next):i=r,i.type=t?g:h,i.returnHandlerResult=!!n,i.nextHandler=e,i.counter=0,i.done=!1,y(this,i)};return r.prototype=t?x:S,r}})),oi=o((()=>{var e=Y(),t=m(),n=N(),r=G(),i=Bt(),a=ai(),o=I(),s=Array,c=a(function(){for(;;){var e=this.iterator;if(!e){var n=this.nextIterableIndex++,i=this.iterables;if(n>=i.length){this.done=!0;return}var a=i[n];this.iterables[n]=null,e=this.iterator=r(t(a.method,a.iterable)),this.next=e.next}var o=r(t(this.next,e));if(o.done){this.iterator=null,this.next=null;continue}return o.value}});e({target:`Iterator`,stat:!0,forced:o},{concat:function(){for(var e=arguments.length,t=s(e),a=0;a<e;a++){var o=r(arguments[a]);t[a]={iterable:o,method:n(i(o))}}return new c({iterables:t,nextIterableIndex:0,iterator:null,next:null})}})})),si=o((()=>{var e=m(),t=q(),n=P(),r=V(),i=H(),a=En().IteratorPrototype,o=i(`dispose`);r(a,o)||t(a,o,function(){var t=n(this,`return`);t&&e(t,this)})})),ci=o(((e,t)=>{t.exports=function(e){return{iterator:e,next:e.next,done:!1}}})),li=o(((e,t)=>{var n=RangeError;t.exports=function(e){if(e===e)return e;throw new n(`NaN is not allowed`)}})),ui=o(((e,t)=>{var n=me(),r=RangeError;t.exports=function(e){var t=n(e);if(t<0)throw new r(`The argument can't be less than 0`);return t}})),di=o(((e,t)=>{t.exports=function(e,t){var n=typeof Iterator==`function`&&Iterator.prototype[e];if(n)try{n.call({next:null},t).next()}catch{return!0}}})),fi=o(((e,t)=>{var n=u();t.exports=function(e,t){var r=n.Iterator,i=r&&r.prototype,a=i&&i[e],o=!1;if(a)try{a.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(e){e instanceof t||(o=!1)}if(!o)return a}})),pi=o((()=>{var e=Y(),t=m(),n=G(),r=ci(),i=li(),a=ui(),o=Ht(),s=ai(),c=di(),l=fi(),u=I(),d=!u&&!c(`drop`,0),f=!u&&!d&&l(`drop`,RangeError),p=u||d||f,h=s(function(){for(var e=this.iterator,r=this.next,i,a;this.remaining;)if(this.remaining--,i=n(t(r,e)),a=this.done=!!i.done,a)return;if(i=n(t(r,e)),a=this.done=!!i.done,!a)return i.value});e({target:`Iterator`,proto:!0,real:!0,forced:p},{drop:function(e){n(this);var s;try{s=a(i(+e))}catch(e){o(this,`throw`,e)}return f?t(f,this,s):new h(r(this),{remaining:s})}})})),mi=o((()=>{var e=Y(),t=m(),n=Ut(),r=N(),i=G(),a=ci(),o=Ht(),s=fi()(`every`,TypeError);e({target:`Iterator`,proto:!0,real:!0,forced:s},{every:function(e){i(this);try{r(e)}catch(e){o(this,`throw`,e)}if(s)return t(s,this,e);var c=a(this),l=0;return!n(c,function(t,n){if(!e(t,l++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})})),hi=o((()=>{var e=Y(),t=m(),n=N(),r=G(),i=ci(),a=ai(),o=yn(),s=I(),c=Ht(),l=di(),u=fi(),d=!s&&!l(`filter`,function(){}),f=!s&&!d&&u(`filter`,TypeError),p=s||d||f,h=a(function(){for(var e=this.iterator,n=this.predicate,i=this.next,a,s,c;;){if(a=r(t(i,e)),s=this.done=!!a.done,s)return;if(c=a.value,o(e,n,[c,this.counter++],!0))return c}});e({target:`Iterator`,proto:!0,real:!0,forced:p},{filter:function(e){r(this);try{n(e)}catch(e){c(this,`throw`,e)}return f?t(f,this,e):new h(i(this),{predicate:e})}})})),gi=o((()=>{var e=Y(),t=m(),n=Ut(),r=N(),i=G(),a=ci(),o=Ht(),s=fi()(`find`,TypeError);e({target:`Iterator`,proto:!0,real:!0,forced:s},{find:function(e){i(this);try{r(e)}catch(e){o(this,`throw`,e)}if(s)return t(s,this,e);var c=a(this),l=0;return n(c,function(t,n){if(e(t,l++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})})),_i=o(((e,t)=>{var n=m(),r=G(),i=ci(),a=Bt();t.exports=function(e,t){(!t||typeof e!=`string`)&&r(e);var o=a(e);return i(r(o===void 0?e:n(o,e)))}})),vi=o((()=>{var e=Y(),t=m(),n=N(),r=G(),i=ci(),a=_i(),o=ai(),s=Ht(),c=I(),l=di(),u=fi();function d(){try{var e=Iterator.prototype.flatMap.call(new Map([[4,5]]).entries(),function(e){return e});e.next(),e.return()}catch{return!0}}var f=!c&&!l(`flatMap`,function(){}),p=!c&&!f&&u(`flatMap`,TypeError),h=c||f||p||d(),g=o(function(){for(var e=this.iterator,n=this.mapper,i,o;;){if(o=this.inner)try{if(i=r(t(o.next,o.iterator)),!i.done)return i.value;this.inner=null}catch(t){s(e,`throw`,t)}if(i=r(t(this.next,e)),this.done=!!i.done)return;try{this.inner=a(n(i.value,this.counter++),!1)}catch(t){s(e,`throw`,t)}}});e({target:`Iterator`,proto:!0,real:!0,forced:h},{flatMap:function(e){r(this);try{n(e)}catch(e){s(this,`throw`,e)}return p?t(p,this,e):new g(i(this),{mapper:e,inner:null})}})})),yi=o((()=>{var e=Y(),t=m(),n=Ut(),r=N(),i=G(),a=ci(),o=Ht(),s=fi()(`forEach`,TypeError);e({target:`Iterator`,proto:!0,real:!0,forced:s},{forEach:function(e){i(this);try{r(e)}catch(e){o(this,`throw`,e)}if(s)return t(s,this,e);var c=a(this),l=0;n(c,function(t){e(t,l++)},{IS_RECORD:!0})}})})),bi=o((()=>{var e=Y(),t=m(),n=B(),r=E(),i=En().IteratorPrototype,a=ai(),o=_i(),s=I()||function(){try{Iterator.from({return:null}).return()}catch{return!0}}(),c=a(function(){return t(this.next,this.iterator)},!0);e({target:`Iterator`,stat:!0,forced:s},{from:function(e){var t=o(typeof e==`string`?n(e):e,!0);return r(i,t.iterator)?t.iterator:new c(t)}})})),xi=o((()=>{var e=Y(),t=m(),n=N(),r=G(),i=ci(),a=ai(),o=yn(),s=Ht(),c=di(),l=fi(),u=I(),d=!u&&!c(`map`,function(){}),f=!u&&!d&&l(`map`,TypeError),p=u||d||f,h=a(function(){var e=this.iterator,n=r(t(this.next,e));if(!(this.done=!!n.done))return o(e,this.mapper,[n.value,this.counter++],!0)});e({target:`Iterator`,proto:!0,real:!0,forced:p},{map:function(e){r(this);try{n(e)}catch(e){s(this,`throw`,e)}return f?t(f,this,e):new h(i(this),{mapper:e})}})})),Si=o((()=>{var e=Y(),t=Ut(),n=N(),r=G(),i=ci(),a=Ht(),o=fi(),s=Ze(),c=d(),l=TypeError,u=c(function(){[].keys().reduce(function(){},void 0)}),f=!u&&o(`reduce`,l);e({target:`Iterator`,proto:!0,real:!0,forced:u||f},{reduce:function(e){r(this);try{n(e)}catch(e){a(this,`throw`,e)}var o=arguments.length<2,c=o?void 0:arguments[1];if(f)return s(f,this,o?[e]:[e,c]);var u=i(this),d=0;if(t(u,function(t){o?(o=!1,c=t):c=e(c,t,d),d++},{IS_RECORD:!0}),o)throw new l(`Reduce of empty iterator with no initial value`);return c}})})),Ci=o((()=>{var e=Y(),t=m(),n=Ut(),r=N(),i=G(),a=ci(),o=Ht(),s=fi()(`some`,TypeError);e({target:`Iterator`,proto:!0,real:!0,forced:s},{some:function(e){i(this);try{r(e)}catch(e){o(this,`throw`,e)}if(s)return t(s,this,e);var c=a(this),l=0;return n(c,function(t,n){if(e(t,l++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})})),wi=o((()=>{var e=Y(),t=m(),n=G(),r=ci(),i=li(),a=ui(),o=ai(),s=Ht(),c=di(),l=fi(),u=I(),d=!u&&!c(`take`,1),f=!u&&!d&&l(`take`,RangeError),p=u||d||f,h=o(function(){var e=this.iterator;if(!this.remaining--)return this.done=!0,s(e,`normal`,void 0);var r=n(t(this.next,e));if(!(this.done=!!r.done))return r.value});e({target:`Iterator`,proto:!0,real:!0,forced:p},{take:function(e){n(this);var o;try{o=a(i(+e))}catch(e){s(this,`throw`,e)}return f?t(f,this,o):new h(r(this),{remaining:o})}})})),Ti=o((()=>{var e=Y(),t=G(),n=Ge(),r=Ut(),i=ci();e({target:`Iterator`,proto:!0,real:!0},{toArray:function(){var e=[],a=0;return r(i(t(this)),function(t){n(e,a++,t)},{IS_RECORD:!0}),e}})})),Ei=o((()=>{var e=Y(),t=et(),n=Qe();e({target:`JSON`,stat:!0,forced:!t},{isRawJSON:n})})),Di=o((()=>{var e=Y(),t=f(),n=u(),r=T(),i=_(),a=m(),o=C(),s=w(),c=Ve(),l=V(),p=X(),h=J(),g=Ge(),v=d(),y=$e(),b=k(),x=n.JSON,S=n.Number,E=n.SyntaxError,D=x&&x.parse,O=r(`Object`,`keys`),A=Object.getOwnPropertyDescriptor,j=i(``.charAt),M=i(``.slice),N=i(/./.exec),P=i([].push),F=/^\d$/,I=/^[1-9]$/,L=/^[\d-]$/,R=/^[\t\n\r ]$/,z=0,B=1,ee=function(e,t){e=p(e);var n=new U(e,0,``),r=n.parse(),i=r.value,a=n.skip(R,r.end);if(a<e.length)throw new E(`Unexpected extra character: "`+j(e,a)+`" after the parsed data at: `+a);return o(t)?H({"":i},``,t,r):i},H=function(e,t,n,r){var i=e[t],o=r&&i===r.value,u=o&&typeof r.source==`string`?{source:r.source}:{},d,f,p,m,g;if(s(i)){var _=c(i),v=o?r.nodes:_?[]:{};if(_)for(d=v.length,p=h(i),m=0;m<p;m++)te(i,m,H(i,``+m,n,m<d?v[m]:void 0));else for(f=O(i),p=h(f),m=0;m<p;m++)g=f[m],te(i,g,H(i,g,n,l(v,g)?v[g]:void 0))}return a(n,e,t,i,u)},te=function(e,n,r){if(t){var i=A(e,n);if(i&&!i.configurable)return}r===void 0?delete e[n]:g(e,n,r)},ne=function(e,t,n,r){this.value=e,this.end=t,this.source=n,this.nodes=r},U=function(e,t){this.source=e,this.index=t};U.prototype={fork:function(e){return new U(this.source,e)},parse:function(){var e=this.source,t=this.skip(R,this.index),n=this.fork(t),r=j(e,t);if(N(L,r))return n.number();switch(r){case`{`:return n.object();case`[`:return n.array();case`"`:return n.string();case`t`:return n.keyword(!0);case`f`:return n.keyword(!1);case`n`:return n.keyword(null)}throw new E(`Unexpected character: "`+r+`" at: `+t)},node:function(e,t,n,r,i){return new ne(t,r,e?null:M(this.source,n,r),i)},object:function(){for(var e=this.source,t=this.index+1,n=!1,r={},i={},a=!1;t<e.length;){if(t=this.until([`"`,`}`],t),j(e,t)===`}`&&!n){t++,a=!0;break}var o=this.fork(t).string(),s=o.value;t=o.end,t=this.until([`:`],t)+1,t=this.skip(R,t),o=this.fork(t).parse(),g(i,s,o),g(r,s,o.value),t=this.until([`,`,`}`],o.end);var c=j(e,t);if(c===`,`)n=!0,t++;else if(c===`}`){t++,a=!0;break}}if(!a)throw new E(`Unterminated object at: `+t);return this.node(B,r,this.index,t,i)},array:function(){for(var e=this.source,t=this.index+1,n=!1,r=[],i=[],a=!1;t<e.length;){if(t=this.skip(R,t),j(e,t)===`]`&&!n){t++,a=!0;break}var o=this.fork(t).parse();if(P(i,o),P(r,o.value),t=this.until([`,`,`]`],o.end),j(e,t)===`,`)n=!0,t++;else if(j(e,t)===`]`){t++,a=!0;break}}if(!a)throw new E(`Unterminated array at: `+t);return this.node(B,r,this.index,t,i)},string:function(){var e=this.index,t=y(this.source,this.index+1);return this.node(z,t.value,e,t.end)},number:function(){var e=this.source,t=this.index,n=t;if(j(e,n)===`-`&&n++,j(e,n)===`0`)n++;else if(N(I,j(e,n)))n=this.skip(F,n+1);else throw new E(`Failed to parse number at: `+n);if(j(e,n)===`.`){var r=n+1;if(n=this.skip(F,r),r===n)throw new E(`Failed to parse number's fraction at: `+n)}if(j(e,n)===`e`||j(e,n)===`E`){n++,(j(e,n)===`+`||j(e,n)===`-`)&&n++;var i=n;if(n=this.skip(F,n),i===n)throw new E(`Failed to parse number's exponent value at: `+n)}return this.node(z,S(M(e,t,n)),t,n)},keyword:function(e){var t=``+e,n=this.index,r=n+t.length;if(M(this.source,n,r)!==t)throw new E(`Failed to parse value at: `+n);return this.node(z,e,n,r)},skip:function(e,t){for(var n=this.source;t<n.length&&N(e,j(n,t));t++);return t},until:function(e,t){t=this.skip(R,t);for(var n=j(this.source,t),r=0;r<e.length;r++)if(e[r]===n)return t;throw new E(`Unexpected character: "`+n+`" at: `+t)}};var re=v(function(){var e=`9007199254740993`,t;return D(e,function(e,n,r){t=r.source}),t!==e}),W=b&&!v(function(){return 1/D(`-0 `)!=-1/0});e({target:`JSON`,stat:!0,forced:re},{parse:function(e,t){return W&&!o(t)?D(e):ee(e,t)}})})),Oi=o(((e,t)=>{t.exports=!d()(function(){return Object.isExtensible(Object.preventExtensions({}))})})),ki=o((()=>{var e=Y(),t=Oi(),n=et(),r=T(),i=_(),a=X(),o=Ge(),s=de().set,c=SyntaxError,l=r(`JSON`,`parse`),u=r(`Object`,`create`),d=r(`Object`,`freeze`),f=i(``.charAt),p=`Unacceptable as raw JSON`,m=function(e){return e===` `||e===` `||e===`
9
+ `||e===`\r`};e({target:`JSON`,stat:!0,forced:!n},{rawJSON:function(e){var n=a(e);if(n===``||m(f(n,0))||m(f(n,n.length-1)))throw new c(p);var r=l(n);if(typeof r==`object`&&r)throw new c(p);var i=u(null);return s(i,{type:`RawJSON`}),o(i,`rawJSON`,n),t?d(i):i}})})),Ai=o((()=>{var e=u();Re()(e.JSON,`JSON`,!0)})),ji=o(((e,t)=>{t.exports=d()(function(){if(typeof ArrayBuffer==`function`){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})})),Mi=o(((e,t)=>{var n=d(),r=w(),i=v(),a=ji(),o=Object.isExtensible;t.exports=n(function(){o(1)})||a?function(e){return!r(e)||a&&i(e)===`ArrayBuffer`?!1:o?o(e):!0}:o})),Ni=o(((e,t)=>{var n=Y(),r=_(),i=ue(),a=w(),o=V(),s=K().f,c=be(),l=Me(),u=Mi(),d=ee(),f=Oi(),p=!1,m=d(`meta`),h=0,g=function(e){s(e,m,{value:{objectID:`O`+ h++,weakData:{}}})},v=t.exports={enable:function(){v.enable=function(){},p=!0;var e=c.f,t=r([].splice),i={};i[m]=1,e(i).length&&(c.f=function(n){for(var r=e(n),i=0,a=r.length;i<a;i++)if(r[i]===m){t(r,i,1);break}return r},n({target:`Object`,stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(e,t){if(!a(e))return typeof e==`symbol`?e:(typeof e==`string`?`S`:`P`)+e;if(!o(e,m)){if(!u(e))return`F`;if(!t)return`E`;g(e)}return e[m].objectID},getWeakData:function(e,t){if(!o(e,m)){if(!u(e))return!0;if(!t)return!1;g(e)}return e[m].weakData},onFreeze:function(e){return f&&p&&u(e)&&!o(e,m)&&g(e),e}};i[m]=!0})),Pi=o(((e,t)=>{var n=Y(),r=u(),i=_(),a=we(),o=q(),s=Ni(),c=Ut(),l=ur(),f=C(),p=b(),m=w(),h=d(),g=xn(),v=Re(),y=Tt();t.exports=function(e,t,u){var d=e.indexOf(`Map`)!==-1,_=e.indexOf(`Weak`)!==-1,b=d?`set`:`add`,x=r[e],S=x&&x.prototype,C=x,w={},T=function(e){var t=i(S[e]);o(S,e,e===`add`?function(e){return t(this,e===0?0:e),this}:e===`delete`?function(e){return _&&!m(e)?!1:t(this,e===0?0:e)}:e===`get`?function(e){return _&&!m(e)?void 0:t(this,e===0?0:e)}:e===`has`?function(e){return _&&!m(e)?!1:t(this,e===0?0:e)}:function(e,n){return t(this,e===0?0:e,n),this})};if(a(e,!f(x)||!(_||S.forEach&&!h(function(){new x().entries().next()}))))C=u.getConstructor(t,e,d,b),s.enable();else if(a(e,!0)){var E=new C,D=E[b](_?{}:-0,1)!==E,O=h(function(){E.has(1)}),k=g(function(e){new x(e)}),A=!_&&h(function(){for(var e=new x,t=5;t--;)e[b](t,t);return!e.has(-0)});k||(C=t(function(e,t){l(e,S);var n=y(new x,e,C);return p(t)||c(t,n[b],{that:n,AS_ENTRIES:d}),n}),C.prototype=S,S.constructor=C),(O||A)&&(T(`delete`),T(`has`),d&&T(`get`)),(A||D)&&T(b),_&&S.clear&&delete S.clear}return w[e]=C,n({global:!0,constructor:!0,forced:C!==x},w),v(C,e),_||u.setStrong(C,e,d),C}})),Fi=o(((e,t)=>{var n=Ae(),r=Ne(),i=lr(),a=Be(),o=ur(),s=b(),c=Ut(),l=On(),u=kn(),d=Xn(),p=f(),m=Ni().fastKey,h=de(),g=h.set,_=h.getterFor;t.exports={getConstructor:function(e,t,l,u){var d=e(function(e,r){o(e,f),g(e,{type:t,index:n(null),first:null,last:null,size:0}),p||(e.size=0),s(r)||c(r,e[u],{that:e,AS_ENTRIES:l})}),f=d.prototype,h=_(t),v=function(e,t,n){var r=h(e),i=y(e,t),a,o;return i?i.value=n:(r.last=i={index:o=m(t,!0),key:t,value:n,previous:a=r.last,next:null,removed:!1},r.first||=i,a&&(a.next=i),p?r.size++:e.size++,o!==`F`&&(r.index[o]=i)),e},y=function(e,t){var n=h(e),r=m(t),i;if(r!==`F`)return n.index[r];for(i=n.first;i;i=i.next)if(i.key===t)return i};return i(f,{clear:function(){for(var e=this,t=h(e),r=t.first;r;)r.removed=!0,r.previous&&=r.previous.next=null,r=r.next;t.first=t.last=null,t.index=n(null),p?t.size=0:e.size=0},delete:function(e){var t=this,n=h(t),r=y(t,e);if(r){var i=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),n.first===r&&(n.first=i),n.last===r&&(n.last=a),p?n.size--:t.size--}return!!r},forEach:function(e){for(var t=h(this),n=a(e,arguments.length>1?arguments[1]:void 0),r;r=r?r.next:t.first;)for(n(r.value,r.key,this);r&&r.removed;)r=r.previous},has:function(e){return!!y(this,e)}}),i(f,l?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return v(this,e===0?0:e,t)}}:{add:function(e){return v(this,e=e===0?0:e,e)}}),p&&r(f,`size`,{configurable:!0,get:function(){return h(this).size}}),d},setStrong:function(e,t,n){var r=t+` Iterator`,i=_(t),a=_(r);l(e,t,function(e,t){g(this,{type:r,target:e,state:i(e),kind:t,last:null})},function(){for(var e=a(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return!e.target||!(e.last=n=n?n.next:e.state.first)?(e.target=null,u(void 0,!0)):u(t===`keys`?n.key:t===`values`?n.value:[n.key,n.value],!1)},n?`entries`:`values`,!n,!0),d(t)}}})),Ii=o((()=>{Pi()(`Map`,function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},Fi())})),Li=o((()=>{Ii()})),Ri=o(((e,t)=>{var n=_(),r=Map.prototype;t.exports={Map,set:n(r.set),get:n(r.get),has:n(r.has),remove:n(r.delete),proto:r}})),zi=o((()=>{var e=Y(),t=_(),n=N(),r=x(),i=Ut(),a=Ri(),o=I(),s=d(),c=a.Map,l=a.has,u=a.get,f=a.set,p=t([].push),m=o||s(function(){return c.groupBy(`ab`,function(e){return e}).get(`a`).length!==1});e({target:`Map`,stat:!0,forced:o||m},{groupBy:function(e,t){r(e),n(t);var a=new c,o=0;return i(e,function(e){var n=t(e,o++);l(a,n)?p(u(a,n),e):f(a,n,[e])}),a}})})),Bi=o((()=>{var e=Y(),t=Ri(),n=I(),r=t.get,i=t.has,a=t.set;e({target:`Map`,proto:!0,real:!0,forced:n},{getOrInsert:function(e,t){return i(this,e)?r(this,e):(a(this,e,t),t)}})})),Vi=o((()=>{var e=Y(),t=N(),n=Ri(),r=I(),i=n.get,a=n.has,o=n.set;e({target:`Map`,proto:!0,real:!0,forced:r},{getOrInsertComputed:function(e,n){var r=a(this,e);if(t(n),r)return i(this,e);e===0&&1/e==-1/0&&(e=0);var s=n(e);return o(this,e,s),s}})})),Hi=o(((e,t)=>{var n=Math.log;t.exports=Math.log1p||function(e){var t=+e;return t>-1e-8&&t<1e-8?t-t*t/2:n(1+t)}})),Ui=o((()=>{var e=Y(),t=Hi(),n=Math.acosh,r=Math.log,i=Math.sqrt,a=Math.LN2;e({target:`Math`,stat:!0,forced:!n||Math.floor(n(Number.MAX_VALUE))!==710||n(1/0)!==1/0},{acosh:function(e){var n=+e;return n<1?NaN:n>94906265.62425156?r(n)+a:t(n-1+i(n-1)*i(n+1))}})})),Wi=o((()=>{var e=Y(),t=Math.asinh,n=Math.log,r=Math.sqrt,i=Math.LN2,a=94906265.62425156;function o(e){var t=+e;return!isFinite(t)||t===0?t:t<0?-o(-t):t>a?n(t)+i:n(t+r(t*t+1))}e({target:`Math`,stat:!0,forced:!(t&&1/t(0)>0)},{asinh:o})})),Gi=o((()=>{var e=Y(),t=Hi(),n=Math.atanh;e({target:`Math`,stat:!0,forced:!(n&&1/n(-0)<0)},{atanh:function(e){var n=+e;return n===0?n:t(2*n/(1-n))/2}})})),Ki=o((()=>{var e=Y(),t=fr(),n=Math.abs,r=Math.pow;e({target:`Math`,stat:!0},{cbrt:function(e){var i=+e;return t(i)*r(n(i),1/3)}})})),qi=o((()=>{var e=Y(),t=Math.floor,n=Math.log,r=Math.LOG2E;e({target:`Math`,stat:!0},{clz32:function(e){var i=e>>>0;return i?31-t(n(i+.5)*r):32}})})),Ji=o(((e,t)=>{var n=Math.expm1,r=Math.exp;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||n(-2e-17)!==-2e-17?function(e){var t=+e;return t===0?t:t>-1e-6&&t<1e-6?t+t*t/2:r(t)-1}:n})),Yi=o((()=>{var e=Y(),t=Ji(),n=Math.cosh,r=Math.abs,i=Math.E;e({target:`Math`,stat:!0,forced:!n||n(710)===1/0},{cosh:function(e){var n=t(r(e)-1)+1;return(n+1/(n*i*i))*(i/2)}})})),Xi=o((()=>{var e=Y(),t=Ji();e({target:`Math`,stat:!0,forced:t!==Math.expm1},{expm1:t})})),Zi=o((()=>{Y()({target:`Math`,stat:!0},{fround:hr()})})),Qi=o((()=>{var e=Y(),t=mr(),n=.0009765625,r=65504,i=6103515625e-14;e({target:`Math`,stat:!0},{f16round:function(e){return t(e,n,r,i)}})})),$i=o((()=>{var e=Y(),t=Math.hypot,n=Math.abs,r=Math.sqrt;e({target:`Math`,stat:!0,arity:2,forced:!!t&&t(1/0,NaN)!==1/0},{hypot:function(e,t){for(var i=0,a=0,o=arguments.length,s=0,c,l;a<o;)c=n(arguments[a++]),s<c?(l=s/c,i=i*l*l+1,s=c):c>0?(l=c/s,i+=l*l):i+=c;return s===1/0?1/0:s*r(i)}})})),ea=o((()=>{var e=Y(),t=d(),n=Math.imul;e({target:`Math`,stat:!0,forced:t(function(){return n(4294967295,5)!==-5||n.length!==2})},{imul:function(e,t){var n=65535,r=+e,i=+t,a=n&r,o=n&i;return 0|a*o+((n&r>>>16)*o+a*(n&i>>>16)<<16>>>0)}})})),ta=o(((e,t)=>{var n=Math.log,r=Math.LOG10E;t.exports=Math.log10||function(e){return n(e)*r}})),na=o((()=>{Y()({target:`Math`,stat:!0},{log10:ta()})})),ra=o((()=>{Y()({target:`Math`,stat:!0},{log1p:Hi()})})),ia=o((()=>{Y()({target:`Math`,stat:!0},{log2:Tr()})})),aa=o((()=>{Y()({target:`Math`,stat:!0},{sign:fr()})})),oa=o((()=>{var e=Y(),t=d(),n=Ji(),r=Math.abs,i=Math.exp,a=Math.E;e({target:`Math`,stat:!0,forced:t(function(){return Math.sinh(-2e-17)!==-2e-17})},{sinh:function(e){var t=+e;return r(t)<1?(n(t)-n(-t))/2:(i(t-1)-i(-t-1))*(a/2)}})})),sa=o((()=>{var e=Y(),t=_(),n=Ut(),r=RangeError,i=TypeError,a=1/0,o=NaN,s=Math.abs,c=Math.pow,l=t([].push),u=c(2,1023),d=c(2,53)-1,f=Number.MAX_VALUE,p=c(2,971),m={},h={},g={},v={},y={},b=function(e,t){var n=e+t;return{hi:n,lo:t-(n-e)}};e({target:`Math`,stat:!0},{sumPrecise:function(e){var t=[],c=0,_=v;switch(n(e,function(e){if(++c>d)throw new r(`Maximum allowed index exceeded`);if(typeof e!=`number`)throw new i(`Value is not a number`);_!==m&&(e===e?e===a?_=_===h?m:g:e===-a?_=_===g?m:h:(e!==0||1/e===a)&&(_===v||_===y)&&(_=y,l(t,e)):_=m)}),_){case m:return o;case h:return-a;case g:return a;case v:return-0}for(var x=[],S=0,C,w,T,E,D,O,k=0;k<t.length;k++){C=t[k];for(var A=0,j=0;j<x.length;j++){if(w=x[j],s(C)<s(w)&&(O=C,C=w,w=O),T=b(C,w),E=T.hi,D=T.lo,s(E)===a){var M=E===a?1:-1;S+=M,C=C-M*u-M*u,s(C)<s(w)&&(O=C,C=w,w=O),T=b(C,w),E=T.hi,D=T.lo}D!==0&&(x[A++]=D),C=E}x.length=A,C!==0&&l(x,C)}var N=x.length-1;if(E=0,D=0,S!==0){var P=N>=0?x[N]:0;if(N--,s(S)>1||S>0&&P>0||S<0&&P<0)return S>0?a:-a;if(T=b(S*u,P/2),E=T.hi,D=T.lo,D*=2,s(2*E)===a)return E>0?E===u&&D===-(p/2)&&N>=0&&x[N]<0?f:a:E===-u&&D===p/2&&N>=0&&x[N]>0?-f:-a;D!==0&&(x[++N]=D,D=0),E*=2}for(;N>=0&&(T=b(E,x[N--]),E=T.hi,D=T.lo,D===0););return N>=0&&(D<0&&x[N]<0||D>0&&x[N]>0)&&(w=D*2,C=E+w,w===C-E&&(E=C)),E}})})),ca=o((()=>{var e=Y(),t=Ji(),n=Math.exp;e({target:`Math`,stat:!0},{tanh:function(e){var r=+e,i=t(r),a=t(-r);return i===1/0?1:a===1/0?-1:(i-a)/(n(r)+n(-r))}})})),la=o((()=>{Re()(Math,`Math`,!0)})),ua=o((()=>{Y()({target:`Math`,stat:!0},{trunc:pe()})})),da=o(((e,t)=>{t.exports=_()(1.1.valueOf)})),fa=o(((e,t)=>{t.exports=`
10
+ \v\f\r \xA0               \u2028\u2029`})),pa=o(((e,t)=>{var n=_(),r=x(),i=X(),a=fa(),o=n(``.replace),s=RegExp(`^[`+a+`]+`),c=RegExp(`(^|[^`+a+`])[`+a+`]+$`),l=function(e){return function(t){var n=i(r(t));return e&1&&(n=o(n,s,``)),e&2&&(n=o(n,c,`$1`)),n}};t.exports={start:l(1),end:l(2),trim:l(3)}})),ma=o((()=>{var e=Y(),t=I(),n=f(),r=u(),i=Fe(),a=_(),o=we(),s=V(),c=Tt(),l=E(),p=j(),m=te(),h=d(),g=be().f,v=W().f,y=K().f,b=da(),x=pa().trim,S=`Number`,C=r[S],w=i[S],T=C.prototype,D=r.TypeError,O=a(``.slice),k=a(``.charCodeAt),A=function(e){var t=m(e,`number`);return typeof t==`bigint`?t:M(t)},M=function(e){var t=m(e,`number`),n,r,i,a,o,s,c,l;if(p(t))throw new D(`Cannot convert a Symbol value to a number`);if(typeof t==`string`&&t.length>2){if(t=x(t),n=k(t,0),n===43||n===45){if(r=k(t,2),r===88||r===120)return NaN}else if(n===48){switch(k(t,1)){case 66:case 98:i=2,a=49;break;case 79:case 111:i=8,a=55;break;default:return+t}for(o=O(t,2),s=o.length,c=0;c<s;c++)if(l=k(o,c),l<48||l>a)return NaN;return parseInt(o,i)}}return+t},N=o(S,!C(` 0o1`)||!C(`0b1`)||C(`+0x1`)),P=function(e){return l(T,e)&&h(function(){b(e)})},F=function(e){var t=arguments.length<1?0:C(A(e));return P(this)?c(Object(t),this,F):t};F.prototype=T,N&&!t&&(T.constructor=F),e({global:!0,constructor:!0,wrap:!0,forced:N},{Number:F});var L=function(e,t){for(var r=n?g(t):`MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range`.split(`,`),i=0,a;r.length>i;i++)s(t,a=r[i])&&!s(e,a)&&y(e,a,v(t,a))};t&&w&&L(i[S],w),(N||t)&&L(i[S],C)})),ha=o((()=>{Y()({target:`Number`,stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:2**-52})})),ga=o(((e,t)=>{var n=u().isFinite;t.exports=Number.isFinite||function(e){return typeof e==`number`&&n(e)}})),_a=o((()=>{Y()({target:`Number`,stat:!0},{isFinite:ga()})})),va=o(((e,t)=>{var n=w(),r=Math.floor;t.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&r(e)===e}})),ya=o((()=>{Y()({target:`Number`,stat:!0},{isInteger:va()})})),ba=o((()=>{Y()({target:`Number`,stat:!0},{isNaN:function(e){return e!==e}})})),xa=o((()=>{var e=Y(),t=va(),n=Math.abs;e({target:`Number`,stat:!0},{isSafeInteger:function(e){return t(e)&&n(e)<=9007199254740991}})})),Sa=o((()=>{Y()({target:`Number`,stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})})),Ca=o((()=>{Y()({target:`Number`,stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})})),wa=o(((e,t)=>{var n=u(),r=d(),i=_(),a=X(),o=pa().trim,s=fa(),c=i(``.charAt),l=n.parseFloat,f=n.Symbol,p=f&&f.iterator;t.exports=1/l(s+`-0`)!=-1/0||p&&!r(function(){l(Object(p))})?function(e){var t=o(a(e)),n=l(t);return n===0&&c(t,0)===`-`?-0:n}:l})),Ta=o((()=>{var e=Y(),t=wa();e({target:`Number`,stat:!0,forced:Number.parseFloat!==t},{parseFloat:t})})),Ea=o(((e,t)=>{var n=u(),r=d(),i=_(),a=X(),o=pa().trim,s=fa(),c=n.parseInt,l=n.Symbol,f=l&&l.iterator,p=/^[+-]?0x/i,m=i(p.exec);t.exports=c(s+`08`)!==8||c(s+`0x16`)!==22||f&&!r(function(){c(Object(f))})?function(e,t){var n=o(a(e));return c(n,t>>>0||(m(p,n)?16:10))}:c})),Da=o((()=>{var e=Y(),t=Ea();e({target:`Number`,stat:!0,forced:Number.parseInt!==t},{parseInt:t})})),Oa=o((()=>{var e=Y(),t=_(),n=me(),r=da(),i=Vr(),a=ta(),o=d(),s=RangeError,c=String,l=isFinite,u=Math.abs,f=Math.floor,p=Math.pow,m=Math.round,h=t(1.1.toExponential),g=t(i),v=t(``.slice),y=p(10,308),b=h(-69e-12,4)===`-6.9000e-11`&&h(1.255,2)===`1.25e+0`&&h(12345,3)===`1.235e+4`&&h(25,0)===`3e+1`;e({target:`Number`,proto:!0,forced:!b||!function(){return o(function(){h(1,1/0)})&&o(function(){h(1,-1/0)})}()||!function(){return!o(function(){h(1/0,1/0),h(NaN,1/0)})}()},{toExponential:function(e){var t=r(this);if(e===void 0)return h(t);var i=n(e);if(!l(t))return String(t);if(i<0||i>20)throw new s(`Incorrect fraction digits`);if(b)return h(t,i);var o=``,d,_,x,S,C,w,T;return t<0&&(o=`-`,t=-t),t===0?(_=0,d=g(`0`,i+1)):(C=a(t),_=f(C),T=i-_>=308?t*y*p(10,i-_-308):t/p(10,_-i),w=m(T),T-w>=.5&&(w+=1),w>=p(10,i+1)&&(w/=10,_+=1),d=c(w)),i!==0&&(d=v(d,0,1)+`.`+v(d,1)),_===0?(x=`+`,S=`0`):(x=_>0?`+`:`-`,S=c(u(_))),d+=`e`+x+S,o+d}})})),ka=o((()=>{var e=Y(),t=_(),n=me(),r=da(),i=Vr(),a=d(),o=RangeError,s=String,c=Math.floor,l=t(i),u=t(``.slice),f=t(1.1.toFixed),p=function(e,t,n){return t===0?n:t%2==1?p(e,t-1,n*e):p(e*e,t/2,n)},m=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t},h=function(e,t,n){for(var r=-1,i=n;++r<6;)i+=t*e[r],e[r]=i%1e7,i=c(i/1e7)},g=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=c(r/t),r=r%t*1e7},v=function(e){for(var t=6,n=``;--t>=0;)if(n!==``||t===0||e[t]!==0){var r=s(e[t]);n=n===``?r:n+l(`0`,7-r.length)+r}return n};e({target:`Number`,proto:!0,forced:a(function(){return f(8e-5,3)!==`0.000`||f(.9,0)!==`1`||f(1.255,2)!==`1.25`||f(0xde0b6b3a7640080,0)!==`1000000000000000128`})||!a(function(){f({})})},{toFixed:function(e){var t=r(this),i=n(e),a=[0,0,0,0,0,0],c=``,d=`0`,f,_,y,b;if(i<0||i>20)throw new o(`Incorrect fraction digits`);if(t!==t)return`NaN`;if(t<=-1e21||t>=1e21)return s(t);if(t<0&&(c=`-`,t=-t),t>1e-21)if(f=m(t*p(2,69,1))-69,_=f<0?t*p(2,-f,1):t/p(2,f,1),_*=4503599627370496,f=52-f,f>0){for(h(a,0,_),y=i;y>=7;)h(a,1e7,0),y-=7;for(h(a,p(10,y,1),0),y=f-1;y>=23;)g(a,1<<23),y-=23;g(a,1<<y),h(a,1,1),g(a,2),d=v(a)}else h(a,0,_),h(a,1<<-f,0),d=v(a)+l(`0`,i);return i>0?(b=d.length,d=c+(b<=i?`0.`+l(`0`,i-b)+d:u(d,0,b-i)+`.`+u(d,b-i))):d=c+d,d}})})),Aa=o((()=>{var e=Y(),t=_(),n=d(),r=da(),i=t(1.1.toPrecision);e({target:`Number`,proto:!0,forced:n(function(){return i(1,void 0)!==`1`})||!n(function(){i({})})},{toPrecision:function(e){return e===void 0?i(r(this)):i(r(this),e)}})})),ja=o(((e,t)=>{var n=f(),r=_(),i=m(),a=d(),o=De(),s=xe(),c=h(),l=B(),u=y(),p=Object.assign,g=Object.defineProperty,v=r([].concat);t.exports=!p||a(function(){if(n&&p({b:1},p(g({},`a`,{enumerable:!0,get:function(){g(this,`b`,{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},r=Symbol(`assign detection`),i=`abcdefghijklmnopqrst`;return e[r]=7,i.split(``).forEach(function(e){t[e]=e}),p({},e)[r]!==7||o(p({},t)).join(``)!==i})?function(e,t){for(var r=l(e),a=arguments.length,d=1,f=s.f,p=c.f;a>d;)for(var m=u(arguments[d++]),h=f?v(o(m),f(m)):o(m),g=h.length,_=0,y;g>_;)y=h[_++],(!n||i(p,m,y))&&(r[y]=m[y]);return r}:p})),Ma=o((()=>{var e=Y(),t=ja();e({target:`Object`,stat:!0,arity:2,forced:Object.assign!==t},{assign:t})})),Na=o((()=>{var e=Y(),t=f(),n=Ae();e({target:`Object`,stat:!0,sham:!t},{create:n})})),Pa=o(((e,t)=>{var n=I(),r=u(),i=d(),a=Jn();t.exports=n||!i(function(){if(!(a&&a<535)){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete r[e]}})})),Fa=o((()=>{var e=Y(),t=f(),n=Pa(),r=N(),i=B(),a=K();t&&e({target:`Object`,proto:!0,forced:n},{__defineGetter__:function(e,t){a.f(i(this),e,{get:r(t),enumerable:!0,configurable:!0})}})})),Ia=o((()=>{var e=Y(),t=f(),n=Oe().f;e({target:`Object`,stat:!0,forced:Object.defineProperties!==n,sham:!t},{defineProperties:n})})),La=o((()=>{var e=Y(),t=f(),n=K().f;e({target:`Object`,stat:!0,forced:Object.defineProperty!==n,sham:!t},{defineProperty:n})})),Ra=o((()=>{var e=Y(),t=f(),n=Pa(),r=N(),i=B(),a=K();t&&e({target:`Object`,proto:!0,forced:n},{__defineSetter__:function(e,t){a.f(i(this),e,{set:r(t),enumerable:!0,configurable:!0})}})})),za=o(((e,t)=>{var n=f(),r=d(),i=_(),a=Lt(),o=De(),s=S(),c=h().f,l=i(c),u=i([].push),p=n&&r(function(){var e=Object.create(null);return e[2]=2,!l(e,2)}),m=function(e){return function(t){for(var r=s(t),i=o(r),c=p&&a(r)===null,d=i.length,f=0,m=[],h;d>f;)h=i[f++],(!n||(c?h in r:l(r,h)))&&u(m,e?[h,r[h]]:r[h]);return m}};t.exports={entries:m(!0),values:m(!1)}})),Ba=o((()=>{var e=Y(),t=za().entries;e({target:`Object`,stat:!0},{entries:function(e){return t(e)}})})),Va=o((()=>{var e=Y(),t=Oi(),n=d(),r=w(),i=Ni().onFreeze,a=Object.freeze;e({target:`Object`,stat:!0,forced:n(function(){a(1)}),sham:!t},{freeze:function(e){return a&&r(e)?a(i(e)):e}})})),Ha=o((()=>{var e=Y(),t=Ut(),n=Ge();e({target:`Object`,stat:!0},{fromEntries:function(e){var r={};return t(e,function(e,t){n(r,e,t)},{AS_ENTRIES:!0}),r}})})),Ua=o((()=>{var e=Y(),t=d(),n=S(),r=W().f,i=f();e({target:`Object`,stat:!0,forced:!i||t(function(){r(1)}),sham:!i},{getOwnPropertyDescriptor:function(e,t){return r(n(e),t)}})})),Wa=o((()=>{var e=Y(),t=f(),n=Se(),r=S(),i=W(),a=Ge();e({target:`Object`,stat:!0,sham:!t},{getOwnPropertyDescriptors:function(e){for(var t=r(e),o=i.f,s=n(t),c={},l=0,u,d;s.length>l;)d=o(t,u=s[l++]),d!==void 0&&a(c,u,d);return c}})})),Ga=o((()=>{var e=Y(),t=d(),n=Me().f;e({target:`Object`,stat:!0,forced:t(function(){return!Object.getOwnPropertyNames(1)})},{getOwnPropertyNames:n})})),Ka=o((()=>{var e=Y(),t=d(),n=B(),r=Lt(),i=It();e({target:`Object`,stat:!0,forced:t(function(){r(1)}),sham:!i},{getPrototypeOf:function(e){return r(n(e))}})})),qa=o((()=>{var e=Y(),t=Ge(),n=T(),r=_(),i=N(),a=x(),o=ne(),s=Ut(),c=d(),l=Object.groupBy,u=n(`Object`,`create`),f=r([].push);e({target:`Object`,stat:!0,forced:!l||c(function(){return l(`ab`,function(e){return e}).a.length!==1})},{groupBy:function(e,n){a(e),i(n);var r=u(null),c=0;return s(e,function(e){var i=o(n(e,c++));i in r?f(r[i],e):t(r,i,[e])}),r}})})),Ja=o((()=>{Y()({target:`Object`,stat:!0},{hasOwn:V()})})),Ya=o(((e,t)=>{t.exports=Object.is||function(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}})),Xa=o((()=>{Y()({target:`Object`,stat:!0},{is:Ya()})})),Za=o((()=>{var e=Y(),t=Mi();e({target:`Object`,stat:!0,forced:Object.isExtensible!==t},{isExtensible:t})})),Qa=o((()=>{var e=Y(),t=d(),n=w(),r=v(),i=ji(),a=Object.isFrozen;e({target:`Object`,stat:!0,forced:i||t(function(){a(1)})},{isFrozen:function(e){return!n(e)||i&&r(e)===`ArrayBuffer`?!0:a?a(e):!1}})})),$a=o((()=>{var e=Y(),t=d(),n=w(),r=v(),i=ji(),a=Object.isSealed;e({target:`Object`,stat:!0,forced:i||t(function(){a(1)})},{isSealed:function(e){return!n(e)||i&&r(e)===`ArrayBuffer`?!0:a?a(e):!1}})})),eo=o((()=>{var e=Y(),t=B(),n=De();e({target:`Object`,stat:!0,forced:d()(function(){n(1)})},{keys:function(e){return n(t(e))}})})),to=o((()=>{var e=Y(),t=f(),n=Pa(),r=B(),i=ne(),a=Lt(),o=W().f;t&&e({target:`Object`,proto:!0,forced:n},{__lookupGetter__:function(e){var t=r(this),n=i(e),s;do if(s=o(t,n))return s.get;while(t=a(t))}})})),no=o((()=>{var e=Y(),t=f(),n=Pa(),r=B(),i=ne(),a=Lt(),o=W().f;t&&e({target:`Object`,proto:!0,forced:n},{__lookupSetter__:function(e){var t=r(this),n=i(e),s;do if(s=o(t,n))return s.set;while(t=a(t))}})})),ro=o((()=>{var e=Y(),t=w(),n=Ni().onFreeze,r=Oi(),i=d(),a=Object.preventExtensions;e({target:`Object`,stat:!0,forced:i(function(){a(1)}),sham:!r},{preventExtensions:function(e){return a&&t(e)?a(n(e)):e}})})),io=o((()=>{var e=f(),t=Ne(),n=w(),r=xt(),i=B(),a=x(),o=Object.getPrototypeOf,s=Object.setPrototypeOf,c=Object.prototype,l=`__proto__`;if(e&&o&&s&&!(l in c))try{t(c,l,{configurable:!0,get:function(){return o(i(this))},set:function(e){var t=a(this);r(e)&&n(t)&&s(t,e)}})}catch{}})),ao=o((()=>{var e=Y(),t=w(),n=Ni().onFreeze,r=Oi(),i=d(),a=Object.seal;e({target:`Object`,stat:!0,forced:i(function(){a(1)}),sham:!r},{seal:function(e){return a&&t(e)?a(n(e)):e}})})),oo=o((()=>{Y()({target:`Object`,stat:!0},{setPrototypeOf:Ct()})})),so=o(((e,t)=>{var n=Te(),r=Ee();t.exports=n?{}.toString:function(){return`[object `+r(this)+`]`}})),co=o((()=>{var e=Te(),t=q(),n=so();e||t(Object.prototype,`toString`,n,{unsafe:!0})})),lo=o((()=>{var e=Y(),t=za().values;e({target:`Object`,stat:!0},{values:function(e){return t(e)}})})),uo=o((()=>{var e=Y(),t=wa();e({global:!0,forced:parseFloat!==t},{parseFloat:t})})),fo=o((()=>{var e=Y(),t=Ea();e({global:!0,forced:parseInt!==t},{parseInt:t})})),po=o(((e,t)=>{var n=He(),r=M(),i=TypeError;t.exports=function(e){if(n(e))return e;throw new i(r(e)+` is not a constructor`)}})),mo=o(((e,t)=>{var n=G(),r=po(),i=b(),a=H()(`species`);t.exports=function(e,t){var o=n(e).constructor,s;return o===void 0||i(s=n(o)[a])?t:r(s)}})),ho=o(((e,t)=>{var n=TypeError;t.exports=function(e,t){if(e<t)throw new n(`Not enough arguments`);return e}})),go=o(((e,t)=>{var n=D();t.exports=/ipad|iphone|ipod/i.test(n)&&/applewebkit/i.test(n)})),_o=o(((e,t)=>{var n=u(),r=Ze(),i=Be(),a=C(),o=V(),s=d(),c=ke(),l=je(),f=U(),p=ho(),m=go(),h=zn(),g=n.setImmediate,_=n.clearImmediate,v=n.process,y=n.Dispatch,b=n.Function,x=n.MessageChannel,S=n.String,w=0,T={},E=`onreadystatechange`,D,O,k,A;s(function(){D=n.location});var j=function(e){if(o(T,e)){var t=T[e];delete T[e],t()}},M=function(e){return function(){j(e)}},N=function(e){j(e.data)},P=function(e){n.postMessage(S(e),D.protocol+`//`+D.host)};(!g||!_)&&(g=function(e){p(arguments.length,1);var t=a(e)?e:b(e),n=l(arguments,1);return T[++w]=function(){r(t,void 0,n)},O(w),w},_=function(e){delete T[e]},h?O=function(e){v.nextTick(M(e))}:y&&y.now?O=function(e){y.now(M(e))}:x&&!m?(k=new x,A=k.port2,k.port1.onmessage=N,O=i(A.postMessage,A)):n.addEventListener&&a(n.postMessage)&&!n.importScripts&&D&&D.protocol!==`file:`&&!s(P)?(O=P,n.addEventListener(`message`,N,!1)):O=E in f(`script`)?function(e){c.appendChild(f(`script`))[E]=function(){c.removeChild(this),j(e)}}:function(e){setTimeout(M(e),0)}),t.exports={set:g,clear:_}})),vo=o(((e,t)=>{var n=u(),r=f(),i=Object.getOwnPropertyDescriptor;t.exports=function(e){if(!r)return n[e];var t=i(n,e);return t&&t.value}})),yo=o(((e,t)=>{var n=function(){this.head=null,this.tail=null};n.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return(this.head=e.next)===null&&(this.tail=null),e.item}},t.exports=n})),bo=o(((e,t)=>{var n=D();t.exports=/ipad|iphone|ipod/i.test(n)&&typeof Pebble<`u`})),xo=o(((e,t)=>{var n=D();t.exports=/web0s(?!.*chrome)/i.test(n)})),So=o(((e,t)=>{var n=u(),r=vo(),i=Be(),a=_o().set,o=yo(),s=go(),c=bo(),l=xo(),d=zn(),f=n.MutationObserver||n.WebKitMutationObserver,p=n.document,m=n.process,h=n.Promise,g=r(`queueMicrotask`),_,v,y,b,x;if(!g){var S=new o,C=function(){var e,t;for(d&&(e=m.domain)&&e.exit();t=S.get();)try{t()}catch(e){throw S.head&&_(),e}e&&e.enter()};!s&&!d&&!l&&f&&p?(v=!0,y=p.createTextNode(``),new f(C).observe(y,{characterData:!0}),_=function(){y.data=v=!v}):!c&&h&&h.resolve?(b=h.resolve(void 0),b.constructor=h,x=i(b.then,b),_=function(){x(C)}):d?_=function(){m.nextTick(C)}:(a=i(a,n),_=function(){a(C)}),g=function(e){S.head||_(),S.add(e)}}t.exports=g})),Co=o(((e,t)=>{t.exports=function(e,t){try{arguments.length===1?console.error(e):console.error(e,t)}catch{}}})),wo=o(((e,t)=>{t.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}})),To=o(((e,t)=>{t.exports=u().Promise})),Eo=o(((e,t)=>{var n=u(),r=To(),i=C(),a=we(),o=se(),s=H(),c=Rn(),l=I(),d=O(),f=r&&r.prototype,p=s(`species`),m=!1,h=i(n.PromiseRejectionEvent);t.exports={CONSTRUCTOR:a(`Promise`,function(){var e=o(r),t=e!==String(r);if(!t&&d===66||l&&!(f.catch&&f.finally))return!0;if(!d||d<51||!/native code/.test(e)){var n=new r(function(e){e(1)}),i=function(e){e(function(){},function(){})},a=n.constructor={};if(a[p]=i,m=n.then(function(){})instanceof i,!m)return!0}return!t&&(c===`BROWSER`||c===`DENO`)&&!h}),REJECTION_EVENT:h,SUBCLASSING:m}})),Do=o(((e,t)=>{var n=N(),r=TypeError,i=function(e){var t,i;this.promise=new e(function(e,n){if(t!==void 0||i!==void 0)throw new r(`Bad Promise constructor`);t=e,i=n}),this.resolve=n(t),this.reject=n(i)};t.exports.f=function(e){return new i(e)}})),Oo=o((()=>{var e=Y(),t=I(),n=zn(),r=u(),i=Fe(),a=m(),o=q(),s=Ct(),c=Re(),l=Xn(),d=N(),f=C(),p=w(),h=ur(),g=mo(),_=_o().set,v=So(),y=Co(),b=wo(),x=yo(),S=de(),T=To(),E=Eo(),D=Do(),O=`Promise`,k=E.CONSTRUCTOR,A=E.REJECTION_EVENT,j=E.SUBCLASSING,M=S.getterFor(O),P=S.set,F=T&&T.prototype,L=T,R=F,z=r.TypeError,B=r.document,V=r.process,ee=D.f,H=ee,te=!!(B&&B.createEvent&&r.dispatchEvent),ne=`unhandledrejection`,U=`rejectionhandled`,re=0,W=1,ie=2,G=1,K=2,ae,oe,se,ce,le=function(e){var t;return p(e)&&f(t=e.then)?t:!1},ue=function(e,t){var n=t.value,r=t.state===W,i=r?e.ok:e.fail,o=e.resolve,s=e.reject,c=e.domain,l,u,d;try{i?(r||(t.rejection===K&&ge(t),t.rejection=G),i===!0?l=n:(c&&c.enter(),l=i(n),c&&(c.exit(),d=!0)),l===e.promise?s(new z(`Promise-chain cycle`)):(u=le(l))?a(u,l,o,s):o(l)):s(n)}catch(e){c&&!d&&c.exit(),s(e)}},fe=function(e,t){e.notified||(e.notified=!0,v(function(){for(var n=e.reactions,r;r=n.get();)ue(r,e);e.notified=!1,t&&!e.rejection&&me(e)}))},pe=function(e,t,n){var i,a;te?(i=B.createEvent(`Event`),i.promise=t,i.reason=n,i.initEvent(e,!1,!0),r.dispatchEvent(i)):i={promise:t,reason:n},!A&&(a=r[`on`+e])?a(i):e===ne&&y(`Unhandled promise rejection`,n)},me=function(e){a(_,r,function(){var t=e.facade,r=e.value,i=he(e),a;if(i&&(a=b(function(){n?V.emit(`unhandledRejection`,r,t):pe(ne,t,r)}),e.rejection=n||he(e)?K:G,a.error))throw a.value})},he=function(e){return e.rejection!==G&&!e.parent},ge=function(e){a(_,r,function(){var t=e.facade;n?V.emit(`rejectionHandled`,t):pe(U,t,e.value)})},J=function(e,t,n){return function(r){e(t,r,n)}},_e=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=ie,fe(e,!0))},ve=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw new z(`Promise can't be resolved itself`);var r=le(t);r?v(function(){var n={done:!1};try{a(r,t,J(ve,n,e),J(_e,n,e))}catch(t){_e(n,t,e)}}):(e.value=t,e.state=W,fe(e,!1))}catch(t){_e({done:!1},t,e)}}};if(k&&(L=function(e){h(this,R),d(e),a(ae,this);var t=M(this);try{e(J(ve,t),J(_e,t))}catch(e){_e(t,e)}},R=L.prototype,ae=function(e){P(this,{type:O,done:!1,notified:!1,parent:!1,reactions:new x,rejection:!1,state:re,value:null})},ae.prototype=o(R,`then`,function(e,t){var r=M(this),i=ee(g(this,L));return r.parent=!0,i.ok=f(e)?e:!0,i.fail=f(t)&&t,i.domain=n?V.domain:void 0,r.state===re?r.reactions.add(i):v(function(){ue(i,r)}),i.promise}),oe=function(){var e=new ae,t=M(e);this.promise=e,this.resolve=J(ve,t),this.reject=J(_e,t)},D.f=ee=function(e){return e===L||e===se?new oe(e):H(e)},!t&&f(T)&&F!==Object.prototype)){ce=F.then,j||o(F,`then`,function(e,t){var n=this;return new L(function(e,t){a(ce,n,e,t)}).then(e,t)},{unsafe:!0});try{delete F.constructor}catch{}s&&s(F,R)}e({global:!0,constructor:!0,wrap:!0,forced:k},{Promise:L}),se=i.Promise,c(L,O,!1,!0),l(O)})),ko=o(((e,t)=>{var n=To(),r=xn();t.exports=Eo().CONSTRUCTOR||!r(function(e){n.all(e).then(void 0,function(){})})})),Ao=o((()=>{var e=Y(),t=m(),n=N(),r=Do(),i=wo(),a=Ut();e({target:`Promise`,stat:!0,forced:ko()},{all:function(e){var o=this,s=r.f(o),c=s.resolve,l=s.reject,u=i(function(){var r=n(o.resolve),i=[],s=0,u=1;a(e,function(e){var n=s++,a=!1;u++,t(r,o,e).then(function(e){a||(a=!0,i[n]=e,--u||c(i))},l)}),--u||c(i)});return u.error&&l(u.value),s.promise}})})),jo=o((()=>{var e=Y(),t=I(),n=Eo().CONSTRUCTOR,r=To(),i=T(),a=C(),o=q(),s=r&&r.prototype;if(e({target:`Promise`,proto:!0,forced:n,real:!0},{catch:function(e){return this.then(void 0,e)}}),!t&&a(r)){var c=i(`Promise`).prototype.catch;s.catch!==c&&o(s,`catch`,c,{unsafe:!0})}})),Mo=o((()=>{var e=Y(),t=m(),n=N(),r=Do(),i=wo(),a=Ut();e({target:`Promise`,stat:!0,forced:ko()},{race:function(e){var o=this,s=r.f(o),c=s.reject,l=i(function(){var r=n(o.resolve);a(e,function(e){t(r,o,e).then(s.resolve,c)})});return l.error&&c(l.value),s.promise}})})),No=o((()=>{var e=Y(),t=Do(),n=Eo().CONSTRUCTOR;e({target:`Promise`,stat:!0,forced:n},{reject:function(e){var n=t.f(this),r=n.reject;return r(e),n.promise}})})),Po=o(((e,t)=>{var n=G(),r=w(),i=Do();t.exports=function(e,t){if(n(e),r(t)&&t.constructor===e)return t;var a=i.f(e),o=a.resolve;return o(t),a.promise}})),Fo=o((()=>{var e=Y(),t=T(),n=I(),r=To(),i=Eo().CONSTRUCTOR,a=Po(),o=t(`Promise`),s=n&&!i;e({target:`Promise`,stat:!0,forced:n||i},{resolve:function(e){return a(s&&this===o?r:this,e)}})})),Io=o((()=>{Oo(),Ao(),jo(),Mo(),No(),Fo()})),Lo=o((()=>{var e=Y(),t=m(),n=N(),r=Do(),i=wo(),a=Ut();e({target:`Promise`,stat:!0,forced:ko()},{allSettled:function(e){var o=this,s=r.f(o),c=s.resolve,l=s.reject,u=i(function(){var r=n(o.resolve),i=[],s=0,l=1;a(e,function(e){var n=s++,a=!1;l++,t(r,o,e).then(function(e){a||(a=!0,i[n]={status:`fulfilled`,value:e},--l||c(i))},function(e){a||(a=!0,i[n]={status:`rejected`,reason:e},--l||c(i))})}),--l||c(i)});return u.error&&l(u.value),s.promise}})})),Ro=o((()=>{var e=Y(),t=m(),n=N(),r=T(),i=Do(),a=wo(),o=Ut(),s=ko(),c=`No one promise resolved`;e({target:`Promise`,stat:!0,forced:s},{any:function(e){var s=this,l=r(`AggregateError`),u=i.f(s),d=u.resolve,f=u.reject,p=a(function(){var r=n(s.resolve),i=[],a=0,u=1,p=!1;o(e,function(e){var n=a++,o=!1;u++,t(r,s,e).then(function(e){o||p||(p=!0,d(e))},function(e){o||p||(o=!0,i[n]=e,--u||f(new l(i,c)))})}),--u||f(new l(i,c))});return p.error&&f(p.value),u.promise}})})),zo=o((()=>{var e=Y(),t=I(),n=To(),r=d(),i=T(),a=C(),o=mo(),s=Po(),c=q(),l=n&&n.prototype;if(e({target:`Promise`,proto:!0,real:!0,forced:!!n&&r(function(){l.finally.call({then:function(){}},function(){})})},{finally:function(e){var t=o(this,i(`Promise`)),n=a(e);return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}}),!t&&a(n)){var u=i(`Promise`).prototype.finally;l.finally!==u&&c(l,`finally`,u,{unsafe:!0})}})),Bo=o((()=>{var e=Y(),t=u(),n=Ze(),r=je(),i=Do(),a=N(),o=wo(),s=t.Promise,c=!1;e({target:`Promise`,stat:!0,forced:!s||!s.try||o(function(){s.try(function(e){c=e===8},8)}).error||!c},{try:function(e){var t=arguments.length>1?r(arguments,1):[],s=i.f(this),c=o(function(){return n(a(e),void 0,t)});return(c.error?s.reject:s.resolve)(c.value),s.promise}})})),Vo=o((()=>{var e=Y(),t=Do();e({target:`Promise`,stat:!0},{withResolvers:function(){var e=t.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}})})),Ho=o(((e,t)=>{var n=u(),r=R(),i=C(),a=Ae(),o=Lt(),s=q(),c=H(),l=I(),d=`USE_FUNCTION_CONSTRUCTOR`,f=c(`asyncIterator`),p=n.AsyncIterator,m=r.AsyncIteratorPrototype,h,g;if(m)h=m;else if(i(p))h=p.prototype;else if(r[d]||n[d])try{g=o(o(o(Function(`return async function*(){}()`)()))),o(g)===Object.prototype&&(h=g)}catch{}h?l&&(h=a(h)):h={},i(h[f])||s(h,f,function(){return this}),t.exports=h})),Uo=o(((e,t)=>{var n=m(),r=G(),i=Ae(),a=P(),o=lr(),s=de(),c=Ht(),l=T(),u=Ho(),d=kn(),f=l(`Promise`),p=`AsyncFromSyncIterator`,h=s.set,g=s.getterFor(p),_=function(e,t,n,r,i){var a=e.done;f.resolve(e.value).then(function(e){t(d(e,a))},function(e){if(!a&&i)try{c(r,`throw`,e)}catch(t){e=t}n(e)})},v=function(e){e.type=p,h(this,e)};v.prototype=o(i(u),{next:function(){var e=g(this),t=arguments.length>0,i=t?arguments[0]:void 0;return new f(function(a,o){_(r(t?n(e.next,e.iterator,i):n(e.next,e.iterator)),a,o,e.iterator,!0)})},return:function(){var e=g(this).iterator,t=arguments.length>0,i=t?arguments[0]:void 0;return new f(function(o,s){var c=a(e,`return`);if(c===void 0)return o(d(i,!0));_(r(t?n(c,e,i):n(c,e)),o,s,e)})},throw:function(){var e=g(this).iterator,t=arguments.length>0,i=t?arguments[0]:void 0;return new f(function(o,s){var l=a(e,`throw`);if(l===void 0){try{c(e,`normal`)}catch(e){return s(e)}return s(TypeError(`The iterator does not provide a throw method`))}_(r(t?n(l,e,i):n(l,e)),o,s,e,!0)})}}),t.exports=v})),Wo=o(((e,t)=>{var n=m(),r=Uo(),i=G(),a=Vt(),o=ci(),s=P(),c=H()(`asyncIterator`);t.exports=function(e,t){var l=arguments.length<2?s(e,c):t;return l?i(n(l,e)):new r(o(a(e)))}})),Go=o(((e,t)=>{var n=m(),r=G(),i=T(),a=P();t.exports=function(e,t,o,s){try{var c=a(e,`return`);if(c)return i(`Promise`).resolve(n(c,e)).then(function(e){try{t!==s&&r(e)}catch(e){s(e);return}t(o)},function(e){t===s?t(o):s(e)})}catch(e){return s(t===s?o:e)}t(o)}})),Ko=o(((e,t)=>{var n=m(),r=N(),i=G(),a=w(),o=Xt(),s=T(),c=Ge(),l=Zt(),u=ci(),d=Go(),f=function(e){var t=e===0,f=e===1,p=e===2,m=e===3;return function(e,h,g){i(e);var _=h!==void 0;(_||!t)&&r(h);var v=u(e),y=s(`Promise`),b=v.iterator,x=v.next,S=0;return new y(function(e,r){var s=function(e){d(b,r,e,r)},u=function(){try{try{o(S)}catch(e){return s(e)}y.resolve(i(n(x,b))).then(function(n){try{if(i(n).done)t?(l(g,S),e(g)):e(m?!1:p||void 0);else{var o=n.value;try{if(_){var v=S++,x=h(o,v),C=function(n){if(f)u();else if(p)n?u():d(b,e,!1,r);else if(t)try{c(g,v,n),u()}catch(e){s(e)}else n?d(b,e,m||o,r):u()};a(x)?y.resolve(x).then(C,s):C(x)}else c(g,S++,o),u()}catch(e){s(e)}}}catch(e){r(e)}},r)}catch(e){r(e)}};u()})}};t.exports={toArray:f(0),forEach:f(1),every:f(2),some:f(3),find:f(4)}})),qo=o(((e,t)=>{var n=Be(),r=_(),i=He(),a=Wo(),o=Vt(),s=ci(),c=Bt(),l=P(),u=T(),d=tr(),f=H(),p=Uo(),m=Ko().toArray,h=f(`asyncIterator`),g=r(d(`Array`,`values`)),v=r(g([]).next),y=function(){return new b(this)},b=function(e){this.iterator=g(e)};b.prototype.next=function(){return v(this.iterator)},t.exports=function(e){var t=this,r=arguments.length,d=r>1?arguments[1]:void 0,f=r>2?arguments[2]:void 0;return new(u(`Promise`))(function(r){d!==void 0&&(d=n(d,f));var u=l(e,h),g=u?void 0:c(e)||y,_=i(t)?new t:[];r(m(u?a(e,u):new p(s(o(e,g))),d,_))})}})),Jo=o((()=>{var e=Y(),t=qo(),n=d(),r=Array.fromAsync;e({target:`Array`,stat:!0,forced:!r||n(function(){var e=0;return r.call(function(){return e++,[]},{length:0}),e!==1})},{fromAsync:t})})),Yo=o((()=>{var e=Y(),t=f(),n=T(),r=N(),i=ur(),a=q(),o=lr(),s=Ne(),c=H(),l=de(),u=Yr(),d=O(),p=n(`Promise`),m=n(`SuppressedError`),h=ReferenceError,g=c(`asyncDispose`),_=c(`toStringTag`),v=`AsyncDisposableStack`,y=l.set,b=l.getterFor(v),x=`async-dispose`,S=`disposed`,C=`pending`,w=function(e){var t=b(e);if(t.state===S)throw new h(v+` already disposed`);return t},E=function(){y(i(this,D),{type:v,state:C,stack:[]}),t||(this.disposed=!1)},D=E.prototype;o(D,{disposeAsync:function(){var e=this;return new p(function(n,r){var i=b(e);if(i.state===S)return n(void 0);i.state=S,t||(e.disposed=!0);var a=i.stack,o=a.length,s=!1,c,l=function(e){s?c=new m(e,c):(s=!0,c=e),u()},u=function(){if(o){var e=a[--o];a[o]=null;try{p.resolve(e()).then(u,l)}catch(e){l(e)}}else i.stack=null,s?r(c):n(void 0)};u()})},use:function(e){return u(w(this),e,x),e},adopt:function(e,t){var n=w(this);return r(t),u(n,void 0,x,function(){return t(e)}),e},defer:function(e){var t=w(this);r(e),u(t,void 0,x,e)},move:function(){var e=w(this),n=new E;return b(n).stack=e.stack,e.stack=[],e.state=S,t||(this.disposed=!0),n}}),t&&s(D,`disposed`,{configurable:!0,get:function(){return b(this).state===S}}),a(D,g,D.disposeAsync,{name:`disposeAsync`}),a(D,_,v,{nonWritable:!0}),e({global:!0,constructor:!0,forced:d&&d<136},{AsyncDisposableStack:E})})),Xo=o((()=>{var e=m(),t=q(),n=T(),r=P(),i=V(),a=H(),o=Ho(),s=a(`asyncDispose`),c=n(`Promise`);i(o,s)||t(o,s,function(){var t=this;return new c(function(n,i){var a=r(t,`return`);a?c.resolve(e(a,t)).then(function(){n(void 0)},i):n(void 0)})})})),Zo=o((()=>{var e=Y(),t=Ze(),n=N(),r=G();e({target:`Reflect`,stat:!0,forced:!d()(function(){Reflect.apply(function(){})})},{apply:function(e,i,a){return t(n(e),i,r(a))}})})),Qo=o((()=>{var e=Y(),t=T(),n=Ze(),r=Qr(),i=po(),a=G(),o=w(),s=Ae(),c=d(),l=t(`Reflect`,`construct`),u=Object.prototype,f=[].push,p=c(function(){function e(){}return!(l(function(){},[],e)instanceof e)}),m=!c(function(){l(function(){})}),h=p||m;e({target:`Reflect`,stat:!0,forced:h,sham:h},{construct:function(e,t){i(e);var c=arguments.length<3?e:i(arguments[2]);if(a(t),m&&!p)return l(e,t,c);if(e===c){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var d=[null];return n(f,d,t),new(n(r,e,d))}var h=c.prototype,g=s(o(h)?h:u),_=n(e,g,t);return o(_)?_:g}})})),$o=o((()=>{var e=Y(),t=f(),n=G(),r=ne(),i=K(),a=C(),o=d(),s=TypeError;e({target:`Reflect`,stat:!0,forced:o(function(){Reflect.defineProperty(i.f({},1,{value:1}),1,{value:2})}),sham:!t},{defineProperty:function(e,t,o){n(e);var c=r(t),l,u;if(n(o),(`get`in o||`set`in o)&&(`get`in o&&!a(l=o.get)&&l!==void 0||`set`in o&&!a(u=o.set)&&u!==void 0||`value`in o||`writable`in o))throw new s(`Invalid property descriptor`);try{return i.f(e,c,o),!0}catch{return!1}}})})),es=o((()=>{var e=Y(),t=G(),n=W().f,r=ne();e({target:`Reflect`,stat:!0},{deleteProperty:function(e,i){t(e);var a=r(i),o=n(e,a);return o&&!o.configurable?!1:delete e[a]}})})),ts=o(((e,t)=>{var n=V();t.exports=function(e){return e!==void 0&&(n(e,`value`)||n(e,`writable`))}})),ns=o((()=>{var e=Y(),t=m(),n=w(),r=G(),i=ts(),a=W(),o=Lt(),s=ne(),c=function(e,s,l){if(r(e)===l)return e[s];var u=a.f(e,s);if(u)return i(u)?u.value:u.get===void 0?void 0:t(u.get,l);var d=o(e);if(n(d))return c(d,s,l)};e({target:`Reflect`,stat:!0},{get:function(e,t){return c(r(e),s(t),arguments.length<3?e:arguments[2])}})})),rs=o((()=>{var e=Y(),t=f(),n=G(),r=W();e({target:`Reflect`,stat:!0,sham:!t},{getOwnPropertyDescriptor:function(e,t){return r.f(n(e),t)}})})),is=o((()=>{var e=Y(),t=G(),n=Lt();e({target:`Reflect`,stat:!0,sham:!It()},{getPrototypeOf:function(e){return n(t(e))}})})),as=o((()=>{Y()({target:`Reflect`,stat:!0},{has:function(e,t){return t in e}})})),os=o((()=>{var e=Y(),t=G(),n=Mi();e({target:`Reflect`,stat:!0},{isExtensible:function(e){return t(e),n(e)}})})),ss=o((()=>{Y()({target:`Reflect`,stat:!0},{ownKeys:Se()})})),cs=o((()=>{var e=Y(),t=T(),n=G();e({target:`Reflect`,stat:!0,sham:!Oi()},{preventExtensions:function(e){n(e);try{var r=t(`Object`,`preventExtensions`);return r&&r(e),!0}catch{return!1}}})})),ls=o((()=>{var e=Y(),t=m(),n=G(),r=w(),i=ts(),a=d(),o=K(),s=W(),c=Lt(),l=g(),u=ne(),f=function(e,a,u,d){var p=s.f(n(e),a),m,h,g;if(!p){if(r(h=c(e)))return f(h,a,u,d);p=l(0)}if(i(p)){if(p.writable===!1||!r(d))return!1;if(m=s.f(d,a)){if(!i(m)||m.writable===!1)return!1;o.f(d,a,{value:u})}else try{o.f(d,a,l(0,u))}catch{return!1}}else{if(g=p.set,g===void 0)return!1;t(g,d,u)}return!0};e({target:`Reflect`,stat:!0,forced:a(function(){var e=function(){},t=o.f(new e,`a`,{configurable:!0});return Reflect.set(e.prototype,`a`,1,t)!==!1})},{set:function(e,t,r){return f(n(e),u(t),r,arguments.length<4?e:arguments[3])}})})),us=o((()=>{var e=Y(),t=G(),n=St(),r=Ct();r&&e({target:`Reflect`,stat:!0},{setPrototypeOf:function(e,i){t(e),n(i);try{return r(e,i),!0}catch{return!1}}})})),ds=o((()=>{var e=Y(),t=u(),n=Re();e({global:!0},{Reflect:{}}),n(t.Reflect,`Reflect`,!0)})),fs=o(((e,t)=>{var n=w(),r=v(),i=H()(`match`);t.exports=function(e){var t;return n(e)&&((t=e[i])===void 0?r(e)===`RegExp`:!!t)}})),ps=o(((e,t)=>{var n=u(),r=d(),i=n.RegExp;t.exports={correct:!r(function(){var e=!0;try{i(`.`,`d`)}catch{e=!1}var t={},n=``,r=e?`dgimsy`:`gimsy`,a=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},o={dotAll:`s`,global:`g`,ignoreCase:`i`,multiline:`m`,sticky:`y`};for(var s in e&&(o.hasIndices=`d`),o)a(s,o[s]);return Object.getOwnPropertyDescriptor(i.prototype,`flags`).get.call(t)!==r||n!==r})}})),ms=o(((e,t)=>{var n=G();t.exports=function(){var e=n(this),t=``;return e.hasIndices&&(t+=`d`),e.global&&(t+=`g`),e.ignoreCase&&(t+=`i`),e.multiline&&(t+=`m`),e.dotAll&&(t+=`s`),e.unicode&&(t+=`u`),e.unicodeSets&&(t+=`v`),e.sticky&&(t+=`y`),t}})),hs=o(((e,t)=>{var n=m(),r=V(),i=E(),a=ps(),o=ms(),s=RegExp.prototype;t.exports=a.correct?function(e){return e.flags}:function(e){return!a.correct&&i(s,e)&&!r(e,`flags`)?n(o,e):e.flags}})),gs=o(((e,t)=>{var n=d(),r=u().RegExp,i=n(function(){var e=r(`a`,`y`);return e.lastIndex=2,e.exec(`abcd`)!==null}),a=i||n(function(){return!r(`a`,`y`).sticky});t.exports={BROKEN_CARET:i||n(function(){var e=r(`^r`,`gy`);return e.lastIndex=2,e.exec(`str`)!==null}),MISSED_STICKY:a,UNSUPPORTED_Y:i}})),_s=o(((e,t)=>{var n=d(),r=u().RegExp;t.exports=n(function(){var e=r(`.`,`s`);return!(e.dotAll&&e.test(`
11
+ `)&&e.flags===`s`)})})),vs=o(((e,t)=>{var n=d(),r=u().RegExp;t.exports=n(function(){var e=r(`(?<a>b)`,`g`);return e.exec(`b`).groups.a!==`b`||`b`.replace(e,`$<a>c`)!==`bc`})})),ys=o((()=>{var e=f(),t=u(),n=_(),r=we(),i=Tt(),a=ae(),o=Ae(),s=be().f,c=E(),l=fs(),p=X(),m=hs(),h=gs(),g=wt(),v=q(),y=d(),b=V(),x=de().enforce,S=Xn(),C=H(),w=_s(),T=vs(),D=C(`match`),O=t.RegExp,k=O.prototype,A=t.SyntaxError,j=n(k.exec),M=n(``.charAt),N=n(``.replace),P=n(``.indexOf),F=n(``.slice),I=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,L=/a/g,R=/a/g,z=new O(L)!==L,B=h.MISSED_STICKY,ee=h.UNSUPPORTED_Y,te=e&&(!z||B||w||T||y(function(){return R[D]=!1,O(L)!==L||O(R)===R||String(O(L,`i`))!==`/a/i`})),ne=function(e){for(var t=e.length,n=0,r=``,i=!1,a;n<t;n++){if(a=M(e,n),a===`\\`){r+=a+M(e,++n);continue}!i&&a===`.`?r+=`[\\s\\S]`:(a===`[`?i=!0:a===`]`&&(i=!1),r+=a)}return r},U=function(e){for(var t=e.length,n=0,r=``,i=[],a=o(null),s=!1,c=!1,l=0,u=``,d;n<t;n++){if(d=M(e,n),d===`\\`){if(d+=M(e,++n),!c&&M(d,1)===`\\`){r+=`\\x5c`;continue}}else if(d===`]`)s=!1;else if(!s)switch(!0){case d===`[`:s=!0;break;case d===`(`:r+=d,j(I,F(e,n+1))?(n+=2,c=!0,l++):M(e,n+1)!==`?`&&l++;continue;case d===`>`&&c:if(u===``||b(a,u))throw new A(`Invalid capture group name`);a[u]=!0,i[i.length]=[u,l],c=!1,u=``;continue}c?u+=d:r+=d}for(var f=0;f<i.length;f++)for(var p=`\\k<`+i[f][0]+`>`,m=`\\`+i[f][1];P(r,p)>-1;)r=N(r,p,m);return[r,i]};if(r(`RegExp`,te)){for(var re=function(e,t){var n=c(k,this),r=l(e),o=t===void 0,s=[],u=e,d,f,h,g,_,v;if(!n&&r&&o&&e.constructor===re)return e;if((r||c(k,e))&&(e=e.source,o&&(t=m(u))),e=e===void 0?``:p(e),t=t===void 0?``:p(t),u=e,w&&`dotAll`in L&&(f=!!t&&P(t,`s`)>-1,f&&(t=N(t,/s/g,``))),d=t,B&&`sticky`in L&&(h=!!t&&P(t,`y`)>-1,h&&ee&&(t=N(t,/y/g,``))),T&&(g=U(e),e=g[0],s=g[1]),_=i(O(e,t),n?this:k,re),(f||h||s.length)&&(v=x(_),f&&(v.dotAll=!0,v.raw=re(ne(e),d)),h&&(v.sticky=!0),s.length&&(v.groups=s)),e!==u)try{a(_,`source`,u===``?`(?:)`:u)}catch{}return _},W=s(O),ie=0;W.length>ie;)g(re,O,W[ie++]);k.constructor=re,re.prototype=k,v(t,`RegExp`,re,{constructor:!0})}S(`RegExp`)})),bs=o(((e,t)=>{var n=TypeError;t.exports=function(e){if(typeof e==`string`)return e;throw new n(`Argument is not a string`)}})),xs=o((()=>{var e=Y(),t=_(),n=bs(),r=V(),i=Hr().start,a=fa(),o=Array,s=RegExp.escape,c=t(``.charAt),l=t(``.charCodeAt),u=t(1.1.toString),d=t([].join),f=/^[0-9a-z]/i,p=/^[$()*+./?[\\\]^{|}]/,m=RegExp(`^[!"#%&',\\-:;<=>@\`~`+a+`]`),h=t(f.exec),g={" ":`t`,"\n":`n`,"\v":`v`,"\f":`f`,"\r":`r`},v=function(e){var t=u(l(e,0),16);return t.length<3?`\\x`+i(t,2,`0`):`\\u`+i(t,4,`0`)};e({target:`RegExp`,stat:!0,forced:!s||s(`ab`)!==`\\x61b`},{escape:function(e){n(e);for(var t=e.length,i=o(t),a=0;a<t;a++){var s=c(e,a);if(a===0&&h(f,s))i[a]=v(s);else if(r(g,s))i[a]=`\\`+g[s];else if(h(p,s))i[a]=`\\`+s;else if(h(m,s))i[a]=v(s);else{var u=l(s,0);(u&63488)==55296?u>=56320||a+1>=t||(l(e,a+1)&64512)!=56320?i[a]=v(s):(i[a]=s,i[++a]=c(e,a)):i[a]=s}}return d(i,``)}})})),Ss=o((()=>{var e=f(),t=_s(),n=v(),r=Ne(),i=de().get,a=RegExp.prototype,o=TypeError;e&&t&&r(a,`dotAll`,{configurable:!0,get:function(){if(this!==a){if(n(this)===`RegExp`)return!!i(this).dotAll;throw new o(`Incompatible receiver, RegExp required`)}}})})),Cs=o(((e,t)=>{var n=m(),r=_(),i=X(),a=ms(),o=gs(),s=z(),c=Ae(),l=de().get,u=_s(),d=vs(),f=s(`native-string-replace`,String.prototype.replace),p=RegExp.prototype.exec,h=p,g=r(``.charAt),v=r(``.indexOf),y=r(``.replace),b=r(``.slice),x=(function(){var e=/a/,t=/b*/g;return n(p,e,`a`),n(p,t,`a`),e.lastIndex!==0||t.lastIndex!==0})(),S=o.BROKEN_CARET,C=/()??/.exec(``)[1]!==void 0,w=x||C||S||u||d,T=function(e,t){for(var n=e.groups=c(null),r=0;r<t.length;r++){var i=t[r];n[i[0]]=e[i[1]]}};w&&(h=function(e){var t=this,r=l(t),o=i(e),s=r.raw,c,u,d;if(s)return s.lastIndex=t.lastIndex,c=n(h,s,o),t.lastIndex=s.lastIndex,c&&r.groups&&T(c,r.groups),c;var m=r.groups,_=S&&t.sticky,w=n(a,t),E=t.source,D=0,O=o;if(_){w=y(w,`y`,``),v(w,`g`)===-1&&(w+=`g`),O=b(o,t.lastIndex);var k=t.lastIndex>0&&g(o,t.lastIndex-1);t.lastIndex>0&&(!t.multiline||t.multiline&&k!==`
12
+ `&&k!==`\r`&&k!==`\u2028`&&k!==`\u2029`)&&(E=`(?: (?:`+E+`))`,O=` `+O,D++),u=RegExp(`^(?:`+E+`)`,w)}C&&(u=RegExp(`^`+E+`$(?!\\s)`,w)),x&&(d=t.lastIndex);var A=n(p,_?u:t,O);return _?A?(A.input=o,A[0]=b(A[0],D),A.index=t.lastIndex,t.lastIndex+=A[0].length):t.lastIndex=0:x&&A&&(t.lastIndex=t.global?A.index+A[0].length:d),C&&A&&A.length>1&&n(f,A[0],u,function(){for(var e=1;e<arguments.length-2;e++)arguments[e]===void 0&&(A[e]=void 0)}),A&&m&&T(A,m),A}),t.exports=h})),ws=o((()=>{var e=Y(),t=Cs();e({target:`RegExp`,proto:!0,forced:/./.exec!==t},{exec:t})})),Ts=o((()=>{var e=f(),t=Ne(),n=ps(),r=ms();e&&!n.correct&&(t(RegExp.prototype,`flags`,{configurable:!0,get:r}),n.correct=!0)})),Es=o((()=>{var e=f(),t=gs().MISSED_STICKY,n=v(),r=Ne(),i=de().get,a=RegExp.prototype,o=TypeError;e&&t&&r(a,`sticky`,{configurable:!0,get:function(){if(this!==a){if(n(this)===`RegExp`)return!!i(this).sticky;throw new o(`Incompatible receiver, RegExp required`)}}})})),Ds=o((()=>{ws();var e=Y(),t=m(),n=C(),r=G(),i=X(),a=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},t.test(`abc`)===!0&&e}(),o=/./.test;e({target:`RegExp`,proto:!0,forced:!a},{test:function(e){var a=r(this),s=i(e),c=a.exec;if(!n(c))return t(o,a,s);var l=t(c,a,s);return l===null?!1:(r(l),!0)}})})),Os=o((()=>{var e=oe().PROPER,t=q(),n=G(),r=X(),i=d(),a=hs(),o=`toString`,s=RegExp.prototype,c=s[o],l=i(function(){return c.call({source:`a`,flags:`b`})!==`/a/b`}),u=e&&c.name!==o;(l||u)&&t(s,o,function(){var e=n(this),t=r(e.source),i=r(a(e));return`/`+t+`/`+i},{unsafe:!0})})),ks=o((()=>{Pi()(`Set`,function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},Fi())})),As=o((()=>{ks()})),js=o(((e,t)=>{var n=_(),r=Set.prototype;t.exports={Set,add:n(r.add),has:n(r.has),remove:n(r.delete),proto:r}})),Ms=o(((e,t)=>{var n=js().has;t.exports=function(e){return n(e),e}})),Ns=o(((e,t)=>{var n=m();t.exports=function(e,t,r){for(var i=r?e:e.iterator,a=e.next,o,s;!(o=n(a,i)).done;)if(s=t(o.value),s!==void 0)return s}})),Ps=o(((e,t)=>{var n=_(),r=Ns(),i=js(),a=i.Set,o=i.proto,s=n(o.forEach),c=n(o.keys),l=c(new a).next;t.exports=function(e,t,n){return n?r({iterator:c(e),next:l},t):s(e,t)}})),Fs=o(((e,t)=>{var n=js(),r=Ps(),i=n.Set,a=n.add;t.exports=function(e){var t=new i;return r(e,function(e){a(t,e)}),t}})),Is=o(((e,t)=>{t.exports=bt()(js().proto,`size`,`get`)||function(e){return e.size}})),Ls=o(((e,t)=>{var n=N(),r=G(),i=m(),a=me(),o=ci(),s=`Invalid size`,c=RangeError,l=TypeError,u=Math.max,d=function(e,t){this.set=e,this.size=u(t,0),this.has=n(e.has),this.keys=n(e.keys)};d.prototype={getIterator:function(){return o(r(i(this.keys,this.set)))},includes:function(e){return i(this.has,this.set,e)}},t.exports=function(e){r(e);var t=+e.size;if(t!==t)throw new l(s);var n=a(t);if(n<0)throw new c(s);return new d(e,n)}})),Rs=o(((e,t)=>{var n=Ms(),r=js(),i=Fs(),a=Is(),o=Ls(),s=Ps(),c=Ns(),l=r.has,u=r.remove;t.exports=function(e){var t=n(this),r=o(e),d=i(t);return a(d)<=r.size?s(d,function(e){r.includes(e)&&u(d,e)}):c(r.getIterator(),function(e){l(d,e)&&u(d,e)}),d}})),zs=o(((e,t)=>{var n=T(),r=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},i=function(e){return{size:e,has:function(){return!0},keys:function(){throw Error(`e`)}}};t.exports=function(e,t){var a=n(`Set`);try{new a()[e](r(0));try{return new a()[e](r(-1)),!1}catch{if(!t)return!0;try{return new a()[e](i(-1/0)),!1}catch{return t(new a([1,2])[e](i(1/0)))}}}catch{return!1}}})),Bs=o((()=>{var e=Y(),t=Rs(),n=d();e({target:`Set`,proto:!0,real:!0,forced:!zs()(`difference`,function(e){return e.size===0})||n(function(){var e={size:1,has:function(){return!0},keys:function(){var e=0;return{next:function(){var n=e++>1;return t.has(1)&&t.clear(),{done:n,value:2}}}}},t=new Set([1,2,3,4]);return t.difference(e).size!==3})},{difference:t})})),Vs=o(((e,t)=>{var n=Ms(),r=js(),i=Is(),a=Ls(),o=Ps(),s=Ns(),c=r.Set,l=r.add,u=r.has;t.exports=function(e){var t=n(this),r=a(e),d=new c;return i(t)>r.size?s(r.getIterator(),function(e){u(t,e)&&l(d,e)}):o(t,function(e){r.includes(e)&&l(d,e)}),d}})),Hs=o((()=>{var e=Y(),t=d(),n=Vs();e({target:`Set`,proto:!0,real:!0,forced:!zs()(`intersection`,function(e){return e.size===2&&e.has(1)&&e.has(2)})||t(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!==`3,2`})},{intersection:n})})),Us=o(((e,t)=>{var n=Ms(),r=js().has,i=Is(),a=Ls(),o=Ps(),s=Ns(),c=Ht();t.exports=function(e){var t=n(this),l=a(e);if(i(t)<=l.size)return o(t,function(e){if(l.includes(e))return!1},!0)!==!1;var u=l.getIterator();return s(u,function(e){if(r(t,e))return c(u.iterator,`normal`,!1)})!==!1}})),Ws=o((()=>{var e=Y(),t=Us();e({target:`Set`,proto:!0,real:!0,forced:!zs()(`isDisjointFrom`,function(e){return!e})},{isDisjointFrom:t})})),Gs=o(((e,t)=>{var n=Ms(),r=Is(),i=Ps(),a=Ls();t.exports=function(e){var t=n(this),o=a(e);return r(t)>o.size?!1:i(t,function(e){if(!o.includes(e))return!1},!0)!==!1}})),Ks=o((()=>{var e=Y(),t=Gs();e({target:`Set`,proto:!0,real:!0,forced:!zs()(`isSubsetOf`,function(e){return e})},{isSubsetOf:t})})),qs=o(((e,t)=>{var n=Ms(),r=js().has,i=Is(),a=Ls(),o=Ns(),s=Ht();t.exports=function(e){var t=n(this),c=a(e);if(i(t)<c.size)return!1;var l=c.getIterator();return o(l,function(e){if(!r(t,e))return s(l.iterator,`normal`,!1)})!==!1}})),Js=o((()=>{var e=Y(),t=qs();e({target:`Set`,proto:!0,real:!0,forced:!zs()(`isSupersetOf`,function(e){return!e})},{isSupersetOf:t})})),Ys=o(((e,t)=>{var n=Ms(),r=js(),i=Fs(),a=Ls(),o=Ns(),s=r.add,c=r.has,l=r.remove;t.exports=function(e){var t=n(this),r=a(e).getIterator(),u=i(t);return o(r,function(e){c(t,e)?l(u,e):s(u,e)}),u}})),Xs=o(((e,t)=>{t.exports=function(e){try{var t=new Set,n=t[e]({size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}});return n.size===1&&n.values().next().value===4}catch{return!1}}})),Zs=o((()=>{var e=Y(),t=Ys(),n=Xs();e({target:`Set`,proto:!0,real:!0,forced:!zs()(`symmetricDifference`)||!n(`symmetricDifference`)},{symmetricDifference:t})})),Qs=o(((e,t)=>{var n=Ms(),r=js().add,i=Fs(),a=Ls(),o=Ns();t.exports=function(e){var t=n(this),s=a(e).getIterator(),c=i(t);return o(s,function(e){r(c,e)}),c}})),$s=o((()=>{var e=Y(),t=Qs(),n=Xs();e({target:`Set`,proto:!0,real:!0,forced:!zs()(`union`)||!n(`union`)},{union:t})})),ec=o((()=>{var e=Y(),t=_(),n=x(),r=me(),i=X(),a=d(),o=t(``.charAt);e({target:`String`,proto:!0,forced:a(function(){return`𠮷`.at(-2)!==`\ud842`})},{at:function(e){var t=i(n(this)),a=t.length,s=r(e),c=s>=0?s:a+s;return c<0||c>=a?void 0:o(t,c)}})})),tc=o(((e,t)=>{var n=_(),r=me(),i=X(),a=x(),o=n(``.charAt),s=n(``.charCodeAt),c=n(``.slice),l=function(e){return function(t,n){var l=i(a(t)),u=r(n),d=l.length,f,p;return u<0||u>=d?e?``:void 0:(f=s(l,u),f<55296||f>56319||u+1===d||(p=s(l,u+1))<56320||p>57343?e?o(l,u):f:e?c(l,u,u+2):(f-55296<<10)+(p-56320)+65536)}};t.exports={codeAt:l(!1),charAt:l(!0)}})),nc=o((()=>{var e=Y(),t=tc().codeAt;e({target:`String`,proto:!0},{codePointAt:function(e){return t(this,e)}})})),rc=o(((e,t)=>{var n=fs(),r=TypeError;t.exports=function(e){if(n(e))throw new r(`The method doesn't accept regular expressions`);return e}})),ic=o(((e,t)=>{var n=H()(`match`);t.exports=function(e){var t=/./;try{`/./`[e](t)}catch{try{return t[n]=!1,`/./`[e](t)}catch{}}return!1}})),ac=o((()=>{var e=Y(),t=ze(),n=W().f,r=ge(),i=X(),a=rc(),o=x(),s=ic(),c=I(),l=t(``.slice),u=Math.min,d=s(`endsWith`);e({target:`String`,proto:!0,forced:!(!c&&!d&&function(){var e=n(String.prototype,`endsWith`);return e&&!e.writable}())&&!d},{endsWith:function(e){var t=i(o(this));a(e);var n=i(e),s=arguments.length>1?arguments[1]:void 0,c=t.length,d=s===void 0?c:u(r(s),c);return l(t,d-n.length,d)===n}})})),oc=o((()=>{var e=Y(),t=_(),n=he(),r=RangeError,i=String.fromCharCode,a=String.fromCodePoint,o=t([].join);e({target:`String`,stat:!0,arity:1,forced:!!a&&a.length!==1},{fromCodePoint:function(e){for(var t=[],a=arguments.length,s=0,c;a>s;){if(c=+arguments[s],n(c,1114111)!==c)throw new r(c+` is not a valid code point`);t[s++]=c<65536?i(c):i(((c-=65536)>>10)+55296,c%1024+56320)}return o(t,``)}})})),sc=o((()=>{var e=Y(),t=_(),n=rc(),r=x(),i=X(),a=ic(),o=t(``.indexOf);e({target:`String`,proto:!0,forced:!a(`includes`)},{includes:function(e){return!!~o(i(r(this)),i(n(e)),arguments.length>1?arguments[1]:void 0)}})})),cc=o((()=>{var e=Y(),t=_(),n=x(),r=X(),i=t(``.charCodeAt);e({target:`String`,proto:!0},{isWellFormed:function(){for(var e=r(n(this)),t=e.length,a=0;a<t;a++){var o=i(e,a);if((o&63488)==55296&&(o>=56320||++a>=t||(i(e,a)&64512)!=56320))return!1}return!0}})})),lc=o((()=>{var e=tc().charAt,t=X(),n=de(),r=On(),i=kn(),a=`String Iterator`,o=n.set,s=n.getterFor(a);r(String,`String`,function(e){o(this,{type:a,string:t(e),index:0})},function(){var t=s(this),n=t.string,r=t.index,a;return r>=n.length?i(void 0,!0):(a=e(n,r),t.index+=a.length,i(a,!1))})})),uc=o(((e,t)=>{ws();var n=m(),r=q(),i=Cs(),a=d(),o=H(),s=ae(),c=o(`species`),l=RegExp.prototype;t.exports=function(e,t,u,d){var f=o(e),p=!a(function(){var t={};return t[f]=function(){return 7},``[e](t)!==7}),m=p&&!a(function(){var t=!1,n=/a/;if(e===`split`){var r={};r[c]=function(){return n},n={constructor:r,flags:``},n[f]=/./[f]}return n.exec=function(){return t=!0,null},n[f](``),!t});if(!p||!m||u){var h=/./[f],g=t(f,``[e],function(e,t,r,a,o){var s=t.exec;return s===i||s===l.exec?p&&!o?{done:!0,value:n(h,t,r,a)}:{done:!0,value:n(e,r,t,a)}:{done:!1}});r(String.prototype,e,g[0]),r(l,f,g[1])}d&&s(l[f],`sham`,!0)}})),dc=o(((e,t)=>{var n=tc().charAt;t.exports=function(e,t,r){return t+(r&&n(e,t).length||1)}})),fc=o(((e,t)=>{var n=m(),r=G(),i=C(),a=v(),o=Cs(),s=TypeError;t.exports=function(e,t){var c=e.exec;if(i(c)){var l=n(c,e,t);return l!==null&&r(l),l}if(a(e)===`RegExp`)return n(o,e,t);throw new s(`RegExp#exec called on incompatible receiver`)}})),pc=o((()=>{var e=m(),t=_(),n=uc(),r=G(),i=w(),a=ge(),o=X(),s=x(),c=P(),l=dc(),u=hs(),d=fc(),f=t(``.indexOf);n(`match`,function(t,n,p){return[function(n){var r=s(this),a=i(n)?c(n,t):void 0;return a?e(a,n,r):new RegExp(n)[t](o(r))},function(e){var t=r(this),i=o(e),s=p(n,t,i);if(s.done)return s.value;var c=o(u(t));if(!~f(c,`g`))return d(t,i);var m=!!~f(c,`u`)||!!~f(c,`v`);t.lastIndex=0;for(var h=[],g=0,_;(_=d(t,i))!==null;){var v=o(_[0]);h[g]=v,v===``&&(t.lastIndex=l(i,a(t.lastIndex),m)),g++}return g===0?null:h}]})})),mc=o((()=>{var e=Y(),t=m(),n=ze(),r=Dn(),i=kn(),a=x(),o=ge(),s=X(),c=G(),l=w(),u=v(),f=fs(),p=hs(),h=P(),g=q(),_=d(),y=H(),b=mo(),S=dc(),C=fc(),T=de(),E=I(),D=y(`matchAll`),O=`RegExp String`,k=O+` Iterator`,A=T.set,j=T.getterFor(k),M=RegExp.prototype,N=TypeError,F=n(``.indexOf),L=n(``.matchAll),R=!!L&&!_(function(){L(`a`,/./)}),z=r(function(e,t,n,r){A(this,{type:k,regexp:e,string:t,global:n,unicode:r,done:!1})},O,function(){var e=j(this);if(e.done)return i(void 0,!0);var t=e.regexp,n=e.string,r=C(t,n);return r===null?(e.done=!0,i(void 0,!0)):e.global?(s(r[0])===``&&(t.lastIndex=S(n,o(t.lastIndex),e.unicode)),i(r,!1)):(e.done=!0,i(r,!1))}),B=function(e){var t=c(this),n=s(e),r=b(t,RegExp),i=s(p(t)),a=new r(r===RegExp?t.source:t,i),l=!!~F(i,`g`),u=!!~F(i,`u`)||!!~F(i,`v`);return a.lastIndex=o(t.lastIndex),new z(a,n,l,u)};e({target:`String`,proto:!0,forced:R},{matchAll:function(e){var n=a(this),r,i,o,c;if(l(e)){if(f(e)&&(r=s(a(p(e))),!~F(r,`g`)))throw new N("`.matchAll` does not allow non-global regexes");if(R)return L(n,e);if(o=h(e,D),o===void 0&&E&&u(e)===`RegExp`&&(o=B),o)return t(o,e,n)}else if(R)return L(n,e);return i=s(n),c=new RegExp(e,`g`),E?t(B,c,i):c[D](i)}}),E||D in M||g(M,D,B)})),hc=o(((e,t)=>{var n=D();t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)})),gc=o((()=>{var e=Y(),t=Hr().end;e({target:`String`,proto:!0,forced:hc()},{padEnd:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}})})),_c=o((()=>{var e=Y(),t=Hr().start;e({target:`String`,proto:!0,forced:hc()},{padStart:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}})})),vc=o((()=>{var e=Y(),t=_(),n=S(),r=B(),i=X(),a=J(),o=t([].push),s=t([].join);e({target:`String`,stat:!0},{raw:function(e){var t=n(r(e).raw),c=a(t);if(!c)return``;for(var l=arguments.length,u=[],d=0;;){if(o(u,i(t[d++])),d===c)return s(u,``);d<l&&o(u,i(arguments[d]))}}})})),yc=o((()=>{Y()({target:`String`,proto:!0},{repeat:Vr()})})),bc=o(((e,t)=>{var n=_(),r=B(),i=Math.floor,a=n(``.charAt),o=n(``.replace),s=n(``.slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(e,t,n,u,d,f){var p=n+e.length,m=u.length,h=l;return d!==void 0&&(d=r(d),h=c),o(f,h,function(r,o){var c;switch(a(o,0)){case`$`:return`$`;case`&`:return e;case"`":return s(t,0,n);case`'`:return s(t,p);case`<`:c=d[s(o,1,-1)];break;default:var l=+o;if(l===0)return r;if(l>m){var f=i(l/10);return f===0?r:f<=m?u[f-1]===void 0?a(o,1):u[f-1]+a(o,1):r}c=u[l-1]}return c===void 0?``:c})}})),xc=o((()=>{var e=Ze(),t=m(),n=_(),r=uc(),i=d(),a=G(),o=C(),s=w(),c=me(),l=ge(),u=X(),f=x(),p=dc(),h=P(),g=bc(),v=hs(),y=fc(),b=H()(`replace`),S=Math.max,T=Math.min,E=n([].concat),D=n([].push),O=n(``.indexOf),k=n(``.slice),A=function(e){return e===void 0?e:String(e)},j=(function(){return`a`.replace(/./,`$0`)===`$0`})(),M=(function(){return/./[b]?/./[b](`a`,`$0`)===``:!1})();r(`replace`,function(n,r,i){var d=M?`$`:`$0`;return[function(e,n){var i=f(this),a=s(e)?h(e,b):void 0;return a?t(a,e,i,n):t(r,u(i),e,n)},function(t,n){var s=a(this),f=u(t),m=o(n);m||(n=u(n));var h=u(v(s));if(typeof n==`string`&&!~O(n,d)&&!~O(n,`$<`)&&!~O(h,`y`)){var _=i(r,s,f,n);if(_.done)return _.value}var b=!!~O(h,`g`),x;b&&(x=!!~O(h,`u`)||!!~O(h,`v`),s.lastIndex=0);for(var C=[],w;w=y(s,f),!(w===null||(D(C,w),!b));)u(w[0])===``&&(s.lastIndex=p(f,l(s.lastIndex),x));for(var j=``,M=0,N=0;N<C.length;N++){w=C[N];for(var P=u(w[0]),F=S(T(c(w.index),f.length),0),I=[],L,R=1;R<w.length;R++)D(I,A(w[R]));var z=w.groups;if(m){var B=E([P],I,F,f);z!==void 0&&D(B,z),L=u(e(n,void 0,B))}else L=g(P,f,F,I,z,n);F>=M&&(j+=k(f,M,F)+L,M=F+P.length)}return j+k(f,M)}]},!!i(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:`7`},e},``.replace(e,`$<a>`)!==`7`})||!j||M)})),Sc=o((()=>{var e=Y(),t=m(),n=_(),r=x(),i=C(),a=w(),o=fs(),s=X(),c=P(),l=hs(),u=bc(),d=H(),f=I(),p=d(`replace`),h=TypeError,g=n(``.indexOf),v=n(``.replace),y=n(``.slice),b=Math.max;e({target:`String`,proto:!0},{replaceAll:function(e,n){var d=r(this),m,_,x,S,C,w,T,E,D,O,k=0,A=``;if(a(e)){if(m=o(e),m&&(_=s(r(l(e))),!~g(_,`g`)))throw new h("`.replaceAll` does not allow non-global regexes");if(x=c(e,p),x)return t(x,e,d,n);if(f&&m)return v(s(d),e,n)}for(S=s(d),C=s(e),w=i(n),w||(n=s(n)),T=C.length,E=b(1,T),D=g(S,C);D!==-1;)O=w?s(n(C,D,S)):u(C,S,D,[],void 0,n),A+=y(S,k,D)+O,k=D+T,D=D+E>S.length?-1:g(S,C,D+E);return k<S.length&&(A+=y(S,k)),A}})})),Cc=o((()=>{var e=m(),t=uc(),n=G(),r=w(),i=x(),a=Ya(),o=X(),s=P(),c=fc();t(`search`,function(t,l,u){return[function(n){var a=i(this),c=r(n)?s(n,t):void 0;return c?e(c,n,a):new RegExp(n)[t](o(a))},function(e){var t=n(this),r=o(e),i=u(l,t,r);if(i.done)return i.value;var s=t.lastIndex;a(s,0)||(t.lastIndex=0);var d=c(t,r);return a(t.lastIndex,s)||(t.lastIndex=s),d===null?-1:d.index}]})})),wc=o((()=>{var e=m(),t=_(),n=uc(),r=G(),i=w(),a=x(),o=mo(),s=dc(),c=ge(),l=X(),u=P(),f=hs(),p=fc(),h=gs(),g=d(),v=h.UNSUPPORTED_Y,y=4294967295,b=Math.min,S=t([].push),C=t(``.slice),T=t(``.indexOf),E=!g(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n=`ab`.split(e);return n.length!==2||n[0]!==`a`||n[1]!==`b`}),D=`abbc`.split(/(b)*/)[1]===`c`||`test`.split(/(?:)/,-1).length!==4||`ab`.split(/(?:ab)*/).length!==2||`.`.split(/(.?)(.?)/).length!==4||`.`.split(/()()/).length>1||``.split(/.?/).length;n(`split`,function(t,n,d){var m=`0`.split(void 0,0).length?function(t,r){return t===void 0&&r===0?[]:e(n,this,t,r)}:n;return[function(n,r){var o=a(this),s=i(n)?u(n,t):void 0;return s?e(s,n,o,r):e(m,l(o),n,r)},function(e,t){var i=r(this),a=l(e);if(!D){var u=d(m,i,a,t,m!==n);if(u.done)return u.value}var h=o(i,RegExp),g=l(f(i)),_=!!~T(g,`u`)||!!~T(g,`v`);v?~T(g,`g`)||(g+=`g`):~T(g,`y`)||(g+=`y`);var x=new h(v?`^(?:`+i.source+`)`:i,g),w=t===void 0?y:t>>>0;if(w===0)return[];if(a.length===0)return p(x,a)===null?[a]:[];for(var E=0,O=0,k=[];O<a.length;){x.lastIndex=v?0:O;var A=p(x,v?C(a,O):a),j;if(A===null||(j=b(c(x.lastIndex+(v?O:0)),a.length))===E)O=s(a,O,_);else{if(S(k,C(a,E,O)),k.length===w)return k;for(var M=1;M<=A.length-1;M++)if(S(k,A[M]),k.length===w)return k;O=E=j}}return S(k,C(a,E)),k}]},D||!E,v)})),Tc=o((()=>{var e=Y(),t=ze(),n=W().f,r=ge(),i=X(),a=rc(),o=x(),s=ic(),c=I(),l=t(``.slice),u=Math.min,d=s(`startsWith`);e({target:`String`,proto:!0,forced:!(!c&&!d&&function(){var e=n(String.prototype,`startsWith`);return e&&!e.writable}())&&!d},{startsWith:function(e){var t=i(o(this));a(e);var n=i(e),s=r(u(arguments.length>1?arguments[1]:void 0,t.length));return l(t,s,s+n.length)===n}})})),Ec=o((()=>{var e=Y(),t=_(),n=x(),r=me(),i=X(),a=t(``.slice),o=Math.max,s=Math.min;e({target:`String`,proto:!0,forced:!``.substr||`ab`.substr(-1)!==`b`},{substr:function(e,t){var c=i(n(this)),l=c.length,u=r(e),d=u<0?o(l+u,0):s(u,l),f=t===void 0?l:r(t);if(f<=0)return``;var p=s(d+f,l);return d>=p?``:a(c,d,p)}})})),Dc=o((()=>{var e=Y(),t=m(),n=_(),r=x(),i=X(),a=d(),o=Array,s=n(``.charAt),c=n(``.charCodeAt),l=n([].join),u=``.toWellFormed,f=`�`,p=u&&a(function(){return t(u,1)!==`1`});e({target:`String`,proto:!0,forced:p},{toWellFormed:function(){var e=i(r(this));if(p)return t(u,e);for(var n=e.length,a=o(n),d=0;d<n;d++){var m=c(e,d);(m&63488)==55296?m>=56320||d+1>=n||(c(e,d+1)&64512)!=56320?a[d]=f:(a[d]=s(e,d),a[++d]=s(e,d)):a[d]=s(e,d)}return l(a,``)}})})),Oc=o(((e,t)=>{var n=oe().PROPER,r=d(),i=fa(),a=`​…᠎`;t.exports=function(e){return r(function(){return!!i[e]()||a[e]()!==a||n&&i[e].name!==e})}})),kc=o((()=>{var e=Y(),t=pa().trim;e({target:`String`,proto:!0,forced:Oc()(`trim`)},{trim:function(){return t(this)}})})),Ac=o(((e,t)=>{var n=pa().end;t.exports=Oc()(`trimEnd`)?function(){return n(this)}:``.trimEnd})),jc=o((()=>{var e=Y(),t=Ac();e({target:`String`,proto:!0,name:`trimEnd`,forced:``.trimRight!==t},{trimRight:t})})),Mc=o((()=>{jc();var e=Y(),t=Ac();e({target:`String`,proto:!0,name:`trimEnd`,forced:``.trimEnd!==t},{trimEnd:t})})),Nc=o(((e,t)=>{var n=pa().start;t.exports=Oc()(`trimStart`)?function(){return n(this)}:``.trimStart})),Pc=o((()=>{var e=Y(),t=Nc();e({target:`String`,proto:!0,name:`trimStart`,forced:``.trimLeft!==t},{trimLeft:t})})),Fc=o((()=>{Pc();var e=Y(),t=Nc();e({target:`String`,proto:!0,name:`trimStart`,forced:``.trimStart!==t},{trimStart:t})})),Ic=o(((e,t)=>{var n=_(),r=x(),i=X(),a=/"/g,o=n(``.replace);t.exports=function(e,t,n,s){var c=i(r(e)),l=`<`+t;return n!==``&&(l+=` `+n+`="`+o(i(s),a,`&quot;`)+`"`),l+`>`+c+`</`+t+`>`}})),Lc=o(((e,t)=>{var n=d();t.exports=function(e){return n(function(){var t=``[e](`"`);return t!==t.toLowerCase()||t.split(`"`).length>3})}})),Rc=o((()=>{var e=Y(),t=Ic();e({target:`String`,proto:!0,forced:Lc()(`anchor`)},{anchor:function(e){return t(this,`a`,`name`,e)}})})),zc=o((()=>{var e=Y(),t=Ic();e({target:`String`,proto:!0,forced:Lc()(`big`)},{big:function(){return t(this,`big`,``,``)}})})),Bc=o((()=>{var e=Y(),t=Ic();e({target:`String`,proto:!0,forced:Lc()(`blink`)},{blink:function(){return t(this,`blink`,``,``)}})})),Vc=o((()=>{var e=Y(),t=Ic();e({target:`String`,proto:!0,forced:Lc()(`bold`)},{bold:function(){return t(this,`b`,``,``)}})})),Hc=o((()=>{var e=Y(),t=Ic();e({target:`String`,proto:!0,forced:Lc()(`fixed`)},{fixed:function(){return t(this,`tt`,``,``)}})})),Uc=o((()=>{var e=Y(),t=Ic();e({target:`String`,proto:!0,forced:Lc()(`fontcolor`)},{fontcolor:function(e){return t(this,`font`,`color`,e)}})})),Wc=o((()=>{var e=Y(),t=Ic();e({target:`String`,proto:!0,forced:Lc()(`fontsize`)},{fontsize:function(e){return t(this,`font`,`size`,e)}})})),Gc=o((()=>{var e=Y(),t=Ic();e({target:`String`,proto:!0,forced:Lc()(`italics`)},{italics:function(){return t(this,`i`,``,``)}})})),Kc=o((()=>{var e=Y(),t=Ic();e({target:`String`,proto:!0,forced:Lc()(`link`)},{link:function(e){return t(this,`a`,`href`,e)}})})),qc=o((()=>{var e=Y(),t=Ic();e({target:`String`,proto:!0,forced:Lc()(`small`)},{small:function(){return t(this,`small`,``,``)}})})),Jc=o((()=>{var e=Y(),t=Ic();e({target:`String`,proto:!0,forced:Lc()(`strike`)},{strike:function(){return t(this,`strike`,``,``)}})})),Yc=o((()=>{var e=Y(),t=Ic();e({target:`String`,proto:!0,forced:Lc()(`sub`)},{sub:function(){return t(this,`sub`,``,``)}})})),Xc=o((()=>{var e=Y(),t=Ic();e({target:`String`,proto:!0,forced:Lc()(`sup`)},{sup:function(){return t(this,`sup`,``,``)}})})),Zc=o(((e,t)=>{var n=u(),r=d(),i=xn(),a=Z().NATIVE_ARRAY_BUFFER_VIEWS,o=n.ArrayBuffer,s=n.Int8Array;t.exports=!a||!r(function(){s(1)})||!r(function(){new s(-1)})||!i(function(e){new s,new s(null),new s(1.5),new s(e)},!0)||r(function(){return new s(new o(2),1,void 0).length!==1})})),Qc=o(((e,t)=>{var n=ui(),r=RangeError;t.exports=function(e,t){var i=n(e);if(i%t)throw new r(`Wrong offset`);return i}})),$c=o(((e,t)=>{var n=Math.floor;t.exports=function(e){var t=+e;if(t!==t||t<=0)return 0;if(t>=255)return 255;var r=n(t);return r+.5<t?r+1:t<r+.5||r%2==0?r:r+1}})),el=o(((e,t)=>{var n=Ee();t.exports=function(e){var t=n(e);return t===`BigInt64Array`||t===`BigUint64Array`}})),tl=o(((e,t)=>{var n=te(),r=TypeError;t.exports=function(e){var t=n(e,`number`);if(typeof t==`number`)throw new r(`Can't convert number to bigint`);return BigInt(t)}})),nl=o(((e,t)=>{var n=Be(),r=m(),i=N(),a=po(),o=B(),s=J(),c=Vt(),l=Bt(),u=zt(),d=el(),f=Z().aTypedArrayConstructor,p=tl();t.exports=function(e){var t=a(this),m=arguments.length,h=m>1?arguments[1]:void 0,g=h!==void 0;g&&i(h);var _=o(e),v=l(_),y,b,x,S,C,w,T,E;if(v&&!u(v))for(T=c(_,v),E=T.next,_=[];!(w=r(E,T)).done;)_.push(w.value);for(g&&m>2&&(h=n(h,arguments[2])),b=s(_),x=new(f(t))(b),S=d(x),y=0;b>y;y++)C=g?h(_[y],y):_[y],x[y]=S?p(C):+C;return x}})),rl=o(((e,t)=>{var n=Y(),r=u(),i=m(),a=f(),o=Zc(),s=Z(),c=_r(),l=ur(),d=g(),p=ae(),h=va(),_=dr(),v=Qc(),y=$c(),b=ne(),x=V(),S=Ee(),C=w(),T=j(),D=Ae(),O=E(),k=Ct(),A=be().f,M=nl(),N=Ke().forEach,P=Xn(),F=Ne(),I=K(),L=W(),R=er(),z=de(),B=Tt(),ee=z.get,H=z.set,te=z.enforce,U=I.f,re=L.f,ie=r.RangeError,G=c.ArrayBuffer,oe=G.prototype,se=c.DataView,ce=s.NATIVE_ARRAY_BUFFER_VIEWS,le=s.TYPED_ARRAY_TAG,ue=s.TypedArray,fe=s.TypedArrayPrototype,q=s.isTypedArray,pe=`BYTES_PER_ELEMENT`,me=`Wrong length`,he=function(e,t){F(e,t,{configurable:!0,get:function(){return ee(this)[t]}})},ge=function(e){var t;return O(oe,e)||(t=S(e))===`ArrayBuffer`||t===`SharedArrayBuffer`},J=function(e,t){return q(e)&&!T(t)&&t in e&&h(+t)&&t>=0},_e=function(e,t){return t=b(t),J(e,t)?d(2,e[t]):re(e,t)},ve=function(e,t,n){return t=b(t),J(e,t)&&C(n)&&x(n,`value`)&&!x(n,`get`)&&!x(n,`set`)&&!n.configurable&&(!x(n,`writable`)||n.writable)&&(!x(n,`enumerable`)||n.enumerable)?(e[t]=n.value,e):U(e,t,n)};a?(ce||(L.f=_e,I.f=ve,he(fe,`buffer`),he(fe,`byteOffset`),he(fe,`byteLength`),he(fe,`length`)),n({target:`Object`,stat:!0,forced:!ce},{getOwnPropertyDescriptor:_e,defineProperty:ve}),t.exports=function(e,t,a){var s=e.match(/\d+/)[0]/8,c=e+(a?`Clamped`:``)+`Array`,u=`get`+e,d=`set`+e,f=r[c],m=f,h=m&&m.prototype,g={},b=function(e,t){var n=ee(e);return n.view[u](t*s+n.byteOffset,!0)},x=function(e,t,n){var r=ee(e);r.view[d](t*s+r.byteOffset,a?y(n):n,!0)},S=function(e,t){U(e,t,{get:function(){return b(this,t)},set:function(e){return x(this,t,e)},enumerable:!0})};ce?o&&(m=t(function(e,t,n,r){return l(e,h),B(function(){return C(t)?ge(t)?r===void 0?n===void 0?new f(t):new f(t,v(n,s)):new f(t,v(n,s),r):q(t)?R(m,t):i(M,m,t):new f(_(t))}(),e,m)}),k&&k(m,ue),N(A(f),function(e){e in m||p(m,e,f[e])}),m.prototype=h):(m=t(function(e,t,n,r){l(e,h);var a=0,o=0,c,u,d;if(!C(t))d=_(t),u=d*s,c=new G(u);else if(ge(t)){c=t,o=v(n,s);var f=t.byteLength;if(r===void 0){if(f%s||(u=f-o,u<0))throw new ie(me)}else if(u=_(r)*s,u+o>f)throw new ie(me);d=u/s}else if(q(t))return R(m,t);else return i(M,m,t);for(H(e,{buffer:c,byteOffset:o,byteLength:u,length:d,view:new se(c)});a<d;)S(e,a++)}),k&&k(m,ue),h=m.prototype=D(fe)),h.constructor!==m&&p(h,`constructor`,m),te(h).TypedArrayConstructor=m,le&&p(h,le,c);var w=m!==f;g[c]=m,n({global:!0,constructor:!0,forced:w,sham:!ce},g),pe in m||p(m,pe,s),pe in h||p(h,pe,s),P(c)}):t.exports=function(){}})),il=o((()=>{rl()(`Float32`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),al=o((()=>{rl()(`Float64`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),ol=o((()=>{rl()(`Int8`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),sl=o((()=>{rl()(`Int16`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),cl=o((()=>{rl()(`Int32`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),ll=o((()=>{rl()(`Uint8`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),ul=o((()=>{rl()(`Uint8`,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)})),dl=o((()=>{rl()(`Uint16`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),fl=o((()=>{rl()(`Uint32`,function(e){return function(t,n,r){return e(this,t,n,r)}})})),pl=o((()=>{var e=Z(),t=J(),n=me(),r=e.aTypedArray,i=e.exportTypedArrayMethod;i(`at`,function(e){var i=r(this),a=t(i),o=n(e),s=o>=0?o:a+o;return s<0||s>=a?void 0:i[s]})})),ml=o((()=>{var e=_(),t=Z(),n=e(tn()),r=t.aTypedArray,i=t.exportTypedArrayMethod;i(`copyWithin`,function(e,t){return n(r(this),e,t,arguments.length>2?arguments[2]:void 0)})})),hl=o((()=>{var e=Z(),t=Ke().every,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`every`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),gl=o((()=>{var e=Z(),t=on(),n=tl(),r=Ee(),i=m(),a=_(),o=d(),s=e.aTypedArray,c=e.exportTypedArrayMethod,l=a(``.slice);c(`fill`,function(e){var a=arguments.length;s(this);var o=l(r(this),0,3)===`Big`?n(e):+e;return i(t,this,o,a>1?arguments[1]:void 0,a>2?arguments[2]:void 0)},o(function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),e!==1}))})),_l=o(((e,t)=>{var n=er(),r=Z().getTypedArrayConstructor;t.exports=function(e,t){return n(r(e),t)}})),vl=o((()=>{var e=Z(),t=Ke().filter,n=_l(),r=e.aTypedArray,i=e.exportTypedArrayMethod;i(`filter`,function(e){var i=t(r(this),e,arguments.length>1?arguments[1]:void 0);return n(this,i)})})),yl=o((()=>{var e=Z(),t=Ke().find,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`find`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),bl=o((()=>{var e=Z(),t=Ke().findIndex,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`findIndex`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),xl=o((()=>{var e=Z(),t=dn().findLast,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`findLast`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),Sl=o((()=>{var e=Z(),t=dn().findLastIndex,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`findLastIndex`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),Cl=o((()=>{var e=Z(),t=Ke().forEach,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`forEach`,function(e){t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),wl=o((()=>{var e=Zc(),t=Z().exportTypedArrayStaticMethod;t(`from`,nl(),e)})),Tl=o((()=>{var e=Z(),t=_e().includes,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`includes`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),El=o((()=>{var e=Z(),t=_e().indexOf,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`indexOf`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),Dl=o((()=>{var e=u(),t=d(),n=_(),r=Z(),i=An(),a=H()(`iterator`),o=e.Uint8Array,s=n(i.values),c=n(i.keys),l=n(i.entries),f=r.aTypedArray,p=r.exportTypedArrayMethod,m=o&&o.prototype,h=!t(function(){m[a].call([1])}),g=!!m&&m.values&&m[a]===m.values&&m.values.name===`values`,v=function(){return s(f(this))};p(`entries`,function(){return l(f(this))},h),p(`keys`,function(){return c(f(this))},h),p(`values`,v,h||!g,{name:`values`}),p(a,v,h||!g,{name:`values`})})),Ol=o((()=>{var e=Z(),t=_(),n=e.aTypedArray,r=e.exportTypedArrayMethod,i=t([].join);r(`join`,function(e){return i(n(this),e)})})),kl=o((()=>{var e=Z(),t=Ze(),n=Mn(),r=e.aTypedArray,i=e.exportTypedArrayMethod;i(`lastIndexOf`,function(e){var i=arguments.length;return t(n,r(this),i>1?[e,arguments[1]]:[e])})})),Al=o((()=>{var e=Z(),t=Ke().map,n=_l(),r=e.aTypedArray,i=e.exportTypedArrayMethod;i(`map`,function(e){var i=t(r(this),e,arguments.length>1?arguments[1]:void 0);return n(this,i)})})),jl=o((()=>{var e=Z(),t=Zc(),n=e.aTypedArrayConstructor,r=e.exportTypedArrayStaticMethod;r(`of`,function(){for(var e=0,t=arguments.length,r=new(n(this))(t);t>e;)r[e]=arguments[e++];return r},t)})),Ml=o((()=>{var e=Z(),t=Ln().left,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`reduce`,function(e){var r=arguments.length;return t(n(this),e,r,r>1?arguments[1]:void 0)})})),Nl=o((()=>{var e=Z(),t=Ln().right,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`reduceRight`,function(e){var r=arguments.length;return t(n(this),e,r,r>1?arguments[1]:void 0)})})),Pl=o((()=>{var e=Z(),t=e.aTypedArray,n=e.exportTypedArrayMethod,r=Math.floor;n(`reverse`,function(){for(var e=this,n=t(e).length,i=r(n/2),a=0,o;a<i;)o=e[a],e[a++]=e[--n],e[n]=o;return e})})),Fl=o((()=>{var e=u(),t=m(),n=Z(),r=J(),i=Qc(),a=B(),o=d(),s=e.RangeError,c=e.Int8Array,l=c&&c.prototype,f=l&&l.set,p=n.aTypedArray,h=n.exportTypedArrayMethod,g=!o(function(){var e=new Uint8ClampedArray(2);return t(f,e,{length:1,0:3},1),e[1]!==3}),_=g&&n.NATIVE_ARRAY_BUFFER_VIEWS&&o(function(){var e=new c(2);return e.set(1),e.set(`2`,1),e[0]!==0||e[1]!==2});h(`set`,function(e){p(this);var n=i(arguments.length>1?arguments[1]:void 0,1),o=a(e);if(g)return t(f,this,o,n);var c=this.length,l=r(o),u=0;if(l+n>c)throw new s(`Wrong length`);for(;u<l;)this[n+u]=o[u++]},!g||_)})),Il=o((()=>{var e=Z(),t=d(),n=je(),r=e.aTypedArray,i=e.getTypedArrayConstructor,a=e.exportTypedArrayMethod;a(`slice`,function(e,t){for(var a=n(r(this),e,t),o=i(this),s=0,c=a.length,l=new o(c);c>s;)l[s]=a[s++];return l},t(function(){new Int8Array(1).slice()}))})),Ll=o((()=>{var e=Z(),t=Ke().some,n=e.aTypedArray,r=e.exportTypedArrayMethod;r(`some`,function(e){return t(n(this),e,arguments.length>1?arguments[1]:void 0)})})),Rl=o((()=>{var e=u(),t=ze(),n=d(),r=N(),i=Gn(),a=Z(),o=Kn(),s=qn(),c=O(),l=Jn(),f=a.aTypedArray,p=a.exportTypedArrayMethod,m=e.Uint16Array,h=m&&t(m.prototype.sort),g=!!h&&!(n(function(){h(new m(2),null)})&&n(function(){h(new m(2),{})})),_=!!h&&!n(function(){if(c)return c<74;if(o)return o<67;if(s)return!0;if(l)return l<602;var e=new m(516),t=Array(516),n,r;for(n=0;n<516;n++)r=n%4,e[n]=515-n,t[n]=n-2*r+3;for(h(e,function(e,t){return(e/4|0)-(t/4|0)}),n=0;n<516;n++)if(e[n]!==t[n])return!0}),v=function(e){return function(t,n){return e===void 0?n===n?t===t?t===0&&n===0?1/t>0?1/n>0?0:1:1/n>0?-1:0:t>n?1:t<n?-1:0:1:t===t?-1:0:+e(t,n)||0}};p(`sort`,function(e){return e!==void 0&&r(e),_?h(this,e):i(f(this),v(e))},!_||g)})),zl=o((()=>{var e=Z(),t=ge(),n=he(),r=e.aTypedArray,i=e.getTypedArrayConstructor,a=e.exportTypedArrayMethod;a(`subarray`,function(e,a){var o=r(this),s=o.length,c=n(e,s);return new(i(o))(o.buffer,o.byteOffset+c*o.BYTES_PER_ELEMENT,t((a===void 0?s:n(a,s))-c))})})),Bl=o((()=>{var e=u(),t=Ze(),n=Z(),r=d(),i=je(),a=e.Int8Array,o=n.aTypedArray,s=n.exportTypedArrayMethod,c=[].toLocaleString,l=!!a&&r(function(){c.call(new a(1))});s(`toLocaleString`,function(){return t(c,l?i(o(this)):o(this),i(arguments))},r(function(){return[1,2].toLocaleString()!==new a([1,2]).toLocaleString()})||!r(function(){a.prototype.toLocaleString.call([1,2])}))})),Vl=o((()=>{var e=J(),t=Z(),n=t.aTypedArray,r=t.exportTypedArrayMethod,i=t.getTypedArrayConstructor;r(`toReversed`,function(){for(var t=n(this),r=e(t),a=new(i(t))(r),o=0;o<r;o++)a[o]=t[r-o-1];return a})})),Hl=o((()=>{var e=Z(),t=_(),n=N(),r=er(),i=e.aTypedArray,a=e.getTypedArrayConstructor,o=e.exportTypedArrayMethod,s=t(e.TypedArrayPrototype.sort);o(`toSorted`,function(e){e!==void 0&&n(e);var t=i(this);return s(r(a(t),t),e)})})),Ul=o((()=>{var e=Z().exportTypedArrayMethod,t=d(),n=u(),r=_(),i=n.Uint8Array,a=i&&i.prototype||{},o=[].toString,s=r([].join);t(function(){o.call({})})&&(o=function(){return s(this)});var c=a.toString!==o;e(`toString`,o,c)})),Wl=o((()=>{var e=Z(),t=el(),n=J(),r=me(),i=tl(),a=e.aTypedArray,o=e.getTypedArrayConstructor,s=e.exportTypedArrayMethod,c=RangeError,l=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return e===8}}(),u=l&&function(){try{new Int8Array(1).with(-.5,1)}catch{return!0}}();s(`with`,{with:function(e,s){var l=a(this),u=n(l),d=r(e),f=d<0?u+d:d,p=t(l)?i(s):+s;if(f>=u||f<0)throw new c(`Incorrect index`);for(var m=new(o(l))(u),h=0;h<u;h++)m[h]=h===f?p:l[h];return m}}.with,!l||u)})),Gl=o(((e,t)=>{var n=w(),r=String,i=TypeError;t.exports=function(e){if(e===void 0||n(e))return e;throw new i(r(e)+` is not an object or undefined`)}})),Kl=o(((e,t)=>{var n=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`,r=n+`+/`,i=n+`-_`,a=function(e){for(var t={},n=0;n<64;n++)t[e.charAt(n)]=n;return t};t.exports={i2c:r,c2i:a(r),i2cUrl:i,c2iUrl:a(i)}})),ql=o(((e,t)=>{var n=TypeError;t.exports=function(e){var t=e&&e.alphabet;if(t===void 0||t===`base64`||t===`base64url`)return t||`base64`;throw new n("Incorrect `alphabet` option")}})),Jl=o(((e,t)=>{var n=u(),r=_(),i=Gl(),a=bs(),o=V(),s=Kl(),c=ql(),l=Ar(),d=s.c2i,f=s.c2iUrl,p=n.SyntaxError,m=n.TypeError,h=r(``.charAt),g=function(e,t){for(var n=e.length;t<n;t++){var r=h(e,t);if(r!==` `&&r!==` `&&r!==`
13
+ `&&r!==`\f`&&r!==`\r`)break}return t},v=function(e,t,n){var r=e.length;r<4&&(e+=r===2?`AA`:`A`);var i=(t[h(e,0)]<<18)+(t[h(e,1)]<<12)+(t[h(e,2)]<<6)+t[h(e,3)],a=[i>>16&255,i>>8&255,i&255];if(r===2){if(n&&a[1]!==0)throw new p(`Extra bits`);return[a[0]]}if(r===3){if(n&&a[2]!==0)throw new p(`Extra bits`);return[a[0],a[1]]}return a},y=function(e,t,n){for(var r=t.length,i=0;i<r;i++)e[n+i]=t[i];return n+r};t.exports=function(e,t,n,r){a(e),i(t);var s=c(t)===`base64`?d:f,u=t?t.lastChunkHandling:void 0;if(u===void 0&&(u=`loose`),u!==`loose`&&u!==`strict`&&u!==`stop-before-partial`)throw new m("Incorrect `lastChunkHandling` option");n&&l(n.buffer);var _=e.length,b=n||[],x=0,S=0,C=``,w=0;if(r)for(;;){if(w=g(e,w),w===_){if(C.length>0){if(u===`stop-before-partial`)break;if(u===`loose`){if(C.length===1)throw new p(`Malformed padding: exactly one additional character`);x=y(b,v(C,s,!1),x)}else throw new p(`Missing padding`)}S=_;break}var T=h(e,w);if(++w,T===`=`){if(C.length<2)throw new p(`Padding is too early`);if(w=g(e,w),C.length===2){if(w===_){if(u===`stop-before-partial`)break;throw new p(`Malformed padding: only one =`)}h(e,w)===`=`&&(++w,w=g(e,w))}if(w<_)throw new p(`Unexpected character after padding`);x=y(b,v(C,s,u===`strict`),x),S=_;break}if(!o(s,T))throw new p(`Unexpected character`);var E=r-x;if(E===1&&C.length===2||E===2&&C.length===3||(C+=T,C.length===4&&(x=y(b,v(C,s,!1),x),C=``,S=w,x===r)))break}return{bytes:b,read:S,written:x}}})),Yl=o((()=>{var e=Y(),t=u(),n=er(),r=Jl(),i=t.Uint8Array,a=!i||!i.fromBase64||!function(){try{i.fromBase64(`a`);return}catch{}try{i.fromBase64(``,null)}catch{return!0}}();i&&e({target:`Uint8Array`,stat:!0,forced:a},{fromBase64:function(e){return n(i,r(e,arguments.length>1?arguments[1]:void 0,null,9007199254740991).bytes)}})})),Xl=o(((e,t)=>{var n=u(),r=_(),i=n.Uint8Array,a=n.SyntaxError,o=Math.min,s=r(``.match);t.exports=function(e,t){var n=e.length;if(n%2!=0)throw new a(`String should be an even number of characters`);for(var r=t?o(t.length,n/2):n/2,c=t||new i(r),l=s(e,/.{2}/g),u=0;u<r;u++){var d=+(`0x`+l[u]+`0`);if(d!==d)throw new a(`String should only contain hex characters`);c[u]=d>>4}return{bytes:c,read:u<<1}}})),Zl=o((()=>{var e=Y(),t=u(),n=bs(),r=Xl();t.Uint8Array&&e({target:`Uint8Array`,stat:!0},{fromHex:function(e){return r(n(e)).bytes}})})),Ql=o(((e,t)=>{var n=Ee(),r=TypeError;t.exports=function(e){if(n(e)===`Uint8Array`)return e;throw new r(`Argument is not an Uint8Array`)}})),$l=o((()=>{var e=Y(),t=u(),n=Jl(),r=Ql(),i=t.Uint8Array,a=!i||!i.prototype.setFromBase64||!function(){var e=new i([255,255,255,255,255]);try{e.setFromBase64(``,null);return}catch{}try{e.setFromBase64(`a`);return}catch{}try{e.setFromBase64(`MjYyZg===`)}catch{return e[0]===50&&e[1]===54&&e[2]===50&&e[3]===255&&e[4]===255}}();i&&e({target:`Uint8Array`,proto:!0,forced:a},{setFromBase64:function(e){r(this);var t=n(e,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}})})),eu=o((()=>{var e=Y(),t=u(),n=bs(),r=Ql(),i=Ar(),a=Xl();function o(){try{new Uint8Array(new ArrayBuffer(16,{maxByteLength:1024})).setFromHex(`cafed00d`)}catch{return!0}}t.Uint8Array&&e({target:`Uint8Array`,proto:!0,forced:o()},{setFromHex:function(e){r(this),n(e),i(this.buffer);var t=a(e,this).read;return{read:t,written:t/2}}})})),tu=o((()=>{var e=Y(),t=u(),n=_(),r=Gl(),i=Ql(),a=Ar(),o=Kl(),s=ql(),c=o.i2c,l=o.i2cUrl,d=n(``.charAt),f=t.Uint8Array,p=!f||!f.prototype.toBase64||!function(){try{new f().toBase64(null)}catch{return!0}}();f&&e({target:`Uint8Array`,proto:!0,forced:p},{toBase64:function(){var e=i(this),t=arguments.length?r(arguments[0]):void 0,n=s(t)===`base64`?c:l,o=!!t&&!!t.omitPadding;a(this.buffer);for(var u=``,f=0,p=e.length,m,h=function(e){return d(n,m>>6*e&63)};f+2<p;f+=3)m=(e[f]<<16)+(e[f+1]<<8)+e[f+2],u+=h(3)+h(2)+h(1)+h(0);return f+2===p?(m=(e[f]<<16)+(e[f+1]<<8),u+=h(3)+h(2)+h(1)+(o?``:`=`)):f+1===p&&(m=e[f]<<16,u+=h(3)+h(2)+(o?``:`==`)),u}})})),nu=o((()=>{var e=Y(),t=u(),n=_(),r=Ql(),i=Ar(),a=n(1.1.toString),o=n([].join),s=Array,c=t.Uint8Array,l=!c||!c.prototype.toHex||!(function(){try{return new c([255,255,255,255,255,255,255,255]).toHex()===`ffffffffffffffff`}catch{return!1}})();c&&e({target:`Uint8Array`,proto:!0,forced:l},{toHex:function(){r(this),i(this.buffer);for(var e=s(this.length),t=0,n=this.length;t<n;t++){var c=a(this[t],16);e[t]=c.length===1?`0`+c:c}return o(e,``)}})})),ru=o((()=>{var e=Y(),t=_(),n=X(),r=String.fromCharCode,i=t(``.charAt),a=t(/./.exec),o=t(``.slice),s=/^[\da-f]{2}$/i,c=/^[\da-f]{4}$/i;e({global:!0},{unescape:function(e){for(var t=n(e),l=``,u=t.length,d=0,f,p;d<u;){if(f=i(t,d++),f===`%`){if(i(t,d)===`u`){if(p=o(t,d+1,d+5),a(c,p)){l+=r(parseInt(p,16)),d+=5;continue}}else if(p=o(t,d,d+2),a(s,p)){l+=r(parseInt(p,16)),d+=2;continue}}l+=f}return l}})})),iu=o(((e,t)=>{var n=_(),r=lr(),i=Ni().getWeakData,a=ur(),o=G(),s=b(),c=w(),l=Ut(),u=Ke(),d=V(),f=de(),p=f.set,m=f.getterFor,h=u.find,g=u.findIndex,v=n([].splice),y=0,x=function(e){return e.frozen||=new S},S=function(){this.entries=[]},C=function(e,t){return h(e.entries,function(e){return e[0]===t})};S.prototype={get:function(e){var t=C(this,e);if(t)return t[1]},has:function(e){return!!C(this,e)},set:function(e,t){var n=C(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=g(this.entries,function(t){return t[0]===e});return~t&&v(this.entries,t,1),!!~t}},t.exports={getConstructor:function(e,t,n,u){var f=e(function(e,r){a(e,h),p(e,{type:t,id:y++,frozen:null}),s(r)||l(r,e[u],{that:e,AS_ENTRIES:n})}),h=f.prototype,g=m(t),_=function(e,t,n){var r=g(e),a=i(o(t),!0);return a===!0?x(r).set(t,n):a[r.id]=n,e};return r(h,{delete:function(e){var t=g(this);if(!c(e))return!1;var n=i(e);return n===!0?x(t).delete(e):n&&d(n,t.id)&&delete n[t.id]},has:function(e){var t=g(this);if(!c(e))return!1;var n=i(e);return n===!0?x(t).has(e):n&&d(n,t.id)}}),r(h,n?{get:function(e){var t=g(this);if(c(e)){var n=i(e);if(n===!0)return x(t).get(e);if(n)return n[t.id]}},set:function(e,t){return _(this,e,t)}}:{add:function(e){return _(this,e,!0)}}),f}}})),au=o((()=>{var e=Oi(),t=u(),n=_(),r=lr(),i=Ni(),a=Pi(),o=iu(),s=w(),c=de().enforce,l=d(),f=ce(),p=Object,m=Array.isArray,h=p.isExtensible,g=p.isFrozen,v=p.isSealed,y=p.freeze,b=p.seal,x=!t.ActiveXObject&&`ActiveXObject`in t,S,C=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},T=a(`WeakMap`,C,o),E=T.prototype,D=n(E.set),O=function(){return e&&l(function(){var e=y([]);return D(new T,e,1),!g(e)})};if(f)if(x){S=o.getConstructor(C,`WeakMap`,!0),i.enable();var k=n(E.delete),A=n(E.has),j=n(E.get);r(E,{delete:function(e){if(s(e)&&!h(e)){var t=c(this);return t.frozen||=new S,k(this,e)||t.frozen.delete(e)}return k(this,e)},has:function(e){if(s(e)&&!h(e)){var t=c(this);return t.frozen||=new S,A(this,e)||t.frozen.has(e)}return A(this,e)},get:function(e){if(s(e)&&!h(e)){var t=c(this);return t.frozen||=new S,A(this,e)?j(this,e):t.frozen.get(e)}return j(this,e)},set:function(e,t){if(s(e)&&!h(e)){var n=c(this);n.frozen||=new S,A(this,e)?D(this,e,t):n.frozen.set(e,t)}else D(this,e,t);return this}})}else O()&&r(E,{set:function(e,t){var n;return m(e)&&(g(e)?n=y:v(e)&&(n=b)),D(this,e,t),n&&n(e),this}})})),ou=o((()=>{au()})),su=o(((e,t)=>{var n=_(),r=WeakMap.prototype;t.exports={WeakMap,set:n(r.set),get:n(r.get),has:n(r.has),remove:n(r.delete)}})),cu=o((()=>{var e=Y(),t=su(),n=I(),r=t.get,i=t.has,a=t.set;e({target:`WeakMap`,proto:!0,real:!0,forced:n},{getOrInsert:function(e,t){return i(this,e)?r(this,e):(a(this,e,t),t)}})})),lu=o(((e,t)=>{var n=su().has;t.exports=function(e){return n(e),e}})),uu=o(((e,t)=>{var n=su(),r=new n.WeakMap,i=n.set,a=n.remove;t.exports=function(e){return i(r,e,1),a(r,e),e}})),du=o((()=>{var e=Y(),t=N(),n=lu(),r=uu(),i=su(),a=I(),o=i.get,s=i.has,c=i.set;e({target:`WeakMap`,proto:!0,real:!0,forced:a||!function(){try{WeakMap.prototype.getOrInsertComputed&&new WeakMap().getOrInsertComputed(1,function(){throw 1})}catch(e){return e instanceof TypeError}}()},{getOrInsertComputed:function(e,i){if(a||n(this),r(e),t(i),s(this,e))return o(this,e);var l=i(e);return c(this,e,l),l}})})),fu=o((()=>{Pi()(`WeakSet`,function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},iu())})),pu=o((()=>{fu()})),mu=o((()=>{Gt()})),hu=o((()=>{qt()})),gu=o((()=>{Jo()})),_u=o((()=>{Yt()})),vu=o((()=>{var e=Y(),t=Ke().filterReject,n=Jt();e({target:`Array`,proto:!0,forced:!0},{filterOut:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),n(`filterOut`)})),yu=o((()=>{var e=Y(),t=Ke().filterReject,n=Jt();e({target:`Array`,proto:!0,forced:!0},{filterReject:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),n(`filterReject`)})),bu=o((()=>{fn()})),xu=o((()=>{pn()})),Su=o(((e,t)=>{var n=Be(),r=_(),i=y(),a=B(),o=ne(),s=J(),c=Ae(),l=er(),u=Array,d=r([].push);t.exports=function(e,t,r,f){for(var p=a(e),m=i(p),h=n(t,r),g=c(null),_=s(m),v=0,y,b,x;_>v;v++)x=m[v],b=o(h(x,v,p)),b in g?d(g[b],x):g[b]=[x];if(f&&(y=f(p),y!==u))for(b in g)g[b]=l(y,g[b]);return g}})),Cu=o((()=>{var e=Y(),t=Su(),n=Jt();e({target:`Array`,proto:!0},{group:function(e){var n=arguments.length>1?arguments[1]:void 0;return t(this,e,n)}}),n(`group`)})),wu=o((()=>{var e=Y(),t=Su(),n=rn(),r=Jt();e({target:`Array`,proto:!0,forced:!n(`groupBy`)},{groupBy:function(e){var n=arguments.length>1?arguments[1]:void 0;return t(this,e,n)}}),r(`groupBy`)})),Tu=o(((e,t)=>{var n=Be(),r=_(),i=y(),a=B(),o=J(),s=Ri(),c=s.Map,l=s.get,u=s.has,d=s.set,f=r([].push);t.exports=function(e){for(var t=a(this),r=i(t),s=n(e,arguments.length>1?arguments[1]:void 0),p=new c,m=o(r),h=0,g,_;m>h;h++)_=r[h],g=s(_,h,t),u(p,g)?f(l(p,g),_):d(p,g,[_]);return p}})),Eu=o((()=>{var e=Y(),t=rn(),n=Jt(),r=Tu();e({target:`Array`,proto:!0,name:`groupToMap`,forced:I()||!t(`groupByToMap`)},{groupByToMap:r}),n(`groupByToMap`)})),Du=o((()=>{var e=Y(),t=Jt(),n=Tu();e({target:`Array`,proto:!0,forced:I()},{groupToMap:n}),t(`groupToMap`)})),Ou=o((()=>{var e=Y(),t=Ve(),n=Object.isFrozen,r=function(e,r){if(!n||!t(e)||!n(e))return!1;for(var i=0,a=e.length,o;i<a;)if(o=e[i++],!(typeof o==`string`||r&&o===void 0))return!1;return a!==0};e({target:`Array`,stat:!0,sham:!0,forced:!0},{isTemplateObject:function(e){if(!r(e,!0))return!1;var t=e.raw;return r(t,!1)&&t.length===e.length}})})),ku=o((()=>{var e=f(),t=Jt(),n=B(),r=J(),i=Ne();e&&(i(Array.prototype,`lastIndex`,{configurable:!0,get:function(){var e=r(n(this));return e===0?0:e-1}}),t(`lastIndex`))})),Au=o((()=>{var e=f(),t=Jt(),n=B(),r=J(),i=Ne();e&&(i(Array.prototype,`lastItem`,{configurable:!0,get:function(){var e=n(this),t=r(e);return t===0?void 0:e[t-1]},set:function(e){var t=n(this),i=r(t);return t[i===0?0:i-1]=e}}),t(`lastItem`))})),ju=o((()=>{$n()})),Mu=o((()=>{nr()})),Nu=o((()=>{rr()})),Pu=o(((e,t)=>{var n=_(),r=Ns(),i=Ri(),a=i.Map,o=i.proto,s=n(o.forEach),c=n(o.entries),l=c(new a).next;t.exports=function(e,t,n){return n?r({iterator:c(e),next:l},function(e){return t(e[1],e[0])}):s(e,t)}})),Fu=o(((e,t)=>{var n=N(),r=b(),i=J(),a=B(),o=Ge(),s=Ri(),c=Pu(),l=s.Map,u=s.has,d=s.set;t.exports=function(e){var t=a(this),s=i(t),f=[],p=new l,m=r(e)?function(e){return e}:n(e),h,g,_;for(h=0;h<s;h++)g=t[h],_=m(g),u(p,_)||d(p,_,g);return h=0,c(p,function(e){o(f,h++,e)}),f}})),Iu=o((()=>{var e=Y(),t=Jt();e({target:`Array`,proto:!0,forced:!0},{uniqueBy:Fu()}),t(`uniqueBy`)})),Lu=o((()=>{sr()})),Ru=o((()=>{kr()})),zu=o((()=>{Fr()})),Bu=o((()=>{Ir()})),Vu=o((()=>{Yo()})),Hu=o((()=>{var e=Y(),t=ur(),n=Lt(),r=ae(),i=V(),a=H(),o=Ho(),s=I(),c=a(`toStringTag`),l=TypeError,u=function(){if(t(this,o),n(this)===o)throw new l(`Abstract class AsyncIterator not directly constructable`)};u.prototype=o,i(o,c)||r(o,c,`AsyncIterator`),(s||!i(o,`constructor`)||o.constructor===Object)&&r(o,`constructor`,u),e({global:!0,constructor:!0,forced:s},{AsyncIterator:u})})),Uu=o(((e,t)=>{var n=m(),r=wo(),i=G(),a=Ae(),o=ae(),s=lr(),c=H(),l=de(),u=T(),d=P(),f=Ho(),p=kn(),h=u(`Promise`),g=c(`toStringTag`),_=`AsyncIteratorHelper`,v=`WrapForValidAsyncIterator`,y=l.set,b=function(e){var t=!e,o=l.getterFor(e?v:_),c=function(e){var n=r(function(){return o(e)}),i=n.error,a=n.value;return i||t&&a.done?{exit:!0,value:i?h.reject(a):h.resolve(p(void 0,!0))}:{exit:!1,value:a}};return s(a(f),{next:function(){var e=c(this),t=e.value;if(e.exit)return t;var n=r(function(){return i(t.nextHandler(h))}),a=n.error,o=n.value;return a&&(t.done=!0),a?h.reject(o):h.resolve(o)},return:function(){var t=c(this),a=t.value;if(t.exit)return a;a.done=!0;var o=a.iterator,s=a.inner,l,u,f=function(){var t=r(function(){return d(o,`return`)});return l=u=t.value,t.error?h.reject(u):l===void 0?h.resolve(p(void 0,!0)):(t=r(function(){return n(l,o)}),u=t.value,t.error?h.reject(u):e?h.resolve(u):h.resolve(u).then(function(e){return i(e),p(void 0,!0)}))},m=function(e){return f().then(function(){throw e},function(){throw e})};if(s){var g=s.iterator,_,v=r(function(){if(_=d(g,`return`),_)return n(_,g)});if(v.error)return m(v.value);if(_)return h.resolve(v.value).then(function(e){try{i(e)}catch(e){return m(e)}return f()},m)}return f()}})},x=b(!0),S=b(!1);o(S,g,`Async Iterator Helper`),t.exports=function(e,t){var n=function(n,r){r?(r.iterator=n.iterator,r.next=n.next):r=n,r.type=t?v:_,r.nextHandler=e,r.counter=0,r.done=!1,y(this,r)};return n.prototype=t?x:S,n}})),Wu=o(((e,t)=>{var n=m(),r=N(),i=G(),a=w(),o=ci(),s=Uu(),c=kn(),l=Go(),u=s(function(e){var t=this,r=t.iterator,o=t.mapper;return new e(function(s,u){var d=function(e){t.done=!0,u(e)},f=function(e){l(r,d,e,d)};try{e.resolve(i(n(t.next,r))).then(function(n){try{if(i(n).done)t.done=!0,s(c(void 0,!0));else{var r=n.value;try{var l=o(r,t.counter++),u=function(e){s(c(e,!1))};a(l)?e.resolve(l).then(u,f):u(l)}catch(e){f(e)}}}catch(e){d(e)}},d)}catch(e){d(e)}})});t.exports=function(e){return i(this),r(e),new u(o(this),{mapper:e})}})),Gu=o(((e,t)=>{var n=m(),r=Wu(),i=function(e,t){return[t,e]};t.exports=function(){return n(r,this,i)}})),Ku=o((()=>{Y()({target:`AsyncIterator`,name:`indexed`,proto:!0,real:!0,forced:!0},{asIndexedPairs:Gu()})})),qu=o((()=>{Xo()})),Ju=o((()=>{var e=Y(),t=m(),n=G(),r=ci(),i=li(),a=ui(),o=Uu(),s=kn(),c=o(function(e){var r=this;return new e(function(i,a){var o=function(e){r.done=!0,a(e)},c=function(){try{e.resolve(n(t(r.next,r.iterator))).then(function(e){try{n(e).done?(r.done=!0,i(s(void 0,!0))):r.remaining?(r.remaining--,c()):i(s(e.value,!1))}catch(e){o(e)}},o)}catch(e){o(e)}};c()})});e({target:`AsyncIterator`,proto:!0,real:!0,forced:!0},{drop:function(e){n(this);var t=a(i(+e));return new c(r(this),{remaining:t})}})})),Yu=o((()=>{var e=Y(),t=Ko().every;e({target:`AsyncIterator`,proto:!0,real:!0,forced:!0},{every:function(e){return t(this,e)}})})),Xu=o((()=>{var e=Y(),t=m(),n=N(),r=G(),i=w(),a=ci(),o=Uu(),s=kn(),c=Go(),l=o(function(e){var n=this,a=n.iterator,o=n.predicate;return new e(function(l,u){var d=function(e){n.done=!0,u(e)},f=function(e){c(a,d,e,d)},p=function(){try{e.resolve(r(t(n.next,a))).then(function(t){try{if(r(t).done)n.done=!0,l(s(void 0,!0));else{var a=t.value;try{var c=o(a,n.counter++),u=function(e){e?l(s(a,!1)):p()};i(c)?e.resolve(c).then(u,f):u(c)}catch(e){f(e)}}}catch(e){d(e)}},d)}catch(e){d(e)}};p()})});e({target:`AsyncIterator`,proto:!0,real:!0,forced:!0},{filter:function(e){return r(this),n(e),new l(a(this),{predicate:e})}})})),Zu=o((()=>{var e=Y(),t=Ko().find;e({target:`AsyncIterator`,proto:!0,real:!0,forced:!0},{find:function(e){return t(this,e)}})})),Qu=o(((e,t)=>{var n=m(),r=C(),i=G(),a=ci(),o=Bt(),s=P(),c=H(),l=Uo(),u=c(`asyncIterator`);t.exports=function(e){var t=i(e),c=!0,d=s(t,u),f;return r(d)||(d=o(t),c=!1),d===void 0?(f=t,c=!0):f=n(d,t),i(f),a(c?f:new l(a(f)))}})),$u=o((()=>{var e=Y(),t=m(),n=N(),r=G(),i=w(),a=ci(),o=Uu(),s=kn(),c=Qu(),l=Go(),u=o(function(e){var n=this,a=n.iterator,o=n.mapper;return new e(function(u,d){var f=function(e){n.done=!0,d(e)},p=function(e){l(a,f,e,f)},m=function(){try{e.resolve(r(t(n.next,a))).then(function(t){try{if(r(t).done)n.done=!0,u(s(void 0,!0));else{var a=t.value;try{var l=o(a,n.counter++),d=function(e){try{n.inner=c(e),h()}catch(e){p(e)}};i(l)?e.resolve(l).then(d,p):d(l)}catch(e){p(e)}}}catch(e){f(e)}},f)}catch(e){f(e)}},h=function(){var i=n.inner;if(i)try{e.resolve(r(t(i.next,i.iterator))).then(function(e){try{r(e).done?(n.inner=null,m()):u(s(e.value,!1))}catch(e){p(e)}},p)}catch(e){p(e)}else m()};h()})});e({target:`AsyncIterator`,proto:!0,real:!0,forced:!0},{flatMap:function(e){return r(this),n(e),new u(a(this),{mapper:e,inner:null})}})})),ed=o((()=>{var e=Y(),t=Ko().forEach;e({target:`AsyncIterator`,proto:!0,real:!0,forced:!0},{forEach:function(e){return t(this,e)}})})),td=o(((e,t)=>{var n=m();t.exports=Uu()(function(){return n(this.next,this.iterator)},!0)})),nd=o((()=>{var e=Y(),t=B(),n=E(),r=Qu(),i=Ho(),a=td();e({target:`AsyncIterator`,stat:!0,forced:!0},{from:function(e){var o=r(typeof e==`string`?t(e):e);return n(i,o.iterator)?o.iterator:new a(o)}})})),rd=o((()=>{Y()({target:`AsyncIterator`,proto:!0,real:!0,forced:!0},{indexed:Gu()})})),id=o((()=>{Y()({target:`AsyncIterator`,proto:!0,real:!0,forced:!0},{map:Wu()})})),ad=o((()=>{var e=Y(),t=m(),n=N(),r=G(),i=w(),a=T(),o=ci(),s=Go(),c=a(`Promise`),l=TypeError;e({target:`AsyncIterator`,proto:!0,real:!0,forced:!0},{reduce:function(e){r(this),n(e);var a=o(this),u=a.iterator,d=a.next,f=arguments.length<2,p=f?void 0:arguments[1],m=0;return new c(function(n,a){var o=function(e){s(u,a,e,a)},h=function(){try{c.resolve(r(t(d,u))).then(function(t){try{if(r(t).done)f?a(new l(`Reduce of empty iterator with no initial value`)):n(p);else{var s=t.value;if(f)f=!1,p=s,m++,h();else try{var u=e(p,s,m++),d=function(e){p=e,h()};i(u)?c.resolve(u).then(d,o):d(u)}catch(e){o(e)}}}catch(e){a(e)}},a)}catch(e){a(e)}};h()})}})})),od=o((()=>{var e=Y(),t=Ko().some;e({target:`AsyncIterator`,proto:!0,real:!0,forced:!0},{some:function(e){return t(this,e)}})})),sd=o((()=>{var e=Y(),t=m(),n=G(),r=ci(),i=P(),a=li(),o=ui(),s=Uu(),c=kn(),l=s(function(e){var r=this,a=r.iterator,o;if(!r.remaining--){var s=c(void 0,!0);return r.done=!0,o=i(a,`return`),o===void 0?s:e.resolve(t(o,a)).then(function(e){return n(e),s})}return e.resolve(t(r.next,a)).then(function(e){return n(e).done?(r.done=!0,c(void 0,!0)):c(e.value,!1)}).then(null,function(e){throw r.done=!0,e})});e({target:`AsyncIterator`,proto:!0,real:!0,forced:!0},{take:function(e){n(this);var t=o(a(+e));return new l(r(this),{remaining:t})}})})),cd=o((()=>{var e=Y(),t=Ko().toArray;e({target:`AsyncIterator`,proto:!0,real:!0,forced:!0},{toArray:function(){return t(this,void 0,[])}})})),ld=o(((e,t)=>{var n=de(),r=Dn(),i=kn(),a=b(),o=w(),s=Ne(),c=f(),l=`Incorrect Iterator.range arguments`,u=`NumericRangeIterator`,d=n.set,p=n.getterFor(u),m=RangeError,h=TypeError,g=r(function(e,t,n,r,i,s){if(e!==e||t!==t)throw new m(l);if(typeof e!=r||t!==1/0&&t!==-1/0&&typeof t!=r)throw new h(l);if(e===1/0||e===-1/0)throw new m(l);var f=t>e,p=!1,g;if(a(n))g=void 0;else if(o(n))g=n.step,p=!!n.inclusive;else if(typeof n==r)g=n;else throw new h(l);if(a(g)&&(g=f?s:-s),typeof g!=r)throw new h(l);if(g!==g||g===1/0||g===-1/0||g===i&&e!==t)throw new m(l);var _=t>e!=g>i;d(this,{type:u,start:e,end:t,step:g,inclusive:p,hitsEnd:_,currentCount:i,zero:i}),c||(this.start=e,this.end=t,this.step=g,this.inclusive=p)},u,function(){var e=p(this);if(e.hitsEnd)return i(void 0,!0);var t=e.start,n=e.end,r=t+e.step*e.currentCount++;r===n&&(e.hitsEnd=!0);var a=e.inclusive;return(n>t?a?r>n:r>=n:a?n>r:n>=r)?(e.hitsEnd=!0,i(void 0,!0)):i(r,!1)}),_=function(e){s(g.prototype,e,{get:function(){return p(this)[e]},set:function(){},configurable:!0,enumerable:!1})};c&&(_(`start`),_(`end`),_(`inclusive`),_(`step`)),t.exports=g})),ud=o((()=>{var e=Y(),t=ld();typeof BigInt==`function`&&e({target:`BigInt`,stat:!0,forced:!0},{range:function(e,n,r){return new t(e,n,r,`bigint`,BigInt(0),BigInt(1))}})})),dd=o(((e,t)=>{Li(),ou();var n=T(),r=Ae(),i=w(),a=Object,o=TypeError,s=n(`Map`),c=n(`WeakMap`),l=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=r(null)};l.prototype.get=function(e,t){return this[e]||(this[e]=t())},l.prototype.next=function(e,t,n){var r=n?this.objectsByIndex[e]||(this.objectsByIndex[e]=new c):this.primitives||=new s,i=r.get(t);return i||r.set(t,i=new l),i};var u=new l;t.exports=function(){var e=u,t=arguments.length,n,r;for(n=0;n<t;n++)i(r=arguments[n])&&(e=e.next(n,r,!0));if(this===a&&e===u)throw new o(`Composite keys must contain a non-primitive component`);for(n=0;n<t;n++)i(r=arguments[n])||(e=e.next(n,r,!1));return e}})),fd=o((()=>{var e=Y(),t=Ze(),n=dd(),r=T(),i=Ae(),a=Object,o=function(){var e=r(`Object`,`freeze`);return e?e(i(null)):i(null)};e({global:!0,forced:!0},{compositeKey:function(){return t(n,a,arguments).get(`object`,o)}})})),pd=o((()=>{var e=Y(),t=dd(),n=T(),r=Ze();e({global:!0,forced:!0},{compositeSymbol:function(){return arguments.length===1&&typeof arguments[0]==`string`?n(`Symbol`).for(arguments[0]):r(t,null,arguments).get(`symbol`,n(`Symbol`))}})})),md=o((()=>{Cr()})),hd=o((()=>{var e=Y(),t=_()(DataView.prototype.getUint8);e({target:`DataView`,proto:!0,forced:!0},{getUint8Clamped:function(e){return t(this,e)}})})),gd=o((()=>{Er()})),_d=o((()=>{var e=Y(),t=_(),n=wr(),r=dr(),i=$c(),a=t(DataView.prototype.setUint8);e({target:`DataView`,proto:!0,forced:!0},{setUint8Clamped:function(e,t){a(n(this),r(e),i(t))}})})),vd=o((()=>{Xr()})),yd=o((()=>{Nt()})),bd=o(((e,t)=>{var n=_(),r=N();t.exports=function(){return n(r(this))}})),xd=o((()=>{Y()({target:`Function`,proto:!0,forced:!0},{demethodize:bd()})})),Sd=o((()=>{var e=Y(),t=_(),n=C(),r=se(),i=V(),a=f(),o=Object.getOwnPropertyDescriptor,s=/^\s*class\b/,c=t(s.exec),l=function(e){try{if(!a||!c(s,r(e)))return!1}catch{}var t=o(e,`prototype`);return!!t&&i(t,`writable`)&&!t.writable};e({target:`Function`,stat:!0,sham:!0,forced:!0},{isCallable:function(e){return n(e)&&!l(e)}})})),Cd=o((()=>{Y()({target:`Function`,stat:!0,forced:!0},{isConstructor:He()})})),wd=o((()=>{var e=H(),t=K().f,n=e(`metadata`),r=Function.prototype;r[n]===void 0&&t(r,n,{value:null})})),Td=o((()=>{Y()({target:`Function`,proto:!0,forced:!0,name:`demethodize`},{unThis:bd()})})),Ed=o((()=>{ni()})),Dd=o((()=>{ri()})),Od=o(((e,t)=>{xi();var n=m(),r=En().IteratorPrototype.map,i=function(e,t){return[t,e]};t.exports=function(){return n(r,this,i)}})),kd=o((()=>{Y()({target:`Iterator`,name:`indexed`,proto:!0,real:!0,forced:!0},{asIndexedPairs:Od()})})),Ad=o((()=>{var e=Y(),t=G(),n=m(),r=ai(),i=ci(),a=Ht(),o=_(),s=RangeError,c=o([].push),l=r(function(){for(var e=this.iterator,r=this.next,i=this.chunkSize,a=[],o,s;;){if(o=t(n(r,e)),s=!!o.done,s){if(a.length)return a;this.done=!0;return}if(c(a,o.value),a.length===i)return a}});e({target:`Iterator`,proto:!0,real:!0,forced:!0},{chunks:function(e){var n=t(this);return typeof e!=`number`||!e||e>>>0!==e?a(n,`throw`,new s(`chunkSize must be integer in [1, 2^32-1]`)):new l(i(n),{chunkSize:e})}})})),jd=o((()=>{oi()})),Md=o((()=>{si()})),Nd=o((()=>{pi()})),Pd=o((()=>{mi()})),Fd=o((()=>{hi()})),Id=o((()=>{gi()})),Ld=o((()=>{vi()})),Rd=o((()=>{yi()})),zd=o((()=>{bi()})),Bd=o((()=>{Y()({target:`Iterator`,proto:!0,real:!0,forced:!0},{indexed:Od()})})),Vd=o((()=>{xi()})),Hd=o((()=>{var e=Y(),t=ld(),n=TypeError;e({target:`Iterator`,stat:!0,forced:!0},{range:function(e,r,i){if(typeof e==`number`)return new t(e,r,i,`number`,0,1);if(typeof e==`bigint`)return new t(e,r,i,`bigint`,BigInt(0),BigInt(1));throw new n(`Incorrect Iterator.range arguments`)}})})),Ud=o((()=>{Si()})),Wd=o(((e,t)=>{var n=G(),r=m(),i=ai(),a=kn(),o=ci(),s=Ht(),c=_(),l=RangeError,u=TypeError,d=c([].push),f=c([].slice),p=`allow-partial`,h=i(function(){for(var e=this.iterator,t=this.next,i=this.buffer,o=this.windowSize,s=this.allowPartial,c,l;;){if(c=n(r(t,e)),l=this.done=!!c.done,s&&l&&i.length&&i.length<o)return a(f(i,0),!1);if(l)return a(void 0,!0);if(i.length===o&&(this.buffer=i=f(i,1)),d(i,c.value),i.length===o)return a(f(i,0),!1)}},!1,!0);t.exports=function(e,t,r){return n(e),typeof t!=`number`||!t||t>>>0!==t?s(e,`throw`,new l("`windowSize` must be integer in [1, 2^32-1]")):r!==void 0&&r!==`only-full`&&r!==p?s(e,`throw`,new u("Incorrect `undersized` argument")):new h(o(e),{windowSize:t,buffer:[],allowPartial:r===p})}})),Gd=o((()=>{var e=Y(),t=Wd();e({target:`Iterator`,proto:!0,real:!0,forced:!0},{sliding:function(e){return t(this,e,`allow-partial`)}})})),Kd=o((()=>{Ci()})),qd=o((()=>{wi()})),Jd=o((()=>{Ti()})),Yd=o((()=>{var e=Y(),t=G(),n=Uo(),r=td(),i=ci();e({target:`Iterator`,proto:!0,real:!0,forced:!0},{toAsync:function(){return new r(i(new n(i(t(this)))))}})})),Xd=o((()=>{var e=Y(),t=Wd();e({target:`Iterator`,proto:!0,real:!0,forced:!0},{windows:function(e){return t(this,e,arguments.length<2?void 0:arguments[1])}})})),Zd=o(((e,t)=>{var n=Vt(),r=ci();t.exports=function(e){return r(n(e))}})),Qd=o(((e,t)=>{var n=TypeError;t.exports=function(e){var t=e&&e.mode;if(t===void 0||t===`shortest`||t===`longest`||t===`strict`)return t||`shortest`;throw new n("Incorrect `mode` option")}})),$d=o(((e,t)=>{var n=m(),r=_(),i=G(),a=ai(),o=ii(),s=TypeError,c=r([].slice),l=r([].push),u=`Iterator is exhausted`,d=`throw`,f=a(function(){var e=this.iterCount;if(!e){this.done=!0;return}for(var t=this.openIters,r=this.iters,a=this.padding,c=this.mode,f=this.finishResults,p=[],m,h,g=0;g<e;g++){var _=r[g];if(_===null)m=a[g];else{try{m=i(n(_.next,_.iterator)),h=m.done,m=m.value}catch(e){return t[g]=void 0,o(t,d,e)}if(h){if(t[g]=void 0,this.openItersCount--,c===`shortest`)return this.done=!0,o(t,`normal`,void 0);if(c===`strict`){if(g)return o(t,d,new s(u));for(var v,y,b=1;b<e;b++){try{v=i(n(r[b].next,r[b].iterator)),y=v.done,v=v.value}catch(e){return t[b]=void 0,o(t,d,e)}if(y)t[b]=void 0,this.openItersCount--;else return o(t,d,new s(u))}this.done=!0;return}if(!this.openItersCount){this.done=!0;return}r[g]=null,m=a[g]}}l(p,m)}return f?f(p):p});t.exports=function(e,t,n,r){var i=e.length;return new f({iters:e,iterCount:i,openIters:c(e,0),openItersCount:i,mode:t,padding:n,finishResults:r})}})),ef=o((()=>{var e=Y(),t=G(),n=Gl(),r=m(),i=_(),a=Zd(),o=_i(),s=Qd(),c=Ht(),l=ii(),u=$d(),d=I(),f=i([].concat),p=i([].push),h=`throw`;e({target:`Iterator`,stat:!0,forced:d},{zip:function(e){t(e);for(var i=arguments.length>1?n(arguments[1]):void 0,d=s(i),m=d===`longest`?n(i&&i.padding):void 0,g=[],_=[],v=a(e),y,b,x;!b;){try{x=t(r(v.next,v.iterator)),b=x.done}catch(e){return l(g,h,e)}if(!b){try{y=o(x.value,!1)}catch(e){return l(f([v],g),h,e)}p(g,y)}}var S=g.length,C,w,T;if(d===`longest`)if(m===void 0)for(C=0;C<S;C++)p(_,void 0);else{try{T=a(m)}catch(e){return l(g,h,e)}var E=!0;for(C=0;C<S;C++)if(E){try{x=t(r(T.next,T.iterator)),w=x.done,x=x.value}catch(e){return l(g,h,e)}w?E=!1:p(_,x)}else p(_,void 0);if(E)try{c(T.iterator,`normal`)}catch(e){return l(g,h,e)}}return u(g,d,_)}})})),tf=o((()=>{var e=Y(),t=G(),n=Gl(),r=Ge(),i=m(),a=_(),o=T(),s=h(),c=_i(),l=Qd(),u=ii(),d=$d(),f=I(),p=o(`Object`,`create`),g=o(`Reflect`,`ownKeys`),v=a([].push),y=`throw`;e({target:`Iterator`,stat:!0,forced:f},{zipKeyed:function(e){t(e);var a=arguments.length>1?n(arguments[1]):void 0,o=l(a),f=o===`longest`?n(a&&a.padding):void 0,m=[],h=[],_=g(e),b=[],x=s.f,S,C,w;for(S=0;S<_.length;S++)try{if(C=_[S],!i(x,e,C))continue;w=e[C],w!==void 0&&(v(b,C),v(m,c(w,!1)))}catch(e){return u(m,y,e)}var T=m.length;if(o===`longest`)if(f===void 0)for(S=0;S<T;S++)v(h,void 0);else for(S=0;S<b.length;S++){try{w=f[b[S]]}catch(e){return u(m,y,e)}v(h,w)}return d(m,o,h,function(e){for(var t=p(null),n=0;n<T;n++)r(t,b[n],e[n]);return t})}})})),nf=o((()=>{Ei()})),rf=o((()=>{Di()})),af=o((()=>{ki()})),of=o(((e,t)=>{var n=Ri().has;t.exports=function(e){return n(e),e}})),sf=o((()=>{var e=Y(),t=of(),n=Ri().remove;e({target:`Map`,proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e=t(this),r=!0,i,a=0,o=arguments.length;a<o;a++)i=n(e,arguments[a]),r&&=i;return!!r}})})),cf=o((()=>{var e=Y(),t=of(),n=Ri(),r=n.get,i=n.has,a=n.set;e({target:`Map`,proto:!0,real:!0,forced:!0},{emplace:function(e,n){var o=t(this),s,c;return i(o,e)?(s=r(o,e),`update`in n&&(s=n.update(s,e,o),a(o,e,s)),s):(c=n.insert(e,o),a(o,e,c),c)}})})),lf=o((()=>{var e=Y(),t=Be(),n=of(),r=Pu();e({target:`Map`,proto:!0,real:!0,forced:!0},{every:function(e){var i=n(this),a=t(e,arguments.length>1?arguments[1]:void 0);return r(i,function(e,t){if(!a(e,t,i))return!1},!0)!==!1}})})),uf=o((()=>{var e=Y(),t=Be(),n=of(),r=Ri(),i=Pu(),a=r.Map,o=r.set;e({target:`Map`,proto:!0,real:!0,forced:!0},{filter:function(e){var r=n(this),s=t(e,arguments.length>1?arguments[1]:void 0),c=new a;return i(r,function(e,t){s(e,t,r)&&o(c,t,e)}),c}})})),df=o((()=>{var e=Y(),t=Be(),n=of(),r=Pu();e({target:`Map`,proto:!0,real:!0,forced:!0},{find:function(e){var i=n(this),a=t(e,arguments.length>1?arguments[1]:void 0),o=r(i,function(e,t){if(a(e,t,i))return{value:e}},!0);return o&&o.value}})})),ff=o((()=>{var e=Y(),t=Be(),n=of(),r=Pu();e({target:`Map`,proto:!0,real:!0,forced:!0},{findKey:function(e){var i=n(this),a=t(e,arguments.length>1?arguments[1]:void 0),o=r(i,function(e,t){if(a(e,t,i))return{key:t}},!0);return o&&o.key}})})),pf=o(((e,t)=>{var n=Be(),r=G(),i=B(),a=Ut();t.exports=function(e,t,o){return function(s){var c=i(s),l=arguments.length,u=l>1?arguments[1]:void 0,d=u!==void 0,f=d?n(u,l>2?arguments[2]:void 0):void 0,p=new e,m=0;return a(c,function(e){var n=d?f(e,m++):e;o?t(p,r(n)[0],n[1]):t(p,n)}),p}}})),mf=o((()=>{var e=Y(),t=Ri();e({target:`Map`,stat:!0,forced:!0},{from:pf()(t.Map,t.set,!0)})})),hf=o((()=>{Bi()})),gf=o((()=>{Vi()})),_f=o((()=>{zi()})),vf=o(((e,t)=>{t.exports=function(e,t){return e===t||e!==e&&t!==t}})),yf=o((()=>{var e=Y(),t=vf(),n=of(),r=Pu();e({target:`Map`,proto:!0,real:!0,forced:!0},{includes:function(e){return r(n(this),function(n){if(t(n,e))return!0},!0)===!0}})})),bf=o((()=>{var e=Y(),t=m(),n=Ut(),r=C(),i=N(),a=Ri().Map;e({target:`Map`,stat:!0,forced:!0},{keyBy:function(e,o){var s=new(r(this)?this:a);i(o);var c=i(s.set);return n(e,function(e){t(c,s,o(e),e)}),s}})})),xf=o((()=>{var e=Y(),t=of(),n=Pu();e({target:`Map`,proto:!0,real:!0,forced:!0},{keyOf:function(e){var r=n(t(this),function(t,n){if(t===e)return{key:n}},!0);return r&&r.key}})})),Sf=o((()=>{var e=Y(),t=Be(),n=of(),r=Ri(),i=Pu(),a=r.Map,o=r.set;e({target:`Map`,proto:!0,real:!0,forced:!0},{mapKeys:function(e){var r=n(this),s=t(e,arguments.length>1?arguments[1]:void 0),c=new a;return i(r,function(e,t){o(c,s(e,t,r),e)}),c}})})),Cf=o((()=>{var e=Y(),t=Be(),n=of(),r=Ri(),i=Pu(),a=r.Map,o=r.set;e({target:`Map`,proto:!0,real:!0,forced:!0},{mapValues:function(e){var r=n(this),s=t(e,arguments.length>1?arguments[1]:void 0),c=new a;return i(r,function(e,t){o(c,t,s(e,t,r))}),c}})})),wf=o((()=>{var e=Y(),t=of(),n=Ut(),r=Ri().set;e({target:`Map`,proto:!0,real:!0,arity:1,forced:!0},{merge:function(e){for(var i=t(this),a=arguments.length,o=0;o<a;)n(arguments[o++],function(e,t){r(i,e,t)},{AS_ENTRIES:!0});return i}})})),Tf=o(((e,t)=>{var n=G();t.exports=function(e,t,r){return function(){for(var i=new e,a=arguments.length,o=0;o<a;o++){var s=arguments[o];r?t(i,n(s)[0],s[1]):t(i,s)}return i}}})),Ef=o((()=>{var e=Y(),t=Ri();e({target:`Map`,stat:!0,forced:!0},{of:Tf()(t.Map,t.set,!0)})})),Df=o((()=>{var e=Y(),t=N(),n=of(),r=Pu(),i=TypeError;e({target:`Map`,proto:!0,real:!0,forced:!0},{reduce:function(e){var a=n(this),o=arguments.length<2,s=o?void 0:arguments[1];if(t(e),r(a,function(t,n){o?(o=!1,s=t):s=e(s,t,n,a)}),o)throw new i(`Reduce of empty map with no initial value`);return s}})})),Of=o((()=>{var e=Y(),t=Be(),n=of(),r=Pu();e({target:`Map`,proto:!0,real:!0,forced:!0},{some:function(e){var i=n(this),a=t(e,arguments.length>1?arguments[1]:void 0);return r(i,function(e,t){if(a(e,t,i))return!0},!0)===!0}})})),kf=o((()=>{var e=Y(),t=N(),n=of(),r=Ri(),i=TypeError,a=r.get,o=r.has,s=r.set;e({target:`Map`,proto:!0,real:!0,forced:!0},{update:function(e,r){var c=n(this),l=arguments.length;t(r);var u=o(c,e);if(!u&&l<3)throw new i(`Updating absent value`);return s(c,e,r(u?a(c,e):t(l>2?arguments[2]:void 0)(e,c),e,c)),c}})})),Af=o(((e,t)=>{var n=m(),r=N(),i=C(),a=G(),o=TypeError;t.exports=function(e,t){var s=a(this),c=r(s.get),l=r(s.has),u=r(s.set),d=arguments.length>2?arguments[2]:void 0,f;if(!i(t)&&!i(d))throw new o(`At least one callback required`);return n(l,s,e)?(f=n(c,s,e),i(t)&&(f=t(f),n(u,s,e,f))):i(d)&&(f=d(),n(u,s,e,f)),f}})),jf=o((()=>{Y()({target:`Map`,proto:!0,real:!0,name:`upsert`,forced:!0},{updateOrInsert:Af()})})),Mf=o((()=>{Y()({target:`Map`,proto:!0,real:!0,forced:!0},{upsert:Af()})})),Nf=o(((e,t)=>{var n=TypeError;t.exports=function(e){if(typeof e==`number`)return e;throw new n(`Argument is not a number`)}})),Pf=o(((e,t)=>{var n=Nf(),r=Math.min,i=Math.max;t.exports=function(e,t,a){return r(i(n(e),n(t)),n(a))}})),Ff=o((()=>{Y()({target:`Math`,stat:!0,forced:!0},{clamp:Pf()})})),If=o((()=>{Y()({target:`Math`,stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})})),Lf=o((()=>{var e=Y(),t=180/Math.PI;e({target:`Math`,stat:!0,forced:!0},{degrees:function(e){return e*t}})})),Rf=o(((e,t)=>{t.exports=function(e,t,n,r,i){var a=+e,o=+t,s=+n,c=+r,l=+i;return a!==a||o!==o||s!==s||c!==c||l!==l?NaN:a===1/0||a===-1/0?a:(a-o)*(l-c)/(s-o)+c}})),zf=o((()=>{var e=Y(),t=Rf(),n=hr();e({target:`Math`,stat:!0,forced:!0},{fscale:function(e,r,i,a,o){return n(t(e,r,i,a,o))}})})),Bf=o((()=>{Qi()})),Vf=o((()=>{Y()({target:`Math`,stat:!0,forced:!0},{iaddh:function(e,t,n,r){var i=e>>>0,a=t>>>0,o=n>>>0;return a+(r>>>0)+((i&o|(i|o)&~(i+o>>>0))>>>31)|0}})})),Hf=o((()=>{Y()({target:`Math`,stat:!0,forced:!0},{imulh:function(e,t){var n=65535,r=+e,i=+t,a=r&n,o=i&n,s=r>>16,c=i>>16,l=(s*o>>>0)+(a*o>>>16);return s*c+(l>>16)+((a*c>>>0)+(l&n)>>16)}})})),Uf=o((()=>{Y()({target:`Math`,stat:!0,forced:!0},{isubh:function(e,t,n,r){var i=e>>>0,a=t>>>0,o=n>>>0;return a-(r>>>0)-((~i&o|~(i^o)&i-o>>>0)>>>31)|0}})})),Wf=o((()=>{Y()({target:`Math`,stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})})),Gf=o((()=>{var e=Y(),t=Math.PI/180;e({target:`Math`,stat:!0,forced:!0},{radians:function(e){return e*t}})})),Kf=o((()=>{Y()({target:`Math`,stat:!0,forced:!0},{scale:Rf()})})),qf=o((()=>{var e=Y(),t=G(),n=ga(),r=Dn(),i=kn(),a=de(),o=`Seeded Random`,s=o+` Generator`,c=`Math.seededPRNG() argument should have a "seed" field with a finite value.`,l=a.set,u=a.getterFor(s),d=TypeError,f=r(function(e){l(this,{type:s,seed:e%2147483647})},o,function(){var e=u(this);return i(((e.seed=(e.seed*1103515245+12345)%2147483647)&1073741823)/1073741823,!1)});e({target:`Math`,stat:!0,forced:!0},{seededPRNG:function(e){var r=t(e).seed;if(!n(r))throw new d(c);return new f(r)}})})),Jf=o((()=>{Y()({target:`Math`,stat:!0,forced:!0},{signbit:function(e){var t=+e;return t===t&&t===0?1/t==-1/0:t<0}})})),Yf=o((()=>{sa()})),Xf=o((()=>{Y()({target:`Math`,stat:!0,forced:!0},{umulh:function(e,t){var n=65535,r=+e,i=+t,a=r&n,o=i&n,s=r>>>16,c=i>>>16,l=(s*o>>>0)+(a*o>>>16);return s*c+(l>>>16)+((a*c>>>0)+(l&n)>>>16)}})})),Zf=o((()=>{var e=Y(),t=Pf(),n=da();e({target:`Number`,proto:!0,forced:!0},{clamp:function(e,r){return t(n(this),e,r)}})})),Qf=o((()=>{var e=Y(),t=_(),n=me(),r=`Invalid number representation`,i=`Invalid radix`,a=RangeError,o=SyntaxError,s=TypeError,c=parseInt,l=Math.pow,u=/^[0-9a-z]+(\.[0-9a-z]+)?$/,d=t(``.charAt),f=t(``.charCodeAt),p=t(u.exec),m=t(1.1.toString),h=t(``.slice),g=t(``.split),v=function(e,t){for(var n=0;n<e.length;n++){var r=f(e,n);if(r!==46)if(r>=48&&r<=57){if(r-48>=t)return!1}else if(r>=97&&r<=122){if(r-97+10>=t)return!1}else return!1}return!0};e({target:`Number`,stat:!0,forced:!0},{fromString:function(e,t){var f=1;if(typeof e!=`string`)throw new s(r);if(!e.length||d(e,0)===`-`&&(f=-1,e=h(e,1),!e.length))throw new o(r);var _=t===void 0?10:n(t);if(_<2||_>36)throw new a(i);if(!p(u,e)||!v(e,_))throw new o(r);var y=g(e,`.`),b=c(y[0],_);if(y.length>1&&(b+=c(y[1],_)/l(_,y[1].length)),_===10){var x=e;if(y.length>1){for(var S=y[1];S.length&&d(S,S.length-1)===`0`;)S=h(S,0,-1);x=S.length?y[0]+`.`+S:y[0]}if(m(b,_)!==x)throw new o(r)}return f*b}})})),$f=o((()=>{var e=Y(),t=ld();e({target:`Number`,stat:!0,forced:!0},{range:function(e,n,r){return new t(e,n,r,`number`,0,1)}})})),ep=o((()=>{Ja()})),tp=o(((e,t)=>{var n=de(),r=Dn(),i=kn(),a=V(),o=De(),s=B(),c=`Object Iterator`,l=n.set,u=n.getterFor(c);t.exports=r(function(e,t){var n=s(e);l(this,{type:c,mode:t,object:n,keys:o(n),index:0})},`Object`,function(){for(var e=u(this),t=e.keys;;){if(t===null||e.index>=t.length)return e.object=e.keys=null,i(void 0,!0);var n=t[e.index++],r=e.object;if(a(r,n)){switch(e.mode){case`keys`:return i(n,!1);case`values`:return i(r[n],!1)}return i([n,r[n]],!1)}}})})),np=o((()=>{var e=Y(),t=tp();e({target:`Object`,stat:!0,forced:!0},{iterateEntries:function(e){return new t(e,`entries`)}})})),rp=o((()=>{var e=Y(),t=tp();e({target:`Object`,stat:!0,forced:!0},{iterateKeys:function(e){return new t(e,`keys`)}})})),ip=o((()=>{var e=Y(),t=tp();e({target:`Object`,stat:!0,forced:!0},{iterateValues:function(e){return new t(e,`values`)}})})),ap=o((()=>{qa()})),op=o((()=>{var e=Y(),t=m(),n=f(),r=Xn(),i=N(),a=G(),o=ur(),s=C(),c=b(),l=w(),u=P(),d=q(),p=lr(),h=Ne(),g=Co(),_=H(),v=de(),y=_(`observable`),x=`Observable`,S=`Subscription`,T=`SubscriptionObserver`,E=v.getterFor,D=v.set,O=E(x),k=E(S),A=E(T),j=function(e){this.observer=a(e),this.cleanup=null,this.subscriptionObserver=null};j.prototype={type:S,clean:function(){var e=this.cleanup;if(e){this.cleanup=null;try{e()}catch(e){g(e)}}},close:function(){if(!n){var e=this.facade,t=this.subscriptionObserver;e.closed=!0,t&&(t.closed=!0)}this.observer=null},isClosed:function(){return this.observer===null}};var M=function(e,r){var a=D(this,new j(e)),o;n||(this.closed=!1);try{(o=u(e,`start`))&&t(o,e,this)}catch(e){g(e)}if(!a.isClosed()){var l=a.subscriptionObserver=new F(a);try{var d=r(l),f=d;c(d)||(a.cleanup=s(d.unsubscribe)?function(){f.unsubscribe()}:i(d))}catch(e){l.error(e);return}a.isClosed()&&a.clean()}};M.prototype=p({},{unsubscribe:function(){var e=k(this);e.isClosed()||(e.close(),e.clean())}}),n&&h(M.prototype,`closed`,{configurable:!0,get:function(){return k(this).isClosed()}});var F=function(e){D(this,{type:T,subscriptionState:e}),n||(this.closed=!1)};F.prototype=p({},{next:function(e){var n=A(this).subscriptionState;if(!n.isClosed()){var r=n.observer;try{var i=u(r,`next`);i&&t(i,r,e)}catch(e){g(e)}}},error:function(e){var n=A(this).subscriptionState;if(!n.isClosed()){var r=n.observer;n.close();try{var i=u(r,`error`);i?t(i,r,e):g(e)}catch(e){g(e)}n.clean()}},complete:function(){var e=A(this).subscriptionState;if(!e.isClosed()){var n=e.observer;e.close();try{var r=u(n,`complete`);r&&t(r,n)}catch(e){g(e)}e.clean()}}}),n&&h(F.prototype,`closed`,{configurable:!0,get:function(){return A(this).subscriptionState.isClosed()}});var I=function(e){o(this,L),D(this,{type:x,subscriber:i(e)})},L=I.prototype;p(L,{subscribe:function(e){var t=arguments.length;return new M(s(e)?{next:e,error:t>1?arguments[1]:void 0,complete:t>2?arguments[2]:void 0}:l(e)?e:{},O(this).subscriber)}}),d(L,y,function(){return this}),e({global:!0,constructor:!0,forced:!0},{Observable:I}),r(x)})),sp=o((()=>{var e=Y(),t=T(),n=m(),r=G(),i=He(),a=Vt(),o=Bt(),s=P(),c=Ut(),l=H()(`observable`);e({target:`Observable`,stat:!0,forced:!0},{from:function(e){var u=i(this)?this:t(`Observable`),d=s(r(e),l);if(d){var f=r(n(d,e));return f.constructor===u?f:new u(function(e){return f.subscribe(e)})}var p=o(e);return p||a(e),new u(function(t){c(a(e,p),function(e,n){if(t.next(e),t.closed)return n()},{IS_ITERATOR:!0,INTERRUPTED:!0}),t.complete()})}})})),cp=o((()=>{var e=Y(),t=T(),n=He(),r=t(`Array`);e({target:`Observable`,stat:!0,forced:!0},{of:function(){for(var e=n(this)?this:t(`Observable`),i=arguments.length,a=r(i),o=0;o<i;)a[o]=arguments[o++];return new e(function(e){for(var t=0;t<i;t++)if(e.next(a[t]),e.closed)return;e.complete()})}})})),lp=o((()=>{op(),sp(),cp()})),up=o((()=>{Lo()})),dp=o((()=>{Ro()})),fp=o((()=>{Bo()})),pp=o((()=>{Vo()})),mp=o(((e,t)=>{Li(),ou();var n=T(),r=_(),i=z(),a=n(`Map`),o=n(`WeakMap`),s=r([].push),c=i(`metadata`),l=c.store||=new o,u=function(e,t,n){var r=l.get(e);if(!r){if(!n)return;l.set(e,r=new a)}var i=r.get(t);if(!i){if(!n)return;r.set(t,i=new a)}return i};t.exports={store:l,getMap:u,has:function(e,t,n){var r=u(t,n,!1);return r===void 0?!1:r.has(e)},get:function(e,t,n){var r=u(t,n,!1);return r===void 0?void 0:r.get(e)},set:function(e,t,n,r){u(n,r,!0).set(e,t)},keys:function(e,t){var n=u(e,t,!1),r=[];return n&&n.forEach(function(e,t){s(r,t)}),r},toKey:function(e){return e===void 0||typeof e==`symbol`?e:String(e)}}})),hp=o((()=>{var e=Y(),t=mp(),n=G(),r=t.toKey,i=t.set;e({target:`Reflect`,stat:!0},{defineMetadata:function(e,t,a){var o=arguments.length<4?void 0:r(arguments[3]);i(e,t,n(a),o)}})})),gp=o((()=>{var e=Y(),t=mp(),n=G(),r=t.toKey,i=t.getMap,a=t.store;e({target:`Reflect`,stat:!0},{deleteMetadata:function(e,t){var o=arguments.length<3?void 0:r(arguments[2]),s=i(n(t),o,!1);if(s===void 0||!s.delete(e))return!1;if(s.size)return!0;var c=a.get(t);return c.delete(o),!!c.size||a.delete(t)}})})),_p=o((()=>{var e=Y(),t=mp(),n=G(),r=Lt(),i=t.has,a=t.get,o=t.toKey,s=function(e,t,n){if(i(e,t,n))return a(e,t,n);var o=r(t);return o===null?void 0:s(e,o,n)};e({target:`Reflect`,stat:!0},{getMetadata:function(e,t){var r=arguments.length<3?void 0:o(arguments[2]);return s(e,n(t),r)}})})),vp=o((()=>{var e=Y(),t=_(),n=mp(),r=G(),i=Lt(),a=t(Fu()),o=t([].concat),s=n.keys,c=n.toKey,l=function(e,t){var n=s(e,t),r=i(e);if(r===null)return n;var c=l(r,t);return c.length?n.length?a(o(n,c)):c:n};e({target:`Reflect`,stat:!0},{getMetadataKeys:function(e){var t=arguments.length<2?void 0:c(arguments[1]);return l(r(e),t)}})})),yp=o((()=>{var e=Y(),t=mp(),n=G(),r=t.get,i=t.toKey;e({target:`Reflect`,stat:!0},{getOwnMetadata:function(e,t){var a=arguments.length<3?void 0:i(arguments[2]);return r(e,n(t),a)}})})),bp=o((()=>{var e=Y(),t=mp(),n=G(),r=t.keys,i=t.toKey;e({target:`Reflect`,stat:!0},{getOwnMetadataKeys:function(e){var t=arguments.length<2?void 0:i(arguments[1]);return r(n(e),t)}})})),xp=o((()=>{var e=Y(),t=mp(),n=G(),r=Lt(),i=t.has,a=t.toKey,o=function(e,t,n){if(i(e,t,n))return!0;var a=r(t);return a===null?!1:o(e,a,n)};e({target:`Reflect`,stat:!0},{hasMetadata:function(e,t){var r=arguments.length<3?void 0:a(arguments[2]);return o(e,n(t),r)}})})),Sp=o((()=>{var e=Y(),t=mp(),n=G(),r=t.has,i=t.toKey;e({target:`Reflect`,stat:!0},{hasOwnMetadata:function(e,t){var a=arguments.length<3?void 0:i(arguments[2]);return r(e,n(t),a)}})})),Cp=o((()=>{var e=Y(),t=mp(),n=G(),r=t.toKey,i=t.set;e({target:`Reflect`,stat:!0},{metadata:function(e,t){return function(a,o){i(e,t,n(a),r(o))}}})})),wp=o((()=>{xs()})),Tp=o((()=>{var e=Y(),t=Ms(),n=js().add;e({target:`Set`,proto:!0,real:!0,forced:!0},{addAll:function(){for(var e=t(this),r=0,i=arguments.length;r<i;r++)n(e,arguments[r]);return e}})})),Ep=o((()=>{var e=Y(),t=Ms(),n=js().remove;e({target:`Set`,proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e=t(this),r=!0,i,a=0,o=arguments.length;a<o;a++)i=n(e,arguments[a]),r&&=i;return!!r}})})),Dp=o((()=>{Bs()})),Op=o(((e,t)=>{var n=Ee(),r=V(),i=b(),a=H(),o=Rt(),s=a(`iterator`),c=Object;t.exports=function(e){if(i(e))return!1;var t=c(e);return t[s]!==void 0||`@@iterator`in t||r(o,n(t))}})),kp=o(((e,t)=>{var n=T(),r=C(),i=Op(),a=w(),o=n(`Set`),s=function(e){return a(e)&&typeof e.size==`number`&&r(e.has)&&r(e.keys)};t.exports=function(e){return s(e)?e:i(e)?new o(e):e}})),Ap=o((()=>{var e=Y(),t=m(),n=kp(),r=Rs();e({target:`Set`,proto:!0,real:!0,forced:!0},{difference:function(e){return t(r,this,n(e))}})})),jp=o((()=>{var e=Y(),t=Be(),n=Ms(),r=Ps();e({target:`Set`,proto:!0,real:!0,forced:!0},{every:function(e){var i=n(this),a=t(e,arguments.length>1?arguments[1]:void 0);return r(i,function(e){if(!a(e,e,i))return!1},!0)!==!1}})})),Mp=o((()=>{var e=Y(),t=Be(),n=Ms(),r=js(),i=Ps(),a=r.Set,o=r.add;e({target:`Set`,proto:!0,real:!0,forced:!0},{filter:function(e){var r=n(this),s=t(e,arguments.length>1?arguments[1]:void 0),c=new a;return i(r,function(e){s(e,e,r)&&o(c,e)}),c}})})),Np=o((()=>{var e=Y(),t=Be(),n=Ms(),r=Ps();e({target:`Set`,proto:!0,real:!0,forced:!0},{find:function(e){var i=n(this),a=t(e,arguments.length>1?arguments[1]:void 0),o=r(i,function(e){if(a(e,e,i))return{value:e}},!0);return o&&o.value}})})),Pp=o((()=>{var e=Y(),t=js();e({target:`Set`,stat:!0,forced:!0},{from:pf()(t.Set,t.add,!1)})})),Fp=o((()=>{Hs()})),Ip=o((()=>{var e=Y(),t=m(),n=kp(),r=Vs();e({target:`Set`,proto:!0,real:!0,forced:!0},{intersection:function(e){return t(r,this,n(e))}})})),Lp=o((()=>{Ws()})),Rp=o((()=>{var e=Y(),t=m(),n=kp(),r=Us();e({target:`Set`,proto:!0,real:!0,forced:!0},{isDisjointFrom:function(e){return t(r,this,n(e))}})})),zp=o((()=>{Ks()})),Bp=o((()=>{var e=Y(),t=m(),n=kp(),r=Gs();e({target:`Set`,proto:!0,real:!0,forced:!0},{isSubsetOf:function(e){return t(r,this,n(e))}})})),Vp=o((()=>{Js()})),Hp=o((()=>{var e=Y(),t=m(),n=kp(),r=qs();e({target:`Set`,proto:!0,real:!0,forced:!0},{isSupersetOf:function(e){return t(r,this,n(e))}})})),Up=o((()=>{var e=Y(),t=_(),n=Ms(),r=Ps(),i=X(),a=t([].join),o=t([].push);e({target:`Set`,proto:!0,real:!0,forced:!0},{join:function(e){var t=n(this),s=e===void 0?`,`:i(e),c=[];return r(t,function(e){o(c,e)}),a(c,s)}})})),Wp=o((()=>{var e=Y(),t=Be(),n=Ms(),r=js(),i=Ps(),a=r.Set,o=r.add;e({target:`Set`,proto:!0,real:!0,forced:!0},{map:function(e){var r=n(this),s=t(e,arguments.length>1?arguments[1]:void 0),c=new a;return i(r,function(e){o(c,s(e,e,r))}),c}})})),Gp=o((()=>{var e=Y(),t=js();e({target:`Set`,stat:!0,forced:!0},{of:Tf()(t.Set,t.add,!1)})})),Kp=o((()=>{var e=Y(),t=N(),n=Ms(),r=Ps(),i=TypeError;e({target:`Set`,proto:!0,real:!0,forced:!0},{reduce:function(e){var a=n(this),o=arguments.length<2,s=o?void 0:arguments[1];if(t(e),r(a,function(t){o?(o=!1,s=t):s=e(s,t,t,a)}),o)throw new i(`Reduce of empty set with no initial value`);return s}})})),qp=o((()=>{var e=Y(),t=Be(),n=Ms(),r=Ps();e({target:`Set`,proto:!0,real:!0,forced:!0},{some:function(e){var i=n(this),a=t(e,arguments.length>1?arguments[1]:void 0);return r(i,function(e){if(a(e,e,i))return!0},!0)===!0}})})),Jp=o((()=>{Zs()})),Yp=o((()=>{var e=Y(),t=m(),n=kp(),r=Ys();e({target:`Set`,proto:!0,real:!0,forced:!0},{symmetricDifference:function(e){return t(r,this,n(e))}})})),Xp=o((()=>{$s()})),Zp=o((()=>{var e=Y(),t=m(),n=kp(),r=Qs();e({target:`Set`,proto:!0,real:!0,forced:!0},{union:function(e){return t(r,this,n(e))}})})),Qp=o((()=>{var e=Y(),t=tc().charAt,n=x(),r=me(),i=X();e({target:`String`,proto:!0,forced:!0},{at:function(e){var a=i(n(this)),o=a.length,s=r(e),c=s>=0?s:o+s;return c<0||c>=o?void 0:t(a,c)}})})),$p=o(((e,t)=>{var n=_(),r=S(),i=X(),a=J(),o=TypeError,s=n([].push),c=n([].join);t.exports=function(e){var t=r(e),n=a(t);if(!n)return``;for(var l=arguments.length,u=[],d=0;;){var f=t[d++];if(f===void 0)throw new o(`Incorrect template`);if(s(u,i(f)),d===n)return c(u,``);d<l&&s(u,i(arguments[d]))}}})),em=o((()=>{Y()({target:`String`,stat:!0,forced:!0},{cooked:$p()})})),tm=o((()=>{var e=Y(),t=Dn(),n=kn(),r=x(),i=X(),a=de(),o=tc(),s=o.codeAt,c=o.charAt,l=`String Iterator`,u=a.set,d=a.getterFor(l),f=t(function(e){u(this,{type:l,string:e,index:0})},`String`,function(){var e=d(this),t=e.string,r=e.index,i;return r>=t.length?n(void 0,!0):(i=c(t,r),e.index+=i.length,n({codePoint:s(i,0),position:r},!1))});e({target:`String`,proto:!0,forced:!0},{codePoints:function(){return new f(i(r(this)))}})})),nm=o(((e,t)=>{var n=T(),r=_(),i=String.fromCharCode,a=n(`String`,`fromCodePoint`),o=r(``.charAt),s=r(``.charCodeAt),c=r(``.indexOf),l=r(``.slice),u=48,d=57,f=97,p=102,m=65,h=70,g=function(e,t){var n=s(e,t);return n>=u&&n<=d},v=function(e,t,n){if(n>e.length||t>=n)return-1;for(var r=0;t<n;t++){var i=y(s(e,t));if(i===-1)return-1;r=r*16+i}return r},y=function(e){return e>=u&&e<=d?e-u:e>=f&&e<=p?e-f+10:e>=m&&e<=h?e-m+10:-1};t.exports=function(e){for(var t=``,n=0,r=0,s;(r=c(e,`\\`,r))>-1;){if(t+=l(e,n,r),++r===e.length)return;var u=o(e,r++);switch(u){case`b`:t+=`\b`;break;case`t`:t+=` `;break;case`n`:t+=`
14
+ `;break;case`v`:t+=`\v`;break;case`f`:t+=`\f`;break;case`r`:t+=`\r`;break;case`\r`:r<e.length&&o(e,r)===`
15
+ `&&++r;case`
16
+ `:case`\u2028`:case`\u2029`:break;case`0`:if(g(e,r))return;t+=`\0`;break;case`x`:if(s=v(e,r,r+2),s===-1)return;r+=2,t+=i(s);break;case`u`:if(r<e.length&&o(e,r)===`{`){var d=c(e,`}`,++r);if(d===-1)return;s=v(e,r,d),r=d+1}else s=v(e,r,r+4),r+=4;if(s===-1||s>1114111)return;t+=a(s);break;default:if(g(u,0))return;t+=u}n=r}return t+l(e,n)}})),rm=o((()=>{var e=Oi(),t=Y(),n=fe(),r=_(),i=Ze(),a=G(),o=B(),s=C(),c=J(),l=K().f,u=je(),d=su(),f=$p(),p=nm(),m=fa(),h=new d.WeakMap,g=d.get,v=d.has,y=d.set,b=Array,x=TypeError,S=Object.freeze||Object,w=Object.isFrozen,T=Math.min,E=r(``.charAt),D=r(``.slice),O=r(``.split),k=r(/./.exec),A=/([\n\u2028\u2029]|\r\n?)/g,j=RegExp(`^[`+m+`]*`),M=RegExp(`[^`+m+`]`),N=`Invalid tag`,P=`Invalid opening line`,F=`Invalid closing line`,I=function(t){var n=t.raw;if(e&&!w(n))throw new x(`Raw template should be frozen`);if(v(h,n))return g(h,n);var r=L(n),i=z(r);return l(i,`raw`,{value:S(r)}),S(i),y(h,n,i),i},L=function(e){var t=o(e),n=c(t),r=b(n),i=b(n),a=0,s,l,u,d;if(!n)throw new x(N);for(;a<n;a++){var f=t[a];if(typeof f==`string`)r[a]=O(f,A);else throw new x(N)}for(a=0;a<n;a++){var p=a+1===n;if(s=r[a],a===0){if(s.length===1||s[0].length>0)throw new x(P);s[1]=``}if(p){if(s.length===1||k(M,s[s.length-1]))throw new x(F);s[s.length-2]=``,s[s.length-1]=``}for(var m=2;m<s.length;m+=2){var h=s[m],g=m+1===s.length&&!p,_=k(j,h)[0];if(!g&&_.length===h.length){s[m]=``;continue}l=R(_,l)}}var v=l?l.length:0;for(a=0;a<n;a++){for(s=r[a],u=s[0],d=1;d<s.length;d+=2)u+=s[d]+D(s[d+1],v);i[a]=u}return i},R=function(e,t){if(t===void 0||e===t)return e;for(var n=0,r=T(e.length,t.length);n<r&&E(e,n)===E(t,n);n++);return D(e,0,n)},z=function(e){for(var t=0,n=e.length,r=b(n);t<n;t++)r[t]=p(e[t]);return r},V=function(e){return n(function(t){var n=u(arguments);return n[0]=I(a(t)),i(e,this,n)},``)},ee=V(f);t({target:`String`,stat:!0,forced:!0},{dedent:function(e){return a(e),s(e)?V(e):i(ee,this,arguments)}})})),im=o((()=>{cc()})),am=o((()=>{mc()})),om=o((()=>{Sc()})),sm=o((()=>{Dc()})),cm=o((()=>{at()})),lm=o((()=>{Ie()(`customMatcher`)})),um=o((()=>{st()})),dm=o(((e,t)=>{var n=T(),r=_(),i=n(`Symbol`),a=i.keyFor,o=r(i.prototype.valueOf);t.exports=i.isRegisteredSymbol||function(e){try{return a(o(e))!==void 0}catch{return!1}}})),fm=o((()=>{Y()({target:`Symbol`,stat:!0},{isRegisteredSymbol:dm()})})),pm=o((()=>{Y()({target:`Symbol`,stat:!0,name:`isRegisteredSymbol`},{isRegistered:dm()})})),mm=o(((e,t)=>{for(var n=z(),r=T(),i=_(),a=j(),o=H(),s=r(`Symbol`),c=s.isWellKnownSymbol,l=r(`Object`,`getOwnPropertyNames`),u=i(s.prototype.valueOf),d=n(`wks`),f=0,p=l(s),m=p.length;f<m;f++)try{var h=p[f];a(s[h])&&o(h)}catch{}t.exports=function(e){if(c&&c(e))return!0;try{for(var t=u(e),n=0,r=l(d),i=r.length;n<i;n++)if(d[r[n]]==t)return!0}catch{}return!1}})),hm=o((()=>{Y()({target:`Symbol`,stat:!0,forced:!0},{isWellKnownSymbol:mm()})})),gm=o((()=>{Y()({target:`Symbol`,stat:!0,name:`isWellKnownSymbol`,forced:!0},{isWellKnown:mm()})})),_m=o((()=>{Ie()(`matcher`)})),vm=o((()=>{Ie()(`metadata`)})),ym=o((()=>{Ie()(`metadataKey`)})),bm=o((()=>{Ie()(`observable`)})),xm=o((()=>{Ie()(`patternMatch`)})),Sm=o((()=>{Ie()(`replaceAll`)})),Cm=o((()=>{var e=T(),t=po(),n=qo(),r=Z(),i=er(),a=r.aTypedArrayConstructor,o=r.exportTypedArrayStaticMethod;o(`fromAsync`,function(r){var o=this,s=arguments.length,c=s>1?arguments[1]:void 0,l=s>2?arguments[2]:void 0;return new(e(`Promise`))(function(e){t(o),e(n(r,c,l))}).then(function(e){return i(a(o),e)})},!0)})),wm=o((()=>{pl()})),Tm=o((()=>{var e=Z(),t=Ke().filterReject,n=_l(),r=e.aTypedArray,i=e.exportTypedArrayMethod;i(`filterOut`,function(e){var i=t(r(this),e,arguments.length>1?arguments[1]:void 0);return n(this,i)},!0)})),Em=o((()=>{var e=Z(),t=Ke().filterReject,n=_l(),r=e.aTypedArray,i=e.exportTypedArrayMethod;i(`filterReject`,function(e){var i=t(r(this),e,arguments.length>1?arguments[1]:void 0);return n(this,i)},!0)})),Dm=o((()=>{xl()})),Om=o((()=>{Sl()})),km=o((()=>{var e=Z(),t=Su(),n=e.aTypedArray,r=e.getTypedArrayConstructor,i=e.exportTypedArrayMethod;i(`groupBy`,function(e){var i=arguments.length>1?arguments[1]:void 0;return t(n(this),e,i,r)},!0)})),Am=o((()=>{Vl()})),jm=o((()=>{Hl()})),Mm=o((()=>{var e=Z(),t=J(),n=el(),r=he(),i=tl(),a=me(),o=e.aTypedArray,s=e.getTypedArrayConstructor,c=e.exportTypedArrayMethod,l=Math.max,u=Math.min;c(`toSpliced`,function(e,c){var d=o(this),f=s(d),p=t(d),m=r(e,p),h=arguments.length,g=0,_,v,y,b,x,S,C;if(h===0)_=v=0;else if(h===1)_=0,v=p-m;else if(v=u(l(a(c),0),p-m),_=h-2,_){b=new f(_),y=n(b);for(var w=2;w<h;w++)x=arguments[w],b[w-2]=y?i(x):+x}for(S=p+_-v,C=new f(S);g<m;g++)C[g]=d[g];for(;g<m+_;g++)C[g]=b[g-m];for(;g<S;g++)C[g]=d[g+v-_];return C},!0)})),Nm=o((()=>{var e=_(),t=Z(),n=er(),r=Fu(),i=t.aTypedArray,a=t.getTypedArrayConstructor,o=t.exportTypedArrayMethod,s=e(r);o(`uniqueBy`,function(e){return i(this),n(a(this),s(this,e))},!0)})),Pm=o((()=>{Wl()})),Fm=o((()=>{Yl()})),Im=o((()=>{Zl()})),Lm=o((()=>{$l()})),Rm=o((()=>{eu()})),zm=o((()=>{tu()})),Bm=o((()=>{nu()})),Vm=o((()=>{var e=Y(),t=lu(),n=su().remove;e({target:`WeakMap`,proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e=t(this),r=!0,i,a=0,o=arguments.length;a<o;a++)i=n(e,arguments[a]),r&&=i;return!!r}})})),Hm=o((()=>{var e=Y(),t=su();e({target:`WeakMap`,stat:!0,forced:!0},{from:pf()(t.WeakMap,t.set,!0)})})),Um=o((()=>{var e=Y(),t=su();e({target:`WeakMap`,stat:!0,forced:!0},{of:Tf()(t.WeakMap,t.set,!0)})})),Wm=o((()=>{var e=Y(),t=lu(),n=su(),r=n.get,i=n.has,a=n.set;e({target:`WeakMap`,proto:!0,real:!0,forced:!0},{emplace:function(e,n){var o=t(this),s,c;return i(o,e)?(s=r(o,e),`update`in n&&(s=n.update(s,e,o),a(o,e,s)),s):(c=n.insert(e,o),a(o,e,c),c)}})})),Gm=o((()=>{cu()})),Km=o((()=>{du()})),qm=o((()=>{Y()({target:`WeakMap`,proto:!0,real:!0,forced:!0},{upsert:Af()})})),Jm=o(((e,t)=>{var n=_(),r=WeakSet.prototype;t.exports={WeakSet,add:n(r.add),has:n(r.has),remove:n(r.delete)}})),Ym=o(((e,t)=>{var n=Jm().has;t.exports=function(e){return n(e),e}})),Xm=o((()=>{var e=Y(),t=Ym(),n=Jm().add;e({target:`WeakSet`,proto:!0,real:!0,forced:!0},{addAll:function(){for(var e=t(this),r=0,i=arguments.length;r<i;r++)n(e,arguments[r]);return e}})})),Zm=o((()=>{var e=Y(),t=Ym(),n=Jm().remove;e({target:`WeakSet`,proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e=t(this),r=!0,i,a=0,o=arguments.length;a<o;a++)i=n(e,arguments[a]),r&&=i;return!!r}})})),Qm=o((()=>{var e=Y(),t=Jm();e({target:`WeakSet`,stat:!0,forced:!0},{from:pf()(t.WeakSet,t.add,!1)})})),$m=o((()=>{var e=Y(),t=Jm();e({target:`WeakSet`,stat:!0,forced:!0},{of:Tf()(t.WeakSet,t.add,!1)})})),eh=o((()=>{var e=Y(),t=u(),n=T(),r=_(),i=m(),a=d(),o=X(),s=ho(),c=Kl().c2i,l=/[^\d+/a-z]/i,f=/[\t\n\f\r ]+/g,p=/[=]{1,2}$/,h=n(`atob`),g=Array,v=String.fromCharCode,y=r(``.charAt),b=r(``.replace),x=r([].join),S=r(l.exec),C=!!h&&!a(function(){return h(`aGk=`)!==`hi`}),w=C&&a(function(){return h(` `)!==``}),E=C&&!a(function(){h(`a`)}),D=C&&!a(function(){h()}),O=C&&h.length!==1;e({global:!0,bind:!0,enumerable:!0,forced:!C||w||E||D||O},{atob:function(e){if(s(arguments.length,1),C&&!w&&!E)return i(h,t,e);var r=b(o(e),f,``),a=0,u=0,d,m,_;r.length&3||(r=b(r,p,``)),d=r.length;var T=d&3;if(T===1||S(l,r))throw new(n(`DOMException`))(`The string is not correctly encoded`,`InvalidCharacterError`);for(var D=new g((d>>2)*3+(T?T-1:0)),O=0;a<d;)m=y(r,a++),_=u&3?(_<<6)+c[m]:c[m],u++&3&&(D[O++]=v(255&_>>(-2*u&6)));return x(D,``)}})})),th=o((()=>{var e=Y(),t=u(),n=T(),r=_(),i=m(),a=d(),o=X(),s=ho(),c=Kl().i2c,l=n(`btoa`),f=Array,p=r([].join),h=r(``.charAt),g=r(``.charCodeAt),v=!!l&&!a(function(){return l(`hi`)!==`aGk=`}),y=v&&!a(function(){l()}),b=v&&a(function(){return l(null)!==`bnVsbA==`}),x=v&&l.length!==1;e({global:!0,bind:!0,enumerable:!0,forced:!v||y||b||x},{btoa:function(e){if(s(arguments.length,1),v)return i(l,t,o(e));for(var r=o(e),a=new f((r.length+2)/3<<2),u=0,d=0,m=c,_,y;h(r,d)||(m=`=`,d%1);){if(y=g(r,d+=3/4),y>255)throw new(n(`DOMException`))(`The string contains characters outside of the Latin1 range`,`InvalidCharacterError`);_=_<<8|y,a[u++]=h(m,63&_>>8-d%1*8)}return p(a,``)}})})),nh=o(((e,t)=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}})),rh=o(((e,t)=>{var n=U()(`span`).classList,r=n&&n.constructor&&n.constructor.prototype;t.exports=r===Object.prototype?void 0:r})),ih=o((()=>{var e=u(),t=nh(),n=rh(),r=_n(),i=ae(),a=function(e){if(e&&e.forEach!==r)try{i(e,`forEach`,r)}catch{e.forEach=r}};for(var o in t)t[o]&&a(e[o]&&e[o].prototype);a(n)})),ah=o((()=>{var e=u(),t=nh(),n=rh(),r=An(),i=ae(),a=Re(),o=H()(`iterator`),s=r.values,c=function(e,n){if(e){if(e[o]!==s)try{i(e,o,s)}catch{e[o]=s}if(a(e,n,!0),t[n]){for(var c in r)if(e[c]!==r[c])try{i(e,c,r[c])}catch{e[c]=r[c]}}}};for(var l in t)c(e[l]&&e[l].prototype,l);c(n,`DOMTokenList`)})),oh=o(((e,t)=>{t.exports={IndexSizeError:{s:`INDEX_SIZE_ERR`,c:1,m:1},DOMStringSizeError:{s:`DOMSTRING_SIZE_ERR`,c:2,m:0},HierarchyRequestError:{s:`HIERARCHY_REQUEST_ERR`,c:3,m:1},WrongDocumentError:{s:`WRONG_DOCUMENT_ERR`,c:4,m:1},InvalidCharacterError:{s:`INVALID_CHARACTER_ERR`,c:5,m:1},NoDataAllowedError:{s:`NO_DATA_ALLOWED_ERR`,c:6,m:0},NoModificationAllowedError:{s:`NO_MODIFICATION_ALLOWED_ERR`,c:7,m:1},NotFoundError:{s:`NOT_FOUND_ERR`,c:8,m:1},NotSupportedError:{s:`NOT_SUPPORTED_ERR`,c:9,m:1},InUseAttributeError:{s:`INUSE_ATTRIBUTE_ERR`,c:10,m:1},InvalidStateError:{s:`INVALID_STATE_ERR`,c:11,m:1},SyntaxError:{s:`SYNTAX_ERR`,c:12,m:1},InvalidModificationError:{s:`INVALID_MODIFICATION_ERR`,c:13,m:1},NamespaceError:{s:`NAMESPACE_ERR`,c:14,m:1},InvalidAccessError:{s:`INVALID_ACCESS_ERR`,c:15,m:1},ValidationError:{s:`VALIDATION_ERR`,c:16,m:0},TypeMismatchError:{s:`TYPE_MISMATCH_ERR`,c:17,m:1},SecurityError:{s:`SECURITY_ERR`,c:18,m:1},NetworkError:{s:`NETWORK_ERR`,c:19,m:1},AbortError:{s:`ABORT_ERR`,c:20,m:1},URLMismatchError:{s:`URL_MISMATCH_ERR`,c:21,m:1},QuotaExceededError:{s:`QUOTA_EXCEEDED_ERR`,c:22,m:1},TimeoutError:{s:`TIMEOUT_ERR`,c:23,m:1},InvalidNodeTypeError:{s:`INVALID_NODE_TYPE_ERR`,c:24,m:1},DataCloneError:{s:`DATA_CLONE_ERR`,c:25,m:1}}})),sh=o((()=>{var e=Y(),t=T(),n=jr(),r=d(),i=Ae(),a=g(),o=K().f,s=q(),c=Ne(),l=V(),u=ur(),p=G(),m=Pt(),h=Et(),_=oh(),v=Ot(),y=de(),b=f(),x=I(),S=`DOMException`,C=`DATA_CLONE_ERR`,w=t(`Error`),E=t(S)||(function(){try{new((t(`MessageChannel`))||(n(`worker_threads`)).MessageChannel)().port1.postMessage(new WeakMap)}catch(e){if(e.name===C&&e.code===25)return e.constructor}})(),D=E&&E.prototype,O=w.prototype,k=y.set,A=y.getterFor(S),j=`stack`in new w(S),M=function(e){return l(_,e)&&_[e].m?_[e].c:0},N=function(){u(this,P);var e=arguments.length,t=h(e<1?void 0:arguments[0]),n=h(e<2?void 0:arguments[1],`Error`),r=M(n);if(k(this,{type:S,name:n,message:t,code:r}),b||(this.name=n,this.message=t,this.code=r),j){var i=new w(t);i.name=S,o(this,`stack`,a(1,v(i.stack,1)))}},P=N.prototype=i(O),F=function(e){return{enumerable:!0,configurable:!0,get:e}},L=function(e){return F(function(){return A(this)[e]})};b&&(c(P,`code`,L(`code`)),c(P,`message`,L(`message`)),c(P,`name`,L(`name`))),o(P,`constructor`,a(1,N));var R=r(function(){return!(new E instanceof w)}),z=R||r(function(){return O.toString!==m||String(new E(1,2))!==`2: 1`}),B=R||r(function(){return new E(1,`DataCloneError`).code!==25}),ee=R||E[C]!==25||D[C]!==25,H=x?z||B||ee:R;e({global:!0,constructor:!0,forced:H},{DOMException:H?N:E});var te=t(S),ne=te.prototype;for(var U in z&&(x||E===te)&&s(ne,`toString`,m),B&&b&&E===te&&c(ne,`code`,F(function(){return M(p(this).name)})),_)if(l(_,U)){var re=_[U],W=re.s,ie=a(6,re.c);l(te,W)||o(te,W,ie),l(ne,W)||o(ne,W,ie)}})),ch=o((()=>{var e=Y(),t=u(),n=T(),r=g(),i=K().f,a=V(),o=ur(),s=Tt(),c=Et(),l=oh(),d=Ot(),p=f(),m=I(),h=`DOMException`,_=n(`Error`),v=n(h),y=function(){o(this,b);var e=arguments.length,t=c(e<1?void 0:arguments[0]),n=new v(t,c(e<2?void 0:arguments[1],`Error`)),a=new _(t);return a.name=h,i(n,`stack`,r(1,d(a.stack,1))),s(n,this,y),n},b=y.prototype=v.prototype,x=`stack`in new _(h),S=`stack`in new v(1,2),C=v&&p&&Object.getOwnPropertyDescriptor(t,h),w=!!C&&!(C.writable&&C.configurable),E=x&&!w&&!S;e({global:!0,constructor:!0,forced:m||E},{DOMException:E?y:v});var D=n(h),O=D.prototype;if(O.constructor!==D){for(var k in m||i(O,`constructor`,r(1,D)),l)if(a(l,k)){var A=l[k],j=A.s;a(D,j)||i(D,j,r(6,A.c))}}})),lh=o((()=>{var e=T(),t=Re(),n=`DOMException`;t(e(n),n)})),uh=o((()=>{var e=Y(),t=u(),n=_o().clear;e({global:!0,bind:!0,enumerable:!0,forced:t.clearImmediate!==n},{clearImmediate:n})})),dh=o(((e,t)=>{var n=u(),r=Ze(),i=C(),a=Rn(),o=D(),s=je(),c=ho(),l=n.Function,d=/MSIE .\./.test(o)||a===`BUN`&&(function(){var e=n.Bun.version.split(`.`);return e.length<3||e[0]===`0`&&(e[1]<3||e[1]===`3`&&e[2]===`0`)})();t.exports=function(e,t){var n=t?2:1;return d?function(a,o){var u=c(arguments.length,1)>n,d=i(a)?a:l(a),f=u?s(arguments,n):[],p=u?function(){r(d,this,f)}:d;return t?e(p,o):e(p)}:e}})),fh=o((()=>{var e=Y(),t=u(),n=_o().set,r=dh(),i=t.setImmediate?r(n,!1):n;e({global:!0,bind:!0,enumerable:!0,forced:t.setImmediate!==i},{setImmediate:i})})),ph=o((()=>{uh(),fh()})),mh=o((()=>{var e=Y(),t=u(),n=So(),r=N(),i=ho(),a=d(),o=f();e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:a(function(){return o&&Object.getOwnPropertyDescriptor(t,`queueMicrotask`).value.length!==1})},{queueMicrotask:function(e){i(arguments.length,1),n(r(e))}})})),hh=o((()=>{var e=Y(),t=u(),n=Ne(),r=f(),i=TypeError,a=Object.defineProperty,o=t.self!==t;try{if(r){var s=Object.getOwnPropertyDescriptor(t,`self`);(o||!s||!s.get||!s.enumerable)&&n(t,`self`,{get:function(){return t},set:function(e){if(this!==t)throw new i(`Illegal invocation`);a(t,`self`,{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else e({global:!0,simple:!0,forced:o},{self:t})}catch{}})),gh=o((()=>{var e=I(),t=Y(),n=u(),r=T(),i=_(),a=d(),o=ee(),s=C(),c=He(),l=b(),f=w(),p=j(),m=Ut(),h=G(),g=Ee(),v=V(),y=Ge(),x=ae(),S=J(),E=ho(),D=hs(),O=Ri(),k=js(),A=Ps(),M=Nr(),N=kt(),P=Mr(),F=n.Object,L=n.Array,R=n.Date,z=n.Error,B=n.TypeError,H=n.PerformanceMark,te=r(`DOMException`),ne=O.Map,U=O.has,re=O.get,W=O.set,ie=k.Set,K=k.add,oe=k.has,se=r(`Object`,`keys`),ce=i([].push),le=i((!0).valueOf),ue=i(1.1.valueOf),de=i(``.valueOf),fe=i(R.prototype.getTime),q=o(`structuredClone`),pe=`DataCloneError`,me=`Transferring`,he=function(e){return!a(function(){var t=new n.Set([7]),r=e(t),i=e(F(7));return r===t||!r.has(7)||!f(i)||+i!=7})&&e},ge=function(e,t){return!a(function(){var n=new t,r=e({a:n,b:n});return!(r&&r.a===r.b&&r.a instanceof t&&r.a.stack===n.stack)})},_e=function(e){return!a(function(){var t=e(new n.AggregateError([1],q,{cause:3}));return t.name!==`AggregateError`||t.errors[0]!==1||t.message!==q||t.cause!==3})},ve=n.structuredClone,ye=e||!ge(ve,z)||!ge(ve,te)||!_e(ve),be=!ve&&he(function(e){return new H(q,{detail:e}).detail}),xe=he(ve)||be,Se=function(e){throw new te(`Uncloneable type: `+e,pe)},Ce=function(e,t){throw new te((t||`Cloning`)+` of `+e+` cannot be properly polyfilled in this engine`,pe)},we=function(e,t){return xe||Ce(t),xe(e)},Te=function(){var e;try{e=new n.DataTransfer}catch{try{e=new n.ClipboardEvent(``).clipboardData}catch{}}return e&&e.items&&e.files?e:null},X=function(e,t,r){if(U(t,e))return re(t,e);var i=r||g(e),a,o,c,l,u,d;if(i===`SharedArrayBuffer`)a=xe?xe(e):e;else{var f=n.DataView;!f&&!s(e.slice)&&Ce(`ArrayBuffer`);try{if(s(e.slice)&&!e.resizable)a=e.slice(0);else for(o=e.byteLength,c=(`maxByteLength`in e)?{maxByteLength:e.maxByteLength}:void 0,a=new ArrayBuffer(o,c),l=new f(e),u=new f(a),d=0;d<o;d++)u.setUint8(d,l.getUint8(d))}catch{throw new te(`ArrayBuffer is detached`,pe)}}return W(t,e,a),a},De=function(e,t,r,i,a){var o=n[t];return f(o)||Ce(t),new o(X(e.buffer,a),r,i)},Oe=function(e,t){if(p(e)&&Se(`Symbol`),!f(e))return e;if(t){if(U(t,e))return re(t,e)}else t=new ne;var i=g(e),a,o,c,l,u,d,m,h;switch(i){case`Array`:c=L(S(e));break;case`Object`:c={};break;case`Map`:c=new ne;break;case`Set`:c=new ie;break;case`RegExp`:c=new RegExp(e.source,D(e));break;case`Error`:switch(o=e.name,o){case`AggregateError`:c=new(r(o))([]);break;case`EvalError`:case`RangeError`:case`ReferenceError`:case`SuppressedError`:case`SyntaxError`:case`TypeError`:case`URIError`:c=new(r(o));break;case`CompileError`:case`LinkError`:case`RuntimeError`:c=new(r(`WebAssembly`,o));break;default:c=new z}break;case`DOMException`:c=new te(e.message,e.name);break;case`ArrayBuffer`:case`SharedArrayBuffer`:c=X(e,t,i);break;case`DataView`:case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Int32Array`:case`Uint32Array`:case`Float16Array`:case`Float32Array`:case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:d=i===`DataView`?e.byteLength:e.length,c=De(e,i,e.byteOffset,d,t);break;case`DOMQuad`:try{c=new DOMQuad(Oe(e.p1,t),Oe(e.p2,t),Oe(e.p3,t),Oe(e.p4,t))}catch{c=we(e,i)}break;case`File`:if(xe)try{c=xe(e),g(c)!==i&&(c=void 0)}catch{}if(!c)try{c=new File([e],e.name,e)}catch{}c||Ce(i);break;case`FileList`:if(l=Te(),l){for(u=0,d=S(e);u<d;u++)l.items.add(Oe(e[u],t));c=l.files}else c=we(e,i);break;case`ImageData`:try{c=new ImageData(Oe(e.data,t),e.width,e.height,{colorSpace:e.colorSpace})}catch{c=we(e,i)}break;default:if(xe)c=xe(e);else switch(i){case`BigInt`:c=F(e.valueOf());break;case`Boolean`:c=F(le(e));break;case`Number`:c=F(ue(e));break;case`String`:c=F(de(e));break;case`Date`:c=new R(fe(e));break;case`Blob`:try{c=e.slice(0,e.size,e.type)}catch{Ce(i)}break;case`DOMPoint`:case`DOMPointReadOnly`:a=n[i];try{c=a.fromPoint?a.fromPoint(e):new a(e.x,e.y,e.z,e.w)}catch{Ce(i)}break;case`DOMRect`:case`DOMRectReadOnly`:a=n[i];try{c=a.fromRect?a.fromRect(e):new a(e.x,e.y,e.width,e.height)}catch{Ce(i)}break;case`DOMMatrix`:case`DOMMatrixReadOnly`:a=n[i];try{c=a.fromMatrix?a.fromMatrix(e):new a(e)}catch{Ce(i)}break;case`AudioData`:case`VideoFrame`:s(e.clone)||Ce(i);try{c=e.clone()}catch{Se(i)}break;case`CropTarget`:case`CryptoKey`:case`FileSystemDirectoryHandle`:case`FileSystemFileHandle`:case`FileSystemHandle`:case`GPUCompilationInfo`:case`GPUCompilationMessage`:case`ImageBitmap`:case`RTCCertificate`:case`WebAssembly.Module`:Ce(i);default:Se(i)}}switch(W(t,e,c),i){case`Array`:case`Object`:for(m=se(e),u=0,d=S(m);u<d;u++)h=m[u],y(c,h,Oe(e[h],t));break;case`Map`:e.forEach(function(e,n){W(c,Oe(n,t),Oe(e,t))});break;case`Set`:e.forEach(function(e){K(c,Oe(e,t))});break;case`Error`:x(c,`message`,Oe(e.message,t)),v(e,`cause`)&&x(c,`cause`,Oe(e.cause,t)),o===`AggregateError`?c.errors=Oe(e.errors,t):o===`SuppressedError`&&(c.error=Oe(e.error,t),c.suppressed=Oe(e.suppressed,t));case`DOMException`:N&&x(c,`stack`,Oe(e.stack,t))}return c},ke=function(e,t){if(!f(e))throw new B(`Transfer option cannot be converted to a sequence`);var r=[];m(e,function(e){ce(r,h(e))});for(var i=0,a=S(r),o=new ie,l,u,d,p,_,v;i<a;){if(l=r[i++],u=g(l),p=void 0,u===`ArrayBuffer`?oe(o,l):U(t,l))throw new te(`Duplicate transferable`,pe);if(u===`ArrayBuffer`){K(o,l);continue}if(P)p=ve(l,{transfer:[l]});else switch(u){case`ImageBitmap`:d=n.OffscreenCanvas,c(d)||Ce(u,me);try{_=new d(l.width,l.height),v=_.getContext(`bitmaprenderer`),v.transferFromImageBitmap(l),p=_.transferToImageBitmap()}catch{}break;case`AudioData`:case`VideoFrame`:(!s(l.clone)||!s(l.close))&&Ce(u,me);try{p=l.clone(),l.close()}catch{}break;case`MediaSourceHandle`:case`MessagePort`:case`MIDIAccess`:case`OffscreenCanvas`:case`ReadableStream`:case`RTCDataChannel`:case`TransformStream`:case`WebTransportReceiveStream`:case`WebTransportSendStream`:case`WritableStream`:Ce(u,me)}if(p===void 0)throw new te(`This object cannot be transferred: `+u,pe);W(t,l,p)}return o},Ae=function(e){A(e,function(e){P?ve(e,{transfer:[e]}):s(e.transfer)?e.transfer():M?M(e):Ce(`ArrayBuffer`,me)})};t({global:!0,enumerable:!0,sham:!P,forced:ye},{structuredClone:function(e){var t=E(arguments.length,1)>1&&!l(arguments[1])?h(arguments[1]):void 0,n=t?t.transfer:void 0,r,i;n!==void 0&&(r=new ne,i=ke(n,r));var a=Oe(e,r);return i&&Ae(i),a}})})),_h=o((()=>{var e=Y(),t=u(),n=dh()(t.setInterval,!0);e({global:!0,bind:!0,forced:t.setInterval!==n},{setInterval:n})})),vh=o((()=>{var e=Y(),t=u(),n=dh()(t.setTimeout,!0);e({global:!0,bind:!0,forced:t.setTimeout!==n},{setTimeout:n})})),yh=o((()=>{_h(),vh()})),bh=o(((e,t)=>{var n=d(),r=H(),i=f(),a=I(),o=r(`iterator`);t.exports=!n(function(){var e=new URL(`b?a=1&b=2&c=3`,`https://a`),t=e.searchParams,n=new URLSearchParams(`a=1&a=2&b=3`),r=``;return e.pathname=`c%20d`,t.forEach(function(e,n){t.delete(`b`),r+=n+e}),n.delete(`a`,2),n.delete(`b`,void 0),a&&(!e.toJSON||!n.has(`a`,1)||n.has(`a`,2)||!n.has(`a`,void 0)||n.has(`b`))||!t.size&&(a||!i)||!t.sort||e.href!==`https://a/c%20d?a=1&c=3`||t.get(`c`)!==`3`||String(new URLSearchParams(`?a=1`))!==`a=1`||!t[o]||new URL(`https://a@b`).username!==`a`||new URLSearchParams(new URLSearchParams(`a=b`)).get(`a`)!==`b`||new URL(`https://тест`).host!==`xn--e1aybc`||new URL(`https://a#б`).hash!==`#%D0%B1`||r!==`a1c3`||new URL(`https://x`,void 0).host!==`x`})})),xh=o(((e,t)=>{var n=_(),r=2147483647,i=36,a=1,o=26,s=38,c=700,l=72,u=128,d=`-`,f=/[^\0-\u007E]/,p=/[.\u3002\uFF0E\uFF61]/g,m=`Overflow: input needs wider integers to process`,h=i-a,g=RangeError,v=n(p.exec),y=Math.floor,b=String.fromCharCode,x=n(``.charCodeAt),S=n([].join),C=n([].push),w=n(``.replace),T=n(``.split),E=n(``.toLowerCase),D=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=x(e,n++);if(i>=55296&&i<=56319&&n<r){var a=x(e,n++);(a&64512)==56320?C(t,((i&1023)<<10)+(a&1023)+65536):(C(t,i),n--)}else C(t,i)}return t},O=function(e){return e+22+75*(e<26)},k=function(e,t,n){var r=0;for(e=n?y(e/c):e>>1,e+=y(e/t);e>h*o>>1;)e=y(e/h),r+=i;return y(r+(h+1)*e/(e+s))},A=function(e){var t=[];e=D(e);var n=e.length,s=u,c=0,f=l,p,h;for(p=0;p<e.length;p++)h=e[p],h<128&&C(t,b(h));var _=t.length,v=_;for(_&&C(t,d);v<n;){var x=r;for(p=0;p<e.length;p++)h=e[p],h>=s&&h<x&&(x=h);var w=v+1;if(x-s>y((r-c)/w))throw new g(m);for(c+=(x-s)*w,s=x,p=0;p<e.length;p++){if(h=e[p],h<s&&++c>r)throw new g(m);if(h===s){for(var T=c,E=i;;){var A=E<=f?a:E>=f+o?o:E-f;if(T<A)break;var j=T-A,M=i-A;C(t,b(O(A+j%M))),T=y(j/M),E+=i}C(t,b(O(T))),f=k(c,w,v===_),c=0,v++}}c++,s++}return S(t,``)};t.exports=function(e){var t=[],n=T(w(E(e),p,`.`),`.`),r,i;for(r=0;r<n.length;r++)i=n[r],C(t,v(f,i)?`xn--`+A(i):i);return S(t,`.`)}})),Sh=o(((e,t)=>{An(),oc();var n=Y(),r=u(),i=vo(),a=T(),o=m(),s=_(),c=f(),l=bh(),d=q(),p=Ne(),h=lr(),v=Re(),y=Dn(),b=de(),x=ur(),S=C(),E=V(),D=Be(),O=Ee(),k=G(),A=w(),j=X(),M=Ae(),N=g(),P=Vt(),F=Bt(),I=kn(),L=ho(),R=H(),z=Gn(),B=R(`iterator`),ee=`URLSearchParams`,te=ee+`Iterator`,ne=b.set,U=b.getterFor(ee),re=b.getterFor(te),W=i(`fetch`),ie=i(`Request`),K=i(`Headers`),ae=ie&&ie.prototype,oe=K&&K.prototype,se=r.TypeError,ce=r.encodeURIComponent,le=String.fromCharCode,ue=a(`String`,`fromCodePoint`),fe=parseInt,pe=s(``.charAt),me=s([].join),he=s([].push),ge=s(``.replace),J=s([].shift),_e=s([].splice),ve=s(``.split),ye=s(``.slice),be=s(/./.exec),xe=/\+/g,Se=`�`,Ce=/^[0-9a-f]+$/i,we=function(e,t){var n=ye(e,t,t+2);return be(Ce,n)?fe(n,16):NaN},Te=function(e){for(var t=0,n=128;n>0&&(e&n)!==0;n>>=1)t++;return t},De=function(e){var t=null,n=e.length;switch(n){case 1:t=e[0];break;case 2:t=(e[0]&31)<<6|e[1]&63;break;case 3:t=(e[0]&15)<<12|(e[1]&63)<<6|e[2]&63;break;case 4:t=(e[0]&7)<<18|(e[1]&63)<<12|(e[2]&63)<<6|e[3]&63;break}return t===null||t>1114111||t>=55296&&t<=57343||t<(n>3?65536:n>2?2048:n>1?128:0)?null:t},Oe=function(e){e=ge(e,xe,` `);for(var t=e.length,n=``,r=0;r<t;){var i=pe(e,r);if(i===`%`){if(pe(e,r+1)===`%`||r+3>t){n+=`%`,r++;continue}var a=we(e,r+1);if(a!==a){n+=i,r++;continue}r+=2;var o=Te(a);if(o===0)i=le(a);else{if(o===1||o>4){n+=Se,r++;continue}for(var s=[a],c=1;c<o&&(r++,!(r+3>t||pe(e,r)!==`%`));){var l=we(e,r+1);if(l!==l||l>191||l<128||c===1&&(a===224&&l<160||a===237&&l>159||a===240&&l<144||a===244&&l>143))break;he(s,l),r+=2,c++}if(s.length!==o){n+=Se;continue}var u=De(s);if(u===null){for(var d=0;d<o;d++)n+=Se;r++;continue}else i=ue(u)}}n+=i,r++}return n},ke=/[!'()~]|%20/g,je={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`},Me=function(e){return je[e]},Pe=function(e){return ge(ce(e),ke,Me)},Fe=y(function(e,t){ne(this,{type:te,target:U(e).entries,index:0,kind:t})},ee,function(){var e=re(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,I(void 0,!0);var r=t[n];switch(e.kind){case`keys`:return I(r.key,!1);case`values`:return I(r.value,!1)}return I([r.key,r.value],!1)},!0),Ie=function(e){this.entries=[],this.url=null,e!==void 0&&(A(e)?this.parseObject(e):this.parseQuery(typeof e==`string`?pe(e,0)===`?`?ye(e,1):e:j(e)))};Ie.prototype={type:ee,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t=this.entries,n=F(e),r,i,a,s,c,l,u;if(n)for(r=P(e,n),i=r.next;!(a=o(i,r)).done;){if(s=P(k(a.value)),c=s.next,(l=o(c,s)).done||(u=o(c,s)).done||!o(c,s).done)throw new se(`Expected sequence with length 2`);he(t,{key:j(l.value),value:j(u.value)})}else for(var d in e)E(e,d)&&he(t,{key:d,value:j(e[d])})},parseQuery:function(e){if(e)for(var t=this.entries,n=ve(e,`&`),r=0,i,a;r<n.length;)i=n[r++],i.length&&(a=ve(i,`=`),he(t,{key:Oe(J(a)),value:Oe(me(a,`=`))}))},serialize:function(){for(var e=this.entries,t=[],n=0,r;n<e.length;)r=e[n++],he(t,Pe(r.key)+`=`+Pe(r.value));return me(t,`&`)},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Le=function(){x(this,ze);var e=arguments.length>0?arguments[0]:void 0,t=ne(this,new Ie(e));c||(this.size=t.entries.length)},ze=Le.prototype;if(h(ze,{append:function(e,t){var n=U(this);L(arguments.length,2),he(n.entries,{key:j(e),value:j(t)}),c||this.size++,n.updateURL()},delete:function(e){for(var t=U(this),n=L(arguments.length,1),r=t.entries,i=j(e),a=n<2?void 0:arguments[1],o=a===void 0?a:j(a),s=0;s<r.length;){var l=r[s];l.key===i&&(o===void 0||l.value===o)?_e(r,s,1):s++}c||(this.size=r.length),t.updateURL()},get:function(e){var t=U(this).entries;L(arguments.length,1);for(var n=j(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){var t=U(this).entries;L(arguments.length,1);for(var n=j(e),r=[],i=0;i<t.length;i++)t[i].key===n&&he(r,t[i].value);return r},has:function(e){for(var t=U(this).entries,n=L(arguments.length,1),r=j(e),i=n<2?void 0:arguments[1],a=i===void 0?i:j(i),o=0;o<t.length;){var s=t[o++];if(s.key===r&&(a===void 0||s.value===a))return!0}return!1},set:function(e,t){var n=U(this);L(arguments.length,2);for(var r=n.entries,i=!1,a=j(e),o=j(t),s=0,l;s<r.length;s++)l=r[s],l.key===a&&(i?_e(r,s--,1):(i=!0,l.value=o));i||he(r,{key:a,value:o}),c||(this.size=r.length),n.updateURL()},sort:function(){var e=U(this);z(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t=U(this).entries,n=D(e,arguments.length>1?arguments[1]:void 0),r=0,i;r<t.length;)i=t[r++],n(i.value,i.key,this)},keys:function(){return new Fe(this,`keys`)},values:function(){return new Fe(this,`values`)},entries:function(){return new Fe(this,`entries`)}},{enumerable:!0}),d(ze,B,ze.entries,{name:`entries`}),d(ze,`toString`,function(){return U(this).serialize()},{enumerable:!0}),c&&p(ze,`size`,{get:function(){return U(this).entries.length},configurable:!0,enumerable:!0}),v(Le,ee),n({global:!0,constructor:!0,forced:!l},{URLSearchParams:Le}),!l&&S(K)){var Ve=s(oe.has),He=s(oe.set),Ue=function(e){if(A(e)){var t=e.body,n;if(O(t)===ee)return n=e.headers?new K(e.headers):new K,Ve(n,`content-type`)||He(n,`content-type`,`application/x-www-form-urlencoded;charset=UTF-8`),M(e,{body:N(0,j(t)),headers:N(0,n)})}return e};if(S(W)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return W(e,arguments.length>1?Ue(arguments[1]):{})}}),S(ie)){var We=function(e){return x(this,ae),new ie(e,arguments.length>1?Ue(arguments[1]):{})};ae.constructor=We,We.prototype=ae,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:We})}}t.exports={URLSearchParams:Le,getState:U}})),Ch=o((()=>{lc();var e=Y(),t=f(),n=bh(),r=u(),i=Be(),a=_(),o=q(),s=Ne(),c=ur(),l=V(),d=ja(),p=bn(),m=je(),h=tc().codeAt,g=xh(),v=X(),y=Re(),b=ho(),x=Sh(),S=de(),C=S.set,w=S.getterFor(`URL`),T=x.URLSearchParams,E=x.getState,D=r.URL,O=r.TypeError,k=r.encodeURIComponent,A=r.parseInt,j=Math.floor,M=Math.pow,N=a(``.charAt),P=a(/./.exec),F=a([].join),I=a(1.1.toString),L=a([].pop),R=a([].push),z=a(``.replace),B=a([].shift),ee=a(``.split),H=a(``.slice),te=a(``.toLowerCase),ne=a([].unshift),U=`Invalid authority`,re=`Invalid scheme`,W=`Invalid host`,ie=`Invalid port`,G=/[a-z]/i,K=/[\d+\-.a-z]/i,ae=/\d/,oe=/^0x/i,se=/^[0-7]+$/,ce=/^\d+$/,le=/^[\da-f]+$/i,ue=/[\0\t\n\r #%/:<>?@[\\\]^|]/,fe=/[\0\t\n\r #/:<>?@[\\\]^|]/,pe=/^[\u0000-\u0020]+/,me=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,he=/[\t\n\r]/g,ge,J=function(e){var t=ee(e,`.`),n,r;if(t[t.length-1]===``){if(t.length===1)return!1;t.length--}return n=t[t.length-1],P(ce,n)?!0:P(oe,n)?(r=H(n,2),r===``||!!P(le,r)):!1},_e=function(e){var t=ee(e,`.`),n,r,i,a,o,s,c;if(t.length&&t[t.length-1]===``&&t.length--,n=t.length,n>4)return null;for(r=[],i=0;i<n;i++){if(a=t[i],a===``)return null;if(o=10,a.length>1&&N(a,0)===`0`&&(o=P(oe,a)?16:8,a=H(a,o===8?1:2)),a===``)s=0;else{if(!P(o===10?ce:o===8?se:le,a))return null;s=A(a,o)}R(r,s)}for(i=0;i<n;i++)if(s=r[i],i===n-1){if(s>=M(256,5-n))return null}else if(s>255)return null;for(c=L(r),i=0;i<r.length;i++)c+=r[i]*M(256,3-i);return c},ve=function(e){var t=[0,0,0,0,0,0,0,0],n=0,r=null,i=0,a,o,s,c,l,u,d,f=function(){return N(e,i)};if(f()===`:`){if(N(e,1)!==`:`)return;i+=2,n++,r=n}for(;f();){if(n===8)return;if(f()===`:`){if(r!==null)return;i++,n++,r=n;continue}for(a=o=0;o<4&&P(le,f());)a=a*16+A(f(),16),i++,o++;if(f()===`.`){if(o===0||(i-=o,n>6))return;for(s=0;f();){if(c=null,s>0)if(f()===`.`&&s<4)i++;else return;if(!P(ae,f()))return;for(;P(ae,f());){if(l=A(f(),10),c===null)c=l;else if(c===0)return;else c=c*10+l;if(c>255)return;i++}t[n]=t[n]*256+c,s++,(s===2||s===4)&&n++}if(s!==4)return;break}else if(f()===`:`){if(i++,!f())return}else if(f())return;t[n++]=a}if(r!==null)for(u=n-r,n=7;n!==0&&u>0;)d=t[n],t[n--]=t[r+u-1],t[r+--u]=d;else if(n!==8)return;return t},ye=function(e){for(var t=null,n=1,r=null,i=0,a=0;a<8;a++)e[a]===0?(r===null&&(r=a),++i):(i>n&&(t=r,n=i),r=null,i=0);return i>n?r:t},be=function(e){var t,n,r,i;if(typeof e==`number`){for(t=[],n=0;n<4;n++)ne(t,e%256),e=j(e/256);return F(t,`.`)}if(typeof e==`object`){for(t=``,r=ye(e),n=0;n<8;n++)i&&e[n]===0||(i&&=!1,r===n?(t+=n?`:`:`::`,i=!0):(t+=I(e[n],16),n<7&&(t+=`:`)));return`[`+t+`]`}return e},xe={},Se=d({},xe,{" ":1,'"':1,"#":1,"<":1,">":1}),Ce=d({},Se,{"'":1}),we=d({},xe,{" ":1,'"':1,"<":1,">":1,"`":1}),Te=d({},we,{"#":1,"?":1,"{":1,"}":1,"^":1}),Ee=d({},Te,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),De=function(e,t){var n=h(e,0);return n>=32&&n<127&&!l(t,e)?e:e===`'`&&l(t,e)?`%27`:k(e)},Oe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ke=function(e,t){var n;return e.length===2&&P(G,N(e,0))&&((n=N(e,1))===`:`||!t&&n===`|`)},Ae=function(e){var t;return e.length>1&&ke(H(e,0,2))&&(e.length===2||(t=N(e,2))===`/`||t===`\\`||t===`?`||t===`#`)},Me=function(e){return e===`.`||te(e)===`%2e`},Pe=function(e){return e=te(e),e===`..`||e===`%2e.`||e===`.%2e`||e===`%2e%2e`},Fe={},Ie={},Le={},ze={},Ve={},He={},Ue={},We={},Ge={},Ke={},qe={},Je={},Ye={},Xe={},Ze={},Qe={},$e={},et={},tt={},nt={},rt={},it=function(e,t,n){var r=v(e),i,a,o;if(t){if(a=this.parse(r),a)throw new O(a);this.searchParams=null}else{if(n!==void 0&&(i=new it(n,!0)),a=this.parse(r,null,i),a)throw new O(a);o=E(new T),o.bindURL(this),this.searchParams=o}};it.prototype={type:`URL`,parse:function(e,t,n){var r=this,i=t||Fe,a=0,o=``,s=!1,c=!1,u=!1,d,f,h,g;for(e=v(e),t||(r.scheme=``,r.username=``,r.password=``,r.host=null,r.port=null,r.path=[],r.query=null,r.fragment=null,r.cannotBeABaseURL=!1,e=z(e,pe,``),e=z(e,me,`$1`)),e=z(e,he,``),d=p(e);a<=d.length;){switch(f=d[a],i){case Fe:if(f&&P(G,f))o+=te(f),i=Ie;else if(t)return re;else{i=Le;continue}break;case Ie:if(f&&P(K,f))o+=te(f);else if(f===`:`){if(t&&(r.isSpecial()!==l(Oe,o)||o===`file`&&(r.includesCredentials()||r.port!==null)||r.scheme===`file`&&r.host===``))return;if(r.scheme=o,t){r.isSpecial()&&Oe[r.scheme]===r.port&&(r.port=null);return}o=``,r.scheme===`file`?i=Xe:r.isSpecial()&&n&&n.scheme===r.scheme?i=ze:r.isSpecial()?i=We:d[a+1]===`/`?(i=Ve,a++):(r.cannotBeABaseURL=!0,R(r.path,``),i=tt)}else if(t)return re;else{o=``,i=Le,a=0;continue}break;case Le:if(!n||n.cannotBeABaseURL&&f!==`#`)return re;if(n.cannotBeABaseURL&&f===`#`){r.scheme=n.scheme,r.path=m(n.path),r.query=n.query,r.fragment=``,r.cannotBeABaseURL=!0,i=rt;break}i=n.scheme===`file`?Xe:He;continue;case ze:if(f===`/`&&d[a+1]===`/`)i=Ge,a++;else{i=He;continue}break;case Ve:if(f===`/`){i=Ke;break}else{i=et;continue}case He:if(r.scheme=n.scheme,f===ge)r.username=n.username,r.password=n.password,r.host=n.host,r.port=n.port,r.path=m(n.path),r.query=n.query;else if(f===`/`||f===`\\`&&r.isSpecial())i=Ue;else if(f===`?`)r.username=n.username,r.password=n.password,r.host=n.host,r.port=n.port,r.path=m(n.path),r.query=``,i=nt;else if(f===`#`)r.username=n.username,r.password=n.password,r.host=n.host,r.port=n.port,r.path=m(n.path),r.query=n.query,r.fragment=``,i=rt;else{r.username=n.username,r.password=n.password,r.host=n.host,r.port=n.port,r.path=m(n.path),r.path.length&&r.path.length--,i=et;continue}break;case Ue:if(r.isSpecial()&&(f===`/`||f===`\\`))i=Ge;else if(f===`/`)i=Ke;else{r.username=n.username,r.password=n.password,r.host=n.host,r.port=n.port,i=et;continue}break;case We:if(i=Ge,f!==`/`||d[a+1]!==`/`)continue;a++;break;case Ge:if(f!==`/`&&f!==`\\`){i=Ke;continue}break;case Ke:if(f===`@`){s&&(o=`%40`+o),s=!0,h=p(o);for(var _=0;_<h.length;_++){var y=h[_];if(y===`:`&&!u){u=!0;continue}var b=De(y,Ee);u?r.password+=b:r.username+=b}o=``}else if(f===ge||f===`/`||f===`?`||f===`#`||f===`\\`&&r.isSpecial()){if(s&&o===``)return U;a-=p(o).length+1,o=``,i=qe}else o+=f;break;case qe:case Je:if(t&&r.scheme===`file`){i=Qe;continue}else if(f===`:`&&!c){if(o===``)return W;if(t===Je)return;if(g=r.parseHost(o),g)return g;o=``,i=Ye}else if(f===ge||f===`/`||f===`?`||f===`#`||f===`\\`&&r.isSpecial()){if(r.isSpecial()&&o===``)return W;if(t&&o===``&&(r.includesCredentials()||r.port!==null))return;if(g=r.parseHost(o),g)return g;if(o=``,i=$e,t)return;continue}else f===`[`?c=!0:f===`]`&&(c=!1),o+=f;break;case Ye:if(P(ae,f))o+=f;else if(f===ge||f===`/`||f===`?`||f===`#`||f===`\\`&&r.isSpecial()||t){if(o!==``){var x=A(o,10);if(x>65535)return ie;r.port=r.isSpecial()&&x===Oe[r.scheme]?null:x,o=``}if(t)return;i=$e;continue}else return ie;break;case Xe:if(r.scheme=`file`,r.host=``,f===`/`||f===`\\`)i=Ze;else if(n&&n.scheme===`file`)switch(f){case ge:r.host=n.host,r.path=m(n.path),r.query=n.query;break;case`?`:r.host=n.host,r.path=m(n.path),r.query=``,i=nt;break;case`#`:r.host=n.host,r.path=m(n.path),r.query=n.query,r.fragment=``,i=rt;break;default:r.host=n.host,Ae(F(m(d,a),``))||(r.path=m(n.path),r.shortenPath()),i=et;continue}else{i=et;continue}break;case Ze:if(f===`/`||f===`\\`){i=Qe;break}n&&n.scheme===`file`&&(r.host=n.host,!Ae(F(m(d,a),``))&&ke(n.path[0],!0)&&R(r.path,n.path[0])),i=et;continue;case Qe:if(f===ge||f===`/`||f===`\\`||f===`?`||f===`#`){if(!t&&ke(o))i=et;else if(o===``){if(r.host=``,t)return;i=$e}else{if(g=r.parseHost(o),g)return g;if(r.host===`localhost`&&(r.host=``),t)return;o=``,i=$e}continue}else o+=f;break;case $e:if(r.isSpecial()){if(i=et,f!==`/`&&f!==`\\`)continue}else if(!t&&f===`?`)r.query=``,i=nt;else if(!t&&f===`#`)r.fragment=``,i=rt;else if(f!==ge&&(i=et,f!==`/`))continue;break;case et:if(f===ge||f===`/`||f===`\\`&&r.isSpecial()||!t&&(f===`?`||f===`#`)){if(Pe(o)?(r.shortenPath(),f!==`/`&&!(f===`\\`&&r.isSpecial())&&R(r.path,``)):Me(o)?f!==`/`&&!(f===`\\`&&r.isSpecial())&&R(r.path,``):(r.scheme===`file`&&!r.path.length&&ke(o)&&(r.host!==null&&r.host!==``&&(r.host=``),o=N(o,0)+`:`),R(r.path,o)),o=``,r.scheme===`file`&&(f===ge||f===`?`||f===`#`))for(;r.path.length>1&&r.path[0]===``;)B(r.path);f===`?`?(r.query=``,i=nt):f===`#`&&(r.fragment=``,i=rt)}else o+=De(f,Te);break;case tt:f===`?`?(r.query=``,i=nt):f===`#`?(r.fragment=``,i=rt):f!==ge&&(r.path[0]+=De(f,xe));break;case nt:!t&&f===`#`?(r.fragment=``,i=rt):f!==ge&&(r.query+=De(f,r.isSpecial()?Ce:Se));break;case rt:f!==ge&&(r.fragment+=De(f,we));break}a++}},parseHost:function(e){var t,n,r;if(N(e,0)===`[`){if(N(e,e.length-1)!==`]`||(t=ve(H(e,1,-1)),!t))return W;this.host=t}else if(this.isSpecial()){if(e=g(e),P(ue,e))return W;if(J(e)){if(t=_e(e),t===null)return W;this.host=t}else this.host=e}else{if(P(fe,e))return W;for(t=``,n=p(e),r=0;r<n.length;r++)t+=De(n[r],xe);this.host=t}},cannotHaveUsernamePasswordPort:function(){return this.host===null||this.host===``||this.cannotBeABaseURL||this.scheme===`file`},includesCredentials:function(){return this.username!==``||this.password!==``},isSpecial:function(){return l(Oe,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;t&&(this.scheme!==`file`||t!==1||!ke(e[0],!0))&&e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,i=e.host,a=e.port,o=e.path,s=e.query,c=e.fragment,l=t+`:`;return i===null?t===`file`&&(l+=`//`):(l+=`//`,e.includesCredentials()&&(l+=n+(r?`:`+r:``)+`@`),l+=be(i),a!==null&&(l+=`:`+a)),i===null&&!e.cannotBeABaseURL&&o.length>1&&o[0]===``&&(l+=`/.`),l+=e.cannotBeABaseURL?o[0]:o.length?`/`+F(o,`/`):``,s!==null&&(l+=`?`+s),c!==null&&(l+=`#`+c),l},setHref:function(e){var t=this.parse(e);if(t)throw new O(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if(e===`blob`)try{return new at(this.path[0]).origin}catch{return`null`}return e===`file`||!this.isSpecial()?`null`:e+`://`+be(this.host)+(t===null?``:`:`+t)},getProtocol:function(){return this.scheme+`:`},setProtocol:function(e){this.parse(v(e)+`:`,Fe)},getUsername:function(){return this.username},setUsername:function(e){var t=p(v(e));if(!this.cannotHaveUsernamePasswordPort()){this.username=``;for(var n=0;n<t.length;n++)this.username+=De(t[n],Ee)}},getPassword:function(){return this.password},setPassword:function(e){var t=p(v(e));if(!this.cannotHaveUsernamePasswordPort()){this.password=``;for(var n=0;n<t.length;n++)this.password+=De(t[n],Ee)}},getHost:function(){var e=this.host,t=this.port;return e===null?``:t===null?be(e):be(e)+`:`+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,qe)},getHostname:function(){var e=this.host;return e===null?``:be(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Je)},getPort:function(){var e=this.port;return e===null?``:v(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(e=v(e),e===``?this.port=null:this.parse(e,Ye))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?`/`+F(e,`/`):``},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,$e))},getSearch:function(){var e=this.query;return e?`?`+e:``},setSearch:function(e){e=v(e),e===``?this.query=null:(N(e,0)===`?`&&(e=H(e,1)),this.query=``,this.parse(e,nt)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?`#`+e:``},setHash:function(e){if(e=v(e),e===``){this.fragment=null;return}N(e,0)===`#`&&(e=H(e,1)),this.fragment=``,this.parse(e,rt)},update:function(){this.query=this.searchParams.serialize()||null}};var at=function(e){var n=c(this,ot),r=C(n,new it(e,!1,b(arguments.length,1)>1?arguments[1]:void 0));t||(n.href=r.serialize(),n.origin=r.getOrigin(),n.protocol=r.getProtocol(),n.username=r.getUsername(),n.password=r.getPassword(),n.host=r.getHost(),n.hostname=r.getHostname(),n.port=r.getPort(),n.pathname=r.getPathname(),n.search=r.getSearch(),n.searchParams=r.getSearchParams(),n.hash=r.getHash())},ot=at.prototype,st=function(e,t){return{get:function(){return w(this)[e]()},set:t&&function(e){return w(this)[t](e)},configurable:!0,enumerable:!0}};if(t&&(s(ot,`href`,st(`serialize`,`setHref`)),s(ot,`origin`,st(`getOrigin`)),s(ot,`protocol`,st(`getProtocol`,`setProtocol`)),s(ot,`username`,st(`getUsername`,`setUsername`)),s(ot,`password`,st(`getPassword`,`setPassword`)),s(ot,`host`,st(`getHost`,`setHost`)),s(ot,`hostname`,st(`getHostname`,`setHostname`)),s(ot,`port`,st(`getPort`,`setPort`)),s(ot,`pathname`,st(`getPathname`,`setPathname`)),s(ot,`search`,st(`getSearch`,`setSearch`)),s(ot,`searchParams`,st(`getSearchParams`)),s(ot,`hash`,st(`getHash`,`setHash`))),o(ot,`toJSON`,function(){return w(this).serialize()},{enumerable:!0}),o(ot,`toString`,function(){return w(this).serialize()},{enumerable:!0}),D){var ct=D.createObjectURL,lt=D.revokeObjectURL;ct&&o(at,`createObjectURL`,i(ct,D)),lt&&o(at,`revokeObjectURL`,i(lt,D))}y(at,`URL`),e({global:!0,constructor:!0,forced:!n,sham:!t},{URL:at})})),wh=o((()=>{Ch()})),Th=o((()=>{var e=Y(),t=T(),n=d(),r=ho(),i=X(),a=bh(),o=t(`URL`),s=a&&n(function(){o.canParse()}),c=n(function(){return o.canParse.length!==1});e({target:`URL`,stat:!0,forced:!s||c},{canParse:function(e){var t=r(arguments.length,1),n=i(e),a=t<2||arguments[1]===void 0?void 0:i(arguments[1]);try{return!!new o(n,a)}catch{return!1}}})})),Eh=o((()=>{var e=Y(),t=T(),n=ho(),r=X(),i=bh(),a=t(`URL`);e({target:`URL`,stat:!0,forced:!i},{parse:function(e){var t=n(arguments.length,1),i=r(e),o=t<2||arguments[1]===void 0?void 0:r(arguments[1]);try{return new a(i,o)}catch{return null}}})})),Dh=o((()=>{var e=Y(),t=m();e({target:`URL`,proto:!0,enumerable:!0},{toJSON:function(){return t(URL.prototype.toString,this)}})})),Oh=o((()=>{Sh()})),kh=o((()=>{var e=q(),t=_(),n=X(),r=ho(),i=URLSearchParams,a=i.prototype,o=t(a.append),s=t(a.delete),c=t(a.forEach),l=t([].push),u=new i(`a=1&a=2&b=3`);u.delete(`a`,1),u.delete(`b`,void 0),u+``!=`a=2`&&e(a,`delete`,function(e){var t=arguments.length,i=t<2?void 0:arguments[1];if(t&&i===void 0)return s(this,e);var a=[];c(this,function(e,t){l(a,{key:t,value:e})}),r(t,1);for(var u=n(e),d=n(i),f=0,p=a.length,m;f<p;)m=a[f],s(this,m.key),f++;for(f=0;f<p;)m=a[f++],m.key===u&&m.value===d||o(this,m.key,m.value)},{enumerable:!0,unsafe:!0})})),Ah=o((()=>{var e=q(),t=_(),n=X(),r=ho(),i=URLSearchParams,a=i.prototype,o=t(a.getAll),s=t(a.has),c=new i(`a=1`);(c.has(`a`,2)||!c.has(`a`,void 0))&&e(a,`has`,function(e){var t=arguments.length,i=t<2?void 0:arguments[1];if(t&&i===void 0)return s(this,e);var a=o(this,e);r(t,1);for(var c=n(i),l=0;l<a.length;)if(a[l++]===c)return!0;return!1},{enumerable:!0,unsafe:!0})})),jh=o((()=>{var e=f(),t=_(),n=Ne(),r=URLSearchParams.prototype,i=t(r.forEach);e&&!(`size`in r)&&n(r,`size`,{get:function(){var e=0;return i(this,function(){e++}),e},configurable:!0,enumerable:!0})})),Mh=o(((e,t)=>{rt(),it(),at(),ot(),st(),ct(),lt(),ut(),dt(),ft(),pt(),mt(),ht(),gt(),_t(),vt(),yt(),Mt(),Nt(),Ft(),Gt(),Kt(),qt(),Yt(),$t(),nn(),an(),sn(),cn(),ln(),un(),fn(),pn(),hn(),gn(),vn(),Sn(),Cn(),wn(),Tn(),An(),jn(),Nn(),Pn(),Fn(),In(),Bn(),Vn(),Hn(),Un(),Wn(),Yn(),Zn(),Qn(),$n(),nr(),rr(),ir(),ar(),or(),sr(),vr(),yr(),br(),Sr(),Cr(),Er(),kr(),Fr(),Ir(),Lr(),Rr(),zr(),Br(),Wr(),Gr(),qr(),Jr(),Xr(),Zr(),$r(),ei(),ti(),ni(),ri(),oi(),si(),pi(),mi(),hi(),gi(),vi(),yi(),bi(),xi(),Si(),Ci(),wi(),Ti(),Ei(),Di(),ki(),tt(),Ai(),Li(),zi(),Bi(),Vi(),Ui(),Wi(),Gi(),Ki(),qi(),Yi(),Xi(),Zi(),Qi(),$i(),ea(),na(),ra(),ia(),aa(),oa(),sa(),ca(),la(),ua(),ma(),ha(),_a(),ya(),ba(),xa(),Sa(),Ca(),Ta(),Da(),Oa(),ka(),Aa(),Ma(),Na(),Fa(),Ia(),La(),Ra(),Ba(),Va(),Ha(),Ua(),Wa(),Ga(),Ka(),qa(),Ja(),Xa(),Za(),Qa(),$a(),eo(),to(),no(),ro(),io(),ao(),oo(),co(),lo(),uo(),fo(),Io(),Lo(),Ro(),zo(),Bo(),Vo(),Jo(),Yo(),Xo(),Zo(),Qo(),$o(),es(),ns(),rs(),is(),as(),os(),ss(),cs(),ls(),us(),ds(),ys(),xs(),Ss(),ws(),Ts(),Es(),Ds(),Os(),As(),Bs(),Hs(),Ws(),Ks(),Js(),Zs(),$s(),ec(),nc(),ac(),oc(),sc(),cc(),lc(),pc(),mc(),gc(),_c(),vc(),yc(),xc(),Sc(),Cc(),wc(),Tc(),Ec(),Dc(),kc(),Mc(),Fc(),Rc(),zc(),Bc(),Vc(),Hc(),Uc(),Wc(),Gc(),Kc(),qc(),Jc(),Yc(),Xc(),il(),al(),ol(),sl(),cl(),ll(),ul(),dl(),fl(),pl(),ml(),hl(),gl(),vl(),yl(),bl(),xl(),Sl(),Cl(),wl(),Tl(),El(),Dl(),Ol(),kl(),Al(),jl(),Ml(),Nl(),Pl(),Fl(),Il(),Ll(),Rl(),zl(),Bl(),Vl(),Hl(),Ul(),Wl(),Yl(),Zl(),$l(),eu(),tu(),nu(),ru(),ou(),cu(),du(),pu(),mu(),hu(),gu(),_u(),vu(),yu(),bu(),xu(),Cu(),wu(),Eu(),Du(),Ou(),ku(),Au(),ju(),Mu(),Nu(),Iu(),Lu(),Ru(),zu(),Bu(),Vu(),Hu(),Ku(),qu(),Ju(),Yu(),Xu(),Zu(),$u(),ed(),nd(),rd(),id(),ad(),od(),sd(),cd(),ud(),fd(),pd(),md(),hd(),gd(),_d(),vd(),yd(),xd(),Sd(),Cd(),wd(),Td(),Ed(),Dd(),kd(),Ad(),jd(),Md(),Nd(),Pd(),Fd(),Id(),Ld(),Rd(),zd(),Bd(),Vd(),Hd(),Ud(),Gd(),Kd(),qd(),Jd(),Yd(),Xd(),ef(),tf(),nf(),rf(),af(),sf(),cf(),lf(),uf(),df(),ff(),mf(),hf(),gf(),_f(),yf(),bf(),xf(),Sf(),Cf(),wf(),Ef(),Df(),Of(),kf(),jf(),Mf(),Ff(),If(),Lf(),zf(),Bf(),Vf(),Hf(),Uf(),Wf(),Gf(),Kf(),qf(),Jf(),Yf(),Xf(),Zf(),Qf(),$f(),ep(),np(),rp(),ip(),ap(),lp(),up(),dp(),fp(),pp(),hp(),gp(),_p(),vp(),yp(),bp(),xp(),Sp(),Cp(),wp(),Tp(),Ep(),Dp(),Ap(),jp(),Mp(),Np(),Pp(),Fp(),Ip(),Lp(),Rp(),zp(),Bp(),Vp(),Hp(),Up(),Wp(),Gp(),Kp(),qp(),Jp(),Yp(),Xp(),Zp(),Qp(),em(),tm(),rm(),im(),am(),om(),sm(),cm(),lm(),um(),fm(),pm(),hm(),gm(),_m(),vm(),ym(),bm(),xm(),Sm(),Cm(),wm(),Tm(),Em(),Dm(),Om(),km(),Am(),jm(),Mm(),Nm(),Pm(),Fm(),Im(),Lm(),Rm(),zm(),Bm(),Vm(),Hm(),Um(),Wm(),Gm(),Km(),qm(),Xm(),Zm(),Qm(),$m(),eh(),th(),ih(),ah(),sh(),ch(),lh(),ph(),mh(),hh(),gh(),yh(),wh(),Th(),Eh(),Dh(),Oh(),kh(),Ah(),jh(),t.exports=Fe()})),Nh=o(((e,t)=>{t.exports=Mh()})),Ph=o(((e,t)=>{var n=`2.0.0`,r=256;t.exports={MAX_LENGTH:r,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:r-6,MAX_SAFE_INTEGER:2**53-1||9007199254740991,RELEASE_TYPES:[`major`,`premajor`,`minor`,`preminor`,`patch`,`prepatch`,`prerelease`],SEMVER_SPEC_VERSION:n,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}})),Fh=o(((e,t)=>{t.exports=typeof process==`object`&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error(`SEMVER`,...e):()=>{}})),Ih=o(((e,t)=>{var{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:i}=Ph(),a=Fh();e=t.exports={};var o=e.re=[],s=e.safeRe=[],c=e.src=[],l=e.safeSrc=[],u=e.t={},d=0,f=`[a-zA-Z0-9-]`,p=[[`\\s`,1],[`\\d`,i],[f,r]],m=e=>{for(let[t,n]of p)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e},h=(e,t,n)=>{let r=m(t),i=d++;a(e,i,t),u[e]=i,c[i]=t,l[i]=r,o[i]=new RegExp(t,n?`g`:void 0),s[i]=new RegExp(r,n?`g`:void 0)};h(`NUMERICIDENTIFIER`,`0|[1-9]\\d*`),h(`NUMERICIDENTIFIERLOOSE`,`\\d+`),h(`NONNUMERICIDENTIFIER`,`\\d*[a-zA-Z-]${f}*`),h(`MAINVERSION`,`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),h(`MAINVERSIONLOOSE`,`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),h(`PRERELEASEIDENTIFIER`,`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIER]})`),h(`PRERELEASEIDENTIFIERLOOSE`,`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIERLOOSE]})`),h(`PRERELEASE`,`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),h(`PRERELEASELOOSE`,`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),h(`BUILDIDENTIFIER`,`${f}+`),h(`BUILD`,`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),h(`FULLPLAIN`,`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),h(`FULL`,`^${c[u.FULLPLAIN]}$`),h(`LOOSEPLAIN`,`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),h(`LOOSE`,`^${c[u.LOOSEPLAIN]}$`),h(`GTLT`,`((?:<|>)?=?)`),h(`XRANGEIDENTIFIERLOOSE`,`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h(`XRANGEIDENTIFIER`,`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),h(`XRANGEPLAIN`,`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),h(`XRANGEPLAINLOOSE`,`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),h(`XRANGE`,`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),h(`XRANGELOOSE`,`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),h(`COERCEPLAIN`,`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),h(`COERCE`,`${c[u.COERCEPLAIN]}(?:$|[^\\d])`),h(`COERCEFULL`,c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?(?:${c[u.BUILD]})?(?:$|[^\\d])`),h(`COERCERTL`,c[u.COERCE],!0),h(`COERCERTLFULL`,c[u.COERCEFULL],!0),h(`LONETILDE`,`(?:~>?)`),h(`TILDETRIM`,`(\\s*)${c[u.LONETILDE]}\\s+`,!0),e.tildeTrimReplace=`$1~`,h(`TILDE`,`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),h(`TILDELOOSE`,`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),h(`LONECARET`,`(?:\\^)`),h(`CARETTRIM`,`(\\s*)${c[u.LONECARET]}\\s+`,!0),e.caretTrimReplace=`$1^`,h(`CARET`,`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),h(`CARETLOOSE`,`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),h(`COMPARATORLOOSE`,`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),h(`COMPARATOR`,`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),h(`COMPARATORTRIM`,`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace=`$1$2$3`,h(`HYPHENRANGE`,`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),h(`HYPHENRANGELOOSE`,`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),h(`STAR`,`(<|>)?=?\\s*\\*`),h(`GTE0`,`^\\s*>=\\s*0\\.0\\.0\\s*$`),h(`GTE0PRE`,`^\\s*>=\\s*0\\.0\\.0-0\\s*$`)})),Lh=o(((e,t)=>{var n=Object.freeze({loose:!0}),r=Object.freeze({});t.exports=e=>e?typeof e==`object`?e:n:r})),Rh=o(((e,t)=>{var n=/^[0-9]+$/,r=(e,t)=>{if(typeof e==`number`&&typeof t==`number`)return e===t?0:e<t?-1:1;let r=n.test(e),i=n.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1};t.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}})),zh=o(((e,t)=>{var n=Fh(),{MAX_LENGTH:r,MAX_SAFE_INTEGER:i}=Ph(),{safeRe:a,t:o}=Ih(),s=Lh(),{compareIdentifiers:c}=Rh();t.exports=class e{constructor(t,c){if(c=s(c),t instanceof e){if(t.loose===!!c.loose&&t.includePrerelease===!!c.includePrerelease)return t;t=t.version}else if(typeof t!=`string`)throw TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>r)throw TypeError(`version is longer than ${r} characters`);n(`SemVer`,t,c),this.options=c,this.loose=!!c.loose,this.includePrerelease=!!c.includePrerelease;let l=t.trim().match(c.loose?a[o.LOOSE]:a[o.FULL]);if(!l)throw TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+l[1],this.minor=+l[2],this.patch=+l[3],this.major>i||this.major<0)throw TypeError(`Invalid major version`);if(this.minor>i||this.minor<0)throw TypeError(`Invalid minor version`);if(this.patch>i||this.patch<0)throw TypeError(`Invalid patch version`);l[4]?this.prerelease=l[4].split(`.`).map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<i)return t}return e}):this.prerelease=[],this.build=l[5]?l[5].split(`.`):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(`.`)}`),this.version}toString(){return this.version}compare(t){if(n(`SemVer.compare`,this.version,this.options,t),!(t instanceof e)){if(typeof t==`string`&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),this.major<t.major?-1:this.major>t.major?1:this.minor<t.minor?-1:this.minor>t.minor?1:this.patch<t.patch?-1:+(this.patch>t.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let e=this.prerelease[r],i=t.prerelease[r];if(n(`prerelease compare`,r,e,i),e===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(e===void 0)return-1;if(e===i)continue;return c(e,i)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let e=this.build[r],i=t.build[r];if(n(`build compare`,r,e,i),e===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(e===void 0)return-1;if(e===i)continue;return c(e,i)}while(++r)}inc(e,t,n){if(e.startsWith(`pre`)){if(!t&&n===!1)throw Error(`invalid increment argument: identifier is empty`);if(t){let e=`-${t}`.match(this.options.loose?a[o.PRERELEASELOOSE]:a[o.PRERELEASE]);if(!e||e[1]!==t)throw Error(`invalid identifier: ${t}`)}}switch(e){case`premajor`:this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(`pre`,t,n);break;case`preminor`:this.prerelease.length=0,this.patch=0,this.minor++,this.inc(`pre`,t,n);break;case`prepatch`:this.prerelease.length=0,this.inc(`patch`,t,n),this.inc(`pre`,t,n);break;case`prerelease`:this.prerelease.length===0&&this.inc(`patch`,t,n),this.inc(`pre`,t,n);break;case`release`:if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case`major`:(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case`minor`:(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case`patch`:this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case`pre`:{let e=+!!Number(n);if(this.prerelease.length===0)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)typeof this.prerelease[r]==`number`&&(this.prerelease[r]++,r=-2);if(r===-1){if(t===this.prerelease.join(`.`)&&n===!1)throw Error(`invalid increment argument: identifier already exists`);this.prerelease.push(e)}}if(t){let r=[t,e];n===!1&&(r=[t]),c(this.prerelease[0],t)===0?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(`.`)}`),this}}})),Bh=o(((e,t)=>{var n=zh();t.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}})),Vh=o(((e,t)=>{var n=Bh();t.exports=(e,t)=>{let r=n(e,t);return r?r.version:null}})),Hh=o(((e,t)=>{var n=Bh();t.exports=(e,t)=>{let r=n(e.trim().replace(/^[=v]+/,``),t);return r?r.version:null}})),Uh=o(((e,t)=>{var n=zh();t.exports=(e,t,r,i,a)=>{typeof r==`string`&&(a=i,i=r,r=void 0);try{return new n(e instanceof n?e.version:e,r).inc(t,i,a).version}catch{return null}}})),Wh=o(((e,t)=>{var n=Bh();t.exports=(e,t)=>{let r=n(e,null,!0),i=n(t,null,!0),a=r.compare(i);if(a===0)return null;let o=a>0,s=o?r:i,c=o?i:r,l=!!s.prerelease.length;if(c.prerelease.length&&!l){if(!c.patch&&!c.minor)return`major`;if(c.compareMain(s)===0)return c.minor&&!c.patch?`minor`:`patch`}let u=l?`pre`:``;return r.major===i.major?r.minor===i.minor?r.patch===i.patch?`prerelease`:u+`patch`:u+`minor`:u+`major`}})),Gh=o(((e,t)=>{var n=zh();t.exports=(e,t)=>new n(e,t).major})),Kh=o(((e,t)=>{var n=zh();t.exports=(e,t)=>new n(e,t).minor})),qh=o(((e,t)=>{var n=zh();t.exports=(e,t)=>new n(e,t).patch})),Jh=o(((e,t)=>{var n=Bh();t.exports=(e,t)=>{let r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}})),Yh=o(((e,t)=>{var n=zh();t.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))})),Xh=o(((e,t)=>{var n=Yh();t.exports=(e,t,r)=>n(t,e,r)})),Zh=o(((e,t)=>{var n=Yh();t.exports=(e,t)=>n(e,t,!0)})),Qh=o(((e,t)=>{var n=zh();t.exports=(e,t,r)=>{let i=new n(e,r),a=new n(t,r);return i.compare(a)||i.compareBuild(a)}})),$h=o(((e,t)=>{var n=Qh();t.exports=(e,t)=>e.sort((e,r)=>n(e,r,t))})),eg=o(((e,t)=>{var n=Qh();t.exports=(e,t)=>e.sort((e,r)=>n(r,e,t))})),tg=o(((e,t)=>{var n=Yh();t.exports=(e,t,r)=>n(e,t,r)>0})),ng=o(((e,t)=>{var n=Yh();t.exports=(e,t,r)=>n(e,t,r)<0})),rg=o(((e,t)=>{var n=Yh();t.exports=(e,t,r)=>n(e,t,r)===0})),ig=o(((e,t)=>{var n=Yh();t.exports=(e,t,r)=>n(e,t,r)!==0})),ag=o(((e,t)=>{var n=Yh();t.exports=(e,t,r)=>n(e,t,r)>=0})),og=o(((e,t)=>{var n=Yh();t.exports=(e,t,r)=>n(e,t,r)<=0})),sg=o(((e,t)=>{var n=rg(),r=ig(),i=tg(),a=ag(),o=ng(),s=og();t.exports=(e,t,c,l)=>{switch(t){case`===`:return typeof e==`object`&&(e=e.version),typeof c==`object`&&(c=c.version),e===c;case`!==`:return typeof e==`object`&&(e=e.version),typeof c==`object`&&(c=c.version),e!==c;case``:case`=`:case`==`:return n(e,c,l);case`!=`:return r(e,c,l);case`>`:return i(e,c,l);case`>=`:return a(e,c,l);case`<`:return o(e,c,l);case`<=`:return s(e,c,l);default:throw TypeError(`Invalid operator: ${t}`)}}})),cg=o(((e,t)=>{var n=zh(),r=Bh(),{safeRe:i,t:a}=Ih();t.exports=(e,t)=>{if(e instanceof n)return e;if(typeof e==`number`&&(e=String(e)),typeof e!=`string`)return null;t||={};let o=null;if(!t.rtl)o=e.match(t.includePrerelease?i[a.COERCEFULL]:i[a.COERCE]);else{let n=t.includePrerelease?i[a.COERCERTLFULL]:i[a.COERCERTL],r;for(;(r=n.exec(e))&&(!o||o.index+o[0].length!==e.length);)(!o||r.index+r[0].length!==o.index+o[0].length)&&(o=r),n.lastIndex=r.index+r[1].length+r[2].length;n.lastIndex=-1}if(o===null)return null;let s=o[2];return r(`${s}.${o[3]||`0`}.${o[4]||`0`}${t.includePrerelease&&o[5]?`-${o[5]}`:``}${t.includePrerelease&&o[6]?`+${o[6]}`:``}`,t)}})),lg=o(((e,t)=>{var n=Bh(),r=Ph(),i=zh(),a=(e,t,n)=>{if(!r.RELEASE_TYPES.includes(t))return null;let i=o(e,n);return i&&s(i,t)},o=(e,t)=>n(e instanceof i?e.version:e,t),s=(e,t)=>{if(c(t))return e.version;switch(e.prerelease=[],t){case`major`:e.minor=0,e.patch=0;break;case`minor`:e.patch=0;break}return e.format()},c=e=>e.startsWith(`pre`);t.exports=a})),ug=o(((e,t)=>{t.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){let t=this.map.get(e);if(t!==void 0)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==void 0){if(this.map.size>=this.max){let e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}})),dg=o(((e,t)=>{var n=/\s+/g;t.exports=class e{constructor(t,r){if(r=i(r),t instanceof e)return t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease?t:new e(t.raw,r);if(t instanceof a)return this.raw=t.value,this.set=[[t]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=t.trim().replace(n,` `),this.set=this.raw.split(`||`).map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!h(e[0])),this.set.length===0)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(e.length===1&&g(e[0])){this.set=[e];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted=``;for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+=`||`);let t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=` `),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let t=((this.options.includePrerelease&&p)|(this.options.loose&&m))+`:`+e,n=r.get(t);if(n)return n;let i=this.options.loose,s=i?c[l.HYPHENRANGELOOSE]:c[l.HYPHENRANGE];e=e.replace(s,O(this.options.includePrerelease)),o(`hyphen replace`,e),e=e.replace(c[l.COMPARATORTRIM],u),o(`comparator trim`,e),e=e.replace(c[l.TILDETRIM],d),o(`tilde trim`,e),e=e.replace(c[l.CARETTRIM],f),o(`caret trim`,e);let g=e.split(` `).map(e=>v(e,this.options)).join(` `).split(/\s+/).map(e=>D(e,this.options));i&&(g=g.filter(e=>(o(`loose invalid filter`,e,this.options),!!e.match(c[l.COMPARATORLOOSE])))),o(`range list`,g);let _=new Map,y=g.map(e=>new a(e,this.options));for(let e of y){if(h(e))return[e];_.set(e.value,e)}_.size>1&&_.has(``)&&_.delete(``);let b=[..._.values()];return r.set(t,b),b}intersects(t,n){if(!(t instanceof e))throw TypeError(`a Range is required`);return this.set.some(e=>_(e,n)&&t.set.some(t=>_(t,n)&&e.every(e=>t.every(t=>e.intersects(t,n)))))}test(e){if(!e)return!1;if(typeof e==`string`)try{e=new s(e,this.options)}catch{return!1}for(let t=0;t<this.set.length;t++)if(k(this.set[t],e,this.options))return!0;return!1}};var r=new(ug()),i=Lh(),a=fg(),o=Fh(),s=zh(),{safeRe:c,t:l,comparatorTrimReplace:u,tildeTrimReplace:d,caretTrimReplace:f}=Ih(),{FLAG_INCLUDE_PRERELEASE:p,FLAG_LOOSE:m}=Ph(),h=e=>e.value===`<0.0.0-0`,g=e=>e.value===``,_=(e,t)=>{let n=!0,r=e.slice(),i=r.pop();for(;n&&r.length;)n=r.every(e=>i.intersects(e,t)),i=r.pop();return n},v=(e,t)=>(e=e.replace(c[l.BUILD],``),o(`comp`,e,t),e=S(e,t),o(`caret`,e),e=b(e,t),o(`tildes`,e),e=w(e,t),o(`xrange`,e),e=E(e,t),o(`stars`,e),e),y=e=>!e||e.toLowerCase()===`x`||e===`*`,b=(e,t)=>e.trim().split(/\s+/).map(e=>x(e,t)).join(` `),x=(e,t)=>{let n=t.loose?c[l.TILDELOOSE]:c[l.TILDE];return e.replace(n,(t,n,r,i,a)=>{o(`tilde`,e,t,n,r,i,a);let s;return y(n)?s=``:y(r)?s=`>=${n}.0.0 <${+n+1}.0.0-0`:y(i)?s=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:a?(o(`replaceTilde pr`,a),s=`>=${n}.${r}.${i}-${a} <${n}.${+r+1}.0-0`):s=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,o(`tilde return`,s),s})},S=(e,t)=>e.trim().split(/\s+/).map(e=>C(e,t)).join(` `),C=(e,t)=>{o(`caret`,e,t);let n=t.loose?c[l.CARETLOOSE]:c[l.CARET],r=t.includePrerelease?`-0`:``;return e.replace(n,(t,n,i,a,s)=>{o(`caret`,e,t,n,i,a,s);let c;return y(n)?c=``:y(i)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:y(a)?c=n===`0`?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:s?(o(`replaceCaret pr`,s),c=n===`0`?i===`0`?`>=${n}.${i}.${a}-${s} <${n}.${i}.${+a+1}-0`:`>=${n}.${i}.${a}-${s} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${a}-${s} <${+n+1}.0.0-0`):(o(`no pr`),c=n===`0`?i===`0`?`>=${n}.${i}.${a}${r} <${n}.${i}.${+a+1}-0`:`>=${n}.${i}.${a}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${a} <${+n+1}.0.0-0`),o(`caret return`,c),c})},w=(e,t)=>(o(`replaceXRanges`,e,t),e.split(/\s+/).map(e=>T(e,t)).join(` `)),T=(e,t)=>{e=e.trim();let n=t.loose?c[l.XRANGELOOSE]:c[l.XRANGE];return e.replace(n,(n,r,i,a,s,c)=>{o(`xRange`,e,n,r,i,a,s,c);let l=y(i),u=l||y(a),d=u||y(s),f=d;return r===`=`&&f&&(r=``),c=t.includePrerelease?`-0`:``,l?n=r===`>`||r===`<`?`<0.0.0-0`:`*`:r&&f?(u&&(a=0),s=0,r===`>`?(r=`>=`,u?(i=+i+1,a=0,s=0):(a=+a+1,s=0)):r===`<=`&&(r=`<`,u?i=+i+1:a=+a+1),r===`<`&&(c=`-0`),n=`${r+i}.${a}.${s}${c}`):u?n=`>=${i}.0.0${c} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${a}.0${c} <${i}.${+a+1}.0-0`),o(`xRange return`,n),n})},E=(e,t)=>(o(`replaceStars`,e,t),e.trim().replace(c[l.STAR],``)),D=(e,t)=>(o(`replaceGTE0`,e,t),e.trim().replace(c[t.includePrerelease?l.GTE0PRE:l.GTE0],``)),O=e=>(t,n,r,i,a,o,s,c,l,u,d,f)=>(n=y(r)?``:y(i)?`>=${r}.0.0${e?`-0`:``}`:y(a)?`>=${r}.${i}.0${e?`-0`:``}`:o?`>=${n}`:`>=${n}${e?`-0`:``}`,c=y(l)?``:y(u)?`<${+l+1}.0.0-0`:y(d)?`<${l}.${+u+1}.0-0`:f?`<=${l}.${u}.${d}-${f}`:e?`<${l}.${u}.${+d+1}-0`:`<=${c}`,`${n} ${c}`.trim()),k=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(o(e[n].semver),e[n].semver!==a.ANY&&e[n].semver.prerelease.length>0){let r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}})),fg=o(((e,t)=>{var n=Symbol(`SemVer ANY`);t.exports=class e{static get ANY(){return n}constructor(t,i){if(i=r(i),t instanceof e){if(t.loose===!!i.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(` `),s(`comparator`,t,i),this.options=i,this.loose=!!i.loose,this.parse(t),this.semver===n?this.value=``:this.value=this.operator+this.semver.version,s(`comp`,this)}parse(e){let t=this.options.loose?i[a.COMPARATORLOOSE]:i[a.COMPARATOR],r=e.match(t);if(!r)throw TypeError(`Invalid comparator: ${e}`);this.operator=r[1]===void 0?``:r[1],this.operator===`=`&&(this.operator=``),r[2]?this.semver=new c(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(s(`Comparator.test`,e,this.options.loose),this.semver===n||e===n)return!0;if(typeof e==`string`)try{e=new c(e,this.options)}catch{return!1}return o(e,this.operator,this.semver,this.options)}intersects(t,n){if(!(t instanceof e))throw TypeError(`a Comparator is required`);return this.operator===``?this.value===``?!0:new l(t.value,n).test(this.value):t.operator===``?t.value===``?!0:new l(this.value,n).test(t.semver):(n=r(n),n.includePrerelease&&(this.value===`<0.0.0-0`||t.value===`<0.0.0-0`)||!n.includePrerelease&&(this.value.startsWith(`<0.0.0`)||t.value.startsWith(`<0.0.0`))?!1:!!(this.operator.startsWith(`>`)&&t.operator.startsWith(`>`)||this.operator.startsWith(`<`)&&t.operator.startsWith(`<`)||this.semver.version===t.semver.version&&this.operator.includes(`=`)&&t.operator.includes(`=`)||o(this.semver,`<`,t.semver,n)&&this.operator.startsWith(`>`)&&t.operator.startsWith(`<`)||o(this.semver,`>`,t.semver,n)&&this.operator.startsWith(`<`)&&t.operator.startsWith(`>`)))}};var r=Lh(),{safeRe:i,t:a}=Ih(),o=sg(),s=Fh(),c=zh(),l=dg()})),pg=o(((e,t)=>{var n=dg();t.exports=(e,t,r)=>{try{t=new n(t,r)}catch{return!1}return t.test(e)}})),mg=o(((e,t)=>{var n=dg();t.exports=(e,t)=>new n(e,t).set.map(e=>e.map(e=>e.value).join(` `).trim().split(` `))})),hg=o(((e,t)=>{var n=zh(),r=dg();t.exports=(e,t,i)=>{let a=null,o=null,s=null;try{s=new r(t,i)}catch{return null}return e.forEach(e=>{s.test(e)&&(!a||o.compare(e)===-1)&&(a=e,o=new n(a,i))}),a}})),gg=o(((e,t)=>{var n=zh(),r=dg();t.exports=(e,t,i)=>{let a=null,o=null,s=null;try{s=new r(t,i)}catch{return null}return e.forEach(e=>{s.test(e)&&(!a||o.compare(e)===1)&&(a=e,o=new n(a,i))}),a}})),_g=o(((e,t)=>{var n=zh(),r=dg(),i=tg();t.exports=(e,t)=>{e=new r(e,t);let a=new n(`0.0.0`);if(e.test(a)||(a=new n(`0.0.0-0`),e.test(a)))return a;a=null;for(let t=0;t<e.set.length;++t){let r=e.set[t],o=null;r.forEach(e=>{let t=new n(e.semver.version);switch(e.operator){case`>`:t.prerelease.length===0?t.patch++:t.prerelease.push(0),t.raw=t.format();case``:case`>=`:(!o||i(t,o))&&(o=t);break;case`<`:case`<=`:break;default:throw Error(`Unexpected operation: ${e.operator}`)}}),o&&(!a||i(a,o))&&(a=o)}return a&&e.test(a)?a:null}})),vg=o(((e,t)=>{var n=dg();t.exports=(e,t)=>{try{return new n(e,t).range||`*`}catch{return null}}})),yg=o(((e,t)=>{var n=zh(),r=fg(),{ANY:i}=r,a=dg(),o=pg(),s=tg(),c=ng(),l=og(),u=ag();t.exports=(e,t,d,f)=>{e=new n(e,f),t=new a(t,f);let p,m,h,g,_;switch(d){case`>`:p=s,m=l,h=c,g=`>`,_=`>=`;break;case`<`:p=c,m=u,h=s,g=`<`,_=`<=`;break;default:throw TypeError(`Must provide a hilo val of "<" or ">"`)}if(o(e,t,f))return!1;for(let n=0;n<t.set.length;++n){let a=t.set[n],o=null,s=null;if(a.forEach(e=>{e.semver===i&&(e=new r(`>=0.0.0`)),o||=e,s||=e,p(e.semver,o.semver,f)?o=e:h(e.semver,s.semver,f)&&(s=e)}),o.operator===g||o.operator===_||(!s.operator||s.operator===g)&&m(e,s.semver)||s.operator===_&&h(e,s.semver))return!1}return!0}})),bg=o(((e,t)=>{var n=yg();t.exports=(e,t,r)=>n(e,t,`>`,r)})),xg=o(((e,t)=>{var n=yg();t.exports=(e,t,r)=>n(e,t,`<`,r)})),Sg=o(((e,t)=>{var n=dg();t.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t,r))})),Cg=o(((e,t)=>{var n=pg(),r=Yh();t.exports=(e,t,i)=>{let a=[],o=null,s=null,c=e.sort((e,t)=>r(e,t,i));for(let e of c)n(e,t,i)?(s=e,o||=e):(s&&a.push([o,s]),s=null,o=null);o&&a.push([o,null]);let l=[];for(let[e,t]of a)e===t?l.push(e):!t&&e===c[0]?l.push(`*`):t?e===c[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`);let u=l.join(` || `),d=typeof t.raw==`string`?t.raw:String(t);return u.length<d.length?u:t}})),wg=o(((e,t)=>{var n=dg(),r=fg(),{ANY:i}=r,a=pg(),o=Yh(),s=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let i=!1;OUTER:for(let n of e.set){for(let e of t.set){let t=u(n,e,r);if(i||=t!==null,t)continue OUTER}if(i)return!1}return!0},c=[new r(`>=0.0.0-0`)],l=[new r(`>=0.0.0`)],u=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===i){if(t.length===1&&t[0].semver===i)return!0;e=n.includePrerelease?c:l}if(t.length===1&&t[0].semver===i){if(n.includePrerelease)return!0;t=l}let r=new Set,s,u;for(let t of e)t.operator===`>`||t.operator===`>=`?s=d(s,t,n):t.operator===`<`||t.operator===`<=`?u=f(u,t,n):r.add(t.semver);if(r.size>1)return null;let p;if(s&&u&&(p=o(s.semver,u.semver,n),p>0||p===0&&(s.operator!==`>=`||u.operator!==`<=`)))return null;for(let e of r){if(s&&!a(e,String(s),n)||u&&!a(e,String(u),n))return null;for(let r of t)if(!a(e,String(r),n))return!1;return!0}let m,h,g,_,v=u&&!n.includePrerelease&&u.semver.prerelease.length?u.semver:!1,y=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1;v&&v.prerelease.length===1&&u.operator===`<`&&v.prerelease[0]===0&&(v=!1);for(let e of t){if(_=_||e.operator===`>`||e.operator===`>=`,g=g||e.operator===`<`||e.operator===`<=`,s){if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),e.operator===`>`||e.operator===`>=`){if(m=d(s,e,n),m===e&&m!==s)return!1}else if(s.operator===`>=`&&!a(s.semver,String(e),n))return!1}if(u){if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),e.operator===`<`||e.operator===`<=`){if(h=f(u,e,n),h===e&&h!==u)return!1}else if(u.operator===`<=`&&!a(u.semver,String(e),n))return!1}if(!e.operator&&(u||s)&&p!==0)return!1}return!(s&&g&&!u&&p!==0||u&&_&&!s&&p!==0||y||v)},d=(e,t,n)=>{if(!e)return t;let r=o(e.semver,t.semver,n);return r>0?e:r<0||t.operator===`>`&&e.operator===`>=`?t:e},f=(e,t,n)=>{if(!e)return t;let r=o(e.semver,t.semver,n);return r<0?e:r>0||t.operator===`<`&&e.operator===`<=`?t:e};t.exports=s})),Tg=o(((e,t)=>{var n=Ih(),r=Ph(),i=zh(),a=Rh();t.exports={parse:Bh(),valid:Vh(),clean:Hh(),inc:Uh(),diff:Wh(),major:Gh(),minor:Kh(),patch:qh(),prerelease:Jh(),compare:Yh(),rcompare:Xh(),compareLoose:Zh(),compareBuild:Qh(),sort:$h(),rsort:eg(),gt:tg(),lt:ng(),eq:rg(),neq:ig(),gte:ag(),lte:og(),cmp:sg(),coerce:cg(),truncate:lg(),Comparator:fg(),Range:dg(),satisfies:pg(),toComparators:mg(),maxSatisfying:hg(),minSatisfying:gg(),minVersion:_g(),validRange:vg(),outside:yg(),gtr:bg(),ltr:xg(),intersects:Sg(),simplifyRange:Cg(),subset:wg(),SemVer:i,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:r.SEMVER_SPEC_VERSION,RELEASE_TYPES:r.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}}));Nh();var Eg=l(Tg(),1),Dg=class{#e;#t;#n;#r;#i;#a;#o;#s;#c;constructor(e={}){this.customFunctions={},this.#i=null,e.beforeOpen&&(this.#n=e.beforeOpen),e.open&&(this.#c=e.open),e.beforeExtract&&(this.#t=e.beforeExtract),e.beforeChange&&(this.#e=e.beforeChange),e.change&&(this.#r=e.change),e.migrate&&(this.#o=e.migrate),e.migrateElement&&(this.#s=e.migrateElement),e.isDisable&&(this.#a=e.isDisable),this.customFunctions=e.customFunctions||{},this.#i=e.data||null}async beforeChange(e,t){this.#e&&await this.#e(e,t)}beforeExtract(e,t){this.#t&&this.#t(e,t)}beforeOpen(e,t,n){this.#n&&this.#n(e,t,n)}async change(e,t){this.#r&&await this.#r(e,t)}fire(e,t,n,r,...i){let a=new $.Event(e);if(e in this.customFunctions)return this.customFunctions[e]?.call(this,a,t,n,r,...i)}getData(e){if(this.#i&&e in this.#i)return this.#i[e]}isDisable(e){return this.#a?this.#a(e):``}migrate(e){return this.#o?this.#o(e):e.export()}async migrateElement(e,t){this.#s&&await this.#s(e,t)}open(e,t){this.#c&&this.#c(e,t)}setData(e,t){this.#i&&e in this.#i&&(this.#i[e]=t)}},Og=class{#e;#t=!1;get node(){return this.#e}constructor(e){if(!e)throw Error(`要素の取得に失敗しました。`);this.#e=e}getNode(){return this.#e}hide(){this.#e.hidden=!0,this.#t=!1}show(){this.#e.hidden=!1,this.#t=!0}visible(){return this.#t}},kg=class extends Og{#e;get hidden(){return!this.visible()}get isHover(){return this.#e}constructor(e){e.dataset.bge=`bgb-menu`,e.innerHTML=`
17
+ <div class="bgb-menu-buttons">
18
+ <div class="bgb-menu-btn-area-move">
19
+ <button type="button" class="bgb-menu-move-up"><span>ひとつ上へ移動</span></button>
20
+ <button type="button" class="bgb-menu-move-down"><span>ひとつ下へ移動</span></button>
21
+ </div>
22
+ <div class="bgb-menu-btn-area-command">
23
+ <button type="button" class="bgb-menu-insert-before"><span>上にブロックを追加</span></button>
24
+ <button type="button" class="bgb-menu-insert-after"><span>下にブロックを追加</span></button>
25
+ <button type="button" class="bgb-menu-block-config"><span>オプション設定</span></button>
26
+ <button type="button" class="bgb-menu-block-copy"><span>ブロックをコピー</span></button>
27
+ <button type="button" class="bgb-menu-delete"><span>ブロックを削除</span></button>
28
+ </div>
29
+ </div>
30
+ `,super(e),this.#e=!1,this.hide();let t=$(this.node);t.on(`click`,`.bgb-menu-insert-before, .bgb-menu-insert-after`,this.#r.bind(this)),t.on(`click`,`.bgb-menu-block-config`,this.#a.bind(this)),t.on(`click`,`.bgb-menu-block-copy`,this.#t.bind(this)),t.on(`click`,`.bgb-menu-delete`,this.#n.bind(this)),t.on(`click`,`.bgb-menu-move-up, .bgb-menu-move-down`,this.#i.bind(this)),t.on(`mouseenter`,()=>this.#e=!0),t.on(`mouseleave`,()=>this.#e=!1)}setPosition(e){this.node.style.top=`${e.top}px`,this.node.style.left=`${e.left}px`,this.node.style.width=`${e.width}px`}#t(){let e=R_.getCurrentBlock();if(B_.isProcessed||!e)return;if(e.name===`unknown`){alert(`このブロックをコピーするには、ブロックのアップデートが必要です。
31
+ ブロックをアップロードしてください。`);return}this.hide();let t=e.getHTMLStringify();this.show(),av(t),$(`
32
+ <div id="bge-dialog" title="ブロックをコピーしました">
33
+ <p>ブロックの追加ボタンからペースト(貼り付ける)ことができます。</p>
34
+ </div>
35
+ `).dialog({show:{effect:`fade`,duration:300},hide:{effect:`fade`,duration:300},width:260,height:130,resizable:!1,open:e=>{setTimeout(()=>{e.target&&$(e.target).dialog(`close`)},3e3)}})}async#n(){let e=R_.getCurrentBlock();B_.isProcessed||!e||confirm(`ブロック要素を削除します。
36
+ 削除したブロック要素はもとに戻すことはできません。
37
+ 削除してもよろしいですか?`)&&(B_.isProcessed=!0,V_.blockMenu.hide(),await e.animate({height:0,opacity:0},500),R_.clearCurrentBlock(),e.remove(),iv(),B_.isProcessed=!1)}#r(e){let t=R_.getCurrentBlock();if(t){let n=$(e.target).hasClass(`bgb-menu-insert-after`);X_.set(t,n),H_.open()}}#i(e){let t=R_.getCurrentBlock();if(B_.isProcessed||!t)return;let n=$(e.target),r=$(t.node),i=n.hasClass(`bgb-menu-move-up`),a;a=i?r.prev():r.next();let o={visibility:`hidden`,pointerEvents:`none`};B_.isProcessed=!0,this.hide(),r.add(a).addClass(`-bge-animation-replacement`),$(`.bge-view-value`).css(`position`,`relative`);let s=r.position(),c=a.position();i?r.insertBefore(a):r.insertAfter(a);let l=a.position(),u=r.position(),d=$(`<div />`),f=$(`<div />`);d.append(r.clone()).css(o),f.append(a.clone()).css(o),d.insertAfter(r),f.insertAfter(a),r.css({position:`absolute`,top:s.top,left:s.left,zIndex:1}),a.css({position:`absolute`,top:c.top,left:c.left,zIndex:0}),r.animate({top:u.top,left:u.left},600),a.animate({top:l.top,left:l.left},600,()=>{d.remove(),f.remove(),r.removeAttr(`style`),a.removeAttr(`style`),r.add(a).removeClass(`-bge-animation-replacement`),B_.isProcessed=!1,iv()})}#a(){B_.isProcessed||U_.open()}hide(){super.hide(),$(this.getNode()).find(`.bgb-menu-move-up, .bgb-menu-move-down`).prop(`disabled`,!1)}show(){super.show();let e=$(this.getNode()),t=R_.getCurrentBlock();t&&!t.existPrev()&&e.find(`.bgb-menu-move-up`).prop(`disabled`,!0),t&&!t.existNext()&&e.find(`.bgb-menu-move-down`).prop(`disabled`,!0)}},Ag=class e{constructor(t,n){this.classList=[],this.currentClass=null,this.optionName=t;for(let r of Object.keys(n)){let i=r;if(!(!i||!n[i])){if(i.indexOf(e.classPrefix)!==0){console.warn(`Invalid Error: "${t}" オプションは "${e.classPrefix}" で開始される必要があります。 "${i}" は無効化されました。`);break}this.classList.push({label:n[i]??`N/A`,className:i})}}}getClass(){return this.currentClass}setClass(e){for(let t of this.classList)if(t.className===e){this.currentClass=t;return}console.warn(`"${e}" というクラス名は オプション "${this.optionName}" には設定できませんでした。`)}static{this.classPrefix=`bgb-opt--`}static getOption(t){let n=null;if(z_.blockClassOption)for(let r of Object.keys(z_.blockClassOption)){let i=z_.blockClassOption[r];if(i)for(let a of Object.keys(i)){let i=z_.blockClassOption[r];if(a===t&&i){n=new e(r,i),n.setClass(t);break}}}return n}};function jg(e,t=!1,n=`field`,r){let i=[],a=e.getAttribute(`data-${n}`),o=!!e.closest(`[data-${n}-list]`);if(a==null)throw Error(`data-${n} attriblute is empty.`);let s=`${a}`.split(/\s*,\s*/);for(let n of s){let a,s=``,c;if(n=n.trim(),/^[_a-z-][\w-]*:[_a-z-][\w-]*(?:\([a-z-]+\))?/i.test(n)&&(a=n.split(`:`),n=a[0]?.trim()??``,s=a[1]?.trim()??``),s===`text`)c=e.innerHTML;else if(/^style\([a-z-]+\)$/i.test(s)){let t=s.replace(/^style\(([a-z-]+)\)$/i,`$1`),n;n=e instanceof HTMLElement?e.style:window.getComputedStyle(e),c=n.getPropertyValue(t),t===`background-image`&&(c=Pg(c))}else if(s)c=Mg(e,s,t);else if(e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement){let t=e.value;c=Ng(Array.isArray(t)?t[0]:t)}else c=e.innerHTML;r&&(c=r(c)),i.push([n,c,o])}return i}function Mg(e,t,n){switch(t){case`contenteditable`:return e instanceof HTMLElement?e.contentEditable===``||e.contentEditable===`true`:e.getAttribute(t)===``||e.getAttribute(t)===`true`;case`checked`:return e.checked;case`disabled`:return e.disabled;case`download`:return e.hasAttribute(`download`)?e.getAttribute(`download`):null;case`href`:return e.getAttribute(t)||``;default:if(t.startsWith(`data-`)){let r=e.getAttribute(t)||``;return n?Ng(r):r}return e.getAttribute(t)||``}}function Ng(e){if(e==null||e===``)return``;switch(e){case`true`:return!0;case`false`:return!1}let t=Number(e);return Number.isFinite(t)?t:e}function Pg(e){let t=`${location.protocol}//${location.hostname}${location.port?`:${location.port}`:``}`;return decodeURI(e.replace(/^url\(["']?([^"']+)["']?\)$/i,`$1`).replace(t,``))}function Fg(e){let t={};for(let n of e){let e=n[0],r=n[1];if(n[2]){let n=t[e];Array.isArray(n)?n.push(r):t[e]=e in t?[n,r]:[r]}else t[e]=r}return t}function Ig(e,t,n,r){let i=Array.from(e.querySelectorAll(`[data-${t}]`)),a=[];for(let e of i)a=[...a,...jg(e,n,t,r)];return Fg(a)}function Lg(e,t,n,r=`field`,i){let a=e.getAttribute(`data-${r}`)||``;for(let r of a.split(/\s*,\s*/)){r=r.trim();let a,o;if(/^[_a-z-][\w-]*:[_a-z-][\w-]*(?:\([a-z-]+\))?/i.test(r)){let e=r.split(`:`);a=e[0]?.trim()??``,o=e[1]?.trim()??``}else a=r.trim(),o=null;if(t===a)if(i&&(n=i(n)),o)if(/^style\([a-z-]+\)$/i.test(o)){let t=o.replace(/^style\(([a-z-]+)\)$/i,`$1`),r;switch(t){case`background-image`:r=`url(${encodeURI(`${n}`)})`;break;default:r=`${n}`}e.setAttribute(`style`,`${t}: ${r}`)}else e instanceof HTMLElement?Rg(e,o,n):e.setAttribute(o,`${n}`);else e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement?e.value=`${n}`:e.innerHTML=`${n}`}}function Rg(e,t,n){if(n==null){e.removeAttribute(t);return}switch(t){case`contenteditable`:switch(n){case`true`:case``:e.contentEditable=`true`;break;default:e.removeAttribute(t)}break;case`dir`:switch(n){case`ltr`:case`rtl`:e.dir=n;break;default:e.removeAttribute(t)}break;case`draggable`:if(typeof n==`boolean`){e.draggable=n;break}switch(n){case`true`:e.draggable=!0;break;case`false`:e.draggable=!1;break;default:e.removeAttribute(t)}break;case`hidden`:e.hidden=!!n;break;case`spellcheck`:e.spellcheck=!!n;break;case`tabindex`:{let t;t=typeof n==`boolean`?n?0:-1:typeof n==`string`?Number.parseInt(n,10):n,e.tabIndex=Number.isNaN(t)?-1:Math.floor(t);break}case`async`:e instanceof HTMLScriptElement?e.async=!!n:e.setAttribute(t,`${n}`);break;case`autocomplete`:e instanceof HTMLInputElement||e instanceof HTMLFormElement?e.autocomplete=n?`${n}`:`off`:e.setAttribute(t,`${n}`);break;case`autofocus`:e instanceof HTMLButtonElement||e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement?e.autofocus=n===``?!0:!!n:e.setAttribute(t,`${n}`);break;case`autoplay`:e instanceof HTMLAudioElement||e instanceof HTMLVideoElement?e.autoplay=n===``?!0:!!n:e.setAttribute(t,`${n}`);break;case`checked`:e instanceof HTMLInputElement?e.checked=n===``?!0:!!n:e.setAttribute(t,`${n}`);break;case`cols`:if(e instanceof HTMLTextAreaElement){let r=Bg(n);Number.isNaN(r)?e.removeAttribute(t):e.cols=r}else e.setAttribute(t,`${n}`);break;case`colspan`:if(e instanceof HTMLTableCellElement){let r=Bg(n);Number.isNaN(r)?e.removeAttribute(t):e.colSpan=r}else e.setAttribute(t,`${n}`);break;case`controls`:e instanceof HTMLAudioElement||e instanceof HTMLVideoElement?e.controls=n===``?!0:!!n:e.setAttribute(t,`${n}`);break;case`default`:e instanceof HTMLTrackElement?e.default=n===``?!0:!!n:e.setAttribute(t,`${n}`);break;case`defer`:e instanceof HTMLScriptElement?e.defer=!!n:e.setAttribute(t,`${n}`);break;case`disabled`:e instanceof HTMLButtonElement||e instanceof HTMLFieldSetElement||e instanceof HTMLInputElement||e instanceof HTMLOptGroupElement||e instanceof HTMLOptionElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement?e.disabled=n===``?!0:!!n:e.setAttribute(t,`${n}`);break;case`download`:e instanceof HTMLAnchorElement?n||n===``?e.download=`${n}`:e.removeAttribute(t):e.setAttribute(t,`${n}`);break;case`high`:if(e instanceof HTMLMeterElement){let r=Bg(n);Number.isNaN(r)?e.removeAttribute(t):e.high=r}else e.setAttribute(t,`${n}`);break;case`ismap`:e instanceof HTMLImageElement?e.isMap=n===``?!0:!!n:e.setAttribute(t,`${n}`);break;case`loop`:e instanceof HTMLAudioElement||e instanceof HTMLVideoElement?e.loop=n===``?!0:!!n:e.setAttribute(t,`${n}`);break;case`low`:if(e instanceof HTMLMeterElement){let r=Bg(n);Number.isNaN(r)?e.removeAttribute(t):e.low=r}else e.setAttribute(t,`${n}`);break;case`max`:if(e instanceof HTMLInputElement||e instanceof HTMLMeterElement||e instanceof HTMLProgressElement){let r=Bg(n);Number.isNaN(r)?e.removeAttribute(t):e.max=r}else e.setAttribute(t,`${n}`);break;case`maxlength`:if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement){let r=Bg(n);Number.isNaN(r)?e.removeAttribute(t):e.maxLength=Math.floor(r)}else e.setAttribute(t,`${n}`);break;case`min`:if(e instanceof HTMLInputElement||e instanceof HTMLMeterElement){let r=Bg(n);Number.isNaN(r)?e.removeAttribute(t):e.min=r}else e.setAttribute(t,`${n}`);break;case`multiple`:e instanceof HTMLInputElement||e instanceof HTMLSelectElement?e.multiple=n===``?!0:!!n:e.setAttribute(t,`${n}`);break;case`novalidate`:e instanceof HTMLFormElement?e.noValidate=n===``?!0:!!n:e.setAttribute(t,`${n}`);break;case`optimum`:if(e instanceof HTMLMeterElement){let r=Bg(n);Number.isNaN(r)?e.removeAttribute(t):e.optimum=Math.floor(r)}else e.setAttribute(t,`${n}`);break;case`preload`:if(e instanceof HTMLAudioElement||e instanceof HTMLVideoElement)switch(n){case``:case`auto`:case`metadata`:e.preload=n;break;default:e.preload=`none`}else e.setAttribute(t,`${n}`);break;case`readonly`:e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement?e.readOnly=n===``?!0:!!n:e.setAttribute(t,`${n}`);break;case`required`:e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement?e.required=n===``?!0:!!n:e.setAttribute(t,`${n}`);break;case`reversed`:e instanceof HTMLOListElement?e.reversed=n===``?!0:!!n:e.setAttribute(t,`${n}`);break;case`rows`:if(e instanceof HTMLTextAreaElement){let r=Bg(n);Number.isNaN(r)?e.removeAttribute(t):e.rows=Math.floor(r)}else e.setAttribute(t,`${n}`);break;case`rowspan`:if(e instanceof HTMLTableCellElement){let r=Bg(n);Number.isNaN(r)?e.removeAttribute(t):e.rowSpan=Math.floor(r)}else e.setAttribute(t,`${n}`);break;case`size`:if(e instanceof HTMLInputElement||e instanceof HTMLSelectElement){let r=Bg(n);Number.isNaN(r)?e.removeAttribute(t):e.size=r}else e.setAttribute(t,`${n}`);break;case`span`:if(e instanceof HTMLTableColElement){let r=Bg(n);Number.isNaN(r)?e.removeAttribute(t):e.span=r}else e.setAttribute(t,`${n}`);break;case`start`:if(e instanceof HTMLOListElement){let r=Bg(n);Number.isNaN(r)?e.removeAttribute(t):e.start=r}else e.setAttribute(t,`${n}`);break;case`step`:if(e instanceof HTMLInputElement){if(n===`any`){e.step=n;break}let r=zg(n);Number.isNaN(r)?e.removeAttribute(t):e.step=r.toString(10)}else e.setAttribute(t,`${n}`);break;case`target`:e instanceof HTMLAnchorElement||e instanceof HTMLAreaElement||e instanceof HTMLFormElement?n?e.target=`${n}`:e.removeAttribute(t):e.setAttribute(t,`${n}`);break;default:e.setAttribute(t,`${n}`)}}function zg(e){let t;return t=typeof e==`boolean`?+e:typeof e==`string`?Number.parseFloat(e):e,t}function Bg(e){return Math.floor(zg(e))}function Vg(e,t,n,r){e=e.cloneNode(!0);for(let i in t)if(i in t){let a=t[i],o=`[data-${n}*="${i}"]`,s=Array.from(e.querySelectorAll(o));if(Array.isArray(a)){let e=s[0];if(!e)continue;let t=e.closest(`[data-${n}-list]`);if(!t||t&&t.children.length===0)continue;let c=t.children[0]?.cloneNode(!0);for(;c&&a.length>t.children.length;)t.append(c.cloneNode(!0));let l=Array.from(t.querySelectorAll(o)),u=Array.from(t.children),d=[];for(let[e,t]of[...l].entries())if(a[e]==null){Lg(t,i,``,n,r);let a=u[e];a&&d.push(a)}else Lg(t,i,a[e],n,r),d=[];for(let e of d)e.remove()}else for(let[,e]of[...s].entries())Lg(e,i,a,n,r)}return e}var Hg=class{#e=`field`;#t;#n;#r=!1;constructor(e,t){this.#t=document.createElement(`fp-placeholer`),this.#t.innerHTML=e,t&&(t.attr&&(this.#e=t.attr),this.#r=!!t.typeConvert,this.#n=t.valueFilter)}merge(e){let t=this.toJSON(!1),n=Object.assign(t,e);return this.#t=Vg(this.#t,n,this.#e,this.#n),this}toDOM(){return this.#t}toHTML(){return this.#t.innerHTML}toJSON(e=!0){let t=e?this.#n:void 0;return Ig(this.#t,this.#e,this.#r,t)}};function Ug(e,t){return new Hg(e,t)}function Wg(e,t){for(let[n,r]of Object.entries(t))r&&(e=e.replace(new RegExp(n,`g`),r));return e}function Gg(e,t=!1){return t?e=Wg(e,{゛:`゙`,゙:`゙`,゜:`゚`,゚:`゚`}):(e=Gg(e,!0),e=Wg(e,{が:`が`,ぎ:`ぎ`,ぐ:`ぐ`,げ:`げ`,ご:`ご`,ざ:`ざ`,じ:`じ`,ず:`ず`,ぜ:`ぜ`,ぞ:`ぞ`,だ:`だ`,ぢ:`ぢ`,づ:`づ`,で:`で`,ど:`ど`,ば:`ば`,び:`び`,ぶ:`ぶ`,べ:`べ`,ぼ:`ぼ`,ガ:`ガ`,ギ:`ギ`,グ:`グ`,ゲ:`ゲ`,ゴ:`ゴ`,ザ:`ザ`,ジ:`ジ`,ズ:`ズ`,ゼ:`ゼ`,ゾ:`ゾ`,ダ:`ダ`,ヂ:`ヂ`,ヅ:`ヅ`,デ:`デ`,ド:`ド`,バ:`バ`,ビ:`ビ`,ブ:`ブ`,ベ:`ベ`,ボ:`ボ`,ヷ:`ヷ`,イ゙:`ヸ`,ヴ:`ヴ`,エ゙:`ヹ`,ヺ゙:`ヲ`,ゞ:`ゞ`,ヾ:`ヾ`,ぱ:`ぱ`,ぴ:`ぴ`,ぷ:`ぷ`,ぺ:`ぺ`,ぽ:`ぽ`,パ:`パ`,ピ:`ピ`,プ:`プ`,ペ:`ペ`,ポ:`ポ`})),e}var Kg=new WeakMap,qg=new WeakMap,Jg=class e{#e=!1;#t;get el(){return qg.get(this)}get version(){return this.#t}get isOld(){return this.#e}constructor(e,t){let n;n=typeof e==`string`?$(e).get(0):e,Kg.set(n,this),qg.set(this,n);let r=n.dataset.bgt;r||(r=`unknown`,n.dataset.bgt=r),this.name=r;let i=n.dataset.bgtVer;i||(i=`0.0.0`,n.dataset.bgtVer=i),this.#t=i;let a=z_.types?.[this.name]?.version??`0.0.0`;if(this.#e=sv.lt(this.#t,a),this.module=K_[$.camelCase(`-${this.name}`)],t){this.import(t).then(()=>{this.#n()});return}this.#n()}export(){return e.contentExport(this.el)}async import(t,n=!1){this.module&&n&&await this.module.beforeChange(t,this);let r=Ug(this.el.innerHTML,{attr:`bge`,typeConvert:!0,valueFilter:t=>typeof t==`string`?e.ioFilter(t):t}).merge(t).toHTML();this.el.innerHTML=r,this.#e&&this.module&&await this.module.migrateElement(t,this),this.module&&n&&await this.module.change(t,this),this.#n()}isDisable(){return this.module?this.module.isDisable(this):``}async upgrade(){if(!this.#e)return;let t=z_.types?.[this.name]?.tmpl;if(!t)return;let n=$(t).get(0),r=n.dataset.bgtVer,i=K_[$.camelCase(`-${this.name}`)],a=i?i.migrate(this):this.export(),o=e.contentExport(n),s=Object.assign({},o,a);this.el.innerHTML=n.innerHTML,this.el.dataset.bgtVer=r,await this.import(s),this.#t=r,this.#e=!1}validate(e){let t=[];for(let n of Object.keys(e)){let r=e[n];$(`<div>${r}</div>`).find(`.btn, .allbtn`).length>0&&t.push(`値の中にクラス名"btn"もしくは"allbtn"を含むHTMLがあります。
38
+ クラス名"btn"・"allbtn"は使用できません。`)}return t.join(`
39
+
40
+ `)}#n(){let e=$(this.el);e.off(`click`),e.on(`click`,()=>(this.#r(),!1))}#r(){W_.open(this)}static getInstance(e){return Kg.get(e)}static contentExport(t){return Ug(t.outerHTML,{attr:`bge`,typeConvert:!0,valueFilter:t=>typeof t==`string`?e.ioFilter(t):t}).toJSON()}static ioFilter(e){if(e=Gg(e),e.trim().startsWith(`<`)){let t=document.createElement(`div`);t.innerHTML=e;let n=t.querySelectorAll(`*`);for(let e of n){let t=e.attributes;for(let n=0,r=t.length;n<r;n++){let r=t.item(n);r&&/data-bg[bt](?:-.+)?/i.test(r.name)&&e.removeAttribute(r.name)}}e=t.innerHTML}return e}static datumToElement(t,n,r){return Lg(r,`${t}`,n,`bge`,t=>typeof t==`string`?e.ioFilter(t):t)}},Yg=new WeakMap,Xg=0,Q=class e{#e;#t;#n;#r;#i;#a;#o;#s;#c;get#l(){return $(this.node)}get id(){return this.#n}get name(){return this.#r}get node(){return Yg.get(this)}constructor(t){if(this.types=[],this.#e=[],this.#t={normalRatio:null,spRatio:null,spEnabled:!1},this.#n=``,this.#i=[],this.#a=0,this.#o={publishDatetime:null,unpublishDatetime:null},this.#s=0,this.#c=Xg++,typeof t==`string`){this.#r=t;let n=e.#D(this.#r);n&&Yg.set(this,n)}else if(t){let e=t;Yg.set(this,e),this.#r=`${this.#l.data(`bgb`)}`}else throw Error(`Do not create BurgerBlock. A base element is empty.`);this.#l.find(`[data-bgt]`).each((e,t)=>{let n=new Jg(t);this.types.push(n)}),this.#x(),this.#y(),this.#v(),this.#b(),this.exportScheduledPublishing(),this.#E(),this.#l.on(`mousemove`,()=>{R_.setCurrentBlock(this)&&(cancelAnimationFrame(this.#a),this.#a=requestAnimationFrame(()=>{if(!R_.isSetBlock())return;V_.blockMenu.show();let e=this.node.getBoundingClientRect();V_.blockMenu.setPosition(e)}))}),this.#l.on(`mouseleave`,()=>{requestAnimationFrame(()=>{V_.blockMenu.isHover||(V_.blockMenu.hide(),R_.clearCurrentBlock())})})}animate(e,t){return new Promise(n=>{this.#l.animate(e,t,n)})}clone(){let t=this.#_(),n=new e(this.#r);return n.#S(t),n}existNext(){return this.#l.next().length>0}existPrev(){return this.#l.prev().length>0}exportCustomClassList(){return this.#v(),this.#e}exportGridInfo(){return this.#y(),this.#t}exportId(){return this.#b(),this.#n}exportOptions(){return this.#x(),this.#i}exportScheduledPublishing(){let e=this.#l.attr(`data-bgb-publish-datetime`)||null,t=this.#l.attr(`data-bgb-unpublish-datetime`)||null;return this.#o={publishDatetime:e,unpublishDatetime:t},this.#o}getHTMLStringify(){return this.node.outerHTML}importCustomClassList(e){this.#e=e,this.#u()}importGridInfo(e){this.#t=e,this.#p(),this.#m()}importId(e){this.#n=e,this.#T()}importJSONString(e){let t=JSON.parse(e);try{this.#S(t)}catch(e){throw Error(`ImportError: ${e instanceof Error?e.message:e}`)}}importOptions(e){this.#i=e,this.#d()}importScheduledPublishing(e){this.#o=e,e.publishDatetime?this.#l.attr(`data-bgb-publish-datetime`,e.publishDatetime):this.#l.removeAttr(`data-bgb-publish-datetime`),e.unpublishDatetime?this.#l.attr(`data-bgb-unpublish-datetime`,e.unpublishDatetime):this.#l.removeAttr(`data-bgb-unpublish-datetime`),this.#E()}importTypes(e){for(let[t,n]of this.types.entries())n.import(e(t,n))}is(e){return this.#c===e.#c}isDisable(){let e=``;for(let t of this.types)if(e=t.isDisable(),e)break;return e}remove(){this.#l.off(),this.#l.remove()}toJSONStringify(e){return JSON.stringify(this.#_(),null,e)}#u(){this.#C();let t=[];for(let n of this.#e)n&&!e.NG_CUSTOM_CLASS_LIST.includes(n)?t.push(n):alert(`"${n}" というクラス名は使用できません。`);this.#l.addClass(t.join(` `))}#d(){this.#w();let e=[];for(let t of this.#i)t.currentClass&&e.push(t.currentClass.className);this.#l.addClass(e.join(` `))}#f(e){let t=e?`sp-`:``,n=this.#l.find(`[data-bge-grid-changeable]`),r=n.first(),i=n.last(),a=RegExp(`(bgt-${t}grid(?:1[0-2]*|[1-9]))`,`g`),o=(r.attr(`class`)||``).match(a)||[],s=(i.attr(`class`)||``).match(a)||[];if(r.removeClass(o.join(` `)),i.removeClass(s.join(` `)),e&&!this.#t.spEnabled)return;let c=e?this.#t.spRatio:this.#t.normalRatio;if(c){let e=12-c;if(n.length===1){let n=[`left`,`inline-start`,`start`].includes(r.css(`cssFloat`))?c:e;r.addClass(`bgt-${t}grid${n}`)}else n.length>1&&(r.addClass(`bgt-${t}grid${c}`),i.addClass(`bgt-${t}grid${e}`))}}#p(){this.#f(!1)}#m(){this.#f(!0)}#h(){window.clearInterval(this.#s)}#g(){let e=`data-bgb-publish-datetime-range`,t=this.#o.publishDatetime,n=this.#o.unpublishDatetime;if(t==null&&n==null){this.#l.removeAttr(e);return}let r=!1,i=Date.now();t&&i<new Date(t).valueOf()&&(r=!0),n&&new Date(n).valueOf()<i&&(r=!0),this.#l.attr(e,`${!r}`)}#_(){return{typeData:this.types.map(e=>e.export()),options:this.exportOptions(),customClassList:this.exportCustomClassList(),gridInfo:this.exportGridInfo()}}#v(){this.#e=e.extractCustomClass(this.node)}#y(){this.#t=e.extractGridRatio(this.node)}#b(){this.#n=e.extractId(this.node)}#x(){this.#i=e.extractOptions(this.node)}#S(e){for(let[t,n]of e.typeData.entries())this.types[t]?.import(n);this.importOptions(e.options),this.importCustomClassList(e.customClassList),this.importGridInfo(e.gridInfo)}#C(){let e=(this.#l.attr(`class`)||``).split(/\s+/).filter(e=>e.indexOf(`bgb-`)===0);this.#l.attr(`class`,e.join(` `))}#w(){let e=(this.#l.attr(`class`)||``).split(/\s+/).filter(e=>e.indexOf(`bgb-opt--`)!==0);this.#l.attr(`class`,e.join(` `))}#T(){this.#l.attr(`id`,this.#n)}#E(){this.#h(),this.#g(),this.#s=window.setInterval(this.#g.bind(this),1e3*30)}static{this.NG_CUSTOM_CLASS_LIST=[`btn`,`allbtn`]}static extractOptions(e){let t=($(e).attr(`class`)||``).split(/\s+/),n=[];for(let e of t){if(!e||e.indexOf(`bgb-opt--`)!==0&&e.indexOf(`bgb-`)===0)continue;let t=Ag.getOption(e);t&&n.push(t)}return n}static extractCustomClass(e){let t=($(e).attr(`class`)||``).split(/\s+/),n=[];for(let e of t)!e||e.indexOf(`bgb-opt--`)!==0&&e.indexOf(`bgb-`)===0||Ag.getOption(e)||n.push(e);return n}static extractGridRatio(e){let t=$(e),n=t.find(`[data-bge-grid-changeable]`),r={spEnabled:!1,spRatio:6,normalRatio:6};for(let e of[!0,!1])if(n.length>0){let i=e?`sp-`:``,a=+(((n.attr(`class`)||``).match(RegExp(`bgt-${i}grid(1[0-2]*|[1-9])`))||[])[1]||0),o=!!a;if(n.length===1){let e=t.closest(`body`).length>0;e||t.insertAfter(V_.containerElement),[`right`,`inline-end`,`end`].includes(n.css(`cssFloat`))&&(a=12-a),e||t.detach()}e?(r.spEnabled=o,o&&(r.spRatio=a)):r.normalRatio=a}return r}static extractId(e){return e.id}static createUnknownBlock(t){let n=new e(`wysiwyg`);return n.types[0]?.import({ckeditor:t}),n.#l.attr(`data-bgb`,`unknown`),n.#r=`unknown`,n}static#D(e){let t=Y_.find(`[data-bgb="${e}"]`);if(t.length===0)throw Error(`Do not get BurgerBlock template. "${e}" block is not exist.`);return t.clone()[0]}},Zg=class extends Og{constructor(){super(document.createElement(`div`)),this.node.classList.add(`nodata-button`),this.node.dataset.bge=`initial-insertion`,this.node.innerHTML=`<button class="insert_after" type="button">下に要素を追加</button>`;let e=this.node.querySelector(`button`);e&&e.addEventListener(`click`,this.#e.bind(this))}#e(){B_.isProcessed||(this.hide(),X_.initSet(),H_.open())}},Qg=class e{static get origin(){return`${location.protocol}//${location.hostname}${location.port?`:`+location.port:``}`}static nl2br(e){return`${e}`.replaceAll(/\r\n|\n\r|\r|\n/g,`<br />`)}static br2nl(e){return`${e}`.replaceAll(/<\s*br\s*\/?>/g,`\r
41
+ `)}static formatByteSize(e,t=2,n=!0){let r=e,i=0,a=[`byte`,`kB`,`MB`,`GB`,`TB`,`PB`,`EB`];if(n){for(;r>1024;)r/=1024,i+=1;return i===0&&(t=0),r.toFixed(t)+a[i]}else return e+a[0]}static parseYTId(e){let t=``;if(!e)return t;let n=e.match(/(?:youtu\.be\/|youtube\.com(?:\/embed\/|\/v\/|\/watch\?v=|\/user\/\S+|\/ytscreeningroom\?v=))([\w-]{10,12})\b/);return t=n?n[1]??``:e,t}static getDialogSize(e,t,n=50){let r;switch(t){case`width`:r=window.document.documentElement?window.document.documentElement.clientWidth:0;break;case`height`:r=window.document.documentElement?window.document.documentElement.clientHeight:0;break;default:return 0}return Math.min(r-n,e)}static isValidAsClassName(e){return/^-?[_a-z][\w-]*$/i.test(e)}static getBackgroundImagePath(t){return decodeURI(t.replace(/^url\(["']?([^"']+)["']?\)$/i,`$1`).replace(e.origin,``))}static dataOptimize(e){return Fg(e.map(e=>[e.key,e.datum,e.isArray]))}static base64encode(e){let t=new TextEncoder().encode(e);return btoa(String.fromCodePoint(...t))}static base64decode(e){let t=Uint8Array.from(atob(e),e=>e.codePointAt(0));return new TextDecoder().decode(t)}},$g=class e{static autoMigration(e){let t=$(e);t.find(`[data-bgt="download-file"] [data-bge="url:href"]`).each((e,t)=>{$(t).attr(`data-bge`,`path:href`)}),t.find([`[data-bgt="image"]`,`[data-bgt="image-link"]`,`[data-bgt="trimmed-image"]`,`[data-bgt="trimmed-image-link"]`].join(`,`)).each((e,t)=>{let n=$(t),r=n.find(`[data-bge="popup"]`);if(r.length>0){let e=Jg.contentExport(t),i=e.path,a=e.path,o=n.find(`>div`);o.attr(`data-bge-popup`,a?`1`:`0`),o.attr(`data-bge-empty`,/bg-noimage\.gif$/.test(i)?`1`:`0`),o.attr(`data-bge`,`popup:data-bge-popup, empty:data-bge-empty`),r.remove(),n.attr(`data-bgt-ver`,`v2.5.0`)}}),t.find(`[data-bgt="button"] a[role]`).each((e,t)=>{$(t).removeAttr(`role`)}),t.find(`[data-bgt="table"] table[summary]`).each((e,t)=>{$(t).removeAttr(`summary`)})}static check(t){let n=$(t);e.autoMigration(t);let r=0;for(let e of n.find(`[data-bgt]`).toArray()){let t=Jg.getInstance(e);t&&t.isOld&&(console.log(`Old Block: ${t.name}`),r++)}let i=!!r,a=n.find(`> :not([data-bgb]), > *[data-bgb="unknown"]`).length,o=!!a;console.info(`Old Blocks: ${r}, Unknown Blocks: ${a}`);let s=$(`#ValueMigrationMessage`).hide();if(s.empty(),o||i){s.show(),s.append(`<p>BurgerEditorで作成されていないコンテンツが含まれているか、<br>古いバージョンのブロックが使われています</p>`),s.append(`<p>ブロックをアップデートしますか?</p>`);let n=$(`<button type="button">アップデートする</button>`);n.appendTo(s),n.on(`click`,async()=>(n.html(`アップデート中...<span></span>`),n.prop(`disabled`,!0),await e.migration(t),iv(),!1))}}static async migration(e){let t=$(e);for(let t of e.querySelectorAll(`[data-bgt]`)){let e=Jg.getInstance(t);if(!e)throw Error(`data-bgt属性を持っていますが、BurgerTypeインスタンスに紐付けられていません。`);await e.upgrade()}t.find(`[data-bgb="unknown"]`).each(function(){let e=$(this),t=e.find(`.bgb-container, .bg-editor-block-container, .cb-editor-block-container`);if(t.hasClass(`DownloadFile`)){let n=new Q(`download-file`),r,i=e.find(`[data-type-version]`).attr(`data-type-version`)||``;if(e.find(`[data-bge]`).length>0&&sv.gte(i,`2.0.0`))r=Jg.contentExport(e.get(0));else{let t=e.find(`.bge-download-file-url`).val()||``;r={name:e.find(`.bge-download-file-name, .cbe-download-file-name`).html(),path:Array.isArray(t)?t[0]:t,size:0,"formated-size":`0kB`}}n.types[0]?.import(r),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}if(t.hasClass(`GoogleMaps`)||t.hasClass(`GoogleMap`)){let n=new Q(`google-maps`),r,i=e.find(`[data-type-version]`).attr(`data-type-version`)||``;if(e.find(`[data-bge]`).length>0&&sv.gte(i,`2.10.0`))r=Jg.contentExport(e.get(0));else{let t=Number.parseFloat(e.find(`.bge-lat, .cbe-lat`).val()),n=Number.parseFloat(e.find(`.bge-lng, .cbe-lng`).val());r={lat:t,lng:n,zoom:e.find(`.bge-zoom, .cbe-zoom`).val(),url:`//maps.apple.com/?q=${t},${n}`}}n.types[0]?.import(r),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}let n=(e,n)=>{let r=$(n),i,a=r.find(`[data-type-version]`).attr(`data-type-version`)||``;return i=r.find(`[data-bge]`).length>0&&sv.gte(a,`2.0.0`)?Jg.contentExport(r.get(0)):t.hasClass(`cb-editor-type`)?{path:r.find(`.cbe-image-link-url`).val().replace(`cbeditor`,`bgeditor`).replace(`cb-noimage.gif`,`bg-noimage.gif`).replace(`cb-sample.png`,`bg-sample.png`),link:r.find(`.cbe-image-link-link`).val(),target:r.find(`.cbe-image-link-target`).val()===`1`?`_blank`:``,caption:r.find(`.cbe-image-link-caption`).html(),alt:r.find(`.cbe-image-link-caption`).text()}:{path:r.find(`.bge-image-link-url`).val(),link:r.find(`.bge-image-link-link`).val(),target:r.find(`.bge-image-link-target`).val()===`1`?`_blank`:``,caption:r.find(`.bge-image-link-caption`).html(),alt:r.find(`.bge-image-link-caption`).text()},i};if(t.hasClass(`ImageLink1`)){let r=new Q(`image-link1`);r.importTypes(t=>n(t,e.find(`.bg-editor-type, .cb-editor-type, [data-bge-type]`).get(t))),r.importOptions(Q.extractOptions(t.get(0))),r.importCustomClassList(Q.extractCustomClass(t.get(0))),r.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(r.node),e.remove()}if(t.hasClass(`ImageLink2`)){let r=new Q(`image-link2`);r.importTypes(t=>n(t,e.find(`.bg-editor-type, .cb-editor-type, [data-bge-type]`).get(t))),r.importOptions(Q.extractOptions(t.get(0))),r.importCustomClassList(Q.extractCustomClass(t.get(0))),r.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(r.node),e.remove()}if(t.hasClass(`ImageLink3`)){let r=new Q(`image-link3`);r.importTypes(t=>n(t,e.find(`.bg-editor-type, .cb-editor-type, [data-bge-type]`).get(t))),r.importOptions(Q.extractOptions(t.get(0))),r.importCustomClassList(Q.extractCustomClass(t.get(0))),r.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(r.node),e.remove()}let r=(e,t)=>{let n=$(t),r;return r=n.find(`[data-bge]`).length>0?Jg.contentExport(n.get(0)):{path:n.find(`.bge-image-link-trimmed-url`).val(),link:n.find(`.bge-image-link-trimmed-link`).val(),target:n.find(`.bge-image-link-trimmed-target`).val()===`1`?`_blank`:``,caption:n.find(`.bge-image-link-trimmed-caption`).html(),alt:n.find(`.bge-image-link-trimmed-caption`).text()},r};if(t.hasClass(`SquareImageLink2`)){t.removeClass(`SquareImageLink2`);let n=new Q(`trimmed-image-link2`);n.importTypes(t=>r(t,e.find(`.bg-editor-type, .cb-editor-type, [data-bge-type]`).get(t))),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}if(t.hasClass(`SquareImageLink3`)){t.removeClass(`SquareImageLink3`);let n=new Q(`trimmed-image-link3`);n.importTypes(t=>r(t,e.find(`.bg-editor-type, .cb-editor-type, [data-bge-type]`).get(t))),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}let i=(e,n)=>{let r=$(n),i;return i=r.find(`[data-bge]`).length>0?Jg.contentExport(r.get(0)):t.hasClass(`cb-editor-type`)?{path:r.find(`.cbe-image-url`).val().replace(`cbeditor`,`bgeditor`).replace(`cb-noimage.gif`,`bg-noimage.gif`).replace(`cb-sample.png`,`bg-sample.png`),popup:r.find(`.cbe-image-popup`).val()===`1`,caption:r.find(`.cbe-image-caption`).html(),alt:r.find(`.cbe-image-caption`).text()}:{path:r.find(`.bge-image-url`).val(),popup:r.find(`.bge-image-popup`).val()===`1`,caption:r.find(`.bge-image-caption`).html(),alt:r.find(`.bge-image-caption`).text()},i};if(t.hasClass(`Image1`)){let n=new Q(`image1`);n.importTypes(t=>i(t,e.find(`.bg-editor-type, .cb-editor-type, [data-bge-type]`).get(t))),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}if(t.hasClass(`Image2`)){let n=new Q(`image2`);n.importTypes(t=>i(t,e.find(`.bg-editor-type, .cb-editor-type, [data-bge-type]`).get(t))),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}if(t.hasClass(`Image3`)){let n=new Q(`image3`);n.importTypes(t=>i(t,e.find(`.bg-editor-type, .cb-editor-type, [data-bge-type]`).get(t))),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}if(t.hasClass(`Image4`)){let n=new Q(`image4`);n.importTypes(t=>i(t,e.find(`.bg-editor-type, .cb-editor-type, [data-bge-type]`).get(t))),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}if(t.hasClass(`Image5`)){let n=new Q(`image5`);n.importTypes(t=>i(t,e.find(`.bg-editor-type, .cb-editor-type, [data-bge-type]`).get(t))),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}let a=(e,t)=>{let n=$(t),r;return r=n.find(`[data-bge]`).length>0?Jg.contentExport(n.get(0)):{path:n.find(`.bge-image-trimmed-url`).val(),link:n.find(`.bge-image-trimmed-link-link`).val(),target:n.find(`.bge-image-trimmed-link-target`).val()===`1`?`_blank`:``,caption:n.find(`.bge-image-trimmed-caption`).html(),alt:n.find(`.bge-image-trimmed-caption`).text()},r};if(t.hasClass(`SquareImage2`)){t.removeClass(`SquareImage2`);let n=new Q(`trimmed-image2`);n.importTypes(t=>a(t,e.find(`.bg-editor-type, .cb-editor-type, [data-bge-type]`).get(t))),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}if(t.hasClass(`SquareImage3`)){t.removeClass(`SquareImage3`);let n=new Q(`trimmed-image3`);n.importTypes(t=>a(t,e.find(`.bg-editor-type, .cb-editor-type, [data-bge-type]`).get(t))),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}if(t.hasClass(`Table`)){let n=new Q(`table`),r;if(t.find(`[data-bge]`).length>0)r=Jg.contentExport(e.get(0));else{r={};let t=e.find(`.bge-table-full, .cbe-table-full`).val();$(t).find(`tr`).each((e,t)=>{let n=$(t);r[`th-${e}`]=n.find(`th`).html(),r[`td-${e}`]=n.find(`td`).html()})}n.types[0]?.import(r),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}let o=e=>{let n=$(e),r,i=n.find(`[data-type-version]`).attr(`data-type-version`)||``;return r=n.find(`[data-bge]`).length>0&&sv.gte(i,`2.0.0`)?Jg.contentExport(n.get(0)):t.hasClass(`cb-editor-block-container`)?{path:n.find(`.cbe-image-url`).val().replace(`cbeditor`,`bgeditor`).replace(`cb-noimage.gif`,`bg-noimage.gif`).replace(`cb-sample.png`,`bg-sample.png`),popup:n.find(`.cbe-image-popup`).val()===`1`,caption:n.find(`.cbe-image-caption`).html(),alt:n.find(`.cbe-image-caption`).text(),ckeditor:n.find(`.TypeCKEditor .cbe-ckeditor`).html()}:{path:n.find(`.bge-image-url`).val(),popup:n.find(`.bge-image-popup`).val()===`1`,caption:n.find(`.bge-image-caption`).html(),alt:n.find(`.bge-image-caption`).text(),ckeditor:n.find(`.TypeCKEditor .bge-ckeditor`).html()},r};if(t.hasClass(`TextFloatImage1`)){let n=new Q(`text-float-image1`),{path:r,popup:i,caption:a,alt:s,ckeditor:c}=o(e.get(0));n.types[0]?.import({path:r,popup:i,caption:a,alt:s}),n.types[1]?.import({ckeditor:c}),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}if(t.hasClass(`TextFloatImage2`)){let n=new Q(`text-float-image2`),{path:r,popup:i,caption:a,alt:s,ckeditor:c}=o(e.get(0));n.types[0]?.import({path:r,popup:i,caption:a,alt:s}),n.types[1]?.import({ckeditor:c}),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}let s=e=>{let n=$(e),r,i=n.find(`[data-type-version]`).attr(`data-type-version`)||``;return r=n.find(`[data-bge]`).length>0&&sv.gte(i,`2.0.0`)?Jg.contentExport(n.get(0)):t.hasClass(`cb-editor-block-container`)?{path:n.find(`.cbe-image-url`).val().replace(`cbeditor`,`bgeditor`).replace(`cb-noimage.gif`,`bg-noimage.gif`).replace(`cb-sample.png`,`bg-sample.png`),popup:n.find(`.cbe-image-popup`).val()===`1`,caption:n.find(`.cbe-image-caption`).html(),alt:n.find(`.cbe-image-caption`).text(),ckeditor:n.find(`.TypeCKEditor .cbe-ckeditor`).html()}:{path:n.find(`.bge-image-url`).val(),popup:n.find(`.bge-image-popup`).val()===`1`,caption:n.find(`.bge-image-caption`).html(),alt:n.find(`.bge-image-caption`).text(),ckeditor:n.find(`.TypeCKEditor .bge-ckeditor`).html()},r};if(t.hasClass(`TextImage1`)){let n=new Q(`text-image1`),{path:r,popup:i,caption:a,alt:o,ckeditor:c}=s(e.get(0));n.types[0]?.import({ckeditor:c}),n.types[1]?.import({path:r,popup:i,caption:a,alt:o}),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}if(t.hasClass(`TextImage2`)){let n=new Q(`text-image2`),{path:r,popup:i,caption:a,alt:o,ckeditor:c}=s(e.get(0));n.types[0]?.import({path:r,popup:i,caption:a,alt:o}),n.types[1]?.import({ckeditor:c}),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}if(t.hasClass(`TextImage2`)){let n=new Q(`text-image2`),{path:r,popup:i,caption:a,alt:o,ckeditor:c}=s(e.get(0));n.types[0]?.import({path:r,popup:i,caption:a,alt:o}),n.types[1]?.import({ckeditor:c}),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}if(t.hasClass(`Image2Text2`)){let n=new Q(`image-text2`);n.importTypes(t=>s(e.find(`.bg-editor-type, .cb-editor-type, [data-bge-type]`).get(t))),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}if(t.hasClass(`Image3Text3`)){let n=new Q(`image-text3`);n.importTypes(t=>s(e.find(`.bg-editor-type, .cb-editor-type, [data-bge-type]`).get(t))),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}let c=e=>{let t=$(e),n,r=t.find(`[data-type-version]`).attr(`data-type-version`)||``;return n=t.find(`[data-bge]`).length>0&&sv.gte(r,`2.0.0`)?Jg.contentExport(t.get(0)):{path:t.find(`.bge-image-link-url`).val(),link:t.find(`.bge-image-link-link`).val(),caption:t.find(`.bge-image-link-caption`).html(),alt:t.find(`.bge-image-link-caption`).text(),ckeditor:t.find(`.TypeCKEditor .bge-ckeditor`).html()},n};if(t.hasClass(`ImageLink2Text2`)){let n=new Q(`image-link-text2`);n.importTypes(t=>c(e.find(`.bg-editor-type, .cb-editor-type, [data-bge-type]`).get(t))),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}if(t.hasClass(`ImageLink3Text3`)){let n=new Q(`image-link-text3`);n.importTypes(t=>c(e.find(`.bg-editor-type, .cb-editor-type, [data-bge-type]`).get(t))),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}if(t.hasClass(`Title`)){let n=new Q(`title`);n.types[0]?.import({"title-h2":e.find(`h2`).html()}),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}if(t.hasClass(`Title2`)){let n=new Q(`title2`);n.types[0]?.import({"title-h3":e.find(`h3`).html()}),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}if(t.hasClass(`Wysiwyg`)){let n;n=t.hasClass(`cb-editor-block-container`)?e.find(`.TypeCKEditor .cbe-ckeditor`).html():e.find(`.TypeCKEditor .bge-ckeditor`).html();let r=new Q(`wysiwyg`);r.types[0]?.import({ckeditor:n}),r.importOptions(Q.extractOptions(t.get(0))),r.importCustomClassList(Q.extractCustomClass(t.get(0))),r.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(r.node),e.remove()}if(t.hasClass(`Wysiwyg2`)){let n,r;t.hasClass(`cb-editor-block-container`)?(n=e.find(`.TypeCKEditor .cbe-ckeditor`).eq(0).html(),r=e.find(`.TypeCKEditor .cbe-ckeditor`).eq(1).html()):(n=e.find(`.TypeCKEditor .bge-ckeditor`).eq(0).html(),r=e.find(`.TypeCKEditor .bge-ckeditor`).eq(1).html());let i=new Q(`wysiwyg2`);i.types[0]?.import({ckeditor:n}),i.types[1]?.import({ckeditor:r}),i.importOptions(Q.extractOptions(t.get(0))),i.importCustomClassList(Q.extractCustomClass(t.get(0))),i.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(i.node),e.remove()}if(t.hasClass(`Youtube`)){let n=new Q(`youtube`),r,i=e.find(`[data-type-version]`).attr(`data-type-version`)||``;if(e.find(`[data-bge]`).length>0&&sv.gte(i,`2.0.0`))r=Jg.contentExport(e.get(0));else{let t=e.find(`.bge-youtube-url, .cbe-youtube-url`).val(),n=Qg.parseYTId(t);r={id:n,thumb:`//img.youtube.com/vi/`+n+`/mqdefault.jpg`}}n.types[0]?.import(r),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}if(t.hasClass(`Button`)){let n=new Q(`button`);n.types[0]?.import(Jg.contentExport(e.get(0))),n.importOptions(Q.extractOptions(t.get(0))),n.importCustomClassList(Q.extractCustomClass(t.get(0))),n.importGridInfo(Q.extractGridRatio(t.get(0))),e.after(n.node),e.remove()}}),t.find(`[data-bgb="unknown"]`).each((e,t)=>{let n=$(t),r=n.find(`.bge-ckeditor`).html(),i=new Q(`wysiwyg`);i.types[0]?.import({ckeditor:r}),i.importOptions(Q.extractOptions(n.get(0))),i.importCustomClassList(Q.extractCustomClass(n.get(0))),i.importId(Q.extractId(n.get(0))),i.importGridInfo(Q.extractGridRatio(n.get(0))),n.after(i.node),n.remove()}),$(`#ValueMigrationMessage`).html(`<p>アップデートに成功しました。</p><p>この変更を公開側に反映するには「保存」する必要があります。</p>`).addClass(`bge-vmm--success`)}},e_=10,t_=`bge-content`,n_=[`bge-contents`,`bge_contents`,`bge_content`],r_=class extends Og{#e;#t;#n;#r=!0;#i;#a;#o;get containerElement(){return this.#e}get isVisualMode(){return this.#r}constructor(e,t,n){if(super(e),!e||!t)throw Error(`コンテンツを保持する要素の取得に失敗しました。`);this.#a=t,this.#o=`${n}_${encodeURI(location.pathname+location.search)}`;let r=sessionStorage.getItem(this.#o);if(r&&r.trim()!==t.value.trim()&&confirm(`前回編集したデータが残っています。復元しますか?
42
+ (「キャンセル」を選択すると保存済みの内容を使用します)`)&&(this.#a.value=r),s_(n),e.dataset.component=`ContentArea`,this.#i=document.createElement(`textarea`),this.#i.spellcheck=!1,e.append(this.#i),this.#t=document.createElement(`iframe`),this.#t.setAttribute(`width`,`100%;`),this.#t.setAttribute(`scrolling`,`no`),e.append(this.#t),!this.#t.contentWindow)throw Error(`Impossible error: The contentWindow of created iframe is null.`);this.#t.contentWindow.document.open(),this.#t.contentWindow.document.close();let i=a_(`link[href*="bge_style_default.css"]`),a=a_(`link[href*="bge_style.css"]`),o=i_(`link[href*="burger_editor.css"]`);this.#t.contentWindow.document.head&&(i&&this.#t.contentWindow.document.head.append(o_(i,this.#t.contentWindow)),a&&this.#t.contentWindow.document.head.append(o_(a,this.#t.contentWindow)),o&&this.#t.contentWindow.document.head.append(o_(o,this.#t.contentWindow))),this.#t.contentWindow.document.body.setAttribute(`style`,`margin: 0; border: 0;`),this.#e=this.#t.contentWindow.document.createElement(`div`),this.#e.id=t_,this.#e.style.padding=`${e_}px`,this.#e.style.overflow=`hidden`;let s=[...n_];z_.setting?.wrapperClass&&s.push(z_.setting?.wrapperClass),this.#e.setAttribute(`class`,s.join(` `)),this.#e.innerHTML=t.value,this.blockMenu=new kg(this.#t.contentWindow.document.createElement(`div`)),this.#n=new Zg;let c=this.#t.contentWindow.document.createDocumentFragment();c.append(this.blockMenu.getNode()),c.append(this.#n.getNode()),c.append(this.#e),this.#t.contentWindow.document.body.append(c),window.addEventListener(`resize`,this.#u.bind(this),!0),window.addEventListener(`DOMContentLoaded`,this.#u.bind(this),!1),window.document.addEventListener(`load`,this.#u.bind(this),!0),this.#t.contentWindow.addEventListener(`resize`,this.#u.bind(this),!0),this.#t.contentWindow.addEventListener(`DOMContentLoaded`,this.#u.bind(this),!1),this.#t.contentWindow.document.addEventListener(`load`,this.#u.bind(this),!0),this.#i.addEventListener(`blur`,this.#c.bind(this),!1),this.#s(),this.#f(!0);let l=$(`.edit-inner`);$(this.containerElement).on(`mousemove`,`[data-bgt]`,e=>{requestAnimationFrame(()=>{let t=this.getNode().getBoundingClientRect();l.show(),l.css({left:e.pageX+t.left+window.pageXOffset,top:e.pageY+t.top+window.pageYOffset})})}).on(`mouseleave`,`[data-bgt]`,()=>{l.hide()})}check(){$g.check(this.containerElement)}copyTo(e){e.setContentsAsString(this.getContentsAsString()),e.#s()}getContentsAsString(){return this.#e.innerHTML.trim()}isEmpty(){return this.getContentsAsString()===``}isSame(e){return this.getContentsAsString()===e.getContentsAsString()}save(e){if(e)this.#a.value=e;else{let e=$(this.#e),t=new Set([`class`,`id`,`data-bgb`,`data-bgb-publish-datetime`,`data-bgb-unpublish-datetime`,`data-bgb-publish-datetime-range`]);e.find(`[data-bgb]`).each((e,n)=>{let r=n.attributes;for(let e=0,i=r.length;e<i;e++){let i=r.item(e);i&&!t.has(i.name)&&n.removeAttribute(i.name)}}),X_.unset();let n=this.getContentsAsString();this.#a.value=n,this.#i.value=n}sessionStorage.setItem(this.#o,this.#a.value),this.update()}setContentsAsDOM(e){this.#e.innerHTML=``,this.#e.append(e)}setContentsAsString(e){this.#e.innerHTML=e.trim()}toggleDisplayMode(){this.#c(),this.#f(!this.#r)}update(){this.#u(),this.#d()}#s(){let e=$(this.containerElement);if(!this.isEmpty()&&e.find(`[data-bgb], .bgb-container, .bg-editor-block-container, .cb-editor-block-container`).length===0){let e=Q.createUnknownBlock(this.getContentsAsString());this.setContentsAsDOM(e.node)}else e.find(`>:not([data-bgb])`).each((e,t)=>{Q.createUnknownBlock(t.outerHTML),t.remove()}),e.find(`[data-bgb]`).each((e,t)=>{new Q(t)});this.check(),this.save()}#c(){this.#r||(this.setContentsAsString(this.#i.value),this.save())}#l(){let e=this.#e.getBoundingClientRect().height+e_*2;this.#t.setAttribute(`height`,`${e}`)}#u(){`requestAnimationFrame`in window?requestAnimationFrame(()=>this.#l()):this.#l()}#d(){this.isEmpty()?this.#n.show():this.#n.hide()}#f(e){this.#r=e,this.node.dataset.componentMode=this.#r?`visual`:`source`,this.#t.hidden=!e,this.#i.hidden=!!e,this.#i.disabled=!!e}};function i_(e){let t=document.querySelector(e);if(!t)throw Error(`CSS用のlink要素の取得に失敗しました。`);return t.getAttribute(`href`)}function a_(e){let t=document.querySelector(e);if(!t)return console.warn(`CSS用のlink要素(${e})が存在しないため取得をしませんでした。`),null;let n=t.getAttribute(`href`);return t.type=`text/bge-css-copied`,t.rel=`nofollow`,n}function o_(e,t){let n=t.document.createElement(`link`);return n.rel=`stylesheet`,n.href=e,n}function s_(e){for(let t=0,n=sessionStorage.length;t<n;t++){let n=sessionStorage.key(t);n?.startsWith(e)&&sessionStorage.removeItem(n)}}var c_=class extends r_{constructor(e,t){super(e,t,`bge-draft-content`),this.hide()}copyTo(e){super.copyTo(e)}},l_=class extends Og{constructor(){super(document.createElement(`div`)),this.node.dataset.bge=`insertion-point`}initSet(){V_.containerElement.append(this.node)}insert(e){return new Promise(t=>{B_.isProcessed=!0,this.node.append(e.node),V_.update(),this.node.style.height=`auto`,this.node.style.height=`${this.node.getBoundingClientRect().height}px`,$(this.node).hide().slideDown().promise().done(()=>{$(e.node).unwrap(),B_.isProcessed=!1,iv(),t(e)})})}set(e,t=!0){let n=e.node;t?V_.containerElement.insertBefore(this.node,n.nextSibling):V_.containerElement.insertBefore(this.node,n)}unset(){this.node.innerHTML===``&&(this.node.remove||this.node.parentNode)&&this.node.remove()}},u_=class extends r_{constructor(e,t){super(e,t,`bge-main-content`),this.show()}copyTo(e){super.copyTo(e)}},d_=class{#e;constructor(){this.#e=$(`body`)}notify(e,t){this.#e.trigger(e,[t])}off(){this.#e.off()}on(e,t,n){this.#e.on(e,(e,r)=>{t.call(n,r)})}},f_=class{#e;get node(){return this.#e}get $el(){return $(this.#e)}constructor(e,t){this.#e=e,this.editorDialog=t}afterInit(){}},p_=class extends f_{constructor(e,t){super(e,t),G_.on(`bge-file-upload-complete`,this.#n,this),G_.on(`bge-file-upload-error`,this.#r,this),G_.on(`bge-file-delete-success`,this.#t,this),G_.on(`bge-file-delete-error`,this.#e,this)}#e(e){let t=this.$el;t.html(`<p style="color:red;">ファイルの削除に失敗しました(${e})</p>`).delay(500).slideDown(()=>{t.delay(2e3).slideUp(()=>{t.empty()})})}#t(){let e=this.$el;e.html(`<p style="color:green;">ファイルの削除が完了しました</p>`).delay(500).slideDown(()=>{e.delay(2e3).slideUp(()=>{e.empty()})})}#n(){let e=this.$el;e.html(`<p style="color:green;">アップロードが完了しました</p>`).delay(500).slideDown(()=>{e.delay(2e3).slideUp(()=>{e.empty()})})}#r(e){let t=this.$el;t.html(`<p style="color:red;">アップロードに失敗しました(${e})</p>`).delay(500).slideDown(()=>{t.delay(2e3).slideUp(()=>{t.empty()})})}},m_=class{#e;#t;constructor(e,t){this.#e=e,this.#t=t}send(e,t){let n=new FormData;n.append(this.#e,e,e.name),t&&n.append(`_csrfToken`,t);let r=new XMLHttpRequest;r.addEventListener(`load`,this.#n.bind(this),!1),r.addEventListener(`error`,this.#r.bind(this),!1),r.open(`POST`,this.#t,!0),r.send(n)}#n(e){if(!e.target)return;let t=JSON.parse(e.target.responseText);t.error?G_.notify(`bge-file-upload-error`,`Server Error`):G_.notify(`bge-file-upload-complete`,t)}#r(){G_.notify(`bge-file-upload-error`,`XHR Error`)}},h_=class extends f_{constructor(e,t){super(e,t),this.$container=$(`<div class="bge-file-uploader-container" />`),this.$drop=$(`<div class="bge-file-uploader-drop-area" />`),this.$el.wrap(this.$drop),this.$drop.wrap(this.$container),this.$el.on(`change`,this.#e.bind(this)),this.$drop.on(`drop`,this.#t.bind(this)),this.uploadURL=z_.api?z_.api.fileUpload:null,this.editorDialog.$el.on(`dragenter`,e=>{this.editorDialog.$el.addClass(`bge-state-drag`),e.preventDefault()}).on(`dragover`,e=>{e.preventDefault()}).on(`drop`,this.#t.bind(this)).on(`dragend mouseleave mouseenter`,e=>{this.editorDialog.$el.removeClass(`bge-state-drag`),e.stopPropagation()})}#e(e){let t=e.originalEvent.target.files;t&&this.#r(t)}#t(e){let t=e.originalEvent;if(t.dataTransfer){let e=t.dataTransfer.files;this.#r(e)}this.editorDialog.$el.removeClass(`bge-state-drag`),e.preventDefault()}#n(e,t){if(Eg.default.lt(z_.cmsVersion,`5.0.0`)){e.send(t);return}let n=new XMLHttpRequest,r=$.bcUtil?.baseUrl||``;n.open(`GET`,`${r}/baser-core/bc_form/get_token?requestview=false`),n.addEventListener(`load`,()=>{n.readyState===4&&n.status===200&&e.send(t,n.responseText)}),n.send()}#r(e){if(this.uploadURL){let t=new m_(this.$el.attr(`name`)||`${this.$el.data(`post-name`)}`,this.uploadURL);for(let n of e)this._fileValidation(n)&&this.#n(t,n)}else console.warn(`アップロードAPIのパスが不明です。`)}_fileValidation(e){return!!e}},g_=class extends h_{constructor(e,t){super(e,t),this.uploadURL=z_.api?z_.api.imgUpload:null}_fileValidation(e){let t;switch(e.type.toLocaleLowerCase()){case`image/jpeg`:case`image/gif`:case`image/png`:t=!0;break;default:G_.notify(`bge-file-upload-error`,`画像ファイル以外はアップロードできません`),t=!1}return t}},__=class extends f_{#e;#t;constructor(e,t){super(e,t),G_.on(`bge-multi-field-add`,this.#n,this),this.#t=this.$el.find(`[data-bge-list]`),this.#e=this.#t.children().first().clone()}#n(e){let t=this.#e.clone();for(let n of Object.keys(e)){let r=e[n];t.find(`[name="bge-${n}"]`).val(`${r}`);let i=t.find(`[data-bge*="${n}"]`).get(0);i&&Jg.datumToElement(n,`${r}`,i)}this.#t.append(t)}},v_=class extends f_{#e=!0;#t=null;constructor(e,t){super(e,t),this.$el.prop(`disabled`,!0),this.$el.on(`click`,this.#n.bind(this)),G_.on(`bge-file-select`,this.#r,this)}#n(){return this.#t&&G_.notify(`bge-multi-field-add`,{path:this.#t,isEmpty:this.#e}),!1}#r({path:e,isEmpty:t}){this.#t=e,this.#e=t,e&&!t?this.$el.prop(`disabled`,!1):this.$el.prop(`disabled`,!0)}},y_=class extends f_{#e=null;constructor(e,t){super(e,t),this.$el.on(`click`,this.#t.bind(this)),this.deleteURL=z_.api?z_.api.fileDelete:null,G_.on(`bge-file-select`,this.#n,this)}async#t(){if(this.deleteURL){let e=this.$el.parents(`#ContentsEditArea`),t=this.#e;if(!t){alert(`ファイルが選択されていません。`);return}if(!confirm(`ファイルを削除します。よろしいですか?
43
+ ※ 記事にて利用中のファイルがあった場合 表示されなくなります`))return;let n;Eg.default.gte(z_.cmsVersion,`5.0.0`)&&(await new Promise(e=>{$.bcToken?.check(()=>{e()})}),n=$.bcToken?.key??void 0),await $.ajax(this.deleteURL,{cache:!1,type:`POST`,data:{file:t,_csrfToken:n},success:n=>{switch(n){case`1`:e.find(`div.selected`).remove(),e.find(`[name=bge-path][value="${t}"]`).val(``),G_.notify(`bge-file-delete-success`,null);break;default:G_.notify(`bge-file-delete-error`,``)}}})}else console.warn(`削除APIのパスが不明です。`)}#n({path:e}){this.#e=e||null}},b_=class extends f_{constructor(e,t){super(e,t),this.currentPageNo=1,this.listURL=z_.api?z_.api.fileList:null,this.pageMaxNumber=0,this.pageSplitCount=10,this.searchWord=``;let n=t.$el;G_.on(`bge-file-upload-complete`,this.#a,this),G_.on(`bge-file-listup`,this.#n,this),G_.on(`bge-file-delete-success`,this.#e,this),n.on(`click`,`.bg-upload-file`,e=>this._fileClick(e)),n.on(`dblclick`,`.bg-upload-file`,e=>this._fileDbClick(e)),n.on(`click`,`[data-bge-pagelink]`,async e=>{let t=$(e.currentTarget),n=Number.parseFloat(t.attr(`data-bge-pagelink`)||``)||0;return await this.#r(this.searchWord,n),!1}),n.on(`click`,`.page-ctrl button`,async e=>{let t=$(e.currentTarget),n=Number.parseFloat(t.attr(`data-bge-page-vector`)||``)||0;return await this.#r(this.searchWord,this.currentPageNo+n),!1})}#e(){this.#r(``,this.currentPageNo)}#t(e){let t=[`
44
+ <div
45
+ class="pagination"
46
+ data-bge-page-index="${e-1}"
47
+ data-bge-page-last-index="${this.pageMaxNumber-e}"
48
+ data-bge-page-max="${this.pageMaxNumber}">`,`
49
+ <div class="page-ctrl page-ctrl--prev"}>
50
+ <button ${e===1?`disabled`:``} type="button" data-bge-page-vector="-1">前</button>
51
+ </div>`,`<div class="page-numbers">`];for(let n=1;n<=this.pageMaxNumber;n++)t.push(`
52
+ <button
53
+ type="button"
54
+ class="number"
55
+ data-bge-current="${+(e===n)}"
56
+ data-bge-page-dist="${Math.abs(e-n)}"
57
+ data-bge-pagelink="${n}"
58
+ data-bge-page-index="${n-1}"
59
+ data-bge-page-last-index="${this.pageMaxNumber-n}"
60
+ >
61
+ ${n}
62
+ </button>`);return t.push(`</div>`,`
63
+ <div class="page-ctrl page-ctrl--next">
64
+ <button ${e===this.pageMaxNumber?`disabled`:``} type="button" data-bge-page-vector="1">次</button>
65
+ </div>`,`</div>`),t.join(``).replaceAll(` `,``)}#n(e=``){this.#r(e,1)}#r(e=``,t=0,n=``){let r=``;return r=n==``?this.$el.parents(`#ContentsEditArea`).find(`[name=bge-path]`).val():n,new Promise((n,i)=>{this.listURL?$.ajax(this.listURL,{cache:!1,type:`GET`,data:{word:e,page:t,selected:r},dataType:`json`,success:t=>{this.searchWord=e,this.#i(t.data,t.pagination),n()}}):(console.warn(`ファイルリストAPIのパスが不明です。`),i())})}#i(e,t){this.$el.children().remove(),this.pageMaxNumber=t.pageMaxNumber;let n=[`<div data-bge-page="${t.currentPageNumber}">`],r=-1;$.each(e,(e,i)=>{let a=e===0&&(i.fileId===``||i.fileid===``)&&i.size===0,o=i.fileId===t.selectedFileId;o&&(r=e),n.push(`<div class="bg-upload-file ${o?`selected`:``}" data-org-src="${i.url}" data-file-size="${i.size}" data-bge-empty="${a?`1`:`0`}">
66
+ <div class="file-box ${a?`file-box--no-image`:``}" data-org-src="${i.url}"></div>
67
+ <div class="file-info">
68
+ <p><span class="file-info__label">ID</span><span class="bg-upload-id">${i.fileId??i.fileid}</span></p>
69
+ <p><span class="file-info__label">名称</span><span class="bg-upload-filename" style="word-wrap: break-word;">${i.name}</span></p>
70
+ <p><span class="file-info__label">更新</span>${i.filetime}</p>
71
+ <p><span class="file-info__label">サイズ</span>${Qg.formatByteSize(i.size)}</p>
72
+ </div>
73
+ </div>`)}),n.push(`</div>`),this.$el.append(n.join(``));let i=Number(t.currentPageNumber);if(this.$el.find(`.file-box[data-org-src]`).each((e,t)=>{let n=$(t),r=n.attr(`data-org-src`)||``;n.hasClass(`file-box--no-image`)||n.css(`background-image`,`url("${encodeURI(r)}")`)}),r>=0){let t=e[r];t&&t.url&&this._select(t.url,t.size||0,!1)}this._changePageTab(i)}#a(e){let t=e.data,n=e.pagination,r=t[0];if(r?.fileId===``&&r?.size===0&&(r=t[1]),!r)throw Error(`アップロード情報が不正です。`);this.#i(t,n)}_changePageTab(e){if($(`#ContentsEditArea .pagination`).remove(),this.pageMaxNumber>1){let t=this.#t(e);this.$el.before(t)}$(`[data-bge-pagelink] a`).removeClass(`current`),$(`[data-bge-pagelink=${e}] a`).addClass(`current`),$(`[data-bge-page]`).hide();let t=$(`[data-bge-page=${e}]`),n=t.find(`.bg-upload-file.selected`);t.show(),n.length>0&&(this.node.scrollTop=0,this.node.scrollTop=n.position().top-50),this.currentPageNo=e}_fileClick(e){let t=$(e.currentTarget),n=t.attr(`data-org-src`)||``,r=Number.parseInt(t.attr(`data-file-size`)||``,10)||0,i=t.attr(`data-bge-empty`)===`1`;return this._select(n,r,i),this.editorDialog.$el.find(`.bg-upload-file`).removeClass(`selected`),t.addClass(`selected`),G_.notify(`bge-file-select`,{path:n,isEmpty:i}),!1}_fileDbClick(e){return this._fileClick(e),$(`.ui-dialog-buttonset button.last`).trigger(`click`),!1}_select(e,t,n){let r=this.editorDialog.$el;r.find(`[name=bge-path]`).val(e),r.find(`[name="bge-formated-size"]`).val(Qg.formatByteSize(t)),r.find(`[name="bge-size"]`).val(`${t}`),r.find(`[name="bge-empty"]`).val(n?`1`:`0`)}async _waitEditorImported(){let e=(e=20)=>new Promise(t=>setTimeout(t,e)),t=this.$el.parents(`#ContentsEditArea`).find(`[name=bge-imported]`);if(t.length>0&&t.val()!=1)for(let n=0;n<10&&(await e(),t.val()!=1);n++);}async afterInit(){await this._waitEditorImported(),await this.#r(``)}},x_=class extends f_{constructor(e,t){super(e,t),this.$el.on(`click`,this.#e.bind(this))}#e(){G_.notify(`bge-file-search`,null)}},S_=class extends f_{constructor(e,t){super(e,t),G_.on(`bge-file-search`,this.#e,this)}#e(){G_.notify(`bge-file-listup`,`${this.$el.val()}`)}},C_=class extends y_{constructor(e,t){super(e,t),this.deleteURL=z_.api?z_.api.imgDelete:null}},w_=class extends b_{constructor(e,t){super(e,t),this.listURL=z_.api?z_.api.imgList:null}},T_=class extends w_{constructor(e,t){super(e,t)}_fileClick(e){let t=$(e.currentTarget),n=t.attr(`data-org-src`)||``,r=t.attr(`data-bge-empty`)===`1`;return this.editorDialog.$el.find(`.bg-upload-file`).removeClass(`selected`),t.addClass(`selected`),G_.notify(`bge-file-select`,{path:n,isEmpty:r}),!1}_fileDbClick(e){this._fileClick(e);let t=$(e.currentTarget),n=t.attr(`data-org-src`)||``,r=t.attr(`data-bge-empty`)===`1`;return G_.notify(`bge-multi-field-add`,{path:n,isEmpty:r}),!1}_select(e,t,n){this.editorDialog.$el.find(`[name="bge-empty"]`).val(n?`1`:`0`)}async afterInit(){await super.afterInit(),this._changePageTab(1),this.editorDialog.$el.find(`.bg-upload-file`).removeClass(`selected`)}},E_=class{get el(){return this.$el.get(0)}constructor(e,t){if(!e)throw Error(`要素の取得に失敗しました。`);this.$el=$(e);let n=$.extend({},t);n.open=this._open.bind(this),n.close=this._close.bind(this),n.create=this._create.bind(this),n.buttons={};for(let e of Object.keys(t.buttons))e&&((e,t)=>{t&&typeof t==`string`&&(n.buttons[t]=()=>{this[e]&&this[e].call(this)})})(e,t.buttons[e]);this.$el.dialog(n)}close(){this.$el.dialog(`close`),V_.save()}create(){this.$el.dialog(`create`)}open(...e){this.$el.dialog(`option`,`width`,Qg.getDialogSize(1200,`width`)),this.$el.dialog(`open`)}reset(){this.$el.find(`input, select, textarea`).val(``)}_close(){}_create(){}_open(...e){}},D_=class extends E_{#e={};constructor(e){if(super(e,{bgiframe:!0,autoOpen:!1,position:Eg.default.gte(`1.11.0`,jQuery.ui.version,!0)?`center`:void 0,modal:!0,buttons:{close:`キャンセル`,complete:`完了`}}),z_.blockClassOption)for(let e of Object.keys(z_.blockClassOption)){let t=z_.blockClassOption[e];if(!t)continue;let n=new Ag(e,t);this.#e[e]=n}e&&($(e).find(`[data-bge-block-option-scheduled-publishing]`).each((e,t)=>{let n=$(t);switch(n.attr(`data-bge-block-option-scheduled-publishing`)){case`publish-date`:case`unpublish-date`:n.datepicker();break;case`publish-time`:case`unpublish-time`:n.timepicker({timeFormat:`H:i`});break}}),z_.setting&&z_.setting.publishTimer&&$(`[data-bge-block-option-scheduled-publishing-area]`).prop(`hidden`,!1))}complete(){let e=R_.getCurrentBlock();e&&(e.importOptions(this.#i()),e.importCustomClassList(this.#t()),e.importId(this.#r()),e.importGridInfo(this.#n()),e.importScheduledPublishing(this.#a())),this.close()}#t(){let e=(this.$el.find(`[data-bge-block-option-custom-class] [data-bge-block-option-input]`).val()||``).split(/\s+/),t=[],n=[];for(let r of e)r!==``&&!t.includes(r)&&(Qg.isValidAsClassName(r)?t.push(r):n.push(r));return n.length>0&&alert(`以下のクラス名は使用できない文字を含むため除外されます。\n${n.join(`
74
+ `)}`),t}#n(){let e=this.$el.find(`[name=bge-grid-ratio]`),t=this.$el.find(`[name=bge-sp-grid-ratio]`),n=this.$el.find(`[name=bge-sp-grid-ratio-enabled]`);return{normalRatio:+e.val(),spRatio:+t.val(),spEnabled:n.prop(`checked`)}}#r(){let e=(this.$el.find(`[data-bge-block-option-id] [data-bge-block-option-input]`).val()||``).trim();if(!e)return``;let t=L_+e;if(!/^[\w.:-]+$/.test(t))return alert(`"${t}" はid属性として使用できない文字が含まれています。`),``;let n=R_.getCurrentBlock();return document.getElementById(t)&&n&&n.id!==t?(alert(`"${t}" は既に定義されています。`),``):`${t}`}#i(){let e=[];return this.$el.find(`[data-bge-block-option]`).each((t,n)=>{let r=$(n).find(`[data-bge-block-option-select-box]`);if(r.length===0)return;let i=r.find(`option:selected`);if(i.length===0)return;let a=i.val()||``,o=Ag.getOption(a);o&&e.push(o)}),e}#a(){let e=[null,null],t=[null,null];this.$el.find(`[data-bge-block-option-scheduled-publishing]`).each((n,r)=>{let i=$(r),a=i.attr(`data-bge-block-option-scheduled-publishing`),o=i.val();if(!(!o||typeof o!=`string`))switch(a){case`publish-date`:e[0]=o;break;case`publish-time`:e[1]=o;break;case`unpublish-date`:t[0]=o;break;case`unpublish-time`:t[1]=o;break}});let n=e[0]&&e[1]?e.join(` `):e[0],r=t[0]&&t[1]?t.join(` `):t[0];return{publishDatetime:n||null,unpublishDatetime:r||null}}#o(e){this.$el.find(`[data-bge-block-option-custom-class] [data-bge-block-option-input]`).val(e.join(` `))}#s(e){let t=R_.getCurrentBlock();if(!t){console.warn(`BgE.editor.getCurrentBlock() is null.`);return}let n=this.$el.find(`[data-bge-grid-changer]`),r=$(t.node.querySelectorAll(`[data-bge-grid-changeable]`));if(n.hide(),r.length===0)return;n.show();let i=this.$el.find(`[name=bge-grid-ratio]`),a=this.$el.find(`[name=bge-sp-grid-ratio]`),o=this.$el.find(`[name=bge-sp-grid-ratio-enabled]`);i.val(`${e.normalRatio}`),e.spEnabled&&a.val(`${e.spRatio}`),o.prop(`checked`,e.spEnabled),a.prop(`disabled`,!e.spEnabled),o.off().on(`change`,()=>{a.prop(`disabled`,!o.prop(`checked`))})}#c(e){e&&(e=e.replace(RegExp(`^${L_}`),``),this.$el.find(`[data-bge-block-option-id] [data-bge-block-option-input]`).val(e))}#l(e){this.$el.find(`[data-bge-block-option]`).each((t,n)=>{let r=$(n),i=r.attr(`data-bge-block-option`)||``,a=this.#e[i];if(!a)return;let o=r.find(`[data-bge-block-option-select-box]`);if(o.length===0)return;let s=!1;for(let t of a.classList){let n=$(`<option value="${t.className}">${t.label}</option>`);n.appendTo(o);for(let r of e)r.currentClass&&r.currentClass.className===t.className&&(n.prop(`selected`,!0),s=!0)}o.prepend($(`<option${s?``:` selected`}>指定なし</option>`))})}#u(e){if(e.publishDatetime){let[t,n]=e.publishDatetime.split(` `);t&&(this.$el.find(`[data-bge-block-option-scheduled-publishing="publish-date"]`).val(t),this.$el.find(`[data-bge-block-option-scheduled-publishing="publish-time"]`).val(n??`00:00`))}if(e.unpublishDatetime){let[t,n]=e.unpublishDatetime.split(` `);t&&(this.$el.find(`[data-bge-block-option-scheduled-publishing="unpublish-date"]`).val(t),this.$el.find(`[data-bge-block-option-scheduled-publishing="unpublish-time"]`).val(n??`00:00`))}}_close(){$(`[data-bge-grid-changer]`).hide(),iv()}_open(){this.reset();let e=R_.getCurrentBlock();e&&(this.#l(e.exportOptions()),this.#o(e.exportCustomClassList()),this.#c(e.exportId()),this.#s(e.exportGridInfo()),this.#u(e.exportScheduledPublishing()))}reset(){super.reset(),this.$el.find(`[data-bge-block-option-select-box]`).empty()}},O_=class extends E_{constructor(e){super(e,{bgiframe:!0,autoOpen:!1,position:Eg.default.gte(`1.11.0`,jQuery.ui.version,!0)?`center`:void 0,modal:!0,buttons:{close:`キャンセル`}}),this.$el.on(`click`,`li`,e=>{let t=$(e.currentTarget);switch(`${t.data(`bge-specific-block`)}`){case`copy`:{let e=ov();if(e){let t=new Q($(e).get(0));this.addBlock(t)}break}default:{let e=new Q(`${t.data(`bge-block`)}`),n=e.isDisable();if(n)return alert(n),!1;this.addBlock(e)}}return this.close(),!1})}addBlock(e){X_.insert(e)}_close(){this.$el.find(`.bge-copied-block`).remove(),B_.isProcessed||iv()}_open(){return ov()?(this.$el.find(`.bg-blocks`).prepend(`
75
+ <dl class="bge-copied-block">
76
+ <dt>クリップボード</dt>
77
+ <dd>
78
+ <ul>
79
+ <li data-bge-specific-block="copy">
80
+ <figure>
81
+ <div class="bge-block-icon"></div>
82
+ <figcaption>ペースト<figcaption/>
83
+ </figure>
84
+ </li>
85
+ </ul>
86
+ </dd>
87
+ </dl>
88
+ `),!1):!0}},k_=class extends E_{constructor(e){super(e,{bgiframe:!0,autoOpen:!1,position:Eg.default.gte(`1.11.0`,jQuery.ui.version,!0)?`center`:void 0,modal:!0,buttons:{close:`キャンセル`,complete:`完了`}})}async complete(){if(!this.type)return;this.type.module&&this.type.module.beforeExtract(this,this.type);let e=this.type.validate(this.#n());if(e){alert(e);return}await this.type.import(this.#n(),!0),this.close()}#e(){this.$el.find(`[data-bge-event]`).each((e,t)=>{let n=`${$(t).data(`bge-event`)}`,r=n.split(`:`),i=r[0]??`click`,a=r[1]??i;!this.type||!this.type.module||a in this.type.module.customFunctions&&$.isFunction(this.type.module.customFunctions[a])&&this.$el.on(i,`[data-bge-event="${n}"]`,e=>{if(!(!this.type||!this.type.module))return this.type.module.customFunctions[a]?.call(t,e,this,this.type,this.type.module)})})}#t(){this.$el.find(`[data-bge-class]`).each((e,t)=>{let n=Z_[`${$(t).data(`bgeClass`)}`];n&&new n(t,this).afterInit()})}#n(){return M_(this.el)}#r(e){A_(this.el,e)}_close(){G_.off(),this.$el.off(),this.$el.empty(),iv()}_create(){this.$el.closest(`.ui-dialog`).find(`.ui-button:last`).addClass(`last`)}open(e){this.type=e;let t=rv(this.type.name);if(!t)throw Error(`Template not found: ${this.type.name}`);this.$el.append(t),this.#t(),this.#e();let n=this.type.export();this.type.module&&this.type.module.beforeOpen(this,this.type,n),this.#r(n),super.open(),this.type.module&&this.type.module.open(this,this.type)}};function A_(e,t){let n=$(e);for(let e of Object.keys(t)){let r=t[e],i=`[name="bge-${e}"]`,a=`[data-bge*="${e}"]`;if(Array.isArray(r)){let t=n.find(i).closest(`[data-bge-list]`);if(t.children().length===0)continue;let o=t.children().first().clone();for(;r.length>t.children().length;)t.append(o.clone());t.find(i).each((e,t)=>{j_(t,r[e]||``)}),t.find(a).each((t,n)=>{Jg.datumToElement(e,r[t]||``,n)})}else{for(let e of n.find(i).toArray())j_(e,r);for(let t of n.find(a).toArray())Jg.datumToElement(e,r,t)}}}function j_(e,t){if(e.type.toLowerCase()===`checkbox`&&(typeof t==`string`?e.checked=/false|0+/i.test(t)?!1:!!t:e.checked=!!t),e.type.toLowerCase()===`radio`){let n;n=e.value?e.value===t:!!t,e.checked=n}else e.placeholder===t?e.value=``:e.value=`${t}`}function M_(e){let t=[],n=$(e).find(`[name^=bge-]`);n.not(`:radio`).each((e,n)=>{let r=$(n),i=r.attr(`type`)||``,a=(r.attr(`name`)||``).replace(/^bge-(.+)/i,`$1`),o;o=i===`checkbox`?!!r.prop(`checked`):r.val(),t.push({key:a,datum:o,isArray:r.closest(`[data-bge-list]`).length>0})});let r=[];return n.filter(`:radio`).each((e,n)=>{let i=n,a=i.name.replace(/^bge-(.+)/i,`$1`);r.includes(a)||i.checked&&(t.push({key:a,datum:i.value,isArray:$(n).closest(`[data-bge-list]`).length>0}),r.push(a))}),Qg.dataOptimize(t)}var N_=class{#e=null;clearCurrentBlock(){this.#e=null}getCurrentBlock(){return this.#e||console.warn(`block is unselected.`),this.#e}isSetBlock(){return!!this.#e}setCurrentBlock(e){let t=!0;return this.#e&&(t=!this.#e.is(e)),this.#e=e,t}},P_=s({$originalBlockElementContainer:()=>Y_,BLOCK_ID_PREFIX:()=>L_,STORAGE_KEY_OF_COPIED_BLOCK:()=>I_,Util:()=>Qg,blockConfigDialog:()=>U_,blockListDialog:()=>H_,componentObserver:()=>G_,config:()=>z_,copyBlock:()=>av,cssListForCKEditor:()=>J_,currentContentArea:()=>V_,editor:()=>R_,editorComponent:()=>Z_,editorStatus:()=>B_,getCopiedBlock:()=>ov,getTypeEditorTemplate:()=>rv,googleMapsApiKey:()=>q_,init:()=>tv,insertionPoint:()=>X_,modules:()=>K_,registerTypeModule:()=>nv,save:()=>iv,typeEditorDialog:()=>W_,version:()=>F_,versionCheck:()=>sv}),F_=`3.4.0`,I_=`bge-copied-block`,L_=`bge-`,R_=new N_,z_={},B_={isProcessed:!1},V_,H_,U_,W_,G_,K_={},q_,J_,Y_,X_,Z_={FileUploader:h_,FileUploadMessenger:p_,ImageUploader:g_,MultiFieldSelection:__,MultiFieldSelector:v_,UploadFileDeleter:y_,UploadFileList:b_,UploadFileSearchButton:x_,UploadFileSearchForm:S_,UploadImageDeleter:C_,UploadImageList:w_,UploadImageListMultiSelect:T_},Q_,$_,ev=null;function tv(){cv(),uv(),$(`#BtnSave`).unbind(`click`),$(`#BtnSave`).click(()=>($.bcUtil&&$.bcUtil.showLoader(),iv(),$(`#BlogPostMode`).val(`save`),$.bcToken&&$.bcToken.check(()=>{$(`#PageAdminEditForm, #PageAdminAddForm, #BlogPostForm, #CustomEntriesForm`).trigger(`submit`)},{useUpdate:!1,hideLoader:!1}),!1));let e=document.getElementById(`BtnPreview`);if(e){let t=[`data[Page][contents_tmp]`,`data[BlogPost][detail_tmp]`].map(t=>{let n=document.createElement(`input`);return n.type=`hidden`,n.name=t,e.form&&e.form.append(n),n});$(e).on(`click`,()=>{for(let e of t)e.value=V_.getContentsAsString()});let n=$;if($.isFunction(n._data)){let t=n._data(e).events;if(t&&t.click){let e=t.click,n=e.pop();n&&e.unshift(n)}}}}function nv(e,t={}){if(e in K_){console.warn(`"${e}" is already exists.`);return}K_[e]=new Dg(t)}function rv(e){return Q_.find(`.Type${e}`).clone()[0]}function iv(){$_.save(),ev&&ev.save(),console.info(`save to input element for storage.`)}function av(e){sessionStorage.setItem(I_,e)}function ov(){return sessionStorage.getItem(I_)}var sv={lt(e,t,n){return Eg.default.lt(e,t,n)},gt(e,t,n){return Eg.default.gt(e,t,n)},lte(e,t,n){return Eg.default.lte(e,t,n)},gte(e,t,n){return Eg.default.gte(e,t,n)}};function cv(){lv(document.getElementById(`bge-config`));let e=z_.utility&&z_.utility.mainFieldId||``,t=z_.utility?z_.utility.draftFieldId:null;Y_=$(`#DefaultBlock`),Q_=$(`#InputArea`),J_=z_.utility?z_.utility.cssList.join(`,`):``,q_=z_.utility?z_.utility.googleMapsApiKey:``,$(`#PageAdminEditForm, #BlogPostForm, #CustomEntriesForm`).append(`<input type="hidden" id="ContentPreviewMode" value="publish">`);let n=z_.cmsVersion||``;if(Eg.default.valid(n))z_.cmsVersion=Eg.default.clean(n)||``;else{let e=n.replace(/^(\d+\.\d+\.\d+).*/,`$1`);if(e===n)throw Error(`baserCMSのバージョン情報が不正です。「${n}」はセマンティック バージョニング 2.0.0の仕様に従っていません。`);console.warn(`baserCMSのバージョン情報が不正です。「${n}」はセマンティック バージョニング 2.0.0の仕様に従っていません。${e}として解釈します。`),z_.cmsVersion=e}G_=new d_,X_=new l_,$_=new u_(document.getElementById(`ValueArea`),document.getElementById(e)),t&&(ev=new c_(document.getElementById(`DraftArea`),document.getElementById(t))),H_=new O_(document.getElementById(`PanelArea`)),U_=new D_(document.getElementById(`BgBlockConfigArea`)),W_=new k_(document.getElementById(`ContentsEditArea`))}function lv(e){if(e){let t=e.textContent??``;try{let e=JSON.parse(t);$.extend(z_,e),console.info(`success: Configuration JSON is parsed.`)}catch{console.warn(`parse error: Configuration JSON.`)}}}function uv(){ev&&($(`#CbeHonkouBtn`).on(`click`,e=>{if(!ev)return;let t=$(e.currentTarget);$_.show(),ev.hide(),t.closest(`.draft-btn`).find(`.on`).removeClass(`on`),t.addClass(`on`),$(`#CbeHonkouCopyBtn`).addClass(`on`),$(`#ContentPreviewMode`).val(`publish`),V_=$_,V_.update(),V_.check()}),$(`#CbeSoukouBtn`).on(`click`,e=>{if(!ev)return;let t=$(e.currentTarget);ev.show(),$_.hide(),t.closest(`.draft-btn`).find(`.on`).removeClass(`on`),t.addClass(`on`),$(`#CbeSoukouCopyBtn`).addClass(`on`),$(`#ContentPreviewMode`).val(`draft`),V_=ev,V_.update(),V_.check()}),$(`#CbeSoukouCopyBtn`).click(()=>{ev&&($_.isEmpty()||ev.isSame($_)||confirm(`下書き内容を本稿へ上書きしてもよろしいですか?`))&&(ev.copyTo($_),$(`#CbeHonkouBtn`).trigger(`click`))}),$(`#CbeHonkouCopyBtn`).click(()=>{ev&&(ev.isEmpty()||$_.isSame(ev)||confirm(`本稿の内容を下書きへコピーしてもよろしいですか?`))&&($_.copyTo(ev),$(`#CbeSoukouBtn`).trigger(`click`))}),$(`#CbeHonkouBtn, #CbeSoukouBtn`).on(`dblclick`,e=>{let t=$(e.currentTarget);if(!e.altKey||!t.hasClass(`on`))return;t.trigger(`click`),V_.toggleDisplayMode();let n=V_.isVisualMode?``:`<span>ソース表示</span>`;t.find(`span`).remove(),t.html((e,t)=>t+n)}),$(`#CbeHonkouBtn`).trigger(`click`))}window.BgE=P_,$(()=>{$(`#PageName`).focus(),tv(),$(`.even`).removeClass(`even`),$(`.odd`).removeClass(`odd`),$(`.empty`).removeClass(`empty`),$(`.firstChild`).removeClass(`firstChild`),$(`.lastChild`).removeClass(`lastChild`),$(`br`).removeAttr(`class`)})})();})();