gemi 0.8.8 → 0.9.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.
- package/dist/app/index.js +2 -2
- package/dist/app/index.js.map +1 -1
- package/dist/bin/index.js +4 -4
- package/dist/broadcasting/index.js +1 -1
- package/dist/{chunk-5kxgspw3.js → chunk-0tsd6d6s.js} +2 -2
- package/dist/{chunk-5kxgspw3.js.map → chunk-0tsd6d6s.js.map} +1 -1
- package/dist/{chunk-1tp2s8s2.js → chunk-0wqf4729.js} +3 -3
- package/dist/{chunk-1tp2s8s2.js.map → chunk-0wqf4729.js.map} +1 -1
- package/dist/chunk-21mvg3dx.js +4 -0
- package/dist/{chunk-1vrq8vch.js.map → chunk-21mvg3dx.js.map} +1 -1
- package/dist/{chunk-5nkd0pky.js → chunk-2myc2s6w.js} +3 -3
- package/dist/{chunk-5nkd0pky.js.map → chunk-2myc2s6w.js.map} +1 -1
- package/dist/{chunk-fv48m6ej.js → chunk-36mj8mav.js} +2 -2
- package/dist/{chunk-fv48m6ej.js.map → chunk-36mj8mav.js.map} +1 -1
- package/dist/chunk-5yex263y.js +4 -0
- package/dist/{chunk-haysh2cn.js.map → chunk-5yex263y.js.map} +2 -2
- package/dist/{chunk-d3a38r6t.js → chunk-6g1mntab.js} +2 -2
- package/dist/{chunk-d3a38r6t.js.map → chunk-6g1mntab.js.map} +1 -1
- package/dist/chunk-8arqqbhx.js +20 -0
- package/dist/{chunk-t01kx7b9.js.map → chunk-8arqqbhx.js.map} +18 -7
- package/dist/{chunk-rr5pxvn2.js → chunk-98e4g3z6.js} +3 -3
- package/dist/{chunk-rr5pxvn2.js.map → chunk-98e4g3z6.js.map} +1 -1
- package/dist/{chunk-jmr4pqkg.js → chunk-9qk0pjxc.js} +2 -2
- package/dist/{chunk-jmr4pqkg.js.map → chunk-9qk0pjxc.js.map} +1 -1
- package/dist/{chunk-5gfvsf2h.js → chunk-ameyxxdy.js} +2 -2
- package/dist/{chunk-5gfvsf2h.js.map → chunk-ameyxxdy.js.map} +1 -1
- package/dist/{chunk-fqqevh9q.js → chunk-avqfpn5v.js} +3 -3
- package/dist/{chunk-fqqevh9q.js.map → chunk-avqfpn5v.js.map} +1 -1
- package/dist/chunk-b8d5htph.js +4 -0
- package/dist/{chunk-gbyyfd5n.js.map → chunk-b8d5htph.js.map} +2 -2
- package/dist/chunk-d1jvc299.js +4 -0
- package/dist/chunk-d1jvc299.js.map +16 -0
- package/dist/{chunk-8b17k5kr.js → chunk-ek6n8gyv.js} +3 -3
- package/dist/{chunk-8b17k5kr.js.map → chunk-ek6n8gyv.js.map} +1 -1
- package/dist/chunk-hwaaf04e.js +4 -0
- package/dist/{chunk-dn7n97pc.js.map → chunk-hwaaf04e.js.map} +2 -2
- package/dist/{chunk-kgvx8f4w.js → chunk-k9katf2f.js} +2 -2
- package/dist/{chunk-kgvx8f4w.js.map → chunk-k9katf2f.js.map} +1 -1
- package/dist/{chunk-vw5n61vd.js → chunk-mhs8rp3d.js} +3 -3
- package/dist/{chunk-vw5n61vd.js.map → chunk-mhs8rp3d.js.map} +1 -1
- package/dist/{chunk-pn0gn3dz.js → chunk-papxj58y.js} +2 -2
- package/dist/{chunk-pn0gn3dz.js.map → chunk-papxj58y.js.map} +1 -1
- package/dist/{chunk-87tyw2m9.js → chunk-t0br3jky.js} +2 -2
- package/dist/{chunk-87tyw2m9.js.map → chunk-t0br3jky.js.map} +1 -1
- package/dist/chunk-t6h32cqw.js +5 -0
- package/dist/{chunk-60vt9r0e.js.map → chunk-t6h32cqw.js.map} +4 -12
- package/dist/{chunk-zyqwxmp6.js → chunk-vqpqea57.js} +2 -2
- package/dist/{chunk-zyqwxmp6.js.map → chunk-vqpqea57.js.map} +1 -1
- package/dist/{chunk-a167bv1a.js → chunk-vvdgy5ba.js} +2 -2
- package/dist/{chunk-a167bv1a.js.map → chunk-vvdgy5ba.js.map} +1 -1
- package/dist/{chunk-w7fz5zck.js → chunk-wrtx683g.js} +3 -3
- package/dist/{chunk-w7fz5zck.js.map → chunk-wrtx683g.js.map} +1 -1
- package/dist/{chunk-mvwes2jb.js → chunk-wv5423nm.js} +2 -2
- package/dist/{chunk-mvwes2jb.js.map → chunk-wv5423nm.js.map} +1 -1
- package/dist/{chunk-svsxbj15.js → chunk-x46drz7r.js} +2 -2
- package/dist/{chunk-svsxbj15.js.map → chunk-x46drz7r.js.map} +1 -1
- package/dist/chunk-zp1h0k9v.js +4 -0
- package/dist/{chunk-p6spvhhx.js.map → chunk-zp1h0k9v.js.map} +4 -4
- package/dist/email/index.js +2 -2
- package/dist/email/index.js.map +1 -1
- package/dist/facades/index.js +2 -2
- package/dist/facades/index.js.map +3 -3
- package/dist/http/AuthenticationMiddlware.d.ts.map +1 -1
- package/dist/http/CorsMiddleware.d.ts +14 -0
- package/dist/http/CorsMiddleware.d.ts.map +1 -0
- package/dist/http/Middleware.d.ts +3 -1
- package/dist/http/Middleware.d.ts.map +1 -1
- package/dist/http/index.d.ts +1 -0
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +2 -2
- package/dist/http/index.js.map +6 -5
- package/dist/kernel/index.js +2 -2
- package/dist/kernel/index.js.map +1 -1
- package/dist/server/index.js +2 -2
- package/dist/server/index.js.map +1 -1
- package/dist/services/index.js +3 -3
- package/dist/services/index.js.map +2 -2
- package/dist/services/router/createFlatApiRoutes.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-1vrq8vch.js +0 -4
- package/dist/chunk-60vt9r0e.js +0 -5
- package/dist/chunk-dn7n97pc.js +0 -4
- package/dist/chunk-gbyyfd5n.js +0 -4
- package/dist/chunk-haysh2cn.js +0 -4
- package/dist/chunk-jk9zhs7r.js +0 -3
- package/dist/chunk-jk9zhs7r.js.map +0 -16
- package/dist/chunk-p6spvhhx.js +0 -4
- package/dist/chunk-t01kx7b9.js +0 -20
package/dist/services/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{q as _w}from"../chunk-fqqevh9q.js";import{$ as fU,A as wU,B as f$,C as h$,D as R$,E as A$,F as UU,G as Ow,H as sw,I as Cw,J as lw,K as HU,L as FU,M as P$,N as kf,O as xf,P as EU,Q as cw,R as bw,S as NU,T as dw,U as GU,V as tR,W as rw,X as BA,Y as kw,Z as xw,_ as tw,r as Q0,s as RU,t as AU,u as PU,v as IU,w as TF,x as hh,y as Rh,z as y0}from"../chunk-t01kx7b9.js";import{aa as RG,ba as zf}from"../chunk-jk9zhs7r.js";import{$a as uw,Ba as Nw,Ca as yw,Da as oP,Ea as nP,Fa as q$,Ga as rf,Ha as Ff,Ja as Ih,Ma as jf,Na as T3,Oa as x,Pa as K3,Qa as Qh,Ra as nh,Ta as fR,Ua as _h,Va as E$,Wa as qf,Xa as y$,Ya as jw,Za as mw,_a as nw,bb as MA,ca as ew,cb as l,da as ow,ea as Sf,eb as B$,fa as rR,ga as XP,ja as Jw,ka as CR,la as Lw,ma as dR,na as $U,oa as Qw,pa as gw,qa as qw,sa as Kw,ta as vw}from"../chunk-60vt9r0e.js";import"../chunk-kgvx8f4w.js";import{ob as KF}from"../chunk-w7fz5zck.js";import"../chunk-zyqwxmp6.js";import"../chunk-8b17k5kr.js";import{tb as t8}from"../chunk-vw5n61vd.js";import{vb as BR}from"../chunk-1tp2s8s2.js";import{xb as AF,yb as YD}from"../facades/index.js";import{Jb as a}from"../http/index.js";import"../chunk-rr5pxvn2.js";import"../chunk-5kxgspw3.js";import{ac as SF}from"../chunk-5nkd0pky.js";import{bc as b,cc as C}from"../chunk-a167bv1a.js";var DH=C((UJ,YH)=>{var dS=function f(h){return rS(h)&&!kS(h)};function rS(f){return!!f&&typeof f==="object"}function kS(f){var h=Object.prototype.toString.call(f);return h==="[object RegExp]"||h==="[object Date]"||aS(f)}var xS=typeof Symbol==="function"&&Symbol.for,_S=xS?Symbol.for("react.element"):60103;function aS(f){return f.$$typeof===_S}function iS(f){return Array.isArray(f)?[]:{}}function WR(f,h){return h.clone!==!1&&h.isMergeableObject(f)?Oh(iS(f),f,h):f}function pS(f,h,R){return f.concat(h).map(function(A){return WR(A,R)})}function eS(f,h){if(!h.customMerge)return Oh;var R=h.customMerge(f);return typeof R==="function"?R:Oh}function oS(f){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(f).filter(function(h){return Object.propertyIsEnumerable.call(f,h)}):[]}function SH(f){return Object.keys(f).concat(oS(f))}function WH(f,h){try{return h in f}catch(R){return!1}}function nS(f,h){return WH(f,h)&&!(Object.hasOwnProperty.call(f,h)&&Object.propertyIsEnumerable.call(f,h))}function uS(f,h,R){var A={};if(R.isMergeableObject(f))SH(f).forEach(function(P){A[P]=WR(f[P],R)});return SH(h).forEach(function(P){if(nS(f,P))return;if(WH(f,P)&&R.isMergeableObject(h[P]))A[P]=eS(P,R)(f[P],h[P],R);else A[P]=WR(h[P],R)}),A}function Oh(f,h,R){R=R||{},R.arrayMerge=R.arrayMerge||pS,R.isMergeableObject=R.isMergeableObject||dS,R.cloneUnlessOtherwiseSpecified=WR;var A=Array.isArray(h),P=Array.isArray(f),I=A===P;if(!I)return WR(h,R);else if(A)return R.arrayMerge(f,h,R);else return uS(f,h,R)}Oh.all=function f(h,R){if(!Array.isArray(h))throw new Error("first argument should be an array");return h.reduce(function(A,P){return Oh(A,P,R)},{})};var tS=Oh;YH.exports=tS});var R0=C((a6,mH)=>{function u(f){this.__parent=f,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}u.prototype.clone_empty=function(){var f=new u(this.__parent);return f.set_indent(this.__indent_count,this.__alignment_count),f};u.prototype.item=function(f){if(f<0)return this.__items[this.__items.length+f];else return this.__items[f]};u.prototype.has_match=function(f){for(var h=this.__items.length-1;h>=0;h--)if(this.__items[h].match(f))return!0;return!1};u.prototype.set_indent=function(f,h){if(this.is_empty())this.__indent_count=f||0,this.__alignment_count=h||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count)};u.prototype._set_wrap_point=function(){if(this.__parent.wrap_line_length)this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count};u.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count};u.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var f=this.__parent.current_line;if(f.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),f.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),f.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,f.__items[0]===" ")f.__items.splice(0,1),f.__character_count-=1;return!0}return!1};u.prototype.is_empty=function(){return this.__items.length===0};u.prototype.last=function(){if(!this.is_empty())return this.__items[this.__items.length-1];else return null};u.prototype.push=function(f){this.__items.push(f);var h=f.lastIndexOf("\n");if(h!==-1)this.__character_count=f.length-h;else this.__character_count+=f.length};u.prototype.pop=function(){var f=null;if(!this.is_empty())f=this.__items.pop(),this.__character_count-=f.length;return f};u.prototype._remove_indent=function(){if(this.__indent_count>0)this.__indent_count-=1,this.__character_count-=this.__parent.indent_size};u.prototype._remove_wrap_indent=function(){if(this.__wrap_point_indent_count>0)this.__wrap_point_indent_count-=1};u.prototype.trim=function(){while(this.last()===" ")this.__items.pop(),this.__character_count-=1};u.prototype.toString=function(){var f="";if(this.is_empty()){if(this.__parent.indent_empty_lines)f=this.__parent.get_indent_string(this.__indent_count)}else f=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),f+=this.__items.join("");return f};function YR(f,h){if(this.__cache=[""],this.__indent_size=f.indent_size,this.__indent_string=f.indent_char,!f.indent_with_tabs)this.__indent_string=new Array(f.indent_size+1).join(f.indent_char);if(h=h||"",f.indent_level>0)h=new Array(f.indent_level+1).join(this.__indent_string);this.__base_string=h,this.__base_string_length=h.length}YR.prototype.get_indent_size=function(f,h){var R=this.__base_string_length;if(h=h||0,f<0)R=0;return R+=f*this.__indent_size,R+=h,R};YR.prototype.get_indent_string=function(f,h){var R=this.__base_string;if(h=h||0,f<0)f=0,R="";return h+=f*this.__indent_size,this.__ensure_cache(h),R+=this.__cache[h],R};YR.prototype.__ensure_cache=function(f){while(f>=this.__cache.length)this.__add_column()};YR.prototype.__add_column=function(){var f=this.__cache.length,h=0,R="";if(this.__indent_size&&f>=this.__indent_size)h=Math.floor(f/this.__indent_size),f-=h*this.__indent_size,R=new Array(h+1).join(this.__indent_string);if(f)R+=new Array(f+1).join(" ");this.__cache.push(R)};function t(f,h){this.__indent_cache=new YR(f,h),this.raw=!1,this._end_with_newline=f.end_with_newline,this.indent_size=f.indent_size,this.wrap_line_length=f.wrap_line_length,this.indent_empty_lines=f.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new u(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}t.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)};t.prototype.get_line_number=function(){return this.__lines.length};t.prototype.get_indent_string=function(f,h){return this.__indent_cache.get_indent_string(f,h)};t.prototype.get_indent_size=function(f,h){return this.__indent_cache.get_indent_size(f,h)};t.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()};t.prototype.add_new_line=function(f){if(this.is_empty()||!f&&this.just_added_newline())return!1;if(!this.raw)this.__add_outputline();return!0};t.prototype.get_code=function(f){this.trim(!0);var h=this.current_line.pop();if(h){if(h[h.length-1]==="\n")h=h.replace(/\n+$/g,"");this.current_line.push(h)}if(this._end_with_newline)this.__add_outputline();var R=this.__lines.join("\n");if(f!=="\n")R=R.replace(/[\n]/g,f);return R};t.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()};t.prototype.set_indent=function(f,h){if(f=f||0,h=h||0,this.next_line.set_indent(f,h),this.__lines.length>1)return this.current_line.set_indent(f,h),!0;return this.current_line.set_indent(),!1};t.prototype.add_raw_token=function(f){for(var h=0;h<f.newlines;h++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(f.whitespace_before),this.current_line.push(f.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1};t.prototype.add_token=function(f){this.__add_space_before_token(),this.current_line.push(f),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()};t.prototype.__add_space_before_token=function(){if(this.space_before_token&&!this.just_added_newline()){if(!this.non_breaking_space)this.set_wrap_point();this.current_line.push(" ")}};t.prototype.remove_indent=function(f){var h=this.__lines.length;while(f<h)this.__lines[f]._remove_indent(),f++;this.current_line._remove_wrap_indent()};t.prototype.trim=function(f){f=f===void 0?!1:f,this.current_line.trim();while(f&&this.__lines.length>1&&this.current_line.is_empty())this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null};t.prototype.just_added_newline=function(){return this.current_line.is_empty()};t.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()};t.prototype.ensure_empty_line_above=function(f,h){var R=this.__lines.length-2;while(R>=0){var A=this.__lines[R];if(A.is_empty())break;else if(A.item(0).indexOf(f)!==0&&A.item(-1)!==h){this.__lines.splice(R+1,0,new u(this)),this.previous_line=this.__lines[this.__lines.length-2];break}R--}};a6.Output=t});var b1=C((e6,OH)=>{function p6(f,h,R,A){this.type=f,this.text=h,this.comments_before=null,this.newlines=R||0,this.whitespace_before=A||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}e6.Token=p6});var k1=C((t6)=>{var n6="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",sH="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",d1="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",CH="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",r1="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",lH="(?:"+r1+"|["+n6+d1+"])",u6="(?:"+r1+"|["+sH+d1+CH+"])*";t6.identifier=new RegExp(lH+u6,"g");t6.identifierStart=new RegExp(lH);t6.identifierMatch=new RegExp("(?:"+r1+"|["+sH+d1+CH+"])+");t6.newline=/[\n\r\u2028\u2029]/;t6.lineBreak=new RegExp("\r\n|"+t6.newline.source);t6.allLineBreaks=new RegExp(t6.lineBreak.source,"g")});var P0=C((PW,A0)=>{function nf(f,h){if(this.raw_options=dH(f,h),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),!this.preserve_newlines)this.max_preserve_newlines=0;if(this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char==="\t"),this.indent_with_tabs){if(this.indent_char="\t",this.indent_size===1)this.indent_size=4}this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}nf.prototype._get_array=function(f,h){var R=this.raw_options[f],A=h||[];if(typeof R==="object"){if(R!==null&&typeof R.concat==="function")A=R.concat()}else if(typeof R==="string")A=R.split(/[^a-zA-Z0-9_\/\-]+/);return A};nf.prototype._get_boolean=function(f,h){var R=this.raw_options[f],A=R===void 0?!!h:!!R;return A};nf.prototype._get_characters=function(f,h){var R=this.raw_options[f],A=h||"";if(typeof R==="string")A=R.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t");return A};nf.prototype._get_number=function(f,h){var R=this.raw_options[f];if(h=parseInt(h,10),isNaN(h))h=0;var A=parseInt(R,10);if(isNaN(A))A=h;return A};nf.prototype._get_selection=function(f,h,R){var A=this._get_selection_list(f,h,R);if(A.length!==1)throw new Error("Invalid Option Value: The option '"+f+"' can only be one of the following values:\n"+h+"\nYou passed in: '"+this.raw_options[f]+"'");return A[0]};nf.prototype._get_selection_list=function(f,h,R){if(!h||h.length===0)throw new Error("Selection list cannot be empty.");if(R=R||[h[0]],!this._is_valid_selection(R,h))throw new Error("Invalid Default Value!");var A=this._get_array(f,R);if(!this._is_valid_selection(A,h))throw new Error("Invalid Option Value: The option '"+f+"' can contain only the following values:\n"+h+"\nYou passed in: '"+this.raw_options[f]+"'");return A};nf.prototype._is_valid_selection=function(f,h){return f.length&&h.length&&!f.some(function(R){return h.indexOf(R)===-1})};function dH(f,h){var R={};f=rH(f);var A;for(A in f)if(A!==h)R[A]=f[A];if(h&&f[h])for(A in f[h])R[A]=f[h][A];return R}function rH(f){var h={},R;for(R in f){var A=R.replace(/-/g,"_");h[A]=f[R]}return h}PW.Options=nf;PW.normalizeOpts=rH;PW.mergeOpts=dH});var x1=C((HW,_H)=>{var kH=P0().Options,UW=["before-newline","after-newline","preserve-newline"];function xH(f){kH.call(this,f,"js");var h=this.raw_options.brace_style||null;if(h==="expand-strict")this.raw_options.brace_style="expand";else if(h==="collapse-preserve-inline")this.raw_options.brace_style="collapse,preserve-inline";else if(this.raw_options.braces_on_own_line!==void 0)this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse";var R=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var A=0;A<R.length;A++)if(R[A]==="preserve-inline")this.brace_preserve_inline=!0;else this.brace_style=R[A];if(this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",UW),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy)this.space_after_anon_function=!0}xH.prototype=new kH;HW.Options=xH});var I0=C((EW,iH)=>{var aH=RegExp.prototype.hasOwnProperty("sticky");function Rf(f){this.__input=f||"",this.__input_length=this.__input.length,this.__position=0}Rf.prototype.restart=function(){this.__position=0};Rf.prototype.back=function(){if(this.__position>0)this.__position-=1};Rf.prototype.hasNext=function(){return this.__position<this.__input_length};Rf.prototype.next=function(){var f=null;if(this.hasNext())f=this.__input.charAt(this.__position),this.__position+=1;return f};Rf.prototype.peek=function(f){var h=null;if(f=f||0,f+=this.__position,f>=0&&f<this.__input_length)h=this.__input.charAt(f);return h};Rf.prototype.__match=function(f,h){f.lastIndex=h;var R=f.exec(this.__input);if(R&&!(aH&&f.sticky)){if(R.index!==h)R=null}return R};Rf.prototype.test=function(f,h){if(h=h||0,h+=this.__position,h>=0&&h<this.__input_length)return!!this.__match(f,h);else return!1};Rf.prototype.testChar=function(f,h){var R=this.peek(h);return f.lastIndex=0,R!==null&&f.test(R)};Rf.prototype.match=function(f){var h=this.__match(f,this.__position);if(h)this.__position+=h[0].length;else h=null;return h};Rf.prototype.read=function(f,h,R){var A="",P;if(f){if(P=this.match(f),P)A+=P[0]}if(h&&(P||!f))A+=this.readUntil(h,R);return A};Rf.prototype.readUntil=function(f,h){var R="",A=this.__position;f.lastIndex=this.__position;var P=f.exec(this.__input);if(P){if(A=P.index,h)A+=P[0].length}else A=this.__input_length;return R=this.__input.substring(this.__position,A),this.__position=A,R};Rf.prototype.readUntilAfter=function(f){return this.readUntil(f,!0)};Rf.prototype.get_regexp=function(f,h){var R=null,A="g";if(h&&aH)A="y";if(typeof f==="string"&&f!=="")R=new RegExp(f,A);else if(f)R=new RegExp(f.source,A);return R};Rf.prototype.get_literal_regexp=function(f){return RegExp(f.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))};Rf.prototype.peekUntilAfter=function(f){var h=this.__position,R=this.readUntilAfter(f);return this.__position=h,R};Rf.prototype.lookBack=function(f){var h=this.__position-1;return h>=f.length&&this.__input.substring(h-f.length,h).toLowerCase()===f};EW.InputScanner=Rf});var eH=C((GW,pH)=>{function Eh(f){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=f}Eh.prototype.restart=function(){this.__position=0};Eh.prototype.isEmpty=function(){return this.__tokens_length===0};Eh.prototype.hasNext=function(){return this.__position<this.__tokens_length};Eh.prototype.next=function(){var f=null;if(this.hasNext())f=this.__tokens[this.__position],this.__position+=1;return f};Eh.prototype.peek=function(f){var h=null;if(f=f||0,f+=this.__position,f>=0&&f<this.__tokens_length)h=this.__tokens[f];return h};Eh.prototype.add=function(f){if(this.__parent_token)f.parent=this.__parent_token;this.__tokens.push(f),this.__tokens_length+=1};GW.TokenStream=Eh});var DR=C((WW,oH)=>{function Bf(f,h){if(this._input=f,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,h)this._starting_pattern=this._input.get_regexp(h._starting_pattern,!0),this._match_pattern=this._input.get_regexp(h._match_pattern,!0),this._until_pattern=this._input.get_regexp(h._until_pattern),this._until_after=h._until_after}Bf.prototype.read=function(){var f=this._input.read(this._starting_pattern);if(!this._starting_pattern||f)f+=this._input.read(this._match_pattern,this._until_pattern,this._until_after);return f};Bf.prototype.read_match=function(){return this._input.match(this._match_pattern)};Bf.prototype.until_after=function(f){var h=this._create();return h._until_after=!0,h._until_pattern=this._input.get_regexp(f),h._update(),h};Bf.prototype.until=function(f){var h=this._create();return h._until_after=!1,h._until_pattern=this._input.get_regexp(f),h._update(),h};Bf.prototype.starting_with=function(f){var h=this._create();return h._starting_pattern=this._input.get_regexp(f,!0),h._update(),h};Bf.prototype.matching=function(f){var h=this._create();return h._match_pattern=this._input.get_regexp(f,!0),h._update(),h};Bf.prototype._create=function(){return new Bf(this._input,this)};Bf.prototype._update=function(){};WW.Pattern=Bf});var tH=C((DW,uH)=>{var nH=DR().Pattern;function uf(f,h){if(nH.call(this,f,h),h)this._line_regexp=this._input.get_regexp(h._line_regexp);else this.__set_whitespace_patterns("","");this.newline_count=0,this.whitespace_before_token=""}uf.prototype=new nH;uf.prototype.__set_whitespace_patterns=function(f,h){f+="\\t ",h+="\\n\\r",this._match_pattern=this._input.get_regexp("["+f+h+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+h+"]")};uf.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var f=this._input.read(this._match_pattern);if(f===" ")this.whitespace_before_token=" ";else if(f){var h=this.__split(this._newline_regexp,f);this.newline_count=h.length-1,this.whitespace_before_token=h[this.newline_count]}return f};uf.prototype.matching=function(f,h){var R=this._create();return R.__set_whitespace_patterns(f,h),R._update(),R};uf.prototype._create=function(){return new uf(this._input,this)};uf.prototype.__split=function(f,h){f.lastIndex=0;var R=0,A=[],P=f.exec(h);while(P)A.push(h.substring(R,P.index)),R=P.index+P[0].length,P=f.exec(h);if(R<h.length)A.push(h.substring(R,h.length));else A.push("");return A};DW.WhitespacePattern=uf});var VR=C((ZW,a1)=>{var VW=I0().InputScanner,f8=b1().Token,_1=eH().TokenStream,XW=tH().WhitespacePattern,MR={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},Tf=function(f,h){this._input=new VW(f),this._options=h||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new XW(this._input)};Tf.prototype.tokenize=function(){this._input.restart(),this.__tokens=new _1,this._reset();var f,h=new f8(MR.START,""),R=null,A=[],P=new _1;while(h.type!==MR.EOF){f=this._get_next_token(h,R);while(this._is_comment(f))P.add(f),f=this._get_next_token(h,R);if(!P.isEmpty())f.comments_before=P,P=new _1;if(f.parent=R,this._is_opening(f))A.push(R),R=f;else if(R&&this._is_closing(f,R))f.opened=R,R.closed=f,R=A.pop(),f.parent=R;f.previous=h,h.next=f,this.__tokens.add(f),h=f}return this.__tokens};Tf.prototype._is_first_token=function(){return this.__tokens.isEmpty()};Tf.prototype._reset=function(){};Tf.prototype._get_next_token=function(f,h){this._readWhitespace();var R=this._input.read(/.+/g);if(R)return this._create_token(MR.RAW,R);else return this._create_token(MR.EOF,"")};Tf.prototype._is_comment=function(f){return!1};Tf.prototype._is_opening=function(f){return!1};Tf.prototype._is_closing=function(f,h){return!1};Tf.prototype._create_token=function(f,h){var R=new f8(f,h,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return R};Tf.prototype._readWhitespace=function(){return this._patterns.whitespace.read()};ZW.Tokenizer=Tf;ZW.TOKEN=MR});var $0=C((LW,h8)=>{function i1(f,h){f=typeof f==="string"?f:f.source,h=typeof h==="string"?h:h.source,this.__directives_block_pattern=new RegExp(f+/ beautify( \w+[:]\w+)+ /.source+h,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(f+/\sbeautify\signore:end\s/.source+h,"g")}i1.prototype.get_directives=function(f){if(!f.match(this.__directives_block_pattern))return null;var h={};this.__directive_pattern.lastIndex=0;var R=this.__directive_pattern.exec(f);while(R)h[R[1]]=R[2],R=this.__directive_pattern.exec(f);return h};i1.prototype.readIgnored=function(f){return f.readUntilAfter(this.__directives_end_ignore_pattern)};LW.Directives=i1});var o1=C((gW,R8)=>{var p1=DR().Pattern,e1={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function gf(f,h){if(p1.call(this,f,h),this.__template_pattern=null,this._disabled=Object.assign({},e1),this._excluded=Object.assign({},e1),h)this.__template_pattern=this._input.get_regexp(h.__template_pattern),this._excluded=Object.assign(this._excluded,h._excluded),this._disabled=Object.assign(this._disabled,h._disabled);var R=new p1(f);this.__patterns={handlebars_comment:R.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:R.starting_with(/{{{/).until_after(/}}}/),handlebars:R.starting_with(/{{/).until_after(/}}/),php:R.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:R.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:R.starting_with(/{%/).until_after(/%}/),django_value:R.starting_with(/{{/).until_after(/}}/),django_comment:R.starting_with(/{#/).until_after(/#}/),smarty:R.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:R.starting_with(/{\*/).until_after(/\*}/),smarty_literal:R.starting_with(/{literal}/).until_after(/{\/literal}/)}}gf.prototype=new p1;gf.prototype._create=function(){return new gf(this._input,this)};gf.prototype._update=function(){this.__set_templated_pattern()};gf.prototype.disable=function(f){var h=this._create();return h._disabled[f]=!0,h._update(),h};gf.prototype.read_options=function(f){var h=this._create();for(var R in e1)h._disabled[R]=f.templating.indexOf(R)===-1;return h._update(),h};gf.prototype.exclude=function(f){var h=this._create();return h._excluded[f]=!0,h._update(),h};gf.prototype.read=function(){var f="";if(this._match_pattern)f=this._input.read(this._starting_pattern);else f=this._input.read(this._starting_pattern,this.__template_pattern);var h=this._read_template();while(h){if(this._match_pattern)h+=this._input.read(this._match_pattern);else h+=this._input.readUntil(this.__template_pattern);f+=h,h=this._read_template()}if(this._until_after)f+=this._input.readUntilAfter(this._until_pattern);return f};gf.prototype.__set_templated_pattern=function(){var f=[];if(!this._disabled.php)f.push(this.__patterns.php._starting_pattern.source);if(!this._disabled.handlebars)f.push(this.__patterns.handlebars._starting_pattern.source);if(!this._disabled.erb)f.push(this.__patterns.erb._starting_pattern.source);if(!this._disabled.django)f.push(this.__patterns.django._starting_pattern.source),f.push(this.__patterns.django_value._starting_pattern.source),f.push(this.__patterns.django_comment._starting_pattern.source);if(!this._disabled.smarty)f.push(this.__patterns.smarty._starting_pattern.source);if(this._until_pattern)f.push(this._until_pattern.source);this.__template_pattern=this._input.get_regexp("(?:"+f.join("|")+")")};gf.prototype._read_template=function(){var f="",h=this._input.peek();if(h==="<"){var R=this._input.peek(1);if(!this._disabled.php&&!this._excluded.php&&R==="?")f=f||this.__patterns.php.read();if(!this._disabled.erb&&!this._excluded.erb&&R==="%")f=f||this.__patterns.erb.read()}else if(h==="{"){if(!this._disabled.handlebars&&!this._excluded.handlebars)f=f||this.__patterns.handlebars_comment.read(),f=f||this.__patterns.handlebars_unescaped.read(),f=f||this.__patterns.handlebars.read();if(!this._disabled.django){if(!this._excluded.django&&!this._excluded.handlebars)f=f||this.__patterns.django_value.read();if(!this._excluded.django)f=f||this.__patterns.django_comment.read(),f=f||this.__patterns.django.read()}if(!this._disabled.smarty){if(this._disabled.django&&this._disabled.handlebars)f=f||this.__patterns.smarty_comment.read(),f=f||this.__patterns.smarty_literal.read(),f=f||this.__patterns.smarty.read()}}return f};gW.TemplatablePattern=gf});var ZR=C((bW,XR)=>{var yW=I0().InputScanner,P8=VR().Tokenizer,n1=VR().TOKEN,BW=$0().Directives,Vf=k1(),TW=DR().Pattern,KW=o1().TemplatablePattern;function u1(f,h){return h.indexOf(f)!==-1}var Y={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:n1.START,RAW:n1.RAW,EOF:n1.EOF},A8=new BW(/\/\*/,/\*\//),vW=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,jW=/[0-9]/,mW=/[^\d\.]/,OW=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),Nh=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";Nh=Nh.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&");Nh="\\?\\.(?!\\d) "+Nh;Nh=Nh.replace(/ /g,"|");var sW=new RegExp(Nh),I8="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),CW=I8.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),lW=new RegExp("^(?:"+CW.join("|")+")$"),w0,ff=function(f,h){P8.call(this,f,h),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var R=new TW(this._input),A=new KW(this._input).read_options(this._options);this.__patterns={template:A,identifier:A.starting_with(Vf.identifier).matching(Vf.identifierMatch),number:R.matching(vW),punct:R.matching(sW),comment:R.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:R.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:R.matching(/<!--/),html_comment_end:R.matching(/-->/),include:R.starting_with(/#include/).until_after(Vf.lineBreak),shebang:R.starting_with(/#!/).until_after(Vf.lineBreak),xml:R.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:A.until(/['\\\n\r\u2028\u2029]/),double_quote:A.until(/["\\\n\r\u2028\u2029]/),template_text:A.until(/[`\\$]/),template_expression:A.until(/[`}\\]/)}};ff.prototype=new P8;ff.prototype._is_comment=function(f){return f.type===Y.COMMENT||f.type===Y.BLOCK_COMMENT||f.type===Y.UNKNOWN};ff.prototype._is_opening=function(f){return f.type===Y.START_BLOCK||f.type===Y.START_EXPR};ff.prototype._is_closing=function(f,h){return(f.type===Y.END_BLOCK||f.type===Y.END_EXPR)&&(h&&(f.text==="]"&&h.text==="["||f.text===")"&&h.text==="("||f.text==="}"&&h.text==="{"))};ff.prototype._reset=function(){w0=!1};ff.prototype._get_next_token=function(f,h){var R=null;this._readWhitespace();var A=this._input.peek();if(A===null)return this._create_token(Y.EOF,"");return R=R||this._read_non_javascript(A),R=R||this._read_string(A),R=R||this._read_pair(A,this._input.peek(1)),R=R||this._read_word(f),R=R||this._read_singles(A),R=R||this._read_comment(A),R=R||this._read_regexp(A,f),R=R||this._read_xml(A,f),R=R||this._read_punctuation(),R=R||this._create_token(Y.UNKNOWN,this._input.next()),R};ff.prototype._read_word=function(f){var h=this.__patterns.identifier.read();if(h!==""){if(h=h.replace(Vf.allLineBreaks,"\n"),!(f.type===Y.DOT||f.type===Y.RESERVED&&(f.text==="set"||f.text==="get"))&&lW.test(h)){if((h==="in"||h==="of")&&(f.type===Y.WORD||f.type===Y.STRING))return this._create_token(Y.OPERATOR,h);return this._create_token(Y.RESERVED,h)}return this._create_token(Y.WORD,h)}if(h=this.__patterns.number.read(),h!=="")return this._create_token(Y.WORD,h)};ff.prototype._read_singles=function(f){var h=null;if(f==="("||f==="[")h=this._create_token(Y.START_EXPR,f);else if(f===")"||f==="]")h=this._create_token(Y.END_EXPR,f);else if(f==="{")h=this._create_token(Y.START_BLOCK,f);else if(f==="}")h=this._create_token(Y.END_BLOCK,f);else if(f===";")h=this._create_token(Y.SEMICOLON,f);else if(f==="."&&mW.test(this._input.peek(1)))h=this._create_token(Y.DOT,f);else if(f===",")h=this._create_token(Y.COMMA,f);if(h)this._input.next();return h};ff.prototype._read_pair=function(f,h){var R=null;if(f==="#"&&h==="{")R=this._create_token(Y.START_BLOCK,f+h);if(R)this._input.next(),this._input.next();return R};ff.prototype._read_punctuation=function(){var f=this.__patterns.punct.read();if(f!=="")if(f==="=")return this._create_token(Y.EQUALS,f);else if(f==="?.")return this._create_token(Y.DOT,f);else return this._create_token(Y.OPERATOR,f)};ff.prototype._read_non_javascript=function(f){var h="";if(f==="#"){if(this._is_first_token()){if(h=this.__patterns.shebang.read(),h)return this._create_token(Y.UNKNOWN,h.trim()+"\n")}if(h=this.__patterns.include.read(),h)return this._create_token(Y.UNKNOWN,h.trim()+"\n");f=this._input.next();var R="#";if(this._input.hasNext()&&this._input.testChar(jW)){do f=this._input.next(),R+=f;while(this._input.hasNext()&&f!=="#"&&f!=="=");if(f==="#");else if(this._input.peek()==="["&&this._input.peek(1)==="]")R+="[]",this._input.next(),this._input.next();else if(this._input.peek()==="{"&&this._input.peek(1)==="}")R+="{}",this._input.next(),this._input.next();return this._create_token(Y.WORD,R)}this._input.back()}else if(f==="<"&&this._is_first_token()){if(h=this.__patterns.html_comment_start.read(),h){while(this._input.hasNext()&&!this._input.testChar(Vf.newline))h+=this._input.next();return w0=!0,this._create_token(Y.COMMENT,h)}}else if(w0&&f==="-"){if(h=this.__patterns.html_comment_end.read(),h)return w0=!1,this._create_token(Y.COMMENT,h)}return null};ff.prototype._read_comment=function(f){var h=null;if(f==="/"){var R="";if(this._input.peek(1)==="*"){R=this.__patterns.block_comment.read();var A=A8.get_directives(R);if(A&&A.ignore==="start")R+=A8.readIgnored(this._input);R=R.replace(Vf.allLineBreaks,"\n"),h=this._create_token(Y.BLOCK_COMMENT,R),h.directives=A}else if(this._input.peek(1)==="/")R=this.__patterns.comment.read(),h=this._create_token(Y.COMMENT,R)}return h};ff.prototype._read_string=function(f){if(f==="`"||f==="'"||f==='"'){var h=this._input.next();if(this.has_char_escapes=!1,f==="`")h+=this._read_string_recursive("`",!0,"${");else h+=this._read_string_recursive(f);if(this.has_char_escapes&&this._options.unescape_strings)h=cW(h);if(this._input.peek()===f)h+=this._input.next();return h=h.replace(Vf.allLineBreaks,"\n"),this._create_token(Y.STRING,h)}return null};ff.prototype._allow_regexp_or_xml=function(f){return f.type===Y.RESERVED&&u1(f.text,["return","case","throw","else","do","typeof","yield"])||f.type===Y.END_EXPR&&f.text===")"&&f.opened.previous.type===Y.RESERVED&&u1(f.opened.previous.text,["if","while","for"])||u1(f.type,[Y.COMMENT,Y.START_EXPR,Y.START_BLOCK,Y.START,Y.END_BLOCK,Y.OPERATOR,Y.EQUALS,Y.EOF,Y.SEMICOLON,Y.COMMA])};ff.prototype._read_regexp=function(f,h){if(f==="/"&&this._allow_regexp_or_xml(h)){var R=this._input.next(),A=!1,P=!1;while(this._input.hasNext()&&((A||P||this._input.peek()!==f)&&!this._input.testChar(Vf.newline))){if(R+=this._input.peek(),!A){if(A=this._input.peek()==="\\",this._input.peek()==="[")P=!0;else if(this._input.peek()==="]")P=!1}else A=!1;this._input.next()}if(this._input.peek()===f)R+=this._input.next(),R+=this._input.read(Vf.identifier);return this._create_token(Y.STRING,R)}return null};ff.prototype._read_xml=function(f,h){if(this._options.e4x&&f==="<"&&this._allow_regexp_or_xml(h)){var R="",A=this.__patterns.xml.read_match();if(A){var P=A[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),I=P.indexOf("{")===0,$=0;while(A){var w=!!A[1],U=A[2],F=!!A[A.length-1]||U.slice(0,8)==="![CDATA[";if(!F&&(U===P||I&&U.replace(/^{\s+/,"{").replace(/\s+}$/,"}")))if(w)--$;else++$;if(R+=A[0],$<=0)break;A=this.__patterns.xml.read_match()}if(!A)R+=this._input.match(/[\s\S]*/g)[0];return R=R.replace(Vf.allLineBreaks,"\n"),this._create_token(Y.STRING,R)}}return null};function cW(f){var h="",R=0,A=new yW(f),P=null;while(A.hasNext()){if(P=A.match(/([\s]|[^\\]|\\\\)+/g),P)h+=P[0];if(A.peek()==="\\"){if(A.next(),A.peek()==="x")P=A.match(/x([0-9A-Fa-f]{2})/g);else if(A.peek()==="u"){if(P=A.match(/u([0-9A-Fa-f]{4})/g),!P)P=A.match(/u\{([0-9A-Fa-f]+)\}/g)}else{if(h+="\\",A.hasNext())h+=A.next();continue}if(!P)return f;if(R=parseInt(P[1],16),R>126&&R<=255&&P[0].indexOf("x")===0)return f;else if(R>=0&&R<32)h+="\\"+P[0];else if(R>1114111)h+="\\"+P[0];else if(R===34||R===39||R===92)h+="\\"+String.fromCharCode(R);else h+=String.fromCharCode(R)}}return h}ff.prototype._read_string_recursive=function(f,h,R){var A,P;if(f==="\'")P=this.__patterns.single_quote;else if(f==='"')P=this.__patterns.double_quote;else if(f==="`")P=this.__patterns.template_text;else if(f==="}")P=this.__patterns.template_expression;var I=P.read(),$="";while(this._input.hasNext()){if($=this._input.next(),$===f||!h&&Vf.newline.test($)){this._input.back();break}else if($==="\\"&&this._input.hasNext()){if(A=this._input.peek(),A==="x"||A==="u")this.has_char_escapes=!0;else if(A==="\r"&&this._input.peek(1)==="\n")this._input.next();$+=this._input.next()}else if(R){if(R==="${"&&$==="$"&&this._input.peek()==="{")$+=this._input.next();if(R===$){if(f==="`")$+=this._read_string_recursive("}",h,"`");else $+=this._read_string_recursive("`",h,"${");if(this._input.hasNext())$+=this._input.next()}}$+=P.read(),I+=$}return I};bW.Tokenizer=ff;bW.TOKEN=Y;bW.positionable_operators=OW.slice();bW.line_starters=I8.slice()});var H8=C((hY,U8)=>{var _W=R0().Output,aW=b1().Token,U0=k1(),iW=x1().Options,pW=ZR().Tokenizer,QR=ZR().line_starters,zR=ZR().positionable_operators,H=ZR().TOKEN;function Z(f,h){return h.indexOf(f)!==-1}function eW(f){return f.replace(/^\s+/g,"")}function oW(f){var h={};for(var R=0;R<f.length;R++)h[f[R].replace(/-/g,"_")]=f[R];return h}function Xf(f,h){return f&&f.type===H.RESERVED&&f.text===h}function j(f,h){return f&&f.type===H.RESERVED&&Z(f.text,h)}var H0=["case","return","do","if","throw","else","await","break","continue","async"],nW=["before-newline","after-newline","preserve-newline"],JR=oW(nW),$8=[JR.before_newline,JR.preserve_newline],D={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function w8(f,h){if(h.multiline_frame||h.mode===D.ForInitializer||h.mode===D.Conditional)return;f.remove_indent(h.start_line_index)}function uW(f){f=f.replace(U0.allLineBreaks,"\n");var h=[],R=f.indexOf("\n");while(R!==-1)h.push(f.substring(0,R)),f=f.substring(R+1),R=f.indexOf("\n");if(f.length)h.push(f);return h}function tf(f){return f===D.ArrayLiteral}function LR(f){return Z(f,[D.Expression,D.ForInitializer,D.Conditional])}function tW(f,h){for(var R=0;R<f.length;R++){var A=f[R].trim();if(A.charAt(0)!==h)return!1}return!0}function fY(f,h){var R=0,A=f.length,P;for(;R<A;R++)if(P=f[R],P&&P.indexOf(h)!==0)return!1;return!0}function q(f,h){h=h||{},this._source_text=f||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new iW(h)}q.prototype.create_flags=function(f,h){var R=0;if(f){if(R=f.indentation_level,!this._output.just_added_newline()&&f.line_indent_level>R)R=f.line_indent_level}var A={mode:h,parent:f,last_token:f?f.last_token:new aW(H.START_BLOCK,""),last_word:f?f.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:R,alignment:0,line_indent_level:f?f.line_indent_level:R,start_line_index:this._output.get_line_number(),ternary_depth:0};return A};q.prototype._reset=function(f){var h=f.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new _W(this._options,h),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(D.BlockStatement);var R=new pW(f,this._options);return this._tokens=R.tokenize(),f};q.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var f,h=this._reset(this._source_text),R=this._options.eol;if(this._options.eol==="auto"){if(R="\n",h&&U0.lineBreak.test(h||""))R=h.match(U0.lineBreak)[0]}var A=this._tokens.next();while(A)this.handle_token(A),this._last_last_text=this._flags.last_token.text,this._flags.last_token=A,A=this._tokens.next();return f=this._output.get_code(R),f};q.prototype.handle_token=function(f,h){if(f.type===H.START_EXPR)this.handle_start_expr(f);else if(f.type===H.END_EXPR)this.handle_end_expr(f);else if(f.type===H.START_BLOCK)this.handle_start_block(f);else if(f.type===H.END_BLOCK)this.handle_end_block(f);else if(f.type===H.WORD)this.handle_word(f);else if(f.type===H.RESERVED)this.handle_word(f);else if(f.type===H.SEMICOLON)this.handle_semicolon(f);else if(f.type===H.STRING)this.handle_string(f);else if(f.type===H.EQUALS)this.handle_equals(f);else if(f.type===H.OPERATOR)this.handle_operator(f);else if(f.type===H.COMMA)this.handle_comma(f);else if(f.type===H.BLOCK_COMMENT)this.handle_block_comment(f,h);else if(f.type===H.COMMENT)this.handle_comment(f,h);else if(f.type===H.DOT)this.handle_dot(f);else if(f.type===H.EOF)this.handle_eof(f);else if(f.type===H.UNKNOWN)this.handle_unknown(f,h);else this.handle_unknown(f,h)};q.prototype.handle_whitespace_and_comments=function(f,h){var R=f.newlines,A=this._options.keep_array_indentation&&tf(this._flags.mode);if(f.comments_before){var P=f.comments_before.next();while(P)this.handle_whitespace_and_comments(P,h),this.handle_token(P,h),P=f.comments_before.next()}if(A)for(var I=0;I<R;I+=1)this.print_newline(I>0,h);else{if(this._options.max_preserve_newlines&&R>this._options.max_preserve_newlines)R=this._options.max_preserve_newlines;if(this._options.preserve_newlines){if(R>1){this.print_newline(!1,h);for(var $=1;$<R;$+=1)this.print_newline(!0,h)}}}};var t1=["async","break","continue","return","throw","yield"];q.prototype.allow_wrap_or_preserved_newline=function(f,h){if(h=h===void 0?!1:h,this._output.just_added_newline())return;var R=this._options.preserve_newlines&&f.newlines||h,A=Z(this._flags.last_token.text,zR)||Z(f.text,zR);if(A){var P=Z(this._flags.last_token.text,zR)&&Z(this._options.operator_position,$8)||Z(f.text,zR);R=R&&P}if(R)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(j(this._flags.last_token,t1))return;this._output.set_wrap_point()}};q.prototype.print_newline=function(f,h){if(!h){if(this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==H.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")){var R=this._tokens.peek();while(this._flags.mode===D.Statement&&!(this._flags.if_block&&Xf(R,"else"))&&!this._flags.do_block)this.restore_mode()}}if(this._output.add_new_line(f))this._flags.multiline_frame=!0};q.prototype.print_token_line_indentation=function(f){if(this._output.just_added_newline()){if(this._options.keep_array_indentation&&f.newlines&&(f.text==="["||tf(this._flags.mode)))this._output.current_line.set_indent(-1),this._output.current_line.push(f.whitespace_before),this._output.space_before_token=!1;else if(this._output.set_indent(this._flags.indentation_level,this._flags.alignment))this._flags.line_indent_level=this._flags.indentation_level}};q.prototype.print_token=function(f){if(this._output.raw){this._output.add_raw_token(f);return}if(this._options.comma_first&&f.previous&&f.previous.type===H.COMMA&&this._output.just_added_newline()){if(this._output.previous_line.last()===","){var h=this._output.previous_line.pop();if(this._output.previous_line.is_empty())this._output.previous_line.push(h),this._output.trim(!0),this._output.current_line.pop(),this._output.trim();this.print_token_line_indentation(f),this._output.add_token(","),this._output.space_before_token=!0}}if(this.print_token_line_indentation(f),this._output.non_breaking_space=!0,this._output.add_token(f.text),this._output.previous_token_wrapped)this._flags.multiline_frame=!0};q.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};q.prototype.deindent=function(){if(this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level))this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};q.prototype.set_mode=function(f){if(this._flags)this._flag_store.push(this._flags),this._previous_flags=this._flags;else this._previous_flags=this.create_flags(null,f);this._flags=this.create_flags(this._previous_flags,f),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};q.prototype.restore_mode=function(){if(this._flag_store.length>0){if(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===D.Statement)w8(this._output,this._previous_flags);this._output.set_indent(this._flags.indentation_level,this._flags.alignment)}};q.prototype.start_of_object_property=function(){return this._flags.parent.mode===D.ObjectLiteral&&this._flags.mode===D.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||j(this._flags.last_token,["get","set"]))};q.prototype.start_of_statement=function(f){var h=!1;if(h=h||j(this._flags.last_token,["var","let","const"])&&f.type===H.WORD,h=h||Xf(this._flags.last_token,"do"),h=h||!(this._flags.parent.mode===D.ObjectLiteral&&this._flags.mode===D.Statement)&&j(this._flags.last_token,t1)&&!f.newlines,h=h||Xf(this._flags.last_token,"else")&&!(Xf(f,"if")&&!f.comments_before),h=h||this._flags.last_token.type===H.END_EXPR&&(this._previous_flags.mode===D.ForInitializer||this._previous_flags.mode===D.Conditional),h=h||this._flags.last_token.type===H.WORD&&this._flags.mode===D.BlockStatement&&!this._flags.in_case&&!(f.text==="--"||f.text==="++")&&this._last_last_text!=="function"&&f.type!==H.WORD&&f.type!==H.RESERVED,h=h||this._flags.mode===D.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||j(this._flags.last_token,["get","set"])),h){if(this.set_mode(D.Statement),this.indent(),this.handle_whitespace_and_comments(f,!0),!this.start_of_object_property())this.allow_wrap_or_preserved_newline(f,j(f,["do","for","if","while"]));return!0}return!1};q.prototype.handle_start_expr=function(f){if(!this.start_of_statement(f))this.handle_whitespace_and_comments(f);var h=D.Expression;if(f.text==="["){if(this._flags.last_token.type===H.WORD||this._flags.last_token.text===")"){if(j(this._flags.last_token,QR))this._output.space_before_token=!0;if(this.print_token(f),this.set_mode(h),this.indent(),this._options.space_in_paren)this._output.space_before_token=!0;return}if(h=D.ArrayLiteral,tf(this._flags.mode)){if(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}")){if(!this._options.keep_array_indentation)this.print_newline()}}if(!Z(this._flags.last_token.type,[H.START_EXPR,H.END_EXPR,H.WORD,H.OPERATOR,H.DOT]))this._output.space_before_token=!0}else{if(this._flags.last_token.type===H.RESERVED){if(this._flags.last_token.text==="for")this._output.space_before_token=this._options.space_before_conditional,h=D.ForInitializer;else if(Z(this._flags.last_token.text,["if","while","switch"]))this._output.space_before_token=this._options.space_before_conditional,h=D.Conditional;else if(Z(this._flags.last_word,["await","async"]))this._output.space_before_token=!0;else if(this._flags.last_token.text==="import"&&f.whitespace_before==="")this._output.space_before_token=!1;else if(Z(this._flags.last_token.text,QR)||this._flags.last_token.text==="catch")this._output.space_before_token=!0}else if(this._flags.last_token.type===H.EQUALS||this._flags.last_token.type===H.OPERATOR){if(!this.start_of_object_property())this.allow_wrap_or_preserved_newline(f)}else if(this._flags.last_token.type===H.WORD){this._output.space_before_token=!1;var R=this._tokens.peek(-3);if(this._options.space_after_named_function&&R){var A=this._tokens.peek(-4);if(j(R,["async","function"])||R.text==="*"&&j(A,["async","function"]))this._output.space_before_token=!0;else if(this._flags.mode===D.ObjectLiteral){if(R.text==="{"||R.text===","||R.text==="*"&&(A.text==="{"||A.text===","))this._output.space_before_token=!0}else if(this._flags.parent&&this._flags.parent.class_start_block)this._output.space_before_token=!0}}else this.allow_wrap_or_preserved_newline(f);if(this._flags.last_token.type===H.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(Z(this._last_last_text,["function","yield"])||this._flags.mode===D.ObjectLiteral&&Z(this._last_last_text,["{",","])))this._output.space_before_token=this._options.space_after_anon_function}if(this._flags.last_token.text===";"||this._flags.last_token.type===H.START_BLOCK)this.print_newline();else if(this._flags.last_token.type===H.END_EXPR||this._flags.last_token.type===H.START_EXPR||this._flags.last_token.type===H.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===H.COMMA)this.allow_wrap_or_preserved_newline(f,f.newlines);if(this.print_token(f),this.set_mode(h),this._options.space_in_paren)this._output.space_before_token=!0;this.indent()};q.prototype.handle_end_expr=function(f){while(this._flags.mode===D.Statement)this.restore_mode();if(this.handle_whitespace_and_comments(f),this._flags.multiline_frame)this.allow_wrap_or_preserved_newline(f,f.text==="]"&&tf(this._flags.mode)&&!this._options.keep_array_indentation);if(this._options.space_in_paren)if(this._flags.last_token.type===H.START_EXPR&&!this._options.space_in_empty_paren)this._output.trim(),this._output.space_before_token=!1;else this._output.space_before_token=!0;if(this.deindent(),this.print_token(f),this.restore_mode(),w8(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===D.Conditional)this._previous_flags.mode=D.Expression,this._flags.do_block=!1,this._flags.do_while=!1};q.prototype.handle_start_block=function(f){this.handle_whitespace_and_comments(f);var h=this._tokens.peek(),R=this._tokens.peek(1);if(this._flags.last_word==="switch"&&this._flags.last_token.type===H.END_EXPR)this.set_mode(D.BlockStatement),this._flags.in_case_statement=!0;else if(this._flags.case_body)this.set_mode(D.BlockStatement);else if(R&&(Z(R.text,[":",","])&&Z(h.type,[H.STRING,H.WORD,H.RESERVED])||Z(h.text,["get","set","..."])&&Z(R.type,[H.WORD,H.RESERVED])))if(Z(this._last_last_text,["class","interface"])&&!Z(R.text,[":",","]))this.set_mode(D.BlockStatement);else this.set_mode(D.ObjectLiteral);else if(this._flags.last_token.type===H.OPERATOR&&this._flags.last_token.text==="=>")this.set_mode(D.BlockStatement);else if(Z(this._flags.last_token.type,[H.EQUALS,H.START_EXPR,H.COMMA,H.OPERATOR])||j(this._flags.last_token,["return","throw","import","default"]))this.set_mode(D.ObjectLiteral);else this.set_mode(D.BlockStatement);if(this._flags.last_token){if(j(this._flags.last_token.previous,["class","extends"]))this._flags.class_start_block=!0}var A=!h.comments_before&&h.text==="}",P=A&&this._flags.last_word==="function"&&this._flags.last_token.type===H.END_EXPR;if(this._options.brace_preserve_inline){var I=0,$=null;this._flags.inline_frame=!0;do if(I+=1,$=this._tokens.peek(I-1),$.newlines){this._flags.inline_frame=!1;break}while($.type!==H.EOF&&!($.type===H.END_BLOCK&&$.opened===f))}if((this._options.brace_style==="expand"||this._options.brace_style==="none"&&f.newlines)&&!this._flags.inline_frame)if(this._flags.last_token.type!==H.OPERATOR&&(P||this._flags.last_token.type===H.EQUALS||j(this._flags.last_token,H0)&&this._flags.last_token.text!=="else"))this._output.space_before_token=!0;else this.print_newline(!1,!0);else{if(tf(this._previous_flags.mode)&&(this._flags.last_token.type===H.START_EXPR||this._flags.last_token.type===H.COMMA)){if(this._flags.last_token.type===H.COMMA||this._options.space_in_paren)this._output.space_before_token=!0;if(this._flags.last_token.type===H.COMMA||this._flags.last_token.type===H.START_EXPR&&this._flags.inline_frame)this.allow_wrap_or_preserved_newline(f),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1}if(this._flags.last_token.type!==H.OPERATOR&&this._flags.last_token.type!==H.START_EXPR)if(Z(this._flags.last_token.type,[H.START_BLOCK,H.SEMICOLON])&&!this._flags.inline_frame)this.print_newline();else this._output.space_before_token=!0}if(this.print_token(f),this.indent(),!A&&!(this._options.brace_preserve_inline&&this._flags.inline_frame))this.print_newline()};q.prototype.handle_end_block=function(f){this.handle_whitespace_and_comments(f);while(this._flags.mode===D.Statement)this.restore_mode();var h=this._flags.last_token.type===H.START_BLOCK;if(this._flags.inline_frame&&!h)this._output.space_before_token=!0;else if(this._options.brace_style==="expand"){if(!h)this.print_newline()}else if(!h)if(tf(this._flags.mode)&&this._options.keep_array_indentation)this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0;else this.print_newline();this.restore_mode(),this.print_token(f)};q.prototype.handle_word=function(f){if(f.type===H.RESERVED){if(Z(f.text,["set","get"])&&this._flags.mode!==D.ObjectLiteral)f.type=H.WORD;else if(f.text==="import"&&Z(this._tokens.peek().text,["(","."]))f.type=H.WORD;else if(Z(f.text,["as","from"])&&!this._flags.import_block)f.type=H.WORD;else if(this._flags.mode===D.ObjectLiteral){var h=this._tokens.peek();if(h.text===":")f.type=H.WORD}}if(this.start_of_statement(f)){if(j(this._flags.last_token,["var","let","const"])&&f.type===H.WORD)this._flags.declaration_statement=!0}else if(f.newlines&&!LR(this._flags.mode)&&(this._flags.last_token.type!==H.OPERATOR||(this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))&&this._flags.last_token.type!==H.EQUALS&&(this._options.preserve_newlines||!j(this._flags.last_token,["var","let","const","set","get"])))this.handle_whitespace_and_comments(f),this.print_newline();else this.handle_whitespace_and_comments(f);if(this._flags.do_block&&!this._flags.do_while)if(Xf(f,"while")){this._output.space_before_token=!0,this.print_token(f),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&Xf(f,"else"))this._flags.else_block=!0;else{while(this._flags.mode===D.Statement)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&j(f,["case","default"])){if(this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy))this.deindent();this._flags.case_body=!1,this.print_token(f),this._flags.in_case=!0;return}if(this._flags.last_token.type===H.COMMA||this._flags.last_token.type===H.START_EXPR||this._flags.last_token.type===H.EQUALS||this._flags.last_token.type===H.OPERATOR){if(!this.start_of_object_property()&&!(Z(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===D.ObjectLiteral))this.allow_wrap_or_preserved_newline(f)}if(Xf(f,"function")){if(Z(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(Z(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===H.OPERATOR)){if(!this._output.just_added_blankline()&&!f.comments_before)this.print_newline(),this.print_newline(!0)}if(this._flags.last_token.type===H.RESERVED||this._flags.last_token.type===H.WORD)if(j(this._flags.last_token,["get","set","new","export"])||j(this._flags.last_token,t1))this._output.space_before_token=!0;else if(Xf(this._flags.last_token,"default")&&this._last_last_text==="export")this._output.space_before_token=!0;else if(this._flags.last_token.text==="declare")this._output.space_before_token=!0;else this.print_newline();else if(this._flags.last_token.type===H.OPERATOR||this._flags.last_token.text==="=")this._output.space_before_token=!0;else if(!this._flags.multiline_frame&&(LR(this._flags.mode)||tf(this._flags.mode)));else this.print_newline();this.print_token(f),this._flags.last_word=f.text;return}var R="NONE";if(this._flags.last_token.type===H.END_BLOCK)if(this._previous_flags.inline_frame)R="SPACE";else if(!j(f,["else","catch","finally","from"]))R="NEWLINE";else if(this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&f.newlines)R="NEWLINE";else R="SPACE",this._output.space_before_token=!0;else if(this._flags.last_token.type===H.SEMICOLON&&this._flags.mode===D.BlockStatement)R="NEWLINE";else if(this._flags.last_token.type===H.SEMICOLON&&LR(this._flags.mode))R="SPACE";else if(this._flags.last_token.type===H.STRING)R="NEWLINE";else if(this._flags.last_token.type===H.RESERVED||this._flags.last_token.type===H.WORD||this._flags.last_token.text==="*"&&(Z(this._last_last_text,["function","yield"])||this._flags.mode===D.ObjectLiteral&&Z(this._last_last_text,["{",","])))R="SPACE";else if(this._flags.last_token.type===H.START_BLOCK)if(this._flags.inline_frame)R="SPACE";else R="NEWLINE";else if(this._flags.last_token.type===H.END_EXPR)this._output.space_before_token=!0,R="NEWLINE";if(j(f,QR)&&this._flags.last_token.text!==")")if(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export")R="SPACE";else R="NEWLINE";if(j(f,["else","catch","finally"]))if((!(this._flags.last_token.type===H.END_BLOCK&&this._previous_flags.mode===D.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&f.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var A=this._output.current_line;if(A.last()!=="}")this.print_newline();this._output.space_before_token=!0}else if(R==="NEWLINE"){if(j(this._flags.last_token,H0))this._output.space_before_token=!0;else if(this._flags.last_token.text==="declare"&&j(f,["var","let","const"]))this._output.space_before_token=!0;else if(this._flags.last_token.type!==H.END_EXPR){if((this._flags.last_token.type!==H.START_EXPR||!j(f,["var","let","const"]))&&this._flags.last_token.text!==":")if(Xf(f,"if")&&Xf(f.previous,"else"))this._output.space_before_token=!0;else this.print_newline()}else if(j(f,QR)&&this._flags.last_token.text!==")")this.print_newline()}else if(this._flags.multiline_frame&&tf(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}")this.print_newline();else if(R==="SPACE")this._output.space_before_token=!0;if(f.previous&&(f.previous.type===H.WORD||f.previous.type===H.RESERVED))this._output.space_before_token=!0;if(this.print_token(f),this._flags.last_word=f.text,f.type===H.RESERVED){if(f.text==="do")this._flags.do_block=!0;else if(f.text==="if")this._flags.if_block=!0;else if(f.text==="import")this._flags.import_block=!0;else if(this._flags.import_block&&Xf(f,"from"))this._flags.import_block=!1}};q.prototype.handle_semicolon=function(f){if(this.start_of_statement(f))this._output.space_before_token=!1;else this.handle_whitespace_and_comments(f);var h=this._tokens.peek();while(this._flags.mode===D.Statement&&!(this._flags.if_block&&Xf(h,"else"))&&!this._flags.do_block)this.restore_mode();if(this._flags.import_block)this._flags.import_block=!1;this.print_token(f)};q.prototype.handle_string=function(f){if(f.text.startsWith("`")&&f.newlines===0&&f.whitespace_before===""&&(f.previous.text===")"||this._flags.last_token.type===H.WORD));else if(this.start_of_statement(f))this._output.space_before_token=!0;else if(this.handle_whitespace_and_comments(f),this._flags.last_token.type===H.RESERVED||this._flags.last_token.type===H.WORD||this._flags.inline_frame)this._output.space_before_token=!0;else if(this._flags.last_token.type===H.COMMA||this._flags.last_token.type===H.START_EXPR||this._flags.last_token.type===H.EQUALS||this._flags.last_token.type===H.OPERATOR){if(!this.start_of_object_property())this.allow_wrap_or_preserved_newline(f)}else if(f.text.startsWith("`")&&this._flags.last_token.type===H.END_EXPR&&(f.previous.text==="]"||f.previous.text===")")&&f.newlines===0)this._output.space_before_token=!0;else this.print_newline();this.print_token(f)};q.prototype.handle_equals=function(f){if(this.start_of_statement(f));else this.handle_whitespace_and_comments(f);if(this._flags.declaration_statement)this._flags.declaration_assignment=!0;this._output.space_before_token=!0,this.print_token(f),this._output.space_before_token=!0};q.prototype.handle_comma=function(f){if(this.handle_whitespace_and_comments(f,!0),this.print_token(f),this._output.space_before_token=!0,this._flags.declaration_statement){if(LR(this._flags.parent.mode))this._flags.declaration_assignment=!1;if(this._flags.declaration_assignment)this._flags.declaration_assignment=!1,this.print_newline(!1,!0);else if(this._options.comma_first)this.allow_wrap_or_preserved_newline(f)}else if(this._flags.mode===D.ObjectLiteral||this._flags.mode===D.Statement&&this._flags.parent.mode===D.ObjectLiteral){if(this._flags.mode===D.Statement)this.restore_mode();if(!this._flags.inline_frame)this.print_newline()}else if(this._options.comma_first)this.allow_wrap_or_preserved_newline(f)};q.prototype.handle_operator=function(f){var h=f.text==="*"&&(j(this._flags.last_token,["function","yield"])||Z(this._flags.last_token.type,[H.START_BLOCK,H.COMMA,H.END_BLOCK,H.SEMICOLON])),R=Z(f.text,["-","+"])&&(Z(this._flags.last_token.type,[H.START_BLOCK,H.START_EXPR,H.EQUALS,H.OPERATOR])||Z(this._flags.last_token.text,QR)||this._flags.last_token.text===",");if(this.start_of_statement(f));else{var A=!h;this.handle_whitespace_and_comments(f,A)}if(f.text==="*"&&this._flags.last_token.type===H.DOT){this.print_token(f);return}if(f.text==="::"){this.print_token(f);return}if(Z(f.text,["-","+"])&&this.start_of_object_property()){this.print_token(f);return}if(this._flags.last_token.type===H.OPERATOR&&Z(this._options.operator_position,$8))this.allow_wrap_or_preserved_newline(f);if(f.text===":"&&this._flags.in_case){if(this.print_token(f),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==H.START_BLOCK)this.indent(),this.print_newline(),this._flags.case_block=!1;else this._flags.case_block=!0,this._output.space_before_token=!0;return}var P=!0,I=!0,$=!1;if(f.text===":")if(this._flags.ternary_depth===0)P=!1;else this._flags.ternary_depth-=1,$=!0;else if(f.text==="?")this._flags.ternary_depth+=1;if(!R&&!h&&this._options.preserve_newlines&&Z(f.text,zR)){var w=f.text===":",U=w&&$,F=w&&!$;switch(this._options.operator_position){case JR.before_newline:if(this._output.space_before_token=!F,this.print_token(f),!w||U)this.allow_wrap_or_preserved_newline(f);this._output.space_before_token=!0;return;case JR.after_newline:if(this._output.space_before_token=!0,!w||U)if(this._tokens.peek().newlines)this.print_newline(!1,!0);else this.allow_wrap_or_preserved_newline(f);else this._output.space_before_token=!1;this.print_token(f),this._output.space_before_token=!0;return;case JR.preserve_newline:if(!F)this.allow_wrap_or_preserved_newline(f);P=!(this._output.just_added_newline()||F),this._output.space_before_token=P,this.print_token(f),this._output.space_before_token=!0;return}}if(h){this.allow_wrap_or_preserved_newline(f),P=!1;var N=this._tokens.peek();I=N&&Z(N.type,[H.WORD,H.RESERVED])}else if(f.text==="...")this.allow_wrap_or_preserved_newline(f),P=this._flags.last_token.type===H.START_BLOCK,I=!1;else if(Z(f.text,["--","++","!","~"])||R){if(this._flags.last_token.type===H.COMMA||this._flags.last_token.type===H.START_EXPR)this.allow_wrap_or_preserved_newline(f);if(P=!1,I=!1,f.newlines&&(f.text==="--"||f.text==="++"||f.text==="~")){var W=j(this._flags.last_token,H0)&&f.newlines;if(W&&(this._previous_flags.if_block||this._previous_flags.else_block))this.restore_mode();this.print_newline(W,!0)}if(this._flags.last_token.text===";"&&LR(this._flags.mode))P=!0;if(this._flags.last_token.type===H.RESERVED)P=!0;else if(this._flags.last_token.type===H.END_EXPR)P=!(this._flags.last_token.text==="]"&&(f.text==="--"||f.text==="++"));else if(this._flags.last_token.type===H.OPERATOR){if(P=Z(f.text,["--","-","++","+"])&&Z(this._flags.last_token.text,["--","-","++","+"]),Z(f.text,["+","-"])&&Z(this._flags.last_token.text,["--","++"]))I=!0}if((this._flags.mode===D.BlockStatement&&!this._flags.inline_frame||this._flags.mode===D.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";"))this.print_newline()}this._output.space_before_token=this._output.space_before_token||P,this.print_token(f),this._output.space_before_token=I};q.prototype.handle_block_comment=function(f,h){if(this._output.raw){if(this._output.add_raw_token(f),f.directives&&f.directives.preserve==="end")this._output.raw=this._options.test_output_raw;return}if(f.directives){if(this.print_newline(!1,h),this.print_token(f),f.directives.preserve==="start")this._output.raw=!0;this.print_newline(!1,!0);return}if(!U0.newline.test(f.text)&&!f.newlines){this._output.space_before_token=!0,this.print_token(f),this._output.space_before_token=!0;return}else this.print_block_commment(f,h)};q.prototype.print_block_commment=function(f,h){var R=uW(f.text),A,P=!1,I=!1,$=f.whitespace_before,w=$.length;if(this.print_newline(!1,h),this.print_token_line_indentation(f),this._output.add_token(R[0]),this.print_newline(!1,h),R.length>1){if(R=R.slice(1),P=tW(R,"*"),I=fY(R,$),P)this._flags.alignment=1;for(A=0;A<R.length;A++){if(P)this.print_token_line_indentation(f),this._output.add_token(eW(R[A]));else if(I&&R[A])this.print_token_line_indentation(f),this._output.add_token(R[A].substring(w));else this._output.current_line.set_indent(-1),this._output.add_token(R[A]);this.print_newline(!1,h)}this._flags.alignment=0}};q.prototype.handle_comment=function(f,h){if(f.newlines)this.print_newline(!1,h);else this._output.trim(!0);this._output.space_before_token=!0,this.print_token(f),this.print_newline(!1,h)};q.prototype.handle_dot=function(f){if(this.start_of_statement(f));else this.handle_whitespace_and_comments(f,!0);if(this._flags.last_token.text.match("^[0-9]+$"))this._output.space_before_token=!0;if(j(this._flags.last_token,H0))this._output.space_before_token=!1;else this.allow_wrap_or_preserved_newline(f,this._flags.last_token.text===")"&&this._options.break_chained_methods);if(this._options.unindent_chained_methods&&this._output.just_added_newline())this.deindent();this.print_token(f)};q.prototype.handle_unknown=function(f,h){if(this.print_token(f),f.text[f.text.length-1]==="\n")this.print_newline(!1,h)};q.prototype.handle_eof=function(f){while(this._flags.mode===D.Statement)this.restore_mode();this.handle_whitespace_and_comments(f)};hY.Beautifier=q});var F8=C((WJ,fP)=>{var AY=H8().Beautifier,PY=x1().Options;function IY(f,h){var R=new AY(f,h);return R.beautify()}fP.exports=IY;fP.exports.defaultOptions=function(){return new PY}});var hP=C(($Y,G8)=>{var E8=P0().Options;function N8(f){E8.call(this,f,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var h=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||h;var R=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var A=0;A<R.length;A++)if(R[A]!=="expand")this.brace_style="collapse";else this.brace_style=R[A]}N8.prototype=new E8;$Y.Options=N8});var D8=C((YY,Y8)=>{var UY=hP().Options,HY=R0().Output,FY=I0().InputScanner,EY=$0().Directives,S8=new EY(/\/\*/,/\*\//),W8=/\r\n|[\r\n]/,NY=/\r\n|[\r\n]/g,F0=/\s/,GY=/(?:\s|\n)+/g,SY=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,WY=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function Of(f,h){this._source_text=f||"",this._options=new UY(h),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}Of.prototype.eatString=function(f){var h="";this._ch=this._input.next();while(this._ch){if(h+=this._ch,this._ch==="\\")h+=this._input.next();else if(f.indexOf(this._ch)!==-1||this._ch==="\n")break;this._ch=this._input.next()}return h};Of.prototype.eatWhitespace=function(f){var h=F0.test(this._input.peek()),R=0;while(F0.test(this._input.peek()))if(this._ch=this._input.next(),f&&this._ch==="\n"){if(R===0||R<this._options.max_preserve_newlines)R++,this._output.add_new_line(!0)}return h};Of.prototype.foundNestedPseudoClass=function(){var f=0,h=1,R=this._input.peek(h);while(R){if(R==="{")return!0;else if(R==="(")f+=1;else if(R===")"){if(f===0)return!1;f-=1}else if(R===";"||R==="}")return!1;h++,R=this._input.peek(h)}return!1};Of.prototype.print_string=function(f){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(f)};Of.prototype.preserveSingleSpace=function(f){if(f)this._output.space_before_token=!0};Of.prototype.indent=function(){this._indentLevel++};Of.prototype.outdent=function(){if(this._indentLevel>0)this._indentLevel--};Of.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var f=this._source_text,h=this._options.eol;if(h==="auto"){if(h="\n",f&&W8.test(f||""))h=f.match(W8)[0]}f=f.replace(NY,"\n");var R=f.match(/^[\t ]*/)[0];this._output=new HY(this._options,R),this._input=new FY(f),this._indentLevel=0,this._nestedLevel=0,this._ch=null;var A=0,P=!1,I=!1,$=!1,w=!1,U=!1,F=this._ch,N=!1,W,V,S;while(!0){if(W=this._input.read(GY),V=W!=="",S=F,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext())this._ch+=this._input.next();if(F=this._ch,!this._ch)break;else if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var L=this._input.read(SY),K=S8.get_directives(L);if(K&&K.ignore==="start")L+=S8.readIgnored(this._input);this.print_string(L),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(WY)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(V),this.print_string(this._ch);var Pf=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);if(Pf.match(/[ :]$/))Pf=this.eatString(": ").replace(/\s+$/,""),this.print_string(Pf),this._output.space_before_token=!0;if(A===0&&Pf.indexOf(":")!==-1)I=!0,this.indent()}else if(this._ch==="@")if(this.preserveSingleSpace(V),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var If=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);if(If.match(/[ :]$/))If=this.eatString(": ").replace(/\s+$/,""),this.print_string(If),this._output.space_before_token=!0;if(A===0&&If.indexOf(":")!==-1)I=!0,this.indent();else if(If in this.NESTED_AT_RULE){if(this._nestedLevel+=1,If in this.CONDITIONAL_GROUP_RULE)$=!0}else if(A===0&&!I)w=!0}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(V),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{"){if(I)I=!1,this.outdent();if(w=!1,$)$=!1,P=this._indentLevel>=this._nestedLevel;else P=this._indentLevel>=this._nestedLevel-1;if(this._options.newline_between_rules&&P){if(this._output.previous_line&&this._output.previous_line.item(-1)!=="{")this._output.ensure_empty_line_above("/",",")}if(this._output.space_before_token=!0,this._options.brace_style==="expand")this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel);else{if(S==="(")this._output.space_before_token=!1;else if(S!==",")this.indent();this.print_string(this._ch)}this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="}"){if(this.outdent(),this._output.add_new_line(),S==="{")this._output.trim(!0);if(I)this.outdent(),I=!1;if(this.print_string(this._ch),P=!1,this._nestedLevel)this._nestedLevel--;if(this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()){if(this._input.peek()!=="}")this._output.add_new_line(!0)}if(this._input.peek()===")"){if(this._output.trim(!0),this._options.brace_style==="expand")this._output.add_new_line(!0)}}else if(this._ch===":"){for(var Kf=0;Kf<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Kf++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Kf])){N=!0;break}if((P||$)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!w&&A===0){if(this.print_string(":"),!I)I=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent()}else{if(this._input.lookBack(" "))this._output.space_before_token=!0;if(this._input.peek()===":")this._ch=this._input.next(),this.print_string("::");else this.print_string(":")}}else if(this._ch==='"'||this._ch==="\'"){var lh=S==='"'||S==="\'";this.preserveSingleSpace(lh||V),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")if(N=!1,A===0){if(I)this.outdent(),I=!1;if(w=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/")this._output.add_new_line()}else this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0;else if(this._ch==="(")if(this._input.lookBack("url")){if(this.print_string(this._ch),this.eatWhitespace(),A++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="\'")this._input.back();else if(this._ch){if(this.print_string(this._ch+this.eatString(")")),A)A--,this.outdent()}}else{var yR=!1;if(this._input.lookBack("with"))yR=!0;if(this.preserveSingleSpace(V||yR),this.print_string(this._ch),I&&S==="$"&&this._options.selector_separator_newline)this._output.add_new_line(),U=!0;else this.eatWhitespace(),A++,this.indent()}else if(this._ch===")"){if(A)A--,this.outdent();if(U&&this._input.peek()===";"&&this._options.selector_separator_newline)U=!1,this.outdent(),this._output.add_new_line();this.print_string(this._ch)}else if(this._ch===",")if(this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!I||U)&&A===0&&!w)this._output.add_new_line();else this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!I&&A===0){if(this._options.space_around_combinator)this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0;else if(this.print_string(this._ch),this.eatWhitespace(),this._ch&&F0.test(this._ch))this._ch=""}else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(V),this.print_string(this._ch);else if(this._ch==="="){if(this.eatWhitespace(),this.print_string("="),F0.test(this._ch))this._ch=""}else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var IF=S==='"'||S==="\'";if(this.preserveSingleSpace(IF||V),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()==="\n"&&N)this._output.add_new_line()}}var $F=this._output.get_code(h);return $F};YY.Beautifier=Of});var M8=C((YJ,RP)=>{var MY=D8().Beautifier,VY=hP().Options;function XY(f,h){var R=new MY(f,h);return R.beautify()}RP.exports=XY;RP.exports.defaultOptions=function(){return new VY}});var AP=C((ZY,Z8)=>{var V8=P0().Options;function X8(f){if(V8.call(this,f,"html"),this.templating.length===1&&this.templating[0]==="auto")this.templating=["django","erb","handlebars","php"];this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}X8.prototype=new V8;ZY.Options=X8});var $P=C((gY,IP)=>{var J8=VR().Tokenizer,PP=VR().TOKEN,JY=$0().Directives,LY=o1().TemplatablePattern,QY=DR().Pattern,B={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:PP.START,RAW:PP.RAW,EOF:PP.EOF},z8=new JY(/<\!--/,/-->/),Af=function(f,h){J8.call(this,f,h),this._current_tag_name="";var R=new LY(this._input).read_options(this._options),A=new QY(this._input);if(this.__patterns={word:R.until(/[\n\r\t <]/),word_control_flow_close_excluded:R.until(/[\n\r\t <}]/),single_quote:R.until_after(/'/),double_quote:R.until_after(/"/),attribute:R.until(/[\n\r\t =>]|\/>/),element_name:R.until(/[\n\r\t >\/]/),angular_control_flow_start:A.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:A.starting_with(/{{!--/).until_after(/--}}/),handlebars:A.starting_with(/{{/).until_after(/}}/),handlebars_open:A.until(/[\n\r\t }]/),handlebars_raw_close:A.until(/}}/),comment:A.starting_with(/<!--/).until_after(/-->/),cdata:A.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:A.starting_with(/<!\[/).until_after(/]>/),processing:A.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars)this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars");if(this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var P=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=A.matching(P).until_after(P)}};Af.prototype=new J8;Af.prototype._is_comment=function(f){return!1};Af.prototype._is_opening=function(f){return f.type===B.TAG_OPEN||f.type===B.CONTROL_FLOW_OPEN};Af.prototype._is_closing=function(f,h){return f.type===B.TAG_CLOSE&&(h&&((f.text===">"||f.text==="/>")&&h.text[0]==="<"||f.text==="}}"&&h.text[0]==="{"&&h.text[1]==="{"))||f.type===B.CONTROL_FLOW_CLOSE&&(f.text==="}"&&h.text.endsWith("{"))};Af.prototype._reset=function(){this._current_tag_name=""};Af.prototype._get_next_token=function(f,h){var R=null;this._readWhitespace();var A=this._input.peek();if(A===null)return this._create_token(B.EOF,"");return R=R||this._read_open_handlebars(A,h),R=R||this._read_attribute(A,f,h),R=R||this._read_close(A,h),R=R||this._read_control_flows(A,h),R=R||this._read_raw_content(A,f,h),R=R||this._read_content_word(A,h),R=R||this._read_comment_or_cdata(A),R=R||this._read_processing(A),R=R||this._read_open(A,h),R=R||this._create_token(B.UNKNOWN,this._input.next()),R};Af.prototype._read_comment_or_cdata=function(f){var h=null,R=null,A=null;if(f==="<"){var P=this._input.peek(1);if(P==="!")if(R=this.__patterns.comment.read(),R){if(A=z8.get_directives(R),A&&A.ignore==="start")R+=z8.readIgnored(this._input)}else R=this.__patterns.cdata.read();if(R)h=this._create_token(B.COMMENT,R),h.directives=A}return h};Af.prototype._read_processing=function(f){var h=null,R=null,A=null;if(f==="<"){var P=this._input.peek(1);if(P==="!"||P==="?")R=this.__patterns.conditional_comment.read(),R=R||this.__patterns.processing.read();if(R)h=this._create_token(B.COMMENT,R),h.directives=A}return h};Af.prototype._read_open=function(f,h){var R=null,A=null;if(!h||h.type===B.CONTROL_FLOW_OPEN){if(f==="<"){if(R=this._input.next(),this._input.peek()==="/")R+=this._input.next();R+=this.__patterns.element_name.read(),A=this._create_token(B.TAG_OPEN,R)}}return A};Af.prototype._read_open_handlebars=function(f,h){var R=null,A=null;if(!h||h.type===B.CONTROL_FLOW_OPEN){if(this._options.indent_handlebars&&f==="{"&&this._input.peek(1)==="{")if(this._input.peek(2)==="!")R=this.__patterns.handlebars_comment.read(),R=R||this.__patterns.handlebars.read(),A=this._create_token(B.COMMENT,R);else R=this.__patterns.handlebars_open.read(),A=this._create_token(B.TAG_OPEN,R)}return A};Af.prototype._read_control_flows=function(f,h){var R="",A=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars)return A;if(f==="@"){if(R=this.__patterns.angular_control_flow_start.read(),R==="")return A;var P=R.endsWith("(")?1:0,I=0;while(!(R.endsWith("{")&&P===I)){var $=this._input.next();if($===null)break;else if($==="(")P++;else if($===")")I++;R+=$}A=this._create_token(B.CONTROL_FLOW_OPEN,R)}else if(f==="}"&&h&&h.type===B.CONTROL_FLOW_OPEN)R=this._input.next(),A=this._create_token(B.CONTROL_FLOW_CLOSE,R);return A};Af.prototype._read_close=function(f,h){var R=null,A=null;if(h&&h.type===B.TAG_OPEN){if(h.text[0]==="<"&&(f===">"||f==="/"&&this._input.peek(1)===">")){if(R=this._input.next(),f==="/")R+=this._input.next();A=this._create_token(B.TAG_CLOSE,R)}else if(h.text[0]==="{"&&f==="}"&&this._input.peek(1)==="}")this._input.next(),this._input.next(),A=this._create_token(B.TAG_CLOSE,"}}")}return A};Af.prototype._read_attribute=function(f,h,R){var A=null,P="";if(R&&R.text[0]==="<"){if(f==="=")A=this._create_token(B.EQUALS,this._input.next());else if(f==='"'||f==="'"){var I=this._input.next();if(f==='"')I+=this.__patterns.double_quote.read();else I+=this.__patterns.single_quote.read();A=this._create_token(B.VALUE,I)}else if(P=this.__patterns.attribute.read(),P)if(h.type===B.EQUALS)A=this._create_token(B.VALUE,P);else A=this._create_token(B.ATTRIBUTE,P)}return A};Af.prototype._is_content_unformatted=function(f){return this._options.void_elements.indexOf(f)===-1&&(this._options.content_unformatted.indexOf(f)!==-1||this._options.unformatted.indexOf(f)!==-1)};Af.prototype._read_raw_content=function(f,h,R){var A="";if(R&&R.text[0]==="{")A=this.__patterns.handlebars_raw_close.read();else if(h.type===B.TAG_CLOSE&&h.opened.text[0]==="<"&&h.text[0]!=="/"){var P=h.opened.text.substr(1).toLowerCase();if(P==="script"||P==="style"){var I=this._read_comment_or_cdata(f);if(I)return I.type=B.TEXT,I;A=this._input.readUntil(new RegExp("</"+P+"[\\n\\r\\t ]*?>","ig"))}else if(this._is_content_unformatted(P))A=this._input.readUntil(new RegExp("</"+P+"[\\n\\r\\t ]*?>","ig"))}if(A)return this._create_token(B.TEXT,A);return null};Af.prototype._read_content_word=function(f,h){var R="";if(this._options.unformatted_content_delimiter){if(f===this._options.unformatted_content_delimiter[0])R=this.__patterns.unformatted_content_delimiter.read()}if(!R)R=h&&h.type===B.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read();if(R)return this._create_token(B.TEXT,R)};gY.Tokenizer=Af;gY.TOKEN=B});var q8=C((lY,g8)=>{var BY=AP().Options,TY=R0().Output,KY=$P().Tokenizer,y=$P().TOKEN,L8=/\r\n|[\r\n]/,vY=/\r\n|[\r\n]/g,Df=function(f,h){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=f.max_preserve_newlines,this.preserve_newlines=f.preserve_newlines,this._output=new TY(f,h)};Df.prototype.current_line_has_match=function(f){return this._output.current_line.has_match(f)};Df.prototype.set_space_before_token=function(f,h){this._output.space_before_token=f,this._output.non_breaking_space=h};Df.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()};Df.prototype.add_raw_token=function(f){this._output.add_raw_token(f)};Df.prototype.print_preserved_newlines=function(f){var h=0;if(f.type!==y.TEXT&&f.previous.type!==y.TEXT)h=f.newlines?1:0;if(this.preserve_newlines)h=f.newlines<this.max_preserve_newlines+1?f.newlines:this.max_preserve_newlines+1;for(var R=0;R<h;R++)this.print_newline(R>0);return h!==0};Df.prototype.traverse_whitespace=function(f){if(f.whitespace_before||f.newlines){if(!this.print_preserved_newlines(f))this._output.space_before_token=!0;return!0}return!1};Df.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped};Df.prototype.print_newline=function(f){this._output.add_new_line(f)};Df.prototype.print_token=function(f){if(f.text)this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(f.text)};Df.prototype.indent=function(){this.indent_level++};Df.prototype.deindent=function(){if(this.indent_level>0)this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size)};Df.prototype.get_full_indent=function(f){if(f=this.indent_level+(f||0),f<1)return"";return this._output.get_indent_string(f)};var jY=function(f){var h=null,R=f.next;while(R.type!==y.EOF&&f.closed!==R){if(R.type===y.ATTRIBUTE&&R.text==="type"){if(R.next&&R.next.type===y.EQUALS&&R.next.next&&R.next.next.type===y.VALUE)h=R.next.next.text;break}R=R.next}return h},mY=function(f,h){var R=null,A=null;if(!h.closed)return null;if(f==="script")R="text/javascript";else if(f==="style")R="text/css";if(R=jY(h)||R,R.search("text/css")>-1)A="css";else if(R.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1)A="javascript";else if(R.search(/(text|application|dojo)\/(x-)?(html)/)>-1)A="html";else if(R.search(/test\/null/)>-1)A="null";return A};function gR(f,h){return h.indexOf(f)!==-1}function OY(f,h,R){this.parent=f||null,this.tag=h?h.tag_name:"",this.indent_level=R||0,this.parser_token=h||null}function Gh(f){this._printer=f,this._current_frame=null}Gh.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null};Gh.prototype.record_tag=function(f){var h=new OY(this._current_frame,f,this._printer.indent_level);this._current_frame=h};Gh.prototype._try_pop_frame=function(f){var h=null;if(f)h=f.parser_token,this._printer.indent_level=f.indent_level,this._current_frame=f.parent;return h};Gh.prototype._get_frame=function(f,h){var R=this._current_frame;while(R){if(f.indexOf(R.tag)!==-1)break;else if(h&&h.indexOf(R.tag)!==-1){R=null;break}R=R.parent}return R};Gh.prototype.try_pop=function(f,h){var R=this._get_frame([f],h);return this._try_pop_frame(R)};Gh.prototype.indent_to_tag=function(f){var h=this._get_frame(f);if(h)this._printer.indent_level=h.indent_level};function Gf(f,h,R,A){this._source_text=f||"",h=h||{},this._js_beautify=R,this._css_beautify=A,this._tag_stack=null;var P=new BY(h,"html");this._options=P,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,"force".length)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,"preserve".length)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}Gf.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var f=this._source_text,h=this._options.eol;if(this._options.eol==="auto"){if(h="\n",f&&L8.test(f))h=f.match(L8)[0]}f=f.replace(vY,"\n");var R=f.match(/^[\t ]*/)[0],A={text:"",type:""},P=new Q8,I=new Df(this._options,R),$=new KY(f,this._options).tokenize();this._tag_stack=new Gh(I);var w=null,U=$.next();while(U.type!==y.EOF){if(U.type===y.TAG_OPEN||U.type===y.COMMENT)w=this._handle_tag_open(I,U,P,A,$),P=w;else if(U.type===y.ATTRIBUTE||U.type===y.EQUALS||U.type===y.VALUE||U.type===y.TEXT&&!P.tag_complete)w=this._handle_inside_tag(I,U,P,A);else if(U.type===y.TAG_CLOSE)w=this._handle_tag_close(I,U,P);else if(U.type===y.TEXT)w=this._handle_text(I,U,P);else if(U.type===y.CONTROL_FLOW_OPEN)w=this._handle_control_flow_open(I,U);else if(U.type===y.CONTROL_FLOW_CLOSE)w=this._handle_control_flow_close(I,U);else I.add_raw_token(U);A=w,U=$.next()}var F=I._output.get_code(h);return F};Gf.prototype._handle_control_flow_open=function(f,h){var R={text:h.text,type:h.type};if(f.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),h.newlines)f.print_preserved_newlines(h);else f.set_space_before_token(h.newlines||h.whitespace_before!=="",!0);return f.print_token(h),f.indent(),R};Gf.prototype._handle_control_flow_close=function(f,h){var R={text:h.text,type:h.type};if(f.deindent(),h.newlines)f.print_preserved_newlines(h);else f.set_space_before_token(h.newlines||h.whitespace_before!=="",!0);return f.print_token(h),R};Gf.prototype._handle_tag_close=function(f,h,R){var A={text:h.text,type:h.type};if(f.alignment_size=0,R.tag_complete=!0,f.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),R.is_unformatted)f.add_raw_token(h);else{if(R.tag_start_char==="<"){if(f.set_space_before_token(h.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&R.has_wrapped_attrs)f.print_newline(!1)}f.print_token(h)}if(R.indent_content&&!(R.is_unformatted||R.is_content_unformatted))f.indent(),R.indent_content=!1;if(!R.is_inline_element&&!(R.is_unformatted||R.is_content_unformatted))f.set_wrap_point();return A};Gf.prototype._handle_inside_tag=function(f,h,R,A){var P=R.has_wrapped_attrs,I={text:h.text,type:h.type};if(f.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),R.is_unformatted)f.add_raw_token(h);else if(R.tag_start_char==="{"&&h.type===y.TEXT)if(f.print_preserved_newlines(h))h.newlines=0,f.add_raw_token(h);else f.print_token(h);else{if(h.type===y.ATTRIBUTE)f.set_space_before_token(!0);else if(h.type===y.EQUALS)f.set_space_before_token(!1);else if(h.type===y.VALUE&&h.previous.type===y.EQUALS)f.set_space_before_token(!1);if(h.type===y.ATTRIBUTE&&R.tag_start_char==="<"){if(this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)f.traverse_whitespace(h),P=P||h.newlines!==0;if(this._is_wrap_attributes_force&&R.attr_count>=this._options.wrap_attributes_min_attrs&&(A.type!==y.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline))f.print_newline(!1),P=!0}f.print_token(h),P=P||f.previous_token_wrapped(),R.has_wrapped_attrs=P}return I};Gf.prototype._handle_text=function(f,h,R){var A={text:h.text,type:"TK_CONTENT"};if(R.custom_beautifier_name)this._print_custom_beatifier_text(f,h,R);else if(R.is_unformatted||R.is_content_unformatted)f.add_raw_token(h);else f.traverse_whitespace(h),f.print_token(h);return A};Gf.prototype._print_custom_beatifier_text=function(f,h,R){var A=this;if(h.text!==""){var P=h.text,I,$=1,w="",U="";if(R.custom_beautifier_name==="javascript"&&typeof this._js_beautify==="function")I=this._js_beautify;else if(R.custom_beautifier_name==="css"&&typeof this._css_beautify==="function")I=this._css_beautify;else if(R.custom_beautifier_name==="html")I=function(L,K){var Pf=new Gf(L,K,A._js_beautify,A._css_beautify);return Pf.beautify()};if(this._options.indent_scripts==="keep")$=0;else if(this._options.indent_scripts==="separate")$=-f.indent_level;var F=f.get_full_indent($);if(P=P.replace(/\n[ \t]*$/,""),R.custom_beautifier_name!=="html"&&P[0]==="<"&&P.match(/^(<!--|<!\[CDATA\[)/)){var N=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(P);if(!N){f.add_raw_token(h);return}if(w=F+N[1]+"\n",P=N[4],N[5])U=F+N[5];if(P=P.replace(/\n[ \t]*$/,""),N[2]||N[3].indexOf("\n")!==-1){if(N=N[3].match(/[ \t]+$/),N)h.whitespace_before=N[0]}}if(P)if(I){var W=function(){this.eol="\n"};W.prototype=this._options.raw_options;var V=new W;P=I(F+P,V)}else{var S=h.whitespace_before;if(S)P=P.replace(new RegExp("\n("+S+")?","g"),"\n");P=F+P.replace(/\n/g,"\n"+F)}if(w)if(!P)P=w+U;else P=w+P+"\n"+U;if(f.print_newline(!1),P)h.text=P,h.whitespace_before="",h.newlines=0,f.add_raw_token(h),f.print_newline(!0)}};Gf.prototype._handle_tag_open=function(f,h,R,A,P){var I=this._get_tag_open_token(h);if((R.is_unformatted||R.is_content_unformatted)&&!R.is_empty_element&&h.type===y.TAG_OPEN&&!I.is_start_tag)f.add_raw_token(h),I.start_tag_token=this._tag_stack.try_pop(I.tag_name);else{if(f.traverse_whitespace(h),this._set_tag_position(f,h,I,R,A),!I.is_inline_element)f.set_wrap_point();f.print_token(h)}if(I.is_start_tag&&this._is_wrap_attributes_force){var $=0,w;do{if(w=P.peek($),w.type===y.ATTRIBUTE)I.attr_count+=1;$+=1}while(w.type!==y.EOF&&w.type!==y.TAG_CLOSE)}if(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)I.alignment_size=h.text.length+1;if(!I.tag_complete&&!I.is_unformatted)f.alignment_size=I.alignment_size;return I};var Q8=function(f,h){if(this.parent=f||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!h)this.tag_complete=!0;else{var R;if(this.tag_start_char=h.text[0],this.text=h.text,this.tag_start_char==="<")R=h.text.match(/^<([^\s>]*)/),this.tag_check=R?R[1]:"";else if(R=h.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=R?R[1]:"",(h.text.startsWith("{{#>")||h.text.startsWith("{{~#>"))&&this.tag_check[0]===">")if(this.tag_check===">"&&h.next!==null)this.tag_check=h.next.text.split(" ")[0];else this.tag_check=h.text.split(">")[1];if(this.tag_check=this.tag_check.toLowerCase(),h.type===y.COMMENT)this.tag_complete=!0;this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=!this.is_start_tag?this.tag_check.substr(1):this.tag_check,this.is_end_tag=!this.is_start_tag||h.closed&&h.closed.text==="/>";var A=2;if(this.tag_start_char==="{"&&this.text.length>=3){if(this.text.charAt(2)==="~")A=3}this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(A)))}};Gf.prototype._get_tag_open_token=function(f){var h=new Q8(this._tag_stack.get_parser_token(),f);return h.alignment_size=this._options.wrap_attributes_indent_size,h.is_end_tag=h.is_end_tag||gR(h.tag_check,this._options.void_elements),h.is_empty_element=h.tag_complete||h.is_start_tag&&h.is_end_tag,h.is_unformatted=!h.tag_complete&&gR(h.tag_check,this._options.unformatted),h.is_content_unformatted=!h.is_empty_element&&gR(h.tag_check,this._options.content_unformatted),h.is_inline_element=gR(h.tag_name,this._options.inline)||this._options.inline_custom_elements&&h.tag_name.includes("-")||h.tag_start_char==="{",h};Gf.prototype._set_tag_position=function(f,h,R,A,P){if(!R.is_empty_element)if(R.is_end_tag)R.start_tag_token=this._tag_stack.try_pop(R.tag_name);else{if(this._do_optional_end_element(R)){if(!R.is_inline_element)f.print_newline(!1)}if(this._tag_stack.record_tag(R),(R.tag_name==="script"||R.tag_name==="style")&&!(R.is_unformatted||R.is_content_unformatted))R.custom_beautifier_name=mY(R.tag_check,h)}if(gR(R.tag_check,this._options.extra_liners)){if(f.print_newline(!1),!f._output.just_added_blankline())f.print_newline(!0)}if(R.is_empty_element){if(R.tag_start_char==="{"&&R.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),R.indent_content=!0;var I=f.current_line_has_match(/{{#if/);if(!I)f.print_newline(!1)}if(R.tag_name==="!--"&&P.type===y.TAG_CLOSE&&A.is_end_tag&&R.text.indexOf("\n")===-1);else{if(!(R.is_inline_element||R.is_unformatted))f.print_newline(!1);this._calcluate_parent_multiline(f,R)}}else if(R.is_end_tag){var $=!1;if($=R.start_tag_token&&R.start_tag_token.multiline_content,$=$||!R.is_inline_element&&!(A.is_inline_element||A.is_unformatted)&&!(P.type===y.TAG_CLOSE&&R.start_tag_token===A)&&P.type!=="TK_CONTENT",R.is_content_unformatted||R.is_unformatted)$=!1;if($)f.print_newline(!1)}else{if(R.indent_content=!R.custom_beautifier_name,R.tag_start_char==="<"){if(R.tag_name==="html")R.indent_content=this._options.indent_inner_html;else if(R.tag_name==="head")R.indent_content=this._options.indent_head_inner_html;else if(R.tag_name==="body")R.indent_content=this._options.indent_body_inner_html}if(!(R.is_inline_element||R.is_unformatted)&&(P.type!=="TK_CONTENT"||R.is_content_unformatted))f.print_newline(!1);this._calcluate_parent_multiline(f,R)}};Gf.prototype._calcluate_parent_multiline=function(f,h){if(h.parent&&f._output.just_added_newline()&&!((h.is_inline_element||h.is_unformatted)&&h.parent.is_inline_element))h.parent.multiline_content=!0};var sY=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],CY=["a","audio","del","ins","map","noscript","video"];Gf.prototype._do_optional_end_element=function(f){var h=null;if(f.is_empty_element||!f.is_start_tag||!f.parent)return;if(f.tag_name==="body")h=h||this._tag_stack.try_pop("head");else if(f.tag_name==="li")h=h||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(f.tag_name==="dd"||f.tag_name==="dt")h=h||this._tag_stack.try_pop("dt",["dl"]),h=h||this._tag_stack.try_pop("dd",["dl"]);else if(f.parent.tag_name==="p"&&sY.indexOf(f.tag_name)!==-1){var R=f.parent.parent;if(!R||CY.indexOf(R.tag_name)===-1)h=h||this._tag_stack.try_pop("p")}else if(f.tag_name==="rp"||f.tag_name==="rt")h=h||this._tag_stack.try_pop("rt",["ruby","rtc"]),h=h||this._tag_stack.try_pop("rp",["ruby","rtc"]);else if(f.tag_name==="optgroup")h=h||this._tag_stack.try_pop("optgroup",["select"]);else if(f.tag_name==="option")h=h||this._tag_stack.try_pop("option",["select","datalist","optgroup"]);else if(f.tag_name==="colgroup")h=h||this._tag_stack.try_pop("caption",["table"]);else if(f.tag_name==="thead")h=h||this._tag_stack.try_pop("caption",["table"]),h=h||this._tag_stack.try_pop("colgroup",["table"]);else if(f.tag_name==="tbody"||f.tag_name==="tfoot")h=h||this._tag_stack.try_pop("caption",["table"]),h=h||this._tag_stack.try_pop("colgroup",["table"]),h=h||this._tag_stack.try_pop("thead",["table"]),h=h||this._tag_stack.try_pop("tbody",["table"]);else if(f.tag_name==="tr")h=h||this._tag_stack.try_pop("caption",["table"]),h=h||this._tag_stack.try_pop("colgroup",["table"]),h=h||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]);else if(f.tag_name==="th"||f.tag_name==="td")h=h||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),h=h||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]);return f.parent=this._tag_stack.get_parser_token(),h};lY.Beautifier=Gf});var y8=C((DJ,wP)=>{var bY=q8().Beautifier,dY=AP().Options;function rY(f,h,R,A){var P=new bY(f,h,R,A);return P.beautify()}wP.exports=rY;wP.exports.defaultOptions=function(){return new dY}});var j8=C((kY,E0)=>{var B8=F8(),T8=M8(),K8=y8();function v8(f,h,R,A){return R=R||B8,A=A||T8,K8(f,h,R,A)}v8.defaultOptions=K8.defaultOptions;kY.js=B8;kY.css=T8;kY.html=v8});var s8=C((MJ,O8)=>{function m8(f,h,R){var A=function(P,I){return f.js_beautify(P,I)};return A.js=f.js_beautify,A.css=h.css_beautify,A.html=R.html_beautify,A.js_beautify=f.js_beautify,A.css_beautify=h.css_beautify,A.html_beautify=R.html_beautify,A}if(typeof define==="function"&&define.amd)define(["./lib/beautify","./lib/beautify-css","./lib/beautify-html"],function(f,h,R){return m8(f,h,R)});else(function(f){var h=j8();h.js_beautify=h.js,h.css_beautify=h.css,h.html_beautify=h.html,f.exports=m8(h,h,h)})(O8)});class Sh{}import{readdir as wF}from"fs/promises";class TR extends Sh{f;constructor(f=`${process.env.ROOT_DIR}/storage`){super();this.folderPath=f}async put(f){let h,R;if(f instanceof Blob)h=f,R=`${BR()}.${f.type.split("/")[1].split(";")[0]}`;else h=f.body,R=f.name;let A=h instanceof Buffer?h:Buffer.from(await h.arrayBuffer()),P=`${this.folderPath}/${R}`;return await Bun.write(P,A),R}async fetch(f){let h=process.env.BUCKET_NAME,R;if(typeof f==="string")R=f;else h=f.bucket??h,R=f.name;if(!R)throw new Error("Object name has to be specified");let A=`${this.folderPath}/${R}`,P=Bun.file(A),I=Bun.file(A).stream(),$=new Date(P.lastModified).toUTCString();return new Response(I,{headers:{"Content-Type":P.type,"Content-Length":String(P.size),"Cache-Control":"private, max-age=12000, must-revalidate","Last-Modified":$}})}async list(){return await wF(this.folderPath)}}class FP extends a{driver=new TR;boot(){}}function UF(f){return(h)=>async(R)=>{let{request:A}=R;if(Sf.isInstance(A)&&A.body&&f.runtime==="node"){if(f.requestHandler?.constructor?.name!=="FetchHttpHandler")A.headers={...A.headers,Expect:"100-continue"}}return h({...R,request:A})}}var HF={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0},EP=(f)=>({applyToStack:(h)=>{h.add(UF(f),HF)}});var ch={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},KR=ch.WHEN_SUPPORTED,M0={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},vR=ch.WHEN_SUPPORTED,c;(function(f){f.MD5="MD5",f.CRC32="CRC32",f.CRC32C="CRC32C",f.SHA1="SHA1",f.SHA256="SHA256"})(c||(c={}));var NP;(function(f){f.HEADER="header",f.TRAILER="trailer"})(NP||(NP={}));var{MD5:GP,CRC32:SP}=c;var sf;(function(f){f.ENV="env",f.CONFIG="shared config entry"})(sf||(sf={}));var Wh=(f,h,R,A)=>{if(!(h in f))return;let P=f[h].toUpperCase();if(!Object.values(R).includes(P))throw new TypeError(`Cannot load ${A} '${h}'. Expected one of ${Object.values(R)}, got '${f[h]}'.`);return P};var FF="AWS_REQUEST_CHECKSUM_CALCULATION",EF="request_checksum_calculation",WP={environmentVariableSelector:(f)=>Wh(f,FF,ch,sf.ENV),configFileSelector:(f)=>Wh(f,EF,ch,sf.CONFIG),default:KR};var NF="AWS_RESPONSE_CHECKSUM_VALIDATION",GF="response_checksum_validation",YP={environmentVariableSelector:(f)=>Wh(f,NF,M0,sf.ENV),configFileSelector:(f)=>Wh(f,GF,M0,sf.CONFIG),default:vR};var bh=[c.CRC32,c.CRC32C,c.SHA1,c.SHA256],DP=[c.CRC32,c.CRC32C,c.SHA1,c.SHA256];var MP=(f,{requestChecksumRequired:h,requestAlgorithmMember:R},A)=>{let P=A?SP:GP;if(!R||!f[R])return h?P:void 0;let I=f[R];if(!bh.includes(I))throw new Error(`The checksum algorithm "${I}" is not supported by the client. Select one of ${bh}.`);return I};var Yh=(f)=>f===c.MD5?"content-md5":`x-amz-checksum-${f.toLowerCase()}`;var VP=(f,h)=>{let R=f.toLowerCase();for(let A of Object.keys(h))if(R===A.toLowerCase())return!0;return!1};var Dh=(f)=>f!==void 0&&typeof f!=="string"&&!ArrayBuffer.isView(f)&&!XP(f);var ZP=b(SF(),1),{__extends:aD,__assign:iD,__rest:pD,__decorate:eD,__param:oD,__esDecorate:nD,__runInitializers:uD,__propKey:tD,__setFunctionName:f4,__metadata:h4,__awaiter:jR,__generator:mR,__exportStar:R4,__createBinding:A4,__values:OR,__read:P4,__spread:I4,__spreadArrays:$4,__spreadArray:w4,__await:U4,__asyncGenerator:H4,__asyncDelegator:F4,__asyncValues:E4,__makeTemplateObject:N4,__importStar:G4,__importDefault:S4,__classPrivateFieldGet:W4,__classPrivateFieldSet:Y4,__classPrivateFieldIn:D4,__addDisposableResource:M4,__disposeResources:V4}=ZP.default;import{Buffer as zP}from"buffer";var JP=(f,h)=>{if(typeof f!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof f} (${f})`);return h?zP.from(f,h):zP.from(f)};var V0=(f)=>{let h=JP(f,"utf8");return new Uint8Array(h.buffer,h.byteOffset,h.byteLength/Uint8Array.BYTES_PER_ELEMENT)};var WF=typeof Buffer!=="undefined"&&Buffer.from?function(f){return Buffer.from(f,"utf8")}:V0;function dh(f){if(f instanceof Uint8Array)return f;if(typeof f==="string")return WF(f);if(ArrayBuffer.isView(f))return new Uint8Array(f.buffer,f.byteOffset,f.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(f)}function rh(f){if(typeof f==="string")return f.length===0;return f.byteLength===0}function kh(f){return new Uint8Array([(f&4278190080)>>24,(f&16711680)>>16,(f&65280)>>8,f&255])}function xh(f){if(!Uint32Array.from){var h=new Uint32Array(f.length),R=0;while(R<f.length)h[R]=f[R],R+=1;return h}return Uint32Array.from(f)}var X0=function(){function f(){this.crc32=new fh}return f.prototype.update=function(h){if(rh(h))return;this.crc32.update(dh(h))},f.prototype.digest=function(){return jR(this,void 0,void 0,function(){return mR(this,function(h){return[2,kh(this.crc32.digest())]})})},f.prototype.reset=function(){this.crc32=new fh},f}();var fh=function(){function f(){this.checksum=4294967295}return f.prototype.update=function(h){var R,A;try{for(var P=OR(h),I=P.next();!I.done;I=P.next()){var $=I.value;this.checksum=this.checksum>>>8^DF[(this.checksum^$)&255]}}catch(w){R={error:w}}finally{try{if(I&&!I.done&&(A=P.return))A.call(P)}finally{if(R)throw R.error}}return this},f.prototype.digest=function(){return(this.checksum^4294967295)>>>0},f}();var YF=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],DF=xh(YF);var z0=function(){function f(){this.crc32c=new Z0}return f.prototype.update=function(h){if(rh(h))return;this.crc32c.update(dh(h))},f.prototype.digest=function(){return jR(this,void 0,void 0,function(){return mR(this,function(h){return[2,kh(this.crc32c.digest())]})})},f.prototype.reset=function(){this.crc32c=new Z0},f}();var Z0=function(){function f(){this.checksum=4294967295}return f.prototype.update=function(h){var R,A;try{for(var P=OR(h),I=P.next();!I.done;I=P.next()){var $=I.value;this.checksum=this.checksum>>>8^VF[(this.checksum^$)&255]}}catch(w){R={error:w}}finally{try{if(I&&!I.done&&(A=P.return))A.call(P)}finally{if(R)throw R.error}}return this},f.prototype.digest=function(){return(this.checksum^4294967295)>>>0},f}();var MF=[0,4067132163,3778769143,324072436,3348797215,904991772,648144872,3570033899,2329499855,2024987596,1809983544,2575936315,1296289744,3207089363,2893594407,1578318884,274646895,3795141740,4049975192,51262619,3619967088,632279923,922689671,3298075524,2592579488,1760304291,2075979607,2312596564,1562183871,2943781820,3156637768,1313733451,549293790,3537243613,3246849577,871202090,3878099393,357341890,102525238,4101499445,2858735121,1477399826,1264559846,3107202533,1845379342,2677391885,2361733625,2125378298,820201905,3263744690,3520608582,598981189,4151959214,85089709,373468761,3827903834,3124367742,1213305469,1526817161,2842354314,2107672161,2412447074,2627466902,1861252501,1098587580,3004210879,2688576843,1378610760,2262928035,1955203488,1742404180,2511436119,3416409459,969524848,714683780,3639785095,205050476,4266873199,3976438427,526918040,1361435347,2739821008,2954799652,1114974503,2529119692,1691668175,2005155131,2247081528,3690758684,697762079,986182379,3366744552,476452099,3993867776,4250756596,255256311,1640403810,2477592673,2164122517,1922457750,2791048317,1412925310,1197962378,3037525897,3944729517,427051182,170179418,4165941337,746937522,3740196785,3451792453,1070968646,1905808397,2213795598,2426610938,1657317369,3053634322,1147748369,1463399397,2773627110,4215344322,153784257,444234805,3893493558,1021025245,3467647198,3722505002,797665321,2197175160,1889384571,1674398607,2443626636,1164749927,3070701412,2757221520,1446797203,137323447,4198817972,3910406976,461344835,3484808360,1037989803,781091935,3705997148,2460548119,1623424788,1939049696,2180517859,1429367560,2807687179,3020495871,1180866812,410100952,3927582683,4182430767,186734380,3756733383,763408580,1053836080,3434856499,2722870694,1344288421,1131464017,2971354706,1708204729,2545590714,2229949006,1988219213,680717673,3673779818,3383336350,1002577565,4010310262,493091189,238226049,4233660802,2987750089,1082061258,1395524158,2705686845,1972364758,2279892693,2494862625,1725896226,952904198,3399985413,3656866545,731699698,4283874585,222117402,510512622,3959836397,3280807620,837199303,582374963,3504198960,68661723,4135334616,3844915500,390545967,1230274059,3141532936,2825850620,1510247935,2395924756,2091215383,1878366691,2644384480,3553878443,565732008,854102364,3229815391,340358836,3861050807,4117890627,119113024,1493875044,2875275879,3090270611,1247431312,2660249211,1828433272,2141937292,2378227087,3811616794,291187481,34330861,4032846830,615137029,3603020806,3314634738,939183345,1776939221,2609017814,2295496738,2058945313,2926798794,1545135305,1330124605,3173225534,4084100981,17165430,307568514,3762199681,888469610,3332340585,3587147933,665062302,2042050490,2346497209,2559330125,1793573966,3190661285,1279665062,1595330642,2910671697],VF=xh(MF);var sR=(f,h)=>({[c.MD5]:h.md5,[c.CRC32]:X0,[c.CRC32C]:z0,[c.SHA1]:h.sha1,[c.SHA256]:h.sha256})[f];var lR=(f,h)=>{let R=new f;return R.update(CR(h||"")),R.digest()};var LP={name:"flexibleChecksumsMiddleware",step:"build",tags:["BODY_CHECKSUM"],override:!0},QP=(f,h)=>(R,A)=>async(P)=>{if(!Sf.isInstance(P.request))return R(P);let{request:I}=P,{body:$,headers:w}=I,{base64Encoder:U,streamHasher:F}=f,{input:N,requestChecksumRequired:W,requestAlgorithmMember:V}=h,S=MP(N,{requestChecksumRequired:W,requestAlgorithmMember:V},!!A.isS3ExpressBucket),L=$,K=w;if(S){let If=Yh(S),Kf=sR(S,f);if(Dh($)){let{getAwsChunkedEncodingStream:lh,bodyLengthChecker:yR}=f;L=lh($,{base64Encoder:U,bodyLengthChecker:yR,checksumLocationName:If,checksumAlgorithmFn:Kf,streamHasher:F}),K={...w,"content-encoding":w["content-encoding"]?`${w["content-encoding"]},aws-chunked`:"aws-chunked","transfer-encoding":"chunked","x-amz-decoded-content-length":w["content-length"],"x-amz-content-sha256":"STREAMING-UNSIGNED-PAYLOAD-TRAILER","x-amz-trailer":If},delete K["content-length"]}else if(!VP(If,w)){let lh=await lR(Kf,$);K={...w,[If]:U(lh)}}}return await R({...P,request:{...I,headers:K,body:L}})};var cR=(f=[])=>{let h=[];for(let R of DP){if(!f.includes(R)||!bh.includes(R))continue;h.push(R)}return h};var gP=(f)=>{let h=f.lastIndexOf("-");if(h!==-1){let R=f.slice(h+1);if(!R.startsWith("0")){let A=parseInt(R,10);if(!isNaN(A)&&A>=1&&A<=1e4)return!0}}return!1};import{Transform as XF}from"stream";function J0(f){let h=new XF;return h.push(f),h.push(null),h}var qP=async(f,{streamHasher:h,checksumAlgorithmFn:R,base64Encoder:A})=>{let P=Dh(f)?h(R,f):lR(R,f);return A(await P)};var yP=async(f,{config:h,responseAlgorithms:R})=>{let A=cR(R),{body:P,headers:I}=f;for(let $ of A){let w=Yh($),U=I[w];if(U){let F=sR($,h),{streamHasher:N,base64Encoder:W}=h,V=await qP(P,{streamHasher:N,checksumAlgorithmFn:F,base64Encoder:W});if(V===U)break;throw new Error(`Checksum mismatch: expected "${V}" but received "${U}" in response header "${w}".`)}}};var BP={name:"flexibleChecksumsResponseMiddleware",toMiddleware:"deserializerMiddleware",relation:"after",tags:["BODY_CHECKSUM"],override:!0},TP=(f,h)=>(R,A)=>async(P)=>{if(!Sf.isInstance(P.request))return R(P);let I=P.input,$=await R(P),w=$.response,U=void 0,{requestValidationModeMember:F,responseAlgorithms:N}=h;if(F&&I[F]==="ENABLED"){let{clientName:W,commandName:V}=A;if(W==="S3Client"&&V==="GetObjectCommand"&&cR(N).every((K)=>{let Pf=Yh(K),If=w.headers[Pf];return!If||gP(If)}))return $;let L=Dh(w.body);if(L)U=await f.streamCollector(w.body),w.body=J0(U);if(await yP($.response,{config:f,responseAlgorithms:N}),L&&U)w.body=J0(U)}return $};var bR=(f,h)=>({applyToStack:(R)=>{R.add(QP(f,h),LP),R.addRelativeTo(TP(f,h),BP)}});var L0=b(Q0(),1);var KP=(f)=>({...f,requestChecksumCalculation:L0.normalizeProvider(f.requestChecksumCalculation??KR),responseChecksumValidation:L0.normalizeProvider(f.responseChecksumValidation??vR)});var ZF="content-length";function zF(){return(f,h)=>async(R)=>{let{request:A}=R;if(Sf.isInstance(A)){if(!(ZF in A.headers))if(typeof h?.logger?.warn==="function"&&!(h.logger instanceof dR))h.logger.warn("Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.");else console.warn("Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.")}return f({...R})}}var JF={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0},vP=(f)=>({applyToStack:(h)=>{h.add(zF(),JF)}});var jP=(f)=>{return(h,R)=>async(A)=>{let P=await f.region(),I=f.region,$=()=>{};if(R.__s3RegionRedirect)Object.defineProperty(f,"region",{writable:!1,value:async()=>{return R.__s3RegionRedirect}}),$=()=>Object.defineProperty(f,"region",{writable:!0,value:I});try{let w=await h(A);if(R.__s3RegionRedirect){$();let U=await f.region();if(P!==U)throw new Error("Region was not restored following S3 region redirect.")}return w}catch(w){throw $(),w}}},mP={tags:["REGION_REDIRECT","S3"],name:"regionRedirectEndpointMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};function LF(f){return(h,R)=>async(A)=>{try{return await h(A)}catch(P){if(f.followRegionRedirects&&P?.$metadata?.httpStatusCode===301){try{let I=P.$response.headers["x-amz-bucket-region"];R.logger?.debug(`Redirecting from ${await f.region()} to ${I}`),R.__s3RegionRedirect=I}catch(I){throw new Error("Region redirect failed: "+I)}return h(A)}else throw P}}}var QF={step:"initialize",tags:["REGION_REDIRECT","S3"],name:"regionRedirectMiddleware",override:!0},OP=(f)=>({applyToStack:(h)=>{h.add(LF(f),QF),h.addRelativeTo(jP(f),mP)}});var gF=(f)=>{return(h,R)=>async(A)=>{let P=await h(A),{response:I}=P;if(rR.isInstance(I)){if(I.headers.expires){I.headers.expiresstring=I.headers.expires;try{_h(I.headers.expires)}catch($){R.logger?.warn(`AWS SDK Warning for ${R.clientName}::${R.commandName} response parsing (${I.headers.expires}): ${$}`),delete I.headers.expires}}}return P}},qF={tags:["S3"],name:"s3ExpiresMiddleware",override:!0,relation:"after",toMiddleware:"deserializerMiddleware"},sP=(f)=>({applyToStack:(h)=>{h.addRelativeTo(gF(f),qF)}});class Mh{constructor(f={}){this.data=f,this.lastPurgeTime=Date.now()}get(f){let h=this.data[f];if(!h)return;return h}set(f,h){return this.data[f]=h,h}delete(f){delete this.data[f]}async purgeExpired(){let f=Date.now();if(this.lastPurgeTime+Mh.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>f)return;for(let h in this.data){let R=this.data[h];if(!R.isRefreshing){let A=await R.identity;if(A.expiration){if(A.expiration.getTime()<f)delete this.data[h]}}}}}Mh.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=30000;class Vh{constructor(f,h=!1,R=Date.now()){this._identity=f,this.isRefreshing=h,this.accessed=R}get identity(){return this.accessed=Date.now(),this._identity}}class Xh{constructor(f,h=new Mh){this.createSessionFn=f,this.cache=h}async getS3ExpressIdentity(f,h){let R=h.Bucket,{cache:A}=this,P=A.get(R);if(P)return P.identity.then((I)=>{if((I.expiration?.getTime()??0)<Date.now())return A.set(R,new Vh(this.getIdentity(R))).identity;if((I.expiration?.getTime()??0)<Date.now()+Xh.REFRESH_WINDOW_MS&&!P.isRefreshing)P.isRefreshing=!0,this.getIdentity(R).then((U)=>{A.set(R,new Vh(Promise.resolve(U)))});return I});return A.set(R,new Vh(this.getIdentity(R))).identity}async getIdentity(f){await this.cache.purgeExpired().catch((A)=>{console.warn("Error while clearing expired entries in S3ExpressIdentityCache: \n"+A)});let h=await this.createSessionFn(f);if(!h.Credentials?.AccessKeyId||!h.Credentials?.SecretAccessKey)throw new Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey.");return{accessKeyId:h.Credentials.AccessKeyId,secretAccessKey:h.Credentials.SecretAccessKey,sessionToken:h.Credentials.SessionToken,expiration:h.Credentials.Expiration?new Date(h.Credentials.Expiration):void 0}}}Xh.REFRESH_WINDOW_MS=60000;var rP=b(TF(),1);var CP="Directory",lP="S3Express",cP="sigv4-s3express",kR="X-Amz-S3session-Token",ah=kR.toLowerCase(),yF="AWS_S3_DISABLE_EXPRESS_SESSION_AUTH",BF="s3_disable_express_session_auth",g0={environmentVariableSelector:(f)=>hh(f,yF,Rh.ENV),configFileSelector:(f)=>hh(f,BF,Rh.CONFIG),default:!1};class xR extends rP.SignatureV4{async signWithCredentials(f,h,R){let A=bP(h);f.headers[ah]=h.sessionToken;let P=this;return dP(P,A),P.signRequest(f,R??{})}async presignWithCredentials(f,h,R){let A=bP(h);return delete f.headers[ah],f.headers[kR]=h.sessionToken,f.query=f.query??{},f.query[kR]=h.sessionToken,dP(this,A),this.presign(f,R)}}function bP(f){return{accessKeyId:f.accessKeyId,secretAccessKey:f.secretAccessKey,expiration:f.expiration}}function dP(f,h){let R=setTimeout(()=>{throw new Error("SignatureV4S3Express credential override was created but not called.")},10),A=f.credentialProvider,P=()=>{return clearTimeout(R),f.credentialProvider=A,Promise.resolve(h)};f.credentialProvider=P}var kP=(f)=>{return(h,R)=>async(A)=>{if(R.endpointV2){let P=R.endpointV2,I=P.properties?.authSchemes?.[0]?.name===cP;if(P.properties?.backend===lP||P.properties?.bucketType===CP)R.isS3ExpressBucket=!0;if(I){let w=A.input.Bucket;if(w){let U=await f.s3ExpressIdentityProvider.getS3ExpressIdentity(await f.credentials(),{Bucket:w});if(R.s3ExpressIdentity=U,Sf.isInstance(A.request)&&U.sessionToken)A.request.headers[ah]=U.sessionToken}}}return h(A)}},xP={name:"s3ExpressMiddleware",step:"build",tags:["S3","S3_EXPRESS"],override:!0},q0=(f)=>({applyToStack:(h)=>{h.add(kP(f),xP)}});var aP=b(y0(),1);var vF=b(KF(),1),iP=b(Q0(),1);var _P=async(f,h,R,A)=>{let P=await A.signWithCredentials(R,f,{});if(P.headers["X-Amz-Security-Token"]||P.headers["x-amz-security-token"])throw new Error("X-Amz-Security-Token must not be set for s3-express requests.");return P};var jF=(f)=>(h)=>{throw h},mF=(f,h)=>{};var pP=(f)=>(h,R)=>async(A)=>{if(!Sf.isInstance(A.request))return h(A);let I=iP.getSmithyContext(R).selectedHttpAuthScheme;if(!I)throw new Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:$={}},identity:w,signer:U}=I,F;if(R.s3ExpressIdentity)F=await _P(R.s3ExpressIdentity,$,A.request,await f.signer());else F=await U.sign(A.request,w,$);let N=await h({...A,request:F}).catch((U.errorHandler||jF)($));return(U.successHandler||mF)(N.response,$),N},B0=(f)=>({applyToStack:(h)=>{h.addRelativeTo(pP(f),aP.httpSigningMiddlewareOptions)}});var eP=(f,{session:h})=>{let[R,A]=h;return{...f,forcePathStyle:f.forcePathStyle??!1,useAccelerateEndpoint:f.useAccelerateEndpoint??!1,disableMultiregionAccessPoints:f.disableMultiregionAccessPoints??!1,followRegionRedirects:f.followRegionRedirects??!1,s3ExpressIdentityProvider:f.s3ExpressIdentityProvider??new Xh(async(P)=>R().send(new A({Bucket:P,SessionMode:"ReadWrite"}))),bucketEndpoint:f.bucketEndpoint??!1}};var OF={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},sF=3000,CF=(f)=>(h,R)=>async(A)=>{let P=await h(A),{response:I}=P;if(!rR.isInstance(I))return P;let{statusCode:$,body:w}=I;if($<200||$>=300)return P;if(!(typeof w?.stream==="function"||typeof w?.pipe==="function"||typeof w?.tee==="function"))return P;let F=w,N=w;if(w&&typeof w==="object"&&!(w instanceof Uint8Array))[F,N]=await oP(w);I.body=N;let W=await lF(F,{streamCollector:async(S)=>{return nP(S,sF)}});if(typeof F?.destroy==="function")F.destroy();let V=f.utf8Encoder(W.subarray(W.length-16));if(W.length===0&&OF[R.commandName]){let S=new Error("S3 aborted request");throw S.name="InternalError",S}if(V&&V.endsWith("</Error>"))I.statusCode=400;return P},lF=(f=new Uint8Array,h)=>{if(f instanceof Uint8Array)return Promise.resolve(f);return h.streamCollector(f)||Promise.resolve(new Uint8Array)},cF={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},Zh=(f)=>({applyToStack:(h)=>{h.addRelativeTo(CF(f),cF)}});var T0=(f)=>typeof f==="string"&&f.indexOf("arn:")===0&&f.split(":").length>=6;function uP(f){return(h,R)=>async(A)=>{if(f.bucketEndpoint){let P=R.endpointV2;if(P){let I=A.input.Bucket;if(typeof I==="string")try{let $=new URL(I);R.endpointV2={...P,url:$}}catch($){let w=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${I} could not be parsed as URL.`;if(R.logger?.constructor?.name==="NoOpLogger")console.warn(w);else R.logger?.warn?.(w);throw $}}}return h(A)}}var tP={name:"bucketEndpointMiddleware",override:!0,relation:"after",toMiddleware:"endpointV2Middleware"};function bF({bucketEndpoint:f}){return(h)=>async(R)=>{let{input:{Bucket:A}}=R;if(!f&&typeof A==="string"&&!T0(A)&&A.indexOf("/")>=0){let P=new Error(`Bucket name shouldn't contain '/', received '${A}'`);throw P.name="InvalidBucketName",P}return h({...R})}}var dF={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0},fI=(f)=>({applyToStack:(h)=>{h.add(bF(f),dF),h.addRelativeTo(uP(f),tP)}});var qh=b(y0(),1);var hI=(f)=>({...f,eventStreamMarshaller:f.eventStreamSerdeProvider(f)});var fA=b(tR(),1);var _R={CrtSignerV4:null};class K0{constructor(f){this.sigv4Signer=new xR(f),this.signerOptions=f}async sign(f,h={}){if(h.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().sign(f,h)}return this.sigv4Signer.sign(f,h)}async signWithCredentials(f,h,R={}){if(R.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().signWithCredentials(f,h,R)}return this.sigv4Signer.signWithCredentials(f,h,R)}async presign(f,h={}){if(h.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().presign(f,h)}return this.sigv4Signer.presign(f,h)}async presignWithCredentials(f,h,R={}){if(R.signingRegion==="*")throw new Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(f,h,R)}getSigv4aSigner(){if(!this.sigv4aSigner){let f=null;try{if(f=_R.CrtSignerV4,typeof f!=="function")throw new Error}catch(h){throw h.message=`${h.message}\nPlease check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. \nYou must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. \nFor more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`,h}this.sigv4aSigner=new f({...this.signerOptions,signingAlgorithm:1})}return this.sigv4aSigner}}var eh=b(Q0(),1);var zh={["required"]:!1,["type"]:"String"},Jh={["required"]:!0,default:!1,["type"]:"Boolean"},ih={["required"]:!1,["type"]:"Boolean"},Zf={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"Accelerate"},!0]},O={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseFIPS"},!0]},m={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseDualStack"},!0]},r={["fn"]:"isSet",["argv"]:[{["ref"]:"Endpoint"}]},aI={["fn"]:"aws.partition",["argv"]:[{["ref"]:"Region"}],["assign"]:"partitionResult"},RI={["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[{["ref"]:"partitionResult"},"name"]},"aws-cn"]},oR={["fn"]:"isSet",["argv"]:[{["ref"]:"Bucket"}]},Uf={["ref"]:"Bucket"},wf={["fn"]:"parseURL",["argv"]:[{["ref"]:"Endpoint"}],["assign"]:"url"},eR={["fn"]:"booleanEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[{["ref"]:"url"},"isIp"]},!0]},iI={["ref"]:"url"},pI={["fn"]:"uriEncode",["argv"]:[Uf],["assign"]:"uri_encoded_bucket"},vf={["backend"]:"S3Express",["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3express",["signingRegion"]:"{Region}"}]},M={},eI={["fn"]:"aws.isVirtualHostableS3Bucket",["argv"]:[Uf,!1]},v0={["error"]:"S3Express bucket name is not a valid virtual hostable name.",["type"]:"error"},nR={["backend"]:"S3Express",["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4-s3express",["signingName"]:"s3express",["signingRegion"]:"{Region}"}]},AI={["fn"]:"isSet",["argv"]:[{["ref"]:"UseS3ExpressControlEndpoint"}]},PI={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseS3ExpressControlEndpoint"},!0]},X={["fn"]:"not",["argv"]:[r]},II={["error"]:"Unrecognized S3Express bucket name format.",["type"]:"error"},$I={["fn"]:"not",["argv"]:[oR]},wI={["ref"]:"hardwareType"},UI={["conditions"]:[X],["error"]:"Expected a endpoint to be specified but no endpoint was found",["type"]:"error"},aR={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4a",["signingName"]:"s3-outposts",["signingRegionSet"]:["*"]},{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-outposts",["signingRegion"]:"{Region}"}]},j0={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"ForcePathStyle"},!1]},rF={["ref"]:"ForcePathStyle"},d={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"Accelerate"},!1]},_={["fn"]:"stringEquals",["argv"]:[{["ref"]:"Region"},"aws-global"]},i={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3",["signingRegion"]:"us-east-1"}]},Q={["fn"]:"not",["argv"]:[_]},p={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseGlobalEndpoint"},!0]},HI={["url"]:"https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:{["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3",["signingRegion"]:"{Region}"}]},["headers"]:{}},k={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3",["signingRegion"]:"{Region}"}]},e={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseGlobalEndpoint"},!1]},J={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseDualStack"},!1]},FI={["url"]:"https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},z={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseFIPS"},!1]},EI={["url"]:"https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},NI={["url"]:"https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},m0={["fn"]:"booleanEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[iI,"isIp"]},!1]},O0={["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",["properties"]:k,["headers"]:{}},h3={["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:k,["headers"]:{}},GI={["endpoint"]:h3,["type"]:"endpoint"},s0={["url"]:"https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},SI={["url"]:"https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},iR={["error"]:"Invalid region: region was not a valid DNS name.",["type"]:"error"},Ef={["ref"]:"bucketArn"},oI={["ref"]:"arnType"},C0={["fn"]:"getAttr",["argv"]:[Ef,"service"]},R3={["ref"]:"accessPointName"},WI={["conditions"]:[m],["error"]:"S3 Object Lambda does not support Dual-stack",["type"]:"error"},YI={["conditions"]:[Zf],["error"]:"S3 Object Lambda does not support S3 Accelerate",["type"]:"error"},DI={["conditions"]:[{["fn"]:"isSet",["argv"]:[{["ref"]:"DisableAccessPoints"}]},{["fn"]:"booleanEquals",["argv"]:[{["ref"]:"DisableAccessPoints"},!0]}],["error"]:"Access points are not supported for this operation",["type"]:"error"},l0={["conditions"]:[{["fn"]:"isSet",["argv"]:[{["ref"]:"UseArnRegion"}]},{["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseArnRegion"},!1]},{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ef,"region"]},"{Region}"]}]}],["error"]:"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`",["type"]:"error"},nI={["fn"]:"getAttr",["argv"]:[{["ref"]:"bucketPartition"},"name"]},uI={["fn"]:"getAttr",["argv"]:[Ef,"accountId"]},c0={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-object-lambda",["signingRegion"]:"{bucketArn#region}"}]},MI={["error"]:"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`",["type"]:"error"},b0={["error"]:"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`",["type"]:"error"},d0={["error"]:"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)",["type"]:"error"},r0={["error"]:"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`",["type"]:"error"},VI={["error"]:"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.",["type"]:"error"},XI={["error"]:"Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided",["type"]:"error"},ph={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3",["signingRegion"]:"{bucketArn#region}"}]},ZI={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4a",["signingName"]:"s3-outposts",["signingRegionSet"]:["*"]},{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-outposts",["signingRegion"]:"{bucketArn#region}"}]},zI={["fn"]:"aws.parseArn",["argv"]:[Uf]},JI={["url"]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:k,["headers"]:{}},LI={["url"]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:k,["headers"]:{}},QI={["url"]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:k,["headers"]:{}},k0={["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",["properties"]:k,["headers"]:{}},gI={["url"]:"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:k,["headers"]:{}},qI={["ref"]:"UseObjectLambdaEndpoint"},x0={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-object-lambda",["signingRegion"]:"{Region}"}]},yI={["url"]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},BI={["url"]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},TI={["url"]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},_0={["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:k,["headers"]:{}},KI={["url"]:"https://s3.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},a0=[{["ref"]:"Region"}],kF=[{["ref"]:"Endpoint"}],xF=[Uf],i0=[m],pR=[Zf],Ah=[r,wf],vI=[{["fn"]:"isSet",["argv"]:[{["ref"]:"DisableS3ExpressSessionAuth"}]},{["fn"]:"booleanEquals",["argv"]:[{["ref"]:"DisableS3ExpressSessionAuth"},!0]}],jI=[eR],p0=[pI],e0=[eI],Lh=[O],mI=[{["fn"]:"substring",["argv"]:[Uf,6,14,!0],["assign"]:"s3expressAvailabilityZoneId"},{["fn"]:"substring",["argv"]:[Uf,14,16,!0],["assign"]:"s3expressAvailabilityZoneDelim"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"s3expressAvailabilityZoneDelim"},"--"]}],OI=[{["conditions"]:[O],["endpoint"]:{["url"]:"https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",["properties"]:vf,["headers"]:{}},["type"]:"endpoint"},{["endpoint"]:{["url"]:"https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",["properties"]:vf,["headers"]:{}},["type"]:"endpoint"}],sI=[{["fn"]:"substring",["argv"]:[Uf,6,15,!0],["assign"]:"s3expressAvailabilityZoneId"},{["fn"]:"substring",["argv"]:[Uf,15,17,!0],["assign"]:"s3expressAvailabilityZoneDelim"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"s3expressAvailabilityZoneDelim"},"--"]}],CI=[{["conditions"]:[O],["endpoint"]:{["url"]:"https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",["properties"]:nR,["headers"]:{}},["type"]:"endpoint"},{["endpoint"]:{["url"]:"https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",["properties"]:nR,["headers"]:{}},["type"]:"endpoint"}],_F=[oR],lI=[{["fn"]:"isValidHostLabel",["argv"]:[{["ref"]:"outpostId"},!1]}],cI=[{["fn"]:"stringEquals",["argv"]:[{["ref"]:"regionPrefix"},"beta"]}],aF=["*"],Cf=[aI],bI=[{["fn"]:"isValidHostLabel",["argv"]:[{["ref"]:"Region"},!1]}],lf=[{["fn"]:"stringEquals",["argv"]:[{["ref"]:"Region"},"us-east-1"]}],o0=[{["fn"]:"stringEquals",["argv"]:[oI,"accesspoint"]}],dI=[{["fn"]:"getAttr",["argv"]:[Ef,"resourceId[1]"],["assign"]:"accessPointName"},{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[R3,""]}]}],iF=[Ef,"resourceId[1]"],n0=[{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ef,"region"]},""]}]}],rI=[{["fn"]:"not",["argv"]:[{["fn"]:"isSet",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ef,"resourceId[2]"]}]}]}],pF=[Ef,"resourceId[2]"],u0=[{["fn"]:"aws.partition",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ef,"region"]}],["assign"]:"bucketPartition"}],kI=[{["fn"]:"stringEquals",["argv"]:[nI,{["fn"]:"getAttr",["argv"]:[{["ref"]:"partitionResult"},"name"]}]}],t0=[{["fn"]:"isValidHostLabel",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ef,"region"]},!0]}],f3=[{["fn"]:"isValidHostLabel",["argv"]:[uI,!1]}],xI=[{["fn"]:"isValidHostLabel",["argv"]:[R3,!1]}],_I=[{["fn"]:"isValidHostLabel",["argv"]:[{["ref"]:"Region"},!0]}],eF={version:"1.0",parameters:{Bucket:zh,Region:zh,UseFIPS:Jh,UseDualStack:Jh,Endpoint:zh,ForcePathStyle:Jh,Accelerate:Jh,UseGlobalEndpoint:Jh,UseObjectLambdaEndpoint:ih,Key:zh,Prefix:zh,CopySource:zh,DisableAccessPoints:ih,DisableMultiRegionAccessPoints:Jh,UseArnRegion:ih,UseS3ExpressControlEndpoint:ih,DisableS3ExpressSessionAuth:ih},rules:[{["conditions"]:[{["fn"]:"isSet",["argv"]:a0}],rules:[{["conditions"]:[Zf,O],error:"Accelerate cannot be used with FIPS",["type"]:"error"},{["conditions"]:[m,r],error:"Cannot set dual-stack in combination with a custom endpoint.",["type"]:"error"},{["conditions"]:[r,O],error:"A custom endpoint cannot be combined with FIPS",["type"]:"error"},{["conditions"]:[r,Zf],error:"A custom endpoint cannot be combined with S3 Accelerate",["type"]:"error"},{["conditions"]:[O,aI,RI],error:"Partition does not support FIPS",["type"]:"error"},{["conditions"]:[oR,{["fn"]:"substring",["argv"]:[Uf,0,6,!0],["assign"]:"bucketSuffix"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"bucketSuffix"},"--x-s3"]}],rules:[{["conditions"]:i0,error:"S3Express does not support Dual-stack.",["type"]:"error"},{["conditions"]:pR,error:"S3Express does not support S3 Accelerate.",["type"]:"error"},{["conditions"]:Ah,rules:[{["conditions"]:vI,rules:[{["conditions"]:jI,rules:[{["conditions"]:p0,rules:[{endpoint:{["url"]:"{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",["properties"]:vf,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:e0,rules:[{endpoint:{["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:vf,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},v0],["type"]:"tree"},{["conditions"]:jI,rules:[{["conditions"]:p0,rules:[{endpoint:{["url"]:"{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",["properties"]:nR,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:e0,rules:[{endpoint:{["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:nR,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},v0],["type"]:"tree"},{["conditions"]:[AI,PI],rules:[{["conditions"]:[pI,X],rules:[{["conditions"]:Lh,endpoint:{["url"]:"https://s3express-control-fips.{Region}.amazonaws.com/{uri_encoded_bucket}",["properties"]:vf,["headers"]:M},["type"]:"endpoint"},{endpoint:{["url"]:"https://s3express-control.{Region}.amazonaws.com/{uri_encoded_bucket}",["properties"]:vf,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:e0,rules:[{["conditions"]:vI,rules:[{["conditions"]:mI,rules:OI,["type"]:"tree"},{["conditions"]:sI,rules:OI,["type"]:"tree"},II],["type"]:"tree"},{["conditions"]:mI,rules:CI,["type"]:"tree"},{["conditions"]:sI,rules:CI,["type"]:"tree"},II],["type"]:"tree"},v0],["type"]:"tree"},{["conditions"]:[$I,AI,PI],rules:[{["conditions"]:Ah,endpoint:{["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:vf,["headers"]:M},["type"]:"endpoint"},{["conditions"]:Lh,endpoint:{["url"]:"https://s3express-control-fips.{Region}.amazonaws.com",["properties"]:vf,["headers"]:M},["type"]:"endpoint"},{endpoint:{["url"]:"https://s3express-control.{Region}.amazonaws.com",["properties"]:vf,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[oR,{["fn"]:"substring",["argv"]:[Uf,49,50,!0],["assign"]:"hardwareType"},{["fn"]:"substring",["argv"]:[Uf,8,12,!0],["assign"]:"regionPrefix"},{["fn"]:"substring",["argv"]:[Uf,0,7,!0],["assign"]:"bucketAliasSuffix"},{["fn"]:"substring",["argv"]:[Uf,32,49,!0],["assign"]:"outpostId"},{["fn"]:"aws.partition",["argv"]:a0,["assign"]:"regionPartition"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"bucketAliasSuffix"},"--op-s3"]}],rules:[{["conditions"]:lI,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[wI,"e"]}],rules:[{["conditions"]:cI,rules:[UI,{["conditions"]:Ah,endpoint:{["url"]:"https://{Bucket}.ec2.{url#authority}",["properties"]:aR,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},{endpoint:{["url"]:"https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}",["properties"]:aR,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[wI,"o"]}],rules:[{["conditions"]:cI,rules:[UI,{["conditions"]:Ah,endpoint:{["url"]:"https://{Bucket}.op-{outpostId}.{url#authority}",["properties"]:aR,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},{endpoint:{["url"]:"https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}",["properties"]:aR,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},{error:"Unrecognized hardware type: \"Expected hardware type o or e but got {hardwareType}\"",["type"]:"error"}],["type"]:"tree"},{error:"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.",["type"]:"error"}],["type"]:"tree"},{["conditions"]:_F,rules:[{["conditions"]:[r,{["fn"]:"not",["argv"]:[{["fn"]:"isSet",["argv"]:[{["fn"]:"parseURL",["argv"]:kF}]}]}],error:"Custom endpoint `{Endpoint}` was not a valid URI",["type"]:"error"},{["conditions"]:[j0,eI],rules:[{["conditions"]:Cf,rules:[{["conditions"]:bI,rules:[{["conditions"]:[Zf,RI],error:"S3 Accelerate cannot be used in this region",["type"]:"error"},{["conditions"]:[m,O,d,X,_],endpoint:{["url"]:"https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:i,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[m,O,d,X,Q,p],rules:[{endpoint:HI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[m,O,d,X,Q,e],endpoint:HI,["type"]:"endpoint"},{["conditions"]:[J,O,d,X,_],endpoint:{["url"]:"https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}",["properties"]:i,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,O,d,X,Q,p],rules:[{endpoint:FI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[J,O,d,X,Q,e],endpoint:FI,["type"]:"endpoint"},{["conditions"]:[m,z,Zf,X,_],endpoint:{["url"]:"https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:i,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[m,z,Zf,X,Q,p],rules:[{endpoint:EI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[m,z,Zf,X,Q,e],endpoint:EI,["type"]:"endpoint"},{["conditions"]:[m,z,d,X,_],endpoint:{["url"]:"https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:i,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[m,z,d,X,Q,p],rules:[{endpoint:NI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[m,z,d,X,Q,e],endpoint:NI,["type"]:"endpoint"},{["conditions"]:[J,z,d,r,wf,eR,_],endpoint:{["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",["properties"]:i,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,z,d,r,wf,m0,_],endpoint:{["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:i,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,z,d,r,wf,eR,Q,p],rules:[{["conditions"]:lf,endpoint:O0,["type"]:"endpoint"},{endpoint:O0,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[J,z,d,r,wf,m0,Q,p],rules:[{["conditions"]:lf,endpoint:h3,["type"]:"endpoint"},GI],["type"]:"tree"},{["conditions"]:[J,z,d,r,wf,eR,Q,e],endpoint:O0,["type"]:"endpoint"},{["conditions"]:[J,z,d,r,wf,m0,Q,e],endpoint:h3,["type"]:"endpoint"},{["conditions"]:[J,z,Zf,X,_],endpoint:{["url"]:"https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",["properties"]:i,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,z,Zf,X,Q,p],rules:[{["conditions"]:lf,endpoint:s0,["type"]:"endpoint"},{endpoint:s0,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[J,z,Zf,X,Q,e],endpoint:s0,["type"]:"endpoint"},{["conditions"]:[J,z,d,X,_],endpoint:{["url"]:"https://{Bucket}.s3.{partitionResult#dnsSuffix}",["properties"]:i,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,z,d,X,Q,p],rules:[{["conditions"]:lf,endpoint:{["url"]:"https://{Bucket}.s3.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:M},["type"]:"endpoint"},{endpoint:SI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[J,z,d,X,Q,e],endpoint:SI,["type"]:"endpoint"}],["type"]:"tree"},iR],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[r,wf,{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[iI,"scheme"]},"http"]},{["fn"]:"aws.isVirtualHostableS3Bucket",["argv"]:[Uf,!0]},j0,z,J,d],rules:[{["conditions"]:Cf,rules:[{["conditions"]:bI,rules:[GI],["type"]:"tree"},iR],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[j0,{["fn"]:"aws.parseArn",["argv"]:xF,["assign"]:"bucketArn"}],rules:[{["conditions"]:[{["fn"]:"getAttr",["argv"]:[Ef,"resourceId[0]"],["assign"]:"arnType"},{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[oI,""]}]}],rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[C0,"s3-object-lambda"]}],rules:[{["conditions"]:o0,rules:[{["conditions"]:dI,rules:[WI,YI,{["conditions"]:n0,rules:[DI,{["conditions"]:rI,rules:[l0,{["conditions"]:u0,rules:[{["conditions"]:Cf,rules:[{["conditions"]:kI,rules:[{["conditions"]:t0,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[uI,""]}],error:"Invalid ARN: Missing account id",["type"]:"error"},{["conditions"]:f3,rules:[{["conditions"]:xI,rules:[{["conditions"]:Ah,endpoint:{["url"]:"{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}",["properties"]:c0,["headers"]:M},["type"]:"endpoint"},{["conditions"]:Lh,endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:c0,["headers"]:M},["type"]:"endpoint"},{endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:c0,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},MI],["type"]:"tree"},b0],["type"]:"tree"},d0],["type"]:"tree"},r0],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},VI],["type"]:"tree"},{error:"Invalid ARN: bucket ARN is missing a region",["type"]:"error"}],["type"]:"tree"},XI],["type"]:"tree"},{error:"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`",["type"]:"error"}],["type"]:"tree"},{["conditions"]:o0,rules:[{["conditions"]:dI,rules:[{["conditions"]:n0,rules:[{["conditions"]:o0,rules:[{["conditions"]:n0,rules:[DI,{["conditions"]:rI,rules:[l0,{["conditions"]:u0,rules:[{["conditions"]:Cf,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[nI,"{partitionResult#name}"]}],rules:[{["conditions"]:t0,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[C0,"s3"]}],rules:[{["conditions"]:f3,rules:[{["conditions"]:xI,rules:[{["conditions"]:pR,error:"Access Points do not support S3 Accelerate",["type"]:"error"},{["conditions"]:[O,m],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:ph,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[O,J],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:ph,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,m],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:ph,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,J,r,wf],endpoint:{["url"]:"{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}",["properties"]:ph,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,J],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:ph,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},MI],["type"]:"tree"},b0],["type"]:"tree"},{error:"Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}",["type"]:"error"}],["type"]:"tree"},d0],["type"]:"tree"},r0],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},VI],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[{["fn"]:"isValidHostLabel",["argv"]:[R3,!0]}],rules:[{["conditions"]:i0,error:"S3 MRAP does not support dual-stack",["type"]:"error"},{["conditions"]:Lh,error:"S3 MRAP does not support FIPS",["type"]:"error"},{["conditions"]:pR,error:"S3 MRAP does not support S3 Accelerate",["type"]:"error"},{["conditions"]:[{["fn"]:"booleanEquals",["argv"]:[{["ref"]:"DisableMultiRegionAccessPoints"},!0]}],error:"Invalid configuration: Multi-Region Access Point ARNs are disabled.",["type"]:"error"},{["conditions"]:[{["fn"]:"aws.partition",["argv"]:a0,["assign"]:"mrapPartition"}],rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[{["ref"]:"mrapPartition"},"name"]},{["fn"]:"getAttr",["argv"]:[Ef,"partition"]}]}],rules:[{endpoint:{["url"]:"https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}",["properties"]:{["authSchemes"]:[{["disableDoubleEncoding"]:!0,name:"sigv4a",["signingName"]:"s3",["signingRegionSet"]:aF}]},["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},{error:"Client was configured for partition `{mrapPartition#name}` but bucket referred to partition `{bucketArn#partition}`",["type"]:"error"}],["type"]:"tree"}],["type"]:"tree"},{error:"Invalid Access Point Name",["type"]:"error"}],["type"]:"tree"},XI],["type"]:"tree"},{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[C0,"s3-outposts"]}],rules:[{["conditions"]:i0,error:"S3 Outposts does not support Dual-stack",["type"]:"error"},{["conditions"]:Lh,error:"S3 Outposts does not support FIPS",["type"]:"error"},{["conditions"]:pR,error:"S3 Outposts does not support S3 Accelerate",["type"]:"error"},{["conditions"]:[{["fn"]:"isSet",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ef,"resourceId[4]"]}]}],error:"Invalid Arn: Outpost Access Point ARN contains sub resources",["type"]:"error"},{["conditions"]:[{["fn"]:"getAttr",["argv"]:iF,["assign"]:"outpostId"}],rules:[{["conditions"]:lI,rules:[l0,{["conditions"]:u0,rules:[{["conditions"]:Cf,rules:[{["conditions"]:kI,rules:[{["conditions"]:t0,rules:[{["conditions"]:f3,rules:[{["conditions"]:[{["fn"]:"getAttr",["argv"]:pF,["assign"]:"outpostType"}],rules:[{["conditions"]:[{["fn"]:"getAttr",["argv"]:[Ef,"resourceId[3]"],["assign"]:"accessPointName"}],rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[{["ref"]:"outpostType"},"accesspoint"]}],rules:[{["conditions"]:Ah,endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}",["properties"]:ZI,["headers"]:M},["type"]:"endpoint"},{endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:ZI,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},{error:"Expected an outpost type `accesspoint`, found {outpostType}",["type"]:"error"}],["type"]:"tree"},{error:"Invalid ARN: expected an access point name",["type"]:"error"}],["type"]:"tree"},{error:"Invalid ARN: Expected a 4-component resource",["type"]:"error"}],["type"]:"tree"},b0],["type"]:"tree"},d0],["type"]:"tree"},r0],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},{error:"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId}`",["type"]:"error"}],["type"]:"tree"},{error:"Invalid ARN: The Outpost Id was not set",["type"]:"error"}],["type"]:"tree"},{error:"Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})",["type"]:"error"}],["type"]:"tree"},{error:"Invalid ARN: No ARN type specified",["type"]:"error"}],["type"]:"tree"},{["conditions"]:[{["fn"]:"substring",["argv"]:[Uf,0,4,!1],["assign"]:"arnPrefix"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"arnPrefix"},"arn:"]},{["fn"]:"not",["argv"]:[{["fn"]:"isSet",["argv"]:[zI]}]}],error:"Invalid ARN: `{Bucket}` was not a valid ARN",["type"]:"error"},{["conditions"]:[{["fn"]:"booleanEquals",["argv"]:[rF,!0]},zI],error:"Path-style addressing cannot be used with ARN buckets",["type"]:"error"},{["conditions"]:p0,rules:[{["conditions"]:Cf,rules:[{["conditions"]:[d],rules:[{["conditions"]:[m,X,O,_],endpoint:{["url"]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:i,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[m,X,O,Q,p],rules:[{endpoint:JI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[m,X,O,Q,e],endpoint:JI,["type"]:"endpoint"},{["conditions"]:[J,X,O,_],endpoint:{["url"]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:i,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,X,O,Q,p],rules:[{endpoint:LI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[J,X,O,Q,e],endpoint:LI,["type"]:"endpoint"},{["conditions"]:[m,X,z,_],endpoint:{["url"]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:i,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[m,X,z,Q,p],rules:[{endpoint:QI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[m,X,z,Q,e],endpoint:QI,["type"]:"endpoint"},{["conditions"]:[J,r,wf,z,_],endpoint:{["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",["properties"]:i,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,r,wf,z,Q,p],rules:[{["conditions"]:lf,endpoint:k0,["type"]:"endpoint"},{endpoint:k0,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[J,r,wf,z,Q,e],endpoint:k0,["type"]:"endpoint"},{["conditions"]:[J,X,z,_],endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:i,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,X,z,Q,p],rules:[{["conditions"]:lf,endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:k,["headers"]:M},["type"]:"endpoint"},{endpoint:gI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[J,X,z,Q,e],endpoint:gI,["type"]:"endpoint"}],["type"]:"tree"},{error:"Path-style addressing cannot be used with S3 Accelerate",["type"]:"error"}],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[{["fn"]:"isSet",["argv"]:[qI]},{["fn"]:"booleanEquals",["argv"]:[qI,!0]}],rules:[{["conditions"]:Cf,rules:[{["conditions"]:_I,rules:[WI,YI,{["conditions"]:Ah,endpoint:{["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:x0,["headers"]:M},["type"]:"endpoint"},{["conditions"]:Lh,endpoint:{["url"]:"https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}",["properties"]:x0,["headers"]:M},["type"]:"endpoint"},{endpoint:{["url"]:"https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}",["properties"]:x0,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},iR],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[$I],rules:[{["conditions"]:Cf,rules:[{["conditions"]:_I,rules:[{["conditions"]:[O,m,X,_],endpoint:{["url"]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:i,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[O,m,X,Q,p],rules:[{endpoint:yI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[O,m,X,Q,e],endpoint:yI,["type"]:"endpoint"},{["conditions"]:[O,J,X,_],endpoint:{["url"]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}",["properties"]:i,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[O,J,X,Q,p],rules:[{endpoint:BI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[O,J,X,Q,e],endpoint:BI,["type"]:"endpoint"},{["conditions"]:[z,m,X,_],endpoint:{["url"]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:i,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,m,X,Q,p],rules:[{endpoint:TI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[z,m,X,Q,e],endpoint:TI,["type"]:"endpoint"},{["conditions"]:[z,J,r,wf,_],endpoint:{["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:i,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,J,r,wf,Q,p],rules:[{["conditions"]:lf,endpoint:_0,["type"]:"endpoint"},{endpoint:_0,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[z,J,r,wf,Q,e],endpoint:_0,["type"]:"endpoint"},{["conditions"]:[z,J,X,_],endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}",["properties"]:i,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,J,X,Q,p],rules:[{["conditions"]:lf,endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:M},["type"]:"endpoint"},{endpoint:KI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[z,J,X,Q,e],endpoint:KI,["type"]:"endpoint"}],["type"]:"tree"},iR],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},{error:"A region must be set when sending requests to S3.",["type"]:"error"}]},tI=eF;var oF=new f$({size:50,params:["Accelerate","Bucket","DisableAccessPoints","DisableMultiRegionAccessPoints","DisableS3ExpressSessionAuth","Endpoint","ForcePathStyle","Region","UseArnRegion","UseDualStack","UseFIPS","UseGlobalEndpoint","UseObjectLambdaEndpoint","UseS3ExpressControlEndpoint"]}),uR=(f,h={})=>{return oF.get(f,()=>R$(tI,{endpointParams:f,logger:h.logger}))};h$.aws=A$;var nF=(f)=>async(h,R,A)=>{if(!A)throw new Error("Could not find \`input\` for \`defaultEndpointRuleSetHttpAuthSchemeParametersProvider\`");let P=await f(h,R,A),I=eh.getSmithyContext(R)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!I)throw new Error(`getEndpointParameterInstructions() is not defined on \`${R.commandName}\``);let $=await P$(A,{getEndpointParameterInstructions:I},h);return Object.assign(P,$)},uF=async(f,h,R)=>{return{operation:eh.getSmithyContext(h).operation,region:await eh.normalizeProvider(f.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}},I$=nF(uF);function $$(f){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"s3",region:f.region},propertiesExtractor:(h,R)=>({signingProperties:{config:h,context:R}})}}function w$(f){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"s3",region:f.region},propertiesExtractor:(h,R)=>({signingProperties:{config:h,context:R}})}}var tF=(f,h,R)=>{return(P)=>{let $=f(P).properties?.authSchemes;if(!$)return h(P);let w=[];for(let U of $){let{name:F,properties:N={},...W}=U,V=F.toLowerCase();if(F!==V)console.warn(`HttpAuthScheme has been normalized with lowercasing: \`${F}\` to \`${V}\``);let S;if(V==="sigv4a"){S="aws.auth#sigv4a";let Pf=$.find((If)=>{let Kf=If.name.toLowerCase();return Kf!=="sigv4a"&&Kf.startsWith("sigv4")});if(!_R.CrtSignerV4&&Pf)continue}else if(V.startsWith("sigv4"))S="aws.auth#sigv4";else throw new Error(`Unknown HttpAuthScheme found in \`@smithy.rules#endpointRuleSet\`: \`${V}\``);let L=R[S];if(!L)throw new Error(`Could not find HttpAuthOption create function for \`${S}\``);let K=L(P);K.schemeId=S,K.signingProperties={...K.signingProperties||{},...W,...N},w.push(K)}return w}},fE=(f)=>{let h=[];switch(f.operation){default:h.push($$(f)),h.push(w$(f))}return h},U$=tF(uR,fE,{"aws.auth#sigv4":$$,"aws.auth#sigv4a":w$}),H$=(f)=>{let h=fA.resolveAwsSdkSigV4Config(f);return{...fA.resolveAwsSdkSigV4AConfig(h)}};var F$=(f)=>{return{...f,useFipsEndpoint:f.useFipsEndpoint??!1,useDualstackEndpoint:f.useDualstackEndpoint??!1,forcePathStyle:f.forcePathStyle??!1,useAccelerateEndpoint:f.useAccelerateEndpoint??!1,useGlobalEndpoint:f.useGlobalEndpoint??!1,disableMultiregionAccessPoints:f.disableMultiregionAccessPoints??!1,defaultSigningName:"s3"}},cf={ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},DisableS3ExpressSessionAuth:{type:"clientContextParams",name:"disableS3ExpressSessionAuth"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};class Hf extends E${constructor(f){super(f);Object.setPrototypeOf(this,Hf.prototype)}}class hA extends Hf{constructor(f){super({name:"NoSuchUpload",$fault:"client",...f});this.name="NoSuchUpload",this.$fault="client",Object.setPrototypeOf(this,hA.prototype)}}class RA extends Hf{constructor(f){super({name:"ObjectNotInActiveTierError",$fault:"client",...f});this.name="ObjectNotInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,RA.prototype)}}class AA extends Hf{constructor(f){super({name:"BucketAlreadyExists",$fault:"client",...f});this.name="BucketAlreadyExists",this.$fault="client",Object.setPrototypeOf(this,AA.prototype)}}class PA extends Hf{constructor(f){super({name:"BucketAlreadyOwnedByYou",$fault:"client",...f});this.name="BucketAlreadyOwnedByYou",this.$fault="client",Object.setPrototypeOf(this,PA.prototype)}}class IA extends Hf{constructor(f){super({name:"NoSuchBucket",$fault:"client",...f});this.name="NoSuchBucket",this.$fault="client",Object.setPrototypeOf(this,IA.prototype)}}var A3;(function(f){f.visit=(h,R)=>{if(h.Prefix!==void 0)return R.Prefix(h.Prefix);if(h.Tag!==void 0)return R.Tag(h.Tag);if(h.And!==void 0)return R.And(h.And);return R._(h.$unknown[0],h.$unknown[1])}})(A3||(A3={}));var P3;(function(f){f.visit=(h,R)=>{if(h.Prefix!==void 0)return R.Prefix(h.Prefix);if(h.Tag!==void 0)return R.Tag(h.Tag);if(h.ObjectSizeGreaterThan!==void 0)return R.ObjectSizeGreaterThan(h.ObjectSizeGreaterThan);if(h.ObjectSizeLessThan!==void 0)return R.ObjectSizeLessThan(h.ObjectSizeLessThan);if(h.And!==void 0)return R.And(h.And);return R._(h.$unknown[0],h.$unknown[1])}})(P3||(P3={}));var I3;(function(f){f.visit=(h,R)=>{if(h.Prefix!==void 0)return R.Prefix(h.Prefix);if(h.Tag!==void 0)return R.Tag(h.Tag);if(h.AccessPointArn!==void 0)return R.AccessPointArn(h.AccessPointArn);if(h.And!==void 0)return R.And(h.And);return R._(h.$unknown[0],h.$unknown[1])}})(I3||(I3={}));var $3;(function(f){f.visit=(h,R)=>{if(h.Prefix!==void 0)return R.Prefix(h.Prefix);if(h.Tag!==void 0)return R.Tag(h.Tag);if(h.And!==void 0)return R.And(h.And);return R._(h.$unknown[0],h.$unknown[1])}})($3||($3={}));class $A extends Hf{constructor(f){super({name:"InvalidObjectState",$fault:"client",...f});this.name="InvalidObjectState",this.$fault="client",Object.setPrototypeOf(this,$A.prototype),this.StorageClass=f.StorageClass,this.AccessTier=f.AccessTier}}class wA extends Hf{constructor(f){super({name:"NoSuchKey",$fault:"client",...f});this.name="NoSuchKey",this.$fault="client",Object.setPrototypeOf(this,wA.prototype)}}class UA extends Hf{constructor(f){super({name:"NotFound",$fault:"client",...f});this.name="NotFound",this.$fault="client",Object.setPrototypeOf(this,UA.prototype)}}var hE=(f)=>({...f,...f.SecretAccessKey&&{SecretAccessKey:Ff},...f.SessionToken&&{SessionToken:Ff}}),N$=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:Ff},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ff},...f.Credentials&&{Credentials:hE(f.Credentials)}}),G$=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:Ff},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ff}});var S$=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:Ff}}),W$=(f)=>({...f,...f.SSECustomerKey&&{SSECustomerKey:Ff}});var wh=b(tR(),1);var hR=b(y0(),1);class HA extends Hf{constructor(f){super({name:"ObjectAlreadyInActiveTierError",$fault:"client",...f});this.name="ObjectAlreadyInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,HA.prototype)}}var Y$;(function(f){f.visit=(h,R)=>{if(h.Records!==void 0)return R.Records(h.Records);if(h.Stats!==void 0)return R.Stats(h.Stats);if(h.Progress!==void 0)return R.Progress(h.Progress);if(h.Cont!==void 0)return R.Cont(h.Cont);if(h.End!==void 0)return R.End(h.End);return R._(h.$unknown[0],h.$unknown[1])}})(Y$||(Y$={}));var D$=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:Ff},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ff}}),M$=(f)=>({...f,...f.SSECustomerKey&&{SSECustomerKey:Ff},...f.SSEKMSKeyId&&{SSEKMSKeyId:Ff},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ff}});var T$=async(f,h)=>{let R=hR.requestBuilder(f,h),A=l({},Mf,{[zN]:f[aE],[PR]:f[RR],[IR]:f[AR],[JA]:f[zA],[df]:[()=>Mf(f[$h]),()=>f[$h].toString()]});R.bp("/"),R.p("Bucket",()=>f.Bucket,"{Bucket}",!1);let P=l({[DN]:[,""]}),I;return R.m("GET").h(A).q(P).b(I),R.build()};var K$=async(f,h)=>{let R=hR.requestBuilder(f,h),A=l({},Mf,{[AN]:f[jE],[PN]:[()=>Mf(f[V$]),()=>nh(f[V$]).toString()],[fw]:f[k$],[IN]:[()=>Mf(f[X$]),()=>nh(f[X$]).toString()],[FN]:f[CE],[LA]:f[XA],[Iw]:f[a$],[QA]:f[ZA],[a3]:f[l3],[x3]:f[s3],[ZN]:f[JE]});R.bp("/{Key+}"),R.p("Bucket",()=>f.Bucket,"{Bucket}",!1),R.p("Key",()=>f.Key,"{Key+}",!0);let P=l({[Uw]:[,"GetObject"],[EN]:[,f[lE]],[NN]:[,f[cE]],[GN]:[,f[bE]],[SN]:[,f[dE]],[WN]:[,f[rE]],[YN]:[()=>f.ResponseExpires!==void 0,()=>nh(f[kE]).toString()],[VN]:[,f[c3]],[UN]:[()=>f.PartNumber!==void 0,()=>f[sE].toString()]}),I;return R.m("GET").h(A).q(P).b(I),R.build()};var v$=async(f,h)=>{let R=hR.requestBuilder(f,h),A=l({},Mf,{[a3]:f[l3],[x3]:f[s3],[qN]:[()=>Mf(f[Z$]),()=>(f[Z$]||[]).map(($)=>$).join(", ")]});R.bp("/"),R.p("Bucket",()=>f.Bucket,"{Bucket}",!1);let P=l({[$N]:[,"2"],[tE]:[,f[GA]],[fN]:[,f[SA]],[wN]:[()=>f.MaxKeys!==void 0,()=>f[YA].toString()],[HN]:[,f[Ph]],[uE]:[,f[NA]],[RN]:[()=>f.FetchOwner!==void 0,()=>f[yE].toString()],[MN]:[,f[DA]]}),I;return R.m("GET").h(A).q(P).b(I),R.build()};var j$=async(f,h)=>{let R=hR.requestBuilder(f,h),A=l({},Mf,{[u$]:f[r$]||"application/octet-stream",[XN]:f[ZE],[p$]:f[l$],[e$]:f[c$],[o$]:f[b$],[n$]:f[d$],[q3]:[()=>Mf(f[L3]),()=>f[L3].toString()],[oE]:f[LE],[TN]:f[oh],[b3]:f[v3],[d3]:f[j3],[r3]:f[m3],[k3]:f[O3],[y3]:[()=>Mf(f[Q3]),()=>nh(f[Q3]).toString()],[fw]:f[k$],[JN]:f[BE],[LN]:f[TE],[QN]:f[KE],[gN]:f[vE],[PR]:f[RR],[Pw]:f[bf],[ww]:f[i$],[LA]:f[XA],[Iw]:f[a$],[QA]:f[ZA],[IR]:f[AR],[JA]:f[zA],[df]:[()=>Mf(f[$h]),()=>f[$h].toString()],[a3]:f[l3],[KN]:f[iE],[Aw]:f[_$],[B3]:[()=>Mf(f[g3]),()=>B$(f[g3]).toString()],[Rw]:f[x$],[x3]:f[s3],...f.Metadata!==void 0&&Object.keys(f.Metadata).reduce((w,U)=>{return w[`x-amz-meta-${U.toLowerCase()}`]=f.Metadata[U],w},{})});R.bp("/{Key+}"),R.p("Bucket",()=>f.Bucket,"{Bucket}",!1),R.p("Key",()=>f.Key,"{Key+}",!0);let P=l({[Uw]:[,"PutObject"]}),I,$;if(f.Body!==void 0)$=f.Body,I=$;return R.m("PUT").h(A).q(P).b(I),R.build()};var m$=async(f,h)=>{if(f.statusCode!==200&&f.statusCode>=300)return VA(f,h);let R=l({$metadata:Wf(f),[RR]:[,f.headers[PR]],[AR]:[,f.headers[IR]],[zA]:[,f.headers[JA]],[$h]:[()=>f.headers[df]!==void 0,()=>Ih(f.headers[df])]}),A=jf(T3(await wh.parseXmlBody(f.body,h)),"body");if(A[H3]!=null)R[H3]=XE(A[H3],h);return R};var O$=async(f,h)=>{if(f.statusCode!==200&&f.statusCode>=300)return VA(f,h);let R=l({$metadata:Wf(f),[gE]:[()=>f.headers[J$]!==void 0,()=>Ih(f.headers[J$])],[zE]:[,f.headers[eE]],[th]:[,f.headers[hw]],[_E]:[,f.headers[yN]],[WA]:[()=>f.headers[z$]!==void 0,()=>jf(_h(f.headers[z$]))],[L3]:[()=>f.headers[q3]!==void 0,()=>K3(f.headers[q3])],[uh]:[,f.headers[t$]],[v3]:[,f.headers[b3]],[j3]:[,f.headers[d3]],[m3]:[,f.headers[r3]],[O3]:[,f.headers[k3]],[mE]:[()=>f.headers[L$]!==void 0,()=>Qh(f.headers[L$])],[c3]:[,f.headers[$w]],[l$]:[,f.headers[p$]],[c$]:[,f.headers[e$]],[b$]:[,f.headers[o$]],[d$]:[,f.headers[n$]],[QE]:[,f.headers[nE]],[r$]:[,f.headers[u$]],[Q3]:[()=>f.headers[y3]!==void 0,()=>jf(_h(f.headers[y3]))],[qE]:[,f.headers[hN]],[i$]:[,f.headers[ww]],[RR]:[,f.headers[PR]],[XA]:[,f.headers[LA]],[ZA]:[,f.headers[QA]],[AR]:[,f.headers[IR]],[$h]:[()=>f.headers[df]!==void 0,()=>Ih(f.headers[df])],[bf]:[,f.headers[Pw]],[C3]:[,f.headers[_3]],[xE]:[,f.headers[BN]],[OE]:[()=>f.headers[Q$]!==void 0,()=>Qh(f.headers[Q$])],[pE]:[()=>f.headers[g$]!==void 0,()=>Qh(f.headers[g$])],[_$]:[,f.headers[Aw]],[g3]:[()=>f.headers[B3]!==void 0,()=>jf(fR(f.headers[B3]))],[x$]:[,f.headers[Rw]],Metadata:[,Object.keys(f.headers).filter((P)=>P.startsWith("x-amz-meta-")).reduce((P,I)=>{return P[I.substring(11)]=f.headers[I],P},{})]}),A=f.body;return h.sdkStreamMixin(A),R.Body=A,R};var s$=async(f,h)=>{if(f.statusCode!==200&&f.statusCode>=300)return VA(f,h);let R=l({$metadata:Wf(f),[C3]:[,f.headers[_3]]}),A=jf(T3(await wh.parseXmlBody(f.body,h)),"body");if(A.CommonPrefixes==="")R[FA]=[];else if(A[FA]!=null)R[FA]=WE(MA(A[FA]),h);if(A.Contents==="")R[EA]=[];else if(A[EA]!=null)R[EA]=DE(MA(A[EA]),h);if(A[NA]!=null)R[NA]=x(A[NA]);if(A[GA]!=null)R[GA]=x(A[GA]);if(A[SA]!=null)R[SA]=x(A[SA]);if(A[G3]!=null)R[G3]=Ih(A[G3]);if(A[W3]!=null)R[W3]=Qh(A[W3]);if(A[YA]!=null)R[YA]=Qh(A[YA]);if(A[Y3]!=null)R[Y3]=x(A[Y3]);if(A[D3]!=null)R[D3]=x(A[D3]);if(A[Ph]!=null)R[Ph]=x(A[Ph]);if(A[DA]!=null)R[DA]=x(A[DA]);return R};var C$=async(f,h)=>{if(f.statusCode!==200&&f.statusCode>=300)return VA(f,h);let R=l({$metadata:Wf(f),[th]:[,f.headers[hw]],[uh]:[,f.headers[t$]],[v3]:[,f.headers[b3]],[j3]:[,f.headers[d3]],[m3]:[,f.headers[r3]],[O3]:[,f.headers[k3]],[RR]:[,f.headers[PR]],[c3]:[,f.headers[$w]],[XA]:[,f.headers[LA]],[ZA]:[,f.headers[QA]],[AR]:[,f.headers[IR]],[zA]:[,f.headers[JA]],[$h]:[()=>f.headers[df]!==void 0,()=>Ih(f.headers[df])],[C3]:[,f.headers[_3]]});return await q$(f.body,h),R};var VA=async(f,h)=>{let R={...f,body:await wh.parseXmlErrorBody(f.body,h)},A=wh.loadRestXmlErrorCode(f,R.body);switch(A){case"NoSuchUpload":case"com.amazonaws.s3#NoSuchUpload":throw await HE(R,h);case"ObjectNotInActiveTierError":case"com.amazonaws.s3#ObjectNotInActiveTierError":throw await NE(R,h);case"BucketAlreadyExists":case"com.amazonaws.s3#BucketAlreadyExists":throw await PE(R,h);case"BucketAlreadyOwnedByYou":case"com.amazonaws.s3#BucketAlreadyOwnedByYou":throw await IE(R,h);case"NoSuchBucket":case"com.amazonaws.s3#NoSuchBucket":throw await wE(R,h);case"InvalidObjectState":case"com.amazonaws.s3#InvalidObjectState":throw await $E(R,h);case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await UE(R,h);case"NotFound":case"com.amazonaws.s3#NotFound":throw await FE(R,h);case"ObjectAlreadyInActiveTierError":case"com.amazonaws.s3#ObjectAlreadyInActiveTierError":throw await EE(R,h);default:let P=R.body;return AE({output:f,parsedBody:P,errorCode:A})}},AE=y$(Hf),PE=async(f,h)=>{let R=l({}),A=f.body,P=new AA({$metadata:Wf(f),...R});return qf(P,f.body)},IE=async(f,h)=>{let R=l({}),A=f.body,P=new PA({$metadata:Wf(f),...R});return qf(P,f.body)},$E=async(f,h)=>{let R=l({}),A=f.body;if(A[U3]!=null)R[U3]=x(A[U3]);if(A[bf]!=null)R[bf]=x(A[bf]);let P=new $A({$metadata:Wf(f),...R});return qf(P,f.body)},wE=async(f,h)=>{let R=l({}),A=f.body,P=new IA({$metadata:Wf(f),...R});return qf(P,f.body)},UE=async(f,h)=>{let R=l({}),A=f.body,P=new wA({$metadata:Wf(f),...R});return qf(P,f.body)},HE=async(f,h)=>{let R=l({}),A=f.body,P=new hA({$metadata:Wf(f),...R});return qf(P,f.body)},FE=async(f,h)=>{let R=l({}),A=f.body,P=new UA({$metadata:Wf(f),...R});return qf(P,f.body)},EE=async(f,h)=>{let R=l({}),A=f.body,P=new HA({$metadata:Wf(f),...R});return qf(P,f.body)},NE=async(f,h)=>{let R=l({}),A=f.body,P=new RA({$metadata:Wf(f),...R});return qf(P,f.body)};var GE=(f,h)=>{return(f||[]).filter((R)=>R!=null).map((R)=>{return x(R)})},SE=(f,h)=>{let R={};if(f[Ph]!=null)R[Ph]=x(f[Ph]);return R},WE=(f,h)=>{return(f||[]).filter((R)=>R!=null).map((R)=>{return SE(R,h)})};var YE=(f,h)=>{let R={};if(f[S3]!=null)R[S3]=x(f[S3]);if(f[WA]!=null)R[WA]=jf(fR(f[WA]));if(f[uh]!=null)R[uh]=x(f[uh]);if(f.ChecksumAlgorithm==="")R[oh]=[];else if(f[oh]!=null)R[oh]=GE(MA(f[oh]),h);if(f[J3]!=null)R[J3]=K3(f[J3]);if(f[bf]!=null)R[bf]=x(f[bf]);if(f[M3]!=null)R[M3]=ME(f[M3],h);if(f[X3]!=null)R[X3]=VE(f[X3],h);return R},DE=(f,h)=>{return(f||[]).filter((R)=>R!=null).map((R)=>{return YE(R,h)})};var ME=(f,h)=>{let R={};if(f[F3]!=null)R[F3]=x(f[F3]);if(f[E3]!=null)R[E3]=x(f[E3]);return R};var VE=(f,h)=>{let R={};if(f[N3]!=null)R[N3]=Ih(f[N3]);if(f[V3]!=null)R[V3]=jf(fR(f[V3]));return R};var XE=(f,h)=>{let R={};if(f[w3]!=null)R[w3]=x(f[w3]);if(f[Z3]!=null)R[Z3]=x(f[Z3]);if(f[z3]!=null)R[z3]=x(f[z3]);if(f[th]!=null)R[th]=jf(fR(f[th]));return R};var Wf=(f)=>({httpStatusCode:f.statusCode,requestId:f.headers["x-amzn-requestid"]??f.headers["x-amzn-request-id"]??f.headers["x-amz-request-id"],extendedRequestId:f.headers["x-amz-id-2"],cfId:f.headers["x-amz-cf-id"]});var Mf=(f)=>f!==void 0&&f!==null&&f!==""&&(!Object.getOwnPropertyNames(f).includes("length")||f.length!=0)&&(!Object.getOwnPropertyNames(f).includes("size")||f.size!=0);var ZE="ACL";var w3="AccessKeyId";var zE="AcceptRanges";var U3="AccessTier";var $h="BucketKeyEnabled";var H3="Credentials",oh="ChecksumAlgorithm";var l$="CacheControl",v3="ChecksumCRC32",j3="ChecksumCRC32C",c$="ContentDisposition";var b$="ContentEncoding";var d$="ContentLanguage",L3="ContentLength",JE="ChecksumMode",LE="ContentMD5";var FA="CommonPrefixes";var QE="ContentRange";var m3="ChecksumSHA1",O3="ChecksumSHA256";var r$="ContentType",NA="ContinuationToken";var EA="Contents";var GA="Delimiter";var gE="DeleteMarker";var F3="DisplayName";var Q3="Expires";var s3="ExpectedBucketOwner";var qE="ExpiresString";var SA="EncodingType",uh="ETag";var th="Expiration";var yE="FetchOwner";var BE="GrantFullControl";var TE="GrantRead",KE="GrantReadACP";var vE="GrantWriteACP";var E3="ID";var jE="IfMatch",V$="IfModifiedSince",k$="IfNoneMatch";var N3="IsRestoreInProgress";var G3="IsTruncated";var X$="IfUnmodifiedSince";var S3="Key",W3="KeyCount";var WA="LastModified";var YA="MaxKeys";var mE="MissingMeta";var Y3="Name";var D3="NextContinuationToken";var M3="Owner";var x$="ObjectLockLegalHoldStatus",_$="ObjectLockMode";var g3="ObjectLockRetainUntilDate";var Z$="OptionalObjectAttributes";var Ph="Prefix";var OE="PartsCount";var sE="PartNumber";var CE="Range";var C3="RequestCharged",lE="ResponseCacheControl",cE="ResponseContentDisposition",bE="ResponseContentEncoding",dE="ResponseContentLanguage",rE="ResponseContentType";var kE="ResponseExpires",V3="RestoreExpiryDate";var l3="RequestPayer";var xE="ReplicationStatus",X3="RestoreStatus";var _E="Restore";var DA="StartAfter",Z3="SecretAccessKey";var bf="StorageClass";var aE="SessionMode";var RR="ServerSideEncryption";var XA="SSECustomerAlgorithm",a$="SSECustomerKey",ZA="SSECustomerKeyMD5";var zA="SSEKMSEncryptionContext",AR="SSEKMSKeyId";var z3="SessionToken";var J3="Size";var iE="Tagging";var pE="TagCount";var c3="VersionId";var i$="WebsiteRedirectLocation";var eE="accept-ranges";var p$="cache-control",e$="content-disposition",o$="content-encoding",n$="content-language",q3="content-length",oE="content-md5",nE="content-range",u$="content-type",uE="continuation-token";var tE="delimiter",y3="expires";var fN="encoding-type",t$="etag",hN="expiresstring",RN="fetch-owner";var AN="if-match",PN="if-modified-since";var fw="if-none-match";var IN="if-unmodified-since";var z$="last-modified";var $N="list-type";var wN="max-keys";var UN="partNumber";var HN="prefix";var FN="range",EN="response-cache-control",NN="response-content-disposition",GN="response-content-encoding",SN="response-content-language",WN="response-content-type",YN="response-expires";var DN="session",MN="start-after";var VN="versionId";var XN="x-amz-acl";var b3="x-amz-checksum-crc32",d3="x-amz-checksum-crc32c",ZN="x-amz-checksum-mode";var r3="x-amz-checksum-sha1",k3="x-amz-checksum-sha256";var zN="x-amz-create-session-mode";var J$="x-amz-delete-marker",hw="x-amz-expiration",x3="x-amz-expected-bucket-owner";var JN="x-amz-grant-full-control",LN="x-amz-grant-read",QN="x-amz-grant-read-acp";var gN="x-amz-grant-write-acp";var L$="x-amz-missing-meta";var Q$="x-amz-mp-parts-count";var Rw="x-amz-object-lock-legal-hold",Aw="x-amz-object-lock-mode",B3="x-amz-object-lock-retain-until-date";var qN="x-amz-optional-object-attributes";var yN="x-amz-restore",_3="x-amz-request-charged";var a3="x-amz-request-payer";var BN="x-amz-replication-status";var Pw="x-amz-storage-class",TN="x-amz-sdk-checksum-algorithm";var PR="x-amz-server-side-encryption",IR="x-amz-server-side-encryption-aws-kms-key-id",df="x-amz-server-side-encryption-bucket-key-enabled",JA="x-amz-server-side-encryption-context",LA="x-amz-server-side-encryption-customer-algorithm",Iw="x-amz-server-side-encryption-customer-key",QA="x-amz-server-side-encryption-customer-key-md5",KN="x-amz-tagging",g$="x-amz-tagging-count";var $w="x-amz-version-id",ww="x-amz-website-redirect-location",Uw="x-id";class i3 extends rf.classBuilder().ep({...cf,DisableS3ExpressSessionAuth:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(f,h,R,A){return[kf(R,this.serialize,this.deserialize),xf(R,f.getEndpointParameterInstructions()),Zh(R)]}).s("AmazonS3","CreateSession",{}).n("S3Client","CreateSessionCommand").f(G$,N$).ser(T$).de(m$).build(){}var Hw={name:"@aws-sdk/client-s3",description:"AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",version:"3.654.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"node ../../scripts/compilation/inline client-s3","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo s3",test:"yarn test:unit","test:e2e":"yarn test:e2e:node && yarn test:e2e:browser","test:e2e:browser":"ts-mocha test/**/*.browser.ispec.ts && karma start karma.conf.js","test:e2e:node":"jest --c jest.config.e2e.js","test:unit":"ts-mocha test/unit/**/*.spec.ts"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha1-browser":"5.2.0","@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/client-sso-oidc":"3.654.0","@aws-sdk/client-sts":"3.654.0","@aws-sdk/core":"3.654.0","@aws-sdk/credential-provider-node":"3.654.0","@aws-sdk/middleware-bucket-endpoint":"3.654.0","@aws-sdk/middleware-expect-continue":"3.654.0","@aws-sdk/middleware-flexible-checksums":"3.654.0","@aws-sdk/middleware-host-header":"3.654.0","@aws-sdk/middleware-location-constraint":"3.654.0","@aws-sdk/middleware-logger":"3.654.0","@aws-sdk/middleware-recursion-detection":"3.654.0","@aws-sdk/middleware-sdk-s3":"3.654.0","@aws-sdk/middleware-ssec":"3.654.0","@aws-sdk/middleware-user-agent":"3.654.0","@aws-sdk/region-config-resolver":"3.654.0","@aws-sdk/signature-v4-multi-region":"3.654.0","@aws-sdk/types":"3.654.0","@aws-sdk/util-endpoints":"3.654.0","@aws-sdk/util-user-agent-browser":"3.654.0","@aws-sdk/util-user-agent-node":"3.654.0","@aws-sdk/xml-builder":"3.654.0","@smithy/config-resolver":"^3.0.8","@smithy/core":"^2.4.3","@smithy/eventstream-serde-browser":"^3.0.9","@smithy/eventstream-serde-config-resolver":"^3.0.6","@smithy/eventstream-serde-node":"^3.0.8","@smithy/fetch-http-handler":"^3.2.7","@smithy/hash-blob-browser":"^3.1.5","@smithy/hash-node":"^3.0.6","@smithy/hash-stream-node":"^3.1.5","@smithy/invalid-dependency":"^3.0.6","@smithy/md5-js":"^3.0.6","@smithy/middleware-content-length":"^3.0.8","@smithy/middleware-endpoint":"^3.1.3","@smithy/middleware-retry":"^3.0.18","@smithy/middleware-serde":"^3.0.6","@smithy/middleware-stack":"^3.0.6","@smithy/node-config-provider":"^3.1.7","@smithy/node-http-handler":"^3.2.2","@smithy/protocol-http":"^4.1.3","@smithy/smithy-client":"^3.3.2","@smithy/types":"^3.4.2","@smithy/url-parser":"^3.0.6","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.18","@smithy/util-defaults-mode-node":"^3.0.18","@smithy/util-endpoints":"^2.1.2","@smithy/util-middleware":"^3.0.6","@smithy/util-retry":"^3.0.6","@smithy/util-stream":"^3.1.6","@smithy/util-utf8":"^3.0.0","@smithy/util-waiter":"^3.1.5",tslib:"^2.6.2"},devDependencies:{"@aws-sdk/signature-v4-crt":"3.654.0","@tsconfig/node16":"16.1.3","@types/chai":"^4.2.11","@types/mocha":"^8.0.4","@types/node":"^16.18.96",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typescript:"~4.9.5"},engines:{node:">=16.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-s3"}};var TA=b(tR(),1);var jN="AWS_S3_USE_ARN_REGION",mN="s3_use_arn_region",Fw={environmentVariableSelector:(f)=>hh(f,jN,Rh.ENV),configFileSelector:(f)=>hh(f,mN,Rh.CONFIG),default:!1};var _f=b(Nw(),1);var Gw=b(Nw(),1);class gh{constructor(f){if(this.bytes=f,f.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(f){if(f>9223372036854776000||f<-9223372036854776000)throw new Error(`${f} is too large (or, if negative, too small) to represent as an Int64`);let h=new Uint8Array(8);for(let R=7,A=Math.abs(Math.round(f));R>-1&&A>0;R--,A/=256)h[R]=A;if(f<0)Ew(h);return new gh(h)}valueOf(){let f=this.bytes.slice(0),h=f[0]&128;if(h)Ew(f);return parseInt(Gw.toHex(f),16)*(h?-1:1)}toString(){return String(this.valueOf())}}function Ew(f){for(let h=0;h<8;h++)f[h]^=255;for(let h=7;h>-1;h--)if(f[h]++,f[h]!==0)break}class p3{constructor(f,h){this.toUtf8=f,this.fromUtf8=h}format(f){let h=[];for(let P of Object.keys(f)){let I=this.fromUtf8(P);h.push(Uint8Array.from([I.byteLength]),I,this.formatHeaderValue(f[P]))}let R=new Uint8Array(h.reduce((P,I)=>P+I.byteLength,0)),A=0;for(let P of h)R.set(P,A),A+=P.byteLength;return R}formatHeaderValue(f){switch(f.type){case"boolean":return Uint8Array.from([f.value?0:1]);case"byte":return Uint8Array.from([2,f.value]);case"short":let h=new DataView(new ArrayBuffer(3));return h.setUint8(0,3),h.setInt16(1,f.value,!1),new Uint8Array(h.buffer);case"integer":let R=new DataView(new ArrayBuffer(5));return R.setUint8(0,4),R.setInt32(1,f.value,!1),new Uint8Array(R.buffer);case"long":let A=new Uint8Array(9);return A[0]=5,A.set(f.value.bytes,1),A;case"binary":let P=new DataView(new ArrayBuffer(3+f.value.byteLength));P.setUint8(0,6),P.setUint16(1,f.value.byteLength,!1);let I=new Uint8Array(P.buffer);return I.set(f.value,3),I;case"string":let $=this.fromUtf8(f.value),w=new DataView(new ArrayBuffer(3+$.byteLength));w.setUint8(0,7),w.setUint16(1,$.byteLength,!1);let U=new Uint8Array(w.buffer);return U.set($,3),U;case"timestamp":let F=new Uint8Array(9);return F[0]=8,F.set(gh.fromNumber(f.value.valueOf()).bytes,1),F;case"uuid":if(!uN.test(f.value))throw new Error(`Invalid UUID received: ${f.value}`);let N=new Uint8Array(17);return N[0]=9,N.set(_f.fromHex(f.value.replace(/\-/g,"")),1),N}}parse(f){let h={},R=0;while(R<f.byteLength){let A=f.getUint8(R++),P=this.toUtf8(new Uint8Array(f.buffer,f.byteOffset+R,A));switch(R+=A,f.getUint8(R++)){case 0:h[P]={type:Ww,value:!0};break;case 1:h[P]={type:Ww,value:!1};break;case 2:h[P]={type:xN,value:f.getInt8(R++)};break;case 3:h[P]={type:_N,value:f.getInt16(R,!1)},R+=2;break;case 4:h[P]={type:aN,value:f.getInt32(R,!1)},R+=4;break;case 5:h[P]={type:iN,value:new gh(new Uint8Array(f.buffer,f.byteOffset+R,8))},R+=8;break;case 6:let I=f.getUint16(R,!1);R+=2,h[P]={type:pN,value:new Uint8Array(f.buffer,f.byteOffset+R,I)},R+=I;break;case 7:let $=f.getUint16(R,!1);R+=2,h[P]={type:eN,value:this.toUtf8(new Uint8Array(f.buffer,f.byteOffset+R,$))},R+=$;break;case 8:h[P]={type:oN,value:new Date(new gh(new Uint8Array(f.buffer,f.byteOffset+R,8)).valueOf())},R+=8;break;case 9:let w=new Uint8Array(f.buffer,f.byteOffset+R,16);R+=16,h[P]={type:nN,value:`${_f.toHex(w.subarray(0,4))}-${_f.toHex(w.subarray(4,6))}-${_f.toHex(w.subarray(6,8))}-${_f.toHex(w.subarray(8,10))}-${_f.toHex(w.subarray(10))}`};break;default:throw new Error("Unrecognized header type tag")}}return h}}var Sw;(function(f){f[f.boolTrue=0]="boolTrue",f[f.boolFalse=1]="boolFalse",f[f.byte=2]="byte",f[f.short=3]="short",f[f.integer=4]="integer",f[f.long=5]="long",f[f.byteArray=6]="byteArray",f[f.string=7]="string",f[f.timestamp=8]="timestamp",f[f.uuid=9]="uuid"})(Sw||(Sw={}));var Ww="boolean",xN="byte",_N="short",aN="integer",iN="long",pN="binary",eN="string",oN="timestamp",nN="uuid",uN=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;var Yw=4,af=Yw*2,Uh=4,tN=af+Uh*2;function Dw({byteLength:f,byteOffset:h,buffer:R}){if(f<tN)throw new Error("Provided message too short to accommodate event stream message overhead");let A=new DataView(R,h,f),P=A.getUint32(0,!1);if(f!==P)throw new Error("Reported message length does not match received message length");let I=A.getUint32(Yw,!1),$=A.getUint32(af,!1),w=A.getUint32(f-Uh,!1),U=new fh().update(new Uint8Array(R,h,af));if($!==U.digest())throw new Error(`The prelude checksum specified in the message (${$}) does not match the calculated CRC32 checksum (${U.digest()})`);if(U.update(new Uint8Array(R,h+af,f-(af+Uh))),w!==U.digest())throw new Error(`The message checksum (${U.digest()}) did not match the expected value of ${w}`);return{headers:new DataView(R,h+af+Uh,I),body:new Uint8Array(R,h+af+Uh+I,P-I-(af+Uh+Uh))}}class e3{constructor(f,h){this.headerMarshaller=new p3(f,h),this.messageBuffer=[],this.isEndOfStream=!1}feed(f){this.messageBuffer.push(this.decode(f))}endOfStream(){this.isEndOfStream=!0}getMessage(){let f=this.messageBuffer.pop(),h=this.isEndOfStream;return{getMessage(){return f},isEndOfStream(){return h}}}getAvailableMessages(){let f=this.messageBuffer;this.messageBuffer=[];let h=this.isEndOfStream;return{getMessages(){return f},isEndOfStream(){return h}}}encode({headers:f,body:h}){let R=this.headerMarshaller.format(f),A=R.byteLength+h.byteLength+16,P=new Uint8Array(A),I=new DataView(P.buffer,P.byteOffset,P.byteLength),$=new fh;return I.setUint32(0,A,!1),I.setUint32(4,R.byteLength,!1),I.setUint32(8,$.update(P.subarray(0,8)).digest(),!1),P.set(R,12),P.set(h,R.byteLength+12),I.setUint32(A-4,$.update(P.subarray(8,A-4)).digest(),!1),P}decode(f){let{headers:h,body:R}=Dw(f);return{headers:this.headerMarshaller.parse(h),body:R}}formatHeaders(f){return this.headerMarshaller.format(f)}}class o3{constructor(f){this.options=f}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let f of this.options.inputStream)yield this.options.decoder.decode(f)}}class n3{constructor(f){this.options=f}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let f of this.options.messageStream)yield this.options.encoder.encode(f);if(this.options.includeEndFrame)yield new Uint8Array(0)}}class u3{constructor(f){this.options=f}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let f of this.options.messageStream){let h=await this.options.deserializer(f);if(h===void 0)continue;yield h}}}class t3{constructor(f){this.options=f}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let f of this.options.inputStream)yield this.options.serializer(f)}}function Mw(f){let h=0,R=0,A=null,P=null,I=(w)=>{if(typeof w!=="number")throw new Error("Attempted to allocate an event message where size was not a number: "+w);h=w,R=4,A=new Uint8Array(w),new DataView(A.buffer).setUint32(0,w,!1)},$=async function*(){let w=f[Symbol.asyncIterator]();while(!0){let{value:U,done:F}=await w.next();if(F){if(!h)return;else if(h===R)yield A;else throw new Error("Truncated event message received.");return}let N=U.length,W=0;while(W<N){if(!A){let S=N-W;if(!P)P=new Uint8Array(4);let L=Math.min(4-R,S);if(P.set(U.slice(W,W+L),R),R+=L,W+=L,R<4)break;I(new DataView(P.buffer).getUint32(0,!1)),P=null}let V=Math.min(h-R,N-W);if(A.set(U.slice(W,W+V),R),R+=V,W+=V,h&&h===R)yield A,A=null,h=0,R=0}}};return{[Symbol.asyncIterator]:$}}function Vw(f,h){return async function(R){let{value:A}=R.headers[":message-type"];if(A==="error"){let P=new Error(R.headers[":error-message"].value||"UnknownError");throw P.name=R.headers[":error-code"].value,P}else if(A==="exception"){let P=R.headers[":exception-type"].value,I={[P]:R},$=await f(I);if($.$unknown){let w=new Error(h(R.body));throw w.name=P,w}throw $[P]}else if(A==="event"){let P={[R.headers[":event-type"].value]:R},I=await f(P);if(I.$unknown)return;return I}else throw Error(`Unrecognizable event type: ${R.headers[":event-type"].value}`)}}class gA{constructor({utf8Encoder:f,utf8Decoder:h}){this.eventStreamCodec=new e3(f,h),this.utfEncoder=f}deserialize(f,h){let R=Mw(f);return new u3({messageStream:new o3({inputStream:R,decoder:this.eventStreamCodec}),deserializer:Vw(h,this.utfEncoder)})}serialize(f,h){return new n3({messageStream:new t3({inputStream:f,serializer:h}),encoder:this.eventStreamCodec,includeEndFrame:!0})}}import{Readable as fG}from"stream";async function*Xw(f){let h=!1,R=!1,A=new Array;f.on("error",(P)=>{if(!h)h=!0;if(P)throw P}),f.on("data",(P)=>{A.push(P)}),f.on("end",()=>{h=!0});while(!R){let P=await new Promise((I)=>setTimeout(()=>I(A.shift()),0));if(P)yield P;R=h&&A.length===0}}class f1{constructor({utf8Encoder:f,utf8Decoder:h}){this.universalMarshaller=new gA({utf8Decoder:h,utf8Encoder:f})}deserialize(f,h){let R=typeof f[Symbol.asyncIterator]==="function"?f:Xw(f);return this.universalMarshaller.deserialize(R,h)}serialize(f,h){return fG.from(this.universalMarshaller.serialize(f,h))}}var Zw=(f)=>new f1(f);import{Writable as hG}from"stream";class qA extends hG{constructor(f,h){super(h);this.hash=f}_write(f,h,R){try{this.hash.update(CR(f))}catch(A){return R(A)}R()}}var zw=(f,h)=>{if(h.readableFlowing!==null)throw new Error("Unable to calculate hash for flowing readable stream");let R=new f,A=new qA(R);return h.pipe(A),new Promise((P,I)=>{h.on("error",($)=>{A.end(),I($)}),A.on("error",I),A.on("finish",()=>{R.digest().then(P).catch(I)})})};var yA=b(tR(),1);var Bw=b(RG(),1);var Tw=(f)=>{return{apiVersion:"2006-03-01",base64Decoder:f?.base64Decoder??Qw,base64Encoder:f?.base64Encoder??gw,disableHostPrefix:f?.disableHostPrefix??!1,endpointProvider:f?.endpointProvider??uR,extensions:f?.extensions??[],getAwsChunkedEncodingStream:f?.getAwsChunkedEncodingStream??qw,httpAuthSchemeProvider:f?.httpAuthSchemeProvider??U$,httpAuthSchemes:f?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(h)=>h.getIdentityProvider("aws.auth#sigv4"),signer:new yA.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(h)=>h.getIdentityProvider("aws.auth#sigv4a"),signer:new yA.AwsSdkSigV4ASigner}],logger:f?.logger??new dR,sdkStreamMixin:f?.sdkStreamMixin??yw,serviceId:f?.serviceId??"S3",signerConstructor:f?.signerConstructor??K0,signingEscapePath:f?.signingEscapePath??!1,urlParser:f?.urlParser??Bw.parseUrl,useArnRegion:f?.useArnRegion??!1,utf8Decoder:f?.utf8Decoder??Jw,utf8Encoder:f?.utf8Encoder??Lw}};var aw=(f)=>{mw(process.version);let h=xw(f),R=()=>h().then(jw),A=Tw(f);return TA.emitWarningIfUnsupportedVersion(process.version),{...A,...f,runtime:"node",defaultsMode:h,bodyLengthChecker:f?.bodyLengthChecker??kw,credentialDefaultProvider:f?.credentialDefaultProvider??_w,defaultUserAgentProvider:f?.defaultUserAgentProvider??rw({serviceId:A.serviceId,clientVersion:Hw.version}),disableS3ExpressSessionAuth:f?.disableS3ExpressSessionAuth??zf(g0),eventStreamSerdeProvider:f?.eventStreamSerdeProvider??Zw,maxAttempts:f?.maxAttempts??zf(bw),md5:f?.md5??BA.bind(null,"md5"),region:f?.region??zf(Cw,lw),requestChecksumCalculation:f?.requestChecksumCalculation??zf(WP),requestHandler:Kw.create(f?.requestHandler??R),responseChecksumValidation:f?.responseChecksumValidation??zf(YP),retryMode:f?.retryMode??zf({...dw,default:async()=>(await R()).retryMode||cw}),sha1:f?.sha1??BA.bind(null,"sha1"),sha256:f?.sha256??BA.bind(null,"sha256"),sigv4aSigningRegionSet:f?.sigv4aSigningRegionSet??zf(TA.NODE_SIGV4A_CONFIG_OPTIONS),streamCollector:f?.streamCollector??vw,streamHasher:f?.streamHasher??zw,useArnRegion:f?.useArnRegion??zf(Fw),useDualstackEndpoint:f?.useDualstackEndpoint??zf(Ow),useFipsEndpoint:f?.useFipsEndpoint??zf(sw)}};var iw=(f)=>{let{httpAuthSchemes:h,httpAuthSchemeProvider:R,credentials:A}=f;return{setHttpAuthScheme(P){let I=h.findIndex(($)=>$.schemeId===P.schemeId);if(I===-1)h.push(P);else h.splice(I,1,P)},httpAuthSchemes(){return h},setHttpAuthSchemeProvider(P){R=P},httpAuthSchemeProvider(){return R},setCredentials(P){A=P},credentials(){return A}}},pw=(f)=>{return{httpAuthSchemes:f.httpAuthSchemes(),httpAuthSchemeProvider:f.httpAuthSchemeProvider(),credentials:f.credentials()}};var KA=(f)=>f,hU=(f,h)=>{let R={...KA(tw(f)),...KA(nw(f)),...KA(ew(f)),...KA(iw(f))};return h.forEach((A)=>A.configure(R)),{...f,...fU(R),...uw(R),...ow(R),...pw(R)}};class h1 extends $U{constructor(...[f]){let h=aw(f||{}),R=F$(h),A=wU(R),P=KP(A),I=NU(P),$=HU(I),w=RU($),U=EU(w),F=hI(U),N=H$(F),W=eP(N,{session:[()=>this,i3]}),V=hU(W,f?.extensions||[]);super(V);this.config=V,this.middlewareStack.use(UU(this.config)),this.middlewareStack.use(GU(this.config)),this.middlewareStack.use(FU(this.config)),this.middlewareStack.use(AU(this.config)),this.middlewareStack.use(PU(this.config)),this.middlewareStack.use(IU(this.config)),this.middlewareStack.use(qh.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:I$,identityProviderConfigProvider:async(S)=>new qh.DefaultIdentityProviderConfig({"aws.auth#sigv4":S.credentials,"aws.auth#sigv4a":S.credentials})})),this.middlewareStack.use(qh.getHttpSigningPlugin(this.config)),this.middlewareStack.use(fI(this.config)),this.middlewareStack.use(EP(this.config)),this.middlewareStack.use(OP(this.config)),this.middlewareStack.use(q0(this.config)),this.middlewareStack.use(B0(this.config))}destroy(){super.destroy()}}function AG(f){return(h)=>async(R)=>{let A={...R.input},P=[{target:"SSECustomerKey",hash:"SSECustomerKeyMD5"},{target:"CopySourceSSECustomerKey",hash:"CopySourceSSECustomerKeyMD5"}];for(let I of P){let $=A[I.target];if($){let w;if(typeof $==="string")if(IG($,f))w=f.base64Decoder($);else w=f.utf8Decoder($),A[I.target]=f.base64Encoder(w);else w=ArrayBuffer.isView($)?new Uint8Array($.buffer,$.byteOffset,$.byteLength):new Uint8Array($),A[I.target]=f.base64Encoder(w);let U=new f.md5;U.update(w),A[I.hash]=f.base64Encoder(await U.digest())}}return h({...R,input:A})}}var PG={name:"ssecMiddleware",step:"initialize",tags:["SSE"],override:!0},vA=(f)=>({applyToStack:(h)=>{h.add(AG(f),PG)}});function IG(f,h){if(!/^(?:[A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(f))return!1;try{return h.base64Decoder(f).length===32}catch{return!1}}class R1 extends rf.classBuilder().ep({...cf,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(f,h,R,A){return[kf(R,this.serialize,this.deserialize),xf(R,f.getEndpointParameterInstructions()),bR(R,{input:this.input,requestChecksumRequired:!1,requestValidationModeMember:"ChecksumMode",responseAlgorithms:["CRC32","CRC32C","SHA256","SHA1"]}),vA(R),sP(R)]}).s("AmazonS3","GetObject",{}).n("S3Client","GetObjectCommand").f(W$,S$).ser(K$).de(O$).build(){}class A1 extends rf.classBuilder().ep({...cf,Bucket:{type:"contextParams",name:"Bucket"},Prefix:{type:"contextParams",name:"Prefix"}}).m(function(f,h,R,A){return[kf(R,this.serialize,this.deserialize),xf(R,f.getEndpointParameterInstructions()),Zh(R)]}).s("AmazonS3","ListObjectsV2",{}).n("S3Client","ListObjectsV2Command").f(void 0,void 0).ser(v$).de(s$).build(){}class P1 extends rf.classBuilder().ep({...cf,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(f,h,R,A){return[kf(R,this.serialize,this.deserialize),xf(R,f.getEndpointParameterInstructions()),bR(R,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!1}),vP(R),Zh(R),vA(R)]}).s("AmazonS3","PutObject",{}).n("S3Client","PutObjectCommand").f(M$,D$).ser(j$).de(C$).build(){}import{Buffer as SU}from"buffer";class WU extends Sh{client;constructor(...f){super();this.client=new h1(...f)}async put(f){let h,R,A,P=process.env.BUCKET_NAME;if(f instanceof Blob)h=f,A=`${BR()}.${f.type.split("/")[1].split(";")[0]}`,R=f.type;else h=f.body,A=f.name,P=f.bucket??P,R=f.contentType;R=h instanceof Blob||h instanceof File?h.type:void 0;let I=h instanceof SU?h:SU.from(await h.arrayBuffer());return await this.client.send(new P1({Bucket:P,Key:A,Body:I,ContentType:R})),A}async list(f){return await this.client.send(new A1({Bucket:process.env.BUCKET_NAME,Prefix:f}))}async fetch(f){let h=process.env.BUCKET_NAME,R;if(typeof f==="string")R=f;else h=f.bucket??h,R=f.name;if(!R)throw new Error("Object name has to be specified");let A=await this.client.send(new R1({Bucket:h,Key:R}));return new Response(A.Body.transformToWebStream(),{headers:{"Content-Type":A.ContentType,"Content-Length":A.ContentLength.toString(),"Cache-Control":"private, max-age=12000, must-revalidate","Last-Modified":A.LastModified?.toUTCString()||"",ETag:A.ETag||""}})}}class jA{}class mA extends jA{requests=new Map;consume(f,h){if(!this.requests.has(f))this.requests.set(f,{date:Date.now(),count:1});else{let R=this.requests.get(f),A=Date.now();if(A-R.date>=60000)this.requests.set(f,{date:A,count:1});else this.requests.set(f,{date:R.date,count:R.count+1})}return this.requests.get(f).count}}class YU extends a{driver=new mA;boot(){}}import*as oY from"react-dom/server";var g;(function(f){f.Root="root",f.Text="text",f.Directive="directive",f.Comment="comment",f.Script="script",f.Style="style",f.Tag="tag",f.CDATA="cdata",f.Doctype="doctype"})(g||(g={}));function DU(f){return f.type===g.Tag||f.type===g.Script||f.type===g.Style}var{Root:MU,Text:VU,Directive:XU,Comment:ZU,Script:zU,Style:JU,Tag:LU,CDATA:QU,Doctype:gU}=g;class $1{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(f){this.parent=f}get previousSibling(){return this.prev}set previousSibling(f){this.prev=f}get nextSibling(){return this.next}set nextSibling(f){this.next=f}cloneNode(f=!1){return yU(this,f)}}class OA extends $1{constructor(f){super();this.data=f}get nodeValue(){return this.data}set nodeValue(f){this.data=f}}class $R extends OA{constructor(){super(...arguments);this.type=g.Text}get nodeType(){return 3}}class sA extends OA{constructor(){super(...arguments);this.type=g.Comment}get nodeType(){return 8}}class CA extends OA{constructor(f,h){super(h);this.name=f,this.type=g.Directive}get nodeType(){return 1}}class lA extends $1{constructor(f){super();this.children=f}get firstChild(){var f;return(f=this.children[0])!==null&&f!==void 0?f:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(f){this.children=f}}class cA extends lA{constructor(){super(...arguments);this.type=g.CDATA}get nodeType(){return 4}}class wR extends lA{constructor(){super(...arguments);this.type=g.Root}get nodeType(){return 9}}class bA extends lA{constructor(f,h,R=[],A=f==="script"?g.Script:f==="style"?g.Style:g.Tag){super(R);this.name=f,this.attribs=h,this.type=A}get nodeType(){return 1}get tagName(){return this.name}set tagName(f){this.name=f}get attributes(){return Object.keys(this.attribs).map((f)=>{var h,R;return{name:f,value:this.attribs[f],namespace:(h=this["x-attribsNamespace"])===null||h===void 0?void 0:h[f],prefix:(R=this["x-attribsPrefix"])===null||R===void 0?void 0:R[f]}})}}function dA(f){return DU(f)}function $G(f){return f.type===g.CDATA}function wG(f){return f.type===g.Text}function UG(f){return f.type===g.Comment}function HG(f){return f.type===g.Directive}function FG(f){return f.type===g.Root}function yU(f,h=!1){let R;if(wG(f))R=new $R(f.data);else if(UG(f))R=new sA(f.data);else if(dA(f)){let A=h?I1(f.children):[],P=new bA(f.name,{...f.attribs},A);if(A.forEach((I)=>I.parent=P),f.namespace!=null)P.namespace=f.namespace;if(f["x-attribsNamespace"])P["x-attribsNamespace"]={...f["x-attribsNamespace"]};if(f["x-attribsPrefix"])P["x-attribsPrefix"]={...f["x-attribsPrefix"]};R=P}else if($G(f)){let A=h?I1(f.children):[],P=new cA(A);A.forEach((I)=>I.parent=P),R=P}else if(FG(f)){let A=h?I1(f.children):[],P=new wR(A);if(A.forEach((I)=>I.parent=P),f["x-mode"])P["x-mode"]=f["x-mode"];R=P}else if(HG(f)){let A=new CA(f.name,f.data);if(f["x-name"]!=null)A["x-name"]=f["x-name"],A["x-publicId"]=f["x-publicId"],A["x-systemId"]=f["x-systemId"];R=A}else throw new Error(`Not implemented yet: ${f.type}`);if(R.startIndex=f.startIndex,R.endIndex=f.endIndex,f.sourceCodeLocation!=null)R.sourceCodeLocation=f.sourceCodeLocation;return R}function I1(f){let h=f.map((R)=>yU(R,!0));for(let R=1;R<h.length;R++)h[R].prev=h[R-1],h[R-1].next=h[R];return h}var BU={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class w1{constructor(f,h,R){if(this.dom=[],this.root=new wR(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof h==="function")R=h,h=BU;if(typeof f==="object")h=f,f=void 0;this.callback=f!==null&&f!==void 0?f:null,this.options=h!==null&&h!==void 0?h:BU,this.elementCB=R!==null&&R!==void 0?R:null}onparserinit(f){this.parser=f}onreset(){this.dom=[],this.root=new wR(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){if(this.done)return;this.done=!0,this.parser=null,this.handleCallback(null)}onerror(f){this.handleCallback(f)}onclosetag(){this.lastNode=null;let f=this.tagStack.pop();if(this.options.withEndIndices)f.endIndex=this.parser.endIndex;if(this.elementCB)this.elementCB(f)}onopentag(f,h){let R=this.options.xmlMode?g.Tag:void 0,A=new bA(f,h,void 0,R);this.addNode(A),this.tagStack.push(A)}ontext(f){let{lastNode:h}=this;if(h&&h.type===g.Text){if(h.data+=f,this.options.withEndIndices)h.endIndex=this.parser.endIndex}else{let R=new $R(f);this.addNode(R),this.lastNode=R}}oncomment(f){if(this.lastNode&&this.lastNode.type===g.Comment){this.lastNode.data+=f;return}let h=new sA(f);this.addNode(h),this.lastNode=h}oncommentend(){this.lastNode=null}oncdatastart(){let f=new $R(""),h=new cA([f]);this.addNode(h),f.parent=h,this.lastNode=f}oncdataend(){this.lastNode=null}onprocessinginstruction(f,h){let R=new CA(f,h);this.addNode(R)}handleCallback(f){if(typeof this.callback==="function")this.callback(f,this.dom);else if(f)throw f}addNode(f){let h=this.tagStack[this.tagStack.length-1],R=h.children[h.children.length-1];if(this.options.withStartIndices)f.startIndex=this.parser.startIndex;if(this.options.withEndIndices)f.endIndex=this.parser.endIndex;if(h.children.push(f),R)f.prev=R,R.next=f;f.parent=h,this.lastNode=null}}var EG=/\n/g;function NG(f){let h=[...f.matchAll(EG)].map((A)=>A.index||0);h.unshift(-1);let R=U1(h,0,h.length);return(A)=>KU(R,A)}function U1(f,h,R){if(R-h==1)return{offset:f[h],index:h+1};let A=Math.ceil((h+R)/2),P=U1(f,h,A),I=U1(f,A,R);return{offset:P.offset,low:P,high:I}}function KU(f,h){return function(R){return Object.prototype.hasOwnProperty.call(R,"index")}(f)?{line:f.index,column:h-f.offset}:KU(f.high.offset<h?f.high:f.low,h)}function H1(f,h="",R={}){let A=typeof h!="string"?h:R,P=typeof h=="string"?h:"",I=f.map(GG),$=!!A.lineNumbers;return function(w,U=0){let F=$?NG(w):()=>({line:0,column:0}),N=U,W=[];f:for(;N<w.length;){let V=!1;for(let S of I){S.regex.lastIndex=N;let L=S.regex.exec(w);if(L&&L[0].length>0){if(!S.discard){let K=F(N),Pf=typeof S.replace=="string"?L[0].replace(new RegExp(S.regex.source,S.regex.flags),S.replace):L[0];W.push({state:P,name:S.name,text:Pf,offset:N,len:L[0].length,line:K.line,column:K.column})}if(N=S.regex.lastIndex,V=!0,S.push){let K=S.push(w,N);W.push(...K.tokens),N=K.offset}if(S.pop)break f;break}}if(!V)break}return{tokens:W,offset:N,complete:w.length<=N}}}function GG(f,h){return{...f,regex:SG(f,h)}}function SG(f,h){if(f.name.length===0)throw new Error(`Rule #${h} has empty name, which is not allowed.`);if(function(R){return Object.prototype.hasOwnProperty.call(R,"regex")}(f))return function(R){if(R.global)throw new Error(`Regular expression /${R.source}/${R.flags} contains the global flag, which is not allowed.`);return R.sticky?R:new RegExp(R.source,R.flags+"y")}(f.regex);if(function(R){return Object.prototype.hasOwnProperty.call(R,"str")}(f)){if(f.str.length===0)throw new Error(`Rule #${h} ("${f.name}") has empty "str" property, which is not allowed.`);return new RegExp(TU(f.str),"y")}return new RegExp(TU(f.name),"y")}function TU(f){return f.replace(/[-[\]{}()*+!<=:?./\\^$|#\s,]/g,"\\$&")}function yf(f,h){return(R,A)=>{let P=A,I=void 0;if(A<R.tokens.length){if(I=f(R.tokens[A],R,A),I!==void 0)P++}else h?.(R,A);return I===void 0?{matched:!1}:{matched:!0,position:P,value:I}}}function F1(f,h){return f.matched?{matched:!0,position:f.position,value:h(f.value,f.position)}:f}function rA(f,h){return f.matched?h(f):f}function hf(f,h){return(R,A)=>F1(f(R,A),(P,I)=>h(P,R,A,I))}function UR(f,h){return(R,A)=>{let P=f(R,A);return P.matched?P:{matched:!0,position:A,value:h}}}function yh(...f){return(h,R)=>{for(let A of f){let P=A(h,R);if(P.matched)return P}return{matched:!1}}}function pf(f,h){return(R,A)=>{let P=f(R,A);return P.matched?P:h(R,A)}}function WG(f,h){return(R,A)=>{let P=[],I=!0;do{let $=f(R,A);if($.matched&&h($.value,P.length+1,R,A,$.position))P.push($.value),A=$.position;else I=!1}while(I);return{matched:!0,position:A,value:P}}}function kA(f){return WG(f,()=>!0)}function vU(f){return $f(f,kA(f),(h,R)=>[h,...R])}function $f(f,h,R){return(A,P)=>rA(f(A,P),(I)=>F1(h(A,I.position),($,w)=>R(I.value,$,A,P,w)))}function jU(f,h){return $f(f,h,(R)=>R)}function E1(f,h){return $f(f,h,(R,A)=>A)}function xA(f,h,R,A){return(P,I)=>rA(f(P,I),($)=>rA(h(P,$.position),(w)=>F1(R(P,w.position),(U,F)=>A($.value,w.value,U,P,I,F))))}function N1(f,h,R){return xA(f,h,R,(A,P)=>P)}function YG(...f){return(h,R)=>{let A=[],P=R;for(let I of f){let $=I(h,P);if($.matched)A.push($.value),P=$.position;else return{matched:!1}}return{matched:!0,position:P,value:A}}}function mU(...f){return DG(YG(...f))}function DG(f){return hf(f,(h)=>h.flatMap((R)=>R))}function MG(f,h){return(R,A)=>{let P=!0,I=f,$=A;do{let w=h(I,R,$)(R,$);if(w.matched)I=w.value,$=w.position;else P=!1}while(P);return{matched:!0,position:$,value:I}}}function VG(f,h,R){return MG(f,(A)=>hf(h,(P,I,$,w)=>R(A,P,I,$,w)))}function G1(f,h,R){return XG(f,(A)=>VG(A,$f(h,R,(P,I)=>[P,I]),(P,[I,$])=>I(P,$)))}function XG(f,h){return(R,A)=>rA(f(R,A),(P)=>h(P.value,R,A,P.position)(R,P.position))}var zG="(?:[ \\t\\r\\n\\f]*)",bU="(?:\\n|\\r\\n|\\r|\\f)",iA="[^\\x00-\\x7F]",ER="(?:\\\\[0-9a-f]{1,6}(?:\\r\\n|[ \\n\\r\\t\\f])?)",NR="(?:\\\\[^\\n\\r\\f0-9a-f])",JG=`(?:[_a-z]|${iA}|${ER}|${NR})`,dU=`(?:[_a-z0-9-]|${iA}|${ER}|${NR})`,LG=`(?:${dU}+)`,QG=`(?:[-]?${JG}${dU}*)`,gG=`'([^\\n\\r\\f\\\\']|\\\\${bU}|${iA}|${ER}|${NR})*'`,qG=`"([^\\n\\r\\f\\\\"]|\\\\${bU}|${iA}|${ER}|${NR})*"`,yG=H1([{name:"ws",regex:new RegExp(zG)},{name:"hash",regex:new RegExp(`#${LG}`,"i")},{name:"ident",regex:new RegExp(QG,"i")},{name:"str1",regex:new RegExp(gG,"i")},{name:"str2",regex:new RegExp(qG,"i")},{name:"*"},{name:"."},{name:","},{name:"["},{name:"]"},{name:"="},{name:">"},{name:"|"},{name:"+"},{name:"~"},{name:"^"},{name:"$"}]),BG=H1([{name:"unicode",regex:new RegExp(ER,"i")},{name:"escape",regex:new RegExp(NR,"i")},{name:"any",regex:new RegExp("[\\s\\S]","i")}]);function rU([f,h,R],[A,P,I]){return[f+A,h+P,R+I]}function TG(f){return f.reduce(rU,[0,0,0])}var KG=yf((f)=>f.name==="unicode"?String.fromCodePoint(parseInt(f.text.slice(1),16)):void 0),vG=yf((f)=>f.name==="escape"?f.text.slice(1):void 0),jG=yf((f)=>f.name==="any"?f.text:void 0),mG=hf(kA(yh(KG,vG,jG)),(f)=>f.join(""));function Y1(f){let h=BG(f);return mG({tokens:h.tokens,options:void 0},0).value}function s(f){return yf((h)=>h.name===f?!0:void 0)}var D1=yf((f)=>f.name==="ws"?null:void 0),S1=UR(D1,null);function Th(f){return N1(S1,f,S1)}var FR=yf((f)=>f.name==="ident"?Y1(f.text):void 0),OG=yf((f)=>f.name==="hash"?Y1(f.text.slice(1)):void 0),sG=yf((f)=>f.name.startsWith("str")?Y1(f.text.slice(1,-1)):void 0),kU=jU(UR(FR,""),s("|")),M1=pf($f(kU,FR,(f,h)=>({name:h,namespace:f})),hf(FR,(f)=>({name:f,namespace:null}))),CG=pf($f(kU,s("*"),(f)=>({type:"universal",namespace:f,specificity:[0,0,0]})),hf(s("*"),()=>({type:"universal",namespace:null,specificity:[0,0,0]}))),lG=hf(M1,({name:f,namespace:h})=>({type:"tag",name:f,namespace:h,specificity:[0,0,1]})),cG=$f(s("."),FR,(f,h)=>({type:"class",name:h,specificity:[0,1,0]})),bG=hf(OG,(f)=>({type:"id",name:f,specificity:[1,0,0]})),OU=yf((f)=>{if(f.name==="ident"){if(f.text==="i"||f.text==="I")return"i";if(f.text==="s"||f.text==="S")return"s"}return}),dG=pf($f(sG,UR(E1(S1,OU),null),(f,h)=>({value:f,modifier:h})),$f(FR,UR(E1(D1,OU),null),(f,h)=>({value:f,modifier:h}))),rG=yh(hf(s("="),()=>"="),$f(s("~"),s("="),()=>"~="),$f(s("|"),s("="),()=>"|="),$f(s("^"),s("="),()=>"^="),$f(s("$"),s("="),()=>"$="),$f(s("*"),s("="),()=>"*=")),kG=xA(s("["),Th(M1),s("]"),(f,{name:h,namespace:R})=>({type:"attrPresence",name:h,namespace:R,specificity:[0,1,0]})),xG=N1(s("["),xA(Th(M1),rG,Th(dG),({name:f,namespace:h},R,{value:A,modifier:P})=>({type:"attrValue",name:f,namespace:h,matcher:R,value:A,modifier:P,specificity:[0,1,0]})),s("]")),_G=pf(kG,xG),aG=pf(CG,lG),sU=yh(bG,cG,_G),CU=hf(pf(mU(aG,kA(sU)),vU(sU)),(f)=>{return{type:"compound",list:f,specificity:TG(f.map((h)=>h.specificity))}}),iG=yh(hf(s(">"),()=>">"),hf(s("+"),()=>"+"),hf(s("~"),()=>"~"),$f(s("|"),s("|"),()=>"||")),pG=pf(Th(iG),hf(D1,()=>" ")),W1=G1(CU,hf(pG,(f)=>(h,R)=>({type:"compound",list:[...R.list,{type:"combinator",combinator:f,left:h,specificity:h.specificity}],specificity:rU(h.specificity,R.specificity)})),CU),yz=G1(hf(W1,(f)=>({type:"list",list:[f]})),hf(Th(s(",")),()=>(f,h)=>({type:"list",list:[...f.list,h]})),W1);function eG(f,h){if(!(typeof h==="string"||h instanceof String))throw new Error("Expected a selector string. Actual input is not a string!");let R=yG(h);if(!R.complete)throw new Error(`The input "${h}" was only partially tokenized, stopped at offset ${R.offset}!\n`+lU(h,R.offset));let A=Th(f)({tokens:R.tokens,options:void 0},0);if(!A.matched)throw new Error(`No match for "${h}" input!`);if(A.position<R.tokens.length){let P=R.tokens[A.position];throw new Error(`The input "${h}" was only partially parsed, stopped at offset ${P.offset}!\n`+lU(h,P.offset,P.len))}return A.value}function lU(f,h,R=1){return`${f.replace(/(\t)|(\r)|(\n)/g,(A,P,I)=>P?"\u2409":I?"\u240D":"\u240A")}\n${"".padEnd(h)}${"^".repeat(R)}`}function xU(f){return eG(W1,f)}function Jf(f){if(!f.type)throw new Error("This is not an AST node.");switch(f.type){case"universal":return _A(f.namespace)+"*";case"tag":return _A(f.namespace)+Bh(f.name);case"class":return"."+Bh(f.name);case"id":return"#"+Bh(f.name);case"attrPresence":return`[${_A(f.namespace)}${Bh(f.name)}]`;case"attrValue":return`[${_A(f.namespace)}${Bh(f.name)}${f.matcher}"${oG(f.value)}"${f.modifier?f.modifier:""}]`;case"combinator":return Jf(f.left)+f.combinator;case"compound":return f.list.reduce((h,R)=>{if(R.type==="combinator")return Jf(R)+h;else return h+Jf(R)},"");case"list":return f.list.map(Jf).join(",")}}function _A(f){return f||f===""?Bh(f)+"|":""}function aA(f){return`\\${f.codePointAt(0).toString(16)} `}function Bh(f){return f.replace(/(^[0-9])|(^-[0-9])|(^-$)|([-0-9a-zA-Z_]|[^\x00-\x7F])|(\x00)|([\x01-\x1f]|\x7f)|([\s\S])/g,(h,R,A,P,I,$,w,U)=>R?aA(R):A?"-"+aA(A.slice(1)):P?"\\-":I?I:$?"\uFFFD":w?aA(w):"\\"+U)}function oG(f){return f.replace(/(")|(\\)|(\x00)|([\x01-\x1f]|\x7f)/g,(h,R,A,P,I)=>R?'\\"':A?"\\\\":P?"\uFFFD":aA(I))}function HR(f){if(!f.type)throw new Error("This is not an AST node.");switch(f.type){case"compound":{f.list.forEach(HR),f.list.sort((h,R)=>_U(cU(h),cU(R)));break}case"combinator":{HR(f.left);break}case"list":{f.list.forEach(HR),f.list.sort((h,R)=>Jf(h)<Jf(R)?-1:1);break}}return f}function cU(f){switch(f.type){case"universal":return[1];case"tag":return[1];case"id":return[2];case"class":return[3,f.name];case"attrPresence":return[4,Jf(f)];case"attrValue":return[5,Jf(f)];case"combinator":return[15,Jf(f)]}}function V1(f,h){return _U(f,h)}function _U(f,h){if(!Array.isArray(f)||!Array.isArray(h))throw new Error("Arguments must be arrays.");let R=f.length<h.length?f.length:h.length;for(let A=0;A<R;A++){if(f[A]===h[A])continue;return f[A]<h[A]?-1:1}return f.length-h.length}class pA{constructor(f){this.branches=Kh(uG(f))}build(f){return f(this.branches)}}function uG(f){let h=f.length,R=new Array(h);for(let A=0;A<h;A++){let[P,I]=f[A],$=tG(xU(P));R[A]={ast:$,terminal:{type:"terminal",valueContainer:{index:A,value:I,specificity:$.specificity}}}}return R}function tG(f){return iU(f),HR(f),f}function iU(f){let h=[];f.list.forEach((R)=>{switch(R.type){case"class":h.push({matcher:"~=",modifier:null,name:"class",namespace:null,specificity:R.specificity,type:"attrValue",value:R.name});break;case"id":h.push({matcher:"=",modifier:null,name:"id",namespace:null,specificity:R.specificity,type:"attrValue",value:R.name});break;case"combinator":iU(R.left),h.push(R);break;case"universal":break;default:h.push(R);break}}),f.list=h}function Kh(f){let h=[];while(f.length){let R=oU(f,($)=>!0,pU),{matches:A,nonmatches:P,empty:I}=hS(f,R);if(f=P,A.length)h.push(RS(R,A));if(I.length)h.push(...fS(I))}return h}function fS(f){let h=[];for(let R of f){let A=R.terminal;if(A.type==="terminal")h.push(A);else{let{matches:P,rest:I}=wS(A.cont,($)=>$.type==="terminal");if(P.forEach(($)=>h.push($)),I.length)A.cont=I,h.push(A)}}return h}function hS(f,h){let R=[],A=[],P=[];for(let I of f){let $=I.ast.list;if($.length)($.some((U)=>pU(U)===h)?R:A).push(I);else P.push(I)}return{matches:R,nonmatches:A,empty:P}}function pU(f){switch(f.type){case"attrPresence":return`attrPresence ${f.name}`;case"attrValue":return`attrValue ${f.name}`;case"combinator":return`combinator ${f.combinator}`;default:return f.type}}function RS(f,h){if(f==="tag")return AS(h);if(f.startsWith("attrValue "))return IS(f.substring(10),h);if(f.startsWith("attrPresence "))return PS(f.substring(13),h);if(f==="combinator >")return aU(">",h);if(f==="combinator +")return aU("+",h);throw new Error(`Unsupported selector kind: ${f}`)}function AS(f){let h=X1(f,(A)=>A.type==="tag",(A)=>A.name);return{type:"tagName",variants:Object.entries(h).map(([A,P])=>({type:"variant",value:A,cont:Kh(P.items)}))}}function PS(f,h){for(let R of h)eU(R,(A)=>A.type==="attrPresence"&&A.name===f);return{type:"attrPresence",name:f,cont:Kh(h)}}function IS(f,h){let R=X1(h,(P)=>P.type==="attrValue"&&P.name===f,(P)=>`${P.matcher} ${P.modifier||""} ${P.value}`),A=[];for(let P of Object.values(R)){let I=P.oneSimpleSelector,$=$S(I),w=Kh(P.items);A.push({type:"matcher",matcher:I.matcher,modifier:I.modifier,value:I.value,predicate:$,cont:w})}return{type:"attrValue",name:f,matchers:A}}function $S(f){if(f.modifier==="i"){let h=f.value.toLowerCase();switch(f.matcher){case"=":return(R)=>h===R.toLowerCase();case"~=":return(R)=>R.toLowerCase().split(/[ \t]+/).includes(h);case"^=":return(R)=>R.toLowerCase().startsWith(h);case"$=":return(R)=>R.toLowerCase().endsWith(h);case"*=":return(R)=>R.toLowerCase().includes(h);case"|=":return(R)=>{let A=R.toLowerCase();return h===A||A.startsWith(h)&&A[h.length]==="-"}}}else{let h=f.value;switch(f.matcher){case"=":return(R)=>h===R;case"~=":return(R)=>R.split(/[ \t]+/).includes(h);case"^=":return(R)=>R.startsWith(h);case"$=":return(R)=>R.endsWith(h);case"*=":return(R)=>R.includes(h);case"|=":return(R)=>h===R||R.startsWith(h)&&R[h.length]==="-"}}}function aU(f,h){let R=X1(h,(P)=>P.type==="combinator"&&P.combinator===f,(P)=>Jf(P.left)),A=[];for(let P of Object.values(R)){let I=Kh(P.items),$=P.oneSimpleSelector.left;A.push({ast:$,terminal:{type:"popElement",cont:I}})}return{type:"pushElement",combinator:f,cont:Kh(A)}}function X1(f,h,R){let A={};while(f.length){let P=oU(f,h,R),I=(N)=>h(N)&&R(N)===P,$=(N)=>N.ast.list.some(I),{matches:w,rest:U}=US(f,$),F=null;for(let N of w){let W=eU(N,I);if(!F)F=W}if(F==null)throw new Error("No simple selector is found.");A[P]={oneSimpleSelector:F,items:w},f=U}return A}function eU(f,h){let R=f.ast.list,A=new Array(R.length),P=-1;for(let $=R.length;$-- >0;)if(h(R[$]))A[$]=!0,P=$;if(P==-1)throw new Error("Couldn't find the required simple selector.");let I=R[P];return f.ast.list=R.filter(($,w)=>!A[w]),I}function oU(f,h,R){let A={};for(let $ of f){let w={};for(let U of $.ast.list.filter(h))w[R(U)]=!0;for(let U of Object.keys(w))if(A[U])A[U]++;else A[U]=1}let P="",I=0;for(let $ of Object.entries(A))if($[1]>I)P=$[0],I=$[1];return P}function wS(f,h){let R=[],A=[];for(let P of f)if(h(P))R.push(P);else A.push(P);return{matches:R,rest:A}}function US(f,h){let R=[],A=[];for(let P of f)if(h(P))R.push(P);else A.push(P);return{matches:R,rest:A}}class Z1{constructor(f){this.f=f}pickAll(f){return this.f(f)}pick1(f,h=!1){let R=this.f(f),A=R.length;if(A===0)return null;if(A===1)return R[0].value;let P=h?HS:FS,I=R[0];for(let $=1;$<A;$++){let w=R[$];if(P(I,w))I=w}return I.value}}function HS(f,h){let R=V1(h.specificity,f.specificity);return R>0||R===0&&h.index<f.index}function FS(f,h){let R=V1(h.specificity,f.specificity);return R>0||R===0&&h.index>f.index}function z1(f){return new Z1(vh(f))}function vh(f){let h=f.map(ES);return(R,...A)=>h.flatMap((P)=>P(R,...A))}function ES(f){switch(f.type){case"terminal":{let h=[f.valueContainer];return(R,...A)=>h}case"tagName":return NS(f);case"attrValue":return SS(f);case"attrPresence":return GS(f);case"pushElement":return WS(f);case"popElement":return DS(f)}}function NS(f){let h={};for(let R of f.variants)h[R.value]=vh(R.cont);return(R,...A)=>{let P=h[R.name];return P?P(R,...A):[]}}function GS(f){let h=f.name,R=vh(f.cont);return(A,...P)=>Object.prototype.hasOwnProperty.call(A.attribs,h)?R(A,...P):[]}function SS(f){let h=[];for(let A of f.matchers){let P=A.predicate,I=vh(A.cont);h.push(($,w,...U)=>P($)?I(w,...U):[])}let R=f.name;return(A,...P)=>{let I=A.attribs[R];return I||I===""?h.flatMap(($)=>$(I,A,...P)):[]}}function WS(f){let h=vh(f.cont),R=f.combinator==="+"?nU:YS;return(A,...P)=>{let I=R(A);if(I===null)return[];return h(I,A,...P)}}var nU=(f)=>{let h=f.prev;if(h===null)return null;return dA(h)?h:nU(h)},YS=(f)=>{let h=f.parent;return h&&dA(h)?h:null};function DS(f){let h=vh(f.cont);return(R,A,...P)=>h(A,...P)}var eA=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\uD835\uDD04rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\uD835\uDD38plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\uD835\uDC9Cign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\uD835\uDD05pf;\uC000\uD835\uDD39eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\uD835\uDC9Ep\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\uD835\uDD07\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\uD835\uDD3B\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\uD835\uDC9Frok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\uD835\uDD08rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\uD835\uDD3Csilon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\uD835\uDD09lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\uD835\uDD3DAll;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\uD835\uDD0A;\u62D9pf;\uC000\uD835\uDD3Eeater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\uD835\uDCA2;\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\uD835\uDD40a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\uD835\uDD0Dpf;\uC000\uD835\uDD41\u01E3\u07C7\0\u07CCr;\uC000\uD835\uDCA5rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\uD835\uDD0Epf;\uC000\uD835\uDD42cr;\uC000\uD835\uDCA6\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\uD835\uDD0F\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\uD835\uDD43er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\uD835\uDD10nusPlus;\u6213pf;\uC000\uD835\uDD44c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\uD835\uDD11\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\uD835\uDCA9ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\uD835\uDD12rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\uD835\uDD46enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\uD835\uDCAAash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\uD835\uDD13i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\uD835\uDCAB;\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\uD835\uDD14pf;\u611Acr;\uC000\uD835\uDCAC\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\uD835\uDD16ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\uD835\uDD4A\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\uD835\uDCAEar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\uD835\uDD17\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\uD835\uDD4BipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\uD835\uDCAFrok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\uD835\uDD18rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\uD835\uDD4C\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\uD835\uDCB0ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\uD835\uDD19pf;\uC000\uD835\uDD4Dcr;\uC000\uD835\uDCB1dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\uD835\uDD1Apf;\uC000\uD835\uDD4Ecr;\uC000\uD835\uDCB2\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\uD835\uDD1B;\u439Epf;\uC000\uD835\uDD4Fcr;\uC000\uD835\uDCB3\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\uD835\uDD1Cpf;\uC000\uD835\uDD50cr;\uC000\uD835\uDCB4ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\uD835\uDCB5\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\uD835\uDD1Erave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\uD835\uDD52\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\uD835\uDCB6;\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\uD835\uDD1Fg\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\uD835\uDD53\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\uD835\uDCB7mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\uD835\uDD20\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\uD835\uDD54o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\uD835\uDCB8\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\uD835\uDD21ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\uD835\uDD55\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\uD835\uDCB9;\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\uD835\uDD22\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\uD835\uDD56\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\uD835\uDD23lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\uD835\uDD57\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\uD835\uDCBB\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\uD835\uDD24\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\uD835\uDD58\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\uD835\uDD25s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\uD835\uDD59bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\uD835\uDCBDas\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\uD835\uDD26rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\uD835\uDD5Aa;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\uD835\uDCBEn\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\uD835\uDD27ath;\u4237pf;\uC000\uD835\uDD5B\u01E3\u23EC\0\u23F1r;\uC000\uD835\uDCBFrcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\uD835\uDD28reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\uD835\uDD5Ccr;\uC000\uD835\uDCC0\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\uD835\uDD29\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\uD835\uDD5Dus;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\uD835\uDCC1m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\uD835\uDD2Ao;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\uD835\uDD5E\u0100ct\u28F8\u28FDr;\uC000\uD835\uDCC2pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\uD835\uDD2B\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\uD835\uDD5F\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\uD835\uDCC3ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\uD835\uDD2C\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\uD835\uDD60\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\uD835\uDD2D\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\uD835\uDD61nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\uD835\uDCC5;\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\uD835\uDD2Epf;\uC000\uD835\uDD62rime;\u6057cr;\uC000\uD835\uDCC6\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\uD835\uDD2F\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\uD835\uDD63us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\uD835\uDCC7\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\uD835\uDD30\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\uD835\uDD64a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\uD835\uDCC8tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\uD835\uDD31\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\uD835\uDD65rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\uD835\uDCC9;\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\uD835\uDD32rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\uD835\uDD66\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\uD835\uDCCA\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\uD835\uDD33tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\uD835\uDD67ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\uD835\uDCCB\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\uD835\uDD34pf;\uC000\uD835\uDD68\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\uD835\uDCCC\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\uD835\uDD35\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\uD835\uDD69im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\uD835\uDCCD\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\uD835\uDD36cy;\u4457pf;\uC000\uD835\uDD6Acr;\uC000\uD835\uDCCE\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\uD835\uDD37cy;\u4436grarr;\u61DDpf;\uC000\uD835\uDD6Bcr;\uC000\uD835\uDCCF\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map((f)=>f.charCodeAt(0)));var oA=new Uint16Array("\u0200aglq\t\x15\x18\x1B\u026D\x0F\0\0\x12p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map((f)=>f.charCodeAt(0)));var J1,MS=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),jh=(J1=String.fromCodePoint)!==null&&J1!==void 0?J1:function(f){let h="";if(f>65535)f-=65536,h+=String.fromCharCode(f>>>10&1023|55296),f=56320|f&1023;return h+=String.fromCharCode(f),h};function GR(f){var h;if(f>=55296&&f<=57343||f>1114111)return 65533;return(h=MS.get(f))!==null&&h!==void 0?h:f}var n;(function(f){f[f.NUM=35]="NUM",f[f.SEMI=59]="SEMI",f[f.EQUALS=61]="EQUALS",f[f.ZERO=48]="ZERO",f[f.NINE=57]="NINE",f[f.LOWER_A=97]="LOWER_A",f[f.LOWER_F=102]="LOWER_F",f[f.LOWER_X=120]="LOWER_X",f[f.LOWER_Z=122]="LOWER_Z",f[f.UPPER_A=65]="UPPER_A",f[f.UPPER_F=70]="UPPER_F",f[f.UPPER_Z=90]="UPPER_Z"})(n||(n={}));var VS=32,Yf;(function(f){f[f.VALUE_LENGTH=49152]="VALUE_LENGTH",f[f.BRANCH_LENGTH=16256]="BRANCH_LENGTH",f[f.JUMP_TABLE=127]="JUMP_TABLE"})(Yf||(Yf={}));function L1(f){return f>=n.ZERO&&f<=n.NINE}function XS(f){return f>=n.UPPER_A&&f<=n.UPPER_F||f>=n.LOWER_A&&f<=n.LOWER_F}function ZS(f){return f>=n.UPPER_A&&f<=n.UPPER_Z||f>=n.LOWER_A&&f<=n.LOWER_Z||L1(f)}function zS(f){return f===n.EQUALS||ZS(f)}var o;(function(f){f[f.EntityStart=0]="EntityStart",f[f.NumericStart=1]="NumericStart",f[f.NumericDecimal=2]="NumericDecimal",f[f.NumericHex=3]="NumericHex",f[f.NamedEntity=4]="NamedEntity"})(o||(o={}));var Hh;(function(f){f[f.Legacy=0]="Legacy",f[f.Strict=1]="Strict",f[f.Attribute=2]="Attribute"})(Hh||(Hh={}));class uU{constructor(f,h,R){this.decodeTree=f,this.emitCodePoint=h,this.errors=R,this.state=o.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Hh.Strict}startEntity(f){this.decodeMode=f,this.state=o.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(f,h){switch(this.state){case o.EntityStart:{if(f.charCodeAt(h)===n.NUM)return this.state=o.NumericStart,this.consumed+=1,this.stateNumericStart(f,h+1);return this.state=o.NamedEntity,this.stateNamedEntity(f,h)}case o.NumericStart:return this.stateNumericStart(f,h);case o.NumericDecimal:return this.stateNumericDecimal(f,h);case o.NumericHex:return this.stateNumericHex(f,h);case o.NamedEntity:return this.stateNamedEntity(f,h)}}stateNumericStart(f,h){if(h>=f.length)return-1;if((f.charCodeAt(h)|VS)===n.LOWER_X)return this.state=o.NumericHex,this.consumed+=1,this.stateNumericHex(f,h+1);return this.state=o.NumericDecimal,this.stateNumericDecimal(f,h)}addToNumericResult(f,h,R,A){if(h!==R){let P=R-h;this.result=this.result*Math.pow(A,P)+parseInt(f.substr(h,P),A),this.consumed+=P}}stateNumericHex(f,h){let R=h;while(h<f.length){let A=f.charCodeAt(h);if(L1(A)||XS(A))h+=1;else return this.addToNumericResult(f,R,h,16),this.emitNumericEntity(A,3)}return this.addToNumericResult(f,R,h,16),-1}stateNumericDecimal(f,h){let R=h;while(h<f.length){let A=f.charCodeAt(h);if(L1(A))h+=1;else return this.addToNumericResult(f,R,h,10),this.emitNumericEntity(A,2)}return this.addToNumericResult(f,R,h,10),-1}emitNumericEntity(f,h){var R;if(this.consumed<=h)return(R=this.errors)===null||R===void 0||R.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(f===n.SEMI)this.consumed+=1;else if(this.decodeMode===Hh.Strict)return 0;if(this.emitCodePoint(GR(this.result),this.consumed),this.errors){if(f!==n.SEMI)this.errors.missingSemicolonAfterCharacterReference();this.errors.validateNumericCharacterReference(this.result)}return this.consumed}stateNamedEntity(f,h){let{decodeTree:R}=this,A=R[this.treeIndex],P=(A&Yf.VALUE_LENGTH)>>14;for(;h<f.length;h++,this.excess++){let I=f.charCodeAt(h);if(this.treeIndex=Q1(R,A,this.treeIndex+Math.max(1,P),I),this.treeIndex<0)return this.result===0||this.decodeMode===Hh.Attribute&&(P===0||zS(I))?0:this.emitNotTerminatedNamedEntity();if(A=R[this.treeIndex],P=(A&Yf.VALUE_LENGTH)>>14,P!==0){if(I===n.SEMI)return this.emitNamedEntityData(this.treeIndex,P,this.consumed+this.excess);if(this.decodeMode!==Hh.Strict)this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0}}return-1}emitNotTerminatedNamedEntity(){var f;let{result:h,decodeTree:R}=this,A=(R[h]&Yf.VALUE_LENGTH)>>14;return this.emitNamedEntityData(h,A,this.consumed),(f=this.errors)===null||f===void 0||f.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(f,h,R){let{decodeTree:A}=this;if(this.emitCodePoint(h===1?A[f]&~Yf.VALUE_LENGTH:A[f+1],R),h===3)this.emitCodePoint(A[f+2],R);return R}end(){var f;switch(this.state){case o.NamedEntity:return this.result!==0&&(this.decodeMode!==Hh.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case o.NumericDecimal:return this.emitNumericEntity(0,2);case o.NumericHex:return this.emitNumericEntity(0,3);case o.NumericStart:return(f=this.errors)===null||f===void 0||f.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case o.EntityStart:return 0}}}function tU(f){let h="",R=new uU(f,(A)=>h+=jh(A));return function A(P,I){let $=0,w=0;while((w=P.indexOf("&",w))>=0){h+=P.slice($,w),R.startEntity(I);let F=R.write(P,w+1);if(F<0){$=w+R.end();break}$=w+F,w=F===0?$+1:$}let U=h+P.slice($);return h="",U}}function Q1(f,h,R,A){let P=(h&Yf.BRANCH_LENGTH)>>7,I=h&Yf.JUMP_TABLE;if(P===0)return I!==0&&A===I?R:-1;if(I){let U=A-I;return U<0||U>=P?-1:f[R+U]-1}let $=R,w=$+P-1;while($<=w){let U=$+w>>>1,F=f[U];if(F<A)$=U+1;else if(F>A)w=U-1;else return f[U+P]}return-1}var dz=tU(eA),rz=tU(oA);var G;(function(f){f[f.Tab=9]="Tab",f[f.NewLine=10]="NewLine",f[f.FormFeed=12]="FormFeed",f[f.CarriageReturn=13]="CarriageReturn",f[f.Space=32]="Space",f[f.ExclamationMark=33]="ExclamationMark",f[f.Number=35]="Number",f[f.Amp=38]="Amp",f[f.SingleQuote=39]="SingleQuote",f[f.DoubleQuote=34]="DoubleQuote",f[f.Dash=45]="Dash",f[f.Slash=47]="Slash",f[f.Zero=48]="Zero",f[f.Nine=57]="Nine",f[f.Semi=59]="Semi",f[f.Lt=60]="Lt",f[f.Eq=61]="Eq",f[f.Gt=62]="Gt",f[f.Questionmark=63]="Questionmark",f[f.UpperA=65]="UpperA",f[f.LowerA=97]="LowerA",f[f.UpperF=70]="UpperF",f[f.LowerF=102]="LowerF",f[f.UpperZ=90]="UpperZ",f[f.LowerZ=122]="LowerZ",f[f.LowerX=120]="LowerX",f[f.OpeningSquareBracket=91]="OpeningSquareBracket"})(G||(G={}));var E;(function(f){f[f.Text=1]="Text",f[f.BeforeTagName=2]="BeforeTagName",f[f.InTagName=3]="InTagName",f[f.InSelfClosingTag=4]="InSelfClosingTag",f[f.BeforeClosingTagName=5]="BeforeClosingTagName",f[f.InClosingTagName=6]="InClosingTagName",f[f.AfterClosingTagName=7]="AfterClosingTagName",f[f.BeforeAttributeName=8]="BeforeAttributeName",f[f.InAttributeName=9]="InAttributeName",f[f.AfterAttributeName=10]="AfterAttributeName",f[f.BeforeAttributeValue=11]="BeforeAttributeValue",f[f.InAttributeValueDq=12]="InAttributeValueDq",f[f.InAttributeValueSq=13]="InAttributeValueSq",f[f.InAttributeValueNq=14]="InAttributeValueNq",f[f.BeforeDeclaration=15]="BeforeDeclaration",f[f.InDeclaration=16]="InDeclaration",f[f.InProcessingInstruction=17]="InProcessingInstruction",f[f.BeforeComment=18]="BeforeComment",f[f.CDATASequence=19]="CDATASequence",f[f.InSpecialComment=20]="InSpecialComment",f[f.InCommentLike=21]="InCommentLike",f[f.BeforeSpecialS=22]="BeforeSpecialS",f[f.SpecialStartSequence=23]="SpecialStartSequence",f[f.InSpecialTag=24]="InSpecialTag",f[f.BeforeEntity=25]="BeforeEntity",f[f.BeforeNumericEntity=26]="BeforeNumericEntity",f[f.InNamedEntity=27]="InNamedEntity",f[f.InNumericEntity=28]="InNumericEntity",f[f.InHexEntity=29]="InHexEntity"})(E||(E={}));function mf(f){return f===G.Space||f===G.NewLine||f===G.Tab||f===G.FormFeed||f===G.CarriageReturn}function nA(f){return f===G.Slash||f===G.Gt||mf(f)}function fH(f){return f>=G.Zero&&f<=G.Nine}function JS(f){return f>=G.LowerA&&f<=G.LowerZ||f>=G.UpperA&&f<=G.UpperZ}function LS(f){return f>=G.UpperA&&f<=G.UpperF||f>=G.LowerA&&f<=G.LowerF}var Lf;(function(f){f[f.NoValue=0]="NoValue",f[f.Unquoted=1]="Unquoted",f[f.Single=2]="Single",f[f.Double=3]="Double"})(Lf||(Lf={}));var Nf={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])};class uA{constructor({xmlMode:f=!1,decodeEntities:h=!0},R){this.cbs=R,this.state=E.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=E.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=f,this.decodeEntities=h,this.entityTrie=f?oA:eA}reset(){this.state=E.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=E.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(f){this.offset+=this.buffer.length,this.buffer=f,this.parse()}end(){if(this.running)this.finish()}pause(){this.running=!1}resume(){if(this.running=!0,this.index<this.buffer.length+this.offset)this.parse()}getIndex(){return this.index}getSectionStart(){return this.sectionStart}stateText(f){if(f===G.Lt||!this.decodeEntities&&this.fastForwardTo(G.Lt)){if(this.index>this.sectionStart)this.cbs.ontext(this.sectionStart,this.index);this.state=E.BeforeTagName,this.sectionStart=this.index}else if(this.decodeEntities&&f===G.Amp)this.state=E.BeforeEntity}stateSpecialStartSequence(f){let h=this.sequenceIndex===this.currentSequence.length;if(!(h?nA(f):(f|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!h){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=E.InTagName,this.stateInTagName(f)}stateInSpecialTag(f){if(this.sequenceIndex===this.currentSequence.length){if(f===G.Gt||mf(f)){let h=this.index-this.currentSequence.length;if(this.sectionStart<h){let R=this.index;this.index=h,this.cbs.ontext(this.sectionStart,h),this.index=R}this.isSpecial=!1,this.sectionStart=h+2,this.stateInClosingTagName(f);return}this.sequenceIndex=0}if((f|32)===this.currentSequence[this.sequenceIndex])this.sequenceIndex+=1;else if(this.sequenceIndex===0){if(this.currentSequence===Nf.TitleEnd){if(this.decodeEntities&&f===G.Amp)this.state=E.BeforeEntity}else if(this.fastForwardTo(G.Lt))this.sequenceIndex=1}else this.sequenceIndex=Number(f===G.Lt)}stateCDATASequence(f){if(f===Nf.Cdata[this.sequenceIndex]){if(++this.sequenceIndex===Nf.Cdata.length)this.state=E.InCommentLike,this.currentSequence=Nf.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1}else this.sequenceIndex=0,this.state=E.InDeclaration,this.stateInDeclaration(f)}fastForwardTo(f){while(++this.index<this.buffer.length+this.offset)if(this.buffer.charCodeAt(this.index-this.offset)===f)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(f){if(f===this.currentSequence[this.sequenceIndex]){if(++this.sequenceIndex===this.currentSequence.length){if(this.currentSequence===Nf.CdataEnd)this.cbs.oncdata(this.sectionStart,this.index,2);else this.cbs.oncomment(this.sectionStart,this.index,2);this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=E.Text}}else if(this.sequenceIndex===0){if(this.fastForwardTo(this.currentSequence[0]))this.sequenceIndex=1}else if(f!==this.currentSequence[this.sequenceIndex-1])this.sequenceIndex=0}isTagStartChar(f){return this.xmlMode?!nA(f):JS(f)}startSpecial(f,h){this.isSpecial=!0,this.currentSequence=f,this.sequenceIndex=h,this.state=E.SpecialStartSequence}stateBeforeTagName(f){if(f===G.ExclamationMark)this.state=E.BeforeDeclaration,this.sectionStart=this.index+1;else if(f===G.Questionmark)this.state=E.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(f)){let h=f|32;if(this.sectionStart=this.index,!this.xmlMode&&h===Nf.TitleEnd[2])this.startSpecial(Nf.TitleEnd,3);else this.state=!this.xmlMode&&h===Nf.ScriptEnd[2]?E.BeforeSpecialS:E.InTagName}else if(f===G.Slash)this.state=E.BeforeClosingTagName;else this.state=E.Text,this.stateText(f)}stateInTagName(f){if(nA(f))this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=E.BeforeAttributeName,this.stateBeforeAttributeName(f)}stateBeforeClosingTagName(f){if(mf(f));else if(f===G.Gt)this.state=E.Text;else this.state=this.isTagStartChar(f)?E.InClosingTagName:E.InSpecialComment,this.sectionStart=this.index}stateInClosingTagName(f){if(f===G.Gt||mf(f))this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=E.AfterClosingTagName,this.stateAfterClosingTagName(f)}stateAfterClosingTagName(f){if(f===G.Gt||this.fastForwardTo(G.Gt))this.state=E.Text,this.baseState=E.Text,this.sectionStart=this.index+1}stateBeforeAttributeName(f){if(f===G.Gt){if(this.cbs.onopentagend(this.index),this.isSpecial)this.state=E.InSpecialTag,this.sequenceIndex=0;else this.state=E.Text;this.baseState=this.state,this.sectionStart=this.index+1}else if(f===G.Slash)this.state=E.InSelfClosingTag;else if(!mf(f))this.state=E.InAttributeName,this.sectionStart=this.index}stateInSelfClosingTag(f){if(f===G.Gt)this.cbs.onselfclosingtag(this.index),this.state=E.Text,this.baseState=E.Text,this.sectionStart=this.index+1,this.isSpecial=!1;else if(!mf(f))this.state=E.BeforeAttributeName,this.stateBeforeAttributeName(f)}stateInAttributeName(f){if(f===G.Eq||nA(f))this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=E.AfterAttributeName,this.stateAfterAttributeName(f)}stateAfterAttributeName(f){if(f===G.Eq)this.state=E.BeforeAttributeValue;else if(f===G.Slash||f===G.Gt)this.cbs.onattribend(Lf.NoValue,this.index),this.state=E.BeforeAttributeName,this.stateBeforeAttributeName(f);else if(!mf(f))this.cbs.onattribend(Lf.NoValue,this.index),this.state=E.InAttributeName,this.sectionStart=this.index}stateBeforeAttributeValue(f){if(f===G.DoubleQuote)this.state=E.InAttributeValueDq,this.sectionStart=this.index+1;else if(f===G.SingleQuote)this.state=E.InAttributeValueSq,this.sectionStart=this.index+1;else if(!mf(f))this.sectionStart=this.index,this.state=E.InAttributeValueNq,this.stateInAttributeValueNoQuotes(f)}handleInAttributeValue(f,h){if(f===h||!this.decodeEntities&&this.fastForwardTo(h))this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(h===G.DoubleQuote?Lf.Double:Lf.Single,this.index),this.state=E.BeforeAttributeName;else if(this.decodeEntities&&f===G.Amp)this.baseState=this.state,this.state=E.BeforeEntity}stateInAttributeValueDoubleQuotes(f){this.handleInAttributeValue(f,G.DoubleQuote)}stateInAttributeValueSingleQuotes(f){this.handleInAttributeValue(f,G.SingleQuote)}stateInAttributeValueNoQuotes(f){if(mf(f)||f===G.Gt)this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(Lf.Unquoted,this.index),this.state=E.BeforeAttributeName,this.stateBeforeAttributeName(f);else if(this.decodeEntities&&f===G.Amp)this.baseState=this.state,this.state=E.BeforeEntity}stateBeforeDeclaration(f){if(f===G.OpeningSquareBracket)this.state=E.CDATASequence,this.sequenceIndex=0;else this.state=f===G.Dash?E.BeforeComment:E.InDeclaration}stateInDeclaration(f){if(f===G.Gt||this.fastForwardTo(G.Gt))this.cbs.ondeclaration(this.sectionStart,this.index),this.state=E.Text,this.sectionStart=this.index+1}stateInProcessingInstruction(f){if(f===G.Gt||this.fastForwardTo(G.Gt))this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=E.Text,this.sectionStart=this.index+1}stateBeforeComment(f){if(f===G.Dash)this.state=E.InCommentLike,this.currentSequence=Nf.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1;else this.state=E.InDeclaration}stateInSpecialComment(f){if(f===G.Gt||this.fastForwardTo(G.Gt))this.cbs.oncomment(this.sectionStart,this.index,0),this.state=E.Text,this.sectionStart=this.index+1}stateBeforeSpecialS(f){let h=f|32;if(h===Nf.ScriptEnd[3])this.startSpecial(Nf.ScriptEnd,4);else if(h===Nf.StyleEnd[3])this.startSpecial(Nf.StyleEnd,4);else this.state=E.InTagName,this.stateInTagName(f)}stateBeforeEntity(f){if(this.entityExcess=1,this.entityResult=0,f===G.Number)this.state=E.BeforeNumericEntity;else if(f===G.Amp);else this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=E.InNamedEntity,this.stateInNamedEntity(f)}stateInNamedEntity(f){if(this.entityExcess+=1,this.trieIndex=Q1(this.entityTrie,this.trieCurrent,this.trieIndex+1,f),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];let h=this.trieCurrent&Yf.VALUE_LENGTH;if(h){let R=(h>>14)-1;if(!this.allowLegacyEntity()&&f!==G.Semi)this.trieIndex+=R;else{let A=this.index-this.entityExcess+1;if(A>this.sectionStart)this.emitPartial(this.sectionStart,A);if(this.entityResult=this.trieIndex,this.trieIndex+=R,this.entityExcess=0,this.sectionStart=this.index+1,R===0)this.emitNamedEntity()}}}emitNamedEntity(){if(this.state=this.baseState,this.entityResult===0)return;switch((this.entityTrie[this.entityResult]&Yf.VALUE_LENGTH)>>14){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~Yf.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}stateBeforeNumericEntity(f){if((f|32)===G.LowerX)this.entityExcess++,this.state=E.InHexEntity;else this.state=E.InNumericEntity,this.stateInNumericEntity(f)}emitNumericEntity(f){let h=this.index-this.entityExcess-1;if(h+2+Number(this.state===E.InHexEntity)!==this.index){if(h>this.sectionStart)this.emitPartial(this.sectionStart,h);this.sectionStart=this.index+Number(f),this.emitCodePoint(GR(this.entityResult))}this.state=this.baseState}stateInNumericEntity(f){if(f===G.Semi)this.emitNumericEntity(!0);else if(fH(f))this.entityResult=this.entityResult*10+(f-G.Zero),this.entityExcess++;else{if(this.allowLegacyEntity())this.emitNumericEntity(!1);else this.state=this.baseState;this.index--}}stateInHexEntity(f){if(f===G.Semi)this.emitNumericEntity(!0);else if(fH(f))this.entityResult=this.entityResult*16+(f-G.Zero),this.entityExcess++;else if(LS(f))this.entityResult=this.entityResult*16+((f|32)-G.LowerA+10),this.entityExcess++;else{if(this.allowLegacyEntity())this.emitNumericEntity(!1);else this.state=this.baseState;this.index--}}allowLegacyEntity(){return!this.xmlMode&&(this.baseState===E.Text||this.baseState===E.InSpecialTag)}cleanup(){if(this.running&&this.sectionStart!==this.index){if(this.state===E.Text||this.state===E.InSpecialTag&&this.sequenceIndex===0)this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index;else if(this.state===E.InAttributeValueDq||this.state===E.InAttributeValueSq||this.state===E.InAttributeValueNq)this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index}}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){while(this.shouldContinue()){let f=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case E.Text:{this.stateText(f);break}case E.SpecialStartSequence:{this.stateSpecialStartSequence(f);break}case E.InSpecialTag:{this.stateInSpecialTag(f);break}case E.CDATASequence:{this.stateCDATASequence(f);break}case E.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(f);break}case E.InAttributeName:{this.stateInAttributeName(f);break}case E.InCommentLike:{this.stateInCommentLike(f);break}case E.InSpecialComment:{this.stateInSpecialComment(f);break}case E.BeforeAttributeName:{this.stateBeforeAttributeName(f);break}case E.InTagName:{this.stateInTagName(f);break}case E.InClosingTagName:{this.stateInClosingTagName(f);break}case E.BeforeTagName:{this.stateBeforeTagName(f);break}case E.AfterAttributeName:{this.stateAfterAttributeName(f);break}case E.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(f);break}case E.BeforeAttributeValue:{this.stateBeforeAttributeValue(f);break}case E.BeforeClosingTagName:{this.stateBeforeClosingTagName(f);break}case E.AfterClosingTagName:{this.stateAfterClosingTagName(f);break}case E.BeforeSpecialS:{this.stateBeforeSpecialS(f);break}case E.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(f);break}case E.InSelfClosingTag:{this.stateInSelfClosingTag(f);break}case E.InDeclaration:{this.stateInDeclaration(f);break}case E.BeforeDeclaration:{this.stateBeforeDeclaration(f);break}case E.BeforeComment:{this.stateBeforeComment(f);break}case E.InProcessingInstruction:{this.stateInProcessingInstruction(f);break}case E.InNamedEntity:{this.stateInNamedEntity(f);break}case E.BeforeEntity:{this.stateBeforeEntity(f);break}case E.InHexEntity:{this.stateInHexEntity(f);break}case E.InNumericEntity:{this.stateInNumericEntity(f);break}default:this.stateBeforeNumericEntity(f)}this.index++}this.cleanup()}finish(){if(this.state===E.InNamedEntity)this.emitNamedEntity();if(this.sectionStart<this.index)this.handleTrailingData();this.cbs.onend()}handleTrailingData(){let f=this.buffer.length+this.offset;if(this.state===E.InCommentLike)if(this.currentSequence===Nf.CdataEnd)this.cbs.oncdata(this.sectionStart,f,0);else this.cbs.oncomment(this.sectionStart,f,0);else if(this.state===E.InNumericEntity&&this.allowLegacyEntity())this.emitNumericEntity(!1);else if(this.state===E.InHexEntity&&this.allowLegacyEntity())this.emitNumericEntity(!1);else if(this.state===E.InTagName||this.state===E.BeforeAttributeName||this.state===E.BeforeAttributeValue||this.state===E.AfterAttributeName||this.state===E.InAttributeName||this.state===E.InAttributeValueSq||this.state===E.InAttributeValueDq||this.state===E.InAttributeValueNq||this.state===E.InClosingTagName);else this.cbs.ontext(this.sectionStart,f)}emitPartial(f,h){if(this.baseState!==E.Text&&this.baseState!==E.InSpecialTag)this.cbs.onattribdata(f,h);else this.cbs.ontext(f,h)}emitCodePoint(f){if(this.baseState!==E.Text&&this.baseState!==E.InSpecialTag)this.cbs.onattribentity(f);else this.cbs.ontextentity(f)}}var mh=new Set(["input","option","optgroup","select","button","datalist","textarea"]),v=new Set(["p"]),hH=new Set(["thead","tbody"]),RH=new Set(["dd","dt"]),AH=new Set(["rt","rp"]),QS=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",v],["h1",v],["h2",v],["h3",v],["h4",v],["h5",v],["h6",v],["select",mh],["input",mh],["output",mh],["button",mh],["datalist",mh],["textarea",mh],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",RH],["dt",RH],["address",v],["article",v],["aside",v],["blockquote",v],["details",v],["div",v],["dl",v],["fieldset",v],["figcaption",v],["figure",v],["footer",v],["form",v],["header",v],["hr",v],["main",v],["nav",v],["ol",v],["pre",v],["section",v],["table",v],["ul",v],["rt",AH],["rp",AH],["tbody",hH],["tfoot",hH]]),gS=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),PH=new Set(["math","svg"]),IH=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),qS=/\s|\//;class g1{constructor(f,h={}){var R,A,P,I,$;this.options=h,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=f!==null&&f!==void 0?f:{},this.lowerCaseTagNames=(R=h.lowerCaseTags)!==null&&R!==void 0?R:!h.xmlMode,this.lowerCaseAttributeNames=(A=h.lowerCaseAttributeNames)!==null&&A!==void 0?A:!h.xmlMode,this.tokenizer=new((P=h.Tokenizer)!==null&&P!==void 0?P:uA)(this.options,this),($=(I=this.cbs).onparserinit)===null||$===void 0||$.call(I,this)}ontext(f,h){var R,A;let P=this.getSlice(f,h);this.endIndex=h-1,(A=(R=this.cbs).ontext)===null||A===void 0||A.call(R,P),this.startIndex=h}ontextentity(f){var h,R;let A=this.tokenizer.getSectionStart();this.endIndex=A-1,(R=(h=this.cbs).ontext)===null||R===void 0||R.call(h,jh(f)),this.startIndex=A}isVoidElement(f){return!this.options.xmlMode&&gS.has(f)}onopentagname(f,h){this.endIndex=h;let R=this.getSlice(f,h);if(this.lowerCaseTagNames)R=R.toLowerCase();this.emitOpenTag(R)}emitOpenTag(f){var h,R,A,P;this.openTagStart=this.startIndex,this.tagname=f;let I=!this.options.xmlMode&&QS.get(f);if(I)while(this.stack.length>0&&I.has(this.stack[this.stack.length-1])){let $=this.stack.pop();(R=(h=this.cbs).onclosetag)===null||R===void 0||R.call(h,$,!0)}if(!this.isVoidElement(f)){if(this.stack.push(f),PH.has(f))this.foreignContext.push(!0);else if(IH.has(f))this.foreignContext.push(!1)}if((P=(A=this.cbs).onopentagname)===null||P===void 0||P.call(A,f),this.cbs.onopentag)this.attribs={}}endOpenTag(f){var h,R;if(this.startIndex=this.openTagStart,this.attribs)(R=(h=this.cbs).onopentag)===null||R===void 0||R.call(h,this.tagname,this.attribs,f),this.attribs=null;if(this.cbs.onclosetag&&this.isVoidElement(this.tagname))this.cbs.onclosetag(this.tagname,!0);this.tagname=""}onopentagend(f){this.endIndex=f,this.endOpenTag(!1),this.startIndex=f+1}onclosetag(f,h){var R,A,P,I,$,w;this.endIndex=h;let U=this.getSlice(f,h);if(this.lowerCaseTagNames)U=U.toLowerCase();if(PH.has(U)||IH.has(U))this.foreignContext.pop();if(!this.isVoidElement(U)){let F=this.stack.lastIndexOf(U);if(F!==-1)if(this.cbs.onclosetag){let N=this.stack.length-F;while(N--)this.cbs.onclosetag(this.stack.pop(),N!==0)}else this.stack.length=F;else if(!this.options.xmlMode&&U==="p")this.emitOpenTag("p"),this.closeCurrentTag(!0)}else if(!this.options.xmlMode&&U==="br")(A=(R=this.cbs).onopentagname)===null||A===void 0||A.call(R,"br"),(I=(P=this.cbs).onopentag)===null||I===void 0||I.call(P,"br",{},!0),(w=($=this.cbs).onclosetag)===null||w===void 0||w.call($,"br",!1);this.startIndex=h+1}onselfclosingtag(f){if(this.endIndex=f,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1])this.closeCurrentTag(!1),this.startIndex=f+1;else this.onopentagend(f)}closeCurrentTag(f){var h,R;let A=this.tagname;if(this.endOpenTag(f),this.stack[this.stack.length-1]===A)(R=(h=this.cbs).onclosetag)===null||R===void 0||R.call(h,A,!f),this.stack.pop()}onattribname(f,h){this.startIndex=f;let R=this.getSlice(f,h);this.attribname=this.lowerCaseAttributeNames?R.toLowerCase():R}onattribdata(f,h){this.attribvalue+=this.getSlice(f,h)}onattribentity(f){this.attribvalue+=jh(f)}onattribend(f,h){var R,A;if(this.endIndex=h,(A=(R=this.cbs).onattribute)===null||A===void 0||A.call(R,this.attribname,this.attribvalue,f===Lf.Double?'"':f===Lf.Single?"'":f===Lf.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname))this.attribs[this.attribname]=this.attribvalue;this.attribvalue=""}getInstructionName(f){let h=f.search(qS),R=h<0?f:f.substr(0,h);if(this.lowerCaseTagNames)R=R.toLowerCase();return R}ondeclaration(f,h){this.endIndex=h;let R=this.getSlice(f,h);if(this.cbs.onprocessinginstruction){let A=this.getInstructionName(R);this.cbs.onprocessinginstruction(`!${A}`,`!${R}`)}this.startIndex=h+1}onprocessinginstruction(f,h){this.endIndex=h;let R=this.getSlice(f,h);if(this.cbs.onprocessinginstruction){let A=this.getInstructionName(R);this.cbs.onprocessinginstruction(`?${A}`,`?${R}`)}this.startIndex=h+1}oncomment(f,h,R){var A,P,I,$;this.endIndex=h,(P=(A=this.cbs).oncomment)===null||P===void 0||P.call(A,this.getSlice(f,h-R)),($=(I=this.cbs).oncommentend)===null||$===void 0||$.call(I),this.startIndex=h+1}oncdata(f,h,R){var A,P,I,$,w,U,F,N,W,V;this.endIndex=h;let S=this.getSlice(f,h-R);if(this.options.xmlMode||this.options.recognizeCDATA)(P=(A=this.cbs).oncdatastart)===null||P===void 0||P.call(A),($=(I=this.cbs).ontext)===null||$===void 0||$.call(I,S),(U=(w=this.cbs).oncdataend)===null||U===void 0||U.call(w);else(N=(F=this.cbs).oncomment)===null||N===void 0||N.call(F,`[CDATA[${S}]]`),(V=(W=this.cbs).oncommentend)===null||V===void 0||V.call(W);this.startIndex=h+1}onend(){var f,h;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let R=this.stack.length;R>0;this.cbs.onclosetag(this.stack[--R],!0));}(h=(f=this.cbs).onend)===null||h===void 0||h.call(f)}reset(){var f,h,R,A;(h=(f=this.cbs).onreset)===null||h===void 0||h.call(f),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(A=(R=this.cbs).onparserinit)===null||A===void 0||A.call(R,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(f){this.reset(),this.end(f)}getSlice(f,h){while(f-this.bufferOffset>=this.buffers[0].length)this.shiftBuffer();let R=this.buffers[0].slice(f-this.bufferOffset,h-this.bufferOffset);while(h-this.bufferOffset>this.buffers[0].length)this.shiftBuffer(),R+=this.buffers[0].slice(0,h-this.bufferOffset);return R}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(f){var h,R;if(this.ended){(R=(h=this.cbs).onerror)===null||R===void 0||R.call(h,new Error(".write() after done!"));return}if(this.buffers.push(f),this.tokenizer.running)this.tokenizer.write(f),this.writeIndex++}end(f){var h,R;if(this.ended){(R=(h=this.cbs).onerror)===null||R===void 0||R.call(h,new Error(".end() after done!"));return}if(f)this.write(f);this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){this.tokenizer.resume();while(this.tokenizer.running&&this.writeIndex<this.buffers.length)this.tokenizer.write(this.buffers[this.writeIndex++]);if(this.ended)this.tokenizer.end()}parseChunk(f){this.write(f)}done(f){this.end(f)}}var $H=/["&'<>$\x80-\uFFFF]/g,wH=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),yS=String.prototype.codePointAt!=null?(f,h)=>f.codePointAt(h):(f,h)=>(f.charCodeAt(h)&64512)===55296?(f.charCodeAt(h)-55296)*1024+f.charCodeAt(h+1)-56320+65536:f.charCodeAt(h);function tA(f){let h="",R=0,A;while((A=$H.exec(f))!==null){let P=A.index,I=f.charCodeAt(P),$=wH.get(I);if($!==void 0)h+=f.substring(R,P)+$,R=P+1;else h+=`${f.substring(R,P)}&#x${yS(f,P).toString(16)};`,R=$H.lastIndex+=Number((I&64512)===55296)}return h+f.substr(R)}function q1(f,h){return function R(A){let P,I=0,$="";while(P=f.exec(A)){if(I!==P.index)$+=A.substring(I,P.index);$+=h.get(P[0].charCodeAt(0)),I=P.index+1}return $+A.substring(I)}}var BS=q1(/[&<>'"]/g,wH),y1=q1(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),B1=q1(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var UH;(function(f){f[f.XML=0]="XML",f[f.HTML=1]="HTML"})(UH||(UH={}));var HH;(function(f){f[f.UTF8=0]="UTF8",f[f.ASCII=1]="ASCII",f[f.Extensive=2]="Extensive",f[f.Attribute=3]="Attribute",f[f.Text=4]="Text"})(HH||(HH={}));var FH=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((f)=>[f.toLowerCase(),f])),EH=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((f)=>[f.toLowerCase(),f]));var TS=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function KS(f){return f.replace(/"/g,""")}function vS(f,h){var R;if(!f)return;let A=((R=h.encodeEntities)!==null&&R!==void 0?R:h.decodeEntities)===!1?KS:h.xmlMode||h.encodeEntities!=="utf8"?tA:y1;return Object.keys(f).map((P)=>{var I,$;let w=(I=f[P])!==null&&I!==void 0?I:"";if(h.xmlMode==="foreign")P=($=EH.get(P))!==null&&$!==void 0?$:P;if(!h.emptyAttrs&&!h.xmlMode&&w==="")return P;return`${P}="${A(w)}"`}).join(" ")}var NH=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function SR(f,h={}){let R="length"in f?f:[f],A="";for(let P=0;P<R.length;P++)A+=jS(R[P],h);return A}function jS(f,h){switch(f.type){case MU:return SR(f.children,h);case gU:case XU:return CS(f);case ZU:return bS(f);case QU:return cS(f);case zU:case JU:case LU:return sS(f,h);case VU:return lS(f,h)}}var mS=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),OS=new Set(["svg","math"]);function sS(f,h){var R;if(h.xmlMode==="foreign"){if(f.name=(R=FH.get(f.name))!==null&&R!==void 0?R:f.name,f.parent&&mS.has(f.parent.name))h={...h,xmlMode:!1}}if(!h.xmlMode&&OS.has(f.name))h={...h,xmlMode:"foreign"};let A=`<${f.name}`,P=vS(f.attribs,h);if(P)A+=` ${P}`;if(f.children.length===0&&(h.xmlMode?h.selfClosingTags!==!1:h.selfClosingTags&&NH.has(f.name))){if(!h.xmlMode)A+=" ";A+="/>"}else{if(A+=">",f.children.length>0)A+=SR(f.children,h);if(h.xmlMode||!NH.has(f.name))A+=`</${f.name}>`}return A}function CS(f){return`<${f.data}>`}function lS(f,h){var R;let A=f.data||"";if(((R=h.encodeEntities)!==null&&R!==void 0?R:h.decodeEntities)!==!1&&!(!h.xmlMode&&f.parent&&TS.has(f.parent.name)))A=h.xmlMode||h.encodeEntities!=="utf8"?tA(A):B1(A);return A}function cS(f){return`<![CDATA[${f.children[0].data}]]>`}function bS(f){return`<!--${f.data}-->`}function GH(f,h){let R=new w1(void 0,h);return new g1(R,h).end(f),R.root}var s1=b(DH(),1);function C1(f,h,R=()=>{return}){if(f===void 0){let A=function(...P){return h(A,...P)};return A}if(f>=0)return function(...A){return h(C1(f-1,h,R),...A)};return R}function zH(f,h){let R=0,A=f.length;while(R<A&&f[R]===h)++R;while(A>R&&f[A-1]===h)--A;return R>0||A<f.length?f.substring(R,A):f}function f6(f,h){let R=f.length;while(R>0&&f[R-1]===h)--R;return R<f.length?f.substring(0,R):f}function h6(f){return f.replace(/[\s\S]/g,(h)=>"\\u"+h.charCodeAt().toString(16).padStart(4,"0"))}function JH(f,h){let R=new Map;for(let A=f.length;A-- >0;){let P=f[A],I=h(P);R.set(I,R.has(I)?s1.default(P,R.get(I),{arrayMerge:R6}):P)}return[...R.values()].reverse()}var R6=(f,h,R)=>[...h];function sh(f,h){for(let R of h){if(!f)return;f=f[R]}return f}function MH(f,h="a",R=26){let A=[];do f-=1,A.push(f%R),f=f/R>>0;while(f>0);let P=h.charCodeAt(0);return A.reverse().map((I)=>String.fromCharCode(P+I)).join("")}var T1=["I","X","C","M"],VH=["V","L","D"];function XH(f){return[...f+""].map((h)=>+h).reverse().map((h,R)=>h%5<4?(h<5?"":VH[R])+T1[R].repeat(h%5):T1[R]+(h<5?VH[R]:T1[R+1])).reverse().join("")}class l1{constructor(f,h=void 0){this.lines=[],this.nextLineWords=[],this.maxLineLength=h||f.wordwrap||Number.MAX_VALUE,this.nextLineAvailableChars=this.maxLineLength,this.wrapCharacters=sh(f,["longWordSplit","wrapCharacters"])||[],this.forceWrapOnLimit=sh(f,["longWordSplit","forceWrapOnLimit"])||!1,this.stashedSpace=!1,this.wordBreakOpportunity=!1}pushWord(f,h=!1){if(this.nextLineAvailableChars<=0&&!h)this.startNewLine();let R=this.nextLineWords.length===0,A=f.length+(R?0:1);if(A<=this.nextLineAvailableChars||h)this.nextLineWords.push(f),this.nextLineAvailableChars-=A;else{let[P,...I]=this.splitLongWord(f);if(!R)this.startNewLine();this.nextLineWords.push(P),this.nextLineAvailableChars-=P.length;for(let $ of I)this.startNewLine(),this.nextLineWords.push($),this.nextLineAvailableChars-=$.length}}popWord(){let f=this.nextLineWords.pop();if(f!==void 0){let h=this.nextLineWords.length===0,R=f.length+(h?0:1);this.nextLineAvailableChars+=R}return f}concatWord(f,h=!1){if(this.wordBreakOpportunity&&f.length>this.nextLineAvailableChars)this.pushWord(f,h),this.wordBreakOpportunity=!1;else{let R=this.popWord();this.pushWord(R?R.concat(f):f,h)}}startNewLine(f=1){if(this.lines.push(this.nextLineWords),f>1)this.lines.push(...Array.from({length:f-1},()=>[]));this.nextLineWords=[],this.nextLineAvailableChars=this.maxLineLength}isEmpty(){return this.lines.length===0&&this.nextLineWords.length===0}clear(){this.lines.length=0,this.nextLineWords.length=0,this.nextLineAvailableChars=this.maxLineLength}toString(){return[...this.lines,this.nextLineWords].map((f)=>f.join(" ")).join("\n")}splitLongWord(f){let h=[],R=0;while(f.length>this.maxLineLength){let A=f.substring(0,this.maxLineLength),P=f.substring(this.maxLineLength),I=A.lastIndexOf(this.wrapCharacters[R]);if(I>-1)f=A.substring(I+1)+P,h.push(A.substring(0,I+1));else if(R++,R<this.wrapCharacters.length)f=A+P;else{if(this.forceWrapOnLimit){if(h.push(A),f=P,f.length>this.maxLineLength)continue}else f=A+P;break}}return h.push(f),h}}class Ch{constructor(f=null){this.next=f}getRoot(){return this.next?this.next:this}}class Qf extends Ch{constructor(f,h=null,R=1,A=void 0){super(h);this.leadingLineBreaks=R,this.inlineTextBuilder=new l1(f,A),this.rawText="",this.stashedLineBreaks=0,this.isPre=h&&h.isPre,this.isNoWrap=h&&h.isNoWrap}}class K1 extends Qf{constructor(f,h=null,{interRowLineBreaks:R=1,leadingLineBreaks:A=2,maxLineLength:P=void 0,maxPrefixLength:I=0,prefixAlign:$="left"}={}){super(f,h,A,P);this.maxPrefixLength=I,this.prefixAlign=$,this.interRowLineBreaks=R}}class ef extends Qf{constructor(f,h=null,{leadingLineBreaks:R=1,maxLineLength:A=void 0,prefix:P=""}={}){super(f,h,R,A);this.prefix=P}}class v1 extends Ch{constructor(f=null){super(f);this.rows=[],this.isPre=f&&f.isPre,this.isNoWrap=f&&f.isNoWrap}}class j1 extends Ch{constructor(f=null){super(f);this.cells=[],this.isPre=f&&f.isPre,this.isNoWrap=f&&f.isNoWrap}}class of extends Ch{constructor(f,h=null,R=void 0){super(h);this.inlineTextBuilder=new l1(f,R),this.rawText="",this.stashedLineBreaks=0,this.isPre=h&&h.isPre,this.isNoWrap=h&&h.isNoWrap}}class LH extends Ch{constructor(f=null,h){super(f);this.transform=h}}function A6(f){return[...f].map((h)=>"\\u"+h.charCodeAt(0).toString(16).padStart(4,"0")).join("")}class QH{constructor(f){this.whitespaceChars=f.preserveNewlines?f.whitespaceCharacters.replace(/\n/g,""):f.whitespaceCharacters;let h=A6(this.whitespaceChars);if(this.leadingWhitespaceRe=new RegExp(`^[${h}]`),this.trailingWhitespaceRe=new RegExp(`[${h}]\$`),this.allWhitespaceOrEmptyRe=new RegExp(`^[${h}]*\$`),this.newlineOrNonWhitespaceRe=new RegExp(`(\\n|[^\\n${h}])`,"g"),this.newlineOrNonNewlineStringRe=new RegExp("(\\n|[^\\n]+)","g"),f.preserveNewlines){let R=new RegExp(`\\n|[^\\n${h}]+`,"gm");this.shrinkWrapAdd=function(A,P,I=(w)=>w,$=!1){if(!A)return;let w=P.stashedSpace,U=!1,F=R.exec(A);if(F){if(U=!0,F[0]==="\n")P.startNewLine();else if(w||this.testLeadingWhitespace(A))P.pushWord(I(F[0]),$);else P.concatWord(I(F[0]),$);while((F=R.exec(A))!==null)if(F[0]==="\n")P.startNewLine();else P.pushWord(I(F[0]),$)}P.stashedSpace=w&&!U||this.testTrailingWhitespace(A)}}else{let R=new RegExp(`[^${h}]+`,"g");this.shrinkWrapAdd=function(A,P,I=(w)=>w,$=!1){if(!A)return;let w=P.stashedSpace,U=!1,F=R.exec(A);if(F){if(U=!0,w||this.testLeadingWhitespace(A))P.pushWord(I(F[0]),$);else P.concatWord(I(F[0]),$);while((F=R.exec(A))!==null)P.pushWord(I(F[0]),$)}P.stashedSpace=w&&!U||this.testTrailingWhitespace(A)}}}addLiteral(f,h,R=!0){if(!f)return;let A=h.stashedSpace,P=!1,I=this.newlineOrNonNewlineStringRe.exec(f);if(I){if(P=!0,I[0]==="\n")h.startNewLine();else if(A)h.pushWord(I[0],R);else h.concatWord(I[0],R);while((I=this.newlineOrNonNewlineStringRe.exec(f))!==null)if(I[0]==="\n")h.startNewLine();else h.pushWord(I[0],R)}h.stashedSpace=A&&!P}testLeadingWhitespace(f){return this.leadingWhitespaceRe.test(f)}testTrailingWhitespace(f){return this.trailingWhitespaceRe.test(f)}testContainsWords(f){return!this.allWhitespaceOrEmptyRe.test(f)}countNewlinesNoWords(f){this.newlineOrNonWhitespaceRe.lastIndex=0;let h=0,R;while((R=this.newlineOrNonWhitespaceRe.exec(f))!==null)if(R[0]==="\n")h++;else return 0;return h}}class gH{constructor(f,h,R=void 0){this.options=f,this.picker=h,this.metadata=R,this.whitespaceProcessor=new QH(f),this._stackItem=new Qf(f),this._wordTransformer=void 0}pushWordTransform(f){this._wordTransformer=new LH(this._wordTransformer,f)}popWordTransform(){if(!this._wordTransformer)return;let f=this._wordTransformer.transform;return this._wordTransformer=this._wordTransformer.next,f}startNoWrap(){this._stackItem.isNoWrap=!0}stopNoWrap(){this._stackItem.isNoWrap=!1}_getCombinedWordTransformer(){let f=this._wordTransformer?(R)=>qH(R,this._wordTransformer):void 0,h=this.options.encodeCharacters;return f?h?(R)=>h(f(R)):f:h}_popStackItem(){let f=this._stackItem;return this._stackItem=f.next,f}addLineBreak(){if(!(this._stackItem instanceof Qf||this._stackItem instanceof ef||this._stackItem instanceof of))return;if(this._stackItem.isPre)this._stackItem.rawText+="\n";else this._stackItem.inlineTextBuilder.startNewLine()}addWordBreakOpportunity(){if(this._stackItem instanceof Qf||this._stackItem instanceof ef||this._stackItem instanceof of)this._stackItem.inlineTextBuilder.wordBreakOpportunity=!0}addInline(f,{noWordTransform:h=!1}={}){if(!(this._stackItem instanceof Qf||this._stackItem instanceof ef||this._stackItem instanceof of))return;if(this._stackItem.isPre){this._stackItem.rawText+=f;return}if(f.length===0||this._stackItem.stashedLineBreaks&&!this.whitespaceProcessor.testContainsWords(f))return;if(this.options.preserveNewlines){let R=this.whitespaceProcessor.countNewlinesNoWords(f);if(R>0){this._stackItem.inlineTextBuilder.startNewLine(R);return}}if(this._stackItem.stashedLineBreaks)this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks);this.whitespaceProcessor.shrinkWrapAdd(f,this._stackItem.inlineTextBuilder,h?void 0:this._getCombinedWordTransformer(),this._stackItem.isNoWrap),this._stackItem.stashedLineBreaks=0}addLiteral(f){if(!(this._stackItem instanceof Qf||this._stackItem instanceof ef||this._stackItem instanceof of))return;if(f.length===0)return;if(this._stackItem.isPre){this._stackItem.rawText+=f;return}if(this._stackItem.stashedLineBreaks)this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks);this.whitespaceProcessor.addLiteral(f,this._stackItem.inlineTextBuilder,this._stackItem.isNoWrap),this._stackItem.stashedLineBreaks=0}openBlock({leadingLineBreaks:f=1,reservedLineLength:h=0,isPre:R=!1}={}){let A=Math.max(20,this._stackItem.inlineTextBuilder.maxLineLength-h);if(this._stackItem=new Qf(this.options,this._stackItem,f,A),R)this._stackItem.isPre=!0}closeBlock({trailingLineBreaks:f=1,blockTransform:h=void 0}={}){let R=this._popStackItem(),A=h?h(Fh(R)):Fh(R);f0(this._stackItem,A,R.leadingLineBreaks,Math.max(R.stashedLineBreaks,f))}openList({maxPrefixLength:f=0,prefixAlign:h="left",interRowLineBreaks:R=1,leadingLineBreaks:A=2}={}){this._stackItem=new K1(this.options,this._stackItem,{interRowLineBreaks:R,leadingLineBreaks:A,maxLineLength:this._stackItem.inlineTextBuilder.maxLineLength,maxPrefixLength:f,prefixAlign:h})}openListItem({prefix:f=""}={}){if(!(this._stackItem instanceof K1))throw new Error("Can\'t add a list item to something that is not a list! Check the formatter.");let h=this._stackItem,R=Math.max(f.length,h.maxPrefixLength),A=Math.max(20,h.inlineTextBuilder.maxLineLength-R);this._stackItem=new ef(this.options,h,{prefix:f,maxLineLength:A,leadingLineBreaks:h.interRowLineBreaks})}closeListItem(){let f=this._popStackItem(),h=f.next,R=Math.max(f.prefix.length,h.maxPrefixLength),A="\n"+" ".repeat(R),I=(h.prefixAlign==="right"?f.prefix.padStart(R):f.prefix.padEnd(R))+Fh(f).replace(/\n/g,A);f0(h,I,f.leadingLineBreaks,Math.max(f.stashedLineBreaks,h.interRowLineBreaks))}closeList({trailingLineBreaks:f=2}={}){let h=this._popStackItem(),R=Fh(h);if(R)f0(this._stackItem,R,h.leadingLineBreaks,f)}openTable(){this._stackItem=new v1(this._stackItem)}openTableRow(){if(!(this._stackItem instanceof v1))throw new Error("Can\'t add a table row to something that is not a table! Check the formatter.");this._stackItem=new j1(this._stackItem)}openTableCell({maxColumnWidth:f=void 0}={}){if(!(this._stackItem instanceof j1))throw new Error("Can\'t add a table cell to something that is not a table row! Check the formatter.");this._stackItem=new of(this.options,this._stackItem,f)}closeTableCell({colspan:f=1,rowspan:h=1}={}){let R=this._popStackItem(),A=zH(Fh(R),"\n");R.next.cells.push({colspan:f,rowspan:h,text:A})}closeTableRow(){let f=this._popStackItem();f.next.rows.push(f.cells)}closeTable({tableToString:f,leadingLineBreaks:h=2,trailingLineBreaks:R=2}){let A=this._popStackItem(),P=f(A.rows);if(P)f0(this._stackItem,P,h,R)}toString(){return Fh(this._stackItem.getRoot())}}function Fh(f){if(!(f instanceof Qf||f instanceof ef||f instanceof of))throw new Error("Only blocks, list items and table cells can be requested for text contents.");return f.inlineTextBuilder.isEmpty()?f.rawText:f.rawText+f.inlineTextBuilder.toString()}function f0(f,h,R,A){if(!(f instanceof Qf||f instanceof ef||f instanceof of))throw new Error("Only blocks, list items and table cells can contain text.");let P=Fh(f),I=Math.max(f.stashedLineBreaks,R);if(f.inlineTextBuilder.clear(),P)f.rawText=P+"\n".repeat(I)+h;else f.rawText=h,f.leadingLineBreaks=I;f.stashedLineBreaks=A}function qH(f,h){return h?qH(h.transform(f),h.next):f}function P6(f={}){let h=f.selectors.filter(($)=>!$.format);if(h.length)throw new Error("Following selectors have no specified format: "+h.map(($)=>`\`${$.selector}\``).join(", "));let R=new pA(f.selectors.map(($)=>[$.selector,$])).build(z1);if(typeof f.encodeCharacters!=="function")f.encodeCharacters=U6(f.encodeCharacters);let A=new pA(f.baseElements.selectors.map(($,w)=>[$,w+1])).build(z1);function P($){return $6($,f,A)}let I=C1(f.limits.maxDepth,w6,function($,w){w.addInline(f.limits.ellipsis||"")});return function($,w=void 0){return I6($,w,f,R,P,I)}}function I6(f,h,R,A,P,I){let $=R.limits.maxInputLength;if($&&f&&f.length>$)console.warn(`Input length ${f.length} is above allowed limit of ${$}. Truncating without ellipsis.`),f=f.substring(0,$);let w=GH(f,{decodeEntities:R.decodeEntities}),U=P(w.children),F=new gH(R,A,h);return I(U,F),F.toString()}function $6(f,h,R){let A=[];function P($,w){w=w.slice(0,h.limits.maxChildNodes);for(let U of w){if(U.type!=="tag")continue;let F=R.pick1(U);if(F>0)A.push({selectorIndex:F,element:U});else if(U.children)$(U.children);if(A.length>=h.limits.maxBaseElements)return}}if(C1(h.limits.maxDepth,P)(f),h.baseElements.orderBy!=="occurrence")A.sort(($,w)=>$.selectorIndex-w.selectorIndex);return h.baseElements.returnDomByDefault&&A.length===0?f:A.map(($)=>$.element)}function w6(f,h,R){if(!h)return;let A=R.options;if(h.length>A.limits.maxChildNodes)h=h.slice(0,A.limits.maxChildNodes),h.push({data:A.limits.ellipsis,type:"text"});for(let I of h)switch(I.type){case"text":{R.addInline(I.data);break}case"tag":{let $=R.picker.pick1(I),w=A.formatters[$.format];w(I,f,R,$.options||{});break}}return}function U6(f){if(!f||Object.keys(f).length===0)return;let h=Object.entries(f).filter(([,I])=>I!==!1),R=new RegExp(h.map(([I])=>`(${h6([...I][0])})`).join("|"),"g"),A=h.map(([,I])=>I),P=(I,...$)=>A[$.findIndex((w)=>w)];return(I)=>I.replace(R,P)}function H6(f,h,R,A){}function F6(f,h,R,A){R.addLiteral(A.string||"")}function E6(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),R.addLiteral(A.string||""),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function N6(f,h,R,A){h(f.children,R)}function G6(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),h(f.children,R),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function yH(f){let h=f.attribs&&f.attribs.length?" "+Object.entries(f.attribs).map(([R,A])=>A===""?R:`${R}=${A.replace(/"/g,""")}`).join(" "):"";return`<${f.name}${h}>`}function BH(f){return`</${f.name}>`}function S6(f,h,R,A){R.startNoWrap(),R.addLiteral(yH(f)),R.stopNoWrap(),h(f.children,R),R.startNoWrap(),R.addLiteral(BH(f)),R.stopNoWrap()}function W6(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),R.startNoWrap(),R.addLiteral(yH(f)),R.stopNoWrap(),h(f.children,R),R.startNoWrap(),R.addLiteral(BH(f)),R.stopNoWrap(),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function Y6(f,h,R,A){R.startNoWrap(),R.addLiteral(SR(f,{decodeEntities:R.options.decodeEntities})),R.stopNoWrap()}function D6(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),R.startNoWrap(),R.addLiteral(SR(f,{decodeEntities:R.options.decodeEntities})),R.stopNoWrap(),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function M6(f,h,R,A){R.addLiteral(A.prefix||""),h(f.children,R),R.addLiteral(A.suffix||"")}var V6=Object.freeze({__proto__:null,block:G6,blockHtml:D6,blockString:E6,blockTag:W6,inline:N6,inlineHtml:Y6,inlineString:F6,inlineSurround:M6,inlineTag:S6,skip:H6});function h0(f,h){if(!f[h])f[h]=[];return f[h]}function X6(f,h=0){while(f[h])h++;return h}function Z6(f,h){for(let R=0;R<h;R++){let A=h0(f,R);for(let P=0;P<R;P++){let I=h0(f,P);if(A[P]||I[R]){let $=A[P];A[P]=I[R],I[R]=$}}}}function z6(f,h,R,A){for(let P=0;P<f.rowspan;P++){let I=h0(h,R+P);for(let $=0;$<f.colspan;$++)I[A+$]=f}}function m1(f,h){if(f[h]===void 0)f[h]=h===0?0:1+m1(f,h-1);return f[h]}function ZH(f,h,R,A){f[h+R]=Math.max(m1(f,h+R),m1(f,h)+A)}function J6(f,h,R){let A=[],P=0,I=f.length,$=[0];for(let F=0;F<I;F++){let N=h0(A,F),W=f[F],V=0;for(let S=0;S<W.length;S++){let L=W[S];V=X6(N,V),z6(L,A,F,V),V+=L.colspan,L.lines=L.text.split("\n");let K=L.lines.length;ZH($,F,L.rowspan,K+h)}P=N.length>P?N.length:P}Z6(A,I>P?I:P);let w=[],U=[0];for(let F=0;F<P;F++){let N=0,W,V=Math.min(I,A[F].length);while(N<V)if(W=A[F][N],W){if(!W.rendered){let S=0;for(let L=0;L<W.lines.length;L++){let K=W.lines[L],Pf=$[N]+L;w[Pf]=(w[Pf]||"").padEnd(U[F])+K,S=K.length>S?K.length:S}ZH(U,F,W.colspan,S+R),W.rendered=!0}N+=W.rowspan}else{let S=$[N];w[S]=w[S]||"",N++}}return w.join("\n")}function L6(f,h,R,A){R.addLineBreak()}function Q6(f,h,R,A){R.addWordBreakOpportunity()}function g6(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),R.addInline("-".repeat(A.length||R.options.wordwrap||40)),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function q6(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),h(f.children,R),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function y6(f,h,R,A){R.openBlock({isPre:!0,leadingLineBreaks:A.leadingLineBreaks||2}),h(f.children,R),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function B6(f,h,R,A){if(R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),A.uppercase!==!1)R.pushWordTransform((P)=>P.toUpperCase()),h(f.children,R),R.popWordTransform();else h(f.children,R);R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function T6(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2,reservedLineLength:2}),h(f.children,R),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2,blockTransform:(P)=>(A.trimEmptyLines!==!1?zH(P,"\n"):P).split("\n").map((I)=>"> "+I).join("\n")})}function O1(f,h){if(!h)return f;let R=typeof h[0]==="string"?h[0]:"[",A=typeof h[1]==="string"?h[1]:"]";return R+f+A}function TH(f,h,R,A,P){let I=typeof h==="function"?h(f,A,P):f;return I[0]==="/"&&R?f6(R,"/")+I:I}function K6(f,h,R,A){let P=f.attribs||{},I=P.alt?P.alt:"",$=!P.src?"":TH(P.src,A.pathRewrite,A.baseUrl,R.metadata,f),w=!$?I:!I?O1($,A.linkBrackets):I+" "+O1($,A.linkBrackets);R.addInline(w,{noWordTransform:!0})}function v6(f,h,R,A){function P(){if(A.ignoreHref)return"";if(!f.attribs||!f.attribs.href)return"";let $=f.attribs.href.replace(/^mailto:/,"");if(A.noAnchorUrl&&$[0]==="#")return"";return $=TH($,A.pathRewrite,A.baseUrl,R.metadata,f),$}let I=P();if(!I)h(f.children,R);else{let $="";if(R.pushWordTransform((U)=>{if(U)$+=U;return U}),h(f.children,R),R.popWordTransform(),!(A.hideLinkHrefIfSameAsText&&I===$))R.addInline(!$?I:" "+O1(I,A.linkBrackets),{noWordTransform:!0})}}function KH(f,h,R,A,P){let I=sh(f,["parent","name"])==="li",$=0,w=(f.children||[]).filter((U)=>U.type!=="text"||!/^\s*$/.test(U.data)).map(function(U){if(U.name!=="li")return{node:U,prefix:""};let F=I?P().trimStart():P();if(F.length>$)$=F.length;return{node:U,prefix:F}});if(!w.length)return;R.openList({interRowLineBreaks:1,leadingLineBreaks:I?1:A.leadingLineBreaks||2,maxPrefixLength:$,prefixAlign:"left"});for(let{node:U,prefix:F}of w)R.openListItem({prefix:F}),h([U],R),R.closeListItem();R.closeList({trailingLineBreaks:I?1:A.trailingLineBreaks||2})}function j6(f,h,R,A){let P=A.itemPrefix||" * ";return KH(f,h,R,A,()=>P)}function m6(f,h,R,A){let P=Number(f.attribs.start||"1"),I=O6(f.attribs.type);return KH(f,h,R,A,()=>" "+I(P++)+". ")}function O6(f="1"){switch(f){case"a":return(h)=>MH(h,"a");case"A":return(h)=>MH(h,"A");case"i":return(h)=>XH(h).toLowerCase();case"I":return(h)=>XH(h);case"1":default:return(h)=>h.toString()}}function s6(f){let h=[],R=[];for(let A of f)if(A.startsWith("."))h.push(A.substring(1));else if(A.startsWith("#"))R.push(A.substring(1));return{classes:h,ids:R}}function C6(f,h){if(h===!0)return!0;if(!f)return!1;let{classes:R,ids:A}=s6(h),P=(f.class||"").split(" "),I=(f.id||"").split(" ");return P.some(($)=>R.includes($))||I.some(($)=>A.includes($))}function l6(f,h,R,A){return C6(f.attribs,R.options.tables)?vH(f,h,R,A):c6(f,h,R,A)}function c6(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks}),h(f.children,R),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks})}function vH(f,h,R,A){R.openTable(),f.children.forEach(I),R.closeTable({tableToString:($)=>J6($,A.rowSpacing??0,A.colSpacing??3),leadingLineBreaks:A.leadingLineBreaks,trailingLineBreaks:A.trailingLineBreaks});function P($){let w=+sh($,["attribs","colspan"])||1,U=+sh($,["attribs","rowspan"])||1;R.openTableCell({maxColumnWidth:A.maxColumnWidth}),h($.children,R),R.closeTableCell({colspan:w,rowspan:U})}function I($){if($.type!=="tag")return;let w=A.uppercaseHeaderCells!==!1?(U)=>{R.pushWordTransform((F)=>F.toUpperCase()),P(U),R.popWordTransform()}:P;switch($.name){case"thead":case"tbody":case"tfoot":case"center":$.children.forEach(I);return;case"tr":{R.openTableRow();for(let U of $.children){if(U.type!=="tag")continue;switch(U.name){case"th":{w(U);break}case"td":{P(U);break}}}R.closeTableRow();break}}}}var b6=Object.freeze({__proto__:null,anchor:v6,blockquote:T6,dataTable:vH,heading:B6,horizontalLine:g6,image:K6,lineBreak:L6,orderedList:m6,paragraph:q6,pre:y6,table:l6,unorderedList:j6,wbr:Q6}),d6={baseElements:{selectors:["body"],orderBy:"selectors",returnDomByDefault:!0},decodeEntities:!0,encodeCharacters:{},formatters:{},limits:{ellipsis:"...",maxBaseElements:void 0,maxChildNodes:void 0,maxDepth:void 0,maxInputLength:16777216},longWordSplit:{forceWrapOnLimit:!1,wrapCharacters:[]},preserveNewlines:!1,selectors:[{selector:"*",format:"inline"},{selector:"a",format:"anchor",options:{baseUrl:null,hideLinkHrefIfSameAsText:!1,ignoreHref:!1,linkBrackets:["[","]"],noAnchorUrl:!0}},{selector:"article",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"aside",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"blockquote",format:"blockquote",options:{leadingLineBreaks:2,trailingLineBreaks:2,trimEmptyLines:!0}},{selector:"br",format:"lineBreak"},{selector:"div",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"footer",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"form",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"h1",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h2",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h3",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h4",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"h5",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"h6",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"header",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"hr",format:"horizontalLine",options:{leadingLineBreaks:2,length:void 0,trailingLineBreaks:2}},{selector:"img",format:"image",options:{baseUrl:null,linkBrackets:["[","]"]}},{selector:"main",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"nav",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"ol",format:"orderedList",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"p",format:"paragraph",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"pre",format:"pre",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"section",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"table",format:"table",options:{colSpacing:3,leadingLineBreaks:2,maxColumnWidth:60,rowSpacing:0,trailingLineBreaks:2,uppercaseHeaderCells:!0}},{selector:"ul",format:"unorderedList",options:{itemPrefix:" * ",leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"wbr",format:"wbr"}],tables:[],whitespaceCharacters:` \r
|
|
3
|
-
\u200B`,wordwrap:80},r6=(f,h,R)=>[...f,...h],jH=(f,h,R)=>[...h],k6=(f,h,R)=>f.some((A)=>typeof A==="object")?r6(f,h):jH(f,h);function x6(f={}){return f=s1.default(d6,f,{arrayMerge:jH,customMerge:(h)=>h==="selectors"?k6:void 0}),f.formatters=Object.assign({},V6,b6,f.formatters),f.selectors=JH(f.selectors,(h)=>h.selector),_6(f),P6(f)}function c1(f,h={},R=void 0){return x6(h)(f,R)}function _6(f){if(f.tags){let R=Object.entries(f.tags).map(([A,P])=>({...P,selector:A||"*"}));f.selectors.push(...R),f.selectors=JH(f.selectors,(A)=>A.selector)}function h(R,A,P){let I=A.pop();for(let $ of A){let w=R[$];if(!w)w={},R[$]=w;R=w}R[I]=P}if(f.baseElement){let R=f.baseElement;h(f,["baseElements","selectors"],Array.isArray(R)?R:[R])}if(f.returnDomByDefault!==void 0)h(f,["baseElements","returnDomByDefault"],f.returnDomByDefault);for(let R of f.selectors)if(R.format==="anchor"&&sh(R,["options","noLinkBrackets"]))h(R,["options","linkBrackets"],!1)}var d8=b(s8(),1);import{Writable as fD}from"stream";var{defineProperty:iY,getOwnPropertySymbols:C8}=Object,pY=Object.prototype.hasOwnProperty,eY=Object.prototype.propertyIsEnumerable,l8=(f,h,R)=>(h in f)?iY(f,h,{enumerable:!0,configurable:!0,writable:!0,value:R}):f[h]=R,UP=(f,h)=>{for(var R in h||(h={}))if(pY.call(h,R))l8(f,R,h[R]);if(C8){for(var R of C8(h))if(eY.call(h,R))l8(f,R,h[R])}return f},HP=(f,h,R)=>{return new Promise((A,P)=>{var I=(U)=>{try{w(R.next(U))}catch(F){P(F)}},$=(U)=>{try{w(R.throw(U))}catch(F){P(F)}},w=(U)=>U.done?A(U.value):Promise.resolve(U.value).then(I,$);w((R=R.apply(f,h)).next())})},nY={unformatted:["code","pre","em","strong","span"],indent_inner_html:!0,indent_char:" ",indent_size:2,sep:"\n"},uY=(f,h={})=>{return d8.default.html(f,UP(UP({},nY),h))},tY=[{selector:"img",format:"skip"},{selector:"#__react-email-preview",format:"skip"},{selector:"a",options:{linkBrackets:!1}}];var c8=new TextDecoder("utf-8"),b8=(f)=>HP(void 0,null,function*(){let h="";if("pipeTo"in f){let R=new WritableStream({write(A){h+=c8.decode(A)}});yield f.pipeTo(R)}else{let R=new fD({write(A,P,I){h+=c8.decode(A),I()}});return f.pipe(R),new Promise((A,P)=>{R.on("error",P),R.on("close",()=>{A(h)})})}return h}),N0=(f,h)=>HP(void 0,null,function*(){let{default:R}=yield import("react-dom/server"),A;if(Object.hasOwn(R,"renderToReadableStream"))A=yield b8(yield R.renderToReadableStream(f));else yield new Promise(($,w)=>{let U=R.renderToPipeableStream(f,{onAllReady(){return HP(this,null,function*(){A=yield b8(U),$()})},onError(F){w(F)}})});if(h==null?void 0:h.plainText)return c1(A,UP({selectors:tY},h.htmlToTextOptions));let I=`${'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'}${A.replace(/<!DOCTYPE.*?>/,"")}`;if(h==null?void 0:h.pretty)return uY(I);return I});var{defineProperty:hD,defineProperties:RD,getOwnPropertyDescriptors:AD,getOwnPropertySymbols:r8}=Object,PD=Object.prototype.hasOwnProperty,ID=Object.prototype.propertyIsEnumerable,k8=(f,h,R)=>(h in f)?hD(f,h,{enumerable:!0,configurable:!0,writable:!0,value:R}):f[h]=R,qR=(f,h)=>{for(var R in h||(h={}))if(PD.call(h,R))k8(f,R,h[R]);if(r8){for(var R of r8(h))if(ID.call(h,R))k8(f,R,h[R])}return f},$D=(f,h)=>RD(f,AD(h)),T=(f,h,R)=>{return new Promise((A,P)=>{var I=(U)=>{try{w(R.next(U))}catch(F){P(F)}},$=(U)=>{try{w(R.throw(U))}catch(F){P(F)}},w=(U)=>U.done?A(U.value):Promise.resolve(U.value).then(I,$);w((R=R.apply(f,h)).next())})},wD="3.5.0",UD=class{constructor(f){this.resend=f}create(f){return T(this,arguments,function*(h,R={}){return yield this.resend.post("/api-keys",h,R)})}list(){return T(this,null,function*(){return yield this.resend.get("/api-keys")})}remove(f){return T(this,null,function*(){return yield this.resend.delete(`/api-keys/${f}`)})}},HD=class{constructor(f){this.resend=f}create(f){return T(this,arguments,function*(h,R={}){return yield this.resend.post("/audiences",h,R)})}list(){return T(this,null,function*(){return yield this.resend.get("/audiences")})}get(f){return T(this,null,function*(){return yield this.resend.get(`/audiences/${f}`)})}remove(f){return T(this,null,function*(){return yield this.resend.delete(`/audiences/${f}`)})}},FD=class{constructor(f){this.resend=f}send(f){return T(this,arguments,function*(h,R={}){return this.create(h,R)})}create(f){return T(this,arguments,function*(h,R={}){for(let P of h)if(P.react)P.html=yield N0(P.react),delete P.react;return yield this.resend.post("/emails/batch",h,R)})}},ED=class{constructor(f){this.resend=f}create(f){return T(this,arguments,function*(h,R={}){return yield this.resend.post(`/audiences/${h.audienceId}/contacts`,{unsubscribed:h.unsubscribed,email:h.email,first_name:h.firstName,last_name:h.lastName},R)})}list(f){return T(this,null,function*(){return yield this.resend.get(`/audiences/${f.audienceId}/contacts`)})}get(f){return T(this,null,function*(){return yield this.resend.get(`/audiences/${f.audienceId}/contacts/${f.id}`)})}update(f){return T(this,null,function*(){return yield this.resend.patch(`/audiences/${f.audienceId}/contacts/${f.id}`,{unsubscribed:f.unsubscribed,first_name:f.firstName,last_name:f.lastName})})}remove(f){return T(this,null,function*(){return yield this.resend.delete(`/audiences/${f.audienceId}/contacts/${(f==null?void 0:f.email)?f==null?void 0:f.email:f==null?void 0:f.id}`)})}},ND=class{constructor(f){this.resend=f}create(f){return T(this,arguments,function*(h,R={}){return yield this.resend.post("/domains",h,R)})}list(){return T(this,null,function*(){return yield this.resend.get("/domains")})}get(f){return T(this,null,function*(){return yield this.resend.get(`/domains/${f}`)})}update(f){return T(this,null,function*(){return yield this.resend.patch(`/domains/${f.id}`,{click_tracking:f.clickTracking,open_tracking:f.openTracking,tls:f.tls})})}remove(f){return T(this,null,function*(){return yield this.resend.delete(`/domains/${f}`)})}verify(f){return T(this,null,function*(){return yield this.resend.post(`/domains/${f}/verify`)})}},GD=class{constructor(f){this.resend=f}send(f){return T(this,arguments,function*(h,R={}){return this.create(h,R)})}create(f){return T(this,arguments,function*(h,R={}){if(h.react)h.html=yield N0(h.react),delete h.react;return yield this.resend.post("/emails",h,R)})}get(f){return T(this,null,function*(){return yield this.resend.get(`/emails/${f}`)})}},x8="https://api.resend.com",_8=`resend-node:${wD}`,SD=typeof process!=="undefined"&&process.env?process.env.RESEND_BASE_URL||x8:x8,WD=typeof process!=="undefined"&&process.env?process.env.RESEND_USER_AGENT||_8:_8,a8=class{constructor(f){if(this.key=f,this.apiKeys=new UD(this),this.audiences=new HD(this),this.batch=new FD(this),this.contacts=new ED(this),this.domains=new ND(this),this.emails=new GD(this),!f){if(typeof process!=="undefined"&&process.env)this.key=process.env.RESEND_API_KEY;if(!this.key)throw new Error('Missing API key. Pass it to the constructor `new Resend("re_123")`')}this.headers=new Headers({Authorization:`Bearer ${this.key}`,"User-Agent":WD,"Content-Type":"application/json"})}fetchRequest(f){return T(this,arguments,function*(h,R={}){try{let A=yield fetch(`${SD}${h}`,R);if(!A.ok)try{let I=yield A.text();return{data:null,error:JSON.parse(I)}}catch(I){if(I instanceof SyntaxError)return{data:null,error:{name:"application_error",message:"Internal server error. We are unable to process your request right now, please try again later."}};let $={message:A.statusText,name:"application_error"};if(I instanceof Error)return{data:null,error:$D(qR({},$),{message:I.message})};return{data:null,error:$}}return{data:yield A.json(),error:null}}catch(A){return{data:null,error:{name:"application_error",message:"Unable to fetch data. The request could not be resolved."}}}})}post(f,h){return T(this,arguments,function*(R,A,P={}){let I=qR({method:"POST",headers:this.headers,body:JSON.stringify(A)},P);return this.fetchRequest(R,I)})}get(f){return T(this,arguments,function*(h,R={}){let A=qR({method:"GET",headers:this.headers},R);return this.fetchRequest(h,A)})}put(f,h){return T(this,arguments,function*(R,A,P={}){let I=qR({method:"PUT",headers:this.headers,body:JSON.stringify(A)},P);return this.fetchRequest(R,I)})}patch(f,h){return T(this,arguments,function*(R,A,P={}){let I=qR({method:"PATCH",headers:this.headers,body:JSON.stringify(A)},P);return this.fetchRequest(R,I)})}delete(f,h){return T(this,null,function*(){let R={method:"DELETE",headers:this.headers,body:JSON.stringify(h)};return this.fetchRequest(f,R)})}};class G0{}class S0 extends G0{f;constructor(f=process.env.RESEND_API_KEY){super();this.apiKey=f}async send(f){let h=new a8(this.apiKey),{data:R,error:A}=await h.emails.send({...f});if(A)return console.error(A),!1;if(R)return!0;return!1}}class i8 extends a{driver=new S0;boot(){}}class p8 extends a{channels={};boot(){}}class e8 extends a{root;rootRouter;boot(){}onRequestStart(f){}onRequestEnd(f){}onRequestFail(f,h){}}class o8 extends a{rootRouter;boot(){}onRequestStart(f){}onRequestEnd(f){}onRequestFail(f,h){}}class n8 extends a{maxFileSize=10485760;boot(){}onLogFileClosed(f){}onLogCreated(f){}}class u8 extends a{jobs=[];concurrency=1;boot(){}}class fF{static name="unset";worker=!1;maxAttempts=3;run(f){}onFail(f,h){}onSuccess(f,h){}onDeadletter(f){}static dispatch(...f){if(this.name==="unset")throw new Error("Cannot dispatch a job with no name");t8.use().push(this,JSON.stringify(f))}}var hF=b(YD(),1);class W0{}class Y0 extends W0{async resize(f,h){let{height:R,width:A,quality:P,fit:I}=h;return await hF.default(f).resize(A>0?A:void 0,R>0?R:void 0,{fit:I}).webp({quality:P>0?P:80,force:!0}).toBuffer()}}class RF extends a{driver=new Y0;boot(){}}class D0{}var DD={clientId:process.env.GOOGLE_CLIENT_ID,clientSecret:process.env.GOOGLE_CLIENT_SECRET,redirectPath:"/oauth/google/callback",scope:"https://www.googleapis.com/auth/userinfo.email"};class PF extends D0{config;constructor(f={}){super();this.config={...DD,...f}}getRedirectUrl(){let f=this.config.scope,h=this.config.clientId,R=new URL("https://accounts.google.com/o/oauth2/v2/auth"),A={scope:f,include_granted_scopes:"true",response_type:"code",state:"state_parameter_passthrough_value",redirect_uri:`${process.env.HOST_NAME}/oauth/google/callback`,client_id:h};for(let[I,$]of Object.entries(A))R.searchParams.append(I,$);let P=R.toString();return AF.to(P),P}async onCallback(f){let h=new URL("https://oauth2.googleapis.com/token");h.searchParams.append("code",f.search.get("code")),h.searchParams.append("client_id",this.config.clientId),h.searchParams.append("client_secret",this.config.clientSecret),h.searchParams.append("grant_type","authorization_code"),h.searchParams.append("redirect_uri",`${process.env.HOST_NAME}${this.config.redirectPath}`);let R=await fetch(h.toString(),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"}}),{access_token:A}=await R.json(),I=await(await fetch(`https://www.googleapis.com/oauth2/v3/userinfo?access_token=${A}`)).json();return{name:I.name,email:I.email}}}export{e8 as ViewRouterServiceProvider,Y0 as Sharp,WU as S3Driver,S0 as ResendDriver,YU as RateLimiterServiceProvider,jA as RateLimiterDriver,u8 as QueueServiceProvider,D0 as OAuthProvider,n8 as LoggingServiceProvider,fF as Job,mA as InMemoryRateLimiter,RF as ImageOptimizationServiceProvider,W0 as ImageOptimizationDriver,PF as GoogleOAuthProvider,TR as FileSystemDriver,FP as FileStorageServiceProvider,Sh as FileStorageDriver,i8 as EmailServiceProvider,G0 as EmailDriver,p8 as BroadcastingServiceProvider,o8 as ApiRouterServiceProvider};export{FP as h,o8 as i,YU as j,i8 as k,p8 as l,e8 as m,n8 as n,u8 as o,RF as p};
|
|
2
|
+
import{q as kw}from"../chunk-avqfpn5v.js";import{$ as nw,A as q0,B as IU,C as uI,D as tI,E as f$,F as h$,G as $U,H as jw,I as mw,J as Ow,K as sw,L as wU,M as UU,N as R$,O as kf,P as xf,Q as HU,R as Cw,S as lw,T as FU,U as cw,V as EU,W as fA,X as bw,Y as TA,Z as dw,_ as rw,aa as uw,r as ph,s as _h,t as fU,u as hU,v as RU,w as AU,x as yF,y as hh,z as Rh}from"../chunk-8arqqbhx.js";import{ba as zf,ca as qw}from"../chunk-d1jvc299.js";import{Aa as rf,Ba as Ff,Da as Ih,Ga as jf,Ha as B3,Ia as k,Ja as T3,Ka as Qh,La as uh,Na as hR,Oa as ah,Pa as H$,Qa as qf,Ra as g$,Sa as Kw,Ta as vw,Ua as ew,Va as ow,Xa as VA,Ya as l,_a as q$,da as iw,ea as pw,fa as Sf,ga as kR,ha as VP,ka as Zw,la as lR,ma as zw,na as rR,oa as PU,pa as Jw,qa as Lw,ra as Qw,ta as Bw,ua as Tw,va as Fw,wa as gw,xa as pP,ya as eP,za as Q$}from"../chunk-t6h32cqw.js";import"../chunk-k9katf2f.js";import{ib as BF}from"../chunk-wrtx683g.js";import"../chunk-vqpqea57.js";import"../chunk-ek6n8gyv.js";import{nb as n8}from"../chunk-mhs8rp3d.js";import{pb as TR}from"../chunk-0wqf4729.js";import{rb as hF,sb as GD}from"../facades/index.js";import{Db as _}from"../http/index.js";import"../chunk-98e4g3z6.js";import"../chunk-0tsd6d6s.js";import{Wb as NF}from"../chunk-2myc2s6w.js";import{Xb as If,Yb as C}from"../chunk-vvdgy5ba.js";var WH=C((HJ,SH)=>{var lS=function f(h){return cS(h)&&!bS(h)};function cS(f){return!!f&&typeof f==="object"}function bS(f){var h=Object.prototype.toString.call(f);return h==="[object RegExp]"||h==="[object Date]"||kS(f)}var dS=typeof Symbol==="function"&&Symbol.for,rS=dS?Symbol.for("react.element"):60103;function kS(f){return f.$$typeof===rS}function xS(f){return Array.isArray(f)?[]:{}}function YR(f,h){return h.clone!==!1&&h.isMergeableObject(f)?Oh(xS(f),f,h):f}function _S(f,h,R){return f.concat(h).map(function(A){return YR(A,R)})}function aS(f,h){if(!h.customMerge)return Oh;var R=h.customMerge(f);return typeof R==="function"?R:Oh}function iS(f){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(f).filter(function(h){return Object.propertyIsEnumerable.call(f,h)}):[]}function NH(f){return Object.keys(f).concat(iS(f))}function GH(f,h){try{return h in f}catch(R){return!1}}function pS(f,h){return GH(f,h)&&!(Object.hasOwnProperty.call(f,h)&&Object.propertyIsEnumerable.call(f,h))}function eS(f,h,R){var A={};if(R.isMergeableObject(f))NH(f).forEach(function(P){A[P]=YR(f[P],R)});return NH(h).forEach(function(P){if(pS(f,P))return;if(GH(f,P)&&R.isMergeableObject(h[P]))A[P]=aS(P,R)(f[P],h[P],R);else A[P]=YR(h[P],R)}),A}function Oh(f,h,R){R=R||{},R.arrayMerge=R.arrayMerge||_S,R.isMergeableObject=R.isMergeableObject||lS,R.cloneUnlessOtherwiseSpecified=YR;var A=Array.isArray(h),P=Array.isArray(f),I=A===P;if(!I)return YR(h,R);else if(A)return R.arrayMerge(f,h,R);else return eS(f,h,R)}Oh.all=function f(h,R){if(!Array.isArray(h))throw new Error("first argument should be an array");return h.reduce(function(A,P){return Oh(A,P,R)},{})};var oS=Oh;SH.exports=oS});var A0=C((k6,vH)=>{function n(f){this.__parent=f,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}n.prototype.clone_empty=function(){var f=new n(this.__parent);return f.set_indent(this.__indent_count,this.__alignment_count),f};n.prototype.item=function(f){if(f<0)return this.__items[this.__items.length+f];else return this.__items[f]};n.prototype.has_match=function(f){for(var h=this.__items.length-1;h>=0;h--)if(this.__items[h].match(f))return!0;return!1};n.prototype.set_indent=function(f,h){if(this.is_empty())this.__indent_count=f||0,this.__alignment_count=h||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count)};n.prototype._set_wrap_point=function(){if(this.__parent.wrap_line_length)this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count};n.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count};n.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var f=this.__parent.current_line;if(f.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),f.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),f.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,f.__items[0]===" ")f.__items.splice(0,1),f.__character_count-=1;return!0}return!1};n.prototype.is_empty=function(){return this.__items.length===0};n.prototype.last=function(){if(!this.is_empty())return this.__items[this.__items.length-1];else return null};n.prototype.push=function(f){this.__items.push(f);var h=f.lastIndexOf("\n");if(h!==-1)this.__character_count=f.length-h;else this.__character_count+=f.length};n.prototype.pop=function(){var f=null;if(!this.is_empty())f=this.__items.pop(),this.__character_count-=f.length;return f};n.prototype._remove_indent=function(){if(this.__indent_count>0)this.__indent_count-=1,this.__character_count-=this.__parent.indent_size};n.prototype._remove_wrap_indent=function(){if(this.__wrap_point_indent_count>0)this.__wrap_point_indent_count-=1};n.prototype.trim=function(){while(this.last()===" ")this.__items.pop(),this.__character_count-=1};n.prototype.toString=function(){var f="";if(this.is_empty()){if(this.__parent.indent_empty_lines)f=this.__parent.get_indent_string(this.__indent_count)}else f=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),f+=this.__items.join("");return f};function DR(f,h){if(this.__cache=[""],this.__indent_size=f.indent_size,this.__indent_string=f.indent_char,!f.indent_with_tabs)this.__indent_string=new Array(f.indent_size+1).join(f.indent_char);if(h=h||"",f.indent_level>0)h=new Array(f.indent_level+1).join(this.__indent_string);this.__base_string=h,this.__base_string_length=h.length}DR.prototype.get_indent_size=function(f,h){var R=this.__base_string_length;if(h=h||0,f<0)R=0;return R+=f*this.__indent_size,R+=h,R};DR.prototype.get_indent_string=function(f,h){var R=this.__base_string;if(h=h||0,f<0)f=0,R="";return h+=f*this.__indent_size,this.__ensure_cache(h),R+=this.__cache[h],R};DR.prototype.__ensure_cache=function(f){while(f>=this.__cache.length)this.__add_column()};DR.prototype.__add_column=function(){var f=this.__cache.length,h=0,R="";if(this.__indent_size&&f>=this.__indent_size)h=Math.floor(f/this.__indent_size),f-=h*this.__indent_size,R=new Array(h+1).join(this.__indent_string);if(f)R+=new Array(f+1).join(" ");this.__cache.push(R)};function u(f,h){this.__indent_cache=new DR(f,h),this.raw=!1,this._end_with_newline=f.end_with_newline,this.indent_size=f.indent_size,this.wrap_line_length=f.wrap_line_length,this.indent_empty_lines=f.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new n(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}u.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)};u.prototype.get_line_number=function(){return this.__lines.length};u.prototype.get_indent_string=function(f,h){return this.__indent_cache.get_indent_string(f,h)};u.prototype.get_indent_size=function(f,h){return this.__indent_cache.get_indent_size(f,h)};u.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()};u.prototype.add_new_line=function(f){if(this.is_empty()||!f&&this.just_added_newline())return!1;if(!this.raw)this.__add_outputline();return!0};u.prototype.get_code=function(f){this.trim(!0);var h=this.current_line.pop();if(h){if(h[h.length-1]==="\n")h=h.replace(/\n+$/g,"");this.current_line.push(h)}if(this._end_with_newline)this.__add_outputline();var R=this.__lines.join("\n");if(f!=="\n")R=R.replace(/[\n]/g,f);return R};u.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()};u.prototype.set_indent=function(f,h){if(f=f||0,h=h||0,this.next_line.set_indent(f,h),this.__lines.length>1)return this.current_line.set_indent(f,h),!0;return this.current_line.set_indent(),!1};u.prototype.add_raw_token=function(f){for(var h=0;h<f.newlines;h++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(f.whitespace_before),this.current_line.push(f.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1};u.prototype.add_token=function(f){this.__add_space_before_token(),this.current_line.push(f),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()};u.prototype.__add_space_before_token=function(){if(this.space_before_token&&!this.just_added_newline()){if(!this.non_breaking_space)this.set_wrap_point();this.current_line.push(" ")}};u.prototype.remove_indent=function(f){var h=this.__lines.length;while(f<h)this.__lines[f]._remove_indent(),f++;this.current_line._remove_wrap_indent()};u.prototype.trim=function(f){f=f===void 0?!1:f,this.current_line.trim();while(f&&this.__lines.length>1&&this.current_line.is_empty())this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null};u.prototype.just_added_newline=function(){return this.current_line.is_empty()};u.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()};u.prototype.ensure_empty_line_above=function(f,h){var R=this.__lines.length-2;while(R>=0){var A=this.__lines[R];if(A.is_empty())break;else if(A.item(0).indexOf(f)!==0&&A.item(-1)!==h){this.__lines.splice(R+1,0,new n(this)),this.previous_line=this.__lines[this.__lines.length-2];break}R--}};k6.Output=u});var c1=C((a6,jH)=>{function _6(f,h,R,A){this.type=f,this.text=h,this.comments_before=null,this.newlines=R||0,this.whitespace_before=A||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}a6.Token=_6});var r1=C((o6)=>{var p6="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",mH="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",b1="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",OH="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",d1="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",sH="(?:"+d1+"|["+p6+b1+"])",e6="(?:"+d1+"|["+mH+b1+OH+"])*";o6.identifier=new RegExp(sH+e6,"g");o6.identifierStart=new RegExp(sH);o6.identifierMatch=new RegExp("(?:"+d1+"|["+mH+b1+OH+"])+");o6.newline=/[\n\r\u2028\u2029]/;o6.lineBreak=new RegExp("\r\n|"+o6.newline.source);o6.allLineBreaks=new RegExp(o6.lineBreak.source,"g")});var I0=C((hW,P0)=>{function nf(f,h){if(this.raw_options=cH(f,h),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),!this.preserve_newlines)this.max_preserve_newlines=0;if(this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char==="\t"),this.indent_with_tabs){if(this.indent_char="\t",this.indent_size===1)this.indent_size=4}this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}nf.prototype._get_array=function(f,h){var R=this.raw_options[f],A=h||[];if(typeof R==="object"){if(R!==null&&typeof R.concat==="function")A=R.concat()}else if(typeof R==="string")A=R.split(/[^a-zA-Z0-9_\/\-]+/);return A};nf.prototype._get_boolean=function(f,h){var R=this.raw_options[f],A=R===void 0?!!h:!!R;return A};nf.prototype._get_characters=function(f,h){var R=this.raw_options[f],A=h||"";if(typeof R==="string")A=R.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t");return A};nf.prototype._get_number=function(f,h){var R=this.raw_options[f];if(h=parseInt(h,10),isNaN(h))h=0;var A=parseInt(R,10);if(isNaN(A))A=h;return A};nf.prototype._get_selection=function(f,h,R){var A=this._get_selection_list(f,h,R);if(A.length!==1)throw new Error("Invalid Option Value: The option '"+f+"' can only be one of the following values:\n"+h+"\nYou passed in: '"+this.raw_options[f]+"'");return A[0]};nf.prototype._get_selection_list=function(f,h,R){if(!h||h.length===0)throw new Error("Selection list cannot be empty.");if(R=R||[h[0]],!this._is_valid_selection(R,h))throw new Error("Invalid Default Value!");var A=this._get_array(f,R);if(!this._is_valid_selection(A,h))throw new Error("Invalid Option Value: The option '"+f+"' can contain only the following values:\n"+h+"\nYou passed in: '"+this.raw_options[f]+"'");return A};nf.prototype._is_valid_selection=function(f,h){return f.length&&h.length&&!f.some(function(R){return h.indexOf(R)===-1})};function cH(f,h){var R={};f=bH(f);var A;for(A in f)if(A!==h)R[A]=f[A];if(h&&f[h])for(A in f[h])R[A]=f[h][A];return R}function bH(f){var h={},R;for(R in f){var A=R.replace(/-/g,"_");h[A]=f[R]}return h}hW.Options=nf;hW.normalizeOpts=bH;hW.mergeOpts=cH});var k1=C(($W,kH)=>{var dH=I0().Options,IW=["before-newline","after-newline","preserve-newline"];function rH(f){dH.call(this,f,"js");var h=this.raw_options.brace_style||null;if(h==="expand-strict")this.raw_options.brace_style="expand";else if(h==="collapse-preserve-inline")this.raw_options.brace_style="collapse,preserve-inline";else if(this.raw_options.braces_on_own_line!==void 0)this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse";var R=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var A=0;A<R.length;A++)if(R[A]==="preserve-inline")this.brace_preserve_inline=!0;else this.brace_style=R[A];if(this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",IW),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy)this.space_after_anon_function=!0}rH.prototype=new dH;$W.Options=rH});var $0=C((UW,_H)=>{var xH=RegExp.prototype.hasOwnProperty("sticky");function hf(f){this.__input=f||"",this.__input_length=this.__input.length,this.__position=0}hf.prototype.restart=function(){this.__position=0};hf.prototype.back=function(){if(this.__position>0)this.__position-=1};hf.prototype.hasNext=function(){return this.__position<this.__input_length};hf.prototype.next=function(){var f=null;if(this.hasNext())f=this.__input.charAt(this.__position),this.__position+=1;return f};hf.prototype.peek=function(f){var h=null;if(f=f||0,f+=this.__position,f>=0&&f<this.__input_length)h=this.__input.charAt(f);return h};hf.prototype.__match=function(f,h){f.lastIndex=h;var R=f.exec(this.__input);if(R&&!(xH&&f.sticky)){if(R.index!==h)R=null}return R};hf.prototype.test=function(f,h){if(h=h||0,h+=this.__position,h>=0&&h<this.__input_length)return!!this.__match(f,h);else return!1};hf.prototype.testChar=function(f,h){var R=this.peek(h);return f.lastIndex=0,R!==null&&f.test(R)};hf.prototype.match=function(f){var h=this.__match(f,this.__position);if(h)this.__position+=h[0].length;else h=null;return h};hf.prototype.read=function(f,h,R){var A="",P;if(f){if(P=this.match(f),P)A+=P[0]}if(h&&(P||!f))A+=this.readUntil(h,R);return A};hf.prototype.readUntil=function(f,h){var R="",A=this.__position;f.lastIndex=this.__position;var P=f.exec(this.__input);if(P){if(A=P.index,h)A+=P[0].length}else A=this.__input_length;return R=this.__input.substring(this.__position,A),this.__position=A,R};hf.prototype.readUntilAfter=function(f){return this.readUntil(f,!0)};hf.prototype.get_regexp=function(f,h){var R=null,A="g";if(h&&xH)A="y";if(typeof f==="string"&&f!=="")R=new RegExp(f,A);else if(f)R=new RegExp(f.source,A);return R};hf.prototype.get_literal_regexp=function(f){return RegExp(f.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))};hf.prototype.peekUntilAfter=function(f){var h=this.__position,R=this.readUntilAfter(f);return this.__position=h,R};hf.prototype.lookBack=function(f){var h=this.__position-1;return h>=f.length&&this.__input.substring(h-f.length,h).toLowerCase()===f};UW.InputScanner=hf});var iH=C((FW,aH)=>{function Eh(f){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=f}Eh.prototype.restart=function(){this.__position=0};Eh.prototype.isEmpty=function(){return this.__tokens_length===0};Eh.prototype.hasNext=function(){return this.__position<this.__tokens_length};Eh.prototype.next=function(){var f=null;if(this.hasNext())f=this.__tokens[this.__position],this.__position+=1;return f};Eh.prototype.peek=function(f){var h=null;if(f=f||0,f+=this.__position,f>=0&&f<this.__tokens_length)h=this.__tokens[f];return h};Eh.prototype.add=function(f){if(this.__parent_token)f.parent=this.__parent_token;this.__tokens.push(f),this.__tokens_length+=1};FW.TokenStream=Eh});var MR=C((NW,pH)=>{function Bf(f,h){if(this._input=f,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,h)this._starting_pattern=this._input.get_regexp(h._starting_pattern,!0),this._match_pattern=this._input.get_regexp(h._match_pattern,!0),this._until_pattern=this._input.get_regexp(h._until_pattern),this._until_after=h._until_after}Bf.prototype.read=function(){var f=this._input.read(this._starting_pattern);if(!this._starting_pattern||f)f+=this._input.read(this._match_pattern,this._until_pattern,this._until_after);return f};Bf.prototype.read_match=function(){return this._input.match(this._match_pattern)};Bf.prototype.until_after=function(f){var h=this._create();return h._until_after=!0,h._until_pattern=this._input.get_regexp(f),h._update(),h};Bf.prototype.until=function(f){var h=this._create();return h._until_after=!1,h._until_pattern=this._input.get_regexp(f),h._update(),h};Bf.prototype.starting_with=function(f){var h=this._create();return h._starting_pattern=this._input.get_regexp(f,!0),h._update(),h};Bf.prototype.matching=function(f){var h=this._create();return h._match_pattern=this._input.get_regexp(f,!0),h._update(),h};Bf.prototype._create=function(){return new Bf(this._input,this)};Bf.prototype._update=function(){};NW.Pattern=Bf});var nH=C((SW,oH)=>{var eH=MR().Pattern;function uf(f,h){if(eH.call(this,f,h),h)this._line_regexp=this._input.get_regexp(h._line_regexp);else this.__set_whitespace_patterns("","");this.newline_count=0,this.whitespace_before_token=""}uf.prototype=new eH;uf.prototype.__set_whitespace_patterns=function(f,h){f+="\\t ",h+="\\n\\r",this._match_pattern=this._input.get_regexp("["+f+h+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+h+"]")};uf.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var f=this._input.read(this._match_pattern);if(f===" ")this.whitespace_before_token=" ";else if(f){var h=this.__split(this._newline_regexp,f);this.newline_count=h.length-1,this.whitespace_before_token=h[this.newline_count]}return f};uf.prototype.matching=function(f,h){var R=this._create();return R.__set_whitespace_patterns(f,h),R._update(),R};uf.prototype._create=function(){return new uf(this._input,this)};uf.prototype.__split=function(f,h){f.lastIndex=0;var R=0,A=[],P=f.exec(h);while(P)A.push(h.substring(R,P.index)),R=P.index+P[0].length,P=f.exec(h);if(R<h.length)A.push(h.substring(R,h.length));else A.push("");return A};SW.WhitespacePattern=uf});var XR=C((MW,_1)=>{var YW=$0().InputScanner,uH=c1().Token,x1=iH().TokenStream,DW=nH().WhitespacePattern,VR={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},Tf=function(f,h){this._input=new YW(f),this._options=h||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new DW(this._input)};Tf.prototype.tokenize=function(){this._input.restart(),this.__tokens=new x1,this._reset();var f,h=new uH(VR.START,""),R=null,A=[],P=new x1;while(h.type!==VR.EOF){f=this._get_next_token(h,R);while(this._is_comment(f))P.add(f),f=this._get_next_token(h,R);if(!P.isEmpty())f.comments_before=P,P=new x1;if(f.parent=R,this._is_opening(f))A.push(R),R=f;else if(R&&this._is_closing(f,R))f.opened=R,R.closed=f,R=A.pop(),f.parent=R;f.previous=h,h.next=f,this.__tokens.add(f),h=f}return this.__tokens};Tf.prototype._is_first_token=function(){return this.__tokens.isEmpty()};Tf.prototype._reset=function(){};Tf.prototype._get_next_token=function(f,h){this._readWhitespace();var R=this._input.read(/.+/g);if(R)return this._create_token(VR.RAW,R);else return this._create_token(VR.EOF,"")};Tf.prototype._is_comment=function(f){return!1};Tf.prototype._is_opening=function(f){return!1};Tf.prototype._is_closing=function(f,h){return!1};Tf.prototype._create_token=function(f,h){var R=new uH(f,h,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return R};Tf.prototype._readWhitespace=function(){return this._patterns.whitespace.read()};MW.Tokenizer=Tf;MW.TOKEN=VR});var w0=C((ZW,tH)=>{function a1(f,h){f=typeof f==="string"?f:f.source,h=typeof h==="string"?h:h.source,this.__directives_block_pattern=new RegExp(f+/ beautify( \w+[:]\w+)+ /.source+h,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(f+/\sbeautify\signore:end\s/.source+h,"g")}a1.prototype.get_directives=function(f){if(!f.match(this.__directives_block_pattern))return null;var h={};this.__directive_pattern.lastIndex=0;var R=this.__directive_pattern.exec(f);while(R)h[R[1]]=R[2],R=this.__directive_pattern.exec(f);return h};a1.prototype.readIgnored=function(f){return f.readUntilAfter(this.__directives_end_ignore_pattern)};ZW.Directives=a1});var e1=C((JW,f8)=>{var i1=MR().Pattern,p1={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function gf(f,h){if(i1.call(this,f,h),this.__template_pattern=null,this._disabled=Object.assign({},p1),this._excluded=Object.assign({},p1),h)this.__template_pattern=this._input.get_regexp(h.__template_pattern),this._excluded=Object.assign(this._excluded,h._excluded),this._disabled=Object.assign(this._disabled,h._disabled);var R=new i1(f);this.__patterns={handlebars_comment:R.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:R.starting_with(/{{{/).until_after(/}}}/),handlebars:R.starting_with(/{{/).until_after(/}}/),php:R.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:R.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:R.starting_with(/{%/).until_after(/%}/),django_value:R.starting_with(/{{/).until_after(/}}/),django_comment:R.starting_with(/{#/).until_after(/#}/),smarty:R.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:R.starting_with(/{\*/).until_after(/\*}/),smarty_literal:R.starting_with(/{literal}/).until_after(/{\/literal}/)}}gf.prototype=new i1;gf.prototype._create=function(){return new gf(this._input,this)};gf.prototype._update=function(){this.__set_templated_pattern()};gf.prototype.disable=function(f){var h=this._create();return h._disabled[f]=!0,h._update(),h};gf.prototype.read_options=function(f){var h=this._create();for(var R in p1)h._disabled[R]=f.templating.indexOf(R)===-1;return h._update(),h};gf.prototype.exclude=function(f){var h=this._create();return h._excluded[f]=!0,h._update(),h};gf.prototype.read=function(){var f="";if(this._match_pattern)f=this._input.read(this._starting_pattern);else f=this._input.read(this._starting_pattern,this.__template_pattern);var h=this._read_template();while(h){if(this._match_pattern)h+=this._input.read(this._match_pattern);else h+=this._input.readUntil(this.__template_pattern);f+=h,h=this._read_template()}if(this._until_after)f+=this._input.readUntilAfter(this._until_pattern);return f};gf.prototype.__set_templated_pattern=function(){var f=[];if(!this._disabled.php)f.push(this.__patterns.php._starting_pattern.source);if(!this._disabled.handlebars)f.push(this.__patterns.handlebars._starting_pattern.source);if(!this._disabled.erb)f.push(this.__patterns.erb._starting_pattern.source);if(!this._disabled.django)f.push(this.__patterns.django._starting_pattern.source),f.push(this.__patterns.django_value._starting_pattern.source),f.push(this.__patterns.django_comment._starting_pattern.source);if(!this._disabled.smarty)f.push(this.__patterns.smarty._starting_pattern.source);if(this._until_pattern)f.push(this._until_pattern.source);this.__template_pattern=this._input.get_regexp("(?:"+f.join("|")+")")};gf.prototype._read_template=function(){var f="",h=this._input.peek();if(h==="<"){var R=this._input.peek(1);if(!this._disabled.php&&!this._excluded.php&&R==="?")f=f||this.__patterns.php.read();if(!this._disabled.erb&&!this._excluded.erb&&R==="%")f=f||this.__patterns.erb.read()}else if(h==="{"){if(!this._disabled.handlebars&&!this._excluded.handlebars)f=f||this.__patterns.handlebars_comment.read(),f=f||this.__patterns.handlebars_unescaped.read(),f=f||this.__patterns.handlebars.read();if(!this._disabled.django){if(!this._excluded.django&&!this._excluded.handlebars)f=f||this.__patterns.django_value.read();if(!this._excluded.django)f=f||this.__patterns.django_comment.read(),f=f||this.__patterns.django.read()}if(!this._disabled.smarty){if(this._disabled.django&&this._disabled.handlebars)f=f||this.__patterns.smarty_comment.read(),f=f||this.__patterns.smarty_literal.read(),f=f||this.__patterns.smarty.read()}}return f};JW.TemplatablePattern=gf});var zR=C((CW,ZR)=>{var QW=$0().InputScanner,R8=XR().Tokenizer,o1=XR().TOKEN,gW=w0().Directives,Vf=r1(),qW=MR().Pattern,yW=e1().TemplatablePattern;function n1(f,h){return h.indexOf(f)!==-1}var Y={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:o1.START,RAW:o1.RAW,EOF:o1.EOF},h8=new gW(/\/\*/,/\*\//),BW=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,TW=/[0-9]/,KW=/[^\d\.]/,vW=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),Nh=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";Nh=Nh.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&");Nh="\\?\\.(?!\\d) "+Nh;Nh=Nh.replace(/ /g,"|");var jW=new RegExp(Nh),A8="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),mW=A8.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),OW=new RegExp("^(?:"+mW.join("|")+")$"),U0,t=function(f,h){R8.call(this,f,h),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var R=new qW(this._input),A=new yW(this._input).read_options(this._options);this.__patterns={template:A,identifier:A.starting_with(Vf.identifier).matching(Vf.identifierMatch),number:R.matching(BW),punct:R.matching(jW),comment:R.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:R.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:R.matching(/<!--/),html_comment_end:R.matching(/-->/),include:R.starting_with(/#include/).until_after(Vf.lineBreak),shebang:R.starting_with(/#!/).until_after(Vf.lineBreak),xml:R.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:A.until(/['\\\n\r\u2028\u2029]/),double_quote:A.until(/["\\\n\r\u2028\u2029]/),template_text:A.until(/[`\\$]/),template_expression:A.until(/[`}\\]/)}};t.prototype=new R8;t.prototype._is_comment=function(f){return f.type===Y.COMMENT||f.type===Y.BLOCK_COMMENT||f.type===Y.UNKNOWN};t.prototype._is_opening=function(f){return f.type===Y.START_BLOCK||f.type===Y.START_EXPR};t.prototype._is_closing=function(f,h){return(f.type===Y.END_BLOCK||f.type===Y.END_EXPR)&&(h&&(f.text==="]"&&h.text==="["||f.text===")"&&h.text==="("||f.text==="}"&&h.text==="{"))};t.prototype._reset=function(){U0=!1};t.prototype._get_next_token=function(f,h){var R=null;this._readWhitespace();var A=this._input.peek();if(A===null)return this._create_token(Y.EOF,"");return R=R||this._read_non_javascript(A),R=R||this._read_string(A),R=R||this._read_pair(A,this._input.peek(1)),R=R||this._read_word(f),R=R||this._read_singles(A),R=R||this._read_comment(A),R=R||this._read_regexp(A,f),R=R||this._read_xml(A,f),R=R||this._read_punctuation(),R=R||this._create_token(Y.UNKNOWN,this._input.next()),R};t.prototype._read_word=function(f){var h=this.__patterns.identifier.read();if(h!==""){if(h=h.replace(Vf.allLineBreaks,"\n"),!(f.type===Y.DOT||f.type===Y.RESERVED&&(f.text==="set"||f.text==="get"))&&OW.test(h)){if((h==="in"||h==="of")&&(f.type===Y.WORD||f.type===Y.STRING))return this._create_token(Y.OPERATOR,h);return this._create_token(Y.RESERVED,h)}return this._create_token(Y.WORD,h)}if(h=this.__patterns.number.read(),h!=="")return this._create_token(Y.WORD,h)};t.prototype._read_singles=function(f){var h=null;if(f==="("||f==="[")h=this._create_token(Y.START_EXPR,f);else if(f===")"||f==="]")h=this._create_token(Y.END_EXPR,f);else if(f==="{")h=this._create_token(Y.START_BLOCK,f);else if(f==="}")h=this._create_token(Y.END_BLOCK,f);else if(f===";")h=this._create_token(Y.SEMICOLON,f);else if(f==="."&&KW.test(this._input.peek(1)))h=this._create_token(Y.DOT,f);else if(f===",")h=this._create_token(Y.COMMA,f);if(h)this._input.next();return h};t.prototype._read_pair=function(f,h){var R=null;if(f==="#"&&h==="{")R=this._create_token(Y.START_BLOCK,f+h);if(R)this._input.next(),this._input.next();return R};t.prototype._read_punctuation=function(){var f=this.__patterns.punct.read();if(f!=="")if(f==="=")return this._create_token(Y.EQUALS,f);else if(f==="?.")return this._create_token(Y.DOT,f);else return this._create_token(Y.OPERATOR,f)};t.prototype._read_non_javascript=function(f){var h="";if(f==="#"){if(this._is_first_token()){if(h=this.__patterns.shebang.read(),h)return this._create_token(Y.UNKNOWN,h.trim()+"\n")}if(h=this.__patterns.include.read(),h)return this._create_token(Y.UNKNOWN,h.trim()+"\n");f=this._input.next();var R="#";if(this._input.hasNext()&&this._input.testChar(TW)){do f=this._input.next(),R+=f;while(this._input.hasNext()&&f!=="#"&&f!=="=");if(f==="#");else if(this._input.peek()==="["&&this._input.peek(1)==="]")R+="[]",this._input.next(),this._input.next();else if(this._input.peek()==="{"&&this._input.peek(1)==="}")R+="{}",this._input.next(),this._input.next();return this._create_token(Y.WORD,R)}this._input.back()}else if(f==="<"&&this._is_first_token()){if(h=this.__patterns.html_comment_start.read(),h){while(this._input.hasNext()&&!this._input.testChar(Vf.newline))h+=this._input.next();return U0=!0,this._create_token(Y.COMMENT,h)}}else if(U0&&f==="-"){if(h=this.__patterns.html_comment_end.read(),h)return U0=!1,this._create_token(Y.COMMENT,h)}return null};t.prototype._read_comment=function(f){var h=null;if(f==="/"){var R="";if(this._input.peek(1)==="*"){R=this.__patterns.block_comment.read();var A=h8.get_directives(R);if(A&&A.ignore==="start")R+=h8.readIgnored(this._input);R=R.replace(Vf.allLineBreaks,"\n"),h=this._create_token(Y.BLOCK_COMMENT,R),h.directives=A}else if(this._input.peek(1)==="/")R=this.__patterns.comment.read(),h=this._create_token(Y.COMMENT,R)}return h};t.prototype._read_string=function(f){if(f==="`"||f==="'"||f==='"'){var h=this._input.next();if(this.has_char_escapes=!1,f==="`")h+=this._read_string_recursive("`",!0,"${");else h+=this._read_string_recursive(f);if(this.has_char_escapes&&this._options.unescape_strings)h=sW(h);if(this._input.peek()===f)h+=this._input.next();return h=h.replace(Vf.allLineBreaks,"\n"),this._create_token(Y.STRING,h)}return null};t.prototype._allow_regexp_or_xml=function(f){return f.type===Y.RESERVED&&n1(f.text,["return","case","throw","else","do","typeof","yield"])||f.type===Y.END_EXPR&&f.text===")"&&f.opened.previous.type===Y.RESERVED&&n1(f.opened.previous.text,["if","while","for"])||n1(f.type,[Y.COMMENT,Y.START_EXPR,Y.START_BLOCK,Y.START,Y.END_BLOCK,Y.OPERATOR,Y.EQUALS,Y.EOF,Y.SEMICOLON,Y.COMMA])};t.prototype._read_regexp=function(f,h){if(f==="/"&&this._allow_regexp_or_xml(h)){var R=this._input.next(),A=!1,P=!1;while(this._input.hasNext()&&((A||P||this._input.peek()!==f)&&!this._input.testChar(Vf.newline))){if(R+=this._input.peek(),!A){if(A=this._input.peek()==="\\",this._input.peek()==="[")P=!0;else if(this._input.peek()==="]")P=!1}else A=!1;this._input.next()}if(this._input.peek()===f)R+=this._input.next(),R+=this._input.read(Vf.identifier);return this._create_token(Y.STRING,R)}return null};t.prototype._read_xml=function(f,h){if(this._options.e4x&&f==="<"&&this._allow_regexp_or_xml(h)){var R="",A=this.__patterns.xml.read_match();if(A){var P=A[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),I=P.indexOf("{")===0,$=0;while(A){var w=!!A[1],U=A[2],F=!!A[A.length-1]||U.slice(0,8)==="![CDATA[";if(!F&&(U===P||I&&U.replace(/^{\s+/,"{").replace(/\s+}$/,"}")))if(w)--$;else++$;if(R+=A[0],$<=0)break;A=this.__patterns.xml.read_match()}if(!A)R+=this._input.match(/[\s\S]*/g)[0];return R=R.replace(Vf.allLineBreaks,"\n"),this._create_token(Y.STRING,R)}}return null};function sW(f){var h="",R=0,A=new QW(f),P=null;while(A.hasNext()){if(P=A.match(/([\s]|[^\\]|\\\\)+/g),P)h+=P[0];if(A.peek()==="\\"){if(A.next(),A.peek()==="x")P=A.match(/x([0-9A-Fa-f]{2})/g);else if(A.peek()==="u"){if(P=A.match(/u([0-9A-Fa-f]{4})/g),!P)P=A.match(/u\{([0-9A-Fa-f]+)\}/g)}else{if(h+="\\",A.hasNext())h+=A.next();continue}if(!P)return f;if(R=parseInt(P[1],16),R>126&&R<=255&&P[0].indexOf("x")===0)return f;else if(R>=0&&R<32)h+="\\"+P[0];else if(R>1114111)h+="\\"+P[0];else if(R===34||R===39||R===92)h+="\\"+String.fromCharCode(R);else h+=String.fromCharCode(R)}}return h}t.prototype._read_string_recursive=function(f,h,R){var A,P;if(f==="\'")P=this.__patterns.single_quote;else if(f==='"')P=this.__patterns.double_quote;else if(f==="`")P=this.__patterns.template_text;else if(f==="}")P=this.__patterns.template_expression;var I=P.read(),$="";while(this._input.hasNext()){if($=this._input.next(),$===f||!h&&Vf.newline.test($)){this._input.back();break}else if($==="\\"&&this._input.hasNext()){if(A=this._input.peek(),A==="x"||A==="u")this.has_char_escapes=!0;else if(A==="\r"&&this._input.peek(1)==="\n")this._input.next();$+=this._input.next()}else if(R){if(R==="${"&&$==="$"&&this._input.peek()==="{")$+=this._input.next();if(R===$){if(f==="`")$+=this._read_string_recursive("}",h,"`");else $+=this._read_string_recursive("`",h,"${");if(this._input.hasNext())$+=this._input.next()}}$+=P.read(),I+=$}return I};CW.Tokenizer=t;CW.TOKEN=Y;CW.positionable_operators=vW.slice();CW.line_starters=A8.slice()});var w8=C((uW,$8)=>{var rW=A0().Output,kW=c1().Token,H0=r1(),xW=k1().Options,_W=zR().Tokenizer,gR=zR().line_starters,JR=zR().positionable_operators,H=zR().TOKEN;function Z(f,h){return h.indexOf(f)!==-1}function aW(f){return f.replace(/^\s+/g,"")}function iW(f){var h={};for(var R=0;R<f.length;R++)h[f[R].replace(/-/g,"_")]=f[R];return h}function Xf(f,h){return f&&f.type===H.RESERVED&&f.text===h}function j(f,h){return f&&f.type===H.RESERVED&&Z(f.text,h)}var F0=["case","return","do","if","throw","else","await","break","continue","async"],pW=["before-newline","after-newline","preserve-newline"],LR=iW(pW),P8=[LR.before_newline,LR.preserve_newline],D={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function I8(f,h){if(h.multiline_frame||h.mode===D.ForInitializer||h.mode===D.Conditional)return;f.remove_indent(h.start_line_index)}function eW(f){f=f.replace(H0.allLineBreaks,"\n");var h=[],R=f.indexOf("\n");while(R!==-1)h.push(f.substring(0,R)),f=f.substring(R+1),R=f.indexOf("\n");if(f.length)h.push(f);return h}function tf(f){return f===D.ArrayLiteral}function QR(f){return Z(f,[D.Expression,D.ForInitializer,D.Conditional])}function oW(f,h){for(var R=0;R<f.length;R++){var A=f[R].trim();if(A.charAt(0)!==h)return!1}return!0}function nW(f,h){var R=0,A=f.length,P;for(;R<A;R++)if(P=f[R],P&&P.indexOf(h)!==0)return!1;return!0}function q(f,h){h=h||{},this._source_text=f||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new xW(h)}q.prototype.create_flags=function(f,h){var R=0;if(f){if(R=f.indentation_level,!this._output.just_added_newline()&&f.line_indent_level>R)R=f.line_indent_level}var A={mode:h,parent:f,last_token:f?f.last_token:new kW(H.START_BLOCK,""),last_word:f?f.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:R,alignment:0,line_indent_level:f?f.line_indent_level:R,start_line_index:this._output.get_line_number(),ternary_depth:0};return A};q.prototype._reset=function(f){var h=f.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new rW(this._options,h),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(D.BlockStatement);var R=new _W(f,this._options);return this._tokens=R.tokenize(),f};q.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var f,h=this._reset(this._source_text),R=this._options.eol;if(this._options.eol==="auto"){if(R="\n",h&&H0.lineBreak.test(h||""))R=h.match(H0.lineBreak)[0]}var A=this._tokens.next();while(A)this.handle_token(A),this._last_last_text=this._flags.last_token.text,this._flags.last_token=A,A=this._tokens.next();return f=this._output.get_code(R),f};q.prototype.handle_token=function(f,h){if(f.type===H.START_EXPR)this.handle_start_expr(f);else if(f.type===H.END_EXPR)this.handle_end_expr(f);else if(f.type===H.START_BLOCK)this.handle_start_block(f);else if(f.type===H.END_BLOCK)this.handle_end_block(f);else if(f.type===H.WORD)this.handle_word(f);else if(f.type===H.RESERVED)this.handle_word(f);else if(f.type===H.SEMICOLON)this.handle_semicolon(f);else if(f.type===H.STRING)this.handle_string(f);else if(f.type===H.EQUALS)this.handle_equals(f);else if(f.type===H.OPERATOR)this.handle_operator(f);else if(f.type===H.COMMA)this.handle_comma(f);else if(f.type===H.BLOCK_COMMENT)this.handle_block_comment(f,h);else if(f.type===H.COMMENT)this.handle_comment(f,h);else if(f.type===H.DOT)this.handle_dot(f);else if(f.type===H.EOF)this.handle_eof(f);else if(f.type===H.UNKNOWN)this.handle_unknown(f,h);else this.handle_unknown(f,h)};q.prototype.handle_whitespace_and_comments=function(f,h){var R=f.newlines,A=this._options.keep_array_indentation&&tf(this._flags.mode);if(f.comments_before){var P=f.comments_before.next();while(P)this.handle_whitespace_and_comments(P,h),this.handle_token(P,h),P=f.comments_before.next()}if(A)for(var I=0;I<R;I+=1)this.print_newline(I>0,h);else{if(this._options.max_preserve_newlines&&R>this._options.max_preserve_newlines)R=this._options.max_preserve_newlines;if(this._options.preserve_newlines){if(R>1){this.print_newline(!1,h);for(var $=1;$<R;$+=1)this.print_newline(!0,h)}}}};var u1=["async","break","continue","return","throw","yield"];q.prototype.allow_wrap_or_preserved_newline=function(f,h){if(h=h===void 0?!1:h,this._output.just_added_newline())return;var R=this._options.preserve_newlines&&f.newlines||h,A=Z(this._flags.last_token.text,JR)||Z(f.text,JR);if(A){var P=Z(this._flags.last_token.text,JR)&&Z(this._options.operator_position,P8)||Z(f.text,JR);R=R&&P}if(R)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(j(this._flags.last_token,u1))return;this._output.set_wrap_point()}};q.prototype.print_newline=function(f,h){if(!h){if(this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==H.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")){var R=this._tokens.peek();while(this._flags.mode===D.Statement&&!(this._flags.if_block&&Xf(R,"else"))&&!this._flags.do_block)this.restore_mode()}}if(this._output.add_new_line(f))this._flags.multiline_frame=!0};q.prototype.print_token_line_indentation=function(f){if(this._output.just_added_newline()){if(this._options.keep_array_indentation&&f.newlines&&(f.text==="["||tf(this._flags.mode)))this._output.current_line.set_indent(-1),this._output.current_line.push(f.whitespace_before),this._output.space_before_token=!1;else if(this._output.set_indent(this._flags.indentation_level,this._flags.alignment))this._flags.line_indent_level=this._flags.indentation_level}};q.prototype.print_token=function(f){if(this._output.raw){this._output.add_raw_token(f);return}if(this._options.comma_first&&f.previous&&f.previous.type===H.COMMA&&this._output.just_added_newline()){if(this._output.previous_line.last()===","){var h=this._output.previous_line.pop();if(this._output.previous_line.is_empty())this._output.previous_line.push(h),this._output.trim(!0),this._output.current_line.pop(),this._output.trim();this.print_token_line_indentation(f),this._output.add_token(","),this._output.space_before_token=!0}}if(this.print_token_line_indentation(f),this._output.non_breaking_space=!0,this._output.add_token(f.text),this._output.previous_token_wrapped)this._flags.multiline_frame=!0};q.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};q.prototype.deindent=function(){if(this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level))this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};q.prototype.set_mode=function(f){if(this._flags)this._flag_store.push(this._flags),this._previous_flags=this._flags;else this._previous_flags=this.create_flags(null,f);this._flags=this.create_flags(this._previous_flags,f),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};q.prototype.restore_mode=function(){if(this._flag_store.length>0){if(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===D.Statement)I8(this._output,this._previous_flags);this._output.set_indent(this._flags.indentation_level,this._flags.alignment)}};q.prototype.start_of_object_property=function(){return this._flags.parent.mode===D.ObjectLiteral&&this._flags.mode===D.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||j(this._flags.last_token,["get","set"]))};q.prototype.start_of_statement=function(f){var h=!1;if(h=h||j(this._flags.last_token,["var","let","const"])&&f.type===H.WORD,h=h||Xf(this._flags.last_token,"do"),h=h||!(this._flags.parent.mode===D.ObjectLiteral&&this._flags.mode===D.Statement)&&j(this._flags.last_token,u1)&&!f.newlines,h=h||Xf(this._flags.last_token,"else")&&!(Xf(f,"if")&&!f.comments_before),h=h||this._flags.last_token.type===H.END_EXPR&&(this._previous_flags.mode===D.ForInitializer||this._previous_flags.mode===D.Conditional),h=h||this._flags.last_token.type===H.WORD&&this._flags.mode===D.BlockStatement&&!this._flags.in_case&&!(f.text==="--"||f.text==="++")&&this._last_last_text!=="function"&&f.type!==H.WORD&&f.type!==H.RESERVED,h=h||this._flags.mode===D.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||j(this._flags.last_token,["get","set"])),h){if(this.set_mode(D.Statement),this.indent(),this.handle_whitespace_and_comments(f,!0),!this.start_of_object_property())this.allow_wrap_or_preserved_newline(f,j(f,["do","for","if","while"]));return!0}return!1};q.prototype.handle_start_expr=function(f){if(!this.start_of_statement(f))this.handle_whitespace_and_comments(f);var h=D.Expression;if(f.text==="["){if(this._flags.last_token.type===H.WORD||this._flags.last_token.text===")"){if(j(this._flags.last_token,gR))this._output.space_before_token=!0;if(this.print_token(f),this.set_mode(h),this.indent(),this._options.space_in_paren)this._output.space_before_token=!0;return}if(h=D.ArrayLiteral,tf(this._flags.mode)){if(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}")){if(!this._options.keep_array_indentation)this.print_newline()}}if(!Z(this._flags.last_token.type,[H.START_EXPR,H.END_EXPR,H.WORD,H.OPERATOR,H.DOT]))this._output.space_before_token=!0}else{if(this._flags.last_token.type===H.RESERVED){if(this._flags.last_token.text==="for")this._output.space_before_token=this._options.space_before_conditional,h=D.ForInitializer;else if(Z(this._flags.last_token.text,["if","while","switch"]))this._output.space_before_token=this._options.space_before_conditional,h=D.Conditional;else if(Z(this._flags.last_word,["await","async"]))this._output.space_before_token=!0;else if(this._flags.last_token.text==="import"&&f.whitespace_before==="")this._output.space_before_token=!1;else if(Z(this._flags.last_token.text,gR)||this._flags.last_token.text==="catch")this._output.space_before_token=!0}else if(this._flags.last_token.type===H.EQUALS||this._flags.last_token.type===H.OPERATOR){if(!this.start_of_object_property())this.allow_wrap_or_preserved_newline(f)}else if(this._flags.last_token.type===H.WORD){this._output.space_before_token=!1;var R=this._tokens.peek(-3);if(this._options.space_after_named_function&&R){var A=this._tokens.peek(-4);if(j(R,["async","function"])||R.text==="*"&&j(A,["async","function"]))this._output.space_before_token=!0;else if(this._flags.mode===D.ObjectLiteral){if(R.text==="{"||R.text===","||R.text==="*"&&(A.text==="{"||A.text===","))this._output.space_before_token=!0}else if(this._flags.parent&&this._flags.parent.class_start_block)this._output.space_before_token=!0}}else this.allow_wrap_or_preserved_newline(f);if(this._flags.last_token.type===H.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(Z(this._last_last_text,["function","yield"])||this._flags.mode===D.ObjectLiteral&&Z(this._last_last_text,["{",","])))this._output.space_before_token=this._options.space_after_anon_function}if(this._flags.last_token.text===";"||this._flags.last_token.type===H.START_BLOCK)this.print_newline();else if(this._flags.last_token.type===H.END_EXPR||this._flags.last_token.type===H.START_EXPR||this._flags.last_token.type===H.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===H.COMMA)this.allow_wrap_or_preserved_newline(f,f.newlines);if(this.print_token(f),this.set_mode(h),this._options.space_in_paren)this._output.space_before_token=!0;this.indent()};q.prototype.handle_end_expr=function(f){while(this._flags.mode===D.Statement)this.restore_mode();if(this.handle_whitespace_and_comments(f),this._flags.multiline_frame)this.allow_wrap_or_preserved_newline(f,f.text==="]"&&tf(this._flags.mode)&&!this._options.keep_array_indentation);if(this._options.space_in_paren)if(this._flags.last_token.type===H.START_EXPR&&!this._options.space_in_empty_paren)this._output.trim(),this._output.space_before_token=!1;else this._output.space_before_token=!0;if(this.deindent(),this.print_token(f),this.restore_mode(),I8(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===D.Conditional)this._previous_flags.mode=D.Expression,this._flags.do_block=!1,this._flags.do_while=!1};q.prototype.handle_start_block=function(f){this.handle_whitespace_and_comments(f);var h=this._tokens.peek(),R=this._tokens.peek(1);if(this._flags.last_word==="switch"&&this._flags.last_token.type===H.END_EXPR)this.set_mode(D.BlockStatement),this._flags.in_case_statement=!0;else if(this._flags.case_body)this.set_mode(D.BlockStatement);else if(R&&(Z(R.text,[":",","])&&Z(h.type,[H.STRING,H.WORD,H.RESERVED])||Z(h.text,["get","set","..."])&&Z(R.type,[H.WORD,H.RESERVED])))if(Z(this._last_last_text,["class","interface"])&&!Z(R.text,[":",","]))this.set_mode(D.BlockStatement);else this.set_mode(D.ObjectLiteral);else if(this._flags.last_token.type===H.OPERATOR&&this._flags.last_token.text==="=>")this.set_mode(D.BlockStatement);else if(Z(this._flags.last_token.type,[H.EQUALS,H.START_EXPR,H.COMMA,H.OPERATOR])||j(this._flags.last_token,["return","throw","import","default"]))this.set_mode(D.ObjectLiteral);else this.set_mode(D.BlockStatement);if(this._flags.last_token){if(j(this._flags.last_token.previous,["class","extends"]))this._flags.class_start_block=!0}var A=!h.comments_before&&h.text==="}",P=A&&this._flags.last_word==="function"&&this._flags.last_token.type===H.END_EXPR;if(this._options.brace_preserve_inline){var I=0,$=null;this._flags.inline_frame=!0;do if(I+=1,$=this._tokens.peek(I-1),$.newlines){this._flags.inline_frame=!1;break}while($.type!==H.EOF&&!($.type===H.END_BLOCK&&$.opened===f))}if((this._options.brace_style==="expand"||this._options.brace_style==="none"&&f.newlines)&&!this._flags.inline_frame)if(this._flags.last_token.type!==H.OPERATOR&&(P||this._flags.last_token.type===H.EQUALS||j(this._flags.last_token,F0)&&this._flags.last_token.text!=="else"))this._output.space_before_token=!0;else this.print_newline(!1,!0);else{if(tf(this._previous_flags.mode)&&(this._flags.last_token.type===H.START_EXPR||this._flags.last_token.type===H.COMMA)){if(this._flags.last_token.type===H.COMMA||this._options.space_in_paren)this._output.space_before_token=!0;if(this._flags.last_token.type===H.COMMA||this._flags.last_token.type===H.START_EXPR&&this._flags.inline_frame)this.allow_wrap_or_preserved_newline(f),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1}if(this._flags.last_token.type!==H.OPERATOR&&this._flags.last_token.type!==H.START_EXPR)if(Z(this._flags.last_token.type,[H.START_BLOCK,H.SEMICOLON])&&!this._flags.inline_frame)this.print_newline();else this._output.space_before_token=!0}if(this.print_token(f),this.indent(),!A&&!(this._options.brace_preserve_inline&&this._flags.inline_frame))this.print_newline()};q.prototype.handle_end_block=function(f){this.handle_whitespace_and_comments(f);while(this._flags.mode===D.Statement)this.restore_mode();var h=this._flags.last_token.type===H.START_BLOCK;if(this._flags.inline_frame&&!h)this._output.space_before_token=!0;else if(this._options.brace_style==="expand"){if(!h)this.print_newline()}else if(!h)if(tf(this._flags.mode)&&this._options.keep_array_indentation)this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0;else this.print_newline();this.restore_mode(),this.print_token(f)};q.prototype.handle_word=function(f){if(f.type===H.RESERVED){if(Z(f.text,["set","get"])&&this._flags.mode!==D.ObjectLiteral)f.type=H.WORD;else if(f.text==="import"&&Z(this._tokens.peek().text,["(","."]))f.type=H.WORD;else if(Z(f.text,["as","from"])&&!this._flags.import_block)f.type=H.WORD;else if(this._flags.mode===D.ObjectLiteral){var h=this._tokens.peek();if(h.text===":")f.type=H.WORD}}if(this.start_of_statement(f)){if(j(this._flags.last_token,["var","let","const"])&&f.type===H.WORD)this._flags.declaration_statement=!0}else if(f.newlines&&!QR(this._flags.mode)&&(this._flags.last_token.type!==H.OPERATOR||(this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))&&this._flags.last_token.type!==H.EQUALS&&(this._options.preserve_newlines||!j(this._flags.last_token,["var","let","const","set","get"])))this.handle_whitespace_and_comments(f),this.print_newline();else this.handle_whitespace_and_comments(f);if(this._flags.do_block&&!this._flags.do_while)if(Xf(f,"while")){this._output.space_before_token=!0,this.print_token(f),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&Xf(f,"else"))this._flags.else_block=!0;else{while(this._flags.mode===D.Statement)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&j(f,["case","default"])){if(this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy))this.deindent();this._flags.case_body=!1,this.print_token(f),this._flags.in_case=!0;return}if(this._flags.last_token.type===H.COMMA||this._flags.last_token.type===H.START_EXPR||this._flags.last_token.type===H.EQUALS||this._flags.last_token.type===H.OPERATOR){if(!this.start_of_object_property()&&!(Z(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===D.ObjectLiteral))this.allow_wrap_or_preserved_newline(f)}if(Xf(f,"function")){if(Z(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(Z(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===H.OPERATOR)){if(!this._output.just_added_blankline()&&!f.comments_before)this.print_newline(),this.print_newline(!0)}if(this._flags.last_token.type===H.RESERVED||this._flags.last_token.type===H.WORD)if(j(this._flags.last_token,["get","set","new","export"])||j(this._flags.last_token,u1))this._output.space_before_token=!0;else if(Xf(this._flags.last_token,"default")&&this._last_last_text==="export")this._output.space_before_token=!0;else if(this._flags.last_token.text==="declare")this._output.space_before_token=!0;else this.print_newline();else if(this._flags.last_token.type===H.OPERATOR||this._flags.last_token.text==="=")this._output.space_before_token=!0;else if(!this._flags.multiline_frame&&(QR(this._flags.mode)||tf(this._flags.mode)));else this.print_newline();this.print_token(f),this._flags.last_word=f.text;return}var R="NONE";if(this._flags.last_token.type===H.END_BLOCK)if(this._previous_flags.inline_frame)R="SPACE";else if(!j(f,["else","catch","finally","from"]))R="NEWLINE";else if(this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&f.newlines)R="NEWLINE";else R="SPACE",this._output.space_before_token=!0;else if(this._flags.last_token.type===H.SEMICOLON&&this._flags.mode===D.BlockStatement)R="NEWLINE";else if(this._flags.last_token.type===H.SEMICOLON&&QR(this._flags.mode))R="SPACE";else if(this._flags.last_token.type===H.STRING)R="NEWLINE";else if(this._flags.last_token.type===H.RESERVED||this._flags.last_token.type===H.WORD||this._flags.last_token.text==="*"&&(Z(this._last_last_text,["function","yield"])||this._flags.mode===D.ObjectLiteral&&Z(this._last_last_text,["{",","])))R="SPACE";else if(this._flags.last_token.type===H.START_BLOCK)if(this._flags.inline_frame)R="SPACE";else R="NEWLINE";else if(this._flags.last_token.type===H.END_EXPR)this._output.space_before_token=!0,R="NEWLINE";if(j(f,gR)&&this._flags.last_token.text!==")")if(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export")R="SPACE";else R="NEWLINE";if(j(f,["else","catch","finally"]))if((!(this._flags.last_token.type===H.END_BLOCK&&this._previous_flags.mode===D.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&f.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var A=this._output.current_line;if(A.last()!=="}")this.print_newline();this._output.space_before_token=!0}else if(R==="NEWLINE"){if(j(this._flags.last_token,F0))this._output.space_before_token=!0;else if(this._flags.last_token.text==="declare"&&j(f,["var","let","const"]))this._output.space_before_token=!0;else if(this._flags.last_token.type!==H.END_EXPR){if((this._flags.last_token.type!==H.START_EXPR||!j(f,["var","let","const"]))&&this._flags.last_token.text!==":")if(Xf(f,"if")&&Xf(f.previous,"else"))this._output.space_before_token=!0;else this.print_newline()}else if(j(f,gR)&&this._flags.last_token.text!==")")this.print_newline()}else if(this._flags.multiline_frame&&tf(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}")this.print_newline();else if(R==="SPACE")this._output.space_before_token=!0;if(f.previous&&(f.previous.type===H.WORD||f.previous.type===H.RESERVED))this._output.space_before_token=!0;if(this.print_token(f),this._flags.last_word=f.text,f.type===H.RESERVED){if(f.text==="do")this._flags.do_block=!0;else if(f.text==="if")this._flags.if_block=!0;else if(f.text==="import")this._flags.import_block=!0;else if(this._flags.import_block&&Xf(f,"from"))this._flags.import_block=!1}};q.prototype.handle_semicolon=function(f){if(this.start_of_statement(f))this._output.space_before_token=!1;else this.handle_whitespace_and_comments(f);var h=this._tokens.peek();while(this._flags.mode===D.Statement&&!(this._flags.if_block&&Xf(h,"else"))&&!this._flags.do_block)this.restore_mode();if(this._flags.import_block)this._flags.import_block=!1;this.print_token(f)};q.prototype.handle_string=function(f){if(f.text.startsWith("`")&&f.newlines===0&&f.whitespace_before===""&&(f.previous.text===")"||this._flags.last_token.type===H.WORD));else if(this.start_of_statement(f))this._output.space_before_token=!0;else if(this.handle_whitespace_and_comments(f),this._flags.last_token.type===H.RESERVED||this._flags.last_token.type===H.WORD||this._flags.inline_frame)this._output.space_before_token=!0;else if(this._flags.last_token.type===H.COMMA||this._flags.last_token.type===H.START_EXPR||this._flags.last_token.type===H.EQUALS||this._flags.last_token.type===H.OPERATOR){if(!this.start_of_object_property())this.allow_wrap_or_preserved_newline(f)}else if(f.text.startsWith("`")&&this._flags.last_token.type===H.END_EXPR&&(f.previous.text==="]"||f.previous.text===")")&&f.newlines===0)this._output.space_before_token=!0;else this.print_newline();this.print_token(f)};q.prototype.handle_equals=function(f){if(this.start_of_statement(f));else this.handle_whitespace_and_comments(f);if(this._flags.declaration_statement)this._flags.declaration_assignment=!0;this._output.space_before_token=!0,this.print_token(f),this._output.space_before_token=!0};q.prototype.handle_comma=function(f){if(this.handle_whitespace_and_comments(f,!0),this.print_token(f),this._output.space_before_token=!0,this._flags.declaration_statement){if(QR(this._flags.parent.mode))this._flags.declaration_assignment=!1;if(this._flags.declaration_assignment)this._flags.declaration_assignment=!1,this.print_newline(!1,!0);else if(this._options.comma_first)this.allow_wrap_or_preserved_newline(f)}else if(this._flags.mode===D.ObjectLiteral||this._flags.mode===D.Statement&&this._flags.parent.mode===D.ObjectLiteral){if(this._flags.mode===D.Statement)this.restore_mode();if(!this._flags.inline_frame)this.print_newline()}else if(this._options.comma_first)this.allow_wrap_or_preserved_newline(f)};q.prototype.handle_operator=function(f){var h=f.text==="*"&&(j(this._flags.last_token,["function","yield"])||Z(this._flags.last_token.type,[H.START_BLOCK,H.COMMA,H.END_BLOCK,H.SEMICOLON])),R=Z(f.text,["-","+"])&&(Z(this._flags.last_token.type,[H.START_BLOCK,H.START_EXPR,H.EQUALS,H.OPERATOR])||Z(this._flags.last_token.text,gR)||this._flags.last_token.text===",");if(this.start_of_statement(f));else{var A=!h;this.handle_whitespace_and_comments(f,A)}if(f.text==="*"&&this._flags.last_token.type===H.DOT){this.print_token(f);return}if(f.text==="::"){this.print_token(f);return}if(Z(f.text,["-","+"])&&this.start_of_object_property()){this.print_token(f);return}if(this._flags.last_token.type===H.OPERATOR&&Z(this._options.operator_position,P8))this.allow_wrap_or_preserved_newline(f);if(f.text===":"&&this._flags.in_case){if(this.print_token(f),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==H.START_BLOCK)this.indent(),this.print_newline(),this._flags.case_block=!1;else this._flags.case_block=!0,this._output.space_before_token=!0;return}var P=!0,I=!0,$=!1;if(f.text===":")if(this._flags.ternary_depth===0)P=!1;else this._flags.ternary_depth-=1,$=!0;else if(f.text==="?")this._flags.ternary_depth+=1;if(!R&&!h&&this._options.preserve_newlines&&Z(f.text,JR)){var w=f.text===":",U=w&&$,F=w&&!$;switch(this._options.operator_position){case LR.before_newline:if(this._output.space_before_token=!F,this.print_token(f),!w||U)this.allow_wrap_or_preserved_newline(f);this._output.space_before_token=!0;return;case LR.after_newline:if(this._output.space_before_token=!0,!w||U)if(this._tokens.peek().newlines)this.print_newline(!1,!0);else this.allow_wrap_or_preserved_newline(f);else this._output.space_before_token=!1;this.print_token(f),this._output.space_before_token=!0;return;case LR.preserve_newline:if(!F)this.allow_wrap_or_preserved_newline(f);P=!(this._output.just_added_newline()||F),this._output.space_before_token=P,this.print_token(f),this._output.space_before_token=!0;return}}if(h){this.allow_wrap_or_preserved_newline(f),P=!1;var N=this._tokens.peek();I=N&&Z(N.type,[H.WORD,H.RESERVED])}else if(f.text==="...")this.allow_wrap_or_preserved_newline(f),P=this._flags.last_token.type===H.START_BLOCK,I=!1;else if(Z(f.text,["--","++","!","~"])||R){if(this._flags.last_token.type===H.COMMA||this._flags.last_token.type===H.START_EXPR)this.allow_wrap_or_preserved_newline(f);if(P=!1,I=!1,f.newlines&&(f.text==="--"||f.text==="++"||f.text==="~")){var W=j(this._flags.last_token,F0)&&f.newlines;if(W&&(this._previous_flags.if_block||this._previous_flags.else_block))this.restore_mode();this.print_newline(W,!0)}if(this._flags.last_token.text===";"&&QR(this._flags.mode))P=!0;if(this._flags.last_token.type===H.RESERVED)P=!0;else if(this._flags.last_token.type===H.END_EXPR)P=!(this._flags.last_token.text==="]"&&(f.text==="--"||f.text==="++"));else if(this._flags.last_token.type===H.OPERATOR){if(P=Z(f.text,["--","-","++","+"])&&Z(this._flags.last_token.text,["--","-","++","+"]),Z(f.text,["+","-"])&&Z(this._flags.last_token.text,["--","++"]))I=!0}if((this._flags.mode===D.BlockStatement&&!this._flags.inline_frame||this._flags.mode===D.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";"))this.print_newline()}this._output.space_before_token=this._output.space_before_token||P,this.print_token(f),this._output.space_before_token=I};q.prototype.handle_block_comment=function(f,h){if(this._output.raw){if(this._output.add_raw_token(f),f.directives&&f.directives.preserve==="end")this._output.raw=this._options.test_output_raw;return}if(f.directives){if(this.print_newline(!1,h),this.print_token(f),f.directives.preserve==="start")this._output.raw=!0;this.print_newline(!1,!0);return}if(!H0.newline.test(f.text)&&!f.newlines){this._output.space_before_token=!0,this.print_token(f),this._output.space_before_token=!0;return}else this.print_block_commment(f,h)};q.prototype.print_block_commment=function(f,h){var R=eW(f.text),A,P=!1,I=!1,$=f.whitespace_before,w=$.length;if(this.print_newline(!1,h),this.print_token_line_indentation(f),this._output.add_token(R[0]),this.print_newline(!1,h),R.length>1){if(R=R.slice(1),P=oW(R,"*"),I=nW(R,$),P)this._flags.alignment=1;for(A=0;A<R.length;A++){if(P)this.print_token_line_indentation(f),this._output.add_token(aW(R[A]));else if(I&&R[A])this.print_token_line_indentation(f),this._output.add_token(R[A].substring(w));else this._output.current_line.set_indent(-1),this._output.add_token(R[A]);this.print_newline(!1,h)}this._flags.alignment=0}};q.prototype.handle_comment=function(f,h){if(f.newlines)this.print_newline(!1,h);else this._output.trim(!0);this._output.space_before_token=!0,this.print_token(f),this.print_newline(!1,h)};q.prototype.handle_dot=function(f){if(this.start_of_statement(f));else this.handle_whitespace_and_comments(f,!0);if(this._flags.last_token.text.match("^[0-9]+$"))this._output.space_before_token=!0;if(j(this._flags.last_token,F0))this._output.space_before_token=!1;else this.allow_wrap_or_preserved_newline(f,this._flags.last_token.text===")"&&this._options.break_chained_methods);if(this._options.unindent_chained_methods&&this._output.just_added_newline())this.deindent();this.print_token(f)};q.prototype.handle_unknown=function(f,h){if(this.print_token(f),f.text[f.text.length-1]==="\n")this.print_newline(!1,h)};q.prototype.handle_eof=function(f){while(this._flags.mode===D.Statement)this.restore_mode();this.handle_whitespace_and_comments(f)};uW.Beautifier=q});var U8=C((YJ,t1)=>{var fY=w8().Beautifier,hY=k1().Options;function RY(f,h){var R=new fY(f,h);return R.beautify()}t1.exports=RY;t1.exports.defaultOptions=function(){return new hY}});var fP=C((AY,E8)=>{var H8=I0().Options;function F8(f){H8.call(this,f,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var h=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||h;var R=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var A=0;A<R.length;A++)if(R[A]!=="expand")this.brace_style="collapse";else this.brace_style=R[A]}F8.prototype=new H8;AY.Options=F8});var W8=C((GY,S8)=>{var IY=fP().Options,$Y=A0().Output,wY=$0().InputScanner,UY=w0().Directives,N8=new UY(/\/\*/,/\*\//),G8=/\r\n|[\r\n]/,HY=/\r\n|[\r\n]/g,E0=/\s/,FY=/(?:\s|\n)+/g,EY=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,NY=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function Of(f,h){this._source_text=f||"",this._options=new IY(h),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}Of.prototype.eatString=function(f){var h="";this._ch=this._input.next();while(this._ch){if(h+=this._ch,this._ch==="\\")h+=this._input.next();else if(f.indexOf(this._ch)!==-1||this._ch==="\n")break;this._ch=this._input.next()}return h};Of.prototype.eatWhitespace=function(f){var h=E0.test(this._input.peek()),R=0;while(E0.test(this._input.peek()))if(this._ch=this._input.next(),f&&this._ch==="\n"){if(R===0||R<this._options.max_preserve_newlines)R++,this._output.add_new_line(!0)}return h};Of.prototype.foundNestedPseudoClass=function(){var f=0,h=1,R=this._input.peek(h);while(R){if(R==="{")return!0;else if(R==="(")f+=1;else if(R===")"){if(f===0)return!1;f-=1}else if(R===";"||R==="}")return!1;h++,R=this._input.peek(h)}return!1};Of.prototype.print_string=function(f){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(f)};Of.prototype.preserveSingleSpace=function(f){if(f)this._output.space_before_token=!0};Of.prototype.indent=function(){this._indentLevel++};Of.prototype.outdent=function(){if(this._indentLevel>0)this._indentLevel--};Of.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var f=this._source_text,h=this._options.eol;if(h==="auto"){if(h="\n",f&&G8.test(f||""))h=f.match(G8)[0]}f=f.replace(HY,"\n");var R=f.match(/^[\t ]*/)[0];this._output=new $Y(this._options,R),this._input=new wY(f),this._indentLevel=0,this._nestedLevel=0,this._ch=null;var A=0,P=!1,I=!1,$=!1,w=!1,U=!1,F=this._ch,N=!1,W,V,S;while(!0){if(W=this._input.read(FY),V=W!=="",S=F,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext())this._ch+=this._input.next();if(F=this._ch,!this._ch)break;else if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var L=this._input.read(EY),K=N8.get_directives(L);if(K&&K.ignore==="start")L+=N8.readIgnored(this._input);this.print_string(L),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(NY)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(V),this.print_string(this._ch);var Af=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);if(Af.match(/[ :]$/))Af=this.eatString(": ").replace(/\s+$/,""),this.print_string(Af),this._output.space_before_token=!0;if(A===0&&Af.indexOf(":")!==-1)I=!0,this.indent()}else if(this._ch==="@")if(this.preserveSingleSpace(V),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var Pf=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);if(Pf.match(/[ :]$/))Pf=this.eatString(": ").replace(/\s+$/,""),this.print_string(Pf),this._output.space_before_token=!0;if(A===0&&Pf.indexOf(":")!==-1)I=!0,this.indent();else if(Pf in this.NESTED_AT_RULE){if(this._nestedLevel+=1,Pf in this.CONDITIONAL_GROUP_RULE)$=!0}else if(A===0&&!I)w=!0}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(V),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{"){if(I)I=!1,this.outdent();if(w=!1,$)$=!1,P=this._indentLevel>=this._nestedLevel;else P=this._indentLevel>=this._nestedLevel-1;if(this._options.newline_between_rules&&P){if(this._output.previous_line&&this._output.previous_line.item(-1)!=="{")this._output.ensure_empty_line_above("/",",")}if(this._output.space_before_token=!0,this._options.brace_style==="expand")this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel);else{if(S==="(")this._output.space_before_token=!1;else if(S!==",")this.indent();this.print_string(this._ch)}this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="}"){if(this.outdent(),this._output.add_new_line(),S==="{")this._output.trim(!0);if(I)this.outdent(),I=!1;if(this.print_string(this._ch),P=!1,this._nestedLevel)this._nestedLevel--;if(this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()){if(this._input.peek()!=="}")this._output.add_new_line(!0)}if(this._input.peek()===")"){if(this._output.trim(!0),this._options.brace_style==="expand")this._output.add_new_line(!0)}}else if(this._ch===":"){for(var Kf=0;Kf<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Kf++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Kf])){N=!0;break}if((P||$)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!w&&A===0){if(this.print_string(":"),!I)I=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent()}else{if(this._input.lookBack(" "))this._output.space_before_token=!0;if(this._input.peek()===":")this._ch=this._input.next(),this.print_string("::");else this.print_string(":")}}else if(this._ch==='"'||this._ch==="\'"){var lh=S==='"'||S==="\'";this.preserveSingleSpace(lh||V),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")if(N=!1,A===0){if(I)this.outdent(),I=!1;if(w=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/")this._output.add_new_line()}else this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0;else if(this._ch==="(")if(this._input.lookBack("url")){if(this.print_string(this._ch),this.eatWhitespace(),A++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="\'")this._input.back();else if(this._ch){if(this.print_string(this._ch+this.eatString(")")),A)A--,this.outdent()}}else{var BR=!1;if(this._input.lookBack("with"))BR=!0;if(this.preserveSingleSpace(V||BR),this.print_string(this._ch),I&&S==="$"&&this._options.selector_separator_newline)this._output.add_new_line(),U=!0;else this.eatWhitespace(),A++,this.indent()}else if(this._ch===")"){if(A)A--,this.outdent();if(U&&this._input.peek()===";"&&this._options.selector_separator_newline)U=!1,this.outdent(),this._output.add_new_line();this.print_string(this._ch)}else if(this._ch===",")if(this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!I||U)&&A===0&&!w)this._output.add_new_line();else this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!I&&A===0){if(this._options.space_around_combinator)this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0;else if(this.print_string(this._ch),this.eatWhitespace(),this._ch&&E0.test(this._ch))this._ch=""}else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(V),this.print_string(this._ch);else if(this._ch==="="){if(this.eatWhitespace(),this.print_string("="),E0.test(this._ch))this._ch=""}else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var AF=S==='"'||S==="\'";if(this.preserveSingleSpace(AF||V),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()==="\n"&&N)this._output.add_new_line()}}var PF=this._output.get_code(h);return PF};GY.Beautifier=Of});var Y8=C((DJ,hP)=>{var WY=W8().Beautifier,YY=fP().Options;function DY(f,h){var R=new WY(f,h);return R.beautify()}hP.exports=DY;hP.exports.defaultOptions=function(){return new YY}});var RP=C((MY,V8)=>{var D8=I0().Options;function M8(f){if(D8.call(this,f,"html"),this.templating.length===1&&this.templating[0]==="auto")this.templating=["django","erb","handlebars","php"];this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}M8.prototype=new D8;MY.Options=M8});var IP=C((JY,PP)=>{var Z8=XR().Tokenizer,AP=XR().TOKEN,XY=w0().Directives,ZY=e1().TemplatablePattern,zY=MR().Pattern,B={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:AP.START,RAW:AP.RAW,EOF:AP.EOF},X8=new XY(/<\!--/,/-->/),Rf=function(f,h){Z8.call(this,f,h),this._current_tag_name="";var R=new ZY(this._input).read_options(this._options),A=new zY(this._input);if(this.__patterns={word:R.until(/[\n\r\t <]/),word_control_flow_close_excluded:R.until(/[\n\r\t <}]/),single_quote:R.until_after(/'/),double_quote:R.until_after(/"/),attribute:R.until(/[\n\r\t =>]|\/>/),element_name:R.until(/[\n\r\t >\/]/),angular_control_flow_start:A.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:A.starting_with(/{{!--/).until_after(/--}}/),handlebars:A.starting_with(/{{/).until_after(/}}/),handlebars_open:A.until(/[\n\r\t }]/),handlebars_raw_close:A.until(/}}/),comment:A.starting_with(/<!--/).until_after(/-->/),cdata:A.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:A.starting_with(/<!\[/).until_after(/]>/),processing:A.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars)this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars");if(this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var P=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=A.matching(P).until_after(P)}};Rf.prototype=new Z8;Rf.prototype._is_comment=function(f){return!1};Rf.prototype._is_opening=function(f){return f.type===B.TAG_OPEN||f.type===B.CONTROL_FLOW_OPEN};Rf.prototype._is_closing=function(f,h){return f.type===B.TAG_CLOSE&&(h&&((f.text===">"||f.text==="/>")&&h.text[0]==="<"||f.text==="}}"&&h.text[0]==="{"&&h.text[1]==="{"))||f.type===B.CONTROL_FLOW_CLOSE&&(f.text==="}"&&h.text.endsWith("{"))};Rf.prototype._reset=function(){this._current_tag_name=""};Rf.prototype._get_next_token=function(f,h){var R=null;this._readWhitespace();var A=this._input.peek();if(A===null)return this._create_token(B.EOF,"");return R=R||this._read_open_handlebars(A,h),R=R||this._read_attribute(A,f,h),R=R||this._read_close(A,h),R=R||this._read_control_flows(A,h),R=R||this._read_raw_content(A,f,h),R=R||this._read_content_word(A,h),R=R||this._read_comment_or_cdata(A),R=R||this._read_processing(A),R=R||this._read_open(A,h),R=R||this._create_token(B.UNKNOWN,this._input.next()),R};Rf.prototype._read_comment_or_cdata=function(f){var h=null,R=null,A=null;if(f==="<"){var P=this._input.peek(1);if(P==="!")if(R=this.__patterns.comment.read(),R){if(A=X8.get_directives(R),A&&A.ignore==="start")R+=X8.readIgnored(this._input)}else R=this.__patterns.cdata.read();if(R)h=this._create_token(B.COMMENT,R),h.directives=A}return h};Rf.prototype._read_processing=function(f){var h=null,R=null,A=null;if(f==="<"){var P=this._input.peek(1);if(P==="!"||P==="?")R=this.__patterns.conditional_comment.read(),R=R||this.__patterns.processing.read();if(R)h=this._create_token(B.COMMENT,R),h.directives=A}return h};Rf.prototype._read_open=function(f,h){var R=null,A=null;if(!h||h.type===B.CONTROL_FLOW_OPEN){if(f==="<"){if(R=this._input.next(),this._input.peek()==="/")R+=this._input.next();R+=this.__patterns.element_name.read(),A=this._create_token(B.TAG_OPEN,R)}}return A};Rf.prototype._read_open_handlebars=function(f,h){var R=null,A=null;if(!h||h.type===B.CONTROL_FLOW_OPEN){if(this._options.indent_handlebars&&f==="{"&&this._input.peek(1)==="{")if(this._input.peek(2)==="!")R=this.__patterns.handlebars_comment.read(),R=R||this.__patterns.handlebars.read(),A=this._create_token(B.COMMENT,R);else R=this.__patterns.handlebars_open.read(),A=this._create_token(B.TAG_OPEN,R)}return A};Rf.prototype._read_control_flows=function(f,h){var R="",A=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars)return A;if(f==="@"){if(R=this.__patterns.angular_control_flow_start.read(),R==="")return A;var P=R.endsWith("(")?1:0,I=0;while(!(R.endsWith("{")&&P===I)){var $=this._input.next();if($===null)break;else if($==="(")P++;else if($===")")I++;R+=$}A=this._create_token(B.CONTROL_FLOW_OPEN,R)}else if(f==="}"&&h&&h.type===B.CONTROL_FLOW_OPEN)R=this._input.next(),A=this._create_token(B.CONTROL_FLOW_CLOSE,R);return A};Rf.prototype._read_close=function(f,h){var R=null,A=null;if(h&&h.type===B.TAG_OPEN){if(h.text[0]==="<"&&(f===">"||f==="/"&&this._input.peek(1)===">")){if(R=this._input.next(),f==="/")R+=this._input.next();A=this._create_token(B.TAG_CLOSE,R)}else if(h.text[0]==="{"&&f==="}"&&this._input.peek(1)==="}")this._input.next(),this._input.next(),A=this._create_token(B.TAG_CLOSE,"}}")}return A};Rf.prototype._read_attribute=function(f,h,R){var A=null,P="";if(R&&R.text[0]==="<"){if(f==="=")A=this._create_token(B.EQUALS,this._input.next());else if(f==='"'||f==="'"){var I=this._input.next();if(f==='"')I+=this.__patterns.double_quote.read();else I+=this.__patterns.single_quote.read();A=this._create_token(B.VALUE,I)}else if(P=this.__patterns.attribute.read(),P)if(h.type===B.EQUALS)A=this._create_token(B.VALUE,P);else A=this._create_token(B.ATTRIBUTE,P)}return A};Rf.prototype._is_content_unformatted=function(f){return this._options.void_elements.indexOf(f)===-1&&(this._options.content_unformatted.indexOf(f)!==-1||this._options.unformatted.indexOf(f)!==-1)};Rf.prototype._read_raw_content=function(f,h,R){var A="";if(R&&R.text[0]==="{")A=this.__patterns.handlebars_raw_close.read();else if(h.type===B.TAG_CLOSE&&h.opened.text[0]==="<"&&h.text[0]!=="/"){var P=h.opened.text.substr(1).toLowerCase();if(P==="script"||P==="style"){var I=this._read_comment_or_cdata(f);if(I)return I.type=B.TEXT,I;A=this._input.readUntil(new RegExp("</"+P+"[\\n\\r\\t ]*?>","ig"))}else if(this._is_content_unformatted(P))A=this._input.readUntil(new RegExp("</"+P+"[\\n\\r\\t ]*?>","ig"))}if(A)return this._create_token(B.TEXT,A);return null};Rf.prototype._read_content_word=function(f,h){var R="";if(this._options.unformatted_content_delimiter){if(f===this._options.unformatted_content_delimiter[0])R=this.__patterns.unformatted_content_delimiter.read()}if(!R)R=h&&h.type===B.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read();if(R)return this._create_token(B.TEXT,R)};JY.Tokenizer=Rf;JY.TOKEN=B});var Q8=C((OY,L8)=>{var gY=RP().Options,qY=A0().Output,yY=IP().Tokenizer,y=IP().TOKEN,z8=/\r\n|[\r\n]/,BY=/\r\n|[\r\n]/g,Df=function(f,h){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=f.max_preserve_newlines,this.preserve_newlines=f.preserve_newlines,this._output=new qY(f,h)};Df.prototype.current_line_has_match=function(f){return this._output.current_line.has_match(f)};Df.prototype.set_space_before_token=function(f,h){this._output.space_before_token=f,this._output.non_breaking_space=h};Df.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()};Df.prototype.add_raw_token=function(f){this._output.add_raw_token(f)};Df.prototype.print_preserved_newlines=function(f){var h=0;if(f.type!==y.TEXT&&f.previous.type!==y.TEXT)h=f.newlines?1:0;if(this.preserve_newlines)h=f.newlines<this.max_preserve_newlines+1?f.newlines:this.max_preserve_newlines+1;for(var R=0;R<h;R++)this.print_newline(R>0);return h!==0};Df.prototype.traverse_whitespace=function(f){if(f.whitespace_before||f.newlines){if(!this.print_preserved_newlines(f))this._output.space_before_token=!0;return!0}return!1};Df.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped};Df.prototype.print_newline=function(f){this._output.add_new_line(f)};Df.prototype.print_token=function(f){if(f.text)this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(f.text)};Df.prototype.indent=function(){this.indent_level++};Df.prototype.deindent=function(){if(this.indent_level>0)this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size)};Df.prototype.get_full_indent=function(f){if(f=this.indent_level+(f||0),f<1)return"";return this._output.get_indent_string(f)};var TY=function(f){var h=null,R=f.next;while(R.type!==y.EOF&&f.closed!==R){if(R.type===y.ATTRIBUTE&&R.text==="type"){if(R.next&&R.next.type===y.EQUALS&&R.next.next&&R.next.next.type===y.VALUE)h=R.next.next.text;break}R=R.next}return h},KY=function(f,h){var R=null,A=null;if(!h.closed)return null;if(f==="script")R="text/javascript";else if(f==="style")R="text/css";if(R=TY(h)||R,R.search("text/css")>-1)A="css";else if(R.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1)A="javascript";else if(R.search(/(text|application|dojo)\/(x-)?(html)/)>-1)A="html";else if(R.search(/test\/null/)>-1)A="null";return A};function qR(f,h){return h.indexOf(f)!==-1}function vY(f,h,R){this.parent=f||null,this.tag=h?h.tag_name:"",this.indent_level=R||0,this.parser_token=h||null}function Gh(f){this._printer=f,this._current_frame=null}Gh.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null};Gh.prototype.record_tag=function(f){var h=new vY(this._current_frame,f,this._printer.indent_level);this._current_frame=h};Gh.prototype._try_pop_frame=function(f){var h=null;if(f)h=f.parser_token,this._printer.indent_level=f.indent_level,this._current_frame=f.parent;return h};Gh.prototype._get_frame=function(f,h){var R=this._current_frame;while(R){if(f.indexOf(R.tag)!==-1)break;else if(h&&h.indexOf(R.tag)!==-1){R=null;break}R=R.parent}return R};Gh.prototype.try_pop=function(f,h){var R=this._get_frame([f],h);return this._try_pop_frame(R)};Gh.prototype.indent_to_tag=function(f){var h=this._get_frame(f);if(h)this._printer.indent_level=h.indent_level};function Gf(f,h,R,A){this._source_text=f||"",h=h||{},this._js_beautify=R,this._css_beautify=A,this._tag_stack=null;var P=new gY(h,"html");this._options=P,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,"force".length)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,"preserve".length)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}Gf.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var f=this._source_text,h=this._options.eol;if(this._options.eol==="auto"){if(h="\n",f&&z8.test(f))h=f.match(z8)[0]}f=f.replace(BY,"\n");var R=f.match(/^[\t ]*/)[0],A={text:"",type:""},P=new J8,I=new Df(this._options,R),$=new yY(f,this._options).tokenize();this._tag_stack=new Gh(I);var w=null,U=$.next();while(U.type!==y.EOF){if(U.type===y.TAG_OPEN||U.type===y.COMMENT)w=this._handle_tag_open(I,U,P,A,$),P=w;else if(U.type===y.ATTRIBUTE||U.type===y.EQUALS||U.type===y.VALUE||U.type===y.TEXT&&!P.tag_complete)w=this._handle_inside_tag(I,U,P,A);else if(U.type===y.TAG_CLOSE)w=this._handle_tag_close(I,U,P);else if(U.type===y.TEXT)w=this._handle_text(I,U,P);else if(U.type===y.CONTROL_FLOW_OPEN)w=this._handle_control_flow_open(I,U);else if(U.type===y.CONTROL_FLOW_CLOSE)w=this._handle_control_flow_close(I,U);else I.add_raw_token(U);A=w,U=$.next()}var F=I._output.get_code(h);return F};Gf.prototype._handle_control_flow_open=function(f,h){var R={text:h.text,type:h.type};if(f.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),h.newlines)f.print_preserved_newlines(h);else f.set_space_before_token(h.newlines||h.whitespace_before!=="",!0);return f.print_token(h),f.indent(),R};Gf.prototype._handle_control_flow_close=function(f,h){var R={text:h.text,type:h.type};if(f.deindent(),h.newlines)f.print_preserved_newlines(h);else f.set_space_before_token(h.newlines||h.whitespace_before!=="",!0);return f.print_token(h),R};Gf.prototype._handle_tag_close=function(f,h,R){var A={text:h.text,type:h.type};if(f.alignment_size=0,R.tag_complete=!0,f.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),R.is_unformatted)f.add_raw_token(h);else{if(R.tag_start_char==="<"){if(f.set_space_before_token(h.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&R.has_wrapped_attrs)f.print_newline(!1)}f.print_token(h)}if(R.indent_content&&!(R.is_unformatted||R.is_content_unformatted))f.indent(),R.indent_content=!1;if(!R.is_inline_element&&!(R.is_unformatted||R.is_content_unformatted))f.set_wrap_point();return A};Gf.prototype._handle_inside_tag=function(f,h,R,A){var P=R.has_wrapped_attrs,I={text:h.text,type:h.type};if(f.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),R.is_unformatted)f.add_raw_token(h);else if(R.tag_start_char==="{"&&h.type===y.TEXT)if(f.print_preserved_newlines(h))h.newlines=0,f.add_raw_token(h);else f.print_token(h);else{if(h.type===y.ATTRIBUTE)f.set_space_before_token(!0);else if(h.type===y.EQUALS)f.set_space_before_token(!1);else if(h.type===y.VALUE&&h.previous.type===y.EQUALS)f.set_space_before_token(!1);if(h.type===y.ATTRIBUTE&&R.tag_start_char==="<"){if(this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)f.traverse_whitespace(h),P=P||h.newlines!==0;if(this._is_wrap_attributes_force&&R.attr_count>=this._options.wrap_attributes_min_attrs&&(A.type!==y.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline))f.print_newline(!1),P=!0}f.print_token(h),P=P||f.previous_token_wrapped(),R.has_wrapped_attrs=P}return I};Gf.prototype._handle_text=function(f,h,R){var A={text:h.text,type:"TK_CONTENT"};if(R.custom_beautifier_name)this._print_custom_beatifier_text(f,h,R);else if(R.is_unformatted||R.is_content_unformatted)f.add_raw_token(h);else f.traverse_whitespace(h),f.print_token(h);return A};Gf.prototype._print_custom_beatifier_text=function(f,h,R){var A=this;if(h.text!==""){var P=h.text,I,$=1,w="",U="";if(R.custom_beautifier_name==="javascript"&&typeof this._js_beautify==="function")I=this._js_beautify;else if(R.custom_beautifier_name==="css"&&typeof this._css_beautify==="function")I=this._css_beautify;else if(R.custom_beautifier_name==="html")I=function(L,K){var Af=new Gf(L,K,A._js_beautify,A._css_beautify);return Af.beautify()};if(this._options.indent_scripts==="keep")$=0;else if(this._options.indent_scripts==="separate")$=-f.indent_level;var F=f.get_full_indent($);if(P=P.replace(/\n[ \t]*$/,""),R.custom_beautifier_name!=="html"&&P[0]==="<"&&P.match(/^(<!--|<!\[CDATA\[)/)){var N=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(P);if(!N){f.add_raw_token(h);return}if(w=F+N[1]+"\n",P=N[4],N[5])U=F+N[5];if(P=P.replace(/\n[ \t]*$/,""),N[2]||N[3].indexOf("\n")!==-1){if(N=N[3].match(/[ \t]+$/),N)h.whitespace_before=N[0]}}if(P)if(I){var W=function(){this.eol="\n"};W.prototype=this._options.raw_options;var V=new W;P=I(F+P,V)}else{var S=h.whitespace_before;if(S)P=P.replace(new RegExp("\n("+S+")?","g"),"\n");P=F+P.replace(/\n/g,"\n"+F)}if(w)if(!P)P=w+U;else P=w+P+"\n"+U;if(f.print_newline(!1),P)h.text=P,h.whitespace_before="",h.newlines=0,f.add_raw_token(h),f.print_newline(!0)}};Gf.prototype._handle_tag_open=function(f,h,R,A,P){var I=this._get_tag_open_token(h);if((R.is_unformatted||R.is_content_unformatted)&&!R.is_empty_element&&h.type===y.TAG_OPEN&&!I.is_start_tag)f.add_raw_token(h),I.start_tag_token=this._tag_stack.try_pop(I.tag_name);else{if(f.traverse_whitespace(h),this._set_tag_position(f,h,I,R,A),!I.is_inline_element)f.set_wrap_point();f.print_token(h)}if(I.is_start_tag&&this._is_wrap_attributes_force){var $=0,w;do{if(w=P.peek($),w.type===y.ATTRIBUTE)I.attr_count+=1;$+=1}while(w.type!==y.EOF&&w.type!==y.TAG_CLOSE)}if(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)I.alignment_size=h.text.length+1;if(!I.tag_complete&&!I.is_unformatted)f.alignment_size=I.alignment_size;return I};var J8=function(f,h){if(this.parent=f||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!h)this.tag_complete=!0;else{var R;if(this.tag_start_char=h.text[0],this.text=h.text,this.tag_start_char==="<")R=h.text.match(/^<([^\s>]*)/),this.tag_check=R?R[1]:"";else if(R=h.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=R?R[1]:"",(h.text.startsWith("{{#>")||h.text.startsWith("{{~#>"))&&this.tag_check[0]===">")if(this.tag_check===">"&&h.next!==null)this.tag_check=h.next.text.split(" ")[0];else this.tag_check=h.text.split(">")[1];if(this.tag_check=this.tag_check.toLowerCase(),h.type===y.COMMENT)this.tag_complete=!0;this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=!this.is_start_tag?this.tag_check.substr(1):this.tag_check,this.is_end_tag=!this.is_start_tag||h.closed&&h.closed.text==="/>";var A=2;if(this.tag_start_char==="{"&&this.text.length>=3){if(this.text.charAt(2)==="~")A=3}this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(A)))}};Gf.prototype._get_tag_open_token=function(f){var h=new J8(this._tag_stack.get_parser_token(),f);return h.alignment_size=this._options.wrap_attributes_indent_size,h.is_end_tag=h.is_end_tag||qR(h.tag_check,this._options.void_elements),h.is_empty_element=h.tag_complete||h.is_start_tag&&h.is_end_tag,h.is_unformatted=!h.tag_complete&&qR(h.tag_check,this._options.unformatted),h.is_content_unformatted=!h.is_empty_element&&qR(h.tag_check,this._options.content_unformatted),h.is_inline_element=qR(h.tag_name,this._options.inline)||this._options.inline_custom_elements&&h.tag_name.includes("-")||h.tag_start_char==="{",h};Gf.prototype._set_tag_position=function(f,h,R,A,P){if(!R.is_empty_element)if(R.is_end_tag)R.start_tag_token=this._tag_stack.try_pop(R.tag_name);else{if(this._do_optional_end_element(R)){if(!R.is_inline_element)f.print_newline(!1)}if(this._tag_stack.record_tag(R),(R.tag_name==="script"||R.tag_name==="style")&&!(R.is_unformatted||R.is_content_unformatted))R.custom_beautifier_name=KY(R.tag_check,h)}if(qR(R.tag_check,this._options.extra_liners)){if(f.print_newline(!1),!f._output.just_added_blankline())f.print_newline(!0)}if(R.is_empty_element){if(R.tag_start_char==="{"&&R.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),R.indent_content=!0;var I=f.current_line_has_match(/{{#if/);if(!I)f.print_newline(!1)}if(R.tag_name==="!--"&&P.type===y.TAG_CLOSE&&A.is_end_tag&&R.text.indexOf("\n")===-1);else{if(!(R.is_inline_element||R.is_unformatted))f.print_newline(!1);this._calcluate_parent_multiline(f,R)}}else if(R.is_end_tag){var $=!1;if($=R.start_tag_token&&R.start_tag_token.multiline_content,$=$||!R.is_inline_element&&!(A.is_inline_element||A.is_unformatted)&&!(P.type===y.TAG_CLOSE&&R.start_tag_token===A)&&P.type!=="TK_CONTENT",R.is_content_unformatted||R.is_unformatted)$=!1;if($)f.print_newline(!1)}else{if(R.indent_content=!R.custom_beautifier_name,R.tag_start_char==="<"){if(R.tag_name==="html")R.indent_content=this._options.indent_inner_html;else if(R.tag_name==="head")R.indent_content=this._options.indent_head_inner_html;else if(R.tag_name==="body")R.indent_content=this._options.indent_body_inner_html}if(!(R.is_inline_element||R.is_unformatted)&&(P.type!=="TK_CONTENT"||R.is_content_unformatted))f.print_newline(!1);this._calcluate_parent_multiline(f,R)}};Gf.prototype._calcluate_parent_multiline=function(f,h){if(h.parent&&f._output.just_added_newline()&&!((h.is_inline_element||h.is_unformatted)&&h.parent.is_inline_element))h.parent.multiline_content=!0};var jY=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],mY=["a","audio","del","ins","map","noscript","video"];Gf.prototype._do_optional_end_element=function(f){var h=null;if(f.is_empty_element||!f.is_start_tag||!f.parent)return;if(f.tag_name==="body")h=h||this._tag_stack.try_pop("head");else if(f.tag_name==="li")h=h||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(f.tag_name==="dd"||f.tag_name==="dt")h=h||this._tag_stack.try_pop("dt",["dl"]),h=h||this._tag_stack.try_pop("dd",["dl"]);else if(f.parent.tag_name==="p"&&jY.indexOf(f.tag_name)!==-1){var R=f.parent.parent;if(!R||mY.indexOf(R.tag_name)===-1)h=h||this._tag_stack.try_pop("p")}else if(f.tag_name==="rp"||f.tag_name==="rt")h=h||this._tag_stack.try_pop("rt",["ruby","rtc"]),h=h||this._tag_stack.try_pop("rp",["ruby","rtc"]);else if(f.tag_name==="optgroup")h=h||this._tag_stack.try_pop("optgroup",["select"]);else if(f.tag_name==="option")h=h||this._tag_stack.try_pop("option",["select","datalist","optgroup"]);else if(f.tag_name==="colgroup")h=h||this._tag_stack.try_pop("caption",["table"]);else if(f.tag_name==="thead")h=h||this._tag_stack.try_pop("caption",["table"]),h=h||this._tag_stack.try_pop("colgroup",["table"]);else if(f.tag_name==="tbody"||f.tag_name==="tfoot")h=h||this._tag_stack.try_pop("caption",["table"]),h=h||this._tag_stack.try_pop("colgroup",["table"]),h=h||this._tag_stack.try_pop("thead",["table"]),h=h||this._tag_stack.try_pop("tbody",["table"]);else if(f.tag_name==="tr")h=h||this._tag_stack.try_pop("caption",["table"]),h=h||this._tag_stack.try_pop("colgroup",["table"]),h=h||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]);else if(f.tag_name==="th"||f.tag_name==="td")h=h||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),h=h||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]);return f.parent=this._tag_stack.get_parser_token(),h};OY.Beautifier=Gf});var g8=C((MJ,$P)=>{var CY=Q8().Beautifier,lY=RP().Options;function cY(f,h,R,A){var P=new CY(f,h,R,A);return P.beautify()}$P.exports=cY;$P.exports.defaultOptions=function(){return new lY}});var K8=C((bY,N0)=>{var q8=U8(),y8=Y8(),B8=g8();function T8(f,h,R,A){return R=R||q8,A=A||y8,B8(f,h,R,A)}T8.defaultOptions=B8.defaultOptions;bY.js=q8;bY.css=y8;bY.html=T8});var m8=C((VJ,j8)=>{function v8(f,h,R){var A=function(P,I){return f.js_beautify(P,I)};return A.js=f.js_beautify,A.css=h.css_beautify,A.html=R.html_beautify,A.js_beautify=f.js_beautify,A.css_beautify=h.css_beautify,A.html_beautify=R.html_beautify,A}if(typeof define==="function"&&define.amd)define(["./lib/beautify","./lib/beautify-css","./lib/beautify-html"],function(f,h,R){return v8(f,h,R)});else(function(f){var h=K8();h.js_beautify=h.js,h.css_beautify=h.css,h.html_beautify=h.html,f.exports=v8(h,h,h)})(j8)});class Sh{}import{readdir as IF}from"fs/promises";class KR extends Sh{f;constructor(f=`${process.env.ROOT_DIR}/storage`){super();this.folderPath=f}async put(f){let h,R;if(f instanceof Blob)h=f,R=`${TR()}.${f.type.split("/")[1].split(";")[0]}`;else h=f.body,R=f.name;let A=h instanceof Buffer?h:Buffer.from(await h.arrayBuffer()),P=`${this.folderPath}/${R}`;return await Bun.write(P,A),R}async fetch(f){let h=process.env.BUCKET_NAME,R;if(typeof f==="string")R=f;else h=f.bucket??h,R=f.name;if(!R)throw new Error("Object name has to be specified");let A=`${this.folderPath}/${R}`,P=Bun.file(A),I=Bun.file(A).stream(),$=new Date(P.lastModified).toUTCString();return new Response(I,{headers:{"Content-Type":P.type,"Content-Length":String(P.size),"Cache-Control":"private, max-age=12000, must-revalidate","Last-Modified":$}})}async list(){return await IF(this.folderPath)}}class HP extends _{driver=new KR;boot(){}}function $F(f){return(h)=>async(R)=>{let{request:A}=R;if(Sf.isInstance(A)&&A.body&&f.runtime==="node"){if(f.requestHandler?.constructor?.name!=="FetchHttpHandler")A.headers={...A.headers,Expect:"100-continue"}}return h({...R,request:A})}}var wF={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0},FP=(f)=>({applyToStack:(h)=>{h.add($F(f),wF)}});var ch={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},vR=ch.WHEN_SUPPORTED,V0={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},jR=ch.WHEN_SUPPORTED,c;(function(f){f.MD5="MD5",f.CRC32="CRC32",f.CRC32C="CRC32C",f.SHA1="SHA1",f.SHA256="SHA256"})(c||(c={}));var EP;(function(f){f.HEADER="header",f.TRAILER="trailer"})(EP||(EP={}));var{MD5:NP,CRC32:GP}=c;var sf;(function(f){f.ENV="env",f.CONFIG="shared config entry"})(sf||(sf={}));var Wh=(f,h,R,A)=>{if(!(h in f))return;let P=f[h].toUpperCase();if(!Object.values(R).includes(P))throw new TypeError(`Cannot load ${A} '${h}'. Expected one of ${Object.values(R)}, got '${f[h]}'.`);return P};var UF="AWS_REQUEST_CHECKSUM_CALCULATION",HF="request_checksum_calculation",SP={environmentVariableSelector:(f)=>Wh(f,UF,ch,sf.ENV),configFileSelector:(f)=>Wh(f,HF,ch,sf.CONFIG),default:vR};var FF="AWS_RESPONSE_CHECKSUM_VALIDATION",EF="response_checksum_validation",WP={environmentVariableSelector:(f)=>Wh(f,FF,V0,sf.ENV),configFileSelector:(f)=>Wh(f,EF,V0,sf.CONFIG),default:jR};var bh=[c.CRC32,c.CRC32C,c.SHA1,c.SHA256],YP=[c.CRC32,c.CRC32C,c.SHA1,c.SHA256];var DP=(f,{requestChecksumRequired:h,requestAlgorithmMember:R},A)=>{let P=A?GP:NP;if(!R||!f[R])return h?P:void 0;let I=f[R];if(!bh.includes(I))throw new Error(`The checksum algorithm "${I}" is not supported by the client. Select one of ${bh}.`);return I};var Yh=(f)=>f===c.MD5?"content-md5":`x-amz-checksum-${f.toLowerCase()}`;var MP=(f,h)=>{let R=f.toLowerCase();for(let A of Object.keys(h))if(R===A.toLowerCase())return!0;return!1};var Dh=(f)=>f!==void 0&&typeof f!=="string"&&!ArrayBuffer.isView(f)&&!VP(f);var XP=If(NF(),1),{__extends:kD,__assign:xD,__rest:_D,__decorate:aD,__param:iD,__esDecorate:pD,__runInitializers:eD,__propKey:oD,__setFunctionName:nD,__metadata:uD,__awaiter:mR,__generator:OR,__exportStar:tD,__createBinding:f4,__values:sR,__read:h4,__spread:R4,__spreadArrays:A4,__spreadArray:P4,__await:I4,__asyncGenerator:$4,__asyncDelegator:w4,__asyncValues:U4,__makeTemplateObject:H4,__importStar:F4,__importDefault:E4,__classPrivateFieldGet:N4,__classPrivateFieldSet:G4,__classPrivateFieldIn:S4,__addDisposableResource:W4,__disposeResources:Y4}=XP.default;import{Buffer as ZP}from"buffer";var zP=(f,h)=>{if(typeof f!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof f} (${f})`);return h?ZP.from(f,h):ZP.from(f)};var X0=(f)=>{let h=zP(f,"utf8");return new Uint8Array(h.buffer,h.byteOffset,h.byteLength/Uint8Array.BYTES_PER_ELEMENT)};var GF=typeof Buffer!=="undefined"&&Buffer.from?function(f){return Buffer.from(f,"utf8")}:X0;function dh(f){if(f instanceof Uint8Array)return f;if(typeof f==="string")return GF(f);if(ArrayBuffer.isView(f))return new Uint8Array(f.buffer,f.byteOffset,f.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(f)}function rh(f){if(typeof f==="string")return f.length===0;return f.byteLength===0}function kh(f){return new Uint8Array([(f&4278190080)>>24,(f&16711680)>>16,(f&65280)>>8,f&255])}function xh(f){if(!Uint32Array.from){var h=new Uint32Array(f.length),R=0;while(R<f.length)h[R]=f[R],R+=1;return h}return Uint32Array.from(f)}var Z0=function(){function f(){this.crc32=new fh}return f.prototype.update=function(h){if(rh(h))return;this.crc32.update(dh(h))},f.prototype.digest=function(){return mR(this,void 0,void 0,function(){return OR(this,function(h){return[2,kh(this.crc32.digest())]})})},f.prototype.reset=function(){this.crc32=new fh},f}();var fh=function(){function f(){this.checksum=4294967295}return f.prototype.update=function(h){var R,A;try{for(var P=sR(h),I=P.next();!I.done;I=P.next()){var $=I.value;this.checksum=this.checksum>>>8^WF[(this.checksum^$)&255]}}catch(w){R={error:w}}finally{try{if(I&&!I.done&&(A=P.return))A.call(P)}finally{if(R)throw R.error}}return this},f.prototype.digest=function(){return(this.checksum^4294967295)>>>0},f}();var SF=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],WF=xh(SF);var J0=function(){function f(){this.crc32c=new z0}return f.prototype.update=function(h){if(rh(h))return;this.crc32c.update(dh(h))},f.prototype.digest=function(){return mR(this,void 0,void 0,function(){return OR(this,function(h){return[2,kh(this.crc32c.digest())]})})},f.prototype.reset=function(){this.crc32c=new z0},f}();var z0=function(){function f(){this.checksum=4294967295}return f.prototype.update=function(h){var R,A;try{for(var P=sR(h),I=P.next();!I.done;I=P.next()){var $=I.value;this.checksum=this.checksum>>>8^DF[(this.checksum^$)&255]}}catch(w){R={error:w}}finally{try{if(I&&!I.done&&(A=P.return))A.call(P)}finally{if(R)throw R.error}}return this},f.prototype.digest=function(){return(this.checksum^4294967295)>>>0},f}();var YF=[0,4067132163,3778769143,324072436,3348797215,904991772,648144872,3570033899,2329499855,2024987596,1809983544,2575936315,1296289744,3207089363,2893594407,1578318884,274646895,3795141740,4049975192,51262619,3619967088,632279923,922689671,3298075524,2592579488,1760304291,2075979607,2312596564,1562183871,2943781820,3156637768,1313733451,549293790,3537243613,3246849577,871202090,3878099393,357341890,102525238,4101499445,2858735121,1477399826,1264559846,3107202533,1845379342,2677391885,2361733625,2125378298,820201905,3263744690,3520608582,598981189,4151959214,85089709,373468761,3827903834,3124367742,1213305469,1526817161,2842354314,2107672161,2412447074,2627466902,1861252501,1098587580,3004210879,2688576843,1378610760,2262928035,1955203488,1742404180,2511436119,3416409459,969524848,714683780,3639785095,205050476,4266873199,3976438427,526918040,1361435347,2739821008,2954799652,1114974503,2529119692,1691668175,2005155131,2247081528,3690758684,697762079,986182379,3366744552,476452099,3993867776,4250756596,255256311,1640403810,2477592673,2164122517,1922457750,2791048317,1412925310,1197962378,3037525897,3944729517,427051182,170179418,4165941337,746937522,3740196785,3451792453,1070968646,1905808397,2213795598,2426610938,1657317369,3053634322,1147748369,1463399397,2773627110,4215344322,153784257,444234805,3893493558,1021025245,3467647198,3722505002,797665321,2197175160,1889384571,1674398607,2443626636,1164749927,3070701412,2757221520,1446797203,137323447,4198817972,3910406976,461344835,3484808360,1037989803,781091935,3705997148,2460548119,1623424788,1939049696,2180517859,1429367560,2807687179,3020495871,1180866812,410100952,3927582683,4182430767,186734380,3756733383,763408580,1053836080,3434856499,2722870694,1344288421,1131464017,2971354706,1708204729,2545590714,2229949006,1988219213,680717673,3673779818,3383336350,1002577565,4010310262,493091189,238226049,4233660802,2987750089,1082061258,1395524158,2705686845,1972364758,2279892693,2494862625,1725896226,952904198,3399985413,3656866545,731699698,4283874585,222117402,510512622,3959836397,3280807620,837199303,582374963,3504198960,68661723,4135334616,3844915500,390545967,1230274059,3141532936,2825850620,1510247935,2395924756,2091215383,1878366691,2644384480,3553878443,565732008,854102364,3229815391,340358836,3861050807,4117890627,119113024,1493875044,2875275879,3090270611,1247431312,2660249211,1828433272,2141937292,2378227087,3811616794,291187481,34330861,4032846830,615137029,3603020806,3314634738,939183345,1776939221,2609017814,2295496738,2058945313,2926798794,1545135305,1330124605,3173225534,4084100981,17165430,307568514,3762199681,888469610,3332340585,3587147933,665062302,2042050490,2346497209,2559330125,1793573966,3190661285,1279665062,1595330642,2910671697],DF=xh(YF);var CR=(f,h)=>({[c.MD5]:h.md5,[c.CRC32]:Z0,[c.CRC32C]:J0,[c.SHA1]:h.sha1,[c.SHA256]:h.sha256})[f];var cR=(f,h)=>{let R=new f;return R.update(lR(h||"")),R.digest()};var JP={name:"flexibleChecksumsMiddleware",step:"build",tags:["BODY_CHECKSUM"],override:!0},LP=(f,h)=>(R,A)=>async(P)=>{if(!Sf.isInstance(P.request))return R(P);let{request:I}=P,{body:$,headers:w}=I,{base64Encoder:U,streamHasher:F}=f,{input:N,requestChecksumRequired:W,requestAlgorithmMember:V}=h,S=DP(N,{requestChecksumRequired:W,requestAlgorithmMember:V},!!A.isS3ExpressBucket),L=$,K=w;if(S){let Pf=Yh(S),Kf=CR(S,f);if(Dh($)){let{getAwsChunkedEncodingStream:lh,bodyLengthChecker:BR}=f;L=lh($,{base64Encoder:U,bodyLengthChecker:BR,checksumLocationName:Pf,checksumAlgorithmFn:Kf,streamHasher:F}),K={...w,"content-encoding":w["content-encoding"]?`${w["content-encoding"]},aws-chunked`:"aws-chunked","transfer-encoding":"chunked","x-amz-decoded-content-length":w["content-length"],"x-amz-content-sha256":"STREAMING-UNSIGNED-PAYLOAD-TRAILER","x-amz-trailer":Pf},delete K["content-length"]}else if(!MP(Pf,w)){let lh=await cR(Kf,$);K={...w,[Pf]:U(lh)}}}return await R({...P,request:{...I,headers:K,body:L}})};var bR=(f=[])=>{let h=[];for(let R of YP){if(!f.includes(R)||!bh.includes(R))continue;h.push(R)}return h};var QP=(f)=>{let h=f.lastIndexOf("-");if(h!==-1){let R=f.slice(h+1);if(!R.startsWith("0")){let A=parseInt(R,10);if(!isNaN(A)&&A>=1&&A<=1e4)return!0}}return!1};import{Transform as MF}from"stream";function L0(f){let h=new MF;return h.push(f),h.push(null),h}var gP=async(f,{streamHasher:h,checksumAlgorithmFn:R,base64Encoder:A})=>{let P=Dh(f)?h(R,f):cR(R,f);return A(await P)};var qP=async(f,{config:h,responseAlgorithms:R})=>{let A=bR(R),{body:P,headers:I}=f;for(let $ of A){let w=Yh($),U=I[w];if(U){let F=CR($,h),{streamHasher:N,base64Encoder:W}=h,V=await gP(P,{streamHasher:N,checksumAlgorithmFn:F,base64Encoder:W});if(V===U)break;throw new Error(`Checksum mismatch: expected "${V}" but received "${U}" in response header "${w}".`)}}};var yP={name:"flexibleChecksumsResponseMiddleware",toMiddleware:"deserializerMiddleware",relation:"after",tags:["BODY_CHECKSUM"],override:!0},BP=(f,h)=>(R,A)=>async(P)=>{if(!Sf.isInstance(P.request))return R(P);let I=P.input,$=await R(P),w=$.response,U=void 0,{requestValidationModeMember:F,responseAlgorithms:N}=h;if(F&&I[F]==="ENABLED"){let{clientName:W,commandName:V}=A;if(W==="S3Client"&&V==="GetObjectCommand"&&bR(N).every((K)=>{let Af=Yh(K),Pf=w.headers[Af];return!Pf||QP(Pf)}))return $;let L=Dh(w.body);if(L)U=await f.streamCollector(w.body),w.body=L0(U);if(await qP($.response,{config:f,responseAlgorithms:N}),L&&U)w.body=L0(U)}return $};var dR=(f,h)=>({applyToStack:(R)=>{R.add(LP(f,h),JP),R.addRelativeTo(BP(f,h),yP)}});var TP=(f)=>({...f,requestChecksumCalculation:_h(f.requestChecksumCalculation??vR),responseChecksumValidation:_h(f.responseChecksumValidation??jR)});var VF="content-length";function XF(){return(f,h)=>async(R)=>{let{request:A}=R;if(Sf.isInstance(A)){if(!(VF in A.headers))if(typeof h?.logger?.warn==="function"&&!(h.logger instanceof rR))h.logger.warn("Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.");else console.warn("Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.")}return f({...R})}}var ZF={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0},KP=(f)=>({applyToStack:(h)=>{h.add(XF(),ZF)}});var vP=(f)=>{return(h,R)=>async(A)=>{let P=await f.region(),I=f.region,$=()=>{};if(R.__s3RegionRedirect)Object.defineProperty(f,"region",{writable:!1,value:async()=>{return R.__s3RegionRedirect}}),$=()=>Object.defineProperty(f,"region",{writable:!0,value:I});try{let w=await h(A);if(R.__s3RegionRedirect){$();let U=await f.region();if(P!==U)throw new Error("Region was not restored following S3 region redirect.")}return w}catch(w){throw $(),w}}},jP={tags:["REGION_REDIRECT","S3"],name:"regionRedirectEndpointMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};function zF(f){return(h,R)=>async(A)=>{try{return await h(A)}catch(P){if(f.followRegionRedirects&&P?.$metadata?.httpStatusCode===301){try{let I=P.$response.headers["x-amz-bucket-region"];R.logger?.debug(`Redirecting from ${await f.region()} to ${I}`),R.__s3RegionRedirect=I}catch(I){throw new Error("Region redirect failed: "+I)}return h(A)}else throw P}}}var JF={step:"initialize",tags:["REGION_REDIRECT","S3"],name:"regionRedirectMiddleware",override:!0},mP=(f)=>({applyToStack:(h)=>{h.add(zF(f),JF),h.addRelativeTo(vP(f),jP)}});var LF=(f)=>{return(h,R)=>async(A)=>{let P=await h(A),{response:I}=P;if(kR.isInstance(I)){if(I.headers.expires){I.headers.expiresstring=I.headers.expires;try{ah(I.headers.expires)}catch($){R.logger?.warn(`AWS SDK Warning for ${R.clientName}::${R.commandName} response parsing (${I.headers.expires}): ${$}`),delete I.headers.expires}}}return P}},QF={tags:["S3"],name:"s3ExpiresMiddleware",override:!0,relation:"after",toMiddleware:"deserializerMiddleware"},OP=(f)=>({applyToStack:(h)=>{h.addRelativeTo(LF(f),QF)}});class Mh{constructor(f={}){this.data=f,this.lastPurgeTime=Date.now()}get(f){let h=this.data[f];if(!h)return;return h}set(f,h){return this.data[f]=h,h}delete(f){delete this.data[f]}async purgeExpired(){let f=Date.now();if(this.lastPurgeTime+Mh.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>f)return;for(let h in this.data){let R=this.data[h];if(!R.isRefreshing){let A=await R.identity;if(A.expiration){if(A.expiration.getTime()<f)delete this.data[h]}}}}}Mh.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=30000;class Vh{constructor(f,h=!1,R=Date.now()){this._identity=f,this.isRefreshing=h,this.accessed=R}get identity(){return this.accessed=Date.now(),this._identity}}class Xh{constructor(f,h=new Mh){this.createSessionFn=f,this.cache=h}async getS3ExpressIdentity(f,h){let R=h.Bucket,{cache:A}=this,P=A.get(R);if(P)return P.identity.then((I)=>{if((I.expiration?.getTime()??0)<Date.now())return A.set(R,new Vh(this.getIdentity(R))).identity;if((I.expiration?.getTime()??0)<Date.now()+Xh.REFRESH_WINDOW_MS&&!P.isRefreshing)P.isRefreshing=!0,this.getIdentity(R).then((U)=>{A.set(R,new Vh(Promise.resolve(U)))});return I});return A.set(R,new Vh(this.getIdentity(R))).identity}async getIdentity(f){await this.cache.purgeExpired().catch((A)=>{console.warn("Error while clearing expired entries in S3ExpressIdentityCache: \n"+A)});let h=await this.createSessionFn(f);if(!h.Credentials?.AccessKeyId||!h.Credentials?.SecretAccessKey)throw new Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey.");return{accessKeyId:h.Credentials.AccessKeyId,secretAccessKey:h.Credentials.SecretAccessKey,sessionToken:h.Credentials.SessionToken,expiration:h.Credentials.Expiration?new Date(h.Credentials.Expiration):void 0}}}Xh.REFRESH_WINDOW_MS=60000;var dP=If(yF(),1);var sP="Directory",CP="S3Express",lP="sigv4-s3express",xR="X-Amz-S3session-Token",ih=xR.toLowerCase(),gF="AWS_S3_DISABLE_EXPRESS_SESSION_AUTH",qF="s3_disable_express_session_auth",Q0={environmentVariableSelector:(f)=>hh(f,gF,Rh.ENV),configFileSelector:(f)=>hh(f,qF,Rh.CONFIG),default:!1};class _R extends dP.SignatureV4{async signWithCredentials(f,h,R){let A=cP(h);f.headers[ih]=h.sessionToken;let P=this;return bP(P,A),P.signRequest(f,R??{})}async presignWithCredentials(f,h,R){let A=cP(h);return delete f.headers[ih],f.headers[xR]=h.sessionToken,f.query=f.query??{},f.query[xR]=h.sessionToken,bP(this,A),this.presign(f,R)}}function cP(f){return{accessKeyId:f.accessKeyId,secretAccessKey:f.secretAccessKey,expiration:f.expiration}}function bP(f,h){let R=setTimeout(()=>{throw new Error("SignatureV4S3Express credential override was created but not called.")},10),A=f.credentialProvider,P=()=>{return clearTimeout(R),f.credentialProvider=A,Promise.resolve(h)};f.credentialProvider=P}var rP=(f)=>{return(h,R)=>async(A)=>{if(R.endpointV2){let P=R.endpointV2,I=P.properties?.authSchemes?.[0]?.name===lP;if(P.properties?.backend===CP||P.properties?.bucketType===sP)R.isS3ExpressBucket=!0;if(I){let w=A.input.Bucket;if(w){let U=await f.s3ExpressIdentityProvider.getS3ExpressIdentity(await f.credentials(),{Bucket:w});if(R.s3ExpressIdentity=U,Sf.isInstance(A.request)&&U.sessionToken)A.request.headers[ih]=U.sessionToken}}}return h(A)}},kP={name:"s3ExpressMiddleware",step:"build",tags:["S3","S3_EXPRESS"],override:!0},g0=(f)=>({applyToStack:(h)=>{h.add(rP(f),kP)}});var _P=If(q0(),1);var TF=If(BF(),1);var xP=async(f,h,R,A)=>{let P=await A.signWithCredentials(R,f,{});if(P.headers["X-Amz-Security-Token"]||P.headers["x-amz-security-token"])throw new Error("X-Amz-Security-Token must not be set for s3-express requests.");return P};var KF=(f)=>(h)=>{throw h},vF=(f,h)=>{};var aP=(f)=>(h,R)=>async(A)=>{if(!Sf.isInstance(A.request))return h(A);let I=ph(R).selectedHttpAuthScheme;if(!I)throw new Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:$={}},identity:w,signer:U}=I,F;if(R.s3ExpressIdentity)F=await xP(R.s3ExpressIdentity,$,A.request,await f.signer());else F=await U.sign(A.request,w,$);let N=await h({...A,request:F}).catch((U.errorHandler||KF)($));return(U.successHandler||vF)(N.response,$),N},y0=(f)=>({applyToStack:(h)=>{h.addRelativeTo(aP(f),_P.httpSigningMiddlewareOptions)}});var iP=(f,{session:h})=>{let[R,A]=h;return{...f,forcePathStyle:f.forcePathStyle??!1,useAccelerateEndpoint:f.useAccelerateEndpoint??!1,disableMultiregionAccessPoints:f.disableMultiregionAccessPoints??!1,followRegionRedirects:f.followRegionRedirects??!1,s3ExpressIdentityProvider:f.s3ExpressIdentityProvider??new Xh(async(P)=>R().send(new A({Bucket:P,SessionMode:"ReadWrite"}))),bucketEndpoint:f.bucketEndpoint??!1}};var jF={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},mF=3000,OF=(f)=>(h,R)=>async(A)=>{let P=await h(A),{response:I}=P;if(!kR.isInstance(I))return P;let{statusCode:$,body:w}=I;if($<200||$>=300)return P;if(!(typeof w?.stream==="function"||typeof w?.pipe==="function"||typeof w?.tee==="function"))return P;let F=w,N=w;if(w&&typeof w==="object"&&!(w instanceof Uint8Array))[F,N]=await pP(w);I.body=N;let W=await sF(F,{streamCollector:async(S)=>{return eP(S,mF)}});if(typeof F?.destroy==="function")F.destroy();let V=f.utf8Encoder(W.subarray(W.length-16));if(W.length===0&&jF[R.commandName]){let S=new Error("S3 aborted request");throw S.name="InternalError",S}if(V&&V.endsWith("</Error>"))I.statusCode=400;return P},sF=(f=new Uint8Array,h)=>{if(f instanceof Uint8Array)return Promise.resolve(f);return h.streamCollector(f)||Promise.resolve(new Uint8Array)},CF={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},Zh=(f)=>({applyToStack:(h)=>{h.addRelativeTo(OF(f),CF)}});var B0=(f)=>typeof f==="string"&&f.indexOf("arn:")===0&&f.split(":").length>=6;function oP(f){return(h,R)=>async(A)=>{if(f.bucketEndpoint){let P=R.endpointV2;if(P){let I=A.input.Bucket;if(typeof I==="string")try{let $=new URL(I);R.endpointV2={...P,url:$}}catch($){let w=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${I} could not be parsed as URL.`;if(R.logger?.constructor?.name==="NoOpLogger")console.warn(w);else R.logger?.warn?.(w);throw $}}}return h(A)}}var nP={name:"bucketEndpointMiddleware",override:!0,relation:"after",toMiddleware:"endpointV2Middleware"};function lF({bucketEndpoint:f}){return(h)=>async(R)=>{let{input:{Bucket:A}}=R;if(!f&&typeof A==="string"&&!B0(A)&&A.indexOf("/")>=0){let P=new Error(`Bucket name shouldn't contain '/', received '${A}'`);throw P.name="InvalidBucketName",P}return h({...R})}}var cF={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0},uP=(f)=>({applyToStack:(h)=>{h.add(lF(f),cF),h.addRelativeTo(oP(f),nP)}});var qh=If(q0(),1);var tP=(f)=>({...f,eventStreamMarshaller:f.eventStreamSerdeProvider(f)});var hA=If(fA(),1);var aR={CrtSignerV4:null};class T0{constructor(f){this.sigv4Signer=new _R(f),this.signerOptions=f}async sign(f,h={}){if(h.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().sign(f,h)}return this.sigv4Signer.sign(f,h)}async signWithCredentials(f,h,R={}){if(R.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().signWithCredentials(f,h,R)}return this.sigv4Signer.signWithCredentials(f,h,R)}async presign(f,h={}){if(h.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().presign(f,h)}return this.sigv4Signer.presign(f,h)}async presignWithCredentials(f,h,R={}){if(R.signingRegion==="*")throw new Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(f,h,R)}getSigv4aSigner(){if(!this.sigv4aSigner){let f=null;try{if(f=aR.CrtSignerV4,typeof f!=="function")throw new Error}catch(h){throw h.message=`${h.message}\nPlease check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. \nYou must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. \nFor more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`,h}this.sigv4aSigner=new f({...this.signerOptions,signingAlgorithm:1})}return this.sigv4aSigner}}var zh={["required"]:!1,["type"]:"String"},Jh={["required"]:!0,default:!1,["type"]:"Boolean"},eh={["required"]:!1,["type"]:"Boolean"},Zf={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"Accelerate"},!0]},O={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseFIPS"},!0]},m={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseDualStack"},!0]},d={["fn"]:"isSet",["argv"]:[{["ref"]:"Endpoint"}]},xI={["fn"]:"aws.partition",["argv"]:[{["ref"]:"Region"}],["assign"]:"partitionResult"},fI={["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[{["ref"]:"partitionResult"},"name"]},"aws-cn"]},nR={["fn"]:"isSet",["argv"]:[{["ref"]:"Bucket"}]},Uf={["ref"]:"Bucket"},wf={["fn"]:"parseURL",["argv"]:[{["ref"]:"Endpoint"}],["assign"]:"url"},oR={["fn"]:"booleanEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[{["ref"]:"url"},"isIp"]},!0]},_I={["ref"]:"url"},aI={["fn"]:"uriEncode",["argv"]:[Uf],["assign"]:"uri_encoded_bucket"},vf={["backend"]:"S3Express",["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3express",["signingRegion"]:"{Region}"}]},M={},iI={["fn"]:"aws.isVirtualHostableS3Bucket",["argv"]:[Uf,!1]},K0={["error"]:"S3Express bucket name is not a valid virtual hostable name.",["type"]:"error"},uR={["backend"]:"S3Express",["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4-s3express",["signingName"]:"s3express",["signingRegion"]:"{Region}"}]},hI={["fn"]:"isSet",["argv"]:[{["ref"]:"UseS3ExpressControlEndpoint"}]},RI={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseS3ExpressControlEndpoint"},!0]},X={["fn"]:"not",["argv"]:[d]},AI={["error"]:"Unrecognized S3Express bucket name format.",["type"]:"error"},PI={["fn"]:"not",["argv"]:[nR]},II={["ref"]:"hardwareType"},$I={["conditions"]:[X],["error"]:"Expected a endpoint to be specified but no endpoint was found",["type"]:"error"},iR={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4a",["signingName"]:"s3-outposts",["signingRegionSet"]:["*"]},{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-outposts",["signingRegion"]:"{Region}"}]},v0={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"ForcePathStyle"},!1]},bF={["ref"]:"ForcePathStyle"},b={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"Accelerate"},!1]},x={["fn"]:"stringEquals",["argv"]:[{["ref"]:"Region"},"aws-global"]},a={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3",["signingRegion"]:"us-east-1"}]},Q={["fn"]:"not",["argv"]:[x]},i={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseGlobalEndpoint"},!0]},wI={["url"]:"https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:{["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3",["signingRegion"]:"{Region}"}]},["headers"]:{}},r={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3",["signingRegion"]:"{Region}"}]},p={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseGlobalEndpoint"},!1]},J={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseDualStack"},!1]},UI={["url"]:"https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}",["properties"]:r,["headers"]:{}},z={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseFIPS"},!1]},HI={["url"]:"https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}",["properties"]:r,["headers"]:{}},FI={["url"]:"https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:r,["headers"]:{}},j0={["fn"]:"booleanEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[_I,"isIp"]},!1]},m0={["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",["properties"]:r,["headers"]:{}},f3={["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:r,["headers"]:{}},EI={["endpoint"]:f3,["type"]:"endpoint"},O0={["url"]:"https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",["properties"]:r,["headers"]:{}},NI={["url"]:"https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}",["properties"]:r,["headers"]:{}},pR={["error"]:"Invalid region: region was not a valid DNS name.",["type"]:"error"},Ef={["ref"]:"bucketArn"},pI={["ref"]:"arnType"},s0={["fn"]:"getAttr",["argv"]:[Ef,"service"]},h3={["ref"]:"accessPointName"},GI={["conditions"]:[m],["error"]:"S3 Object Lambda does not support Dual-stack",["type"]:"error"},SI={["conditions"]:[Zf],["error"]:"S3 Object Lambda does not support S3 Accelerate",["type"]:"error"},WI={["conditions"]:[{["fn"]:"isSet",["argv"]:[{["ref"]:"DisableAccessPoints"}]},{["fn"]:"booleanEquals",["argv"]:[{["ref"]:"DisableAccessPoints"},!0]}],["error"]:"Access points are not supported for this operation",["type"]:"error"},C0={["conditions"]:[{["fn"]:"isSet",["argv"]:[{["ref"]:"UseArnRegion"}]},{["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseArnRegion"},!1]},{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ef,"region"]},"{Region}"]}]}],["error"]:"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`",["type"]:"error"},eI={["fn"]:"getAttr",["argv"]:[{["ref"]:"bucketPartition"},"name"]},oI={["fn"]:"getAttr",["argv"]:[Ef,"accountId"]},l0={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-object-lambda",["signingRegion"]:"{bucketArn#region}"}]},YI={["error"]:"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`",["type"]:"error"},c0={["error"]:"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`",["type"]:"error"},b0={["error"]:"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)",["type"]:"error"},d0={["error"]:"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`",["type"]:"error"},DI={["error"]:"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.",["type"]:"error"},MI={["error"]:"Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided",["type"]:"error"},oh={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3",["signingRegion"]:"{bucketArn#region}"}]},VI={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4a",["signingName"]:"s3-outposts",["signingRegionSet"]:["*"]},{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-outposts",["signingRegion"]:"{bucketArn#region}"}]},XI={["fn"]:"aws.parseArn",["argv"]:[Uf]},ZI={["url"]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:r,["headers"]:{}},zI={["url"]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:r,["headers"]:{}},JI={["url"]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:r,["headers"]:{}},r0={["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",["properties"]:r,["headers"]:{}},LI={["url"]:"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:r,["headers"]:{}},QI={["ref"]:"UseObjectLambdaEndpoint"},k0={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-object-lambda",["signingRegion"]:"{Region}"}]},gI={["url"]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:r,["headers"]:{}},qI={["url"]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}",["properties"]:r,["headers"]:{}},yI={["url"]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:r,["headers"]:{}},x0={["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:r,["headers"]:{}},BI={["url"]:"https://s3.{Region}.{partitionResult#dnsSuffix}",["properties"]:r,["headers"]:{}},_0=[{["ref"]:"Region"}],dF=[{["ref"]:"Endpoint"}],rF=[Uf],a0=[m],eR=[Zf],Ah=[d,wf],TI=[{["fn"]:"isSet",["argv"]:[{["ref"]:"DisableS3ExpressSessionAuth"}]},{["fn"]:"booleanEquals",["argv"]:[{["ref"]:"DisableS3ExpressSessionAuth"},!0]}],KI=[oR],i0=[aI],p0=[iI],Lh=[O],vI=[{["fn"]:"substring",["argv"]:[Uf,6,14,!0],["assign"]:"s3expressAvailabilityZoneId"},{["fn"]:"substring",["argv"]:[Uf,14,16,!0],["assign"]:"s3expressAvailabilityZoneDelim"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"s3expressAvailabilityZoneDelim"},"--"]}],jI=[{["conditions"]:[O],["endpoint"]:{["url"]:"https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",["properties"]:vf,["headers"]:{}},["type"]:"endpoint"},{["endpoint"]:{["url"]:"https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",["properties"]:vf,["headers"]:{}},["type"]:"endpoint"}],mI=[{["fn"]:"substring",["argv"]:[Uf,6,15,!0],["assign"]:"s3expressAvailabilityZoneId"},{["fn"]:"substring",["argv"]:[Uf,15,17,!0],["assign"]:"s3expressAvailabilityZoneDelim"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"s3expressAvailabilityZoneDelim"},"--"]}],OI=[{["conditions"]:[O],["endpoint"]:{["url"]:"https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",["properties"]:uR,["headers"]:{}},["type"]:"endpoint"},{["endpoint"]:{["url"]:"https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",["properties"]:uR,["headers"]:{}},["type"]:"endpoint"}],kF=[nR],sI=[{["fn"]:"isValidHostLabel",["argv"]:[{["ref"]:"outpostId"},!1]}],CI=[{["fn"]:"stringEquals",["argv"]:[{["ref"]:"regionPrefix"},"beta"]}],xF=["*"],Cf=[xI],lI=[{["fn"]:"isValidHostLabel",["argv"]:[{["ref"]:"Region"},!1]}],lf=[{["fn"]:"stringEquals",["argv"]:[{["ref"]:"Region"},"us-east-1"]}],e0=[{["fn"]:"stringEquals",["argv"]:[pI,"accesspoint"]}],cI=[{["fn"]:"getAttr",["argv"]:[Ef,"resourceId[1]"],["assign"]:"accessPointName"},{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[h3,""]}]}],_F=[Ef,"resourceId[1]"],o0=[{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ef,"region"]},""]}]}],bI=[{["fn"]:"not",["argv"]:[{["fn"]:"isSet",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ef,"resourceId[2]"]}]}]}],aF=[Ef,"resourceId[2]"],n0=[{["fn"]:"aws.partition",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ef,"region"]}],["assign"]:"bucketPartition"}],dI=[{["fn"]:"stringEquals",["argv"]:[eI,{["fn"]:"getAttr",["argv"]:[{["ref"]:"partitionResult"},"name"]}]}],u0=[{["fn"]:"isValidHostLabel",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ef,"region"]},!0]}],t0=[{["fn"]:"isValidHostLabel",["argv"]:[oI,!1]}],rI=[{["fn"]:"isValidHostLabel",["argv"]:[h3,!1]}],kI=[{["fn"]:"isValidHostLabel",["argv"]:[{["ref"]:"Region"},!0]}],iF={version:"1.0",parameters:{Bucket:zh,Region:zh,UseFIPS:Jh,UseDualStack:Jh,Endpoint:zh,ForcePathStyle:Jh,Accelerate:Jh,UseGlobalEndpoint:Jh,UseObjectLambdaEndpoint:eh,Key:zh,Prefix:zh,CopySource:zh,DisableAccessPoints:eh,DisableMultiRegionAccessPoints:Jh,UseArnRegion:eh,UseS3ExpressControlEndpoint:eh,DisableS3ExpressSessionAuth:eh},rules:[{["conditions"]:[{["fn"]:"isSet",["argv"]:_0}],rules:[{["conditions"]:[Zf,O],error:"Accelerate cannot be used with FIPS",["type"]:"error"},{["conditions"]:[m,d],error:"Cannot set dual-stack in combination with a custom endpoint.",["type"]:"error"},{["conditions"]:[d,O],error:"A custom endpoint cannot be combined with FIPS",["type"]:"error"},{["conditions"]:[d,Zf],error:"A custom endpoint cannot be combined with S3 Accelerate",["type"]:"error"},{["conditions"]:[O,xI,fI],error:"Partition does not support FIPS",["type"]:"error"},{["conditions"]:[nR,{["fn"]:"substring",["argv"]:[Uf,0,6,!0],["assign"]:"bucketSuffix"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"bucketSuffix"},"--x-s3"]}],rules:[{["conditions"]:a0,error:"S3Express does not support Dual-stack.",["type"]:"error"},{["conditions"]:eR,error:"S3Express does not support S3 Accelerate.",["type"]:"error"},{["conditions"]:Ah,rules:[{["conditions"]:TI,rules:[{["conditions"]:KI,rules:[{["conditions"]:i0,rules:[{endpoint:{["url"]:"{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",["properties"]:vf,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:p0,rules:[{endpoint:{["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:vf,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},K0],["type"]:"tree"},{["conditions"]:KI,rules:[{["conditions"]:i0,rules:[{endpoint:{["url"]:"{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",["properties"]:uR,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:p0,rules:[{endpoint:{["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:uR,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},K0],["type"]:"tree"},{["conditions"]:[hI,RI],rules:[{["conditions"]:[aI,X],rules:[{["conditions"]:Lh,endpoint:{["url"]:"https://s3express-control-fips.{Region}.amazonaws.com/{uri_encoded_bucket}",["properties"]:vf,["headers"]:M},["type"]:"endpoint"},{endpoint:{["url"]:"https://s3express-control.{Region}.amazonaws.com/{uri_encoded_bucket}",["properties"]:vf,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:p0,rules:[{["conditions"]:TI,rules:[{["conditions"]:vI,rules:jI,["type"]:"tree"},{["conditions"]:mI,rules:jI,["type"]:"tree"},AI],["type"]:"tree"},{["conditions"]:vI,rules:OI,["type"]:"tree"},{["conditions"]:mI,rules:OI,["type"]:"tree"},AI],["type"]:"tree"},K0],["type"]:"tree"},{["conditions"]:[PI,hI,RI],rules:[{["conditions"]:Ah,endpoint:{["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:vf,["headers"]:M},["type"]:"endpoint"},{["conditions"]:Lh,endpoint:{["url"]:"https://s3express-control-fips.{Region}.amazonaws.com",["properties"]:vf,["headers"]:M},["type"]:"endpoint"},{endpoint:{["url"]:"https://s3express-control.{Region}.amazonaws.com",["properties"]:vf,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[nR,{["fn"]:"substring",["argv"]:[Uf,49,50,!0],["assign"]:"hardwareType"},{["fn"]:"substring",["argv"]:[Uf,8,12,!0],["assign"]:"regionPrefix"},{["fn"]:"substring",["argv"]:[Uf,0,7,!0],["assign"]:"bucketAliasSuffix"},{["fn"]:"substring",["argv"]:[Uf,32,49,!0],["assign"]:"outpostId"},{["fn"]:"aws.partition",["argv"]:_0,["assign"]:"regionPartition"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"bucketAliasSuffix"},"--op-s3"]}],rules:[{["conditions"]:sI,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[II,"e"]}],rules:[{["conditions"]:CI,rules:[$I,{["conditions"]:Ah,endpoint:{["url"]:"https://{Bucket}.ec2.{url#authority}",["properties"]:iR,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},{endpoint:{["url"]:"https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}",["properties"]:iR,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[II,"o"]}],rules:[{["conditions"]:CI,rules:[$I,{["conditions"]:Ah,endpoint:{["url"]:"https://{Bucket}.op-{outpostId}.{url#authority}",["properties"]:iR,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},{endpoint:{["url"]:"https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}",["properties"]:iR,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},{error:"Unrecognized hardware type: \"Expected hardware type o or e but got {hardwareType}\"",["type"]:"error"}],["type"]:"tree"},{error:"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.",["type"]:"error"}],["type"]:"tree"},{["conditions"]:kF,rules:[{["conditions"]:[d,{["fn"]:"not",["argv"]:[{["fn"]:"isSet",["argv"]:[{["fn"]:"parseURL",["argv"]:dF}]}]}],error:"Custom endpoint `{Endpoint}` was not a valid URI",["type"]:"error"},{["conditions"]:[v0,iI],rules:[{["conditions"]:Cf,rules:[{["conditions"]:lI,rules:[{["conditions"]:[Zf,fI],error:"S3 Accelerate cannot be used in this region",["type"]:"error"},{["conditions"]:[m,O,b,X,x],endpoint:{["url"]:"https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[m,O,b,X,Q,i],rules:[{endpoint:wI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[m,O,b,X,Q,p],endpoint:wI,["type"]:"endpoint"},{["conditions"]:[J,O,b,X,x],endpoint:{["url"]:"https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,O,b,X,Q,i],rules:[{endpoint:UI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[J,O,b,X,Q,p],endpoint:UI,["type"]:"endpoint"},{["conditions"]:[m,z,Zf,X,x],endpoint:{["url"]:"https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[m,z,Zf,X,Q,i],rules:[{endpoint:HI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[m,z,Zf,X,Q,p],endpoint:HI,["type"]:"endpoint"},{["conditions"]:[m,z,b,X,x],endpoint:{["url"]:"https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[m,z,b,X,Q,i],rules:[{endpoint:FI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[m,z,b,X,Q,p],endpoint:FI,["type"]:"endpoint"},{["conditions"]:[J,z,b,d,wf,oR,x],endpoint:{["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,z,b,d,wf,j0,x],endpoint:{["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,z,b,d,wf,oR,Q,i],rules:[{["conditions"]:lf,endpoint:m0,["type"]:"endpoint"},{endpoint:m0,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[J,z,b,d,wf,j0,Q,i],rules:[{["conditions"]:lf,endpoint:f3,["type"]:"endpoint"},EI],["type"]:"tree"},{["conditions"]:[J,z,b,d,wf,oR,Q,p],endpoint:m0,["type"]:"endpoint"},{["conditions"]:[J,z,b,d,wf,j0,Q,p],endpoint:f3,["type"]:"endpoint"},{["conditions"]:[J,z,Zf,X,x],endpoint:{["url"]:"https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,z,Zf,X,Q,i],rules:[{["conditions"]:lf,endpoint:O0,["type"]:"endpoint"},{endpoint:O0,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[J,z,Zf,X,Q,p],endpoint:O0,["type"]:"endpoint"},{["conditions"]:[J,z,b,X,x],endpoint:{["url"]:"https://{Bucket}.s3.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,z,b,X,Q,i],rules:[{["conditions"]:lf,endpoint:{["url"]:"https://{Bucket}.s3.{partitionResult#dnsSuffix}",["properties"]:r,["headers"]:M},["type"]:"endpoint"},{endpoint:NI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[J,z,b,X,Q,p],endpoint:NI,["type"]:"endpoint"}],["type"]:"tree"},pR],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[d,wf,{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[_I,"scheme"]},"http"]},{["fn"]:"aws.isVirtualHostableS3Bucket",["argv"]:[Uf,!0]},v0,z,J,b],rules:[{["conditions"]:Cf,rules:[{["conditions"]:lI,rules:[EI],["type"]:"tree"},pR],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[v0,{["fn"]:"aws.parseArn",["argv"]:rF,["assign"]:"bucketArn"}],rules:[{["conditions"]:[{["fn"]:"getAttr",["argv"]:[Ef,"resourceId[0]"],["assign"]:"arnType"},{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[pI,""]}]}],rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[s0,"s3-object-lambda"]}],rules:[{["conditions"]:e0,rules:[{["conditions"]:cI,rules:[GI,SI,{["conditions"]:o0,rules:[WI,{["conditions"]:bI,rules:[C0,{["conditions"]:n0,rules:[{["conditions"]:Cf,rules:[{["conditions"]:dI,rules:[{["conditions"]:u0,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[oI,""]}],error:"Invalid ARN: Missing account id",["type"]:"error"},{["conditions"]:t0,rules:[{["conditions"]:rI,rules:[{["conditions"]:Ah,endpoint:{["url"]:"{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}",["properties"]:l0,["headers"]:M},["type"]:"endpoint"},{["conditions"]:Lh,endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:l0,["headers"]:M},["type"]:"endpoint"},{endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:l0,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},YI],["type"]:"tree"},c0],["type"]:"tree"},b0],["type"]:"tree"},d0],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},DI],["type"]:"tree"},{error:"Invalid ARN: bucket ARN is missing a region",["type"]:"error"}],["type"]:"tree"},MI],["type"]:"tree"},{error:"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`",["type"]:"error"}],["type"]:"tree"},{["conditions"]:e0,rules:[{["conditions"]:cI,rules:[{["conditions"]:o0,rules:[{["conditions"]:e0,rules:[{["conditions"]:o0,rules:[WI,{["conditions"]:bI,rules:[C0,{["conditions"]:n0,rules:[{["conditions"]:Cf,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[eI,"{partitionResult#name}"]}],rules:[{["conditions"]:u0,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[s0,"s3"]}],rules:[{["conditions"]:t0,rules:[{["conditions"]:rI,rules:[{["conditions"]:eR,error:"Access Points do not support S3 Accelerate",["type"]:"error"},{["conditions"]:[O,m],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:oh,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[O,J],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:oh,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,m],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:oh,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,J,d,wf],endpoint:{["url"]:"{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}",["properties"]:oh,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,J],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:oh,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},YI],["type"]:"tree"},c0],["type"]:"tree"},{error:"Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}",["type"]:"error"}],["type"]:"tree"},b0],["type"]:"tree"},d0],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},DI],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[{["fn"]:"isValidHostLabel",["argv"]:[h3,!0]}],rules:[{["conditions"]:a0,error:"S3 MRAP does not support dual-stack",["type"]:"error"},{["conditions"]:Lh,error:"S3 MRAP does not support FIPS",["type"]:"error"},{["conditions"]:eR,error:"S3 MRAP does not support S3 Accelerate",["type"]:"error"},{["conditions"]:[{["fn"]:"booleanEquals",["argv"]:[{["ref"]:"DisableMultiRegionAccessPoints"},!0]}],error:"Invalid configuration: Multi-Region Access Point ARNs are disabled.",["type"]:"error"},{["conditions"]:[{["fn"]:"aws.partition",["argv"]:_0,["assign"]:"mrapPartition"}],rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[{["ref"]:"mrapPartition"},"name"]},{["fn"]:"getAttr",["argv"]:[Ef,"partition"]}]}],rules:[{endpoint:{["url"]:"https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}",["properties"]:{["authSchemes"]:[{["disableDoubleEncoding"]:!0,name:"sigv4a",["signingName"]:"s3",["signingRegionSet"]:xF}]},["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},{error:"Client was configured for partition `{mrapPartition#name}` but bucket referred to partition `{bucketArn#partition}`",["type"]:"error"}],["type"]:"tree"}],["type"]:"tree"},{error:"Invalid Access Point Name",["type"]:"error"}],["type"]:"tree"},MI],["type"]:"tree"},{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[s0,"s3-outposts"]}],rules:[{["conditions"]:a0,error:"S3 Outposts does not support Dual-stack",["type"]:"error"},{["conditions"]:Lh,error:"S3 Outposts does not support FIPS",["type"]:"error"},{["conditions"]:eR,error:"S3 Outposts does not support S3 Accelerate",["type"]:"error"},{["conditions"]:[{["fn"]:"isSet",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ef,"resourceId[4]"]}]}],error:"Invalid Arn: Outpost Access Point ARN contains sub resources",["type"]:"error"},{["conditions"]:[{["fn"]:"getAttr",["argv"]:_F,["assign"]:"outpostId"}],rules:[{["conditions"]:sI,rules:[C0,{["conditions"]:n0,rules:[{["conditions"]:Cf,rules:[{["conditions"]:dI,rules:[{["conditions"]:u0,rules:[{["conditions"]:t0,rules:[{["conditions"]:[{["fn"]:"getAttr",["argv"]:aF,["assign"]:"outpostType"}],rules:[{["conditions"]:[{["fn"]:"getAttr",["argv"]:[Ef,"resourceId[3]"],["assign"]:"accessPointName"}],rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[{["ref"]:"outpostType"},"accesspoint"]}],rules:[{["conditions"]:Ah,endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}",["properties"]:VI,["headers"]:M},["type"]:"endpoint"},{endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:VI,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},{error:"Expected an outpost type `accesspoint`, found {outpostType}",["type"]:"error"}],["type"]:"tree"},{error:"Invalid ARN: expected an access point name",["type"]:"error"}],["type"]:"tree"},{error:"Invalid ARN: Expected a 4-component resource",["type"]:"error"}],["type"]:"tree"},c0],["type"]:"tree"},b0],["type"]:"tree"},d0],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},{error:"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId}`",["type"]:"error"}],["type"]:"tree"},{error:"Invalid ARN: The Outpost Id was not set",["type"]:"error"}],["type"]:"tree"},{error:"Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})",["type"]:"error"}],["type"]:"tree"},{error:"Invalid ARN: No ARN type specified",["type"]:"error"}],["type"]:"tree"},{["conditions"]:[{["fn"]:"substring",["argv"]:[Uf,0,4,!1],["assign"]:"arnPrefix"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"arnPrefix"},"arn:"]},{["fn"]:"not",["argv"]:[{["fn"]:"isSet",["argv"]:[XI]}]}],error:"Invalid ARN: `{Bucket}` was not a valid ARN",["type"]:"error"},{["conditions"]:[{["fn"]:"booleanEquals",["argv"]:[bF,!0]},XI],error:"Path-style addressing cannot be used with ARN buckets",["type"]:"error"},{["conditions"]:i0,rules:[{["conditions"]:Cf,rules:[{["conditions"]:[b],rules:[{["conditions"]:[m,X,O,x],endpoint:{["url"]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[m,X,O,Q,i],rules:[{endpoint:ZI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[m,X,O,Q,p],endpoint:ZI,["type"]:"endpoint"},{["conditions"]:[J,X,O,x],endpoint:{["url"]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,X,O,Q,i],rules:[{endpoint:zI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[J,X,O,Q,p],endpoint:zI,["type"]:"endpoint"},{["conditions"]:[m,X,z,x],endpoint:{["url"]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[m,X,z,Q,i],rules:[{endpoint:JI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[m,X,z,Q,p],endpoint:JI,["type"]:"endpoint"},{["conditions"]:[J,d,wf,z,x],endpoint:{["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,d,wf,z,Q,i],rules:[{["conditions"]:lf,endpoint:r0,["type"]:"endpoint"},{endpoint:r0,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[J,d,wf,z,Q,p],endpoint:r0,["type"]:"endpoint"},{["conditions"]:[J,X,z,x],endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,X,z,Q,i],rules:[{["conditions"]:lf,endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:r,["headers"]:M},["type"]:"endpoint"},{endpoint:LI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[J,X,z,Q,p],endpoint:LI,["type"]:"endpoint"}],["type"]:"tree"},{error:"Path-style addressing cannot be used with S3 Accelerate",["type"]:"error"}],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[{["fn"]:"isSet",["argv"]:[QI]},{["fn"]:"booleanEquals",["argv"]:[QI,!0]}],rules:[{["conditions"]:Cf,rules:[{["conditions"]:kI,rules:[GI,SI,{["conditions"]:Ah,endpoint:{["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:k0,["headers"]:M},["type"]:"endpoint"},{["conditions"]:Lh,endpoint:{["url"]:"https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}",["properties"]:k0,["headers"]:M},["type"]:"endpoint"},{endpoint:{["url"]:"https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}",["properties"]:k0,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},pR],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[PI],rules:[{["conditions"]:Cf,rules:[{["conditions"]:kI,rules:[{["conditions"]:[O,m,X,x],endpoint:{["url"]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[O,m,X,Q,i],rules:[{endpoint:gI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[O,m,X,Q,p],endpoint:gI,["type"]:"endpoint"},{["conditions"]:[O,J,X,x],endpoint:{["url"]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[O,J,X,Q,i],rules:[{endpoint:qI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[O,J,X,Q,p],endpoint:qI,["type"]:"endpoint"},{["conditions"]:[z,m,X,x],endpoint:{["url"]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,m,X,Q,i],rules:[{endpoint:yI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[z,m,X,Q,p],endpoint:yI,["type"]:"endpoint"},{["conditions"]:[z,J,d,wf,x],endpoint:{["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,J,d,wf,Q,i],rules:[{["conditions"]:lf,endpoint:x0,["type"]:"endpoint"},{endpoint:x0,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[z,J,d,wf,Q,p],endpoint:x0,["type"]:"endpoint"},{["conditions"]:[z,J,X,x],endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,J,X,Q,i],rules:[{["conditions"]:lf,endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}",["properties"]:r,["headers"]:M},["type"]:"endpoint"},{endpoint:BI,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[z,J,X,Q,p],endpoint:BI,["type"]:"endpoint"}],["type"]:"tree"},pR],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},{error:"A region must be set when sending requests to S3.",["type"]:"error"}]},nI=iF;var pF=new uI({size:50,params:["Accelerate","Bucket","DisableAccessPoints","DisableMultiRegionAccessPoints","DisableS3ExpressSessionAuth","Endpoint","ForcePathStyle","Region","UseArnRegion","UseDualStack","UseFIPS","UseGlobalEndpoint","UseObjectLambdaEndpoint","UseS3ExpressControlEndpoint"]}),tR=(f,h={})=>{return pF.get(f,()=>f$(nI,{endpointParams:f,logger:h.logger}))};tI.aws=h$;var eF=(f)=>async(h,R,A)=>{if(!A)throw new Error("Could not find \`input\` for \`defaultEndpointRuleSetHttpAuthSchemeParametersProvider\`");let P=await f(h,R,A),I=ph(R)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!I)throw new Error(`getEndpointParameterInstructions() is not defined on \`${R.commandName}\``);let $=await R$(A,{getEndpointParameterInstructions:I},h);return Object.assign(P,$)},oF=async(f,h,R)=>{return{operation:ph(h).operation,region:await _h(f.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}},A$=eF(oF);function P$(f){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"s3",region:f.region},propertiesExtractor:(h,R)=>({signingProperties:{config:h,context:R}})}}function I$(f){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"s3",region:f.region},propertiesExtractor:(h,R)=>({signingProperties:{config:h,context:R}})}}var nF=(f,h,R)=>{return(P)=>{let $=f(P).properties?.authSchemes;if(!$)return h(P);let w=[];for(let U of $){let{name:F,properties:N={},...W}=U,V=F.toLowerCase();if(F!==V)console.warn(`HttpAuthScheme has been normalized with lowercasing: \`${F}\` to \`${V}\``);let S;if(V==="sigv4a"){S="aws.auth#sigv4a";let Af=$.find((Pf)=>{let Kf=Pf.name.toLowerCase();return Kf!=="sigv4a"&&Kf.startsWith("sigv4")});if(!aR.CrtSignerV4&&Af)continue}else if(V.startsWith("sigv4"))S="aws.auth#sigv4";else throw new Error(`Unknown HttpAuthScheme found in \`@smithy.rules#endpointRuleSet\`: \`${V}\``);let L=R[S];if(!L)throw new Error(`Could not find HttpAuthOption create function for \`${S}\``);let K=L(P);K.schemeId=S,K.signingProperties={...K.signingProperties||{},...W,...N},w.push(K)}return w}},uF=(f)=>{let h=[];switch(f.operation){default:h.push(P$(f)),h.push(I$(f))}return h},$$=nF(tR,uF,{"aws.auth#sigv4":P$,"aws.auth#sigv4a":I$}),w$=(f)=>{let h=hA.resolveAwsSdkSigV4Config(f);return{...hA.resolveAwsSdkSigV4AConfig(h)}};var U$=(f)=>{return{...f,useFipsEndpoint:f.useFipsEndpoint??!1,useDualstackEndpoint:f.useDualstackEndpoint??!1,forcePathStyle:f.forcePathStyle??!1,useAccelerateEndpoint:f.useAccelerateEndpoint??!1,useGlobalEndpoint:f.useGlobalEndpoint??!1,disableMultiregionAccessPoints:f.disableMultiregionAccessPoints??!1,defaultSigningName:"s3"}},cf={ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},DisableS3ExpressSessionAuth:{type:"clientContextParams",name:"disableS3ExpressSessionAuth"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};class Hf extends H${constructor(f){super(f);Object.setPrototypeOf(this,Hf.prototype)}}class RA extends Hf{constructor(f){super({name:"NoSuchUpload",$fault:"client",...f});this.name="NoSuchUpload",this.$fault="client",Object.setPrototypeOf(this,RA.prototype)}}class AA extends Hf{constructor(f){super({name:"ObjectNotInActiveTierError",$fault:"client",...f});this.name="ObjectNotInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,AA.prototype)}}class PA extends Hf{constructor(f){super({name:"BucketAlreadyExists",$fault:"client",...f});this.name="BucketAlreadyExists",this.$fault="client",Object.setPrototypeOf(this,PA.prototype)}}class IA extends Hf{constructor(f){super({name:"BucketAlreadyOwnedByYou",$fault:"client",...f});this.name="BucketAlreadyOwnedByYou",this.$fault="client",Object.setPrototypeOf(this,IA.prototype)}}class $A extends Hf{constructor(f){super({name:"NoSuchBucket",$fault:"client",...f});this.name="NoSuchBucket",this.$fault="client",Object.setPrototypeOf(this,$A.prototype)}}var R3;(function(f){f.visit=(h,R)=>{if(h.Prefix!==void 0)return R.Prefix(h.Prefix);if(h.Tag!==void 0)return R.Tag(h.Tag);if(h.And!==void 0)return R.And(h.And);return R._(h.$unknown[0],h.$unknown[1])}})(R3||(R3={}));var A3;(function(f){f.visit=(h,R)=>{if(h.Prefix!==void 0)return R.Prefix(h.Prefix);if(h.Tag!==void 0)return R.Tag(h.Tag);if(h.ObjectSizeGreaterThan!==void 0)return R.ObjectSizeGreaterThan(h.ObjectSizeGreaterThan);if(h.ObjectSizeLessThan!==void 0)return R.ObjectSizeLessThan(h.ObjectSizeLessThan);if(h.And!==void 0)return R.And(h.And);return R._(h.$unknown[0],h.$unknown[1])}})(A3||(A3={}));var P3;(function(f){f.visit=(h,R)=>{if(h.Prefix!==void 0)return R.Prefix(h.Prefix);if(h.Tag!==void 0)return R.Tag(h.Tag);if(h.AccessPointArn!==void 0)return R.AccessPointArn(h.AccessPointArn);if(h.And!==void 0)return R.And(h.And);return R._(h.$unknown[0],h.$unknown[1])}})(P3||(P3={}));var I3;(function(f){f.visit=(h,R)=>{if(h.Prefix!==void 0)return R.Prefix(h.Prefix);if(h.Tag!==void 0)return R.Tag(h.Tag);if(h.And!==void 0)return R.And(h.And);return R._(h.$unknown[0],h.$unknown[1])}})(I3||(I3={}));class wA extends Hf{constructor(f){super({name:"InvalidObjectState",$fault:"client",...f});this.name="InvalidObjectState",this.$fault="client",Object.setPrototypeOf(this,wA.prototype),this.StorageClass=f.StorageClass,this.AccessTier=f.AccessTier}}class UA extends Hf{constructor(f){super({name:"NoSuchKey",$fault:"client",...f});this.name="NoSuchKey",this.$fault="client",Object.setPrototypeOf(this,UA.prototype)}}class HA extends Hf{constructor(f){super({name:"NotFound",$fault:"client",...f});this.name="NotFound",this.$fault="client",Object.setPrototypeOf(this,HA.prototype)}}var tF=(f)=>({...f,...f.SecretAccessKey&&{SecretAccessKey:Ff},...f.SessionToken&&{SessionToken:Ff}}),F$=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:Ff},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ff},...f.Credentials&&{Credentials:tF(f.Credentials)}}),E$=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:Ff},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ff}});var N$=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:Ff}}),G$=(f)=>({...f,...f.SSECustomerKey&&{SSECustomerKey:Ff}});var wh=If(fA(),1);var RR=If(q0(),1);class FA extends Hf{constructor(f){super({name:"ObjectAlreadyInActiveTierError",$fault:"client",...f});this.name="ObjectAlreadyInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,FA.prototype)}}var S$;(function(f){f.visit=(h,R)=>{if(h.Records!==void 0)return R.Records(h.Records);if(h.Stats!==void 0)return R.Stats(h.Stats);if(h.Progress!==void 0)return R.Progress(h.Progress);if(h.Cont!==void 0)return R.Cont(h.Cont);if(h.End!==void 0)return R.End(h.End);return R._(h.$unknown[0],h.$unknown[1])}})(S$||(S$={}));var W$=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:Ff},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ff}}),Y$=(f)=>({...f,...f.SSECustomerKey&&{SSECustomerKey:Ff},...f.SSEKMSKeyId&&{SSEKMSKeyId:Ff},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ff}});var y$=async(f,h)=>{let R=RR.requestBuilder(f,h),A=l({},Mf,{[XN]:f[xE],[IR]:f[AR],[$R]:f[PR],[LA]:f[JA],[df]:[()=>Mf(f[$h]),()=>f[$h].toString()]});R.bp("/"),R.p("Bucket",()=>f.Bucket,"{Bucket}",!1);let P=l({[WN]:[,""]}),I;return R.m("GET").h(A).q(P).b(I),R.build()};var B$=async(f,h)=>{let R=RR.requestBuilder(f,h),A=l({},Mf,{[hN]:f[KE],[RN]:[()=>Mf(f[D$]),()=>uh(f[D$]).toString()],[u$]:f[d$],[AN]:[()=>Mf(f[M$]),()=>uh(f[M$]).toString()],[UN]:f[OE],[QA]:f[ZA],[Aw]:f[x$],[gA]:f[zA],[_3]:f[C3],[k3]:f[O3],[VN]:f[ZE]});R.bp("/{Key+}"),R.p("Bucket",()=>f.Bucket,"{Bucket}",!1),R.p("Key",()=>f.Key,"{Key+}",!0);let P=l({[$w]:[,"GetObject"],[HN]:[,f[sE]],[FN]:[,f[CE]],[EN]:[,f[lE]],[NN]:[,f[cE]],[GN]:[,f[bE]],[SN]:[()=>f.ResponseExpires!==void 0,()=>uh(f[dE]).toString()],[DN]:[,f[l3]],[$N]:[()=>f.PartNumber!==void 0,()=>f[mE].toString()]}),I;return R.m("GET").h(A).q(P).b(I),R.build()};var T$=async(f,h)=>{let R=RR.requestBuilder(f,h),A=l({},Mf,{[_3]:f[C3],[k3]:f[O3],[QN]:[()=>Mf(f[V$]),()=>(f[V$]||[]).map(($)=>$).join(", ")]});R.bp("/"),R.p("Bucket",()=>f.Bucket,"{Bucket}",!1);let P=l({[PN]:[,"2"],[nE]:[,f[SA]],[uE]:[,f[WA]],[IN]:[()=>f.MaxKeys!==void 0,()=>f[DA].toString()],[wN]:[,f[Ph]],[oE]:[,f[GA]],[fN]:[()=>f.FetchOwner!==void 0,()=>f[gE].toString()],[YN]:[,f[MA]]}),I;return R.m("GET").h(A).q(P).b(I),R.build()};var K$=async(f,h)=>{let R=RR.requestBuilder(f,h),A=l({},Mf,{[o$]:f[b$]||"application/octet-stream",[MN]:f[VE],[a$]:f[s$],[i$]:f[C$],[p$]:f[l$],[e$]:f[c$],[g3]:[()=>Mf(f[J3]),()=>f[J3].toString()],[pE]:f[zE],[yN]:f[nh],[c3]:f[K3],[b3]:f[v3],[d3]:f[j3],[r3]:f[m3],[q3]:[()=>Mf(f[L3]),()=>uh(f[L3]).toString()],[u$]:f[d$],[ZN]:f[qE],[zN]:f[yE],[JN]:f[BE],[LN]:f[TE],[IR]:f[AR],[Rw]:f[bf],[Iw]:f[_$],[QA]:f[ZA],[Aw]:f[x$],[gA]:f[zA],[$R]:f[PR],[LA]:f[JA],[df]:[()=>Mf(f[$h]),()=>f[$h].toString()],[_3]:f[C3],[BN]:f[_E],[hw]:f[k$],[y3]:[()=>Mf(f[Q3]),()=>q$(f[Q3]).toString()],[fw]:f[r$],[k3]:f[O3],...f.Metadata!==void 0&&Object.keys(f.Metadata).reduce((w,U)=>{return w[`x-amz-meta-${U.toLowerCase()}`]=f.Metadata[U],w},{})});R.bp("/{Key+}"),R.p("Bucket",()=>f.Bucket,"{Bucket}",!1),R.p("Key",()=>f.Key,"{Key+}",!0);let P=l({[$w]:[,"PutObject"]}),I,$;if(f.Body!==void 0)$=f.Body,I=$;return R.m("PUT").h(A).q(P).b(I),R.build()};var v$=async(f,h)=>{if(f.statusCode!==200&&f.statusCode>=300)return XA(f,h);let R=l({$metadata:Wf(f),[AR]:[,f.headers[IR]],[PR]:[,f.headers[$R]],[JA]:[,f.headers[LA]],[$h]:[()=>f.headers[df]!==void 0,()=>Ih(f.headers[df])]}),A=jf(B3(await wh.parseXmlBody(f.body,h)),"body");if(A[U3]!=null)R[U3]=ME(A[U3],h);return R};var j$=async(f,h)=>{if(f.statusCode!==200&&f.statusCode>=300)return XA(f,h);let R=l({$metadata:Wf(f),[LE]:[()=>f.headers[Z$]!==void 0,()=>Ih(f.headers[Z$])],[XE]:[,f.headers[iE]],[fR]:[,f.headers[t$]],[kE]:[,f.headers[gN]],[YA]:[()=>f.headers[X$]!==void 0,()=>jf(ah(f.headers[X$]))],[J3]:[()=>f.headers[g3]!==void 0,()=>T3(f.headers[g3])],[th]:[,f.headers[n$]],[K3]:[,f.headers[c3]],[v3]:[,f.headers[b3]],[j3]:[,f.headers[d3]],[m3]:[,f.headers[r3]],[vE]:[()=>f.headers[z$]!==void 0,()=>Qh(f.headers[z$])],[l3]:[,f.headers[Pw]],[s$]:[,f.headers[a$]],[C$]:[,f.headers[i$]],[l$]:[,f.headers[p$]],[c$]:[,f.headers[e$]],[JE]:[,f.headers[eE]],[b$]:[,f.headers[o$]],[L3]:[()=>f.headers[q3]!==void 0,()=>jf(ah(f.headers[q3]))],[QE]:[,f.headers[tE]],[_$]:[,f.headers[Iw]],[AR]:[,f.headers[IR]],[ZA]:[,f.headers[QA]],[zA]:[,f.headers[gA]],[PR]:[,f.headers[$R]],[$h]:[()=>f.headers[df]!==void 0,()=>Ih(f.headers[df])],[bf]:[,f.headers[Rw]],[s3]:[,f.headers[x3]],[rE]:[,f.headers[qN]],[jE]:[()=>f.headers[J$]!==void 0,()=>Qh(f.headers[J$])],[aE]:[()=>f.headers[L$]!==void 0,()=>Qh(f.headers[L$])],[k$]:[,f.headers[hw]],[Q3]:[()=>f.headers[y3]!==void 0,()=>jf(hR(f.headers[y3]))],[r$]:[,f.headers[fw]],Metadata:[,Object.keys(f.headers).filter((P)=>P.startsWith("x-amz-meta-")).reduce((P,I)=>{return P[I.substring(11)]=f.headers[I],P},{})]}),A=f.body;return h.sdkStreamMixin(A),R.Body=A,R};var m$=async(f,h)=>{if(f.statusCode!==200&&f.statusCode>=300)return XA(f,h);let R=l({$metadata:Wf(f),[s3]:[,f.headers[x3]]}),A=jf(B3(await wh.parseXmlBody(f.body,h)),"body");if(A.CommonPrefixes==="")R[EA]=[];else if(A[EA]!=null)R[EA]=GE(VA(A[EA]),h);if(A.Contents==="")R[NA]=[];else if(A[NA]!=null)R[NA]=WE(VA(A[NA]),h);if(A[GA]!=null)R[GA]=k(A[GA]);if(A[SA]!=null)R[SA]=k(A[SA]);if(A[WA]!=null)R[WA]=k(A[WA]);if(A[N3]!=null)R[N3]=Ih(A[N3]);if(A[S3]!=null)R[S3]=Qh(A[S3]);if(A[DA]!=null)R[DA]=Qh(A[DA]);if(A[W3]!=null)R[W3]=k(A[W3]);if(A[Y3]!=null)R[Y3]=k(A[Y3]);if(A[Ph]!=null)R[Ph]=k(A[Ph]);if(A[MA]!=null)R[MA]=k(A[MA]);return R};var O$=async(f,h)=>{if(f.statusCode!==200&&f.statusCode>=300)return XA(f,h);let R=l({$metadata:Wf(f),[fR]:[,f.headers[t$]],[th]:[,f.headers[n$]],[K3]:[,f.headers[c3]],[v3]:[,f.headers[b3]],[j3]:[,f.headers[d3]],[m3]:[,f.headers[r3]],[AR]:[,f.headers[IR]],[l3]:[,f.headers[Pw]],[ZA]:[,f.headers[QA]],[zA]:[,f.headers[gA]],[PR]:[,f.headers[$R]],[JA]:[,f.headers[LA]],[$h]:[()=>f.headers[df]!==void 0,()=>Ih(f.headers[df])],[s3]:[,f.headers[x3]]});return await Q$(f.body,h),R};var XA=async(f,h)=>{let R={...f,body:await wh.parseXmlErrorBody(f.body,h)},A=wh.loadRestXmlErrorCode(f,R.body);switch(A){case"NoSuchUpload":case"com.amazonaws.s3#NoSuchUpload":throw await wE(R,h);case"ObjectNotInActiveTierError":case"com.amazonaws.s3#ObjectNotInActiveTierError":throw await FE(R,h);case"BucketAlreadyExists":case"com.amazonaws.s3#BucketAlreadyExists":throw await RE(R,h);case"BucketAlreadyOwnedByYou":case"com.amazonaws.s3#BucketAlreadyOwnedByYou":throw await AE(R,h);case"NoSuchBucket":case"com.amazonaws.s3#NoSuchBucket":throw await IE(R,h);case"InvalidObjectState":case"com.amazonaws.s3#InvalidObjectState":throw await PE(R,h);case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await $E(R,h);case"NotFound":case"com.amazonaws.s3#NotFound":throw await UE(R,h);case"ObjectAlreadyInActiveTierError":case"com.amazonaws.s3#ObjectAlreadyInActiveTierError":throw await HE(R,h);default:let P=R.body;return hE({output:f,parsedBody:P,errorCode:A})}},hE=g$(Hf),RE=async(f,h)=>{let R=l({}),A=f.body,P=new PA({$metadata:Wf(f),...R});return qf(P,f.body)},AE=async(f,h)=>{let R=l({}),A=f.body,P=new IA({$metadata:Wf(f),...R});return qf(P,f.body)},PE=async(f,h)=>{let R=l({}),A=f.body;if(A[w3]!=null)R[w3]=k(A[w3]);if(A[bf]!=null)R[bf]=k(A[bf]);let P=new wA({$metadata:Wf(f),...R});return qf(P,f.body)},IE=async(f,h)=>{let R=l({}),A=f.body,P=new $A({$metadata:Wf(f),...R});return qf(P,f.body)},$E=async(f,h)=>{let R=l({}),A=f.body,P=new UA({$metadata:Wf(f),...R});return qf(P,f.body)},wE=async(f,h)=>{let R=l({}),A=f.body,P=new RA({$metadata:Wf(f),...R});return qf(P,f.body)},UE=async(f,h)=>{let R=l({}),A=f.body,P=new HA({$metadata:Wf(f),...R});return qf(P,f.body)},HE=async(f,h)=>{let R=l({}),A=f.body,P=new FA({$metadata:Wf(f),...R});return qf(P,f.body)},FE=async(f,h)=>{let R=l({}),A=f.body,P=new AA({$metadata:Wf(f),...R});return qf(P,f.body)};var EE=(f,h)=>{return(f||[]).filter((R)=>R!=null).map((R)=>{return k(R)})},NE=(f,h)=>{let R={};if(f[Ph]!=null)R[Ph]=k(f[Ph]);return R},GE=(f,h)=>{return(f||[]).filter((R)=>R!=null).map((R)=>{return NE(R,h)})};var SE=(f,h)=>{let R={};if(f[G3]!=null)R[G3]=k(f[G3]);if(f[YA]!=null)R[YA]=jf(hR(f[YA]));if(f[th]!=null)R[th]=k(f[th]);if(f.ChecksumAlgorithm==="")R[nh]=[];else if(f[nh]!=null)R[nh]=EE(VA(f[nh]),h);if(f[z3]!=null)R[z3]=T3(f[z3]);if(f[bf]!=null)R[bf]=k(f[bf]);if(f[D3]!=null)R[D3]=YE(f[D3],h);if(f[V3]!=null)R[V3]=DE(f[V3],h);return R},WE=(f,h)=>{return(f||[]).filter((R)=>R!=null).map((R)=>{return SE(R,h)})};var YE=(f,h)=>{let R={};if(f[H3]!=null)R[H3]=k(f[H3]);if(f[F3]!=null)R[F3]=k(f[F3]);return R};var DE=(f,h)=>{let R={};if(f[E3]!=null)R[E3]=Ih(f[E3]);if(f[M3]!=null)R[M3]=jf(hR(f[M3]));return R};var ME=(f,h)=>{let R={};if(f[$3]!=null)R[$3]=k(f[$3]);if(f[X3]!=null)R[X3]=k(f[X3]);if(f[Z3]!=null)R[Z3]=k(f[Z3]);if(f[fR]!=null)R[fR]=jf(hR(f[fR]));return R};var Wf=(f)=>({httpStatusCode:f.statusCode,requestId:f.headers["x-amzn-requestid"]??f.headers["x-amzn-request-id"]??f.headers["x-amz-request-id"],extendedRequestId:f.headers["x-amz-id-2"],cfId:f.headers["x-amz-cf-id"]});var Mf=(f)=>f!==void 0&&f!==null&&f!==""&&(!Object.getOwnPropertyNames(f).includes("length")||f.length!=0)&&(!Object.getOwnPropertyNames(f).includes("size")||f.size!=0);var VE="ACL";var $3="AccessKeyId";var XE="AcceptRanges";var w3="AccessTier";var $h="BucketKeyEnabled";var U3="Credentials",nh="ChecksumAlgorithm";var s$="CacheControl",K3="ChecksumCRC32",v3="ChecksumCRC32C",C$="ContentDisposition";var l$="ContentEncoding";var c$="ContentLanguage",J3="ContentLength",ZE="ChecksumMode",zE="ContentMD5";var EA="CommonPrefixes";var JE="ContentRange";var j3="ChecksumSHA1",m3="ChecksumSHA256";var b$="ContentType",GA="ContinuationToken";var NA="Contents";var SA="Delimiter";var LE="DeleteMarker";var H3="DisplayName";var L3="Expires";var O3="ExpectedBucketOwner";var QE="ExpiresString";var WA="EncodingType",th="ETag";var fR="Expiration";var gE="FetchOwner";var qE="GrantFullControl";var yE="GrantRead",BE="GrantReadACP";var TE="GrantWriteACP";var F3="ID";var KE="IfMatch",D$="IfModifiedSince",d$="IfNoneMatch";var E3="IsRestoreInProgress";var N3="IsTruncated";var M$="IfUnmodifiedSince";var G3="Key",S3="KeyCount";var YA="LastModified";var DA="MaxKeys";var vE="MissingMeta";var W3="Name";var Y3="NextContinuationToken";var D3="Owner";var r$="ObjectLockLegalHoldStatus",k$="ObjectLockMode";var Q3="ObjectLockRetainUntilDate";var V$="OptionalObjectAttributes";var Ph="Prefix";var jE="PartsCount";var mE="PartNumber";var OE="Range";var s3="RequestCharged",sE="ResponseCacheControl",CE="ResponseContentDisposition",lE="ResponseContentEncoding",cE="ResponseContentLanguage",bE="ResponseContentType";var dE="ResponseExpires",M3="RestoreExpiryDate";var C3="RequestPayer";var rE="ReplicationStatus",V3="RestoreStatus";var kE="Restore";var MA="StartAfter",X3="SecretAccessKey";var bf="StorageClass";var xE="SessionMode";var AR="ServerSideEncryption";var ZA="SSECustomerAlgorithm",x$="SSECustomerKey",zA="SSECustomerKeyMD5";var JA="SSEKMSEncryptionContext",PR="SSEKMSKeyId";var Z3="SessionToken";var z3="Size";var _E="Tagging";var aE="TagCount";var l3="VersionId";var _$="WebsiteRedirectLocation";var iE="accept-ranges";var a$="cache-control",i$="content-disposition",p$="content-encoding",e$="content-language",g3="content-length",pE="content-md5",eE="content-range",o$="content-type",oE="continuation-token";var nE="delimiter",q3="expires";var uE="encoding-type",n$="etag",tE="expiresstring",fN="fetch-owner";var hN="if-match",RN="if-modified-since";var u$="if-none-match";var AN="if-unmodified-since";var X$="last-modified";var PN="list-type";var IN="max-keys";var $N="partNumber";var wN="prefix";var UN="range",HN="response-cache-control",FN="response-content-disposition",EN="response-content-encoding",NN="response-content-language",GN="response-content-type",SN="response-expires";var WN="session",YN="start-after";var DN="versionId";var MN="x-amz-acl";var c3="x-amz-checksum-crc32",b3="x-amz-checksum-crc32c",VN="x-amz-checksum-mode";var d3="x-amz-checksum-sha1",r3="x-amz-checksum-sha256";var XN="x-amz-create-session-mode";var Z$="x-amz-delete-marker",t$="x-amz-expiration",k3="x-amz-expected-bucket-owner";var ZN="x-amz-grant-full-control",zN="x-amz-grant-read",JN="x-amz-grant-read-acp";var LN="x-amz-grant-write-acp";var z$="x-amz-missing-meta";var J$="x-amz-mp-parts-count";var fw="x-amz-object-lock-legal-hold",hw="x-amz-object-lock-mode",y3="x-amz-object-lock-retain-until-date";var QN="x-amz-optional-object-attributes";var gN="x-amz-restore",x3="x-amz-request-charged";var _3="x-amz-request-payer";var qN="x-amz-replication-status";var Rw="x-amz-storage-class",yN="x-amz-sdk-checksum-algorithm";var IR="x-amz-server-side-encryption",$R="x-amz-server-side-encryption-aws-kms-key-id",df="x-amz-server-side-encryption-bucket-key-enabled",LA="x-amz-server-side-encryption-context",QA="x-amz-server-side-encryption-customer-algorithm",Aw="x-amz-server-side-encryption-customer-key",gA="x-amz-server-side-encryption-customer-key-md5",BN="x-amz-tagging",L$="x-amz-tagging-count";var Pw="x-amz-version-id",Iw="x-amz-website-redirect-location",$w="x-id";class a3 extends rf.classBuilder().ep({...cf,DisableS3ExpressSessionAuth:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(f,h,R,A){return[kf(R,this.serialize,this.deserialize),xf(R,f.getEndpointParameterInstructions()),Zh(R)]}).s("AmazonS3","CreateSession",{}).n("S3Client","CreateSessionCommand").f(E$,F$).ser(y$).de(v$).build(){}var ww={name:"@aws-sdk/client-s3",description:"AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",version:"3.654.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"node ../../scripts/compilation/inline client-s3","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo s3",test:"yarn test:unit","test:e2e":"yarn test:e2e:node && yarn test:e2e:browser","test:e2e:browser":"ts-mocha test/**/*.browser.ispec.ts && karma start karma.conf.js","test:e2e:node":"jest --c jest.config.e2e.js","test:unit":"ts-mocha test/unit/**/*.spec.ts"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha1-browser":"5.2.0","@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/client-sso-oidc":"3.654.0","@aws-sdk/client-sts":"3.654.0","@aws-sdk/core":"3.654.0","@aws-sdk/credential-provider-node":"3.654.0","@aws-sdk/middleware-bucket-endpoint":"3.654.0","@aws-sdk/middleware-expect-continue":"3.654.0","@aws-sdk/middleware-flexible-checksums":"3.654.0","@aws-sdk/middleware-host-header":"3.654.0","@aws-sdk/middleware-location-constraint":"3.654.0","@aws-sdk/middleware-logger":"3.654.0","@aws-sdk/middleware-recursion-detection":"3.654.0","@aws-sdk/middleware-sdk-s3":"3.654.0","@aws-sdk/middleware-ssec":"3.654.0","@aws-sdk/middleware-user-agent":"3.654.0","@aws-sdk/region-config-resolver":"3.654.0","@aws-sdk/signature-v4-multi-region":"3.654.0","@aws-sdk/types":"3.654.0","@aws-sdk/util-endpoints":"3.654.0","@aws-sdk/util-user-agent-browser":"3.654.0","@aws-sdk/util-user-agent-node":"3.654.0","@aws-sdk/xml-builder":"3.654.0","@smithy/config-resolver":"^3.0.8","@smithy/core":"^2.4.3","@smithy/eventstream-serde-browser":"^3.0.9","@smithy/eventstream-serde-config-resolver":"^3.0.6","@smithy/eventstream-serde-node":"^3.0.8","@smithy/fetch-http-handler":"^3.2.7","@smithy/hash-blob-browser":"^3.1.5","@smithy/hash-node":"^3.0.6","@smithy/hash-stream-node":"^3.1.5","@smithy/invalid-dependency":"^3.0.6","@smithy/md5-js":"^3.0.6","@smithy/middleware-content-length":"^3.0.8","@smithy/middleware-endpoint":"^3.1.3","@smithy/middleware-retry":"^3.0.18","@smithy/middleware-serde":"^3.0.6","@smithy/middleware-stack":"^3.0.6","@smithy/node-config-provider":"^3.1.7","@smithy/node-http-handler":"^3.2.2","@smithy/protocol-http":"^4.1.3","@smithy/smithy-client":"^3.3.2","@smithy/types":"^3.4.2","@smithy/url-parser":"^3.0.6","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.18","@smithy/util-defaults-mode-node":"^3.0.18","@smithy/util-endpoints":"^2.1.2","@smithy/util-middleware":"^3.0.6","@smithy/util-retry":"^3.0.6","@smithy/util-stream":"^3.1.6","@smithy/util-utf8":"^3.0.0","@smithy/util-waiter":"^3.1.5",tslib:"^2.6.2"},devDependencies:{"@aws-sdk/signature-v4-crt":"3.654.0","@tsconfig/node16":"16.1.3","@types/chai":"^4.2.11","@types/mocha":"^8.0.4","@types/node":"^16.18.96",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typescript:"~4.9.5"},engines:{node:">=16.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-s3"}};var KA=If(fA(),1);var KN="AWS_S3_USE_ARN_REGION",vN="s3_use_arn_region",Uw={environmentVariableSelector:(f)=>hh(f,KN,Rh.ENV),configFileSelector:(f)=>hh(f,vN,Rh.CONFIG),default:!1};var _f=If(Fw(),1);var Ew=If(Fw(),1);class gh{constructor(f){if(this.bytes=f,f.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(f){if(f>9223372036854776000||f<-9223372036854776000)throw new Error(`${f} is too large (or, if negative, too small) to represent as an Int64`);let h=new Uint8Array(8);for(let R=7,A=Math.abs(Math.round(f));R>-1&&A>0;R--,A/=256)h[R]=A;if(f<0)Hw(h);return new gh(h)}valueOf(){let f=this.bytes.slice(0),h=f[0]&128;if(h)Hw(f);return parseInt(Ew.toHex(f),16)*(h?-1:1)}toString(){return String(this.valueOf())}}function Hw(f){for(let h=0;h<8;h++)f[h]^=255;for(let h=7;h>-1;h--)if(f[h]++,f[h]!==0)break}class i3{constructor(f,h){this.toUtf8=f,this.fromUtf8=h}format(f){let h=[];for(let P of Object.keys(f)){let I=this.fromUtf8(P);h.push(Uint8Array.from([I.byteLength]),I,this.formatHeaderValue(f[P]))}let R=new Uint8Array(h.reduce((P,I)=>P+I.byteLength,0)),A=0;for(let P of h)R.set(P,A),A+=P.byteLength;return R}formatHeaderValue(f){switch(f.type){case"boolean":return Uint8Array.from([f.value?0:1]);case"byte":return Uint8Array.from([2,f.value]);case"short":let h=new DataView(new ArrayBuffer(3));return h.setUint8(0,3),h.setInt16(1,f.value,!1),new Uint8Array(h.buffer);case"integer":let R=new DataView(new ArrayBuffer(5));return R.setUint8(0,4),R.setInt32(1,f.value,!1),new Uint8Array(R.buffer);case"long":let A=new Uint8Array(9);return A[0]=5,A.set(f.value.bytes,1),A;case"binary":let P=new DataView(new ArrayBuffer(3+f.value.byteLength));P.setUint8(0,6),P.setUint16(1,f.value.byteLength,!1);let I=new Uint8Array(P.buffer);return I.set(f.value,3),I;case"string":let $=this.fromUtf8(f.value),w=new DataView(new ArrayBuffer(3+$.byteLength));w.setUint8(0,7),w.setUint16(1,$.byteLength,!1);let U=new Uint8Array(w.buffer);return U.set($,3),U;case"timestamp":let F=new Uint8Array(9);return F[0]=8,F.set(gh.fromNumber(f.value.valueOf()).bytes,1),F;case"uuid":if(!oN.test(f.value))throw new Error(`Invalid UUID received: ${f.value}`);let N=new Uint8Array(17);return N[0]=9,N.set(_f.fromHex(f.value.replace(/\-/g,"")),1),N}}parse(f){let h={},R=0;while(R<f.byteLength){let A=f.getUint8(R++),P=this.toUtf8(new Uint8Array(f.buffer,f.byteOffset+R,A));switch(R+=A,f.getUint8(R++)){case 0:h[P]={type:Gw,value:!0};break;case 1:h[P]={type:Gw,value:!1};break;case 2:h[P]={type:rN,value:f.getInt8(R++)};break;case 3:h[P]={type:kN,value:f.getInt16(R,!1)},R+=2;break;case 4:h[P]={type:xN,value:f.getInt32(R,!1)},R+=4;break;case 5:h[P]={type:_N,value:new gh(new Uint8Array(f.buffer,f.byteOffset+R,8))},R+=8;break;case 6:let I=f.getUint16(R,!1);R+=2,h[P]={type:aN,value:new Uint8Array(f.buffer,f.byteOffset+R,I)},R+=I;break;case 7:let $=f.getUint16(R,!1);R+=2,h[P]={type:iN,value:this.toUtf8(new Uint8Array(f.buffer,f.byteOffset+R,$))},R+=$;break;case 8:h[P]={type:pN,value:new Date(new gh(new Uint8Array(f.buffer,f.byteOffset+R,8)).valueOf())},R+=8;break;case 9:let w=new Uint8Array(f.buffer,f.byteOffset+R,16);R+=16,h[P]={type:eN,value:`${_f.toHex(w.subarray(0,4))}-${_f.toHex(w.subarray(4,6))}-${_f.toHex(w.subarray(6,8))}-${_f.toHex(w.subarray(8,10))}-${_f.toHex(w.subarray(10))}`};break;default:throw new Error("Unrecognized header type tag")}}return h}}var Nw;(function(f){f[f.boolTrue=0]="boolTrue",f[f.boolFalse=1]="boolFalse",f[f.byte=2]="byte",f[f.short=3]="short",f[f.integer=4]="integer",f[f.long=5]="long",f[f.byteArray=6]="byteArray",f[f.string=7]="string",f[f.timestamp=8]="timestamp",f[f.uuid=9]="uuid"})(Nw||(Nw={}));var Gw="boolean",rN="byte",kN="short",xN="integer",_N="long",aN="binary",iN="string",pN="timestamp",eN="uuid",oN=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;var Sw=4,af=Sw*2,Uh=4,nN=af+Uh*2;function Ww({byteLength:f,byteOffset:h,buffer:R}){if(f<nN)throw new Error("Provided message too short to accommodate event stream message overhead");let A=new DataView(R,h,f),P=A.getUint32(0,!1);if(f!==P)throw new Error("Reported message length does not match received message length");let I=A.getUint32(Sw,!1),$=A.getUint32(af,!1),w=A.getUint32(f-Uh,!1),U=new fh().update(new Uint8Array(R,h,af));if($!==U.digest())throw new Error(`The prelude checksum specified in the message (${$}) does not match the calculated CRC32 checksum (${U.digest()})`);if(U.update(new Uint8Array(R,h+af,f-(af+Uh))),w!==U.digest())throw new Error(`The message checksum (${U.digest()}) did not match the expected value of ${w}`);return{headers:new DataView(R,h+af+Uh,I),body:new Uint8Array(R,h+af+Uh+I,P-I-(af+Uh+Uh))}}class p3{constructor(f,h){this.headerMarshaller=new i3(f,h),this.messageBuffer=[],this.isEndOfStream=!1}feed(f){this.messageBuffer.push(this.decode(f))}endOfStream(){this.isEndOfStream=!0}getMessage(){let f=this.messageBuffer.pop(),h=this.isEndOfStream;return{getMessage(){return f},isEndOfStream(){return h}}}getAvailableMessages(){let f=this.messageBuffer;this.messageBuffer=[];let h=this.isEndOfStream;return{getMessages(){return f},isEndOfStream(){return h}}}encode({headers:f,body:h}){let R=this.headerMarshaller.format(f),A=R.byteLength+h.byteLength+16,P=new Uint8Array(A),I=new DataView(P.buffer,P.byteOffset,P.byteLength),$=new fh;return I.setUint32(0,A,!1),I.setUint32(4,R.byteLength,!1),I.setUint32(8,$.update(P.subarray(0,8)).digest(),!1),P.set(R,12),P.set(h,R.byteLength+12),I.setUint32(A-4,$.update(P.subarray(8,A-4)).digest(),!1),P}decode(f){let{headers:h,body:R}=Ww(f);return{headers:this.headerMarshaller.parse(h),body:R}}formatHeaders(f){return this.headerMarshaller.format(f)}}class e3{constructor(f){this.options=f}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let f of this.options.inputStream)yield this.options.decoder.decode(f)}}class o3{constructor(f){this.options=f}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let f of this.options.messageStream)yield this.options.encoder.encode(f);if(this.options.includeEndFrame)yield new Uint8Array(0)}}class n3{constructor(f){this.options=f}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let f of this.options.messageStream){let h=await this.options.deserializer(f);if(h===void 0)continue;yield h}}}class u3{constructor(f){this.options=f}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let f of this.options.inputStream)yield this.options.serializer(f)}}function Yw(f){let h=0,R=0,A=null,P=null,I=(w)=>{if(typeof w!=="number")throw new Error("Attempted to allocate an event message where size was not a number: "+w);h=w,R=4,A=new Uint8Array(w),new DataView(A.buffer).setUint32(0,w,!1)},$=async function*(){let w=f[Symbol.asyncIterator]();while(!0){let{value:U,done:F}=await w.next();if(F){if(!h)return;else if(h===R)yield A;else throw new Error("Truncated event message received.");return}let N=U.length,W=0;while(W<N){if(!A){let S=N-W;if(!P)P=new Uint8Array(4);let L=Math.min(4-R,S);if(P.set(U.slice(W,W+L),R),R+=L,W+=L,R<4)break;I(new DataView(P.buffer).getUint32(0,!1)),P=null}let V=Math.min(h-R,N-W);if(A.set(U.slice(W,W+V),R),R+=V,W+=V,h&&h===R)yield A,A=null,h=0,R=0}}};return{[Symbol.asyncIterator]:$}}function Dw(f,h){return async function(R){let{value:A}=R.headers[":message-type"];if(A==="error"){let P=new Error(R.headers[":error-message"].value||"UnknownError");throw P.name=R.headers[":error-code"].value,P}else if(A==="exception"){let P=R.headers[":exception-type"].value,I={[P]:R},$=await f(I);if($.$unknown){let w=new Error(h(R.body));throw w.name=P,w}throw $[P]}else if(A==="event"){let P={[R.headers[":event-type"].value]:R},I=await f(P);if(I.$unknown)return;return I}else throw Error(`Unrecognizable event type: ${R.headers[":event-type"].value}`)}}class qA{constructor({utf8Encoder:f,utf8Decoder:h}){this.eventStreamCodec=new p3(f,h),this.utfEncoder=f}deserialize(f,h){let R=Yw(f);return new n3({messageStream:new e3({inputStream:R,decoder:this.eventStreamCodec}),deserializer:Dw(h,this.utfEncoder)})}serialize(f,h){return new o3({messageStream:new u3({inputStream:f,serializer:h}),encoder:this.eventStreamCodec,includeEndFrame:!0})}}import{Readable as uN}from"stream";async function*Mw(f){let h=!1,R=!1,A=new Array;f.on("error",(P)=>{if(!h)h=!0;if(P)throw P}),f.on("data",(P)=>{A.push(P)}),f.on("end",()=>{h=!0});while(!R){let P=await new Promise((I)=>setTimeout(()=>I(A.shift()),0));if(P)yield P;R=h&&A.length===0}}class t3{constructor({utf8Encoder:f,utf8Decoder:h}){this.universalMarshaller=new qA({utf8Decoder:h,utf8Encoder:f})}deserialize(f,h){let R=typeof f[Symbol.asyncIterator]==="function"?f:Mw(f);return this.universalMarshaller.deserialize(R,h)}serialize(f,h){return uN.from(this.universalMarshaller.serialize(f,h))}}var Vw=(f)=>new t3(f);import{Writable as tN}from"stream";class yA extends tN{constructor(f,h){super(h);this.hash=f}_write(f,h,R){try{this.hash.update(lR(f))}catch(A){return R(A)}R()}}var Xw=(f,h)=>{if(h.readableFlowing!==null)throw new Error("Unable to calculate hash for flowing readable stream");let R=new f,A=new yA(R);return h.pipe(A),new Promise((P,I)=>{h.on("error",($)=>{A.end(),I($)}),A.on("error",I),A.on("finish",()=>{R.digest().then(P).catch(I)})})};var BA=If(fA(),1);var yw=(f)=>{return{apiVersion:"2006-03-01",base64Decoder:f?.base64Decoder??Jw,base64Encoder:f?.base64Encoder??Lw,disableHostPrefix:f?.disableHostPrefix??!1,endpointProvider:f?.endpointProvider??tR,extensions:f?.extensions??[],getAwsChunkedEncodingStream:f?.getAwsChunkedEncodingStream??Qw,httpAuthSchemeProvider:f?.httpAuthSchemeProvider??$$,httpAuthSchemes:f?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(h)=>h.getIdentityProvider("aws.auth#sigv4"),signer:new BA.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(h)=>h.getIdentityProvider("aws.auth#sigv4a"),signer:new BA.AwsSdkSigV4ASigner}],logger:f?.logger??new rR,sdkStreamMixin:f?.sdkStreamMixin??gw,serviceId:f?.serviceId??"S3",signerConstructor:f?.signerConstructor??T0,signingEscapePath:f?.signingEscapePath??!1,urlParser:f?.urlParser??qw,useArnRegion:f?.useArnRegion??!1,utf8Decoder:f?.utf8Decoder??Zw,utf8Encoder:f?.utf8Encoder??zw}};var xw=(f)=>{vw(process.version);let h=rw(f),R=()=>h().then(Kw),A=yw(f);return KA.emitWarningIfUnsupportedVersion(process.version),{...A,...f,runtime:"node",defaultsMode:h,bodyLengthChecker:f?.bodyLengthChecker??dw,credentialDefaultProvider:f?.credentialDefaultProvider??kw,defaultUserAgentProvider:f?.defaultUserAgentProvider??bw({serviceId:A.serviceId,clientVersion:ww.version}),disableS3ExpressSessionAuth:f?.disableS3ExpressSessionAuth??zf(Q0),eventStreamSerdeProvider:f?.eventStreamSerdeProvider??Vw,maxAttempts:f?.maxAttempts??zf(lw),md5:f?.md5??TA.bind(null,"md5"),region:f?.region??zf(Ow,sw),requestChecksumCalculation:f?.requestChecksumCalculation??zf(SP),requestHandler:Bw.create(f?.requestHandler??R),responseChecksumValidation:f?.responseChecksumValidation??zf(WP),retryMode:f?.retryMode??zf({...cw,default:async()=>(await R()).retryMode||Cw}),sha1:f?.sha1??TA.bind(null,"sha1"),sha256:f?.sha256??TA.bind(null,"sha256"),sigv4aSigningRegionSet:f?.sigv4aSigningRegionSet??zf(KA.NODE_SIGV4A_CONFIG_OPTIONS),streamCollector:f?.streamCollector??Tw,streamHasher:f?.streamHasher??Xw,useArnRegion:f?.useArnRegion??zf(Uw),useDualstackEndpoint:f?.useDualstackEndpoint??zf(jw),useFipsEndpoint:f?.useFipsEndpoint??zf(mw)}};var _w=(f)=>{let{httpAuthSchemes:h,httpAuthSchemeProvider:R,credentials:A}=f;return{setHttpAuthScheme(P){let I=h.findIndex(($)=>$.schemeId===P.schemeId);if(I===-1)h.push(P);else h.splice(I,1,P)},httpAuthSchemes(){return h},setHttpAuthSchemeProvider(P){R=P},httpAuthSchemeProvider(){return R},setCredentials(P){A=P},credentials(){return A}}},aw=(f)=>{return{httpAuthSchemes:f.httpAuthSchemes(),httpAuthSchemeProvider:f.httpAuthSchemeProvider(),credentials:f.credentials()}};var vA=(f)=>f,tw=(f,h)=>{let R={...vA(nw(f)),...vA(ew(f)),...vA(iw(f)),...vA(_w(f))};return h.forEach((A)=>A.configure(R)),{...f,...uw(R),...ow(R),...pw(R),...aw(R)}};class f1 extends PU{constructor(...[f]){let h=xw(f||{}),R=U$(h),A=IU(R),P=TP(A),I=FU(P),$=wU(I),w=fU($),U=HU(w),F=tP(U),N=w$(F),W=iP(N,{session:[()=>this,a3]}),V=tw(W,f?.extensions||[]);super(V);this.config=V,this.middlewareStack.use($U(this.config)),this.middlewareStack.use(EU(this.config)),this.middlewareStack.use(UU(this.config)),this.middlewareStack.use(hU(this.config)),this.middlewareStack.use(RU(this.config)),this.middlewareStack.use(AU(this.config)),this.middlewareStack.use(qh.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:A$,identityProviderConfigProvider:async(S)=>new qh.DefaultIdentityProviderConfig({"aws.auth#sigv4":S.credentials,"aws.auth#sigv4a":S.credentials})})),this.middlewareStack.use(qh.getHttpSigningPlugin(this.config)),this.middlewareStack.use(uP(this.config)),this.middlewareStack.use(FP(this.config)),this.middlewareStack.use(mP(this.config)),this.middlewareStack.use(g0(this.config)),this.middlewareStack.use(y0(this.config))}destroy(){super.destroy()}}function fG(f){return(h)=>async(R)=>{let A={...R.input},P=[{target:"SSECustomerKey",hash:"SSECustomerKeyMD5"},{target:"CopySourceSSECustomerKey",hash:"CopySourceSSECustomerKeyMD5"}];for(let I of P){let $=A[I.target];if($){let w;if(typeof $==="string")if(RG($,f))w=f.base64Decoder($);else w=f.utf8Decoder($),A[I.target]=f.base64Encoder(w);else w=ArrayBuffer.isView($)?new Uint8Array($.buffer,$.byteOffset,$.byteLength):new Uint8Array($),A[I.target]=f.base64Encoder(w);let U=new f.md5;U.update(w),A[I.hash]=f.base64Encoder(await U.digest())}}return h({...R,input:A})}}var hG={name:"ssecMiddleware",step:"initialize",tags:["SSE"],override:!0},jA=(f)=>({applyToStack:(h)=>{h.add(fG(f),hG)}});function RG(f,h){if(!/^(?:[A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(f))return!1;try{return h.base64Decoder(f).length===32}catch{return!1}}class h1 extends rf.classBuilder().ep({...cf,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(f,h,R,A){return[kf(R,this.serialize,this.deserialize),xf(R,f.getEndpointParameterInstructions()),dR(R,{input:this.input,requestChecksumRequired:!1,requestValidationModeMember:"ChecksumMode",responseAlgorithms:["CRC32","CRC32C","SHA256","SHA1"]}),jA(R),OP(R)]}).s("AmazonS3","GetObject",{}).n("S3Client","GetObjectCommand").f(G$,N$).ser(B$).de(j$).build(){}class R1 extends rf.classBuilder().ep({...cf,Bucket:{type:"contextParams",name:"Bucket"},Prefix:{type:"contextParams",name:"Prefix"}}).m(function(f,h,R,A){return[kf(R,this.serialize,this.deserialize),xf(R,f.getEndpointParameterInstructions()),Zh(R)]}).s("AmazonS3","ListObjectsV2",{}).n("S3Client","ListObjectsV2Command").f(void 0,void 0).ser(T$).de(m$).build(){}class A1 extends rf.classBuilder().ep({...cf,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(f,h,R,A){return[kf(R,this.serialize,this.deserialize),xf(R,f.getEndpointParameterInstructions()),dR(R,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!1}),KP(R),Zh(R),jA(R)]}).s("AmazonS3","PutObject",{}).n("S3Client","PutObjectCommand").f(Y$,W$).ser(K$).de(O$).build(){}import{Buffer as NU}from"buffer";class GU extends Sh{client;constructor(...f){super();this.client=new f1(...f)}async put(f){let h,R,A,P=process.env.BUCKET_NAME;if(f instanceof Blob)h=f,A=`${TR()}.${f.type.split("/")[1].split(";")[0]}`,R=f.type;else h=f.body,A=f.name,P=f.bucket??P,R=f.contentType;R=h instanceof Blob||h instanceof File?h.type:void 0;let I=h instanceof NU?h:NU.from(await h.arrayBuffer());return await this.client.send(new A1({Bucket:P,Key:A,Body:I,ContentType:R})),A}async list(f){return await this.client.send(new R1({Bucket:process.env.BUCKET_NAME,Prefix:f}))}async fetch(f){let h=process.env.BUCKET_NAME,R;if(typeof f==="string")R=f;else h=f.bucket??h,R=f.name;if(!R)throw new Error("Object name has to be specified");let A=await this.client.send(new h1({Bucket:h,Key:R}));return new Response(A.Body.transformToWebStream(),{headers:{"Content-Type":A.ContentType,"Content-Length":A.ContentLength.toString(),"Cache-Control":"private, max-age=12000, must-revalidate","Last-Modified":A.LastModified?.toUTCString()||"",ETag:A.ETag||""}})}}class mA{}class OA extends mA{requests=new Map;consume(f,h){if(!this.requests.has(f))this.requests.set(f,{date:Date.now(),count:1});else{let R=this.requests.get(f),A=Date.now();if(A-R.date>=60000)this.requests.set(f,{date:A,count:1});else this.requests.set(f,{date:R.date,count:R.count+1})}return this.requests.get(f).count}}class SU extends _{driver=new OA;boot(){}}import*as iY from"react-dom/server";var g;(function(f){f.Root="root",f.Text="text",f.Directive="directive",f.Comment="comment",f.Script="script",f.Style="style",f.Tag="tag",f.CDATA="cdata",f.Doctype="doctype"})(g||(g={}));function WU(f){return f.type===g.Tag||f.type===g.Script||f.type===g.Style}var{Root:YU,Text:DU,Directive:MU,Comment:VU,Script:XU,Style:ZU,Tag:zU,CDATA:JU,Doctype:LU}=g;class I1{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(f){this.parent=f}get previousSibling(){return this.prev}set previousSibling(f){this.prev=f}get nextSibling(){return this.next}set nextSibling(f){this.next=f}cloneNode(f=!1){return gU(this,f)}}class sA extends I1{constructor(f){super();this.data=f}get nodeValue(){return this.data}set nodeValue(f){this.data=f}}class wR extends sA{constructor(){super(...arguments);this.type=g.Text}get nodeType(){return 3}}class CA extends sA{constructor(){super(...arguments);this.type=g.Comment}get nodeType(){return 8}}class lA extends sA{constructor(f,h){super(h);this.name=f,this.type=g.Directive}get nodeType(){return 1}}class cA extends I1{constructor(f){super();this.children=f}get firstChild(){var f;return(f=this.children[0])!==null&&f!==void 0?f:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(f){this.children=f}}class bA extends cA{constructor(){super(...arguments);this.type=g.CDATA}get nodeType(){return 4}}class UR extends cA{constructor(){super(...arguments);this.type=g.Root}get nodeType(){return 9}}class dA extends cA{constructor(f,h,R=[],A=f==="script"?g.Script:f==="style"?g.Style:g.Tag){super(R);this.name=f,this.attribs=h,this.type=A}get nodeType(){return 1}get tagName(){return this.name}set tagName(f){this.name=f}get attributes(){return Object.keys(this.attribs).map((f)=>{var h,R;return{name:f,value:this.attribs[f],namespace:(h=this["x-attribsNamespace"])===null||h===void 0?void 0:h[f],prefix:(R=this["x-attribsPrefix"])===null||R===void 0?void 0:R[f]}})}}function rA(f){return WU(f)}function AG(f){return f.type===g.CDATA}function PG(f){return f.type===g.Text}function IG(f){return f.type===g.Comment}function $G(f){return f.type===g.Directive}function wG(f){return f.type===g.Root}function gU(f,h=!1){let R;if(PG(f))R=new wR(f.data);else if(IG(f))R=new CA(f.data);else if(rA(f)){let A=h?P1(f.children):[],P=new dA(f.name,{...f.attribs},A);if(A.forEach((I)=>I.parent=P),f.namespace!=null)P.namespace=f.namespace;if(f["x-attribsNamespace"])P["x-attribsNamespace"]={...f["x-attribsNamespace"]};if(f["x-attribsPrefix"])P["x-attribsPrefix"]={...f["x-attribsPrefix"]};R=P}else if(AG(f)){let A=h?P1(f.children):[],P=new bA(A);A.forEach((I)=>I.parent=P),R=P}else if(wG(f)){let A=h?P1(f.children):[],P=new UR(A);if(A.forEach((I)=>I.parent=P),f["x-mode"])P["x-mode"]=f["x-mode"];R=P}else if($G(f)){let A=new lA(f.name,f.data);if(f["x-name"]!=null)A["x-name"]=f["x-name"],A["x-publicId"]=f["x-publicId"],A["x-systemId"]=f["x-systemId"];R=A}else throw new Error(`Not implemented yet: ${f.type}`);if(R.startIndex=f.startIndex,R.endIndex=f.endIndex,f.sourceCodeLocation!=null)R.sourceCodeLocation=f.sourceCodeLocation;return R}function P1(f){let h=f.map((R)=>gU(R,!0));for(let R=1;R<h.length;R++)h[R].prev=h[R-1],h[R-1].next=h[R];return h}var qU={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class $1{constructor(f,h,R){if(this.dom=[],this.root=new UR(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof h==="function")R=h,h=qU;if(typeof f==="object")h=f,f=void 0;this.callback=f!==null&&f!==void 0?f:null,this.options=h!==null&&h!==void 0?h:qU,this.elementCB=R!==null&&R!==void 0?R:null}onparserinit(f){this.parser=f}onreset(){this.dom=[],this.root=new UR(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){if(this.done)return;this.done=!0,this.parser=null,this.handleCallback(null)}onerror(f){this.handleCallback(f)}onclosetag(){this.lastNode=null;let f=this.tagStack.pop();if(this.options.withEndIndices)f.endIndex=this.parser.endIndex;if(this.elementCB)this.elementCB(f)}onopentag(f,h){let R=this.options.xmlMode?g.Tag:void 0,A=new dA(f,h,void 0,R);this.addNode(A),this.tagStack.push(A)}ontext(f){let{lastNode:h}=this;if(h&&h.type===g.Text){if(h.data+=f,this.options.withEndIndices)h.endIndex=this.parser.endIndex}else{let R=new wR(f);this.addNode(R),this.lastNode=R}}oncomment(f){if(this.lastNode&&this.lastNode.type===g.Comment){this.lastNode.data+=f;return}let h=new CA(f);this.addNode(h),this.lastNode=h}oncommentend(){this.lastNode=null}oncdatastart(){let f=new wR(""),h=new bA([f]);this.addNode(h),f.parent=h,this.lastNode=f}oncdataend(){this.lastNode=null}onprocessinginstruction(f,h){let R=new lA(f,h);this.addNode(R)}handleCallback(f){if(typeof this.callback==="function")this.callback(f,this.dom);else if(f)throw f}addNode(f){let h=this.tagStack[this.tagStack.length-1],R=h.children[h.children.length-1];if(this.options.withStartIndices)f.startIndex=this.parser.startIndex;if(this.options.withEndIndices)f.endIndex=this.parser.endIndex;if(h.children.push(f),R)f.prev=R,R.next=f;f.parent=h,this.lastNode=null}}var UG=/\n/g;function HG(f){let h=[...f.matchAll(UG)].map((A)=>A.index||0);h.unshift(-1);let R=w1(h,0,h.length);return(A)=>BU(R,A)}function w1(f,h,R){if(R-h==1)return{offset:f[h],index:h+1};let A=Math.ceil((h+R)/2),P=w1(f,h,A),I=w1(f,A,R);return{offset:P.offset,low:P,high:I}}function BU(f,h){return function(R){return Object.prototype.hasOwnProperty.call(R,"index")}(f)?{line:f.index,column:h-f.offset}:BU(f.high.offset<h?f.high:f.low,h)}function U1(f,h="",R={}){let A=typeof h!="string"?h:R,P=typeof h=="string"?h:"",I=f.map(FG),$=!!A.lineNumbers;return function(w,U=0){let F=$?HG(w):()=>({line:0,column:0}),N=U,W=[];f:for(;N<w.length;){let V=!1;for(let S of I){S.regex.lastIndex=N;let L=S.regex.exec(w);if(L&&L[0].length>0){if(!S.discard){let K=F(N),Af=typeof S.replace=="string"?L[0].replace(new RegExp(S.regex.source,S.regex.flags),S.replace):L[0];W.push({state:P,name:S.name,text:Af,offset:N,len:L[0].length,line:K.line,column:K.column})}if(N=S.regex.lastIndex,V=!0,S.push){let K=S.push(w,N);W.push(...K.tokens),N=K.offset}if(S.pop)break f;break}}if(!V)break}return{tokens:W,offset:N,complete:w.length<=N}}}function FG(f,h){return{...f,regex:EG(f,h)}}function EG(f,h){if(f.name.length===0)throw new Error(`Rule #${h} has empty name, which is not allowed.`);if(function(R){return Object.prototype.hasOwnProperty.call(R,"regex")}(f))return function(R){if(R.global)throw new Error(`Regular expression /${R.source}/${R.flags} contains the global flag, which is not allowed.`);return R.sticky?R:new RegExp(R.source,R.flags+"y")}(f.regex);if(function(R){return Object.prototype.hasOwnProperty.call(R,"str")}(f)){if(f.str.length===0)throw new Error(`Rule #${h} ("${f.name}") has empty "str" property, which is not allowed.`);return new RegExp(yU(f.str),"y")}return new RegExp(yU(f.name),"y")}function yU(f){return f.replace(/[-[\]{}()*+!<=:?./\\^$|#\s,]/g,"\\$&")}function yf(f,h){return(R,A)=>{let P=A,I=void 0;if(A<R.tokens.length){if(I=f(R.tokens[A],R,A),I!==void 0)P++}else h?.(R,A);return I===void 0?{matched:!1}:{matched:!0,position:P,value:I}}}function H1(f,h){return f.matched?{matched:!0,position:f.position,value:h(f.value,f.position)}:f}function kA(f,h){return f.matched?h(f):f}function ff(f,h){return(R,A)=>H1(f(R,A),(P,I)=>h(P,R,A,I))}function HR(f,h){return(R,A)=>{let P=f(R,A);return P.matched?P:{matched:!0,position:A,value:h}}}function yh(...f){return(h,R)=>{for(let A of f){let P=A(h,R);if(P.matched)return P}return{matched:!1}}}function pf(f,h){return(R,A)=>{let P=f(R,A);return P.matched?P:h(R,A)}}function NG(f,h){return(R,A)=>{let P=[],I=!0;do{let $=f(R,A);if($.matched&&h($.value,P.length+1,R,A,$.position))P.push($.value),A=$.position;else I=!1}while(I);return{matched:!0,position:A,value:P}}}function xA(f){return NG(f,()=>!0)}function TU(f){return $f(f,xA(f),(h,R)=>[h,...R])}function $f(f,h,R){return(A,P)=>kA(f(A,P),(I)=>H1(h(A,I.position),($,w)=>R(I.value,$,A,P,w)))}function KU(f,h){return $f(f,h,(R)=>R)}function F1(f,h){return $f(f,h,(R,A)=>A)}function _A(f,h,R,A){return(P,I)=>kA(f(P,I),($)=>kA(h(P,$.position),(w)=>H1(R(P,w.position),(U,F)=>A($.value,w.value,U,P,I,F))))}function E1(f,h,R){return _A(f,h,R,(A,P)=>P)}function GG(...f){return(h,R)=>{let A=[],P=R;for(let I of f){let $=I(h,P);if($.matched)A.push($.value),P=$.position;else return{matched:!1}}return{matched:!0,position:P,value:A}}}function vU(...f){return SG(GG(...f))}function SG(f){return ff(f,(h)=>h.flatMap((R)=>R))}function WG(f,h){return(R,A)=>{let P=!0,I=f,$=A;do{let w=h(I,R,$)(R,$);if(w.matched)I=w.value,$=w.position;else P=!1}while(P);return{matched:!0,position:$,value:I}}}function YG(f,h,R){return WG(f,(A)=>ff(h,(P,I,$,w)=>R(A,P,I,$,w)))}function N1(f,h,R){return DG(f,(A)=>YG(A,$f(h,R,(P,I)=>[P,I]),(P,[I,$])=>I(P,$)))}function DG(f,h){return(R,A)=>kA(f(R,A),(P)=>h(P.value,R,A,P.position)(R,P.position))}var VG="(?:[ \\t\\r\\n\\f]*)",lU="(?:\\n|\\r\\n|\\r|\\f)",pA="[^\\x00-\\x7F]",NR="(?:\\\\[0-9a-f]{1,6}(?:\\r\\n|[ \\n\\r\\t\\f])?)",GR="(?:\\\\[^\\n\\r\\f0-9a-f])",XG=`(?:[_a-z]|${pA}|${NR}|${GR})`,cU=`(?:[_a-z0-9-]|${pA}|${NR}|${GR})`,ZG=`(?:${cU}+)`,zG=`(?:[-]?${XG}${cU}*)`,JG=`'([^\\n\\r\\f\\\\']|\\\\${lU}|${pA}|${NR}|${GR})*'`,LG=`"([^\\n\\r\\f\\\\"]|\\\\${lU}|${pA}|${NR}|${GR})*"`,QG=U1([{name:"ws",regex:new RegExp(VG)},{name:"hash",regex:new RegExp(`#${ZG}`,"i")},{name:"ident",regex:new RegExp(zG,"i")},{name:"str1",regex:new RegExp(JG,"i")},{name:"str2",regex:new RegExp(LG,"i")},{name:"*"},{name:"."},{name:","},{name:"["},{name:"]"},{name:"="},{name:">"},{name:"|"},{name:"+"},{name:"~"},{name:"^"},{name:"$"}]),gG=U1([{name:"unicode",regex:new RegExp(NR,"i")},{name:"escape",regex:new RegExp(GR,"i")},{name:"any",regex:new RegExp("[\\s\\S]","i")}]);function bU([f,h,R],[A,P,I]){return[f+A,h+P,R+I]}function qG(f){return f.reduce(bU,[0,0,0])}var yG=yf((f)=>f.name==="unicode"?String.fromCodePoint(parseInt(f.text.slice(1),16)):void 0),BG=yf((f)=>f.name==="escape"?f.text.slice(1):void 0),TG=yf((f)=>f.name==="any"?f.text:void 0),KG=ff(xA(yh(yG,BG,TG)),(f)=>f.join(""));function W1(f){let h=gG(f);return KG({tokens:h.tokens,options:void 0},0).value}function s(f){return yf((h)=>h.name===f?!0:void 0)}var Y1=yf((f)=>f.name==="ws"?null:void 0),G1=HR(Y1,null);function Th(f){return E1(G1,f,G1)}var ER=yf((f)=>f.name==="ident"?W1(f.text):void 0),vG=yf((f)=>f.name==="hash"?W1(f.text.slice(1)):void 0),jG=yf((f)=>f.name.startsWith("str")?W1(f.text.slice(1,-1)):void 0),dU=KU(HR(ER,""),s("|")),D1=pf($f(dU,ER,(f,h)=>({name:h,namespace:f})),ff(ER,(f)=>({name:f,namespace:null}))),mG=pf($f(dU,s("*"),(f)=>({type:"universal",namespace:f,specificity:[0,0,0]})),ff(s("*"),()=>({type:"universal",namespace:null,specificity:[0,0,0]}))),OG=ff(D1,({name:f,namespace:h})=>({type:"tag",name:f,namespace:h,specificity:[0,0,1]})),sG=$f(s("."),ER,(f,h)=>({type:"class",name:h,specificity:[0,1,0]})),CG=ff(vG,(f)=>({type:"id",name:f,specificity:[1,0,0]})),jU=yf((f)=>{if(f.name==="ident"){if(f.text==="i"||f.text==="I")return"i";if(f.text==="s"||f.text==="S")return"s"}return}),lG=pf($f(jG,HR(F1(G1,jU),null),(f,h)=>({value:f,modifier:h})),$f(ER,HR(F1(Y1,jU),null),(f,h)=>({value:f,modifier:h}))),cG=yh(ff(s("="),()=>"="),$f(s("~"),s("="),()=>"~="),$f(s("|"),s("="),()=>"|="),$f(s("^"),s("="),()=>"^="),$f(s("$"),s("="),()=>"$="),$f(s("*"),s("="),()=>"*=")),bG=_A(s("["),Th(D1),s("]"),(f,{name:h,namespace:R})=>({type:"attrPresence",name:h,namespace:R,specificity:[0,1,0]})),dG=E1(s("["),_A(Th(D1),cG,Th(lG),({name:f,namespace:h},R,{value:A,modifier:P})=>({type:"attrValue",name:f,namespace:h,matcher:R,value:A,modifier:P,specificity:[0,1,0]})),s("]")),rG=pf(bG,dG),kG=pf(mG,OG),mU=yh(CG,sG,rG),OU=ff(pf(vU(kG,xA(mU)),TU(mU)),(f)=>{return{type:"compound",list:f,specificity:qG(f.map((h)=>h.specificity))}}),xG=yh(ff(s(">"),()=>">"),ff(s("+"),()=>"+"),ff(s("~"),()=>"~"),$f(s("|"),s("|"),()=>"||")),_G=pf(Th(xG),ff(Y1,()=>" ")),S1=N1(OU,ff(_G,(f)=>(h,R)=>({type:"compound",list:[...R.list,{type:"combinator",combinator:f,left:h,specificity:h.specificity}],specificity:bU(h.specificity,R.specificity)})),OU),Bz=N1(ff(S1,(f)=>({type:"list",list:[f]})),ff(Th(s(",")),()=>(f,h)=>({type:"list",list:[...f.list,h]})),S1);function aG(f,h){if(!(typeof h==="string"||h instanceof String))throw new Error("Expected a selector string. Actual input is not a string!");let R=QG(h);if(!R.complete)throw new Error(`The input "${h}" was only partially tokenized, stopped at offset ${R.offset}!\n`+sU(h,R.offset));let A=Th(f)({tokens:R.tokens,options:void 0},0);if(!A.matched)throw new Error(`No match for "${h}" input!`);if(A.position<R.tokens.length){let P=R.tokens[A.position];throw new Error(`The input "${h}" was only partially parsed, stopped at offset ${P.offset}!\n`+sU(h,P.offset,P.len))}return A.value}function sU(f,h,R=1){return`${f.replace(/(\t)|(\r)|(\n)/g,(A,P,I)=>P?"\u2409":I?"\u240D":"\u240A")}\n${"".padEnd(h)}${"^".repeat(R)}`}function rU(f){return aG(S1,f)}function Jf(f){if(!f.type)throw new Error("This is not an AST node.");switch(f.type){case"universal":return aA(f.namespace)+"*";case"tag":return aA(f.namespace)+Bh(f.name);case"class":return"."+Bh(f.name);case"id":return"#"+Bh(f.name);case"attrPresence":return`[${aA(f.namespace)}${Bh(f.name)}]`;case"attrValue":return`[${aA(f.namespace)}${Bh(f.name)}${f.matcher}"${iG(f.value)}"${f.modifier?f.modifier:""}]`;case"combinator":return Jf(f.left)+f.combinator;case"compound":return f.list.reduce((h,R)=>{if(R.type==="combinator")return Jf(R)+h;else return h+Jf(R)},"");case"list":return f.list.map(Jf).join(",")}}function aA(f){return f||f===""?Bh(f)+"|":""}function iA(f){return`\\${f.codePointAt(0).toString(16)} `}function Bh(f){return f.replace(/(^[0-9])|(^-[0-9])|(^-$)|([-0-9a-zA-Z_]|[^\x00-\x7F])|(\x00)|([\x01-\x1f]|\x7f)|([\s\S])/g,(h,R,A,P,I,$,w,U)=>R?iA(R):A?"-"+iA(A.slice(1)):P?"\\-":I?I:$?"\uFFFD":w?iA(w):"\\"+U)}function iG(f){return f.replace(/(")|(\\)|(\x00)|([\x01-\x1f]|\x7f)/g,(h,R,A,P,I)=>R?'\\"':A?"\\\\":P?"\uFFFD":iA(I))}function FR(f){if(!f.type)throw new Error("This is not an AST node.");switch(f.type){case"compound":{f.list.forEach(FR),f.list.sort((h,R)=>kU(CU(h),CU(R)));break}case"combinator":{FR(f.left);break}case"list":{f.list.forEach(FR),f.list.sort((h,R)=>Jf(h)<Jf(R)?-1:1);break}}return f}function CU(f){switch(f.type){case"universal":return[1];case"tag":return[1];case"id":return[2];case"class":return[3,f.name];case"attrPresence":return[4,Jf(f)];case"attrValue":return[5,Jf(f)];case"combinator":return[15,Jf(f)]}}function M1(f,h){return kU(f,h)}function kU(f,h){if(!Array.isArray(f)||!Array.isArray(h))throw new Error("Arguments must be arrays.");let R=f.length<h.length?f.length:h.length;for(let A=0;A<R;A++){if(f[A]===h[A])continue;return f[A]<h[A]?-1:1}return f.length-h.length}class eA{constructor(f){this.branches=Kh(eG(f))}build(f){return f(this.branches)}}function eG(f){let h=f.length,R=new Array(h);for(let A=0;A<h;A++){let[P,I]=f[A],$=oG(rU(P));R[A]={ast:$,terminal:{type:"terminal",valueContainer:{index:A,value:I,specificity:$.specificity}}}}return R}function oG(f){return _U(f),FR(f),f}function _U(f){let h=[];f.list.forEach((R)=>{switch(R.type){case"class":h.push({matcher:"~=",modifier:null,name:"class",namespace:null,specificity:R.specificity,type:"attrValue",value:R.name});break;case"id":h.push({matcher:"=",modifier:null,name:"id",namespace:null,specificity:R.specificity,type:"attrValue",value:R.name});break;case"combinator":_U(R.left),h.push(R);break;case"universal":break;default:h.push(R);break}}),f.list=h}function Kh(f){let h=[];while(f.length){let R=pU(f,($)=>!0,aU),{matches:A,nonmatches:P,empty:I}=uG(f,R);if(f=P,A.length)h.push(tG(R,A));if(I.length)h.push(...nG(I))}return h}function nG(f){let h=[];for(let R of f){let A=R.terminal;if(A.type==="terminal")h.push(A);else{let{matches:P,rest:I}=PS(A.cont,($)=>$.type==="terminal");if(P.forEach(($)=>h.push($)),I.length)A.cont=I,h.push(A)}}return h}function uG(f,h){let R=[],A=[],P=[];for(let I of f){let $=I.ast.list;if($.length)($.some((U)=>aU(U)===h)?R:A).push(I);else P.push(I)}return{matches:R,nonmatches:A,empty:P}}function aU(f){switch(f.type){case"attrPresence":return`attrPresence ${f.name}`;case"attrValue":return`attrValue ${f.name}`;case"combinator":return`combinator ${f.combinator}`;default:return f.type}}function tG(f,h){if(f==="tag")return fS(h);if(f.startsWith("attrValue "))return RS(f.substring(10),h);if(f.startsWith("attrPresence "))return hS(f.substring(13),h);if(f==="combinator >")return xU(">",h);if(f==="combinator +")return xU("+",h);throw new Error(`Unsupported selector kind: ${f}`)}function fS(f){let h=V1(f,(A)=>A.type==="tag",(A)=>A.name);return{type:"tagName",variants:Object.entries(h).map(([A,P])=>({type:"variant",value:A,cont:Kh(P.items)}))}}function hS(f,h){for(let R of h)iU(R,(A)=>A.type==="attrPresence"&&A.name===f);return{type:"attrPresence",name:f,cont:Kh(h)}}function RS(f,h){let R=V1(h,(P)=>P.type==="attrValue"&&P.name===f,(P)=>`${P.matcher} ${P.modifier||""} ${P.value}`),A=[];for(let P of Object.values(R)){let I=P.oneSimpleSelector,$=AS(I),w=Kh(P.items);A.push({type:"matcher",matcher:I.matcher,modifier:I.modifier,value:I.value,predicate:$,cont:w})}return{type:"attrValue",name:f,matchers:A}}function AS(f){if(f.modifier==="i"){let h=f.value.toLowerCase();switch(f.matcher){case"=":return(R)=>h===R.toLowerCase();case"~=":return(R)=>R.toLowerCase().split(/[ \t]+/).includes(h);case"^=":return(R)=>R.toLowerCase().startsWith(h);case"$=":return(R)=>R.toLowerCase().endsWith(h);case"*=":return(R)=>R.toLowerCase().includes(h);case"|=":return(R)=>{let A=R.toLowerCase();return h===A||A.startsWith(h)&&A[h.length]==="-"}}}else{let h=f.value;switch(f.matcher){case"=":return(R)=>h===R;case"~=":return(R)=>R.split(/[ \t]+/).includes(h);case"^=":return(R)=>R.startsWith(h);case"$=":return(R)=>R.endsWith(h);case"*=":return(R)=>R.includes(h);case"|=":return(R)=>h===R||R.startsWith(h)&&R[h.length]==="-"}}}function xU(f,h){let R=V1(h,(P)=>P.type==="combinator"&&P.combinator===f,(P)=>Jf(P.left)),A=[];for(let P of Object.values(R)){let I=Kh(P.items),$=P.oneSimpleSelector.left;A.push({ast:$,terminal:{type:"popElement",cont:I}})}return{type:"pushElement",combinator:f,cont:Kh(A)}}function V1(f,h,R){let A={};while(f.length){let P=pU(f,h,R),I=(N)=>h(N)&&R(N)===P,$=(N)=>N.ast.list.some(I),{matches:w,rest:U}=IS(f,$),F=null;for(let N of w){let W=iU(N,I);if(!F)F=W}if(F==null)throw new Error("No simple selector is found.");A[P]={oneSimpleSelector:F,items:w},f=U}return A}function iU(f,h){let R=f.ast.list,A=new Array(R.length),P=-1;for(let $=R.length;$-- >0;)if(h(R[$]))A[$]=!0,P=$;if(P==-1)throw new Error("Couldn't find the required simple selector.");let I=R[P];return f.ast.list=R.filter(($,w)=>!A[w]),I}function pU(f,h,R){let A={};for(let $ of f){let w={};for(let U of $.ast.list.filter(h))w[R(U)]=!0;for(let U of Object.keys(w))if(A[U])A[U]++;else A[U]=1}let P="",I=0;for(let $ of Object.entries(A))if($[1]>I)P=$[0],I=$[1];return P}function PS(f,h){let R=[],A=[];for(let P of f)if(h(P))R.push(P);else A.push(P);return{matches:R,rest:A}}function IS(f,h){let R=[],A=[];for(let P of f)if(h(P))R.push(P);else A.push(P);return{matches:R,rest:A}}class X1{constructor(f){this.f=f}pickAll(f){return this.f(f)}pick1(f,h=!1){let R=this.f(f),A=R.length;if(A===0)return null;if(A===1)return R[0].value;let P=h?$S:wS,I=R[0];for(let $=1;$<A;$++){let w=R[$];if(P(I,w))I=w}return I.value}}function $S(f,h){let R=M1(h.specificity,f.specificity);return R>0||R===0&&h.index<f.index}function wS(f,h){let R=M1(h.specificity,f.specificity);return R>0||R===0&&h.index>f.index}function Z1(f){return new X1(vh(f))}function vh(f){let h=f.map(US);return(R,...A)=>h.flatMap((P)=>P(R,...A))}function US(f){switch(f.type){case"terminal":{let h=[f.valueContainer];return(R,...A)=>h}case"tagName":return HS(f);case"attrValue":return ES(f);case"attrPresence":return FS(f);case"pushElement":return NS(f);case"popElement":return SS(f)}}function HS(f){let h={};for(let R of f.variants)h[R.value]=vh(R.cont);return(R,...A)=>{let P=h[R.name];return P?P(R,...A):[]}}function FS(f){let h=f.name,R=vh(f.cont);return(A,...P)=>Object.prototype.hasOwnProperty.call(A.attribs,h)?R(A,...P):[]}function ES(f){let h=[];for(let A of f.matchers){let P=A.predicate,I=vh(A.cont);h.push(($,w,...U)=>P($)?I(w,...U):[])}let R=f.name;return(A,...P)=>{let I=A.attribs[R];return I||I===""?h.flatMap(($)=>$(I,A,...P)):[]}}function NS(f){let h=vh(f.cont),R=f.combinator==="+"?eU:GS;return(A,...P)=>{let I=R(A);if(I===null)return[];return h(I,A,...P)}}var eU=(f)=>{let h=f.prev;if(h===null)return null;return rA(h)?h:eU(h)},GS=(f)=>{let h=f.parent;return h&&rA(h)?h:null};function SS(f){let h=vh(f.cont);return(R,A,...P)=>h(A,...P)}var oA=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\uD835\uDD04rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\uD835\uDD38plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\uD835\uDC9Cign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\uD835\uDD05pf;\uC000\uD835\uDD39eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\uD835\uDC9Ep\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\uD835\uDD07\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\uD835\uDD3B\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\uD835\uDC9Frok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\uD835\uDD08rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\uD835\uDD3Csilon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\uD835\uDD09lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\uD835\uDD3DAll;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\uD835\uDD0A;\u62D9pf;\uC000\uD835\uDD3Eeater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\uD835\uDCA2;\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\uD835\uDD40a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\uD835\uDD0Dpf;\uC000\uD835\uDD41\u01E3\u07C7\0\u07CCr;\uC000\uD835\uDCA5rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\uD835\uDD0Epf;\uC000\uD835\uDD42cr;\uC000\uD835\uDCA6\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\uD835\uDD0F\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\uD835\uDD43er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\uD835\uDD10nusPlus;\u6213pf;\uC000\uD835\uDD44c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\uD835\uDD11\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\uD835\uDCA9ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\uD835\uDD12rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\uD835\uDD46enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\uD835\uDCAAash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\uD835\uDD13i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\uD835\uDCAB;\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\uD835\uDD14pf;\u611Acr;\uC000\uD835\uDCAC\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\uD835\uDD16ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\uD835\uDD4A\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\uD835\uDCAEar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\uD835\uDD17\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\uD835\uDD4BipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\uD835\uDCAFrok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\uD835\uDD18rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\uD835\uDD4C\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\uD835\uDCB0ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\uD835\uDD19pf;\uC000\uD835\uDD4Dcr;\uC000\uD835\uDCB1dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\uD835\uDD1Apf;\uC000\uD835\uDD4Ecr;\uC000\uD835\uDCB2\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\uD835\uDD1B;\u439Epf;\uC000\uD835\uDD4Fcr;\uC000\uD835\uDCB3\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\uD835\uDD1Cpf;\uC000\uD835\uDD50cr;\uC000\uD835\uDCB4ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\uD835\uDCB5\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\uD835\uDD1Erave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\uD835\uDD52\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\uD835\uDCB6;\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\uD835\uDD1Fg\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\uD835\uDD53\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\uD835\uDCB7mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\uD835\uDD20\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\uD835\uDD54o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\uD835\uDCB8\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\uD835\uDD21ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\uD835\uDD55\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\uD835\uDCB9;\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\uD835\uDD22\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\uD835\uDD56\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\uD835\uDD23lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\uD835\uDD57\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\uD835\uDCBB\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\uD835\uDD24\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\uD835\uDD58\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\uD835\uDD25s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\uD835\uDD59bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\uD835\uDCBDas\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\uD835\uDD26rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\uD835\uDD5Aa;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\uD835\uDCBEn\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\uD835\uDD27ath;\u4237pf;\uC000\uD835\uDD5B\u01E3\u23EC\0\u23F1r;\uC000\uD835\uDCBFrcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\uD835\uDD28reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\uD835\uDD5Ccr;\uC000\uD835\uDCC0\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\uD835\uDD29\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\uD835\uDD5Dus;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\uD835\uDCC1m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\uD835\uDD2Ao;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\uD835\uDD5E\u0100ct\u28F8\u28FDr;\uC000\uD835\uDCC2pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\uD835\uDD2B\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\uD835\uDD5F\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\uD835\uDCC3ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\uD835\uDD2C\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\uD835\uDD60\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\uD835\uDD2D\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\uD835\uDD61nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\uD835\uDCC5;\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\uD835\uDD2Epf;\uC000\uD835\uDD62rime;\u6057cr;\uC000\uD835\uDCC6\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\uD835\uDD2F\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\uD835\uDD63us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\uD835\uDCC7\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\uD835\uDD30\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\uD835\uDD64a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\uD835\uDCC8tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\uD835\uDD31\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\uD835\uDD65rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\uD835\uDCC9;\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\uD835\uDD32rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\uD835\uDD66\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\uD835\uDCCA\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\uD835\uDD33tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\uD835\uDD67ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\uD835\uDCCB\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\uD835\uDD34pf;\uC000\uD835\uDD68\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\uD835\uDCCC\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\uD835\uDD35\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\uD835\uDD69im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\uD835\uDCCD\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\uD835\uDD36cy;\u4457pf;\uC000\uD835\uDD6Acr;\uC000\uD835\uDCCE\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\uD835\uDD37cy;\u4436grarr;\u61DDpf;\uC000\uD835\uDD6Bcr;\uC000\uD835\uDCCF\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map((f)=>f.charCodeAt(0)));var nA=new Uint16Array("\u0200aglq\t\x15\x18\x1B\u026D\x0F\0\0\x12p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map((f)=>f.charCodeAt(0)));var z1,WS=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),jh=(z1=String.fromCodePoint)!==null&&z1!==void 0?z1:function(f){let h="";if(f>65535)f-=65536,h+=String.fromCharCode(f>>>10&1023|55296),f=56320|f&1023;return h+=String.fromCharCode(f),h};function SR(f){var h;if(f>=55296&&f<=57343||f>1114111)return 65533;return(h=WS.get(f))!==null&&h!==void 0?h:f}var o;(function(f){f[f.NUM=35]="NUM",f[f.SEMI=59]="SEMI",f[f.EQUALS=61]="EQUALS",f[f.ZERO=48]="ZERO",f[f.NINE=57]="NINE",f[f.LOWER_A=97]="LOWER_A",f[f.LOWER_F=102]="LOWER_F",f[f.LOWER_X=120]="LOWER_X",f[f.LOWER_Z=122]="LOWER_Z",f[f.UPPER_A=65]="UPPER_A",f[f.UPPER_F=70]="UPPER_F",f[f.UPPER_Z=90]="UPPER_Z"})(o||(o={}));var YS=32,Yf;(function(f){f[f.VALUE_LENGTH=49152]="VALUE_LENGTH",f[f.BRANCH_LENGTH=16256]="BRANCH_LENGTH",f[f.JUMP_TABLE=127]="JUMP_TABLE"})(Yf||(Yf={}));function J1(f){return f>=o.ZERO&&f<=o.NINE}function DS(f){return f>=o.UPPER_A&&f<=o.UPPER_F||f>=o.LOWER_A&&f<=o.LOWER_F}function MS(f){return f>=o.UPPER_A&&f<=o.UPPER_Z||f>=o.LOWER_A&&f<=o.LOWER_Z||J1(f)}function VS(f){return f===o.EQUALS||MS(f)}var e;(function(f){f[f.EntityStart=0]="EntityStart",f[f.NumericStart=1]="NumericStart",f[f.NumericDecimal=2]="NumericDecimal",f[f.NumericHex=3]="NumericHex",f[f.NamedEntity=4]="NamedEntity"})(e||(e={}));var Hh;(function(f){f[f.Legacy=0]="Legacy",f[f.Strict=1]="Strict",f[f.Attribute=2]="Attribute"})(Hh||(Hh={}));class oU{constructor(f,h,R){this.decodeTree=f,this.emitCodePoint=h,this.errors=R,this.state=e.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Hh.Strict}startEntity(f){this.decodeMode=f,this.state=e.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(f,h){switch(this.state){case e.EntityStart:{if(f.charCodeAt(h)===o.NUM)return this.state=e.NumericStart,this.consumed+=1,this.stateNumericStart(f,h+1);return this.state=e.NamedEntity,this.stateNamedEntity(f,h)}case e.NumericStart:return this.stateNumericStart(f,h);case e.NumericDecimal:return this.stateNumericDecimal(f,h);case e.NumericHex:return this.stateNumericHex(f,h);case e.NamedEntity:return this.stateNamedEntity(f,h)}}stateNumericStart(f,h){if(h>=f.length)return-1;if((f.charCodeAt(h)|YS)===o.LOWER_X)return this.state=e.NumericHex,this.consumed+=1,this.stateNumericHex(f,h+1);return this.state=e.NumericDecimal,this.stateNumericDecimal(f,h)}addToNumericResult(f,h,R,A){if(h!==R){let P=R-h;this.result=this.result*Math.pow(A,P)+parseInt(f.substr(h,P),A),this.consumed+=P}}stateNumericHex(f,h){let R=h;while(h<f.length){let A=f.charCodeAt(h);if(J1(A)||DS(A))h+=1;else return this.addToNumericResult(f,R,h,16),this.emitNumericEntity(A,3)}return this.addToNumericResult(f,R,h,16),-1}stateNumericDecimal(f,h){let R=h;while(h<f.length){let A=f.charCodeAt(h);if(J1(A))h+=1;else return this.addToNumericResult(f,R,h,10),this.emitNumericEntity(A,2)}return this.addToNumericResult(f,R,h,10),-1}emitNumericEntity(f,h){var R;if(this.consumed<=h)return(R=this.errors)===null||R===void 0||R.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(f===o.SEMI)this.consumed+=1;else if(this.decodeMode===Hh.Strict)return 0;if(this.emitCodePoint(SR(this.result),this.consumed),this.errors){if(f!==o.SEMI)this.errors.missingSemicolonAfterCharacterReference();this.errors.validateNumericCharacterReference(this.result)}return this.consumed}stateNamedEntity(f,h){let{decodeTree:R}=this,A=R[this.treeIndex],P=(A&Yf.VALUE_LENGTH)>>14;for(;h<f.length;h++,this.excess++){let I=f.charCodeAt(h);if(this.treeIndex=L1(R,A,this.treeIndex+Math.max(1,P),I),this.treeIndex<0)return this.result===0||this.decodeMode===Hh.Attribute&&(P===0||VS(I))?0:this.emitNotTerminatedNamedEntity();if(A=R[this.treeIndex],P=(A&Yf.VALUE_LENGTH)>>14,P!==0){if(I===o.SEMI)return this.emitNamedEntityData(this.treeIndex,P,this.consumed+this.excess);if(this.decodeMode!==Hh.Strict)this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0}}return-1}emitNotTerminatedNamedEntity(){var f;let{result:h,decodeTree:R}=this,A=(R[h]&Yf.VALUE_LENGTH)>>14;return this.emitNamedEntityData(h,A,this.consumed),(f=this.errors)===null||f===void 0||f.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(f,h,R){let{decodeTree:A}=this;if(this.emitCodePoint(h===1?A[f]&~Yf.VALUE_LENGTH:A[f+1],R),h===3)this.emitCodePoint(A[f+2],R);return R}end(){var f;switch(this.state){case e.NamedEntity:return this.result!==0&&(this.decodeMode!==Hh.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case e.NumericDecimal:return this.emitNumericEntity(0,2);case e.NumericHex:return this.emitNumericEntity(0,3);case e.NumericStart:return(f=this.errors)===null||f===void 0||f.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case e.EntityStart:return 0}}}function nU(f){let h="",R=new oU(f,(A)=>h+=jh(A));return function A(P,I){let $=0,w=0;while((w=P.indexOf("&",w))>=0){h+=P.slice($,w),R.startEntity(I);let F=R.write(P,w+1);if(F<0){$=w+R.end();break}$=w+F,w=F===0?$+1:$}let U=h+P.slice($);return h="",U}}function L1(f,h,R,A){let P=(h&Yf.BRANCH_LENGTH)>>7,I=h&Yf.JUMP_TABLE;if(P===0)return I!==0&&A===I?R:-1;if(I){let U=A-I;return U<0||U>=P?-1:f[R+U]-1}let $=R,w=$+P-1;while($<=w){let U=$+w>>>1,F=f[U];if(F<A)$=U+1;else if(F>A)w=U-1;else return f[U+P]}return-1}var rz=nU(oA),kz=nU(nA);var G;(function(f){f[f.Tab=9]="Tab",f[f.NewLine=10]="NewLine",f[f.FormFeed=12]="FormFeed",f[f.CarriageReturn=13]="CarriageReturn",f[f.Space=32]="Space",f[f.ExclamationMark=33]="ExclamationMark",f[f.Number=35]="Number",f[f.Amp=38]="Amp",f[f.SingleQuote=39]="SingleQuote",f[f.DoubleQuote=34]="DoubleQuote",f[f.Dash=45]="Dash",f[f.Slash=47]="Slash",f[f.Zero=48]="Zero",f[f.Nine=57]="Nine",f[f.Semi=59]="Semi",f[f.Lt=60]="Lt",f[f.Eq=61]="Eq",f[f.Gt=62]="Gt",f[f.Questionmark=63]="Questionmark",f[f.UpperA=65]="UpperA",f[f.LowerA=97]="LowerA",f[f.UpperF=70]="UpperF",f[f.LowerF=102]="LowerF",f[f.UpperZ=90]="UpperZ",f[f.LowerZ=122]="LowerZ",f[f.LowerX=120]="LowerX",f[f.OpeningSquareBracket=91]="OpeningSquareBracket"})(G||(G={}));var E;(function(f){f[f.Text=1]="Text",f[f.BeforeTagName=2]="BeforeTagName",f[f.InTagName=3]="InTagName",f[f.InSelfClosingTag=4]="InSelfClosingTag",f[f.BeforeClosingTagName=5]="BeforeClosingTagName",f[f.InClosingTagName=6]="InClosingTagName",f[f.AfterClosingTagName=7]="AfterClosingTagName",f[f.BeforeAttributeName=8]="BeforeAttributeName",f[f.InAttributeName=9]="InAttributeName",f[f.AfterAttributeName=10]="AfterAttributeName",f[f.BeforeAttributeValue=11]="BeforeAttributeValue",f[f.InAttributeValueDq=12]="InAttributeValueDq",f[f.InAttributeValueSq=13]="InAttributeValueSq",f[f.InAttributeValueNq=14]="InAttributeValueNq",f[f.BeforeDeclaration=15]="BeforeDeclaration",f[f.InDeclaration=16]="InDeclaration",f[f.InProcessingInstruction=17]="InProcessingInstruction",f[f.BeforeComment=18]="BeforeComment",f[f.CDATASequence=19]="CDATASequence",f[f.InSpecialComment=20]="InSpecialComment",f[f.InCommentLike=21]="InCommentLike",f[f.BeforeSpecialS=22]="BeforeSpecialS",f[f.SpecialStartSequence=23]="SpecialStartSequence",f[f.InSpecialTag=24]="InSpecialTag",f[f.BeforeEntity=25]="BeforeEntity",f[f.BeforeNumericEntity=26]="BeforeNumericEntity",f[f.InNamedEntity=27]="InNamedEntity",f[f.InNumericEntity=28]="InNumericEntity",f[f.InHexEntity=29]="InHexEntity"})(E||(E={}));function mf(f){return f===G.Space||f===G.NewLine||f===G.Tab||f===G.FormFeed||f===G.CarriageReturn}function uA(f){return f===G.Slash||f===G.Gt||mf(f)}function uU(f){return f>=G.Zero&&f<=G.Nine}function XS(f){return f>=G.LowerA&&f<=G.LowerZ||f>=G.UpperA&&f<=G.UpperZ}function ZS(f){return f>=G.UpperA&&f<=G.UpperF||f>=G.LowerA&&f<=G.LowerF}var Lf;(function(f){f[f.NoValue=0]="NoValue",f[f.Unquoted=1]="Unquoted",f[f.Single=2]="Single",f[f.Double=3]="Double"})(Lf||(Lf={}));var Nf={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])};class tA{constructor({xmlMode:f=!1,decodeEntities:h=!0},R){this.cbs=R,this.state=E.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=E.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=f,this.decodeEntities=h,this.entityTrie=f?nA:oA}reset(){this.state=E.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=E.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(f){this.offset+=this.buffer.length,this.buffer=f,this.parse()}end(){if(this.running)this.finish()}pause(){this.running=!1}resume(){if(this.running=!0,this.index<this.buffer.length+this.offset)this.parse()}getIndex(){return this.index}getSectionStart(){return this.sectionStart}stateText(f){if(f===G.Lt||!this.decodeEntities&&this.fastForwardTo(G.Lt)){if(this.index>this.sectionStart)this.cbs.ontext(this.sectionStart,this.index);this.state=E.BeforeTagName,this.sectionStart=this.index}else if(this.decodeEntities&&f===G.Amp)this.state=E.BeforeEntity}stateSpecialStartSequence(f){let h=this.sequenceIndex===this.currentSequence.length;if(!(h?uA(f):(f|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!h){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=E.InTagName,this.stateInTagName(f)}stateInSpecialTag(f){if(this.sequenceIndex===this.currentSequence.length){if(f===G.Gt||mf(f)){let h=this.index-this.currentSequence.length;if(this.sectionStart<h){let R=this.index;this.index=h,this.cbs.ontext(this.sectionStart,h),this.index=R}this.isSpecial=!1,this.sectionStart=h+2,this.stateInClosingTagName(f);return}this.sequenceIndex=0}if((f|32)===this.currentSequence[this.sequenceIndex])this.sequenceIndex+=1;else if(this.sequenceIndex===0){if(this.currentSequence===Nf.TitleEnd){if(this.decodeEntities&&f===G.Amp)this.state=E.BeforeEntity}else if(this.fastForwardTo(G.Lt))this.sequenceIndex=1}else this.sequenceIndex=Number(f===G.Lt)}stateCDATASequence(f){if(f===Nf.Cdata[this.sequenceIndex]){if(++this.sequenceIndex===Nf.Cdata.length)this.state=E.InCommentLike,this.currentSequence=Nf.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1}else this.sequenceIndex=0,this.state=E.InDeclaration,this.stateInDeclaration(f)}fastForwardTo(f){while(++this.index<this.buffer.length+this.offset)if(this.buffer.charCodeAt(this.index-this.offset)===f)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(f){if(f===this.currentSequence[this.sequenceIndex]){if(++this.sequenceIndex===this.currentSequence.length){if(this.currentSequence===Nf.CdataEnd)this.cbs.oncdata(this.sectionStart,this.index,2);else this.cbs.oncomment(this.sectionStart,this.index,2);this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=E.Text}}else if(this.sequenceIndex===0){if(this.fastForwardTo(this.currentSequence[0]))this.sequenceIndex=1}else if(f!==this.currentSequence[this.sequenceIndex-1])this.sequenceIndex=0}isTagStartChar(f){return this.xmlMode?!uA(f):XS(f)}startSpecial(f,h){this.isSpecial=!0,this.currentSequence=f,this.sequenceIndex=h,this.state=E.SpecialStartSequence}stateBeforeTagName(f){if(f===G.ExclamationMark)this.state=E.BeforeDeclaration,this.sectionStart=this.index+1;else if(f===G.Questionmark)this.state=E.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(f)){let h=f|32;if(this.sectionStart=this.index,!this.xmlMode&&h===Nf.TitleEnd[2])this.startSpecial(Nf.TitleEnd,3);else this.state=!this.xmlMode&&h===Nf.ScriptEnd[2]?E.BeforeSpecialS:E.InTagName}else if(f===G.Slash)this.state=E.BeforeClosingTagName;else this.state=E.Text,this.stateText(f)}stateInTagName(f){if(uA(f))this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=E.BeforeAttributeName,this.stateBeforeAttributeName(f)}stateBeforeClosingTagName(f){if(mf(f));else if(f===G.Gt)this.state=E.Text;else this.state=this.isTagStartChar(f)?E.InClosingTagName:E.InSpecialComment,this.sectionStart=this.index}stateInClosingTagName(f){if(f===G.Gt||mf(f))this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=E.AfterClosingTagName,this.stateAfterClosingTagName(f)}stateAfterClosingTagName(f){if(f===G.Gt||this.fastForwardTo(G.Gt))this.state=E.Text,this.baseState=E.Text,this.sectionStart=this.index+1}stateBeforeAttributeName(f){if(f===G.Gt){if(this.cbs.onopentagend(this.index),this.isSpecial)this.state=E.InSpecialTag,this.sequenceIndex=0;else this.state=E.Text;this.baseState=this.state,this.sectionStart=this.index+1}else if(f===G.Slash)this.state=E.InSelfClosingTag;else if(!mf(f))this.state=E.InAttributeName,this.sectionStart=this.index}stateInSelfClosingTag(f){if(f===G.Gt)this.cbs.onselfclosingtag(this.index),this.state=E.Text,this.baseState=E.Text,this.sectionStart=this.index+1,this.isSpecial=!1;else if(!mf(f))this.state=E.BeforeAttributeName,this.stateBeforeAttributeName(f)}stateInAttributeName(f){if(f===G.Eq||uA(f))this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=E.AfterAttributeName,this.stateAfterAttributeName(f)}stateAfterAttributeName(f){if(f===G.Eq)this.state=E.BeforeAttributeValue;else if(f===G.Slash||f===G.Gt)this.cbs.onattribend(Lf.NoValue,this.index),this.state=E.BeforeAttributeName,this.stateBeforeAttributeName(f);else if(!mf(f))this.cbs.onattribend(Lf.NoValue,this.index),this.state=E.InAttributeName,this.sectionStart=this.index}stateBeforeAttributeValue(f){if(f===G.DoubleQuote)this.state=E.InAttributeValueDq,this.sectionStart=this.index+1;else if(f===G.SingleQuote)this.state=E.InAttributeValueSq,this.sectionStart=this.index+1;else if(!mf(f))this.sectionStart=this.index,this.state=E.InAttributeValueNq,this.stateInAttributeValueNoQuotes(f)}handleInAttributeValue(f,h){if(f===h||!this.decodeEntities&&this.fastForwardTo(h))this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(h===G.DoubleQuote?Lf.Double:Lf.Single,this.index),this.state=E.BeforeAttributeName;else if(this.decodeEntities&&f===G.Amp)this.baseState=this.state,this.state=E.BeforeEntity}stateInAttributeValueDoubleQuotes(f){this.handleInAttributeValue(f,G.DoubleQuote)}stateInAttributeValueSingleQuotes(f){this.handleInAttributeValue(f,G.SingleQuote)}stateInAttributeValueNoQuotes(f){if(mf(f)||f===G.Gt)this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(Lf.Unquoted,this.index),this.state=E.BeforeAttributeName,this.stateBeforeAttributeName(f);else if(this.decodeEntities&&f===G.Amp)this.baseState=this.state,this.state=E.BeforeEntity}stateBeforeDeclaration(f){if(f===G.OpeningSquareBracket)this.state=E.CDATASequence,this.sequenceIndex=0;else this.state=f===G.Dash?E.BeforeComment:E.InDeclaration}stateInDeclaration(f){if(f===G.Gt||this.fastForwardTo(G.Gt))this.cbs.ondeclaration(this.sectionStart,this.index),this.state=E.Text,this.sectionStart=this.index+1}stateInProcessingInstruction(f){if(f===G.Gt||this.fastForwardTo(G.Gt))this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=E.Text,this.sectionStart=this.index+1}stateBeforeComment(f){if(f===G.Dash)this.state=E.InCommentLike,this.currentSequence=Nf.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1;else this.state=E.InDeclaration}stateInSpecialComment(f){if(f===G.Gt||this.fastForwardTo(G.Gt))this.cbs.oncomment(this.sectionStart,this.index,0),this.state=E.Text,this.sectionStart=this.index+1}stateBeforeSpecialS(f){let h=f|32;if(h===Nf.ScriptEnd[3])this.startSpecial(Nf.ScriptEnd,4);else if(h===Nf.StyleEnd[3])this.startSpecial(Nf.StyleEnd,4);else this.state=E.InTagName,this.stateInTagName(f)}stateBeforeEntity(f){if(this.entityExcess=1,this.entityResult=0,f===G.Number)this.state=E.BeforeNumericEntity;else if(f===G.Amp);else this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=E.InNamedEntity,this.stateInNamedEntity(f)}stateInNamedEntity(f){if(this.entityExcess+=1,this.trieIndex=L1(this.entityTrie,this.trieCurrent,this.trieIndex+1,f),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];let h=this.trieCurrent&Yf.VALUE_LENGTH;if(h){let R=(h>>14)-1;if(!this.allowLegacyEntity()&&f!==G.Semi)this.trieIndex+=R;else{let A=this.index-this.entityExcess+1;if(A>this.sectionStart)this.emitPartial(this.sectionStart,A);if(this.entityResult=this.trieIndex,this.trieIndex+=R,this.entityExcess=0,this.sectionStart=this.index+1,R===0)this.emitNamedEntity()}}}emitNamedEntity(){if(this.state=this.baseState,this.entityResult===0)return;switch((this.entityTrie[this.entityResult]&Yf.VALUE_LENGTH)>>14){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~Yf.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}stateBeforeNumericEntity(f){if((f|32)===G.LowerX)this.entityExcess++,this.state=E.InHexEntity;else this.state=E.InNumericEntity,this.stateInNumericEntity(f)}emitNumericEntity(f){let h=this.index-this.entityExcess-1;if(h+2+Number(this.state===E.InHexEntity)!==this.index){if(h>this.sectionStart)this.emitPartial(this.sectionStart,h);this.sectionStart=this.index+Number(f),this.emitCodePoint(SR(this.entityResult))}this.state=this.baseState}stateInNumericEntity(f){if(f===G.Semi)this.emitNumericEntity(!0);else if(uU(f))this.entityResult=this.entityResult*10+(f-G.Zero),this.entityExcess++;else{if(this.allowLegacyEntity())this.emitNumericEntity(!1);else this.state=this.baseState;this.index--}}stateInHexEntity(f){if(f===G.Semi)this.emitNumericEntity(!0);else if(uU(f))this.entityResult=this.entityResult*16+(f-G.Zero),this.entityExcess++;else if(ZS(f))this.entityResult=this.entityResult*16+((f|32)-G.LowerA+10),this.entityExcess++;else{if(this.allowLegacyEntity())this.emitNumericEntity(!1);else this.state=this.baseState;this.index--}}allowLegacyEntity(){return!this.xmlMode&&(this.baseState===E.Text||this.baseState===E.InSpecialTag)}cleanup(){if(this.running&&this.sectionStart!==this.index){if(this.state===E.Text||this.state===E.InSpecialTag&&this.sequenceIndex===0)this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index;else if(this.state===E.InAttributeValueDq||this.state===E.InAttributeValueSq||this.state===E.InAttributeValueNq)this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index}}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){while(this.shouldContinue()){let f=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case E.Text:{this.stateText(f);break}case E.SpecialStartSequence:{this.stateSpecialStartSequence(f);break}case E.InSpecialTag:{this.stateInSpecialTag(f);break}case E.CDATASequence:{this.stateCDATASequence(f);break}case E.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(f);break}case E.InAttributeName:{this.stateInAttributeName(f);break}case E.InCommentLike:{this.stateInCommentLike(f);break}case E.InSpecialComment:{this.stateInSpecialComment(f);break}case E.BeforeAttributeName:{this.stateBeforeAttributeName(f);break}case E.InTagName:{this.stateInTagName(f);break}case E.InClosingTagName:{this.stateInClosingTagName(f);break}case E.BeforeTagName:{this.stateBeforeTagName(f);break}case E.AfterAttributeName:{this.stateAfterAttributeName(f);break}case E.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(f);break}case E.BeforeAttributeValue:{this.stateBeforeAttributeValue(f);break}case E.BeforeClosingTagName:{this.stateBeforeClosingTagName(f);break}case E.AfterClosingTagName:{this.stateAfterClosingTagName(f);break}case E.BeforeSpecialS:{this.stateBeforeSpecialS(f);break}case E.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(f);break}case E.InSelfClosingTag:{this.stateInSelfClosingTag(f);break}case E.InDeclaration:{this.stateInDeclaration(f);break}case E.BeforeDeclaration:{this.stateBeforeDeclaration(f);break}case E.BeforeComment:{this.stateBeforeComment(f);break}case E.InProcessingInstruction:{this.stateInProcessingInstruction(f);break}case E.InNamedEntity:{this.stateInNamedEntity(f);break}case E.BeforeEntity:{this.stateBeforeEntity(f);break}case E.InHexEntity:{this.stateInHexEntity(f);break}case E.InNumericEntity:{this.stateInNumericEntity(f);break}default:this.stateBeforeNumericEntity(f)}this.index++}this.cleanup()}finish(){if(this.state===E.InNamedEntity)this.emitNamedEntity();if(this.sectionStart<this.index)this.handleTrailingData();this.cbs.onend()}handleTrailingData(){let f=this.buffer.length+this.offset;if(this.state===E.InCommentLike)if(this.currentSequence===Nf.CdataEnd)this.cbs.oncdata(this.sectionStart,f,0);else this.cbs.oncomment(this.sectionStart,f,0);else if(this.state===E.InNumericEntity&&this.allowLegacyEntity())this.emitNumericEntity(!1);else if(this.state===E.InHexEntity&&this.allowLegacyEntity())this.emitNumericEntity(!1);else if(this.state===E.InTagName||this.state===E.BeforeAttributeName||this.state===E.BeforeAttributeValue||this.state===E.AfterAttributeName||this.state===E.InAttributeName||this.state===E.InAttributeValueSq||this.state===E.InAttributeValueDq||this.state===E.InAttributeValueNq||this.state===E.InClosingTagName);else this.cbs.ontext(this.sectionStart,f)}emitPartial(f,h){if(this.baseState!==E.Text&&this.baseState!==E.InSpecialTag)this.cbs.onattribdata(f,h);else this.cbs.ontext(f,h)}emitCodePoint(f){if(this.baseState!==E.Text&&this.baseState!==E.InSpecialTag)this.cbs.onattribentity(f);else this.cbs.ontextentity(f)}}var mh=new Set(["input","option","optgroup","select","button","datalist","textarea"]),v=new Set(["p"]),tU=new Set(["thead","tbody"]),fH=new Set(["dd","dt"]),hH=new Set(["rt","rp"]),zS=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",v],["h1",v],["h2",v],["h3",v],["h4",v],["h5",v],["h6",v],["select",mh],["input",mh],["output",mh],["button",mh],["datalist",mh],["textarea",mh],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",fH],["dt",fH],["address",v],["article",v],["aside",v],["blockquote",v],["details",v],["div",v],["dl",v],["fieldset",v],["figcaption",v],["figure",v],["footer",v],["form",v],["header",v],["hr",v],["main",v],["nav",v],["ol",v],["pre",v],["section",v],["table",v],["ul",v],["rt",hH],["rp",hH],["tbody",tU],["tfoot",tU]]),JS=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),RH=new Set(["math","svg"]),AH=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),LS=/\s|\//;class Q1{constructor(f,h={}){var R,A,P,I,$;this.options=h,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=f!==null&&f!==void 0?f:{},this.lowerCaseTagNames=(R=h.lowerCaseTags)!==null&&R!==void 0?R:!h.xmlMode,this.lowerCaseAttributeNames=(A=h.lowerCaseAttributeNames)!==null&&A!==void 0?A:!h.xmlMode,this.tokenizer=new((P=h.Tokenizer)!==null&&P!==void 0?P:tA)(this.options,this),($=(I=this.cbs).onparserinit)===null||$===void 0||$.call(I,this)}ontext(f,h){var R,A;let P=this.getSlice(f,h);this.endIndex=h-1,(A=(R=this.cbs).ontext)===null||A===void 0||A.call(R,P),this.startIndex=h}ontextentity(f){var h,R;let A=this.tokenizer.getSectionStart();this.endIndex=A-1,(R=(h=this.cbs).ontext)===null||R===void 0||R.call(h,jh(f)),this.startIndex=A}isVoidElement(f){return!this.options.xmlMode&&JS.has(f)}onopentagname(f,h){this.endIndex=h;let R=this.getSlice(f,h);if(this.lowerCaseTagNames)R=R.toLowerCase();this.emitOpenTag(R)}emitOpenTag(f){var h,R,A,P;this.openTagStart=this.startIndex,this.tagname=f;let I=!this.options.xmlMode&&zS.get(f);if(I)while(this.stack.length>0&&I.has(this.stack[this.stack.length-1])){let $=this.stack.pop();(R=(h=this.cbs).onclosetag)===null||R===void 0||R.call(h,$,!0)}if(!this.isVoidElement(f)){if(this.stack.push(f),RH.has(f))this.foreignContext.push(!0);else if(AH.has(f))this.foreignContext.push(!1)}if((P=(A=this.cbs).onopentagname)===null||P===void 0||P.call(A,f),this.cbs.onopentag)this.attribs={}}endOpenTag(f){var h,R;if(this.startIndex=this.openTagStart,this.attribs)(R=(h=this.cbs).onopentag)===null||R===void 0||R.call(h,this.tagname,this.attribs,f),this.attribs=null;if(this.cbs.onclosetag&&this.isVoidElement(this.tagname))this.cbs.onclosetag(this.tagname,!0);this.tagname=""}onopentagend(f){this.endIndex=f,this.endOpenTag(!1),this.startIndex=f+1}onclosetag(f,h){var R,A,P,I,$,w;this.endIndex=h;let U=this.getSlice(f,h);if(this.lowerCaseTagNames)U=U.toLowerCase();if(RH.has(U)||AH.has(U))this.foreignContext.pop();if(!this.isVoidElement(U)){let F=this.stack.lastIndexOf(U);if(F!==-1)if(this.cbs.onclosetag){let N=this.stack.length-F;while(N--)this.cbs.onclosetag(this.stack.pop(),N!==0)}else this.stack.length=F;else if(!this.options.xmlMode&&U==="p")this.emitOpenTag("p"),this.closeCurrentTag(!0)}else if(!this.options.xmlMode&&U==="br")(A=(R=this.cbs).onopentagname)===null||A===void 0||A.call(R,"br"),(I=(P=this.cbs).onopentag)===null||I===void 0||I.call(P,"br",{},!0),(w=($=this.cbs).onclosetag)===null||w===void 0||w.call($,"br",!1);this.startIndex=h+1}onselfclosingtag(f){if(this.endIndex=f,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1])this.closeCurrentTag(!1),this.startIndex=f+1;else this.onopentagend(f)}closeCurrentTag(f){var h,R;let A=this.tagname;if(this.endOpenTag(f),this.stack[this.stack.length-1]===A)(R=(h=this.cbs).onclosetag)===null||R===void 0||R.call(h,A,!f),this.stack.pop()}onattribname(f,h){this.startIndex=f;let R=this.getSlice(f,h);this.attribname=this.lowerCaseAttributeNames?R.toLowerCase():R}onattribdata(f,h){this.attribvalue+=this.getSlice(f,h)}onattribentity(f){this.attribvalue+=jh(f)}onattribend(f,h){var R,A;if(this.endIndex=h,(A=(R=this.cbs).onattribute)===null||A===void 0||A.call(R,this.attribname,this.attribvalue,f===Lf.Double?'"':f===Lf.Single?"'":f===Lf.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname))this.attribs[this.attribname]=this.attribvalue;this.attribvalue=""}getInstructionName(f){let h=f.search(LS),R=h<0?f:f.substr(0,h);if(this.lowerCaseTagNames)R=R.toLowerCase();return R}ondeclaration(f,h){this.endIndex=h;let R=this.getSlice(f,h);if(this.cbs.onprocessinginstruction){let A=this.getInstructionName(R);this.cbs.onprocessinginstruction(`!${A}`,`!${R}`)}this.startIndex=h+1}onprocessinginstruction(f,h){this.endIndex=h;let R=this.getSlice(f,h);if(this.cbs.onprocessinginstruction){let A=this.getInstructionName(R);this.cbs.onprocessinginstruction(`?${A}`,`?${R}`)}this.startIndex=h+1}oncomment(f,h,R){var A,P,I,$;this.endIndex=h,(P=(A=this.cbs).oncomment)===null||P===void 0||P.call(A,this.getSlice(f,h-R)),($=(I=this.cbs).oncommentend)===null||$===void 0||$.call(I),this.startIndex=h+1}oncdata(f,h,R){var A,P,I,$,w,U,F,N,W,V;this.endIndex=h;let S=this.getSlice(f,h-R);if(this.options.xmlMode||this.options.recognizeCDATA)(P=(A=this.cbs).oncdatastart)===null||P===void 0||P.call(A),($=(I=this.cbs).ontext)===null||$===void 0||$.call(I,S),(U=(w=this.cbs).oncdataend)===null||U===void 0||U.call(w);else(N=(F=this.cbs).oncomment)===null||N===void 0||N.call(F,`[CDATA[${S}]]`),(V=(W=this.cbs).oncommentend)===null||V===void 0||V.call(W);this.startIndex=h+1}onend(){var f,h;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let R=this.stack.length;R>0;this.cbs.onclosetag(this.stack[--R],!0));}(h=(f=this.cbs).onend)===null||h===void 0||h.call(f)}reset(){var f,h,R,A;(h=(f=this.cbs).onreset)===null||h===void 0||h.call(f),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(A=(R=this.cbs).onparserinit)===null||A===void 0||A.call(R,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(f){this.reset(),this.end(f)}getSlice(f,h){while(f-this.bufferOffset>=this.buffers[0].length)this.shiftBuffer();let R=this.buffers[0].slice(f-this.bufferOffset,h-this.bufferOffset);while(h-this.bufferOffset>this.buffers[0].length)this.shiftBuffer(),R+=this.buffers[0].slice(0,h-this.bufferOffset);return R}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(f){var h,R;if(this.ended){(R=(h=this.cbs).onerror)===null||R===void 0||R.call(h,new Error(".write() after done!"));return}if(this.buffers.push(f),this.tokenizer.running)this.tokenizer.write(f),this.writeIndex++}end(f){var h,R;if(this.ended){(R=(h=this.cbs).onerror)===null||R===void 0||R.call(h,new Error(".end() after done!"));return}if(f)this.write(f);this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){this.tokenizer.resume();while(this.tokenizer.running&&this.writeIndex<this.buffers.length)this.tokenizer.write(this.buffers[this.writeIndex++]);if(this.ended)this.tokenizer.end()}parseChunk(f){this.write(f)}done(f){this.end(f)}}var PH=/["&'<>$\x80-\uFFFF]/g,IH=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),QS=String.prototype.codePointAt!=null?(f,h)=>f.codePointAt(h):(f,h)=>(f.charCodeAt(h)&64512)===55296?(f.charCodeAt(h)-55296)*1024+f.charCodeAt(h+1)-56320+65536:f.charCodeAt(h);function f0(f){let h="",R=0,A;while((A=PH.exec(f))!==null){let P=A.index,I=f.charCodeAt(P),$=IH.get(I);if($!==void 0)h+=f.substring(R,P)+$,R=P+1;else h+=`${f.substring(R,P)}&#x${QS(f,P).toString(16)};`,R=PH.lastIndex+=Number((I&64512)===55296)}return h+f.substr(R)}function g1(f,h){return function R(A){let P,I=0,$="";while(P=f.exec(A)){if(I!==P.index)$+=A.substring(I,P.index);$+=h.get(P[0].charCodeAt(0)),I=P.index+1}return $+A.substring(I)}}var gS=g1(/[&<>'"]/g,IH),q1=g1(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),y1=g1(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var $H;(function(f){f[f.XML=0]="XML",f[f.HTML=1]="HTML"})($H||($H={}));var wH;(function(f){f[f.UTF8=0]="UTF8",f[f.ASCII=1]="ASCII",f[f.Extensive=2]="Extensive",f[f.Attribute=3]="Attribute",f[f.Text=4]="Text"})(wH||(wH={}));var UH=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((f)=>[f.toLowerCase(),f])),HH=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((f)=>[f.toLowerCase(),f]));var qS=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function yS(f){return f.replace(/"/g,""")}function BS(f,h){var R;if(!f)return;let A=((R=h.encodeEntities)!==null&&R!==void 0?R:h.decodeEntities)===!1?yS:h.xmlMode||h.encodeEntities!=="utf8"?f0:q1;return Object.keys(f).map((P)=>{var I,$;let w=(I=f[P])!==null&&I!==void 0?I:"";if(h.xmlMode==="foreign")P=($=HH.get(P))!==null&&$!==void 0?$:P;if(!h.emptyAttrs&&!h.xmlMode&&w==="")return P;return`${P}="${A(w)}"`}).join(" ")}var FH=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function WR(f,h={}){let R="length"in f?f:[f],A="";for(let P=0;P<R.length;P++)A+=TS(R[P],h);return A}function TS(f,h){switch(f.type){case YU:return WR(f.children,h);case LU:case MU:return mS(f);case VU:return CS(f);case JU:return sS(f);case XU:case ZU:case zU:return jS(f,h);case DU:return OS(f,h)}}var KS=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),vS=new Set(["svg","math"]);function jS(f,h){var R;if(h.xmlMode==="foreign"){if(f.name=(R=UH.get(f.name))!==null&&R!==void 0?R:f.name,f.parent&&KS.has(f.parent.name))h={...h,xmlMode:!1}}if(!h.xmlMode&&vS.has(f.name))h={...h,xmlMode:"foreign"};let A=`<${f.name}`,P=BS(f.attribs,h);if(P)A+=` ${P}`;if(f.children.length===0&&(h.xmlMode?h.selfClosingTags!==!1:h.selfClosingTags&&FH.has(f.name))){if(!h.xmlMode)A+=" ";A+="/>"}else{if(A+=">",f.children.length>0)A+=WR(f.children,h);if(h.xmlMode||!FH.has(f.name))A+=`</${f.name}>`}return A}function mS(f){return`<${f.data}>`}function OS(f,h){var R;let A=f.data||"";if(((R=h.encodeEntities)!==null&&R!==void 0?R:h.decodeEntities)!==!1&&!(!h.xmlMode&&f.parent&&qS.has(f.parent.name)))A=h.xmlMode||h.encodeEntities!=="utf8"?f0(A):y1(A);return A}function sS(f){return`<![CDATA[${f.children[0].data}]]>`}function CS(f){return`<!--${f.data}-->`}function EH(f,h){let R=new $1(void 0,h);return new Q1(R,h).end(f),R.root}var O1=If(WH(),1);function s1(f,h,R=()=>{return}){if(f===void 0){let A=function(...P){return h(A,...P)};return A}if(f>=0)return function(...A){return h(s1(f-1,h,R),...A)};return R}function XH(f,h){let R=0,A=f.length;while(R<A&&f[R]===h)++R;while(A>R&&f[A-1]===h)--A;return R>0||A<f.length?f.substring(R,A):f}function nS(f,h){let R=f.length;while(R>0&&f[R-1]===h)--R;return R<f.length?f.substring(0,R):f}function uS(f){return f.replace(/[\s\S]/g,(h)=>"\\u"+h.charCodeAt().toString(16).padStart(4,"0"))}function ZH(f,h){let R=new Map;for(let A=f.length;A-- >0;){let P=f[A],I=h(P);R.set(I,R.has(I)?O1.default(P,R.get(I),{arrayMerge:tS}):P)}return[...R.values()].reverse()}var tS=(f,h,R)=>[...h];function sh(f,h){for(let R of h){if(!f)return;f=f[R]}return f}function YH(f,h="a",R=26){let A=[];do f-=1,A.push(f%R),f=f/R>>0;while(f>0);let P=h.charCodeAt(0);return A.reverse().map((I)=>String.fromCharCode(P+I)).join("")}var B1=["I","X","C","M"],DH=["V","L","D"];function MH(f){return[...f+""].map((h)=>+h).reverse().map((h,R)=>h%5<4?(h<5?"":DH[R])+B1[R].repeat(h%5):B1[R]+(h<5?DH[R]:B1[R+1])).reverse().join("")}class C1{constructor(f,h=void 0){this.lines=[],this.nextLineWords=[],this.maxLineLength=h||f.wordwrap||Number.MAX_VALUE,this.nextLineAvailableChars=this.maxLineLength,this.wrapCharacters=sh(f,["longWordSplit","wrapCharacters"])||[],this.forceWrapOnLimit=sh(f,["longWordSplit","forceWrapOnLimit"])||!1,this.stashedSpace=!1,this.wordBreakOpportunity=!1}pushWord(f,h=!1){if(this.nextLineAvailableChars<=0&&!h)this.startNewLine();let R=this.nextLineWords.length===0,A=f.length+(R?0:1);if(A<=this.nextLineAvailableChars||h)this.nextLineWords.push(f),this.nextLineAvailableChars-=A;else{let[P,...I]=this.splitLongWord(f);if(!R)this.startNewLine();this.nextLineWords.push(P),this.nextLineAvailableChars-=P.length;for(let $ of I)this.startNewLine(),this.nextLineWords.push($),this.nextLineAvailableChars-=$.length}}popWord(){let f=this.nextLineWords.pop();if(f!==void 0){let h=this.nextLineWords.length===0,R=f.length+(h?0:1);this.nextLineAvailableChars+=R}return f}concatWord(f,h=!1){if(this.wordBreakOpportunity&&f.length>this.nextLineAvailableChars)this.pushWord(f,h),this.wordBreakOpportunity=!1;else{let R=this.popWord();this.pushWord(R?R.concat(f):f,h)}}startNewLine(f=1){if(this.lines.push(this.nextLineWords),f>1)this.lines.push(...Array.from({length:f-1},()=>[]));this.nextLineWords=[],this.nextLineAvailableChars=this.maxLineLength}isEmpty(){return this.lines.length===0&&this.nextLineWords.length===0}clear(){this.lines.length=0,this.nextLineWords.length=0,this.nextLineAvailableChars=this.maxLineLength}toString(){return[...this.lines,this.nextLineWords].map((f)=>f.join(" ")).join("\n")}splitLongWord(f){let h=[],R=0;while(f.length>this.maxLineLength){let A=f.substring(0,this.maxLineLength),P=f.substring(this.maxLineLength),I=A.lastIndexOf(this.wrapCharacters[R]);if(I>-1)f=A.substring(I+1)+P,h.push(A.substring(0,I+1));else if(R++,R<this.wrapCharacters.length)f=A+P;else{if(this.forceWrapOnLimit){if(h.push(A),f=P,f.length>this.maxLineLength)continue}else f=A+P;break}}return h.push(f),h}}class Ch{constructor(f=null){this.next=f}getRoot(){return this.next?this.next:this}}class Qf extends Ch{constructor(f,h=null,R=1,A=void 0){super(h);this.leadingLineBreaks=R,this.inlineTextBuilder=new C1(f,A),this.rawText="",this.stashedLineBreaks=0,this.isPre=h&&h.isPre,this.isNoWrap=h&&h.isNoWrap}}class T1 extends Qf{constructor(f,h=null,{interRowLineBreaks:R=1,leadingLineBreaks:A=2,maxLineLength:P=void 0,maxPrefixLength:I=0,prefixAlign:$="left"}={}){super(f,h,A,P);this.maxPrefixLength=I,this.prefixAlign=$,this.interRowLineBreaks=R}}class ef extends Qf{constructor(f,h=null,{leadingLineBreaks:R=1,maxLineLength:A=void 0,prefix:P=""}={}){super(f,h,R,A);this.prefix=P}}class K1 extends Ch{constructor(f=null){super(f);this.rows=[],this.isPre=f&&f.isPre,this.isNoWrap=f&&f.isNoWrap}}class v1 extends Ch{constructor(f=null){super(f);this.cells=[],this.isPre=f&&f.isPre,this.isNoWrap=f&&f.isNoWrap}}class of extends Ch{constructor(f,h=null,R=void 0){super(h);this.inlineTextBuilder=new C1(f,R),this.rawText="",this.stashedLineBreaks=0,this.isPre=h&&h.isPre,this.isNoWrap=h&&h.isNoWrap}}class zH extends Ch{constructor(f=null,h){super(f);this.transform=h}}function f6(f){return[...f].map((h)=>"\\u"+h.charCodeAt(0).toString(16).padStart(4,"0")).join("")}class JH{constructor(f){this.whitespaceChars=f.preserveNewlines?f.whitespaceCharacters.replace(/\n/g,""):f.whitespaceCharacters;let h=f6(this.whitespaceChars);if(this.leadingWhitespaceRe=new RegExp(`^[${h}]`),this.trailingWhitespaceRe=new RegExp(`[${h}]\$`),this.allWhitespaceOrEmptyRe=new RegExp(`^[${h}]*\$`),this.newlineOrNonWhitespaceRe=new RegExp(`(\\n|[^\\n${h}])`,"g"),this.newlineOrNonNewlineStringRe=new RegExp("(\\n|[^\\n]+)","g"),f.preserveNewlines){let R=new RegExp(`\\n|[^\\n${h}]+`,"gm");this.shrinkWrapAdd=function(A,P,I=(w)=>w,$=!1){if(!A)return;let w=P.stashedSpace,U=!1,F=R.exec(A);if(F){if(U=!0,F[0]==="\n")P.startNewLine();else if(w||this.testLeadingWhitespace(A))P.pushWord(I(F[0]),$);else P.concatWord(I(F[0]),$);while((F=R.exec(A))!==null)if(F[0]==="\n")P.startNewLine();else P.pushWord(I(F[0]),$)}P.stashedSpace=w&&!U||this.testTrailingWhitespace(A)}}else{let R=new RegExp(`[^${h}]+`,"g");this.shrinkWrapAdd=function(A,P,I=(w)=>w,$=!1){if(!A)return;let w=P.stashedSpace,U=!1,F=R.exec(A);if(F){if(U=!0,w||this.testLeadingWhitespace(A))P.pushWord(I(F[0]),$);else P.concatWord(I(F[0]),$);while((F=R.exec(A))!==null)P.pushWord(I(F[0]),$)}P.stashedSpace=w&&!U||this.testTrailingWhitespace(A)}}}addLiteral(f,h,R=!0){if(!f)return;let A=h.stashedSpace,P=!1,I=this.newlineOrNonNewlineStringRe.exec(f);if(I){if(P=!0,I[0]==="\n")h.startNewLine();else if(A)h.pushWord(I[0],R);else h.concatWord(I[0],R);while((I=this.newlineOrNonNewlineStringRe.exec(f))!==null)if(I[0]==="\n")h.startNewLine();else h.pushWord(I[0],R)}h.stashedSpace=A&&!P}testLeadingWhitespace(f){return this.leadingWhitespaceRe.test(f)}testTrailingWhitespace(f){return this.trailingWhitespaceRe.test(f)}testContainsWords(f){return!this.allWhitespaceOrEmptyRe.test(f)}countNewlinesNoWords(f){this.newlineOrNonWhitespaceRe.lastIndex=0;let h=0,R;while((R=this.newlineOrNonWhitespaceRe.exec(f))!==null)if(R[0]==="\n")h++;else return 0;return h}}class LH{constructor(f,h,R=void 0){this.options=f,this.picker=h,this.metadata=R,this.whitespaceProcessor=new JH(f),this._stackItem=new Qf(f),this._wordTransformer=void 0}pushWordTransform(f){this._wordTransformer=new zH(this._wordTransformer,f)}popWordTransform(){if(!this._wordTransformer)return;let f=this._wordTransformer.transform;return this._wordTransformer=this._wordTransformer.next,f}startNoWrap(){this._stackItem.isNoWrap=!0}stopNoWrap(){this._stackItem.isNoWrap=!1}_getCombinedWordTransformer(){let f=this._wordTransformer?(R)=>QH(R,this._wordTransformer):void 0,h=this.options.encodeCharacters;return f?h?(R)=>h(f(R)):f:h}_popStackItem(){let f=this._stackItem;return this._stackItem=f.next,f}addLineBreak(){if(!(this._stackItem instanceof Qf||this._stackItem instanceof ef||this._stackItem instanceof of))return;if(this._stackItem.isPre)this._stackItem.rawText+="\n";else this._stackItem.inlineTextBuilder.startNewLine()}addWordBreakOpportunity(){if(this._stackItem instanceof Qf||this._stackItem instanceof ef||this._stackItem instanceof of)this._stackItem.inlineTextBuilder.wordBreakOpportunity=!0}addInline(f,{noWordTransform:h=!1}={}){if(!(this._stackItem instanceof Qf||this._stackItem instanceof ef||this._stackItem instanceof of))return;if(this._stackItem.isPre){this._stackItem.rawText+=f;return}if(f.length===0||this._stackItem.stashedLineBreaks&&!this.whitespaceProcessor.testContainsWords(f))return;if(this.options.preserveNewlines){let R=this.whitespaceProcessor.countNewlinesNoWords(f);if(R>0){this._stackItem.inlineTextBuilder.startNewLine(R);return}}if(this._stackItem.stashedLineBreaks)this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks);this.whitespaceProcessor.shrinkWrapAdd(f,this._stackItem.inlineTextBuilder,h?void 0:this._getCombinedWordTransformer(),this._stackItem.isNoWrap),this._stackItem.stashedLineBreaks=0}addLiteral(f){if(!(this._stackItem instanceof Qf||this._stackItem instanceof ef||this._stackItem instanceof of))return;if(f.length===0)return;if(this._stackItem.isPre){this._stackItem.rawText+=f;return}if(this._stackItem.stashedLineBreaks)this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks);this.whitespaceProcessor.addLiteral(f,this._stackItem.inlineTextBuilder,this._stackItem.isNoWrap),this._stackItem.stashedLineBreaks=0}openBlock({leadingLineBreaks:f=1,reservedLineLength:h=0,isPre:R=!1}={}){let A=Math.max(20,this._stackItem.inlineTextBuilder.maxLineLength-h);if(this._stackItem=new Qf(this.options,this._stackItem,f,A),R)this._stackItem.isPre=!0}closeBlock({trailingLineBreaks:f=1,blockTransform:h=void 0}={}){let R=this._popStackItem(),A=h?h(Fh(R)):Fh(R);h0(this._stackItem,A,R.leadingLineBreaks,Math.max(R.stashedLineBreaks,f))}openList({maxPrefixLength:f=0,prefixAlign:h="left",interRowLineBreaks:R=1,leadingLineBreaks:A=2}={}){this._stackItem=new T1(this.options,this._stackItem,{interRowLineBreaks:R,leadingLineBreaks:A,maxLineLength:this._stackItem.inlineTextBuilder.maxLineLength,maxPrefixLength:f,prefixAlign:h})}openListItem({prefix:f=""}={}){if(!(this._stackItem instanceof T1))throw new Error("Can\'t add a list item to something that is not a list! Check the formatter.");let h=this._stackItem,R=Math.max(f.length,h.maxPrefixLength),A=Math.max(20,h.inlineTextBuilder.maxLineLength-R);this._stackItem=new ef(this.options,h,{prefix:f,maxLineLength:A,leadingLineBreaks:h.interRowLineBreaks})}closeListItem(){let f=this._popStackItem(),h=f.next,R=Math.max(f.prefix.length,h.maxPrefixLength),A="\n"+" ".repeat(R),I=(h.prefixAlign==="right"?f.prefix.padStart(R):f.prefix.padEnd(R))+Fh(f).replace(/\n/g,A);h0(h,I,f.leadingLineBreaks,Math.max(f.stashedLineBreaks,h.interRowLineBreaks))}closeList({trailingLineBreaks:f=2}={}){let h=this._popStackItem(),R=Fh(h);if(R)h0(this._stackItem,R,h.leadingLineBreaks,f)}openTable(){this._stackItem=new K1(this._stackItem)}openTableRow(){if(!(this._stackItem instanceof K1))throw new Error("Can\'t add a table row to something that is not a table! Check the formatter.");this._stackItem=new v1(this._stackItem)}openTableCell({maxColumnWidth:f=void 0}={}){if(!(this._stackItem instanceof v1))throw new Error("Can\'t add a table cell to something that is not a table row! Check the formatter.");this._stackItem=new of(this.options,this._stackItem,f)}closeTableCell({colspan:f=1,rowspan:h=1}={}){let R=this._popStackItem(),A=XH(Fh(R),"\n");R.next.cells.push({colspan:f,rowspan:h,text:A})}closeTableRow(){let f=this._popStackItem();f.next.rows.push(f.cells)}closeTable({tableToString:f,leadingLineBreaks:h=2,trailingLineBreaks:R=2}){let A=this._popStackItem(),P=f(A.rows);if(P)h0(this._stackItem,P,h,R)}toString(){return Fh(this._stackItem.getRoot())}}function Fh(f){if(!(f instanceof Qf||f instanceof ef||f instanceof of))throw new Error("Only blocks, list items and table cells can be requested for text contents.");return f.inlineTextBuilder.isEmpty()?f.rawText:f.rawText+f.inlineTextBuilder.toString()}function h0(f,h,R,A){if(!(f instanceof Qf||f instanceof ef||f instanceof of))throw new Error("Only blocks, list items and table cells can contain text.");let P=Fh(f),I=Math.max(f.stashedLineBreaks,R);if(f.inlineTextBuilder.clear(),P)f.rawText=P+"\n".repeat(I)+h;else f.rawText=h,f.leadingLineBreaks=I;f.stashedLineBreaks=A}function QH(f,h){return h?QH(h.transform(f),h.next):f}function h6(f={}){let h=f.selectors.filter(($)=>!$.format);if(h.length)throw new Error("Following selectors have no specified format: "+h.map(($)=>`\`${$.selector}\``).join(", "));let R=new eA(f.selectors.map(($)=>[$.selector,$])).build(Z1);if(typeof f.encodeCharacters!=="function")f.encodeCharacters=I6(f.encodeCharacters);let A=new eA(f.baseElements.selectors.map(($,w)=>[$,w+1])).build(Z1);function P($){return A6($,f,A)}let I=s1(f.limits.maxDepth,P6,function($,w){w.addInline(f.limits.ellipsis||"")});return function($,w=void 0){return R6($,w,f,R,P,I)}}function R6(f,h,R,A,P,I){let $=R.limits.maxInputLength;if($&&f&&f.length>$)console.warn(`Input length ${f.length} is above allowed limit of ${$}. Truncating without ellipsis.`),f=f.substring(0,$);let w=EH(f,{decodeEntities:R.decodeEntities}),U=P(w.children),F=new LH(R,A,h);return I(U,F),F.toString()}function A6(f,h,R){let A=[];function P($,w){w=w.slice(0,h.limits.maxChildNodes);for(let U of w){if(U.type!=="tag")continue;let F=R.pick1(U);if(F>0)A.push({selectorIndex:F,element:U});else if(U.children)$(U.children);if(A.length>=h.limits.maxBaseElements)return}}if(s1(h.limits.maxDepth,P)(f),h.baseElements.orderBy!=="occurrence")A.sort(($,w)=>$.selectorIndex-w.selectorIndex);return h.baseElements.returnDomByDefault&&A.length===0?f:A.map(($)=>$.element)}function P6(f,h,R){if(!h)return;let A=R.options;if(h.length>A.limits.maxChildNodes)h=h.slice(0,A.limits.maxChildNodes),h.push({data:A.limits.ellipsis,type:"text"});for(let I of h)switch(I.type){case"text":{R.addInline(I.data);break}case"tag":{let $=R.picker.pick1(I),w=A.formatters[$.format];w(I,f,R,$.options||{});break}}return}function I6(f){if(!f||Object.keys(f).length===0)return;let h=Object.entries(f).filter(([,I])=>I!==!1),R=new RegExp(h.map(([I])=>`(${uS([...I][0])})`).join("|"),"g"),A=h.map(([,I])=>I),P=(I,...$)=>A[$.findIndex((w)=>w)];return(I)=>I.replace(R,P)}function $6(f,h,R,A){}function w6(f,h,R,A){R.addLiteral(A.string||"")}function U6(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),R.addLiteral(A.string||""),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function H6(f,h,R,A){h(f.children,R)}function F6(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),h(f.children,R),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function gH(f){let h=f.attribs&&f.attribs.length?" "+Object.entries(f.attribs).map(([R,A])=>A===""?R:`${R}=${A.replace(/"/g,""")}`).join(" "):"";return`<${f.name}${h}>`}function qH(f){return`</${f.name}>`}function E6(f,h,R,A){R.startNoWrap(),R.addLiteral(gH(f)),R.stopNoWrap(),h(f.children,R),R.startNoWrap(),R.addLiteral(qH(f)),R.stopNoWrap()}function N6(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),R.startNoWrap(),R.addLiteral(gH(f)),R.stopNoWrap(),h(f.children,R),R.startNoWrap(),R.addLiteral(qH(f)),R.stopNoWrap(),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function G6(f,h,R,A){R.startNoWrap(),R.addLiteral(WR(f,{decodeEntities:R.options.decodeEntities})),R.stopNoWrap()}function S6(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),R.startNoWrap(),R.addLiteral(WR(f,{decodeEntities:R.options.decodeEntities})),R.stopNoWrap(),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function W6(f,h,R,A){R.addLiteral(A.prefix||""),h(f.children,R),R.addLiteral(A.suffix||"")}var Y6=Object.freeze({__proto__:null,block:F6,blockHtml:S6,blockString:U6,blockTag:N6,inline:H6,inlineHtml:G6,inlineString:w6,inlineSurround:W6,inlineTag:E6,skip:$6});function R0(f,h){if(!f[h])f[h]=[];return f[h]}function D6(f,h=0){while(f[h])h++;return h}function M6(f,h){for(let R=0;R<h;R++){let A=R0(f,R);for(let P=0;P<R;P++){let I=R0(f,P);if(A[P]||I[R]){let $=A[P];A[P]=I[R],I[R]=$}}}}function V6(f,h,R,A){for(let P=0;P<f.rowspan;P++){let I=R0(h,R+P);for(let $=0;$<f.colspan;$++)I[A+$]=f}}function j1(f,h){if(f[h]===void 0)f[h]=h===0?0:1+j1(f,h-1);return f[h]}function VH(f,h,R,A){f[h+R]=Math.max(j1(f,h+R),j1(f,h)+A)}function X6(f,h,R){let A=[],P=0,I=f.length,$=[0];for(let F=0;F<I;F++){let N=R0(A,F),W=f[F],V=0;for(let S=0;S<W.length;S++){let L=W[S];V=D6(N,V),V6(L,A,F,V),V+=L.colspan,L.lines=L.text.split("\n");let K=L.lines.length;VH($,F,L.rowspan,K+h)}P=N.length>P?N.length:P}M6(A,I>P?I:P);let w=[],U=[0];for(let F=0;F<P;F++){let N=0,W,V=Math.min(I,A[F].length);while(N<V)if(W=A[F][N],W){if(!W.rendered){let S=0;for(let L=0;L<W.lines.length;L++){let K=W.lines[L],Af=$[N]+L;w[Af]=(w[Af]||"").padEnd(U[F])+K,S=K.length>S?K.length:S}VH(U,F,W.colspan,S+R),W.rendered=!0}N+=W.rowspan}else{let S=$[N];w[S]=w[S]||"",N++}}return w.join("\n")}function Z6(f,h,R,A){R.addLineBreak()}function z6(f,h,R,A){R.addWordBreakOpportunity()}function J6(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),R.addInline("-".repeat(A.length||R.options.wordwrap||40)),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function L6(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),h(f.children,R),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function Q6(f,h,R,A){R.openBlock({isPre:!0,leadingLineBreaks:A.leadingLineBreaks||2}),h(f.children,R),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function g6(f,h,R,A){if(R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),A.uppercase!==!1)R.pushWordTransform((P)=>P.toUpperCase()),h(f.children,R),R.popWordTransform();else h(f.children,R);R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function q6(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2,reservedLineLength:2}),h(f.children,R),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2,blockTransform:(P)=>(A.trimEmptyLines!==!1?XH(P,"\n"):P).split("\n").map((I)=>"> "+I).join("\n")})}function m1(f,h){if(!h)return f;let R=typeof h[0]==="string"?h[0]:"[",A=typeof h[1]==="string"?h[1]:"]";return R+f+A}function yH(f,h,R,A,P){let I=typeof h==="function"?h(f,A,P):f;return I[0]==="/"&&R?nS(R,"/")+I:I}function y6(f,h,R,A){let P=f.attribs||{},I=P.alt?P.alt:"",$=!P.src?"":yH(P.src,A.pathRewrite,A.baseUrl,R.metadata,f),w=!$?I:!I?m1($,A.linkBrackets):I+" "+m1($,A.linkBrackets);R.addInline(w,{noWordTransform:!0})}function B6(f,h,R,A){function P(){if(A.ignoreHref)return"";if(!f.attribs||!f.attribs.href)return"";let $=f.attribs.href.replace(/^mailto:/,"");if(A.noAnchorUrl&&$[0]==="#")return"";return $=yH($,A.pathRewrite,A.baseUrl,R.metadata,f),$}let I=P();if(!I)h(f.children,R);else{let $="";if(R.pushWordTransform((U)=>{if(U)$+=U;return U}),h(f.children,R),R.popWordTransform(),!(A.hideLinkHrefIfSameAsText&&I===$))R.addInline(!$?I:" "+m1(I,A.linkBrackets),{noWordTransform:!0})}}function BH(f,h,R,A,P){let I=sh(f,["parent","name"])==="li",$=0,w=(f.children||[]).filter((U)=>U.type!=="text"||!/^\s*$/.test(U.data)).map(function(U){if(U.name!=="li")return{node:U,prefix:""};let F=I?P().trimStart():P();if(F.length>$)$=F.length;return{node:U,prefix:F}});if(!w.length)return;R.openList({interRowLineBreaks:1,leadingLineBreaks:I?1:A.leadingLineBreaks||2,maxPrefixLength:$,prefixAlign:"left"});for(let{node:U,prefix:F}of w)R.openListItem({prefix:F}),h([U],R),R.closeListItem();R.closeList({trailingLineBreaks:I?1:A.trailingLineBreaks||2})}function T6(f,h,R,A){let P=A.itemPrefix||" * ";return BH(f,h,R,A,()=>P)}function K6(f,h,R,A){let P=Number(f.attribs.start||"1"),I=v6(f.attribs.type);return BH(f,h,R,A,()=>" "+I(P++)+". ")}function v6(f="1"){switch(f){case"a":return(h)=>YH(h,"a");case"A":return(h)=>YH(h,"A");case"i":return(h)=>MH(h).toLowerCase();case"I":return(h)=>MH(h);case"1":default:return(h)=>h.toString()}}function j6(f){let h=[],R=[];for(let A of f)if(A.startsWith("."))h.push(A.substring(1));else if(A.startsWith("#"))R.push(A.substring(1));return{classes:h,ids:R}}function m6(f,h){if(h===!0)return!0;if(!f)return!1;let{classes:R,ids:A}=j6(h),P=(f.class||"").split(" "),I=(f.id||"").split(" ");return P.some(($)=>R.includes($))||I.some(($)=>A.includes($))}function O6(f,h,R,A){return m6(f.attribs,R.options.tables)?TH(f,h,R,A):s6(f,h,R,A)}function s6(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks}),h(f.children,R),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks})}function TH(f,h,R,A){R.openTable(),f.children.forEach(I),R.closeTable({tableToString:($)=>X6($,A.rowSpacing??0,A.colSpacing??3),leadingLineBreaks:A.leadingLineBreaks,trailingLineBreaks:A.trailingLineBreaks});function P($){let w=+sh($,["attribs","colspan"])||1,U=+sh($,["attribs","rowspan"])||1;R.openTableCell({maxColumnWidth:A.maxColumnWidth}),h($.children,R),R.closeTableCell({colspan:w,rowspan:U})}function I($){if($.type!=="tag")return;let w=A.uppercaseHeaderCells!==!1?(U)=>{R.pushWordTransform((F)=>F.toUpperCase()),P(U),R.popWordTransform()}:P;switch($.name){case"thead":case"tbody":case"tfoot":case"center":$.children.forEach(I);return;case"tr":{R.openTableRow();for(let U of $.children){if(U.type!=="tag")continue;switch(U.name){case"th":{w(U);break}case"td":{P(U);break}}}R.closeTableRow();break}}}}var C6=Object.freeze({__proto__:null,anchor:B6,blockquote:q6,dataTable:TH,heading:g6,horizontalLine:J6,image:y6,lineBreak:Z6,orderedList:K6,paragraph:L6,pre:Q6,table:O6,unorderedList:T6,wbr:z6}),l6={baseElements:{selectors:["body"],orderBy:"selectors",returnDomByDefault:!0},decodeEntities:!0,encodeCharacters:{},formatters:{},limits:{ellipsis:"...",maxBaseElements:void 0,maxChildNodes:void 0,maxDepth:void 0,maxInputLength:16777216},longWordSplit:{forceWrapOnLimit:!1,wrapCharacters:[]},preserveNewlines:!1,selectors:[{selector:"*",format:"inline"},{selector:"a",format:"anchor",options:{baseUrl:null,hideLinkHrefIfSameAsText:!1,ignoreHref:!1,linkBrackets:["[","]"],noAnchorUrl:!0}},{selector:"article",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"aside",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"blockquote",format:"blockquote",options:{leadingLineBreaks:2,trailingLineBreaks:2,trimEmptyLines:!0}},{selector:"br",format:"lineBreak"},{selector:"div",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"footer",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"form",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"h1",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h2",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h3",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h4",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"h5",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"h6",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"header",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"hr",format:"horizontalLine",options:{leadingLineBreaks:2,length:void 0,trailingLineBreaks:2}},{selector:"img",format:"image",options:{baseUrl:null,linkBrackets:["[","]"]}},{selector:"main",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"nav",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"ol",format:"orderedList",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"p",format:"paragraph",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"pre",format:"pre",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"section",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"table",format:"table",options:{colSpacing:3,leadingLineBreaks:2,maxColumnWidth:60,rowSpacing:0,trailingLineBreaks:2,uppercaseHeaderCells:!0}},{selector:"ul",format:"unorderedList",options:{itemPrefix:" * ",leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"wbr",format:"wbr"}],tables:[],whitespaceCharacters:` \r
|
|
3
|
+
\u200B`,wordwrap:80},c6=(f,h,R)=>[...f,...h],KH=(f,h,R)=>[...h],b6=(f,h,R)=>f.some((A)=>typeof A==="object")?c6(f,h):KH(f,h);function d6(f={}){return f=O1.default(l6,f,{arrayMerge:KH,customMerge:(h)=>h==="selectors"?b6:void 0}),f.formatters=Object.assign({},Y6,C6,f.formatters),f.selectors=ZH(f.selectors,(h)=>h.selector),r6(f),h6(f)}function l1(f,h={},R=void 0){return d6(h)(f,R)}function r6(f){if(f.tags){let R=Object.entries(f.tags).map(([A,P])=>({...P,selector:A||"*"}));f.selectors.push(...R),f.selectors=ZH(f.selectors,(A)=>A.selector)}function h(R,A,P){let I=A.pop();for(let $ of A){let w=R[$];if(!w)w={},R[$]=w;R=w}R[I]=P}if(f.baseElement){let R=f.baseElement;h(f,["baseElements","selectors"],Array.isArray(R)?R:[R])}if(f.returnDomByDefault!==void 0)h(f,["baseElements","returnDomByDefault"],f.returnDomByDefault);for(let R of f.selectors)if(R.format==="anchor"&&sh(R,["options","noLinkBrackets"]))h(R,["options","linkBrackets"],!1)}var c8=If(m8(),1);import{Writable as nY}from"stream";var{defineProperty:xY,getOwnPropertySymbols:O8}=Object,_Y=Object.prototype.hasOwnProperty,aY=Object.prototype.propertyIsEnumerable,s8=(f,h,R)=>(h in f)?xY(f,h,{enumerable:!0,configurable:!0,writable:!0,value:R}):f[h]=R,wP=(f,h)=>{for(var R in h||(h={}))if(_Y.call(h,R))s8(f,R,h[R]);if(O8){for(var R of O8(h))if(aY.call(h,R))s8(f,R,h[R])}return f},UP=(f,h,R)=>{return new Promise((A,P)=>{var I=(U)=>{try{w(R.next(U))}catch(F){P(F)}},$=(U)=>{try{w(R.throw(U))}catch(F){P(F)}},w=(U)=>U.done?A(U.value):Promise.resolve(U.value).then(I,$);w((R=R.apply(f,h)).next())})},pY={unformatted:["code","pre","em","strong","span"],indent_inner_html:!0,indent_char:" ",indent_size:2,sep:"\n"},eY=(f,h={})=>{return c8.default.html(f,wP(wP({},pY),h))},oY=[{selector:"img",format:"skip"},{selector:"#__react-email-preview",format:"skip"},{selector:"a",options:{linkBrackets:!1}}];var C8=new TextDecoder("utf-8"),l8=(f)=>UP(void 0,null,function*(){let h="";if("pipeTo"in f){let R=new WritableStream({write(A){h+=C8.decode(A)}});yield f.pipeTo(R)}else{let R=new nY({write(A,P,I){h+=C8.decode(A),I()}});return f.pipe(R),new Promise((A,P)=>{R.on("error",P),R.on("close",()=>{A(h)})})}return h}),G0=(f,h)=>UP(void 0,null,function*(){let{default:R}=yield import("react-dom/server"),A;if(Object.hasOwn(R,"renderToReadableStream"))A=yield l8(yield R.renderToReadableStream(f));else yield new Promise(($,w)=>{let U=R.renderToPipeableStream(f,{onAllReady(){return UP(this,null,function*(){A=yield l8(U),$()})},onError(F){w(F)}})});if(h==null?void 0:h.plainText)return l1(A,wP({selectors:oY},h.htmlToTextOptions));let I=`${'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'}${A.replace(/<!DOCTYPE.*?>/,"")}`;if(h==null?void 0:h.pretty)return eY(I);return I});var{defineProperty:uY,defineProperties:tY,getOwnPropertyDescriptors:fD,getOwnPropertySymbols:b8}=Object,hD=Object.prototype.hasOwnProperty,RD=Object.prototype.propertyIsEnumerable,d8=(f,h,R)=>(h in f)?uY(f,h,{enumerable:!0,configurable:!0,writable:!0,value:R}):f[h]=R,yR=(f,h)=>{for(var R in h||(h={}))if(hD.call(h,R))d8(f,R,h[R]);if(b8){for(var R of b8(h))if(RD.call(h,R))d8(f,R,h[R])}return f},AD=(f,h)=>tY(f,fD(h)),T=(f,h,R)=>{return new Promise((A,P)=>{var I=(U)=>{try{w(R.next(U))}catch(F){P(F)}},$=(U)=>{try{w(R.throw(U))}catch(F){P(F)}},w=(U)=>U.done?A(U.value):Promise.resolve(U.value).then(I,$);w((R=R.apply(f,h)).next())})},PD="3.5.0",ID=class{constructor(f){this.resend=f}create(f){return T(this,arguments,function*(h,R={}){return yield this.resend.post("/api-keys",h,R)})}list(){return T(this,null,function*(){return yield this.resend.get("/api-keys")})}remove(f){return T(this,null,function*(){return yield this.resend.delete(`/api-keys/${f}`)})}},$D=class{constructor(f){this.resend=f}create(f){return T(this,arguments,function*(h,R={}){return yield this.resend.post("/audiences",h,R)})}list(){return T(this,null,function*(){return yield this.resend.get("/audiences")})}get(f){return T(this,null,function*(){return yield this.resend.get(`/audiences/${f}`)})}remove(f){return T(this,null,function*(){return yield this.resend.delete(`/audiences/${f}`)})}},wD=class{constructor(f){this.resend=f}send(f){return T(this,arguments,function*(h,R={}){return this.create(h,R)})}create(f){return T(this,arguments,function*(h,R={}){for(let P of h)if(P.react)P.html=yield G0(P.react),delete P.react;return yield this.resend.post("/emails/batch",h,R)})}},UD=class{constructor(f){this.resend=f}create(f){return T(this,arguments,function*(h,R={}){return yield this.resend.post(`/audiences/${h.audienceId}/contacts`,{unsubscribed:h.unsubscribed,email:h.email,first_name:h.firstName,last_name:h.lastName},R)})}list(f){return T(this,null,function*(){return yield this.resend.get(`/audiences/${f.audienceId}/contacts`)})}get(f){return T(this,null,function*(){return yield this.resend.get(`/audiences/${f.audienceId}/contacts/${f.id}`)})}update(f){return T(this,null,function*(){return yield this.resend.patch(`/audiences/${f.audienceId}/contacts/${f.id}`,{unsubscribed:f.unsubscribed,first_name:f.firstName,last_name:f.lastName})})}remove(f){return T(this,null,function*(){return yield this.resend.delete(`/audiences/${f.audienceId}/contacts/${(f==null?void 0:f.email)?f==null?void 0:f.email:f==null?void 0:f.id}`)})}},HD=class{constructor(f){this.resend=f}create(f){return T(this,arguments,function*(h,R={}){return yield this.resend.post("/domains",h,R)})}list(){return T(this,null,function*(){return yield this.resend.get("/domains")})}get(f){return T(this,null,function*(){return yield this.resend.get(`/domains/${f}`)})}update(f){return T(this,null,function*(){return yield this.resend.patch(`/domains/${f.id}`,{click_tracking:f.clickTracking,open_tracking:f.openTracking,tls:f.tls})})}remove(f){return T(this,null,function*(){return yield this.resend.delete(`/domains/${f}`)})}verify(f){return T(this,null,function*(){return yield this.resend.post(`/domains/${f}/verify`)})}},FD=class{constructor(f){this.resend=f}send(f){return T(this,arguments,function*(h,R={}){return this.create(h,R)})}create(f){return T(this,arguments,function*(h,R={}){if(h.react)h.html=yield G0(h.react),delete h.react;return yield this.resend.post("/emails",h,R)})}get(f){return T(this,null,function*(){return yield this.resend.get(`/emails/${f}`)})}},r8="https://api.resend.com",k8=`resend-node:${PD}`,ED=typeof process!=="undefined"&&process.env?process.env.RESEND_BASE_URL||r8:r8,ND=typeof process!=="undefined"&&process.env?process.env.RESEND_USER_AGENT||k8:k8,x8=class{constructor(f){if(this.key=f,this.apiKeys=new ID(this),this.audiences=new $D(this),this.batch=new wD(this),this.contacts=new UD(this),this.domains=new HD(this),this.emails=new FD(this),!f){if(typeof process!=="undefined"&&process.env)this.key=process.env.RESEND_API_KEY;if(!this.key)throw new Error('Missing API key. Pass it to the constructor `new Resend("re_123")`')}this.headers=new Headers({Authorization:`Bearer ${this.key}`,"User-Agent":ND,"Content-Type":"application/json"})}fetchRequest(f){return T(this,arguments,function*(h,R={}){try{let A=yield fetch(`${ED}${h}`,R);if(!A.ok)try{let I=yield A.text();return{data:null,error:JSON.parse(I)}}catch(I){if(I instanceof SyntaxError)return{data:null,error:{name:"application_error",message:"Internal server error. We are unable to process your request right now, please try again later."}};let $={message:A.statusText,name:"application_error"};if(I instanceof Error)return{data:null,error:AD(yR({},$),{message:I.message})};return{data:null,error:$}}return{data:yield A.json(),error:null}}catch(A){return{data:null,error:{name:"application_error",message:"Unable to fetch data. The request could not be resolved."}}}})}post(f,h){return T(this,arguments,function*(R,A,P={}){let I=yR({method:"POST",headers:this.headers,body:JSON.stringify(A)},P);return this.fetchRequest(R,I)})}get(f){return T(this,arguments,function*(h,R={}){let A=yR({method:"GET",headers:this.headers},R);return this.fetchRequest(h,A)})}put(f,h){return T(this,arguments,function*(R,A,P={}){let I=yR({method:"PUT",headers:this.headers,body:JSON.stringify(A)},P);return this.fetchRequest(R,I)})}patch(f,h){return T(this,arguments,function*(R,A,P={}){let I=yR({method:"PATCH",headers:this.headers,body:JSON.stringify(A)},P);return this.fetchRequest(R,I)})}delete(f,h){return T(this,null,function*(){let R={method:"DELETE",headers:this.headers,body:JSON.stringify(h)};return this.fetchRequest(f,R)})}};class S0{}class W0 extends S0{f;constructor(f=process.env.RESEND_API_KEY){super();this.apiKey=f}async send(f){let h=new x8(this.apiKey),{data:R,error:A}=await h.emails.send({...f});if(A)return console.error(A),!1;if(R)return!0;return!1}}class _8 extends _{driver=new W0;boot(){}}class a8 extends _{channels={};boot(){}}class i8 extends _{root;rootRouter;boot(){}onRequestStart(f){}onRequestEnd(f){}onRequestFail(f,h){}}class p8 extends _{rootRouter;boot(){}onRequestStart(f){}onRequestEnd(f){}onRequestFail(f,h){}}class e8 extends _{maxFileSize=10485760;boot(){}onLogFileClosed(f){}onLogCreated(f){}}class o8 extends _{jobs=[];concurrency=1;boot(){}}class u8{static name="unset";worker=!1;maxAttempts=3;run(f){}onFail(f,h){}onSuccess(f,h){}onDeadletter(f){}static dispatch(...f){if(this.name==="unset")throw new Error("Cannot dispatch a job with no name");n8.use().push(this,JSON.stringify(f))}}var t8=If(GD(),1);class Y0{}class D0 extends Y0{async resize(f,h){let{height:R,width:A,quality:P,fit:I}=h;return await t8.default(f).resize(A>0?A:void 0,R>0?R:void 0,{fit:I}).webp({quality:P>0?P:80,force:!0}).toBuffer()}}class fF extends _{driver=new D0;boot(){}}class M0{}var SD={clientId:process.env.GOOGLE_CLIENT_ID,clientSecret:process.env.GOOGLE_CLIENT_SECRET,redirectPath:"/oauth/google/callback",scope:"https://www.googleapis.com/auth/userinfo.email"};class RF extends M0{config;constructor(f={}){super();this.config={...SD,...f}}getRedirectUrl(){let f=this.config.scope,h=this.config.clientId,R=new URL("https://accounts.google.com/o/oauth2/v2/auth"),A={scope:f,include_granted_scopes:"true",response_type:"code",state:"state_parameter_passthrough_value",redirect_uri:`${process.env.HOST_NAME}/oauth/google/callback`,client_id:h};for(let[I,$]of Object.entries(A))R.searchParams.append(I,$);let P=R.toString();return hF.to(P),P}async onCallback(f){let h=new URL("https://oauth2.googleapis.com/token");h.searchParams.append("code",f.search.get("code")),h.searchParams.append("client_id",this.config.clientId),h.searchParams.append("client_secret",this.config.clientSecret),h.searchParams.append("grant_type","authorization_code"),h.searchParams.append("redirect_uri",`${process.env.HOST_NAME}${this.config.redirectPath}`);let R=await fetch(h.toString(),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"}}),{access_token:A}=await R.json(),I=await(await fetch(`https://www.googleapis.com/oauth2/v3/userinfo?access_token=${A}`)).json();return{name:I.name,email:I.email}}}export{i8 as ViewRouterServiceProvider,D0 as Sharp,GU as S3Driver,W0 as ResendDriver,SU as RateLimiterServiceProvider,mA as RateLimiterDriver,o8 as QueueServiceProvider,M0 as OAuthProvider,e8 as LoggingServiceProvider,u8 as Job,OA as InMemoryRateLimiter,fF as ImageOptimizationServiceProvider,Y0 as ImageOptimizationDriver,RF as GoogleOAuthProvider,KR as FileSystemDriver,HP as FileStorageServiceProvider,Sh as FileStorageDriver,_8 as EmailServiceProvider,S0 as EmailDriver,a8 as BroadcastingServiceProvider,p8 as ApiRouterServiceProvider};export{HP as h,p8 as i,SU as j,_8 as k,a8 as l,i8 as m,e8 as n,o8 as o,fF as p};
|
|
4
4
|
|
|
5
|
-
//# debugId=
|
|
5
|
+
//# debugId=74289027AB7A27EC64756E2164756E21
|