gemi 0.5.1 → 0.5.2

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.
Files changed (94) hide show
  1. package/dist/app/index.js +2 -2
  2. package/dist/app/index.js.map +1 -1
  3. package/dist/bin/index.js +67 -23
  4. package/dist/broadcasting/index.js +1 -1
  5. package/dist/chunk-0643qpn8.js +4 -0
  6. package/dist/{chunk-hr3y69nz.js.map → chunk-0643qpn8.js.map} +2 -2
  7. package/dist/chunk-0970v4jx.js +4 -0
  8. package/dist/chunk-0970v4jx.js.map +10 -0
  9. package/dist/{chunk-gmwd6z5z.js → chunk-0rvh1r84.js} +2 -2
  10. package/dist/{chunk-gmwd6z5z.js.map → chunk-0rvh1r84.js.map} +1 -1
  11. package/dist/chunk-0ykbtpxc.js +4 -0
  12. package/dist/{chunk-s0pt6y0d.js.map → chunk-0ykbtpxc.js.map} +1 -1
  13. package/dist/chunk-259kgv1j.js +18 -0
  14. package/dist/{chunk-adv0920k.js.map → chunk-259kgv1j.js.map} +18 -34
  15. package/dist/{chunk-n9p1qf6k.js → chunk-39ynan33.js} +3 -3
  16. package/dist/{chunk-n9p1qf6k.js.map → chunk-39ynan33.js.map} +1 -1
  17. package/dist/{chunk-pzsmh011.js → chunk-54v7tmfv.js} +3 -3
  18. package/dist/{chunk-pzsmh011.js.map → chunk-54v7tmfv.js.map} +1 -1
  19. package/dist/chunk-5jvxqe5r.js +4 -0
  20. package/dist/{chunk-61f10epz.js.map → chunk-5jvxqe5r.js.map} +1 -1
  21. package/dist/{chunk-0q7sq6rp.js → chunk-5kh25wbv.js} +2 -2
  22. package/dist/{chunk-0q7sq6rp.js.map → chunk-5kh25wbv.js.map} +1 -1
  23. package/dist/chunk-6twxqxj0.js +3 -0
  24. package/dist/{chunk-hcvfem3h.js.map → chunk-6twxqxj0.js.map} +6 -6
  25. package/dist/chunk-8pghf7ne.js +3 -0
  26. package/dist/{chunk-jwz5tx0q.js.map → chunk-8pghf7ne.js.map} +4 -4
  27. package/dist/chunk-99tdk5x5.js +4 -0
  28. package/dist/{chunk-dvgdjdaa.js.map → chunk-99tdk5x5.js.map} +2 -2
  29. package/dist/chunk-b5ke2zpg.js +4 -0
  30. package/dist/{chunk-ka2hsxnc.js.map → chunk-b5ke2zpg.js.map} +2 -2
  31. package/dist/chunk-bxwnddma.js +3 -0
  32. package/dist/chunk-bxwnddma.js.map +17 -0
  33. package/dist/{chunk-vz2bzrg6.js → chunk-djfe1w23.js} +3 -3
  34. package/dist/{chunk-vz2bzrg6.js.map → chunk-djfe1w23.js.map} +1 -1
  35. package/dist/chunk-e0yxdcan.js +4 -0
  36. package/dist/{chunk-97592dz4.js.map → chunk-e0yxdcan.js.map} +2 -2
  37. package/dist/chunk-ee0c21b5.js +4 -0
  38. package/dist/{chunk-04knm5py.js.map → chunk-ee0c21b5.js.map} +5 -5
  39. package/dist/{chunk-ztzjxjjj.js → chunk-exvtvmb6.js} +2 -2
  40. package/dist/{chunk-ztzjxjjj.js.map → chunk-exvtvmb6.js.map} +1 -1
  41. package/dist/chunk-fskmyztg.js +4 -0
  42. package/dist/{chunk-q0qmtnt9.js.map → chunk-fskmyztg.js.map} +2 -2
  43. package/dist/{chunk-x3h0acpe.js → chunk-g3838fme.js} +2 -2
  44. package/dist/{chunk-x3h0acpe.js.map → chunk-g3838fme.js.map} +1 -1
  45. package/dist/{chunk-9et2d2s9.js → chunk-hydta8h3.js} +2 -2
  46. package/dist/{chunk-9et2d2s9.js.map → chunk-hydta8h3.js.map} +1 -1
  47. package/dist/{chunk-3ka55ht6.js → chunk-jwx1ymkq.js} +2 -2
  48. package/dist/{chunk-3ka55ht6.js.map → chunk-jwx1ymkq.js.map} +1 -1
  49. package/dist/chunk-n76mw527.js +11 -0
  50. package/dist/{chunk-h28g9wdn.js.map → chunk-n76mw527.js.map} +5 -5
  51. package/dist/chunk-nwqqr50x.js +4 -0
  52. package/dist/{chunk-q56a5me3.js.map → chunk-nwqqr50x.js.map} +6 -6
  53. package/dist/chunk-setbnv6k.js +7 -0
  54. package/dist/chunk-setbnv6k.js.map +66 -0
  55. package/dist/chunk-sywb9k1q.js +4 -0
  56. package/dist/{chunk-f35ckr3c.js.map → chunk-sywb9k1q.js.map} +5 -5
  57. package/dist/chunk-zq31anzs.js +8 -0
  58. package/dist/{chunk-p1dg5fdq.js.map → chunk-zq31anzs.js.map} +2 -2
  59. package/dist/chunk-zqcc4jxj.js +4 -0
  60. package/dist/{chunk-mwgr0yaq.js.map → chunk-zqcc4jxj.js.map} +2 -2
  61. package/dist/email/index.js +1 -1
  62. package/dist/facades/index.js +2 -2
  63. package/dist/facades/index.js.map +1 -1
  64. package/dist/http/index.js +2 -2
  65. package/dist/http/index.js.map +1 -1
  66. package/dist/kernel/index.js +2 -2
  67. package/dist/kernel/index.js.map +1 -1
  68. package/dist/server/index.js +2 -2
  69. package/dist/server/index.js.map +1 -1
  70. package/dist/services/index.js +3 -3
  71. package/dist/services/index.js.map +2 -2
  72. package/package.json +1 -1
  73. package/dist/chunk-04knm5py.js +0 -4
  74. package/dist/chunk-61f10epz.js +0 -4
  75. package/dist/chunk-97592dz4.js +0 -4
  76. package/dist/chunk-adv0920k.js +0 -20
  77. package/dist/chunk-anj32tsb.js +0 -3
  78. package/dist/chunk-anj32tsb.js.map +0 -15
  79. package/dist/chunk-dvgdjdaa.js +0 -4
  80. package/dist/chunk-f35ckr3c.js +0 -4
  81. package/dist/chunk-h28g9wdn.js +0 -11
  82. package/dist/chunk-hcvfem3h.js +0 -3
  83. package/dist/chunk-hr3y69nz.js +0 -4
  84. package/dist/chunk-jwz5tx0q.js +0 -3
  85. package/dist/chunk-ka2hsxnc.js +0 -4
  86. package/dist/chunk-kga7sk7t.js +0 -5
  87. package/dist/chunk-kga7sk7t.js.map +0 -65
  88. package/dist/chunk-mbev3vw6.js +0 -4
  89. package/dist/chunk-mbev3vw6.js.map +0 -10
  90. package/dist/chunk-mwgr0yaq.js +0 -4
  91. package/dist/chunk-p1dg5fdq.js +0 -8
  92. package/dist/chunk-q0qmtnt9.js +0 -4
  93. package/dist/chunk-q56a5me3.js +0 -4
  94. package/dist/chunk-s0pt6y0d.js +0 -4
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{N as kU}from"../chunk-h28g9wdn.js";import{$ as fP,O as J0,P as tU,Q as fH,R as RH,S as hH,T as z8,U as RR,V as hR,W as Q0,X as IH,Y as n$,Z as u$,_ as t$,aa as $H,ba as vU,ca as jU,da as OU,ea as mU,fa as PH,ga as UH,ha as RP,ia as rf,ja as xf,ka as HH,la as sU,ma as CU,na as wH,oa as lU,pa as FH,qa as th,ra as bU,sa as BA,ta as cU,ua as dU,va as oU,wa as nU}from"../chunk-adv0920k.js";import{xa as eN,ya as Jf}from"../chunk-hcvfem3h.js";import{$a as jf,Aa as iU,Ba as Sf,Ca as kh,Da as DI,Ga as XU,Ha as Ch,Ia as ZU,Ja as dh,Ka as AH,La as JU,Ma as zU,Na as LU,Oa as yU,Pa as BU,Qa as wU,Ra as QU,Sa as iI,Ta as pI,Ua as LP,Va as kf,Wa as Ff,Ya as $R,ab as g3,bb as r,cb as y3,db as QR,eb as nR,gb as fh,hb as _R,ib as HP,jb as gf,kb as QP,lb as TU,mb as KU,nb as pU,ob as eU,qb as MA,rb as l,tb as qP,za as aU}from"../chunk-kga7sk7t.js";import"../chunk-jwz5tx0q.js";import{Db as L8}from"../chunk-mbev3vw6.js";import"../chunk-ka2hsxnc.js";import"../chunk-anj32tsb.js";import{Nb as oF}from"../chunk-n9p1qf6k.js";import{Pb as Bh}from"../chunk-pzsmh011.js";import{Qb as $f}from"../chunk-s0pt6y0d.js";import"../chunk-x3h0acpe.js";import{Tb as U8}from"../chunk-vz2bzrg6.js";import{Ub as x,Vb as C}from"../chunk-ztzjxjjj.js";var Sw=C((tJ,Gw)=>{var O6=function f(R){return m6(R)&&!s6(R)};function m6(f){return!!f&&typeof f==="object"}function s6(f){var R=Object.prototype.toString.call(f);return R==="[object RegExp]"||R==="[object Date]"||b6(f)}var C6=typeof Symbol==="function"&&Symbol.for,l6=C6?Symbol.for("react.element"):60103;function b6(f){return f.$$typeof===l6}function c6(f){return Array.isArray(f)?[]:{}}function Wh(f,R){return R.clone!==!1&&R.isMergeableObject(f)?mR(c6(f),f,R):f}function d6(f,R,h){return f.concat(R).map(function(A){return Wh(A,h)})}function k6(f,R){if(!R.customMerge)return mR;var h=R.customMerge(f);return typeof h==="function"?h:mR}function r6(f){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(f).filter(function(R){return Object.propertyIsEnumerable.call(f,R)}):[]}function Ew(f){return Object.keys(f).concat(r6(f))}function Nw(f,R){try{return R in f}catch(h){return!1}}function x6(f,R){return Nw(f,R)&&!(Object.hasOwnProperty.call(f,R)&&Object.propertyIsEnumerable.call(f,R))}function _6(f,R,h){var A={};if(h.isMergeableObject(f))Ew(f).forEach(function(I){A[I]=Wh(f[I],h)});return Ew(R).forEach(function(I){if(x6(f,I))return;if(Nw(f,I)&&h.isMergeableObject(R[I]))A[I]=k6(I,h)(f[I],R[I],h);else A[I]=Wh(R[I],h)}),A}function mR(f,R,h){h=h||{},h.arrayMerge=h.arrayMerge||d6,h.isMergeableObject=h.isMergeableObject||O6,h.cloneUnlessOtherwiseSpecified=Wh;var A=Array.isArray(R),I=Array.isArray(f),$=A===I;if(!$)return Wh(R,h);else if(A)return h.arrayMerge(f,R,h);else return _6(f,R,h)}mR.all=function f(R,h){if(!Array.isArray(R))throw new Error("first argument should be an array");return R.reduce(function(A,I){return mR(A,I,h)},{})};var a6=mR;Gw.exports=a6});var h0=C((bS,Kw)=>{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 R=this.__items.length-1;R>=0;R--)if(this.__items[R].match(f))return!0;return!1};n.prototype.set_indent=function(f,R){if(this.is_empty())this.__indent_count=f||0,this.__alignment_count=R||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 R=f.lastIndexOf("\n");if(R!==-1)this.__character_count=f.length-R;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 Yh(f,R){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(R=R||"",f.indent_level>0)R=new Array(f.indent_level+1).join(this.__indent_string);this.__base_string=R,this.__base_string_length=R.length}Yh.prototype.get_indent_size=function(f,R){var h=this.__base_string_length;if(R=R||0,f<0)h=0;return h+=f*this.__indent_size,h+=R,h};Yh.prototype.get_indent_string=function(f,R){var h=this.__base_string;if(R=R||0,f<0)f=0,h="";return R+=f*this.__indent_size,this.__ensure_cache(R),h+=this.__cache[R],h};Yh.prototype.__ensure_cache=function(f){while(f>=this.__cache.length)this.__add_column()};Yh.prototype.__add_column=function(){var f=this.__cache.length,R=0,h="";if(this.__indent_size&&f>=this.__indent_size)R=Math.floor(f/this.__indent_size),f-=R*this.__indent_size,h=new Array(R+1).join(this.__indent_string);if(f)h+=new Array(f+1).join(" ");this.__cache.push(h)};function u(f,R){this.__indent_cache=new Yh(f,R),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,R){return this.__indent_cache.get_indent_string(f,R)};u.prototype.get_indent_size=function(f,R){return this.__indent_cache.get_indent_size(f,R)};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 R=this.current_line.pop();if(R){if(R[R.length-1]==="\n")R=R.replace(/\n+$/g,"");this.current_line.push(R)}if(this._end_with_newline)this.__add_outputline();var h=this.__lines.join("\n");if(f!=="\n")h=h.replace(/[\n]/g,f);return h};u.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()};u.prototype.set_indent=function(f,R){if(f=f||0,R=R||0,this.next_line.set_indent(f,R),this.__lines.length>1)return this.current_line.set_indent(f,R),!0;return this.current_line.set_indent(),!1};u.prototype.add_raw_token=function(f){for(var R=0;R<f.newlines;R++)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 R=this.__lines.length;while(f<R)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,R){var h=this.__lines.length-2;while(h>=0){var A=this.__lines[h];if(A.is_empty())break;else if(A.item(0).indexOf(f)!==0&&A.item(-1)!==R){this.__lines.splice(h+1,0,new n(this)),this.previous_line=this.__lines[this.__lines.length-2];break}h--}};bS.Output=u});var C1=C((kS,vw)=>{function dS(f,R,h,A){this.type=f,this.text=R,this.comments_before=null,this.newlines=h||0,this.whitespace_before=A||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}kS.Token=dS});var c1=C((aS)=>{var xS="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",jw="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",l1="\\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",Ow="\\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",b1="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",mw="(?:"+b1+"|["+xS+l1+"])",_S="(?:"+b1+"|["+jw+l1+Ow+"])*";aS.identifier=new RegExp(mw+_S,"g");aS.identifierStart=new RegExp(mw);aS.identifierMatch=new RegExp("(?:"+b1+"|["+jw+l1+Ow+"])+");aS.newline=/[\n\r\u2028\u2029]/;aS.lineBreak=new RegExp("\r\n|"+aS.newline.source);aS.allLineBreaks=new RegExp(aS.lineBreak.source,"g")});var I0=C((nS,A0)=>{function nf(f,R){if(this.raw_options=lw(f,R),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),!this.preserve_newlines)this.max_preserve_newlines=0;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,R){var h=this.raw_options[f],A=R||[];if(typeof h==="object"){if(h!==null&&typeof h.concat==="function")A=h.concat()}else if(typeof h==="string")A=h.split(/[^a-zA-Z0-9_\/\-]+/);return A};nf.prototype._get_boolean=function(f,R){var h=this.raw_options[f],A=h===void 0?!!R:!!h;return A};nf.prototype._get_characters=function(f,R){var h=this.raw_options[f],A=R||"";if(typeof h==="string")A=h.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t");return A};nf.prototype._get_number=function(f,R){var h=this.raw_options[f];if(R=parseInt(R,10),isNaN(R))R=0;var A=parseInt(h,10);if(isNaN(A))A=R;return A};nf.prototype._get_selection=function(f,R,h){var A=this._get_selection_list(f,R,h);if(A.length!==1)throw new Error("Invalid Option Value: The option '"+f+"' can only be one of the following values:\n"+R+"\nYou passed in: '"+this.raw_options[f]+"'");return A[0]};nf.prototype._get_selection_list=function(f,R,h){if(!R||R.length===0)throw new Error("Selection list cannot be empty.");if(h=h||[R[0]],!this._is_valid_selection(h,R))throw new Error("Invalid Default Value!");var A=this._get_array(f,h);if(!this._is_valid_selection(A,R))throw new Error("Invalid Option Value: The option '"+f+"' can contain only the following values:\n"+R+"\nYou passed in: '"+this.raw_options[f]+"'");return A};nf.prototype._is_valid_selection=function(f,R){return f.length&&R.length&&!f.some(function(h){return R.indexOf(h)===-1})};function lw(f,R){var h={};f=bw(f);var A;for(A in f)if(A!==R)h[A]=f[A];if(R&&f[R])for(A in f[R])h[A]=f[R][A];return h}function bw(f){var R={},h;for(h in f){var A=h.replace(/-/g,"_");R[A]=f[h]}return R}nS.Options=nf;nS.normalizeOpts=bw;nS.mergeOpts=lw});var d1=C((hW,kw)=>{var cw=I0().Options,RW=["before-newline","after-newline","preserve-newline"];function dw(f){cw.call(this,f,"js");var R=this.raw_options.brace_style||null;if(R==="expand-strict")this.raw_options.brace_style="expand";else if(R==="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 h=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<h.length;A++)if(h[A]==="preserve-inline")this.brace_preserve_inline=!0;else this.brace_style=h[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",RW),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy)this.space_after_anon_function=!0}dw.prototype=new cw;hW.Options=dw});var $0=C((IW,xw)=>{var rw=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 R=null;if(f=f||0,f+=this.__position,f>=0&&f<this.__input_length)R=this.__input.charAt(f);return R};Rf.prototype.__match=function(f,R){f.lastIndex=R;var h=f.exec(this.__input);if(h&&!(rw&&f.sticky)){if(h.index!==R)h=null}return h};Rf.prototype.test=function(f,R){if(R=R||0,R+=this.__position,R>=0&&R<this.__input_length)return!!this.__match(f,R);else return!1};Rf.prototype.testChar=function(f,R){var h=this.peek(R);return f.lastIndex=0,h!==null&&f.test(h)};Rf.prototype.match=function(f){var R=this.__match(f,this.__position);if(R)this.__position+=R[0].length;else R=null;return R};Rf.prototype.read=function(f,R,h){var A="",I;if(f){if(I=this.match(f),I)A+=I[0]}if(R&&(I||!f))A+=this.readUntil(R,h);return A};Rf.prototype.readUntil=function(f,R){var h="",A=this.__position;f.lastIndex=this.__position;var I=f.exec(this.__input);if(I){if(A=I.index,R)A+=I[0].length}else A=this.__input_length;return h=this.__input.substring(this.__position,A),this.__position=A,h};Rf.prototype.readUntilAfter=function(f){return this.readUntil(f,!0)};Rf.prototype.get_regexp=function(f,R){var h=null,A="g";if(R&&rw)A="y";if(typeof f==="string"&&f!=="")h=new RegExp(f,A);else if(f)h=new RegExp(f.source,A);return h};Rf.prototype.get_literal_regexp=function(f){return RegExp(f.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))};Rf.prototype.peekUntilAfter=function(f){var R=this.__position,h=this.readUntilAfter(f);return this.__position=R,h};Rf.prototype.lookBack=function(f){var R=this.__position-1;return R>=f.length&&this.__input.substring(R-f.length,R).toLowerCase()===f};IW.InputScanner=Rf});var aw=C((PW,_w)=>{function ER(f){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=f}ER.prototype.restart=function(){this.__position=0};ER.prototype.isEmpty=function(){return this.__tokens_length===0};ER.prototype.hasNext=function(){return this.__position<this.__tokens_length};ER.prototype.next=function(){var f=null;if(this.hasNext())f=this.__tokens[this.__position],this.__position+=1;return f};ER.prototype.peek=function(f){var R=null;if(f=f||0,f+=this.__position,f>=0&&f<this.__tokens_length)R=this.__tokens[f];return R};ER.prototype.add=function(f){if(this.__parent_token)f.parent=this.__parent_token;this.__tokens.push(f),this.__tokens_length+=1};PW.TokenStream=ER});var Dh=C((HW,iw)=>{function Bf(f,R){if(this._input=f,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,R)this._starting_pattern=this._input.get_regexp(R._starting_pattern,!0),this._match_pattern=this._input.get_regexp(R._match_pattern,!0),this._until_pattern=this._input.get_regexp(R._until_pattern),this._until_after=R._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 R=this._create();return R._until_after=!0,R._until_pattern=this._input.get_regexp(f),R._update(),R};Bf.prototype.until=function(f){var R=this._create();return R._until_after=!1,R._until_pattern=this._input.get_regexp(f),R._update(),R};Bf.prototype.starting_with=function(f){var R=this._create();return R._starting_pattern=this._input.get_regexp(f,!0),R._update(),R};Bf.prototype.matching=function(f){var R=this._create();return R._match_pattern=this._input.get_regexp(f,!0),R._update(),R};Bf.prototype._create=function(){return new Bf(this._input,this)};Bf.prototype._update=function(){};HW.Pattern=Bf});var ow=C((FW,ew)=>{var pw=Dh().Pattern;function uf(f,R){if(pw.call(this,f,R),R)this._line_regexp=this._input.get_regexp(R._line_regexp);else this.__set_whitespace_patterns("","");this.newline_count=0,this.whitespace_before_token=""}uf.prototype=new pw;uf.prototype.__set_whitespace_patterns=function(f,R){f+="\\t ",R+="\\n\\r",this._match_pattern=this._input.get_regexp("["+f+R+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+R+"]")};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 R=this.__split(this._newline_regexp,f);this.newline_count=R.length-1,this.whitespace_before_token=R[this.newline_count]}return f};uf.prototype.matching=function(f,R){var h=this._create();return h.__set_whitespace_patterns(f,R),h._update(),h};uf.prototype._create=function(){return new uf(this._input,this)};uf.prototype.__split=function(f,R){f.lastIndex=0;var h=0,A=[],I=f.exec(R);while(I)A.push(R.substring(h,I.index)),h=I.index+I[0].length,I=f.exec(R);if(h<R.length)A.push(R.substring(h,R.length));else A.push("");return A};FW.WhitespacePattern=uf});var Vh=C((SW,r1)=>{var NW=$0().InputScanner,nw=C1().Token,k1=aw().TokenStream,GW=ow().WhitespacePattern,Mh={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},Tf=function(f,R){this._input=new NW(f),this._options=R||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new GW(this._input)};Tf.prototype.tokenize=function(){this._input.restart(),this.__tokens=new k1,this._reset();var f,R=new nw(Mh.START,""),h=null,A=[],I=new k1;while(R.type!==Mh.EOF){f=this._get_next_token(R,h);while(this._is_comment(f))I.add(f),f=this._get_next_token(R,h);if(!I.isEmpty())f.comments_before=I,I=new k1;if(f.parent=h,this._is_opening(f))A.push(h),h=f;else if(h&&this._is_closing(f,h))f.opened=h,h.closed=f,h=A.pop(),f.parent=h;f.previous=R,R.next=f,this.__tokens.add(f),R=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,R){this._readWhitespace();var h=this._input.read(/.+/g);if(h)return this._create_token(Mh.RAW,h);else return this._create_token(Mh.EOF,"")};Tf.prototype._is_comment=function(f){return!1};Tf.prototype._is_opening=function(f){return!1};Tf.prototype._is_closing=function(f,R){return!1};Tf.prototype._create_token=function(f,R){var h=new nw(f,R,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return h};Tf.prototype._readWhitespace=function(){return this._patterns.whitespace.read()};SW.Tokenizer=Tf;SW.TOKEN=Mh});var P0=C((DW,uw)=>{function x1(f,R){f=typeof f==="string"?f:f.source,R=typeof R==="string"?R:R.source,this.__directives_block_pattern=new RegExp(f+/ beautify( \w+[:]\w+)+ /.source+R,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(f+/\sbeautify\signore:end\s/.source+R,"g")}x1.prototype.get_directives=function(f){if(!f.match(this.__directives_block_pattern))return null;var R={};this.__directive_pattern.lastIndex=0;var h=this.__directive_pattern.exec(f);while(h)R[h[1]]=h[2],h=this.__directive_pattern.exec(f);return R};x1.prototype.readIgnored=function(f){return f.readUntilAfter(this.__directives_end_ignore_pattern)};DW.Directives=x1});var i1=C((VW,tw)=>{var _1=Dh().Pattern,a1={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function qf(f,R){if(_1.call(this,f,R),this.__template_pattern=null,this._disabled=Object.assign({},a1),this._excluded=Object.assign({},a1),R)this.__template_pattern=this._input.get_regexp(R.__template_pattern),this._excluded=Object.assign(this._excluded,R._excluded),this._disabled=Object.assign(this._disabled,R._disabled);var h=new _1(f);this.__patterns={handlebars_comment:h.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:h.starting_with(/{{{/).until_after(/}}}/),handlebars:h.starting_with(/{{/).until_after(/}}/),php:h.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:h.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:h.starting_with(/{%/).until_after(/%}/),django_value:h.starting_with(/{{/).until_after(/}}/),django_comment:h.starting_with(/{#/).until_after(/#}/),smarty:h.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:h.starting_with(/{\*/).until_after(/\*}/),smarty_literal:h.starting_with(/{literal}/).until_after(/{\/literal}/)}}qf.prototype=new _1;qf.prototype._create=function(){return new qf(this._input,this)};qf.prototype._update=function(){this.__set_templated_pattern()};qf.prototype.disable=function(f){var R=this._create();return R._disabled[f]=!0,R._update(),R};qf.prototype.read_options=function(f){var R=this._create();for(var h in a1)R._disabled[h]=f.templating.indexOf(h)===-1;return R._update(),R};qf.prototype.exclude=function(f){var R=this._create();return R._excluded[f]=!0,R._update(),R};qf.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 R=this._read_template();while(R){if(this._match_pattern)R+=this._input.read(this._match_pattern);else R+=this._input.readUntil(this.__template_pattern);f+=R,R=this._read_template()}if(this._until_after)f+=this._input.readUntilAfter(this._until_pattern);return f};qf.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("|")+")")};qf.prototype._read_template=function(){var f="",R=this._input.peek();if(R==="<"){var h=this._input.peek(1);if(!this._disabled.php&&!this._excluded.php&&h==="?")f=f||this.__patterns.php.read();if(!this._disabled.erb&&!this._excluded.erb&&h==="%")f=f||this.__patterns.erb.read()}else if(R==="{"){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};VW.TemplatablePattern=qf});var Zh=C((jW,Xh)=>{var ZW=$0().InputScanner,RF=Vh().Tokenizer,p1=Vh().TOKEN,JW=P0().Directives,Vf=c1(),zW=Dh().Pattern,LW=i1().TemplatablePattern;function e1(f,R){return R.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:p1.START,RAW:p1.RAW,EOF:p1.EOF},fF=new JW(/\/\*/,/\*\//),QW=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,qW=/[0-9]/,gW=/[^\d\.]/,yW=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),NR=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";NR=NR.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&");NR="\\?\\.(?!\\d) "+NR;NR=NR.replace(/ /g,"|");var BW=new RegExp(NR),hF="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),TW=hF.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),KW=new RegExp("^(?:"+TW.join("|")+")$"),U0,t=function(f,R){RF.call(this,f,R),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var h=new zW(this._input),A=new LW(this._input).read_options(this._options);this.__patterns={template:A,identifier:A.starting_with(Vf.identifier).matching(Vf.identifierMatch),number:h.matching(QW),punct:h.matching(BW),comment:h.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:h.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:h.matching(/<!--/),html_comment_end:h.matching(/-->/),include:h.starting_with(/#include/).until_after(Vf.lineBreak),shebang:h.starting_with(/#!/).until_after(Vf.lineBreak),xml:h.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 RF;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,R){return(f.type===Y.END_BLOCK||f.type===Y.END_EXPR)&&(R&&(f.text==="]"&&R.text==="["||f.text===")"&&R.text==="("||f.text==="}"&&R.text==="{"))};t.prototype._reset=function(){U0=!1};t.prototype._get_next_token=function(f,R){var h=null;this._readWhitespace();var A=this._input.peek();if(A===null)return this._create_token(Y.EOF,"");return h=h||this._read_non_javascript(A),h=h||this._read_string(A),h=h||this._read_pair(A,this._input.peek(1)),h=h||this._read_word(f),h=h||this._read_singles(A),h=h||this._read_comment(A),h=h||this._read_regexp(A,f),h=h||this._read_xml(A,f),h=h||this._read_punctuation(),h=h||this._create_token(Y.UNKNOWN,this._input.next()),h};t.prototype._read_word=function(f){var R=this.__patterns.identifier.read();if(R!==""){if(R=R.replace(Vf.allLineBreaks,"\n"),!(f.type===Y.DOT||f.type===Y.RESERVED&&(f.text==="set"||f.text==="get"))&&KW.test(R)){if((R==="in"||R==="of")&&(f.type===Y.WORD||f.type===Y.STRING))return this._create_token(Y.OPERATOR,R);return this._create_token(Y.RESERVED,R)}return this._create_token(Y.WORD,R)}if(R=this.__patterns.number.read(),R!=="")return this._create_token(Y.WORD,R)};t.prototype._read_singles=function(f){var R=null;if(f==="("||f==="[")R=this._create_token(Y.START_EXPR,f);else if(f===")"||f==="]")R=this._create_token(Y.END_EXPR,f);else if(f==="{")R=this._create_token(Y.START_BLOCK,f);else if(f==="}")R=this._create_token(Y.END_BLOCK,f);else if(f===";")R=this._create_token(Y.SEMICOLON,f);else if(f==="."&&gW.test(this._input.peek(1)))R=this._create_token(Y.DOT,f);else if(f===",")R=this._create_token(Y.COMMA,f);if(R)this._input.next();return R};t.prototype._read_pair=function(f,R){var h=null;if(f==="#"&&R==="{")h=this._create_token(Y.START_BLOCK,f+R);if(h)this._input.next(),this._input.next();return h};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 R="";if(f==="#"){if(this._is_first_token()){if(R=this.__patterns.shebang.read(),R)return this._create_token(Y.UNKNOWN,R.trim()+"\n")}if(R=this.__patterns.include.read(),R)return this._create_token(Y.UNKNOWN,R.trim()+"\n");f=this._input.next();var h="#";if(this._input.hasNext()&&this._input.testChar(qW)){do f=this._input.next(),h+=f;while(this._input.hasNext()&&f!=="#"&&f!=="=");if(f==="#");else if(this._input.peek()==="["&&this._input.peek(1)==="]")h+="[]",this._input.next(),this._input.next();else if(this._input.peek()==="{"&&this._input.peek(1)==="}")h+="{}",this._input.next(),this._input.next();return this._create_token(Y.WORD,h)}this._input.back()}else if(f==="<"&&this._is_first_token()){if(R=this.__patterns.html_comment_start.read(),R){while(this._input.hasNext()&&!this._input.testChar(Vf.newline))R+=this._input.next();return U0=!0,this._create_token(Y.COMMENT,R)}}else if(U0&&f==="-"){if(R=this.__patterns.html_comment_end.read(),R)return U0=!1,this._create_token(Y.COMMENT,R)}return null};t.prototype._read_comment=function(f){var R=null;if(f==="/"){var h="";if(this._input.peek(1)==="*"){h=this.__patterns.block_comment.read();var A=fF.get_directives(h);if(A&&A.ignore==="start")h+=fF.readIgnored(this._input);h=h.replace(Vf.allLineBreaks,"\n"),R=this._create_token(Y.BLOCK_COMMENT,h),R.directives=A}else if(this._input.peek(1)==="/")h=this.__patterns.comment.read(),R=this._create_token(Y.COMMENT,h)}return R};t.prototype._read_string=function(f){if(f==="`"||f==="'"||f==='"'){var R=this._input.next();if(this.has_char_escapes=!1,f==="`")R+=this._read_string_recursive("`",!0,"${");else R+=this._read_string_recursive(f);if(this.has_char_escapes&&this._options.unescape_strings)R=vW(R);if(this._input.peek()===f)R+=this._input.next();return R=R.replace(Vf.allLineBreaks,"\n"),this._create_token(Y.STRING,R)}return null};t.prototype._allow_regexp_or_xml=function(f){return f.type===Y.RESERVED&&e1(f.text,["return","case","throw","else","do","typeof","yield"])||f.type===Y.END_EXPR&&f.text===")"&&f.opened.previous.type===Y.RESERVED&&e1(f.opened.previous.text,["if","while","for"])||e1(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,R){if(f==="/"&&this._allow_regexp_or_xml(R)){var h=this._input.next(),A=!1,I=!1;while(this._input.hasNext()&&((A||I||this._input.peek()!==f)&&!this._input.testChar(Vf.newline))){if(h+=this._input.peek(),!A){if(A=this._input.peek()==="\\",this._input.peek()==="[")I=!0;else if(this._input.peek()==="]")I=!1}else A=!1;this._input.next()}if(this._input.peek()===f)h+=this._input.next(),h+=this._input.read(Vf.identifier);return this._create_token(Y.STRING,h)}return null};t.prototype._read_xml=function(f,R){if(this._options.e4x&&f==="<"&&this._allow_regexp_or_xml(R)){var h="",A=this.__patterns.xml.read_match();if(A){var I=A[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),$=I.indexOf("{")===0,P=0;while(A){var U=!!A[1],H=A[2],F=!!A[A.length-1]||H.slice(0,8)==="![CDATA[";if(!F&&(H===I||$&&H.replace(/^{\s+/,"{").replace(/\s+}$/,"}")))if(U)--P;else++P;if(h+=A[0],P<=0)break;A=this.__patterns.xml.read_match()}if(!A)h+=this._input.match(/[\s\S]*/g)[0];return h=h.replace(Vf.allLineBreaks,"\n"),this._create_token(Y.STRING,h)}}return null};function vW(f){var R="",h=0,A=new ZW(f),I=null;while(A.hasNext()){if(I=A.match(/([\s]|[^\\]|\\\\)+/g),I)R+=I[0];if(A.peek()==="\\"){if(A.next(),A.peek()==="x")I=A.match(/x([0-9A-Fa-f]{2})/g);else if(A.peek()==="u"){if(I=A.match(/u([0-9A-Fa-f]{4})/g),!I)I=A.match(/u\{([0-9A-Fa-f]+)\}/g)}else{if(R+="\\",A.hasNext())R+=A.next();continue}if(!I)return f;if(h=parseInt(I[1],16),h>126&&h<=255&&I[0].indexOf("x")===0)return f;else if(h>=0&&h<32)R+="\\"+I[0];else if(h>1114111)R+="\\"+I[0];else if(h===34||h===39||h===92)R+="\\"+String.fromCharCode(h);else R+=String.fromCharCode(h)}}return R}t.prototype._read_string_recursive=function(f,R,h){var A,I;if(f==="\'")I=this.__patterns.single_quote;else if(f==='"')I=this.__patterns.double_quote;else if(f==="`")I=this.__patterns.template_text;else if(f==="}")I=this.__patterns.template_expression;var $=I.read(),P="";while(this._input.hasNext()){if(P=this._input.next(),P===f||!R&&Vf.newline.test(P)){this._input.back();break}else if(P==="\\"&&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();P+=this._input.next()}else if(h){if(h==="${"&&P==="$"&&this._input.peek()==="{")P+=this._input.next();if(h===P){if(f==="`")P+=this._read_string_recursive("}",R,"`");else P+=this._read_string_recursive("`",R,"${");if(this._input.hasNext())P+=this._input.next()}}P+=I.read(),$+=P}return $};jW.Tokenizer=t;jW.TOKEN=Y;jW.positionable_operators=yW.slice();jW.line_starters=hF.slice()});var PF=C((pW,$F)=>{var lW=h0().Output,bW=C1().Token,H0=c1(),cW=d1().Options,dW=Zh().Tokenizer,Qh=Zh().line_starters,Jh=Zh().positionable_operators,w=Zh().TOKEN;function Z(f,R){return R.indexOf(f)!==-1}function kW(f){return f.replace(/^\s+/g,"")}function rW(f){var R={};for(var h=0;h<f.length;h++)R[f[h].replace(/-/g,"_")]=f[h];return R}function Xf(f,R){return f&&f.type===w.RESERVED&&f.text===R}function j(f,R){return f&&f.type===w.RESERVED&&Z(f.text,R)}var w0=["case","return","do","if","throw","else","await","break","continue","async"],xW=["before-newline","after-newline","preserve-newline"],zh=rW(xW),AF=[zh.before_newline,zh.preserve_newline],D={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function IF(f,R){if(R.multiline_frame||R.mode===D.ForInitializer||R.mode===D.Conditional)return;f.remove_indent(R.start_line_index)}function _W(f){f=f.replace(H0.allLineBreaks,"\n");var R=[],h=f.indexOf("\n");while(h!==-1)R.push(f.substring(0,h)),f=f.substring(h+1),h=f.indexOf("\n");if(f.length)R.push(f);return R}function tf(f){return f===D.ArrayLiteral}function Lh(f){return Z(f,[D.Expression,D.ForInitializer,D.Conditional])}function aW(f,R){for(var h=0;h<f.length;h++){var A=f[h].trim();if(A.charAt(0)!==R)return!1}return!0}function iW(f,R){var h=0,A=f.length,I;for(;h<A;h++)if(I=f[h],I&&I.indexOf(R)!==0)return!1;return!0}function g(f,R){R=R||{},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 cW(R)}g.prototype.create_flags=function(f,R){var h=0;if(f){if(h=f.indentation_level,!this._output.just_added_newline()&&f.line_indent_level>h)h=f.line_indent_level}var A={mode:R,parent:f,last_token:f?f.last_token:new bW(w.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:h,alignment:0,line_indent_level:f?f.line_indent_level:h,start_line_index:this._output.get_line_number(),ternary_depth:0};return A};g.prototype._reset=function(f){var R=f.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new lW(this._options,R),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(D.BlockStatement);var h=new dW(f,this._options);return this._tokens=h.tokenize(),f};g.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var f,R=this._reset(this._source_text),h=this._options.eol;if(this._options.eol==="auto"){if(h="\n",R&&H0.lineBreak.test(R||""))h=R.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(h),f};g.prototype.handle_token=function(f,R){if(f.type===w.START_EXPR)this.handle_start_expr(f);else if(f.type===w.END_EXPR)this.handle_end_expr(f);else if(f.type===w.START_BLOCK)this.handle_start_block(f);else if(f.type===w.END_BLOCK)this.handle_end_block(f);else if(f.type===w.WORD)this.handle_word(f);else if(f.type===w.RESERVED)this.handle_word(f);else if(f.type===w.SEMICOLON)this.handle_semicolon(f);else if(f.type===w.STRING)this.handle_string(f);else if(f.type===w.EQUALS)this.handle_equals(f);else if(f.type===w.OPERATOR)this.handle_operator(f);else if(f.type===w.COMMA)this.handle_comma(f);else if(f.type===w.BLOCK_COMMENT)this.handle_block_comment(f,R);else if(f.type===w.COMMENT)this.handle_comment(f,R);else if(f.type===w.DOT)this.handle_dot(f);else if(f.type===w.EOF)this.handle_eof(f);else if(f.type===w.UNKNOWN)this.handle_unknown(f,R);else this.handle_unknown(f,R)};g.prototype.handle_whitespace_and_comments=function(f,R){var h=f.newlines,A=this._options.keep_array_indentation&&tf(this._flags.mode);if(f.comments_before){var I=f.comments_before.next();while(I)this.handle_whitespace_and_comments(I,R),this.handle_token(I,R),I=f.comments_before.next()}if(A)for(var $=0;$<h;$+=1)this.print_newline($>0,R);else{if(this._options.max_preserve_newlines&&h>this._options.max_preserve_newlines)h=this._options.max_preserve_newlines;if(this._options.preserve_newlines){if(h>1){this.print_newline(!1,R);for(var P=1;P<h;P+=1)this.print_newline(!0,R)}}}};var o1=["async","break","continue","return","throw","yield"];g.prototype.allow_wrap_or_preserved_newline=function(f,R){if(R=R===void 0?!1:R,this._output.just_added_newline())return;var h=this._options.preserve_newlines&&f.newlines||R,A=Z(this._flags.last_token.text,Jh)||Z(f.text,Jh);if(A){var I=Z(this._flags.last_token.text,Jh)&&Z(this._options.operator_position,AF)||Z(f.text,Jh);h=h&&I}if(h)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(j(this._flags.last_token,o1))return;this._output.set_wrap_point()}};g.prototype.print_newline=function(f,R){if(!R){if(this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==w.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")){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._output.add_new_line(f))this._flags.multiline_frame=!0};g.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}};g.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===w.COMMA&&this._output.just_added_newline()){if(this._output.previous_line.last()===","){var R=this._output.previous_line.pop();if(this._output.previous_line.is_empty())this._output.previous_line.push(R),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};g.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};g.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)};g.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)};g.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)IF(this._output,this._previous_flags);this._output.set_indent(this._flags.indentation_level,this._flags.alignment)}};g.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"]))};g.prototype.start_of_statement=function(f){var R=!1;if(R=R||j(this._flags.last_token,["var","let","const"])&&f.type===w.WORD,R=R||Xf(this._flags.last_token,"do"),R=R||!(this._flags.parent.mode===D.ObjectLiteral&&this._flags.mode===D.Statement)&&j(this._flags.last_token,o1)&&!f.newlines,R=R||Xf(this._flags.last_token,"else")&&!(Xf(f,"if")&&!f.comments_before),R=R||this._flags.last_token.type===w.END_EXPR&&(this._previous_flags.mode===D.ForInitializer||this._previous_flags.mode===D.Conditional),R=R||this._flags.last_token.type===w.WORD&&this._flags.mode===D.BlockStatement&&!this._flags.in_case&&!(f.text==="--"||f.text==="++")&&this._last_last_text!=="function"&&f.type!==w.WORD&&f.type!==w.RESERVED,R=R||this._flags.mode===D.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||j(this._flags.last_token,["get","set"])),R){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};g.prototype.handle_start_expr=function(f){if(!this.start_of_statement(f))this.handle_whitespace_and_comments(f);var R=D.Expression;if(f.text==="["){if(this._flags.last_token.type===w.WORD||this._flags.last_token.text===")"){if(j(this._flags.last_token,Qh))this._output.space_before_token=!0;if(this.print_token(f),this.set_mode(R),this.indent(),this._options.space_in_paren)this._output.space_before_token=!0;return}if(R=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,[w.START_EXPR,w.END_EXPR,w.WORD,w.OPERATOR,w.DOT]))this._output.space_before_token=!0}else{if(this._flags.last_token.type===w.RESERVED){if(this._flags.last_token.text==="for")this._output.space_before_token=this._options.space_before_conditional,R=D.ForInitializer;else if(Z(this._flags.last_token.text,["if","while","switch"]))this._output.space_before_token=this._options.space_before_conditional,R=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,Qh)||this._flags.last_token.text==="catch")this._output.space_before_token=!0}else if(this._flags.last_token.type===w.EQUALS||this._flags.last_token.type===w.OPERATOR){if(!this.start_of_object_property())this.allow_wrap_or_preserved_newline(f)}else if(this._flags.last_token.type===w.WORD){this._output.space_before_token=!1;var h=this._tokens.peek(-3);if(this._options.space_after_named_function&&h){var A=this._tokens.peek(-4);if(j(h,["async","function"])||h.text==="*"&&j(A,["async","function"]))this._output.space_before_token=!0;else if(this._flags.mode===D.ObjectLiteral){if(h.text==="{"||h.text===","||h.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===w.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===w.START_BLOCK)this.print_newline();else if(this._flags.last_token.type===w.END_EXPR||this._flags.last_token.type===w.START_EXPR||this._flags.last_token.type===w.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===w.COMMA)this.allow_wrap_or_preserved_newline(f,f.newlines);if(this.print_token(f),this.set_mode(R),this._options.space_in_paren)this._output.space_before_token=!0;this.indent()};g.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===w.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(),IF(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};g.prototype.handle_start_block=function(f){this.handle_whitespace_and_comments(f);var R=this._tokens.peek(),h=this._tokens.peek(1);if(this._flags.last_word==="switch"&&this._flags.last_token.type===w.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(h&&(Z(h.text,[":",","])&&Z(R.type,[w.STRING,w.WORD,w.RESERVED])||Z(R.text,["get","set","..."])&&Z(h.type,[w.WORD,w.RESERVED])))if(Z(this._last_last_text,["class","interface"])&&!Z(h.text,[":",","]))this.set_mode(D.BlockStatement);else this.set_mode(D.ObjectLiteral);else if(this._flags.last_token.type===w.OPERATOR&&this._flags.last_token.text==="=>")this.set_mode(D.BlockStatement);else if(Z(this._flags.last_token.type,[w.EQUALS,w.START_EXPR,w.COMMA,w.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=!R.comments_before&&R.text==="}",I=A&&this._flags.last_word==="function"&&this._flags.last_token.type===w.END_EXPR;if(this._options.brace_preserve_inline){var $=0,P=null;this._flags.inline_frame=!0;do if($+=1,P=this._tokens.peek($-1),P.newlines){this._flags.inline_frame=!1;break}while(P.type!==w.EOF&&!(P.type===w.END_BLOCK&&P.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!==w.OPERATOR&&(I||this._flags.last_token.type===w.EQUALS||j(this._flags.last_token,w0)&&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===w.START_EXPR||this._flags.last_token.type===w.COMMA)){if(this._flags.last_token.type===w.COMMA||this._options.space_in_paren)this._output.space_before_token=!0;if(this._flags.last_token.type===w.COMMA||this._flags.last_token.type===w.START_EXPR&&this._flags.inline_frame)this.allow_wrap_or_preserved_newline(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!==w.OPERATOR&&this._flags.last_token.type!==w.START_EXPR)if(Z(this._flags.last_token.type,[w.START_BLOCK,w.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()};g.prototype.handle_end_block=function(f){this.handle_whitespace_and_comments(f);while(this._flags.mode===D.Statement)this.restore_mode();var R=this._flags.last_token.type===w.START_BLOCK;if(this._flags.inline_frame&&!R)this._output.space_before_token=!0;else if(this._options.brace_style==="expand"){if(!R)this.print_newline()}else if(!R)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)};g.prototype.handle_word=function(f){if(f.type===w.RESERVED){if(Z(f.text,["set","get"])&&this._flags.mode!==D.ObjectLiteral)f.type=w.WORD;else if(f.text==="import"&&Z(this._tokens.peek().text,["(","."]))f.type=w.WORD;else if(Z(f.text,["as","from"])&&!this._flags.import_block)f.type=w.WORD;else if(this._flags.mode===D.ObjectLiteral){var R=this._tokens.peek();if(R.text===":")f.type=w.WORD}}if(this.start_of_statement(f)){if(j(this._flags.last_token,["var","let","const"])&&f.type===w.WORD)this._flags.declaration_statement=!0}else if(f.newlines&&!Lh(this._flags.mode)&&(this._flags.last_token.type!==w.OPERATOR||(this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))&&this._flags.last_token.type!==w.EQUALS&&(this._options.preserve_newlines||!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===w.COMMA||this._flags.last_token.type===w.START_EXPR||this._flags.last_token.type===w.EQUALS||this._flags.last_token.type===w.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===w.OPERATOR)){if(!this._output.just_added_blankline()&&!f.comments_before)this.print_newline(),this.print_newline(!0)}if(this._flags.last_token.type===w.RESERVED||this._flags.last_token.type===w.WORD)if(j(this._flags.last_token,["get","set","new","export"])||j(this._flags.last_token,o1))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===w.OPERATOR||this._flags.last_token.text==="=")this._output.space_before_token=!0;else if(!this._flags.multiline_frame&&(Lh(this._flags.mode)||tf(this._flags.mode)));else this.print_newline();this.print_token(f),this._flags.last_word=f.text;return}var h="NONE";if(this._flags.last_token.type===w.END_BLOCK)if(this._previous_flags.inline_frame)h="SPACE";else if(!j(f,["else","catch","finally","from"]))h="NEWLINE";else if(this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&f.newlines)h="NEWLINE";else h="SPACE",this._output.space_before_token=!0;else if(this._flags.last_token.type===w.SEMICOLON&&this._flags.mode===D.BlockStatement)h="NEWLINE";else if(this._flags.last_token.type===w.SEMICOLON&&Lh(this._flags.mode))h="SPACE";else if(this._flags.last_token.type===w.STRING)h="NEWLINE";else if(this._flags.last_token.type===w.RESERVED||this._flags.last_token.type===w.WORD||this._flags.last_token.text==="*"&&(Z(this._last_last_text,["function","yield"])||this._flags.mode===D.ObjectLiteral&&Z(this._last_last_text,["{",","])))h="SPACE";else if(this._flags.last_token.type===w.START_BLOCK)if(this._flags.inline_frame)h="SPACE";else h="NEWLINE";else if(this._flags.last_token.type===w.END_EXPR)this._output.space_before_token=!0,h="NEWLINE";if(j(f,Qh)&&this._flags.last_token.text!==")")if(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export")h="SPACE";else h="NEWLINE";if(j(f,["else","catch","finally"]))if((!(this._flags.last_token.type===w.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(h==="NEWLINE"){if(j(this._flags.last_token,w0))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!==w.END_EXPR){if((this._flags.last_token.type!==w.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,Qh)&&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(h==="SPACE")this._output.space_before_token=!0;if(f.previous&&(f.previous.type===w.WORD||f.previous.type===w.RESERVED))this._output.space_before_token=!0;if(this.print_token(f),this._flags.last_word=f.text,f.type===w.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}};g.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 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._flags.import_block)this._flags.import_block=!1;this.print_token(f)};g.prototype.handle_string=function(f){if(f.text.startsWith("`")&&f.newlines===0&&f.whitespace_before===""&&(f.previous.text===")"||this._flags.last_token.type===w.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===w.RESERVED||this._flags.last_token.type===w.WORD||this._flags.inline_frame)this._output.space_before_token=!0;else if(this._flags.last_token.type===w.COMMA||this._flags.last_token.type===w.START_EXPR||this._flags.last_token.type===w.EQUALS||this._flags.last_token.type===w.OPERATOR){if(!this.start_of_object_property())this.allow_wrap_or_preserved_newline(f)}else if(f.text.startsWith("`")&&this._flags.last_token.type===w.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)};g.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};g.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(Lh(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)};g.prototype.handle_operator=function(f){var R=f.text==="*"&&(j(this._flags.last_token,["function","yield"])||Z(this._flags.last_token.type,[w.START_BLOCK,w.COMMA,w.END_BLOCK,w.SEMICOLON])),h=Z(f.text,["-","+"])&&(Z(this._flags.last_token.type,[w.START_BLOCK,w.START_EXPR,w.EQUALS,w.OPERATOR])||Z(this._flags.last_token.text,Qh)||this._flags.last_token.text===",");if(this.start_of_statement(f));else{var A=!R;this.handle_whitespace_and_comments(f,A)}if(f.text==="*"&&this._flags.last_token.type===w.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===w.OPERATOR&&Z(this._options.operator_position,AF))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!==w.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 I=!0,$=!0,P=!1;if(f.text===":")if(this._flags.ternary_depth===0)I=!1;else this._flags.ternary_depth-=1,P=!0;else if(f.text==="?")this._flags.ternary_depth+=1;if(!h&&!R&&this._options.preserve_newlines&&Z(f.text,Jh)){var U=f.text===":",H=U&&P,F=U&&!P;switch(this._options.operator_position){case zh.before_newline:if(this._output.space_before_token=!F,this.print_token(f),!U||H)this.allow_wrap_or_preserved_newline(f);this._output.space_before_token=!0;return;case zh.after_newline:if(this._output.space_before_token=!0,!U||H)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 zh.preserve_newline:if(!F)this.allow_wrap_or_preserved_newline(f);I=!(this._output.just_added_newline()||F),this._output.space_before_token=I,this.print_token(f),this._output.space_before_token=!0;return}}if(R){this.allow_wrap_or_preserved_newline(f),I=!1;var N=this._tokens.peek();$=N&&Z(N.type,[w.WORD,w.RESERVED])}else if(f.text==="...")this.allow_wrap_or_preserved_newline(f),I=this._flags.last_token.type===w.START_BLOCK,$=!1;else if(Z(f.text,["--","++","!","~"])||h){if(this._flags.last_token.type===w.COMMA||this._flags.last_token.type===w.START_EXPR)this.allow_wrap_or_preserved_newline(f);if(I=!1,$=!1,f.newlines&&(f.text==="--"||f.text==="++"||f.text==="~")){var W=j(this._flags.last_token,w0)&&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===";"&&Lh(this._flags.mode))I=!0;if(this._flags.last_token.type===w.RESERVED)I=!0;else if(this._flags.last_token.type===w.END_EXPR)I=!(this._flags.last_token.text==="]"&&(f.text==="--"||f.text==="++"));else if(this._flags.last_token.type===w.OPERATOR){if(I=Z(f.text,["--","-","++","+"])&&Z(this._flags.last_token.text,["--","-","++","+"]),Z(f.text,["+","-"])&&Z(this._flags.last_token.text,["--","++"]))$=!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||I,this.print_token(f),this._output.space_before_token=$};g.prototype.handle_block_comment=function(f,R){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,R),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,R)};g.prototype.print_block_commment=function(f,R){var h=_W(f.text),A,I=!1,$=!1,P=f.whitespace_before,U=P.length;if(this.print_newline(!1,R),this.print_token_line_indentation(f),this._output.add_token(h[0]),this.print_newline(!1,R),h.length>1){if(h=h.slice(1),I=aW(h,"*"),$=iW(h,P),I)this._flags.alignment=1;for(A=0;A<h.length;A++){if(I)this.print_token_line_indentation(f),this._output.add_token(kW(h[A]));else if($&&h[A])this.print_token_line_indentation(f),this._output.add_token(h[A].substring(U));else this._output.current_line.set_indent(-1),this._output.add_token(h[A]);this.print_newline(!1,R)}this._flags.alignment=0}};g.prototype.handle_comment=function(f,R){if(f.newlines)this.print_newline(!1,R);else this._output.trim(!0);this._output.space_before_token=!0,this.print_token(f),this.print_newline(!1,R)};g.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,w0))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)};g.prototype.handle_unknown=function(f,R){if(this.print_token(f),f.text[f.text.length-1]==="\n")this.print_newline(!1,R)};g.prototype.handle_eof=function(f){while(this._flags.mode===D.Statement)this.restore_mode();this.handle_whitespace_and_comments(f)};pW.Beautifier=g});var UF=C((P7,n1)=>{var oW=PF().Beautifier,nW=d1().Options;function uW(f,R){var h=new oW(f,R);return h.beautify()}n1.exports=uW;n1.exports.defaultOptions=function(){return new nW}});var u1=C((tW,FF)=>{var HF=I0().Options;function wF(f){HF.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 R=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||R;var h=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var A=0;A<h.length;A++)if(h[A]!=="expand")this.brace_style="collapse";else this.brace_style=h[A]}wF.prototype=new HF;tW.Options=wF});var SF=C((wY,GF)=>{var RY=u1().Options,hY=h0().Output,AY=$0().InputScanner,IY=P0().Directives,EF=new IY(/\/\*/,/\*\//),NF=/\r\n|[\r\n]/,$Y=/\r\n|[\r\n]/g,F0=/\s/,PY=/(?:\s|\n)+/g,UY=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,HY=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function mf(f,R){this._source_text=f||"",this._options=new RY(R),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}mf.prototype.eatString=function(f){var R="";this._ch=this._input.next();while(this._ch){if(R+=this._ch,this._ch==="\\")R+=this._input.next();else if(f.indexOf(this._ch)!==-1||this._ch==="\n")break;this._ch=this._input.next()}return R};mf.prototype.eatWhitespace=function(f){var R=F0.test(this._input.peek()),h=0;while(F0.test(this._input.peek()))if(this._ch=this._input.next(),f&&this._ch==="\n"){if(h===0||h<this._options.max_preserve_newlines)h++,this._output.add_new_line(!0)}return R};mf.prototype.foundNestedPseudoClass=function(){var f=0,R=1,h=this._input.peek(R);while(h){if(h==="{")return!0;else if(h==="(")f+=1;else if(h===")"){if(f===0)return!1;f-=1}else if(h===";"||h==="}")return!1;R++,h=this._input.peek(R)}return!1};mf.prototype.print_string=function(f){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(f)};mf.prototype.preserveSingleSpace=function(f){if(f)this._output.space_before_token=!0};mf.prototype.indent=function(){this._indentLevel++};mf.prototype.outdent=function(){if(this._indentLevel>0)this._indentLevel--};mf.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var f=this._source_text,R=this._options.eol;if(R==="auto"){if(R="\n",f&&NF.test(f||""))R=f.match(NF)[0]}f=f.replace($Y,"\n");var h=f.match(/^[\t ]*/)[0];this._output=new hY(this._options,h),this._input=new AY(f),this._indentLevel=0,this._nestedLevel=0,this._ch=null;var A=0,I=!1,$=!1,P=!1,U=!1,H=!1,F=this._ch,N=!1,W,V,S;while(!0){if(W=this._input.read(PY),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(UY),K=EF.get_directives(L);if(K&&K.ignore==="start")L+=EF.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(HY)),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)$=!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)$=!0,this.indent();else if(If in this.NESTED_AT_RULE){if(this._nestedLevel+=1,If in this.CONDITIONAL_GROUP_RULE)P=!0}else if(A===0&&!$)U=!0}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(V),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{"){if($)$=!1,this.outdent();if(U=!1,P)P=!1,I=this._indentLevel>=this._nestedLevel;else I=this._indentLevel>=this._nestedLevel-1;if(this._options.newline_between_rules&&I){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($)this.outdent(),$=!1;if(this.print_string(this._ch),I=!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((I||P)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!U&&A===0){if(this.print_string(":"),!$)$=!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 lR=S==='"'||S==="\'";this.preserveSingleSpace(lR||V),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")if(N=!1,A===0){if($)this.outdent(),$=!1;if(U=!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 yh=!1;if(this._input.lookBack("with"))yh=!0;if(this.preserveSingleSpace(V||yh),this.print_string(this._ch),$&&S==="$"&&this._options.selector_separator_newline)this._output.add_new_line(),H=!0;else this.eatWhitespace(),A++,this.indent()}else if(this._ch===")"){if(A)A--,this.outdent();if(H&&this._input.peek()===";"&&this._options.selector_separator_newline)H=!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&&(!$||H)&&A===0&&!U)this._output.add_new_line();else this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!$&&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 uF=S==='"'||S==="\'";if(this.preserveSingleSpace(uF||V),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()==="\n"&&N)this._output.add_new_line()}}var tF=this._output.get_code(R);return tF};wY.Beautifier=mf});var WF=C((U7,t1)=>{var EY=SF().Beautifier,NY=u1().Options;function GY(f,R){var h=new EY(f,R);return h.beautify()}t1.exports=GY;t1.exports.defaultOptions=function(){return new NY}});var fI=C((SY,MF)=>{var YF=I0().Options;function DF(f){if(YF.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"])}DF.prototype=new YF;SY.Options=DF});var AI=C((VY,hI)=>{var XF=Vh().Tokenizer,RI=Vh().TOKEN,YY=P0().Directives,DY=i1().TemplatablePattern,MY=Dh().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:RI.START,RAW:RI.RAW,EOF:RI.EOF},VF=new YY(/<\!--/,/-->/),hf=function(f,R){XF.call(this,f,R),this._current_tag_name="";var h=new DY(this._input).read_options(this._options),A=new MY(this._input);if(this.__patterns={word:h.until(/[\n\r\t <]/),word_control_flow_close_excluded:h.until(/[\n\r\t <}]/),single_quote:h.until_after(/'/),double_quote:h.until_after(/"/),attribute:h.until(/[\n\r\t =>]|\/>/),element_name:h.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 I=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=A.matching(I).until_after(I)}};hf.prototype=new XF;hf.prototype._is_comment=function(f){return!1};hf.prototype._is_opening=function(f){return f.type===B.TAG_OPEN||f.type===B.CONTROL_FLOW_OPEN};hf.prototype._is_closing=function(f,R){return f.type===B.TAG_CLOSE&&(R&&((f.text===">"||f.text==="/>")&&R.text[0]==="<"||f.text==="}}"&&R.text[0]==="{"&&R.text[1]==="{"))||f.type===B.CONTROL_FLOW_CLOSE&&(f.text==="}"&&R.text.endsWith("{"))};hf.prototype._reset=function(){this._current_tag_name=""};hf.prototype._get_next_token=function(f,R){var h=null;this._readWhitespace();var A=this._input.peek();if(A===null)return this._create_token(B.EOF,"");return h=h||this._read_open_handlebars(A,R),h=h||this._read_attribute(A,f,R),h=h||this._read_close(A,R),h=h||this._read_control_flows(A,R),h=h||this._read_raw_content(A,f,R),h=h||this._read_content_word(A,R),h=h||this._read_comment_or_cdata(A),h=h||this._read_processing(A),h=h||this._read_open(A,R),h=h||this._create_token(B.UNKNOWN,this._input.next()),h};hf.prototype._read_comment_or_cdata=function(f){var R=null,h=null,A=null;if(f==="<"){var I=this._input.peek(1);if(I==="!")if(h=this.__patterns.comment.read(),h){if(A=VF.get_directives(h),A&&A.ignore==="start")h+=VF.readIgnored(this._input)}else h=this.__patterns.cdata.read();if(h)R=this._create_token(B.COMMENT,h),R.directives=A}return R};hf.prototype._read_processing=function(f){var R=null,h=null,A=null;if(f==="<"){var I=this._input.peek(1);if(I==="!"||I==="?")h=this.__patterns.conditional_comment.read(),h=h||this.__patterns.processing.read();if(h)R=this._create_token(B.COMMENT,h),R.directives=A}return R};hf.prototype._read_open=function(f,R){var h=null,A=null;if(!R||R.type===B.CONTROL_FLOW_OPEN){if(f==="<"){if(h=this._input.next(),this._input.peek()==="/")h+=this._input.next();h+=this.__patterns.element_name.read(),A=this._create_token(B.TAG_OPEN,h)}}return A};hf.prototype._read_open_handlebars=function(f,R){var h=null,A=null;if(!R||R.type===B.CONTROL_FLOW_OPEN){if(this._options.indent_handlebars&&f==="{"&&this._input.peek(1)==="{")if(this._input.peek(2)==="!")h=this.__patterns.handlebars_comment.read(),h=h||this.__patterns.handlebars.read(),A=this._create_token(B.COMMENT,h);else h=this.__patterns.handlebars_open.read(),A=this._create_token(B.TAG_OPEN,h)}return A};hf.prototype._read_control_flows=function(f,R){var h="",A=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars)return A;if(f==="@"){if(h=this.__patterns.angular_control_flow_start.read(),h==="")return A;var I=h.endsWith("(")?1:0,$=0;while(!(h.endsWith("{")&&I===$)){var P=this._input.next();if(P===null)break;else if(P==="(")I++;else if(P===")")$++;h+=P}A=this._create_token(B.CONTROL_FLOW_OPEN,h)}else if(f==="}"&&R&&R.type===B.CONTROL_FLOW_OPEN)h=this._input.next(),A=this._create_token(B.CONTROL_FLOW_CLOSE,h);return A};hf.prototype._read_close=function(f,R){var h=null,A=null;if(R&&R.type===B.TAG_OPEN){if(R.text[0]==="<"&&(f===">"||f==="/"&&this._input.peek(1)===">")){if(h=this._input.next(),f==="/")h+=this._input.next();A=this._create_token(B.TAG_CLOSE,h)}else if(R.text[0]==="{"&&f==="}"&&this._input.peek(1)==="}")this._input.next(),this._input.next(),A=this._create_token(B.TAG_CLOSE,"}}")}return A};hf.prototype._read_attribute=function(f,R,h){var A=null,I="";if(h&&h.text[0]==="<"){if(f==="=")A=this._create_token(B.EQUALS,this._input.next());else if(f==='"'||f==="'"){var $=this._input.next();if(f==='"')$+=this.__patterns.double_quote.read();else $+=this.__patterns.single_quote.read();A=this._create_token(B.VALUE,$)}else if(I=this.__patterns.attribute.read(),I)if(R.type===B.EQUALS)A=this._create_token(B.VALUE,I);else A=this._create_token(B.ATTRIBUTE,I)}return A};hf.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)};hf.prototype._read_raw_content=function(f,R,h){var A="";if(h&&h.text[0]==="{")A=this.__patterns.handlebars_raw_close.read();else if(R.type===B.TAG_CLOSE&&R.opened.text[0]==="<"&&R.text[0]!=="/"){var I=R.opened.text.substr(1).toLowerCase();if(I==="script"||I==="style"){var $=this._read_comment_or_cdata(f);if($)return $.type=B.TEXT,$;A=this._input.readUntil(new RegExp("</"+I+"[\\n\\r\\t ]*?>","ig"))}else if(this._is_content_unformatted(I))A=this._input.readUntil(new RegExp("</"+I+"[\\n\\r\\t ]*?>","ig"))}if(A)return this._create_token(B.TEXT,A);return null};hf.prototype._read_content_word=function(f,R){var h="";if(this._options.unformatted_content_delimiter){if(f===this._options.unformatted_content_delimiter[0])h=this.__patterns.unformatted_content_delimiter.read()}if(!h)h=R&&R.type===B.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read();if(h)return this._create_token(B.TEXT,h)};VY.Tokenizer=hf;VY.TOKEN=B});var LF=C((KY,zF)=>{var JY=fI().Options,zY=h0().Output,LY=AI().Tokenizer,y=AI().TOKEN,ZF=/\r\n|[\r\n]/,QY=/\r\n|[\r\n]/g,Df=function(f,R){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 zY(f,R)};Df.prototype.current_line_has_match=function(f){return this._output.current_line.has_match(f)};Df.prototype.set_space_before_token=function(f,R){this._output.space_before_token=f,this._output.non_breaking_space=R};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 R=0;if(f.type!==y.TEXT&&f.previous.type!==y.TEXT)R=f.newlines?1:0;if(this.preserve_newlines)R=f.newlines<this.max_preserve_newlines+1?f.newlines:this.max_preserve_newlines+1;for(var h=0;h<R;h++)this.print_newline(h>0);return R!==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 qY=function(f){var R=null,h=f.next;while(h.type!==y.EOF&&f.closed!==h){if(h.type===y.ATTRIBUTE&&h.text==="type"){if(h.next&&h.next.type===y.EQUALS&&h.next.next&&h.next.next.type===y.VALUE)R=h.next.next.text;break}h=h.next}return R},gY=function(f,R){var h=null,A=null;if(!R.closed)return null;if(f==="script")h="text/javascript";else if(f==="style")h="text/css";if(h=qY(R)||h,h.search("text/css")>-1)A="css";else if(h.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1)A="javascript";else if(h.search(/(text|application|dojo)\/(x-)?(html)/)>-1)A="html";else if(h.search(/test\/null/)>-1)A="null";return A};function qh(f,R){return R.indexOf(f)!==-1}function yY(f,R,h){this.parent=f||null,this.tag=R?R.tag_name:"",this.indent_level=h||0,this.parser_token=R||null}function GR(f){this._printer=f,this._current_frame=null}GR.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null};GR.prototype.record_tag=function(f){var R=new yY(this._current_frame,f,this._printer.indent_level);this._current_frame=R};GR.prototype._try_pop_frame=function(f){var R=null;if(f)R=f.parser_token,this._printer.indent_level=f.indent_level,this._current_frame=f.parent;return R};GR.prototype._get_frame=function(f,R){var h=this._current_frame;while(h){if(f.indexOf(h.tag)!==-1)break;else if(R&&R.indexOf(h.tag)!==-1){h=null;break}h=h.parent}return h};GR.prototype.try_pop=function(f,R){var h=this._get_frame([f],R);return this._try_pop_frame(h)};GR.prototype.indent_to_tag=function(f){var R=this._get_frame(f);if(R)this._printer.indent_level=R.indent_level};function Gf(f,R,h,A){this._source_text=f||"",R=R||{},this._js_beautify=h,this._css_beautify=A,this._tag_stack=null;var I=new JY(R,"html");this._options=I,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,R=this._options.eol;if(this._options.eol==="auto"){if(R="\n",f&&ZF.test(f))R=f.match(ZF)[0]}f=f.replace(QY,"\n");var h=f.match(/^[\t ]*/)[0],A={text:"",type:""},I=new JF,$=new Df(this._options,h),P=new LY(f,this._options).tokenize();this._tag_stack=new GR($);var U=null,H=P.next();while(H.type!==y.EOF){if(H.type===y.TAG_OPEN||H.type===y.COMMENT)U=this._handle_tag_open($,H,I,A,P),I=U;else if(H.type===y.ATTRIBUTE||H.type===y.EQUALS||H.type===y.VALUE||H.type===y.TEXT&&!I.tag_complete)U=this._handle_inside_tag($,H,I,A);else if(H.type===y.TAG_CLOSE)U=this._handle_tag_close($,H,I);else if(H.type===y.TEXT)U=this._handle_text($,H,I);else if(H.type===y.CONTROL_FLOW_OPEN)U=this._handle_control_flow_open($,H);else if(H.type===y.CONTROL_FLOW_CLOSE)U=this._handle_control_flow_close($,H);else $.add_raw_token(H);A=U,H=P.next()}var F=$._output.get_code(R);return F};Gf.prototype._handle_control_flow_open=function(f,R){var h={text:R.text,type:R.type};if(f.set_space_before_token(R.newlines||R.whitespace_before!=="",!0),R.newlines)f.print_preserved_newlines(R);else f.set_space_before_token(R.newlines||R.whitespace_before!=="",!0);return f.print_token(R),f.indent(),h};Gf.prototype._handle_control_flow_close=function(f,R){var h={text:R.text,type:R.type};if(f.deindent(),R.newlines)f.print_preserved_newlines(R);else f.set_space_before_token(R.newlines||R.whitespace_before!=="",!0);return f.print_token(R),h};Gf.prototype._handle_tag_close=function(f,R,h){var A={text:R.text,type:R.type};if(f.alignment_size=0,h.tag_complete=!0,f.set_space_before_token(R.newlines||R.whitespace_before!=="",!0),h.is_unformatted)f.add_raw_token(R);else{if(h.tag_start_char==="<"){if(f.set_space_before_token(R.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&h.has_wrapped_attrs)f.print_newline(!1)}f.print_token(R)}if(h.indent_content&&!(h.is_unformatted||h.is_content_unformatted))f.indent(),h.indent_content=!1;if(!h.is_inline_element&&!(h.is_unformatted||h.is_content_unformatted))f.set_wrap_point();return A};Gf.prototype._handle_inside_tag=function(f,R,h,A){var I=h.has_wrapped_attrs,$={text:R.text,type:R.type};if(f.set_space_before_token(R.newlines||R.whitespace_before!=="",!0),h.is_unformatted)f.add_raw_token(R);else if(h.tag_start_char==="{"&&R.type===y.TEXT)if(f.print_preserved_newlines(R))R.newlines=0,f.add_raw_token(R);else f.print_token(R);else{if(R.type===y.ATTRIBUTE)f.set_space_before_token(!0);else if(R.type===y.EQUALS)f.set_space_before_token(!1);else if(R.type===y.VALUE&&R.previous.type===y.EQUALS)f.set_space_before_token(!1);if(R.type===y.ATTRIBUTE&&h.tag_start_char==="<"){if(this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)f.traverse_whitespace(R),I=I||R.newlines!==0;if(this._is_wrap_attributes_force&&h.attr_count>=this._options.wrap_attributes_min_attrs&&(A.type!==y.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline))f.print_newline(!1),I=!0}f.print_token(R),I=I||f.previous_token_wrapped(),h.has_wrapped_attrs=I}return $};Gf.prototype._handle_text=function(f,R,h){var A={text:R.text,type:"TK_CONTENT"};if(h.custom_beautifier_name)this._print_custom_beatifier_text(f,R,h);else if(h.is_unformatted||h.is_content_unformatted)f.add_raw_token(R);else f.traverse_whitespace(R),f.print_token(R);return A};Gf.prototype._print_custom_beatifier_text=function(f,R,h){var A=this;if(R.text!==""){var I=R.text,$,P=1,U="",H="";if(h.custom_beautifier_name==="javascript"&&typeof this._js_beautify==="function")$=this._js_beautify;else if(h.custom_beautifier_name==="css"&&typeof this._css_beautify==="function")$=this._css_beautify;else if(h.custom_beautifier_name==="html")$=function(L,K){var Af=new Gf(L,K,A._js_beautify,A._css_beautify);return Af.beautify()};if(this._options.indent_scripts==="keep")P=0;else if(this._options.indent_scripts==="separate")P=-f.indent_level;var F=f.get_full_indent(P);if(I=I.replace(/\n[ \t]*$/,""),h.custom_beautifier_name!=="html"&&I[0]==="<"&&I.match(/^(<!--|<!\[CDATA\[)/)){var N=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(I);if(!N){f.add_raw_token(R);return}if(U=F+N[1]+"\n",I=N[4],N[5])H=F+N[5];if(I=I.replace(/\n[ \t]*$/,""),N[2]||N[3].indexOf("\n")!==-1){if(N=N[3].match(/[ \t]+$/),N)R.whitespace_before=N[0]}}if(I)if($){var W=function(){this.eol="\n"};W.prototype=this._options.raw_options;var V=new W;I=$(F+I,V)}else{var S=R.whitespace_before;if(S)I=I.replace(new RegExp("\n("+S+")?","g"),"\n");I=F+I.replace(/\n/g,"\n"+F)}if(U)if(!I)I=U+H;else I=U+I+"\n"+H;if(f.print_newline(!1),I)R.text=I,R.whitespace_before="",R.newlines=0,f.add_raw_token(R),f.print_newline(!0)}};Gf.prototype._handle_tag_open=function(f,R,h,A,I){var $=this._get_tag_open_token(R);if((h.is_unformatted||h.is_content_unformatted)&&!h.is_empty_element&&R.type===y.TAG_OPEN&&!$.is_start_tag)f.add_raw_token(R),$.start_tag_token=this._tag_stack.try_pop($.tag_name);else{if(f.traverse_whitespace(R),this._set_tag_position(f,R,$,h,A),!$.is_inline_element)f.set_wrap_point();f.print_token(R)}if($.is_start_tag&&this._is_wrap_attributes_force){var P=0,U;do{if(U=I.peek(P),U.type===y.ATTRIBUTE)$.attr_count+=1;P+=1}while(U.type!==y.EOF&&U.type!==y.TAG_CLOSE)}if(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)$.alignment_size=R.text.length+1;if(!$.tag_complete&&!$.is_unformatted)f.alignment_size=$.alignment_size;return $};var JF=function(f,R){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="",!R)this.tag_complete=!0;else{var h;if(this.tag_start_char=R.text[0],this.text=R.text,this.tag_start_char==="<")h=R.text.match(/^<([^\s>]*)/),this.tag_check=h?h[1]:"";else if(h=R.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=h?h[1]:"",(R.text.startsWith("{{#>")||R.text.startsWith("{{~#>"))&&this.tag_check[0]===">")if(this.tag_check===">"&&R.next!==null)this.tag_check=R.next.text.split(" ")[0];else this.tag_check=R.text.split(">")[1];if(this.tag_check=this.tag_check.toLowerCase(),R.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||R.closed&&R.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 R=new JF(this._tag_stack.get_parser_token(),f);return R.alignment_size=this._options.wrap_attributes_indent_size,R.is_end_tag=R.is_end_tag||qh(R.tag_check,this._options.void_elements),R.is_empty_element=R.tag_complete||R.is_start_tag&&R.is_end_tag,R.is_unformatted=!R.tag_complete&&qh(R.tag_check,this._options.unformatted),R.is_content_unformatted=!R.is_empty_element&&qh(R.tag_check,this._options.content_unformatted),R.is_inline_element=qh(R.tag_name,this._options.inline)||this._options.inline_custom_elements&&R.tag_name.includes("-")||R.tag_start_char==="{",R};Gf.prototype._set_tag_position=function(f,R,h,A,I){if(!h.is_empty_element)if(h.is_end_tag)h.start_tag_token=this._tag_stack.try_pop(h.tag_name);else{if(this._do_optional_end_element(h)){if(!h.is_inline_element)f.print_newline(!1)}if(this._tag_stack.record_tag(h),(h.tag_name==="script"||h.tag_name==="style")&&!(h.is_unformatted||h.is_content_unformatted))h.custom_beautifier_name=gY(h.tag_check,R)}if(qh(h.tag_check,this._options.extra_liners)){if(f.print_newline(!1),!f._output.just_added_blankline())f.print_newline(!0)}if(h.is_empty_element){if(h.tag_start_char==="{"&&h.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),h.indent_content=!0;var $=f.current_line_has_match(/{{#if/);if(!$)f.print_newline(!1)}if(h.tag_name==="!--"&&I.type===y.TAG_CLOSE&&A.is_end_tag&&h.text.indexOf("\n")===-1);else{if(!(h.is_inline_element||h.is_unformatted))f.print_newline(!1);this._calcluate_parent_multiline(f,h)}}else if(h.is_end_tag){var P=!1;if(P=h.start_tag_token&&h.start_tag_token.multiline_content,P=P||!h.is_inline_element&&!(A.is_inline_element||A.is_unformatted)&&!(I.type===y.TAG_CLOSE&&h.start_tag_token===A)&&I.type!=="TK_CONTENT",h.is_content_unformatted||h.is_unformatted)P=!1;if(P)f.print_newline(!1)}else{if(h.indent_content=!h.custom_beautifier_name,h.tag_start_char==="<"){if(h.tag_name==="html")h.indent_content=this._options.indent_inner_html;else if(h.tag_name==="head")h.indent_content=this._options.indent_head_inner_html;else if(h.tag_name==="body")h.indent_content=this._options.indent_body_inner_html}if(!(h.is_inline_element||h.is_unformatted)&&(I.type!=="TK_CONTENT"||h.is_content_unformatted))f.print_newline(!1);this._calcluate_parent_multiline(f,h)}};Gf.prototype._calcluate_parent_multiline=function(f,R){if(R.parent&&f._output.just_added_newline()&&!((R.is_inline_element||R.is_unformatted)&&R.parent.is_inline_element))R.parent.multiline_content=!0};var BY=["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"],TY=["a","audio","del","ins","map","noscript","video"];Gf.prototype._do_optional_end_element=function(f){var R=null;if(f.is_empty_element||!f.is_start_tag||!f.parent)return;if(f.tag_name==="body")R=R||this._tag_stack.try_pop("head");else if(f.tag_name==="li")R=R||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(f.tag_name==="dd"||f.tag_name==="dt")R=R||this._tag_stack.try_pop("dt",["dl"]),R=R||this._tag_stack.try_pop("dd",["dl"]);else if(f.parent.tag_name==="p"&&BY.indexOf(f.tag_name)!==-1){var h=f.parent.parent;if(!h||TY.indexOf(h.tag_name)===-1)R=R||this._tag_stack.try_pop("p")}else if(f.tag_name==="rp"||f.tag_name==="rt")R=R||this._tag_stack.try_pop("rt",["ruby","rtc"]),R=R||this._tag_stack.try_pop("rp",["ruby","rtc"]);else if(f.tag_name==="optgroup")R=R||this._tag_stack.try_pop("optgroup",["select"]);else if(f.tag_name==="option")R=R||this._tag_stack.try_pop("option",["select","datalist","optgroup"]);else if(f.tag_name==="colgroup")R=R||this._tag_stack.try_pop("caption",["table"]);else if(f.tag_name==="thead")R=R||this._tag_stack.try_pop("caption",["table"]),R=R||this._tag_stack.try_pop("colgroup",["table"]);else if(f.tag_name==="tbody"||f.tag_name==="tfoot")R=R||this._tag_stack.try_pop("caption",["table"]),R=R||this._tag_stack.try_pop("colgroup",["table"]),R=R||this._tag_stack.try_pop("thead",["table"]),R=R||this._tag_stack.try_pop("tbody",["table"]);else if(f.tag_name==="tr")R=R||this._tag_stack.try_pop("caption",["table"]),R=R||this._tag_stack.try_pop("colgroup",["table"]),R=R||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]);else if(f.tag_name==="th"||f.tag_name==="td")R=R||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),R=R||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]);return f.parent=this._tag_stack.get_parser_token(),R};KY.Beautifier=Gf});var QF=C((H7,II)=>{var jY=LF().Beautifier,OY=fI().Options;function mY(f,R,h,A){var I=new jY(f,R,h,A);return I.beautify()}II.exports=mY;II.exports.defaultOptions=function(){return new OY}});var TF=C((sY,E0)=>{var qF=UF(),gF=WF(),yF=QF();function BF(f,R,h,A){return h=h||qF,A=A||gF,yF(f,R,h,A)}BF.defaultOptions=yF.defaultOptions;sY.js=qF;sY.css=gF;sY.html=BF});var jF=C((w7,vF)=>{function KF(f,R,h){var A=function(I,$){return f.js_beautify(I,$)};return A.js=f.js_beautify,A.css=R.css_beautify,A.html=h.html_beautify,A.js_beautify=f.js_beautify,A.css_beautify=R.css_beautify,A.html_beautify=h.html_beautify,A}if(typeof define==="function"&&define.amd)define(["./lib/beautify","./lib/beautify-css","./lib/beautify-html"],function(f,R,h){return KF(f,R,h)});else(function(f){var R=TF();R.js_beautify=R.js,R.css_beautify=R.css,R.html_beautify=R.html,f.exports=KF(R,R,R)})(vF)});class SR{}import{readdir as f8}from"fs/promises";class Th extends SR{f;constructor(f=`${process.env.ROOT_DIR}/storage`){super();this.folderPath=f}async put(f){let R,h;if(f instanceof Blob)R=f,h=`${Bh()}.${f.type.split("/")[1].split(";")[0]}`;else R=f.body,h=f.name;let A=R instanceof Buffer?R:Buffer.from(await R.arrayBuffer()),I=`${this.folderPath}/${h}`;return await Bun.write(I,A),h}async fetch(f){let R=process.env.BUCKET_NAME,h;if(typeof f==="string")h=f;else R=f.bucket??R,h=f.name;if(!h)throw new Error("Object name has to be specified");let A=`${this.folderPath}/${h}`,I=Bun.file(A),$=Bun.file(A).stream(),P=new Date(I.lastModified).toUTCString();return new Response($,{headers:{"Content-Type":I.type,"Content-Length":String(I.size),"Cache-Control":"private, max-age=12000, must-revalidate","Last-Modified":P}})}async list(){return await f8(this.folderPath)}}class UI extends $f{driver=new Th;boot(){}}function R8(f){return(R)=>async(h)=>{let{request:A}=h;if(Sf.isInstance(A)&&A.body&&f.runtime==="node"){if(f.requestHandler?.constructor?.name!=="FetchHttpHandler")A.headers={...A.headers,Expect:"100-continue"}}return R({...h,request:A})}}var h8={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0},HI=(f)=>({applyToStack:(R)=>{R.add(R8(f),h8)}});var bR={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},Kh=bR.WHEN_SUPPORTED,W0={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},vh=bR.WHEN_SUPPORTED,b;(function(f){f.MD5="MD5",f.CRC32="CRC32",f.CRC32C="CRC32C",f.SHA1="SHA1",f.SHA256="SHA256"})(b||(b={}));var wI;(function(f){f.HEADER="header",f.TRAILER="trailer"})(wI||(wI={}));var{MD5:FI,CRC32:EI}=b;var sf;(function(f){f.ENV="env",f.CONFIG="shared config entry"})(sf||(sf={}));var WR=(f,R,h,A)=>{if(!(R in f))return;let I=f[R].toUpperCase();if(!Object.values(h).includes(I))throw new TypeError(`Cannot load ${A} '${R}'. Expected one of ${Object.values(h)}, got '${f[R]}'.`);return I};var A8="AWS_REQUEST_CHECKSUM_CALCULATION",I8="request_checksum_calculation",NI={environmentVariableSelector:(f)=>WR(f,A8,bR,sf.ENV),configFileSelector:(f)=>WR(f,I8,bR,sf.CONFIG),default:Kh};var $8="AWS_RESPONSE_CHECKSUM_VALIDATION",P8="response_checksum_validation",GI={environmentVariableSelector:(f)=>WR(f,$8,W0,sf.ENV),configFileSelector:(f)=>WR(f,P8,W0,sf.CONFIG),default:vh};var cR=[b.CRC32,b.CRC32C,b.SHA1,b.SHA256],SI=[b.CRC32,b.CRC32C,b.SHA1,b.SHA256];var WI=(f,{requestChecksumRequired:R,requestAlgorithmMember:h},A)=>{let I=A?EI:FI;if(!h||!f[h])return R?I:void 0;let $=f[h];if(!cR.includes($))throw new Error(`The checksum algorithm "${$}" is not supported by the client. Select one of ${cR}.`);return $};var YR=(f)=>f===b.MD5?"content-md5":`x-amz-checksum-${f.toLowerCase()}`;var YI=(f,R)=>{let h=f.toLowerCase();for(let A of Object.keys(R))if(h===A.toLowerCase())return!0;return!1};var DR=(f)=>f!==void 0&&typeof f!=="string"&&!ArrayBuffer.isView(f)&&!DI(f);var MI=x(U8(),1),{__extends:CD,__assign:lD,__rest:bD,__decorate:cD,__param:dD,__esDecorate:kD,__runInitializers:rD,__propKey:xD,__setFunctionName:_D,__metadata:aD,__awaiter:jh,__generator:Oh,__exportStar:iD,__createBinding:pD,__values:mh,__read:eD,__spread:oD,__spreadArrays:nD,__spreadArray:uD,__await:tD,__asyncGenerator:f4,__asyncDelegator:R4,__asyncValues:h4,__makeTemplateObject:A4,__importStar:I4,__importDefault:$4,__classPrivateFieldGet:P4,__classPrivateFieldSet:U4,__classPrivateFieldIn:H4,__addDisposableResource:w4,__disposeResources:F4}=MI.default;import{Buffer as VI}from"buffer";var XI=(f,R)=>{if(typeof f!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof f} (${f})`);return R?VI.from(f,R):VI.from(f)};var Y0=(f)=>{let R=XI(f,"utf8");return new Uint8Array(R.buffer,R.byteOffset,R.byteLength/Uint8Array.BYTES_PER_ELEMENT)};var H8=typeof Buffer!=="undefined"&&Buffer.from?function(f){return Buffer.from(f,"utf8")}:Y0;function dR(f){if(f instanceof Uint8Array)return f;if(typeof f==="string")return H8(f);if(ArrayBuffer.isView(f))return new Uint8Array(f.buffer,f.byteOffset,f.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(f)}function kR(f){if(typeof f==="string")return f.length===0;return f.byteLength===0}function rR(f){return new Uint8Array([(f&4278190080)>>24,(f&16711680)>>16,(f&65280)>>8,f&255])}function xR(f){if(!Uint32Array.from){var R=new Uint32Array(f.length),h=0;while(h<f.length)R[h]=f[h],h+=1;return R}return Uint32Array.from(f)}var D0=function(){function f(){this.crc32=new fR}return f.prototype.update=function(R){if(kR(R))return;this.crc32.update(dR(R))},f.prototype.digest=function(){return jh(this,void 0,void 0,function(){return Oh(this,function(R){return[2,rR(this.crc32.digest())]})})},f.prototype.reset=function(){this.crc32=new fR},f}();var fR=function(){function f(){this.checksum=4294967295}return f.prototype.update=function(R){var h,A;try{for(var I=mh(R),$=I.next();!$.done;$=I.next()){var P=$.value;this.checksum=this.checksum>>>8^F8[(this.checksum^P)&255]}}catch(U){h={error:U}}finally{try{if($&&!$.done&&(A=I.return))A.call(I)}finally{if(h)throw h.error}}return this},f.prototype.digest=function(){return(this.checksum^4294967295)>>>0},f}();var w8=[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],F8=xR(w8);var V0=function(){function f(){this.crc32c=new M0}return f.prototype.update=function(R){if(kR(R))return;this.crc32c.update(dR(R))},f.prototype.digest=function(){return jh(this,void 0,void 0,function(){return Oh(this,function(R){return[2,rR(this.crc32c.digest())]})})},f.prototype.reset=function(){this.crc32c=new M0},f}();var M0=function(){function f(){this.checksum=4294967295}return f.prototype.update=function(R){var h,A;try{for(var I=mh(R),$=I.next();!$.done;$=I.next()){var P=$.value;this.checksum=this.checksum>>>8^N8[(this.checksum^P)&255]}}catch(U){h={error:U}}finally{try{if($&&!$.done&&(A=I.return))A.call(I)}finally{if(h)throw h.error}}return this},f.prototype.digest=function(){return(this.checksum^4294967295)>>>0},f}();var E8=[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],N8=xR(E8);var sh=(f,R)=>({[b.MD5]:R.md5,[b.CRC32]:D0,[b.CRC32C]:V0,[b.SHA1]:R.sha1,[b.SHA256]:R.sha256})[f];var lh=(f,R)=>{let h=new f;return h.update(Ch(R||"")),h.digest()};var ZI={name:"flexibleChecksumsMiddleware",step:"build",tags:["BODY_CHECKSUM"],override:!0},JI=(f,R)=>(h,A)=>async(I)=>{if(!Sf.isInstance(I.request))return h(I);let{request:$}=I,{body:P,headers:U}=$,{base64Encoder:H,streamHasher:F}=f,{input:N,requestChecksumRequired:W,requestAlgorithmMember:V}=R,S=WI(N,{requestChecksumRequired:W,requestAlgorithmMember:V},!!A.isS3ExpressBucket),L=P,K=U;if(S){let If=YR(S),Kf=sh(S,f);if(DR(P)){let{getAwsChunkedEncodingStream:lR,bodyLengthChecker:yh}=f;L=lR(P,{base64Encoder:H,bodyLengthChecker:yh,checksumLocationName:If,checksumAlgorithmFn:Kf,streamHasher:F}),K={...U,"content-encoding":U["content-encoding"]?`${U["content-encoding"]},aws-chunked`:"aws-chunked","transfer-encoding":"chunked","x-amz-decoded-content-length":U["content-length"],"x-amz-content-sha256":"STREAMING-UNSIGNED-PAYLOAD-TRAILER","x-amz-trailer":If},delete K["content-length"]}else if(!YI(If,U)){let lR=await lh(Kf,P);K={...U,[If]:H(lR)}}}return await h({...I,request:{...$,headers:K,body:L}})};var bh=(f=[])=>{let R=[];for(let h of SI){if(!f.includes(h)||!cR.includes(h))continue;R.push(h)}return R};var zI=(f)=>{let R=f.lastIndexOf("-");if(R!==-1){let h=f.slice(R+1);if(!h.startsWith("0")){let A=parseInt(h,10);if(!isNaN(A)&&A>=1&&A<=1e4)return!0}}return!1};import{Transform as G8}from"stream";function X0(f){let R=new G8;return R.push(f),R.push(null),R}var LI=async(f,{streamHasher:R,checksumAlgorithmFn:h,base64Encoder:A})=>{let I=DR(f)?R(h,f):lh(h,f);return A(await I)};var QI=async(f,{config:R,responseAlgorithms:h})=>{let A=bh(h),{body:I,headers:$}=f;for(let P of A){let U=YR(P),H=$[U];if(H){let F=sh(P,R),{streamHasher:N,base64Encoder:W}=R,V=await LI(I,{streamHasher:N,checksumAlgorithmFn:F,base64Encoder:W});if(V===H)break;throw new Error(`Checksum mismatch: expected "${V}" but received "${H}" in response header "${U}".`)}}};var qI={name:"flexibleChecksumsResponseMiddleware",toMiddleware:"deserializerMiddleware",relation:"after",tags:["BODY_CHECKSUM"],override:!0},gI=(f,R)=>(h,A)=>async(I)=>{if(!Sf.isInstance(I.request))return h(I);let $=I.input,P=await h(I),U=P.response,H=void 0,{requestValidationModeMember:F,responseAlgorithms:N}=R;if(F&&$[F]==="ENABLED"){let{clientName:W,commandName:V}=A;if(W==="S3Client"&&V==="GetObjectCommand"&&bh(N).every((K)=>{let Af=YR(K),If=U.headers[Af];return!If||zI(If)}))return P;let L=DR(U.body);if(L)H=await f.streamCollector(U.body),U.body=X0(H);if(await QI(P.response,{config:f,responseAlgorithms:N}),L&&H)U.body=X0(H)}return P};var ch=(f,R)=>({applyToStack:(h)=>{h.add(JI(f,R),ZI),h.addRelativeTo(gI(f,R),qI)}});var Z0=x(J0(),1);var yI=(f)=>({...f,requestChecksumCalculation:Z0.normalizeProvider(f.requestChecksumCalculation??Kh),responseChecksumValidation:Z0.normalizeProvider(f.responseChecksumValidation??vh)});var S8="content-length";function W8(){return(f,R)=>async(h)=>{let{request:A}=h;if(Sf.isInstance(A)){if(!(S8 in A.headers))if(typeof R?.logger?.warn==="function"&&!(R.logger instanceof dh))R.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({...h})}}var Y8={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0},BI=(f)=>({applyToStack:(R)=>{R.add(W8(),Y8)}});var TI=(f)=>{return(R,h)=>async(A)=>{let I=await f.region(),$=f.region,P=()=>{};if(h.__s3RegionRedirect)Object.defineProperty(f,"region",{writable:!1,value:async()=>{return h.__s3RegionRedirect}}),P=()=>Object.defineProperty(f,"region",{writable:!0,value:$});try{let U=await R(A);if(h.__s3RegionRedirect){P();let H=await f.region();if(I!==H)throw new Error("Region was not restored following S3 region redirect.")}return U}catch(U){throw P(),U}}},KI={tags:["REGION_REDIRECT","S3"],name:"regionRedirectEndpointMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};function D8(f){return(R,h)=>async(A)=>{try{return await R(A)}catch(I){if(f.followRegionRedirects&&I?.$metadata?.httpStatusCode===301){try{let $=I.$response.headers["x-amz-bucket-region"];h.logger?.debug(`Redirecting from ${await f.region()} to ${$}`),h.__s3RegionRedirect=$}catch($){throw new Error("Region redirect failed: "+$)}return R(A)}else throw I}}}var M8={step:"initialize",tags:["REGION_REDIRECT","S3"],name:"regionRedirectMiddleware",override:!0},vI=(f)=>({applyToStack:(R)=>{R.add(D8(f),M8),R.addRelativeTo(TI(f),KI)}});var V8=(f)=>{return(R,h)=>async(A)=>{let I=await R(A),{response:$}=I;if(kh.isInstance($)){if($.headers.expires){$.headers.expiresstring=$.headers.expires;try{_R($.headers.expires)}catch(P){h.logger?.warn(`AWS SDK Warning for ${h.clientName}::${h.commandName} response parsing (${$.headers.expires}): ${P}`),delete $.headers.expires}}}return I}},X8={tags:["S3"],name:"s3ExpiresMiddleware",override:!0,relation:"after",toMiddleware:"deserializerMiddleware"},jI=(f)=>({applyToStack:(R)=>{R.addRelativeTo(V8(f),X8)}});class MR{constructor(f={}){this.data=f,this.lastPurgeTime=Date.now()}get(f){let R=this.data[f];if(!R)return;return R}set(f,R){return this.data[f]=R,R}delete(f){delete this.data[f]}async purgeExpired(){let f=Date.now();if(this.lastPurgeTime+MR.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>f)return;for(let R in this.data){let h=this.data[R];if(!h.isRefreshing){let A=await h.identity;if(A.expiration){if(A.expiration.getTime()<f)delete this.data[R]}}}}}MR.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=30000;class VR{constructor(f,R=!1,h=Date.now()){this._identity=f,this.isRefreshing=R,this.accessed=h}get identity(){return this.accessed=Date.now(),this._identity}}class XR{constructor(f,R=new MR){this.createSessionFn=f,this.cache=R}async getS3ExpressIdentity(f,R){let h=R.Bucket,{cache:A}=this,I=A.get(h);if(I)return I.identity.then(($)=>{if(($.expiration?.getTime()??0)<Date.now())return A.set(h,new VR(this.getIdentity(h))).identity;if(($.expiration?.getTime()??0)<Date.now()+XR.REFRESH_WINDOW_MS&&!I.isRefreshing)I.isRefreshing=!0,this.getIdentity(h).then((H)=>{A.set(h,new VR(Promise.resolve(H)))});return $});return A.set(h,new VR(this.getIdentity(h))).identity}async getIdentity(f){await this.cache.purgeExpired().catch((A)=>{console.warn("Error while clearing expired entries in S3ExpressIdentityCache: \n"+A)});let R=await this.createSessionFn(f);if(!R.Credentials?.AccessKeyId||!R.Credentials?.SecretAccessKey)throw new Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey.");return{accessKeyId:R.Credentials.AccessKeyId,secretAccessKey:R.Credentials.SecretAccessKey,sessionToken:R.Credentials.SessionToken,expiration:R.Credentials.Expiration?new Date(R.Credentials.Expiration):void 0}}}XR.REFRESH_WINDOW_MS=60000;var bI=x(z8(),1);var OI="Directory",mI="S3Express",sI="sigv4-s3express",rh="X-Amz-S3session-Token",aR=rh.toLowerCase(),Z8="AWS_S3_DISABLE_EXPRESS_SESSION_AUTH",J8="s3_disable_express_session_auth",z0={environmentVariableSelector:(f)=>RR(f,Z8,hR.ENV),configFileSelector:(f)=>RR(f,J8,hR.CONFIG),default:!1};class xh extends bI.SignatureV4{async signWithCredentials(f,R,h){let A=CI(R);f.headers[aR]=R.sessionToken;let I=this;return lI(I,A),I.signRequest(f,h??{})}async presignWithCredentials(f,R,h){let A=CI(R);return delete f.headers[aR],f.headers[rh]=R.sessionToken,f.query=f.query??{},f.query[rh]=R.sessionToken,lI(this,A),this.presign(f,h)}}function CI(f){return{accessKeyId:f.accessKeyId,secretAccessKey:f.secretAccessKey,expiration:f.expiration}}function lI(f,R){let h=setTimeout(()=>{throw new Error("SignatureV4S3Express credential override was created but not called.")},10),A=f.credentialProvider,I=()=>{return clearTimeout(h),f.credentialProvider=A,Promise.resolve(R)};f.credentialProvider=I}var cI=(f)=>{return(R,h)=>async(A)=>{if(h.endpointV2){let I=h.endpointV2,$=I.properties?.authSchemes?.[0]?.name===sI;if(I.properties?.backend===mI||I.properties?.bucketType===OI)h.isS3ExpressBucket=!0;if($){let U=A.input.Bucket;if(U){let H=await f.s3ExpressIdentityProvider.getS3ExpressIdentity(await f.credentials(),{Bucket:U});if(h.s3ExpressIdentity=H,Sf.isInstance(A.request)&&H.sessionToken)A.request.headers[aR]=H.sessionToken}}}return R(A)}},dI={name:"s3ExpressMiddleware",step:"build",tags:["S3","S3_EXPRESS"],override:!0},L0=(f)=>({applyToStack:(R)=>{R.add(cI(f),dI)}});var rI=x(Q0(),1);var Q8=x(L8(),1),xI=x(J0(),1);var kI=async(f,R,h,A)=>{let I=await A.signWithCredentials(h,f,{});if(I.headers["X-Amz-Security-Token"]||I.headers["x-amz-security-token"])throw new Error("X-Amz-Security-Token must not be set for s3-express requests.");return I};var q8=(f)=>(R)=>{throw R},g8=(f,R)=>{};var _I=(f)=>(R,h)=>async(A)=>{if(!Sf.isInstance(A.request))return R(A);let $=xI.getSmithyContext(h).selectedHttpAuthScheme;if(!$)throw new Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:P={}},identity:U,signer:H}=$,F;if(h.s3ExpressIdentity)F=await kI(h.s3ExpressIdentity,P,A.request,await f.signer());else F=await H.sign(A.request,U,P);let N=await R({...A,request:F}).catch((H.errorHandler||q8)(P));return(H.successHandler||g8)(N.response,P),N},q0=(f)=>({applyToStack:(R)=>{R.addRelativeTo(_I(f),rI.httpSigningMiddlewareOptions)}});var aI=(f,{session:R})=>{let[h,A]=R;return{...f,forcePathStyle:f.forcePathStyle??!1,useAccelerateEndpoint:f.useAccelerateEndpoint??!1,disableMultiregionAccessPoints:f.disableMultiregionAccessPoints??!1,followRegionRedirects:f.followRegionRedirects??!1,s3ExpressIdentityProvider:f.s3ExpressIdentityProvider??new XR(async(I)=>h().send(new A({Bucket:I,SessionMode:"ReadWrite"}))),bucketEndpoint:f.bucketEndpoint??!1}};var y8={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},B8=3000,T8=(f)=>(R,h)=>async(A)=>{let I=await R(A),{response:$}=I;if(!kh.isInstance($))return I;let{statusCode:P,body:U}=$;if(P<200||P>=300)return I;if(!(typeof U?.stream==="function"||typeof U?.pipe==="function"||typeof U?.tee==="function"))return I;let F=U,N=U;if(U&&typeof U==="object"&&!(U instanceof Uint8Array))[F,N]=await iI(U);$.body=N;let W=await K8(F,{streamCollector:async(S)=>{return pI(S,B8)}});if(typeof F?.destroy==="function")F.destroy();let V=f.utf8Encoder(W.subarray(W.length-16));if(W.length===0&&y8[h.commandName]){let S=new Error("S3 aborted request");throw S.name="InternalError",S}if(V&&V.endsWith("</Error>"))$.statusCode=400;return I},K8=(f=new Uint8Array,R)=>{if(f instanceof Uint8Array)return Promise.resolve(f);return R.streamCollector(f)||Promise.resolve(new Uint8Array)},v8={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},ZR=(f)=>({applyToStack:(R)=>{R.addRelativeTo(T8(f),v8)}});var g0=(f)=>typeof f==="string"&&f.indexOf("arn:")===0&&f.split(":").length>=6;function eI(f){return(R,h)=>async(A)=>{if(f.bucketEndpoint){let I=h.endpointV2;if(I){let $=A.input.Bucket;if(typeof $==="string")try{let P=new URL($);h.endpointV2={...I,url:P}}catch(P){let U=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${$} could not be parsed as URL.`;if(h.logger?.constructor?.name==="NoOpLogger")console.warn(U);else h.logger?.warn?.(U);throw P}}}return R(A)}}var oI={name:"bucketEndpointMiddleware",override:!0,relation:"after",toMiddleware:"endpointV2Middleware"};function j8({bucketEndpoint:f}){return(R)=>async(h)=>{let{input:{Bucket:A}}=h;if(!f&&typeof A==="string"&&!g0(A)&&A.indexOf("/")>=0){let I=new Error(`Bucket name shouldn't contain '/', received '${A}'`);throw I.name="InvalidBucketName",I}return R({...h})}}var O8={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0},nI=(f)=>({applyToStack:(R)=>{R.add(j8(f),O8),R.addRelativeTo(eI(f),oI)}});var gR=x(Q0(),1);var uI=(f)=>({...f,eventStreamMarshaller:f.eventStreamSerdeProvider(f)});var fA=x(th(),1);var _h={CrtSignerV4:null};class y0{constructor(f){this.sigv4Signer=new xh(f),this.signerOptions=f}async sign(f,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().sign(f,R)}return this.sigv4Signer.sign(f,R)}async signWithCredentials(f,R,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().signWithCredentials(f,R,h)}return this.sigv4Signer.signWithCredentials(f,R,h)}async presign(f,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().presign(f,R)}return this.sigv4Signer.presign(f,R)}async presignWithCredentials(f,R,h={}){if(h.signingRegion==="*")throw new Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(f,R,h)}getSigv4aSigner(){if(!this.sigv4aSigner){let f=null;try{if(f=_h.CrtSignerV4,typeof f!=="function")throw new Error}catch(R){throw R.message=`${R.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`,R}this.sigv4aSigner=new f({...this.signerOptions,signingAlgorithm:1})}return this.sigv4aSigner}}var eR=x(J0(),1);var JR={["required"]:!1,["type"]:"String"},zR={["required"]:!0,default:!1,["type"]:"Boolean"},iR={["required"]:!1,["type"]:"Boolean"},Zf={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"Accelerate"},!0]},m={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseFIPS"},!0]},O={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseDualStack"},!0]},d={["fn"]:"isSet",["argv"]:[{["ref"]:"Endpoint"}]},r$={["fn"]:"aws.partition",["argv"]:[{["ref"]:"Region"}],["assign"]:"partitionResult"},tI={["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[{["ref"]:"partitionResult"},"name"]},"aws-cn"]},oh={["fn"]:"isSet",["argv"]:[{["ref"]:"Bucket"}]},Hf={["ref"]:"Bucket"},Uf={["fn"]:"parseURL",["argv"]:[{["ref"]:"Endpoint"}],["assign"]:"url"},eh={["fn"]:"booleanEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[{["ref"]:"url"},"isIp"]},!0]},x$={["ref"]:"url"},_$={["fn"]:"uriEncode",["argv"]:[Hf],["assign"]:"uri_encoded_bucket"},vf={["backend"]:"S3Express",["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3express",["signingRegion"]:"{Region}"}]},M={},a$={["fn"]:"aws.isVirtualHostableS3Bucket",["argv"]:[Hf,!1]},B0={["error"]:"S3Express bucket name is not a valid virtual hostable name.",["type"]:"error"},nh={["backend"]:"S3Express",["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4-s3express",["signingName"]:"s3express",["signingRegion"]:"{Region}"}]},f$={["fn"]:"isSet",["argv"]:[{["ref"]:"UseS3ExpressControlEndpoint"}]},R$={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseS3ExpressControlEndpoint"},!0]},X={["fn"]:"not",["argv"]:[d]},h$={["error"]:"Unrecognized S3Express bucket name format.",["type"]:"error"},A$={["fn"]:"not",["argv"]:[oh]},I$={["ref"]:"hardwareType"},$$={["conditions"]:[X],["error"]:"Expected a endpoint to be specified but no endpoint was found",["type"]:"error"},ah={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4a",["signingName"]:"s3-outposts",["signingRegionSet"]:["*"]},{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-outposts",["signingRegion"]:"{Region}"}]},T0={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"ForcePathStyle"},!1]},m8={["ref"]:"ForcePathStyle"},c={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"Accelerate"},!1]},_={["fn"]:"stringEquals",["argv"]:[{["ref"]:"Region"},"aws-global"]},a={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3",["signingRegion"]:"us-east-1"}]},Q={["fn"]:"not",["argv"]:[_]},i={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseGlobalEndpoint"},!0]},P$={["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}"}]},p={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseGlobalEndpoint"},!1]},z={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseDualStack"},!1]},U$={["url"]:"https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},J={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseFIPS"},!1]},H$={["url"]:"https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},w$={["url"]:"https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},K0={["fn"]:"booleanEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[x$,"isIp"]},!1]},v0={["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",["properties"]:k,["headers"]:{}},u0={["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:k,["headers"]:{}},F$={["endpoint"]:u0,["type"]:"endpoint"},j0={["url"]:"https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},E$={["url"]:"https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},ih={["error"]:"Invalid region: region was not a valid DNS name.",["type"]:"error"},Ef={["ref"]:"bucketArn"},i$={["ref"]:"arnType"},O0={["fn"]:"getAttr",["argv"]:[Ef,"service"]},t0={["ref"]:"accessPointName"},N$={["conditions"]:[O],["error"]:"S3 Object Lambda does not support Dual-stack",["type"]:"error"},G$={["conditions"]:[Zf],["error"]:"S3 Object Lambda does not support S3 Accelerate",["type"]:"error"},S$={["conditions"]:[{["fn"]:"isSet",["argv"]:[{["ref"]:"DisableAccessPoints"}]},{["fn"]:"booleanEquals",["argv"]:[{["ref"]:"DisableAccessPoints"},!0]}],["error"]:"Access points are not supported for this operation",["type"]:"error"},m0={["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"},p$={["fn"]:"getAttr",["argv"]:[{["ref"]:"bucketPartition"},"name"]},e$={["fn"]:"getAttr",["argv"]:[Ef,"accountId"]},s0={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-object-lambda",["signingRegion"]:"{bucketArn#region}"}]},W$={["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"},l0={["error"]:"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)",["type"]:"error"},b0={["error"]:"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`",["type"]:"error"},Y$={["error"]:"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.",["type"]:"error"},D$={["error"]:"Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided",["type"]:"error"},pR={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3",["signingRegion"]:"{bucketArn#region}"}]},M$={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4a",["signingName"]:"s3-outposts",["signingRegionSet"]:["*"]},{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-outposts",["signingRegion"]:"{bucketArn#region}"}]},V$={["fn"]:"aws.parseArn",["argv"]:[Hf]},X$={["url"]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:k,["headers"]:{}},Z$={["url"]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:k,["headers"]:{}},J$={["url"]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:k,["headers"]:{}},c0={["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",["properties"]:k,["headers"]:{}},z$={["url"]:"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:k,["headers"]:{}},L$={["ref"]:"UseObjectLambdaEndpoint"},d0={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-object-lambda",["signingRegion"]:"{Region}"}]},Q$={["url"]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},q$={["url"]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},g$={["url"]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},k0={["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:k,["headers"]:{}},y$={["url"]:"https://s3.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},r0=[{["ref"]:"Region"}],s8=[{["ref"]:"Endpoint"}],C8=[Hf],x0=[O],ph=[Zf],AR=[d,Uf],B$=[{["fn"]:"isSet",["argv"]:[{["ref"]:"DisableS3ExpressSessionAuth"}]},{["fn"]:"booleanEquals",["argv"]:[{["ref"]:"DisableS3ExpressSessionAuth"},!0]}],T$=[eh],_0=[_$],a0=[a$],LR=[m],K$=[{["fn"]:"substring",["argv"]:[Hf,6,14,!0],["assign"]:"s3expressAvailabilityZoneId"},{["fn"]:"substring",["argv"]:[Hf,14,16,!0],["assign"]:"s3expressAvailabilityZoneDelim"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"s3expressAvailabilityZoneDelim"},"--"]}],v$=[{["conditions"]:[m],["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"}],j$=[{["fn"]:"substring",["argv"]:[Hf,6,15,!0],["assign"]:"s3expressAvailabilityZoneId"},{["fn"]:"substring",["argv"]:[Hf,15,17,!0],["assign"]:"s3expressAvailabilityZoneDelim"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"s3expressAvailabilityZoneDelim"},"--"]}],O$=[{["conditions"]:[m],["endpoint"]:{["url"]:"https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",["properties"]:nh,["headers"]:{}},["type"]:"endpoint"},{["endpoint"]:{["url"]:"https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",["properties"]:nh,["headers"]:{}},["type"]:"endpoint"}],l8=[oh],m$=[{["fn"]:"isValidHostLabel",["argv"]:[{["ref"]:"outpostId"},!1]}],s$=[{["fn"]:"stringEquals",["argv"]:[{["ref"]:"regionPrefix"},"beta"]}],b8=["*"],Cf=[r$],C$=[{["fn"]:"isValidHostLabel",["argv"]:[{["ref"]:"Region"},!1]}],lf=[{["fn"]:"stringEquals",["argv"]:[{["ref"]:"Region"},"us-east-1"]}],i0=[{["fn"]:"stringEquals",["argv"]:[i$,"accesspoint"]}],l$=[{["fn"]:"getAttr",["argv"]:[Ef,"resourceId[1]"],["assign"]:"accessPointName"},{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[t0,""]}]}],c8=[Ef,"resourceId[1]"],p0=[{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ef,"region"]},""]}]}],b$=[{["fn"]:"not",["argv"]:[{["fn"]:"isSet",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ef,"resourceId[2]"]}]}]}],d8=[Ef,"resourceId[2]"],e0=[{["fn"]:"aws.partition",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ef,"region"]}],["assign"]:"bucketPartition"}],c$=[{["fn"]:"stringEquals",["argv"]:[p$,{["fn"]:"getAttr",["argv"]:[{["ref"]:"partitionResult"},"name"]}]}],o0=[{["fn"]:"isValidHostLabel",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ef,"region"]},!0]}],n0=[{["fn"]:"isValidHostLabel",["argv"]:[e$,!1]}],d$=[{["fn"]:"isValidHostLabel",["argv"]:[t0,!1]}],k$=[{["fn"]:"isValidHostLabel",["argv"]:[{["ref"]:"Region"},!0]}],k8={version:"1.0",parameters:{Bucket:JR,Region:JR,UseFIPS:zR,UseDualStack:zR,Endpoint:JR,ForcePathStyle:zR,Accelerate:zR,UseGlobalEndpoint:zR,UseObjectLambdaEndpoint:iR,Key:JR,Prefix:JR,CopySource:JR,DisableAccessPoints:iR,DisableMultiRegionAccessPoints:zR,UseArnRegion:iR,UseS3ExpressControlEndpoint:iR,DisableS3ExpressSessionAuth:iR},rules:[{["conditions"]:[{["fn"]:"isSet",["argv"]:r0}],rules:[{["conditions"]:[Zf,m],error:"Accelerate cannot be used with FIPS",["type"]:"error"},{["conditions"]:[O,d],error:"Cannot set dual-stack in combination with a custom endpoint.",["type"]:"error"},{["conditions"]:[d,m],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"]:[m,r$,tI],error:"Partition does not support FIPS",["type"]:"error"},{["conditions"]:[oh,{["fn"]:"substring",["argv"]:[Hf,0,6,!0],["assign"]:"bucketSuffix"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"bucketSuffix"},"--x-s3"]}],rules:[{["conditions"]:x0,error:"S3Express does not support Dual-stack.",["type"]:"error"},{["conditions"]:ph,error:"S3Express does not support S3 Accelerate.",["type"]:"error"},{["conditions"]:AR,rules:[{["conditions"]:B$,rules:[{["conditions"]:T$,rules:[{["conditions"]:_0,rules:[{endpoint:{["url"]:"{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",["properties"]:vf,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:a0,rules:[{endpoint:{["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:vf,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},B0],["type"]:"tree"},{["conditions"]:T$,rules:[{["conditions"]:_0,rules:[{endpoint:{["url"]:"{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",["properties"]:nh,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:a0,rules:[{endpoint:{["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:nh,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},B0],["type"]:"tree"},{["conditions"]:[f$,R$],rules:[{["conditions"]:[_$,X],rules:[{["conditions"]:LR,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"]:a0,rules:[{["conditions"]:B$,rules:[{["conditions"]:K$,rules:v$,["type"]:"tree"},{["conditions"]:j$,rules:v$,["type"]:"tree"},h$],["type"]:"tree"},{["conditions"]:K$,rules:O$,["type"]:"tree"},{["conditions"]:j$,rules:O$,["type"]:"tree"},h$],["type"]:"tree"},B0],["type"]:"tree"},{["conditions"]:[A$,f$,R$],rules:[{["conditions"]:AR,endpoint:{["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:vf,["headers"]:M},["type"]:"endpoint"},{["conditions"]:LR,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"]:[oh,{["fn"]:"substring",["argv"]:[Hf,49,50,!0],["assign"]:"hardwareType"},{["fn"]:"substring",["argv"]:[Hf,8,12,!0],["assign"]:"regionPrefix"},{["fn"]:"substring",["argv"]:[Hf,0,7,!0],["assign"]:"bucketAliasSuffix"},{["fn"]:"substring",["argv"]:[Hf,32,49,!0],["assign"]:"outpostId"},{["fn"]:"aws.partition",["argv"]:r0,["assign"]:"regionPartition"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"bucketAliasSuffix"},"--op-s3"]}],rules:[{["conditions"]:m$,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[I$,"e"]}],rules:[{["conditions"]:s$,rules:[$$,{["conditions"]:AR,endpoint:{["url"]:"https://{Bucket}.ec2.{url#authority}",["properties"]:ah,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},{endpoint:{["url"]:"https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}",["properties"]:ah,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[I$,"o"]}],rules:[{["conditions"]:s$,rules:[$$,{["conditions"]:AR,endpoint:{["url"]:"https://{Bucket}.op-{outpostId}.{url#authority}",["properties"]:ah,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},{endpoint:{["url"]:"https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}",["properties"]:ah,["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"]:l8,rules:[{["conditions"]:[d,{["fn"]:"not",["argv"]:[{["fn"]:"isSet",["argv"]:[{["fn"]:"parseURL",["argv"]:s8}]}]}],error:"Custom endpoint `{Endpoint}` was not a valid URI",["type"]:"error"},{["conditions"]:[T0,a$],rules:[{["conditions"]:Cf,rules:[{["conditions"]:C$,rules:[{["conditions"]:[Zf,tI],error:"S3 Accelerate cannot be used in this region",["type"]:"error"},{["conditions"]:[O,m,c,X,_],endpoint:{["url"]:"https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[O,m,c,X,Q,i],rules:[{endpoint:P$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[O,m,c,X,Q,p],endpoint:P$,["type"]:"endpoint"},{["conditions"]:[z,m,c,X,_],endpoint:{["url"]:"https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,m,c,X,Q,i],rules:[{endpoint:U$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[z,m,c,X,Q,p],endpoint:U$,["type"]:"endpoint"},{["conditions"]:[O,J,Zf,X,_],endpoint:{["url"]:"https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[O,J,Zf,X,Q,i],rules:[{endpoint:H$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[O,J,Zf,X,Q,p],endpoint:H$,["type"]:"endpoint"},{["conditions"]:[O,J,c,X,_],endpoint:{["url"]:"https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[O,J,c,X,Q,i],rules:[{endpoint:w$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[O,J,c,X,Q,p],endpoint:w$,["type"]:"endpoint"},{["conditions"]:[z,J,c,d,Uf,eh,_],endpoint:{["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,J,c,d,Uf,K0,_],endpoint:{["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,J,c,d,Uf,eh,Q,i],rules:[{["conditions"]:lf,endpoint:v0,["type"]:"endpoint"},{endpoint:v0,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[z,J,c,d,Uf,K0,Q,i],rules:[{["conditions"]:lf,endpoint:u0,["type"]:"endpoint"},F$],["type"]:"tree"},{["conditions"]:[z,J,c,d,Uf,eh,Q,p],endpoint:v0,["type"]:"endpoint"},{["conditions"]:[z,J,c,d,Uf,K0,Q,p],endpoint:u0,["type"]:"endpoint"},{["conditions"]:[z,J,Zf,X,_],endpoint:{["url"]:"https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,J,Zf,X,Q,i],rules:[{["conditions"]:lf,endpoint:j0,["type"]:"endpoint"},{endpoint:j0,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[z,J,Zf,X,Q,p],endpoint:j0,["type"]:"endpoint"},{["conditions"]:[z,J,c,X,_],endpoint:{["url"]:"https://{Bucket}.s3.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,J,c,X,Q,i],rules:[{["conditions"]:lf,endpoint:{["url"]:"https://{Bucket}.s3.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:M},["type"]:"endpoint"},{endpoint:E$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[z,J,c,X,Q,p],endpoint:E$,["type"]:"endpoint"}],["type"]:"tree"},ih],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[d,Uf,{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[x$,"scheme"]},"http"]},{["fn"]:"aws.isVirtualHostableS3Bucket",["argv"]:[Hf,!0]},T0,J,z,c],rules:[{["conditions"]:Cf,rules:[{["conditions"]:C$,rules:[F$],["type"]:"tree"},ih],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[T0,{["fn"]:"aws.parseArn",["argv"]:C8,["assign"]:"bucketArn"}],rules:[{["conditions"]:[{["fn"]:"getAttr",["argv"]:[Ef,"resourceId[0]"],["assign"]:"arnType"},{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[i$,""]}]}],rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[O0,"s3-object-lambda"]}],rules:[{["conditions"]:i0,rules:[{["conditions"]:l$,rules:[N$,G$,{["conditions"]:p0,rules:[S$,{["conditions"]:b$,rules:[m0,{["conditions"]:e0,rules:[{["conditions"]:Cf,rules:[{["conditions"]:c$,rules:[{["conditions"]:o0,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[e$,""]}],error:"Invalid ARN: Missing account id",["type"]:"error"},{["conditions"]:n0,rules:[{["conditions"]:d$,rules:[{["conditions"]:AR,endpoint:{["url"]:"{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}",["properties"]:s0,["headers"]:M},["type"]:"endpoint"},{["conditions"]:LR,endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:s0,["headers"]:M},["type"]:"endpoint"},{endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:s0,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},W$],["type"]:"tree"},C0],["type"]:"tree"},l0],["type"]:"tree"},b0],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},Y$],["type"]:"tree"},{error:"Invalid ARN: bucket ARN is missing a region",["type"]:"error"}],["type"]:"tree"},D$],["type"]:"tree"},{error:"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`",["type"]:"error"}],["type"]:"tree"},{["conditions"]:i0,rules:[{["conditions"]:l$,rules:[{["conditions"]:p0,rules:[{["conditions"]:i0,rules:[{["conditions"]:p0,rules:[S$,{["conditions"]:b$,rules:[m0,{["conditions"]:e0,rules:[{["conditions"]:Cf,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[p$,"{partitionResult#name}"]}],rules:[{["conditions"]:o0,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[O0,"s3"]}],rules:[{["conditions"]:n0,rules:[{["conditions"]:d$,rules:[{["conditions"]:ph,error:"Access Points do not support S3 Accelerate",["type"]:"error"},{["conditions"]:[m,O],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:pR,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[m,z],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:pR,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,O],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:pR,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,z,d,Uf],endpoint:{["url"]:"{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}",["properties"]:pR,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,z],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:pR,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},W$],["type"]:"tree"},C0],["type"]:"tree"},{error:"Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}",["type"]:"error"}],["type"]:"tree"},l0],["type"]:"tree"},b0],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},Y$],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[{["fn"]:"isValidHostLabel",["argv"]:[t0,!0]}],rules:[{["conditions"]:x0,error:"S3 MRAP does not support dual-stack",["type"]:"error"},{["conditions"]:LR,error:"S3 MRAP does not support FIPS",["type"]:"error"},{["conditions"]:ph,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"]:r0,["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"]:b8}]},["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"},D$],["type"]:"tree"},{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[O0,"s3-outposts"]}],rules:[{["conditions"]:x0,error:"S3 Outposts does not support Dual-stack",["type"]:"error"},{["conditions"]:LR,error:"S3 Outposts does not support FIPS",["type"]:"error"},{["conditions"]:ph,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"]:c8,["assign"]:"outpostId"}],rules:[{["conditions"]:m$,rules:[m0,{["conditions"]:e0,rules:[{["conditions"]:Cf,rules:[{["conditions"]:c$,rules:[{["conditions"]:o0,rules:[{["conditions"]:n0,rules:[{["conditions"]:[{["fn"]:"getAttr",["argv"]:d8,["assign"]:"outpostType"}],rules:[{["conditions"]:[{["fn"]:"getAttr",["argv"]:[Ef,"resourceId[3]"],["assign"]:"accessPointName"}],rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[{["ref"]:"outpostType"},"accesspoint"]}],rules:[{["conditions"]:AR,endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}",["properties"]:M$,["headers"]:M},["type"]:"endpoint"},{endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:M$,["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"},l0],["type"]:"tree"},b0],["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"]:[Hf,0,4,!1],["assign"]:"arnPrefix"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"arnPrefix"},"arn:"]},{["fn"]:"not",["argv"]:[{["fn"]:"isSet",["argv"]:[V$]}]}],error:"Invalid ARN: `{Bucket}` was not a valid ARN",["type"]:"error"},{["conditions"]:[{["fn"]:"booleanEquals",["argv"]:[m8,!0]},V$],error:"Path-style addressing cannot be used with ARN buckets",["type"]:"error"},{["conditions"]:_0,rules:[{["conditions"]:Cf,rules:[{["conditions"]:[c],rules:[{["conditions"]:[O,X,m,_],endpoint:{["url"]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[O,X,m,Q,i],rules:[{endpoint:X$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[O,X,m,Q,p],endpoint:X$,["type"]:"endpoint"},{["conditions"]:[z,X,m,_],endpoint:{["url"]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,X,m,Q,i],rules:[{endpoint:Z$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[z,X,m,Q,p],endpoint:Z$,["type"]:"endpoint"},{["conditions"]:[O,X,J,_],endpoint:{["url"]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[O,X,J,Q,i],rules:[{endpoint:J$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[O,X,J,Q,p],endpoint:J$,["type"]:"endpoint"},{["conditions"]:[z,d,Uf,J,_],endpoint:{["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,d,Uf,J,Q,i],rules:[{["conditions"]:lf,endpoint:c0,["type"]:"endpoint"},{endpoint:c0,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[z,d,Uf,J,Q,p],endpoint:c0,["type"]:"endpoint"},{["conditions"]:[z,X,J,_],endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,X,J,Q,i],rules:[{["conditions"]:lf,endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:k,["headers"]:M},["type"]:"endpoint"},{endpoint:z$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[z,X,J,Q,p],endpoint:z$,["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"]:[L$]},{["fn"]:"booleanEquals",["argv"]:[L$,!0]}],rules:[{["conditions"]:Cf,rules:[{["conditions"]:k$,rules:[N$,G$,{["conditions"]:AR,endpoint:{["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:d0,["headers"]:M},["type"]:"endpoint"},{["conditions"]:LR,endpoint:{["url"]:"https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}",["properties"]:d0,["headers"]:M},["type"]:"endpoint"},{endpoint:{["url"]:"https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}",["properties"]:d0,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},ih],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[A$],rules:[{["conditions"]:Cf,rules:[{["conditions"]:k$,rules:[{["conditions"]:[m,O,X,_],endpoint:{["url"]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[m,O,X,Q,i],rules:[{endpoint:Q$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[m,O,X,Q,p],endpoint:Q$,["type"]:"endpoint"},{["conditions"]:[m,z,X,_],endpoint:{["url"]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[m,z,X,Q,i],rules:[{endpoint:q$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[m,z,X,Q,p],endpoint:q$,["type"]:"endpoint"},{["conditions"]:[J,O,X,_],endpoint:{["url"]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,O,X,Q,i],rules:[{endpoint:g$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[J,O,X,Q,p],endpoint:g$,["type"]:"endpoint"},{["conditions"]:[J,z,d,Uf,_],endpoint:{["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,z,d,Uf,Q,i],rules:[{["conditions"]:lf,endpoint:k0,["type"]:"endpoint"},{endpoint:k0,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[J,z,d,Uf,Q,p],endpoint:k0,["type"]:"endpoint"},{["conditions"]:[J,z,X,_],endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,z,X,Q,i],rules:[{["conditions"]:lf,endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:M},["type"]:"endpoint"},{endpoint:y$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[J,z,X,Q,p],endpoint:y$,["type"]:"endpoint"}],["type"]:"tree"},ih],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},{error:"A region must be set when sending requests to S3.",["type"]:"error"}]},o$=k8;var r8=new n$({size:50,params:["Accelerate","Bucket","DisableAccessPoints","DisableMultiRegionAccessPoints","DisableS3ExpressSessionAuth","Endpoint","ForcePathStyle","Region","UseArnRegion","UseDualStack","UseFIPS","UseGlobalEndpoint","UseObjectLambdaEndpoint","UseS3ExpressControlEndpoint"]}),uh=(f,R={})=>{return r8.get(f,()=>t$(o$,{endpointParams:f,logger:R.logger}))};u$.aws=fP;var x8=(f)=>async(R,h,A)=>{if(!A)throw new Error("Could not find \`input\` for \`defaultEndpointRuleSetHttpAuthSchemeParametersProvider\`");let I=await f(R,h,A),$=eR.getSmithyContext(h)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!$)throw new Error(`getEndpointParameterInstructions() is not defined on \`${h.commandName}\``);let P=await RP(A,{getEndpointParameterInstructions:$},R);return Object.assign(I,P)},_8=async(f,R,h)=>{return{operation:eR.getSmithyContext(R).operation,region:await eR.normalizeProvider(f.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}},hP=x8(_8);function AP(f){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"s3",region:f.region},propertiesExtractor:(R,h)=>({signingProperties:{config:R,context:h}})}}function IP(f){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"s3",region:f.region},propertiesExtractor:(R,h)=>({signingProperties:{config:R,context:h}})}}var a8=(f,R,h)=>{return(I)=>{let P=f(I).properties?.authSchemes;if(!P)return R(I);let U=[];for(let H of P){let{name:F,properties:N={},...W}=H,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=P.find((If)=>{let Kf=If.name.toLowerCase();return Kf!=="sigv4a"&&Kf.startsWith("sigv4")});if(!_h.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=h[S];if(!L)throw new Error(`Could not find HttpAuthOption create function for \`${S}\``);let K=L(I);K.schemeId=S,K.signingProperties={...K.signingProperties||{},...W,...N},U.push(K)}return U}},i8=(f)=>{let R=[];switch(f.operation){default:R.push(AP(f)),R.push(IP(f))}return R},$P=a8(uh,i8,{"aws.auth#sigv4":AP,"aws.auth#sigv4a":IP}),PP=(f)=>{let R=fA.resolveAwsSdkSigV4Config(f);return{...fA.resolveAwsSdkSigV4AConfig(R)}};var UP=(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"}},bf={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 wf extends HP{constructor(f){super(f);Object.setPrototypeOf(this,wf.prototype)}}class RA extends wf{constructor(f){super({name:"NoSuchUpload",$fault:"client",...f});this.name="NoSuchUpload",this.$fault="client",Object.setPrototypeOf(this,RA.prototype)}}class hA extends wf{constructor(f){super({name:"ObjectNotInActiveTierError",$fault:"client",...f});this.name="ObjectNotInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,hA.prototype)}}class AA extends wf{constructor(f){super({name:"BucketAlreadyExists",$fault:"client",...f});this.name="BucketAlreadyExists",this.$fault="client",Object.setPrototypeOf(this,AA.prototype)}}class IA extends wf{constructor(f){super({name:"BucketAlreadyOwnedByYou",$fault:"client",...f});this.name="BucketAlreadyOwnedByYou",this.$fault="client",Object.setPrototypeOf(this,IA.prototype)}}class $A extends wf{constructor(f){super({name:"NoSuchBucket",$fault:"client",...f});this.name="NoSuchBucket",this.$fault="client",Object.setPrototypeOf(this,$A.prototype)}}var f3;(function(f){f.visit=(R,h)=>{if(R.Prefix!==void 0)return h.Prefix(R.Prefix);if(R.Tag!==void 0)return h.Tag(R.Tag);if(R.And!==void 0)return h.And(R.And);return h._(R.$unknown[0],R.$unknown[1])}})(f3||(f3={}));var R3;(function(f){f.visit=(R,h)=>{if(R.Prefix!==void 0)return h.Prefix(R.Prefix);if(R.Tag!==void 0)return h.Tag(R.Tag);if(R.ObjectSizeGreaterThan!==void 0)return h.ObjectSizeGreaterThan(R.ObjectSizeGreaterThan);if(R.ObjectSizeLessThan!==void 0)return h.ObjectSizeLessThan(R.ObjectSizeLessThan);if(R.And!==void 0)return h.And(R.And);return h._(R.$unknown[0],R.$unknown[1])}})(R3||(R3={}));var h3;(function(f){f.visit=(R,h)=>{if(R.Prefix!==void 0)return h.Prefix(R.Prefix);if(R.Tag!==void 0)return h.Tag(R.Tag);if(R.AccessPointArn!==void 0)return h.AccessPointArn(R.AccessPointArn);if(R.And!==void 0)return h.And(R.And);return h._(R.$unknown[0],R.$unknown[1])}})(h3||(h3={}));var A3;(function(f){f.visit=(R,h)=>{if(R.Prefix!==void 0)return h.Prefix(R.Prefix);if(R.Tag!==void 0)return h.Tag(R.Tag);if(R.And!==void 0)return h.And(R.And);return h._(R.$unknown[0],R.$unknown[1])}})(A3||(A3={}));class PA extends wf{constructor(f){super({name:"InvalidObjectState",$fault:"client",...f});this.name="InvalidObjectState",this.$fault="client",Object.setPrototypeOf(this,PA.prototype),this.StorageClass=f.StorageClass,this.AccessTier=f.AccessTier}}class UA extends wf{constructor(f){super({name:"NoSuchKey",$fault:"client",...f});this.name="NoSuchKey",this.$fault="client",Object.setPrototypeOf(this,UA.prototype)}}class HA extends wf{constructor(f){super({name:"NotFound",$fault:"client",...f});this.name="NotFound",this.$fault="client",Object.setPrototypeOf(this,HA.prototype)}}var p8=(f)=>({...f,...f.SecretAccessKey&&{SecretAccessKey:Ff},...f.SessionToken&&{SessionToken:Ff}}),wP=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:Ff},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ff},...f.Credentials&&{Credentials:p8(f.Credentials)}}),FP=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:Ff},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ff}});var EP=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:Ff}}),NP=(f)=>({...f,...f.SSECustomerKey&&{SSECustomerKey:Ff}});var UR=x(th(),1);var Rh=x(Q0(),1);class wA extends wf{constructor(f){super({name:"ObjectAlreadyInActiveTierError",$fault:"client",...f});this.name="ObjectAlreadyInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,wA.prototype)}}var GP;(function(f){f.visit=(R,h)=>{if(R.Records!==void 0)return h.Records(R.Records);if(R.Stats!==void 0)return h.Stats(R.Stats);if(R.Progress!==void 0)return h.Progress(R.Progress);if(R.Cont!==void 0)return h.Cont(R.Cont);if(R.End!==void 0)return h.End(R.End);return h._(R.$unknown[0],R.$unknown[1])}})(GP||(GP={}));var SP=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:Ff},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ff}}),WP=(f)=>({...f,...f.SSECustomerKey&&{SSECustomerKey:Ff},...f.SSEKMSKeyId&&{SSEKMSKeyId:Ff},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ff}});var gP=async(f,R)=>{let h=Rh.requestBuilder(f,R),A=l({},Mf,{[WN]:f[bE],[Ih]:f[hh],[$h]:f[Ah],[zA]:f[JA],[df]:[()=>Mf(f[PR]),()=>f[PR].toString()]});h.bp("/"),h.p("Bucket",()=>f.Bucket,"{Bucket}",!1);let I=l({[FN]:[,""]}),$;return h.m("GET").h(A).q(I).b($),h.build()};var yP=async(f,R)=>{let h=Rh.requestBuilder(f,R),A=l({},Mf,{[oE]:f[qE],[nE]:[()=>Mf(f[YP]),()=>nR(f[YP]).toString()],[nP]:f[cP],[uE]:[()=>Mf(f[DP]),()=>nR(f[DP]).toString()],[AN]:f[TE],[LA]:f[XA],[hU]:f[rP],[QA]:f[ZA],[r3]:f[m3],[d3]:f[j3],[SN]:f[YE]});h.bp("/{Key+}"),h.p("Bucket",()=>f.Bucket,"{Bucket}",!1),h.p("Key",()=>f.Key,"{Key+}",!0);let I=l({[$U]:[,"GetObject"],[IN]:[,f[KE]],[$N]:[,f[vE]],[PN]:[,f[jE]],[UN]:[,f[OE]],[HN]:[,f[mE]],[wN]:[()=>f.ResponseExpires!==void 0,()=>nR(f[sE]).toString()],[NN]:[,f[s3]],[RN]:[()=>f.PartNumber!==void 0,()=>f[BE].toString()]}),$;return h.m("GET").h(A).q(I).b($),h.build()};var BP=async(f,R)=>{let h=Rh.requestBuilder(f,R),A=l({},Mf,{[r3]:f[m3],[d3]:f[j3],[XN]:[()=>Mf(f[MP]),()=>(f[MP]||[]).map((P)=>P).join(", ")]});h.bp("/"),h.p("Bucket",()=>f.Bucket,"{Bucket}",!1);let I=l({[tE]:[,"2"],[aE]:[,f[GA]],[iE]:[,f[SA]],[fN]:[()=>f.MaxKeys!==void 0,()=>f[YA].toString()],[hN]:[,f[IR]],[_E]:[,f[NA]],[eE]:[()=>f.FetchOwner!==void 0,()=>f[ZE].toString()],[EN]:[,f[DA]]}),$;return h.m("GET").h(A).q(I).b($),h.build()};var TP=async(f,R)=>{let h=Rh.requestBuilder(f,R),A=l({},Mf,{[eP]:f[bP]||"application/octet-stream",[GN]:f[SE],[_P]:f[mP],[aP]:f[sP],[iP]:f[CP],[pP]:f[lP],[L3]:[()=>Mf(f[Z3]),()=>f[Z3].toString()],[rE]:f[DE],[zN]:f[oR],[C3]:f[B3],[l3]:f[T3],[b3]:f[K3],[c3]:f[v3],[Q3]:[()=>Mf(f[J3]),()=>nR(f[J3]).toString()],[nP]:f[cP],[YN]:f[JE],[DN]:f[zE],[MN]:f[LE],[VN]:f[QE],[Ih]:f[hh],[RU]:f[cf],[IU]:f[xP],[LA]:f[XA],[hU]:f[rP],[QA]:f[ZA],[$h]:f[Ah],[zA]:f[JA],[df]:[()=>Mf(f[PR]),()=>f[PR].toString()],[r3]:f[m3],[LN]:f[cE],[fU]:f[kP],[q3]:[()=>Mf(f[z3]),()=>qP(f[z3]).toString()],[tP]:f[dP],[d3]:f[j3],...f.Metadata!==void 0&&Object.keys(f.Metadata).reduce((U,H)=>{return U[`x-amz-meta-${H.toLowerCase()}`]=f.Metadata[H],U},{})});h.bp("/{Key+}"),h.p("Bucket",()=>f.Bucket,"{Bucket}",!1),h.p("Key",()=>f.Key,"{Key+}",!0);let I=l({[$U]:[,"PutObject"]}),$,P;if(f.Body!==void 0)P=f.Body,$=P;return h.m("PUT").h(A).q(I).b($),h.build()};var KP=async(f,R)=>{if(f.statusCode!==200&&f.statusCode>=300)return VA(f,R);let h=l({$metadata:Wf(f),[hh]:[,f.headers[Ih]],[Ah]:[,f.headers[$h]],[JA]:[,f.headers[zA]],[PR]:[()=>f.headers[df]!==void 0,()=>$R(f.headers[df])]}),A=jf(g3(await UR.parseXmlBody(f.body,R)),"body");if(A[P3]!=null)h[P3]=GE(A[P3],R);return h};var vP=async(f,R)=>{if(f.statusCode!==200&&f.statusCode>=300)return VA(f,R);let h=l({$metadata:Wf(f),[VE]:[()=>f.headers[XP]!==void 0,()=>$R(f.headers[XP])],[WE]:[,f.headers[kE]],[tR]:[,f.headers[uP]],[lE]:[,f.headers[ZN]],[WA]:[()=>f.headers[VP]!==void 0,()=>jf(_R(f.headers[VP]))],[Z3]:[()=>f.headers[L3]!==void 0,()=>y3(f.headers[L3])],[uR]:[,f.headers[oP]],[B3]:[,f.headers[C3]],[T3]:[,f.headers[l3]],[K3]:[,f.headers[b3]],[v3]:[,f.headers[c3]],[gE]:[()=>f.headers[ZP]!==void 0,()=>QR(f.headers[ZP])],[s3]:[,f.headers[AU]],[mP]:[,f.headers[_P]],[sP]:[,f.headers[aP]],[CP]:[,f.headers[iP]],[lP]:[,f.headers[pP]],[ME]:[,f.headers[xE]],[bP]:[,f.headers[eP]],[J3]:[()=>f.headers[Q3]!==void 0,()=>jf(_R(f.headers[Q3]))],[XE]:[,f.headers[pE]],[xP]:[,f.headers[IU]],[hh]:[,f.headers[Ih]],[XA]:[,f.headers[LA]],[ZA]:[,f.headers[QA]],[Ah]:[,f.headers[$h]],[PR]:[()=>f.headers[df]!==void 0,()=>$R(f.headers[df])],[cf]:[,f.headers[RU]],[O3]:[,f.headers[k3]],[CE]:[,f.headers[JN]],[yE]:[()=>f.headers[JP]!==void 0,()=>QR(f.headers[JP])],[dE]:[()=>f.headers[zP]!==void 0,()=>QR(f.headers[zP])],[kP]:[,f.headers[fU]],[z3]:[()=>f.headers[q3]!==void 0,()=>jf(fh(f.headers[q3]))],[dP]:[,f.headers[tP]],Metadata:[,Object.keys(f.headers).filter((I)=>I.startsWith("x-amz-meta-")).reduce((I,$)=>{return I[$.substring(11)]=f.headers[$],I},{})]}),A=f.body;return R.sdkStreamMixin(A),h.Body=A,h};var jP=async(f,R)=>{if(f.statusCode!==200&&f.statusCode>=300)return VA(f,R);let h=l({$metadata:Wf(f),[O3]:[,f.headers[k3]]}),A=jf(g3(await UR.parseXmlBody(f.body,R)),"body");if(A.CommonPrefixes==="")h[FA]=[];else if(A[FA]!=null)h[FA]=HE(MA(A[FA]),R);if(A.Contents==="")h[EA]=[];else if(A[EA]!=null)h[EA]=FE(MA(A[EA]),R);if(A[NA]!=null)h[NA]=r(A[NA]);if(A[GA]!=null)h[GA]=r(A[GA]);if(A[SA]!=null)h[SA]=r(A[SA]);if(A[F3]!=null)h[F3]=$R(A[F3]);if(A[N3]!=null)h[N3]=QR(A[N3]);if(A[YA]!=null)h[YA]=QR(A[YA]);if(A[G3]!=null)h[G3]=r(A[G3]);if(A[S3]!=null)h[S3]=r(A[S3]);if(A[IR]!=null)h[IR]=r(A[IR]);if(A[DA]!=null)h[DA]=r(A[DA]);return h};var OP=async(f,R)=>{if(f.statusCode!==200&&f.statusCode>=300)return VA(f,R);let h=l({$metadata:Wf(f),[tR]:[,f.headers[uP]],[uR]:[,f.headers[oP]],[B3]:[,f.headers[C3]],[T3]:[,f.headers[l3]],[K3]:[,f.headers[b3]],[v3]:[,f.headers[c3]],[hh]:[,f.headers[Ih]],[s3]:[,f.headers[AU]],[XA]:[,f.headers[LA]],[ZA]:[,f.headers[QA]],[Ah]:[,f.headers[$h]],[JA]:[,f.headers[zA]],[PR]:[()=>f.headers[df]!==void 0,()=>$R(f.headers[df])],[O3]:[,f.headers[k3]]});return await LP(f.body,R),h};var VA=async(f,R)=>{let h={...f,body:await UR.parseXmlErrorBody(f.body,R)},A=UR.loadRestXmlErrorCode(f,h.body);switch(A){case"NoSuchUpload":case"com.amazonaws.s3#NoSuchUpload":throw await hE(h,R);case"ObjectNotInActiveTierError":case"com.amazonaws.s3#ObjectNotInActiveTierError":throw await $E(h,R);case"BucketAlreadyExists":case"com.amazonaws.s3#BucketAlreadyExists":throw await n8(h,R);case"BucketAlreadyOwnedByYou":case"com.amazonaws.s3#BucketAlreadyOwnedByYou":throw await u8(h,R);case"NoSuchBucket":case"com.amazonaws.s3#NoSuchBucket":throw await fE(h,R);case"InvalidObjectState":case"com.amazonaws.s3#InvalidObjectState":throw await t8(h,R);case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await RE(h,R);case"NotFound":case"com.amazonaws.s3#NotFound":throw await AE(h,R);case"ObjectAlreadyInActiveTierError":case"com.amazonaws.s3#ObjectAlreadyInActiveTierError":throw await IE(h,R);default:let I=h.body;return o8({output:f,parsedBody:I,errorCode:A})}},o8=QP(wf),n8=async(f,R)=>{let h=l({}),A=f.body,I=new AA({$metadata:Wf(f),...h});return gf(I,f.body)},u8=async(f,R)=>{let h=l({}),A=f.body,I=new IA({$metadata:Wf(f),...h});return gf(I,f.body)},t8=async(f,R)=>{let h=l({}),A=f.body;if(A[$3]!=null)h[$3]=r(A[$3]);if(A[cf]!=null)h[cf]=r(A[cf]);let I=new PA({$metadata:Wf(f),...h});return gf(I,f.body)},fE=async(f,R)=>{let h=l({}),A=f.body,I=new $A({$metadata:Wf(f),...h});return gf(I,f.body)},RE=async(f,R)=>{let h=l({}),A=f.body,I=new UA({$metadata:Wf(f),...h});return gf(I,f.body)},hE=async(f,R)=>{let h=l({}),A=f.body,I=new RA({$metadata:Wf(f),...h});return gf(I,f.body)},AE=async(f,R)=>{let h=l({}),A=f.body,I=new HA({$metadata:Wf(f),...h});return gf(I,f.body)},IE=async(f,R)=>{let h=l({}),A=f.body,I=new wA({$metadata:Wf(f),...h});return gf(I,f.body)},$E=async(f,R)=>{let h=l({}),A=f.body,I=new hA({$metadata:Wf(f),...h});return gf(I,f.body)};var PE=(f,R)=>{return(f||[]).filter((h)=>h!=null).map((h)=>{return r(h)})},UE=(f,R)=>{let h={};if(f[IR]!=null)h[IR]=r(f[IR]);return h},HE=(f,R)=>{return(f||[]).filter((h)=>h!=null).map((h)=>{return UE(h,R)})};var wE=(f,R)=>{let h={};if(f[E3]!=null)h[E3]=r(f[E3]);if(f[WA]!=null)h[WA]=jf(fh(f[WA]));if(f[uR]!=null)h[uR]=r(f[uR]);if(f.ChecksumAlgorithm==="")h[oR]=[];else if(f[oR]!=null)h[oR]=PE(MA(f[oR]),R);if(f[X3]!=null)h[X3]=y3(f[X3]);if(f[cf]!=null)h[cf]=r(f[cf]);if(f[W3]!=null)h[W3]=EE(f[W3],R);if(f[D3]!=null)h[D3]=NE(f[D3],R);return h},FE=(f,R)=>{return(f||[]).filter((h)=>h!=null).map((h)=>{return wE(h,R)})};var EE=(f,R)=>{let h={};if(f[U3]!=null)h[U3]=r(f[U3]);if(f[H3]!=null)h[H3]=r(f[H3]);return h};var NE=(f,R)=>{let h={};if(f[w3]!=null)h[w3]=$R(f[w3]);if(f[Y3]!=null)h[Y3]=jf(fh(f[Y3]));return h};var GE=(f,R)=>{let h={};if(f[I3]!=null)h[I3]=r(f[I3]);if(f[M3]!=null)h[M3]=r(f[M3]);if(f[V3]!=null)h[V3]=r(f[V3]);if(f[tR]!=null)h[tR]=jf(fh(f[tR]));return h};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 SE="ACL";var I3="AccessKeyId";var WE="AcceptRanges";var $3="AccessTier";var PR="BucketKeyEnabled";var P3="Credentials",oR="ChecksumAlgorithm";var mP="CacheControl",B3="ChecksumCRC32",T3="ChecksumCRC32C",sP="ContentDisposition";var CP="ContentEncoding";var lP="ContentLanguage",Z3="ContentLength",YE="ChecksumMode",DE="ContentMD5";var FA="CommonPrefixes";var ME="ContentRange";var K3="ChecksumSHA1",v3="ChecksumSHA256";var bP="ContentType",NA="ContinuationToken";var EA="Contents";var GA="Delimiter";var VE="DeleteMarker";var U3="DisplayName";var J3="Expires";var j3="ExpectedBucketOwner";var XE="ExpiresString";var SA="EncodingType",uR="ETag";var tR="Expiration";var ZE="FetchOwner";var JE="GrantFullControl";var zE="GrantRead",LE="GrantReadACP";var QE="GrantWriteACP";var H3="ID";var qE="IfMatch",YP="IfModifiedSince",cP="IfNoneMatch";var w3="IsRestoreInProgress";var F3="IsTruncated";var DP="IfUnmodifiedSince";var E3="Key",N3="KeyCount";var WA="LastModified";var YA="MaxKeys";var gE="MissingMeta";var G3="Name";var S3="NextContinuationToken";var W3="Owner";var dP="ObjectLockLegalHoldStatus",kP="ObjectLockMode";var z3="ObjectLockRetainUntilDate";var MP="OptionalObjectAttributes";var IR="Prefix";var yE="PartsCount";var BE="PartNumber";var TE="Range";var O3="RequestCharged",KE="ResponseCacheControl",vE="ResponseContentDisposition",jE="ResponseContentEncoding",OE="ResponseContentLanguage",mE="ResponseContentType";var sE="ResponseExpires",Y3="RestoreExpiryDate";var m3="RequestPayer";var CE="ReplicationStatus",D3="RestoreStatus";var lE="Restore";var DA="StartAfter",M3="SecretAccessKey";var cf="StorageClass";var bE="SessionMode";var hh="ServerSideEncryption";var XA="SSECustomerAlgorithm",rP="SSECustomerKey",ZA="SSECustomerKeyMD5";var JA="SSEKMSEncryptionContext",Ah="SSEKMSKeyId";var V3="SessionToken";var X3="Size";var cE="Tagging";var dE="TagCount";var s3="VersionId";var xP="WebsiteRedirectLocation";var kE="accept-ranges";var _P="cache-control",aP="content-disposition",iP="content-encoding",pP="content-language",L3="content-length",rE="content-md5",xE="content-range",eP="content-type",_E="continuation-token";var aE="delimiter",Q3="expires";var iE="encoding-type",oP="etag",pE="expiresstring",eE="fetch-owner";var oE="if-match",nE="if-modified-since";var nP="if-none-match";var uE="if-unmodified-since";var VP="last-modified";var tE="list-type";var fN="max-keys";var RN="partNumber";var hN="prefix";var AN="range",IN="response-cache-control",$N="response-content-disposition",PN="response-content-encoding",UN="response-content-language",HN="response-content-type",wN="response-expires";var FN="session",EN="start-after";var NN="versionId";var GN="x-amz-acl";var C3="x-amz-checksum-crc32",l3="x-amz-checksum-crc32c",SN="x-amz-checksum-mode";var b3="x-amz-checksum-sha1",c3="x-amz-checksum-sha256";var WN="x-amz-create-session-mode";var XP="x-amz-delete-marker",uP="x-amz-expiration",d3="x-amz-expected-bucket-owner";var YN="x-amz-grant-full-control",DN="x-amz-grant-read",MN="x-amz-grant-read-acp";var VN="x-amz-grant-write-acp";var ZP="x-amz-missing-meta";var JP="x-amz-mp-parts-count";var tP="x-amz-object-lock-legal-hold",fU="x-amz-object-lock-mode",q3="x-amz-object-lock-retain-until-date";var XN="x-amz-optional-object-attributes";var ZN="x-amz-restore",k3="x-amz-request-charged";var r3="x-amz-request-payer";var JN="x-amz-replication-status";var RU="x-amz-storage-class",zN="x-amz-sdk-checksum-algorithm";var Ih="x-amz-server-side-encryption",$h="x-amz-server-side-encryption-aws-kms-key-id",df="x-amz-server-side-encryption-bucket-key-enabled",zA="x-amz-server-side-encryption-context",LA="x-amz-server-side-encryption-customer-algorithm",hU="x-amz-server-side-encryption-customer-key",QA="x-amz-server-side-encryption-customer-key-md5",LN="x-amz-tagging",zP="x-amz-tagging-count";var AU="x-amz-version-id",IU="x-amz-website-redirect-location",$U="x-id";class x3 extends kf.classBuilder().ep({...bf,DisableS3ExpressSessionAuth:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(f,R,h,A){return[rf(h,this.serialize,this.deserialize),xf(h,f.getEndpointParameterInstructions()),ZR(h)]}).s("AmazonS3","CreateSession",{}).n("S3Client","CreateSessionCommand").f(FP,wP).ser(gP).de(KP).build(){}var PU={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=x(th(),1);var qN="AWS_S3_USE_ARN_REGION",gN="s3_use_arn_region",UU={environmentVariableSelector:(f)=>RR(f,qN,hR.ENV),configFileSelector:(f)=>RR(f,gN,hR.CONFIG),default:!1};var _f=x(wU(),1);var FU=x(wU(),1);class qR{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 R=new Uint8Array(8);for(let h=7,A=Math.abs(Math.round(f));h>-1&&A>0;h--,A/=256)R[h]=A;if(f<0)HU(R);return new qR(R)}valueOf(){let f=this.bytes.slice(0),R=f[0]&128;if(R)HU(f);return parseInt(FU.toHex(f),16)*(R?-1:1)}toString(){return String(this.valueOf())}}function HU(f){for(let R=0;R<8;R++)f[R]^=255;for(let R=7;R>-1;R--)if(f[R]++,f[R]!==0)break}class _3{constructor(f,R){this.toUtf8=f,this.fromUtf8=R}format(f){let R=[];for(let I of Object.keys(f)){let $=this.fromUtf8(I);R.push(Uint8Array.from([$.byteLength]),$,this.formatHeaderValue(f[I]))}let h=new Uint8Array(R.reduce((I,$)=>I+$.byteLength,0)),A=0;for(let I of R)h.set(I,A),A+=I.byteLength;return h}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 R=new DataView(new ArrayBuffer(3));return R.setUint8(0,3),R.setInt16(1,f.value,!1),new Uint8Array(R.buffer);case"integer":let h=new DataView(new ArrayBuffer(5));return h.setUint8(0,4),h.setInt32(1,f.value,!1),new Uint8Array(h.buffer);case"long":let A=new Uint8Array(9);return A[0]=5,A.set(f.value.bytes,1),A;case"binary":let I=new DataView(new ArrayBuffer(3+f.value.byteLength));I.setUint8(0,6),I.setUint16(1,f.value.byteLength,!1);let $=new Uint8Array(I.buffer);return $.set(f.value,3),$;case"string":let P=this.fromUtf8(f.value),U=new DataView(new ArrayBuffer(3+P.byteLength));U.setUint8(0,7),U.setUint16(1,P.byteLength,!1);let H=new Uint8Array(U.buffer);return H.set(P,3),H;case"timestamp":let F=new Uint8Array(9);return F[0]=8,F.set(qR.fromNumber(f.value.valueOf()).bytes,1),F;case"uuid":if(!_N.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 R={},h=0;while(h<f.byteLength){let A=f.getUint8(h++),I=this.toUtf8(new Uint8Array(f.buffer,f.byteOffset+h,A));switch(h+=A,f.getUint8(h++)){case 0:R[I]={type:NU,value:!0};break;case 1:R[I]={type:NU,value:!1};break;case 2:R[I]={type:CN,value:f.getInt8(h++)};break;case 3:R[I]={type:lN,value:f.getInt16(h,!1)},h+=2;break;case 4:R[I]={type:bN,value:f.getInt32(h,!1)},h+=4;break;case 5:R[I]={type:cN,value:new qR(new Uint8Array(f.buffer,f.byteOffset+h,8))},h+=8;break;case 6:let $=f.getUint16(h,!1);h+=2,R[I]={type:dN,value:new Uint8Array(f.buffer,f.byteOffset+h,$)},h+=$;break;case 7:let P=f.getUint16(h,!1);h+=2,R[I]={type:kN,value:this.toUtf8(new Uint8Array(f.buffer,f.byteOffset+h,P))},h+=P;break;case 8:R[I]={type:rN,value:new Date(new qR(new Uint8Array(f.buffer,f.byteOffset+h,8)).valueOf())},h+=8;break;case 9:let U=new Uint8Array(f.buffer,f.byteOffset+h,16);h+=16,R[I]={type:xN,value:`${_f.toHex(U.subarray(0,4))}-${_f.toHex(U.subarray(4,6))}-${_f.toHex(U.subarray(6,8))}-${_f.toHex(U.subarray(8,10))}-${_f.toHex(U.subarray(10))}`};break;default:throw new Error("Unrecognized header type tag")}}return R}}var EU;(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"})(EU||(EU={}));var NU="boolean",CN="byte",lN="short",bN="integer",cN="long",dN="binary",kN="string",rN="timestamp",xN="uuid",_N=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;var GU=4,af=GU*2,HR=4,aN=af+HR*2;function SU({byteLength:f,byteOffset:R,buffer:h}){if(f<aN)throw new Error("Provided message too short to accommodate event stream message overhead");let A=new DataView(h,R,f),I=A.getUint32(0,!1);if(f!==I)throw new Error("Reported message length does not match received message length");let $=A.getUint32(GU,!1),P=A.getUint32(af,!1),U=A.getUint32(f-HR,!1),H=new fR().update(new Uint8Array(h,R,af));if(P!==H.digest())throw new Error(`The prelude checksum specified in the message (${P}) does not match the calculated CRC32 checksum (${H.digest()})`);if(H.update(new Uint8Array(h,R+af,f-(af+HR))),U!==H.digest())throw new Error(`The message checksum (${H.digest()}) did not match the expected value of ${U}`);return{headers:new DataView(h,R+af+HR,$),body:new Uint8Array(h,R+af+HR+$,I-$-(af+HR+HR))}}class a3{constructor(f,R){this.headerMarshaller=new _3(f,R),this.messageBuffer=[],this.isEndOfStream=!1}feed(f){this.messageBuffer.push(this.decode(f))}endOfStream(){this.isEndOfStream=!0}getMessage(){let f=this.messageBuffer.pop(),R=this.isEndOfStream;return{getMessage(){return f},isEndOfStream(){return R}}}getAvailableMessages(){let f=this.messageBuffer;this.messageBuffer=[];let R=this.isEndOfStream;return{getMessages(){return f},isEndOfStream(){return R}}}encode({headers:f,body:R}){let h=this.headerMarshaller.format(f),A=h.byteLength+R.byteLength+16,I=new Uint8Array(A),$=new DataView(I.buffer,I.byteOffset,I.byteLength),P=new fR;return $.setUint32(0,A,!1),$.setUint32(4,h.byteLength,!1),$.setUint32(8,P.update(I.subarray(0,8)).digest(),!1),I.set(h,12),I.set(R,h.byteLength+12),$.setUint32(A-4,P.update(I.subarray(8,A-4)).digest(),!1),I}decode(f){let{headers:R,body:h}=SU(f);return{headers:this.headerMarshaller.parse(R),body:h}}formatHeaders(f){return this.headerMarshaller.format(f)}}class i3{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 p3{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 e3{constructor(f){this.options=f}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let f of this.options.messageStream){let R=await this.options.deserializer(f);if(R===void 0)continue;yield R}}}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.serializer(f)}}function WU(f){let R=0,h=0,A=null,I=null,$=(U)=>{if(typeof U!=="number")throw new Error("Attempted to allocate an event message where size was not a number: "+U);R=U,h=4,A=new Uint8Array(U),new DataView(A.buffer).setUint32(0,U,!1)},P=async function*(){let U=f[Symbol.asyncIterator]();while(!0){let{value:H,done:F}=await U.next();if(F){if(!R)return;else if(R===h)yield A;else throw new Error("Truncated event message received.");return}let N=H.length,W=0;while(W<N){if(!A){let S=N-W;if(!I)I=new Uint8Array(4);let L=Math.min(4-h,S);if(I.set(H.slice(W,W+L),h),h+=L,W+=L,h<4)break;$(new DataView(I.buffer).getUint32(0,!1)),I=null}let V=Math.min(R-h,N-W);if(A.set(H.slice(W,W+V),h),h+=V,W+=V,R&&R===h)yield A,A=null,R=0,h=0}}};return{[Symbol.asyncIterator]:P}}function YU(f,R){return async function(h){let{value:A}=h.headers[":message-type"];if(A==="error"){let I=new Error(h.headers[":error-message"].value||"UnknownError");throw I.name=h.headers[":error-code"].value,I}else if(A==="exception"){let I=h.headers[":exception-type"].value,$={[I]:h},P=await f($);if(P.$unknown){let U=new Error(R(h.body));throw U.name=I,U}throw P[I]}else if(A==="event"){let I={[h.headers[":event-type"].value]:h},$=await f(I);if($.$unknown)return;return $}else throw Error(`Unrecognizable event type: ${h.headers[":event-type"].value}`)}}class qA{constructor({utf8Encoder:f,utf8Decoder:R}){this.eventStreamCodec=new a3(f,R),this.utfEncoder=f}deserialize(f,R){let h=WU(f);return new e3({messageStream:new i3({inputStream:h,decoder:this.eventStreamCodec}),deserializer:YU(R,this.utfEncoder)})}serialize(f,R){return new p3({messageStream:new o3({inputStream:f,serializer:R}),encoder:this.eventStreamCodec,includeEndFrame:!0})}}import{Readable as iN}from"stream";async function*DU(f){let R=!1,h=!1,A=new Array;f.on("error",(I)=>{if(!R)R=!0;if(I)throw I}),f.on("data",(I)=>{A.push(I)}),f.on("end",()=>{R=!0});while(!h){let I=await new Promise(($)=>setTimeout(()=>$(A.shift()),0));if(I)yield I;h=R&&A.length===0}}class n3{constructor({utf8Encoder:f,utf8Decoder:R}){this.universalMarshaller=new qA({utf8Decoder:R,utf8Encoder:f})}deserialize(f,R){let h=typeof f[Symbol.asyncIterator]==="function"?f:DU(f);return this.universalMarshaller.deserialize(h,R)}serialize(f,R){return iN.from(this.universalMarshaller.serialize(f,R))}}var MU=(f)=>new n3(f);import{Writable as pN}from"stream";class gA extends pN{constructor(f,R){super(R);this.hash=f}_write(f,R,h){try{this.hash.update(Ch(f))}catch(A){return h(A)}h()}}var VU=(f,R)=>{if(R.readableFlowing!==null)throw new Error("Unable to calculate hash for flowing readable stream");let h=new f,A=new gA(h);return R.pipe(A),new Promise((I,$)=>{R.on("error",(P)=>{A.end(),$(P)}),A.on("error",$),A.on("finish",()=>{h.digest().then(I).catch($)})})};var yA=x(th(),1);var qU=x(eN(),1);var gU=(f)=>{return{apiVersion:"2006-03-01",base64Decoder:f?.base64Decoder??JU,base64Encoder:f?.base64Encoder??zU,disableHostPrefix:f?.disableHostPrefix??!1,endpointProvider:f?.endpointProvider??uh,extensions:f?.extensions??[],getAwsChunkedEncodingStream:f?.getAwsChunkedEncodingStream??LU,httpAuthSchemeProvider:f?.httpAuthSchemeProvider??$P,httpAuthSchemes:f?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(R)=>R.getIdentityProvider("aws.auth#sigv4"),signer:new yA.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(R)=>R.getIdentityProvider("aws.auth#sigv4a"),signer:new yA.AwsSdkSigV4ASigner}],logger:f?.logger??new dh,sdkStreamMixin:f?.sdkStreamMixin??QU,serviceId:f?.serviceId??"S3",signerConstructor:f?.signerConstructor??y0,signingEscapePath:f?.signingEscapePath??!1,urlParser:f?.urlParser??qU.parseUrl,useArnRegion:f?.useArnRegion??!1,utf8Decoder:f?.utf8Decoder??XU,utf8Encoder:f?.utf8Encoder??ZU}};var rU=(f)=>{KU(process.version);let R=dU(f),h=()=>R().then(TU),A=gU(f);return TA.emitWarningIfUnsupportedVersion(process.version),{...A,...f,runtime:"node",defaultsMode:R,bodyLengthChecker:f?.bodyLengthChecker??cU,credentialDefaultProvider:f?.credentialDefaultProvider??kU,defaultUserAgentProvider:f?.defaultUserAgentProvider??bU({serviceId:A.serviceId,clientVersion:PU.version}),disableS3ExpressSessionAuth:f?.disableS3ExpressSessionAuth??Jf(z0),eventStreamSerdeProvider:f?.eventStreamSerdeProvider??MU,maxAttempts:f?.maxAttempts??Jf(CU),md5:f?.md5??BA.bind(null,"md5"),region:f?.region??Jf(OU,mU),requestChecksumCalculation:f?.requestChecksumCalculation??Jf(NI),requestHandler:yU.create(f?.requestHandler??h),responseChecksumValidation:f?.responseChecksumValidation??Jf(GI),retryMode:f?.retryMode??Jf({...lU,default:async()=>(await h()).retryMode||sU}),sha1:f?.sha1??BA.bind(null,"sha1"),sha256:f?.sha256??BA.bind(null,"sha256"),sigv4aSigningRegionSet:f?.sigv4aSigningRegionSet??Jf(TA.NODE_SIGV4A_CONFIG_OPTIONS),streamCollector:f?.streamCollector??BU,streamHasher:f?.streamHasher??VU,useArnRegion:f?.useArnRegion??Jf(UU),useDualstackEndpoint:f?.useDualstackEndpoint??Jf(vU),useFipsEndpoint:f?.useFipsEndpoint??Jf(jU)}};var xU=(f)=>{let{httpAuthSchemes:R,httpAuthSchemeProvider:h,credentials:A}=f;return{setHttpAuthScheme(I){let $=R.findIndex((P)=>P.schemeId===I.schemeId);if($===-1)R.push(I);else R.splice($,1,I)},httpAuthSchemes(){return R},setHttpAuthSchemeProvider(I){h=I},httpAuthSchemeProvider(){return h},setCredentials(I){A=I},credentials(){return A}}},_U=(f)=>{return{httpAuthSchemes:f.httpAuthSchemes(),httpAuthSchemeProvider:f.httpAuthSchemeProvider(),credentials:f.credentials()}};var KA=(f)=>f,uU=(f,R)=>{let h={...KA(oU(f)),...KA(pU(f)),...KA(aU(f)),...KA(xU(f))};return R.forEach((A)=>A.configure(h)),{...f,...nU(h),...eU(h),...iU(h),..._U(h)}};class u3 extends AH{constructor(...[f]){let R=rU(f||{}),h=UP(R),A=IH(h),I=yI(A),$=wH(I),P=PH($),U=tU(P),H=HH(U),F=uI(H),N=PP(F),W=aI(N,{session:[()=>this,x3]}),V=uU(W,f?.extensions||[]);super(V);this.config=V,this.middlewareStack.use($H(this.config)),this.middlewareStack.use(FH(this.config)),this.middlewareStack.use(UH(this.config)),this.middlewareStack.use(fH(this.config)),this.middlewareStack.use(RH(this.config)),this.middlewareStack.use(hH(this.config)),this.middlewareStack.use(gR.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:hP,identityProviderConfigProvider:async(S)=>new gR.DefaultIdentityProviderConfig({"aws.auth#sigv4":S.credentials,"aws.auth#sigv4a":S.credentials})})),this.middlewareStack.use(gR.getHttpSigningPlugin(this.config)),this.middlewareStack.use(nI(this.config)),this.middlewareStack.use(HI(this.config)),this.middlewareStack.use(vI(this.config)),this.middlewareStack.use(L0(this.config)),this.middlewareStack.use(q0(this.config))}destroy(){super.destroy()}}function oN(f){return(R)=>async(h)=>{let A={...h.input},I=[{target:"SSECustomerKey",hash:"SSECustomerKeyMD5"},{target:"CopySourceSSECustomerKey",hash:"CopySourceSSECustomerKeyMD5"}];for(let $ of I){let P=A[$.target];if(P){let U;if(typeof P==="string")if(uN(P,f))U=f.base64Decoder(P);else U=f.utf8Decoder(P),A[$.target]=f.base64Encoder(U);else U=ArrayBuffer.isView(P)?new Uint8Array(P.buffer,P.byteOffset,P.byteLength):new Uint8Array(P),A[$.target]=f.base64Encoder(U);let H=new f.md5;H.update(U),A[$.hash]=f.base64Encoder(await H.digest())}}return R({...h,input:A})}}var nN={name:"ssecMiddleware",step:"initialize",tags:["SSE"],override:!0},vA=(f)=>({applyToStack:(R)=>{R.add(oN(f),nN)}});function uN(f,R){if(!/^(?:[A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(f))return!1;try{return R.base64Decoder(f).length===32}catch{return!1}}class t3 extends kf.classBuilder().ep({...bf,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(f,R,h,A){return[rf(h,this.serialize,this.deserialize),xf(h,f.getEndpointParameterInstructions()),ch(h,{input:this.input,requestChecksumRequired:!1,requestValidationModeMember:"ChecksumMode",responseAlgorithms:["CRC32","CRC32C","SHA256","SHA1"]}),vA(h),jI(h)]}).s("AmazonS3","GetObject",{}).n("S3Client","GetObjectCommand").f(NP,EP).ser(yP).de(vP).build(){}class f1 extends kf.classBuilder().ep({...bf,Bucket:{type:"contextParams",name:"Bucket"},Prefix:{type:"contextParams",name:"Prefix"}}).m(function(f,R,h,A){return[rf(h,this.serialize,this.deserialize),xf(h,f.getEndpointParameterInstructions()),ZR(h)]}).s("AmazonS3","ListObjectsV2",{}).n("S3Client","ListObjectsV2Command").f(void 0,void 0).ser(BP).de(jP).build(){}class R1 extends kf.classBuilder().ep({...bf,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(f,R,h,A){return[rf(h,this.serialize,this.deserialize),xf(h,f.getEndpointParameterInstructions()),ch(h,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!1}),BI(h),ZR(h),vA(h)]}).s("AmazonS3","PutObject",{}).n("S3Client","PutObjectCommand").f(WP,SP).ser(TP).de(OP).build(){}import{Buffer as EH}from"buffer";class NH extends SR{client;constructor(...f){super();this.client=new u3(...f)}async put(f){let R,h,A,I=process.env.BUCKET_NAME;if(f instanceof Blob)R=f,A=`${Bh()}.${f.type.split("/")[1].split(";")[0]}`,h=f.type;else R=f.body,A=f.name,I=f.bucket??I,h=f.contentType;h=R instanceof Blob||R instanceof File?R.type:void 0;let $=R instanceof EH?R:EH.from(await R.arrayBuffer());return await this.client.send(new R1({Bucket:I,Key:A,Body:$,ContentType:h})),A}async list(f){return await this.client.send(new f1({Bucket:process.env.BUCKET_NAME,Prefix:f}))}async fetch(f){let R=process.env.BUCKET_NAME,h;if(typeof f==="string")h=f;else R=f.bucket??R,h=f.name;if(!h)throw new Error("Object name has to be specified");let A=await this.client.send(new t3({Bucket:R,Key:h}));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 OA extends jA{requests=new Map;consume(f,R){if(!this.requests.has(f))this.requests.set(f,{date:Date.now(),count:1});else{let h=this.requests.get(f),A=Date.now();if(A-h.date>=60000)this.requests.set(f,{date:A,count:1});else this.requests.set(f,{date:h.date,count:h.count+1})}return this.requests.get(f).count}}class GH extends $f{driver=new OA;boot(){}}import*as rY from"react-dom/server";var q;(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"})(q||(q={}));function SH(f){return f.type===q.Tag||f.type===q.Script||f.type===q.Style}var{Root:WH,Text:YH,Directive:DH,Comment:MH,Script:VH,Style:XH,Tag:ZH,CDATA:JH,Doctype:zH}=q;class A1{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 QH(this,f)}}class mA extends A1{constructor(f){super();this.data=f}get nodeValue(){return this.data}set nodeValue(f){this.data=f}}class Ph extends mA{constructor(){super(...arguments);this.type=q.Text}get nodeType(){return 3}}class sA extends mA{constructor(){super(...arguments);this.type=q.Comment}get nodeType(){return 8}}class CA extends mA{constructor(f,R){super(R);this.name=f,this.type=q.Directive}get nodeType(){return 1}}class lA extends A1{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 lA{constructor(){super(...arguments);this.type=q.CDATA}get nodeType(){return 4}}class Uh extends lA{constructor(){super(...arguments);this.type=q.Root}get nodeType(){return 9}}class cA extends lA{constructor(f,R,h=[],A=f==="script"?q.Script:f==="style"?q.Style:q.Tag){super(h);this.name=f,this.attribs=R,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 R,h;return{name:f,value:this.attribs[f],namespace:(R=this["x-attribsNamespace"])===null||R===void 0?void 0:R[f],prefix:(h=this["x-attribsPrefix"])===null||h===void 0?void 0:h[f]}})}}function dA(f){return SH(f)}function tN(f){return f.type===q.CDATA}function fG(f){return f.type===q.Text}function RG(f){return f.type===q.Comment}function hG(f){return f.type===q.Directive}function AG(f){return f.type===q.Root}function QH(f,R=!1){let h;if(fG(f))h=new Ph(f.data);else if(RG(f))h=new sA(f.data);else if(dA(f)){let A=R?h1(f.children):[],I=new cA(f.name,{...f.attribs},A);if(A.forEach(($)=>$.parent=I),f.namespace!=null)I.namespace=f.namespace;if(f["x-attribsNamespace"])I["x-attribsNamespace"]={...f["x-attribsNamespace"]};if(f["x-attribsPrefix"])I["x-attribsPrefix"]={...f["x-attribsPrefix"]};h=I}else if(tN(f)){let A=R?h1(f.children):[],I=new bA(A);A.forEach(($)=>$.parent=I),h=I}else if(AG(f)){let A=R?h1(f.children):[],I=new Uh(A);if(A.forEach(($)=>$.parent=I),f["x-mode"])I["x-mode"]=f["x-mode"];h=I}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"];h=A}else throw new Error(`Not implemented yet: ${f.type}`);if(h.startIndex=f.startIndex,h.endIndex=f.endIndex,f.sourceCodeLocation!=null)h.sourceCodeLocation=f.sourceCodeLocation;return h}function h1(f){let R=f.map((h)=>QH(h,!0));for(let h=1;h<R.length;h++)R[h].prev=R[h-1],R[h-1].next=R[h];return R}var qH={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class I1{constructor(f,R,h){if(this.dom=[],this.root=new Uh(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof R==="function")h=R,R=qH;if(typeof f==="object")R=f,f=void 0;this.callback=f!==null&&f!==void 0?f:null,this.options=R!==null&&R!==void 0?R:qH,this.elementCB=h!==null&&h!==void 0?h:null}onparserinit(f){this.parser=f}onreset(){this.dom=[],this.root=new Uh(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,R){let h=this.options.xmlMode?q.Tag:void 0,A=new cA(f,R,void 0,h);this.addNode(A),this.tagStack.push(A)}ontext(f){let{lastNode:R}=this;if(R&&R.type===q.Text){if(R.data+=f,this.options.withEndIndices)R.endIndex=this.parser.endIndex}else{let h=new Ph(f);this.addNode(h),this.lastNode=h}}oncomment(f){if(this.lastNode&&this.lastNode.type===q.Comment){this.lastNode.data+=f;return}let R=new sA(f);this.addNode(R),this.lastNode=R}oncommentend(){this.lastNode=null}oncdatastart(){let f=new Ph(""),R=new bA([f]);this.addNode(R),f.parent=R,this.lastNode=f}oncdataend(){this.lastNode=null}onprocessinginstruction(f,R){let h=new CA(f,R);this.addNode(h)}handleCallback(f){if(typeof this.callback==="function")this.callback(f,this.dom);else if(f)throw f}addNode(f){let R=this.tagStack[this.tagStack.length-1],h=R.children[R.children.length-1];if(this.options.withStartIndices)f.startIndex=this.parser.startIndex;if(this.options.withEndIndices)f.endIndex=this.parser.endIndex;if(R.children.push(f),h)f.prev=h,h.next=f;f.parent=R,this.lastNode=null}}var IG=/\n/g;function $G(f){let R=[...f.matchAll(IG)].map((A)=>A.index||0);R.unshift(-1);let h=$1(R,0,R.length);return(A)=>yH(h,A)}function $1(f,R,h){if(h-R==1)return{offset:f[R],index:R+1};let A=Math.ceil((R+h)/2),I=$1(f,R,A),$=$1(f,A,h);return{offset:I.offset,low:I,high:$}}function yH(f,R){return function(h){return Object.prototype.hasOwnProperty.call(h,"index")}(f)?{line:f.index,column:R-f.offset}:yH(f.high.offset<R?f.high:f.low,R)}function P1(f,R="",h={}){let A=typeof R!="string"?R:h,I=typeof R=="string"?R:"",$=f.map(PG),P=!!A.lineNumbers;return function(U,H=0){let F=P?$G(U):()=>({line:0,column:0}),N=H,W=[];f:for(;N<U.length;){let V=!1;for(let S of $){S.regex.lastIndex=N;let L=S.regex.exec(U);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:I,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(U,N);W.push(...K.tokens),N=K.offset}if(S.pop)break f;break}}if(!V)break}return{tokens:W,offset:N,complete:U.length<=N}}}function PG(f,R){return{...f,regex:UG(f,R)}}function UG(f,R){if(f.name.length===0)throw new Error(`Rule #${R} has empty name, which is not allowed.`);if(function(h){return Object.prototype.hasOwnProperty.call(h,"regex")}(f))return function(h){if(h.global)throw new Error(`Regular expression /${h.source}/${h.flags} contains the global flag, which is not allowed.`);return h.sticky?h:new RegExp(h.source,h.flags+"y")}(f.regex);if(function(h){return Object.prototype.hasOwnProperty.call(h,"str")}(f)){if(f.str.length===0)throw new Error(`Rule #${R} ("${f.name}") has empty "str" property, which is not allowed.`);return new RegExp(gH(f.str),"y")}return new RegExp(gH(f.name),"y")}function gH(f){return f.replace(/[-[\]{}()*+!<=:?./\\^$|#\s,]/g,"\\$&")}function yf(f,R){return(h,A)=>{let I=A,$=void 0;if(A<h.tokens.length){if($=f(h.tokens[A],h,A),$!==void 0)I++}else R?.(h,A);return $===void 0?{matched:!1}:{matched:!0,position:I,value:$}}}function U1(f,R){return f.matched?{matched:!0,position:f.position,value:R(f.value,f.position)}:f}function kA(f,R){return f.matched?R(f):f}function ff(f,R){return(h,A)=>U1(f(h,A),(I,$)=>R(I,h,A,$))}function Hh(f,R){return(h,A)=>{let I=f(h,A);return I.matched?I:{matched:!0,position:A,value:R}}}function yR(...f){return(R,h)=>{for(let A of f){let I=A(R,h);if(I.matched)return I}return{matched:!1}}}function pf(f,R){return(h,A)=>{let I=f(h,A);return I.matched?I:R(h,A)}}function HG(f,R){return(h,A)=>{let I=[],$=!0;do{let P=f(h,A);if(P.matched&&R(P.value,I.length+1,h,A,P.position))I.push(P.value),A=P.position;else $=!1}while($);return{matched:!0,position:A,value:I}}}function rA(f){return HG(f,()=>!0)}function BH(f){return Pf(f,rA(f),(R,h)=>[R,...h])}function Pf(f,R,h){return(A,I)=>kA(f(A,I),($)=>U1(R(A,$.position),(P,U)=>h($.value,P,A,I,U)))}function TH(f,R){return Pf(f,R,(h)=>h)}function H1(f,R){return Pf(f,R,(h,A)=>A)}function xA(f,R,h,A){return(I,$)=>kA(f(I,$),(P)=>kA(R(I,P.position),(U)=>U1(h(I,U.position),(H,F)=>A(P.value,U.value,H,I,$,F))))}function w1(f,R,h){return xA(f,R,h,(A,I)=>I)}function wG(...f){return(R,h)=>{let A=[],I=h;for(let $ of f){let P=$(R,I);if(P.matched)A.push(P.value),I=P.position;else return{matched:!1}}return{matched:!0,position:I,value:A}}}function KH(...f){return FG(wG(...f))}function FG(f){return ff(f,(R)=>R.flatMap((h)=>h))}function EG(f,R){return(h,A)=>{let I=!0,$=f,P=A;do{let U=R($,h,P)(h,P);if(U.matched)$=U.value,P=U.position;else I=!1}while(I);return{matched:!0,position:P,value:$}}}function NG(f,R,h){return EG(f,(A)=>ff(R,(I,$,P,U)=>h(A,I,$,P,U)))}function F1(f,R,h){return GG(f,(A)=>NG(A,Pf(R,h,(I,$)=>[I,$]),(I,[$,P])=>$(I,P)))}function GG(f,R){return(h,A)=>kA(f(h,A),(I)=>R(I.value,h,A,I.position)(h,I.position))}var WG="(?:[ \\t\\r\\n\\f]*)",CH="(?:\\n|\\r\\n|\\r|\\f)",iA="[^\\x00-\\x7F]",Eh="(?:\\\\[0-9a-f]{1,6}(?:\\r\\n|[ \\n\\r\\t\\f])?)",Nh="(?:\\\\[^\\n\\r\\f0-9a-f])",YG=`(?:[_a-z]|${iA}|${Eh}|${Nh})`,lH=`(?:[_a-z0-9-]|${iA}|${Eh}|${Nh})`,DG=`(?:${lH}+)`,MG=`(?:[-]?${YG}${lH}*)`,VG=`'([^\\n\\r\\f\\\\']|\\\\${CH}|${iA}|${Eh}|${Nh})*'`,XG=`"([^\\n\\r\\f\\\\"]|\\\\${CH}|${iA}|${Eh}|${Nh})*"`,ZG=P1([{name:"ws",regex:new RegExp(WG)},{name:"hash",regex:new RegExp(`#${DG}`,"i")},{name:"ident",regex:new RegExp(MG,"i")},{name:"str1",regex:new RegExp(VG,"i")},{name:"str2",regex:new RegExp(XG,"i")},{name:"*"},{name:"."},{name:","},{name:"["},{name:"]"},{name:"="},{name:">"},{name:"|"},{name:"+"},{name:"~"},{name:"^"},{name:"$"}]),JG=P1([{name:"unicode",regex:new RegExp(Eh,"i")},{name:"escape",regex:new RegExp(Nh,"i")},{name:"any",regex:new RegExp("[\\s\\S]","i")}]);function bH([f,R,h],[A,I,$]){return[f+A,R+I,h+$]}function zG(f){return f.reduce(bH,[0,0,0])}var LG=yf((f)=>f.name==="unicode"?String.fromCodePoint(parseInt(f.text.slice(1),16)):void 0),QG=yf((f)=>f.name==="escape"?f.text.slice(1):void 0),qG=yf((f)=>f.name==="any"?f.text:void 0),gG=ff(rA(yR(LG,QG,qG)),(f)=>f.join(""));function G1(f){let R=JG(f);return gG({tokens:R.tokens,options:void 0},0).value}function s(f){return yf((R)=>R.name===f?!0:void 0)}var S1=yf((f)=>f.name==="ws"?null:void 0),E1=Hh(S1,null);function TR(f){return w1(E1,f,E1)}var Fh=yf((f)=>f.name==="ident"?G1(f.text):void 0),yG=yf((f)=>f.name==="hash"?G1(f.text.slice(1)):void 0),BG=yf((f)=>f.name.startsWith("str")?G1(f.text.slice(1,-1)):void 0),cH=TH(Hh(Fh,""),s("|")),W1=pf(Pf(cH,Fh,(f,R)=>({name:R,namespace:f})),ff(Fh,(f)=>({name:f,namespace:null}))),TG=pf(Pf(cH,s("*"),(f)=>({type:"universal",namespace:f,specificity:[0,0,0]})),ff(s("*"),()=>({type:"universal",namespace:null,specificity:[0,0,0]}))),KG=ff(W1,({name:f,namespace:R})=>({type:"tag",name:f,namespace:R,specificity:[0,0,1]})),vG=Pf(s("."),Fh,(f,R)=>({type:"class",name:R,specificity:[0,1,0]})),jG=ff(yG,(f)=>({type:"id",name:f,specificity:[1,0,0]})),vH=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}),OG=pf(Pf(BG,Hh(H1(E1,vH),null),(f,R)=>({value:f,modifier:R})),Pf(Fh,Hh(H1(S1,vH),null),(f,R)=>({value:f,modifier:R}))),mG=yR(ff(s("="),()=>"="),Pf(s("~"),s("="),()=>"~="),Pf(s("|"),s("="),()=>"|="),Pf(s("^"),s("="),()=>"^="),Pf(s("$"),s("="),()=>"$="),Pf(s("*"),s("="),()=>"*=")),sG=xA(s("["),TR(W1),s("]"),(f,{name:R,namespace:h})=>({type:"attrPresence",name:R,namespace:h,specificity:[0,1,0]})),CG=w1(s("["),xA(TR(W1),mG,TR(OG),({name:f,namespace:R},h,{value:A,modifier:I})=>({type:"attrValue",name:f,namespace:R,matcher:h,value:A,modifier:I,specificity:[0,1,0]})),s("]")),lG=pf(sG,CG),bG=pf(TG,KG),jH=yR(jG,vG,lG),OH=ff(pf(KH(bG,rA(jH)),BH(jH)),(f)=>{return{type:"compound",list:f,specificity:zG(f.map((R)=>R.specificity))}}),cG=yR(ff(s(">"),()=>">"),ff(s("+"),()=>"+"),ff(s("~"),()=>"~"),Pf(s("|"),s("|"),()=>"||")),dG=pf(TR(cG),ff(S1,()=>" ")),N1=F1(OH,ff(dG,(f)=>(R,h)=>({type:"compound",list:[...h.list,{type:"combinator",combinator:f,left:R,specificity:R.specificity}],specificity:bH(R.specificity,h.specificity)})),OH),VJ=F1(ff(N1,(f)=>({type:"list",list:[f]})),ff(TR(s(",")),()=>(f,R)=>({type:"list",list:[...f.list,R]})),N1);function kG(f,R){if(!(typeof R==="string"||R instanceof String))throw new Error("Expected a selector string. Actual input is not a string!");let h=ZG(R);if(!h.complete)throw new Error(`The input "${R}" was only partially tokenized, stopped at offset ${h.offset}!\n`+mH(R,h.offset));let A=TR(f)({tokens:h.tokens,options:void 0},0);if(!A.matched)throw new Error(`No match for "${R}" input!`);if(A.position<h.tokens.length){let I=h.tokens[A.position];throw new Error(`The input "${R}" was only partially parsed, stopped at offset ${I.offset}!\n`+mH(R,I.offset,I.len))}return A.value}function mH(f,R,h=1){return`${f.replace(/(\t)|(\r)|(\n)/g,(A,I,$)=>I?"\u2409":$?"\u240D":"\u240A")}\n${"".padEnd(R)}${"^".repeat(h)}`}function dH(f){return kG(N1,f)}function zf(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)+BR(f.name);case"class":return"."+BR(f.name);case"id":return"#"+BR(f.name);case"attrPresence":return`[${_A(f.namespace)}${BR(f.name)}]`;case"attrValue":return`[${_A(f.namespace)}${BR(f.name)}${f.matcher}"${rG(f.value)}"${f.modifier?f.modifier:""}]`;case"combinator":return zf(f.left)+f.combinator;case"compound":return f.list.reduce((R,h)=>{if(h.type==="combinator")return zf(h)+R;else return R+zf(h)},"");case"list":return f.list.map(zf).join(",")}}function _A(f){return f||f===""?BR(f)+"|":""}function aA(f){return`\\${f.codePointAt(0).toString(16)} `}function BR(f){return f.replace(/(^[0-9])|(^-[0-9])|(^-$)|([-0-9a-zA-Z_]|[^\x00-\x7F])|(\x00)|([\x01-\x1f]|\x7f)|([\s\S])/g,(R,h,A,I,$,P,U,H)=>h?aA(h):A?"-"+aA(A.slice(1)):I?"\\-":$?$:P?"\uFFFD":U?aA(U):"\\"+H)}function rG(f){return f.replace(/(")|(\\)|(\x00)|([\x01-\x1f]|\x7f)/g,(R,h,A,I,$)=>h?'\\"':A?"\\\\":I?"\uFFFD":aA($))}function wh(f){if(!f.type)throw new Error("This is not an AST node.");switch(f.type){case"compound":{f.list.forEach(wh),f.list.sort((R,h)=>kH(sH(R),sH(h)));break}case"combinator":{wh(f.left);break}case"list":{f.list.forEach(wh),f.list.sort((R,h)=>zf(R)<zf(h)?-1:1);break}}return f}function sH(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,zf(f)];case"attrValue":return[5,zf(f)];case"combinator":return[15,zf(f)]}}function Y1(f,R){return kH(f,R)}function kH(f,R){if(!Array.isArray(f)||!Array.isArray(R))throw new Error("Arguments must be arrays.");let h=f.length<R.length?f.length:R.length;for(let A=0;A<h;A++){if(f[A]===R[A])continue;return f[A]<R[A]?-1:1}return f.length-R.length}class pA{constructor(f){this.branches=KR(_G(f))}build(f){return f(this.branches)}}function _G(f){let R=f.length,h=new Array(R);for(let A=0;A<R;A++){let[I,$]=f[A],P=aG(dH(I));h[A]={ast:P,terminal:{type:"terminal",valueContainer:{index:A,value:$,specificity:P.specificity}}}}return h}function aG(f){return xH(f),wh(f),f}function xH(f){let R=[];f.list.forEach((h)=>{switch(h.type){case"class":R.push({matcher:"~=",modifier:null,name:"class",namespace:null,specificity:h.specificity,type:"attrValue",value:h.name});break;case"id":R.push({matcher:"=",modifier:null,name:"id",namespace:null,specificity:h.specificity,type:"attrValue",value:h.name});break;case"combinator":xH(h.left),R.push(h);break;case"universal":break;default:R.push(h);break}}),f.list=R}function KR(f){let R=[];while(f.length){let h=iH(f,(P)=>!0,_H),{matches:A,nonmatches:I,empty:$}=pG(f,h);if(f=I,A.length)R.push(eG(h,A));if($.length)R.push(...iG($))}return R}function iG(f){let R=[];for(let h of f){let A=h.terminal;if(A.type==="terminal")R.push(A);else{let{matches:I,rest:$}=f6(A.cont,(P)=>P.type==="terminal");if(I.forEach((P)=>R.push(P)),$.length)A.cont=$,R.push(A)}}return R}function pG(f,R){let h=[],A=[],I=[];for(let $ of f){let P=$.ast.list;if(P.length)(P.some((H)=>_H(H)===R)?h:A).push($);else I.push($)}return{matches:h,nonmatches:A,empty:I}}function _H(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 eG(f,R){if(f==="tag")return oG(R);if(f.startsWith("attrValue "))return uG(f.substring(10),R);if(f.startsWith("attrPresence "))return nG(f.substring(13),R);if(f==="combinator >")return rH(">",R);if(f==="combinator +")return rH("+",R);throw new Error(`Unsupported selector kind: ${f}`)}function oG(f){let R=D1(f,(A)=>A.type==="tag",(A)=>A.name);return{type:"tagName",variants:Object.entries(R).map(([A,I])=>({type:"variant",value:A,cont:KR(I.items)}))}}function nG(f,R){for(let h of R)aH(h,(A)=>A.type==="attrPresence"&&A.name===f);return{type:"attrPresence",name:f,cont:KR(R)}}function uG(f,R){let h=D1(R,(I)=>I.type==="attrValue"&&I.name===f,(I)=>`${I.matcher} ${I.modifier||""} ${I.value}`),A=[];for(let I of Object.values(h)){let $=I.oneSimpleSelector,P=tG($),U=KR(I.items);A.push({type:"matcher",matcher:$.matcher,modifier:$.modifier,value:$.value,predicate:P,cont:U})}return{type:"attrValue",name:f,matchers:A}}function tG(f){if(f.modifier==="i"){let R=f.value.toLowerCase();switch(f.matcher){case"=":return(h)=>R===h.toLowerCase();case"~=":return(h)=>h.toLowerCase().split(/[ \t]+/).includes(R);case"^=":return(h)=>h.toLowerCase().startsWith(R);case"$=":return(h)=>h.toLowerCase().endsWith(R);case"*=":return(h)=>h.toLowerCase().includes(R);case"|=":return(h)=>{let A=h.toLowerCase();return R===A||A.startsWith(R)&&A[R.length]==="-"}}}else{let R=f.value;switch(f.matcher){case"=":return(h)=>R===h;case"~=":return(h)=>h.split(/[ \t]+/).includes(R);case"^=":return(h)=>h.startsWith(R);case"$=":return(h)=>h.endsWith(R);case"*=":return(h)=>h.includes(R);case"|=":return(h)=>R===h||h.startsWith(R)&&h[R.length]==="-"}}}function rH(f,R){let h=D1(R,(I)=>I.type==="combinator"&&I.combinator===f,(I)=>zf(I.left)),A=[];for(let I of Object.values(h)){let $=KR(I.items),P=I.oneSimpleSelector.left;A.push({ast:P,terminal:{type:"popElement",cont:$}})}return{type:"pushElement",combinator:f,cont:KR(A)}}function D1(f,R,h){let A={};while(f.length){let I=iH(f,R,h),$=(N)=>R(N)&&h(N)===I,P=(N)=>N.ast.list.some($),{matches:U,rest:H}=R6(f,P),F=null;for(let N of U){let W=aH(N,$);if(!F)F=W}if(F==null)throw new Error("No simple selector is found.");A[I]={oneSimpleSelector:F,items:U},f=H}return A}function aH(f,R){let h=f.ast.list,A=new Array(h.length),I=-1;for(let P=h.length;P-- >0;)if(R(h[P]))A[P]=!0,I=P;if(I==-1)throw new Error("Couldn't find the required simple selector.");let $=h[I];return f.ast.list=h.filter((P,U)=>!A[U]),$}function iH(f,R,h){let A={};for(let P of f){let U={};for(let H of P.ast.list.filter(R))U[h(H)]=!0;for(let H of Object.keys(U))if(A[H])A[H]++;else A[H]=1}let I="",$=0;for(let P of Object.entries(A))if(P[1]>$)I=P[0],$=P[1];return I}function f6(f,R){let h=[],A=[];for(let I of f)if(R(I))h.push(I);else A.push(I);return{matches:h,rest:A}}function R6(f,R){let h=[],A=[];for(let I of f)if(R(I))h.push(I);else A.push(I);return{matches:h,rest:A}}class M1{constructor(f){this.f=f}pickAll(f){return this.f(f)}pick1(f,R=!1){let h=this.f(f),A=h.length;if(A===0)return null;if(A===1)return h[0].value;let I=R?h6:A6,$=h[0];for(let P=1;P<A;P++){let U=h[P];if(I($,U))$=U}return $.value}}function h6(f,R){let h=Y1(R.specificity,f.specificity);return h>0||h===0&&R.index<f.index}function A6(f,R){let h=Y1(R.specificity,f.specificity);return h>0||h===0&&R.index>f.index}function V1(f){return new M1(vR(f))}function vR(f){let R=f.map(I6);return(h,...A)=>R.flatMap((I)=>I(h,...A))}function I6(f){switch(f.type){case"terminal":{let R=[f.valueContainer];return(h,...A)=>R}case"tagName":return $6(f);case"attrValue":return U6(f);case"attrPresence":return P6(f);case"pushElement":return H6(f);case"popElement":return F6(f)}}function $6(f){let R={};for(let h of f.variants)R[h.value]=vR(h.cont);return(h,...A)=>{let I=R[h.name];return I?I(h,...A):[]}}function P6(f){let R=f.name,h=vR(f.cont);return(A,...I)=>Object.prototype.hasOwnProperty.call(A.attribs,R)?h(A,...I):[]}function U6(f){let R=[];for(let A of f.matchers){let I=A.predicate,$=vR(A.cont);R.push((P,U,...H)=>I(P)?$(U,...H):[])}let h=f.name;return(A,...I)=>{let $=A.attribs[h];return $||$===""?R.flatMap((P)=>P($,A,...I)):[]}}function H6(f){let R=vR(f.cont),h=f.combinator==="+"?pH:w6;return(A,...I)=>{let $=h(A);if($===null)return[];return R($,A,...I)}}var pH=(f)=>{let R=f.prev;if(R===null)return null;return dA(R)?R:pH(R)},w6=(f)=>{let R=f.parent;return R&&dA(R)?R:null};function F6(f){let R=vR(f.cont);return(h,A,...I)=>R(A,...I)}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 X1,E6=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]]),jR=(X1=String.fromCodePoint)!==null&&X1!==void 0?X1:function(f){let R="";if(f>65535)f-=65536,R+=String.fromCharCode(f>>>10&1023|55296),f=56320|f&1023;return R+=String.fromCharCode(f),R};function Gh(f){var R;if(f>=55296&&f<=57343||f>1114111)return 65533;return(R=E6.get(f))!==null&&R!==void 0?R: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 N6=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 Z1(f){return f>=o.ZERO&&f<=o.NINE}function G6(f){return f>=o.UPPER_A&&f<=o.UPPER_F||f>=o.LOWER_A&&f<=o.LOWER_F}function S6(f){return f>=o.UPPER_A&&f<=o.UPPER_Z||f>=o.LOWER_A&&f<=o.LOWER_Z||Z1(f)}function W6(f){return f===o.EQUALS||S6(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 wR;(function(f){f[f.Legacy=0]="Legacy",f[f.Strict=1]="Strict",f[f.Attribute=2]="Attribute"})(wR||(wR={}));class eH{constructor(f,R,h){this.decodeTree=f,this.emitCodePoint=R,this.errors=h,this.state=e.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=wR.Strict}startEntity(f){this.decodeMode=f,this.state=e.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(f,R){switch(this.state){case e.EntityStart:{if(f.charCodeAt(R)===o.NUM)return this.state=e.NumericStart,this.consumed+=1,this.stateNumericStart(f,R+1);return this.state=e.NamedEntity,this.stateNamedEntity(f,R)}case e.NumericStart:return this.stateNumericStart(f,R);case e.NumericDecimal:return this.stateNumericDecimal(f,R);case e.NumericHex:return this.stateNumericHex(f,R);case e.NamedEntity:return this.stateNamedEntity(f,R)}}stateNumericStart(f,R){if(R>=f.length)return-1;if((f.charCodeAt(R)|N6)===o.LOWER_X)return this.state=e.NumericHex,this.consumed+=1,this.stateNumericHex(f,R+1);return this.state=e.NumericDecimal,this.stateNumericDecimal(f,R)}addToNumericResult(f,R,h,A){if(R!==h){let I=h-R;this.result=this.result*Math.pow(A,I)+parseInt(f.substr(R,I),A),this.consumed+=I}}stateNumericHex(f,R){let h=R;while(R<f.length){let A=f.charCodeAt(R);if(Z1(A)||G6(A))R+=1;else return this.addToNumericResult(f,h,R,16),this.emitNumericEntity(A,3)}return this.addToNumericResult(f,h,R,16),-1}stateNumericDecimal(f,R){let h=R;while(R<f.length){let A=f.charCodeAt(R);if(Z1(A))R+=1;else return this.addToNumericResult(f,h,R,10),this.emitNumericEntity(A,2)}return this.addToNumericResult(f,h,R,10),-1}emitNumericEntity(f,R){var h;if(this.consumed<=R)return(h=this.errors)===null||h===void 0||h.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(f===o.SEMI)this.consumed+=1;else if(this.decodeMode===wR.Strict)return 0;if(this.emitCodePoint(Gh(this.result),this.consumed),this.errors){if(f!==o.SEMI)this.errors.missingSemicolonAfterCharacterReference();this.errors.validateNumericCharacterReference(this.result)}return this.consumed}stateNamedEntity(f,R){let{decodeTree:h}=this,A=h[this.treeIndex],I=(A&Yf.VALUE_LENGTH)>>14;for(;R<f.length;R++,this.excess++){let $=f.charCodeAt(R);if(this.treeIndex=J1(h,A,this.treeIndex+Math.max(1,I),$),this.treeIndex<0)return this.result===0||this.decodeMode===wR.Attribute&&(I===0||W6($))?0:this.emitNotTerminatedNamedEntity();if(A=h[this.treeIndex],I=(A&Yf.VALUE_LENGTH)>>14,I!==0){if($===o.SEMI)return this.emitNamedEntityData(this.treeIndex,I,this.consumed+this.excess);if(this.decodeMode!==wR.Strict)this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0}}return-1}emitNotTerminatedNamedEntity(){var f;let{result:R,decodeTree:h}=this,A=(h[R]&Yf.VALUE_LENGTH)>>14;return this.emitNamedEntityData(R,A,this.consumed),(f=this.errors)===null||f===void 0||f.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(f,R,h){let{decodeTree:A}=this;if(this.emitCodePoint(R===1?A[f]&~Yf.VALUE_LENGTH:A[f+1],h),R===3)this.emitCodePoint(A[f+2],h);return h}end(){var f;switch(this.state){case e.NamedEntity:return this.result!==0&&(this.decodeMode!==wR.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 oH(f){let R="",h=new eH(f,(A)=>R+=jR(A));return function A(I,$){let P=0,U=0;while((U=I.indexOf("&",U))>=0){R+=I.slice(P,U),h.startEntity($);let F=h.write(I,U+1);if(F<0){P=U+h.end();break}P=U+F,U=F===0?P+1:P}let H=R+I.slice(P);return R="",H}}function J1(f,R,h,A){let I=(R&Yf.BRANCH_LENGTH)>>7,$=R&Yf.JUMP_TABLE;if(I===0)return $!==0&&A===$?h:-1;if($){let H=A-$;return H<0||H>=I?-1:f[h+H]-1}let P=h,U=P+I-1;while(P<=U){let H=P+U>>>1,F=f[H];if(F<A)P=H+1;else if(F>A)U=H-1;else return f[H+I]}return-1}var vJ=oH(eA),jJ=oH(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 Of(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||Of(f)}function nH(f){return f>=G.Zero&&f<=G.Nine}function Y6(f){return f>=G.LowerA&&f<=G.LowerZ||f>=G.UpperA&&f<=G.UpperZ}function D6(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:R=!0},h){this.cbs=h,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=R,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 R=this.sequenceIndex===this.currentSequence.length;if(!(R?nA(f):(f|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!R){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||Of(f)){let R=this.index-this.currentSequence.length;if(this.sectionStart<R){let h=this.index;this.index=R,this.cbs.ontext(this.sectionStart,R),this.index=h}this.isSpecial=!1,this.sectionStart=R+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):Y6(f)}startSpecial(f,R){this.isSpecial=!0,this.currentSequence=f,this.sequenceIndex=R,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 R=f|32;if(this.sectionStart=this.index,!this.xmlMode&&R===Nf.TitleEnd[2])this.startSpecial(Nf.TitleEnd,3);else this.state=!this.xmlMode&&R===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(Of(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||Of(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(!Of(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(!Of(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(!Of(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(!Of(f))this.sectionStart=this.index,this.state=E.InAttributeValueNq,this.stateInAttributeValueNoQuotes(f)}handleInAttributeValue(f,R){if(f===R||!this.decodeEntities&&this.fastForwardTo(R))this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(R===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(Of(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 R=f|32;if(R===Nf.ScriptEnd[3])this.startSpecial(Nf.ScriptEnd,4);else if(R===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=J1(this.entityTrie,this.trieCurrent,this.trieIndex+1,f),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];let R=this.trieCurrent&Yf.VALUE_LENGTH;if(R){let h=(R>>14)-1;if(!this.allowLegacyEntity()&&f!==G.Semi)this.trieIndex+=h;else{let A=this.index-this.entityExcess+1;if(A>this.sectionStart)this.emitPartial(this.sectionStart,A);if(this.entityResult=this.trieIndex,this.trieIndex+=h,this.entityExcess=0,this.sectionStart=this.index+1,h===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 R=this.index-this.entityExcess-1;if(R+2+Number(this.state===E.InHexEntity)!==this.index){if(R>this.sectionStart)this.emitPartial(this.sectionStart,R);this.sectionStart=this.index+Number(f),this.emitCodePoint(Gh(this.entityResult))}this.state=this.baseState}stateInNumericEntity(f){if(f===G.Semi)this.emitNumericEntity(!0);else if(nH(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(nH(f))this.entityResult=this.entityResult*16+(f-G.Zero),this.entityExcess++;else if(D6(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,R){if(this.baseState!==E.Text&&this.baseState!==E.InSpecialTag)this.cbs.onattribdata(f,R);else this.cbs.ontext(f,R)}emitCodePoint(f){if(this.baseState!==E.Text&&this.baseState!==E.InSpecialTag)this.cbs.onattribentity(f);else this.cbs.ontextentity(f)}}var OR=new Set(["input","option","optgroup","select","button","datalist","textarea"]),v=new Set(["p"]),uH=new Set(["thead","tbody"]),tH=new Set(["dd","dt"]),fw=new Set(["rt","rp"]),M6=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",OR],["input",OR],["output",OR],["button",OR],["datalist",OR],["textarea",OR],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",tH],["dt",tH],["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",fw],["rp",fw],["tbody",uH],["tfoot",uH]]),V6=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),Rw=new Set(["math","svg"]),hw=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),X6=/\s|\//;class z1{constructor(f,R={}){var h,A,I,$,P;this.options=R,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=(h=R.lowerCaseTags)!==null&&h!==void 0?h:!R.xmlMode,this.lowerCaseAttributeNames=(A=R.lowerCaseAttributeNames)!==null&&A!==void 0?A:!R.xmlMode,this.tokenizer=new((I=R.Tokenizer)!==null&&I!==void 0?I:uA)(this.options,this),(P=($=this.cbs).onparserinit)===null||P===void 0||P.call($,this)}ontext(f,R){var h,A;let I=this.getSlice(f,R);this.endIndex=R-1,(A=(h=this.cbs).ontext)===null||A===void 0||A.call(h,I),this.startIndex=R}ontextentity(f){var R,h;let A=this.tokenizer.getSectionStart();this.endIndex=A-1,(h=(R=this.cbs).ontext)===null||h===void 0||h.call(R,jR(f)),this.startIndex=A}isVoidElement(f){return!this.options.xmlMode&&V6.has(f)}onopentagname(f,R){this.endIndex=R;let h=this.getSlice(f,R);if(this.lowerCaseTagNames)h=h.toLowerCase();this.emitOpenTag(h)}emitOpenTag(f){var R,h,A,I;this.openTagStart=this.startIndex,this.tagname=f;let $=!this.options.xmlMode&&M6.get(f);if($)while(this.stack.length>0&&$.has(this.stack[this.stack.length-1])){let P=this.stack.pop();(h=(R=this.cbs).onclosetag)===null||h===void 0||h.call(R,P,!0)}if(!this.isVoidElement(f)){if(this.stack.push(f),Rw.has(f))this.foreignContext.push(!0);else if(hw.has(f))this.foreignContext.push(!1)}if((I=(A=this.cbs).onopentagname)===null||I===void 0||I.call(A,f),this.cbs.onopentag)this.attribs={}}endOpenTag(f){var R,h;if(this.startIndex=this.openTagStart,this.attribs)(h=(R=this.cbs).onopentag)===null||h===void 0||h.call(R,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,R){var h,A,I,$,P,U;this.endIndex=R;let H=this.getSlice(f,R);if(this.lowerCaseTagNames)H=H.toLowerCase();if(Rw.has(H)||hw.has(H))this.foreignContext.pop();if(!this.isVoidElement(H)){let F=this.stack.lastIndexOf(H);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&&H==="p")this.emitOpenTag("p"),this.closeCurrentTag(!0)}else if(!this.options.xmlMode&&H==="br")(A=(h=this.cbs).onopentagname)===null||A===void 0||A.call(h,"br"),($=(I=this.cbs).onopentag)===null||$===void 0||$.call(I,"br",{},!0),(U=(P=this.cbs).onclosetag)===null||U===void 0||U.call(P,"br",!1);this.startIndex=R+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 R,h;let A=this.tagname;if(this.endOpenTag(f),this.stack[this.stack.length-1]===A)(h=(R=this.cbs).onclosetag)===null||h===void 0||h.call(R,A,!f),this.stack.pop()}onattribname(f,R){this.startIndex=f;let h=this.getSlice(f,R);this.attribname=this.lowerCaseAttributeNames?h.toLowerCase():h}onattribdata(f,R){this.attribvalue+=this.getSlice(f,R)}onattribentity(f){this.attribvalue+=jR(f)}onattribend(f,R){var h,A;if(this.endIndex=R,(A=(h=this.cbs).onattribute)===null||A===void 0||A.call(h,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 R=f.search(X6),h=R<0?f:f.substr(0,R);if(this.lowerCaseTagNames)h=h.toLowerCase();return h}ondeclaration(f,R){this.endIndex=R;let h=this.getSlice(f,R);if(this.cbs.onprocessinginstruction){let A=this.getInstructionName(h);this.cbs.onprocessinginstruction(`!${A}`,`!${h}`)}this.startIndex=R+1}onprocessinginstruction(f,R){this.endIndex=R;let h=this.getSlice(f,R);if(this.cbs.onprocessinginstruction){let A=this.getInstructionName(h);this.cbs.onprocessinginstruction(`?${A}`,`?${h}`)}this.startIndex=R+1}oncomment(f,R,h){var A,I,$,P;this.endIndex=R,(I=(A=this.cbs).oncomment)===null||I===void 0||I.call(A,this.getSlice(f,R-h)),(P=($=this.cbs).oncommentend)===null||P===void 0||P.call($),this.startIndex=R+1}oncdata(f,R,h){var A,I,$,P,U,H,F,N,W,V;this.endIndex=R;let S=this.getSlice(f,R-h);if(this.options.xmlMode||this.options.recognizeCDATA)(I=(A=this.cbs).oncdatastart)===null||I===void 0||I.call(A),(P=($=this.cbs).ontext)===null||P===void 0||P.call($,S),(H=(U=this.cbs).oncdataend)===null||H===void 0||H.call(U);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=R+1}onend(){var f,R;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let h=this.stack.length;h>0;this.cbs.onclosetag(this.stack[--h],!0));}(R=(f=this.cbs).onend)===null||R===void 0||R.call(f)}reset(){var f,R,h,A;(R=(f=this.cbs).onreset)===null||R===void 0||R.call(f),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(A=(h=this.cbs).onparserinit)===null||A===void 0||A.call(h,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(f){this.reset(),this.end(f)}getSlice(f,R){while(f-this.bufferOffset>=this.buffers[0].length)this.shiftBuffer();let h=this.buffers[0].slice(f-this.bufferOffset,R-this.bufferOffset);while(R-this.bufferOffset>this.buffers[0].length)this.shiftBuffer(),h+=this.buffers[0].slice(0,R-this.bufferOffset);return h}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(f){var R,h;if(this.ended){(h=(R=this.cbs).onerror)===null||h===void 0||h.call(R,new Error(".write() after done!"));return}if(this.buffers.push(f),this.tokenizer.running)this.tokenizer.write(f),this.writeIndex++}end(f){var R,h;if(this.ended){(h=(R=this.cbs).onerror)===null||h===void 0||h.call(R,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 Aw=/["&'<>$\x80-\uFFFF]/g,Iw=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),Z6=String.prototype.codePointAt!=null?(f,R)=>f.codePointAt(R):(f,R)=>(f.charCodeAt(R)&64512)===55296?(f.charCodeAt(R)-55296)*1024+f.charCodeAt(R+1)-56320+65536:f.charCodeAt(R);function tA(f){let R="",h=0,A;while((A=Aw.exec(f))!==null){let I=A.index,$=f.charCodeAt(I),P=Iw.get($);if(P!==void 0)R+=f.substring(h,I)+P,h=I+1;else R+=`${f.substring(h,I)}&#x${Z6(f,I).toString(16)};`,h=Aw.lastIndex+=Number(($&64512)===55296)}return R+f.substr(h)}function L1(f,R){return function h(A){let I,$=0,P="";while(I=f.exec(A)){if($!==I.index)P+=A.substring($,I.index);P+=R.get(I[0].charCodeAt(0)),$=I.index+1}return P+A.substring($)}}var J6=L1(/[&<>'"]/g,Iw),Q1=L1(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),q1=L1(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));var $w;(function(f){f[f.XML=0]="XML",f[f.HTML=1]="HTML"})($w||($w={}));var Pw;(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"})(Pw||(Pw={}));var Uw=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])),Hw=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 z6=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function L6(f){return f.replace(/"/g,"&quot;")}function Q6(f,R){var h;if(!f)return;let A=((h=R.encodeEntities)!==null&&h!==void 0?h:R.decodeEntities)===!1?L6:R.xmlMode||R.encodeEntities!=="utf8"?tA:Q1;return Object.keys(f).map((I)=>{var $,P;let U=($=f[I])!==null&&$!==void 0?$:"";if(R.xmlMode==="foreign")I=(P=Hw.get(I))!==null&&P!==void 0?P:I;if(!R.emptyAttrs&&!R.xmlMode&&U==="")return I;return`${I}="${A(U)}"`}).join(" ")}var ww=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function Sh(f,R={}){let h="length"in f?f:[f],A="";for(let I=0;I<h.length;I++)A+=q6(h[I],R);return A}function q6(f,R){switch(f.type){case WH:return Sh(f.children,R);case zH:case DH:return T6(f);case MH:return j6(f);case JH:return v6(f);case VH:case XH:case ZH:return B6(f,R);case YH:return K6(f,R)}}var g6=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),y6=new Set(["svg","math"]);function B6(f,R){var h;if(R.xmlMode==="foreign"){if(f.name=(h=Uw.get(f.name))!==null&&h!==void 0?h:f.name,f.parent&&g6.has(f.parent.name))R={...R,xmlMode:!1}}if(!R.xmlMode&&y6.has(f.name))R={...R,xmlMode:"foreign"};let A=`<${f.name}`,I=Q6(f.attribs,R);if(I)A+=` ${I}`;if(f.children.length===0&&(R.xmlMode?R.selfClosingTags!==!1:R.selfClosingTags&&ww.has(f.name))){if(!R.xmlMode)A+=" ";A+="/>"}else{if(A+=">",f.children.length>0)A+=Sh(f.children,R);if(R.xmlMode||!ww.has(f.name))A+=`</${f.name}>`}return A}function T6(f){return`<${f.data}>`}function K6(f,R){var h;let A=f.data||"";if(((h=R.encodeEntities)!==null&&h!==void 0?h:R.decodeEntities)!==!1&&!(!R.xmlMode&&f.parent&&z6.has(f.parent.name)))A=R.xmlMode||R.encodeEntities!=="utf8"?tA(A):q1(A);return A}function v6(f){return`<![CDATA[${f.children[0].data}]]>`}function j6(f){return`<!--${f.data}-->`}function Fw(f,R){let h=new I1(void 0,R);return new z1(h,R).end(f),h.root}var j1=x(Sw(),1);function O1(f,R,h=()=>{return}){if(f===void 0){let A=function(...I){return R(A,...I)};return A}if(f>=0)return function(...A){return R(O1(f-1,R,h),...A)};return h}function Vw(f,R){let h=0,A=f.length;while(h<A&&f[h]===R)++h;while(A>h&&f[A-1]===R)--A;return h>0||A<f.length?f.substring(h,A):f}function i6(f,R){let h=f.length;while(h>0&&f[h-1]===R)--h;return h<f.length?f.substring(0,h):f}function p6(f){return f.replace(/[\s\S]/g,(R)=>"\\u"+R.charCodeAt().toString(16).padStart(4,"0"))}function Xw(f,R){let h=new Map;for(let A=f.length;A-- >0;){let I=f[A],$=R(I);h.set($,h.has($)?j1.default(I,h.get($),{arrayMerge:e6}):I)}return[...h.values()].reverse()}var e6=(f,R,h)=>[...R];function sR(f,R){for(let h of R){if(!f)return;f=f[h]}return f}function Ww(f,R="a",h=26){let A=[];do f-=1,A.push(f%h),f=f/h>>0;while(f>0);let I=R.charCodeAt(0);return A.reverse().map(($)=>String.fromCharCode(I+$)).join("")}var g1=["I","X","C","M"],Yw=["V","L","D"];function Dw(f){return[...f+""].map((R)=>+R).reverse().map((R,h)=>R%5<4?(R<5?"":Yw[h])+g1[h].repeat(R%5):g1[h]+(R<5?Yw[h]:g1[h+1])).reverse().join("")}class m1{constructor(f,R=void 0){this.lines=[],this.nextLineWords=[],this.maxLineLength=R||f.wordwrap||Number.MAX_VALUE,this.nextLineAvailableChars=this.maxLineLength,this.wrapCharacters=sR(f,["longWordSplit","wrapCharacters"])||[],this.forceWrapOnLimit=sR(f,["longWordSplit","forceWrapOnLimit"])||!1,this.stashedSpace=!1,this.wordBreakOpportunity=!1}pushWord(f,R=!1){if(this.nextLineAvailableChars<=0&&!R)this.startNewLine();let h=this.nextLineWords.length===0,A=f.length+(h?0:1);if(A<=this.nextLineAvailableChars||R)this.nextLineWords.push(f),this.nextLineAvailableChars-=A;else{let[I,...$]=this.splitLongWord(f);if(!h)this.startNewLine();this.nextLineWords.push(I),this.nextLineAvailableChars-=I.length;for(let P of $)this.startNewLine(),this.nextLineWords.push(P),this.nextLineAvailableChars-=P.length}}popWord(){let f=this.nextLineWords.pop();if(f!==void 0){let R=this.nextLineWords.length===0,h=f.length+(R?0:1);this.nextLineAvailableChars+=h}return f}concatWord(f,R=!1){if(this.wordBreakOpportunity&&f.length>this.nextLineAvailableChars)this.pushWord(f,R),this.wordBreakOpportunity=!1;else{let h=this.popWord();this.pushWord(h?h.concat(f):f,R)}}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 R=[],h=0;while(f.length>this.maxLineLength){let A=f.substring(0,this.maxLineLength),I=f.substring(this.maxLineLength),$=A.lastIndexOf(this.wrapCharacters[h]);if($>-1)f=A.substring($+1)+I,R.push(A.substring(0,$+1));else if(h++,h<this.wrapCharacters.length)f=A+I;else{if(this.forceWrapOnLimit){if(R.push(A),f=I,f.length>this.maxLineLength)continue}else f=A+I;break}}return R.push(f),R}}class CR{constructor(f=null){this.next=f}getRoot(){return this.next?this.next:this}}class Qf extends CR{constructor(f,R=null,h=1,A=void 0){super(R);this.leadingLineBreaks=h,this.inlineTextBuilder=new m1(f,A),this.rawText="",this.stashedLineBreaks=0,this.isPre=R&&R.isPre,this.isNoWrap=R&&R.isNoWrap}}class y1 extends Qf{constructor(f,R=null,{interRowLineBreaks:h=1,leadingLineBreaks:A=2,maxLineLength:I=void 0,maxPrefixLength:$=0,prefixAlign:P="left"}={}){super(f,R,A,I);this.maxPrefixLength=$,this.prefixAlign=P,this.interRowLineBreaks=h}}class ef extends Qf{constructor(f,R=null,{leadingLineBreaks:h=1,maxLineLength:A=void 0,prefix:I=""}={}){super(f,R,h,A);this.prefix=I}}class B1 extends CR{constructor(f=null){super(f);this.rows=[],this.isPre=f&&f.isPre,this.isNoWrap=f&&f.isNoWrap}}class T1 extends CR{constructor(f=null){super(f);this.cells=[],this.isPre=f&&f.isPre,this.isNoWrap=f&&f.isNoWrap}}class of extends CR{constructor(f,R=null,h=void 0){super(R);this.inlineTextBuilder=new m1(f,h),this.rawText="",this.stashedLineBreaks=0,this.isPre=R&&R.isPre,this.isNoWrap=R&&R.isNoWrap}}class Zw extends CR{constructor(f=null,R){super(f);this.transform=R}}function o6(f){return[...f].map((R)=>"\\u"+R.charCodeAt(0).toString(16).padStart(4,"0")).join("")}class Jw{constructor(f){this.whitespaceChars=f.preserveNewlines?f.whitespaceCharacters.replace(/\n/g,""):f.whitespaceCharacters;let R=o6(this.whitespaceChars);if(this.leadingWhitespaceRe=new RegExp(`^[${R}]`),this.trailingWhitespaceRe=new RegExp(`[${R}]\$`),this.allWhitespaceOrEmptyRe=new RegExp(`^[${R}]*\$`),this.newlineOrNonWhitespaceRe=new RegExp(`(\\n|[^\\n${R}])`,"g"),this.newlineOrNonNewlineStringRe=new RegExp("(\\n|[^\\n]+)","g"),f.preserveNewlines){let h=new RegExp(`\\n|[^\\n${R}]+`,"gm");this.shrinkWrapAdd=function(A,I,$=(U)=>U,P=!1){if(!A)return;let U=I.stashedSpace,H=!1,F=h.exec(A);if(F){if(H=!0,F[0]==="\n")I.startNewLine();else if(U||this.testLeadingWhitespace(A))I.pushWord($(F[0]),P);else I.concatWord($(F[0]),P);while((F=h.exec(A))!==null)if(F[0]==="\n")I.startNewLine();else I.pushWord($(F[0]),P)}I.stashedSpace=U&&!H||this.testTrailingWhitespace(A)}}else{let h=new RegExp(`[^${R}]+`,"g");this.shrinkWrapAdd=function(A,I,$=(U)=>U,P=!1){if(!A)return;let U=I.stashedSpace,H=!1,F=h.exec(A);if(F){if(H=!0,U||this.testLeadingWhitespace(A))I.pushWord($(F[0]),P);else I.concatWord($(F[0]),P);while((F=h.exec(A))!==null)I.pushWord($(F[0]),P)}I.stashedSpace=U&&!H||this.testTrailingWhitespace(A)}}}addLiteral(f,R,h=!0){if(!f)return;let A=R.stashedSpace,I=!1,$=this.newlineOrNonNewlineStringRe.exec(f);if($){if(I=!0,$[0]==="\n")R.startNewLine();else if(A)R.pushWord($[0],h);else R.concatWord($[0],h);while(($=this.newlineOrNonNewlineStringRe.exec(f))!==null)if($[0]==="\n")R.startNewLine();else R.pushWord($[0],h)}R.stashedSpace=A&&!I}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 R=0,h;while((h=this.newlineOrNonWhitespaceRe.exec(f))!==null)if(h[0]==="\n")R++;else return 0;return R}}class zw{constructor(f,R,h=void 0){this.options=f,this.picker=R,this.metadata=h,this.whitespaceProcessor=new Jw(f),this._stackItem=new Qf(f),this._wordTransformer=void 0}pushWordTransform(f){this._wordTransformer=new Zw(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?(h)=>Lw(h,this._wordTransformer):void 0,R=this.options.encodeCharacters;return f?R?(h)=>R(f(h)):f:R}_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:R=!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 h=this.whitespaceProcessor.countNewlinesNoWords(f);if(h>0){this._stackItem.inlineTextBuilder.startNewLine(h);return}}if(this._stackItem.stashedLineBreaks)this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks);this.whitespaceProcessor.shrinkWrapAdd(f,this._stackItem.inlineTextBuilder,R?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:R=0,isPre:h=!1}={}){let A=Math.max(20,this._stackItem.inlineTextBuilder.maxLineLength-R);if(this._stackItem=new Qf(this.options,this._stackItem,f,A),h)this._stackItem.isPre=!0}closeBlock({trailingLineBreaks:f=1,blockTransform:R=void 0}={}){let h=this._popStackItem(),A=R?R(FR(h)):FR(h);f0(this._stackItem,A,h.leadingLineBreaks,Math.max(h.stashedLineBreaks,f))}openList({maxPrefixLength:f=0,prefixAlign:R="left",interRowLineBreaks:h=1,leadingLineBreaks:A=2}={}){this._stackItem=new y1(this.options,this._stackItem,{interRowLineBreaks:h,leadingLineBreaks:A,maxLineLength:this._stackItem.inlineTextBuilder.maxLineLength,maxPrefixLength:f,prefixAlign:R})}openListItem({prefix:f=""}={}){if(!(this._stackItem instanceof y1))throw new Error("Can\'t add a list item to something that is not a list! Check the formatter.");let R=this._stackItem,h=Math.max(f.length,R.maxPrefixLength),A=Math.max(20,R.inlineTextBuilder.maxLineLength-h);this._stackItem=new ef(this.options,R,{prefix:f,maxLineLength:A,leadingLineBreaks:R.interRowLineBreaks})}closeListItem(){let f=this._popStackItem(),R=f.next,h=Math.max(f.prefix.length,R.maxPrefixLength),A="\n"+" ".repeat(h),$=(R.prefixAlign==="right"?f.prefix.padStart(h):f.prefix.padEnd(h))+FR(f).replace(/\n/g,A);f0(R,$,f.leadingLineBreaks,Math.max(f.stashedLineBreaks,R.interRowLineBreaks))}closeList({trailingLineBreaks:f=2}={}){let R=this._popStackItem(),h=FR(R);if(h)f0(this._stackItem,h,R.leadingLineBreaks,f)}openTable(){this._stackItem=new B1(this._stackItem)}openTableRow(){if(!(this._stackItem instanceof B1))throw new Error("Can\'t add a table row to something that is not a table! Check the formatter.");this._stackItem=new T1(this._stackItem)}openTableCell({maxColumnWidth:f=void 0}={}){if(!(this._stackItem instanceof T1))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:R=1}={}){let h=this._popStackItem(),A=Vw(FR(h),"\n");h.next.cells.push({colspan:f,rowspan:R,text:A})}closeTableRow(){let f=this._popStackItem();f.next.rows.push(f.cells)}closeTable({tableToString:f,leadingLineBreaks:R=2,trailingLineBreaks:h=2}){let A=this._popStackItem(),I=f(A.rows);if(I)f0(this._stackItem,I,R,h)}toString(){return FR(this._stackItem.getRoot())}}function FR(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,R,h,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 I=FR(f),$=Math.max(f.stashedLineBreaks,h);if(f.inlineTextBuilder.clear(),I)f.rawText=I+"\n".repeat($)+R;else f.rawText=R,f.leadingLineBreaks=$;f.stashedLineBreaks=A}function Lw(f,R){return R?Lw(R.transform(f),R.next):f}function n6(f={}){let R=f.selectors.filter((P)=>!P.format);if(R.length)throw new Error("Following selectors have no specified format: "+R.map((P)=>`\`${P.selector}\``).join(", "));let h=new pA(f.selectors.map((P)=>[P.selector,P])).build(V1);if(typeof f.encodeCharacters!=="function")f.encodeCharacters=RS(f.encodeCharacters);let A=new pA(f.baseElements.selectors.map((P,U)=>[P,U+1])).build(V1);function I(P){return t6(P,f,A)}let $=O1(f.limits.maxDepth,fS,function(P,U){U.addInline(f.limits.ellipsis||"")});return function(P,U=void 0){return u6(P,U,f,h,I,$)}}function u6(f,R,h,A,I,$){let P=h.limits.maxInputLength;if(P&&f&&f.length>P)console.warn(`Input length ${f.length} is above allowed limit of ${P}. Truncating without ellipsis.`),f=f.substring(0,P);let U=Fw(f,{decodeEntities:h.decodeEntities}),H=I(U.children),F=new zw(h,A,R);return $(H,F),F.toString()}function t6(f,R,h){let A=[];function I(P,U){U=U.slice(0,R.limits.maxChildNodes);for(let H of U){if(H.type!=="tag")continue;let F=h.pick1(H);if(F>0)A.push({selectorIndex:F,element:H});else if(H.children)P(H.children);if(A.length>=R.limits.maxBaseElements)return}}if(O1(R.limits.maxDepth,I)(f),R.baseElements.orderBy!=="occurrence")A.sort((P,U)=>P.selectorIndex-U.selectorIndex);return R.baseElements.returnDomByDefault&&A.length===0?f:A.map((P)=>P.element)}function fS(f,R,h){if(!R)return;let A=h.options;if(R.length>A.limits.maxChildNodes)R=R.slice(0,A.limits.maxChildNodes),R.push({data:A.limits.ellipsis,type:"text"});for(let $ of R)switch($.type){case"text":{h.addInline($.data);break}case"tag":{let P=h.picker.pick1($),U=A.formatters[P.format];U($,f,h,P.options||{});break}}return}function RS(f){if(!f||Object.keys(f).length===0)return;let R=Object.entries(f).filter(([,$])=>$!==!1),h=new RegExp(R.map(([$])=>`(${p6([...$][0])})`).join("|"),"g"),A=R.map(([,$])=>$),I=($,...P)=>A[P.findIndex((U)=>U)];return($)=>$.replace(h,I)}function hS(f,R,h,A){}function AS(f,R,h,A){h.addLiteral(A.string||"")}function IS(f,R,h,A){h.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),h.addLiteral(A.string||""),h.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function $S(f,R,h,A){R(f.children,h)}function PS(f,R,h,A){h.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),R(f.children,h),h.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function Qw(f){let R=f.attribs&&f.attribs.length?" "+Object.entries(f.attribs).map(([h,A])=>A===""?h:`${h}=${A.replace(/"/g,"&quot;")}`).join(" "):"";return`<${f.name}${R}>`}function qw(f){return`</${f.name}>`}function US(f,R,h,A){h.startNoWrap(),h.addLiteral(Qw(f)),h.stopNoWrap(),R(f.children,h),h.startNoWrap(),h.addLiteral(qw(f)),h.stopNoWrap()}function HS(f,R,h,A){h.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),h.startNoWrap(),h.addLiteral(Qw(f)),h.stopNoWrap(),R(f.children,h),h.startNoWrap(),h.addLiteral(qw(f)),h.stopNoWrap(),h.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function wS(f,R,h,A){h.startNoWrap(),h.addLiteral(Sh(f,{decodeEntities:h.options.decodeEntities})),h.stopNoWrap()}function FS(f,R,h,A){h.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),h.startNoWrap(),h.addLiteral(Sh(f,{decodeEntities:h.options.decodeEntities})),h.stopNoWrap(),h.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function ES(f,R,h,A){h.addLiteral(A.prefix||""),R(f.children,h),h.addLiteral(A.suffix||"")}var NS=Object.freeze({__proto__:null,block:PS,blockHtml:FS,blockString:IS,blockTag:HS,inline:$S,inlineHtml:wS,inlineString:AS,inlineSurround:ES,inlineTag:US,skip:hS});function R0(f,R){if(!f[R])f[R]=[];return f[R]}function GS(f,R=0){while(f[R])R++;return R}function SS(f,R){for(let h=0;h<R;h++){let A=R0(f,h);for(let I=0;I<h;I++){let $=R0(f,I);if(A[I]||$[h]){let P=A[I];A[I]=$[h],$[h]=P}}}}function WS(f,R,h,A){for(let I=0;I<f.rowspan;I++){let $=R0(R,h+I);for(let P=0;P<f.colspan;P++)$[A+P]=f}}function K1(f,R){if(f[R]===void 0)f[R]=R===0?0:1+K1(f,R-1);return f[R]}function Mw(f,R,h,A){f[R+h]=Math.max(K1(f,R+h),K1(f,R)+A)}function YS(f,R,h){let A=[],I=0,$=f.length,P=[0];for(let F=0;F<$;F++){let N=R0(A,F),W=f[F],V=0;for(let S=0;S<W.length;S++){let L=W[S];V=GS(N,V),WS(L,A,F,V),V+=L.colspan,L.lines=L.text.split("\n");let K=L.lines.length;Mw(P,F,L.rowspan,K+R)}I=N.length>I?N.length:I}SS(A,$>I?$:I);let U=[],H=[0];for(let F=0;F<I;F++){let N=0,W,V=Math.min($,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=P[N]+L;U[Af]=(U[Af]||"").padEnd(H[F])+K,S=K.length>S?K.length:S}Mw(H,F,W.colspan,S+h),W.rendered=!0}N+=W.rowspan}else{let S=P[N];U[S]=U[S]||"",N++}}return U.join("\n")}function DS(f,R,h,A){h.addLineBreak()}function MS(f,R,h,A){h.addWordBreakOpportunity()}function VS(f,R,h,A){h.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),h.addInline("-".repeat(A.length||h.options.wordwrap||40)),h.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function XS(f,R,h,A){h.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),R(f.children,h),h.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function ZS(f,R,h,A){h.openBlock({isPre:!0,leadingLineBreaks:A.leadingLineBreaks||2}),R(f.children,h),h.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function JS(f,R,h,A){if(h.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),A.uppercase!==!1)h.pushWordTransform((I)=>I.toUpperCase()),R(f.children,h),h.popWordTransform();else R(f.children,h);h.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function zS(f,R,h,A){h.openBlock({leadingLineBreaks:A.leadingLineBreaks||2,reservedLineLength:2}),R(f.children,h),h.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2,blockTransform:(I)=>(A.trimEmptyLines!==!1?Vw(I,"\n"):I).split("\n").map(($)=>"> "+$).join("\n")})}function v1(f,R){if(!R)return f;let h=typeof R[0]==="string"?R[0]:"[",A=typeof R[1]==="string"?R[1]:"]";return h+f+A}function gw(f,R,h,A,I){let $=typeof R==="function"?R(f,A,I):f;return $[0]==="/"&&h?i6(h,"/")+$:$}function LS(f,R,h,A){let I=f.attribs||{},$=I.alt?I.alt:"",P=!I.src?"":gw(I.src,A.pathRewrite,A.baseUrl,h.metadata,f),U=!P?$:!$?v1(P,A.linkBrackets):$+" "+v1(P,A.linkBrackets);h.addInline(U,{noWordTransform:!0})}function QS(f,R,h,A){function I(){if(A.ignoreHref)return"";if(!f.attribs||!f.attribs.href)return"";let P=f.attribs.href.replace(/^mailto:/,"");if(A.noAnchorUrl&&P[0]==="#")return"";return P=gw(P,A.pathRewrite,A.baseUrl,h.metadata,f),P}let $=I();if(!$)R(f.children,h);else{let P="";if(h.pushWordTransform((H)=>{if(H)P+=H;return H}),R(f.children,h),h.popWordTransform(),!(A.hideLinkHrefIfSameAsText&&$===P))h.addInline(!P?$:" "+v1($,A.linkBrackets),{noWordTransform:!0})}}function yw(f,R,h,A,I){let $=sR(f,["parent","name"])==="li",P=0,U=(f.children||[]).filter((H)=>H.type!=="text"||!/^\s*$/.test(H.data)).map(function(H){if(H.name!=="li")return{node:H,prefix:""};let F=$?I().trimStart():I();if(F.length>P)P=F.length;return{node:H,prefix:F}});if(!U.length)return;h.openList({interRowLineBreaks:1,leadingLineBreaks:$?1:A.leadingLineBreaks||2,maxPrefixLength:P,prefixAlign:"left"});for(let{node:H,prefix:F}of U)h.openListItem({prefix:F}),R([H],h),h.closeListItem();h.closeList({trailingLineBreaks:$?1:A.trailingLineBreaks||2})}function qS(f,R,h,A){let I=A.itemPrefix||" * ";return yw(f,R,h,A,()=>I)}function gS(f,R,h,A){let I=Number(f.attribs.start||"1"),$=yS(f.attribs.type);return yw(f,R,h,A,()=>" "+$(I++)+". ")}function yS(f="1"){switch(f){case"a":return(R)=>Ww(R,"a");case"A":return(R)=>Ww(R,"A");case"i":return(R)=>Dw(R).toLowerCase();case"I":return(R)=>Dw(R);case"1":default:return(R)=>R.toString()}}function BS(f){let R=[],h=[];for(let A of f)if(A.startsWith("."))R.push(A.substring(1));else if(A.startsWith("#"))h.push(A.substring(1));return{classes:R,ids:h}}function TS(f,R){if(R===!0)return!0;if(!f)return!1;let{classes:h,ids:A}=BS(R),I=(f.class||"").split(" "),$=(f.id||"").split(" ");return I.some((P)=>h.includes(P))||$.some((P)=>A.includes(P))}function KS(f,R,h,A){return TS(f.attribs,h.options.tables)?Bw(f,R,h,A):vS(f,R,h,A)}function vS(f,R,h,A){h.openBlock({leadingLineBreaks:A.leadingLineBreaks}),R(f.children,h),h.closeBlock({trailingLineBreaks:A.trailingLineBreaks})}function Bw(f,R,h,A){h.openTable(),f.children.forEach($),h.closeTable({tableToString:(P)=>YS(P,A.rowSpacing??0,A.colSpacing??3),leadingLineBreaks:A.leadingLineBreaks,trailingLineBreaks:A.trailingLineBreaks});function I(P){let U=+sR(P,["attribs","colspan"])||1,H=+sR(P,["attribs","rowspan"])||1;h.openTableCell({maxColumnWidth:A.maxColumnWidth}),R(P.children,h),h.closeTableCell({colspan:U,rowspan:H})}function $(P){if(P.type!=="tag")return;let U=A.uppercaseHeaderCells!==!1?(H)=>{h.pushWordTransform((F)=>F.toUpperCase()),I(H),h.popWordTransform()}:I;switch(P.name){case"thead":case"tbody":case"tfoot":case"center":P.children.forEach($);return;case"tr":{h.openTableRow();for(let H of P.children){if(H.type!=="tag")continue;switch(H.name){case"th":{U(H);break}case"td":{I(H);break}}}h.closeTableRow();break}}}}var jS=Object.freeze({__proto__:null,anchor:QS,blockquote:zS,dataTable:Bw,heading:JS,horizontalLine:VS,image:LS,lineBreak:DS,orderedList:gS,paragraph:XS,pre:ZS,table:KS,unorderedList:qS,wbr:MS}),OS={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},mS=(f,R,h)=>[...f,...R],Tw=(f,R,h)=>[...R],sS=(f,R,h)=>f.some((A)=>typeof A==="object")?mS(f,R):Tw(f,R);function CS(f={}){return f=j1.default(OS,f,{arrayMerge:Tw,customMerge:(R)=>R==="selectors"?sS:void 0}),f.formatters=Object.assign({},NS,jS,f.formatters),f.selectors=Xw(f.selectors,(R)=>R.selector),lS(f),n6(f)}function s1(f,R={},h=void 0){return CS(R)(f,h)}function lS(f){if(f.tags){let h=Object.entries(f.tags).map(([A,I])=>({...I,selector:A||"*"}));f.selectors.push(...h),f.selectors=Xw(f.selectors,(A)=>A.selector)}function R(h,A,I){let $=A.pop();for(let P of A){let U=h[P];if(!U)U={},h[P]=U;h=U}h[$]=I}if(f.baseElement){let h=f.baseElement;R(f,["baseElements","selectors"],Array.isArray(h)?h:[h])}if(f.returnDomByDefault!==void 0)R(f,["baseElements","returnDomByDefault"],f.returnDomByDefault);for(let h of f.selectors)if(h.format==="anchor"&&sR(h,["options","noLinkBrackets"]))R(h,["options","linkBrackets"],!1)}var lF=x(jF(),1);import{Writable as iY}from"stream";var{defineProperty:cY,getOwnPropertySymbols:OF}=Object,dY=Object.prototype.hasOwnProperty,kY=Object.prototype.propertyIsEnumerable,mF=(f,R,h)=>(R in f)?cY(f,R,{enumerable:!0,configurable:!0,writable:!0,value:h}):f[R]=h,$I=(f,R)=>{for(var h in R||(R={}))if(dY.call(R,h))mF(f,h,R[h]);if(OF){for(var h of OF(R))if(kY.call(R,h))mF(f,h,R[h])}return f},PI=(f,R,h)=>{return new Promise((A,I)=>{var $=(H)=>{try{U(h.next(H))}catch(F){I(F)}},P=(H)=>{try{U(h.throw(H))}catch(F){I(F)}},U=(H)=>H.done?A(H.value):Promise.resolve(H.value).then($,P);U((h=h.apply(f,R)).next())})},xY={unformatted:["code","pre","em","strong","span"],indent_inner_html:!0,indent_char:" ",indent_size:2,sep:"\n"},_Y=(f,R={})=>{return lF.default.html(f,$I($I({},xY),R))},aY=[{selector:"img",format:"skip"},{selector:"#__react-email-preview",format:"skip"},{selector:"a",options:{linkBrackets:!1}}];var sF=new TextDecoder("utf-8"),CF=(f)=>PI(void 0,null,function*(){let R="";if("pipeTo"in f){let h=new WritableStream({write(A){R+=sF.decode(A)}});yield f.pipeTo(h)}else{let h=new iY({write(A,I,$){R+=sF.decode(A),$()}});return f.pipe(h),new Promise((A,I)=>{h.on("error",I),h.on("close",()=>{A(R)})})}return R}),N0=(f,R)=>PI(void 0,null,function*(){let{default:h}=yield import("react-dom/server"),A;if(Object.hasOwn(h,"renderToReadableStream"))A=yield CF(yield h.renderToReadableStream(f));else yield new Promise((P,U)=>{let H=h.renderToPipeableStream(f,{onAllReady(){return PI(this,null,function*(){A=yield CF(H),P()})},onError(F){U(F)}})});if(R==null?void 0:R.plainText)return s1(A,$I({selectors:aY},R.htmlToTextOptions));let $=`${'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'}${A.replace(/<!DOCTYPE.*?>/,"")}`;if(R==null?void 0:R.pretty)return _Y($);return $});var{defineProperty:pY,defineProperties:eY,getOwnPropertyDescriptors:oY,getOwnPropertySymbols:bF}=Object,nY=Object.prototype.hasOwnProperty,uY=Object.prototype.propertyIsEnumerable,cF=(f,R,h)=>(R in f)?pY(f,R,{enumerable:!0,configurable:!0,writable:!0,value:h}):f[R]=h,gh=(f,R)=>{for(var h in R||(R={}))if(nY.call(R,h))cF(f,h,R[h]);if(bF){for(var h of bF(R))if(uY.call(R,h))cF(f,h,R[h])}return f},tY=(f,R)=>eY(f,oY(R)),T=(f,R,h)=>{return new Promise((A,I)=>{var $=(H)=>{try{U(h.next(H))}catch(F){I(F)}},P=(H)=>{try{U(h.throw(H))}catch(F){I(F)}},U=(H)=>H.done?A(H.value):Promise.resolve(H.value).then($,P);U((h=h.apply(f,R)).next())})},fD="3.5.0",RD=class{constructor(f){this.resend=f}create(f){return T(this,arguments,function*(R,h={}){return yield this.resend.post("/api-keys",R,h)})}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*(R,h={}){return yield this.resend.post("/audiences",R,h)})}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}`)})}},AD=class{constructor(f){this.resend=f}send(f){return T(this,arguments,function*(R,h={}){return this.create(R,h)})}create(f){return T(this,arguments,function*(R,h={}){for(let I of R)if(I.react)I.html=yield N0(I.react),delete I.react;return yield this.resend.post("/emails/batch",R,h)})}},ID=class{constructor(f){this.resend=f}create(f){return T(this,arguments,function*(R,h={}){return yield this.resend.post(`/audiences/${R.audienceId}/contacts`,{unsubscribed:R.unsubscribed,email:R.email,first_name:R.firstName,last_name:R.lastName},h)})}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}`)})}},$D=class{constructor(f){this.resend=f}create(f){return T(this,arguments,function*(R,h={}){return yield this.resend.post("/domains",R,h)})}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`)})}},PD=class{constructor(f){this.resend=f}send(f){return T(this,arguments,function*(R,h={}){return this.create(R,h)})}create(f){return T(this,arguments,function*(R,h={}){if(R.react)R.html=yield N0(R.react),delete R.react;return yield this.resend.post("/emails",R,h)})}get(f){return T(this,null,function*(){return yield this.resend.get(`/emails/${f}`)})}},dF="https://api.resend.com",kF=`resend-node:${fD}`,UD=typeof process!=="undefined"&&process.env?process.env.RESEND_BASE_URL||dF:dF,HD=typeof process!=="undefined"&&process.env?process.env.RESEND_USER_AGENT||kF:kF,rF=class{constructor(f){if(this.key=f,this.apiKeys=new RD(this),this.audiences=new hD(this),this.batch=new AD(this),this.contacts=new ID(this),this.domains=new $D(this),this.emails=new PD(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":HD,"Content-Type":"application/json"})}fetchRequest(f){return T(this,arguments,function*(R,h={}){try{let A=yield fetch(`${UD}${R}`,h);if(!A.ok)try{let $=yield A.text();return{data:null,error:JSON.parse($)}}catch($){if($ 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 P={message:A.statusText,name:"application_error"};if($ instanceof Error)return{data:null,error:tY(gh({},P),{message:$.message})};return{data:null,error:P}}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,R){return T(this,arguments,function*(h,A,I={}){let $=gh({method:"POST",headers:this.headers,body:JSON.stringify(A)},I);return this.fetchRequest(h,$)})}get(f){return T(this,arguments,function*(R,h={}){let A=gh({method:"GET",headers:this.headers},h);return this.fetchRequest(R,A)})}put(f,R){return T(this,arguments,function*(h,A,I={}){let $=gh({method:"PUT",headers:this.headers,body:JSON.stringify(A)},I);return this.fetchRequest(h,$)})}patch(f,R){return T(this,arguments,function*(h,A,I={}){let $=gh({method:"PATCH",headers:this.headers,body:JSON.stringify(A)},I);return this.fetchRequest(h,$)})}delete(f,R){return T(this,null,function*(){let h={method:"DELETE",headers:this.headers,body:JSON.stringify(R)};return this.fetchRequest(f,h)})}};class G0{}class S0 extends G0{f;constructor(f=process.env.RESEND_API_KEY){super();this.apiKey=f}async send(f){let R=new rF(this.apiKey),{data:h,error:A}=await R.emails.send({...f});if(A)return console.error(A),!1;if(h)return!0}}class xF extends $f{driver=new S0;boot(){}}class _F extends $f{channels={};boot(){}}class aF extends $f{root;rootRouter;boot(){}onRequestStart(f){}onRequestEnd(f){}onRequestFail(f,R){}}class iF extends $f{rootRouter;boot(){return"Origin"}onRequestStart(f){}onRequestEnd(f){}onRequestFail(f,R){}}class pF extends $f{maxFileSize=10485760;boot(){}onLogFileClosed(f){}onLogCreated(f){}}class eF extends $f{jobs=[];concurrency=1;boot(){}}class nF{static name="unset";worker=!1;maxAttempts=3;run(f){}onFail(f,R){}onSuccess(f,R){}onDeadletter(f){}static dispatch(...f){if(this.name==="unset")throw new Error("Cannot dispatch a job with no name");oF.use().push(this,JSON.stringify(f))}}export{aF as ViewRouterServiceProvider,NH as S3Driver,S0 as ResendDriver,GH as RateLimiterServiceProvider,jA as RateLimiterDriver,eF as QueueServiceProvider,pF as LoggingServiceProvider,nF as Job,OA as InMemoryRateLimiter,Th as FileSystemDriver,UI as FileStorageServiceProvider,SR as FileStorageDriver,xF as EmailServiceProvider,G0 as EmailDriver,_F as BroadcastingServiceProvider,iF as ApiRouterServiceProvider};export{UI as F,iF as G,GH as H,xF as I,_F as J,aF as K,pF as L,eF as M};
2
+ import{N as bU}from"../chunk-n76mw527.js";import{$ as RH,Aa as lU,Ba as iU,Ca as pU,O as VU,P as lh,Q as XU,R as pR,S as _R,T as oU,U as nU,V as uU,W as tU,X as Z8,Y as RR,Z as hR,_ as q0,aa as o$,ba as n$,ca as u$,da as t$,ea as hH,fa as gU,ga as yU,ha as BU,ia as TU,ja as AH,ka as IH,la as fP,ma as rf,na as xf,oa as $H,pa as KU,qa as vU,ra as PH,sa as jU,ta as UH,ua as RA,va as sU,wa as vA,xa as CU,ya as ZU,za as JU}from"../chunk-259kgv1j.js";import{Da as _N,Ea as Jf}from"../chunk-6twxqxj0.js";import{$a as y3,Fa as rU,Ga as xU,Ha as Sf,Ia as rh,Ja as I8,Ka as kh,Ma as fH,Ra as HU,Sa as iI,Ta as zP,Ua as kf,Va as Ff,Xa as $R,_a as jf,ab as r,bb as B3,cb as QR,db as uR,fb as Rh,gb as aR,hb as UP,ib as gf,jb as LP,kb as QU,lb as qU,mb as _U,nb as aU,pb as XA,qb as l,sb as QP,ub as OU,vb as mU}from"../chunk-setbnv6k.js";import"../chunk-8pghf7ne.js";import"../chunk-bxwnddma.js";import"../chunk-b5ke2zpg.js";import"../chunk-0970v4jx.js";import{Mb as iF}from"../chunk-39ynan33.js";import{Ob as Th}from"../chunk-54v7tmfv.js";import{Pb as $f}from"../chunk-0ykbtpxc.js";import"../chunk-g3838fme.js";import{Sb as $8}from"../chunk-djfe1w23.js";import{Tb as _,Ub as C}from"../chunk-exvtvmb6.js";var Ew=C((nJ,Fw)=>{var T6=function f(R){return K6(R)&&!v6(R)};function K6(f){return!!f&&typeof f==="object"}function v6(f){var R=Object.prototype.toString.call(f);return R==="[object RegExp]"||R==="[object Date]"||m6(f)}var j6=typeof Symbol==="function"&&Symbol.for,O6=j6?Symbol.for("react.element"):60103;function m6(f){return f.$$typeof===O6}function s6(f){return Array.isArray(f)?[]:{}}function Yh(f,R){return R.clone!==!1&&R.isMergeableObject(f)?mR(s6(f),f,R):f}function C6(f,R,h){return f.concat(R).map(function(A){return Yh(A,h)})}function l6(f,R){if(!R.customMerge)return mR;var h=R.customMerge(f);return typeof h==="function"?h:mR}function b6(f){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(f).filter(function(R){return Object.propertyIsEnumerable.call(f,R)}):[]}function Hw(f){return Object.keys(f).concat(b6(f))}function ww(f,R){try{return R in f}catch(h){return!1}}function c6(f,R){return ww(f,R)&&!(Object.hasOwnProperty.call(f,R)&&Object.propertyIsEnumerable.call(f,R))}function d6(f,R,h){var A={};if(h.isMergeableObject(f))Hw(f).forEach(function(I){A[I]=Yh(f[I],h)});return Hw(R).forEach(function(I){if(c6(f,I))return;if(ww(f,I)&&h.isMergeableObject(R[I]))A[I]=l6(I,h)(f[I],R[I],h);else A[I]=Yh(R[I],h)}),A}function mR(f,R,h){h=h||{},h.arrayMerge=h.arrayMerge||C6,h.isMergeableObject=h.isMergeableObject||T6,h.cloneUnlessOtherwiseSpecified=Yh;var A=Array.isArray(R),I=Array.isArray(f),$=A===I;if(!$)return Yh(R,h);else if(A)return h.arrayMerge(f,R,h);else return d6(f,R,h)}mR.all=function f(R,h){if(!Array.isArray(R))throw new Error("first argument should be an array");return R.reduce(function(A,I){return mR(A,I,h)},{})};var k6=mR;Fw.exports=k6});var $0=C((mS,yw)=>{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 R=this.__items.length-1;R>=0;R--)if(this.__items[R].match(f))return!0;return!1};n.prototype.set_indent=function(f,R){if(this.is_empty())this.__indent_count=f||0,this.__alignment_count=R||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 R=f.lastIndexOf("\n");if(R!==-1)this.__character_count=f.length-R;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 Dh(f,R){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(R=R||"",f.indent_level>0)R=new Array(f.indent_level+1).join(this.__indent_string);this.__base_string=R,this.__base_string_length=R.length}Dh.prototype.get_indent_size=function(f,R){var h=this.__base_string_length;if(R=R||0,f<0)h=0;return h+=f*this.__indent_size,h+=R,h};Dh.prototype.get_indent_string=function(f,R){var h=this.__base_string;if(R=R||0,f<0)f=0,h="";return R+=f*this.__indent_size,this.__ensure_cache(R),h+=this.__cache[R],h};Dh.prototype.__ensure_cache=function(f){while(f>=this.__cache.length)this.__add_column()};Dh.prototype.__add_column=function(){var f=this.__cache.length,R=0,h="";if(this.__indent_size&&f>=this.__indent_size)R=Math.floor(f/this.__indent_size),f-=R*this.__indent_size,h=new Array(R+1).join(this.__indent_string);if(f)h+=new Array(f+1).join(" ");this.__cache.push(h)};function u(f,R){this.__indent_cache=new Dh(f,R),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,R){return this.__indent_cache.get_indent_string(f,R)};u.prototype.get_indent_size=function(f,R){return this.__indent_cache.get_indent_size(f,R)};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 R=this.current_line.pop();if(R){if(R[R.length-1]==="\n")R=R.replace(/\n+$/g,"");this.current_line.push(R)}if(this._end_with_newline)this.__add_outputline();var h=this.__lines.join("\n");if(f!=="\n")h=h.replace(/[\n]/g,f);return h};u.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()};u.prototype.set_indent=function(f,R){if(f=f||0,R=R||0,this.next_line.set_indent(f,R),this.__lines.length>1)return this.current_line.set_indent(f,R),!0;return this.current_line.set_indent(),!1};u.prototype.add_raw_token=function(f){for(var R=0;R<f.newlines;R++)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 R=this.__lines.length;while(f<R)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,R){var h=this.__lines.length-2;while(h>=0){var A=this.__lines[h];if(A.is_empty())break;else if(A.item(0).indexOf(f)!==0&&A.item(-1)!==R){this.__lines.splice(h+1,0,new n(this)),this.previous_line=this.__lines[this.__lines.length-2];break}h--}};mS.Output=u});var l1=C((lS,Bw)=>{function CS(f,R,h,A){this.type=f,this.text=R,this.comments_before=null,this.newlines=h||0,this.whitespace_before=A||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}lS.Token=CS});var d1=C((kS)=>{var cS="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",Tw="\\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",Kw="\\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",c1="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",vw="(?:"+c1+"|["+cS+b1+"])",dS="(?:"+c1+"|["+Tw+b1+Kw+"])*";kS.identifier=new RegExp(vw+dS,"g");kS.identifierStart=new RegExp(vw);kS.identifierMatch=new RegExp("(?:"+c1+"|["+Tw+b1+Kw+"])+");kS.newline=/[\n\r\u2028\u2029]/;kS.lineBreak=new RegExp("\r\n|"+kS.newline.source);kS.allLineBreaks=new RegExp(kS.lineBreak.source,"g")});var U0=C((iS,P0)=>{function nf(f,R){if(this.raw_options=mw(f,R),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),!this.preserve_newlines)this.max_preserve_newlines=0;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,R){var h=this.raw_options[f],A=R||[];if(typeof h==="object"){if(h!==null&&typeof h.concat==="function")A=h.concat()}else if(typeof h==="string")A=h.split(/[^a-zA-Z0-9_\/\-]+/);return A};nf.prototype._get_boolean=function(f,R){var h=this.raw_options[f],A=h===void 0?!!R:!!h;return A};nf.prototype._get_characters=function(f,R){var h=this.raw_options[f],A=R||"";if(typeof h==="string")A=h.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t");return A};nf.prototype._get_number=function(f,R){var h=this.raw_options[f];if(R=parseInt(R,10),isNaN(R))R=0;var A=parseInt(h,10);if(isNaN(A))A=R;return A};nf.prototype._get_selection=function(f,R,h){var A=this._get_selection_list(f,R,h);if(A.length!==1)throw new Error("Invalid Option Value: The option '"+f+"' can only be one of the following values:\n"+R+"\nYou passed in: '"+this.raw_options[f]+"'");return A[0]};nf.prototype._get_selection_list=function(f,R,h){if(!R||R.length===0)throw new Error("Selection list cannot be empty.");if(h=h||[R[0]],!this._is_valid_selection(h,R))throw new Error("Invalid Default Value!");var A=this._get_array(f,h);if(!this._is_valid_selection(A,R))throw new Error("Invalid Option Value: The option '"+f+"' can contain only the following values:\n"+R+"\nYou passed in: '"+this.raw_options[f]+"'");return A};nf.prototype._is_valid_selection=function(f,R){return f.length&&R.length&&!f.some(function(h){return R.indexOf(h)===-1})};function mw(f,R){var h={};f=sw(f);var A;for(A in f)if(A!==R)h[A]=f[A];if(R&&f[R])for(A in f[R])h[A]=f[R][A];return h}function sw(f){var R={},h;for(h in f){var A=h.replace(/-/g,"_");R[A]=f[h]}return R}iS.Options=nf;iS.normalizeOpts=sw;iS.mergeOpts=mw});var k1=C((uS,bw)=>{var Cw=U0().Options,nS=["before-newline","after-newline","preserve-newline"];function lw(f){Cw.call(this,f,"js");var R=this.raw_options.brace_style||null;if(R==="expand-strict")this.raw_options.brace_style="expand";else if(R==="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 h=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<h.length;A++)if(h[A]==="preserve-inline")this.brace_preserve_inline=!0;else this.brace_style=h[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",nS),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy)this.space_after_anon_function=!0}lw.prototype=new Cw;uS.Options=lw});var H0=C((fW,dw)=>{var cw=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 R=null;if(f=f||0,f+=this.__position,f>=0&&f<this.__input_length)R=this.__input.charAt(f);return R};Rf.prototype.__match=function(f,R){f.lastIndex=R;var h=f.exec(this.__input);if(h&&!(cw&&f.sticky)){if(h.index!==R)h=null}return h};Rf.prototype.test=function(f,R){if(R=R||0,R+=this.__position,R>=0&&R<this.__input_length)return!!this.__match(f,R);else return!1};Rf.prototype.testChar=function(f,R){var h=this.peek(R);return f.lastIndex=0,h!==null&&f.test(h)};Rf.prototype.match=function(f){var R=this.__match(f,this.__position);if(R)this.__position+=R[0].length;else R=null;return R};Rf.prototype.read=function(f,R,h){var A="",I;if(f){if(I=this.match(f),I)A+=I[0]}if(R&&(I||!f))A+=this.readUntil(R,h);return A};Rf.prototype.readUntil=function(f,R){var h="",A=this.__position;f.lastIndex=this.__position;var I=f.exec(this.__input);if(I){if(A=I.index,R)A+=I[0].length}else A=this.__input_length;return h=this.__input.substring(this.__position,A),this.__position=A,h};Rf.prototype.readUntilAfter=function(f){return this.readUntil(f,!0)};Rf.prototype.get_regexp=function(f,R){var h=null,A="g";if(R&&cw)A="y";if(typeof f==="string"&&f!=="")h=new RegExp(f,A);else if(f)h=new RegExp(f.source,A);return h};Rf.prototype.get_literal_regexp=function(f){return RegExp(f.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))};Rf.prototype.peekUntilAfter=function(f){var R=this.__position,h=this.readUntilAfter(f);return this.__position=R,h};Rf.prototype.lookBack=function(f){var R=this.__position-1;return R>=f.length&&this.__input.substring(R-f.length,R).toLowerCase()===f};fW.InputScanner=Rf});var rw=C((hW,kw)=>{function ER(f){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=f}ER.prototype.restart=function(){this.__position=0};ER.prototype.isEmpty=function(){return this.__tokens_length===0};ER.prototype.hasNext=function(){return this.__position<this.__tokens_length};ER.prototype.next=function(){var f=null;if(this.hasNext())f=this.__tokens[this.__position],this.__position+=1;return f};ER.prototype.peek=function(f){var R=null;if(f=f||0,f+=this.__position,f>=0&&f<this.__tokens_length)R=this.__tokens[f];return R};ER.prototype.add=function(f){if(this.__parent_token)f.parent=this.__parent_token;this.__tokens.push(f),this.__tokens_length+=1};hW.TokenStream=ER});var Mh=C((IW,xw)=>{function Bf(f,R){if(this._input=f,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,R)this._starting_pattern=this._input.get_regexp(R._starting_pattern,!0),this._match_pattern=this._input.get_regexp(R._match_pattern,!0),this._until_pattern=this._input.get_regexp(R._until_pattern),this._until_after=R._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 R=this._create();return R._until_after=!0,R._until_pattern=this._input.get_regexp(f),R._update(),R};Bf.prototype.until=function(f){var R=this._create();return R._until_after=!1,R._until_pattern=this._input.get_regexp(f),R._update(),R};Bf.prototype.starting_with=function(f){var R=this._create();return R._starting_pattern=this._input.get_regexp(f,!0),R._update(),R};Bf.prototype.matching=function(f){var R=this._create();return R._match_pattern=this._input.get_regexp(f,!0),R._update(),R};Bf.prototype._create=function(){return new Bf(this._input,this)};Bf.prototype._update=function(){};IW.Pattern=Bf});var iw=C((PW,aw)=>{var _w=Mh().Pattern;function uf(f,R){if(_w.call(this,f,R),R)this._line_regexp=this._input.get_regexp(R._line_regexp);else this.__set_whitespace_patterns("","");this.newline_count=0,this.whitespace_before_token=""}uf.prototype=new _w;uf.prototype.__set_whitespace_patterns=function(f,R){f+="\\t ",R+="\\n\\r",this._match_pattern=this._input.get_regexp("["+f+R+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+R+"]")};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 R=this.__split(this._newline_regexp,f);this.newline_count=R.length-1,this.whitespace_before_token=R[this.newline_count]}return f};uf.prototype.matching=function(f,R){var h=this._create();return h.__set_whitespace_patterns(f,R),h._update(),h};uf.prototype._create=function(){return new uf(this._input,this)};uf.prototype.__split=function(f,R){f.lastIndex=0;var h=0,A=[],I=f.exec(R);while(I)A.push(R.substring(h,I.index)),h=I.index+I[0].length,I=f.exec(R);if(h<R.length)A.push(R.substring(h,R.length));else A.push("");return A};PW.WhitespacePattern=uf});var Xh=C((FW,x1)=>{var HW=H0().InputScanner,pw=l1().Token,r1=rw().TokenStream,wW=iw().WhitespacePattern,Vh={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},Tf=function(f,R){this._input=new HW(f),this._options=R||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new wW(this._input)};Tf.prototype.tokenize=function(){this._input.restart(),this.__tokens=new r1,this._reset();var f,R=new pw(Vh.START,""),h=null,A=[],I=new r1;while(R.type!==Vh.EOF){f=this._get_next_token(R,h);while(this._is_comment(f))I.add(f),f=this._get_next_token(R,h);if(!I.isEmpty())f.comments_before=I,I=new r1;if(f.parent=h,this._is_opening(f))A.push(h),h=f;else if(h&&this._is_closing(f,h))f.opened=h,h.closed=f,h=A.pop(),f.parent=h;f.previous=R,R.next=f,this.__tokens.add(f),R=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,R){this._readWhitespace();var h=this._input.read(/.+/g);if(h)return this._create_token(Vh.RAW,h);else return this._create_token(Vh.EOF,"")};Tf.prototype._is_comment=function(f){return!1};Tf.prototype._is_opening=function(f){return!1};Tf.prototype._is_closing=function(f,R){return!1};Tf.prototype._create_token=function(f,R){var h=new pw(f,R,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return h};Tf.prototype._readWhitespace=function(){return this._patterns.whitespace.read()};FW.Tokenizer=Tf;FW.TOKEN=Vh});var w0=C((GW,ew)=>{function _1(f,R){f=typeof f==="string"?f:f.source,R=typeof R==="string"?R:R.source,this.__directives_block_pattern=new RegExp(f+/ beautify( \w+[:]\w+)+ /.source+R,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(f+/\sbeautify\signore:end\s/.source+R,"g")}_1.prototype.get_directives=function(f){if(!f.match(this.__directives_block_pattern))return null;var R={};this.__directive_pattern.lastIndex=0;var h=this.__directive_pattern.exec(f);while(h)R[h[1]]=h[2],h=this.__directive_pattern.exec(f);return R};_1.prototype.readIgnored=function(f){return f.readUntilAfter(this.__directives_end_ignore_pattern)};GW.Directives=_1});var p1=C((WW,ow)=>{var a1=Mh().Pattern,i1={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function qf(f,R){if(a1.call(this,f,R),this.__template_pattern=null,this._disabled=Object.assign({},i1),this._excluded=Object.assign({},i1),R)this.__template_pattern=this._input.get_regexp(R.__template_pattern),this._excluded=Object.assign(this._excluded,R._excluded),this._disabled=Object.assign(this._disabled,R._disabled);var h=new a1(f);this.__patterns={handlebars_comment:h.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:h.starting_with(/{{{/).until_after(/}}}/),handlebars:h.starting_with(/{{/).until_after(/}}/),php:h.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:h.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:h.starting_with(/{%/).until_after(/%}/),django_value:h.starting_with(/{{/).until_after(/}}/),django_comment:h.starting_with(/{#/).until_after(/#}/),smarty:h.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:h.starting_with(/{\*/).until_after(/\*}/),smarty_literal:h.starting_with(/{literal}/).until_after(/{\/literal}/)}}qf.prototype=new a1;qf.prototype._create=function(){return new qf(this._input,this)};qf.prototype._update=function(){this.__set_templated_pattern()};qf.prototype.disable=function(f){var R=this._create();return R._disabled[f]=!0,R._update(),R};qf.prototype.read_options=function(f){var R=this._create();for(var h in i1)R._disabled[h]=f.templating.indexOf(h)===-1;return R._update(),R};qf.prototype.exclude=function(f){var R=this._create();return R._excluded[f]=!0,R._update(),R};qf.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 R=this._read_template();while(R){if(this._match_pattern)R+=this._input.read(this._match_pattern);else R+=this._input.readUntil(this.__template_pattern);f+=R,R=this._read_template()}if(this._until_after)f+=this._input.readUntilAfter(this._until_pattern);return f};qf.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("|")+")")};qf.prototype._read_template=function(){var f="",R=this._input.peek();if(R==="<"){var h=this._input.peek(1);if(!this._disabled.php&&!this._excluded.php&&h==="?")f=f||this.__patterns.php.read();if(!this._disabled.erb&&!this._excluded.erb&&h==="%")f=f||this.__patterns.erb.read()}else if(R==="{"){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};WW.TemplatablePattern=qf});var Jh=C((BW,Zh)=>{var DW=H0().InputScanner,uw=Xh().Tokenizer,e1=Xh().TOKEN,MW=w0().Directives,Vf=d1(),VW=Mh().Pattern,XW=p1().TemplatablePattern;function o1(f,R){return R.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:e1.START,RAW:e1.RAW,EOF:e1.EOF},nw=new MW(/\/\*/,/\*\//),ZW=/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]/,zW=/[^\d\.]/,LW=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),NR=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";NR=NR.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&");NR="\\?\\.(?!\\d) "+NR;NR=NR.replace(/ /g,"|");var QW=new RegExp(NR),tw="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),qW=tw.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),gW=new RegExp("^(?:"+qW.join("|")+")$"),F0,t=function(f,R){uw.call(this,f,R),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var h=new VW(this._input),A=new XW(this._input).read_options(this._options);this.__patterns={template:A,identifier:A.starting_with(Vf.identifier).matching(Vf.identifierMatch),number:h.matching(ZW),punct:h.matching(QW),comment:h.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:h.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:h.matching(/<!--/),html_comment_end:h.matching(/-->/),include:h.starting_with(/#include/).until_after(Vf.lineBreak),shebang:h.starting_with(/#!/).until_after(Vf.lineBreak),xml:h.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 uw;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,R){return(f.type===Y.END_BLOCK||f.type===Y.END_EXPR)&&(R&&(f.text==="]"&&R.text==="["||f.text===")"&&R.text==="("||f.text==="}"&&R.text==="{"))};t.prototype._reset=function(){F0=!1};t.prototype._get_next_token=function(f,R){var h=null;this._readWhitespace();var A=this._input.peek();if(A===null)return this._create_token(Y.EOF,"");return h=h||this._read_non_javascript(A),h=h||this._read_string(A),h=h||this._read_pair(A,this._input.peek(1)),h=h||this._read_word(f),h=h||this._read_singles(A),h=h||this._read_comment(A),h=h||this._read_regexp(A,f),h=h||this._read_xml(A,f),h=h||this._read_punctuation(),h=h||this._create_token(Y.UNKNOWN,this._input.next()),h};t.prototype._read_word=function(f){var R=this.__patterns.identifier.read();if(R!==""){if(R=R.replace(Vf.allLineBreaks,"\n"),!(f.type===Y.DOT||f.type===Y.RESERVED&&(f.text==="set"||f.text==="get"))&&gW.test(R)){if((R==="in"||R==="of")&&(f.type===Y.WORD||f.type===Y.STRING))return this._create_token(Y.OPERATOR,R);return this._create_token(Y.RESERVED,R)}return this._create_token(Y.WORD,R)}if(R=this.__patterns.number.read(),R!=="")return this._create_token(Y.WORD,R)};t.prototype._read_singles=function(f){var R=null;if(f==="("||f==="[")R=this._create_token(Y.START_EXPR,f);else if(f===")"||f==="]")R=this._create_token(Y.END_EXPR,f);else if(f==="{")R=this._create_token(Y.START_BLOCK,f);else if(f==="}")R=this._create_token(Y.END_BLOCK,f);else if(f===";")R=this._create_token(Y.SEMICOLON,f);else if(f==="."&&zW.test(this._input.peek(1)))R=this._create_token(Y.DOT,f);else if(f===",")R=this._create_token(Y.COMMA,f);if(R)this._input.next();return R};t.prototype._read_pair=function(f,R){var h=null;if(f==="#"&&R==="{")h=this._create_token(Y.START_BLOCK,f+R);if(h)this._input.next(),this._input.next();return h};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 R="";if(f==="#"){if(this._is_first_token()){if(R=this.__patterns.shebang.read(),R)return this._create_token(Y.UNKNOWN,R.trim()+"\n")}if(R=this.__patterns.include.read(),R)return this._create_token(Y.UNKNOWN,R.trim()+"\n");f=this._input.next();var h="#";if(this._input.hasNext()&&this._input.testChar(JW)){do f=this._input.next(),h+=f;while(this._input.hasNext()&&f!=="#"&&f!=="=");if(f==="#");else if(this._input.peek()==="["&&this._input.peek(1)==="]")h+="[]",this._input.next(),this._input.next();else if(this._input.peek()==="{"&&this._input.peek(1)==="}")h+="{}",this._input.next(),this._input.next();return this._create_token(Y.WORD,h)}this._input.back()}else if(f==="<"&&this._is_first_token()){if(R=this.__patterns.html_comment_start.read(),R){while(this._input.hasNext()&&!this._input.testChar(Vf.newline))R+=this._input.next();return F0=!0,this._create_token(Y.COMMENT,R)}}else if(F0&&f==="-"){if(R=this.__patterns.html_comment_end.read(),R)return F0=!1,this._create_token(Y.COMMENT,R)}return null};t.prototype._read_comment=function(f){var R=null;if(f==="/"){var h="";if(this._input.peek(1)==="*"){h=this.__patterns.block_comment.read();var A=nw.get_directives(h);if(A&&A.ignore==="start")h+=nw.readIgnored(this._input);h=h.replace(Vf.allLineBreaks,"\n"),R=this._create_token(Y.BLOCK_COMMENT,h),R.directives=A}else if(this._input.peek(1)==="/")h=this.__patterns.comment.read(),R=this._create_token(Y.COMMENT,h)}return R};t.prototype._read_string=function(f){if(f==="`"||f==="'"||f==='"'){var R=this._input.next();if(this.has_char_escapes=!1,f==="`")R+=this._read_string_recursive("`",!0,"${");else R+=this._read_string_recursive(f);if(this.has_char_escapes&&this._options.unescape_strings)R=yW(R);if(this._input.peek()===f)R+=this._input.next();return R=R.replace(Vf.allLineBreaks,"\n"),this._create_token(Y.STRING,R)}return null};t.prototype._allow_regexp_or_xml=function(f){return f.type===Y.RESERVED&&o1(f.text,["return","case","throw","else","do","typeof","yield"])||f.type===Y.END_EXPR&&f.text===")"&&f.opened.previous.type===Y.RESERVED&&o1(f.opened.previous.text,["if","while","for"])||o1(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,R){if(f==="/"&&this._allow_regexp_or_xml(R)){var h=this._input.next(),A=!1,I=!1;while(this._input.hasNext()&&((A||I||this._input.peek()!==f)&&!this._input.testChar(Vf.newline))){if(h+=this._input.peek(),!A){if(A=this._input.peek()==="\\",this._input.peek()==="[")I=!0;else if(this._input.peek()==="]")I=!1}else A=!1;this._input.next()}if(this._input.peek()===f)h+=this._input.next(),h+=this._input.read(Vf.identifier);return this._create_token(Y.STRING,h)}return null};t.prototype._read_xml=function(f,R){if(this._options.e4x&&f==="<"&&this._allow_regexp_or_xml(R)){var h="",A=this.__patterns.xml.read_match();if(A){var I=A[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),$=I.indexOf("{")===0,P=0;while(A){var U=!!A[1],H=A[2],F=!!A[A.length-1]||H.slice(0,8)==="![CDATA[";if(!F&&(H===I||$&&H.replace(/^{\s+/,"{").replace(/\s+}$/,"}")))if(U)--P;else++P;if(h+=A[0],P<=0)break;A=this.__patterns.xml.read_match()}if(!A)h+=this._input.match(/[\s\S]*/g)[0];return h=h.replace(Vf.allLineBreaks,"\n"),this._create_token(Y.STRING,h)}}return null};function yW(f){var R="",h=0,A=new DW(f),I=null;while(A.hasNext()){if(I=A.match(/([\s]|[^\\]|\\\\)+/g),I)R+=I[0];if(A.peek()==="\\"){if(A.next(),A.peek()==="x")I=A.match(/x([0-9A-Fa-f]{2})/g);else if(A.peek()==="u"){if(I=A.match(/u([0-9A-Fa-f]{4})/g),!I)I=A.match(/u\{([0-9A-Fa-f]+)\}/g)}else{if(R+="\\",A.hasNext())R+=A.next();continue}if(!I)return f;if(h=parseInt(I[1],16),h>126&&h<=255&&I[0].indexOf("x")===0)return f;else if(h>=0&&h<32)R+="\\"+I[0];else if(h>1114111)R+="\\"+I[0];else if(h===34||h===39||h===92)R+="\\"+String.fromCharCode(h);else R+=String.fromCharCode(h)}}return R}t.prototype._read_string_recursive=function(f,R,h){var A,I;if(f==="\'")I=this.__patterns.single_quote;else if(f==='"')I=this.__patterns.double_quote;else if(f==="`")I=this.__patterns.template_text;else if(f==="}")I=this.__patterns.template_expression;var $=I.read(),P="";while(this._input.hasNext()){if(P=this._input.next(),P===f||!R&&Vf.newline.test(P)){this._input.back();break}else if(P==="\\"&&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();P+=this._input.next()}else if(h){if(h==="${"&&P==="$"&&this._input.peek()==="{")P+=this._input.next();if(h===P){if(f==="`")P+=this._read_string_recursive("}",R,"`");else P+=this._read_string_recursive("`",R,"${");if(this._input.hasNext())P+=this._input.next()}}P+=I.read(),$+=P}return $};BW.Tokenizer=t;BW.TOKEN=Y;BW.positionable_operators=LW.slice();BW.line_starters=tw.slice()});var AF=C((xW,hF)=>{var OW=$0().Output,mW=l1().Token,E0=d1(),sW=k1().Options,CW=Jh().Tokenizer,qh=Jh().line_starters,zh=Jh().positionable_operators,w=Jh().TOKEN;function Z(f,R){return R.indexOf(f)!==-1}function lW(f){return f.replace(/^\s+/g,"")}function bW(f){var R={};for(var h=0;h<f.length;h++)R[f[h].replace(/-/g,"_")]=f[h];return R}function Xf(f,R){return f&&f.type===w.RESERVED&&f.text===R}function j(f,R){return f&&f.type===w.RESERVED&&Z(f.text,R)}var N0=["case","return","do","if","throw","else","await","break","continue","async"],cW=["before-newline","after-newline","preserve-newline"],Lh=bW(cW),fF=[Lh.before_newline,Lh.preserve_newline],D={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function RF(f,R){if(R.multiline_frame||R.mode===D.ForInitializer||R.mode===D.Conditional)return;f.remove_indent(R.start_line_index)}function dW(f){f=f.replace(E0.allLineBreaks,"\n");var R=[],h=f.indexOf("\n");while(h!==-1)R.push(f.substring(0,h)),f=f.substring(h+1),h=f.indexOf("\n");if(f.length)R.push(f);return R}function tf(f){return f===D.ArrayLiteral}function Qh(f){return Z(f,[D.Expression,D.ForInitializer,D.Conditional])}function kW(f,R){for(var h=0;h<f.length;h++){var A=f[h].trim();if(A.charAt(0)!==R)return!1}return!0}function rW(f,R){var h=0,A=f.length,I;for(;h<A;h++)if(I=f[h],I&&I.indexOf(R)!==0)return!1;return!0}function g(f,R){R=R||{},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 sW(R)}g.prototype.create_flags=function(f,R){var h=0;if(f){if(h=f.indentation_level,!this._output.just_added_newline()&&f.line_indent_level>h)h=f.line_indent_level}var A={mode:R,parent:f,last_token:f?f.last_token:new mW(w.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:h,alignment:0,line_indent_level:f?f.line_indent_level:h,start_line_index:this._output.get_line_number(),ternary_depth:0};return A};g.prototype._reset=function(f){var R=f.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new OW(this._options,R),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(D.BlockStatement);var h=new CW(f,this._options);return this._tokens=h.tokenize(),f};g.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var f,R=this._reset(this._source_text),h=this._options.eol;if(this._options.eol==="auto"){if(h="\n",R&&E0.lineBreak.test(R||""))h=R.match(E0.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(h),f};g.prototype.handle_token=function(f,R){if(f.type===w.START_EXPR)this.handle_start_expr(f);else if(f.type===w.END_EXPR)this.handle_end_expr(f);else if(f.type===w.START_BLOCK)this.handle_start_block(f);else if(f.type===w.END_BLOCK)this.handle_end_block(f);else if(f.type===w.WORD)this.handle_word(f);else if(f.type===w.RESERVED)this.handle_word(f);else if(f.type===w.SEMICOLON)this.handle_semicolon(f);else if(f.type===w.STRING)this.handle_string(f);else if(f.type===w.EQUALS)this.handle_equals(f);else if(f.type===w.OPERATOR)this.handle_operator(f);else if(f.type===w.COMMA)this.handle_comma(f);else if(f.type===w.BLOCK_COMMENT)this.handle_block_comment(f,R);else if(f.type===w.COMMENT)this.handle_comment(f,R);else if(f.type===w.DOT)this.handle_dot(f);else if(f.type===w.EOF)this.handle_eof(f);else if(f.type===w.UNKNOWN)this.handle_unknown(f,R);else this.handle_unknown(f,R)};g.prototype.handle_whitespace_and_comments=function(f,R){var h=f.newlines,A=this._options.keep_array_indentation&&tf(this._flags.mode);if(f.comments_before){var I=f.comments_before.next();while(I)this.handle_whitespace_and_comments(I,R),this.handle_token(I,R),I=f.comments_before.next()}if(A)for(var $=0;$<h;$+=1)this.print_newline($>0,R);else{if(this._options.max_preserve_newlines&&h>this._options.max_preserve_newlines)h=this._options.max_preserve_newlines;if(this._options.preserve_newlines){if(h>1){this.print_newline(!1,R);for(var P=1;P<h;P+=1)this.print_newline(!0,R)}}}};var n1=["async","break","continue","return","throw","yield"];g.prototype.allow_wrap_or_preserved_newline=function(f,R){if(R=R===void 0?!1:R,this._output.just_added_newline())return;var h=this._options.preserve_newlines&&f.newlines||R,A=Z(this._flags.last_token.text,zh)||Z(f.text,zh);if(A){var I=Z(this._flags.last_token.text,zh)&&Z(this._options.operator_position,fF)||Z(f.text,zh);h=h&&I}if(h)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(j(this._flags.last_token,n1))return;this._output.set_wrap_point()}};g.prototype.print_newline=function(f,R){if(!R){if(this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==w.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")){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._output.add_new_line(f))this._flags.multiline_frame=!0};g.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}};g.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===w.COMMA&&this._output.just_added_newline()){if(this._output.previous_line.last()===","){var R=this._output.previous_line.pop();if(this._output.previous_line.is_empty())this._output.previous_line.push(R),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};g.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};g.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)};g.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)};g.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)RF(this._output,this._previous_flags);this._output.set_indent(this._flags.indentation_level,this._flags.alignment)}};g.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"]))};g.prototype.start_of_statement=function(f){var R=!1;if(R=R||j(this._flags.last_token,["var","let","const"])&&f.type===w.WORD,R=R||Xf(this._flags.last_token,"do"),R=R||!(this._flags.parent.mode===D.ObjectLiteral&&this._flags.mode===D.Statement)&&j(this._flags.last_token,n1)&&!f.newlines,R=R||Xf(this._flags.last_token,"else")&&!(Xf(f,"if")&&!f.comments_before),R=R||this._flags.last_token.type===w.END_EXPR&&(this._previous_flags.mode===D.ForInitializer||this._previous_flags.mode===D.Conditional),R=R||this._flags.last_token.type===w.WORD&&this._flags.mode===D.BlockStatement&&!this._flags.in_case&&!(f.text==="--"||f.text==="++")&&this._last_last_text!=="function"&&f.type!==w.WORD&&f.type!==w.RESERVED,R=R||this._flags.mode===D.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||j(this._flags.last_token,["get","set"])),R){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};g.prototype.handle_start_expr=function(f){if(!this.start_of_statement(f))this.handle_whitespace_and_comments(f);var R=D.Expression;if(f.text==="["){if(this._flags.last_token.type===w.WORD||this._flags.last_token.text===")"){if(j(this._flags.last_token,qh))this._output.space_before_token=!0;if(this.print_token(f),this.set_mode(R),this.indent(),this._options.space_in_paren)this._output.space_before_token=!0;return}if(R=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,[w.START_EXPR,w.END_EXPR,w.WORD,w.OPERATOR,w.DOT]))this._output.space_before_token=!0}else{if(this._flags.last_token.type===w.RESERVED){if(this._flags.last_token.text==="for")this._output.space_before_token=this._options.space_before_conditional,R=D.ForInitializer;else if(Z(this._flags.last_token.text,["if","while","switch"]))this._output.space_before_token=this._options.space_before_conditional,R=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,qh)||this._flags.last_token.text==="catch")this._output.space_before_token=!0}else if(this._flags.last_token.type===w.EQUALS||this._flags.last_token.type===w.OPERATOR){if(!this.start_of_object_property())this.allow_wrap_or_preserved_newline(f)}else if(this._flags.last_token.type===w.WORD){this._output.space_before_token=!1;var h=this._tokens.peek(-3);if(this._options.space_after_named_function&&h){var A=this._tokens.peek(-4);if(j(h,["async","function"])||h.text==="*"&&j(A,["async","function"]))this._output.space_before_token=!0;else if(this._flags.mode===D.ObjectLiteral){if(h.text==="{"||h.text===","||h.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===w.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===w.START_BLOCK)this.print_newline();else if(this._flags.last_token.type===w.END_EXPR||this._flags.last_token.type===w.START_EXPR||this._flags.last_token.type===w.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===w.COMMA)this.allow_wrap_or_preserved_newline(f,f.newlines);if(this.print_token(f),this.set_mode(R),this._options.space_in_paren)this._output.space_before_token=!0;this.indent()};g.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===w.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(),RF(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};g.prototype.handle_start_block=function(f){this.handle_whitespace_and_comments(f);var R=this._tokens.peek(),h=this._tokens.peek(1);if(this._flags.last_word==="switch"&&this._flags.last_token.type===w.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(h&&(Z(h.text,[":",","])&&Z(R.type,[w.STRING,w.WORD,w.RESERVED])||Z(R.text,["get","set","..."])&&Z(h.type,[w.WORD,w.RESERVED])))if(Z(this._last_last_text,["class","interface"])&&!Z(h.text,[":",","]))this.set_mode(D.BlockStatement);else this.set_mode(D.ObjectLiteral);else if(this._flags.last_token.type===w.OPERATOR&&this._flags.last_token.text==="=>")this.set_mode(D.BlockStatement);else if(Z(this._flags.last_token.type,[w.EQUALS,w.START_EXPR,w.COMMA,w.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=!R.comments_before&&R.text==="}",I=A&&this._flags.last_word==="function"&&this._flags.last_token.type===w.END_EXPR;if(this._options.brace_preserve_inline){var $=0,P=null;this._flags.inline_frame=!0;do if($+=1,P=this._tokens.peek($-1),P.newlines){this._flags.inline_frame=!1;break}while(P.type!==w.EOF&&!(P.type===w.END_BLOCK&&P.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!==w.OPERATOR&&(I||this._flags.last_token.type===w.EQUALS||j(this._flags.last_token,N0)&&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===w.START_EXPR||this._flags.last_token.type===w.COMMA)){if(this._flags.last_token.type===w.COMMA||this._options.space_in_paren)this._output.space_before_token=!0;if(this._flags.last_token.type===w.COMMA||this._flags.last_token.type===w.START_EXPR&&this._flags.inline_frame)this.allow_wrap_or_preserved_newline(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!==w.OPERATOR&&this._flags.last_token.type!==w.START_EXPR)if(Z(this._flags.last_token.type,[w.START_BLOCK,w.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()};g.prototype.handle_end_block=function(f){this.handle_whitespace_and_comments(f);while(this._flags.mode===D.Statement)this.restore_mode();var R=this._flags.last_token.type===w.START_BLOCK;if(this._flags.inline_frame&&!R)this._output.space_before_token=!0;else if(this._options.brace_style==="expand"){if(!R)this.print_newline()}else if(!R)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)};g.prototype.handle_word=function(f){if(f.type===w.RESERVED){if(Z(f.text,["set","get"])&&this._flags.mode!==D.ObjectLiteral)f.type=w.WORD;else if(f.text==="import"&&Z(this._tokens.peek().text,["(","."]))f.type=w.WORD;else if(Z(f.text,["as","from"])&&!this._flags.import_block)f.type=w.WORD;else if(this._flags.mode===D.ObjectLiteral){var R=this._tokens.peek();if(R.text===":")f.type=w.WORD}}if(this.start_of_statement(f)){if(j(this._flags.last_token,["var","let","const"])&&f.type===w.WORD)this._flags.declaration_statement=!0}else if(f.newlines&&!Qh(this._flags.mode)&&(this._flags.last_token.type!==w.OPERATOR||(this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))&&this._flags.last_token.type!==w.EQUALS&&(this._options.preserve_newlines||!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===w.COMMA||this._flags.last_token.type===w.START_EXPR||this._flags.last_token.type===w.EQUALS||this._flags.last_token.type===w.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===w.OPERATOR)){if(!this._output.just_added_blankline()&&!f.comments_before)this.print_newline(),this.print_newline(!0)}if(this._flags.last_token.type===w.RESERVED||this._flags.last_token.type===w.WORD)if(j(this._flags.last_token,["get","set","new","export"])||j(this._flags.last_token,n1))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===w.OPERATOR||this._flags.last_token.text==="=")this._output.space_before_token=!0;else if(!this._flags.multiline_frame&&(Qh(this._flags.mode)||tf(this._flags.mode)));else this.print_newline();this.print_token(f),this._flags.last_word=f.text;return}var h="NONE";if(this._flags.last_token.type===w.END_BLOCK)if(this._previous_flags.inline_frame)h="SPACE";else if(!j(f,["else","catch","finally","from"]))h="NEWLINE";else if(this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&f.newlines)h="NEWLINE";else h="SPACE",this._output.space_before_token=!0;else if(this._flags.last_token.type===w.SEMICOLON&&this._flags.mode===D.BlockStatement)h="NEWLINE";else if(this._flags.last_token.type===w.SEMICOLON&&Qh(this._flags.mode))h="SPACE";else if(this._flags.last_token.type===w.STRING)h="NEWLINE";else if(this._flags.last_token.type===w.RESERVED||this._flags.last_token.type===w.WORD||this._flags.last_token.text==="*"&&(Z(this._last_last_text,["function","yield"])||this._flags.mode===D.ObjectLiteral&&Z(this._last_last_text,["{",","])))h="SPACE";else if(this._flags.last_token.type===w.START_BLOCK)if(this._flags.inline_frame)h="SPACE";else h="NEWLINE";else if(this._flags.last_token.type===w.END_EXPR)this._output.space_before_token=!0,h="NEWLINE";if(j(f,qh)&&this._flags.last_token.text!==")")if(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export")h="SPACE";else h="NEWLINE";if(j(f,["else","catch","finally"]))if((!(this._flags.last_token.type===w.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(h==="NEWLINE"){if(j(this._flags.last_token,N0))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!==w.END_EXPR){if((this._flags.last_token.type!==w.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,qh)&&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(h==="SPACE")this._output.space_before_token=!0;if(f.previous&&(f.previous.type===w.WORD||f.previous.type===w.RESERVED))this._output.space_before_token=!0;if(this.print_token(f),this._flags.last_word=f.text,f.type===w.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}};g.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 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._flags.import_block)this._flags.import_block=!1;this.print_token(f)};g.prototype.handle_string=function(f){if(f.text.startsWith("`")&&f.newlines===0&&f.whitespace_before===""&&(f.previous.text===")"||this._flags.last_token.type===w.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===w.RESERVED||this._flags.last_token.type===w.WORD||this._flags.inline_frame)this._output.space_before_token=!0;else if(this._flags.last_token.type===w.COMMA||this._flags.last_token.type===w.START_EXPR||this._flags.last_token.type===w.EQUALS||this._flags.last_token.type===w.OPERATOR){if(!this.start_of_object_property())this.allow_wrap_or_preserved_newline(f)}else if(f.text.startsWith("`")&&this._flags.last_token.type===w.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)};g.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};g.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(Qh(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)};g.prototype.handle_operator=function(f){var R=f.text==="*"&&(j(this._flags.last_token,["function","yield"])||Z(this._flags.last_token.type,[w.START_BLOCK,w.COMMA,w.END_BLOCK,w.SEMICOLON])),h=Z(f.text,["-","+"])&&(Z(this._flags.last_token.type,[w.START_BLOCK,w.START_EXPR,w.EQUALS,w.OPERATOR])||Z(this._flags.last_token.text,qh)||this._flags.last_token.text===",");if(this.start_of_statement(f));else{var A=!R;this.handle_whitespace_and_comments(f,A)}if(f.text==="*"&&this._flags.last_token.type===w.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===w.OPERATOR&&Z(this._options.operator_position,fF))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!==w.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 I=!0,$=!0,P=!1;if(f.text===":")if(this._flags.ternary_depth===0)I=!1;else this._flags.ternary_depth-=1,P=!0;else if(f.text==="?")this._flags.ternary_depth+=1;if(!h&&!R&&this._options.preserve_newlines&&Z(f.text,zh)){var U=f.text===":",H=U&&P,F=U&&!P;switch(this._options.operator_position){case Lh.before_newline:if(this._output.space_before_token=!F,this.print_token(f),!U||H)this.allow_wrap_or_preserved_newline(f);this._output.space_before_token=!0;return;case Lh.after_newline:if(this._output.space_before_token=!0,!U||H)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 Lh.preserve_newline:if(!F)this.allow_wrap_or_preserved_newline(f);I=!(this._output.just_added_newline()||F),this._output.space_before_token=I,this.print_token(f),this._output.space_before_token=!0;return}}if(R){this.allow_wrap_or_preserved_newline(f),I=!1;var N=this._tokens.peek();$=N&&Z(N.type,[w.WORD,w.RESERVED])}else if(f.text==="...")this.allow_wrap_or_preserved_newline(f),I=this._flags.last_token.type===w.START_BLOCK,$=!1;else if(Z(f.text,["--","++","!","~"])||h){if(this._flags.last_token.type===w.COMMA||this._flags.last_token.type===w.START_EXPR)this.allow_wrap_or_preserved_newline(f);if(I=!1,$=!1,f.newlines&&(f.text==="--"||f.text==="++"||f.text==="~")){var W=j(this._flags.last_token,N0)&&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===";"&&Qh(this._flags.mode))I=!0;if(this._flags.last_token.type===w.RESERVED)I=!0;else if(this._flags.last_token.type===w.END_EXPR)I=!(this._flags.last_token.text==="]"&&(f.text==="--"||f.text==="++"));else if(this._flags.last_token.type===w.OPERATOR){if(I=Z(f.text,["--","-","++","+"])&&Z(this._flags.last_token.text,["--","-","++","+"]),Z(f.text,["+","-"])&&Z(this._flags.last_token.text,["--","++"]))$=!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||I,this.print_token(f),this._output.space_before_token=$};g.prototype.handle_block_comment=function(f,R){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,R),this.print_token(f),f.directives.preserve==="start")this._output.raw=!0;this.print_newline(!1,!0);return}if(!E0.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,R)};g.prototype.print_block_commment=function(f,R){var h=dW(f.text),A,I=!1,$=!1,P=f.whitespace_before,U=P.length;if(this.print_newline(!1,R),this.print_token_line_indentation(f),this._output.add_token(h[0]),this.print_newline(!1,R),h.length>1){if(h=h.slice(1),I=kW(h,"*"),$=rW(h,P),I)this._flags.alignment=1;for(A=0;A<h.length;A++){if(I)this.print_token_line_indentation(f),this._output.add_token(lW(h[A]));else if($&&h[A])this.print_token_line_indentation(f),this._output.add_token(h[A].substring(U));else this._output.current_line.set_indent(-1),this._output.add_token(h[A]);this.print_newline(!1,R)}this._flags.alignment=0}};g.prototype.handle_comment=function(f,R){if(f.newlines)this.print_newline(!1,R);else this._output.trim(!0);this._output.space_before_token=!0,this.print_token(f),this.print_newline(!1,R)};g.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,N0))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)};g.prototype.handle_unknown=function(f,R){if(this.print_token(f),f.text[f.text.length-1]==="\n")this.print_newline(!1,R)};g.prototype.handle_eof=function(f){while(this._flags.mode===D.Statement)this.restore_mode();this.handle_whitespace_and_comments(f)};xW.Beautifier=g});var IF=C((I7,u1)=>{var aW=AF().Beautifier,iW=k1().Options;function pW(f,R){var h=new aW(f,R);return h.beautify()}u1.exports=pW;u1.exports.defaultOptions=function(){return new iW}});var t1=C((eW,UF)=>{var $F=U0().Options;function PF(f){$F.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 R=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||R;var h=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var A=0;A<h.length;A++)if(h[A]!=="expand")this.brace_style="collapse";else this.brace_style=h[A]}PF.prototype=new $F;eW.Options=PF});var EF=C(($Y,FF)=>{var nW=t1().Options,uW=$0().Output,tW=H0().InputScanner,fY=w0().Directives,HF=new fY(/\/\*/,/\*\//),wF=/\r\n|[\r\n]/,RY=/\r\n|[\r\n]/g,G0=/\s/,hY=/(?:\s|\n)+/g,AY=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,IY=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function mf(f,R){this._source_text=f||"",this._options=new nW(R),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}mf.prototype.eatString=function(f){var R="";this._ch=this._input.next();while(this._ch){if(R+=this._ch,this._ch==="\\")R+=this._input.next();else if(f.indexOf(this._ch)!==-1||this._ch==="\n")break;this._ch=this._input.next()}return R};mf.prototype.eatWhitespace=function(f){var R=G0.test(this._input.peek()),h=0;while(G0.test(this._input.peek()))if(this._ch=this._input.next(),f&&this._ch==="\n"){if(h===0||h<this._options.max_preserve_newlines)h++,this._output.add_new_line(!0)}return R};mf.prototype.foundNestedPseudoClass=function(){var f=0,R=1,h=this._input.peek(R);while(h){if(h==="{")return!0;else if(h==="(")f+=1;else if(h===")"){if(f===0)return!1;f-=1}else if(h===";"||h==="}")return!1;R++,h=this._input.peek(R)}return!1};mf.prototype.print_string=function(f){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(f)};mf.prototype.preserveSingleSpace=function(f){if(f)this._output.space_before_token=!0};mf.prototype.indent=function(){this._indentLevel++};mf.prototype.outdent=function(){if(this._indentLevel>0)this._indentLevel--};mf.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var f=this._source_text,R=this._options.eol;if(R==="auto"){if(R="\n",f&&wF.test(f||""))R=f.match(wF)[0]}f=f.replace(RY,"\n");var h=f.match(/^[\t ]*/)[0];this._output=new uW(this._options,h),this._input=new tW(f),this._indentLevel=0,this._nestedLevel=0,this._ch=null;var A=0,I=!1,$=!1,P=!1,U=!1,H=!1,F=this._ch,N=!1,W,V,S;while(!0){if(W=this._input.read(hY),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(AY),K=HF.get_directives(L);if(K&&K.ignore==="start")L+=HF.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(IY)),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)$=!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)$=!0,this.indent();else if(If in this.NESTED_AT_RULE){if(this._nestedLevel+=1,If in this.CONDITIONAL_GROUP_RULE)P=!0}else if(A===0&&!$)U=!0}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(V),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{"){if($)$=!1,this.outdent();if(U=!1,P)P=!1,I=this._indentLevel>=this._nestedLevel;else I=this._indentLevel>=this._nestedLevel-1;if(this._options.newline_between_rules&&I){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($)this.outdent(),$=!1;if(this.print_string(this._ch),I=!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((I||P)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!U&&A===0){if(this.print_string(":"),!$)$=!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 lR=S==='"'||S==="\'";this.preserveSingleSpace(lR||V),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")if(N=!1,A===0){if($)this.outdent(),$=!1;if(U=!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 Bh=!1;if(this._input.lookBack("with"))Bh=!0;if(this.preserveSingleSpace(V||Bh),this.print_string(this._ch),$&&S==="$"&&this._options.selector_separator_newline)this._output.add_new_line(),H=!0;else this.eatWhitespace(),A++,this.indent()}else if(this._ch===")"){if(A)A--,this.outdent();if(H&&this._input.peek()===";"&&this._options.selector_separator_newline)H=!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&&(!$||H)&&A===0&&!U)this._output.add_new_line();else this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!$&&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&&G0.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("="),G0.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 eF=S==='"'||S==="\'";if(this.preserveSingleSpace(eF||V),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()==="\n"&&N)this._output.add_new_line()}}var oF=this._output.get_code(R);return oF};$Y.Beautifier=mf});var NF=C(($7,fI)=>{var UY=EF().Beautifier,HY=t1().Options;function wY(f,R){var h=new UY(f,R);return h.beautify()}fI.exports=wY;fI.exports.defaultOptions=function(){return new HY}});var RI=C((FY,WF)=>{var GF=U0().Options;function SF(f){if(GF.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"])}SF.prototype=new GF;FY.Options=SF});var II=C((WY,AI)=>{var DF=Xh().Tokenizer,hI=Xh().TOKEN,NY=w0().Directives,GY=p1().TemplatablePattern,SY=Mh().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:hI.START,RAW:hI.RAW,EOF:hI.EOF},YF=new NY(/<\!--/,/-->/),hf=function(f,R){DF.call(this,f,R),this._current_tag_name="";var h=new GY(this._input).read_options(this._options),A=new SY(this._input);if(this.__patterns={word:h.until(/[\n\r\t <]/),word_control_flow_close_excluded:h.until(/[\n\r\t <}]/),single_quote:h.until_after(/'/),double_quote:h.until_after(/"/),attribute:h.until(/[\n\r\t =>]|\/>/),element_name:h.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 I=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=A.matching(I).until_after(I)}};hf.prototype=new DF;hf.prototype._is_comment=function(f){return!1};hf.prototype._is_opening=function(f){return f.type===B.TAG_OPEN||f.type===B.CONTROL_FLOW_OPEN};hf.prototype._is_closing=function(f,R){return f.type===B.TAG_CLOSE&&(R&&((f.text===">"||f.text==="/>")&&R.text[0]==="<"||f.text==="}}"&&R.text[0]==="{"&&R.text[1]==="{"))||f.type===B.CONTROL_FLOW_CLOSE&&(f.text==="}"&&R.text.endsWith("{"))};hf.prototype._reset=function(){this._current_tag_name=""};hf.prototype._get_next_token=function(f,R){var h=null;this._readWhitespace();var A=this._input.peek();if(A===null)return this._create_token(B.EOF,"");return h=h||this._read_open_handlebars(A,R),h=h||this._read_attribute(A,f,R),h=h||this._read_close(A,R),h=h||this._read_control_flows(A,R),h=h||this._read_raw_content(A,f,R),h=h||this._read_content_word(A,R),h=h||this._read_comment_or_cdata(A),h=h||this._read_processing(A),h=h||this._read_open(A,R),h=h||this._create_token(B.UNKNOWN,this._input.next()),h};hf.prototype._read_comment_or_cdata=function(f){var R=null,h=null,A=null;if(f==="<"){var I=this._input.peek(1);if(I==="!")if(h=this.__patterns.comment.read(),h){if(A=YF.get_directives(h),A&&A.ignore==="start")h+=YF.readIgnored(this._input)}else h=this.__patterns.cdata.read();if(h)R=this._create_token(B.COMMENT,h),R.directives=A}return R};hf.prototype._read_processing=function(f){var R=null,h=null,A=null;if(f==="<"){var I=this._input.peek(1);if(I==="!"||I==="?")h=this.__patterns.conditional_comment.read(),h=h||this.__patterns.processing.read();if(h)R=this._create_token(B.COMMENT,h),R.directives=A}return R};hf.prototype._read_open=function(f,R){var h=null,A=null;if(!R||R.type===B.CONTROL_FLOW_OPEN){if(f==="<"){if(h=this._input.next(),this._input.peek()==="/")h+=this._input.next();h+=this.__patterns.element_name.read(),A=this._create_token(B.TAG_OPEN,h)}}return A};hf.prototype._read_open_handlebars=function(f,R){var h=null,A=null;if(!R||R.type===B.CONTROL_FLOW_OPEN){if(this._options.indent_handlebars&&f==="{"&&this._input.peek(1)==="{")if(this._input.peek(2)==="!")h=this.__patterns.handlebars_comment.read(),h=h||this.__patterns.handlebars.read(),A=this._create_token(B.COMMENT,h);else h=this.__patterns.handlebars_open.read(),A=this._create_token(B.TAG_OPEN,h)}return A};hf.prototype._read_control_flows=function(f,R){var h="",A=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars)return A;if(f==="@"){if(h=this.__patterns.angular_control_flow_start.read(),h==="")return A;var I=h.endsWith("(")?1:0,$=0;while(!(h.endsWith("{")&&I===$)){var P=this._input.next();if(P===null)break;else if(P==="(")I++;else if(P===")")$++;h+=P}A=this._create_token(B.CONTROL_FLOW_OPEN,h)}else if(f==="}"&&R&&R.type===B.CONTROL_FLOW_OPEN)h=this._input.next(),A=this._create_token(B.CONTROL_FLOW_CLOSE,h);return A};hf.prototype._read_close=function(f,R){var h=null,A=null;if(R&&R.type===B.TAG_OPEN){if(R.text[0]==="<"&&(f===">"||f==="/"&&this._input.peek(1)===">")){if(h=this._input.next(),f==="/")h+=this._input.next();A=this._create_token(B.TAG_CLOSE,h)}else if(R.text[0]==="{"&&f==="}"&&this._input.peek(1)==="}")this._input.next(),this._input.next(),A=this._create_token(B.TAG_CLOSE,"}}")}return A};hf.prototype._read_attribute=function(f,R,h){var A=null,I="";if(h&&h.text[0]==="<"){if(f==="=")A=this._create_token(B.EQUALS,this._input.next());else if(f==='"'||f==="'"){var $=this._input.next();if(f==='"')$+=this.__patterns.double_quote.read();else $+=this.__patterns.single_quote.read();A=this._create_token(B.VALUE,$)}else if(I=this.__patterns.attribute.read(),I)if(R.type===B.EQUALS)A=this._create_token(B.VALUE,I);else A=this._create_token(B.ATTRIBUTE,I)}return A};hf.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)};hf.prototype._read_raw_content=function(f,R,h){var A="";if(h&&h.text[0]==="{")A=this.__patterns.handlebars_raw_close.read();else if(R.type===B.TAG_CLOSE&&R.opened.text[0]==="<"&&R.text[0]!=="/"){var I=R.opened.text.substr(1).toLowerCase();if(I==="script"||I==="style"){var $=this._read_comment_or_cdata(f);if($)return $.type=B.TEXT,$;A=this._input.readUntil(new RegExp("</"+I+"[\\n\\r\\t ]*?>","ig"))}else if(this._is_content_unformatted(I))A=this._input.readUntil(new RegExp("</"+I+"[\\n\\r\\t ]*?>","ig"))}if(A)return this._create_token(B.TEXT,A);return null};hf.prototype._read_content_word=function(f,R){var h="";if(this._options.unformatted_content_delimiter){if(f===this._options.unformatted_content_delimiter[0])h=this.__patterns.unformatted_content_delimiter.read()}if(!h)h=R&&R.type===B.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read();if(h)return this._create_token(B.TEXT,h)};WY.Tokenizer=hf;WY.TOKEN=B});var ZF=C((gY,XF)=>{var MY=RI().Options,VY=$0().Output,XY=II().Tokenizer,y=II().TOKEN,MF=/\r\n|[\r\n]/,ZY=/\r\n|[\r\n]/g,Df=function(f,R){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 VY(f,R)};Df.prototype.current_line_has_match=function(f){return this._output.current_line.has_match(f)};Df.prototype.set_space_before_token=function(f,R){this._output.space_before_token=f,this._output.non_breaking_space=R};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 R=0;if(f.type!==y.TEXT&&f.previous.type!==y.TEXT)R=f.newlines?1:0;if(this.preserve_newlines)R=f.newlines<this.max_preserve_newlines+1?f.newlines:this.max_preserve_newlines+1;for(var h=0;h<R;h++)this.print_newline(h>0);return R!==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 R=null,h=f.next;while(h.type!==y.EOF&&f.closed!==h){if(h.type===y.ATTRIBUTE&&h.text==="type"){if(h.next&&h.next.type===y.EQUALS&&h.next.next&&h.next.next.type===y.VALUE)R=h.next.next.text;break}h=h.next}return R},zY=function(f,R){var h=null,A=null;if(!R.closed)return null;if(f==="script")h="text/javascript";else if(f==="style")h="text/css";if(h=JY(R)||h,h.search("text/css")>-1)A="css";else if(h.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1)A="javascript";else if(h.search(/(text|application|dojo)\/(x-)?(html)/)>-1)A="html";else if(h.search(/test\/null/)>-1)A="null";return A};function gh(f,R){return R.indexOf(f)!==-1}function LY(f,R,h){this.parent=f||null,this.tag=R?R.tag_name:"",this.indent_level=h||0,this.parser_token=R||null}function GR(f){this._printer=f,this._current_frame=null}GR.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null};GR.prototype.record_tag=function(f){var R=new LY(this._current_frame,f,this._printer.indent_level);this._current_frame=R};GR.prototype._try_pop_frame=function(f){var R=null;if(f)R=f.parser_token,this._printer.indent_level=f.indent_level,this._current_frame=f.parent;return R};GR.prototype._get_frame=function(f,R){var h=this._current_frame;while(h){if(f.indexOf(h.tag)!==-1)break;else if(R&&R.indexOf(h.tag)!==-1){h=null;break}h=h.parent}return h};GR.prototype.try_pop=function(f,R){var h=this._get_frame([f],R);return this._try_pop_frame(h)};GR.prototype.indent_to_tag=function(f){var R=this._get_frame(f);if(R)this._printer.indent_level=R.indent_level};function Gf(f,R,h,A){this._source_text=f||"",R=R||{},this._js_beautify=h,this._css_beautify=A,this._tag_stack=null;var I=new MY(R,"html");this._options=I,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,R=this._options.eol;if(this._options.eol==="auto"){if(R="\n",f&&MF.test(f))R=f.match(MF)[0]}f=f.replace(ZY,"\n");var h=f.match(/^[\t ]*/)[0],A={text:"",type:""},I=new VF,$=new Df(this._options,h),P=new XY(f,this._options).tokenize();this._tag_stack=new GR($);var U=null,H=P.next();while(H.type!==y.EOF){if(H.type===y.TAG_OPEN||H.type===y.COMMENT)U=this._handle_tag_open($,H,I,A,P),I=U;else if(H.type===y.ATTRIBUTE||H.type===y.EQUALS||H.type===y.VALUE||H.type===y.TEXT&&!I.tag_complete)U=this._handle_inside_tag($,H,I,A);else if(H.type===y.TAG_CLOSE)U=this._handle_tag_close($,H,I);else if(H.type===y.TEXT)U=this._handle_text($,H,I);else if(H.type===y.CONTROL_FLOW_OPEN)U=this._handle_control_flow_open($,H);else if(H.type===y.CONTROL_FLOW_CLOSE)U=this._handle_control_flow_close($,H);else $.add_raw_token(H);A=U,H=P.next()}var F=$._output.get_code(R);return F};Gf.prototype._handle_control_flow_open=function(f,R){var h={text:R.text,type:R.type};if(f.set_space_before_token(R.newlines||R.whitespace_before!=="",!0),R.newlines)f.print_preserved_newlines(R);else f.set_space_before_token(R.newlines||R.whitespace_before!=="",!0);return f.print_token(R),f.indent(),h};Gf.prototype._handle_control_flow_close=function(f,R){var h={text:R.text,type:R.type};if(f.deindent(),R.newlines)f.print_preserved_newlines(R);else f.set_space_before_token(R.newlines||R.whitespace_before!=="",!0);return f.print_token(R),h};Gf.prototype._handle_tag_close=function(f,R,h){var A={text:R.text,type:R.type};if(f.alignment_size=0,h.tag_complete=!0,f.set_space_before_token(R.newlines||R.whitespace_before!=="",!0),h.is_unformatted)f.add_raw_token(R);else{if(h.tag_start_char==="<"){if(f.set_space_before_token(R.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&h.has_wrapped_attrs)f.print_newline(!1)}f.print_token(R)}if(h.indent_content&&!(h.is_unformatted||h.is_content_unformatted))f.indent(),h.indent_content=!1;if(!h.is_inline_element&&!(h.is_unformatted||h.is_content_unformatted))f.set_wrap_point();return A};Gf.prototype._handle_inside_tag=function(f,R,h,A){var I=h.has_wrapped_attrs,$={text:R.text,type:R.type};if(f.set_space_before_token(R.newlines||R.whitespace_before!=="",!0),h.is_unformatted)f.add_raw_token(R);else if(h.tag_start_char==="{"&&R.type===y.TEXT)if(f.print_preserved_newlines(R))R.newlines=0,f.add_raw_token(R);else f.print_token(R);else{if(R.type===y.ATTRIBUTE)f.set_space_before_token(!0);else if(R.type===y.EQUALS)f.set_space_before_token(!1);else if(R.type===y.VALUE&&R.previous.type===y.EQUALS)f.set_space_before_token(!1);if(R.type===y.ATTRIBUTE&&h.tag_start_char==="<"){if(this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)f.traverse_whitespace(R),I=I||R.newlines!==0;if(this._is_wrap_attributes_force&&h.attr_count>=this._options.wrap_attributes_min_attrs&&(A.type!==y.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline))f.print_newline(!1),I=!0}f.print_token(R),I=I||f.previous_token_wrapped(),h.has_wrapped_attrs=I}return $};Gf.prototype._handle_text=function(f,R,h){var A={text:R.text,type:"TK_CONTENT"};if(h.custom_beautifier_name)this._print_custom_beatifier_text(f,R,h);else if(h.is_unformatted||h.is_content_unformatted)f.add_raw_token(R);else f.traverse_whitespace(R),f.print_token(R);return A};Gf.prototype._print_custom_beatifier_text=function(f,R,h){var A=this;if(R.text!==""){var I=R.text,$,P=1,U="",H="";if(h.custom_beautifier_name==="javascript"&&typeof this._js_beautify==="function")$=this._js_beautify;else if(h.custom_beautifier_name==="css"&&typeof this._css_beautify==="function")$=this._css_beautify;else if(h.custom_beautifier_name==="html")$=function(L,K){var Af=new Gf(L,K,A._js_beautify,A._css_beautify);return Af.beautify()};if(this._options.indent_scripts==="keep")P=0;else if(this._options.indent_scripts==="separate")P=-f.indent_level;var F=f.get_full_indent(P);if(I=I.replace(/\n[ \t]*$/,""),h.custom_beautifier_name!=="html"&&I[0]==="<"&&I.match(/^(<!--|<!\[CDATA\[)/)){var N=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(I);if(!N){f.add_raw_token(R);return}if(U=F+N[1]+"\n",I=N[4],N[5])H=F+N[5];if(I=I.replace(/\n[ \t]*$/,""),N[2]||N[3].indexOf("\n")!==-1){if(N=N[3].match(/[ \t]+$/),N)R.whitespace_before=N[0]}}if(I)if($){var W=function(){this.eol="\n"};W.prototype=this._options.raw_options;var V=new W;I=$(F+I,V)}else{var S=R.whitespace_before;if(S)I=I.replace(new RegExp("\n("+S+")?","g"),"\n");I=F+I.replace(/\n/g,"\n"+F)}if(U)if(!I)I=U+H;else I=U+I+"\n"+H;if(f.print_newline(!1),I)R.text=I,R.whitespace_before="",R.newlines=0,f.add_raw_token(R),f.print_newline(!0)}};Gf.prototype._handle_tag_open=function(f,R,h,A,I){var $=this._get_tag_open_token(R);if((h.is_unformatted||h.is_content_unformatted)&&!h.is_empty_element&&R.type===y.TAG_OPEN&&!$.is_start_tag)f.add_raw_token(R),$.start_tag_token=this._tag_stack.try_pop($.tag_name);else{if(f.traverse_whitespace(R),this._set_tag_position(f,R,$,h,A),!$.is_inline_element)f.set_wrap_point();f.print_token(R)}if($.is_start_tag&&this._is_wrap_attributes_force){var P=0,U;do{if(U=I.peek(P),U.type===y.ATTRIBUTE)$.attr_count+=1;P+=1}while(U.type!==y.EOF&&U.type!==y.TAG_CLOSE)}if(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)$.alignment_size=R.text.length+1;if(!$.tag_complete&&!$.is_unformatted)f.alignment_size=$.alignment_size;return $};var VF=function(f,R){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="",!R)this.tag_complete=!0;else{var h;if(this.tag_start_char=R.text[0],this.text=R.text,this.tag_start_char==="<")h=R.text.match(/^<([^\s>]*)/),this.tag_check=h?h[1]:"";else if(h=R.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=h?h[1]:"",(R.text.startsWith("{{#>")||R.text.startsWith("{{~#>"))&&this.tag_check[0]===">")if(this.tag_check===">"&&R.next!==null)this.tag_check=R.next.text.split(" ")[0];else this.tag_check=R.text.split(">")[1];if(this.tag_check=this.tag_check.toLowerCase(),R.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||R.closed&&R.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 R=new VF(this._tag_stack.get_parser_token(),f);return R.alignment_size=this._options.wrap_attributes_indent_size,R.is_end_tag=R.is_end_tag||gh(R.tag_check,this._options.void_elements),R.is_empty_element=R.tag_complete||R.is_start_tag&&R.is_end_tag,R.is_unformatted=!R.tag_complete&&gh(R.tag_check,this._options.unformatted),R.is_content_unformatted=!R.is_empty_element&&gh(R.tag_check,this._options.content_unformatted),R.is_inline_element=gh(R.tag_name,this._options.inline)||this._options.inline_custom_elements&&R.tag_name.includes("-")||R.tag_start_char==="{",R};Gf.prototype._set_tag_position=function(f,R,h,A,I){if(!h.is_empty_element)if(h.is_end_tag)h.start_tag_token=this._tag_stack.try_pop(h.tag_name);else{if(this._do_optional_end_element(h)){if(!h.is_inline_element)f.print_newline(!1)}if(this._tag_stack.record_tag(h),(h.tag_name==="script"||h.tag_name==="style")&&!(h.is_unformatted||h.is_content_unformatted))h.custom_beautifier_name=zY(h.tag_check,R)}if(gh(h.tag_check,this._options.extra_liners)){if(f.print_newline(!1),!f._output.just_added_blankline())f.print_newline(!0)}if(h.is_empty_element){if(h.tag_start_char==="{"&&h.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),h.indent_content=!0;var $=f.current_line_has_match(/{{#if/);if(!$)f.print_newline(!1)}if(h.tag_name==="!--"&&I.type===y.TAG_CLOSE&&A.is_end_tag&&h.text.indexOf("\n")===-1);else{if(!(h.is_inline_element||h.is_unformatted))f.print_newline(!1);this._calcluate_parent_multiline(f,h)}}else if(h.is_end_tag){var P=!1;if(P=h.start_tag_token&&h.start_tag_token.multiline_content,P=P||!h.is_inline_element&&!(A.is_inline_element||A.is_unformatted)&&!(I.type===y.TAG_CLOSE&&h.start_tag_token===A)&&I.type!=="TK_CONTENT",h.is_content_unformatted||h.is_unformatted)P=!1;if(P)f.print_newline(!1)}else{if(h.indent_content=!h.custom_beautifier_name,h.tag_start_char==="<"){if(h.tag_name==="html")h.indent_content=this._options.indent_inner_html;else if(h.tag_name==="head")h.indent_content=this._options.indent_head_inner_html;else if(h.tag_name==="body")h.indent_content=this._options.indent_body_inner_html}if(!(h.is_inline_element||h.is_unformatted)&&(I.type!=="TK_CONTENT"||h.is_content_unformatted))f.print_newline(!1);this._calcluate_parent_multiline(f,h)}};Gf.prototype._calcluate_parent_multiline=function(f,R){if(R.parent&&f._output.just_added_newline()&&!((R.is_inline_element||R.is_unformatted)&&R.parent.is_inline_element))R.parent.multiline_content=!0};var QY=["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"],qY=["a","audio","del","ins","map","noscript","video"];Gf.prototype._do_optional_end_element=function(f){var R=null;if(f.is_empty_element||!f.is_start_tag||!f.parent)return;if(f.tag_name==="body")R=R||this._tag_stack.try_pop("head");else if(f.tag_name==="li")R=R||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(f.tag_name==="dd"||f.tag_name==="dt")R=R||this._tag_stack.try_pop("dt",["dl"]),R=R||this._tag_stack.try_pop("dd",["dl"]);else if(f.parent.tag_name==="p"&&QY.indexOf(f.tag_name)!==-1){var h=f.parent.parent;if(!h||qY.indexOf(h.tag_name)===-1)R=R||this._tag_stack.try_pop("p")}else if(f.tag_name==="rp"||f.tag_name==="rt")R=R||this._tag_stack.try_pop("rt",["ruby","rtc"]),R=R||this._tag_stack.try_pop("rp",["ruby","rtc"]);else if(f.tag_name==="optgroup")R=R||this._tag_stack.try_pop("optgroup",["select"]);else if(f.tag_name==="option")R=R||this._tag_stack.try_pop("option",["select","datalist","optgroup"]);else if(f.tag_name==="colgroup")R=R||this._tag_stack.try_pop("caption",["table"]);else if(f.tag_name==="thead")R=R||this._tag_stack.try_pop("caption",["table"]),R=R||this._tag_stack.try_pop("colgroup",["table"]);else if(f.tag_name==="tbody"||f.tag_name==="tfoot")R=R||this._tag_stack.try_pop("caption",["table"]),R=R||this._tag_stack.try_pop("colgroup",["table"]),R=R||this._tag_stack.try_pop("thead",["table"]),R=R||this._tag_stack.try_pop("tbody",["table"]);else if(f.tag_name==="tr")R=R||this._tag_stack.try_pop("caption",["table"]),R=R||this._tag_stack.try_pop("colgroup",["table"]),R=R||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]);else if(f.tag_name==="th"||f.tag_name==="td")R=R||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),R=R||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]);return f.parent=this._tag_stack.get_parser_token(),R};gY.Beautifier=Gf});var JF=C((P7,$I)=>{var BY=ZF().Beautifier,TY=RI().Options;function KY(f,R,h,A){var I=new BY(f,R,h,A);return I.beautify()}$I.exports=KY;$I.exports.defaultOptions=function(){return new TY}});var gF=C((vY,S0)=>{var zF=IF(),LF=NF(),QF=JF();function qF(f,R,h,A){return h=h||zF,A=A||LF,QF(f,R,h,A)}qF.defaultOptions=QF.defaultOptions;vY.js=zF;vY.css=LF;vY.html=qF});var TF=C((U7,BF)=>{function yF(f,R,h){var A=function(I,$){return f.js_beautify(I,$)};return A.js=f.js_beautify,A.css=R.css_beautify,A.html=h.html_beautify,A.js_beautify=f.js_beautify,A.css_beautify=R.css_beautify,A.html_beautify=h.html_beautify,A}if(typeof define==="function"&&define.amd)define(["./lib/beautify","./lib/beautify-css","./lib/beautify-html"],function(f,R,h){return yF(f,R,h)});else(function(f){var R=gF();R.js_beautify=R.js,R.css_beautify=R.css,R.html_beautify=R.html,f.exports=yF(R,R,R)})(BF)});class SR{}import{readdir as nF}from"fs/promises";class Kh extends SR{f;constructor(f=`${process.env.ROOT_DIR}/storage`){super();this.folderPath=f}async put(f){let R,h;if(f instanceof Blob)R=f,h=`${Th()}.${f.type.split("/")[1].split(";")[0]}`;else R=f.body,h=f.name;let A=R instanceof Buffer?R:Buffer.from(await R.arrayBuffer()),I=`${this.folderPath}/${h}`;return await Bun.write(I,A),h}async fetch(f){let R=process.env.BUCKET_NAME,h;if(typeof f==="string")h=f;else R=f.bucket??R,h=f.name;if(!h)throw new Error("Object name has to be specified");let A=`${this.folderPath}/${h}`,I=Bun.file(A),$=Bun.file(A).stream(),P=new Date(I.lastModified).toUTCString();return new Response($,{headers:{"Content-Type":I.type,"Content-Length":String(I.size),"Cache-Control":"private, max-age=12000, must-revalidate","Last-Modified":P}})}async list(){return await nF(this.folderPath)}}class HI extends $f{driver=new Kh;boot(){}}function uF(f){return(R)=>async(h)=>{let{request:A}=h;if(Sf.isInstance(A)&&A.body&&f.runtime==="node"){if(f.requestHandler?.constructor?.name!=="FetchHttpHandler")A.headers={...A.headers,Expect:"100-continue"}}return R({...h,request:A})}}var tF={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0},wI=(f)=>({applyToStack:(R)=>{R.add(uF(f),tF)}});var bR={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},vh=bR.WHEN_SUPPORTED,M0={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},jh=bR.WHEN_SUPPORTED,b;(function(f){f.MD5="MD5",f.CRC32="CRC32",f.CRC32C="CRC32C",f.SHA1="SHA1",f.SHA256="SHA256"})(b||(b={}));var FI;(function(f){f.HEADER="header",f.TRAILER="trailer"})(FI||(FI={}));var{MD5:EI,CRC32:NI}=b;var sf;(function(f){f.ENV="env",f.CONFIG="shared config entry"})(sf||(sf={}));var WR=(f,R,h,A)=>{if(!(R in f))return;let I=f[R].toUpperCase();if(!Object.values(h).includes(I))throw new TypeError(`Cannot load ${A} '${R}'. Expected one of ${Object.values(h)}, got '${f[R]}'.`);return I};var f8="AWS_REQUEST_CHECKSUM_CALCULATION",R8="request_checksum_calculation",GI={environmentVariableSelector:(f)=>WR(f,f8,bR,sf.ENV),configFileSelector:(f)=>WR(f,R8,bR,sf.CONFIG),default:vh};var h8="AWS_RESPONSE_CHECKSUM_VALIDATION",A8="response_checksum_validation",SI={environmentVariableSelector:(f)=>WR(f,h8,M0,sf.ENV),configFileSelector:(f)=>WR(f,A8,M0,sf.CONFIG),default:jh};var cR=[b.CRC32,b.CRC32C,b.SHA1,b.SHA256],WI=[b.CRC32,b.CRC32C,b.SHA1,b.SHA256];var YI=(f,{requestChecksumRequired:R,requestAlgorithmMember:h},A)=>{let I=A?NI:EI;if(!h||!f[h])return R?I:void 0;let $=f[h];if(!cR.includes($))throw new Error(`The checksum algorithm "${$}" is not supported by the client. Select one of ${cR}.`);return $};var YR=(f)=>f===b.MD5?"content-md5":`x-amz-checksum-${f.toLowerCase()}`;var DI=(f,R)=>{let h=f.toLowerCase();for(let A of Object.keys(R))if(h===A.toLowerCase())return!0;return!1};var MI=_(I8(),1),DR=(f)=>f!==void 0&&typeof f!=="string"&&!ArrayBuffer.isView(f)&&!MI.isArrayBuffer(f);var VI=_($8(),1),{__extends:vD,__assign:jD,__rest:OD,__decorate:mD,__param:sD,__esDecorate:CD,__runInitializers:lD,__propKey:bD,__setFunctionName:cD,__metadata:dD,__awaiter:Oh,__generator:mh,__exportStar:kD,__createBinding:rD,__values:sh,__read:xD,__spread:_D,__spreadArrays:aD,__spreadArray:iD,__await:pD,__asyncGenerator:eD,__asyncDelegator:oD,__asyncValues:nD,__makeTemplateObject:uD,__importStar:tD,__importDefault:f4,__classPrivateFieldGet:R4,__classPrivateFieldSet:h4,__classPrivateFieldIn:A4,__addDisposableResource:I4,__disposeResources:$4}=VI.default;import{Buffer as XI}from"buffer";var ZI=(f,R)=>{if(typeof f!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof f} (${f})`);return R?XI.from(f,R):XI.from(f)};var V0=(f)=>{let R=ZI(f,"utf8");return new Uint8Array(R.buffer,R.byteOffset,R.byteLength/Uint8Array.BYTES_PER_ELEMENT)};var P8=typeof Buffer!=="undefined"&&Buffer.from?function(f){return Buffer.from(f,"utf8")}:V0;function dR(f){if(f instanceof Uint8Array)return f;if(typeof f==="string")return P8(f);if(ArrayBuffer.isView(f))return new Uint8Array(f.buffer,f.byteOffset,f.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(f)}function kR(f){if(typeof f==="string")return f.length===0;return f.byteLength===0}function rR(f){return new Uint8Array([(f&4278190080)>>24,(f&16711680)>>16,(f&65280)>>8,f&255])}function xR(f){if(!Uint32Array.from){var R=new Uint32Array(f.length),h=0;while(h<f.length)R[h]=f[h],h+=1;return R}return Uint32Array.from(f)}var X0=function(){function f(){this.crc32=new fR}return f.prototype.update=function(R){if(kR(R))return;this.crc32.update(dR(R))},f.prototype.digest=function(){return Oh(this,void 0,void 0,function(){return mh(this,function(R){return[2,rR(this.crc32.digest())]})})},f.prototype.reset=function(){this.crc32=new fR},f}();var fR=function(){function f(){this.checksum=4294967295}return f.prototype.update=function(R){var h,A;try{for(var I=sh(R),$=I.next();!$.done;$=I.next()){var P=$.value;this.checksum=this.checksum>>>8^H8[(this.checksum^P)&255]}}catch(U){h={error:U}}finally{try{if($&&!$.done&&(A=I.return))A.call(I)}finally{if(h)throw h.error}}return this},f.prototype.digest=function(){return(this.checksum^4294967295)>>>0},f}();var U8=[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],H8=xR(U8);var J0=function(){function f(){this.crc32c=new Z0}return f.prototype.update=function(R){if(kR(R))return;this.crc32c.update(dR(R))},f.prototype.digest=function(){return Oh(this,void 0,void 0,function(){return mh(this,function(R){return[2,rR(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(R){var h,A;try{for(var I=sh(R),$=I.next();!$.done;$=I.next()){var P=$.value;this.checksum=this.checksum>>>8^F8[(this.checksum^P)&255]}}catch(U){h={error:U}}finally{try{if($&&!$.done&&(A=I.return))A.call(I)}finally{if(h)throw h.error}}return this},f.prototype.digest=function(){return(this.checksum^4294967295)>>>0},f}();var w8=[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],F8=xR(w8);var Ch=(f,R)=>({[b.MD5]:R.md5,[b.CRC32]:X0,[b.CRC32C]:J0,[b.SHA1]:R.sha1,[b.SHA256]:R.sha256})[f];var bh=(f,R)=>{let h=new f;return h.update(lh(R||"")),h.digest()};var JI={name:"flexibleChecksumsMiddleware",step:"build",tags:["BODY_CHECKSUM"],override:!0},zI=(f,R)=>(h,A)=>async(I)=>{if(!Sf.isInstance(I.request))return h(I);let{request:$}=I,{body:P,headers:U}=$,{base64Encoder:H,streamHasher:F}=f,{input:N,requestChecksumRequired:W,requestAlgorithmMember:V}=R,S=YI(N,{requestChecksumRequired:W,requestAlgorithmMember:V},!!A.isS3ExpressBucket),L=P,K=U;if(S){let If=YR(S),Kf=Ch(S,f);if(DR(P)){let{getAwsChunkedEncodingStream:lR,bodyLengthChecker:Bh}=f;L=lR(P,{base64Encoder:H,bodyLengthChecker:Bh,checksumLocationName:If,checksumAlgorithmFn:Kf,streamHasher:F}),K={...U,"content-encoding":U["content-encoding"]?`${U["content-encoding"]},aws-chunked`:"aws-chunked","transfer-encoding":"chunked","x-amz-decoded-content-length":U["content-length"],"x-amz-content-sha256":"STREAMING-UNSIGNED-PAYLOAD-TRAILER","x-amz-trailer":If},delete K["content-length"]}else if(!DI(If,U)){let lR=await bh(Kf,P);K={...U,[If]:H(lR)}}}return await h({...I,request:{...$,headers:K,body:L}})};var ch=(f=[])=>{let R=[];for(let h of WI){if(!f.includes(h)||!cR.includes(h))continue;R.push(h)}return R};var LI=(f)=>{let R=f.lastIndexOf("-");if(R!==-1){let h=f.slice(R+1);if(!h.startsWith("0")){let A=parseInt(h,10);if(!isNaN(A)&&A>=1&&A<=1e4)return!0}}return!1};import{Transform as E8}from"stream";function z0(f){let R=new E8;return R.push(f),R.push(null),R}var QI=async(f,{streamHasher:R,checksumAlgorithmFn:h,base64Encoder:A})=>{let I=DR(f)?R(h,f):bh(h,f);return A(await I)};var qI=async(f,{config:R,responseAlgorithms:h})=>{let A=ch(h),{body:I,headers:$}=f;for(let P of A){let U=YR(P),H=$[U];if(H){let F=Ch(P,R),{streamHasher:N,base64Encoder:W}=R,V=await QI(I,{streamHasher:N,checksumAlgorithmFn:F,base64Encoder:W});if(V===H)break;throw new Error(`Checksum mismatch: expected "${V}" but received "${H}" in response header "${U}".`)}}};var gI={name:"flexibleChecksumsResponseMiddleware",toMiddleware:"deserializerMiddleware",relation:"after",tags:["BODY_CHECKSUM"],override:!0},yI=(f,R)=>(h,A)=>async(I)=>{if(!Sf.isInstance(I.request))return h(I);let $=I.input,P=await h(I),U=P.response,H=void 0,{requestValidationModeMember:F,responseAlgorithms:N}=R;if(F&&$[F]==="ENABLED"){let{clientName:W,commandName:V}=A;if(W==="S3Client"&&V==="GetObjectCommand"&&ch(N).every((K)=>{let Af=YR(K),If=U.headers[Af];return!If||LI(If)}))return P;let L=DR(U.body);if(L)H=await f.streamCollector(U.body),U.body=z0(H);if(await qI(P.response,{config:f,responseAlgorithms:N}),L&&H)U.body=z0(H)}return P};var dh=(f,R)=>({applyToStack:(h)=>{h.add(zI(f,R),JI),h.addRelativeTo(yI(f,R),gI)}});var BI=(f)=>({...f,requestChecksumCalculation:_R(f.requestChecksumCalculation??vh),responseChecksumValidation:_R(f.responseChecksumValidation??jh)});var N8="content-length";function G8(){return(f,R)=>async(h)=>{let{request:A}=h;if(Sf.isInstance(A)){if(!(N8 in A.headers))if(typeof R?.logger?.warn==="function"&&!(R.logger instanceof kh))R.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({...h})}}var S8={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0},TI=(f)=>({applyToStack:(R)=>{R.add(G8(),S8)}});var KI=(f)=>{return(R,h)=>async(A)=>{let I=await f.region(),$=f.region,P=()=>{};if(h.__s3RegionRedirect)Object.defineProperty(f,"region",{writable:!1,value:async()=>{return h.__s3RegionRedirect}}),P=()=>Object.defineProperty(f,"region",{writable:!0,value:$});try{let U=await R(A);if(h.__s3RegionRedirect){P();let H=await f.region();if(I!==H)throw new Error("Region was not restored following S3 region redirect.")}return U}catch(U){throw P(),U}}},vI={tags:["REGION_REDIRECT","S3"],name:"regionRedirectEndpointMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};function W8(f){return(R,h)=>async(A)=>{try{return await R(A)}catch(I){if(f.followRegionRedirects&&I?.$metadata?.httpStatusCode===301){try{let $=I.$response.headers["x-amz-bucket-region"];h.logger?.debug(`Redirecting from ${await f.region()} to ${$}`),h.__s3RegionRedirect=$}catch($){throw new Error("Region redirect failed: "+$)}return R(A)}else throw I}}}var Y8={step:"initialize",tags:["REGION_REDIRECT","S3"],name:"regionRedirectMiddleware",override:!0},jI=(f)=>({applyToStack:(R)=>{R.add(W8(f),Y8),R.addRelativeTo(KI(f),vI)}});var D8=(f)=>{return(R,h)=>async(A)=>{let I=await R(A),{response:$}=I;if(rh.isInstance($)){if($.headers.expires){$.headers.expiresstring=$.headers.expires;try{aR($.headers.expires)}catch(P){h.logger?.warn(`AWS SDK Warning for ${h.clientName}::${h.commandName} response parsing (${$.headers.expires}): ${P}`),delete $.headers.expires}}}return I}},M8={tags:["S3"],name:"s3ExpiresMiddleware",override:!0,relation:"after",toMiddleware:"deserializerMiddleware"},OI=(f)=>({applyToStack:(R)=>{R.addRelativeTo(D8(f),M8)}});class MR{constructor(f={}){this.data=f,this.lastPurgeTime=Date.now()}get(f){let R=this.data[f];if(!R)return;return R}set(f,R){return this.data[f]=R,R}delete(f){delete this.data[f]}async purgeExpired(){let f=Date.now();if(this.lastPurgeTime+MR.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>f)return;for(let R in this.data){let h=this.data[R];if(!h.isRefreshing){let A=await h.identity;if(A.expiration){if(A.expiration.getTime()<f)delete this.data[R]}}}}}MR.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=30000;class VR{constructor(f,R=!1,h=Date.now()){this._identity=f,this.isRefreshing=R,this.accessed=h}get identity(){return this.accessed=Date.now(),this._identity}}class XR{constructor(f,R=new MR){this.createSessionFn=f,this.cache=R}async getS3ExpressIdentity(f,R){let h=R.Bucket,{cache:A}=this,I=A.get(h);if(I)return I.identity.then(($)=>{if(($.expiration?.getTime()??0)<Date.now())return A.set(h,new VR(this.getIdentity(h))).identity;if(($.expiration?.getTime()??0)<Date.now()+XR.REFRESH_WINDOW_MS&&!I.isRefreshing)I.isRefreshing=!0,this.getIdentity(h).then((H)=>{A.set(h,new VR(Promise.resolve(H)))});return $});return A.set(h,new VR(this.getIdentity(h))).identity}async getIdentity(f){await this.cache.purgeExpired().catch((A)=>{console.warn("Error while clearing expired entries in S3ExpressIdentityCache: \n"+A)});let R=await this.createSessionFn(f);if(!R.Credentials?.AccessKeyId||!R.Credentials?.SecretAccessKey)throw new Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey.");return{accessKeyId:R.Credentials.AccessKeyId,secretAccessKey:R.Credentials.SecretAccessKey,sessionToken:R.Credentials.SessionToken,expiration:R.Credentials.Expiration?new Date(R.Credentials.Expiration):void 0}}}XR.REFRESH_WINDOW_MS=60000;var cI=_(Z8(),1);var mI="Directory",sI="S3Express",CI="sigv4-s3express",xh="X-Amz-S3session-Token",iR=xh.toLowerCase(),V8="AWS_S3_DISABLE_EXPRESS_SESSION_AUTH",X8="s3_disable_express_session_auth",L0={environmentVariableSelector:(f)=>RR(f,V8,hR.ENV),configFileSelector:(f)=>RR(f,X8,hR.CONFIG),default:!1};class _h extends cI.SignatureV4{async signWithCredentials(f,R,h){let A=lI(R);f.headers[iR]=R.sessionToken;let I=this;return bI(I,A),I.signRequest(f,h??{})}async presignWithCredentials(f,R,h){let A=lI(R);return delete f.headers[iR],f.headers[xh]=R.sessionToken,f.query=f.query??{},f.query[xh]=R.sessionToken,bI(this,A),this.presign(f,h)}}function lI(f){return{accessKeyId:f.accessKeyId,secretAccessKey:f.secretAccessKey,expiration:f.expiration}}function bI(f,R){let h=setTimeout(()=>{throw new Error("SignatureV4S3Express credential override was created but not called.")},10),A=f.credentialProvider,I=()=>{return clearTimeout(h),f.credentialProvider=A,Promise.resolve(R)};f.credentialProvider=I}var dI=(f)=>{return(R,h)=>async(A)=>{if(h.endpointV2){let I=h.endpointV2,$=I.properties?.authSchemes?.[0]?.name===CI;if(I.properties?.backend===sI||I.properties?.bucketType===mI)h.isS3ExpressBucket=!0;if($){let U=A.input.Bucket;if(U){let H=await f.s3ExpressIdentityProvider.getS3ExpressIdentity(await f.credentials(),{Bucket:U});if(h.s3ExpressIdentity=H,Sf.isInstance(A.request)&&H.sessionToken)A.request.headers[iR]=H.sessionToken}}}return R(A)}},kI={name:"s3ExpressMiddleware",step:"build",tags:["S3","S3_EXPRESS"],override:!0},Q0=(f)=>({applyToStack:(R)=>{R.add(dI(f),kI)}});var xI=_(q0(),1);var rI=async(f,R,h,A)=>{let I=await A.signWithCredentials(h,f,{});if(I.headers["X-Amz-Security-Token"]||I.headers["x-amz-security-token"])throw new Error("X-Amz-Security-Token must not be set for s3-express requests.");return I};var J8=(f)=>(R)=>{throw R},z8=(f,R)=>{};var _I=(f)=>(R,h)=>async(A)=>{if(!Sf.isInstance(A.request))return R(A);let $=pR(h).selectedHttpAuthScheme;if(!$)throw new Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:P={}},identity:U,signer:H}=$,F;if(h.s3ExpressIdentity)F=await rI(h.s3ExpressIdentity,P,A.request,await f.signer());else F=await H.sign(A.request,U,P);let N=await R({...A,request:F}).catch((H.errorHandler||J8)(P));return(H.successHandler||z8)(N.response,P),N},g0=(f)=>({applyToStack:(R)=>{R.addRelativeTo(_I(f),xI.httpSigningMiddlewareOptions)}});var aI=(f,{session:R})=>{let[h,A]=R;return{...f,forcePathStyle:f.forcePathStyle??!1,useAccelerateEndpoint:f.useAccelerateEndpoint??!1,disableMultiregionAccessPoints:f.disableMultiregionAccessPoints??!1,followRegionRedirects:f.followRegionRedirects??!1,s3ExpressIdentityProvider:f.s3ExpressIdentityProvider??new XR(async(I)=>h().send(new A({Bucket:I,SessionMode:"ReadWrite"}))),bucketEndpoint:f.bucketEndpoint??!1}};var ah=_(iI(),1),L8={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},Q8=3000,q8=(f)=>(R,h)=>async(A)=>{let I=await R(A),{response:$}=I;if(!rh.isInstance($))return I;let{statusCode:P,body:U}=$;if(P<200||P>=300)return I;if(!(typeof U?.stream==="function"||typeof U?.pipe==="function"||typeof U?.tee==="function"))return I;let F=U,N=U;if(U&&typeof U==="object"&&!(U instanceof Uint8Array))[F,N]=await ah.splitStream(U);$.body=N;let W=await g8(F,{streamCollector:async(S)=>{return ah.headStream(S,Q8)}});if(typeof F?.destroy==="function")F.destroy();let V=f.utf8Encoder(W.subarray(W.length-16));if(W.length===0&&L8[h.commandName]){let S=new Error("S3 aborted request");throw S.name="InternalError",S}if(V&&V.endsWith("</Error>"))$.statusCode=400;return I},g8=(f=new Uint8Array,R)=>{if(f instanceof Uint8Array)return Promise.resolve(f);return R.streamCollector(f)||Promise.resolve(new Uint8Array)},y8={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},ZR=(f)=>({applyToStack:(R)=>{R.addRelativeTo(q8(f),y8)}});var y0=(f)=>typeof f==="string"&&f.indexOf("arn:")===0&&f.split(":").length>=6;function pI(f){return(R,h)=>async(A)=>{if(f.bucketEndpoint){let I=h.endpointV2;if(I){let $=A.input.Bucket;if(typeof $==="string")try{let P=new URL($);h.endpointV2={...I,url:P}}catch(P){let U=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${$} could not be parsed as URL.`;if(h.logger?.constructor?.name==="NoOpLogger")console.warn(U);else h.logger?.warn?.(U);throw P}}}return R(A)}}var eI={name:"bucketEndpointMiddleware",override:!0,relation:"after",toMiddleware:"endpointV2Middleware"};function B8({bucketEndpoint:f}){return(R)=>async(h)=>{let{input:{Bucket:A}}=h;if(!f&&typeof A==="string"&&!y0(A)&&A.indexOf("/")>=0){let I=new Error(`Bucket name shouldn't contain '/', received '${A}'`);throw I.name="InvalidBucketName",I}return R({...h})}}var T8={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0},oI=(f)=>({applyToStack:(R)=>{R.add(B8(f),T8),R.addRelativeTo(pI(f),eI)}});var gR=_(q0(),1);var nI=(f)=>({...f,eventStreamMarshaller:f.eventStreamSerdeProvider(f)});var hA=_(RA(),1);var ih={CrtSignerV4:null};class B0{constructor(f){this.sigv4Signer=new _h(f),this.signerOptions=f}async sign(f,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().sign(f,R)}return this.sigv4Signer.sign(f,R)}async signWithCredentials(f,R,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().signWithCredentials(f,R,h)}return this.sigv4Signer.signWithCredentials(f,R,h)}async presign(f,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().presign(f,R)}return this.sigv4Signer.presign(f,R)}async presignWithCredentials(f,R,h={}){if(h.signingRegion==="*")throw new Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(f,R,h)}getSigv4aSigner(){if(!this.sigv4aSigner){let f=null;try{if(f=ih.CrtSignerV4,typeof f!=="function")throw new Error}catch(R){throw R.message=`${R.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`,R}this.sigv4aSigner=new f({...this.signerOptions,signingAlgorithm:1})}return this.sigv4aSigner}}var JR={["required"]:!1,["type"]:"String"},zR={["required"]:!0,default:!1,["type"]:"Boolean"},eR={["required"]:!1,["type"]:"Boolean"},Zf={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"Accelerate"},!0]},m={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseFIPS"},!0]},O={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseDualStack"},!0]},d={["fn"]:"isSet",["argv"]:[{["ref"]:"Endpoint"}]},k$={["fn"]:"aws.partition",["argv"]:[{["ref"]:"Region"}],["assign"]:"partitionResult"},uI={["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[{["ref"]:"partitionResult"},"name"]},"aws-cn"]},uh={["fn"]:"isSet",["argv"]:[{["ref"]:"Bucket"}]},Hf={["ref"]:"Bucket"},Uf={["fn"]:"parseURL",["argv"]:[{["ref"]:"Endpoint"}],["assign"]:"url"},nh={["fn"]:"booleanEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[{["ref"]:"url"},"isIp"]},!0]},r$={["ref"]:"url"},x$={["fn"]:"uriEncode",["argv"]:[Hf],["assign"]:"uri_encoded_bucket"},vf={["backend"]:"S3Express",["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3express",["signingRegion"]:"{Region}"}]},M={},_$={["fn"]:"aws.isVirtualHostableS3Bucket",["argv"]:[Hf,!1]},T0={["error"]:"S3Express bucket name is not a valid virtual hostable name.",["type"]:"error"},th={["backend"]:"S3Express",["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4-s3express",["signingName"]:"s3express",["signingRegion"]:"{Region}"}]},tI={["fn"]:"isSet",["argv"]:[{["ref"]:"UseS3ExpressControlEndpoint"}]},f$={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseS3ExpressControlEndpoint"},!0]},X={["fn"]:"not",["argv"]:[d]},R$={["error"]:"Unrecognized S3Express bucket name format.",["type"]:"error"},h$={["fn"]:"not",["argv"]:[uh]},A$={["ref"]:"hardwareType"},I$={["conditions"]:[X],["error"]:"Expected a endpoint to be specified but no endpoint was found",["type"]:"error"},ph={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4a",["signingName"]:"s3-outposts",["signingRegionSet"]:["*"]},{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-outposts",["signingRegion"]:"{Region}"}]},K0={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"ForcePathStyle"},!1]},K8={["ref"]:"ForcePathStyle"},c={["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]},$$={["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}"}]},p={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseGlobalEndpoint"},!1]},z={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseDualStack"},!1]},P$={["url"]:"https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},J={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseFIPS"},!1]},U$={["url"]:"https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},H$={["url"]:"https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},v0={["fn"]:"booleanEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[r$,"isIp"]},!1]},j0={["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",["properties"]:k,["headers"]:{}},t0={["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:k,["headers"]:{}},w$={["endpoint"]:t0,["type"]:"endpoint"},O0={["url"]:"https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},F$={["url"]:"https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},eh={["error"]:"Invalid region: region was not a valid DNS name.",["type"]:"error"},Ef={["ref"]:"bucketArn"},a$={["ref"]:"arnType"},m0={["fn"]:"getAttr",["argv"]:[Ef,"service"]},f3={["ref"]:"accessPointName"},E$={["conditions"]:[O],["error"]:"S3 Object Lambda does not support Dual-stack",["type"]:"error"},N$={["conditions"]:[Zf],["error"]:"S3 Object Lambda does not support S3 Accelerate",["type"]:"error"},G$={["conditions"]:[{["fn"]:"isSet",["argv"]:[{["ref"]:"DisableAccessPoints"}]},{["fn"]:"booleanEquals",["argv"]:[{["ref"]:"DisableAccessPoints"},!0]}],["error"]:"Access points are not supported for this operation",["type"]:"error"},s0={["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"},i$={["fn"]:"getAttr",["argv"]:[{["ref"]:"bucketPartition"},"name"]},p$={["fn"]:"getAttr",["argv"]:[Ef,"accountId"]},C0={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-object-lambda",["signingRegion"]:"{bucketArn#region}"}]},S$={["error"]:"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`",["type"]:"error"},l0={["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"},c0={["error"]:"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`",["type"]:"error"},W$={["error"]:"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.",["type"]:"error"},Y$={["error"]:"Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided",["type"]:"error"},oR={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3",["signingRegion"]:"{bucketArn#region}"}]},D$={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4a",["signingName"]:"s3-outposts",["signingRegionSet"]:["*"]},{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-outposts",["signingRegion"]:"{bucketArn#region}"}]},M$={["fn"]:"aws.parseArn",["argv"]:[Hf]},V$={["url"]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:k,["headers"]:{}},X$={["url"]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:k,["headers"]:{}},Z$={["url"]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:k,["headers"]:{}},d0={["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",["properties"]:k,["headers"]:{}},J$={["url"]:"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:k,["headers"]:{}},z$={["ref"]:"UseObjectLambdaEndpoint"},k0={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-object-lambda",["signingRegion"]:"{Region}"}]},L$={["url"]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},Q$={["url"]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},q$={["url"]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},r0={["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:k,["headers"]:{}},g$={["url"]:"https://s3.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},x0=[{["ref"]:"Region"}],v8=[{["ref"]:"Endpoint"}],j8=[Hf],_0=[O],oh=[Zf],AR=[d,Uf],y$=[{["fn"]:"isSet",["argv"]:[{["ref"]:"DisableS3ExpressSessionAuth"}]},{["fn"]:"booleanEquals",["argv"]:[{["ref"]:"DisableS3ExpressSessionAuth"},!0]}],B$=[nh],a0=[x$],i0=[_$],LR=[m],T$=[{["fn"]:"substring",["argv"]:[Hf,6,14,!0],["assign"]:"s3expressAvailabilityZoneId"},{["fn"]:"substring",["argv"]:[Hf,14,16,!0],["assign"]:"s3expressAvailabilityZoneDelim"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"s3expressAvailabilityZoneDelim"},"--"]}],K$=[{["conditions"]:[m],["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"}],v$=[{["fn"]:"substring",["argv"]:[Hf,6,15,!0],["assign"]:"s3expressAvailabilityZoneId"},{["fn"]:"substring",["argv"]:[Hf,15,17,!0],["assign"]:"s3expressAvailabilityZoneDelim"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"s3expressAvailabilityZoneDelim"},"--"]}],j$=[{["conditions"]:[m],["endpoint"]:{["url"]:"https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",["properties"]:th,["headers"]:{}},["type"]:"endpoint"},{["endpoint"]:{["url"]:"https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",["properties"]:th,["headers"]:{}},["type"]:"endpoint"}],O8=[uh],O$=[{["fn"]:"isValidHostLabel",["argv"]:[{["ref"]:"outpostId"},!1]}],m$=[{["fn"]:"stringEquals",["argv"]:[{["ref"]:"regionPrefix"},"beta"]}],m8=["*"],Cf=[k$],s$=[{["fn"]:"isValidHostLabel",["argv"]:[{["ref"]:"Region"},!1]}],lf=[{["fn"]:"stringEquals",["argv"]:[{["ref"]:"Region"},"us-east-1"]}],p0=[{["fn"]:"stringEquals",["argv"]:[a$,"accesspoint"]}],C$=[{["fn"]:"getAttr",["argv"]:[Ef,"resourceId[1]"],["assign"]:"accessPointName"},{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[f3,""]}]}],s8=[Ef,"resourceId[1]"],e0=[{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ef,"region"]},""]}]}],l$=[{["fn"]:"not",["argv"]:[{["fn"]:"isSet",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ef,"resourceId[2]"]}]}]}],C8=[Ef,"resourceId[2]"],o0=[{["fn"]:"aws.partition",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ef,"region"]}],["assign"]:"bucketPartition"}],b$=[{["fn"]:"stringEquals",["argv"]:[i$,{["fn"]:"getAttr",["argv"]:[{["ref"]:"partitionResult"},"name"]}]}],n0=[{["fn"]:"isValidHostLabel",["argv"]:[{["fn"]:"getAttr",["argv"]:[Ef,"region"]},!0]}],u0=[{["fn"]:"isValidHostLabel",["argv"]:[p$,!1]}],c$=[{["fn"]:"isValidHostLabel",["argv"]:[f3,!1]}],d$=[{["fn"]:"isValidHostLabel",["argv"]:[{["ref"]:"Region"},!0]}],l8={version:"1.0",parameters:{Bucket:JR,Region:JR,UseFIPS:zR,UseDualStack:zR,Endpoint:JR,ForcePathStyle:zR,Accelerate:zR,UseGlobalEndpoint:zR,UseObjectLambdaEndpoint:eR,Key:JR,Prefix:JR,CopySource:JR,DisableAccessPoints:eR,DisableMultiRegionAccessPoints:zR,UseArnRegion:eR,UseS3ExpressControlEndpoint:eR,DisableS3ExpressSessionAuth:eR},rules:[{["conditions"]:[{["fn"]:"isSet",["argv"]:x0}],rules:[{["conditions"]:[Zf,m],error:"Accelerate cannot be used with FIPS",["type"]:"error"},{["conditions"]:[O,d],error:"Cannot set dual-stack in combination with a custom endpoint.",["type"]:"error"},{["conditions"]:[d,m],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"]:[m,k$,uI],error:"Partition does not support FIPS",["type"]:"error"},{["conditions"]:[uh,{["fn"]:"substring",["argv"]:[Hf,0,6,!0],["assign"]:"bucketSuffix"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"bucketSuffix"},"--x-s3"]}],rules:[{["conditions"]:_0,error:"S3Express does not support Dual-stack.",["type"]:"error"},{["conditions"]:oh,error:"S3Express does not support S3 Accelerate.",["type"]:"error"},{["conditions"]:AR,rules:[{["conditions"]:y$,rules:[{["conditions"]:B$,rules:[{["conditions"]:a0,rules:[{endpoint:{["url"]:"{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",["properties"]:vf,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:i0,rules:[{endpoint:{["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:vf,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},T0],["type"]:"tree"},{["conditions"]:B$,rules:[{["conditions"]:a0,rules:[{endpoint:{["url"]:"{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",["properties"]:th,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:i0,rules:[{endpoint:{["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:th,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},T0],["type"]:"tree"},{["conditions"]:[tI,f$],rules:[{["conditions"]:[x$,X],rules:[{["conditions"]:LR,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"]:i0,rules:[{["conditions"]:y$,rules:[{["conditions"]:T$,rules:K$,["type"]:"tree"},{["conditions"]:v$,rules:K$,["type"]:"tree"},R$],["type"]:"tree"},{["conditions"]:T$,rules:j$,["type"]:"tree"},{["conditions"]:v$,rules:j$,["type"]:"tree"},R$],["type"]:"tree"},T0],["type"]:"tree"},{["conditions"]:[h$,tI,f$],rules:[{["conditions"]:AR,endpoint:{["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:vf,["headers"]:M},["type"]:"endpoint"},{["conditions"]:LR,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"]:[uh,{["fn"]:"substring",["argv"]:[Hf,49,50,!0],["assign"]:"hardwareType"},{["fn"]:"substring",["argv"]:[Hf,8,12,!0],["assign"]:"regionPrefix"},{["fn"]:"substring",["argv"]:[Hf,0,7,!0],["assign"]:"bucketAliasSuffix"},{["fn"]:"substring",["argv"]:[Hf,32,49,!0],["assign"]:"outpostId"},{["fn"]:"aws.partition",["argv"]:x0,["assign"]:"regionPartition"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"bucketAliasSuffix"},"--op-s3"]}],rules:[{["conditions"]:O$,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[A$,"e"]}],rules:[{["conditions"]:m$,rules:[I$,{["conditions"]:AR,endpoint:{["url"]:"https://{Bucket}.ec2.{url#authority}",["properties"]:ph,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},{endpoint:{["url"]:"https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}",["properties"]:ph,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[A$,"o"]}],rules:[{["conditions"]:m$,rules:[I$,{["conditions"]:AR,endpoint:{["url"]:"https://{Bucket}.op-{outpostId}.{url#authority}",["properties"]:ph,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},{endpoint:{["url"]:"https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}",["properties"]:ph,["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"]:O8,rules:[{["conditions"]:[d,{["fn"]:"not",["argv"]:[{["fn"]:"isSet",["argv"]:[{["fn"]:"parseURL",["argv"]:v8}]}]}],error:"Custom endpoint `{Endpoint}` was not a valid URI",["type"]:"error"},{["conditions"]:[K0,_$],rules:[{["conditions"]:Cf,rules:[{["conditions"]:s$,rules:[{["conditions"]:[Zf,uI],error:"S3 Accelerate cannot be used in this region",["type"]:"error"},{["conditions"]:[O,m,c,X,x],endpoint:{["url"]:"https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[O,m,c,X,Q,i],rules:[{endpoint:$$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[O,m,c,X,Q,p],endpoint:$$,["type"]:"endpoint"},{["conditions"]:[z,m,c,X,x],endpoint:{["url"]:"https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,m,c,X,Q,i],rules:[{endpoint:P$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[z,m,c,X,Q,p],endpoint:P$,["type"]:"endpoint"},{["conditions"]:[O,J,Zf,X,x],endpoint:{["url"]:"https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[O,J,Zf,X,Q,i],rules:[{endpoint:U$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[O,J,Zf,X,Q,p],endpoint:U$,["type"]:"endpoint"},{["conditions"]:[O,J,c,X,x],endpoint:{["url"]:"https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[O,J,c,X,Q,i],rules:[{endpoint:H$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[O,J,c,X,Q,p],endpoint:H$,["type"]:"endpoint"},{["conditions"]:[z,J,c,d,Uf,nh,x],endpoint:{["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,J,c,d,Uf,v0,x],endpoint:{["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,J,c,d,Uf,nh,Q,i],rules:[{["conditions"]:lf,endpoint:j0,["type"]:"endpoint"},{endpoint:j0,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[z,J,c,d,Uf,v0,Q,i],rules:[{["conditions"]:lf,endpoint:t0,["type"]:"endpoint"},w$],["type"]:"tree"},{["conditions"]:[z,J,c,d,Uf,nh,Q,p],endpoint:j0,["type"]:"endpoint"},{["conditions"]:[z,J,c,d,Uf,v0,Q,p],endpoint:t0,["type"]:"endpoint"},{["conditions"]:[z,J,Zf,X,x],endpoint:{["url"]:"https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,J,Zf,X,Q,i],rules:[{["conditions"]:lf,endpoint:O0,["type"]:"endpoint"},{endpoint:O0,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[z,J,Zf,X,Q,p],endpoint:O0,["type"]:"endpoint"},{["conditions"]:[z,J,c,X,x],endpoint:{["url"]:"https://{Bucket}.s3.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,J,c,X,Q,i],rules:[{["conditions"]:lf,endpoint:{["url"]:"https://{Bucket}.s3.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:M},["type"]:"endpoint"},{endpoint:F$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[z,J,c,X,Q,p],endpoint:F$,["type"]:"endpoint"}],["type"]:"tree"},eh],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[d,Uf,{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[r$,"scheme"]},"http"]},{["fn"]:"aws.isVirtualHostableS3Bucket",["argv"]:[Hf,!0]},K0,J,z,c],rules:[{["conditions"]:Cf,rules:[{["conditions"]:s$,rules:[w$],["type"]:"tree"},eh],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[K0,{["fn"]:"aws.parseArn",["argv"]:j8,["assign"]:"bucketArn"}],rules:[{["conditions"]:[{["fn"]:"getAttr",["argv"]:[Ef,"resourceId[0]"],["assign"]:"arnType"},{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[a$,""]}]}],rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[m0,"s3-object-lambda"]}],rules:[{["conditions"]:p0,rules:[{["conditions"]:C$,rules:[E$,N$,{["conditions"]:e0,rules:[G$,{["conditions"]:l$,rules:[s0,{["conditions"]:o0,rules:[{["conditions"]:Cf,rules:[{["conditions"]:b$,rules:[{["conditions"]:n0,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[p$,""]}],error:"Invalid ARN: Missing account id",["type"]:"error"},{["conditions"]:u0,rules:[{["conditions"]:c$,rules:[{["conditions"]:AR,endpoint:{["url"]:"{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}",["properties"]:C0,["headers"]:M},["type"]:"endpoint"},{["conditions"]:LR,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"},S$],["type"]:"tree"},l0],["type"]:"tree"},b0],["type"]:"tree"},c0],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},W$],["type"]:"tree"},{error:"Invalid ARN: bucket ARN is missing a region",["type"]:"error"}],["type"]:"tree"},Y$],["type"]:"tree"},{error:"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`",["type"]:"error"}],["type"]:"tree"},{["conditions"]:p0,rules:[{["conditions"]:C$,rules:[{["conditions"]:e0,rules:[{["conditions"]:p0,rules:[{["conditions"]:e0,rules:[G$,{["conditions"]:l$,rules:[s0,{["conditions"]:o0,rules:[{["conditions"]:Cf,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[i$,"{partitionResult#name}"]}],rules:[{["conditions"]:n0,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[m0,"s3"]}],rules:[{["conditions"]:u0,rules:[{["conditions"]:c$,rules:[{["conditions"]:oh,error:"Access Points do not support S3 Accelerate",["type"]:"error"},{["conditions"]:[m,O],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:oR,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[m,z],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:oR,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,O],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:oR,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,z,d,Uf],endpoint:{["url"]:"{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}",["properties"]:oR,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,z],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:oR,["headers"]:M},["type"]:"endpoint"}],["type"]:"tree"},S$],["type"]:"tree"},l0],["type"]:"tree"},{error:"Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}",["type"]:"error"}],["type"]:"tree"},b0],["type"]:"tree"},c0],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},W$],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[{["fn"]:"isValidHostLabel",["argv"]:[f3,!0]}],rules:[{["conditions"]:_0,error:"S3 MRAP does not support dual-stack",["type"]:"error"},{["conditions"]:LR,error:"S3 MRAP does not support FIPS",["type"]:"error"},{["conditions"]:oh,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"]:x0,["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"]:m8}]},["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"},Y$],["type"]:"tree"},{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[m0,"s3-outposts"]}],rules:[{["conditions"]:_0,error:"S3 Outposts does not support Dual-stack",["type"]:"error"},{["conditions"]:LR,error:"S3 Outposts does not support FIPS",["type"]:"error"},{["conditions"]:oh,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"]:s8,["assign"]:"outpostId"}],rules:[{["conditions"]:O$,rules:[s0,{["conditions"]:o0,rules:[{["conditions"]:Cf,rules:[{["conditions"]:b$,rules:[{["conditions"]:n0,rules:[{["conditions"]:u0,rules:[{["conditions"]:[{["fn"]:"getAttr",["argv"]:C8,["assign"]:"outpostType"}],rules:[{["conditions"]:[{["fn"]:"getAttr",["argv"]:[Ef,"resourceId[3]"],["assign"]:"accessPointName"}],rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[{["ref"]:"outpostType"},"accesspoint"]}],rules:[{["conditions"]:AR,endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}",["properties"]:D$,["headers"]:M},["type"]:"endpoint"},{endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:D$,["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"},l0],["type"]:"tree"},b0],["type"]:"tree"},c0],["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"]:[Hf,0,4,!1],["assign"]:"arnPrefix"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"arnPrefix"},"arn:"]},{["fn"]:"not",["argv"]:[{["fn"]:"isSet",["argv"]:[M$]}]}],error:"Invalid ARN: `{Bucket}` was not a valid ARN",["type"]:"error"},{["conditions"]:[{["fn"]:"booleanEquals",["argv"]:[K8,!0]},M$],error:"Path-style addressing cannot be used with ARN buckets",["type"]:"error"},{["conditions"]:a0,rules:[{["conditions"]:Cf,rules:[{["conditions"]:[c],rules:[{["conditions"]:[O,X,m,x],endpoint:{["url"]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[O,X,m,Q,i],rules:[{endpoint:V$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[O,X,m,Q,p],endpoint:V$,["type"]:"endpoint"},{["conditions"]:[z,X,m,x],endpoint:{["url"]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,X,m,Q,i],rules:[{endpoint:X$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[z,X,m,Q,p],endpoint:X$,["type"]:"endpoint"},{["conditions"]:[O,X,J,x],endpoint:{["url"]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[O,X,J,Q,i],rules:[{endpoint:Z$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[O,X,J,Q,p],endpoint:Z$,["type"]:"endpoint"},{["conditions"]:[z,d,Uf,J,x],endpoint:{["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,d,Uf,J,Q,i],rules:[{["conditions"]:lf,endpoint:d0,["type"]:"endpoint"},{endpoint:d0,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[z,d,Uf,J,Q,p],endpoint:d0,["type"]:"endpoint"},{["conditions"]:[z,X,J,x],endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[z,X,J,Q,i],rules:[{["conditions"]:lf,endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:k,["headers"]:M},["type"]:"endpoint"},{endpoint:J$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[z,X,J,Q,p],endpoint:J$,["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"]:[z$]},{["fn"]:"booleanEquals",["argv"]:[z$,!0]}],rules:[{["conditions"]:Cf,rules:[{["conditions"]:d$,rules:[E$,N$,{["conditions"]:AR,endpoint:{["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:k0,["headers"]:M},["type"]:"endpoint"},{["conditions"]:LR,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"},eh],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[h$],rules:[{["conditions"]:Cf,rules:[{["conditions"]:d$,rules:[{["conditions"]:[m,O,X,x],endpoint:{["url"]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[m,O,X,Q,i],rules:[{endpoint:L$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[m,O,X,Q,p],endpoint:L$,["type"]:"endpoint"},{["conditions"]:[m,z,X,x],endpoint:{["url"]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[m,z,X,Q,i],rules:[{endpoint:Q$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[m,z,X,Q,p],endpoint:Q$,["type"]:"endpoint"},{["conditions"]:[J,O,X,x],endpoint:{["url"]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,O,X,Q,i],rules:[{endpoint:q$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[J,O,X,Q,p],endpoint:q$,["type"]:"endpoint"},{["conditions"]:[J,z,d,Uf,x],endpoint:{["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,z,d,Uf,Q,i],rules:[{["conditions"]:lf,endpoint:r0,["type"]:"endpoint"},{endpoint:r0,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[J,z,d,Uf,Q,p],endpoint:r0,["type"]:"endpoint"},{["conditions"]:[J,z,X,x],endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}",["properties"]:a,["headers"]:M},["type"]:"endpoint"},{["conditions"]:[J,z,X,Q,i],rules:[{["conditions"]:lf,endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:M},["type"]:"endpoint"},{endpoint:g$,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[J,z,X,Q,p],endpoint:g$,["type"]:"endpoint"}],["type"]:"tree"},eh],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},{error:"A region must be set when sending requests to S3.",["type"]:"error"}]},e$=l8;var b8=new o$({size:50,params:["Accelerate","Bucket","DisableAccessPoints","DisableMultiRegionAccessPoints","DisableS3ExpressSessionAuth","Endpoint","ForcePathStyle","Region","UseArnRegion","UseDualStack","UseFIPS","UseGlobalEndpoint","UseObjectLambdaEndpoint","UseS3ExpressControlEndpoint"]}),fA=(f,R={})=>{return b8.get(f,()=>u$(e$,{endpointParams:f,logger:R.logger}))};n$.aws=t$;var c8=(f)=>async(R,h,A)=>{if(!A)throw new Error("Could not find \`input\` for \`defaultEndpointRuleSetHttpAuthSchemeParametersProvider\`");let I=await f(R,h,A),$=pR(h)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!$)throw new Error(`getEndpointParameterInstructions() is not defined on \`${h.commandName}\``);let P=await fP(A,{getEndpointParameterInstructions:$},R);return Object.assign(I,P)},d8=async(f,R,h)=>{return{operation:pR(R).operation,region:await _R(f.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}},RP=c8(d8);function hP(f){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"s3",region:f.region},propertiesExtractor:(R,h)=>({signingProperties:{config:R,context:h}})}}function AP(f){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"s3",region:f.region},propertiesExtractor:(R,h)=>({signingProperties:{config:R,context:h}})}}var k8=(f,R,h)=>{return(I)=>{let P=f(I).properties?.authSchemes;if(!P)return R(I);let U=[];for(let H of P){let{name:F,properties:N={},...W}=H,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=P.find((If)=>{let Kf=If.name.toLowerCase();return Kf!=="sigv4a"&&Kf.startsWith("sigv4")});if(!ih.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=h[S];if(!L)throw new Error(`Could not find HttpAuthOption create function for \`${S}\``);let K=L(I);K.schemeId=S,K.signingProperties={...K.signingProperties||{},...W,...N},U.push(K)}return U}},r8=(f)=>{let R=[];switch(f.operation){default:R.push(hP(f)),R.push(AP(f))}return R},IP=k8(fA,r8,{"aws.auth#sigv4":hP,"aws.auth#sigv4a":AP}),$P=(f)=>{let R=hA.resolveAwsSdkSigV4Config(f);return{...hA.resolveAwsSdkSigV4AConfig(R)}};var PP=(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"}},bf={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 wf extends UP{constructor(f){super(f);Object.setPrototypeOf(this,wf.prototype)}}class AA extends wf{constructor(f){super({name:"NoSuchUpload",$fault:"client",...f});this.name="NoSuchUpload",this.$fault="client",Object.setPrototypeOf(this,AA.prototype)}}class IA extends wf{constructor(f){super({name:"ObjectNotInActiveTierError",$fault:"client",...f});this.name="ObjectNotInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,IA.prototype)}}class $A extends wf{constructor(f){super({name:"BucketAlreadyExists",$fault:"client",...f});this.name="BucketAlreadyExists",this.$fault="client",Object.setPrototypeOf(this,$A.prototype)}}class PA extends wf{constructor(f){super({name:"BucketAlreadyOwnedByYou",$fault:"client",...f});this.name="BucketAlreadyOwnedByYou",this.$fault="client",Object.setPrototypeOf(this,PA.prototype)}}class UA extends wf{constructor(f){super({name:"NoSuchBucket",$fault:"client",...f});this.name="NoSuchBucket",this.$fault="client",Object.setPrototypeOf(this,UA.prototype)}}var R3;(function(f){f.visit=(R,h)=>{if(R.Prefix!==void 0)return h.Prefix(R.Prefix);if(R.Tag!==void 0)return h.Tag(R.Tag);if(R.And!==void 0)return h.And(R.And);return h._(R.$unknown[0],R.$unknown[1])}})(R3||(R3={}));var h3;(function(f){f.visit=(R,h)=>{if(R.Prefix!==void 0)return h.Prefix(R.Prefix);if(R.Tag!==void 0)return h.Tag(R.Tag);if(R.ObjectSizeGreaterThan!==void 0)return h.ObjectSizeGreaterThan(R.ObjectSizeGreaterThan);if(R.ObjectSizeLessThan!==void 0)return h.ObjectSizeLessThan(R.ObjectSizeLessThan);if(R.And!==void 0)return h.And(R.And);return h._(R.$unknown[0],R.$unknown[1])}})(h3||(h3={}));var A3;(function(f){f.visit=(R,h)=>{if(R.Prefix!==void 0)return h.Prefix(R.Prefix);if(R.Tag!==void 0)return h.Tag(R.Tag);if(R.AccessPointArn!==void 0)return h.AccessPointArn(R.AccessPointArn);if(R.And!==void 0)return h.And(R.And);return h._(R.$unknown[0],R.$unknown[1])}})(A3||(A3={}));var I3;(function(f){f.visit=(R,h)=>{if(R.Prefix!==void 0)return h.Prefix(R.Prefix);if(R.Tag!==void 0)return h.Tag(R.Tag);if(R.And!==void 0)return h.And(R.And);return h._(R.$unknown[0],R.$unknown[1])}})(I3||(I3={}));class HA extends wf{constructor(f){super({name:"InvalidObjectState",$fault:"client",...f});this.name="InvalidObjectState",this.$fault="client",Object.setPrototypeOf(this,HA.prototype),this.StorageClass=f.StorageClass,this.AccessTier=f.AccessTier}}class wA extends wf{constructor(f){super({name:"NoSuchKey",$fault:"client",...f});this.name="NoSuchKey",this.$fault="client",Object.setPrototypeOf(this,wA.prototype)}}class FA extends wf{constructor(f){super({name:"NotFound",$fault:"client",...f});this.name="NotFound",this.$fault="client",Object.setPrototypeOf(this,FA.prototype)}}var x8=(f)=>({...f,...f.SecretAccessKey&&{SecretAccessKey:Ff},...f.SessionToken&&{SessionToken:Ff}}),HP=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:Ff},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ff},...f.Credentials&&{Credentials:x8(f.Credentials)}}),wP=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:Ff},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ff}});var FP=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:Ff}}),EP=(f)=>({...f,...f.SSECustomerKey&&{SSECustomerKey:Ff}});var UR=_(RA(),1);var hh=_(q0(),1);class EA extends wf{constructor(f){super({name:"ObjectAlreadyInActiveTierError",$fault:"client",...f});this.name="ObjectAlreadyInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,EA.prototype)}}var NP;(function(f){f.visit=(R,h)=>{if(R.Records!==void 0)return h.Records(R.Records);if(R.Stats!==void 0)return h.Stats(R.Stats);if(R.Progress!==void 0)return h.Progress(R.Progress);if(R.Cont!==void 0)return h.Cont(R.Cont);if(R.End!==void 0)return h.End(R.End);return h._(R.$unknown[0],R.$unknown[1])}})(NP||(NP={}));var GP=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:Ff},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ff}}),SP=(f)=>({...f,...f.SSECustomerKey&&{SSECustomerKey:Ff},...f.SSEKMSKeyId&&{SSEKMSKeyId:Ff},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Ff}});var qP=async(f,R)=>{let h=hh.requestBuilder(f,R),A=l({},Mf,{[EN]:f[mE],[$h]:f[Ah],[Ph]:f[Ih],[QA]:f[LA],[df]:[()=>Mf(f[PR]),()=>f[PR].toString()]});h.bp("/"),h.p("Bucket",()=>f.Bucket,"{Bucket}",!1);let I=l({[PN]:[,""]}),$;return h.m("GET").h(A).q(I).b($),h.build()};var gP=async(f,R)=>{let h=hh.requestBuilder(f,R),A=l({},Mf,{[aE]:f[JE],[iE]:[()=>Mf(f[WP]),()=>uR(f[WP]).toString()],[oP]:f[bP],[pE]:[()=>Mf(f[YP]),()=>uR(f[YP]).toString()],[tE]:f[qE],[qA]:f[JA],[RU]:f[kP],[gA]:f[zA],[x3]:f[s3],[k3]:f[O3],[FN]:f[NE]});h.bp("/{Key+}"),h.p("Bucket",()=>f.Bucket,"{Bucket}",!1),h.p("Key",()=>f.Key,"{Key+}",!0);let I=l({[IU]:[,"GetObject"],[fN]:[,f[gE]],[RN]:[,f[yE]],[hN]:[,f[BE]],[AN]:[,f[TE]],[IN]:[,f[KE]],[$N]:[()=>f.ResponseExpires!==void 0,()=>uR(f[vE]).toString()],[HN]:[,f[C3]],[nE]:[()=>f.PartNumber!==void 0,()=>f[QE].toString()]}),$;return h.m("GET").h(A).q(I).b($),h.build()};var yP=async(f,R)=>{let h=hh.requestBuilder(f,R),A=l({},Mf,{[x3]:f[s3],[k3]:f[O3],[YN]:[()=>Mf(f[DP]),()=>(f[DP]||[]).map((P)=>P).join(", ")]});h.bp("/"),h.p("Bucket",()=>f.Bucket,"{Bucket}",!1);let I=l({[eE]:[,"2"],[kE]:[,f[WA]],[rE]:[,f[YA]],[oE]:[()=>f.MaxKeys!==void 0,()=>f[MA].toString()],[uE]:[,f[IR]],[dE]:[,f[SA]],[_E]:[()=>f.FetchOwner!==void 0,()=>f[DE].toString()],[UN]:[,f[VA]]}),$;return h.m("GET").h(A).q(I).b($),h.build()};var BP=async(f,R)=>{let h=hh.requestBuilder(f,R),A=l({},Mf,{[pP]:f[lP]||"application/octet-stream",[wN]:f[FE],[xP]:f[OP],[_P]:f[mP],[aP]:f[sP],[iP]:f[CP],[Q3]:[()=>Mf(f[J3]),()=>f[J3].toString()],[bE]:f[GE],[VN]:f[nR],[l3]:f[T3],[b3]:f[K3],[c3]:f[v3],[d3]:f[j3],[q3]:[()=>Mf(f[z3]),()=>uR(f[z3]).toString()],[oP]:f[bP],[NN]:f[ME],[GN]:f[VE],[SN]:f[XE],[WN]:f[ZE],[$h]:f[Ah],[fU]:f[cf],[AU]:f[rP],[qA]:f[JA],[RU]:f[kP],[gA]:f[zA],[Ph]:f[Ih],[QA]:f[LA],[df]:[()=>Mf(f[PR]),()=>f[PR].toString()],[x3]:f[s3],[XN]:f[sE],[tP]:f[dP],[g3]:[()=>Mf(f[L3]),()=>QP(f[L3]).toString()],[uP]:f[cP],[k3]:f[O3],...f.Metadata!==void 0&&Object.keys(f.Metadata).reduce((U,H)=>{return U[`x-amz-meta-${H.toLowerCase()}`]=f.Metadata[H],U},{})});h.bp("/{Key+}"),h.p("Bucket",()=>f.Bucket,"{Bucket}",!1),h.p("Key",()=>f.Key,"{Key+}",!0);let I=l({[IU]:[,"PutObject"]}),$,P;if(f.Body!==void 0)P=f.Body,$=P;return h.m("PUT").h(A).q(I).b($),h.build()};var TP=async(f,R)=>{if(f.statusCode!==200&&f.statusCode>=300)return ZA(f,R);let h=l({$metadata:Wf(f),[Ah]:[,f.headers[$h]],[Ih]:[,f.headers[Ph]],[LA]:[,f.headers[QA]],[PR]:[()=>f.headers[df]!==void 0,()=>$R(f.headers[df])]}),A=jf(y3(await UR.parseXmlBody(f.body,R)),"body");if(A[U3]!=null)h[U3]=wE(A[U3],R);return h};var KP=async(f,R)=>{if(f.statusCode!==200&&f.statusCode>=300)return ZA(f,R);let h=l({$metadata:Wf(f),[WE]:[()=>f.headers[VP]!==void 0,()=>$R(f.headers[VP])],[EE]:[,f.headers[lE]],[fh]:[,f.headers[nP]],[OE]:[,f.headers[DN]],[DA]:[()=>f.headers[MP]!==void 0,()=>jf(aR(f.headers[MP]))],[J3]:[()=>f.headers[Q3]!==void 0,()=>B3(f.headers[Q3])],[tR]:[,f.headers[eP]],[T3]:[,f.headers[l3]],[K3]:[,f.headers[b3]],[v3]:[,f.headers[c3]],[j3]:[,f.headers[d3]],[zE]:[()=>f.headers[XP]!==void 0,()=>QR(f.headers[XP])],[C3]:[,f.headers[hU]],[OP]:[,f.headers[xP]],[mP]:[,f.headers[_P]],[sP]:[,f.headers[aP]],[CP]:[,f.headers[iP]],[SE]:[,f.headers[cE]],[lP]:[,f.headers[pP]],[z3]:[()=>f.headers[q3]!==void 0,()=>jf(aR(f.headers[q3]))],[YE]:[,f.headers[xE]],[rP]:[,f.headers[AU]],[Ah]:[,f.headers[$h]],[JA]:[,f.headers[qA]],[zA]:[,f.headers[gA]],[Ih]:[,f.headers[Ph]],[PR]:[()=>f.headers[df]!==void 0,()=>$R(f.headers[df])],[cf]:[,f.headers[fU]],[m3]:[,f.headers[r3]],[jE]:[,f.headers[MN]],[LE]:[()=>f.headers[ZP]!==void 0,()=>QR(f.headers[ZP])],[CE]:[()=>f.headers[JP]!==void 0,()=>QR(f.headers[JP])],[dP]:[,f.headers[tP]],[L3]:[()=>f.headers[g3]!==void 0,()=>jf(Rh(f.headers[g3]))],[cP]:[,f.headers[uP]],Metadata:[,Object.keys(f.headers).filter((I)=>I.startsWith("x-amz-meta-")).reduce((I,$)=>{return I[$.substring(11)]=f.headers[$],I},{})]}),A=f.body;return R.sdkStreamMixin(A),h.Body=A,h};var vP=async(f,R)=>{if(f.statusCode!==200&&f.statusCode>=300)return ZA(f,R);let h=l({$metadata:Wf(f),[m3]:[,f.headers[r3]]}),A=jf(y3(await UR.parseXmlBody(f.body,R)),"body");if(A.CommonPrefixes==="")h[NA]=[];else if(A[NA]!=null)h[NA]=IE(XA(A[NA]),R);if(A.Contents==="")h[GA]=[];else if(A[GA]!=null)h[GA]=PE(XA(A[GA]),R);if(A[SA]!=null)h[SA]=r(A[SA]);if(A[WA]!=null)h[WA]=r(A[WA]);if(A[YA]!=null)h[YA]=r(A[YA]);if(A[E3]!=null)h[E3]=$R(A[E3]);if(A[G3]!=null)h[G3]=QR(A[G3]);if(A[MA]!=null)h[MA]=QR(A[MA]);if(A[S3]!=null)h[S3]=r(A[S3]);if(A[W3]!=null)h[W3]=r(A[W3]);if(A[IR]!=null)h[IR]=r(A[IR]);if(A[VA]!=null)h[VA]=r(A[VA]);return h};var jP=async(f,R)=>{if(f.statusCode!==200&&f.statusCode>=300)return ZA(f,R);let h=l({$metadata:Wf(f),[fh]:[,f.headers[nP]],[tR]:[,f.headers[eP]],[T3]:[,f.headers[l3]],[K3]:[,f.headers[b3]],[v3]:[,f.headers[c3]],[j3]:[,f.headers[d3]],[Ah]:[,f.headers[$h]],[C3]:[,f.headers[hU]],[JA]:[,f.headers[qA]],[zA]:[,f.headers[gA]],[Ih]:[,f.headers[Ph]],[LA]:[,f.headers[QA]],[PR]:[()=>f.headers[df]!==void 0,()=>$R(f.headers[df])],[m3]:[,f.headers[r3]]});return await zP(f.body,R),h};var ZA=async(f,R)=>{let h={...f,body:await UR.parseXmlErrorBody(f.body,R)},A=UR.loadRestXmlErrorCode(f,h.body);switch(A){case"NoSuchUpload":case"com.amazonaws.s3#NoSuchUpload":throw await u8(h,R);case"ObjectNotInActiveTierError":case"com.amazonaws.s3#ObjectNotInActiveTierError":throw await RE(h,R);case"BucketAlreadyExists":case"com.amazonaws.s3#BucketAlreadyExists":throw await i8(h,R);case"BucketAlreadyOwnedByYou":case"com.amazonaws.s3#BucketAlreadyOwnedByYou":throw await p8(h,R);case"NoSuchBucket":case"com.amazonaws.s3#NoSuchBucket":throw await o8(h,R);case"InvalidObjectState":case"com.amazonaws.s3#InvalidObjectState":throw await e8(h,R);case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await n8(h,R);case"NotFound":case"com.amazonaws.s3#NotFound":throw await t8(h,R);case"ObjectAlreadyInActiveTierError":case"com.amazonaws.s3#ObjectAlreadyInActiveTierError":throw await fE(h,R);default:let I=h.body;return a8({output:f,parsedBody:I,errorCode:A})}},a8=LP(wf),i8=async(f,R)=>{let h=l({}),A=f.body,I=new $A({$metadata:Wf(f),...h});return gf(I,f.body)},p8=async(f,R)=>{let h=l({}),A=f.body,I=new PA({$metadata:Wf(f),...h});return gf(I,f.body)},e8=async(f,R)=>{let h=l({}),A=f.body;if(A[P3]!=null)h[P3]=r(A[P3]);if(A[cf]!=null)h[cf]=r(A[cf]);let I=new HA({$metadata:Wf(f),...h});return gf(I,f.body)},o8=async(f,R)=>{let h=l({}),A=f.body,I=new UA({$metadata:Wf(f),...h});return gf(I,f.body)},n8=async(f,R)=>{let h=l({}),A=f.body,I=new wA({$metadata:Wf(f),...h});return gf(I,f.body)},u8=async(f,R)=>{let h=l({}),A=f.body,I=new AA({$metadata:Wf(f),...h});return gf(I,f.body)},t8=async(f,R)=>{let h=l({}),A=f.body,I=new FA({$metadata:Wf(f),...h});return gf(I,f.body)},fE=async(f,R)=>{let h=l({}),A=f.body,I=new EA({$metadata:Wf(f),...h});return gf(I,f.body)},RE=async(f,R)=>{let h=l({}),A=f.body,I=new IA({$metadata:Wf(f),...h});return gf(I,f.body)};var hE=(f,R)=>{return(f||[]).filter((h)=>h!=null).map((h)=>{return r(h)})},AE=(f,R)=>{let h={};if(f[IR]!=null)h[IR]=r(f[IR]);return h},IE=(f,R)=>{return(f||[]).filter((h)=>h!=null).map((h)=>{return AE(h,R)})};var $E=(f,R)=>{let h={};if(f[N3]!=null)h[N3]=r(f[N3]);if(f[DA]!=null)h[DA]=jf(Rh(f[DA]));if(f[tR]!=null)h[tR]=r(f[tR]);if(f.ChecksumAlgorithm==="")h[nR]=[];else if(f[nR]!=null)h[nR]=hE(XA(f[nR]),R);if(f[Z3]!=null)h[Z3]=B3(f[Z3]);if(f[cf]!=null)h[cf]=r(f[cf]);if(f[Y3]!=null)h[Y3]=UE(f[Y3],R);if(f[M3]!=null)h[M3]=HE(f[M3],R);return h},PE=(f,R)=>{return(f||[]).filter((h)=>h!=null).map((h)=>{return $E(h,R)})};var UE=(f,R)=>{let h={};if(f[H3]!=null)h[H3]=r(f[H3]);if(f[w3]!=null)h[w3]=r(f[w3]);return h};var HE=(f,R)=>{let h={};if(f[F3]!=null)h[F3]=$R(f[F3]);if(f[D3]!=null)h[D3]=jf(Rh(f[D3]));return h};var wE=(f,R)=>{let h={};if(f[$3]!=null)h[$3]=r(f[$3]);if(f[V3]!=null)h[V3]=r(f[V3]);if(f[X3]!=null)h[X3]=r(f[X3]);if(f[fh]!=null)h[fh]=jf(Rh(f[fh]));return h};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 FE="ACL";var $3="AccessKeyId";var EE="AcceptRanges";var P3="AccessTier";var PR="BucketKeyEnabled";var U3="Credentials",nR="ChecksumAlgorithm";var OP="CacheControl",T3="ChecksumCRC32",K3="ChecksumCRC32C",mP="ContentDisposition";var sP="ContentEncoding";var CP="ContentLanguage",J3="ContentLength",NE="ChecksumMode",GE="ContentMD5";var NA="CommonPrefixes";var SE="ContentRange";var v3="ChecksumSHA1",j3="ChecksumSHA256";var lP="ContentType",SA="ContinuationToken";var GA="Contents";var WA="Delimiter";var WE="DeleteMarker";var H3="DisplayName";var z3="Expires";var O3="ExpectedBucketOwner";var YE="ExpiresString";var YA="EncodingType",tR="ETag";var fh="Expiration";var DE="FetchOwner";var ME="GrantFullControl";var VE="GrantRead",XE="GrantReadACP";var ZE="GrantWriteACP";var w3="ID";var JE="IfMatch",WP="IfModifiedSince",bP="IfNoneMatch";var F3="IsRestoreInProgress";var E3="IsTruncated";var YP="IfUnmodifiedSince";var N3="Key",G3="KeyCount";var DA="LastModified";var MA="MaxKeys";var zE="MissingMeta";var S3="Name";var W3="NextContinuationToken";var Y3="Owner";var cP="ObjectLockLegalHoldStatus",dP="ObjectLockMode";var L3="ObjectLockRetainUntilDate";var DP="OptionalObjectAttributes";var IR="Prefix";var LE="PartsCount";var QE="PartNumber";var qE="Range";var m3="RequestCharged",gE="ResponseCacheControl",yE="ResponseContentDisposition",BE="ResponseContentEncoding",TE="ResponseContentLanguage",KE="ResponseContentType";var vE="ResponseExpires",D3="RestoreExpiryDate";var s3="RequestPayer";var jE="ReplicationStatus",M3="RestoreStatus";var OE="Restore";var VA="StartAfter",V3="SecretAccessKey";var cf="StorageClass";var mE="SessionMode";var Ah="ServerSideEncryption";var JA="SSECustomerAlgorithm",kP="SSECustomerKey",zA="SSECustomerKeyMD5";var LA="SSEKMSEncryptionContext",Ih="SSEKMSKeyId";var X3="SessionToken";var Z3="Size";var sE="Tagging";var CE="TagCount";var C3="VersionId";var rP="WebsiteRedirectLocation";var lE="accept-ranges";var xP="cache-control",_P="content-disposition",aP="content-encoding",iP="content-language",Q3="content-length",bE="content-md5",cE="content-range",pP="content-type",dE="continuation-token";var kE="delimiter",q3="expires";var rE="encoding-type",eP="etag",xE="expiresstring",_E="fetch-owner";var aE="if-match",iE="if-modified-since";var oP="if-none-match";var pE="if-unmodified-since";var MP="last-modified";var eE="list-type";var oE="max-keys";var nE="partNumber";var uE="prefix";var tE="range",fN="response-cache-control",RN="response-content-disposition",hN="response-content-encoding",AN="response-content-language",IN="response-content-type",$N="response-expires";var PN="session",UN="start-after";var HN="versionId";var wN="x-amz-acl";var l3="x-amz-checksum-crc32",b3="x-amz-checksum-crc32c",FN="x-amz-checksum-mode";var c3="x-amz-checksum-sha1",d3="x-amz-checksum-sha256";var EN="x-amz-create-session-mode";var VP="x-amz-delete-marker",nP="x-amz-expiration",k3="x-amz-expected-bucket-owner";var NN="x-amz-grant-full-control",GN="x-amz-grant-read",SN="x-amz-grant-read-acp";var WN="x-amz-grant-write-acp";var XP="x-amz-missing-meta";var ZP="x-amz-mp-parts-count";var uP="x-amz-object-lock-legal-hold",tP="x-amz-object-lock-mode",g3="x-amz-object-lock-retain-until-date";var YN="x-amz-optional-object-attributes";var DN="x-amz-restore",r3="x-amz-request-charged";var x3="x-amz-request-payer";var MN="x-amz-replication-status";var fU="x-amz-storage-class",VN="x-amz-sdk-checksum-algorithm";var $h="x-amz-server-side-encryption",Ph="x-amz-server-side-encryption-aws-kms-key-id",df="x-amz-server-side-encryption-bucket-key-enabled",QA="x-amz-server-side-encryption-context",qA="x-amz-server-side-encryption-customer-algorithm",RU="x-amz-server-side-encryption-customer-key",gA="x-amz-server-side-encryption-customer-key-md5",XN="x-amz-tagging",JP="x-amz-tagging-count";var hU="x-amz-version-id",AU="x-amz-website-redirect-location",IU="x-id";class _3 extends kf.classBuilder().ep({...bf,DisableS3ExpressSessionAuth:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(f,R,h,A){return[rf(h,this.serialize,this.deserialize),xf(h,f.getEndpointParameterInstructions()),ZR(h)]}).s("AmazonS3","CreateSession",{}).n("S3Client","CreateSessionCommand").f(wP,HP).ser(qP).de(TP).build(){}var $U={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 jA=_(RA(),1);var JN="AWS_S3_USE_ARN_REGION",zN="s3_use_arn_region",PU={environmentVariableSelector:(f)=>RR(f,JN,hR.ENV),configFileSelector:(f)=>RR(f,zN,hR.CONFIG),default:!1};var _f=_(HU(),1);var wU=_(HU(),1);class qR{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 R=new Uint8Array(8);for(let h=7,A=Math.abs(Math.round(f));h>-1&&A>0;h--,A/=256)R[h]=A;if(f<0)UU(R);return new qR(R)}valueOf(){let f=this.bytes.slice(0),R=f[0]&128;if(R)UU(f);return parseInt(wU.toHex(f),16)*(R?-1:1)}toString(){return String(this.valueOf())}}function UU(f){for(let R=0;R<8;R++)f[R]^=255;for(let R=7;R>-1;R--)if(f[R]++,f[R]!==0)break}class a3{constructor(f,R){this.toUtf8=f,this.fromUtf8=R}format(f){let R=[];for(let I of Object.keys(f)){let $=this.fromUtf8(I);R.push(Uint8Array.from([$.byteLength]),$,this.formatHeaderValue(f[I]))}let h=new Uint8Array(R.reduce((I,$)=>I+$.byteLength,0)),A=0;for(let I of R)h.set(I,A),A+=I.byteLength;return h}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 R=new DataView(new ArrayBuffer(3));return R.setUint8(0,3),R.setInt16(1,f.value,!1),new Uint8Array(R.buffer);case"integer":let h=new DataView(new ArrayBuffer(5));return h.setUint8(0,4),h.setInt32(1,f.value,!1),new Uint8Array(h.buffer);case"long":let A=new Uint8Array(9);return A[0]=5,A.set(f.value.bytes,1),A;case"binary":let I=new DataView(new ArrayBuffer(3+f.value.byteLength));I.setUint8(0,6),I.setUint16(1,f.value.byteLength,!1);let $=new Uint8Array(I.buffer);return $.set(f.value,3),$;case"string":let P=this.fromUtf8(f.value),U=new DataView(new ArrayBuffer(3+P.byteLength));U.setUint8(0,7),U.setUint16(1,P.byteLength,!1);let H=new Uint8Array(U.buffer);return H.set(P,3),H;case"timestamp":let F=new Uint8Array(9);return F[0]=8,F.set(qR.fromNumber(f.value.valueOf()).bytes,1),F;case"uuid":if(!dN.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 R={},h=0;while(h<f.byteLength){let A=f.getUint8(h++),I=this.toUtf8(new Uint8Array(f.buffer,f.byteOffset+h,A));switch(h+=A,f.getUint8(h++)){case 0:R[I]={type:EU,value:!0};break;case 1:R[I]={type:EU,value:!1};break;case 2:R[I]={type:jN,value:f.getInt8(h++)};break;case 3:R[I]={type:ON,value:f.getInt16(h,!1)},h+=2;break;case 4:R[I]={type:mN,value:f.getInt32(h,!1)},h+=4;break;case 5:R[I]={type:sN,value:new qR(new Uint8Array(f.buffer,f.byteOffset+h,8))},h+=8;break;case 6:let $=f.getUint16(h,!1);h+=2,R[I]={type:CN,value:new Uint8Array(f.buffer,f.byteOffset+h,$)},h+=$;break;case 7:let P=f.getUint16(h,!1);h+=2,R[I]={type:lN,value:this.toUtf8(new Uint8Array(f.buffer,f.byteOffset+h,P))},h+=P;break;case 8:R[I]={type:bN,value:new Date(new qR(new Uint8Array(f.buffer,f.byteOffset+h,8)).valueOf())},h+=8;break;case 9:let U=new Uint8Array(f.buffer,f.byteOffset+h,16);h+=16,R[I]={type:cN,value:`${_f.toHex(U.subarray(0,4))}-${_f.toHex(U.subarray(4,6))}-${_f.toHex(U.subarray(6,8))}-${_f.toHex(U.subarray(8,10))}-${_f.toHex(U.subarray(10))}`};break;default:throw new Error("Unrecognized header type tag")}}return R}}var FU;(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"})(FU||(FU={}));var EU="boolean",jN="byte",ON="short",mN="integer",sN="long",CN="binary",lN="string",bN="timestamp",cN="uuid",dN=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;var NU=4,af=NU*2,HR=4,kN=af+HR*2;function GU({byteLength:f,byteOffset:R,buffer:h}){if(f<kN)throw new Error("Provided message too short to accommodate event stream message overhead");let A=new DataView(h,R,f),I=A.getUint32(0,!1);if(f!==I)throw new Error("Reported message length does not match received message length");let $=A.getUint32(NU,!1),P=A.getUint32(af,!1),U=A.getUint32(f-HR,!1),H=new fR().update(new Uint8Array(h,R,af));if(P!==H.digest())throw new Error(`The prelude checksum specified in the message (${P}) does not match the calculated CRC32 checksum (${H.digest()})`);if(H.update(new Uint8Array(h,R+af,f-(af+HR))),U!==H.digest())throw new Error(`The message checksum (${H.digest()}) did not match the expected value of ${U}`);return{headers:new DataView(h,R+af+HR,$),body:new Uint8Array(h,R+af+HR+$,I-$-(af+HR+HR))}}class i3{constructor(f,R){this.headerMarshaller=new a3(f,R),this.messageBuffer=[],this.isEndOfStream=!1}feed(f){this.messageBuffer.push(this.decode(f))}endOfStream(){this.isEndOfStream=!0}getMessage(){let f=this.messageBuffer.pop(),R=this.isEndOfStream;return{getMessage(){return f},isEndOfStream(){return R}}}getAvailableMessages(){let f=this.messageBuffer;this.messageBuffer=[];let R=this.isEndOfStream;return{getMessages(){return f},isEndOfStream(){return R}}}encode({headers:f,body:R}){let h=this.headerMarshaller.format(f),A=h.byteLength+R.byteLength+16,I=new Uint8Array(A),$=new DataView(I.buffer,I.byteOffset,I.byteLength),P=new fR;return $.setUint32(0,A,!1),$.setUint32(4,h.byteLength,!1),$.setUint32(8,P.update(I.subarray(0,8)).digest(),!1),I.set(h,12),I.set(R,h.byteLength+12),$.setUint32(A-4,P.update(I.subarray(8,A-4)).digest(),!1),I}decode(f){let{headers:R,body:h}=GU(f);return{headers:this.headerMarshaller.parse(R),body:h}}formatHeaders(f){return this.headerMarshaller.format(f)}}class p3{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 e3{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 o3{constructor(f){this.options=f}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let f of this.options.messageStream){let R=await this.options.deserializer(f);if(R===void 0)continue;yield R}}}class n3{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 SU(f){let R=0,h=0,A=null,I=null,$=(U)=>{if(typeof U!=="number")throw new Error("Attempted to allocate an event message where size was not a number: "+U);R=U,h=4,A=new Uint8Array(U),new DataView(A.buffer).setUint32(0,U,!1)},P=async function*(){let U=f[Symbol.asyncIterator]();while(!0){let{value:H,done:F}=await U.next();if(F){if(!R)return;else if(R===h)yield A;else throw new Error("Truncated event message received.");return}let N=H.length,W=0;while(W<N){if(!A){let S=N-W;if(!I)I=new Uint8Array(4);let L=Math.min(4-h,S);if(I.set(H.slice(W,W+L),h),h+=L,W+=L,h<4)break;$(new DataView(I.buffer).getUint32(0,!1)),I=null}let V=Math.min(R-h,N-W);if(A.set(H.slice(W,W+V),h),h+=V,W+=V,R&&R===h)yield A,A=null,R=0,h=0}}};return{[Symbol.asyncIterator]:P}}function WU(f,R){return async function(h){let{value:A}=h.headers[":message-type"];if(A==="error"){let I=new Error(h.headers[":error-message"].value||"UnknownError");throw I.name=h.headers[":error-code"].value,I}else if(A==="exception"){let I=h.headers[":exception-type"].value,$={[I]:h},P=await f($);if(P.$unknown){let U=new Error(R(h.body));throw U.name=I,U}throw P[I]}else if(A==="event"){let I={[h.headers[":event-type"].value]:h},$=await f(I);if($.$unknown)return;return $}else throw Error(`Unrecognizable event type: ${h.headers[":event-type"].value}`)}}class yA{constructor({utf8Encoder:f,utf8Decoder:R}){this.eventStreamCodec=new i3(f,R),this.utfEncoder=f}deserialize(f,R){let h=SU(f);return new o3({messageStream:new p3({inputStream:h,decoder:this.eventStreamCodec}),deserializer:WU(R,this.utfEncoder)})}serialize(f,R){return new e3({messageStream:new n3({inputStream:f,serializer:R}),encoder:this.eventStreamCodec,includeEndFrame:!0})}}import{Readable as rN}from"stream";async function*YU(f){let R=!1,h=!1,A=new Array;f.on("error",(I)=>{if(!R)R=!0;if(I)throw I}),f.on("data",(I)=>{A.push(I)}),f.on("end",()=>{R=!0});while(!h){let I=await new Promise(($)=>setTimeout(()=>$(A.shift()),0));if(I)yield I;h=R&&A.length===0}}class u3{constructor({utf8Encoder:f,utf8Decoder:R}){this.universalMarshaller=new yA({utf8Decoder:R,utf8Encoder:f})}deserialize(f,R){let h=typeof f[Symbol.asyncIterator]==="function"?f:YU(f);return this.universalMarshaller.deserialize(h,R)}serialize(f,R){return rN.from(this.universalMarshaller.serialize(f,R))}}var DU=(f)=>new u3(f);import{Writable as xN}from"stream";class BA extends xN{constructor(f,R){super(R);this.hash=f}_write(f,R,h){try{this.hash.update(lh(f))}catch(A){return h(A)}h()}}var MU=(f,R)=>{if(R.readableFlowing!==null)throw new Error("Unable to calculate hash for flowing readable stream");let h=new f,A=new BA(h);return R.pipe(A),new Promise((I,$)=>{R.on("error",(P)=>{A.end(),$(P)}),A.on("error",$),A.on("finish",()=>{h.digest().then(I).catch($)})})};var TA=_(RA(),1);var zU=_(_N(),1);var KA=_(iI(),1);var LU=(f)=>{return{apiVersion:"2006-03-01",base64Decoder:f?.base64Decoder??ZU,base64Encoder:f?.base64Encoder??JU,disableHostPrefix:f?.disableHostPrefix??!1,endpointProvider:f?.endpointProvider??fA,extensions:f?.extensions??[],getAwsChunkedEncodingStream:f?.getAwsChunkedEncodingStream??KA.getAwsChunkedEncodingStream,httpAuthSchemeProvider:f?.httpAuthSchemeProvider??IP,httpAuthSchemes:f?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(R)=>R.getIdentityProvider("aws.auth#sigv4"),signer:new TA.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(R)=>R.getIdentityProvider("aws.auth#sigv4a"),signer:new TA.AwsSdkSigV4ASigner}],logger:f?.logger??new kh,sdkStreamMixin:f?.sdkStreamMixin??KA.sdkStreamMixin,serviceId:f?.serviceId??"S3",signerConstructor:f?.signerConstructor??B0,signingEscapePath:f?.signingEscapePath??!1,urlParser:f?.urlParser??zU.parseUrl,useArnRegion:f?.useArnRegion??!1,utf8Decoder:f?.utf8Decoder??VU,utf8Encoder:f?.utf8Encoder??XU}};var cU=(f)=>{qU(process.version);let R=lU(f),h=()=>R().then(QU),A=LU(f);return jA.emitWarningIfUnsupportedVersion(process.version),{...A,...f,runtime:"node",defaultsMode:R,bodyLengthChecker:f?.bodyLengthChecker??CU,credentialDefaultProvider:f?.credentialDefaultProvider??bU,defaultUserAgentProvider:f?.defaultUserAgentProvider??sU({serviceId:A.serviceId,clientVersion:$U.version}),disableS3ExpressSessionAuth:f?.disableS3ExpressSessionAuth??Jf(L0),eventStreamSerdeProvider:f?.eventStreamSerdeProvider??DU,maxAttempts:f?.maxAttempts??Jf(vU),md5:f?.md5??vA.bind(null,"md5"),region:f?.region??Jf(BU,TU),requestChecksumCalculation:f?.requestChecksumCalculation??Jf(GI),requestHandler:OU.create(f?.requestHandler??h),responseChecksumValidation:f?.responseChecksumValidation??Jf(SI),retryMode:f?.retryMode??Jf({...jU,default:async()=>(await h()).retryMode||KU}),sha1:f?.sha1??vA.bind(null,"sha1"),sha256:f?.sha256??vA.bind(null,"sha256"),sigv4aSigningRegionSet:f?.sigv4aSigningRegionSet??Jf(jA.NODE_SIGV4A_CONFIG_OPTIONS),streamCollector:f?.streamCollector??mU,streamHasher:f?.streamHasher??MU,useArnRegion:f?.useArnRegion??Jf(PU),useDualstackEndpoint:f?.useDualstackEndpoint??Jf(gU),useFipsEndpoint:f?.useFipsEndpoint??Jf(yU)}};var dU=(f)=>{let{httpAuthSchemes:R,httpAuthSchemeProvider:h,credentials:A}=f;return{setHttpAuthScheme(I){let $=R.findIndex((P)=>P.schemeId===I.schemeId);if($===-1)R.push(I);else R.splice($,1,I)},httpAuthSchemes(){return R},setHttpAuthSchemeProvider(I){h=I},httpAuthSchemeProvider(){return h},setCredentials(I){A=I},credentials(){return A}}},kU=(f)=>{return{httpAuthSchemes:f.httpAuthSchemes(),httpAuthSchemeProvider:f.httpAuthSchemeProvider(),credentials:f.credentials()}};var OA=(f)=>f,eU=(f,R)=>{let h={...OA(iU(f)),...OA(_U(f)),...OA(rU(f)),...OA(dU(f))};return R.forEach((A)=>A.configure(h)),{...f,...pU(h),...aU(h),...xU(h),...kU(h)}};class t3 extends fH{constructor(...[f]){let R=cU(f||{}),h=PP(R),A=RH(h),I=BI(A),$=PH(I),P=AH($),U=oU(P),H=$H(U),F=nI(H),N=$P(F),W=aI(N,{session:[()=>this,_3]}),V=eU(W,f?.extensions||[]);super(V);this.config=V,this.middlewareStack.use(hH(this.config)),this.middlewareStack.use(UH(this.config)),this.middlewareStack.use(IH(this.config)),this.middlewareStack.use(nU(this.config)),this.middlewareStack.use(uU(this.config)),this.middlewareStack.use(tU(this.config)),this.middlewareStack.use(gR.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:RP,identityProviderConfigProvider:async(S)=>new gR.DefaultIdentityProviderConfig({"aws.auth#sigv4":S.credentials,"aws.auth#sigv4a":S.credentials})})),this.middlewareStack.use(gR.getHttpSigningPlugin(this.config)),this.middlewareStack.use(oI(this.config)),this.middlewareStack.use(wI(this.config)),this.middlewareStack.use(jI(this.config)),this.middlewareStack.use(Q0(this.config)),this.middlewareStack.use(g0(this.config))}destroy(){super.destroy()}}function aN(f){return(R)=>async(h)=>{let A={...h.input},I=[{target:"SSECustomerKey",hash:"SSECustomerKeyMD5"},{target:"CopySourceSSECustomerKey",hash:"CopySourceSSECustomerKeyMD5"}];for(let $ of I){let P=A[$.target];if(P){let U;if(typeof P==="string")if(pN(P,f))U=f.base64Decoder(P);else U=f.utf8Decoder(P),A[$.target]=f.base64Encoder(U);else U=ArrayBuffer.isView(P)?new Uint8Array(P.buffer,P.byteOffset,P.byteLength):new Uint8Array(P),A[$.target]=f.base64Encoder(U);let H=new f.md5;H.update(U),A[$.hash]=f.base64Encoder(await H.digest())}}return R({...h,input:A})}}var iN={name:"ssecMiddleware",step:"initialize",tags:["SSE"],override:!0},mA=(f)=>({applyToStack:(R)=>{R.add(aN(f),iN)}});function pN(f,R){if(!/^(?:[A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(f))return!1;try{return R.base64Decoder(f).length===32}catch{return!1}}class f1 extends kf.classBuilder().ep({...bf,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(f,R,h,A){return[rf(h,this.serialize,this.deserialize),xf(h,f.getEndpointParameterInstructions()),dh(h,{input:this.input,requestChecksumRequired:!1,requestValidationModeMember:"ChecksumMode",responseAlgorithms:["CRC32","CRC32C","SHA256","SHA1"]}),mA(h),OI(h)]}).s("AmazonS3","GetObject",{}).n("S3Client","GetObjectCommand").f(EP,FP).ser(gP).de(KP).build(){}class R1 extends kf.classBuilder().ep({...bf,Bucket:{type:"contextParams",name:"Bucket"},Prefix:{type:"contextParams",name:"Prefix"}}).m(function(f,R,h,A){return[rf(h,this.serialize,this.deserialize),xf(h,f.getEndpointParameterInstructions()),ZR(h)]}).s("AmazonS3","ListObjectsV2",{}).n("S3Client","ListObjectsV2Command").f(void 0,void 0).ser(yP).de(vP).build(){}class h1 extends kf.classBuilder().ep({...bf,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(f,R,h,A){return[rf(h,this.serialize,this.deserialize),xf(h,f.getEndpointParameterInstructions()),dh(h,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!1}),TI(h),ZR(h),mA(h)]}).s("AmazonS3","PutObject",{}).n("S3Client","PutObjectCommand").f(SP,GP).ser(BP).de(jP).build(){}import{Buffer as HH}from"buffer";class wH extends SR{client;constructor(...f){super();this.client=new t3(...f)}async put(f){let R,h,A,I=process.env.BUCKET_NAME;if(f instanceof Blob)R=f,A=`${Th()}.${f.type.split("/")[1].split(";")[0]}`,h=f.type;else R=f.body,A=f.name,I=f.bucket??I,h=f.contentType;h=R instanceof Blob||R instanceof File?R.type:void 0;let $=R instanceof HH?R:HH.from(await R.arrayBuffer());return await this.client.send(new h1({Bucket:I,Key:A,Body:$,ContentType:h})),A}async list(f){return await this.client.send(new R1({Bucket:process.env.BUCKET_NAME,Prefix:f}))}async fetch(f){let R=process.env.BUCKET_NAME,h;if(typeof f==="string")h=f;else R=f.bucket??R,h=f.name;if(!h)throw new Error("Object name has to be specified");let A=await this.client.send(new f1({Bucket:R,Key:h}));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 sA{}class CA extends sA{requests=new Map;consume(f,R){if(!this.requests.has(f))this.requests.set(f,{date:Date.now(),count:1});else{let h=this.requests.get(f),A=Date.now();if(A-h.date>=60000)this.requests.set(f,{date:A,count:1});else this.requests.set(f,{date:h.date,count:h.count+1})}return this.requests.get(f).count}}class FH extends $f{driver=new CA;boot(){}}import*as bY from"react-dom/server";var q;(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"})(q||(q={}));function EH(f){return f.type===q.Tag||f.type===q.Script||f.type===q.Style}var{Root:NH,Text:GH,Directive:SH,Comment:WH,Script:YH,Style:DH,Tag:MH,CDATA:VH,Doctype:XH}=q;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 JH(this,f)}}class lA extends I1{constructor(f){super();this.data=f}get nodeValue(){return this.data}set nodeValue(f){this.data=f}}class Uh extends lA{constructor(){super(...arguments);this.type=q.Text}get nodeType(){return 3}}class bA extends lA{constructor(){super(...arguments);this.type=q.Comment}get nodeType(){return 8}}class cA extends lA{constructor(f,R){super(R);this.name=f,this.type=q.Directive}get nodeType(){return 1}}class dA 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 kA extends dA{constructor(){super(...arguments);this.type=q.CDATA}get nodeType(){return 4}}class Hh extends dA{constructor(){super(...arguments);this.type=q.Root}get nodeType(){return 9}}class rA extends dA{constructor(f,R,h=[],A=f==="script"?q.Script:f==="style"?q.Style:q.Tag){super(h);this.name=f,this.attribs=R,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 R,h;return{name:f,value:this.attribs[f],namespace:(R=this["x-attribsNamespace"])===null||R===void 0?void 0:R[f],prefix:(h=this["x-attribsPrefix"])===null||h===void 0?void 0:h[f]}})}}function xA(f){return EH(f)}function eN(f){return f.type===q.CDATA}function oN(f){return f.type===q.Text}function nN(f){return f.type===q.Comment}function uN(f){return f.type===q.Directive}function tN(f){return f.type===q.Root}function JH(f,R=!1){let h;if(oN(f))h=new Uh(f.data);else if(nN(f))h=new bA(f.data);else if(xA(f)){let A=R?A1(f.children):[],I=new rA(f.name,{...f.attribs},A);if(A.forEach(($)=>$.parent=I),f.namespace!=null)I.namespace=f.namespace;if(f["x-attribsNamespace"])I["x-attribsNamespace"]={...f["x-attribsNamespace"]};if(f["x-attribsPrefix"])I["x-attribsPrefix"]={...f["x-attribsPrefix"]};h=I}else if(eN(f)){let A=R?A1(f.children):[],I=new kA(A);A.forEach(($)=>$.parent=I),h=I}else if(tN(f)){let A=R?A1(f.children):[],I=new Hh(A);if(A.forEach(($)=>$.parent=I),f["x-mode"])I["x-mode"]=f["x-mode"];h=I}else if(uN(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"];h=A}else throw new Error(`Not implemented yet: ${f.type}`);if(h.startIndex=f.startIndex,h.endIndex=f.endIndex,f.sourceCodeLocation!=null)h.sourceCodeLocation=f.sourceCodeLocation;return h}function A1(f){let R=f.map((h)=>JH(h,!0));for(let h=1;h<R.length;h++)R[h].prev=R[h-1],R[h-1].next=R[h];return R}var zH={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class $1{constructor(f,R,h){if(this.dom=[],this.root=new Hh(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof R==="function")h=R,R=zH;if(typeof f==="object")R=f,f=void 0;this.callback=f!==null&&f!==void 0?f:null,this.options=R!==null&&R!==void 0?R:zH,this.elementCB=h!==null&&h!==void 0?h:null}onparserinit(f){this.parser=f}onreset(){this.dom=[],this.root=new Hh(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,R){let h=this.options.xmlMode?q.Tag:void 0,A=new rA(f,R,void 0,h);this.addNode(A),this.tagStack.push(A)}ontext(f){let{lastNode:R}=this;if(R&&R.type===q.Text){if(R.data+=f,this.options.withEndIndices)R.endIndex=this.parser.endIndex}else{let h=new Uh(f);this.addNode(h),this.lastNode=h}}oncomment(f){if(this.lastNode&&this.lastNode.type===q.Comment){this.lastNode.data+=f;return}let R=new bA(f);this.addNode(R),this.lastNode=R}oncommentend(){this.lastNode=null}oncdatastart(){let f=new Uh(""),R=new kA([f]);this.addNode(R),f.parent=R,this.lastNode=f}oncdataend(){this.lastNode=null}onprocessinginstruction(f,R){let h=new cA(f,R);this.addNode(h)}handleCallback(f){if(typeof this.callback==="function")this.callback(f,this.dom);else if(f)throw f}addNode(f){let R=this.tagStack[this.tagStack.length-1],h=R.children[R.children.length-1];if(this.options.withStartIndices)f.startIndex=this.parser.startIndex;if(this.options.withEndIndices)f.endIndex=this.parser.endIndex;if(R.children.push(f),h)f.prev=h,h.next=f;f.parent=R,this.lastNode=null}}var fG=/\n/g;function RG(f){let R=[...f.matchAll(fG)].map((A)=>A.index||0);R.unshift(-1);let h=P1(R,0,R.length);return(A)=>QH(h,A)}function P1(f,R,h){if(h-R==1)return{offset:f[R],index:R+1};let A=Math.ceil((R+h)/2),I=P1(f,R,A),$=P1(f,A,h);return{offset:I.offset,low:I,high:$}}function QH(f,R){return function(h){return Object.prototype.hasOwnProperty.call(h,"index")}(f)?{line:f.index,column:R-f.offset}:QH(f.high.offset<R?f.high:f.low,R)}function U1(f,R="",h={}){let A=typeof R!="string"?R:h,I=typeof R=="string"?R:"",$=f.map(hG),P=!!A.lineNumbers;return function(U,H=0){let F=P?RG(U):()=>({line:0,column:0}),N=H,W=[];f:for(;N<U.length;){let V=!1;for(let S of $){S.regex.lastIndex=N;let L=S.regex.exec(U);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:I,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(U,N);W.push(...K.tokens),N=K.offset}if(S.pop)break f;break}}if(!V)break}return{tokens:W,offset:N,complete:U.length<=N}}}function hG(f,R){return{...f,regex:AG(f,R)}}function AG(f,R){if(f.name.length===0)throw new Error(`Rule #${R} has empty name, which is not allowed.`);if(function(h){return Object.prototype.hasOwnProperty.call(h,"regex")}(f))return function(h){if(h.global)throw new Error(`Regular expression /${h.source}/${h.flags} contains the global flag, which is not allowed.`);return h.sticky?h:new RegExp(h.source,h.flags+"y")}(f.regex);if(function(h){return Object.prototype.hasOwnProperty.call(h,"str")}(f)){if(f.str.length===0)throw new Error(`Rule #${R} ("${f.name}") has empty "str" property, which is not allowed.`);return new RegExp(LH(f.str),"y")}return new RegExp(LH(f.name),"y")}function LH(f){return f.replace(/[-[\]{}()*+!<=:?./\\^$|#\s,]/g,"\\$&")}function yf(f,R){return(h,A)=>{let I=A,$=void 0;if(A<h.tokens.length){if($=f(h.tokens[A],h,A),$!==void 0)I++}else R?.(h,A);return $===void 0?{matched:!1}:{matched:!0,position:I,value:$}}}function H1(f,R){return f.matched?{matched:!0,position:f.position,value:R(f.value,f.position)}:f}function _A(f,R){return f.matched?R(f):f}function ff(f,R){return(h,A)=>H1(f(h,A),(I,$)=>R(I,h,A,$))}function wh(f,R){return(h,A)=>{let I=f(h,A);return I.matched?I:{matched:!0,position:A,value:R}}}function yR(...f){return(R,h)=>{for(let A of f){let I=A(R,h);if(I.matched)return I}return{matched:!1}}}function pf(f,R){return(h,A)=>{let I=f(h,A);return I.matched?I:R(h,A)}}function IG(f,R){return(h,A)=>{let I=[],$=!0;do{let P=f(h,A);if(P.matched&&R(P.value,I.length+1,h,A,P.position))I.push(P.value),A=P.position;else $=!1}while($);return{matched:!0,position:A,value:I}}}function aA(f){return IG(f,()=>!0)}function qH(f){return Pf(f,aA(f),(R,h)=>[R,...h])}function Pf(f,R,h){return(A,I)=>_A(f(A,I),($)=>H1(R(A,$.position),(P,U)=>h($.value,P,A,I,U)))}function gH(f,R){return Pf(f,R,(h)=>h)}function w1(f,R){return Pf(f,R,(h,A)=>A)}function iA(f,R,h,A){return(I,$)=>_A(f(I,$),(P)=>_A(R(I,P.position),(U)=>H1(h(I,U.position),(H,F)=>A(P.value,U.value,H,I,$,F))))}function F1(f,R,h){return iA(f,R,h,(A,I)=>I)}function $G(...f){return(R,h)=>{let A=[],I=h;for(let $ of f){let P=$(R,I);if(P.matched)A.push(P.value),I=P.position;else return{matched:!1}}return{matched:!0,position:I,value:A}}}function yH(...f){return PG($G(...f))}function PG(f){return ff(f,(R)=>R.flatMap((h)=>h))}function UG(f,R){return(h,A)=>{let I=!0,$=f,P=A;do{let U=R($,h,P)(h,P);if(U.matched)$=U.value,P=U.position;else I=!1}while(I);return{matched:!0,position:P,value:$}}}function HG(f,R,h){return UG(f,(A)=>ff(R,(I,$,P,U)=>h(A,I,$,P,U)))}function E1(f,R,h){return wG(f,(A)=>HG(A,Pf(R,h,(I,$)=>[I,$]),(I,[$,P])=>$(I,P)))}function wG(f,R){return(h,A)=>_A(f(h,A),(I)=>R(I.value,h,A,I.position)(h,I.position))}var EG="(?:[ \\t\\r\\n\\f]*)",OH="(?:\\n|\\r\\n|\\r|\\f)",oA="[^\\x00-\\x7F]",Nh="(?:\\\\[0-9a-f]{1,6}(?:\\r\\n|[ \\n\\r\\t\\f])?)",Gh="(?:\\\\[^\\n\\r\\f0-9a-f])",NG=`(?:[_a-z]|${oA}|${Nh}|${Gh})`,mH=`(?:[_a-z0-9-]|${oA}|${Nh}|${Gh})`,GG=`(?:${mH}+)`,SG=`(?:[-]?${NG}${mH}*)`,WG=`'([^\\n\\r\\f\\\\']|\\\\${OH}|${oA}|${Nh}|${Gh})*'`,YG=`"([^\\n\\r\\f\\\\"]|\\\\${OH}|${oA}|${Nh}|${Gh})*"`,DG=U1([{name:"ws",regex:new RegExp(EG)},{name:"hash",regex:new RegExp(`#${GG}`,"i")},{name:"ident",regex:new RegExp(SG,"i")},{name:"str1",regex:new RegExp(WG,"i")},{name:"str2",regex:new RegExp(YG,"i")},{name:"*"},{name:"."},{name:","},{name:"["},{name:"]"},{name:"="},{name:">"},{name:"|"},{name:"+"},{name:"~"},{name:"^"},{name:"$"}]),MG=U1([{name:"unicode",regex:new RegExp(Nh,"i")},{name:"escape",regex:new RegExp(Gh,"i")},{name:"any",regex:new RegExp("[\\s\\S]","i")}]);function sH([f,R,h],[A,I,$]){return[f+A,R+I,h+$]}function VG(f){return f.reduce(sH,[0,0,0])}var XG=yf((f)=>f.name==="unicode"?String.fromCodePoint(parseInt(f.text.slice(1),16)):void 0),ZG=yf((f)=>f.name==="escape"?f.text.slice(1):void 0),JG=yf((f)=>f.name==="any"?f.text:void 0),zG=ff(aA(yR(XG,ZG,JG)),(f)=>f.join(""));function S1(f){let R=MG(f);return zG({tokens:R.tokens,options:void 0},0).value}function s(f){return yf((R)=>R.name===f?!0:void 0)}var W1=yf((f)=>f.name==="ws"?null:void 0),N1=wh(W1,null);function TR(f){return F1(N1,f,N1)}var Eh=yf((f)=>f.name==="ident"?S1(f.text):void 0),LG=yf((f)=>f.name==="hash"?S1(f.text.slice(1)):void 0),QG=yf((f)=>f.name.startsWith("str")?S1(f.text.slice(1,-1)):void 0),CH=gH(wh(Eh,""),s("|")),Y1=pf(Pf(CH,Eh,(f,R)=>({name:R,namespace:f})),ff(Eh,(f)=>({name:f,namespace:null}))),qG=pf(Pf(CH,s("*"),(f)=>({type:"universal",namespace:f,specificity:[0,0,0]})),ff(s("*"),()=>({type:"universal",namespace:null,specificity:[0,0,0]}))),gG=ff(Y1,({name:f,namespace:R})=>({type:"tag",name:f,namespace:R,specificity:[0,0,1]})),yG=Pf(s("."),Eh,(f,R)=>({type:"class",name:R,specificity:[0,1,0]})),BG=ff(LG,(f)=>({type:"id",name:f,specificity:[1,0,0]})),BH=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}),TG=pf(Pf(QG,wh(w1(N1,BH),null),(f,R)=>({value:f,modifier:R})),Pf(Eh,wh(w1(W1,BH),null),(f,R)=>({value:f,modifier:R}))),KG=yR(ff(s("="),()=>"="),Pf(s("~"),s("="),()=>"~="),Pf(s("|"),s("="),()=>"|="),Pf(s("^"),s("="),()=>"^="),Pf(s("$"),s("="),()=>"$="),Pf(s("*"),s("="),()=>"*=")),vG=iA(s("["),TR(Y1),s("]"),(f,{name:R,namespace:h})=>({type:"attrPresence",name:R,namespace:h,specificity:[0,1,0]})),jG=F1(s("["),iA(TR(Y1),KG,TR(TG),({name:f,namespace:R},h,{value:A,modifier:I})=>({type:"attrValue",name:f,namespace:R,matcher:h,value:A,modifier:I,specificity:[0,1,0]})),s("]")),OG=pf(vG,jG),mG=pf(qG,gG),TH=yR(BG,yG,OG),KH=ff(pf(yH(mG,aA(TH)),qH(TH)),(f)=>{return{type:"compound",list:f,specificity:VG(f.map((R)=>R.specificity))}}),sG=yR(ff(s(">"),()=>">"),ff(s("+"),()=>"+"),ff(s("~"),()=>"~"),Pf(s("|"),s("|"),()=>"||")),CG=pf(TR(sG),ff(W1,()=>" ")),G1=E1(KH,ff(CG,(f)=>(R,h)=>({type:"compound",list:[...h.list,{type:"combinator",combinator:f,left:R,specificity:R.specificity}],specificity:sH(R.specificity,h.specificity)})),KH),DJ=E1(ff(G1,(f)=>({type:"list",list:[f]})),ff(TR(s(",")),()=>(f,R)=>({type:"list",list:[...f.list,R]})),G1);function lG(f,R){if(!(typeof R==="string"||R instanceof String))throw new Error("Expected a selector string. Actual input is not a string!");let h=DG(R);if(!h.complete)throw new Error(`The input "${R}" was only partially tokenized, stopped at offset ${h.offset}!\n`+vH(R,h.offset));let A=TR(f)({tokens:h.tokens,options:void 0},0);if(!A.matched)throw new Error(`No match for "${R}" input!`);if(A.position<h.tokens.length){let I=h.tokens[A.position];throw new Error(`The input "${R}" was only partially parsed, stopped at offset ${I.offset}!\n`+vH(R,I.offset,I.len))}return A.value}function vH(f,R,h=1){return`${f.replace(/(\t)|(\r)|(\n)/g,(A,I,$)=>I?"\u2409":$?"\u240D":"\u240A")}\n${"".padEnd(R)}${"^".repeat(h)}`}function lH(f){return lG(G1,f)}function zf(f){if(!f.type)throw new Error("This is not an AST node.");switch(f.type){case"universal":return pA(f.namespace)+"*";case"tag":return pA(f.namespace)+BR(f.name);case"class":return"."+BR(f.name);case"id":return"#"+BR(f.name);case"attrPresence":return`[${pA(f.namespace)}${BR(f.name)}]`;case"attrValue":return`[${pA(f.namespace)}${BR(f.name)}${f.matcher}"${bG(f.value)}"${f.modifier?f.modifier:""}]`;case"combinator":return zf(f.left)+f.combinator;case"compound":return f.list.reduce((R,h)=>{if(h.type==="combinator")return zf(h)+R;else return R+zf(h)},"");case"list":return f.list.map(zf).join(",")}}function pA(f){return f||f===""?BR(f)+"|":""}function eA(f){return`\\${f.codePointAt(0).toString(16)} `}function BR(f){return f.replace(/(^[0-9])|(^-[0-9])|(^-$)|([-0-9a-zA-Z_]|[^\x00-\x7F])|(\x00)|([\x01-\x1f]|\x7f)|([\s\S])/g,(R,h,A,I,$,P,U,H)=>h?eA(h):A?"-"+eA(A.slice(1)):I?"\\-":$?$:P?"\uFFFD":U?eA(U):"\\"+H)}function bG(f){return f.replace(/(")|(\\)|(\x00)|([\x01-\x1f]|\x7f)/g,(R,h,A,I,$)=>h?'\\"':A?"\\\\":I?"\uFFFD":eA($))}function Fh(f){if(!f.type)throw new Error("This is not an AST node.");switch(f.type){case"compound":{f.list.forEach(Fh),f.list.sort((R,h)=>bH(jH(R),jH(h)));break}case"combinator":{Fh(f.left);break}case"list":{f.list.forEach(Fh),f.list.sort((R,h)=>zf(R)<zf(h)?-1:1);break}}return f}function jH(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,zf(f)];case"attrValue":return[5,zf(f)];case"combinator":return[15,zf(f)]}}function D1(f,R){return bH(f,R)}function bH(f,R){if(!Array.isArray(f)||!Array.isArray(R))throw new Error("Arguments must be arrays.");let h=f.length<R.length?f.length:R.length;for(let A=0;A<h;A++){if(f[A]===R[A])continue;return f[A]<R[A]?-1:1}return f.length-R.length}class nA{constructor(f){this.branches=KR(dG(f))}build(f){return f(this.branches)}}function dG(f){let R=f.length,h=new Array(R);for(let A=0;A<R;A++){let[I,$]=f[A],P=kG(lH(I));h[A]={ast:P,terminal:{type:"terminal",valueContainer:{index:A,value:$,specificity:P.specificity}}}}return h}function kG(f){return dH(f),Fh(f),f}function dH(f){let R=[];f.list.forEach((h)=>{switch(h.type){case"class":R.push({matcher:"~=",modifier:null,name:"class",namespace:null,specificity:h.specificity,type:"attrValue",value:h.name});break;case"id":R.push({matcher:"=",modifier:null,name:"id",namespace:null,specificity:h.specificity,type:"attrValue",value:h.name});break;case"combinator":dH(h.left),R.push(h);break;case"universal":break;default:R.push(h);break}}),f.list=R}function KR(f){let R=[];while(f.length){let h=xH(f,(P)=>!0,kH),{matches:A,nonmatches:I,empty:$}=xG(f,h);if(f=I,A.length)R.push(_G(h,A));if($.length)R.push(...rG($))}return R}function rG(f){let R=[];for(let h of f){let A=h.terminal;if(A.type==="terminal")R.push(A);else{let{matches:I,rest:$}=oG(A.cont,(P)=>P.type==="terminal");if(I.forEach((P)=>R.push(P)),$.length)A.cont=$,R.push(A)}}return R}function xG(f,R){let h=[],A=[],I=[];for(let $ of f){let P=$.ast.list;if(P.length)(P.some((H)=>kH(H)===R)?h:A).push($);else I.push($)}return{matches:h,nonmatches:A,empty:I}}function kH(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 _G(f,R){if(f==="tag")return aG(R);if(f.startsWith("attrValue "))return pG(f.substring(10),R);if(f.startsWith("attrPresence "))return iG(f.substring(13),R);if(f==="combinator >")return cH(">",R);if(f==="combinator +")return cH("+",R);throw new Error(`Unsupported selector kind: ${f}`)}function aG(f){let R=M1(f,(A)=>A.type==="tag",(A)=>A.name);return{type:"tagName",variants:Object.entries(R).map(([A,I])=>({type:"variant",value:A,cont:KR(I.items)}))}}function iG(f,R){for(let h of R)rH(h,(A)=>A.type==="attrPresence"&&A.name===f);return{type:"attrPresence",name:f,cont:KR(R)}}function pG(f,R){let h=M1(R,(I)=>I.type==="attrValue"&&I.name===f,(I)=>`${I.matcher} ${I.modifier||""} ${I.value}`),A=[];for(let I of Object.values(h)){let $=I.oneSimpleSelector,P=eG($),U=KR(I.items);A.push({type:"matcher",matcher:$.matcher,modifier:$.modifier,value:$.value,predicate:P,cont:U})}return{type:"attrValue",name:f,matchers:A}}function eG(f){if(f.modifier==="i"){let R=f.value.toLowerCase();switch(f.matcher){case"=":return(h)=>R===h.toLowerCase();case"~=":return(h)=>h.toLowerCase().split(/[ \t]+/).includes(R);case"^=":return(h)=>h.toLowerCase().startsWith(R);case"$=":return(h)=>h.toLowerCase().endsWith(R);case"*=":return(h)=>h.toLowerCase().includes(R);case"|=":return(h)=>{let A=h.toLowerCase();return R===A||A.startsWith(R)&&A[R.length]==="-"}}}else{let R=f.value;switch(f.matcher){case"=":return(h)=>R===h;case"~=":return(h)=>h.split(/[ \t]+/).includes(R);case"^=":return(h)=>h.startsWith(R);case"$=":return(h)=>h.endsWith(R);case"*=":return(h)=>h.includes(R);case"|=":return(h)=>R===h||h.startsWith(R)&&h[R.length]==="-"}}}function cH(f,R){let h=M1(R,(I)=>I.type==="combinator"&&I.combinator===f,(I)=>zf(I.left)),A=[];for(let I of Object.values(h)){let $=KR(I.items),P=I.oneSimpleSelector.left;A.push({ast:P,terminal:{type:"popElement",cont:$}})}return{type:"pushElement",combinator:f,cont:KR(A)}}function M1(f,R,h){let A={};while(f.length){let I=xH(f,R,h),$=(N)=>R(N)&&h(N)===I,P=(N)=>N.ast.list.some($),{matches:U,rest:H}=nG(f,P),F=null;for(let N of U){let W=rH(N,$);if(!F)F=W}if(F==null)throw new Error("No simple selector is found.");A[I]={oneSimpleSelector:F,items:U},f=H}return A}function rH(f,R){let h=f.ast.list,A=new Array(h.length),I=-1;for(let P=h.length;P-- >0;)if(R(h[P]))A[P]=!0,I=P;if(I==-1)throw new Error("Couldn't find the required simple selector.");let $=h[I];return f.ast.list=h.filter((P,U)=>!A[U]),$}function xH(f,R,h){let A={};for(let P of f){let U={};for(let H of P.ast.list.filter(R))U[h(H)]=!0;for(let H of Object.keys(U))if(A[H])A[H]++;else A[H]=1}let I="",$=0;for(let P of Object.entries(A))if(P[1]>$)I=P[0],$=P[1];return I}function oG(f,R){let h=[],A=[];for(let I of f)if(R(I))h.push(I);else A.push(I);return{matches:h,rest:A}}function nG(f,R){let h=[],A=[];for(let I of f)if(R(I))h.push(I);else A.push(I);return{matches:h,rest:A}}class V1{constructor(f){this.f=f}pickAll(f){return this.f(f)}pick1(f,R=!1){let h=this.f(f),A=h.length;if(A===0)return null;if(A===1)return h[0].value;let I=R?uG:tG,$=h[0];for(let P=1;P<A;P++){let U=h[P];if(I($,U))$=U}return $.value}}function uG(f,R){let h=D1(R.specificity,f.specificity);return h>0||h===0&&R.index<f.index}function tG(f,R){let h=D1(R.specificity,f.specificity);return h>0||h===0&&R.index>f.index}function X1(f){return new V1(vR(f))}function vR(f){let R=f.map(f6);return(h,...A)=>R.flatMap((I)=>I(h,...A))}function f6(f){switch(f.type){case"terminal":{let R=[f.valueContainer];return(h,...A)=>R}case"tagName":return R6(f);case"attrValue":return A6(f);case"attrPresence":return h6(f);case"pushElement":return I6(f);case"popElement":return P6(f)}}function R6(f){let R={};for(let h of f.variants)R[h.value]=vR(h.cont);return(h,...A)=>{let I=R[h.name];return I?I(h,...A):[]}}function h6(f){let R=f.name,h=vR(f.cont);return(A,...I)=>Object.prototype.hasOwnProperty.call(A.attribs,R)?h(A,...I):[]}function A6(f){let R=[];for(let A of f.matchers){let I=A.predicate,$=vR(A.cont);R.push((P,U,...H)=>I(P)?$(U,...H):[])}let h=f.name;return(A,...I)=>{let $=A.attribs[h];return $||$===""?R.flatMap((P)=>P($,A,...I)):[]}}function I6(f){let R=vR(f.cont),h=f.combinator==="+"?_H:$6;return(A,...I)=>{let $=h(A);if($===null)return[];return R($,A,...I)}}var _H=(f)=>{let R=f.prev;if(R===null)return null;return xA(R)?R:_H(R)},$6=(f)=>{let R=f.parent;return R&&xA(R)?R:null};function P6(f){let R=vR(f.cont);return(h,A,...I)=>R(A,...I)}var uA=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 tA=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,U6=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]]),jR=(Z1=String.fromCodePoint)!==null&&Z1!==void 0?Z1:function(f){let R="";if(f>65535)f-=65536,R+=String.fromCharCode(f>>>10&1023|55296),f=56320|f&1023;return R+=String.fromCharCode(f),R};function Sh(f){var R;if(f>=55296&&f<=57343||f>1114111)return 65533;return(R=U6.get(f))!==null&&R!==void 0?R: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 H6=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 w6(f){return f>=o.UPPER_A&&f<=o.UPPER_F||f>=o.LOWER_A&&f<=o.LOWER_F}function F6(f){return f>=o.UPPER_A&&f<=o.UPPER_Z||f>=o.LOWER_A&&f<=o.LOWER_Z||J1(f)}function E6(f){return f===o.EQUALS||F6(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 wR;(function(f){f[f.Legacy=0]="Legacy",f[f.Strict=1]="Strict",f[f.Attribute=2]="Attribute"})(wR||(wR={}));class aH{constructor(f,R,h){this.decodeTree=f,this.emitCodePoint=R,this.errors=h,this.state=e.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=wR.Strict}startEntity(f){this.decodeMode=f,this.state=e.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(f,R){switch(this.state){case e.EntityStart:{if(f.charCodeAt(R)===o.NUM)return this.state=e.NumericStart,this.consumed+=1,this.stateNumericStart(f,R+1);return this.state=e.NamedEntity,this.stateNamedEntity(f,R)}case e.NumericStart:return this.stateNumericStart(f,R);case e.NumericDecimal:return this.stateNumericDecimal(f,R);case e.NumericHex:return this.stateNumericHex(f,R);case e.NamedEntity:return this.stateNamedEntity(f,R)}}stateNumericStart(f,R){if(R>=f.length)return-1;if((f.charCodeAt(R)|H6)===o.LOWER_X)return this.state=e.NumericHex,this.consumed+=1,this.stateNumericHex(f,R+1);return this.state=e.NumericDecimal,this.stateNumericDecimal(f,R)}addToNumericResult(f,R,h,A){if(R!==h){let I=h-R;this.result=this.result*Math.pow(A,I)+parseInt(f.substr(R,I),A),this.consumed+=I}}stateNumericHex(f,R){let h=R;while(R<f.length){let A=f.charCodeAt(R);if(J1(A)||w6(A))R+=1;else return this.addToNumericResult(f,h,R,16),this.emitNumericEntity(A,3)}return this.addToNumericResult(f,h,R,16),-1}stateNumericDecimal(f,R){let h=R;while(R<f.length){let A=f.charCodeAt(R);if(J1(A))R+=1;else return this.addToNumericResult(f,h,R,10),this.emitNumericEntity(A,2)}return this.addToNumericResult(f,h,R,10),-1}emitNumericEntity(f,R){var h;if(this.consumed<=R)return(h=this.errors)===null||h===void 0||h.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(f===o.SEMI)this.consumed+=1;else if(this.decodeMode===wR.Strict)return 0;if(this.emitCodePoint(Sh(this.result),this.consumed),this.errors){if(f!==o.SEMI)this.errors.missingSemicolonAfterCharacterReference();this.errors.validateNumericCharacterReference(this.result)}return this.consumed}stateNamedEntity(f,R){let{decodeTree:h}=this,A=h[this.treeIndex],I=(A&Yf.VALUE_LENGTH)>>14;for(;R<f.length;R++,this.excess++){let $=f.charCodeAt(R);if(this.treeIndex=z1(h,A,this.treeIndex+Math.max(1,I),$),this.treeIndex<0)return this.result===0||this.decodeMode===wR.Attribute&&(I===0||E6($))?0:this.emitNotTerminatedNamedEntity();if(A=h[this.treeIndex],I=(A&Yf.VALUE_LENGTH)>>14,I!==0){if($===o.SEMI)return this.emitNamedEntityData(this.treeIndex,I,this.consumed+this.excess);if(this.decodeMode!==wR.Strict)this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0}}return-1}emitNotTerminatedNamedEntity(){var f;let{result:R,decodeTree:h}=this,A=(h[R]&Yf.VALUE_LENGTH)>>14;return this.emitNamedEntityData(R,A,this.consumed),(f=this.errors)===null||f===void 0||f.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(f,R,h){let{decodeTree:A}=this;if(this.emitCodePoint(R===1?A[f]&~Yf.VALUE_LENGTH:A[f+1],h),R===3)this.emitCodePoint(A[f+2],h);return h}end(){var f;switch(this.state){case e.NamedEntity:return this.result!==0&&(this.decodeMode!==wR.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 iH(f){let R="",h=new aH(f,(A)=>R+=jR(A));return function A(I,$){let P=0,U=0;while((U=I.indexOf("&",U))>=0){R+=I.slice(P,U),h.startEntity($);let F=h.write(I,U+1);if(F<0){P=U+h.end();break}P=U+F,U=F===0?P+1:P}let H=R+I.slice(P);return R="",H}}function z1(f,R,h,A){let I=(R&Yf.BRANCH_LENGTH)>>7,$=R&Yf.JUMP_TABLE;if(I===0)return $!==0&&A===$?h:-1;if($){let H=A-$;return H<0||H>=I?-1:f[h+H]-1}let P=h,U=P+I-1;while(P<=U){let H=P+U>>>1,F=f[H];if(F<A)P=H+1;else if(F>A)U=H-1;else return f[H+I]}return-1}var TJ=iH(uA),KJ=iH(tA);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 Of(f){return f===G.Space||f===G.NewLine||f===G.Tab||f===G.FormFeed||f===G.CarriageReturn}function f0(f){return f===G.Slash||f===G.Gt||Of(f)}function pH(f){return f>=G.Zero&&f<=G.Nine}function N6(f){return f>=G.LowerA&&f<=G.LowerZ||f>=G.UpperA&&f<=G.UpperZ}function G6(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 R0{constructor({xmlMode:f=!1,decodeEntities:R=!0},h){this.cbs=h,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=R,this.entityTrie=f?tA:uA}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 R=this.sequenceIndex===this.currentSequence.length;if(!(R?f0(f):(f|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!R){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||Of(f)){let R=this.index-this.currentSequence.length;if(this.sectionStart<R){let h=this.index;this.index=R,this.cbs.ontext(this.sectionStart,R),this.index=h}this.isSpecial=!1,this.sectionStart=R+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?!f0(f):N6(f)}startSpecial(f,R){this.isSpecial=!0,this.currentSequence=f,this.sequenceIndex=R,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 R=f|32;if(this.sectionStart=this.index,!this.xmlMode&&R===Nf.TitleEnd[2])this.startSpecial(Nf.TitleEnd,3);else this.state=!this.xmlMode&&R===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(f0(f))this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=E.BeforeAttributeName,this.stateBeforeAttributeName(f)}stateBeforeClosingTagName(f){if(Of(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||Of(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(!Of(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(!Of(f))this.state=E.BeforeAttributeName,this.stateBeforeAttributeName(f)}stateInAttributeName(f){if(f===G.Eq||f0(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(!Of(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(!Of(f))this.sectionStart=this.index,this.state=E.InAttributeValueNq,this.stateInAttributeValueNoQuotes(f)}handleInAttributeValue(f,R){if(f===R||!this.decodeEntities&&this.fastForwardTo(R))this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(R===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(Of(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 R=f|32;if(R===Nf.ScriptEnd[3])this.startSpecial(Nf.ScriptEnd,4);else if(R===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=z1(this.entityTrie,this.trieCurrent,this.trieIndex+1,f),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];let R=this.trieCurrent&Yf.VALUE_LENGTH;if(R){let h=(R>>14)-1;if(!this.allowLegacyEntity()&&f!==G.Semi)this.trieIndex+=h;else{let A=this.index-this.entityExcess+1;if(A>this.sectionStart)this.emitPartial(this.sectionStart,A);if(this.entityResult=this.trieIndex,this.trieIndex+=h,this.entityExcess=0,this.sectionStart=this.index+1,h===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 R=this.index-this.entityExcess-1;if(R+2+Number(this.state===E.InHexEntity)!==this.index){if(R>this.sectionStart)this.emitPartial(this.sectionStart,R);this.sectionStart=this.index+Number(f),this.emitCodePoint(Sh(this.entityResult))}this.state=this.baseState}stateInNumericEntity(f){if(f===G.Semi)this.emitNumericEntity(!0);else if(pH(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(pH(f))this.entityResult=this.entityResult*16+(f-G.Zero),this.entityExcess++;else if(G6(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,R){if(this.baseState!==E.Text&&this.baseState!==E.InSpecialTag)this.cbs.onattribdata(f,R);else this.cbs.ontext(f,R)}emitCodePoint(f){if(this.baseState!==E.Text&&this.baseState!==E.InSpecialTag)this.cbs.onattribentity(f);else this.cbs.ontextentity(f)}}var OR=new Set(["input","option","optgroup","select","button","datalist","textarea"]),v=new Set(["p"]),eH=new Set(["thead","tbody"]),oH=new Set(["dd","dt"]),nH=new Set(["rt","rp"]),S6=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",OR],["input",OR],["output",OR],["button",OR],["datalist",OR],["textarea",OR],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",oH],["dt",oH],["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",nH],["rp",nH],["tbody",eH],["tfoot",eH]]),W6=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),uH=new Set(["math","svg"]),tH=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),Y6=/\s|\//;class L1{constructor(f,R={}){var h,A,I,$,P;this.options=R,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=(h=R.lowerCaseTags)!==null&&h!==void 0?h:!R.xmlMode,this.lowerCaseAttributeNames=(A=R.lowerCaseAttributeNames)!==null&&A!==void 0?A:!R.xmlMode,this.tokenizer=new((I=R.Tokenizer)!==null&&I!==void 0?I:R0)(this.options,this),(P=($=this.cbs).onparserinit)===null||P===void 0||P.call($,this)}ontext(f,R){var h,A;let I=this.getSlice(f,R);this.endIndex=R-1,(A=(h=this.cbs).ontext)===null||A===void 0||A.call(h,I),this.startIndex=R}ontextentity(f){var R,h;let A=this.tokenizer.getSectionStart();this.endIndex=A-1,(h=(R=this.cbs).ontext)===null||h===void 0||h.call(R,jR(f)),this.startIndex=A}isVoidElement(f){return!this.options.xmlMode&&W6.has(f)}onopentagname(f,R){this.endIndex=R;let h=this.getSlice(f,R);if(this.lowerCaseTagNames)h=h.toLowerCase();this.emitOpenTag(h)}emitOpenTag(f){var R,h,A,I;this.openTagStart=this.startIndex,this.tagname=f;let $=!this.options.xmlMode&&S6.get(f);if($)while(this.stack.length>0&&$.has(this.stack[this.stack.length-1])){let P=this.stack.pop();(h=(R=this.cbs).onclosetag)===null||h===void 0||h.call(R,P,!0)}if(!this.isVoidElement(f)){if(this.stack.push(f),uH.has(f))this.foreignContext.push(!0);else if(tH.has(f))this.foreignContext.push(!1)}if((I=(A=this.cbs).onopentagname)===null||I===void 0||I.call(A,f),this.cbs.onopentag)this.attribs={}}endOpenTag(f){var R,h;if(this.startIndex=this.openTagStart,this.attribs)(h=(R=this.cbs).onopentag)===null||h===void 0||h.call(R,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,R){var h,A,I,$,P,U;this.endIndex=R;let H=this.getSlice(f,R);if(this.lowerCaseTagNames)H=H.toLowerCase();if(uH.has(H)||tH.has(H))this.foreignContext.pop();if(!this.isVoidElement(H)){let F=this.stack.lastIndexOf(H);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&&H==="p")this.emitOpenTag("p"),this.closeCurrentTag(!0)}else if(!this.options.xmlMode&&H==="br")(A=(h=this.cbs).onopentagname)===null||A===void 0||A.call(h,"br"),($=(I=this.cbs).onopentag)===null||$===void 0||$.call(I,"br",{},!0),(U=(P=this.cbs).onclosetag)===null||U===void 0||U.call(P,"br",!1);this.startIndex=R+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 R,h;let A=this.tagname;if(this.endOpenTag(f),this.stack[this.stack.length-1]===A)(h=(R=this.cbs).onclosetag)===null||h===void 0||h.call(R,A,!f),this.stack.pop()}onattribname(f,R){this.startIndex=f;let h=this.getSlice(f,R);this.attribname=this.lowerCaseAttributeNames?h.toLowerCase():h}onattribdata(f,R){this.attribvalue+=this.getSlice(f,R)}onattribentity(f){this.attribvalue+=jR(f)}onattribend(f,R){var h,A;if(this.endIndex=R,(A=(h=this.cbs).onattribute)===null||A===void 0||A.call(h,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 R=f.search(Y6),h=R<0?f:f.substr(0,R);if(this.lowerCaseTagNames)h=h.toLowerCase();return h}ondeclaration(f,R){this.endIndex=R;let h=this.getSlice(f,R);if(this.cbs.onprocessinginstruction){let A=this.getInstructionName(h);this.cbs.onprocessinginstruction(`!${A}`,`!${h}`)}this.startIndex=R+1}onprocessinginstruction(f,R){this.endIndex=R;let h=this.getSlice(f,R);if(this.cbs.onprocessinginstruction){let A=this.getInstructionName(h);this.cbs.onprocessinginstruction(`?${A}`,`?${h}`)}this.startIndex=R+1}oncomment(f,R,h){var A,I,$,P;this.endIndex=R,(I=(A=this.cbs).oncomment)===null||I===void 0||I.call(A,this.getSlice(f,R-h)),(P=($=this.cbs).oncommentend)===null||P===void 0||P.call($),this.startIndex=R+1}oncdata(f,R,h){var A,I,$,P,U,H,F,N,W,V;this.endIndex=R;let S=this.getSlice(f,R-h);if(this.options.xmlMode||this.options.recognizeCDATA)(I=(A=this.cbs).oncdatastart)===null||I===void 0||I.call(A),(P=($=this.cbs).ontext)===null||P===void 0||P.call($,S),(H=(U=this.cbs).oncdataend)===null||H===void 0||H.call(U);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=R+1}onend(){var f,R;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let h=this.stack.length;h>0;this.cbs.onclosetag(this.stack[--h],!0));}(R=(f=this.cbs).onend)===null||R===void 0||R.call(f)}reset(){var f,R,h,A;(R=(f=this.cbs).onreset)===null||R===void 0||R.call(f),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(A=(h=this.cbs).onparserinit)===null||A===void 0||A.call(h,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(f){this.reset(),this.end(f)}getSlice(f,R){while(f-this.bufferOffset>=this.buffers[0].length)this.shiftBuffer();let h=this.buffers[0].slice(f-this.bufferOffset,R-this.bufferOffset);while(R-this.bufferOffset>this.buffers[0].length)this.shiftBuffer(),h+=this.buffers[0].slice(0,R-this.bufferOffset);return h}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(f){var R,h;if(this.ended){(h=(R=this.cbs).onerror)===null||h===void 0||h.call(R,new Error(".write() after done!"));return}if(this.buffers.push(f),this.tokenizer.running)this.tokenizer.write(f),this.writeIndex++}end(f){var R,h;if(this.ended){(h=(R=this.cbs).onerror)===null||h===void 0||h.call(R,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 fw=/["&'<>$\x80-\uFFFF]/g,Rw=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),D6=String.prototype.codePointAt!=null?(f,R)=>f.codePointAt(R):(f,R)=>(f.charCodeAt(R)&64512)===55296?(f.charCodeAt(R)-55296)*1024+f.charCodeAt(R+1)-56320+65536:f.charCodeAt(R);function h0(f){let R="",h=0,A;while((A=fw.exec(f))!==null){let I=A.index,$=f.charCodeAt(I),P=Rw.get($);if(P!==void 0)R+=f.substring(h,I)+P,h=I+1;else R+=`${f.substring(h,I)}&#x${D6(f,I).toString(16)};`,h=fw.lastIndex+=Number(($&64512)===55296)}return R+f.substr(h)}function Q1(f,R){return function h(A){let I,$=0,P="";while(I=f.exec(A)){if($!==I.index)P+=A.substring($,I.index);P+=R.get(I[0].charCodeAt(0)),$=I.index+1}return P+A.substring($)}}var M6=Q1(/[&<>'"]/g,Rw),q1=Q1(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),g1=Q1(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));var hw;(function(f){f[f.XML=0]="XML",f[f.HTML=1]="HTML"})(hw||(hw={}));var Aw;(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"})(Aw||(Aw={}));var Iw=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])),$w=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 V6=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function X6(f){return f.replace(/"/g,"&quot;")}function Z6(f,R){var h;if(!f)return;let A=((h=R.encodeEntities)!==null&&h!==void 0?h:R.decodeEntities)===!1?X6:R.xmlMode||R.encodeEntities!=="utf8"?h0:q1;return Object.keys(f).map((I)=>{var $,P;let U=($=f[I])!==null&&$!==void 0?$:"";if(R.xmlMode==="foreign")I=(P=$w.get(I))!==null&&P!==void 0?P:I;if(!R.emptyAttrs&&!R.xmlMode&&U==="")return I;return`${I}="${A(U)}"`}).join(" ")}var Pw=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function Wh(f,R={}){let h="length"in f?f:[f],A="";for(let I=0;I<h.length;I++)A+=J6(h[I],R);return A}function J6(f,R){switch(f.type){case NH:return Wh(f.children,R);case XH:case SH:return q6(f);case WH:return B6(f);case VH:return y6(f);case YH:case DH:case MH:return Q6(f,R);case GH:return g6(f,R)}}var z6=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),L6=new Set(["svg","math"]);function Q6(f,R){var h;if(R.xmlMode==="foreign"){if(f.name=(h=Iw.get(f.name))!==null&&h!==void 0?h:f.name,f.parent&&z6.has(f.parent.name))R={...R,xmlMode:!1}}if(!R.xmlMode&&L6.has(f.name))R={...R,xmlMode:"foreign"};let A=`<${f.name}`,I=Z6(f.attribs,R);if(I)A+=` ${I}`;if(f.children.length===0&&(R.xmlMode?R.selfClosingTags!==!1:R.selfClosingTags&&Pw.has(f.name))){if(!R.xmlMode)A+=" ";A+="/>"}else{if(A+=">",f.children.length>0)A+=Wh(f.children,R);if(R.xmlMode||!Pw.has(f.name))A+=`</${f.name}>`}return A}function q6(f){return`<${f.data}>`}function g6(f,R){var h;let A=f.data||"";if(((h=R.encodeEntities)!==null&&h!==void 0?h:R.decodeEntities)!==!1&&!(!R.xmlMode&&f.parent&&V6.has(f.parent.name)))A=R.xmlMode||R.encodeEntities!=="utf8"?h0(A):g1(A);return A}function y6(f){return`<![CDATA[${f.children[0].data}]]>`}function B6(f){return`<!--${f.data}-->`}function Uw(f,R){let h=new $1(void 0,R);return new L1(h,R).end(f),h.root}var O1=_(Ew(),1);function m1(f,R,h=()=>{return}){if(f===void 0){let A=function(...I){return R(A,...I)};return A}if(f>=0)return function(...A){return R(m1(f-1,R,h),...A)};return h}function Yw(f,R){let h=0,A=f.length;while(h<A&&f[h]===R)++h;while(A>h&&f[A-1]===R)--A;return h>0||A<f.length?f.substring(h,A):f}function r6(f,R){let h=f.length;while(h>0&&f[h-1]===R)--h;return h<f.length?f.substring(0,h):f}function x6(f){return f.replace(/[\s\S]/g,(R)=>"\\u"+R.charCodeAt().toString(16).padStart(4,"0"))}function Dw(f,R){let h=new Map;for(let A=f.length;A-- >0;){let I=f[A],$=R(I);h.set($,h.has($)?O1.default(I,h.get($),{arrayMerge:_6}):I)}return[...h.values()].reverse()}var _6=(f,R,h)=>[...R];function sR(f,R){for(let h of R){if(!f)return;f=f[h]}return f}function Nw(f,R="a",h=26){let A=[];do f-=1,A.push(f%h),f=f/h>>0;while(f>0);let I=R.charCodeAt(0);return A.reverse().map(($)=>String.fromCharCode(I+$)).join("")}var y1=["I","X","C","M"],Gw=["V","L","D"];function Sw(f){return[...f+""].map((R)=>+R).reverse().map((R,h)=>R%5<4?(R<5?"":Gw[h])+y1[h].repeat(R%5):y1[h]+(R<5?Gw[h]:y1[h+1])).reverse().join("")}class s1{constructor(f,R=void 0){this.lines=[],this.nextLineWords=[],this.maxLineLength=R||f.wordwrap||Number.MAX_VALUE,this.nextLineAvailableChars=this.maxLineLength,this.wrapCharacters=sR(f,["longWordSplit","wrapCharacters"])||[],this.forceWrapOnLimit=sR(f,["longWordSplit","forceWrapOnLimit"])||!1,this.stashedSpace=!1,this.wordBreakOpportunity=!1}pushWord(f,R=!1){if(this.nextLineAvailableChars<=0&&!R)this.startNewLine();let h=this.nextLineWords.length===0,A=f.length+(h?0:1);if(A<=this.nextLineAvailableChars||R)this.nextLineWords.push(f),this.nextLineAvailableChars-=A;else{let[I,...$]=this.splitLongWord(f);if(!h)this.startNewLine();this.nextLineWords.push(I),this.nextLineAvailableChars-=I.length;for(let P of $)this.startNewLine(),this.nextLineWords.push(P),this.nextLineAvailableChars-=P.length}}popWord(){let f=this.nextLineWords.pop();if(f!==void 0){let R=this.nextLineWords.length===0,h=f.length+(R?0:1);this.nextLineAvailableChars+=h}return f}concatWord(f,R=!1){if(this.wordBreakOpportunity&&f.length>this.nextLineAvailableChars)this.pushWord(f,R),this.wordBreakOpportunity=!1;else{let h=this.popWord();this.pushWord(h?h.concat(f):f,R)}}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 R=[],h=0;while(f.length>this.maxLineLength){let A=f.substring(0,this.maxLineLength),I=f.substring(this.maxLineLength),$=A.lastIndexOf(this.wrapCharacters[h]);if($>-1)f=A.substring($+1)+I,R.push(A.substring(0,$+1));else if(h++,h<this.wrapCharacters.length)f=A+I;else{if(this.forceWrapOnLimit){if(R.push(A),f=I,f.length>this.maxLineLength)continue}else f=A+I;break}}return R.push(f),R}}class CR{constructor(f=null){this.next=f}getRoot(){return this.next?this.next:this}}class Qf extends CR{constructor(f,R=null,h=1,A=void 0){super(R);this.leadingLineBreaks=h,this.inlineTextBuilder=new s1(f,A),this.rawText="",this.stashedLineBreaks=0,this.isPre=R&&R.isPre,this.isNoWrap=R&&R.isNoWrap}}class B1 extends Qf{constructor(f,R=null,{interRowLineBreaks:h=1,leadingLineBreaks:A=2,maxLineLength:I=void 0,maxPrefixLength:$=0,prefixAlign:P="left"}={}){super(f,R,A,I);this.maxPrefixLength=$,this.prefixAlign=P,this.interRowLineBreaks=h}}class ef extends Qf{constructor(f,R=null,{leadingLineBreaks:h=1,maxLineLength:A=void 0,prefix:I=""}={}){super(f,R,h,A);this.prefix=I}}class T1 extends CR{constructor(f=null){super(f);this.rows=[],this.isPre=f&&f.isPre,this.isNoWrap=f&&f.isNoWrap}}class K1 extends CR{constructor(f=null){super(f);this.cells=[],this.isPre=f&&f.isPre,this.isNoWrap=f&&f.isNoWrap}}class of extends CR{constructor(f,R=null,h=void 0){super(R);this.inlineTextBuilder=new s1(f,h),this.rawText="",this.stashedLineBreaks=0,this.isPre=R&&R.isPre,this.isNoWrap=R&&R.isNoWrap}}class Mw extends CR{constructor(f=null,R){super(f);this.transform=R}}function a6(f){return[...f].map((R)=>"\\u"+R.charCodeAt(0).toString(16).padStart(4,"0")).join("")}class Vw{constructor(f){this.whitespaceChars=f.preserveNewlines?f.whitespaceCharacters.replace(/\n/g,""):f.whitespaceCharacters;let R=a6(this.whitespaceChars);if(this.leadingWhitespaceRe=new RegExp(`^[${R}]`),this.trailingWhitespaceRe=new RegExp(`[${R}]\$`),this.allWhitespaceOrEmptyRe=new RegExp(`^[${R}]*\$`),this.newlineOrNonWhitespaceRe=new RegExp(`(\\n|[^\\n${R}])`,"g"),this.newlineOrNonNewlineStringRe=new RegExp("(\\n|[^\\n]+)","g"),f.preserveNewlines){let h=new RegExp(`\\n|[^\\n${R}]+`,"gm");this.shrinkWrapAdd=function(A,I,$=(U)=>U,P=!1){if(!A)return;let U=I.stashedSpace,H=!1,F=h.exec(A);if(F){if(H=!0,F[0]==="\n")I.startNewLine();else if(U||this.testLeadingWhitespace(A))I.pushWord($(F[0]),P);else I.concatWord($(F[0]),P);while((F=h.exec(A))!==null)if(F[0]==="\n")I.startNewLine();else I.pushWord($(F[0]),P)}I.stashedSpace=U&&!H||this.testTrailingWhitespace(A)}}else{let h=new RegExp(`[^${R}]+`,"g");this.shrinkWrapAdd=function(A,I,$=(U)=>U,P=!1){if(!A)return;let U=I.stashedSpace,H=!1,F=h.exec(A);if(F){if(H=!0,U||this.testLeadingWhitespace(A))I.pushWord($(F[0]),P);else I.concatWord($(F[0]),P);while((F=h.exec(A))!==null)I.pushWord($(F[0]),P)}I.stashedSpace=U&&!H||this.testTrailingWhitespace(A)}}}addLiteral(f,R,h=!0){if(!f)return;let A=R.stashedSpace,I=!1,$=this.newlineOrNonNewlineStringRe.exec(f);if($){if(I=!0,$[0]==="\n")R.startNewLine();else if(A)R.pushWord($[0],h);else R.concatWord($[0],h);while(($=this.newlineOrNonNewlineStringRe.exec(f))!==null)if($[0]==="\n")R.startNewLine();else R.pushWord($[0],h)}R.stashedSpace=A&&!I}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 R=0,h;while((h=this.newlineOrNonWhitespaceRe.exec(f))!==null)if(h[0]==="\n")R++;else return 0;return R}}class Xw{constructor(f,R,h=void 0){this.options=f,this.picker=R,this.metadata=h,this.whitespaceProcessor=new Vw(f),this._stackItem=new Qf(f),this._wordTransformer=void 0}pushWordTransform(f){this._wordTransformer=new Mw(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?(h)=>Zw(h,this._wordTransformer):void 0,R=this.options.encodeCharacters;return f?R?(h)=>R(f(h)):f:R}_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:R=!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 h=this.whitespaceProcessor.countNewlinesNoWords(f);if(h>0){this._stackItem.inlineTextBuilder.startNewLine(h);return}}if(this._stackItem.stashedLineBreaks)this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks);this.whitespaceProcessor.shrinkWrapAdd(f,this._stackItem.inlineTextBuilder,R?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:R=0,isPre:h=!1}={}){let A=Math.max(20,this._stackItem.inlineTextBuilder.maxLineLength-R);if(this._stackItem=new Qf(this.options,this._stackItem,f,A),h)this._stackItem.isPre=!0}closeBlock({trailingLineBreaks:f=1,blockTransform:R=void 0}={}){let h=this._popStackItem(),A=R?R(FR(h)):FR(h);A0(this._stackItem,A,h.leadingLineBreaks,Math.max(h.stashedLineBreaks,f))}openList({maxPrefixLength:f=0,prefixAlign:R="left",interRowLineBreaks:h=1,leadingLineBreaks:A=2}={}){this._stackItem=new B1(this.options,this._stackItem,{interRowLineBreaks:h,leadingLineBreaks:A,maxLineLength:this._stackItem.inlineTextBuilder.maxLineLength,maxPrefixLength:f,prefixAlign:R})}openListItem({prefix:f=""}={}){if(!(this._stackItem instanceof B1))throw new Error("Can\'t add a list item to something that is not a list! Check the formatter.");let R=this._stackItem,h=Math.max(f.length,R.maxPrefixLength),A=Math.max(20,R.inlineTextBuilder.maxLineLength-h);this._stackItem=new ef(this.options,R,{prefix:f,maxLineLength:A,leadingLineBreaks:R.interRowLineBreaks})}closeListItem(){let f=this._popStackItem(),R=f.next,h=Math.max(f.prefix.length,R.maxPrefixLength),A="\n"+" ".repeat(h),$=(R.prefixAlign==="right"?f.prefix.padStart(h):f.prefix.padEnd(h))+FR(f).replace(/\n/g,A);A0(R,$,f.leadingLineBreaks,Math.max(f.stashedLineBreaks,R.interRowLineBreaks))}closeList({trailingLineBreaks:f=2}={}){let R=this._popStackItem(),h=FR(R);if(h)A0(this._stackItem,h,R.leadingLineBreaks,f)}openTable(){this._stackItem=new T1(this._stackItem)}openTableRow(){if(!(this._stackItem instanceof T1))throw new Error("Can\'t add a table row to something that is not a table! Check the formatter.");this._stackItem=new K1(this._stackItem)}openTableCell({maxColumnWidth:f=void 0}={}){if(!(this._stackItem instanceof K1))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:R=1}={}){let h=this._popStackItem(),A=Yw(FR(h),"\n");h.next.cells.push({colspan:f,rowspan:R,text:A})}closeTableRow(){let f=this._popStackItem();f.next.rows.push(f.cells)}closeTable({tableToString:f,leadingLineBreaks:R=2,trailingLineBreaks:h=2}){let A=this._popStackItem(),I=f(A.rows);if(I)A0(this._stackItem,I,R,h)}toString(){return FR(this._stackItem.getRoot())}}function FR(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 A0(f,R,h,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 I=FR(f),$=Math.max(f.stashedLineBreaks,h);if(f.inlineTextBuilder.clear(),I)f.rawText=I+"\n".repeat($)+R;else f.rawText=R,f.leadingLineBreaks=$;f.stashedLineBreaks=A}function Zw(f,R){return R?Zw(R.transform(f),R.next):f}function i6(f={}){let R=f.selectors.filter((P)=>!P.format);if(R.length)throw new Error("Following selectors have no specified format: "+R.map((P)=>`\`${P.selector}\``).join(", "));let h=new nA(f.selectors.map((P)=>[P.selector,P])).build(X1);if(typeof f.encodeCharacters!=="function")f.encodeCharacters=n6(f.encodeCharacters);let A=new nA(f.baseElements.selectors.map((P,U)=>[P,U+1])).build(X1);function I(P){return e6(P,f,A)}let $=m1(f.limits.maxDepth,o6,function(P,U){U.addInline(f.limits.ellipsis||"")});return function(P,U=void 0){return p6(P,U,f,h,I,$)}}function p6(f,R,h,A,I,$){let P=h.limits.maxInputLength;if(P&&f&&f.length>P)console.warn(`Input length ${f.length} is above allowed limit of ${P}. Truncating without ellipsis.`),f=f.substring(0,P);let U=Uw(f,{decodeEntities:h.decodeEntities}),H=I(U.children),F=new Xw(h,A,R);return $(H,F),F.toString()}function e6(f,R,h){let A=[];function I(P,U){U=U.slice(0,R.limits.maxChildNodes);for(let H of U){if(H.type!=="tag")continue;let F=h.pick1(H);if(F>0)A.push({selectorIndex:F,element:H});else if(H.children)P(H.children);if(A.length>=R.limits.maxBaseElements)return}}if(m1(R.limits.maxDepth,I)(f),R.baseElements.orderBy!=="occurrence")A.sort((P,U)=>P.selectorIndex-U.selectorIndex);return R.baseElements.returnDomByDefault&&A.length===0?f:A.map((P)=>P.element)}function o6(f,R,h){if(!R)return;let A=h.options;if(R.length>A.limits.maxChildNodes)R=R.slice(0,A.limits.maxChildNodes),R.push({data:A.limits.ellipsis,type:"text"});for(let $ of R)switch($.type){case"text":{h.addInline($.data);break}case"tag":{let P=h.picker.pick1($),U=A.formatters[P.format];U($,f,h,P.options||{});break}}return}function n6(f){if(!f||Object.keys(f).length===0)return;let R=Object.entries(f).filter(([,$])=>$!==!1),h=new RegExp(R.map(([$])=>`(${x6([...$][0])})`).join("|"),"g"),A=R.map(([,$])=>$),I=($,...P)=>A[P.findIndex((U)=>U)];return($)=>$.replace(h,I)}function u6(f,R,h,A){}function t6(f,R,h,A){h.addLiteral(A.string||"")}function fS(f,R,h,A){h.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),h.addLiteral(A.string||""),h.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function RS(f,R,h,A){R(f.children,h)}function hS(f,R,h,A){h.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),R(f.children,h),h.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function Jw(f){let R=f.attribs&&f.attribs.length?" "+Object.entries(f.attribs).map(([h,A])=>A===""?h:`${h}=${A.replace(/"/g,"&quot;")}`).join(" "):"";return`<${f.name}${R}>`}function zw(f){return`</${f.name}>`}function AS(f,R,h,A){h.startNoWrap(),h.addLiteral(Jw(f)),h.stopNoWrap(),R(f.children,h),h.startNoWrap(),h.addLiteral(zw(f)),h.stopNoWrap()}function IS(f,R,h,A){h.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),h.startNoWrap(),h.addLiteral(Jw(f)),h.stopNoWrap(),R(f.children,h),h.startNoWrap(),h.addLiteral(zw(f)),h.stopNoWrap(),h.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function $S(f,R,h,A){h.startNoWrap(),h.addLiteral(Wh(f,{decodeEntities:h.options.decodeEntities})),h.stopNoWrap()}function PS(f,R,h,A){h.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),h.startNoWrap(),h.addLiteral(Wh(f,{decodeEntities:h.options.decodeEntities})),h.stopNoWrap(),h.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function US(f,R,h,A){h.addLiteral(A.prefix||""),R(f.children,h),h.addLiteral(A.suffix||"")}var HS=Object.freeze({__proto__:null,block:hS,blockHtml:PS,blockString:fS,blockTag:IS,inline:RS,inlineHtml:$S,inlineString:t6,inlineSurround:US,inlineTag:AS,skip:u6});function I0(f,R){if(!f[R])f[R]=[];return f[R]}function wS(f,R=0){while(f[R])R++;return R}function FS(f,R){for(let h=0;h<R;h++){let A=I0(f,h);for(let I=0;I<h;I++){let $=I0(f,I);if(A[I]||$[h]){let P=A[I];A[I]=$[h],$[h]=P}}}}function ES(f,R,h,A){for(let I=0;I<f.rowspan;I++){let $=I0(R,h+I);for(let P=0;P<f.colspan;P++)$[A+P]=f}}function v1(f,R){if(f[R]===void 0)f[R]=R===0?0:1+v1(f,R-1);return f[R]}function Ww(f,R,h,A){f[R+h]=Math.max(v1(f,R+h),v1(f,R)+A)}function NS(f,R,h){let A=[],I=0,$=f.length,P=[0];for(let F=0;F<$;F++){let N=I0(A,F),W=f[F],V=0;for(let S=0;S<W.length;S++){let L=W[S];V=wS(N,V),ES(L,A,F,V),V+=L.colspan,L.lines=L.text.split("\n");let K=L.lines.length;Ww(P,F,L.rowspan,K+R)}I=N.length>I?N.length:I}FS(A,$>I?$:I);let U=[],H=[0];for(let F=0;F<I;F++){let N=0,W,V=Math.min($,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=P[N]+L;U[Af]=(U[Af]||"").padEnd(H[F])+K,S=K.length>S?K.length:S}Ww(H,F,W.colspan,S+h),W.rendered=!0}N+=W.rowspan}else{let S=P[N];U[S]=U[S]||"",N++}}return U.join("\n")}function GS(f,R,h,A){h.addLineBreak()}function SS(f,R,h,A){h.addWordBreakOpportunity()}function WS(f,R,h,A){h.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),h.addInline("-".repeat(A.length||h.options.wordwrap||40)),h.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function YS(f,R,h,A){h.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),R(f.children,h),h.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function DS(f,R,h,A){h.openBlock({isPre:!0,leadingLineBreaks:A.leadingLineBreaks||2}),R(f.children,h),h.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function MS(f,R,h,A){if(h.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),A.uppercase!==!1)h.pushWordTransform((I)=>I.toUpperCase()),R(f.children,h),h.popWordTransform();else R(f.children,h);h.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function VS(f,R,h,A){h.openBlock({leadingLineBreaks:A.leadingLineBreaks||2,reservedLineLength:2}),R(f.children,h),h.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2,blockTransform:(I)=>(A.trimEmptyLines!==!1?Yw(I,"\n"):I).split("\n").map(($)=>"> "+$).join("\n")})}function j1(f,R){if(!R)return f;let h=typeof R[0]==="string"?R[0]:"[",A=typeof R[1]==="string"?R[1]:"]";return h+f+A}function Lw(f,R,h,A,I){let $=typeof R==="function"?R(f,A,I):f;return $[0]==="/"&&h?r6(h,"/")+$:$}function XS(f,R,h,A){let I=f.attribs||{},$=I.alt?I.alt:"",P=!I.src?"":Lw(I.src,A.pathRewrite,A.baseUrl,h.metadata,f),U=!P?$:!$?j1(P,A.linkBrackets):$+" "+j1(P,A.linkBrackets);h.addInline(U,{noWordTransform:!0})}function ZS(f,R,h,A){function I(){if(A.ignoreHref)return"";if(!f.attribs||!f.attribs.href)return"";let P=f.attribs.href.replace(/^mailto:/,"");if(A.noAnchorUrl&&P[0]==="#")return"";return P=Lw(P,A.pathRewrite,A.baseUrl,h.metadata,f),P}let $=I();if(!$)R(f.children,h);else{let P="";if(h.pushWordTransform((H)=>{if(H)P+=H;return H}),R(f.children,h),h.popWordTransform(),!(A.hideLinkHrefIfSameAsText&&$===P))h.addInline(!P?$:" "+j1($,A.linkBrackets),{noWordTransform:!0})}}function Qw(f,R,h,A,I){let $=sR(f,["parent","name"])==="li",P=0,U=(f.children||[]).filter((H)=>H.type!=="text"||!/^\s*$/.test(H.data)).map(function(H){if(H.name!=="li")return{node:H,prefix:""};let F=$?I().trimStart():I();if(F.length>P)P=F.length;return{node:H,prefix:F}});if(!U.length)return;h.openList({interRowLineBreaks:1,leadingLineBreaks:$?1:A.leadingLineBreaks||2,maxPrefixLength:P,prefixAlign:"left"});for(let{node:H,prefix:F}of U)h.openListItem({prefix:F}),R([H],h),h.closeListItem();h.closeList({trailingLineBreaks:$?1:A.trailingLineBreaks||2})}function JS(f,R,h,A){let I=A.itemPrefix||" * ";return Qw(f,R,h,A,()=>I)}function zS(f,R,h,A){let I=Number(f.attribs.start||"1"),$=LS(f.attribs.type);return Qw(f,R,h,A,()=>" "+$(I++)+". ")}function LS(f="1"){switch(f){case"a":return(R)=>Nw(R,"a");case"A":return(R)=>Nw(R,"A");case"i":return(R)=>Sw(R).toLowerCase();case"I":return(R)=>Sw(R);case"1":default:return(R)=>R.toString()}}function QS(f){let R=[],h=[];for(let A of f)if(A.startsWith("."))R.push(A.substring(1));else if(A.startsWith("#"))h.push(A.substring(1));return{classes:R,ids:h}}function qS(f,R){if(R===!0)return!0;if(!f)return!1;let{classes:h,ids:A}=QS(R),I=(f.class||"").split(" "),$=(f.id||"").split(" ");return I.some((P)=>h.includes(P))||$.some((P)=>A.includes(P))}function gS(f,R,h,A){return qS(f.attribs,h.options.tables)?qw(f,R,h,A):yS(f,R,h,A)}function yS(f,R,h,A){h.openBlock({leadingLineBreaks:A.leadingLineBreaks}),R(f.children,h),h.closeBlock({trailingLineBreaks:A.trailingLineBreaks})}function qw(f,R,h,A){h.openTable(),f.children.forEach($),h.closeTable({tableToString:(P)=>NS(P,A.rowSpacing??0,A.colSpacing??3),leadingLineBreaks:A.leadingLineBreaks,trailingLineBreaks:A.trailingLineBreaks});function I(P){let U=+sR(P,["attribs","colspan"])||1,H=+sR(P,["attribs","rowspan"])||1;h.openTableCell({maxColumnWidth:A.maxColumnWidth}),R(P.children,h),h.closeTableCell({colspan:U,rowspan:H})}function $(P){if(P.type!=="tag")return;let U=A.uppercaseHeaderCells!==!1?(H)=>{h.pushWordTransform((F)=>F.toUpperCase()),I(H),h.popWordTransform()}:I;switch(P.name){case"thead":case"tbody":case"tfoot":case"center":P.children.forEach($);return;case"tr":{h.openTableRow();for(let H of P.children){if(H.type!=="tag")continue;switch(H.name){case"th":{U(H);break}case"td":{I(H);break}}}h.closeTableRow();break}}}}var BS=Object.freeze({__proto__:null,anchor:ZS,blockquote:VS,dataTable:qw,heading:MS,horizontalLine:WS,image:XS,lineBreak:GS,orderedList:zS,paragraph:YS,pre:DS,table:gS,unorderedList:JS,wbr:SS}),TS={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},KS=(f,R,h)=>[...f,...R],gw=(f,R,h)=>[...R],vS=(f,R,h)=>f.some((A)=>typeof A==="object")?KS(f,R):gw(f,R);function jS(f={}){return f=O1.default(TS,f,{arrayMerge:gw,customMerge:(R)=>R==="selectors"?vS:void 0}),f.formatters=Object.assign({},HS,BS,f.formatters),f.selectors=Dw(f.selectors,(R)=>R.selector),OS(f),i6(f)}function C1(f,R={},h=void 0){return jS(R)(f,h)}function OS(f){if(f.tags){let h=Object.entries(f.tags).map(([A,I])=>({...I,selector:A||"*"}));f.selectors.push(...h),f.selectors=Dw(f.selectors,(A)=>A.selector)}function R(h,A,I){let $=A.pop();for(let P of A){let U=h[P];if(!U)U={},h[P]=U;h=U}h[$]=I}if(f.baseElement){let h=f.baseElement;R(f,["baseElements","selectors"],Array.isArray(h)?h:[h])}if(f.returnDomByDefault!==void 0)R(f,["baseElements","returnDomByDefault"],f.returnDomByDefault);for(let h of f.selectors)if(h.format==="anchor"&&sR(h,["options","noLinkBrackets"]))R(h,["options","linkBrackets"],!1)}var mF=_(TF(),1);import{Writable as rY}from"stream";var{defineProperty:sY,getOwnPropertySymbols:KF}=Object,CY=Object.prototype.hasOwnProperty,lY=Object.prototype.propertyIsEnumerable,vF=(f,R,h)=>(R in f)?sY(f,R,{enumerable:!0,configurable:!0,writable:!0,value:h}):f[R]=h,PI=(f,R)=>{for(var h in R||(R={}))if(CY.call(R,h))vF(f,h,R[h]);if(KF){for(var h of KF(R))if(lY.call(R,h))vF(f,h,R[h])}return f},UI=(f,R,h)=>{return new Promise((A,I)=>{var $=(H)=>{try{U(h.next(H))}catch(F){I(F)}},P=(H)=>{try{U(h.throw(H))}catch(F){I(F)}},U=(H)=>H.done?A(H.value):Promise.resolve(H.value).then($,P);U((h=h.apply(f,R)).next())})},cY={unformatted:["code","pre","em","strong","span"],indent_inner_html:!0,indent_char:" ",indent_size:2,sep:"\n"},dY=(f,R={})=>{return mF.default.html(f,PI(PI({},cY),R))},kY=[{selector:"img",format:"skip"},{selector:"#__react-email-preview",format:"skip"},{selector:"a",options:{linkBrackets:!1}}];var jF=new TextDecoder("utf-8"),OF=(f)=>UI(void 0,null,function*(){let R="";if("pipeTo"in f){let h=new WritableStream({write(A){R+=jF.decode(A)}});yield f.pipeTo(h)}else{let h=new rY({write(A,I,$){R+=jF.decode(A),$()}});return f.pipe(h),new Promise((A,I)=>{h.on("error",I),h.on("close",()=>{A(R)})})}return R}),W0=(f,R)=>UI(void 0,null,function*(){let{default:h}=yield import("react-dom/server"),A;if(Object.hasOwn(h,"renderToReadableStream"))A=yield OF(yield h.renderToReadableStream(f));else yield new Promise((P,U)=>{let H=h.renderToPipeableStream(f,{onAllReady(){return UI(this,null,function*(){A=yield OF(H),P()})},onError(F){U(F)}})});if(R==null?void 0:R.plainText)return C1(A,PI({selectors:kY},R.htmlToTextOptions));let $=`${'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'}${A.replace(/<!DOCTYPE.*?>/,"")}`;if(R==null?void 0:R.pretty)return dY($);return $});var{defineProperty:xY,defineProperties:_Y,getOwnPropertyDescriptors:aY,getOwnPropertySymbols:sF}=Object,iY=Object.prototype.hasOwnProperty,pY=Object.prototype.propertyIsEnumerable,CF=(f,R,h)=>(R in f)?xY(f,R,{enumerable:!0,configurable:!0,writable:!0,value:h}):f[R]=h,yh=(f,R)=>{for(var h in R||(R={}))if(iY.call(R,h))CF(f,h,R[h]);if(sF){for(var h of sF(R))if(pY.call(R,h))CF(f,h,R[h])}return f},eY=(f,R)=>_Y(f,aY(R)),T=(f,R,h)=>{return new Promise((A,I)=>{var $=(H)=>{try{U(h.next(H))}catch(F){I(F)}},P=(H)=>{try{U(h.throw(H))}catch(F){I(F)}},U=(H)=>H.done?A(H.value):Promise.resolve(H.value).then($,P);U((h=h.apply(f,R)).next())})},oY="3.5.0",nY=class{constructor(f){this.resend=f}create(f){return T(this,arguments,function*(R,h={}){return yield this.resend.post("/api-keys",R,h)})}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}`)})}},uY=class{constructor(f){this.resend=f}create(f){return T(this,arguments,function*(R,h={}){return yield this.resend.post("/audiences",R,h)})}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}`)})}},tY=class{constructor(f){this.resend=f}send(f){return T(this,arguments,function*(R,h={}){return this.create(R,h)})}create(f){return T(this,arguments,function*(R,h={}){for(let I of R)if(I.react)I.html=yield W0(I.react),delete I.react;return yield this.resend.post("/emails/batch",R,h)})}},fD=class{constructor(f){this.resend=f}create(f){return T(this,arguments,function*(R,h={}){return yield this.resend.post(`/audiences/${R.audienceId}/contacts`,{unsubscribed:R.unsubscribed,email:R.email,first_name:R.firstName,last_name:R.lastName},h)})}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}`)})}},RD=class{constructor(f){this.resend=f}create(f){return T(this,arguments,function*(R,h={}){return yield this.resend.post("/domains",R,h)})}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`)})}},hD=class{constructor(f){this.resend=f}send(f){return T(this,arguments,function*(R,h={}){return this.create(R,h)})}create(f){return T(this,arguments,function*(R,h={}){if(R.react)R.html=yield W0(R.react),delete R.react;return yield this.resend.post("/emails",R,h)})}get(f){return T(this,null,function*(){return yield this.resend.get(`/emails/${f}`)})}},lF="https://api.resend.com",bF=`resend-node:${oY}`,AD=typeof process!=="undefined"&&process.env?process.env.RESEND_BASE_URL||lF:lF,ID=typeof process!=="undefined"&&process.env?process.env.RESEND_USER_AGENT||bF:bF,cF=class{constructor(f){if(this.key=f,this.apiKeys=new nY(this),this.audiences=new uY(this),this.batch=new tY(this),this.contacts=new fD(this),this.domains=new RD(this),this.emails=new hD(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":ID,"Content-Type":"application/json"})}fetchRequest(f){return T(this,arguments,function*(R,h={}){try{let A=yield fetch(`${AD}${R}`,h);if(!A.ok)try{let $=yield A.text();return{data:null,error:JSON.parse($)}}catch($){if($ 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 P={message:A.statusText,name:"application_error"};if($ instanceof Error)return{data:null,error:eY(yh({},P),{message:$.message})};return{data:null,error:P}}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,R){return T(this,arguments,function*(h,A,I={}){let $=yh({method:"POST",headers:this.headers,body:JSON.stringify(A)},I);return this.fetchRequest(h,$)})}get(f){return T(this,arguments,function*(R,h={}){let A=yh({method:"GET",headers:this.headers},h);return this.fetchRequest(R,A)})}put(f,R){return T(this,arguments,function*(h,A,I={}){let $=yh({method:"PUT",headers:this.headers,body:JSON.stringify(A)},I);return this.fetchRequest(h,$)})}patch(f,R){return T(this,arguments,function*(h,A,I={}){let $=yh({method:"PATCH",headers:this.headers,body:JSON.stringify(A)},I);return this.fetchRequest(h,$)})}delete(f,R){return T(this,null,function*(){let h={method:"DELETE",headers:this.headers,body:JSON.stringify(R)};return this.fetchRequest(f,h)})}};class Y0{}class D0 extends Y0{f;constructor(f=process.env.RESEND_API_KEY){super();this.apiKey=f}async send(f){let R=new cF(this.apiKey),{data:h,error:A}=await R.emails.send({...f});if(A)return console.error(A),!1;if(h)return!0}}class dF extends $f{driver=new D0;boot(){}}class kF extends $f{channels={};boot(){}}class rF extends $f{root;rootRouter;boot(){}onRequestStart(f){}onRequestEnd(f){}onRequestFail(f,R){}}class xF extends $f{rootRouter;boot(){return"Origin"}onRequestStart(f){}onRequestEnd(f){}onRequestFail(f,R){}}class _F extends $f{maxFileSize=10485760;boot(){}onLogFileClosed(f){}onLogCreated(f){}}class aF extends $f{jobs=[];concurrency=1;boot(){}}class pF{static name="unset";worker=!1;maxAttempts=3;run(f){}onFail(f,R){}onSuccess(f,R){}onDeadletter(f){}static dispatch(...f){if(this.name==="unset")throw new Error("Cannot dispatch a job with no name");iF.use().push(this,JSON.stringify(f))}}export{rF as ViewRouterServiceProvider,wH as S3Driver,D0 as ResendDriver,FH as RateLimiterServiceProvider,sA as RateLimiterDriver,aF as QueueServiceProvider,_F as LoggingServiceProvider,pF as Job,CA as InMemoryRateLimiter,Kh as FileSystemDriver,HI as FileStorageServiceProvider,SR as FileStorageDriver,dF as EmailServiceProvider,Y0 as EmailDriver,kF as BroadcastingServiceProvider,xF as ApiRouterServiceProvider};export{HI as F,xF as G,FH as H,dF as I,kF as J,rF as K,_F as L,aF as M};
4
4
 
5
- //# debugId=CEB70CEC5414228764756E2164756E21
5
+ //# debugId=CFBC00945FCA9CBB64756E2164756E21