gemi 0.8.1 → 0.8.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 (43) hide show
  1. package/dist/bin/index.js +212 -232
  2. package/dist/chunk-18ce9t29.js +4 -0
  3. package/dist/{chunk-taxjvwa6.js.map → chunk-18ce9t29.js.map} +5 -5
  4. package/dist/{chunk-cbt3v889.js → chunk-471zprvy.js} +2 -2
  5. package/dist/{chunk-cbt3v889.js.map → chunk-471zprvy.js.map} +1 -1
  6. package/dist/chunk-686d5sc0.js +5 -0
  7. package/dist/{chunk-vq90tfsz.js.map → chunk-686d5sc0.js.map} +5 -5
  8. package/dist/{chunk-t2aat5vw.js → chunk-8mg4frr6.js} +1 -1
  9. package/dist/{chunk-9aaqjzzf.js → chunk-9hs4hzpr.js} +2 -2
  10. package/dist/{chunk-9aaqjzzf.js.map → chunk-9hs4hzpr.js.map} +1 -1
  11. package/dist/chunk-dgbadcr8.js +4 -0
  12. package/dist/{chunk-j1cwwmg0.js.map → chunk-dgbadcr8.js.map} +2 -2
  13. package/dist/{chunk-q11xg1z2.js → chunk-fe0yca19.js} +2 -2
  14. package/dist/{chunk-f3qyx9ah.js → chunk-pvqj4vwf.js} +1 -1
  15. package/dist/chunk-rbxbvagv.js +4 -0
  16. package/dist/{chunk-2g6dyn68.js.map → chunk-rbxbvagv.js.map} +4 -4
  17. package/dist/chunk-vegenqty.js +20 -0
  18. package/dist/{chunk-bs1xyw0h.js.map → chunk-vegenqty.js.map} +12 -10
  19. package/dist/chunk-xckygssg.js +4 -0
  20. package/dist/{chunk-9s54rg4n.js.map → chunk-xckygssg.js.map} +4 -4
  21. package/dist/{chunk-tc3amtc4.js → chunk-zvwbevjc.js} +1 -1
  22. package/dist/client/Mutation.d.ts +1 -1
  23. package/dist/client/Mutation.d.ts.map +1 -1
  24. package/dist/client/_Form.d.ts +1 -1
  25. package/dist/client/_Form.d.ts.map +1 -1
  26. package/dist/client/index.js +4977 -4512
  27. package/dist/client/index.js.map +1 -1
  28. package/dist/kernel/index.js +1 -1
  29. package/dist/services/index.js +6 -6
  30. package/dist/services/index.js.map +6 -6
  31. package/dist/services/router/ViewRouterServiceProvider.d.ts +2 -1
  32. package/dist/services/router/ViewRouterServiceProvider.d.ts.map +1 -1
  33. package/package.json +5 -3
  34. package/dist/chunk-2g6dyn68.js +0 -4
  35. package/dist/chunk-9s54rg4n.js +0 -4
  36. package/dist/chunk-bs1xyw0h.js +0 -20
  37. package/dist/chunk-j1cwwmg0.js +0 -4
  38. package/dist/chunk-taxjvwa6.js +0 -4
  39. package/dist/chunk-vq90tfsz.js +0 -5
  40. /package/dist/{chunk-t2aat5vw.js.map → chunk-8mg4frr6.js.map} +0 -0
  41. /package/dist/{chunk-q11xg1z2.js.map → chunk-fe0yca19.js.map} +0 -0
  42. /package/dist/{chunk-f3qyx9ah.js.map → chunk-pvqj4vwf.js.map} +0 -0
  43. /package/dist/{chunk-tc3amtc4.js.map → chunk-zvwbevjc.js.map} +0 -0
@@ -1,14 +1,14 @@
1
1
  // @bun
2
- import{q as vH}from"../chunk-q11xg1z2.js";import{A as oH,B as x1,C as a1,D as i1,E as _1,F as pH,G as LH,H as ZH,I as VH,J as JH,K as nH,L as uH,M as e1,N as af,O as tH,P as yH,Q as QH,R as fU,S as qH,T as hU,U as SA,V as TH,W as dA,X as mH,Y as BH,Z as bH,_ as dH,r as aR,s as xH,t as aH,u as iH,v as _H,w as hh,x as Rh,y as lA,z as o0}from"../chunk-bs1xyw0h.js";import{$ as Zf,aa as gH}from"../chunk-9aaqjzzf.js";import{Aa as sf,Ca as Ih,Fa as jf,Ga as n3,Ha as x,Ia as u3,Ja as Jh,Ka as hR,Ma as wR,Na as ih,Oa as h$,Pa as qf,Qa as W$,Ra as XH,Sa as zH,Ta as rH,Ua as cH,Wa as TA,Xa as l,Za as M$,ba as CH,ca as lH,da as Rf,ea as _R,fa as CR,ia as oh,ja as Mf,ka as sH,la as iR,ma as eH,na as NH,oa as FH,pa as GH,qa as Xh,ra as MH,sa as YH,ta as uR,ua as a,va as DH,wa as cP,xa as bP,ya as g$,za as xf}from"../chunk-vq90tfsz.js";import"../chunk-cfsd9356.js";import{hb as LS}from"../chunk-t098k1va.js";import"../chunk-mezq16t3.js";import"../chunk-8h7xg91g.js";import{rb as x8}from"../chunk-259ezewy.js";import{tb as vR}from"../chunk-04mpmtfe.js";import{vb as e8,wb as $W}from"../facades/index.js";import{Hb as _}from"../http/index.js";import"../chunk-gn96qav8.js";import"../chunk-4x4tep45.js";import{Zb as IS}from"../chunk-a8bwm1yn.js";import{$b as C,_b as c}from"../chunk-yp5mh81v.js";var HE=C((iZ,$E)=>{var B6=function f(h){return v6(h)&&!K6(h)};function v6(f){return!!f&&typeof f==="object"}function K6(f){var h=Object.prototype.toString.call(f);return h==="[object RegExp]"||h==="[object Date]"||C6(f)}var j6=typeof Symbol==="function"&&Symbol.for,O6=j6?Symbol.for("react.element"):60103;function C6(f){return f.$$typeof===O6}function l6(f){return Array.isArray(f)?[]:{}}function MR(f,h){return h.clone!==!1&&h.isMergeableObject(f)?Oh(l6(f),f,h):f}function r6(f,h,R){return f.concat(h).map(function(A){return MR(A,R)})}function c6(f,h){if(!h.customMerge)return Oh;var R=h.customMerge(f);return typeof R==="function"?R:Oh}function b6(f){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(f).filter(function(h){return Object.propertyIsEnumerable.call(f,h)}):[]}function IE(f){return Object.keys(f).concat(b6(f))}function PE(f,h){try{return h in f}catch(R){return!1}}function d6(f,h){return PE(f,h)&&!(Object.hasOwnProperty.call(f,h)&&Object.propertyIsEnumerable.call(f,h))}function k6(f,h,R){var A={};if(R.isMergeableObject(f))IE(f).forEach(function(w){A[w]=MR(f[w],R)});return IE(h).forEach(function(w){if(d6(f,w))return;if(PE(f,w)&&R.isMergeableObject(h[w]))A[w]=c6(w,R)(f[w],h[w],R);else A[w]=MR(h[w],R)}),A}function Oh(f,h,R){R=R||{},R.arrayMerge=R.arrayMerge||r6,R.isMergeableObject=R.isMergeableObject||B6,R.cloneUnlessOtherwiseSpecified=MR;var A=Array.isArray(h),w=Array.isArray(f),I=A===w;if(!I)return MR(h,R);else if(A)return R.arrayMerge(f,h,R);else return k6(f,h,R)}Oh.all=function f(h,R){if(!Array.isArray(h))throw new Error("first argument should be an array");return h.reduce(function(A,w){return Oh(A,w,R)},{})};var x6=Oh;$E.exports=x6});var G0=C((CG,VE)=>{function t(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=[]}t.prototype.clone_empty=function(){var f=new t(this.__parent);return f.set_indent(this.__indent_count,this.__alignment_count),f};t.prototype.item=function(f){if(f<0)return this.__items[this.__items.length+f];else return this.__items[f]};t.prototype.has_match=function(f){for(var h=this.__items.length-1;h>=0;h--)if(this.__items[h].match(f))return!0;return!1};t.prototype.set_indent=function(f,h){if(this.is_empty())this.__indent_count=f||0,this.__alignment_count=h||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count)};t.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};t.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};t.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};t.prototype.is_empty=function(){return this.__items.length===0};t.prototype.last=function(){if(!this.is_empty())return this.__items[this.__items.length-1];else return null};t.prototype.push=function(f){this.__items.push(f);var h=f.lastIndexOf("\n");if(h!==-1)this.__character_count=f.length-h;else this.__character_count+=f.length};t.prototype.pop=function(){var f=null;if(!this.is_empty())f=this.__items.pop(),this.__character_count-=f.length;return f};t.prototype._remove_indent=function(){if(this.__indent_count>0)this.__indent_count-=1,this.__character_count-=this.__parent.indent_size};t.prototype._remove_wrap_indent=function(){if(this.__wrap_point_indent_count>0)this.__wrap_point_indent_count-=1};t.prototype.trim=function(){while(this.last()===" ")this.__items.pop(),this.__character_count-=1};t.prototype.toString=function(){var f="";if(this.is_empty()){if(this.__parent.indent_empty_lines)f=this.__parent.get_indent_string(this.__indent_count)}else f=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),f+=this.__items.join("");return f};function YR(f,h){if(this.__cache=[""],this.__indent_size=f.indent_size,this.__indent_string=f.indent_char,!f.indent_with_tabs)this.__indent_string=new Array(f.indent_size+1).join(f.indent_char);if(h=h||"",f.indent_level>0)h=new Array(f.indent_level+1).join(this.__indent_string);this.__base_string=h,this.__base_string_length=h.length}YR.prototype.get_indent_size=function(f,h){var R=this.__base_string_length;if(h=h||0,f<0)R=0;return R+=f*this.__indent_size,R+=h,R};YR.prototype.get_indent_string=function(f,h){var R=this.__base_string;if(h=h||0,f<0)f=0,R="";return h+=f*this.__indent_size,this.__ensure_cache(h),R+=this.__cache[h],R};YR.prototype.__ensure_cache=function(f){while(f>=this.__cache.length)this.__add_column()};YR.prototype.__add_column=function(){var f=this.__cache.length,h=0,R="";if(this.__indent_size&&f>=this.__indent_size)h=Math.floor(f/this.__indent_size),f-=h*this.__indent_size,R=new Array(h+1).join(this.__indent_string);if(f)R+=new Array(f+1).join(" ");this.__cache.push(R)};function ff(f,h){this.__indent_cache=new YR(f,h),this.raw=!1,this._end_with_newline=f.end_with_newline,this.indent_size=f.indent_size,this.wrap_line_length=f.wrap_line_length,this.indent_empty_lines=f.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new t(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}ff.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)};ff.prototype.get_line_number=function(){return this.__lines.length};ff.prototype.get_indent_string=function(f,h){return this.__indent_cache.get_indent_string(f,h)};ff.prototype.get_indent_size=function(f,h){return this.__indent_cache.get_indent_size(f,h)};ff.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()};ff.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};ff.prototype.get_code=function(f){this.trim(!0);var h=this.current_line.pop();if(h){if(h[h.length-1]==="\n")h=h.replace(/\n+$/g,"");this.current_line.push(h)}if(this._end_with_newline)this.__add_outputline();var R=this.__lines.join("\n");if(f!=="\n")R=R.replace(/[\n]/g,f);return R};ff.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()};ff.prototype.set_indent=function(f,h){if(f=f||0,h=h||0,this.next_line.set_indent(f,h),this.__lines.length>1)return this.current_line.set_indent(f,h),!0;return this.current_line.set_indent(),!1};ff.prototype.add_raw_token=function(f){for(var h=0;h<f.newlines;h++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(f.whitespace_before),this.current_line.push(f.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1};ff.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()};ff.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(" ")}};ff.prototype.remove_indent=function(f){var h=this.__lines.length;while(f<h)this.__lines[f]._remove_indent(),f++;this.current_line._remove_wrap_indent()};ff.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};ff.prototype.just_added_newline=function(){return this.current_line.is_empty()};ff.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()};ff.prototype.ensure_empty_line_above=function(f,h){var R=this.__lines.length-2;while(R>=0){var A=this.__lines[R];if(A.is_empty())break;else if(A.item(0).indexOf(f)!==0&&A.item(-1)!==h){this.__lines.splice(R+1,0,new t(this)),this.previous_line=this.__lines[this.__lines.length-2];break}R--}};CG.Output=ff});var $I=C((cG,JE)=>{function rG(f,h,R,A){this.type=f,this.text=h,this.comments_before=null,this.newlines=R||0,this.whitespace_before=A||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}cG.Token=rG});var EI=C((xG)=>{var dG="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",yE="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",HI="\\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",QE="\\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",UI="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",qE="(?:"+UI+"|["+dG+HI+"])",kG="(?:"+UI+"|["+yE+HI+QE+"])*";xG.identifier=new RegExp(qE+kG,"g");xG.identifierStart=new RegExp(qE);xG.identifierMatch=new RegExp("(?:"+UI+"|["+yE+HI+QE+"])+");xG.newline=/[\n\r\u2028\u2029]/;xG.lineBreak=new RegExp("\r\n|"+xG.newline.source);xG.allLineBreaks=new RegExp(xG.lineBreak.source,"g")});var g0=C((oG,D0)=>{function nf(f,h){if(this.raw_options=BE(f,h),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),!this.preserve_newlines)this.max_preserve_newlines=0;if(this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char==="\t"),this.indent_with_tabs){if(this.indent_char="\t",this.indent_size===1)this.indent_size=4}this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}nf.prototype._get_array=function(f,h){var R=this.raw_options[f],A=h||[];if(typeof R==="object"){if(R!==null&&typeof R.concat==="function")A=R.concat()}else if(typeof R==="string")A=R.split(/[^a-zA-Z0-9_\/\-]+/);return A};nf.prototype._get_boolean=function(f,h){var R=this.raw_options[f],A=R===void 0?!!h:!!R;return A};nf.prototype._get_characters=function(f,h){var R=this.raw_options[f],A=h||"";if(typeof R==="string")A=R.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t");return A};nf.prototype._get_number=function(f,h){var R=this.raw_options[f];if(h=parseInt(h,10),isNaN(h))h=0;var A=parseInt(R,10);if(isNaN(A))A=h;return A};nf.prototype._get_selection=function(f,h,R){var A=this._get_selection_list(f,h,R);if(A.length!==1)throw new Error("Invalid Option Value: The option '"+f+"' can only be one of the following values:\n"+h+"\nYou passed in: '"+this.raw_options[f]+"'");return A[0]};nf.prototype._get_selection_list=function(f,h,R){if(!h||h.length===0)throw new Error("Selection list cannot be empty.");if(R=R||[h[0]],!this._is_valid_selection(R,h))throw new Error("Invalid Default Value!");var A=this._get_array(f,R);if(!this._is_valid_selection(A,h))throw new Error("Invalid Option Value: The option '"+f+"' can contain only the following values:\n"+h+"\nYou passed in: '"+this.raw_options[f]+"'");return A};nf.prototype._is_valid_selection=function(f,h){return f.length&&h.length&&!f.some(function(R){return h.indexOf(R)===-1})};function BE(f,h){var R={};f=vE(f);var A;for(A in f)if(A!==h)R[A]=f[A];if(h&&f[h])for(A in f[h])R[A]=f[h][A];return R}function vE(f){var h={},R;for(R in f){var A=R.replace(/-/g,"_");h[A]=f[R]}return h}oG.Options=nf;oG.normalizeOpts=vE;oG.mergeOpts=BE});var SI=C((fD,OE)=>{var KE=g0().Options,tG=["before-newline","after-newline","preserve-newline"];function jE(f){KE.call(this,f,"js");var h=this.raw_options.brace_style||null;if(h==="expand-strict")this.raw_options.brace_style="expand";else if(h==="collapse-preserve-inline")this.raw_options.brace_style="collapse,preserve-inline";else if(this.raw_options.braces_on_own_line!==void 0)this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse";var R=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var A=0;A<R.length;A++)if(R[A]==="preserve-inline")this.brace_preserve_inline=!0;else this.brace_style=R[A];if(this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",tG),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy)this.space_after_anon_function=!0}jE.prototype=new KE;fD.Options=jE});var W0=C((RD,lE)=>{var CE=RegExp.prototype.hasOwnProperty("sticky");function wf(f){this.__input=f||"",this.__input_length=this.__input.length,this.__position=0}wf.prototype.restart=function(){this.__position=0};wf.prototype.back=function(){if(this.__position>0)this.__position-=1};wf.prototype.hasNext=function(){return this.__position<this.__input_length};wf.prototype.next=function(){var f=null;if(this.hasNext())f=this.__input.charAt(this.__position),this.__position+=1;return f};wf.prototype.peek=function(f){var h=null;if(f=f||0,f+=this.__position,f>=0&&f<this.__input_length)h=this.__input.charAt(f);return h};wf.prototype.__match=function(f,h){f.lastIndex=h;var R=f.exec(this.__input);if(R&&!(CE&&f.sticky)){if(R.index!==h)R=null}return R};wf.prototype.test=function(f,h){if(h=h||0,h+=this.__position,h>=0&&h<this.__input_length)return!!this.__match(f,h);else return!1};wf.prototype.testChar=function(f,h){var R=this.peek(h);return f.lastIndex=0,R!==null&&f.test(R)};wf.prototype.match=function(f){var h=this.__match(f,this.__position);if(h)this.__position+=h[0].length;else h=null;return h};wf.prototype.read=function(f,h,R){var A="",w;if(f){if(w=this.match(f),w)A+=w[0]}if(h&&(w||!f))A+=this.readUntil(h,R);return A};wf.prototype.readUntil=function(f,h){var R="",A=this.__position;f.lastIndex=this.__position;var w=f.exec(this.__input);if(w){if(A=w.index,h)A+=w[0].length}else A=this.__input_length;return R=this.__input.substring(this.__position,A),this.__position=A,R};wf.prototype.readUntilAfter=function(f){return this.readUntil(f,!0)};wf.prototype.get_regexp=function(f,h){var R=null,A="g";if(h&&CE)A="y";if(typeof f==="string"&&f!=="")R=new RegExp(f,A);else if(f)R=new RegExp(f.source,A);return R};wf.prototype.get_literal_regexp=function(f){return RegExp(f.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))};wf.prototype.peekUntilAfter=function(f){var h=this.__position,R=this.readUntilAfter(f);return this.__position=h,R};wf.prototype.lookBack=function(f){var h=this.__position-1;return h>=f.length&&this.__input.substring(h-f.length,h).toLowerCase()===f};RD.InputScanner=wf});var cE=C((wD,rE)=>{function Sh(f){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=f}Sh.prototype.restart=function(){this.__position=0};Sh.prototype.isEmpty=function(){return this.__tokens_length===0};Sh.prototype.hasNext=function(){return this.__position<this.__tokens_length};Sh.prototype.next=function(){var f=null;if(this.hasNext())f=this.__tokens[this.__position],this.__position+=1;return f};Sh.prototype.peek=function(f){var h=null;if(f=f||0,f+=this.__position,f>=0&&f<this.__tokens_length)h=this.__tokens[f];return h};Sh.prototype.add=function(f){if(this.__parent_token)f.parent=this.__parent_token;this.__tokens.push(f),this.__tokens_length+=1};wD.TokenStream=Sh});var XR=C((PD,bE)=>{function mf(f,h){if(this._input=f,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,h)this._starting_pattern=this._input.get_regexp(h._starting_pattern,!0),this._match_pattern=this._input.get_regexp(h._match_pattern,!0),this._until_pattern=this._input.get_regexp(h._until_pattern),this._until_after=h._until_after}mf.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};mf.prototype.read_match=function(){return this._input.match(this._match_pattern)};mf.prototype.until_after=function(f){var h=this._create();return h._until_after=!0,h._until_pattern=this._input.get_regexp(f),h._update(),h};mf.prototype.until=function(f){var h=this._create();return h._until_after=!1,h._until_pattern=this._input.get_regexp(f),h._update(),h};mf.prototype.starting_with=function(f){var h=this._create();return h._starting_pattern=this._input.get_regexp(f,!0),h._update(),h};mf.prototype.matching=function(f){var h=this._create();return h._match_pattern=this._input.get_regexp(f,!0),h._update(),h};mf.prototype._create=function(){return new mf(this._input,this)};mf.prototype._update=function(){};PD.Pattern=mf});var xE=C((HD,kE)=>{var dE=XR().Pattern;function uf(f,h){if(dE.call(this,f,h),h)this._line_regexp=this._input.get_regexp(h._line_regexp);else this.__set_whitespace_patterns("","");this.newline_count=0,this.whitespace_before_token=""}uf.prototype=new dE;uf.prototype.__set_whitespace_patterns=function(f,h){f+="\\t ",h+="\\n\\r",this._match_pattern=this._input.get_regexp("["+f+h+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+h+"]")};uf.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var f=this._input.read(this._match_pattern);if(f===" ")this.whitespace_before_token=" ";else if(f){var h=this.__split(this._newline_regexp,f);this.newline_count=h.length-1,this.whitespace_before_token=h[this.newline_count]}return f};uf.prototype.matching=function(f,h){var R=this._create();return R.__set_whitespace_patterns(f,h),R._update(),R};uf.prototype._create=function(){return new uf(this._input,this)};uf.prototype.__split=function(f,h){f.lastIndex=0;var R=0,A=[],w=f.exec(h);while(w)A.push(h.substring(R,w.index)),R=w.index+w[0].length,w=f.exec(h);if(R<h.length)A.push(h.substring(R,h.length));else A.push("");return A};HD.WhitespacePattern=uf});var LR=C((sD,NI)=>{var ED=W0().InputScanner,aE=$I().Token,sI=cE().TokenStream,SD=xE().WhitespacePattern,zR={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},Bf=function(f,h){this._input=new ED(f),this._options=h||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new SD(this._input)};Bf.prototype.tokenize=function(){this._input.restart(),this.__tokens=new sI,this._reset();var f,h=new aE(zR.START,""),R=null,A=[],w=new sI;while(h.type!==zR.EOF){f=this._get_next_token(h,R);while(this._is_comment(f))w.add(f),f=this._get_next_token(h,R);if(!w.isEmpty())f.comments_before=w,w=new sI;if(f.parent=R,this._is_opening(f))A.push(R),R=f;else if(R&&this._is_closing(f,R))f.opened=R,R.closed=f,R=A.pop(),f.parent=R;f.previous=h,h.next=f,this.__tokens.add(f),h=f}return this.__tokens};Bf.prototype._is_first_token=function(){return this.__tokens.isEmpty()};Bf.prototype._reset=function(){};Bf.prototype._get_next_token=function(f,h){this._readWhitespace();var R=this._input.read(/.+/g);if(R)return this._create_token(zR.RAW,R);else return this._create_token(zR.EOF,"")};Bf.prototype._is_comment=function(f){return!1};Bf.prototype._is_opening=function(f){return!1};Bf.prototype._is_closing=function(f,h){return!1};Bf.prototype._create_token=function(f,h){var R=new aE(f,h,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return R};Bf.prototype._readWhitespace=function(){return this._patterns.whitespace.read()};sD.Tokenizer=Bf;sD.TOKEN=zR});var M0=C((GD,iE)=>{function FI(f,h){f=typeof f==="string"?f:f.source,h=typeof h==="string"?h:h.source,this.__directives_block_pattern=new RegExp(f+/ beautify( \w+[:]\w+)+ /.source+h,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(f+/\sbeautify\signore:end\s/.source+h,"g")}FI.prototype.get_directives=function(f){if(!f.match(this.__directives_block_pattern))return null;var h={};this.__directive_pattern.lastIndex=0;var R=this.__directive_pattern.exec(f);while(R)h[R[1]]=R[2],R=this.__directive_pattern.exec(f);return h};FI.prototype.readIgnored=function(f){return f.readUntilAfter(this.__directives_end_ignore_pattern)};GD.Directives=FI});var gI=C((gD,_E)=>{var GI=XR().Pattern,DI={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function Qf(f,h){if(GI.call(this,f,h),this.__template_pattern=null,this._disabled=Object.assign({},DI),this._excluded=Object.assign({},DI),h)this.__template_pattern=this._input.get_regexp(h.__template_pattern),this._excluded=Object.assign(this._excluded,h._excluded),this._disabled=Object.assign(this._disabled,h._disabled);var R=new GI(f);this.__patterns={handlebars_comment:R.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:R.starting_with(/{{{/).until_after(/}}}/),handlebars:R.starting_with(/{{/).until_after(/}}/),php:R.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:R.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:R.starting_with(/{%/).until_after(/%}/),django_value:R.starting_with(/{{/).until_after(/}}/),django_comment:R.starting_with(/{#/).until_after(/#}/),smarty:R.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:R.starting_with(/{\*/).until_after(/\*}/),smarty_literal:R.starting_with(/{literal}/).until_after(/{\/literal}/)}}Qf.prototype=new GI;Qf.prototype._create=function(){return new Qf(this._input,this)};Qf.prototype._update=function(){this.__set_templated_pattern()};Qf.prototype.disable=function(f){var h=this._create();return h._disabled[f]=!0,h._update(),h};Qf.prototype.read_options=function(f){var h=this._create();for(var R in DI)h._disabled[R]=f.templating.indexOf(R)===-1;return h._update(),h};Qf.prototype.exclude=function(f){var h=this._create();return h._excluded[f]=!0,h._update(),h};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 h=this._read_template();while(h){if(this._match_pattern)h+=this._input.read(this._match_pattern);else h+=this._input.readUntil(this.__template_pattern);f+=h,h=this._read_template()}if(this._until_after)f+=this._input.readUntilAfter(this._until_pattern);return f};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="",h=this._input.peek();if(h==="<"){var R=this._input.peek(1);if(!this._disabled.php&&!this._excluded.php&&R==="?")f=f||this.__patterns.php.read();if(!this._disabled.erb&&!this._excluded.erb&&R==="%")f=f||this.__patterns.erb.read()}else if(h==="{"){if(!this._disabled.handlebars&&!this._excluded.handlebars)f=f||this.__patterns.handlebars_comment.read(),f=f||this.__patterns.handlebars_unescaped.read(),f=f||this.__patterns.handlebars.read();if(!this._disabled.django){if(!this._excluded.django&&!this._excluded.handlebars)f=f||this.__patterns.django_value.read();if(!this._excluded.django)f=f||this.__patterns.django_comment.read(),f=f||this.__patterns.django.read()}if(!this._disabled.smarty){if(this._disabled.django&&this._disabled.handlebars)f=f||this.__patterns.smarty_comment.read(),f=f||this.__patterns.smarty_literal.read(),f=f||this.__patterns.smarty.read()}}return f};gD.TemplatablePattern=Qf});var VR=C((mD,ZR)=>{var MD=W0().InputScanner,oE=LR().Tokenizer,WI=LR().TOKEN,YD=M0().Directives,Xf=EI(),XD=XR().Pattern,zD=gI().TemplatablePattern;function MI(f,h){return h.indexOf(f)!==-1}var g={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:WI.START,RAW:WI.RAW,EOF:WI.EOF},eE=new YD(/\/\*/,/\*\//),LD=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,ZD=/[0-9]/,VD=/[^\d\.]/,JD=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),sh=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";sh=sh.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&");sh="\\?\\.(?!\\d) "+sh;sh=sh.replace(/ /g,"|");var yD=new RegExp(sh),pE="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),QD=pE.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),qD=new RegExp("^(?:"+QD.join("|")+")$"),Y0,hf=function(f,h){oE.call(this,f,h),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var R=new XD(this._input),A=new zD(this._input).read_options(this._options);this.__patterns={template:A,identifier:A.starting_with(Xf.identifier).matching(Xf.identifierMatch),number:R.matching(LD),punct:R.matching(yD),comment:R.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:R.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:R.matching(/<!--/),html_comment_end:R.matching(/-->/),include:R.starting_with(/#include/).until_after(Xf.lineBreak),shebang:R.starting_with(/#!/).until_after(Xf.lineBreak),xml:R.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:A.until(/['\\\n\r\u2028\u2029]/),double_quote:A.until(/["\\\n\r\u2028\u2029]/),template_text:A.until(/[`\\$]/),template_expression:A.until(/[`}\\]/)}};hf.prototype=new oE;hf.prototype._is_comment=function(f){return f.type===g.COMMENT||f.type===g.BLOCK_COMMENT||f.type===g.UNKNOWN};hf.prototype._is_opening=function(f){return f.type===g.START_BLOCK||f.type===g.START_EXPR};hf.prototype._is_closing=function(f,h){return(f.type===g.END_BLOCK||f.type===g.END_EXPR)&&(h&&(f.text==="]"&&h.text==="["||f.text===")"&&h.text==="("||f.text==="}"&&h.text==="{"))};hf.prototype._reset=function(){Y0=!1};hf.prototype._get_next_token=function(f,h){var R=null;this._readWhitespace();var A=this._input.peek();if(A===null)return this._create_token(g.EOF,"");return R=R||this._read_non_javascript(A),R=R||this._read_string(A),R=R||this._read_pair(A,this._input.peek(1)),R=R||this._read_word(f),R=R||this._read_singles(A),R=R||this._read_comment(A),R=R||this._read_regexp(A,f),R=R||this._read_xml(A,f),R=R||this._read_punctuation(),R=R||this._create_token(g.UNKNOWN,this._input.next()),R};hf.prototype._read_word=function(f){var h=this.__patterns.identifier.read();if(h!==""){if(h=h.replace(Xf.allLineBreaks,"\n"),!(f.type===g.DOT||f.type===g.RESERVED&&(f.text==="set"||f.text==="get"))&&qD.test(h)){if((h==="in"||h==="of")&&(f.type===g.WORD||f.type===g.STRING))return this._create_token(g.OPERATOR,h);return this._create_token(g.RESERVED,h)}return this._create_token(g.WORD,h)}if(h=this.__patterns.number.read(),h!=="")return this._create_token(g.WORD,h)};hf.prototype._read_singles=function(f){var h=null;if(f==="("||f==="[")h=this._create_token(g.START_EXPR,f);else if(f===")"||f==="]")h=this._create_token(g.END_EXPR,f);else if(f==="{")h=this._create_token(g.START_BLOCK,f);else if(f==="}")h=this._create_token(g.END_BLOCK,f);else if(f===";")h=this._create_token(g.SEMICOLON,f);else if(f==="."&&VD.test(this._input.peek(1)))h=this._create_token(g.DOT,f);else if(f===",")h=this._create_token(g.COMMA,f);if(h)this._input.next();return h};hf.prototype._read_pair=function(f,h){var R=null;if(f==="#"&&h==="{")R=this._create_token(g.START_BLOCK,f+h);if(R)this._input.next(),this._input.next();return R};hf.prototype._read_punctuation=function(){var f=this.__patterns.punct.read();if(f!=="")if(f==="=")return this._create_token(g.EQUALS,f);else if(f==="?.")return this._create_token(g.DOT,f);else return this._create_token(g.OPERATOR,f)};hf.prototype._read_non_javascript=function(f){var h="";if(f==="#"){if(this._is_first_token()){if(h=this.__patterns.shebang.read(),h)return this._create_token(g.UNKNOWN,h.trim()+"\n")}if(h=this.__patterns.include.read(),h)return this._create_token(g.UNKNOWN,h.trim()+"\n");f=this._input.next();var R="#";if(this._input.hasNext()&&this._input.testChar(ZD)){do f=this._input.next(),R+=f;while(this._input.hasNext()&&f!=="#"&&f!=="=");if(f==="#");else if(this._input.peek()==="["&&this._input.peek(1)==="]")R+="[]",this._input.next(),this._input.next();else if(this._input.peek()==="{"&&this._input.peek(1)==="}")R+="{}",this._input.next(),this._input.next();return this._create_token(g.WORD,R)}this._input.back()}else if(f==="<"&&this._is_first_token()){if(h=this.__patterns.html_comment_start.read(),h){while(this._input.hasNext()&&!this._input.testChar(Xf.newline))h+=this._input.next();return Y0=!0,this._create_token(g.COMMENT,h)}}else if(Y0&&f==="-"){if(h=this.__patterns.html_comment_end.read(),h)return Y0=!1,this._create_token(g.COMMENT,h)}return null};hf.prototype._read_comment=function(f){var h=null;if(f==="/"){var R="";if(this._input.peek(1)==="*"){R=this.__patterns.block_comment.read();var A=eE.get_directives(R);if(A&&A.ignore==="start")R+=eE.readIgnored(this._input);R=R.replace(Xf.allLineBreaks,"\n"),h=this._create_token(g.BLOCK_COMMENT,R),h.directives=A}else if(this._input.peek(1)==="/")R=this.__patterns.comment.read(),h=this._create_token(g.COMMENT,R)}return h};hf.prototype._read_string=function(f){if(f==="`"||f==="'"||f==='"'){var h=this._input.next();if(this.has_char_escapes=!1,f==="`")h+=this._read_string_recursive("`",!0,"${");else h+=this._read_string_recursive(f);if(this.has_char_escapes&&this._options.unescape_strings)h=TD(h);if(this._input.peek()===f)h+=this._input.next();return h=h.replace(Xf.allLineBreaks,"\n"),this._create_token(g.STRING,h)}return null};hf.prototype._allow_regexp_or_xml=function(f){return f.type===g.RESERVED&&MI(f.text,["return","case","throw","else","do","typeof","yield"])||f.type===g.END_EXPR&&f.text===")"&&f.opened.previous.type===g.RESERVED&&MI(f.opened.previous.text,["if","while","for"])||MI(f.type,[g.COMMENT,g.START_EXPR,g.START_BLOCK,g.START,g.END_BLOCK,g.OPERATOR,g.EQUALS,g.EOF,g.SEMICOLON,g.COMMA])};hf.prototype._read_regexp=function(f,h){if(f==="/"&&this._allow_regexp_or_xml(h)){var R=this._input.next(),A=!1,w=!1;while(this._input.hasNext()&&((A||w||this._input.peek()!==f)&&!this._input.testChar(Xf.newline))){if(R+=this._input.peek(),!A){if(A=this._input.peek()==="\\",this._input.peek()==="[")w=!0;else if(this._input.peek()==="]")w=!1}else A=!1;this._input.next()}if(this._input.peek()===f)R+=this._input.next(),R+=this._input.read(Xf.identifier);return this._create_token(g.STRING,R)}return null};hf.prototype._read_xml=function(f,h){if(this._options.e4x&&f==="<"&&this._allow_regexp_or_xml(h)){var R="",A=this.__patterns.xml.read_match();if(A){var w=A[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),I=w.indexOf("{")===0,P=0;while(A){var $=!!A[1],H=A[2],U=!!A[A.length-1]||H.slice(0,8)==="![CDATA[";if(!U&&(H===w||I&&H.replace(/^{\s+/,"{").replace(/\s+}$/,"}")))if($)--P;else++P;if(R+=A[0],P<=0)break;A=this.__patterns.xml.read_match()}if(!A)R+=this._input.match(/[\s\S]*/g)[0];return R=R.replace(Xf.allLineBreaks,"\n"),this._create_token(g.STRING,R)}}return null};function TD(f){var h="",R=0,A=new MD(f),w=null;while(A.hasNext()){if(w=A.match(/([\s]|[^\\]|\\\\)+/g),w)h+=w[0];if(A.peek()==="\\"){if(A.next(),A.peek()==="x")w=A.match(/x([0-9A-Fa-f]{2})/g);else if(A.peek()==="u"){if(w=A.match(/u([0-9A-Fa-f]{4})/g),!w)w=A.match(/u\{([0-9A-Fa-f]+)\}/g)}else{if(h+="\\",A.hasNext())h+=A.next();continue}if(!w)return f;if(R=parseInt(w[1],16),R>126&&R<=255&&w[0].indexOf("x")===0)return f;else if(R>=0&&R<32)h+="\\"+w[0];else if(R>1114111)h+="\\"+w[0];else if(R===34||R===39||R===92)h+="\\"+String.fromCharCode(R);else h+=String.fromCharCode(R)}}return h}hf.prototype._read_string_recursive=function(f,h,R){var A,w;if(f==="\'")w=this.__patterns.single_quote;else if(f==='"')w=this.__patterns.double_quote;else if(f==="`")w=this.__patterns.template_text;else if(f==="}")w=this.__patterns.template_expression;var I=w.read(),P="";while(this._input.hasNext()){if(P=this._input.next(),P===f||!h&&Xf.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(R){if(R==="${"&&P==="$"&&this._input.peek()==="{")P+=this._input.next();if(R===P){if(f==="`")P+=this._read_string_recursive("}",h,"`");else P+=this._read_string_recursive("`",h,"${");if(this._input.hasNext())P+=this._input.next()}}P+=w.read(),I+=P}return I};mD.Tokenizer=hf;mD.TOKEN=g;mD.positionable_operators=JD.slice();mD.line_starters=pE.slice()});var f8=C((iD,tE)=>{var OD=G0().Output,CD=$I().Token,X0=EI(),lD=SI().Options,rD=VR().Tokenizer,qR=VR().line_starters,JR=VR().positionable_operators,E=VR().TOKEN;function z(f,h){return h.indexOf(f)!==-1}function cD(f){return f.replace(/^\s+/g,"")}function bD(f){var h={};for(var R=0;R<f.length;R++)h[f[R].replace(/-/g,"_")]=f[R];return h}function zf(f,h){return f&&f.type===E.RESERVED&&f.text===h}function v(f,h){return f&&f.type===E.RESERVED&&z(f.text,h)}var z0=["case","return","do","if","throw","else","await","break","continue","async"],dD=["before-newline","after-newline","preserve-newline"],yR=bD(dD),nE=[yR.before_newline,yR.preserve_newline],W={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function uE(f,h){if(h.multiline_frame||h.mode===W.ForInitializer||h.mode===W.Conditional)return;f.remove_indent(h.start_line_index)}function kD(f){f=f.replace(X0.allLineBreaks,"\n");var h=[],R=f.indexOf("\n");while(R!==-1)h.push(f.substring(0,R)),f=f.substring(R+1),R=f.indexOf("\n");if(f.length)h.push(f);return h}function tf(f){return f===W.ArrayLiteral}function QR(f){return z(f,[W.Expression,W.ForInitializer,W.Conditional])}function xD(f,h){for(var R=0;R<f.length;R++){var A=f[R].trim();if(A.charAt(0)!==h)return!1}return!0}function aD(f,h){var R=0,A=f.length,w;for(;R<A;R++)if(w=f[R],w&&w.indexOf(h)!==0)return!1;return!0}function y(f,h){h=h||{},this._source_text=f||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new lD(h)}y.prototype.create_flags=function(f,h){var R=0;if(f){if(R=f.indentation_level,!this._output.just_added_newline()&&f.line_indent_level>R)R=f.line_indent_level}var A={mode:h,parent:f,last_token:f?f.last_token:new CD(E.START_BLOCK,""),last_word:f?f.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:R,alignment:0,line_indent_level:f?f.line_indent_level:R,start_line_index:this._output.get_line_number(),ternary_depth:0};return A};y.prototype._reset=function(f){var h=f.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new OD(this._options,h),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(W.BlockStatement);var R=new rD(f,this._options);return this._tokens=R.tokenize(),f};y.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var f,h=this._reset(this._source_text),R=this._options.eol;if(this._options.eol==="auto"){if(R="\n",h&&X0.lineBreak.test(h||""))R=h.match(X0.lineBreak)[0]}var A=this._tokens.next();while(A)this.handle_token(A),this._last_last_text=this._flags.last_token.text,this._flags.last_token=A,A=this._tokens.next();return f=this._output.get_code(R),f};y.prototype.handle_token=function(f,h){if(f.type===E.START_EXPR)this.handle_start_expr(f);else if(f.type===E.END_EXPR)this.handle_end_expr(f);else if(f.type===E.START_BLOCK)this.handle_start_block(f);else if(f.type===E.END_BLOCK)this.handle_end_block(f);else if(f.type===E.WORD)this.handle_word(f);else if(f.type===E.RESERVED)this.handle_word(f);else if(f.type===E.SEMICOLON)this.handle_semicolon(f);else if(f.type===E.STRING)this.handle_string(f);else if(f.type===E.EQUALS)this.handle_equals(f);else if(f.type===E.OPERATOR)this.handle_operator(f);else if(f.type===E.COMMA)this.handle_comma(f);else if(f.type===E.BLOCK_COMMENT)this.handle_block_comment(f,h);else if(f.type===E.COMMENT)this.handle_comment(f,h);else if(f.type===E.DOT)this.handle_dot(f);else if(f.type===E.EOF)this.handle_eof(f);else if(f.type===E.UNKNOWN)this.handle_unknown(f,h);else this.handle_unknown(f,h)};y.prototype.handle_whitespace_and_comments=function(f,h){var R=f.newlines,A=this._options.keep_array_indentation&&tf(this._flags.mode);if(f.comments_before){var w=f.comments_before.next();while(w)this.handle_whitespace_and_comments(w,h),this.handle_token(w,h),w=f.comments_before.next()}if(A)for(var I=0;I<R;I+=1)this.print_newline(I>0,h);else{if(this._options.max_preserve_newlines&&R>this._options.max_preserve_newlines)R=this._options.max_preserve_newlines;if(this._options.preserve_newlines){if(R>1){this.print_newline(!1,h);for(var P=1;P<R;P+=1)this.print_newline(!0,h)}}}};var YI=["async","break","continue","return","throw","yield"];y.prototype.allow_wrap_or_preserved_newline=function(f,h){if(h=h===void 0?!1:h,this._output.just_added_newline())return;var R=this._options.preserve_newlines&&f.newlines||h,A=z(this._flags.last_token.text,JR)||z(f.text,JR);if(A){var w=z(this._flags.last_token.text,JR)&&z(this._options.operator_position,nE)||z(f.text,JR);R=R&&w}if(R)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(v(this._flags.last_token,YI))return;this._output.set_wrap_point()}};y.prototype.print_newline=function(f,h){if(!h){if(this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==E.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")){var R=this._tokens.peek();while(this._flags.mode===W.Statement&&!(this._flags.if_block&&zf(R,"else"))&&!this._flags.do_block)this.restore_mode()}}if(this._output.add_new_line(f))this._flags.multiline_frame=!0};y.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}};y.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===E.COMMA&&this._output.just_added_newline()){if(this._output.previous_line.last()===","){var h=this._output.previous_line.pop();if(this._output.previous_line.is_empty())this._output.previous_line.push(h),this._output.trim(!0),this._output.current_line.pop(),this._output.trim();this.print_token_line_indentation(f),this._output.add_token(","),this._output.space_before_token=!0}}if(this.print_token_line_indentation(f),this._output.non_breaking_space=!0,this._output.add_token(f.text),this._output.previous_token_wrapped)this._flags.multiline_frame=!0};y.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};y.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)};y.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)};y.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===W.Statement)uE(this._output,this._previous_flags);this._output.set_indent(this._flags.indentation_level,this._flags.alignment)}};y.prototype.start_of_object_property=function(){return this._flags.parent.mode===W.ObjectLiteral&&this._flags.mode===W.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||v(this._flags.last_token,["get","set"]))};y.prototype.start_of_statement=function(f){var h=!1;if(h=h||v(this._flags.last_token,["var","let","const"])&&f.type===E.WORD,h=h||zf(this._flags.last_token,"do"),h=h||!(this._flags.parent.mode===W.ObjectLiteral&&this._flags.mode===W.Statement)&&v(this._flags.last_token,YI)&&!f.newlines,h=h||zf(this._flags.last_token,"else")&&!(zf(f,"if")&&!f.comments_before),h=h||this._flags.last_token.type===E.END_EXPR&&(this._previous_flags.mode===W.ForInitializer||this._previous_flags.mode===W.Conditional),h=h||this._flags.last_token.type===E.WORD&&this._flags.mode===W.BlockStatement&&!this._flags.in_case&&!(f.text==="--"||f.text==="++")&&this._last_last_text!=="function"&&f.type!==E.WORD&&f.type!==E.RESERVED,h=h||this._flags.mode===W.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||v(this._flags.last_token,["get","set"])),h){if(this.set_mode(W.Statement),this.indent(),this.handle_whitespace_and_comments(f,!0),!this.start_of_object_property())this.allow_wrap_or_preserved_newline(f,v(f,["do","for","if","while"]));return!0}return!1};y.prototype.handle_start_expr=function(f){if(!this.start_of_statement(f))this.handle_whitespace_and_comments(f);var h=W.Expression;if(f.text==="["){if(this._flags.last_token.type===E.WORD||this._flags.last_token.text===")"){if(v(this._flags.last_token,qR))this._output.space_before_token=!0;if(this.print_token(f),this.set_mode(h),this.indent(),this._options.space_in_paren)this._output.space_before_token=!0;return}if(h=W.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,[E.START_EXPR,E.END_EXPR,E.WORD,E.OPERATOR,E.DOT]))this._output.space_before_token=!0}else{if(this._flags.last_token.type===E.RESERVED){if(this._flags.last_token.text==="for")this._output.space_before_token=this._options.space_before_conditional,h=W.ForInitializer;else if(z(this._flags.last_token.text,["if","while","switch"]))this._output.space_before_token=this._options.space_before_conditional,h=W.Conditional;else if(z(this._flags.last_word,["await","async"]))this._output.space_before_token=!0;else if(this._flags.last_token.text==="import"&&f.whitespace_before==="")this._output.space_before_token=!1;else if(z(this._flags.last_token.text,qR)||this._flags.last_token.text==="catch")this._output.space_before_token=!0}else if(this._flags.last_token.type===E.EQUALS||this._flags.last_token.type===E.OPERATOR){if(!this.start_of_object_property())this.allow_wrap_or_preserved_newline(f)}else if(this._flags.last_token.type===E.WORD){this._output.space_before_token=!1;var R=this._tokens.peek(-3);if(this._options.space_after_named_function&&R){var A=this._tokens.peek(-4);if(v(R,["async","function"])||R.text==="*"&&v(A,["async","function"]))this._output.space_before_token=!0;else if(this._flags.mode===W.ObjectLiteral){if(R.text==="{"||R.text===","||R.text==="*"&&(A.text==="{"||A.text===","))this._output.space_before_token=!0}else if(this._flags.parent&&this._flags.parent.class_start_block)this._output.space_before_token=!0}}else this.allow_wrap_or_preserved_newline(f);if(this._flags.last_token.type===E.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===W.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===E.START_BLOCK)this.print_newline();else if(this._flags.last_token.type===E.END_EXPR||this._flags.last_token.type===E.START_EXPR||this._flags.last_token.type===E.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===E.COMMA)this.allow_wrap_or_preserved_newline(f,f.newlines);if(this.print_token(f),this.set_mode(h),this._options.space_in_paren)this._output.space_before_token=!0;this.indent()};y.prototype.handle_end_expr=function(f){while(this._flags.mode===W.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===E.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(),uE(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===W.Conditional)this._previous_flags.mode=W.Expression,this._flags.do_block=!1,this._flags.do_while=!1};y.prototype.handle_start_block=function(f){this.handle_whitespace_and_comments(f);var h=this._tokens.peek(),R=this._tokens.peek(1);if(this._flags.last_word==="switch"&&this._flags.last_token.type===E.END_EXPR)this.set_mode(W.BlockStatement),this._flags.in_case_statement=!0;else if(this._flags.case_body)this.set_mode(W.BlockStatement);else if(R&&(z(R.text,[":",","])&&z(h.type,[E.STRING,E.WORD,E.RESERVED])||z(h.text,["get","set","..."])&&z(R.type,[E.WORD,E.RESERVED])))if(z(this._last_last_text,["class","interface"])&&!z(R.text,[":",","]))this.set_mode(W.BlockStatement);else this.set_mode(W.ObjectLiteral);else if(this._flags.last_token.type===E.OPERATOR&&this._flags.last_token.text==="=>")this.set_mode(W.BlockStatement);else if(z(this._flags.last_token.type,[E.EQUALS,E.START_EXPR,E.COMMA,E.OPERATOR])||v(this._flags.last_token,["return","throw","import","default"]))this.set_mode(W.ObjectLiteral);else this.set_mode(W.BlockStatement);if(this._flags.last_token){if(v(this._flags.last_token.previous,["class","extends"]))this._flags.class_start_block=!0}var A=!h.comments_before&&h.text==="}",w=A&&this._flags.last_word==="function"&&this._flags.last_token.type===E.END_EXPR;if(this._options.brace_preserve_inline){var I=0,P=null;this._flags.inline_frame=!0;do if(I+=1,P=this._tokens.peek(I-1),P.newlines){this._flags.inline_frame=!1;break}while(P.type!==E.EOF&&!(P.type===E.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!==E.OPERATOR&&(w||this._flags.last_token.type===E.EQUALS||v(this._flags.last_token,z0)&&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===E.START_EXPR||this._flags.last_token.type===E.COMMA)){if(this._flags.last_token.type===E.COMMA||this._options.space_in_paren)this._output.space_before_token=!0;if(this._flags.last_token.type===E.COMMA||this._flags.last_token.type===E.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!==E.OPERATOR&&this._flags.last_token.type!==E.START_EXPR)if(z(this._flags.last_token.type,[E.START_BLOCK,E.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()};y.prototype.handle_end_block=function(f){this.handle_whitespace_and_comments(f);while(this._flags.mode===W.Statement)this.restore_mode();var h=this._flags.last_token.type===E.START_BLOCK;if(this._flags.inline_frame&&!h)this._output.space_before_token=!0;else if(this._options.brace_style==="expand"){if(!h)this.print_newline()}else if(!h)if(tf(this._flags.mode)&&this._options.keep_array_indentation)this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0;else this.print_newline();this.restore_mode(),this.print_token(f)};y.prototype.handle_word=function(f){if(f.type===E.RESERVED){if(z(f.text,["set","get"])&&this._flags.mode!==W.ObjectLiteral)f.type=E.WORD;else if(f.text==="import"&&z(this._tokens.peek().text,["(","."]))f.type=E.WORD;else if(z(f.text,["as","from"])&&!this._flags.import_block)f.type=E.WORD;else if(this._flags.mode===W.ObjectLiteral){var h=this._tokens.peek();if(h.text===":")f.type=E.WORD}}if(this.start_of_statement(f)){if(v(this._flags.last_token,["var","let","const"])&&f.type===E.WORD)this._flags.declaration_statement=!0}else if(f.newlines&&!QR(this._flags.mode)&&(this._flags.last_token.type!==E.OPERATOR||(this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))&&this._flags.last_token.type!==E.EQUALS&&(this._options.preserve_newlines||!v(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(zf(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&&zf(f,"else"))this._flags.else_block=!0;else{while(this._flags.mode===W.Statement)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&v(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===E.COMMA||this._flags.last_token.type===E.START_EXPR||this._flags.last_token.type===E.EQUALS||this._flags.last_token.type===E.OPERATOR){if(!this.start_of_object_property()&&!(z(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===W.ObjectLiteral))this.allow_wrap_or_preserved_newline(f)}if(zf(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===E.OPERATOR)){if(!this._output.just_added_blankline()&&!f.comments_before)this.print_newline(),this.print_newline(!0)}if(this._flags.last_token.type===E.RESERVED||this._flags.last_token.type===E.WORD)if(v(this._flags.last_token,["get","set","new","export"])||v(this._flags.last_token,YI))this._output.space_before_token=!0;else if(zf(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===E.OPERATOR||this._flags.last_token.text==="=")this._output.space_before_token=!0;else if(!this._flags.multiline_frame&&(QR(this._flags.mode)||tf(this._flags.mode)));else this.print_newline();this.print_token(f),this._flags.last_word=f.text;return}var R="NONE";if(this._flags.last_token.type===E.END_BLOCK)if(this._previous_flags.inline_frame)R="SPACE";else if(!v(f,["else","catch","finally","from"]))R="NEWLINE";else if(this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&f.newlines)R="NEWLINE";else R="SPACE",this._output.space_before_token=!0;else if(this._flags.last_token.type===E.SEMICOLON&&this._flags.mode===W.BlockStatement)R="NEWLINE";else if(this._flags.last_token.type===E.SEMICOLON&&QR(this._flags.mode))R="SPACE";else if(this._flags.last_token.type===E.STRING)R="NEWLINE";else if(this._flags.last_token.type===E.RESERVED||this._flags.last_token.type===E.WORD||this._flags.last_token.text==="*"&&(z(this._last_last_text,["function","yield"])||this._flags.mode===W.ObjectLiteral&&z(this._last_last_text,["{",","])))R="SPACE";else if(this._flags.last_token.type===E.START_BLOCK)if(this._flags.inline_frame)R="SPACE";else R="NEWLINE";else if(this._flags.last_token.type===E.END_EXPR)this._output.space_before_token=!0,R="NEWLINE";if(v(f,qR)&&this._flags.last_token.text!==")")if(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export")R="SPACE";else R="NEWLINE";if(v(f,["else","catch","finally"]))if((!(this._flags.last_token.type===E.END_BLOCK&&this._previous_flags.mode===W.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&f.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var A=this._output.current_line;if(A.last()!=="}")this.print_newline();this._output.space_before_token=!0}else if(R==="NEWLINE"){if(v(this._flags.last_token,z0))this._output.space_before_token=!0;else if(this._flags.last_token.text==="declare"&&v(f,["var","let","const"]))this._output.space_before_token=!0;else if(this._flags.last_token.type!==E.END_EXPR){if((this._flags.last_token.type!==E.START_EXPR||!v(f,["var","let","const"]))&&this._flags.last_token.text!==":")if(zf(f,"if")&&zf(f.previous,"else"))this._output.space_before_token=!0;else this.print_newline()}else if(v(f,qR)&&this._flags.last_token.text!==")")this.print_newline()}else if(this._flags.multiline_frame&&tf(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}")this.print_newline();else if(R==="SPACE")this._output.space_before_token=!0;if(f.previous&&(f.previous.type===E.WORD||f.previous.type===E.RESERVED))this._output.space_before_token=!0;if(this.print_token(f),this._flags.last_word=f.text,f.type===E.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&&zf(f,"from"))this._flags.import_block=!1}};y.prototype.handle_semicolon=function(f){if(this.start_of_statement(f))this._output.space_before_token=!1;else this.handle_whitespace_and_comments(f);var h=this._tokens.peek();while(this._flags.mode===W.Statement&&!(this._flags.if_block&&zf(h,"else"))&&!this._flags.do_block)this.restore_mode();if(this._flags.import_block)this._flags.import_block=!1;this.print_token(f)};y.prototype.handle_string=function(f){if(f.text.startsWith("`")&&f.newlines===0&&f.whitespace_before===""&&(f.previous.text===")"||this._flags.last_token.type===E.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===E.RESERVED||this._flags.last_token.type===E.WORD||this._flags.inline_frame)this._output.space_before_token=!0;else if(this._flags.last_token.type===E.COMMA||this._flags.last_token.type===E.START_EXPR||this._flags.last_token.type===E.EQUALS||this._flags.last_token.type===E.OPERATOR){if(!this.start_of_object_property())this.allow_wrap_or_preserved_newline(f)}else if(f.text.startsWith("`")&&this._flags.last_token.type===E.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)};y.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};y.prototype.handle_comma=function(f){if(this.handle_whitespace_and_comments(f,!0),this.print_token(f),this._output.space_before_token=!0,this._flags.declaration_statement){if(QR(this._flags.parent.mode))this._flags.declaration_assignment=!1;if(this._flags.declaration_assignment)this._flags.declaration_assignment=!1,this.print_newline(!1,!0);else if(this._options.comma_first)this.allow_wrap_or_preserved_newline(f)}else if(this._flags.mode===W.ObjectLiteral||this._flags.mode===W.Statement&&this._flags.parent.mode===W.ObjectLiteral){if(this._flags.mode===W.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)};y.prototype.handle_operator=function(f){var h=f.text==="*"&&(v(this._flags.last_token,["function","yield"])||z(this._flags.last_token.type,[E.START_BLOCK,E.COMMA,E.END_BLOCK,E.SEMICOLON])),R=z(f.text,["-","+"])&&(z(this._flags.last_token.type,[E.START_BLOCK,E.START_EXPR,E.EQUALS,E.OPERATOR])||z(this._flags.last_token.text,qR)||this._flags.last_token.text===",");if(this.start_of_statement(f));else{var A=!h;this.handle_whitespace_and_comments(f,A)}if(f.text==="*"&&this._flags.last_token.type===E.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===E.OPERATOR&&z(this._options.operator_position,nE))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!==E.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 w=!0,I=!0,P=!1;if(f.text===":")if(this._flags.ternary_depth===0)w=!1;else this._flags.ternary_depth-=1,P=!0;else if(f.text==="?")this._flags.ternary_depth+=1;if(!R&&!h&&this._options.preserve_newlines&&z(f.text,JR)){var $=f.text===":",H=$&&P,U=$&&!P;switch(this._options.operator_position){case yR.before_newline:if(this._output.space_before_token=!U,this.print_token(f),!$||H)this.allow_wrap_or_preserved_newline(f);this._output.space_before_token=!0;return;case yR.after_newline:if(this._output.space_before_token=!0,!$||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 yR.preserve_newline:if(!U)this.allow_wrap_or_preserved_newline(f);w=!(this._output.just_added_newline()||U),this._output.space_before_token=w,this.print_token(f),this._output.space_before_token=!0;return}}if(h){this.allow_wrap_or_preserved_newline(f),w=!1;var s=this._tokens.peek();I=s&&z(s.type,[E.WORD,E.RESERVED])}else if(f.text==="...")this.allow_wrap_or_preserved_newline(f),w=this._flags.last_token.type===E.START_BLOCK,I=!1;else if(z(f.text,["--","++","!","~"])||R){if(this._flags.last_token.type===E.COMMA||this._flags.last_token.type===E.START_EXPR)this.allow_wrap_or_preserved_newline(f);if(w=!1,I=!1,f.newlines&&(f.text==="--"||f.text==="++"||f.text==="~")){var G=v(this._flags.last_token,z0)&&f.newlines;if(G&&(this._previous_flags.if_block||this._previous_flags.else_block))this.restore_mode();this.print_newline(G,!0)}if(this._flags.last_token.text===";"&&QR(this._flags.mode))w=!0;if(this._flags.last_token.type===E.RESERVED)w=!0;else if(this._flags.last_token.type===E.END_EXPR)w=!(this._flags.last_token.text==="]"&&(f.text==="--"||f.text==="++"));else if(this._flags.last_token.type===E.OPERATOR){if(w=z(f.text,["--","-","++","+"])&&z(this._flags.last_token.text,["--","-","++","+"]),z(f.text,["+","-"])&&z(this._flags.last_token.text,["--","++"]))I=!0}if((this._flags.mode===W.BlockStatement&&!this._flags.inline_frame||this._flags.mode===W.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";"))this.print_newline()}this._output.space_before_token=this._output.space_before_token||w,this.print_token(f),this._output.space_before_token=I};y.prototype.handle_block_comment=function(f,h){if(this._output.raw){if(this._output.add_raw_token(f),f.directives&&f.directives.preserve==="end")this._output.raw=this._options.test_output_raw;return}if(f.directives){if(this.print_newline(!1,h),this.print_token(f),f.directives.preserve==="start")this._output.raw=!0;this.print_newline(!1,!0);return}if(!X0.newline.test(f.text)&&!f.newlines){this._output.space_before_token=!0,this.print_token(f),this._output.space_before_token=!0;return}else this.print_block_commment(f,h)};y.prototype.print_block_commment=function(f,h){var R=kD(f.text),A,w=!1,I=!1,P=f.whitespace_before,$=P.length;if(this.print_newline(!1,h),this.print_token_line_indentation(f),this._output.add_token(R[0]),this.print_newline(!1,h),R.length>1){if(R=R.slice(1),w=xD(R,"*"),I=aD(R,P),w)this._flags.alignment=1;for(A=0;A<R.length;A++){if(w)this.print_token_line_indentation(f),this._output.add_token(cD(R[A]));else if(I&&R[A])this.print_token_line_indentation(f),this._output.add_token(R[A].substring($));else this._output.current_line.set_indent(-1),this._output.add_token(R[A]);this.print_newline(!1,h)}this._flags.alignment=0}};y.prototype.handle_comment=function(f,h){if(f.newlines)this.print_newline(!1,h);else this._output.trim(!0);this._output.space_before_token=!0,this.print_token(f),this.print_newline(!1,h)};y.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(v(this._flags.last_token,z0))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)};y.prototype.handle_unknown=function(f,h){if(this.print_token(f),f.text[f.text.length-1]==="\n")this.print_newline(!1,h)};y.prototype.handle_eof=function(f){while(this._flags.mode===W.Statement)this.restore_mode();this.handle_whitespace_and_comments(f)};iD.Beautifier=y});var h8=C((tZ,XI)=>{var eD=f8().Beautifier,oD=SI().Options;function pD(f,h){var R=new eD(f,h);return R.beautify()}XI.exports=pD;XI.exports.defaultOptions=function(){return new oD}});var zI=C((nD,w8)=>{var R8=g0().Options;function A8(f){R8.call(this,f,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var h=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||h;var R=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var A=0;A<R.length;A++)if(R[A]!=="expand")this.brace_style="collapse";else this.brace_style=R[A]}A8.prototype=new R8;nD.Options=A8});var H8=C(($g,$8)=>{var tD=zI().Options,fg=G0().Output,hg=W0().InputScanner,Rg=M0().Directives,I8=new Rg(/\/\*/,/\*\//),P8=/\r\n|[\r\n]/,Ag=/\r\n|[\r\n]/g,L0=/\s/,wg=/(?:\s|\n)+/g,Ig=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,Pg=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function Cf(f,h){this._source_text=f||"",this._options=new tD(h),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}Cf.prototype.eatString=function(f){var h="";this._ch=this._input.next();while(this._ch){if(h+=this._ch,this._ch==="\\")h+=this._input.next();else if(f.indexOf(this._ch)!==-1||this._ch==="\n")break;this._ch=this._input.next()}return h};Cf.prototype.eatWhitespace=function(f){var h=L0.test(this._input.peek()),R=0;while(L0.test(this._input.peek()))if(this._ch=this._input.next(),f&&this._ch==="\n"){if(R===0||R<this._options.max_preserve_newlines)R++,this._output.add_new_line(!0)}return h};Cf.prototype.foundNestedPseudoClass=function(){var f=0,h=1,R=this._input.peek(h);while(R){if(R==="{")return!0;else if(R==="(")f+=1;else if(R===")"){if(f===0)return!1;f-=1}else if(R===";"||R==="}")return!1;h++,R=this._input.peek(h)}return!1};Cf.prototype.print_string=function(f){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(f)};Cf.prototype.preserveSingleSpace=function(f){if(f)this._output.space_before_token=!0};Cf.prototype.indent=function(){this._indentLevel++};Cf.prototype.outdent=function(){if(this._indentLevel>0)this._indentLevel--};Cf.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var f=this._source_text,h=this._options.eol;if(h==="auto"){if(h="\n",f&&P8.test(f||""))h=f.match(P8)[0]}f=f.replace(Ag,"\n");var R=f.match(/^[\t ]*/)[0];this._output=new fg(this._options,R),this._input=new hg(f),this._indentLevel=0,this._nestedLevel=0,this._ch=null;var A=0,w=!1,I=!1,P=!1,$=!1,H=!1,U=this._ch,s=!1,G,D,N;while(!0){if(G=this._input.read(wg),D=G!=="",N=U,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext())this._ch+=this._input.next();if(U=this._ch,!this._ch)break;else if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var M=this._input.read(Ig),Q=I8.get_directives(M);if(Q&&Q.ignore==="start")M+=I8.readIgnored(this._input);this.print_string(M),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(Pg)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(D),this.print_string(this._ch);var Pf=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);if(Pf.match(/[ :]$/))Pf=this.eatString(": ").replace(/\s+$/,""),this.print_string(Pf),this._output.space_before_token=!0;if(A===0&&Pf.indexOf(":")!==-1)I=!0,this.indent()}else if(this._ch==="@")if(this.preserveSingleSpace(D),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var $f=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);if($f.match(/[ :]$/))$f=this.eatString(": ").replace(/\s+$/,""),this.print_string($f),this._output.space_before_token=!0;if(A===0&&$f.indexOf(":")!==-1)I=!0,this.indent();else if($f in this.NESTED_AT_RULE){if(this._nestedLevel+=1,$f in this.CONDITIONAL_GROUP_RULE)P=!0}else if(A===0&&!I)$=!0}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(D),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{"){if(I)I=!1,this.outdent();if($=!1,P)P=!1,w=this._indentLevel>=this._nestedLevel;else w=this._indentLevel>=this._nestedLevel-1;if(this._options.newline_between_rules&&w){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(N==="(")this._output.space_before_token=!1;else if(N!==",")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(),N==="{")this._output.trim(!0);if(I)this.outdent(),I=!1;if(this.print_string(this._ch),w=!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 vf=0;vf<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;vf++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[vf])){s=!0;break}if((w||P)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!$&&A===0){if(this.print_string(":"),!I)I=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent()}else{if(this._input.lookBack(" "))this._output.space_before_token=!0;if(this._input.peek()===":")this._ch=this._input.next(),this.print_string("::");else this.print_string(":")}}else if(this._ch==='"'||this._ch==="\'"){var rh=N==='"'||N==="\'";this.preserveSingleSpace(rh||D),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")if(s=!1,A===0){if(I)this.outdent(),I=!1;if($=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/")this._output.add_new_line()}else this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0;else if(this._ch==="(")if(this._input.lookBack("url")){if(this.print_string(this._ch),this.eatWhitespace(),A++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="\'")this._input.back();else if(this._ch){if(this.print_string(this._ch+this.eatString(")")),A)A--,this.outdent()}}else{var BR=!1;if(this._input.lookBack("with"))BR=!0;if(this.preserveSingleSpace(D||BR),this.print_string(this._ch),I&&N==="$"&&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&&(!I||H)&&A===0&&!$)this._output.add_new_line();else this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!I&&A===0){if(this._options.space_around_combinator)this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0;else if(this.print_string(this._ch),this.eatWhitespace(),this._ch&&L0.test(this._ch))this._ch=""}else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(D),this.print_string(this._ch);else if(this._ch==="="){if(this.eatWhitespace(),this.print_string("="),L0.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 p8=N==='"'||N==="\'";if(this.preserveSingleSpace(p8||D),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()==="\n"&&s)this._output.add_new_line()}}var n8=this._output.get_code(h);return n8};$g.Beautifier=Cf});var U8=C((fV,LI)=>{var Ug=H8().Beautifier,Eg=zI().Options;function Sg(f,h){var R=new Ug(f,h);return R.beautify()}LI.exports=Sg;LI.exports.defaultOptions=function(){return new Eg}});var ZI=C((sg,s8)=>{var E8=g0().Options;function S8(f){if(E8.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"])}S8.prototype=new E8;sg.Options=S8});var yI=C((gg,JI)=>{var F8=LR().Tokenizer,VI=LR().TOKEN,Fg=M0().Directives,Gg=gI().TemplatablePattern,Dg=XR().Pattern,T={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:VI.START,RAW:VI.RAW,EOF:VI.EOF},N8=new Fg(/<\!--/,/-->/),If=function(f,h){F8.call(this,f,h),this._current_tag_name="";var R=new Gg(this._input).read_options(this._options),A=new Dg(this._input);if(this.__patterns={word:R.until(/[\n\r\t <]/),word_control_flow_close_excluded:R.until(/[\n\r\t <}]/),single_quote:R.until_after(/'/),double_quote:R.until_after(/"/),attribute:R.until(/[\n\r\t =>]|\/>/),element_name:R.until(/[\n\r\t >\/]/),angular_control_flow_start:A.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:A.starting_with(/{{!--/).until_after(/--}}/),handlebars:A.starting_with(/{{/).until_after(/}}/),handlebars_open:A.until(/[\n\r\t }]/),handlebars_raw_close:A.until(/}}/),comment:A.starting_with(/<!--/).until_after(/-->/),cdata:A.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:A.starting_with(/<!\[/).until_after(/]>/),processing:A.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars)this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars");if(this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var w=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=A.matching(w).until_after(w)}};If.prototype=new F8;If.prototype._is_comment=function(f){return!1};If.prototype._is_opening=function(f){return f.type===T.TAG_OPEN||f.type===T.CONTROL_FLOW_OPEN};If.prototype._is_closing=function(f,h){return f.type===T.TAG_CLOSE&&(h&&((f.text===">"||f.text==="/>")&&h.text[0]==="<"||f.text==="}}"&&h.text[0]==="{"&&h.text[1]==="{"))||f.type===T.CONTROL_FLOW_CLOSE&&(f.text==="}"&&h.text.endsWith("{"))};If.prototype._reset=function(){this._current_tag_name=""};If.prototype._get_next_token=function(f,h){var R=null;this._readWhitespace();var A=this._input.peek();if(A===null)return this._create_token(T.EOF,"");return R=R||this._read_open_handlebars(A,h),R=R||this._read_attribute(A,f,h),R=R||this._read_close(A,h),R=R||this._read_control_flows(A,h),R=R||this._read_raw_content(A,f,h),R=R||this._read_content_word(A,h),R=R||this._read_comment_or_cdata(A),R=R||this._read_processing(A),R=R||this._read_open(A,h),R=R||this._create_token(T.UNKNOWN,this._input.next()),R};If.prototype._read_comment_or_cdata=function(f){var h=null,R=null,A=null;if(f==="<"){var w=this._input.peek(1);if(w==="!")if(R=this.__patterns.comment.read(),R){if(A=N8.get_directives(R),A&&A.ignore==="start")R+=N8.readIgnored(this._input)}else R=this.__patterns.cdata.read();if(R)h=this._create_token(T.COMMENT,R),h.directives=A}return h};If.prototype._read_processing=function(f){var h=null,R=null,A=null;if(f==="<"){var w=this._input.peek(1);if(w==="!"||w==="?")R=this.__patterns.conditional_comment.read(),R=R||this.__patterns.processing.read();if(R)h=this._create_token(T.COMMENT,R),h.directives=A}return h};If.prototype._read_open=function(f,h){var R=null,A=null;if(!h||h.type===T.CONTROL_FLOW_OPEN){if(f==="<"){if(R=this._input.next(),this._input.peek()==="/")R+=this._input.next();R+=this.__patterns.element_name.read(),A=this._create_token(T.TAG_OPEN,R)}}return A};If.prototype._read_open_handlebars=function(f,h){var R=null,A=null;if(!h||h.type===T.CONTROL_FLOW_OPEN){if(this._options.indent_handlebars&&f==="{"&&this._input.peek(1)==="{")if(this._input.peek(2)==="!")R=this.__patterns.handlebars_comment.read(),R=R||this.__patterns.handlebars.read(),A=this._create_token(T.COMMENT,R);else R=this.__patterns.handlebars_open.read(),A=this._create_token(T.TAG_OPEN,R)}return A};If.prototype._read_control_flows=function(f,h){var R="",A=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars)return A;if(f==="@"){if(R=this.__patterns.angular_control_flow_start.read(),R==="")return A;var w=R.endsWith("(")?1:0,I=0;while(!(R.endsWith("{")&&w===I)){var P=this._input.next();if(P===null)break;else if(P==="(")w++;else if(P===")")I++;R+=P}A=this._create_token(T.CONTROL_FLOW_OPEN,R)}else if(f==="}"&&h&&h.type===T.CONTROL_FLOW_OPEN)R=this._input.next(),A=this._create_token(T.CONTROL_FLOW_CLOSE,R);return A};If.prototype._read_close=function(f,h){var R=null,A=null;if(h&&h.type===T.TAG_OPEN){if(h.text[0]==="<"&&(f===">"||f==="/"&&this._input.peek(1)===">")){if(R=this._input.next(),f==="/")R+=this._input.next();A=this._create_token(T.TAG_CLOSE,R)}else if(h.text[0]==="{"&&f==="}"&&this._input.peek(1)==="}")this._input.next(),this._input.next(),A=this._create_token(T.TAG_CLOSE,"}}")}return A};If.prototype._read_attribute=function(f,h,R){var A=null,w="";if(R&&R.text[0]==="<"){if(f==="=")A=this._create_token(T.EQUALS,this._input.next());else if(f==='"'||f==="'"){var I=this._input.next();if(f==='"')I+=this.__patterns.double_quote.read();else I+=this.__patterns.single_quote.read();A=this._create_token(T.VALUE,I)}else if(w=this.__patterns.attribute.read(),w)if(h.type===T.EQUALS)A=this._create_token(T.VALUE,w);else A=this._create_token(T.ATTRIBUTE,w)}return A};If.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)};If.prototype._read_raw_content=function(f,h,R){var A="";if(R&&R.text[0]==="{")A=this.__patterns.handlebars_raw_close.read();else if(h.type===T.TAG_CLOSE&&h.opened.text[0]==="<"&&h.text[0]!=="/"){var w=h.opened.text.substr(1).toLowerCase();if(w==="script"||w==="style"){var I=this._read_comment_or_cdata(f);if(I)return I.type=T.TEXT,I;A=this._input.readUntil(new RegExp("</"+w+"[\\n\\r\\t ]*?>","ig"))}else if(this._is_content_unformatted(w))A=this._input.readUntil(new RegExp("</"+w+"[\\n\\r\\t ]*?>","ig"))}if(A)return this._create_token(T.TEXT,A);return null};If.prototype._read_content_word=function(f,h){var R="";if(this._options.unformatted_content_delimiter){if(f===this._options.unformatted_content_delimiter[0])R=this.__patterns.unformatted_content_delimiter.read()}if(!R)R=h&&h.type===T.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read();if(R)return this._create_token(T.TEXT,R)};gg.Tokenizer=If;gg.TOKEN=T});var W8=C((qg,g8)=>{var Yg=ZI().Options,Xg=G0().Output,zg=yI().Tokenizer,q=yI().TOKEN,G8=/\r\n|[\r\n]/,Lg=/\r\n|[\r\n]/g,Wf=function(f,h){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=f.max_preserve_newlines,this.preserve_newlines=f.preserve_newlines,this._output=new Xg(f,h)};Wf.prototype.current_line_has_match=function(f){return this._output.current_line.has_match(f)};Wf.prototype.set_space_before_token=function(f,h){this._output.space_before_token=f,this._output.non_breaking_space=h};Wf.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()};Wf.prototype.add_raw_token=function(f){this._output.add_raw_token(f)};Wf.prototype.print_preserved_newlines=function(f){var h=0;if(f.type!==q.TEXT&&f.previous.type!==q.TEXT)h=f.newlines?1:0;if(this.preserve_newlines)h=f.newlines<this.max_preserve_newlines+1?f.newlines:this.max_preserve_newlines+1;for(var R=0;R<h;R++)this.print_newline(R>0);return h!==0};Wf.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};Wf.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped};Wf.prototype.print_newline=function(f){this._output.add_new_line(f)};Wf.prototype.print_token=function(f){if(f.text)this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(f.text)};Wf.prototype.indent=function(){this.indent_level++};Wf.prototype.deindent=function(){if(this.indent_level>0)this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size)};Wf.prototype.get_full_indent=function(f){if(f=this.indent_level+(f||0),f<1)return"";return this._output.get_indent_string(f)};var Zg=function(f){var h=null,R=f.next;while(R.type!==q.EOF&&f.closed!==R){if(R.type===q.ATTRIBUTE&&R.text==="type"){if(R.next&&R.next.type===q.EQUALS&&R.next.next&&R.next.next.type===q.VALUE)h=R.next.next.text;break}R=R.next}return h},Vg=function(f,h){var R=null,A=null;if(!h.closed)return null;if(f==="script")R="text/javascript";else if(f==="style")R="text/css";if(R=Zg(h)||R,R.search("text/css")>-1)A="css";else if(R.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1)A="javascript";else if(R.search(/(text|application|dojo)\/(x-)?(html)/)>-1)A="html";else if(R.search(/test\/null/)>-1)A="null";return A};function TR(f,h){return h.indexOf(f)!==-1}function Jg(f,h,R){this.parent=f||null,this.tag=h?h.tag_name:"",this.indent_level=R||0,this.parser_token=h||null}function Nh(f){this._printer=f,this._current_frame=null}Nh.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null};Nh.prototype.record_tag=function(f){var h=new Jg(this._current_frame,f,this._printer.indent_level);this._current_frame=h};Nh.prototype._try_pop_frame=function(f){var h=null;if(f)h=f.parser_token,this._printer.indent_level=f.indent_level,this._current_frame=f.parent;return h};Nh.prototype._get_frame=function(f,h){var R=this._current_frame;while(R){if(f.indexOf(R.tag)!==-1)break;else if(h&&h.indexOf(R.tag)!==-1){R=null;break}R=R.parent}return R};Nh.prototype.try_pop=function(f,h){var R=this._get_frame([f],h);return this._try_pop_frame(R)};Nh.prototype.indent_to_tag=function(f){var h=this._get_frame(f);if(h)this._printer.indent_level=h.indent_level};function Gf(f,h,R,A){this._source_text=f||"",h=h||{},this._js_beautify=R,this._css_beautify=A,this._tag_stack=null;var w=new Yg(h,"html");this._options=w,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,"force".length)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,"preserve".length)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}Gf.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var f=this._source_text,h=this._options.eol;if(this._options.eol==="auto"){if(h="\n",f&&G8.test(f))h=f.match(G8)[0]}f=f.replace(Lg,"\n");var R=f.match(/^[\t ]*/)[0],A={text:"",type:""},w=new D8,I=new Wf(this._options,R),P=new zg(f,this._options).tokenize();this._tag_stack=new Nh(I);var $=null,H=P.next();while(H.type!==q.EOF){if(H.type===q.TAG_OPEN||H.type===q.COMMENT)$=this._handle_tag_open(I,H,w,A,P),w=$;else if(H.type===q.ATTRIBUTE||H.type===q.EQUALS||H.type===q.VALUE||H.type===q.TEXT&&!w.tag_complete)$=this._handle_inside_tag(I,H,w,A);else if(H.type===q.TAG_CLOSE)$=this._handle_tag_close(I,H,w);else if(H.type===q.TEXT)$=this._handle_text(I,H,w);else if(H.type===q.CONTROL_FLOW_OPEN)$=this._handle_control_flow_open(I,H);else if(H.type===q.CONTROL_FLOW_CLOSE)$=this._handle_control_flow_close(I,H);else I.add_raw_token(H);A=$,H=P.next()}var U=I._output.get_code(h);return U};Gf.prototype._handle_control_flow_open=function(f,h){var R={text:h.text,type:h.type};if(f.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),h.newlines)f.print_preserved_newlines(h);else f.set_space_before_token(h.newlines||h.whitespace_before!=="",!0);return f.print_token(h),f.indent(),R};Gf.prototype._handle_control_flow_close=function(f,h){var R={text:h.text,type:h.type};if(f.deindent(),h.newlines)f.print_preserved_newlines(h);else f.set_space_before_token(h.newlines||h.whitespace_before!=="",!0);return f.print_token(h),R};Gf.prototype._handle_tag_close=function(f,h,R){var A={text:h.text,type:h.type};if(f.alignment_size=0,R.tag_complete=!0,f.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),R.is_unformatted)f.add_raw_token(h);else{if(R.tag_start_char==="<"){if(f.set_space_before_token(h.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&R.has_wrapped_attrs)f.print_newline(!1)}f.print_token(h)}if(R.indent_content&&!(R.is_unformatted||R.is_content_unformatted))f.indent(),R.indent_content=!1;if(!R.is_inline_element&&!(R.is_unformatted||R.is_content_unformatted))f.set_wrap_point();return A};Gf.prototype._handle_inside_tag=function(f,h,R,A){var w=R.has_wrapped_attrs,I={text:h.text,type:h.type};if(f.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),R.is_unformatted)f.add_raw_token(h);else if(R.tag_start_char==="{"&&h.type===q.TEXT)if(f.print_preserved_newlines(h))h.newlines=0,f.add_raw_token(h);else f.print_token(h);else{if(h.type===q.ATTRIBUTE)f.set_space_before_token(!0);else if(h.type===q.EQUALS)f.set_space_before_token(!1);else if(h.type===q.VALUE&&h.previous.type===q.EQUALS)f.set_space_before_token(!1);if(h.type===q.ATTRIBUTE&&R.tag_start_char==="<"){if(this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)f.traverse_whitespace(h),w=w||h.newlines!==0;if(this._is_wrap_attributes_force&&R.attr_count>=this._options.wrap_attributes_min_attrs&&(A.type!==q.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline))f.print_newline(!1),w=!0}f.print_token(h),w=w||f.previous_token_wrapped(),R.has_wrapped_attrs=w}return I};Gf.prototype._handle_text=function(f,h,R){var A={text:h.text,type:"TK_CONTENT"};if(R.custom_beautifier_name)this._print_custom_beatifier_text(f,h,R);else if(R.is_unformatted||R.is_content_unformatted)f.add_raw_token(h);else f.traverse_whitespace(h),f.print_token(h);return A};Gf.prototype._print_custom_beatifier_text=function(f,h,R){var A=this;if(h.text!==""){var w=h.text,I,P=1,$="",H="";if(R.custom_beautifier_name==="javascript"&&typeof this._js_beautify==="function")I=this._js_beautify;else if(R.custom_beautifier_name==="css"&&typeof this._css_beautify==="function")I=this._css_beautify;else if(R.custom_beautifier_name==="html")I=function(M,Q){var Pf=new Gf(M,Q,A._js_beautify,A._css_beautify);return Pf.beautify()};if(this._options.indent_scripts==="keep")P=0;else if(this._options.indent_scripts==="separate")P=-f.indent_level;var U=f.get_full_indent(P);if(w=w.replace(/\n[ \t]*$/,""),R.custom_beautifier_name!=="html"&&w[0]==="<"&&w.match(/^(<!--|<!\[CDATA\[)/)){var s=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(w);if(!s){f.add_raw_token(h);return}if($=U+s[1]+"\n",w=s[4],s[5])H=U+s[5];if(w=w.replace(/\n[ \t]*$/,""),s[2]||s[3].indexOf("\n")!==-1){if(s=s[3].match(/[ \t]+$/),s)h.whitespace_before=s[0]}}if(w)if(I){var G=function(){this.eol="\n"};G.prototype=this._options.raw_options;var D=new G;w=I(U+w,D)}else{var N=h.whitespace_before;if(N)w=w.replace(new RegExp("\n("+N+")?","g"),"\n");w=U+w.replace(/\n/g,"\n"+U)}if($)if(!w)w=$+H;else w=$+w+"\n"+H;if(f.print_newline(!1),w)h.text=w,h.whitespace_before="",h.newlines=0,f.add_raw_token(h),f.print_newline(!0)}};Gf.prototype._handle_tag_open=function(f,h,R,A,w){var I=this._get_tag_open_token(h);if((R.is_unformatted||R.is_content_unformatted)&&!R.is_empty_element&&h.type===q.TAG_OPEN&&!I.is_start_tag)f.add_raw_token(h),I.start_tag_token=this._tag_stack.try_pop(I.tag_name);else{if(f.traverse_whitespace(h),this._set_tag_position(f,h,I,R,A),!I.is_inline_element)f.set_wrap_point();f.print_token(h)}if(I.is_start_tag&&this._is_wrap_attributes_force){var P=0,$;do{if($=w.peek(P),$.type===q.ATTRIBUTE)I.attr_count+=1;P+=1}while($.type!==q.EOF&&$.type!==q.TAG_CLOSE)}if(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)I.alignment_size=h.text.length+1;if(!I.tag_complete&&!I.is_unformatted)f.alignment_size=I.alignment_size;return I};var D8=function(f,h){if(this.parent=f||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!h)this.tag_complete=!0;else{var R;if(this.tag_start_char=h.text[0],this.text=h.text,this.tag_start_char==="<")R=h.text.match(/^<([^\s>]*)/),this.tag_check=R?R[1]:"";else if(R=h.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=R?R[1]:"",(h.text.startsWith("{{#>")||h.text.startsWith("{{~#>"))&&this.tag_check[0]===">")if(this.tag_check===">"&&h.next!==null)this.tag_check=h.next.text.split(" ")[0];else this.tag_check=h.text.split(">")[1];if(this.tag_check=this.tag_check.toLowerCase(),h.type===q.COMMENT)this.tag_complete=!0;this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=!this.is_start_tag?this.tag_check.substr(1):this.tag_check,this.is_end_tag=!this.is_start_tag||h.closed&&h.closed.text==="/>";var A=2;if(this.tag_start_char==="{"&&this.text.length>=3){if(this.text.charAt(2)==="~")A=3}this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(A)))}};Gf.prototype._get_tag_open_token=function(f){var h=new D8(this._tag_stack.get_parser_token(),f);return h.alignment_size=this._options.wrap_attributes_indent_size,h.is_end_tag=h.is_end_tag||TR(h.tag_check,this._options.void_elements),h.is_empty_element=h.tag_complete||h.is_start_tag&&h.is_end_tag,h.is_unformatted=!h.tag_complete&&TR(h.tag_check,this._options.unformatted),h.is_content_unformatted=!h.is_empty_element&&TR(h.tag_check,this._options.content_unformatted),h.is_inline_element=TR(h.tag_name,this._options.inline)||this._options.inline_custom_elements&&h.tag_name.includes("-")||h.tag_start_char==="{",h};Gf.prototype._set_tag_position=function(f,h,R,A,w){if(!R.is_empty_element)if(R.is_end_tag)R.start_tag_token=this._tag_stack.try_pop(R.tag_name);else{if(this._do_optional_end_element(R)){if(!R.is_inline_element)f.print_newline(!1)}if(this._tag_stack.record_tag(R),(R.tag_name==="script"||R.tag_name==="style")&&!(R.is_unformatted||R.is_content_unformatted))R.custom_beautifier_name=Vg(R.tag_check,h)}if(TR(R.tag_check,this._options.extra_liners)){if(f.print_newline(!1),!f._output.just_added_blankline())f.print_newline(!0)}if(R.is_empty_element){if(R.tag_start_char==="{"&&R.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),R.indent_content=!0;var I=f.current_line_has_match(/{{#if/);if(!I)f.print_newline(!1)}if(R.tag_name==="!--"&&w.type===q.TAG_CLOSE&&A.is_end_tag&&R.text.indexOf("\n")===-1);else{if(!(R.is_inline_element||R.is_unformatted))f.print_newline(!1);this._calcluate_parent_multiline(f,R)}}else if(R.is_end_tag){var P=!1;if(P=R.start_tag_token&&R.start_tag_token.multiline_content,P=P||!R.is_inline_element&&!(A.is_inline_element||A.is_unformatted)&&!(w.type===q.TAG_CLOSE&&R.start_tag_token===A)&&w.type!=="TK_CONTENT",R.is_content_unformatted||R.is_unformatted)P=!1;if(P)f.print_newline(!1)}else{if(R.indent_content=!R.custom_beautifier_name,R.tag_start_char==="<"){if(R.tag_name==="html")R.indent_content=this._options.indent_inner_html;else if(R.tag_name==="head")R.indent_content=this._options.indent_head_inner_html;else if(R.tag_name==="body")R.indent_content=this._options.indent_body_inner_html}if(!(R.is_inline_element||R.is_unformatted)&&(w.type!=="TK_CONTENT"||R.is_content_unformatted))f.print_newline(!1);this._calcluate_parent_multiline(f,R)}};Gf.prototype._calcluate_parent_multiline=function(f,h){if(h.parent&&f._output.just_added_newline()&&!((h.is_inline_element||h.is_unformatted)&&h.parent.is_inline_element))h.parent.multiline_content=!0};var yg=["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"],Qg=["a","audio","del","ins","map","noscript","video"];Gf.prototype._do_optional_end_element=function(f){var h=null;if(f.is_empty_element||!f.is_start_tag||!f.parent)return;if(f.tag_name==="body")h=h||this._tag_stack.try_pop("head");else if(f.tag_name==="li")h=h||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(f.tag_name==="dd"||f.tag_name==="dt")h=h||this._tag_stack.try_pop("dt",["dl"]),h=h||this._tag_stack.try_pop("dd",["dl"]);else if(f.parent.tag_name==="p"&&yg.indexOf(f.tag_name)!==-1){var R=f.parent.parent;if(!R||Qg.indexOf(R.tag_name)===-1)h=h||this._tag_stack.try_pop("p")}else if(f.tag_name==="rp"||f.tag_name==="rt")h=h||this._tag_stack.try_pop("rt",["ruby","rtc"]),h=h||this._tag_stack.try_pop("rp",["ruby","rtc"]);else if(f.tag_name==="optgroup")h=h||this._tag_stack.try_pop("optgroup",["select"]);else if(f.tag_name==="option")h=h||this._tag_stack.try_pop("option",["select","datalist","optgroup"]);else if(f.tag_name==="colgroup")h=h||this._tag_stack.try_pop("caption",["table"]);else if(f.tag_name==="thead")h=h||this._tag_stack.try_pop("caption",["table"]),h=h||this._tag_stack.try_pop("colgroup",["table"]);else if(f.tag_name==="tbody"||f.tag_name==="tfoot")h=h||this._tag_stack.try_pop("caption",["table"]),h=h||this._tag_stack.try_pop("colgroup",["table"]),h=h||this._tag_stack.try_pop("thead",["table"]),h=h||this._tag_stack.try_pop("tbody",["table"]);else if(f.tag_name==="tr")h=h||this._tag_stack.try_pop("caption",["table"]),h=h||this._tag_stack.try_pop("colgroup",["table"]),h=h||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]);else if(f.tag_name==="th"||f.tag_name==="td")h=h||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),h=h||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]);return f.parent=this._tag_stack.get_parser_token(),h};qg.Beautifier=Gf});var M8=C((hV,QI)=>{var mg=W8().Beautifier,Bg=ZI().Options;function vg(f,h,R,A){var w=new mg(f,h,R,A);return w.beautify()}QI.exports=vg;QI.exports.defaultOptions=function(){return new Bg}});var Z8=C((Kg,Z0)=>{var Y8=h8(),X8=U8(),z8=M8();function L8(f,h,R,A){return R=R||Y8,A=A||X8,z8(f,h,R,A)}L8.defaultOptions=z8.defaultOptions;Kg.js=Y8;Kg.css=X8;Kg.html=L8});var y8=C((RV,J8)=>{function V8(f,h,R){var A=function(w,I){return f.js_beautify(w,I)};return A.js=f.js_beautify,A.css=h.css_beautify,A.html=R.html_beautify,A.js_beautify=f.js_beautify,A.css_beautify=h.css_beautify,A.html_beautify=R.html_beautify,A}if(typeof define==="function"&&define.amd)define(["./lib/beautify","./lib/beautify-css","./lib/beautify-html"],function(f,h,R){return V8(f,h,R)});else(function(f){var h=Z8();h.js_beautify=h.js,h.css_beautify=h.css,h.html_beautify=h.html,f.exports=V8(h,h,h)})(J8)});class Fh{}import{readdir as u8}from"fs/promises";class KR extends Fh{f;constructor(f=`${process.env.ROOT_DIR}/storage`){super();this.folderPath=f}async put(f){let h,R;if(f instanceof Blob)h=f,R=`${vR()}.${f.type.split("/")[1].split(";")[0]}`;else h=f.body,R=f.name;let A=h instanceof Buffer?h:Buffer.from(await h.arrayBuffer()),w=`${this.folderPath}/${R}`;return await Bun.write(w,A),R}async fetch(f){let h=process.env.BUCKET_NAME,R;if(typeof f==="string")R=f;else h=f.bucket??h,R=f.name;if(!R)throw new Error("Object name has to be specified");let A=`${this.folderPath}/${R}`,w=Bun.file(A),I=Bun.file(A).stream(),P=new Date(w.lastModified).toUTCString();return new Response(I,{headers:{"Content-Type":w.type,"Content-Length":String(w.size),"Cache-Control":"private, max-age=12000, must-revalidate","Last-Modified":P}})}async list(){return await u8(this.folderPath)}}class mI extends _{driver=new KR;boot(){}}function t8(f){return(h)=>async(R)=>{let{request:A}=R;if(Rf.isInstance(A)&&A.body&&f.runtime==="node"){if(f.requestHandler?.constructor?.name!=="FetchHttpHandler")A.headers={...A.headers,Expect:"100-continue"}}return h({...R,request:A})}}var fS={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0},BI=(f)=>({applyToStack:(h)=>{h.add(t8(f),fS)}});var ch={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},jR=ch.WHEN_SUPPORTED,m0={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},OR=ch.WHEN_SUPPORTED,r;(function(f){f.MD5="MD5",f.CRC32="CRC32",f.CRC32C="CRC32C",f.SHA1="SHA1",f.SHA256="SHA256"})(r||(r={}));var vI;(function(f){f.HEADER="header",f.TRAILER="trailer"})(vI||(vI={}));var{MD5:KI,CRC32:jI}=r;var lf;(function(f){f.ENV="env",f.CONFIG="shared config entry"})(lf||(lf={}));var Gh=(f,h,R,A)=>{if(!(h in f))return;let w=f[h].toUpperCase();if(!Object.values(R).includes(w))throw new TypeError(`Cannot load ${A} '${h}'. Expected one of ${Object.values(R)}, got '${f[h]}'.`);return w};var hS="AWS_REQUEST_CHECKSUM_CALCULATION",RS="request_checksum_calculation",OI={environmentVariableSelector:(f)=>Gh(f,hS,ch,lf.ENV),configFileSelector:(f)=>Gh(f,RS,ch,lf.CONFIG),default:jR};var AS="AWS_RESPONSE_CHECKSUM_VALIDATION",wS="response_checksum_validation",CI={environmentVariableSelector:(f)=>Gh(f,AS,m0,lf.ENV),configFileSelector:(f)=>Gh(f,wS,m0,lf.CONFIG),default:OR};var bh=[r.CRC32,r.CRC32C,r.SHA1,r.SHA256],lI=[r.CRC32,r.CRC32C,r.SHA1,r.SHA256];var rI=(f,{requestChecksumRequired:h,requestAlgorithmMember:R},A)=>{let w=A?jI:KI;if(!R||!f[R])return h?w:void 0;let I=f[R];if(!bh.includes(I))throw new Error(`The checksum algorithm "${I}" is not supported by the client. Select one of ${bh}.`);return I};var Dh=(f)=>f===r.MD5?"content-md5":`x-amz-checksum-${f.toLowerCase()}`;var cI=(f,h)=>{let R=f.toLowerCase();for(let A of Object.keys(h))if(R===A.toLowerCase())return!0;return!1};var gh=(f)=>f!==void 0&&typeof f!=="string"&&!ArrayBuffer.isView(f)&&!CR(f);var bI=c(IS(),1),{__extends:CW,__assign:lW,__rest:rW,__decorate:cW,__param:bW,__esDecorate:dW,__runInitializers:kW,__propKey:xW,__setFunctionName:aW,__metadata:iW,__awaiter:lR,__generator:rR,__exportStar:_W,__createBinding:eW,__values:cR,__read:oW,__spread:pW,__spreadArrays:nW,__spreadArray:uW,__await:tW,__asyncGenerator:f4,__asyncDelegator:h4,__asyncValues:R4,__makeTemplateObject:A4,__importStar:w4,__importDefault:I4,__classPrivateFieldGet:P4,__classPrivateFieldSet:$4,__classPrivateFieldIn:H4,__addDisposableResource:U4,__disposeResources:E4}=bI.default;import{Buffer as dI}from"buffer";var kI=(f,h)=>{if(typeof f!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof f} (${f})`);return h?dI.from(f,h):dI.from(f)};var B0=(f)=>{let h=kI(f,"utf8");return new Uint8Array(h.buffer,h.byteOffset,h.byteLength/Uint8Array.BYTES_PER_ELEMENT)};var PS=typeof Buffer!=="undefined"&&Buffer.from?function(f){return Buffer.from(f,"utf8")}:B0;function dh(f){if(f instanceof Uint8Array)return f;if(typeof f==="string")return PS(f);if(ArrayBuffer.isView(f))return new Uint8Array(f.buffer,f.byteOffset,f.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(f)}function kh(f){if(typeof f==="string")return f.length===0;return f.byteLength===0}function xh(f){return new Uint8Array([(f&4278190080)>>24,(f&16711680)>>16,(f&65280)>>8,f&255])}function ah(f){if(!Uint32Array.from){var h=new Uint32Array(f.length),R=0;while(R<f.length)h[R]=f[R],R+=1;return h}return Uint32Array.from(f)}var v0=function(){function f(){this.crc32=new fh}return f.prototype.update=function(h){if(kh(h))return;this.crc32.update(dh(h))},f.prototype.digest=function(){return lR(this,void 0,void 0,function(){return rR(this,function(h){return[2,xh(this.crc32.digest())]})})},f.prototype.reset=function(){this.crc32=new fh},f}();var fh=function(){function f(){this.checksum=4294967295}return f.prototype.update=function(h){var R,A;try{for(var w=cR(h),I=w.next();!I.done;I=w.next()){var P=I.value;this.checksum=this.checksum>>>8^HS[(this.checksum^P)&255]}}catch($){R={error:$}}finally{try{if(I&&!I.done&&(A=w.return))A.call(w)}finally{if(R)throw R.error}}return this},f.prototype.digest=function(){return(this.checksum^4294967295)>>>0},f}();var $S=[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],HS=ah($S);var j0=function(){function f(){this.crc32c=new K0}return f.prototype.update=function(h){if(kh(h))return;this.crc32c.update(dh(h))},f.prototype.digest=function(){return lR(this,void 0,void 0,function(){return rR(this,function(h){return[2,xh(this.crc32c.digest())]})})},f.prototype.reset=function(){this.crc32c=new K0},f}();var K0=function(){function f(){this.checksum=4294967295}return f.prototype.update=function(h){var R,A;try{for(var w=cR(h),I=w.next();!I.done;I=w.next()){var P=I.value;this.checksum=this.checksum>>>8^ES[(this.checksum^P)&255]}}catch($){R={error:$}}finally{try{if(I&&!I.done&&(A=w.return))A.call(w)}finally{if(R)throw R.error}}return this},f.prototype.digest=function(){return(this.checksum^4294967295)>>>0},f}();var US=[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],ES=ah(US);var bR=(f,h)=>({[r.MD5]:h.md5,[r.CRC32]:v0,[r.CRC32C]:j0,[r.SHA1]:h.sha1,[r.SHA256]:h.sha256})[f];var dR=(f,h)=>{let R=new f;return R.update(Mf(h||"")),R.digest()};var xI={name:"flexibleChecksumsMiddleware",step:"build",tags:["BODY_CHECKSUM"],override:!0},aI=(f,h)=>(R,A)=>async(w)=>{if(!Rf.isInstance(w.request))return R(w);let{request:I}=w,{body:P,headers:$}=I,{base64Encoder:H,streamHasher:U}=f,{input:s,requestChecksumRequired:G,requestAlgorithmMember:D}=h,N=rI(s,{requestChecksumRequired:G,requestAlgorithmMember:D},!!A.isS3ExpressBucket),M=P,Q=$;if(N){let $f=Dh(N),vf=bR(N,f);if(gh(P)){let{getAwsChunkedEncodingStream:rh,bodyLengthChecker:BR}=f;M=rh(P,{base64Encoder:H,bodyLengthChecker:BR,checksumLocationName:$f,checksumAlgorithmFn:vf,streamHasher:U}),Q={...$,"content-encoding":$["content-encoding"]?`${$["content-encoding"]},aws-chunked`:"aws-chunked","transfer-encoding":"chunked","x-amz-decoded-content-length":$["content-length"],"x-amz-content-sha256":"STREAMING-UNSIGNED-PAYLOAD-TRAILER","x-amz-trailer":$f},delete Q["content-length"]}else if(!cI($f,$)){let rh=await dR(vf,P);Q={...$,[$f]:H(rh)}}}return await R({...w,request:{...I,headers:Q,body:M}})};var kR=(f=[])=>{let h=[];for(let R of lI){if(!f.includes(R)||!bh.includes(R))continue;h.push(R)}return h};var iI=(f)=>{let h=f.lastIndexOf("-");if(h!==-1){let R=f.slice(h+1);if(!R.startsWith("0")){let A=parseInt(R,10);if(!isNaN(A)&&A>=1&&A<=1e4)return!0}}return!1};import{Transform as SS}from"stream";function O0(f){let h=new SS;return h.push(f),h.push(null),h}var _I=async(f,{streamHasher:h,checksumAlgorithmFn:R,base64Encoder:A})=>{let w=gh(f)?h(R,f):dR(R,f);return A(await w)};var eI=async(f,{config:h,responseAlgorithms:R})=>{let A=kR(R),{body:w,headers:I}=f;for(let P of A){let $=Dh(P),H=I[$];if(H){let U=bR(P,h),{streamHasher:s,base64Encoder:G}=h,D=await _I(w,{streamHasher:s,checksumAlgorithmFn:U,base64Encoder:G});if(D===H)break;throw new Error(`Checksum mismatch: expected "${D}" but received "${H}" in response header "${$}".`)}}};var oI={name:"flexibleChecksumsResponseMiddleware",toMiddleware:"deserializerMiddleware",relation:"after",tags:["BODY_CHECKSUM"],override:!0},pI=(f,h)=>(R,A)=>async(w)=>{if(!Rf.isInstance(w.request))return R(w);let I=w.input,P=await R(w),$=P.response,H=void 0,{requestValidationModeMember:U,responseAlgorithms:s}=h;if(U&&I[U]==="ENABLED"){let{clientName:G,commandName:D}=A;if(G==="S3Client"&&D==="GetObjectCommand"&&kR(s).every((Q)=>{let Pf=Dh(Q),$f=$.headers[Pf];return!$f||iI($f)}))return P;let M=gh($.body);if(M)H=await f.streamCollector($.body),$.body=O0(H);if(await eI(P.response,{config:f,responseAlgorithms:s}),M&&H)$.body=O0(H)}return P};var xR=(f,h)=>({applyToStack:(R)=>{R.add(aI(f,h),xI),R.addRelativeTo(pI(f,h),oI)}});var C0=c(aR(),1);var nI=(f)=>({...f,requestChecksumCalculation:C0.normalizeProvider(f.requestChecksumCalculation??jR),responseChecksumValidation:C0.normalizeProvider(f.responseChecksumValidation??OR)});var sS="content-length";function NS(){return(f,h)=>async(R)=>{let{request:A}=R;if(Rf.isInstance(A)){if(!(sS in A.headers))if(typeof h?.logger?.warn==="function"&&!(h.logger instanceof iR))h.logger.warn("Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.");else console.warn("Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.")}return f({...R})}}var FS={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0},uI=(f)=>({applyToStack:(h)=>{h.add(NS(),FS)}});var tI=(f)=>{return(h,R)=>async(A)=>{let w=await f.region(),I=f.region,P=()=>{};if(R.__s3RegionRedirect)Object.defineProperty(f,"region",{writable:!1,value:async()=>{return R.__s3RegionRedirect}}),P=()=>Object.defineProperty(f,"region",{writable:!0,value:I});try{let $=await h(A);if(R.__s3RegionRedirect){P();let H=await f.region();if(w!==H)throw new Error("Region was not restored following S3 region redirect.")}return $}catch($){throw P(),$}}},fP={tags:["REGION_REDIRECT","S3"],name:"regionRedirectEndpointMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};function GS(f){return(h,R)=>async(A)=>{try{return await h(A)}catch(w){if(f.followRegionRedirects&&w?.$metadata?.httpStatusCode===301){try{let I=w.$response.headers["x-amz-bucket-region"];R.logger?.debug(`Redirecting from ${await f.region()} to ${I}`),R.__s3RegionRedirect=I}catch(I){throw new Error("Region redirect failed: "+I)}return h(A)}else throw w}}}var DS={step:"initialize",tags:["REGION_REDIRECT","S3"],name:"regionRedirectMiddleware",override:!0},hP=(f)=>({applyToStack:(h)=>{h.add(GS(f),DS),h.addRelativeTo(tI(f),fP)}});var gS=(f)=>{return(h,R)=>async(A)=>{let w=await h(A),{response:I}=w;if(_R.isInstance(I)){if(I.headers.expires){I.headers.expiresstring=I.headers.expires;try{ih(I.headers.expires)}catch(P){R.logger?.warn(`AWS SDK Warning for ${R.clientName}::${R.commandName} response parsing (${I.headers.expires}): ${P}`),delete I.headers.expires}}}return w}},WS={tags:["S3"],name:"s3ExpiresMiddleware",override:!0,relation:"after",toMiddleware:"deserializerMiddleware"},RP=(f)=>({applyToStack:(h)=>{h.addRelativeTo(gS(f),WS)}});class Wh{constructor(f={}){this.data=f,this.lastPurgeTime=Date.now()}get(f){let h=this.data[f];if(!h)return;return h}set(f,h){return this.data[f]=h,h}delete(f){delete this.data[f]}async purgeExpired(){let f=Date.now();if(this.lastPurgeTime+Wh.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>f)return;for(let h in this.data){let R=this.data[h];if(!R.isRefreshing){let A=await R.identity;if(A.expiration){if(A.expiration.getTime()<f)delete this.data[h]}}}}}Wh.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=30000;class Mh{constructor(f,h=!1,R=Date.now()){this._identity=f,this.isRefreshing=h,this.accessed=R}get identity(){return this.accessed=Date.now(),this._identity}}class Yh{constructor(f,h=new Wh){this.createSessionFn=f,this.cache=h}async getS3ExpressIdentity(f,h){let R=h.Bucket,{cache:A}=this,w=A.get(R);if(w)return w.identity.then((I)=>{if((I.expiration?.getTime()??0)<Date.now())return A.set(R,new Mh(this.getIdentity(R))).identity;if((I.expiration?.getTime()??0)<Date.now()+Yh.REFRESH_WINDOW_MS&&!w.isRefreshing)w.isRefreshing=!0,this.getIdentity(R).then((H)=>{A.set(R,new Mh(Promise.resolve(H)))});return I});return A.set(R,new Mh(this.getIdentity(R))).identity}async getIdentity(f){await this.cache.purgeExpired().catch((A)=>{console.warn("Error while clearing expired entries in S3ExpressIdentityCache: \n"+A)});let h=await this.createSessionFn(f);if(!h.Credentials?.AccessKeyId||!h.Credentials?.SecretAccessKey)throw new Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey.");return{accessKeyId:h.Credentials.AccessKeyId,secretAccessKey:h.Credentials.SecretAccessKey,sessionToken:h.Credentials.SessionToken,expiration:h.Credentials.Expiration?new Date(h.Credentials.Expiration):void 0}}}Yh.REFRESH_WINDOW_MS=60000;var a0=c(aR(),1);var AP="X-Amz-Algorithm",wP="X-Amz-Credential",IP="X-Amz-Date",PP="X-Amz-SignedHeaders",$P="X-Amz-Expires",HP="X-Amz-Signature",UP="X-Amz-Security-Token";var EP="authorization",l0="X-Amz-Date".toLowerCase();var SP=["authorization",l0,"date"],sP="X-Amz-Signature".toLowerCase(),_h="x-amz-content-sha256",NP="X-Amz-Security-Token".toLowerCase();var FP={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},GP=/^proxy-/,DP=/^sec-/;var eR="AWS4-HMAC-SHA256";var gP="AWS4-HMAC-SHA256-PAYLOAD",WP="UNSIGNED-PAYLOAD",MP=50,r0="aws4_request",YP=604800;var oR={},c0=[],pR=(f,h,R)=>`${f}/${h}/${R}/${r0}`,zP=async(f,h,R,A,w)=>{let I=await XP(f,h.secretAccessKey,h.accessKeyId),P=`${R}:${A}:${w}:${a(I)}:${h.sessionToken}`;if(P in oR)return oR[P];c0.push(P);while(c0.length>MP)delete oR[c0.shift()];let $=`AWS4${h.secretAccessKey}`;for(let H of[R,A,w,r0])$=await XP(f,$,H);return oR[P]=$};var XP=(f,h,R)=>{let A=new f(h);return A.update(Mf(R)),A.digest()};var nR=({headers:f},h,R)=>{let A={};for(let w of Object.keys(f).sort()){if(f[w]==null)continue;let I=w.toLowerCase();if(I in FP||h?.has(I)||GP.test(I)||DP.test(I)){if(!R||R&&!R.has(I))continue}A[I]=f[w].trim().replace(/\s+/g," ")}return A};var b0=({query:f={}})=>{let h=[],R={};for(let A of Object.keys(f)){if(A.toLowerCase()===sP)continue;let w=Xh(A);h.push(w);let I=f[A];if(typeof I==="string")R[w]=`${w}=${Xh(I)}`;else if(Array.isArray(I))R[w]=I.slice(0).reduce((P,$)=>P.concat([`${w}=${Xh($)}`]),[]).sort().join("&")}return h.sort().map((A)=>R[A]).filter((A)=>A).join("&")};var eh=async({headers:f,body:h},R)=>{for(let A of Object.keys(f))if(A.toLowerCase()===_h)return f[A];if(h==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof h==="string"||ArrayBuffer.isView(h)||CR(h)){let A=new R;return A.update(Mf(h)),a(await A.digest())}return WP};class d0{format(f){let h=[];for(let w of Object.keys(f)){let I=oh(w);h.push(Uint8Array.from([I.byteLength]),I,this.formatHeaderValue(f[w]))}let R=new Uint8Array(h.reduce((w,I)=>w+I.byteLength,0)),A=0;for(let w of h)R.set(w,A),A+=w.byteLength;return R}formatHeaderValue(f){switch(f.type){case"boolean":return Uint8Array.from([f.value?0:1]);case"byte":return Uint8Array.from([2,f.value]);case"short":let h=new DataView(new ArrayBuffer(3));return h.setUint8(0,3),h.setInt16(1,f.value,!1),new Uint8Array(h.buffer);case"integer":let R=new DataView(new ArrayBuffer(5));return R.setUint8(0,4),R.setInt32(1,f.value,!1),new Uint8Array(R.buffer);case"long":let A=new Uint8Array(9);return A[0]=5,A.set(f.value.bytes,1),A;case"binary":let w=new DataView(new ArrayBuffer(3+f.value.byteLength));w.setUint8(0,6),w.setUint16(1,f.value.byteLength,!1);let I=new Uint8Array(w.buffer);return I.set(f.value,3),I;case"string":let P=oh(f.value),$=new DataView(new ArrayBuffer(3+P.byteLength));$.setUint8(0,7),$.setUint16(1,P.byteLength,!1);let H=new Uint8Array($.buffer);return H.set(P,3),H;case"timestamp":let U=new Uint8Array(9);return U[0]=8,U.set(k0.fromNumber(f.value.valueOf()).bytes,1),U;case"uuid":if(!MS.test(f.value))throw new Error(`Invalid UUID received: ${f.value}`);let s=new Uint8Array(17);return s[0]=9,s.set(uR(f.value.replace(/\-/g,"")),1),s}}}var LP;(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"})(LP||(LP={}));var MS=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class k0{constructor(f){if(this.bytes=f,f.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(f){if(f>9223372036854776000||f<-9223372036854776000)throw new Error(`${f} is too large (or, if negative, too small) to represent as an Int64`);let h=new Uint8Array(8);for(let R=7,A=Math.abs(Math.round(f));R>-1&&A>0;R--,A/=256)h[R]=A;if(f<0)ZP(h);return new k0(h)}valueOf(){let f=this.bytes.slice(0),h=f[0]&128;if(h)ZP(f);return parseInt(a(f),16)*(h?-1:1)}toString(){return String(this.valueOf())}}function ZP(f){for(let h=0;h<8;h++)f[h]^=255;for(let h=7;h>-1;h--)if(f[h]++,f[h]!==0)break}var VP=(f,h)=>{f=f.toLowerCase();for(let R of Object.keys(h))if(f===R.toLowerCase())return!0;return!1};var x0=(f,h={})=>{let{headers:R,query:A={}}=Rf.clone(f);for(let w of Object.keys(R)){let I=w.toLowerCase();if(I.slice(0,6)==="x-amz-"&&!h.unhoistableHeaders?.has(I))A[w]=R[w],delete R[w]}return{...f,headers:R,query:A}};var tR=(f)=>{f=Rf.clone(f);for(let h of Object.keys(f.headers))if(SP.indexOf(h.toLowerCase())>-1)delete f.headers[h];return f};var JP=(f)=>YS(f).toISOString().replace(/\.\d{3}Z$/,"Z"),YS=(f)=>{if(typeof f==="number")return new Date(f*1000);if(typeof f==="string"){if(Number(f))return new Date(Number(f)*1000);return new Date(f)}return f};class i0{constructor({applyChecksum:f,credentials:h,region:R,service:A,sha256:w,uriEscapePath:I=!0}){this.headerFormatter=new d0,this.service=A,this.sha256=w,this.uriEscapePath=I,this.applyChecksum=typeof f==="boolean"?f:!0,this.regionProvider=a0.normalizeProvider(R),this.credentialProvider=a0.normalizeProvider(h)}async presign(f,h={}){let{signingDate:R=new Date,expiresIn:A=3600,unsignableHeaders:w,unhoistableHeaders:I,signableHeaders:P,signingRegion:$,signingService:H}=h,U=await this.credentialProvider();this.validateResolvedCredentials(U);let s=$??await this.regionProvider(),{longDate:G,shortDate:D}=fA(R);if(A>YP)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let N=pR(D,s,H??this.service),M=x0(tR(f),{unhoistableHeaders:I});if(U.sessionToken)M.query[UP]=U.sessionToken;M.query[AP]=eR,M.query[wP]=`${U.accessKeyId}/${N}`,M.query[IP]=G,M.query[$P]=A.toString(10);let Q=nR(M,w,P);return M.query[PP]=yP(Q),M.query[HP]=await this.getSignature(G,N,this.getSigningKey(U,s,D,H),this.createCanonicalRequest(M,Q,await eh(f,this.sha256))),M}async sign(f,h){if(typeof f==="string")return this.signString(f,h);else if(f.headers&&f.payload)return this.signEvent(f,h);else if(f.message)return this.signMessage(f,h);else return this.signRequest(f,h)}async signEvent({headers:f,payload:h},{signingDate:R=new Date,priorSignature:A,signingRegion:w,signingService:I}){let P=w??await this.regionProvider(),{shortDate:$,longDate:H}=fA(R),U=pR($,P,I??this.service),s=await eh({headers:{},body:h},this.sha256),G=new this.sha256;G.update(f);let D=a(await G.digest()),N=[gP,H,U,A,D,s].join("\n");return this.signString(N,{signingDate:R,signingRegion:P,signingService:I})}async signMessage(f,{signingDate:h=new Date,signingRegion:R,signingService:A}){return this.signEvent({headers:this.headerFormatter.format(f.message.headers),payload:f.message.body},{signingDate:h,signingRegion:R,signingService:A,priorSignature:f.priorSignature}).then((I)=>{return{message:f.message,signature:I}})}async signString(f,{signingDate:h=new Date,signingRegion:R,signingService:A}={}){let w=await this.credentialProvider();this.validateResolvedCredentials(w);let I=R??await this.regionProvider(),{shortDate:P}=fA(h),$=new this.sha256(await this.getSigningKey(w,I,P,A));return $.update(Mf(f)),a(await $.digest())}async signRequest(f,{signingDate:h=new Date,signableHeaders:R,unsignableHeaders:A,signingRegion:w,signingService:I}={}){let P=await this.credentialProvider();this.validateResolvedCredentials(P);let $=w??await this.regionProvider(),H=tR(f),{longDate:U,shortDate:s}=fA(h),G=pR(s,$,I??this.service);if(H.headers[l0]=U,P.sessionToken)H.headers[NP]=P.sessionToken;let D=await eh(H,this.sha256);if(!VP(_h,H.headers)&&this.applyChecksum)H.headers[_h]=D;let N=nR(H,A,R),M=await this.getSignature(U,G,this.getSigningKey(P,$,s,I),this.createCanonicalRequest(H,N,D));return H.headers[EP]=`${eR} Credential=${P.accessKeyId}/${G}, SignedHeaders=${yP(N)}, Signature=${M}`,H}createCanonicalRequest(f,h,R){let A=Object.keys(h).sort();return`${f.method}
2
+ import{q as KH}from"../chunk-fe0yca19.js";import{$ as kH,A as pH,B as a1,C as i1,D as _1,E as e1,F as nH,G as ZH,H as VH,I as JH,J as yH,K as uH,L as tH,M as o1,N as af,O as _f,P as fU,Q as QH,R as qH,S as hU,T as TH,U as RU,V as FA,W as mH,X as xA,Y as BH,Z as vH,_ as dH,r as hR,s as lf,t as aH,u as iH,v as _H,w as eH,x as Ah,y as wh,z as o0}from"../chunk-vegenqty.js";import{aa as Lf,ba as WH}from"../chunk-9hs4hzpr.js";import{Aa as Sf,Ca as $h,Fa as Kf,Ga as n3,Ha as k,Ia as u3,Ja as qh,Ka as IR,Ma as HR,Na as oh,Oa as R$,Pa as Qf,Qa as M$,Ra as zH,Sa as LH,Ta as cH,Ua as bH,Wa as vA,Xa as l,Za as Y$,ca as lH,da as rH,ea as hf,fa as pR,ga as bR,ja as uh,ka as Wf,la as NH,ma as oR,na as oH,oa as FH,pa as GH,qa as DH,ra as Zh,sa as YH,ta as XH,ua as Lh,va as gH,wa as bP,xa as dP,ya as W$,za as xf}from"../chunk-686d5sc0.js";import"../chunk-cfsd9356.js";import{hb as XS}from"../chunk-t098k1va.js";import"../chunk-mezq16t3.js";import"../chunk-8h7xg91g.js";import{rb as d8}from"../chunk-259ezewy.js";import{tb as CR}from"../chunk-04mpmtfe.js";import{vb as i8,wb as IW}from"../facades/index.js";import{Hb as i}from"../http/index.js";import"../chunk-gn96qav8.js";import"../chunk-4x4tep45.js";import{Zb as AS}from"../chunk-a8bwm1yn.js";import{$b as C,_b as x}from"../chunk-yp5mh81v.js";var PE=C((iZ,IE)=>{var T6=function f(h){return m6(h)&&!B6(h)};function m6(f){return!!f&&typeof f==="object"}function B6(f){var h=Object.prototype.toString.call(f);return h==="[object RegExp]"||h==="[object Date]"||j6(f)}var v6=typeof Symbol==="function"&&Symbol.for,K6=v6?Symbol.for("react.element"):60103;function j6(f){return f.$$typeof===K6}function O6(f){return Array.isArray(f)?[]:{}}function LR(f,h){return h.clone!==!1&&h.isMergeableObject(f)?rh(O6(f),f,h):f}function C6(f,h,R){return f.concat(h).map(function(A){return LR(A,R)})}function l6(f,h){if(!h.customMerge)return rh;var R=h.customMerge(f);return typeof R==="function"?R:rh}function r6(f){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(f).filter(function(h){return Object.propertyIsEnumerable.call(f,h)}):[]}function AE(f){return Object.keys(f).concat(r6(f))}function wE(f,h){try{return h in f}catch(R){return!1}}function c6(f,h){return wE(f,h)&&!(Object.hasOwnProperty.call(f,h)&&Object.propertyIsEnumerable.call(f,h))}function b6(f,h,R){var A={};if(R.isMergeableObject(f))AE(f).forEach(function(w){A[w]=LR(f[w],R)});return AE(h).forEach(function(w){if(c6(f,w))return;if(wE(f,w)&&R.isMergeableObject(h[w]))A[w]=l6(w,R)(f[w],h[w],R);else A[w]=LR(h[w],R)}),A}function rh(f,h,R){R=R||{},R.arrayMerge=R.arrayMerge||C6,R.isMergeableObject=R.isMergeableObject||T6,R.cloneUnlessOtherwiseSpecified=LR;var A=Array.isArray(h),w=Array.isArray(f),I=A===w;if(!I)return LR(h,R);else if(A)return R.arrayMerge(f,h,R);else return b6(f,h,R)}rh.all=function f(h,R){if(!Array.isArray(h))throw new Error("first argument should be an array");return h.reduce(function(A,w){return rh(A,w,R)},{})};var d6=rh;IE.exports=d6});var g0=C((jG,LE)=>{function u(f){this.__parent=f,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}u.prototype.clone_empty=function(){var f=new u(this.__parent);return f.set_indent(this.__indent_count,this.__alignment_count),f};u.prototype.item=function(f){if(f<0)return this.__items[this.__items.length+f];else return this.__items[f]};u.prototype.has_match=function(f){for(var h=this.__items.length-1;h>=0;h--)if(this.__items[h].match(f))return!0;return!1};u.prototype.set_indent=function(f,h){if(this.is_empty())this.__indent_count=f||0,this.__alignment_count=h||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count)};u.prototype._set_wrap_point=function(){if(this.__parent.wrap_line_length)this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count};u.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count};u.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var f=this.__parent.current_line;if(f.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),f.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),f.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,f.__items[0]===" ")f.__items.splice(0,1),f.__character_count-=1;return!0}return!1};u.prototype.is_empty=function(){return this.__items.length===0};u.prototype.last=function(){if(!this.is_empty())return this.__items[this.__items.length-1];else return null};u.prototype.push=function(f){this.__items.push(f);var h=f.lastIndexOf("\n");if(h!==-1)this.__character_count=f.length-h;else this.__character_count+=f.length};u.prototype.pop=function(){var f=null;if(!this.is_empty())f=this.__items.pop(),this.__character_count-=f.length;return f};u.prototype._remove_indent=function(){if(this.__indent_count>0)this.__indent_count-=1,this.__character_count-=this.__parent.indent_size};u.prototype._remove_wrap_indent=function(){if(this.__wrap_point_indent_count>0)this.__wrap_point_indent_count-=1};u.prototype.trim=function(){while(this.last()===" ")this.__items.pop(),this.__character_count-=1};u.prototype.toString=function(){var f="";if(this.is_empty()){if(this.__parent.indent_empty_lines)f=this.__parent.get_indent_string(this.__indent_count)}else f=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),f+=this.__items.join("");return f};function ZR(f,h){if(this.__cache=[""],this.__indent_size=f.indent_size,this.__indent_string=f.indent_char,!f.indent_with_tabs)this.__indent_string=new Array(f.indent_size+1).join(f.indent_char);if(h=h||"",f.indent_level>0)h=new Array(f.indent_level+1).join(this.__indent_string);this.__base_string=h,this.__base_string_length=h.length}ZR.prototype.get_indent_size=function(f,h){var R=this.__base_string_length;if(h=h||0,f<0)R=0;return R+=f*this.__indent_size,R+=h,R};ZR.prototype.get_indent_string=function(f,h){var R=this.__base_string;if(h=h||0,f<0)f=0,R="";return h+=f*this.__indent_size,this.__ensure_cache(h),R+=this.__cache[h],R};ZR.prototype.__ensure_cache=function(f){while(f>=this.__cache.length)this.__add_column()};ZR.prototype.__add_column=function(){var f=this.__cache.length,h=0,R="";if(this.__indent_size&&f>=this.__indent_size)h=Math.floor(f/this.__indent_size),f-=h*this.__indent_size,R=new Array(h+1).join(this.__indent_string);if(f)R+=new Array(f+1).join(" ");this.__cache.push(R)};function t(f,h){this.__indent_cache=new ZR(f,h),this.raw=!1,this._end_with_newline=f.end_with_newline,this.indent_size=f.indent_size,this.wrap_line_length=f.wrap_line_length,this.indent_empty_lines=f.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new u(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}t.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)};t.prototype.get_line_number=function(){return this.__lines.length};t.prototype.get_indent_string=function(f,h){return this.__indent_cache.get_indent_string(f,h)};t.prototype.get_indent_size=function(f,h){return this.__indent_cache.get_indent_size(f,h)};t.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()};t.prototype.add_new_line=function(f){if(this.is_empty()||!f&&this.just_added_newline())return!1;if(!this.raw)this.__add_outputline();return!0};t.prototype.get_code=function(f){this.trim(!0);var h=this.current_line.pop();if(h){if(h[h.length-1]==="\n")h=h.replace(/\n+$/g,"");this.current_line.push(h)}if(this._end_with_newline)this.__add_outputline();var R=this.__lines.join("\n");if(f!=="\n")R=R.replace(/[\n]/g,f);return R};t.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()};t.prototype.set_indent=function(f,h){if(f=f||0,h=h||0,this.next_line.set_indent(f,h),this.__lines.length>1)return this.current_line.set_indent(f,h),!0;return this.current_line.set_indent(),!1};t.prototype.add_raw_token=function(f){for(var h=0;h<f.newlines;h++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(f.whitespace_before),this.current_line.push(f.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1};t.prototype.add_token=function(f){this.__add_space_before_token(),this.current_line.push(f),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()};t.prototype.__add_space_before_token=function(){if(this.space_before_token&&!this.just_added_newline()){if(!this.non_breaking_space)this.set_wrap_point();this.current_line.push(" ")}};t.prototype.remove_indent=function(f){var h=this.__lines.length;while(f<h)this.__lines[f]._remove_indent(),f++;this.current_line._remove_wrap_indent()};t.prototype.trim=function(f){f=f===void 0?!1:f,this.current_line.trim();while(f&&this.__lines.length>1&&this.current_line.is_empty())this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null};t.prototype.just_added_newline=function(){return this.current_line.is_empty()};t.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()};t.prototype.ensure_empty_line_above=function(f,h){var R=this.__lines.length-2;while(R>=0){var A=this.__lines[R];if(A.is_empty())break;else if(A.item(0).indexOf(f)!==0&&A.item(-1)!==h){this.__lines.splice(R+1,0,new u(this)),this.previous_line=this.__lines[this.__lines.length-2];break}R--}};jG.Output=t});var $I=C((lG,ZE)=>{function CG(f,h,R,A){this.type=f,this.text=h,this.comments_before=null,this.newlines=R||0,this.whitespace_before=A||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}lG.Token=CG});var EI=C((dG)=>{var cG="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",VE="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",HI="\\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",JE="\\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",UI="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",yE="(?:"+UI+"|["+cG+HI+"])",bG="(?:"+UI+"|["+VE+HI+JE+"])*";dG.identifier=new RegExp(yE+bG,"g");dG.identifierStart=new RegExp(yE);dG.identifierMatch=new RegExp("(?:"+UI+"|["+VE+HI+JE+"])+");dG.newline=/[\n\r\u2028\u2029]/;dG.lineBreak=new RegExp("\r\n|"+dG.newline.source);dG.allLineBreaks=new RegExp(dG.lineBreak.source,"g")});var M0=C((_G,W0)=>{function tf(f,h){if(this.raw_options=TE(f,h),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),!this.preserve_newlines)this.max_preserve_newlines=0;if(this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char==="\t"),this.indent_with_tabs){if(this.indent_char="\t",this.indent_size===1)this.indent_size=4}this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}tf.prototype._get_array=function(f,h){var R=this.raw_options[f],A=h||[];if(typeof R==="object"){if(R!==null&&typeof R.concat==="function")A=R.concat()}else if(typeof R==="string")A=R.split(/[^a-zA-Z0-9_\/\-]+/);return A};tf.prototype._get_boolean=function(f,h){var R=this.raw_options[f],A=R===void 0?!!h:!!R;return A};tf.prototype._get_characters=function(f,h){var R=this.raw_options[f],A=h||"";if(typeof R==="string")A=R.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t");return A};tf.prototype._get_number=function(f,h){var R=this.raw_options[f];if(h=parseInt(h,10),isNaN(h))h=0;var A=parseInt(R,10);if(isNaN(A))A=h;return A};tf.prototype._get_selection=function(f,h,R){var A=this._get_selection_list(f,h,R);if(A.length!==1)throw new Error("Invalid Option Value: The option '"+f+"' can only be one of the following values:\n"+h+"\nYou passed in: '"+this.raw_options[f]+"'");return A[0]};tf.prototype._get_selection_list=function(f,h,R){if(!h||h.length===0)throw new Error("Selection list cannot be empty.");if(R=R||[h[0]],!this._is_valid_selection(R,h))throw new Error("Invalid Default Value!");var A=this._get_array(f,R);if(!this._is_valid_selection(A,h))throw new Error("Invalid Option Value: The option '"+f+"' can contain only the following values:\n"+h+"\nYou passed in: '"+this.raw_options[f]+"'");return A};tf.prototype._is_valid_selection=function(f,h){return f.length&&h.length&&!f.some(function(R){return h.indexOf(R)===-1})};function TE(f,h){var R={};f=mE(f);var A;for(A in f)if(A!==h)R[A]=f[A];if(h&&f[h])for(A in f[h])R[A]=f[h][A];return R}function mE(f){var h={},R;for(R in f){var A=R.replace(/-/g,"_");h[A]=f[R]}return h}_G.Options=tf;_G.normalizeOpts=mE;_G.mergeOpts=TE});var SI=C((uG,KE)=>{var BE=M0().Options,nG=["before-newline","after-newline","preserve-newline"];function vE(f){BE.call(this,f,"js");var h=this.raw_options.brace_style||null;if(h==="expand-strict")this.raw_options.brace_style="expand";else if(h==="collapse-preserve-inline")this.raw_options.brace_style="collapse,preserve-inline";else if(this.raw_options.braces_on_own_line!==void 0)this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse";var R=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var A=0;A<R.length;A++)if(R[A]==="preserve-inline")this.brace_preserve_inline=!0;else this.brace_style=R[A];if(this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",nG),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy)this.space_after_anon_function=!0}vE.prototype=new BE;uG.Options=vE});var Y0=C((fD,OE)=>{var jE=RegExp.prototype.hasOwnProperty("sticky");function Af(f){this.__input=f||"",this.__input_length=this.__input.length,this.__position=0}Af.prototype.restart=function(){this.__position=0};Af.prototype.back=function(){if(this.__position>0)this.__position-=1};Af.prototype.hasNext=function(){return this.__position<this.__input_length};Af.prototype.next=function(){var f=null;if(this.hasNext())f=this.__input.charAt(this.__position),this.__position+=1;return f};Af.prototype.peek=function(f){var h=null;if(f=f||0,f+=this.__position,f>=0&&f<this.__input_length)h=this.__input.charAt(f);return h};Af.prototype.__match=function(f,h){f.lastIndex=h;var R=f.exec(this.__input);if(R&&!(jE&&f.sticky)){if(R.index!==h)R=null}return R};Af.prototype.test=function(f,h){if(h=h||0,h+=this.__position,h>=0&&h<this.__input_length)return!!this.__match(f,h);else return!1};Af.prototype.testChar=function(f,h){var R=this.peek(h);return f.lastIndex=0,R!==null&&f.test(R)};Af.prototype.match=function(f){var h=this.__match(f,this.__position);if(h)this.__position+=h[0].length;else h=null;return h};Af.prototype.read=function(f,h,R){var A="",w;if(f){if(w=this.match(f),w)A+=w[0]}if(h&&(w||!f))A+=this.readUntil(h,R);return A};Af.prototype.readUntil=function(f,h){var R="",A=this.__position;f.lastIndex=this.__position;var w=f.exec(this.__input);if(w){if(A=w.index,h)A+=w[0].length}else A=this.__input_length;return R=this.__input.substring(this.__position,A),this.__position=A,R};Af.prototype.readUntilAfter=function(f){return this.readUntil(f,!0)};Af.prototype.get_regexp=function(f,h){var R=null,A="g";if(h&&jE)A="y";if(typeof f==="string"&&f!=="")R=new RegExp(f,A);else if(f)R=new RegExp(f.source,A);return R};Af.prototype.get_literal_regexp=function(f){return RegExp(f.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))};Af.prototype.peekUntilAfter=function(f){var h=this.__position,R=this.readUntilAfter(f);return this.__position=h,R};Af.prototype.lookBack=function(f){var h=this.__position-1;return h>=f.length&&this.__input.substring(h-f.length,h).toLowerCase()===f};fD.InputScanner=Af});var lE=C((RD,CE)=>{function Nh(f){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=f}Nh.prototype.restart=function(){this.__position=0};Nh.prototype.isEmpty=function(){return this.__tokens_length===0};Nh.prototype.hasNext=function(){return this.__position<this.__tokens_length};Nh.prototype.next=function(){var f=null;if(this.hasNext())f=this.__tokens[this.__position],this.__position+=1;return f};Nh.prototype.peek=function(f){var h=null;if(f=f||0,f+=this.__position,f>=0&&f<this.__tokens_length)h=this.__tokens[f];return h};Nh.prototype.add=function(f){if(this.__parent_token)f.parent=this.__parent_token;this.__tokens.push(f),this.__tokens_length+=1};RD.TokenStream=Nh});var VR=C((wD,rE)=>{function Tf(f,h){if(this._input=f,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,h)this._starting_pattern=this._input.get_regexp(h._starting_pattern,!0),this._match_pattern=this._input.get_regexp(h._match_pattern,!0),this._until_pattern=this._input.get_regexp(h._until_pattern),this._until_after=h._until_after}Tf.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};Tf.prototype.read_match=function(){return this._input.match(this._match_pattern)};Tf.prototype.until_after=function(f){var h=this._create();return h._until_after=!0,h._until_pattern=this._input.get_regexp(f),h._update(),h};Tf.prototype.until=function(f){var h=this._create();return h._until_after=!1,h._until_pattern=this._input.get_regexp(f),h._update(),h};Tf.prototype.starting_with=function(f){var h=this._create();return h._starting_pattern=this._input.get_regexp(f,!0),h._update(),h};Tf.prototype.matching=function(f){var h=this._create();return h._match_pattern=this._input.get_regexp(f,!0),h._update(),h};Tf.prototype._create=function(){return new Tf(this._input,this)};Tf.prototype._update=function(){};wD.Pattern=Tf});var dE=C((PD,bE)=>{var cE=VR().Pattern;function fh(f,h){if(cE.call(this,f,h),h)this._line_regexp=this._input.get_regexp(h._line_regexp);else this.__set_whitespace_patterns("","");this.newline_count=0,this.whitespace_before_token=""}fh.prototype=new cE;fh.prototype.__set_whitespace_patterns=function(f,h){f+="\\t ",h+="\\n\\r",this._match_pattern=this._input.get_regexp("["+f+h+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+h+"]")};fh.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var f=this._input.read(this._match_pattern);if(f===" ")this.whitespace_before_token=" ";else if(f){var h=this.__split(this._newline_regexp,f);this.newline_count=h.length-1,this.whitespace_before_token=h[this.newline_count]}return f};fh.prototype.matching=function(f,h){var R=this._create();return R.__set_whitespace_patterns(f,h),R._update(),R};fh.prototype._create=function(){return new fh(this._input,this)};fh.prototype.__split=function(f,h){f.lastIndex=0;var R=0,A=[],w=f.exec(h);while(w)A.push(h.substring(R,w.index)),R=w.index+w[0].length,w=f.exec(h);if(R<h.length)A.push(h.substring(R,h.length));else A.push("");return A};PD.WhitespacePattern=fh});var yR=C((ED,NI)=>{var HD=Y0().InputScanner,kE=$I().Token,sI=lE().TokenStream,UD=dE().WhitespacePattern,JR={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},mf=function(f,h){this._input=new HD(f),this._options=h||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new UD(this._input)};mf.prototype.tokenize=function(){this._input.restart(),this.__tokens=new sI,this._reset();var f,h=new kE(JR.START,""),R=null,A=[],w=new sI;while(h.type!==JR.EOF){f=this._get_next_token(h,R);while(this._is_comment(f))w.add(f),f=this._get_next_token(h,R);if(!w.isEmpty())f.comments_before=w,w=new sI;if(f.parent=R,this._is_opening(f))A.push(R),R=f;else if(R&&this._is_closing(f,R))f.opened=R,R.closed=f,R=A.pop(),f.parent=R;f.previous=h,h.next=f,this.__tokens.add(f),h=f}return this.__tokens};mf.prototype._is_first_token=function(){return this.__tokens.isEmpty()};mf.prototype._reset=function(){};mf.prototype._get_next_token=function(f,h){this._readWhitespace();var R=this._input.read(/.+/g);if(R)return this._create_token(JR.RAW,R);else return this._create_token(JR.EOF,"")};mf.prototype._is_comment=function(f){return!1};mf.prototype._is_opening=function(f){return!1};mf.prototype._is_closing=function(f,h){return!1};mf.prototype._create_token=function(f,h){var R=new kE(f,h,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return R};mf.prototype._readWhitespace=function(){return this._patterns.whitespace.read()};ED.Tokenizer=mf;ED.TOKEN=JR});var X0=C((ND,xE)=>{function FI(f,h){f=typeof f==="string"?f:f.source,h=typeof h==="string"?h:h.source,this.__directives_block_pattern=new RegExp(f+/ beautify( \w+[:]\w+)+ /.source+h,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(f+/\sbeautify\signore:end\s/.source+h,"g")}FI.prototype.get_directives=function(f){if(!f.match(this.__directives_block_pattern))return null;var h={};this.__directive_pattern.lastIndex=0;var R=this.__directive_pattern.exec(f);while(R)h[R[1]]=R[2],R=this.__directive_pattern.exec(f);return h};FI.prototype.readIgnored=function(f){return f.readUntilAfter(this.__directives_end_ignore_pattern)};ND.Directives=FI});var gI=C((GD,aE)=>{var GI=VR().Pattern,DI={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function yf(f,h){if(GI.call(this,f,h),this.__template_pattern=null,this._disabled=Object.assign({},DI),this._excluded=Object.assign({},DI),h)this.__template_pattern=this._input.get_regexp(h.__template_pattern),this._excluded=Object.assign(this._excluded,h._excluded),this._disabled=Object.assign(this._disabled,h._disabled);var R=new GI(f);this.__patterns={handlebars_comment:R.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:R.starting_with(/{{{/).until_after(/}}}/),handlebars:R.starting_with(/{{/).until_after(/}}/),php:R.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:R.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:R.starting_with(/{%/).until_after(/%}/),django_value:R.starting_with(/{{/).until_after(/}}/),django_comment:R.starting_with(/{#/).until_after(/#}/),smarty:R.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:R.starting_with(/{\*/).until_after(/\*}/),smarty_literal:R.starting_with(/{literal}/).until_after(/{\/literal}/)}}yf.prototype=new GI;yf.prototype._create=function(){return new yf(this._input,this)};yf.prototype._update=function(){this.__set_templated_pattern()};yf.prototype.disable=function(f){var h=this._create();return h._disabled[f]=!0,h._update(),h};yf.prototype.read_options=function(f){var h=this._create();for(var R in DI)h._disabled[R]=f.templating.indexOf(R)===-1;return h._update(),h};yf.prototype.exclude=function(f){var h=this._create();return h._excluded[f]=!0,h._update(),h};yf.prototype.read=function(){var f="";if(this._match_pattern)f=this._input.read(this._starting_pattern);else f=this._input.read(this._starting_pattern,this.__template_pattern);var h=this._read_template();while(h){if(this._match_pattern)h+=this._input.read(this._match_pattern);else h+=this._input.readUntil(this.__template_pattern);f+=h,h=this._read_template()}if(this._until_after)f+=this._input.readUntilAfter(this._until_pattern);return f};yf.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("|")+")")};yf.prototype._read_template=function(){var f="",h=this._input.peek();if(h==="<"){var R=this._input.peek(1);if(!this._disabled.php&&!this._excluded.php&&R==="?")f=f||this.__patterns.php.read();if(!this._disabled.erb&&!this._excluded.erb&&R==="%")f=f||this.__patterns.erb.read()}else if(h==="{"){if(!this._disabled.handlebars&&!this._excluded.handlebars)f=f||this.__patterns.handlebars_comment.read(),f=f||this.__patterns.handlebars_unescaped.read(),f=f||this.__patterns.handlebars.read();if(!this._disabled.django){if(!this._excluded.django&&!this._excluded.handlebars)f=f||this.__patterns.django_value.read();if(!this._excluded.django)f=f||this.__patterns.django_comment.read(),f=f||this.__patterns.django.read()}if(!this._disabled.smarty){if(this._disabled.django&&this._disabled.handlebars)f=f||this.__patterns.smarty_comment.read(),f=f||this.__patterns.smarty_literal.read(),f=f||this.__patterns.smarty.read()}}return f};GD.TemplatablePattern=yf});var qR=C((qD,QR)=>{var gD=Y0().InputScanner,_E=yR().Tokenizer,WI=yR().TOKEN,WD=X0().Directives,Yf=EI(),MD=VR().Pattern,YD=gI().TemplatablePattern;function MI(f,h){return h.indexOf(f)!==-1}var g={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:WI.START,RAW:WI.RAW,EOF:WI.EOF},iE=new WD(/\/\*/,/\*\//),XD=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,zD=/[0-9]/,LD=/[^\d\.]/,ZD=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),Fh=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";Fh=Fh.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&");Fh="\\?\\.(?!\\d) "+Fh;Fh=Fh.replace(/ /g,"|");var VD=new RegExp(Fh),eE="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),JD=eE.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),yD=new RegExp("^(?:"+JD.join("|")+")$"),z0,ff=function(f,h){_E.call(this,f,h),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var R=new MD(this._input),A=new YD(this._input).read_options(this._options);this.__patterns={template:A,identifier:A.starting_with(Yf.identifier).matching(Yf.identifierMatch),number:R.matching(XD),punct:R.matching(VD),comment:R.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:R.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:R.matching(/<!--/),html_comment_end:R.matching(/-->/),include:R.starting_with(/#include/).until_after(Yf.lineBreak),shebang:R.starting_with(/#!/).until_after(Yf.lineBreak),xml:R.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:A.until(/['\\\n\r\u2028\u2029]/),double_quote:A.until(/["\\\n\r\u2028\u2029]/),template_text:A.until(/[`\\$]/),template_expression:A.until(/[`}\\]/)}};ff.prototype=new _E;ff.prototype._is_comment=function(f){return f.type===g.COMMENT||f.type===g.BLOCK_COMMENT||f.type===g.UNKNOWN};ff.prototype._is_opening=function(f){return f.type===g.START_BLOCK||f.type===g.START_EXPR};ff.prototype._is_closing=function(f,h){return(f.type===g.END_BLOCK||f.type===g.END_EXPR)&&(h&&(f.text==="]"&&h.text==="["||f.text===")"&&h.text==="("||f.text==="}"&&h.text==="{"))};ff.prototype._reset=function(){z0=!1};ff.prototype._get_next_token=function(f,h){var R=null;this._readWhitespace();var A=this._input.peek();if(A===null)return this._create_token(g.EOF,"");return R=R||this._read_non_javascript(A),R=R||this._read_string(A),R=R||this._read_pair(A,this._input.peek(1)),R=R||this._read_word(f),R=R||this._read_singles(A),R=R||this._read_comment(A),R=R||this._read_regexp(A,f),R=R||this._read_xml(A,f),R=R||this._read_punctuation(),R=R||this._create_token(g.UNKNOWN,this._input.next()),R};ff.prototype._read_word=function(f){var h=this.__patterns.identifier.read();if(h!==""){if(h=h.replace(Yf.allLineBreaks,"\n"),!(f.type===g.DOT||f.type===g.RESERVED&&(f.text==="set"||f.text==="get"))&&yD.test(h)){if((h==="in"||h==="of")&&(f.type===g.WORD||f.type===g.STRING))return this._create_token(g.OPERATOR,h);return this._create_token(g.RESERVED,h)}return this._create_token(g.WORD,h)}if(h=this.__patterns.number.read(),h!=="")return this._create_token(g.WORD,h)};ff.prototype._read_singles=function(f){var h=null;if(f==="("||f==="[")h=this._create_token(g.START_EXPR,f);else if(f===")"||f==="]")h=this._create_token(g.END_EXPR,f);else if(f==="{")h=this._create_token(g.START_BLOCK,f);else if(f==="}")h=this._create_token(g.END_BLOCK,f);else if(f===";")h=this._create_token(g.SEMICOLON,f);else if(f==="."&&LD.test(this._input.peek(1)))h=this._create_token(g.DOT,f);else if(f===",")h=this._create_token(g.COMMA,f);if(h)this._input.next();return h};ff.prototype._read_pair=function(f,h){var R=null;if(f==="#"&&h==="{")R=this._create_token(g.START_BLOCK,f+h);if(R)this._input.next(),this._input.next();return R};ff.prototype._read_punctuation=function(){var f=this.__patterns.punct.read();if(f!=="")if(f==="=")return this._create_token(g.EQUALS,f);else if(f==="?.")return this._create_token(g.DOT,f);else return this._create_token(g.OPERATOR,f)};ff.prototype._read_non_javascript=function(f){var h="";if(f==="#"){if(this._is_first_token()){if(h=this.__patterns.shebang.read(),h)return this._create_token(g.UNKNOWN,h.trim()+"\n")}if(h=this.__patterns.include.read(),h)return this._create_token(g.UNKNOWN,h.trim()+"\n");f=this._input.next();var R="#";if(this._input.hasNext()&&this._input.testChar(zD)){do f=this._input.next(),R+=f;while(this._input.hasNext()&&f!=="#"&&f!=="=");if(f==="#");else if(this._input.peek()==="["&&this._input.peek(1)==="]")R+="[]",this._input.next(),this._input.next();else if(this._input.peek()==="{"&&this._input.peek(1)==="}")R+="{}",this._input.next(),this._input.next();return this._create_token(g.WORD,R)}this._input.back()}else if(f==="<"&&this._is_first_token()){if(h=this.__patterns.html_comment_start.read(),h){while(this._input.hasNext()&&!this._input.testChar(Yf.newline))h+=this._input.next();return z0=!0,this._create_token(g.COMMENT,h)}}else if(z0&&f==="-"){if(h=this.__patterns.html_comment_end.read(),h)return z0=!1,this._create_token(g.COMMENT,h)}return null};ff.prototype._read_comment=function(f){var h=null;if(f==="/"){var R="";if(this._input.peek(1)==="*"){R=this.__patterns.block_comment.read();var A=iE.get_directives(R);if(A&&A.ignore==="start")R+=iE.readIgnored(this._input);R=R.replace(Yf.allLineBreaks,"\n"),h=this._create_token(g.BLOCK_COMMENT,R),h.directives=A}else if(this._input.peek(1)==="/")R=this.__patterns.comment.read(),h=this._create_token(g.COMMENT,R)}return h};ff.prototype._read_string=function(f){if(f==="`"||f==="'"||f==='"'){var h=this._input.next();if(this.has_char_escapes=!1,f==="`")h+=this._read_string_recursive("`",!0,"${");else h+=this._read_string_recursive(f);if(this.has_char_escapes&&this._options.unescape_strings)h=QD(h);if(this._input.peek()===f)h+=this._input.next();return h=h.replace(Yf.allLineBreaks,"\n"),this._create_token(g.STRING,h)}return null};ff.prototype._allow_regexp_or_xml=function(f){return f.type===g.RESERVED&&MI(f.text,["return","case","throw","else","do","typeof","yield"])||f.type===g.END_EXPR&&f.text===")"&&f.opened.previous.type===g.RESERVED&&MI(f.opened.previous.text,["if","while","for"])||MI(f.type,[g.COMMENT,g.START_EXPR,g.START_BLOCK,g.START,g.END_BLOCK,g.OPERATOR,g.EQUALS,g.EOF,g.SEMICOLON,g.COMMA])};ff.prototype._read_regexp=function(f,h){if(f==="/"&&this._allow_regexp_or_xml(h)){var R=this._input.next(),A=!1,w=!1;while(this._input.hasNext()&&((A||w||this._input.peek()!==f)&&!this._input.testChar(Yf.newline))){if(R+=this._input.peek(),!A){if(A=this._input.peek()==="\\",this._input.peek()==="[")w=!0;else if(this._input.peek()==="]")w=!1}else A=!1;this._input.next()}if(this._input.peek()===f)R+=this._input.next(),R+=this._input.read(Yf.identifier);return this._create_token(g.STRING,R)}return null};ff.prototype._read_xml=function(f,h){if(this._options.e4x&&f==="<"&&this._allow_regexp_or_xml(h)){var R="",A=this.__patterns.xml.read_match();if(A){var w=A[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),I=w.indexOf("{")===0,P=0;while(A){var $=!!A[1],H=A[2],U=!!A[A.length-1]||H.slice(0,8)==="![CDATA[";if(!U&&(H===w||I&&H.replace(/^{\s+/,"{").replace(/\s+}$/,"}")))if($)--P;else++P;if(R+=A[0],P<=0)break;A=this.__patterns.xml.read_match()}if(!A)R+=this._input.match(/[\s\S]*/g)[0];return R=R.replace(Yf.allLineBreaks,"\n"),this._create_token(g.STRING,R)}}return null};function QD(f){var h="",R=0,A=new gD(f),w=null;while(A.hasNext()){if(w=A.match(/([\s]|[^\\]|\\\\)+/g),w)h+=w[0];if(A.peek()==="\\"){if(A.next(),A.peek()==="x")w=A.match(/x([0-9A-Fa-f]{2})/g);else if(A.peek()==="u"){if(w=A.match(/u([0-9A-Fa-f]{4})/g),!w)w=A.match(/u\{([0-9A-Fa-f]+)\}/g)}else{if(h+="\\",A.hasNext())h+=A.next();continue}if(!w)return f;if(R=parseInt(w[1],16),R>126&&R<=255&&w[0].indexOf("x")===0)return f;else if(R>=0&&R<32)h+="\\"+w[0];else if(R>1114111)h+="\\"+w[0];else if(R===34||R===39||R===92)h+="\\"+String.fromCharCode(R);else h+=String.fromCharCode(R)}}return h}ff.prototype._read_string_recursive=function(f,h,R){var A,w;if(f==="\'")w=this.__patterns.single_quote;else if(f==='"')w=this.__patterns.double_quote;else if(f==="`")w=this.__patterns.template_text;else if(f==="}")w=this.__patterns.template_expression;var I=w.read(),P="";while(this._input.hasNext()){if(P=this._input.next(),P===f||!h&&Yf.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(R){if(R==="${"&&P==="$"&&this._input.peek()==="{")P+=this._input.next();if(R===P){if(f==="`")P+=this._read_string_recursive("}",h,"`");else P+=this._read_string_recursive("`",h,"${");if(this._input.hasNext())P+=this._input.next()}}P+=w.read(),I+=P}return I};qD.Tokenizer=ff;qD.TOKEN=g;qD.positionable_operators=ZD.slice();qD.line_starters=eE.slice()});var uE=C((xD,nE)=>{var KD=g0().Output,jD=$I().Token,L0=EI(),OD=SI().Options,CD=qR().Tokenizer,vR=qR().line_starters,TR=qR().positionable_operators,E=qR().TOKEN;function z(f,h){return h.indexOf(f)!==-1}function lD(f){return f.replace(/^\s+/g,"")}function rD(f){var h={};for(var R=0;R<f.length;R++)h[f[R].replace(/-/g,"_")]=f[R];return h}function Xf(f,h){return f&&f.type===E.RESERVED&&f.text===h}function v(f,h){return f&&f.type===E.RESERVED&&z(f.text,h)}var Z0=["case","return","do","if","throw","else","await","break","continue","async"],cD=["before-newline","after-newline","preserve-newline"],mR=rD(cD),oE=[mR.before_newline,mR.preserve_newline],W={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function pE(f,h){if(h.multiline_frame||h.mode===W.ForInitializer||h.mode===W.Conditional)return;f.remove_indent(h.start_line_index)}function bD(f){f=f.replace(L0.allLineBreaks,"\n");var h=[],R=f.indexOf("\n");while(R!==-1)h.push(f.substring(0,R)),f=f.substring(R+1),R=f.indexOf("\n");if(f.length)h.push(f);return h}function hh(f){return f===W.ArrayLiteral}function BR(f){return z(f,[W.Expression,W.ForInitializer,W.Conditional])}function dD(f,h){for(var R=0;R<f.length;R++){var A=f[R].trim();if(A.charAt(0)!==h)return!1}return!0}function kD(f,h){var R=0,A=f.length,w;for(;R<A;R++)if(w=f[R],w&&w.indexOf(h)!==0)return!1;return!0}function y(f,h){h=h||{},this._source_text=f||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new OD(h)}y.prototype.create_flags=function(f,h){var R=0;if(f){if(R=f.indentation_level,!this._output.just_added_newline()&&f.line_indent_level>R)R=f.line_indent_level}var A={mode:h,parent:f,last_token:f?f.last_token:new jD(E.START_BLOCK,""),last_word:f?f.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:R,alignment:0,line_indent_level:f?f.line_indent_level:R,start_line_index:this._output.get_line_number(),ternary_depth:0};return A};y.prototype._reset=function(f){var h=f.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new KD(this._options,h),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(W.BlockStatement);var R=new CD(f,this._options);return this._tokens=R.tokenize(),f};y.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var f,h=this._reset(this._source_text),R=this._options.eol;if(this._options.eol==="auto"){if(R="\n",h&&L0.lineBreak.test(h||""))R=h.match(L0.lineBreak)[0]}var A=this._tokens.next();while(A)this.handle_token(A),this._last_last_text=this._flags.last_token.text,this._flags.last_token=A,A=this._tokens.next();return f=this._output.get_code(R),f};y.prototype.handle_token=function(f,h){if(f.type===E.START_EXPR)this.handle_start_expr(f);else if(f.type===E.END_EXPR)this.handle_end_expr(f);else if(f.type===E.START_BLOCK)this.handle_start_block(f);else if(f.type===E.END_BLOCK)this.handle_end_block(f);else if(f.type===E.WORD)this.handle_word(f);else if(f.type===E.RESERVED)this.handle_word(f);else if(f.type===E.SEMICOLON)this.handle_semicolon(f);else if(f.type===E.STRING)this.handle_string(f);else if(f.type===E.EQUALS)this.handle_equals(f);else if(f.type===E.OPERATOR)this.handle_operator(f);else if(f.type===E.COMMA)this.handle_comma(f);else if(f.type===E.BLOCK_COMMENT)this.handle_block_comment(f,h);else if(f.type===E.COMMENT)this.handle_comment(f,h);else if(f.type===E.DOT)this.handle_dot(f);else if(f.type===E.EOF)this.handle_eof(f);else if(f.type===E.UNKNOWN)this.handle_unknown(f,h);else this.handle_unknown(f,h)};y.prototype.handle_whitespace_and_comments=function(f,h){var R=f.newlines,A=this._options.keep_array_indentation&&hh(this._flags.mode);if(f.comments_before){var w=f.comments_before.next();while(w)this.handle_whitespace_and_comments(w,h),this.handle_token(w,h),w=f.comments_before.next()}if(A)for(var I=0;I<R;I+=1)this.print_newline(I>0,h);else{if(this._options.max_preserve_newlines&&R>this._options.max_preserve_newlines)R=this._options.max_preserve_newlines;if(this._options.preserve_newlines){if(R>1){this.print_newline(!1,h);for(var P=1;P<R;P+=1)this.print_newline(!0,h)}}}};var YI=["async","break","continue","return","throw","yield"];y.prototype.allow_wrap_or_preserved_newline=function(f,h){if(h=h===void 0?!1:h,this._output.just_added_newline())return;var R=this._options.preserve_newlines&&f.newlines||h,A=z(this._flags.last_token.text,TR)||z(f.text,TR);if(A){var w=z(this._flags.last_token.text,TR)&&z(this._options.operator_position,oE)||z(f.text,TR);R=R&&w}if(R)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(v(this._flags.last_token,YI))return;this._output.set_wrap_point()}};y.prototype.print_newline=function(f,h){if(!h){if(this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==E.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")){var R=this._tokens.peek();while(this._flags.mode===W.Statement&&!(this._flags.if_block&&Xf(R,"else"))&&!this._flags.do_block)this.restore_mode()}}if(this._output.add_new_line(f))this._flags.multiline_frame=!0};y.prototype.print_token_line_indentation=function(f){if(this._output.just_added_newline()){if(this._options.keep_array_indentation&&f.newlines&&(f.text==="["||hh(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}};y.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===E.COMMA&&this._output.just_added_newline()){if(this._output.previous_line.last()===","){var h=this._output.previous_line.pop();if(this._output.previous_line.is_empty())this._output.previous_line.push(h),this._output.trim(!0),this._output.current_line.pop(),this._output.trim();this.print_token_line_indentation(f),this._output.add_token(","),this._output.space_before_token=!0}}if(this.print_token_line_indentation(f),this._output.non_breaking_space=!0,this._output.add_token(f.text),this._output.previous_token_wrapped)this._flags.multiline_frame=!0};y.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};y.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)};y.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)};y.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===W.Statement)pE(this._output,this._previous_flags);this._output.set_indent(this._flags.indentation_level,this._flags.alignment)}};y.prototype.start_of_object_property=function(){return this._flags.parent.mode===W.ObjectLiteral&&this._flags.mode===W.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||v(this._flags.last_token,["get","set"]))};y.prototype.start_of_statement=function(f){var h=!1;if(h=h||v(this._flags.last_token,["var","let","const"])&&f.type===E.WORD,h=h||Xf(this._flags.last_token,"do"),h=h||!(this._flags.parent.mode===W.ObjectLiteral&&this._flags.mode===W.Statement)&&v(this._flags.last_token,YI)&&!f.newlines,h=h||Xf(this._flags.last_token,"else")&&!(Xf(f,"if")&&!f.comments_before),h=h||this._flags.last_token.type===E.END_EXPR&&(this._previous_flags.mode===W.ForInitializer||this._previous_flags.mode===W.Conditional),h=h||this._flags.last_token.type===E.WORD&&this._flags.mode===W.BlockStatement&&!this._flags.in_case&&!(f.text==="--"||f.text==="++")&&this._last_last_text!=="function"&&f.type!==E.WORD&&f.type!==E.RESERVED,h=h||this._flags.mode===W.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||v(this._flags.last_token,["get","set"])),h){if(this.set_mode(W.Statement),this.indent(),this.handle_whitespace_and_comments(f,!0),!this.start_of_object_property())this.allow_wrap_or_preserved_newline(f,v(f,["do","for","if","while"]));return!0}return!1};y.prototype.handle_start_expr=function(f){if(!this.start_of_statement(f))this.handle_whitespace_and_comments(f);var h=W.Expression;if(f.text==="["){if(this._flags.last_token.type===E.WORD||this._flags.last_token.text===")"){if(v(this._flags.last_token,vR))this._output.space_before_token=!0;if(this.print_token(f),this.set_mode(h),this.indent(),this._options.space_in_paren)this._output.space_before_token=!0;return}if(h=W.ArrayLiteral,hh(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,[E.START_EXPR,E.END_EXPR,E.WORD,E.OPERATOR,E.DOT]))this._output.space_before_token=!0}else{if(this._flags.last_token.type===E.RESERVED){if(this._flags.last_token.text==="for")this._output.space_before_token=this._options.space_before_conditional,h=W.ForInitializer;else if(z(this._flags.last_token.text,["if","while","switch"]))this._output.space_before_token=this._options.space_before_conditional,h=W.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,vR)||this._flags.last_token.text==="catch")this._output.space_before_token=!0}else if(this._flags.last_token.type===E.EQUALS||this._flags.last_token.type===E.OPERATOR){if(!this.start_of_object_property())this.allow_wrap_or_preserved_newline(f)}else if(this._flags.last_token.type===E.WORD){this._output.space_before_token=!1;var R=this._tokens.peek(-3);if(this._options.space_after_named_function&&R){var A=this._tokens.peek(-4);if(v(R,["async","function"])||R.text==="*"&&v(A,["async","function"]))this._output.space_before_token=!0;else if(this._flags.mode===W.ObjectLiteral){if(R.text==="{"||R.text===","||R.text==="*"&&(A.text==="{"||A.text===","))this._output.space_before_token=!0}else if(this._flags.parent&&this._flags.parent.class_start_block)this._output.space_before_token=!0}}else this.allow_wrap_or_preserved_newline(f);if(this._flags.last_token.type===E.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===W.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===E.START_BLOCK)this.print_newline();else if(this._flags.last_token.type===E.END_EXPR||this._flags.last_token.type===E.START_EXPR||this._flags.last_token.type===E.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===E.COMMA)this.allow_wrap_or_preserved_newline(f,f.newlines);if(this.print_token(f),this.set_mode(h),this._options.space_in_paren)this._output.space_before_token=!0;this.indent()};y.prototype.handle_end_expr=function(f){while(this._flags.mode===W.Statement)this.restore_mode();if(this.handle_whitespace_and_comments(f),this._flags.multiline_frame)this.allow_wrap_or_preserved_newline(f,f.text==="]"&&hh(this._flags.mode)&&!this._options.keep_array_indentation);if(this._options.space_in_paren)if(this._flags.last_token.type===E.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(),pE(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===W.Conditional)this._previous_flags.mode=W.Expression,this._flags.do_block=!1,this._flags.do_while=!1};y.prototype.handle_start_block=function(f){this.handle_whitespace_and_comments(f);var h=this._tokens.peek(),R=this._tokens.peek(1);if(this._flags.last_word==="switch"&&this._flags.last_token.type===E.END_EXPR)this.set_mode(W.BlockStatement),this._flags.in_case_statement=!0;else if(this._flags.case_body)this.set_mode(W.BlockStatement);else if(R&&(z(R.text,[":",","])&&z(h.type,[E.STRING,E.WORD,E.RESERVED])||z(h.text,["get","set","..."])&&z(R.type,[E.WORD,E.RESERVED])))if(z(this._last_last_text,["class","interface"])&&!z(R.text,[":",","]))this.set_mode(W.BlockStatement);else this.set_mode(W.ObjectLiteral);else if(this._flags.last_token.type===E.OPERATOR&&this._flags.last_token.text==="=>")this.set_mode(W.BlockStatement);else if(z(this._flags.last_token.type,[E.EQUALS,E.START_EXPR,E.COMMA,E.OPERATOR])||v(this._flags.last_token,["return","throw","import","default"]))this.set_mode(W.ObjectLiteral);else this.set_mode(W.BlockStatement);if(this._flags.last_token){if(v(this._flags.last_token.previous,["class","extends"]))this._flags.class_start_block=!0}var A=!h.comments_before&&h.text==="}",w=A&&this._flags.last_word==="function"&&this._flags.last_token.type===E.END_EXPR;if(this._options.brace_preserve_inline){var I=0,P=null;this._flags.inline_frame=!0;do if(I+=1,P=this._tokens.peek(I-1),P.newlines){this._flags.inline_frame=!1;break}while(P.type!==E.EOF&&!(P.type===E.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!==E.OPERATOR&&(w||this._flags.last_token.type===E.EQUALS||v(this._flags.last_token,Z0)&&this._flags.last_token.text!=="else"))this._output.space_before_token=!0;else this.print_newline(!1,!0);else{if(hh(this._previous_flags.mode)&&(this._flags.last_token.type===E.START_EXPR||this._flags.last_token.type===E.COMMA)){if(this._flags.last_token.type===E.COMMA||this._options.space_in_paren)this._output.space_before_token=!0;if(this._flags.last_token.type===E.COMMA||this._flags.last_token.type===E.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!==E.OPERATOR&&this._flags.last_token.type!==E.START_EXPR)if(z(this._flags.last_token.type,[E.START_BLOCK,E.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()};y.prototype.handle_end_block=function(f){this.handle_whitespace_and_comments(f);while(this._flags.mode===W.Statement)this.restore_mode();var h=this._flags.last_token.type===E.START_BLOCK;if(this._flags.inline_frame&&!h)this._output.space_before_token=!0;else if(this._options.brace_style==="expand"){if(!h)this.print_newline()}else if(!h)if(hh(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)};y.prototype.handle_word=function(f){if(f.type===E.RESERVED){if(z(f.text,["set","get"])&&this._flags.mode!==W.ObjectLiteral)f.type=E.WORD;else if(f.text==="import"&&z(this._tokens.peek().text,["(","."]))f.type=E.WORD;else if(z(f.text,["as","from"])&&!this._flags.import_block)f.type=E.WORD;else if(this._flags.mode===W.ObjectLiteral){var h=this._tokens.peek();if(h.text===":")f.type=E.WORD}}if(this.start_of_statement(f)){if(v(this._flags.last_token,["var","let","const"])&&f.type===E.WORD)this._flags.declaration_statement=!0}else if(f.newlines&&!BR(this._flags.mode)&&(this._flags.last_token.type!==E.OPERATOR||(this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))&&this._flags.last_token.type!==E.EQUALS&&(this._options.preserve_newlines||!v(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===W.Statement)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&v(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===E.COMMA||this._flags.last_token.type===E.START_EXPR||this._flags.last_token.type===E.EQUALS||this._flags.last_token.type===E.OPERATOR){if(!this.start_of_object_property()&&!(z(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===W.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===E.OPERATOR)){if(!this._output.just_added_blankline()&&!f.comments_before)this.print_newline(),this.print_newline(!0)}if(this._flags.last_token.type===E.RESERVED||this._flags.last_token.type===E.WORD)if(v(this._flags.last_token,["get","set","new","export"])||v(this._flags.last_token,YI))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===E.OPERATOR||this._flags.last_token.text==="=")this._output.space_before_token=!0;else if(!this._flags.multiline_frame&&(BR(this._flags.mode)||hh(this._flags.mode)));else this.print_newline();this.print_token(f),this._flags.last_word=f.text;return}var R="NONE";if(this._flags.last_token.type===E.END_BLOCK)if(this._previous_flags.inline_frame)R="SPACE";else if(!v(f,["else","catch","finally","from"]))R="NEWLINE";else if(this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&f.newlines)R="NEWLINE";else R="SPACE",this._output.space_before_token=!0;else if(this._flags.last_token.type===E.SEMICOLON&&this._flags.mode===W.BlockStatement)R="NEWLINE";else if(this._flags.last_token.type===E.SEMICOLON&&BR(this._flags.mode))R="SPACE";else if(this._flags.last_token.type===E.STRING)R="NEWLINE";else if(this._flags.last_token.type===E.RESERVED||this._flags.last_token.type===E.WORD||this._flags.last_token.text==="*"&&(z(this._last_last_text,["function","yield"])||this._flags.mode===W.ObjectLiteral&&z(this._last_last_text,["{",","])))R="SPACE";else if(this._flags.last_token.type===E.START_BLOCK)if(this._flags.inline_frame)R="SPACE";else R="NEWLINE";else if(this._flags.last_token.type===E.END_EXPR)this._output.space_before_token=!0,R="NEWLINE";if(v(f,vR)&&this._flags.last_token.text!==")")if(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export")R="SPACE";else R="NEWLINE";if(v(f,["else","catch","finally"]))if((!(this._flags.last_token.type===E.END_BLOCK&&this._previous_flags.mode===W.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&f.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var A=this._output.current_line;if(A.last()!=="}")this.print_newline();this._output.space_before_token=!0}else if(R==="NEWLINE"){if(v(this._flags.last_token,Z0))this._output.space_before_token=!0;else if(this._flags.last_token.text==="declare"&&v(f,["var","let","const"]))this._output.space_before_token=!0;else if(this._flags.last_token.type!==E.END_EXPR){if((this._flags.last_token.type!==E.START_EXPR||!v(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(v(f,vR)&&this._flags.last_token.text!==")")this.print_newline()}else if(this._flags.multiline_frame&&hh(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}")this.print_newline();else if(R==="SPACE")this._output.space_before_token=!0;if(f.previous&&(f.previous.type===E.WORD||f.previous.type===E.RESERVED))this._output.space_before_token=!0;if(this.print_token(f),this._flags.last_word=f.text,f.type===E.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}};y.prototype.handle_semicolon=function(f){if(this.start_of_statement(f))this._output.space_before_token=!1;else this.handle_whitespace_and_comments(f);var h=this._tokens.peek();while(this._flags.mode===W.Statement&&!(this._flags.if_block&&Xf(h,"else"))&&!this._flags.do_block)this.restore_mode();if(this._flags.import_block)this._flags.import_block=!1;this.print_token(f)};y.prototype.handle_string=function(f){if(f.text.startsWith("`")&&f.newlines===0&&f.whitespace_before===""&&(f.previous.text===")"||this._flags.last_token.type===E.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===E.RESERVED||this._flags.last_token.type===E.WORD||this._flags.inline_frame)this._output.space_before_token=!0;else if(this._flags.last_token.type===E.COMMA||this._flags.last_token.type===E.START_EXPR||this._flags.last_token.type===E.EQUALS||this._flags.last_token.type===E.OPERATOR){if(!this.start_of_object_property())this.allow_wrap_or_preserved_newline(f)}else if(f.text.startsWith("`")&&this._flags.last_token.type===E.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)};y.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};y.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(BR(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===W.ObjectLiteral||this._flags.mode===W.Statement&&this._flags.parent.mode===W.ObjectLiteral){if(this._flags.mode===W.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)};y.prototype.handle_operator=function(f){var h=f.text==="*"&&(v(this._flags.last_token,["function","yield"])||z(this._flags.last_token.type,[E.START_BLOCK,E.COMMA,E.END_BLOCK,E.SEMICOLON])),R=z(f.text,["-","+"])&&(z(this._flags.last_token.type,[E.START_BLOCK,E.START_EXPR,E.EQUALS,E.OPERATOR])||z(this._flags.last_token.text,vR)||this._flags.last_token.text===",");if(this.start_of_statement(f));else{var A=!h;this.handle_whitespace_and_comments(f,A)}if(f.text==="*"&&this._flags.last_token.type===E.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===E.OPERATOR&&z(this._options.operator_position,oE))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!==E.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 w=!0,I=!0,P=!1;if(f.text===":")if(this._flags.ternary_depth===0)w=!1;else this._flags.ternary_depth-=1,P=!0;else if(f.text==="?")this._flags.ternary_depth+=1;if(!R&&!h&&this._options.preserve_newlines&&z(f.text,TR)){var $=f.text===":",H=$&&P,U=$&&!P;switch(this._options.operator_position){case mR.before_newline:if(this._output.space_before_token=!U,this.print_token(f),!$||H)this.allow_wrap_or_preserved_newline(f);this._output.space_before_token=!0;return;case mR.after_newline:if(this._output.space_before_token=!0,!$||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 mR.preserve_newline:if(!U)this.allow_wrap_or_preserved_newline(f);w=!(this._output.just_added_newline()||U),this._output.space_before_token=w,this.print_token(f),this._output.space_before_token=!0;return}}if(h){this.allow_wrap_or_preserved_newline(f),w=!1;var s=this._tokens.peek();I=s&&z(s.type,[E.WORD,E.RESERVED])}else if(f.text==="...")this.allow_wrap_or_preserved_newline(f),w=this._flags.last_token.type===E.START_BLOCK,I=!1;else if(z(f.text,["--","++","!","~"])||R){if(this._flags.last_token.type===E.COMMA||this._flags.last_token.type===E.START_EXPR)this.allow_wrap_or_preserved_newline(f);if(w=!1,I=!1,f.newlines&&(f.text==="--"||f.text==="++"||f.text==="~")){var G=v(this._flags.last_token,Z0)&&f.newlines;if(G&&(this._previous_flags.if_block||this._previous_flags.else_block))this.restore_mode();this.print_newline(G,!0)}if(this._flags.last_token.text===";"&&BR(this._flags.mode))w=!0;if(this._flags.last_token.type===E.RESERVED)w=!0;else if(this._flags.last_token.type===E.END_EXPR)w=!(this._flags.last_token.text==="]"&&(f.text==="--"||f.text==="++"));else if(this._flags.last_token.type===E.OPERATOR){if(w=z(f.text,["--","-","++","+"])&&z(this._flags.last_token.text,["--","-","++","+"]),z(f.text,["+","-"])&&z(this._flags.last_token.text,["--","++"]))I=!0}if((this._flags.mode===W.BlockStatement&&!this._flags.inline_frame||this._flags.mode===W.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";"))this.print_newline()}this._output.space_before_token=this._output.space_before_token||w,this.print_token(f),this._output.space_before_token=I};y.prototype.handle_block_comment=function(f,h){if(this._output.raw){if(this._output.add_raw_token(f),f.directives&&f.directives.preserve==="end")this._output.raw=this._options.test_output_raw;return}if(f.directives){if(this.print_newline(!1,h),this.print_token(f),f.directives.preserve==="start")this._output.raw=!0;this.print_newline(!1,!0);return}if(!L0.newline.test(f.text)&&!f.newlines){this._output.space_before_token=!0,this.print_token(f),this._output.space_before_token=!0;return}else this.print_block_commment(f,h)};y.prototype.print_block_commment=function(f,h){var R=bD(f.text),A,w=!1,I=!1,P=f.whitespace_before,$=P.length;if(this.print_newline(!1,h),this.print_token_line_indentation(f),this._output.add_token(R[0]),this.print_newline(!1,h),R.length>1){if(R=R.slice(1),w=dD(R,"*"),I=kD(R,P),w)this._flags.alignment=1;for(A=0;A<R.length;A++){if(w)this.print_token_line_indentation(f),this._output.add_token(lD(R[A]));else if(I&&R[A])this.print_token_line_indentation(f),this._output.add_token(R[A].substring($));else this._output.current_line.set_indent(-1),this._output.add_token(R[A]);this.print_newline(!1,h)}this._flags.alignment=0}};y.prototype.handle_comment=function(f,h){if(f.newlines)this.print_newline(!1,h);else this._output.trim(!0);this._output.space_before_token=!0,this.print_token(f),this.print_newline(!1,h)};y.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(v(this._flags.last_token,Z0))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)};y.prototype.handle_unknown=function(f,h){if(this.print_token(f),f.text[f.text.length-1]==="\n")this.print_newline(!1,h)};y.prototype.handle_eof=function(f){while(this._flags.mode===W.Statement)this.restore_mode();this.handle_whitespace_and_comments(f)};xD.Beautifier=y});var tE=C((tZ,XI)=>{var iD=uE().Beautifier,_D=SI().Options;function eD(f,h){var R=new iD(f,h);return R.beautify()}XI.exports=eD;XI.exports.defaultOptions=function(){return new _D}});var zI=C((oD,R8)=>{var f8=M0().Options;function h8(f){f8.call(this,f,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var h=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||h;var R=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var A=0;A<R.length;A++)if(R[A]!=="expand")this.brace_style="collapse";else this.brace_style=R[A]}h8.prototype=new f8;oD.Options=h8});var P8=C((Ig,I8)=>{var nD=zI().Options,uD=g0().Output,tD=Y0().InputScanner,fg=X0().Directives,A8=new fg(/\/\*/,/\*\//),w8=/\r\n|[\r\n]/,hg=/\r\n|[\r\n]/g,V0=/\s/,Rg=/(?:\s|\n)+/g,Ag=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,wg=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function Of(f,h){this._source_text=f||"",this._options=new nD(h),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}Of.prototype.eatString=function(f){var h="";this._ch=this._input.next();while(this._ch){if(h+=this._ch,this._ch==="\\")h+=this._input.next();else if(f.indexOf(this._ch)!==-1||this._ch==="\n")break;this._ch=this._input.next()}return h};Of.prototype.eatWhitespace=function(f){var h=V0.test(this._input.peek()),R=0;while(V0.test(this._input.peek()))if(this._ch=this._input.next(),f&&this._ch==="\n"){if(R===0||R<this._options.max_preserve_newlines)R++,this._output.add_new_line(!0)}return h};Of.prototype.foundNestedPseudoClass=function(){var f=0,h=1,R=this._input.peek(h);while(R){if(R==="{")return!0;else if(R==="(")f+=1;else if(R===")"){if(f===0)return!1;f-=1}else if(R===";"||R==="}")return!1;h++,R=this._input.peek(h)}return!1};Of.prototype.print_string=function(f){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(f)};Of.prototype.preserveSingleSpace=function(f){if(f)this._output.space_before_token=!0};Of.prototype.indent=function(){this._indentLevel++};Of.prototype.outdent=function(){if(this._indentLevel>0)this._indentLevel--};Of.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var f=this._source_text,h=this._options.eol;if(h==="auto"){if(h="\n",f&&w8.test(f||""))h=f.match(w8)[0]}f=f.replace(hg,"\n");var R=f.match(/^[\t ]*/)[0];this._output=new uD(this._options,R),this._input=new tD(f),this._indentLevel=0,this._nestedLevel=0,this._ch=null;var A=0,w=!1,I=!1,P=!1,$=!1,H=!1,U=this._ch,s=!1,G,D,N;while(!0){if(G=this._input.read(Rg),D=G!=="",N=U,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext())this._ch+=this._input.next();if(U=this._ch,!this._ch)break;else if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var M=this._input.read(Ag),Q=A8.get_directives(M);if(Q&&Q.ignore==="start")M+=A8.readIgnored(this._input);this.print_string(M),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(wg)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(D),this.print_string(this._ch);var If=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);if(If.match(/[ :]$/))If=this.eatString(": ").replace(/\s+$/,""),this.print_string(If),this._output.space_before_token=!0;if(A===0&&If.indexOf(":")!==-1)I=!0,this.indent()}else if(this._ch==="@")if(this.preserveSingleSpace(D),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var Pf=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);if(Pf.match(/[ :]$/))Pf=this.eatString(": ").replace(/\s+$/,""),this.print_string(Pf),this._output.space_before_token=!0;if(A===0&&Pf.indexOf(":")!==-1)I=!0,this.indent();else if(Pf in this.NESTED_AT_RULE){if(this._nestedLevel+=1,Pf in this.CONDITIONAL_GROUP_RULE)P=!0}else if(A===0&&!I)$=!0}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(D),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{"){if(I)I=!1,this.outdent();if($=!1,P)P=!1,w=this._indentLevel>=this._nestedLevel;else w=this._indentLevel>=this._nestedLevel-1;if(this._options.newline_between_rules&&w){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(N==="(")this._output.space_before_token=!1;else if(N!==",")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(),N==="{")this._output.trim(!0);if(I)this.outdent(),I=!1;if(this.print_string(this._ch),w=!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 Bf=0;Bf<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Bf++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Bf])){s=!0;break}if((w||P)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!$&&A===0){if(this.print_string(":"),!I)I=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent()}else{if(this._input.lookBack(" "))this._output.space_before_token=!0;if(this._input.peek()===":")this._ch=this._input.next(),this.print_string("::");else this.print_string(":")}}else if(this._ch==='"'||this._ch==="\'"){var dh=N==='"'||N==="\'";this.preserveSingleSpace(dh||D),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")if(s=!1,A===0){if(I)this.outdent(),I=!1;if($=!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 OR=!1;if(this._input.lookBack("with"))OR=!0;if(this.preserveSingleSpace(D||OR),this.print_string(this._ch),I&&N==="$"&&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&&(!I||H)&&A===0&&!$)this._output.add_new_line();else this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!I&&A===0){if(this._options.space_around_combinator)this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0;else if(this.print_string(this._ch),this.eatWhitespace(),this._ch&&V0.test(this._ch))this._ch=""}else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(D),this.print_string(this._ch);else if(this._ch==="="){if(this.eatWhitespace(),this.print_string("="),V0.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 e8=N==='"'||N==="\'";if(this.preserveSingleSpace(e8||D),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()==="\n"&&s)this._output.add_new_line()}}var o8=this._output.get_code(h);return o8};Ig.Beautifier=Of});var $8=C((fV,LI)=>{var $g=P8().Beautifier,Hg=zI().Options;function Ug(f,h){var R=new $g(f,h);return R.beautify()}LI.exports=Ug;LI.exports.defaultOptions=function(){return new Hg}});var ZI=C((Eg,E8)=>{var H8=M0().Options;function U8(f){if(H8.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"])}U8.prototype=new H8;Eg.Options=U8});var yI=C((Gg,JI)=>{var s8=yR().Tokenizer,VI=yR().TOKEN,sg=X0().Directives,Ng=gI().TemplatablePattern,Fg=VR().Pattern,T={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:VI.START,RAW:VI.RAW,EOF:VI.EOF},S8=new sg(/<\!--/,/-->/),wf=function(f,h){s8.call(this,f,h),this._current_tag_name="";var R=new Ng(this._input).read_options(this._options),A=new Fg(this._input);if(this.__patterns={word:R.until(/[\n\r\t <]/),word_control_flow_close_excluded:R.until(/[\n\r\t <}]/),single_quote:R.until_after(/'/),double_quote:R.until_after(/"/),attribute:R.until(/[\n\r\t =>]|\/>/),element_name:R.until(/[\n\r\t >\/]/),angular_control_flow_start:A.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:A.starting_with(/{{!--/).until_after(/--}}/),handlebars:A.starting_with(/{{/).until_after(/}}/),handlebars_open:A.until(/[\n\r\t }]/),handlebars_raw_close:A.until(/}}/),comment:A.starting_with(/<!--/).until_after(/-->/),cdata:A.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:A.starting_with(/<!\[/).until_after(/]>/),processing:A.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars)this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars");if(this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var w=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=A.matching(w).until_after(w)}};wf.prototype=new s8;wf.prototype._is_comment=function(f){return!1};wf.prototype._is_opening=function(f){return f.type===T.TAG_OPEN||f.type===T.CONTROL_FLOW_OPEN};wf.prototype._is_closing=function(f,h){return f.type===T.TAG_CLOSE&&(h&&((f.text===">"||f.text==="/>")&&h.text[0]==="<"||f.text==="}}"&&h.text[0]==="{"&&h.text[1]==="{"))||f.type===T.CONTROL_FLOW_CLOSE&&(f.text==="}"&&h.text.endsWith("{"))};wf.prototype._reset=function(){this._current_tag_name=""};wf.prototype._get_next_token=function(f,h){var R=null;this._readWhitespace();var A=this._input.peek();if(A===null)return this._create_token(T.EOF,"");return R=R||this._read_open_handlebars(A,h),R=R||this._read_attribute(A,f,h),R=R||this._read_close(A,h),R=R||this._read_control_flows(A,h),R=R||this._read_raw_content(A,f,h),R=R||this._read_content_word(A,h),R=R||this._read_comment_or_cdata(A),R=R||this._read_processing(A),R=R||this._read_open(A,h),R=R||this._create_token(T.UNKNOWN,this._input.next()),R};wf.prototype._read_comment_or_cdata=function(f){var h=null,R=null,A=null;if(f==="<"){var w=this._input.peek(1);if(w==="!")if(R=this.__patterns.comment.read(),R){if(A=S8.get_directives(R),A&&A.ignore==="start")R+=S8.readIgnored(this._input)}else R=this.__patterns.cdata.read();if(R)h=this._create_token(T.COMMENT,R),h.directives=A}return h};wf.prototype._read_processing=function(f){var h=null,R=null,A=null;if(f==="<"){var w=this._input.peek(1);if(w==="!"||w==="?")R=this.__patterns.conditional_comment.read(),R=R||this.__patterns.processing.read();if(R)h=this._create_token(T.COMMENT,R),h.directives=A}return h};wf.prototype._read_open=function(f,h){var R=null,A=null;if(!h||h.type===T.CONTROL_FLOW_OPEN){if(f==="<"){if(R=this._input.next(),this._input.peek()==="/")R+=this._input.next();R+=this.__patterns.element_name.read(),A=this._create_token(T.TAG_OPEN,R)}}return A};wf.prototype._read_open_handlebars=function(f,h){var R=null,A=null;if(!h||h.type===T.CONTROL_FLOW_OPEN){if(this._options.indent_handlebars&&f==="{"&&this._input.peek(1)==="{")if(this._input.peek(2)==="!")R=this.__patterns.handlebars_comment.read(),R=R||this.__patterns.handlebars.read(),A=this._create_token(T.COMMENT,R);else R=this.__patterns.handlebars_open.read(),A=this._create_token(T.TAG_OPEN,R)}return A};wf.prototype._read_control_flows=function(f,h){var R="",A=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars)return A;if(f==="@"){if(R=this.__patterns.angular_control_flow_start.read(),R==="")return A;var w=R.endsWith("(")?1:0,I=0;while(!(R.endsWith("{")&&w===I)){var P=this._input.next();if(P===null)break;else if(P==="(")w++;else if(P===")")I++;R+=P}A=this._create_token(T.CONTROL_FLOW_OPEN,R)}else if(f==="}"&&h&&h.type===T.CONTROL_FLOW_OPEN)R=this._input.next(),A=this._create_token(T.CONTROL_FLOW_CLOSE,R);return A};wf.prototype._read_close=function(f,h){var R=null,A=null;if(h&&h.type===T.TAG_OPEN){if(h.text[0]==="<"&&(f===">"||f==="/"&&this._input.peek(1)===">")){if(R=this._input.next(),f==="/")R+=this._input.next();A=this._create_token(T.TAG_CLOSE,R)}else if(h.text[0]==="{"&&f==="}"&&this._input.peek(1)==="}")this._input.next(),this._input.next(),A=this._create_token(T.TAG_CLOSE,"}}")}return A};wf.prototype._read_attribute=function(f,h,R){var A=null,w="";if(R&&R.text[0]==="<"){if(f==="=")A=this._create_token(T.EQUALS,this._input.next());else if(f==='"'||f==="'"){var I=this._input.next();if(f==='"')I+=this.__patterns.double_quote.read();else I+=this.__patterns.single_quote.read();A=this._create_token(T.VALUE,I)}else if(w=this.__patterns.attribute.read(),w)if(h.type===T.EQUALS)A=this._create_token(T.VALUE,w);else A=this._create_token(T.ATTRIBUTE,w)}return A};wf.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)};wf.prototype._read_raw_content=function(f,h,R){var A="";if(R&&R.text[0]==="{")A=this.__patterns.handlebars_raw_close.read();else if(h.type===T.TAG_CLOSE&&h.opened.text[0]==="<"&&h.text[0]!=="/"){var w=h.opened.text.substr(1).toLowerCase();if(w==="script"||w==="style"){var I=this._read_comment_or_cdata(f);if(I)return I.type=T.TEXT,I;A=this._input.readUntil(new RegExp("</"+w+"[\\n\\r\\t ]*?>","ig"))}else if(this._is_content_unformatted(w))A=this._input.readUntil(new RegExp("</"+w+"[\\n\\r\\t ]*?>","ig"))}if(A)return this._create_token(T.TEXT,A);return null};wf.prototype._read_content_word=function(f,h){var R="";if(this._options.unformatted_content_delimiter){if(f===this._options.unformatted_content_delimiter[0])R=this.__patterns.unformatted_content_delimiter.read()}if(!R)R=h&&h.type===T.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read();if(R)return this._create_token(T.TEXT,R)};Gg.Tokenizer=wf;Gg.TOKEN=T});var D8=C((yg,G8)=>{var Wg=ZI().Options,Mg=g0().Output,Yg=yI().Tokenizer,q=yI().TOKEN,N8=/\r\n|[\r\n]/,Xg=/\r\n|[\r\n]/g,gf=function(f,h){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=f.max_preserve_newlines,this.preserve_newlines=f.preserve_newlines,this._output=new Mg(f,h)};gf.prototype.current_line_has_match=function(f){return this._output.current_line.has_match(f)};gf.prototype.set_space_before_token=function(f,h){this._output.space_before_token=f,this._output.non_breaking_space=h};gf.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()};gf.prototype.add_raw_token=function(f){this._output.add_raw_token(f)};gf.prototype.print_preserved_newlines=function(f){var h=0;if(f.type!==q.TEXT&&f.previous.type!==q.TEXT)h=f.newlines?1:0;if(this.preserve_newlines)h=f.newlines<this.max_preserve_newlines+1?f.newlines:this.max_preserve_newlines+1;for(var R=0;R<h;R++)this.print_newline(R>0);return h!==0};gf.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};gf.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped};gf.prototype.print_newline=function(f){this._output.add_new_line(f)};gf.prototype.print_token=function(f){if(f.text)this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(f.text)};gf.prototype.indent=function(){this.indent_level++};gf.prototype.deindent=function(){if(this.indent_level>0)this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size)};gf.prototype.get_full_indent=function(f){if(f=this.indent_level+(f||0),f<1)return"";return this._output.get_indent_string(f)};var zg=function(f){var h=null,R=f.next;while(R.type!==q.EOF&&f.closed!==R){if(R.type===q.ATTRIBUTE&&R.text==="type"){if(R.next&&R.next.type===q.EQUALS&&R.next.next&&R.next.next.type===q.VALUE)h=R.next.next.text;break}R=R.next}return h},Lg=function(f,h){var R=null,A=null;if(!h.closed)return null;if(f==="script")R="text/javascript";else if(f==="style")R="text/css";if(R=zg(h)||R,R.search("text/css")>-1)A="css";else if(R.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1)A="javascript";else if(R.search(/(text|application|dojo)\/(x-)?(html)/)>-1)A="html";else if(R.search(/test\/null/)>-1)A="null";return A};function KR(f,h){return h.indexOf(f)!==-1}function Zg(f,h,R){this.parent=f||null,this.tag=h?h.tag_name:"",this.indent_level=R||0,this.parser_token=h||null}function Gh(f){this._printer=f,this._current_frame=null}Gh.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null};Gh.prototype.record_tag=function(f){var h=new Zg(this._current_frame,f,this._printer.indent_level);this._current_frame=h};Gh.prototype._try_pop_frame=function(f){var h=null;if(f)h=f.parser_token,this._printer.indent_level=f.indent_level,this._current_frame=f.parent;return h};Gh.prototype._get_frame=function(f,h){var R=this._current_frame;while(R){if(f.indexOf(R.tag)!==-1)break;else if(h&&h.indexOf(R.tag)!==-1){R=null;break}R=R.parent}return R};Gh.prototype.try_pop=function(f,h){var R=this._get_frame([f],h);return this._try_pop_frame(R)};Gh.prototype.indent_to_tag=function(f){var h=this._get_frame(f);if(h)this._printer.indent_level=h.indent_level};function Ff(f,h,R,A){this._source_text=f||"",h=h||{},this._js_beautify=R,this._css_beautify=A,this._tag_stack=null;var w=new Wg(h,"html");this._options=w,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"}Ff.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var f=this._source_text,h=this._options.eol;if(this._options.eol==="auto"){if(h="\n",f&&N8.test(f))h=f.match(N8)[0]}f=f.replace(Xg,"\n");var R=f.match(/^[\t ]*/)[0],A={text:"",type:""},w=new F8,I=new gf(this._options,R),P=new Yg(f,this._options).tokenize();this._tag_stack=new Gh(I);var $=null,H=P.next();while(H.type!==q.EOF){if(H.type===q.TAG_OPEN||H.type===q.COMMENT)$=this._handle_tag_open(I,H,w,A,P),w=$;else if(H.type===q.ATTRIBUTE||H.type===q.EQUALS||H.type===q.VALUE||H.type===q.TEXT&&!w.tag_complete)$=this._handle_inside_tag(I,H,w,A);else if(H.type===q.TAG_CLOSE)$=this._handle_tag_close(I,H,w);else if(H.type===q.TEXT)$=this._handle_text(I,H,w);else if(H.type===q.CONTROL_FLOW_OPEN)$=this._handle_control_flow_open(I,H);else if(H.type===q.CONTROL_FLOW_CLOSE)$=this._handle_control_flow_close(I,H);else I.add_raw_token(H);A=$,H=P.next()}var U=I._output.get_code(h);return U};Ff.prototype._handle_control_flow_open=function(f,h){var R={text:h.text,type:h.type};if(f.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),h.newlines)f.print_preserved_newlines(h);else f.set_space_before_token(h.newlines||h.whitespace_before!=="",!0);return f.print_token(h),f.indent(),R};Ff.prototype._handle_control_flow_close=function(f,h){var R={text:h.text,type:h.type};if(f.deindent(),h.newlines)f.print_preserved_newlines(h);else f.set_space_before_token(h.newlines||h.whitespace_before!=="",!0);return f.print_token(h),R};Ff.prototype._handle_tag_close=function(f,h,R){var A={text:h.text,type:h.type};if(f.alignment_size=0,R.tag_complete=!0,f.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),R.is_unformatted)f.add_raw_token(h);else{if(R.tag_start_char==="<"){if(f.set_space_before_token(h.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&R.has_wrapped_attrs)f.print_newline(!1)}f.print_token(h)}if(R.indent_content&&!(R.is_unformatted||R.is_content_unformatted))f.indent(),R.indent_content=!1;if(!R.is_inline_element&&!(R.is_unformatted||R.is_content_unformatted))f.set_wrap_point();return A};Ff.prototype._handle_inside_tag=function(f,h,R,A){var w=R.has_wrapped_attrs,I={text:h.text,type:h.type};if(f.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),R.is_unformatted)f.add_raw_token(h);else if(R.tag_start_char==="{"&&h.type===q.TEXT)if(f.print_preserved_newlines(h))h.newlines=0,f.add_raw_token(h);else f.print_token(h);else{if(h.type===q.ATTRIBUTE)f.set_space_before_token(!0);else if(h.type===q.EQUALS)f.set_space_before_token(!1);else if(h.type===q.VALUE&&h.previous.type===q.EQUALS)f.set_space_before_token(!1);if(h.type===q.ATTRIBUTE&&R.tag_start_char==="<"){if(this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)f.traverse_whitespace(h),w=w||h.newlines!==0;if(this._is_wrap_attributes_force&&R.attr_count>=this._options.wrap_attributes_min_attrs&&(A.type!==q.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline))f.print_newline(!1),w=!0}f.print_token(h),w=w||f.previous_token_wrapped(),R.has_wrapped_attrs=w}return I};Ff.prototype._handle_text=function(f,h,R){var A={text:h.text,type:"TK_CONTENT"};if(R.custom_beautifier_name)this._print_custom_beatifier_text(f,h,R);else if(R.is_unformatted||R.is_content_unformatted)f.add_raw_token(h);else f.traverse_whitespace(h),f.print_token(h);return A};Ff.prototype._print_custom_beatifier_text=function(f,h,R){var A=this;if(h.text!==""){var w=h.text,I,P=1,$="",H="";if(R.custom_beautifier_name==="javascript"&&typeof this._js_beautify==="function")I=this._js_beautify;else if(R.custom_beautifier_name==="css"&&typeof this._css_beautify==="function")I=this._css_beautify;else if(R.custom_beautifier_name==="html")I=function(M,Q){var If=new Ff(M,Q,A._js_beautify,A._css_beautify);return If.beautify()};if(this._options.indent_scripts==="keep")P=0;else if(this._options.indent_scripts==="separate")P=-f.indent_level;var U=f.get_full_indent(P);if(w=w.replace(/\n[ \t]*$/,""),R.custom_beautifier_name!=="html"&&w[0]==="<"&&w.match(/^(<!--|<!\[CDATA\[)/)){var s=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(w);if(!s){f.add_raw_token(h);return}if($=U+s[1]+"\n",w=s[4],s[5])H=U+s[5];if(w=w.replace(/\n[ \t]*$/,""),s[2]||s[3].indexOf("\n")!==-1){if(s=s[3].match(/[ \t]+$/),s)h.whitespace_before=s[0]}}if(w)if(I){var G=function(){this.eol="\n"};G.prototype=this._options.raw_options;var D=new G;w=I(U+w,D)}else{var N=h.whitespace_before;if(N)w=w.replace(new RegExp("\n("+N+")?","g"),"\n");w=U+w.replace(/\n/g,"\n"+U)}if($)if(!w)w=$+H;else w=$+w+"\n"+H;if(f.print_newline(!1),w)h.text=w,h.whitespace_before="",h.newlines=0,f.add_raw_token(h),f.print_newline(!0)}};Ff.prototype._handle_tag_open=function(f,h,R,A,w){var I=this._get_tag_open_token(h);if((R.is_unformatted||R.is_content_unformatted)&&!R.is_empty_element&&h.type===q.TAG_OPEN&&!I.is_start_tag)f.add_raw_token(h),I.start_tag_token=this._tag_stack.try_pop(I.tag_name);else{if(f.traverse_whitespace(h),this._set_tag_position(f,h,I,R,A),!I.is_inline_element)f.set_wrap_point();f.print_token(h)}if(I.is_start_tag&&this._is_wrap_attributes_force){var P=0,$;do{if($=w.peek(P),$.type===q.ATTRIBUTE)I.attr_count+=1;P+=1}while($.type!==q.EOF&&$.type!==q.TAG_CLOSE)}if(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)I.alignment_size=h.text.length+1;if(!I.tag_complete&&!I.is_unformatted)f.alignment_size=I.alignment_size;return I};var F8=function(f,h){if(this.parent=f||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!h)this.tag_complete=!0;else{var R;if(this.tag_start_char=h.text[0],this.text=h.text,this.tag_start_char==="<")R=h.text.match(/^<([^\s>]*)/),this.tag_check=R?R[1]:"";else if(R=h.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=R?R[1]:"",(h.text.startsWith("{{#>")||h.text.startsWith("{{~#>"))&&this.tag_check[0]===">")if(this.tag_check===">"&&h.next!==null)this.tag_check=h.next.text.split(" ")[0];else this.tag_check=h.text.split(">")[1];if(this.tag_check=this.tag_check.toLowerCase(),h.type===q.COMMENT)this.tag_complete=!0;this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=!this.is_start_tag?this.tag_check.substr(1):this.tag_check,this.is_end_tag=!this.is_start_tag||h.closed&&h.closed.text==="/>";var A=2;if(this.tag_start_char==="{"&&this.text.length>=3){if(this.text.charAt(2)==="~")A=3}this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(A)))}};Ff.prototype._get_tag_open_token=function(f){var h=new F8(this._tag_stack.get_parser_token(),f);return h.alignment_size=this._options.wrap_attributes_indent_size,h.is_end_tag=h.is_end_tag||KR(h.tag_check,this._options.void_elements),h.is_empty_element=h.tag_complete||h.is_start_tag&&h.is_end_tag,h.is_unformatted=!h.tag_complete&&KR(h.tag_check,this._options.unformatted),h.is_content_unformatted=!h.is_empty_element&&KR(h.tag_check,this._options.content_unformatted),h.is_inline_element=KR(h.tag_name,this._options.inline)||this._options.inline_custom_elements&&h.tag_name.includes("-")||h.tag_start_char==="{",h};Ff.prototype._set_tag_position=function(f,h,R,A,w){if(!R.is_empty_element)if(R.is_end_tag)R.start_tag_token=this._tag_stack.try_pop(R.tag_name);else{if(this._do_optional_end_element(R)){if(!R.is_inline_element)f.print_newline(!1)}if(this._tag_stack.record_tag(R),(R.tag_name==="script"||R.tag_name==="style")&&!(R.is_unformatted||R.is_content_unformatted))R.custom_beautifier_name=Lg(R.tag_check,h)}if(KR(R.tag_check,this._options.extra_liners)){if(f.print_newline(!1),!f._output.just_added_blankline())f.print_newline(!0)}if(R.is_empty_element){if(R.tag_start_char==="{"&&R.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),R.indent_content=!0;var I=f.current_line_has_match(/{{#if/);if(!I)f.print_newline(!1)}if(R.tag_name==="!--"&&w.type===q.TAG_CLOSE&&A.is_end_tag&&R.text.indexOf("\n")===-1);else{if(!(R.is_inline_element||R.is_unformatted))f.print_newline(!1);this._calcluate_parent_multiline(f,R)}}else if(R.is_end_tag){var P=!1;if(P=R.start_tag_token&&R.start_tag_token.multiline_content,P=P||!R.is_inline_element&&!(A.is_inline_element||A.is_unformatted)&&!(w.type===q.TAG_CLOSE&&R.start_tag_token===A)&&w.type!=="TK_CONTENT",R.is_content_unformatted||R.is_unformatted)P=!1;if(P)f.print_newline(!1)}else{if(R.indent_content=!R.custom_beautifier_name,R.tag_start_char==="<"){if(R.tag_name==="html")R.indent_content=this._options.indent_inner_html;else if(R.tag_name==="head")R.indent_content=this._options.indent_head_inner_html;else if(R.tag_name==="body")R.indent_content=this._options.indent_body_inner_html}if(!(R.is_inline_element||R.is_unformatted)&&(w.type!=="TK_CONTENT"||R.is_content_unformatted))f.print_newline(!1);this._calcluate_parent_multiline(f,R)}};Ff.prototype._calcluate_parent_multiline=function(f,h){if(h.parent&&f._output.just_added_newline()&&!((h.is_inline_element||h.is_unformatted)&&h.parent.is_inline_element))h.parent.multiline_content=!0};var Vg=["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"],Jg=["a","audio","del","ins","map","noscript","video"];Ff.prototype._do_optional_end_element=function(f){var h=null;if(f.is_empty_element||!f.is_start_tag||!f.parent)return;if(f.tag_name==="body")h=h||this._tag_stack.try_pop("head");else if(f.tag_name==="li")h=h||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(f.tag_name==="dd"||f.tag_name==="dt")h=h||this._tag_stack.try_pop("dt",["dl"]),h=h||this._tag_stack.try_pop("dd",["dl"]);else if(f.parent.tag_name==="p"&&Vg.indexOf(f.tag_name)!==-1){var R=f.parent.parent;if(!R||Jg.indexOf(R.tag_name)===-1)h=h||this._tag_stack.try_pop("p")}else if(f.tag_name==="rp"||f.tag_name==="rt")h=h||this._tag_stack.try_pop("rt",["ruby","rtc"]),h=h||this._tag_stack.try_pop("rp",["ruby","rtc"]);else if(f.tag_name==="optgroup")h=h||this._tag_stack.try_pop("optgroup",["select"]);else if(f.tag_name==="option")h=h||this._tag_stack.try_pop("option",["select","datalist","optgroup"]);else if(f.tag_name==="colgroup")h=h||this._tag_stack.try_pop("caption",["table"]);else if(f.tag_name==="thead")h=h||this._tag_stack.try_pop("caption",["table"]),h=h||this._tag_stack.try_pop("colgroup",["table"]);else if(f.tag_name==="tbody"||f.tag_name==="tfoot")h=h||this._tag_stack.try_pop("caption",["table"]),h=h||this._tag_stack.try_pop("colgroup",["table"]),h=h||this._tag_stack.try_pop("thead",["table"]),h=h||this._tag_stack.try_pop("tbody",["table"]);else if(f.tag_name==="tr")h=h||this._tag_stack.try_pop("caption",["table"]),h=h||this._tag_stack.try_pop("colgroup",["table"]),h=h||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]);else if(f.tag_name==="th"||f.tag_name==="td")h=h||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),h=h||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]);return f.parent=this._tag_stack.get_parser_token(),h};yg.Beautifier=Ff});var g8=C((hV,QI)=>{var qg=D8().Beautifier,Tg=ZI().Options;function mg(f,h,R,A){var w=new qg(f,h,R,A);return w.beautify()}QI.exports=mg;QI.exports.defaultOptions=function(){return new Tg}});var z8=C((Bg,J0)=>{var W8=tE(),M8=$8(),Y8=g8();function X8(f,h,R,A){return R=R||W8,A=A||M8,Y8(f,h,R,A)}X8.defaultOptions=Y8.defaultOptions;Bg.js=W8;Bg.css=M8;Bg.html=X8});var V8=C((RV,Z8)=>{function L8(f,h,R){var A=function(w,I){return f.js_beautify(w,I)};return A.js=f.js_beautify,A.css=h.css_beautify,A.html=R.html_beautify,A.js_beautify=f.js_beautify,A.css_beautify=h.css_beautify,A.html_beautify=R.html_beautify,A}if(typeof define==="function"&&define.amd)define(["./lib/beautify","./lib/beautify-css","./lib/beautify-html"],function(f,h,R){return L8(f,h,R)});else(function(f){var h=z8();h.js_beautify=h.js,h.css_beautify=h.css,h.html_beautify=h.html,f.exports=L8(h,h,h)})(Z8)});class Dh{}import{readdir as p8}from"fs/promises";class lR extends Dh{f;constructor(f=`${process.env.ROOT_DIR}/storage`){super();this.folderPath=f}async put(f){let h,R;if(f instanceof Blob)h=f,R=`${CR()}.${f.type.split("/")[1].split(";")[0]}`;else h=f.body,R=f.name;let A=h instanceof Buffer?h:Buffer.from(await h.arrayBuffer()),w=`${this.folderPath}/${R}`;return await Bun.write(w,A),R}async fetch(f){let h=process.env.BUCKET_NAME,R;if(typeof f==="string")R=f;else h=f.bucket??h,R=f.name;if(!R)throw new Error("Object name has to be specified");let A=`${this.folderPath}/${R}`,w=Bun.file(A),I=Bun.file(A).stream(),P=new Date(w.lastModified).toUTCString();return new Response(I,{headers:{"Content-Type":w.type,"Content-Length":String(w.size),"Cache-Control":"private, max-age=12000, must-revalidate","Last-Modified":P}})}async list(){return await p8(this.folderPath)}}class mI extends i{driver=new lR;boot(){}}function n8(f){return(h)=>async(R)=>{let{request:A}=R;if(hf.isInstance(A)&&A.body&&f.runtime==="node"){if(f.requestHandler?.constructor?.name!=="FetchHttpHandler")A.headers={...A.headers,Expect:"100-continue"}}return h({...R,request:A})}}var u8={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0},BI=(f)=>({applyToStack:(h)=>{h.add(n8(f),u8)}});var kh={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},rR=kh.WHEN_SUPPORTED,v0={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},cR=kh.WHEN_SUPPORTED,r;(function(f){f.MD5="MD5",f.CRC32="CRC32",f.CRC32C="CRC32C",f.SHA1="SHA1",f.SHA256="SHA256"})(r||(r={}));var vI;(function(f){f.HEADER="header",f.TRAILER="trailer"})(vI||(vI={}));var{MD5:KI,CRC32:jI}=r;var Cf;(function(f){f.ENV="env",f.CONFIG="shared config entry"})(Cf||(Cf={}));var gh=(f,h,R,A)=>{if(!(h in f))return;let w=f[h].toUpperCase();if(!Object.values(R).includes(w))throw new TypeError(`Cannot load ${A} '${h}'. Expected one of ${Object.values(R)}, got '${f[h]}'.`);return w};var t8="AWS_REQUEST_CHECKSUM_CALCULATION",fS="request_checksum_calculation",OI={environmentVariableSelector:(f)=>gh(f,t8,kh,Cf.ENV),configFileSelector:(f)=>gh(f,fS,kh,Cf.CONFIG),default:rR};var hS="AWS_RESPONSE_CHECKSUM_VALIDATION",RS="response_checksum_validation",CI={environmentVariableSelector:(f)=>gh(f,hS,v0,Cf.ENV),configFileSelector:(f)=>gh(f,RS,v0,Cf.CONFIG),default:cR};var xh=[r.CRC32,r.CRC32C,r.SHA1,r.SHA256],lI=[r.CRC32,r.CRC32C,r.SHA1,r.SHA256];var rI=(f,{requestChecksumRequired:h,requestAlgorithmMember:R},A)=>{let w=A?jI:KI;if(!R||!f[R])return h?w:void 0;let I=f[R];if(!xh.includes(I))throw new Error(`The checksum algorithm "${I}" is not supported by the client. Select one of ${xh}.`);return I};var Wh=(f)=>f===r.MD5?"content-md5":`x-amz-checksum-${f.toLowerCase()}`;var cI=(f,h)=>{let R=f.toLowerCase();for(let A of Object.keys(h))if(R===A.toLowerCase())return!0;return!1};var Mh=(f)=>f!==void 0&&typeof f!=="string"&&!ArrayBuffer.isView(f)&&!bR(f);var bI=x(AS(),1),{__extends:jW,__assign:OW,__rest:CW,__decorate:lW,__param:rW,__esDecorate:cW,__runInitializers:bW,__propKey:dW,__setFunctionName:kW,__metadata:xW,__awaiter:dR,__generator:kR,__exportStar:aW,__createBinding:iW,__values:xR,__read:_W,__spread:eW,__spreadArrays:oW,__spreadArray:pW,__await:nW,__asyncGenerator:uW,__asyncDelegator:tW,__asyncValues:f4,__makeTemplateObject:h4,__importStar:R4,__importDefault:A4,__classPrivateFieldGet:w4,__classPrivateFieldSet:I4,__classPrivateFieldIn:P4,__addDisposableResource:$4,__disposeResources:H4}=bI.default;import{Buffer as dI}from"buffer";var kI=(f,h)=>{if(typeof f!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof f} (${f})`);return h?dI.from(f,h):dI.from(f)};var K0=(f)=>{let h=kI(f,"utf8");return new Uint8Array(h.buffer,h.byteOffset,h.byteLength/Uint8Array.BYTES_PER_ELEMENT)};var wS=typeof Buffer!=="undefined"&&Buffer.from?function(f){return Buffer.from(f,"utf8")}:K0;function ah(f){if(f instanceof Uint8Array)return f;if(typeof f==="string")return wS(f);if(ArrayBuffer.isView(f))return new Uint8Array(f.buffer,f.byteOffset,f.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(f)}function ih(f){if(typeof f==="string")return f.length===0;return f.byteLength===0}function _h(f){return new Uint8Array([(f&4278190080)>>24,(f&16711680)>>16,(f&65280)>>8,f&255])}function eh(f){if(!Uint32Array.from){var h=new Uint32Array(f.length),R=0;while(R<f.length)h[R]=f[R],R+=1;return h}return Uint32Array.from(f)}var j0=function(){function f(){this.crc32=new Rh}return f.prototype.update=function(h){if(ih(h))return;this.crc32.update(ah(h))},f.prototype.digest=function(){return dR(this,void 0,void 0,function(){return kR(this,function(h){return[2,_h(this.crc32.digest())]})})},f.prototype.reset=function(){this.crc32=new Rh},f}();var Rh=function(){function f(){this.checksum=4294967295}return f.prototype.update=function(h){var R,A;try{for(var w=xR(h),I=w.next();!I.done;I=w.next()){var P=I.value;this.checksum=this.checksum>>>8^PS[(this.checksum^P)&255]}}catch($){R={error:$}}finally{try{if(I&&!I.done&&(A=w.return))A.call(w)}finally{if(R)throw R.error}}return this},f.prototype.digest=function(){return(this.checksum^4294967295)>>>0},f}();var IS=[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],PS=eh(IS);var C0=function(){function f(){this.crc32c=new O0}return f.prototype.update=function(h){if(ih(h))return;this.crc32c.update(ah(h))},f.prototype.digest=function(){return dR(this,void 0,void 0,function(){return kR(this,function(h){return[2,_h(this.crc32c.digest())]})})},f.prototype.reset=function(){this.crc32c=new O0},f}();var O0=function(){function f(){this.checksum=4294967295}return f.prototype.update=function(h){var R,A;try{for(var w=xR(h),I=w.next();!I.done;I=w.next()){var P=I.value;this.checksum=this.checksum>>>8^HS[(this.checksum^P)&255]}}catch($){R={error:$}}finally{try{if(I&&!I.done&&(A=w.return))A.call(w)}finally{if(R)throw R.error}}return this},f.prototype.digest=function(){return(this.checksum^4294967295)>>>0},f}();var $S=[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],HS=eh($S);var aR=(f,h)=>({[r.MD5]:h.md5,[r.CRC32]:j0,[r.CRC32C]:C0,[r.SHA1]:h.sha1,[r.SHA256]:h.sha256})[f];var iR=(f,h)=>{let R=new f;return R.update(Wf(h||"")),R.digest()};var xI={name:"flexibleChecksumsMiddleware",step:"build",tags:["BODY_CHECKSUM"],override:!0},aI=(f,h)=>(R,A)=>async(w)=>{if(!hf.isInstance(w.request))return R(w);let{request:I}=w,{body:P,headers:$}=I,{base64Encoder:H,streamHasher:U}=f,{input:s,requestChecksumRequired:G,requestAlgorithmMember:D}=h,N=rI(s,{requestChecksumRequired:G,requestAlgorithmMember:D},!!A.isS3ExpressBucket),M=P,Q=$;if(N){let Pf=Wh(N),Bf=aR(N,f);if(Mh(P)){let{getAwsChunkedEncodingStream:dh,bodyLengthChecker:OR}=f;M=dh(P,{base64Encoder:H,bodyLengthChecker:OR,checksumLocationName:Pf,checksumAlgorithmFn:Bf,streamHasher:U}),Q={...$,"content-encoding":$["content-encoding"]?`${$["content-encoding"]},aws-chunked`:"aws-chunked","transfer-encoding":"chunked","x-amz-decoded-content-length":$["content-length"],"x-amz-content-sha256":"STREAMING-UNSIGNED-PAYLOAD-TRAILER","x-amz-trailer":Pf},delete Q["content-length"]}else if(!cI(Pf,$)){let dh=await iR(Bf,P);Q={...$,[Pf]:H(dh)}}}return await R({...w,request:{...I,headers:Q,body:M}})};var _R=(f=[])=>{let h=[];for(let R of lI){if(!f.includes(R)||!xh.includes(R))continue;h.push(R)}return h};var iI=(f)=>{let h=f.lastIndexOf("-");if(h!==-1){let R=f.slice(h+1);if(!R.startsWith("0")){let A=parseInt(R,10);if(!isNaN(A)&&A>=1&&A<=1e4)return!0}}return!1};import{Transform as US}from"stream";function l0(f){let h=new US;return h.push(f),h.push(null),h}var _I=async(f,{streamHasher:h,checksumAlgorithmFn:R,base64Encoder:A})=>{let w=Mh(f)?h(R,f):iR(R,f);return A(await w)};var eI=async(f,{config:h,responseAlgorithms:R})=>{let A=_R(R),{body:w,headers:I}=f;for(let P of A){let $=Wh(P),H=I[$];if(H){let U=aR(P,h),{streamHasher:s,base64Encoder:G}=h,D=await _I(w,{streamHasher:s,checksumAlgorithmFn:U,base64Encoder:G});if(D===H)break;throw new Error(`Checksum mismatch: expected "${D}" but received "${H}" in response header "${$}".`)}}};var oI={name:"flexibleChecksumsResponseMiddleware",toMiddleware:"deserializerMiddleware",relation:"after",tags:["BODY_CHECKSUM"],override:!0},pI=(f,h)=>(R,A)=>async(w)=>{if(!hf.isInstance(w.request))return R(w);let I=w.input,P=await R(w),$=P.response,H=void 0,{requestValidationModeMember:U,responseAlgorithms:s}=h;if(U&&I[U]==="ENABLED"){let{clientName:G,commandName:D}=A;if(G==="S3Client"&&D==="GetObjectCommand"&&_R(s).every((Q)=>{let If=Wh(Q),Pf=$.headers[If];return!Pf||iI(Pf)}))return P;let M=Mh($.body);if(M)H=await f.streamCollector($.body),$.body=l0(H);if(await eI(P.response,{config:f,responseAlgorithms:s}),M&&H)$.body=l0(H)}return P};var eR=(f,h)=>({applyToStack:(R)=>{R.add(aI(f,h),xI),R.addRelativeTo(pI(f,h),oI)}});var nI=(f)=>({...f,requestChecksumCalculation:lf(f.requestChecksumCalculation??rR),responseChecksumValidation:lf(f.responseChecksumValidation??cR)});var ES="content-length";function SS(){return(f,h)=>async(R)=>{let{request:A}=R;if(hf.isInstance(A)){if(!(ES in A.headers))if(typeof h?.logger?.warn==="function"&&!(h.logger instanceof oR))h.logger.warn("Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.");else console.warn("Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.")}return f({...R})}}var sS={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0},uI=(f)=>({applyToStack:(h)=>{h.add(SS(),sS)}});var tI=(f)=>{return(h,R)=>async(A)=>{let w=await f.region(),I=f.region,P=()=>{};if(R.__s3RegionRedirect)Object.defineProperty(f,"region",{writable:!1,value:async()=>{return R.__s3RegionRedirect}}),P=()=>Object.defineProperty(f,"region",{writable:!0,value:I});try{let $=await h(A);if(R.__s3RegionRedirect){P();let H=await f.region();if(w!==H)throw new Error("Region was not restored following S3 region redirect.")}return $}catch($){throw P(),$}}},fP={tags:["REGION_REDIRECT","S3"],name:"regionRedirectEndpointMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"};function NS(f){return(h,R)=>async(A)=>{try{return await h(A)}catch(w){if(f.followRegionRedirects&&w?.$metadata?.httpStatusCode===301){try{let I=w.$response.headers["x-amz-bucket-region"];R.logger?.debug(`Redirecting from ${await f.region()} to ${I}`),R.__s3RegionRedirect=I}catch(I){throw new Error("Region redirect failed: "+I)}return h(A)}else throw w}}}var FS={step:"initialize",tags:["REGION_REDIRECT","S3"],name:"regionRedirectMiddleware",override:!0},hP=(f)=>({applyToStack:(h)=>{h.add(NS(f),FS),h.addRelativeTo(tI(f),fP)}});var GS=(f)=>{return(h,R)=>async(A)=>{let w=await h(A),{response:I}=w;if(pR.isInstance(I)){if(I.headers.expires){I.headers.expiresstring=I.headers.expires;try{oh(I.headers.expires)}catch(P){R.logger?.warn(`AWS SDK Warning for ${R.clientName}::${R.commandName} response parsing (${I.headers.expires}): ${P}`),delete I.headers.expires}}}return w}},DS={tags:["S3"],name:"s3ExpiresMiddleware",override:!0,relation:"after",toMiddleware:"deserializerMiddleware"},RP=(f)=>({applyToStack:(h)=>{h.addRelativeTo(GS(f),DS)}});class Yh{constructor(f={}){this.data=f,this.lastPurgeTime=Date.now()}get(f){let h=this.data[f];if(!h)return;return h}set(f,h){return this.data[f]=h,h}delete(f){delete this.data[f]}async purgeExpired(){let f=Date.now();if(this.lastPurgeTime+Yh.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>f)return;for(let h in this.data){let R=this.data[h];if(!R.isRefreshing){let A=await R.identity;if(A.expiration){if(A.expiration.getTime()<f)delete this.data[h]}}}}}Yh.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=30000;class Xh{constructor(f,h=!1,R=Date.now()){this._identity=f,this.isRefreshing=h,this.accessed=R}get identity(){return this.accessed=Date.now(),this._identity}}class zh{constructor(f,h=new Yh){this.createSessionFn=f,this.cache=h}async getS3ExpressIdentity(f,h){let R=h.Bucket,{cache:A}=this,w=A.get(R);if(w)return w.identity.then((I)=>{if((I.expiration?.getTime()??0)<Date.now())return A.set(R,new Xh(this.getIdentity(R))).identity;if((I.expiration?.getTime()??0)<Date.now()+zh.REFRESH_WINDOW_MS&&!w.isRefreshing)w.isRefreshing=!0,this.getIdentity(R).then((H)=>{A.set(R,new Xh(Promise.resolve(H)))});return I});return A.set(R,new Xh(this.getIdentity(R))).identity}async getIdentity(f){await this.cache.purgeExpired().catch((A)=>{console.warn("Error while clearing expired entries in S3ExpressIdentityCache: \n"+A)});let h=await this.createSessionFn(f);if(!h.Credentials?.AccessKeyId||!h.Credentials?.SecretAccessKey)throw new Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey.");return{accessKeyId:h.Credentials.AccessKeyId,secretAccessKey:h.Credentials.SecretAccessKey,sessionToken:h.Credentials.SessionToken,expiration:h.Credentials.Expiration?new Date(h.Credentials.Expiration):void 0}}}zh.REFRESH_WINDOW_MS=60000;var th=x(Lh(),1);var AP="X-Amz-Algorithm",wP="X-Amz-Credential",IP="X-Amz-Date",PP="X-Amz-SignedHeaders",$P="X-Amz-Expires",HP="X-Amz-Signature",UP="X-Amz-Security-Token";var EP="authorization",r0="X-Amz-Date".toLowerCase();var SP=["authorization",r0,"date"],sP="X-Amz-Signature".toLowerCase(),ph="x-amz-content-sha256",NP="X-Amz-Security-Token".toLowerCase();var FP={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},GP=/^proxy-/,DP=/^sec-/;var nR="AWS4-HMAC-SHA256";var gP="AWS4-HMAC-SHA256-PAYLOAD",WP="UNSIGNED-PAYLOAD",MP=50,c0="aws4_request",YP=604800;var zP=x(Lh(),1);var uR={},b0=[],tR=(f,h,R)=>`${f}/${h}/${R}/${c0}`,LP=async(f,h,R,A,w)=>{let I=await XP(f,h.secretAccessKey,h.accessKeyId),P=`${R}:${A}:${w}:${zP.toHex(I)}:${h.sessionToken}`;if(P in uR)return uR[P];b0.push(P);while(b0.length>MP)delete uR[b0.shift()];let $=`AWS4${h.secretAccessKey}`;for(let H of[R,A,w,c0])$=await XP(f,$,H);return uR[P]=$};var XP=(f,h,R)=>{let A=new f(h);return A.update(Wf(R)),A.digest()};var fA=({headers:f},h,R)=>{let A={};for(let w of Object.keys(f).sort()){if(f[w]==null)continue;let I=w.toLowerCase();if(I in FP||h?.has(I)||GP.test(I)||DP.test(I)){if(!R||R&&!R.has(I))continue}A[I]=f[w].trim().replace(/\s+/g," ")}return A};var d0=({query:f={}})=>{let h=[],R={};for(let A of Object.keys(f)){if(A.toLowerCase()===sP)continue;let w=Zh(A);h.push(w);let I=f[A];if(typeof I==="string")R[w]=`${w}=${Zh(I)}`;else if(Array.isArray(I))R[w]=I.slice(0).reduce((P,$)=>P.concat([`${w}=${Zh($)}`]),[]).sort().join("&")}return h.sort().map((A)=>R[A]).filter((A)=>A).join("&")};var ZP=x(Lh(),1);var nh=async({headers:f,body:h},R)=>{for(let A of Object.keys(f))if(A.toLowerCase()===ph)return f[A];if(h==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof h==="string"||ArrayBuffer.isView(h)||bR(h)){let A=new R;return A.update(Wf(h)),ZP.toHex(await A.digest())}return WP};var hA=x(Lh(),1);class k0{format(f){let h=[];for(let w of Object.keys(f)){let I=uh(w);h.push(Uint8Array.from([I.byteLength]),I,this.formatHeaderValue(f[w]))}let R=new Uint8Array(h.reduce((w,I)=>w+I.byteLength,0)),A=0;for(let w of h)R.set(w,A),A+=w.byteLength;return R}formatHeaderValue(f){switch(f.type){case"boolean":return Uint8Array.from([f.value?0:1]);case"byte":return Uint8Array.from([2,f.value]);case"short":let h=new DataView(new ArrayBuffer(3));return h.setUint8(0,3),h.setInt16(1,f.value,!1),new Uint8Array(h.buffer);case"integer":let R=new DataView(new ArrayBuffer(5));return R.setUint8(0,4),R.setInt32(1,f.value,!1),new Uint8Array(R.buffer);case"long":let A=new Uint8Array(9);return A[0]=5,A.set(f.value.bytes,1),A;case"binary":let w=new DataView(new ArrayBuffer(3+f.value.byteLength));w.setUint8(0,6),w.setUint16(1,f.value.byteLength,!1);let I=new Uint8Array(w.buffer);return I.set(f.value,3),I;case"string":let P=uh(f.value),$=new DataView(new ArrayBuffer(3+P.byteLength));$.setUint8(0,7),$.setUint16(1,P.byteLength,!1);let H=new Uint8Array($.buffer);return H.set(P,3),H;case"timestamp":let U=new Uint8Array(9);return U[0]=8,U.set(x0.fromNumber(f.value.valueOf()).bytes,1),U;case"uuid":if(!gS.test(f.value))throw new Error(`Invalid UUID received: ${f.value}`);let s=new Uint8Array(17);return s[0]=9,s.set(hA.fromHex(f.value.replace(/\-/g,"")),1),s}}}var VP;(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"})(VP||(VP={}));var gS=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class x0{constructor(f){if(this.bytes=f,f.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(f){if(f>9223372036854776000||f<-9223372036854776000)throw new Error(`${f} is too large (or, if negative, too small) to represent as an Int64`);let h=new Uint8Array(8);for(let R=7,A=Math.abs(Math.round(f));R>-1&&A>0;R--,A/=256)h[R]=A;if(f<0)JP(h);return new x0(h)}valueOf(){let f=this.bytes.slice(0),h=f[0]&128;if(h)JP(f);return parseInt(hA.toHex(f),16)*(h?-1:1)}toString(){return String(this.valueOf())}}function JP(f){for(let h=0;h<8;h++)f[h]^=255;for(let h=7;h>-1;h--)if(f[h]++,f[h]!==0)break}var yP=(f,h)=>{f=f.toLowerCase();for(let R of Object.keys(h))if(f===R.toLowerCase())return!0;return!1};var a0=(f,h={})=>{let{headers:R,query:A={}}=hf.clone(f);for(let w of Object.keys(R)){let I=w.toLowerCase();if(I.slice(0,6)==="x-amz-"&&!h.unhoistableHeaders?.has(I))A[w]=R[w],delete R[w]}return{...f,headers:R,query:A}};var RA=(f)=>{f=hf.clone(f);for(let h of Object.keys(f.headers))if(SP.indexOf(h.toLowerCase())>-1)delete f.headers[h];return f};var QP=(f)=>WS(f).toISOString().replace(/\.\d{3}Z$/,"Z"),WS=(f)=>{if(typeof f==="number")return new Date(f*1000);if(typeof f==="string"){if(Number(f))return new Date(Number(f)*1000);return new Date(f)}return f};class i0{constructor({applyChecksum:f,credentials:h,region:R,service:A,sha256:w,uriEscapePath:I=!0}){this.headerFormatter=new k0,this.service=A,this.sha256=w,this.uriEscapePath=I,this.applyChecksum=typeof f==="boolean"?f:!0,this.regionProvider=lf(R),this.credentialProvider=lf(h)}async presign(f,h={}){let{signingDate:R=new Date,expiresIn:A=3600,unsignableHeaders:w,unhoistableHeaders:I,signableHeaders:P,signingRegion:$,signingService:H}=h,U=await this.credentialProvider();this.validateResolvedCredentials(U);let s=$??await this.regionProvider(),{longDate:G,shortDate:D}=AA(R);if(A>YP)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let N=tR(D,s,H??this.service),M=a0(RA(f),{unhoistableHeaders:I});if(U.sessionToken)M.query[UP]=U.sessionToken;M.query[AP]=nR,M.query[wP]=`${U.accessKeyId}/${N}`,M.query[IP]=G,M.query[$P]=A.toString(10);let Q=fA(M,w,P);return M.query[PP]=qP(Q),M.query[HP]=await this.getSignature(G,N,this.getSigningKey(U,s,D,H),this.createCanonicalRequest(M,Q,await nh(f,this.sha256))),M}async sign(f,h){if(typeof f==="string")return this.signString(f,h);else if(f.headers&&f.payload)return this.signEvent(f,h);else if(f.message)return this.signMessage(f,h);else return this.signRequest(f,h)}async signEvent({headers:f,payload:h},{signingDate:R=new Date,priorSignature:A,signingRegion:w,signingService:I}){let P=w??await this.regionProvider(),{shortDate:$,longDate:H}=AA(R),U=tR($,P,I??this.service),s=await nh({headers:{},body:h},this.sha256),G=new this.sha256;G.update(f);let D=th.toHex(await G.digest()),N=[gP,H,U,A,D,s].join("\n");return this.signString(N,{signingDate:R,signingRegion:P,signingService:I})}async signMessage(f,{signingDate:h=new Date,signingRegion:R,signingService:A}){return this.signEvent({headers:this.headerFormatter.format(f.message.headers),payload:f.message.body},{signingDate:h,signingRegion:R,signingService:A,priorSignature:f.priorSignature}).then((I)=>{return{message:f.message,signature:I}})}async signString(f,{signingDate:h=new Date,signingRegion:R,signingService:A}={}){let w=await this.credentialProvider();this.validateResolvedCredentials(w);let I=R??await this.regionProvider(),{shortDate:P}=AA(h),$=new this.sha256(await this.getSigningKey(w,I,P,A));return $.update(Wf(f)),th.toHex(await $.digest())}async signRequest(f,{signingDate:h=new Date,signableHeaders:R,unsignableHeaders:A,signingRegion:w,signingService:I}={}){let P=await this.credentialProvider();this.validateResolvedCredentials(P);let $=w??await this.regionProvider(),H=RA(f),{longDate:U,shortDate:s}=AA(h),G=tR(s,$,I??this.service);if(H.headers[r0]=U,P.sessionToken)H.headers[NP]=P.sessionToken;let D=await nh(H,this.sha256);if(!yP(ph,H.headers)&&this.applyChecksum)H.headers[ph]=D;let N=fA(H,A,R),M=await this.getSignature(U,G,this.getSigningKey(P,$,s,I),this.createCanonicalRequest(H,N,D));return H.headers[EP]=`${nR} Credential=${P.accessKeyId}/${G}, SignedHeaders=${qP(N)}, Signature=${M}`,H}createCanonicalRequest(f,h,R){let A=Object.keys(h).sort();return`${f.method}
3
3
  ${this.getCanonicalPath(f)}
4
- ${b0(f)}
4
+ ${d0(f)}
5
5
  ${A.map((w)=>`${w}:${h[w]}`).join("\n")}
6
6
 
7
7
  ${A.join(";")}
8
- ${R}`}async createStringToSign(f,h,R){let A=new this.sha256;A.update(Mf(R));let w=await A.digest();return`${eR}
8
+ ${R}`}async createStringToSign(f,h,R){let A=new this.sha256;A.update(Wf(R));let w=await A.digest();return`${nR}
9
9
  ${f}
10
10
  ${h}
11
- ${a(w)}`}getCanonicalPath({path:f}){if(this.uriEscapePath){let h=[];for(let w of f.split("/")){if(w?.length===0)continue;if(w===".")continue;if(w==="..")h.pop();else h.push(w)}let R=`${f?.startsWith("/")?"/":""}${h.join("/")}${h.length>0&&f?.endsWith("/")?"/":""}`;return Xh(R).replace(/%2F/g,"/")}return f}async getSignature(f,h,R,A){let w=await this.createStringToSign(f,h,A),I=new this.sha256(await R);return I.update(Mf(w)),a(await I.digest())}getSigningKey(f,h,R,A){return zP(this.sha256,f,R,h,A||this.service)}validateResolvedCredentials(f){if(typeof f!=="object"||typeof f.accessKeyId!=="string"||typeof f.secretAccessKey!=="string")throw new Error("Resolved credential object is not valid")}}var fA=(f)=>{let h=JP(f).replace(/[\-:]/g,"");return{longDate:h,shortDate:h.slice(0,8)}},yP=(f)=>Object.keys(f).sort().join(";");var QP="Directory",qP="S3Express",TP="sigv4-s3express",hA="X-Amz-S3session-Token",ph=hA.toLowerCase(),XS="AWS_S3_DISABLE_EXPRESS_SESSION_AUTH",zS="s3_disable_express_session_auth",_0={environmentVariableSelector:(f)=>hh(f,XS,Rh.ENV),configFileSelector:(f)=>hh(f,zS,Rh.CONFIG),default:!1};class RA extends i0{async signWithCredentials(f,h,R){let A=mP(h);f.headers[ph]=h.sessionToken;let w=this;return BP(w,A),w.signRequest(f,R??{})}async presignWithCredentials(f,h,R){let A=mP(h);return delete f.headers[ph],f.headers[hA]=h.sessionToken,f.query=f.query??{},f.query[hA]=h.sessionToken,BP(this,A),this.presign(f,R)}}function mP(f){return{accessKeyId:f.accessKeyId,secretAccessKey:f.secretAccessKey,expiration:f.expiration}}function BP(f,h){let R=setTimeout(()=>{throw new Error("SignatureV4S3Express credential override was created but not called.")},10),A=f.credentialProvider,w=()=>{return clearTimeout(R),f.credentialProvider=A,Promise.resolve(h)};f.credentialProvider=w}var vP=(f)=>{return(h,R)=>async(A)=>{if(R.endpointV2){let w=R.endpointV2,I=w.properties?.authSchemes?.[0]?.name===TP;if(w.properties?.backend===qP||w.properties?.bucketType===QP)R.isS3ExpressBucket=!0;if(I){let $=A.input.Bucket;if($){let H=await f.s3ExpressIdentityProvider.getS3ExpressIdentity(await f.credentials(),{Bucket:$});if(R.s3ExpressIdentity=H,Rf.isInstance(A.request)&&H.sessionToken)A.request.headers[ph]=H.sessionToken}}}return h(A)}},KP={name:"s3ExpressMiddleware",step:"build",tags:["S3","S3_EXPRESS"],override:!0},e0=(f)=>({applyToStack:(h)=>{h.add(vP(f),KP)}});var OP=c(o0(),1);var ZS=c(LS(),1),CP=c(aR(),1);var jP=async(f,h,R,A)=>{let w=await A.signWithCredentials(R,f,{});if(w.headers["X-Amz-Security-Token"]||w.headers["x-amz-security-token"])throw new Error("X-Amz-Security-Token must not be set for s3-express requests.");return w};var VS=(f)=>(h)=>{throw h},JS=(f,h)=>{};var lP=(f)=>(h,R)=>async(A)=>{if(!Rf.isInstance(A.request))return h(A);let I=CP.getSmithyContext(R).selectedHttpAuthScheme;if(!I)throw new Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:P={}},identity:$,signer:H}=I,U;if(R.s3ExpressIdentity)U=await jP(R.s3ExpressIdentity,P,A.request,await f.signer());else U=await H.sign(A.request,$,P);let s=await h({...A,request:U}).catch((H.errorHandler||VS)(P));return(H.successHandler||JS)(s.response,P),s},p0=(f)=>({applyToStack:(h)=>{h.addRelativeTo(lP(f),OP.httpSigningMiddlewareOptions)}});var rP=(f,{session:h})=>{let[R,A]=h;return{...f,forcePathStyle:f.forcePathStyle??!1,useAccelerateEndpoint:f.useAccelerateEndpoint??!1,disableMultiregionAccessPoints:f.disableMultiregionAccessPoints??!1,followRegionRedirects:f.followRegionRedirects??!1,s3ExpressIdentityProvider:f.s3ExpressIdentityProvider??new Yh(async(w)=>R().send(new A({Bucket:w,SessionMode:"ReadWrite"}))),bucketEndpoint:f.bucketEndpoint??!1}};var yS={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},QS=3000,qS=(f)=>(h,R)=>async(A)=>{let w=await h(A),{response:I}=w;if(!_R.isInstance(I))return w;let{statusCode:P,body:$}=I;if(P<200||P>=300)return w;if(!(typeof $?.stream==="function"||typeof $?.pipe==="function"||typeof $?.tee==="function"))return w;let U=$,s=$;if($&&typeof $==="object"&&!($ instanceof Uint8Array))[U,s]=await cP($);I.body=s;let G=await TS(U,{streamCollector:async(N)=>{return bP(N,QS)}});if(typeof U?.destroy==="function")U.destroy();let D=f.utf8Encoder(G.subarray(G.length-16));if(G.length===0&&yS[R.commandName]){let N=new Error("S3 aborted request");throw N.name="InternalError",N}if(D&&D.endsWith("</Error>"))I.statusCode=400;return w},TS=(f=new Uint8Array,h)=>{if(f instanceof Uint8Array)return Promise.resolve(f);return h.streamCollector(f)||Promise.resolve(new Uint8Array)},mS={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},zh=(f)=>({applyToStack:(h)=>{h.addRelativeTo(qS(f),mS)}});var n0=(f)=>typeof f==="string"&&f.indexOf("arn:")===0&&f.split(":").length>=6;function dP(f){return(h,R)=>async(A)=>{if(f.bucketEndpoint){let w=R.endpointV2;if(w){let I=A.input.Bucket;if(typeof I==="string")try{let P=new URL(I);R.endpointV2={...w,url:P}}catch(P){let $=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${I} could not be parsed as URL.`;if(R.logger?.constructor?.name==="NoOpLogger")console.warn($);else R.logger?.warn?.($);throw P}}}return h(A)}}var kP={name:"bucketEndpointMiddleware",override:!0,relation:"after",toMiddleware:"endpointV2Middleware"};function BS({bucketEndpoint:f}){return(h)=>async(R)=>{let{input:{Bucket:A}}=R;if(!f&&typeof A==="string"&&!n0(A)&&A.indexOf("/")>=0){let w=new Error(`Bucket name shouldn't contain '/', received '${A}'`);throw w.name="InvalidBucketName",w}return h({...R})}}var vS={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0},xP=(f)=>({applyToStack:(h)=>{h.add(BS(f),vS),h.addRelativeTo(dP(f),kP)}});var Qh=c(o0(),1);var aP=(f)=>({...f,eventStreamMarshaller:f.eventStreamSerdeProvider(f)});var sA=c(SA(),1);var AA={CrtSignerV4:null};class u0{constructor(f){this.sigv4Signer=new RA(f),this.signerOptions=f}async sign(f,h={}){if(h.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().sign(f,h)}return this.sigv4Signer.sign(f,h)}async signWithCredentials(f,h,R={}){if(R.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().signWithCredentials(f,h,R)}return this.sigv4Signer.signWithCredentials(f,h,R)}async presign(f,h={}){if(h.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().presign(f,h)}return this.sigv4Signer.presign(f,h)}async presignWithCredentials(f,h,R={}){if(R.signingRegion==="*")throw new Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(f,h,R)}getSigv4aSigner(){if(!this.sigv4aSigner){let f=null;try{if(f=AA.CrtSignerV4,typeof f!=="function")throw new Error}catch(h){throw h.message=`${h.message}\nPlease check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. \nYou must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. \nFor more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`,h}this.sigv4aSigner=new f({...this.signerOptions,signingAlgorithm:1})}return this.sigv4aSigner}}var th=c(aR(),1);var Lh={["required"]:!1,["type"]:"String"},Zh={["required"]:!0,default:!1,["type"]:"Boolean"},nh={["required"]:!1,["type"]:"Boolean"},Lf={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"Accelerate"},!0]},j={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseFIPS"},!0]},K={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseDualStack"},!0]},d={["fn"]:"isSet",["argv"]:[{["ref"]:"Endpoint"}]},O1={["fn"]:"aws.partition",["argv"]:[{["ref"]:"Region"}],["assign"]:"partitionResult"},iP={["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[{["ref"]:"partitionResult"},"name"]},"aws-cn"]},HA={["fn"]:"isSet",["argv"]:[{["ref"]:"Bucket"}]},Ef={["ref"]:"Bucket"},Uf={["fn"]:"parseURL",["argv"]:[{["ref"]:"Endpoint"}],["assign"]:"url"},$A={["fn"]:"booleanEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[{["ref"]:"url"},"isIp"]},!0]},C1={["ref"]:"url"},l1={["fn"]:"uriEncode",["argv"]:[Ef],["assign"]:"uri_encoded_bucket"},Kf={["backend"]:"S3Express",["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3express",["signingRegion"]:"{Region}"}]},Y={},r1={["fn"]:"aws.isVirtualHostableS3Bucket",["argv"]:[Ef,!1]},t0={["error"]:"S3Express bucket name is not a valid virtual hostable name.",["type"]:"error"},UA={["backend"]:"S3Express",["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4-s3express",["signingName"]:"s3express",["signingRegion"]:"{Region}"}]},_P={["fn"]:"isSet",["argv"]:[{["ref"]:"UseS3ExpressControlEndpoint"}]},eP={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseS3ExpressControlEndpoint"},!0]},X={["fn"]:"not",["argv"]:[d]},oP={["error"]:"Unrecognized S3Express bucket name format.",["type"]:"error"},pP={["fn"]:"not",["argv"]:[HA]},nP={["ref"]:"hardwareType"},uP={["conditions"]:[X],["error"]:"Expected a endpoint to be specified but no endpoint was found",["type"]:"error"},wA={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4a",["signingName"]:"s3-outposts",["signingRegionSet"]:["*"]},{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-outposts",["signingRegion"]:"{Region}"}]},f3={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"ForcePathStyle"},!1]},KS={["ref"]:"ForcePathStyle"},b={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"Accelerate"},!1]},i={["fn"]:"stringEquals",["argv"]:[{["ref"]:"Region"},"aws-global"]},e={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3",["signingRegion"]:"us-east-1"}]},V={["fn"]:"not",["argv"]:[i]},o={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseGlobalEndpoint"},!0]},tP={["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]},f1={["url"]:"https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},L={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseFIPS"},!1]},h1={["url"]:"https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},R1={["url"]:"https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},h3={["fn"]:"booleanEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[C1,"isIp"]},!1]},R3={["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",["properties"]:k,["headers"]:{}},z3={["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:k,["headers"]:{}},A1={["endpoint"]:z3,["type"]:"endpoint"},A3={["url"]:"https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},w1={["url"]:"https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},IA={["error"]:"Invalid region: region was not a valid DNS name.",["type"]:"error"},Nf={["ref"]:"bucketArn"},c1={["ref"]:"arnType"},w3={["fn"]:"getAttr",["argv"]:[Nf,"service"]},L3={["ref"]:"accessPointName"},I1={["conditions"]:[K],["error"]:"S3 Object Lambda does not support Dual-stack",["type"]:"error"},P1={["conditions"]:[Lf],["error"]:"S3 Object Lambda does not support S3 Accelerate",["type"]:"error"},$1={["conditions"]:[{["fn"]:"isSet",["argv"]:[{["ref"]:"DisableAccessPoints"}]},{["fn"]:"booleanEquals",["argv"]:[{["ref"]:"DisableAccessPoints"},!0]}],["error"]:"Access points are not supported for this operation",["type"]:"error"},I3={["conditions"]:[{["fn"]:"isSet",["argv"]:[{["ref"]:"UseArnRegion"}]},{["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseArnRegion"},!1]},{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[Nf,"region"]},"{Region}"]}]}],["error"]:"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`",["type"]:"error"},b1={["fn"]:"getAttr",["argv"]:[{["ref"]:"bucketPartition"},"name"]},d1={["fn"]:"getAttr",["argv"]:[Nf,"accountId"]},P3={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-object-lambda",["signingRegion"]:"{bucketArn#region}"}]},H1={["error"]:"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`",["type"]:"error"},$3={["error"]:"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`",["type"]:"error"},H3={["error"]:"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)",["type"]:"error"},U3={["error"]:"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`",["type"]:"error"},U1={["error"]:"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.",["type"]:"error"},E1={["error"]:"Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided",["type"]:"error"},uh={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3",["signingRegion"]:"{bucketArn#region}"}]},S1={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4a",["signingName"]:"s3-outposts",["signingRegionSet"]:["*"]},{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-outposts",["signingRegion"]:"{bucketArn#region}"}]},s1={["fn"]:"aws.parseArn",["argv"]:[Ef]},N1={["url"]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:k,["headers"]:{}},F1={["url"]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:k,["headers"]:{}},G1={["url"]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:k,["headers"]:{}},E3={["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",["properties"]:k,["headers"]:{}},D1={["url"]:"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:k,["headers"]:{}},g1={["ref"]:"UseObjectLambdaEndpoint"},S3={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-object-lambda",["signingRegion"]:"{Region}"}]},W1={["url"]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},M1={["url"]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},Y1={["url"]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},s3={["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:k,["headers"]:{}},X1={["url"]:"https://s3.{Region}.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:{}},N3=[{["ref"]:"Region"}],jS=[{["ref"]:"Endpoint"}],OS=[Ef],F3=[K],PA=[Lf],Ah=[d,Uf],z1=[{["fn"]:"isSet",["argv"]:[{["ref"]:"DisableS3ExpressSessionAuth"}]},{["fn"]:"booleanEquals",["argv"]:[{["ref"]:"DisableS3ExpressSessionAuth"},!0]}],L1=[$A],G3=[l1],D3=[r1],Vh=[j],Z1=[{["fn"]:"substring",["argv"]:[Ef,6,14,!0],["assign"]:"s3expressAvailabilityZoneId"},{["fn"]:"substring",["argv"]:[Ef,14,16,!0],["assign"]:"s3expressAvailabilityZoneDelim"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"s3expressAvailabilityZoneDelim"},"--"]}],V1=[{["conditions"]:[j],["endpoint"]:{["url"]:"https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",["properties"]:Kf,["headers"]:{}},["type"]:"endpoint"},{["endpoint"]:{["url"]:"https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",["properties"]:Kf,["headers"]:{}},["type"]:"endpoint"}],J1=[{["fn"]:"substring",["argv"]:[Ef,6,15,!0],["assign"]:"s3expressAvailabilityZoneId"},{["fn"]:"substring",["argv"]:[Ef,15,17,!0],["assign"]:"s3expressAvailabilityZoneDelim"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"s3expressAvailabilityZoneDelim"},"--"]}],y1=[{["conditions"]:[j],["endpoint"]:{["url"]:"https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",["properties"]:UA,["headers"]:{}},["type"]:"endpoint"},{["endpoint"]:{["url"]:"https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",["properties"]:UA,["headers"]:{}},["type"]:"endpoint"}],CS=[HA],Q1=[{["fn"]:"isValidHostLabel",["argv"]:[{["ref"]:"outpostId"},!1]}],q1=[{["fn"]:"stringEquals",["argv"]:[{["ref"]:"regionPrefix"},"beta"]}],lS=["*"],rf=[O1],T1=[{["fn"]:"isValidHostLabel",["argv"]:[{["ref"]:"Region"},!1]}],cf=[{["fn"]:"stringEquals",["argv"]:[{["ref"]:"Region"},"us-east-1"]}],g3=[{["fn"]:"stringEquals",["argv"]:[c1,"accesspoint"]}],m1=[{["fn"]:"getAttr",["argv"]:[Nf,"resourceId[1]"],["assign"]:"accessPointName"},{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[L3,""]}]}],rS=[Nf,"resourceId[1]"],W3=[{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[Nf,"region"]},""]}]}],B1=[{["fn"]:"not",["argv"]:[{["fn"]:"isSet",["argv"]:[{["fn"]:"getAttr",["argv"]:[Nf,"resourceId[2]"]}]}]}],cS=[Nf,"resourceId[2]"],M3=[{["fn"]:"aws.partition",["argv"]:[{["fn"]:"getAttr",["argv"]:[Nf,"region"]}],["assign"]:"bucketPartition"}],v1=[{["fn"]:"stringEquals",["argv"]:[b1,{["fn"]:"getAttr",["argv"]:[{["ref"]:"partitionResult"},"name"]}]}],Y3=[{["fn"]:"isValidHostLabel",["argv"]:[{["fn"]:"getAttr",["argv"]:[Nf,"region"]},!0]}],X3=[{["fn"]:"isValidHostLabel",["argv"]:[d1,!1]}],K1=[{["fn"]:"isValidHostLabel",["argv"]:[L3,!1]}],j1=[{["fn"]:"isValidHostLabel",["argv"]:[{["ref"]:"Region"},!0]}],bS={version:"1.0",parameters:{Bucket:Lh,Region:Lh,UseFIPS:Zh,UseDualStack:Zh,Endpoint:Lh,ForcePathStyle:Zh,Accelerate:Zh,UseGlobalEndpoint:Zh,UseObjectLambdaEndpoint:nh,Key:Lh,Prefix:Lh,CopySource:Lh,DisableAccessPoints:nh,DisableMultiRegionAccessPoints:Zh,UseArnRegion:nh,UseS3ExpressControlEndpoint:nh,DisableS3ExpressSessionAuth:nh},rules:[{["conditions"]:[{["fn"]:"isSet",["argv"]:N3}],rules:[{["conditions"]:[Lf,j],error:"Accelerate cannot be used with FIPS",["type"]:"error"},{["conditions"]:[K,d],error:"Cannot set dual-stack in combination with a custom endpoint.",["type"]:"error"},{["conditions"]:[d,j],error:"A custom endpoint cannot be combined with FIPS",["type"]:"error"},{["conditions"]:[d,Lf],error:"A custom endpoint cannot be combined with S3 Accelerate",["type"]:"error"},{["conditions"]:[j,O1,iP],error:"Partition does not support FIPS",["type"]:"error"},{["conditions"]:[HA,{["fn"]:"substring",["argv"]:[Ef,0,6,!0],["assign"]:"bucketSuffix"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"bucketSuffix"},"--x-s3"]}],rules:[{["conditions"]:F3,error:"S3Express does not support Dual-stack.",["type"]:"error"},{["conditions"]:PA,error:"S3Express does not support S3 Accelerate.",["type"]:"error"},{["conditions"]:Ah,rules:[{["conditions"]:z1,rules:[{["conditions"]:L1,rules:[{["conditions"]:G3,rules:[{endpoint:{["url"]:"{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",["properties"]:Kf,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:D3,rules:[{endpoint:{["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:Kf,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"},t0],["type"]:"tree"},{["conditions"]:L1,rules:[{["conditions"]:G3,rules:[{endpoint:{["url"]:"{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",["properties"]:UA,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:D3,rules:[{endpoint:{["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:UA,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"},t0],["type"]:"tree"},{["conditions"]:[_P,eP],rules:[{["conditions"]:[l1,X],rules:[{["conditions"]:Vh,endpoint:{["url"]:"https://s3express-control-fips.{Region}.amazonaws.com/{uri_encoded_bucket}",["properties"]:Kf,["headers"]:Y},["type"]:"endpoint"},{endpoint:{["url"]:"https://s3express-control.{Region}.amazonaws.com/{uri_encoded_bucket}",["properties"]:Kf,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:D3,rules:[{["conditions"]:z1,rules:[{["conditions"]:Z1,rules:V1,["type"]:"tree"},{["conditions"]:J1,rules:V1,["type"]:"tree"},oP],["type"]:"tree"},{["conditions"]:Z1,rules:y1,["type"]:"tree"},{["conditions"]:J1,rules:y1,["type"]:"tree"},oP],["type"]:"tree"},t0],["type"]:"tree"},{["conditions"]:[pP,_P,eP],rules:[{["conditions"]:Ah,endpoint:{["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:Kf,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:Vh,endpoint:{["url"]:"https://s3express-control-fips.{Region}.amazonaws.com",["properties"]:Kf,["headers"]:Y},["type"]:"endpoint"},{endpoint:{["url"]:"https://s3express-control.{Region}.amazonaws.com",["properties"]:Kf,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[HA,{["fn"]:"substring",["argv"]:[Ef,49,50,!0],["assign"]:"hardwareType"},{["fn"]:"substring",["argv"]:[Ef,8,12,!0],["assign"]:"regionPrefix"},{["fn"]:"substring",["argv"]:[Ef,0,7,!0],["assign"]:"bucketAliasSuffix"},{["fn"]:"substring",["argv"]:[Ef,32,49,!0],["assign"]:"outpostId"},{["fn"]:"aws.partition",["argv"]:N3,["assign"]:"regionPartition"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"bucketAliasSuffix"},"--op-s3"]}],rules:[{["conditions"]:Q1,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[nP,"e"]}],rules:[{["conditions"]:q1,rules:[uP,{["conditions"]:Ah,endpoint:{["url"]:"https://{Bucket}.ec2.{url#authority}",["properties"]:wA,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"},{endpoint:{["url"]:"https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}",["properties"]:wA,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[nP,"o"]}],rules:[{["conditions"]:q1,rules:[uP,{["conditions"]:Ah,endpoint:{["url"]:"https://{Bucket}.op-{outpostId}.{url#authority}",["properties"]:wA,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"},{endpoint:{["url"]:"https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}",["properties"]:wA,["headers"]:Y},["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"]:CS,rules:[{["conditions"]:[d,{["fn"]:"not",["argv"]:[{["fn"]:"isSet",["argv"]:[{["fn"]:"parseURL",["argv"]:jS}]}]}],error:"Custom endpoint `{Endpoint}` was not a valid URI",["type"]:"error"},{["conditions"]:[f3,r1],rules:[{["conditions"]:rf,rules:[{["conditions"]:T1,rules:[{["conditions"]:[Lf,iP],error:"S3 Accelerate cannot be used in this region",["type"]:"error"},{["conditions"]:[K,j,b,X,i],endpoint:{["url"]:"https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:e,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[K,j,b,X,V,o],rules:[{endpoint:tP,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[K,j,b,X,V,p],endpoint:tP,["type"]:"endpoint"},{["conditions"]:[Z,j,b,X,i],endpoint:{["url"]:"https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}",["properties"]:e,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[Z,j,b,X,V,o],rules:[{endpoint:f1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[Z,j,b,X,V,p],endpoint:f1,["type"]:"endpoint"},{["conditions"]:[K,L,Lf,X,i],endpoint:{["url"]:"https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:e,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[K,L,Lf,X,V,o],rules:[{endpoint:h1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[K,L,Lf,X,V,p],endpoint:h1,["type"]:"endpoint"},{["conditions"]:[K,L,b,X,i],endpoint:{["url"]:"https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:e,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[K,L,b,X,V,o],rules:[{endpoint:R1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[K,L,b,X,V,p],endpoint:R1,["type"]:"endpoint"},{["conditions"]:[Z,L,b,d,Uf,$A,i],endpoint:{["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",["properties"]:e,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[Z,L,b,d,Uf,h3,i],endpoint:{["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:e,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[Z,L,b,d,Uf,$A,V,o],rules:[{["conditions"]:cf,endpoint:R3,["type"]:"endpoint"},{endpoint:R3,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[Z,L,b,d,Uf,h3,V,o],rules:[{["conditions"]:cf,endpoint:z3,["type"]:"endpoint"},A1],["type"]:"tree"},{["conditions"]:[Z,L,b,d,Uf,$A,V,p],endpoint:R3,["type"]:"endpoint"},{["conditions"]:[Z,L,b,d,Uf,h3,V,p],endpoint:z3,["type"]:"endpoint"},{["conditions"]:[Z,L,Lf,X,i],endpoint:{["url"]:"https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",["properties"]:e,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[Z,L,Lf,X,V,o],rules:[{["conditions"]:cf,endpoint:A3,["type"]:"endpoint"},{endpoint:A3,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[Z,L,Lf,X,V,p],endpoint:A3,["type"]:"endpoint"},{["conditions"]:[Z,L,b,X,i],endpoint:{["url"]:"https://{Bucket}.s3.{partitionResult#dnsSuffix}",["properties"]:e,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[Z,L,b,X,V,o],rules:[{["conditions"]:cf,endpoint:{["url"]:"https://{Bucket}.s3.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:Y},["type"]:"endpoint"},{endpoint:w1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[Z,L,b,X,V,p],endpoint:w1,["type"]:"endpoint"}],["type"]:"tree"},IA],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[d,Uf,{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[C1,"scheme"]},"http"]},{["fn"]:"aws.isVirtualHostableS3Bucket",["argv"]:[Ef,!0]},f3,L,Z,b],rules:[{["conditions"]:rf,rules:[{["conditions"]:T1,rules:[A1],["type"]:"tree"},IA],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[f3,{["fn"]:"aws.parseArn",["argv"]:OS,["assign"]:"bucketArn"}],rules:[{["conditions"]:[{["fn"]:"getAttr",["argv"]:[Nf,"resourceId[0]"],["assign"]:"arnType"},{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[c1,""]}]}],rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[w3,"s3-object-lambda"]}],rules:[{["conditions"]:g3,rules:[{["conditions"]:m1,rules:[I1,P1,{["conditions"]:W3,rules:[$1,{["conditions"]:B1,rules:[I3,{["conditions"]:M3,rules:[{["conditions"]:rf,rules:[{["conditions"]:v1,rules:[{["conditions"]:Y3,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[d1,""]}],error:"Invalid ARN: Missing account id",["type"]:"error"},{["conditions"]:X3,rules:[{["conditions"]:K1,rules:[{["conditions"]:Ah,endpoint:{["url"]:"{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}",["properties"]:P3,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:Vh,endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:P3,["headers"]:Y},["type"]:"endpoint"},{endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:P3,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"},H1],["type"]:"tree"},$3],["type"]:"tree"},H3],["type"]:"tree"},U3],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},U1],["type"]:"tree"},{error:"Invalid ARN: bucket ARN is missing a region",["type"]:"error"}],["type"]:"tree"},E1],["type"]:"tree"},{error:"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`",["type"]:"error"}],["type"]:"tree"},{["conditions"]:g3,rules:[{["conditions"]:m1,rules:[{["conditions"]:W3,rules:[{["conditions"]:g3,rules:[{["conditions"]:W3,rules:[$1,{["conditions"]:B1,rules:[I3,{["conditions"]:M3,rules:[{["conditions"]:rf,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[b1,"{partitionResult#name}"]}],rules:[{["conditions"]:Y3,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[w3,"s3"]}],rules:[{["conditions"]:X3,rules:[{["conditions"]:K1,rules:[{["conditions"]:PA,error:"Access Points do not support S3 Accelerate",["type"]:"error"},{["conditions"]:[j,K],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:uh,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[j,Z],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:uh,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[L,K],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:uh,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[L,Z,d,Uf],endpoint:{["url"]:"{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}",["properties"]:uh,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[L,Z],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:uh,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"},H1],["type"]:"tree"},$3],["type"]:"tree"},{error:"Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}",["type"]:"error"}],["type"]:"tree"},H3],["type"]:"tree"},U3],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},U1],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[{["fn"]:"isValidHostLabel",["argv"]:[L3,!0]}],rules:[{["conditions"]:F3,error:"S3 MRAP does not support dual-stack",["type"]:"error"},{["conditions"]:Vh,error:"S3 MRAP does not support FIPS",["type"]:"error"},{["conditions"]:PA,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"]:N3,["assign"]:"mrapPartition"}],rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[{["ref"]:"mrapPartition"},"name"]},{["fn"]:"getAttr",["argv"]:[Nf,"partition"]}]}],rules:[{endpoint:{["url"]:"https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}",["properties"]:{["authSchemes"]:[{["disableDoubleEncoding"]:!0,name:"sigv4a",["signingName"]:"s3",["signingRegionSet"]:lS}]},["headers"]:Y},["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"},E1],["type"]:"tree"},{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[w3,"s3-outposts"]}],rules:[{["conditions"]:F3,error:"S3 Outposts does not support Dual-stack",["type"]:"error"},{["conditions"]:Vh,error:"S3 Outposts does not support FIPS",["type"]:"error"},{["conditions"]:PA,error:"S3 Outposts does not support S3 Accelerate",["type"]:"error"},{["conditions"]:[{["fn"]:"isSet",["argv"]:[{["fn"]:"getAttr",["argv"]:[Nf,"resourceId[4]"]}]}],error:"Invalid Arn: Outpost Access Point ARN contains sub resources",["type"]:"error"},{["conditions"]:[{["fn"]:"getAttr",["argv"]:rS,["assign"]:"outpostId"}],rules:[{["conditions"]:Q1,rules:[I3,{["conditions"]:M3,rules:[{["conditions"]:rf,rules:[{["conditions"]:v1,rules:[{["conditions"]:Y3,rules:[{["conditions"]:X3,rules:[{["conditions"]:[{["fn"]:"getAttr",["argv"]:cS,["assign"]:"outpostType"}],rules:[{["conditions"]:[{["fn"]:"getAttr",["argv"]:[Nf,"resourceId[3]"],["assign"]:"accessPointName"}],rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[{["ref"]:"outpostType"},"accesspoint"]}],rules:[{["conditions"]:Ah,endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}",["properties"]:S1,["headers"]:Y},["type"]:"endpoint"},{endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:S1,["headers"]:Y},["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"},$3],["type"]:"tree"},H3],["type"]:"tree"},U3],["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"]:[Ef,0,4,!1],["assign"]:"arnPrefix"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"arnPrefix"},"arn:"]},{["fn"]:"not",["argv"]:[{["fn"]:"isSet",["argv"]:[s1]}]}],error:"Invalid ARN: `{Bucket}` was not a valid ARN",["type"]:"error"},{["conditions"]:[{["fn"]:"booleanEquals",["argv"]:[KS,!0]},s1],error:"Path-style addressing cannot be used with ARN buckets",["type"]:"error"},{["conditions"]:G3,rules:[{["conditions"]:rf,rules:[{["conditions"]:[b],rules:[{["conditions"]:[K,X,j,i],endpoint:{["url"]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:e,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[K,X,j,V,o],rules:[{endpoint:N1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[K,X,j,V,p],endpoint:N1,["type"]:"endpoint"},{["conditions"]:[Z,X,j,i],endpoint:{["url"]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:e,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[Z,X,j,V,o],rules:[{endpoint:F1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[Z,X,j,V,p],endpoint:F1,["type"]:"endpoint"},{["conditions"]:[K,X,L,i],endpoint:{["url"]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:e,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[K,X,L,V,o],rules:[{endpoint:G1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[K,X,L,V,p],endpoint:G1,["type"]:"endpoint"},{["conditions"]:[Z,d,Uf,L,i],endpoint:{["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",["properties"]:e,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[Z,d,Uf,L,V,o],rules:[{["conditions"]:cf,endpoint:E3,["type"]:"endpoint"},{endpoint:E3,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[Z,d,Uf,L,V,p],endpoint:E3,["type"]:"endpoint"},{["conditions"]:[Z,X,L,i],endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:e,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[Z,X,L,V,o],rules:[{["conditions"]:cf,endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:k,["headers"]:Y},["type"]:"endpoint"},{endpoint:D1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[Z,X,L,V,p],endpoint:D1,["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"]:[g1]},{["fn"]:"booleanEquals",["argv"]:[g1,!0]}],rules:[{["conditions"]:rf,rules:[{["conditions"]:j1,rules:[I1,P1,{["conditions"]:Ah,endpoint:{["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:S3,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:Vh,endpoint:{["url"]:"https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}",["properties"]:S3,["headers"]:Y},["type"]:"endpoint"},{endpoint:{["url"]:"https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}",["properties"]:S3,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"},IA],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[pP],rules:[{["conditions"]:rf,rules:[{["conditions"]:j1,rules:[{["conditions"]:[j,K,X,i],endpoint:{["url"]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:e,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[j,K,X,V,o],rules:[{endpoint:W1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[j,K,X,V,p],endpoint:W1,["type"]:"endpoint"},{["conditions"]:[j,Z,X,i],endpoint:{["url"]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}",["properties"]:e,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[j,Z,X,V,o],rules:[{endpoint:M1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[j,Z,X,V,p],endpoint:M1,["type"]:"endpoint"},{["conditions"]:[L,K,X,i],endpoint:{["url"]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:e,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[L,K,X,V,o],rules:[{endpoint:Y1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[L,K,X,V,p],endpoint:Y1,["type"]:"endpoint"},{["conditions"]:[L,Z,d,Uf,i],endpoint:{["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:e,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[L,Z,d,Uf,V,o],rules:[{["conditions"]:cf,endpoint:s3,["type"]:"endpoint"},{endpoint:s3,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[L,Z,d,Uf,V,p],endpoint:s3,["type"]:"endpoint"},{["conditions"]:[L,Z,X,i],endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}",["properties"]:e,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[L,Z,X,V,o],rules:[{["conditions"]:cf,endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}",["properties"]:k,["headers"]:Y},["type"]:"endpoint"},{endpoint:X1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[L,Z,X,V,p],endpoint:X1,["type"]:"endpoint"}],["type"]:"tree"},IA],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},{error:"A region must be set when sending requests to S3.",["type"]:"error"}]},k1=bS;var dS=new x1({size:50,params:["Accelerate","Bucket","DisableAccessPoints","DisableMultiRegionAccessPoints","DisableS3ExpressSessionAuth","Endpoint","ForcePathStyle","Region","UseArnRegion","UseDualStack","UseFIPS","UseGlobalEndpoint","UseObjectLambdaEndpoint","UseS3ExpressControlEndpoint"]}),EA=(f,h={})=>{return dS.get(f,()=>i1(k1,{endpointParams:f,logger:h.logger}))};a1.aws=_1;var kS=(f)=>async(h,R,A)=>{if(!A)throw new Error("Could not find \`input\` for \`defaultEndpointRuleSetHttpAuthSchemeParametersProvider\`");let w=await f(h,R,A),I=th.getSmithyContext(R)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!I)throw new Error(`getEndpointParameterInstructions() is not defined on \`${R.commandName}\``);let P=await e1(A,{getEndpointParameterInstructions:I},h);return Object.assign(w,P)},xS=async(f,h,R)=>{return{operation:th.getSmithyContext(h).operation,region:await th.normalizeProvider(f.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}},o1=kS(xS);function p1(f){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"s3",region:f.region},propertiesExtractor:(h,R)=>({signingProperties:{config:h,context:R}})}}function n1(f){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"s3",region:f.region},propertiesExtractor:(h,R)=>({signingProperties:{config:h,context:R}})}}var aS=(f,h,R)=>{return(w)=>{let P=f(w).properties?.authSchemes;if(!P)return h(w);let $=[];for(let H of P){let{name:U,properties:s={},...G}=H,D=U.toLowerCase();if(U!==D)console.warn(`HttpAuthScheme has been normalized with lowercasing: \`${U}\` to \`${D}\``);let N;if(D==="sigv4a"){N="aws.auth#sigv4a";let Pf=P.find(($f)=>{let vf=$f.name.toLowerCase();return vf!=="sigv4a"&&vf.startsWith("sigv4")});if(!AA.CrtSignerV4&&Pf)continue}else if(D.startsWith("sigv4"))N="aws.auth#sigv4";else throw new Error(`Unknown HttpAuthScheme found in \`@smithy.rules#endpointRuleSet\`: \`${D}\``);let M=R[N];if(!M)throw new Error(`Could not find HttpAuthOption create function for \`${N}\``);let Q=M(w);Q.schemeId=N,Q.signingProperties={...Q.signingProperties||{},...G,...s},$.push(Q)}return $}},iS=(f)=>{let h=[];switch(f.operation){default:h.push(p1(f)),h.push(n1(f))}return h},u1=aS(EA,iS,{"aws.auth#sigv4":p1,"aws.auth#sigv4a":n1}),t1=(f)=>{let h=sA.resolveAwsSdkSigV4Config(f);return{...sA.resolveAwsSdkSigV4AConfig(h)}};var t$=c(lA(),1);var f$=(f)=>{return{...f,useFipsEndpoint:f.useFipsEndpoint??!1,useDualstackEndpoint:f.useDualstackEndpoint??!1,forcePathStyle:f.forcePathStyle??!1,useAccelerateEndpoint:f.useAccelerateEndpoint??!1,useGlobalEndpoint:f.useGlobalEndpoint??!1,disableMultiregionAccessPoints:f.disableMultiregionAccessPoints??!1,defaultSigningName:"s3"}},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 Sf extends h${constructor(f){super(f);Object.setPrototypeOf(this,Sf.prototype)}}class NA extends Sf{constructor(f){super({name:"NoSuchUpload",$fault:"client",...f});this.name="NoSuchUpload",this.$fault="client",Object.setPrototypeOf(this,NA.prototype)}}class FA extends Sf{constructor(f){super({name:"ObjectNotInActiveTierError",$fault:"client",...f});this.name="ObjectNotInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,FA.prototype)}}class GA extends Sf{constructor(f){super({name:"BucketAlreadyExists",$fault:"client",...f});this.name="BucketAlreadyExists",this.$fault="client",Object.setPrototypeOf(this,GA.prototype)}}class DA extends Sf{constructor(f){super({name:"BucketAlreadyOwnedByYou",$fault:"client",...f});this.name="BucketAlreadyOwnedByYou",this.$fault="client",Object.setPrototypeOf(this,DA.prototype)}}class gA extends Sf{constructor(f){super({name:"NoSuchBucket",$fault:"client",...f});this.name="NoSuchBucket",this.$fault="client",Object.setPrototypeOf(this,gA.prototype)}}var Z3;(function(f){f.visit=(h,R)=>{if(h.Prefix!==void 0)return R.Prefix(h.Prefix);if(h.Tag!==void 0)return R.Tag(h.Tag);if(h.And!==void 0)return R.And(h.And);return R._(h.$unknown[0],h.$unknown[1])}})(Z3||(Z3={}));var V3;(function(f){f.visit=(h,R)=>{if(h.Prefix!==void 0)return R.Prefix(h.Prefix);if(h.Tag!==void 0)return R.Tag(h.Tag);if(h.ObjectSizeGreaterThan!==void 0)return R.ObjectSizeGreaterThan(h.ObjectSizeGreaterThan);if(h.ObjectSizeLessThan!==void 0)return R.ObjectSizeLessThan(h.ObjectSizeLessThan);if(h.And!==void 0)return R.And(h.And);return R._(h.$unknown[0],h.$unknown[1])}})(V3||(V3={}));var J3;(function(f){f.visit=(h,R)=>{if(h.Prefix!==void 0)return R.Prefix(h.Prefix);if(h.Tag!==void 0)return R.Tag(h.Tag);if(h.AccessPointArn!==void 0)return R.AccessPointArn(h.AccessPointArn);if(h.And!==void 0)return R.And(h.And);return R._(h.$unknown[0],h.$unknown[1])}})(J3||(J3={}));var y3;(function(f){f.visit=(h,R)=>{if(h.Prefix!==void 0)return R.Prefix(h.Prefix);if(h.Tag!==void 0)return R.Tag(h.Tag);if(h.And!==void 0)return R.And(h.And);return R._(h.$unknown[0],h.$unknown[1])}})(y3||(y3={}));class WA extends Sf{constructor(f){super({name:"InvalidObjectState",$fault:"client",...f});this.name="InvalidObjectState",this.$fault="client",Object.setPrototypeOf(this,WA.prototype),this.StorageClass=f.StorageClass,this.AccessTier=f.AccessTier}}class MA extends Sf{constructor(f){super({name:"NoSuchKey",$fault:"client",...f});this.name="NoSuchKey",this.$fault="client",Object.setPrototypeOf(this,MA.prototype)}}class YA extends Sf{constructor(f){super({name:"NotFound",$fault:"client",...f});this.name="NotFound",this.$fault="client",Object.setPrototypeOf(this,YA.prototype)}}var _S=(f)=>({...f,...f.SecretAccessKey&&{SecretAccessKey:sf},...f.SessionToken&&{SessionToken:sf}}),R$=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:sf},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:sf},...f.Credentials&&{Credentials:_S(f.Credentials)}}),A$=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:sf},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:sf}});var w$=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:sf}}),I$=(f)=>({...f,...f.SSECustomerKey&&{SSECustomerKey:sf}});var $h=c(SA(),1);var IR=c(o0(),1);class XA extends Sf{constructor(f){super({name:"ObjectAlreadyInActiveTierError",$fault:"client",...f});this.name="ObjectAlreadyInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,XA.prototype)}}var P$;(function(f){f.visit=(h,R)=>{if(h.Records!==void 0)return R.Records(h.Records);if(h.Stats!==void 0)return R.Stats(h.Stats);if(h.Progress!==void 0)return R.Progress(h.Progress);if(h.Cont!==void 0)return R.Cont(h.Cont);if(h.End!==void 0)return R.End(h.End);return R._(h.$unknown[0],h.$unknown[1])}})(P$||(P$={}));var $$=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:sf},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:sf}}),H$=(f)=>({...f,...f.SSECustomerKey&&{SSECustomerKey:sf},...f.SSEKMSKeyId&&{SSEKMSKeyId:sf},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:sf}});var Y$=async(f,h)=>{let R=IR.requestBuilder(f,h),A=l({},Yf,{[FN]:f[ls],[HR]:f[PR],[UR]:f[$R],[jA]:f[KA],[kf]:[()=>Yf(f[Ph]),()=>f[Ph].toString()]});R.bp("/"),R.p("Bucket",()=>f.Bucket,"{Bucket}",!1);let w=l({[UN]:[,""]}),I;return R.m("GET").h(A).q(w).b(I),R.build()};var X$=async(f,h)=>{let R=IR.requestBuilder(f,h),A=l({},Yf,{[os]:f[Vs],[ps]:[()=>Yf(f[U$]),()=>hR(f[U$]).toString()],[x$]:f[v$],[ns]:[()=>Yf(f[E$]),()=>hR(f[E$]).toString()],[RN]:f[qs],[OA]:f[BA],[o$]:f[O$],[CA]:f[vA],[Nw]:f[Iw],[Sw]:f[Aw],[NN]:f[Gs]});R.bp("/{Key+}"),R.p("Bucket",()=>f.Bucket,"{Bucket}",!1),R.p("Key",()=>f.Key,"{Key+}",!0);let w=l({[u$]:[,"GetObject"],[AN]:[,f[Ts]],[wN]:[,f[ms]],[IN]:[,f[Bs]],[PN]:[,f[vs]],[$N]:[,f[Ks]],[HN]:[()=>f.ResponseExpires!==void 0,()=>hR(f[js]).toString()],[SN]:[,f[Pw]],[fN]:[()=>f.PartNumber!==void 0,()=>f[Qs].toString()]}),I;return R.m("GET").h(A).q(w).b(I),R.build()};var z$=async(f,h)=>{let R=IR.requestBuilder(f,h),A=l({},Yf,{[Nw]:f[Iw],[Sw]:f[Aw],[MN]:[()=>Yf(f[S$]),()=>(f[S$]||[]).map((P)=>P).join(", ")]});R.bp("/"),R.p("Bucket",()=>f.Bucket,"{Bucket}",!1);let w=l({[us]:[,"2"],[as]:[,f[VA]],[is]:[,f[JA]],[ts]:[()=>f.MaxKeys!==void 0,()=>f[QA].toString()],[hN]:[,f[wh]],[xs]:[,f[ZA]],[es]:[()=>f.FetchOwner!==void 0,()=>f[Ys].toString()],[EN]:[,f[qA]]}),I;return R.m("GET").h(A).q(w).b(I),R.build()};var L$=async(f,h)=>{let R=IR.requestBuilder(f,h),A=l({},Yf,{[d$]:f[B$]||"application/octet-stream",[sN]:f[Ns],[l$]:f[Q$],[r$]:f[q$],[c$]:f[T$],[b$]:f[m$],[e3]:[()=>Yf(f[a3]),()=>f[a3].toString()],[ds]:f[Ds],[zN]:f[fR],[$w]:f[t3],[Hw]:f[fw],[Uw]:f[hw],[Ew]:f[Rw],[o3]:[()=>Yf(f[i3]),()=>hR(f[i3]).toString()],[x$]:f[v$],[GN]:f[Xs],[DN]:f[zs],[gN]:f[Ls],[WN]:f[Zs],[HR]:f[PR],[e$]:f[df],[n$]:f[C$],[OA]:f[BA],[o$]:f[O$],[CA]:f[vA],[UR]:f[$R],[jA]:f[KA],[kf]:[()=>Yf(f[Ph]),()=>f[Ph].toString()],[Nw]:f[Iw],[LN]:f[rs],[_$]:f[j$],[p3]:[()=>Yf(f[_3]),()=>M$(f[_3]).toString()],[i$]:f[K$],[Sw]:f[Aw],...f.Metadata!==void 0&&Object.keys(f.Metadata).reduce(($,H)=>{return $[`x-amz-meta-${H.toLowerCase()}`]=f.Metadata[H],$},{})});R.bp("/{Key+}"),R.p("Bucket",()=>f.Bucket,"{Bucket}",!1),R.p("Key",()=>f.Key,"{Key+}",!0);let w=l({[u$]:[,"PutObject"]}),I,P;if(f.Body!==void 0)P=f.Body,I=P;return R.m("PUT").h(A).q(w).b(I),R.build()};var Z$=async(f,h)=>{if(f.statusCode!==200&&f.statusCode>=300)return mA(f,h);let R=l({$metadata:Df(f),[PR]:[,f.headers[HR]],[$R]:[,f.headers[UR]],[KA]:[,f.headers[jA]],[Ph]:[()=>f.headers[kf]!==void 0,()=>Ih(f.headers[kf])]}),A=jf(n3(await $h.parseXmlBody(f.body,h)),"body");if(A[T3]!=null)R[T3]=ss(A[T3],h);return R};var V$=async(f,h)=>{if(f.statusCode!==200&&f.statusCode>=300)return mA(f,h);let R=l({$metadata:Df(f),[Ws]:[()=>f.headers[N$]!==void 0,()=>Ih(f.headers[N$])],[Fs]:[,f.headers[bs]],[AR]:[,f.headers[a$]],[Cs]:[,f.headers[YN]],[yA]:[()=>f.headers[s$]!==void 0,()=>jf(ih(f.headers[s$]))],[a3]:[()=>f.headers[e3]!==void 0,()=>u3(f.headers[e3])],[RR]:[,f.headers[k$]],[t3]:[,f.headers[$w]],[fw]:[,f.headers[Hw]],[hw]:[,f.headers[Uw]],[Rw]:[,f.headers[Ew]],[Js]:[()=>f.headers[F$]!==void 0,()=>Jh(f.headers[F$])],[Pw]:[,f.headers[p$]],[Q$]:[,f.headers[l$]],[q$]:[,f.headers[r$]],[T$]:[,f.headers[c$]],[m$]:[,f.headers[b$]],[gs]:[,f.headers[ks]],[B$]:[,f.headers[d$]],[i3]:[()=>f.headers[o3]!==void 0,()=>jf(ih(f.headers[o3]))],[Ms]:[,f.headers[_s]],[C$]:[,f.headers[n$]],[PR]:[,f.headers[HR]],[BA]:[,f.headers[OA]],[vA]:[,f.headers[CA]],[$R]:[,f.headers[UR]],[Ph]:[()=>f.headers[kf]!==void 0,()=>Ih(f.headers[kf])],[df]:[,f.headers[e$]],[ww]:[,f.headers[sw]],[Os]:[,f.headers[XN]],[ys]:[()=>f.headers[G$]!==void 0,()=>Jh(f.headers[G$])],[cs]:[()=>f.headers[D$]!==void 0,()=>Jh(f.headers[D$])],[j$]:[,f.headers[_$]],[_3]:[()=>f.headers[p3]!==void 0,()=>jf(wR(f.headers[p3]))],[K$]:[,f.headers[i$]],Metadata:[,Object.keys(f.headers).filter((w)=>w.startsWith("x-amz-meta-")).reduce((w,I)=>{return w[I.substring(11)]=f.headers[I],w},{})]}),A=f.body;return h.sdkStreamMixin(A),R.Body=A,R};var J$=async(f,h)=>{if(f.statusCode!==200&&f.statusCode>=300)return mA(f,h);let R=l({$metadata:Df(f),[ww]:[,f.headers[sw]]}),A=jf(n3(await $h.parseXmlBody(f.body,h)),"body");if(A.CommonPrefixes==="")R[zA]=[];else if(A[zA]!=null)R[zA]=$s(TA(A[zA]),h);if(A.Contents==="")R[LA]=[];else if(A[LA]!=null)R[LA]=Us(TA(A[LA]),h);if(A[ZA]!=null)R[ZA]=x(A[ZA]);if(A[VA]!=null)R[VA]=x(A[VA]);if(A[JA]!=null)R[JA]=x(A[JA]);if(A[K3]!=null)R[K3]=Ih(A[K3]);if(A[O3]!=null)R[O3]=Jh(A[O3]);if(A[QA]!=null)R[QA]=Jh(A[QA]);if(A[C3]!=null)R[C3]=x(A[C3]);if(A[l3]!=null)R[l3]=x(A[l3]);if(A[wh]!=null)R[wh]=x(A[wh]);if(A[qA]!=null)R[qA]=x(A[qA]);return R};var y$=async(f,h)=>{if(f.statusCode!==200&&f.statusCode>=300)return mA(f,h);let R=l({$metadata:Df(f),[AR]:[,f.headers[a$]],[RR]:[,f.headers[k$]],[t3]:[,f.headers[$w]],[fw]:[,f.headers[Hw]],[hw]:[,f.headers[Uw]],[Rw]:[,f.headers[Ew]],[PR]:[,f.headers[HR]],[Pw]:[,f.headers[p$]],[BA]:[,f.headers[OA]],[vA]:[,f.headers[CA]],[$R]:[,f.headers[UR]],[KA]:[,f.headers[jA]],[Ph]:[()=>f.headers[kf]!==void 0,()=>Ih(f.headers[kf])],[ww]:[,f.headers[sw]]});return await g$(f.body,h),R};var mA=async(f,h)=>{let R={...f,body:await $h.parseXmlErrorBody(f.body,h)},A=$h.loadRestXmlErrorCode(f,R.body);switch(A){case"NoSuchUpload":case"com.amazonaws.s3#NoSuchUpload":throw await hs(R,h);case"ObjectNotInActiveTierError":case"com.amazonaws.s3#ObjectNotInActiveTierError":throw await ws(R,h);case"BucketAlreadyExists":case"com.amazonaws.s3#BucketAlreadyExists":throw await pS(R,h);case"BucketAlreadyOwnedByYou":case"com.amazonaws.s3#BucketAlreadyOwnedByYou":throw await nS(R,h);case"NoSuchBucket":case"com.amazonaws.s3#NoSuchBucket":throw await tS(R,h);case"InvalidObjectState":case"com.amazonaws.s3#InvalidObjectState":throw await uS(R,h);case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await fs(R,h);case"NotFound":case"com.amazonaws.s3#NotFound":throw await Rs(R,h);case"ObjectAlreadyInActiveTierError":case"com.amazonaws.s3#ObjectAlreadyInActiveTierError":throw await As(R,h);default:let w=R.body;return oS({output:f,parsedBody:w,errorCode:A})}},oS=W$(Sf),pS=async(f,h)=>{let R=l({}),A=f.body,w=new GA({$metadata:Df(f),...R});return qf(w,f.body)},nS=async(f,h)=>{let R=l({}),A=f.body,w=new DA({$metadata:Df(f),...R});return qf(w,f.body)},uS=async(f,h)=>{let R=l({}),A=f.body;if(A[q3]!=null)R[q3]=x(A[q3]);if(A[df]!=null)R[df]=x(A[df]);let w=new WA({$metadata:Df(f),...R});return qf(w,f.body)},tS=async(f,h)=>{let R=l({}),A=f.body,w=new gA({$metadata:Df(f),...R});return qf(w,f.body)},fs=async(f,h)=>{let R=l({}),A=f.body,w=new MA({$metadata:Df(f),...R});return qf(w,f.body)},hs=async(f,h)=>{let R=l({}),A=f.body,w=new NA({$metadata:Df(f),...R});return qf(w,f.body)},Rs=async(f,h)=>{let R=l({}),A=f.body,w=new YA({$metadata:Df(f),...R});return qf(w,f.body)},As=async(f,h)=>{let R=l({}),A=f.body,w=new XA({$metadata:Df(f),...R});return qf(w,f.body)},ws=async(f,h)=>{let R=l({}),A=f.body,w=new FA({$metadata:Df(f),...R});return qf(w,f.body)};var Is=(f,h)=>{return(f||[]).filter((R)=>R!=null).map((R)=>{return x(R)})},Ps=(f,h)=>{let R={};if(f[wh]!=null)R[wh]=x(f[wh]);return R},$s=(f,h)=>{return(f||[]).filter((R)=>R!=null).map((R)=>{return Ps(R,h)})};var Hs=(f,h)=>{let R={};if(f[j3]!=null)R[j3]=x(f[j3]);if(f[yA]!=null)R[yA]=jf(wR(f[yA]));if(f[RR]!=null)R[RR]=x(f[RR]);if(f.ChecksumAlgorithm==="")R[fR]=[];else if(f[fR]!=null)R[fR]=Is(TA(f[fR]),h);if(f[x3]!=null)R[x3]=u3(f[x3]);if(f[df]!=null)R[df]=x(f[df]);if(f[r3]!=null)R[r3]=Es(f[r3],h);if(f[b3]!=null)R[b3]=Ss(f[b3],h);return R},Us=(f,h)=>{return(f||[]).filter((R)=>R!=null).map((R)=>{return Hs(R,h)})};var Es=(f,h)=>{let R={};if(f[m3]!=null)R[m3]=x(f[m3]);if(f[B3]!=null)R[B3]=x(f[B3]);return R};var Ss=(f,h)=>{let R={};if(f[v3]!=null)R[v3]=Ih(f[v3]);if(f[c3]!=null)R[c3]=jf(wR(f[c3]));return R};var ss=(f,h)=>{let R={};if(f[Q3]!=null)R[Q3]=x(f[Q3]);if(f[d3]!=null)R[d3]=x(f[d3]);if(f[k3]!=null)R[k3]=x(f[k3]);if(f[AR]!=null)R[AR]=jf(wR(f[AR]));return R};var Df=(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 Yf=(f)=>f!==void 0&&f!==null&&f!==""&&(!Object.getOwnPropertyNames(f).includes("length")||f.length!=0)&&(!Object.getOwnPropertyNames(f).includes("size")||f.size!=0);var Ns="ACL";var Q3="AccessKeyId";var Fs="AcceptRanges";var q3="AccessTier";var Ph="BucketKeyEnabled";var T3="Credentials",fR="ChecksumAlgorithm";var Q$="CacheControl",t3="ChecksumCRC32",fw="ChecksumCRC32C",q$="ContentDisposition";var T$="ContentEncoding";var m$="ContentLanguage",a3="ContentLength",Gs="ChecksumMode",Ds="ContentMD5";var zA="CommonPrefixes";var gs="ContentRange";var hw="ChecksumSHA1",Rw="ChecksumSHA256";var B$="ContentType",ZA="ContinuationToken";var LA="Contents";var VA="Delimiter";var Ws="DeleteMarker";var m3="DisplayName";var i3="Expires";var Aw="ExpectedBucketOwner";var Ms="ExpiresString";var JA="EncodingType",RR="ETag";var AR="Expiration";var Ys="FetchOwner";var Xs="GrantFullControl";var zs="GrantRead",Ls="GrantReadACP";var Zs="GrantWriteACP";var B3="ID";var Vs="IfMatch",U$="IfModifiedSince",v$="IfNoneMatch";var v3="IsRestoreInProgress";var K3="IsTruncated";var E$="IfUnmodifiedSince";var j3="Key",O3="KeyCount";var yA="LastModified";var QA="MaxKeys";var Js="MissingMeta";var C3="Name";var l3="NextContinuationToken";var r3="Owner";var K$="ObjectLockLegalHoldStatus",j$="ObjectLockMode";var _3="ObjectLockRetainUntilDate";var S$="OptionalObjectAttributes";var wh="Prefix";var ys="PartsCount";var Qs="PartNumber";var qs="Range";var ww="RequestCharged",Ts="ResponseCacheControl",ms="ResponseContentDisposition",Bs="ResponseContentEncoding",vs="ResponseContentLanguage",Ks="ResponseContentType";var js="ResponseExpires",c3="RestoreExpiryDate";var Iw="RequestPayer";var Os="ReplicationStatus",b3="RestoreStatus";var Cs="Restore";var qA="StartAfter",d3="SecretAccessKey";var df="StorageClass";var ls="SessionMode";var PR="ServerSideEncryption";var BA="SSECustomerAlgorithm",O$="SSECustomerKey",vA="SSECustomerKeyMD5";var KA="SSEKMSEncryptionContext",$R="SSEKMSKeyId";var k3="SessionToken";var x3="Size";var rs="Tagging";var cs="TagCount";var Pw="VersionId";var C$="WebsiteRedirectLocation";var bs="accept-ranges";var l$="cache-control",r$="content-disposition",c$="content-encoding",b$="content-language",e3="content-length",ds="content-md5",ks="content-range",d$="content-type",xs="continuation-token";var as="delimiter",o3="expires";var is="encoding-type",k$="etag",_s="expiresstring",es="fetch-owner";var os="if-match",ps="if-modified-since";var x$="if-none-match";var ns="if-unmodified-since";var s$="last-modified";var us="list-type";var ts="max-keys";var fN="partNumber";var hN="prefix";var RN="range",AN="response-cache-control",wN="response-content-disposition",IN="response-content-encoding",PN="response-content-language",$N="response-content-type",HN="response-expires";var UN="session",EN="start-after";var SN="versionId";var sN="x-amz-acl";var $w="x-amz-checksum-crc32",Hw="x-amz-checksum-crc32c",NN="x-amz-checksum-mode";var Uw="x-amz-checksum-sha1",Ew="x-amz-checksum-sha256";var FN="x-amz-create-session-mode";var N$="x-amz-delete-marker",a$="x-amz-expiration",Sw="x-amz-expected-bucket-owner";var GN="x-amz-grant-full-control",DN="x-amz-grant-read",gN="x-amz-grant-read-acp";var WN="x-amz-grant-write-acp";var F$="x-amz-missing-meta";var G$="x-amz-mp-parts-count";var i$="x-amz-object-lock-legal-hold",_$="x-amz-object-lock-mode",p3="x-amz-object-lock-retain-until-date";var MN="x-amz-optional-object-attributes";var YN="x-amz-restore",sw="x-amz-request-charged";var Nw="x-amz-request-payer";var XN="x-amz-replication-status";var e$="x-amz-storage-class",zN="x-amz-sdk-checksum-algorithm";var HR="x-amz-server-side-encryption",UR="x-amz-server-side-encryption-aws-kms-key-id",kf="x-amz-server-side-encryption-bucket-key-enabled",jA="x-amz-server-side-encryption-context",OA="x-amz-server-side-encryption-customer-algorithm",o$="x-amz-server-side-encryption-customer-key",CA="x-amz-server-side-encryption-customer-key-md5",LN="x-amz-tagging",D$="x-amz-tagging-count";var p$="x-amz-version-id",n$="x-amz-website-redirect-location",u$="x-id";class Fw extends xf.classBuilder().ep({...bf,DisableS3ExpressSessionAuth:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(f,h,R,A){return[t$.getSerdePlugin(R,this.serialize,this.deserialize),af(R,f.getEndpointParameterInstructions()),zh(R)]}).s("AmazonS3","CreateSession",{}).n("S3Client","CreateSessionCommand").f(A$,R$).ser(Y$).de(Z$).build(){}var fH={name:"@aws-sdk/client-s3",description:"AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",version:"3.654.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"node ../../scripts/compilation/inline client-s3","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo s3",test:"yarn test:unit","test:e2e":"yarn test:e2e:node && yarn test:e2e:browser","test:e2e:browser":"ts-mocha test/**/*.browser.ispec.ts && karma start karma.conf.js","test:e2e:node":"jest --c jest.config.e2e.js","test:unit":"ts-mocha test/unit/**/*.spec.ts"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha1-browser":"5.2.0","@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/client-sso-oidc":"3.654.0","@aws-sdk/client-sts":"3.654.0","@aws-sdk/core":"3.654.0","@aws-sdk/credential-provider-node":"3.654.0","@aws-sdk/middleware-bucket-endpoint":"3.654.0","@aws-sdk/middleware-expect-continue":"3.654.0","@aws-sdk/middleware-flexible-checksums":"3.654.0","@aws-sdk/middleware-host-header":"3.654.0","@aws-sdk/middleware-location-constraint":"3.654.0","@aws-sdk/middleware-logger":"3.654.0","@aws-sdk/middleware-recursion-detection":"3.654.0","@aws-sdk/middleware-sdk-s3":"3.654.0","@aws-sdk/middleware-ssec":"3.654.0","@aws-sdk/middleware-user-agent":"3.654.0","@aws-sdk/region-config-resolver":"3.654.0","@aws-sdk/signature-v4-multi-region":"3.654.0","@aws-sdk/types":"3.654.0","@aws-sdk/util-endpoints":"3.654.0","@aws-sdk/util-user-agent-browser":"3.654.0","@aws-sdk/util-user-agent-node":"3.654.0","@aws-sdk/xml-builder":"3.654.0","@smithy/config-resolver":"^3.0.8","@smithy/core":"^2.4.3","@smithy/eventstream-serde-browser":"^3.0.9","@smithy/eventstream-serde-config-resolver":"^3.0.6","@smithy/eventstream-serde-node":"^3.0.8","@smithy/fetch-http-handler":"^3.2.7","@smithy/hash-blob-browser":"^3.1.5","@smithy/hash-node":"^3.0.6","@smithy/hash-stream-node":"^3.1.5","@smithy/invalid-dependency":"^3.0.6","@smithy/md5-js":"^3.0.6","@smithy/middleware-content-length":"^3.0.8","@smithy/middleware-endpoint":"^3.1.3","@smithy/middleware-retry":"^3.0.18","@smithy/middleware-serde":"^3.0.6","@smithy/middleware-stack":"^3.0.6","@smithy/node-config-provider":"^3.1.7","@smithy/node-http-handler":"^3.2.2","@smithy/protocol-http":"^4.1.3","@smithy/smithy-client":"^3.3.2","@smithy/types":"^3.4.2","@smithy/url-parser":"^3.0.6","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.18","@smithy/util-defaults-mode-node":"^3.0.18","@smithy/util-endpoints":"^2.1.2","@smithy/util-middleware":"^3.0.6","@smithy/util-retry":"^3.0.6","@smithy/util-stream":"^3.1.6","@smithy/util-utf8":"^3.0.0","@smithy/util-waiter":"^3.1.5",tslib:"^2.6.2"},devDependencies:{"@aws-sdk/signature-v4-crt":"3.654.0","@tsconfig/node16":"16.1.3","@types/chai":"^4.2.11","@types/mocha":"^8.0.4","@types/node":"^16.18.96",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typescript:"~4.9.5"},engines:{node:">=16.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-s3"}};var kA=c(SA(),1);var VN="AWS_S3_USE_ARN_REGION",JN="s3_use_arn_region",hH={environmentVariableSelector:(f)=>hh(f,VN,Rh.ENV),configFileSelector:(f)=>hh(f,JN,Rh.CONFIG),default:!1};class yh{constructor(f){if(this.bytes=f,f.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(f){if(f>9223372036854776000||f<-9223372036854776000)throw new Error(`${f} is too large (or, if negative, too small) to represent as an Int64`);let h=new Uint8Array(8);for(let R=7,A=Math.abs(Math.round(f));R>-1&&A>0;R--,A/=256)h[R]=A;if(f<0)RH(h);return new yh(h)}valueOf(){let f=this.bytes.slice(0),h=f[0]&128;if(h)RH(f);return parseInt(a(f),16)*(h?-1:1)}toString(){return String(this.valueOf())}}function RH(f){for(let h=0;h<8;h++)f[h]^=255;for(let h=7;h>-1;h--)if(f[h]++,f[h]!==0)break}class Gw{constructor(f,h){this.toUtf8=f,this.fromUtf8=h}format(f){let h=[];for(let w of Object.keys(f)){let I=this.fromUtf8(w);h.push(Uint8Array.from([I.byteLength]),I,this.formatHeaderValue(f[w]))}let R=new Uint8Array(h.reduce((w,I)=>w+I.byteLength,0)),A=0;for(let w of h)R.set(w,A),A+=w.byteLength;return R}formatHeaderValue(f){switch(f.type){case"boolean":return Uint8Array.from([f.value?0:1]);case"byte":return Uint8Array.from([2,f.value]);case"short":let h=new DataView(new ArrayBuffer(3));return h.setUint8(0,3),h.setInt16(1,f.value,!1),new Uint8Array(h.buffer);case"integer":let R=new DataView(new ArrayBuffer(5));return R.setUint8(0,4),R.setInt32(1,f.value,!1),new Uint8Array(R.buffer);case"long":let A=new Uint8Array(9);return A[0]=5,A.set(f.value.bytes,1),A;case"binary":let w=new DataView(new ArrayBuffer(3+f.value.byteLength));w.setUint8(0,6),w.setUint16(1,f.value.byteLength,!1);let I=new Uint8Array(w.buffer);return I.set(f.value,3),I;case"string":let P=this.fromUtf8(f.value),$=new DataView(new ArrayBuffer(3+P.byteLength));$.setUint8(0,7),$.setUint16(1,P.byteLength,!1);let H=new Uint8Array($.buffer);return H.set(P,3),H;case"timestamp":let U=new Uint8Array(9);return U[0]=8,U.set(yh.fromNumber(f.value.valueOf()).bytes,1),U;case"uuid":if(!xN.test(f.value))throw new Error(`Invalid UUID received: ${f.value}`);let s=new Uint8Array(17);return s[0]=9,s.set(uR(f.value.replace(/\-/g,"")),1),s}}parse(f){let h={},R=0;while(R<f.byteLength){let A=f.getUint8(R++),w=this.toUtf8(new Uint8Array(f.buffer,f.byteOffset+R,A));switch(R+=A,f.getUint8(R++)){case 0:h[w]={type:wH,value:!0};break;case 1:h[w]={type:wH,value:!1};break;case 2:h[w]={type:ON,value:f.getInt8(R++)};break;case 3:h[w]={type:CN,value:f.getInt16(R,!1)},R+=2;break;case 4:h[w]={type:lN,value:f.getInt32(R,!1)},R+=4;break;case 5:h[w]={type:rN,value:new yh(new Uint8Array(f.buffer,f.byteOffset+R,8))},R+=8;break;case 6:let I=f.getUint16(R,!1);R+=2,h[w]={type:cN,value:new Uint8Array(f.buffer,f.byteOffset+R,I)},R+=I;break;case 7:let P=f.getUint16(R,!1);R+=2,h[w]={type:bN,value:this.toUtf8(new Uint8Array(f.buffer,f.byteOffset+R,P))},R+=P;break;case 8:h[w]={type:dN,value:new Date(new yh(new Uint8Array(f.buffer,f.byteOffset+R,8)).valueOf())},R+=8;break;case 9:let $=new Uint8Array(f.buffer,f.byteOffset+R,16);R+=16,h[w]={type:kN,value:`${a($.subarray(0,4))}-${a($.subarray(4,6))}-${a($.subarray(6,8))}-${a($.subarray(8,10))}-${a($.subarray(10))}`};break;default:throw new Error("Unrecognized header type tag")}}return h}}var AH;(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"})(AH||(AH={}));var wH="boolean",ON="byte",CN="short",lN="integer",rN="long",cN="binary",bN="string",dN="timestamp",kN="uuid",xN=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;var IH=4,_f=IH*2,Hh=4,aN=_f+Hh*2;function PH({byteLength:f,byteOffset:h,buffer:R}){if(f<aN)throw new Error("Provided message too short to accommodate event stream message overhead");let A=new DataView(R,h,f),w=A.getUint32(0,!1);if(f!==w)throw new Error("Reported message length does not match received message length");let I=A.getUint32(IH,!1),P=A.getUint32(_f,!1),$=A.getUint32(f-Hh,!1),H=new fh().update(new Uint8Array(R,h,_f));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(R,h+_f,f-(_f+Hh))),$!==H.digest())throw new Error(`The message checksum (${H.digest()}) did not match the expected value of ${$}`);return{headers:new DataView(R,h+_f+Hh,I),body:new Uint8Array(R,h+_f+Hh+I,w-I-(_f+Hh+Hh))}}class Dw{constructor(f,h){this.headerMarshaller=new Gw(f,h),this.messageBuffer=[],this.isEndOfStream=!1}feed(f){this.messageBuffer.push(this.decode(f))}endOfStream(){this.isEndOfStream=!0}getMessage(){let f=this.messageBuffer.pop(),h=this.isEndOfStream;return{getMessage(){return f},isEndOfStream(){return h}}}getAvailableMessages(){let f=this.messageBuffer;this.messageBuffer=[];let h=this.isEndOfStream;return{getMessages(){return f},isEndOfStream(){return h}}}encode({headers:f,body:h}){let R=this.headerMarshaller.format(f),A=R.byteLength+h.byteLength+16,w=new Uint8Array(A),I=new DataView(w.buffer,w.byteOffset,w.byteLength),P=new fh;return I.setUint32(0,A,!1),I.setUint32(4,R.byteLength,!1),I.setUint32(8,P.update(w.subarray(0,8)).digest(),!1),w.set(R,12),w.set(h,R.byteLength+12),I.setUint32(A-4,P.update(w.subarray(8,A-4)).digest(),!1),w}decode(f){let{headers:h,body:R}=PH(f);return{headers:this.headerMarshaller.parse(h),body:R}}formatHeaders(f){return this.headerMarshaller.format(f)}}class gw{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 Ww{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 Mw{constructor(f){this.options=f}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let f of this.options.messageStream){let h=await this.options.deserializer(f);if(h===void 0)continue;yield h}}}class Yw{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 $H(f){let h=0,R=0,A=null,w=null,I=($)=>{if(typeof $!=="number")throw new Error("Attempted to allocate an event message where size was not a number: "+$);h=$,R=4,A=new Uint8Array($),new DataView(A.buffer).setUint32(0,$,!1)},P=async function*(){let $=f[Symbol.asyncIterator]();while(!0){let{value:H,done:U}=await $.next();if(U){if(!h)return;else if(h===R)yield A;else throw new Error("Truncated event message received.");return}let s=H.length,G=0;while(G<s){if(!A){let N=s-G;if(!w)w=new Uint8Array(4);let M=Math.min(4-R,N);if(w.set(H.slice(G,G+M),R),R+=M,G+=M,R<4)break;I(new DataView(w.buffer).getUint32(0,!1)),w=null}let D=Math.min(h-R,s-G);if(A.set(H.slice(G,G+D),R),R+=D,G+=D,h&&h===R)yield A,A=null,h=0,R=0}}};return{[Symbol.asyncIterator]:P}}function HH(f,h){return async function(R){let{value:A}=R.headers[":message-type"];if(A==="error"){let w=new Error(R.headers[":error-message"].value||"UnknownError");throw w.name=R.headers[":error-code"].value,w}else if(A==="exception"){let w=R.headers[":exception-type"].value,I={[w]:R},P=await f(I);if(P.$unknown){let $=new Error(h(R.body));throw $.name=w,$}throw P[w]}else if(A==="event"){let w={[R.headers[":event-type"].value]:R},I=await f(w);if(I.$unknown)return;return I}else throw Error(`Unrecognizable event type: ${R.headers[":event-type"].value}`)}}class rA{constructor({utf8Encoder:f,utf8Decoder:h}){this.eventStreamCodec=new Dw(f,h),this.utfEncoder=f}deserialize(f,h){let R=$H(f);return new Mw({messageStream:new gw({inputStream:R,decoder:this.eventStreamCodec}),deserializer:HH(h,this.utfEncoder)})}serialize(f,h){return new Ww({messageStream:new Yw({inputStream:f,serializer:h}),encoder:this.eventStreamCodec,includeEndFrame:!0})}}import{Readable as iN}from"stream";async function*UH(f){let h=!1,R=!1,A=new Array;f.on("error",(w)=>{if(!h)h=!0;if(w)throw w}),f.on("data",(w)=>{A.push(w)}),f.on("end",()=>{h=!0});while(!R){let w=await new Promise((I)=>setTimeout(()=>I(A.shift()),0));if(w)yield w;R=h&&A.length===0}}class Xw{constructor({utf8Encoder:f,utf8Decoder:h}){this.universalMarshaller=new rA({utf8Decoder:h,utf8Encoder:f})}deserialize(f,h){let R=typeof f[Symbol.asyncIterator]==="function"?f:UH(f);return this.universalMarshaller.deserialize(R,h)}serialize(f,h){return iN.from(this.universalMarshaller.serialize(f,h))}}var EH=(f)=>new Xw(f);import{Writable as _N}from"stream";class cA extends _N{constructor(f,h){super(h);this.hash=f}_write(f,h,R){try{this.hash.update(Mf(f))}catch(A){return R(A)}R()}}var SH=(f,h)=>{if(h.readableFlowing!==null)throw new Error("Unable to calculate hash for flowing readable stream");let R=new f,A=new cA(R);return h.pipe(A),new Promise((w,I)=>{h.on("error",(P)=>{A.end(),I(P)}),A.on("error",I),A.on("finish",()=>{R.digest().then(w).catch(I)})})};var bA=c(SA(),1);var WH=(f)=>{return{apiVersion:"2006-03-01",base64Decoder:f?.base64Decoder??NH,base64Encoder:f?.base64Encoder??FH,disableHostPrefix:f?.disableHostPrefix??!1,endpointProvider:f?.endpointProvider??EA,extensions:f?.extensions??[],getAwsChunkedEncodingStream:f?.getAwsChunkedEncodingStream??GH,httpAuthSchemeProvider:f?.httpAuthSchemeProvider??u1,httpAuthSchemes:f?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(h)=>h.getIdentityProvider("aws.auth#sigv4"),signer:new bA.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(h)=>h.getIdentityProvider("aws.auth#sigv4a"),signer:new bA.AwsSdkSigV4ASigner}],logger:f?.logger??new iR,sdkStreamMixin:f?.sdkStreamMixin??DH,serviceId:f?.serviceId??"S3",signerConstructor:f?.signerConstructor??u0,signingEscapePath:f?.signingEscapePath??!1,urlParser:f?.urlParser??gH,useArnRegion:f?.useArnRegion??!1,utf8Decoder:f?.utf8Decoder??oh,utf8Encoder:f?.utf8Encoder??sH}};var KH=(f)=>{zH(process.version);let h=BH(f),R=()=>h().then(XH),A=WH(f);return kA.emitWarningIfUnsupportedVersion(process.version),{...A,...f,runtime:"node",defaultsMode:h,bodyLengthChecker:f?.bodyLengthChecker??mH,credentialDefaultProvider:f?.credentialDefaultProvider??vH,defaultUserAgentProvider:f?.defaultUserAgentProvider??TH({serviceId:A.serviceId,clientVersion:fH.version}),disableS3ExpressSessionAuth:f?.disableS3ExpressSessionAuth??Zf(_0),eventStreamSerdeProvider:f?.eventStreamSerdeProvider??EH,maxAttempts:f?.maxAttempts??Zf(QH),md5:f?.md5??dA.bind(null,"md5"),region:f?.region??Zf(VH,JH),requestChecksumCalculation:f?.requestChecksumCalculation??Zf(OI),requestHandler:MH.create(f?.requestHandler??R),responseChecksumValidation:f?.responseChecksumValidation??Zf(CI),retryMode:f?.retryMode??Zf({...qH,default:async()=>(await R()).retryMode||yH}),sha1:f?.sha1??dA.bind(null,"sha1"),sha256:f?.sha256??dA.bind(null,"sha256"),sigv4aSigningRegionSet:f?.sigv4aSigningRegionSet??Zf(kA.NODE_SIGV4A_CONFIG_OPTIONS),streamCollector:f?.streamCollector??YH,streamHasher:f?.streamHasher??SH,useArnRegion:f?.useArnRegion??Zf(hH),useDualstackEndpoint:f?.useDualstackEndpoint??Zf(LH),useFipsEndpoint:f?.useFipsEndpoint??Zf(ZH)}};var jH=(f)=>{let{httpAuthSchemes:h,httpAuthSchemeProvider:R,credentials:A}=f;return{setHttpAuthScheme(w){let I=h.findIndex((P)=>P.schemeId===w.schemeId);if(I===-1)h.push(w);else h.splice(I,1,w)},httpAuthSchemes(){return h},setHttpAuthSchemeProvider(w){R=w},httpAuthSchemeProvider(){return R},setCredentials(w){A=w},credentials(){return A}}},OH=(f)=>{return{httpAuthSchemes:f.httpAuthSchemes(),httpAuthSchemeProvider:f.httpAuthSchemeProvider(),credentials:f.credentials()}};var xA=(f)=>f,kH=(f,h)=>{let R={...xA(bH(f)),...xA(rH(f)),...xA(CH(f)),...xA(jH(f))};return h.forEach((A)=>A.configure(R)),{...f,...dH(R),...cH(R),...lH(R),...OH(R)}};class zw extends eH{constructor(...[f]){let h=KH(f||{}),R=f$(h),A=oH(R),w=nI(A),I=fU(w),P=nH(I),$=xH(P),H=tH($),U=aP(H),s=t1(U),G=rP(s,{session:[()=>this,Fw]}),D=kH(G,f?.extensions||[]);super(D);this.config=D,this.middlewareStack.use(pH(this.config)),this.middlewareStack.use(hU(this.config)),this.middlewareStack.use(uH(this.config)),this.middlewareStack.use(aH(this.config)),this.middlewareStack.use(iH(this.config)),this.middlewareStack.use(_H(this.config)),this.middlewareStack.use(Qh.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:o1,identityProviderConfigProvider:async(N)=>new Qh.DefaultIdentityProviderConfig({"aws.auth#sigv4":N.credentials,"aws.auth#sigv4a":N.credentials})})),this.middlewareStack.use(Qh.getHttpSigningPlugin(this.config)),this.middlewareStack.use(xP(this.config)),this.middlewareStack.use(BI(this.config)),this.middlewareStack.use(hP(this.config)),this.middlewareStack.use(e0(this.config)),this.middlewareStack.use(p0(this.config))}destroy(){super.destroy()}}function eN(f){return(h)=>async(R)=>{let A={...R.input},w=[{target:"SSECustomerKey",hash:"SSECustomerKeyMD5"},{target:"CopySourceSSECustomerKey",hash:"CopySourceSSECustomerKeyMD5"}];for(let I of w){let P=A[I.target];if(P){let $;if(typeof P==="string")if(pN(P,f))$=f.base64Decoder(P);else $=f.utf8Decoder(P),A[I.target]=f.base64Encoder($);else $=ArrayBuffer.isView(P)?new Uint8Array(P.buffer,P.byteOffset,P.byteLength):new Uint8Array(P),A[I.target]=f.base64Encoder($);let H=new f.md5;H.update($),A[I.hash]=f.base64Encoder(await H.digest())}}return h({...R,input:A})}}var oN={name:"ssecMiddleware",step:"initialize",tags:["SSE"],override:!0},aA=(f)=>({applyToStack:(h)=>{h.add(eN(f),oN)}});function pN(f,h){if(!/^(?:[A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(f))return!1;try{return h.base64Decoder(f).length===32}catch{return!1}}var RU=c(lA(),1);class Lw extends xf.classBuilder().ep({...bf,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(f,h,R,A){return[RU.getSerdePlugin(R,this.serialize,this.deserialize),af(R,f.getEndpointParameterInstructions()),xR(R,{input:this.input,requestChecksumRequired:!1,requestValidationModeMember:"ChecksumMode",responseAlgorithms:["CRC32","CRC32C","SHA256","SHA1"]}),aA(R),RP(R)]}).s("AmazonS3","GetObject",{}).n("S3Client","GetObjectCommand").f(I$,w$).ser(X$).de(V$).build(){}var AU=c(lA(),1);class Zw extends xf.classBuilder().ep({...bf,Bucket:{type:"contextParams",name:"Bucket"},Prefix:{type:"contextParams",name:"Prefix"}}).m(function(f,h,R,A){return[AU.getSerdePlugin(R,this.serialize,this.deserialize),af(R,f.getEndpointParameterInstructions()),zh(R)]}).s("AmazonS3","ListObjectsV2",{}).n("S3Client","ListObjectsV2Command").f(void 0,void 0).ser(z$).de(J$).build(){}var wU=c(lA(),1);class Vw extends xf.classBuilder().ep({...bf,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(f,h,R,A){return[wU.getSerdePlugin(R,this.serialize,this.deserialize),af(R,f.getEndpointParameterInstructions()),xR(R,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!1}),uI(R),zh(R),aA(R)]}).s("AmazonS3","PutObject",{}).n("S3Client","PutObjectCommand").f(H$,$$).ser(L$).de(y$).build(){}import{Buffer as IU}from"buffer";class PU extends Fh{client;constructor(...f){super();this.client=new zw(...f)}async put(f){let h,R,A,w=process.env.BUCKET_NAME;if(f instanceof Blob)h=f,A=`${vR()}.${f.type.split("/")[1].split(";")[0]}`,R=f.type;else h=f.body,A=f.name,w=f.bucket??w,R=f.contentType;R=h instanceof Blob||h instanceof File?h.type:void 0;let I=h instanceof IU?h:IU.from(await h.arrayBuffer());return await this.client.send(new Vw({Bucket:w,Key:A,Body:I,ContentType:R})),A}async list(f){return await this.client.send(new Zw({Bucket:process.env.BUCKET_NAME,Prefix:f}))}async fetch(f){let h=process.env.BUCKET_NAME,R;if(typeof f==="string")R=f;else h=f.bucket??h,R=f.name;if(!R)throw new Error("Object name has to be specified");let A=await this.client.send(new Lw({Bucket:h,Key:R}));return new Response(A.Body.transformToWebStream(),{headers:{"Content-Type":A.ContentType,"Content-Length":A.ContentLength.toString(),"Cache-Control":"private, max-age=12000, must-revalidate","Last-Modified":A.LastModified?.toUTCString()||"",ETag:A.ETag||""}})}}class iA{}class _A extends iA{requests=new Map;consume(f,h){if(!this.requests.has(f))this.requests.set(f,{date:Date.now(),count:1});else{let R=this.requests.get(f),A=Date.now();if(A-R.date>=60000)this.requests.set(f,{date:A,count:1});else this.requests.set(f,{date:R.date,count:R.count+1})}return this.requests.get(f).count}}class $U extends _{driver=new _A;boot(){}}import*as bg from"react-dom/server";var J;(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"})(J||(J={}));function HU(f){return f.type===J.Tag||f.type===J.Script||f.type===J.Style}var{Root:UU,Text:EU,Directive:SU,Comment:sU,Script:NU,Style:FU,Tag:GU,CDATA:DU,Doctype:gU}=J;class yw{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 MU(this,f)}}class eA extends yw{constructor(f){super();this.data=f}get nodeValue(){return this.data}set nodeValue(f){this.data=f}}class ER extends eA{constructor(){super(...arguments);this.type=J.Text}get nodeType(){return 3}}class oA extends eA{constructor(){super(...arguments);this.type=J.Comment}get nodeType(){return 8}}class pA extends eA{constructor(f,h){super(h);this.name=f,this.type=J.Directive}get nodeType(){return 1}}class nA extends yw{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 uA extends nA{constructor(){super(...arguments);this.type=J.CDATA}get nodeType(){return 4}}class SR extends nA{constructor(){super(...arguments);this.type=J.Root}get nodeType(){return 9}}class tA extends nA{constructor(f,h,R=[],A=f==="script"?J.Script:f==="style"?J.Style:J.Tag){super(R);this.name=f,this.attribs=h,this.type=A}get nodeType(){return 1}get tagName(){return this.name}set tagName(f){this.name=f}get attributes(){return Object.keys(this.attribs).map((f)=>{var h,R;return{name:f,value:this.attribs[f],namespace:(h=this["x-attribsNamespace"])===null||h===void 0?void 0:h[f],prefix:(R=this["x-attribsPrefix"])===null||R===void 0?void 0:R[f]}})}}function f0(f){return HU(f)}function nN(f){return f.type===J.CDATA}function uN(f){return f.type===J.Text}function tN(f){return f.type===J.Comment}function fF(f){return f.type===J.Directive}function hF(f){return f.type===J.Root}function MU(f,h=!1){let R;if(uN(f))R=new ER(f.data);else if(tN(f))R=new oA(f.data);else if(f0(f)){let A=h?Jw(f.children):[],w=new tA(f.name,{...f.attribs},A);if(A.forEach((I)=>I.parent=w),f.namespace!=null)w.namespace=f.namespace;if(f["x-attribsNamespace"])w["x-attribsNamespace"]={...f["x-attribsNamespace"]};if(f["x-attribsPrefix"])w["x-attribsPrefix"]={...f["x-attribsPrefix"]};R=w}else if(nN(f)){let A=h?Jw(f.children):[],w=new uA(A);A.forEach((I)=>I.parent=w),R=w}else if(hF(f)){let A=h?Jw(f.children):[],w=new SR(A);if(A.forEach((I)=>I.parent=w),f["x-mode"])w["x-mode"]=f["x-mode"];R=w}else if(fF(f)){let A=new pA(f.name,f.data);if(f["x-name"]!=null)A["x-name"]=f["x-name"],A["x-publicId"]=f["x-publicId"],A["x-systemId"]=f["x-systemId"];R=A}else throw new Error(`Not implemented yet: ${f.type}`);if(R.startIndex=f.startIndex,R.endIndex=f.endIndex,f.sourceCodeLocation!=null)R.sourceCodeLocation=f.sourceCodeLocation;return R}function Jw(f){let h=f.map((R)=>MU(R,!0));for(let R=1;R<h.length;R++)h[R].prev=h[R-1],h[R-1].next=h[R];return h}var YU={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class Qw{constructor(f,h,R){if(this.dom=[],this.root=new SR(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof h==="function")R=h,h=YU;if(typeof f==="object")h=f,f=void 0;this.callback=f!==null&&f!==void 0?f:null,this.options=h!==null&&h!==void 0?h:YU,this.elementCB=R!==null&&R!==void 0?R:null}onparserinit(f){this.parser=f}onreset(){this.dom=[],this.root=new SR(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){if(this.done)return;this.done=!0,this.parser=null,this.handleCallback(null)}onerror(f){this.handleCallback(f)}onclosetag(){this.lastNode=null;let f=this.tagStack.pop();if(this.options.withEndIndices)f.endIndex=this.parser.endIndex;if(this.elementCB)this.elementCB(f)}onopentag(f,h){let R=this.options.xmlMode?J.Tag:void 0,A=new tA(f,h,void 0,R);this.addNode(A),this.tagStack.push(A)}ontext(f){let{lastNode:h}=this;if(h&&h.type===J.Text){if(h.data+=f,this.options.withEndIndices)h.endIndex=this.parser.endIndex}else{let R=new ER(f);this.addNode(R),this.lastNode=R}}oncomment(f){if(this.lastNode&&this.lastNode.type===J.Comment){this.lastNode.data+=f;return}let h=new oA(f);this.addNode(h),this.lastNode=h}oncommentend(){this.lastNode=null}oncdatastart(){let f=new ER(""),h=new uA([f]);this.addNode(h),f.parent=h,this.lastNode=f}oncdataend(){this.lastNode=null}onprocessinginstruction(f,h){let R=new pA(f,h);this.addNode(R)}handleCallback(f){if(typeof this.callback==="function")this.callback(f,this.dom);else if(f)throw f}addNode(f){let h=this.tagStack[this.tagStack.length-1],R=h.children[h.children.length-1];if(this.options.withStartIndices)f.startIndex=this.parser.startIndex;if(this.options.withEndIndices)f.endIndex=this.parser.endIndex;if(h.children.push(f),R)f.prev=R,R.next=f;f.parent=h,this.lastNode=null}}var RF=/\n/g;function AF(f){let h=[...f.matchAll(RF)].map((A)=>A.index||0);h.unshift(-1);let R=qw(h,0,h.length);return(A)=>zU(R,A)}function qw(f,h,R){if(R-h==1)return{offset:f[h],index:h+1};let A=Math.ceil((h+R)/2),w=qw(f,h,A),I=qw(f,A,R);return{offset:w.offset,low:w,high:I}}function zU(f,h){return function(R){return Object.prototype.hasOwnProperty.call(R,"index")}(f)?{line:f.index,column:h-f.offset}:zU(f.high.offset<h?f.high:f.low,h)}function Tw(f,h="",R={}){let A=typeof h!="string"?h:R,w=typeof h=="string"?h:"",I=f.map(wF),P=!!A.lineNumbers;return function($,H=0){let U=P?AF($):()=>({line:0,column:0}),s=H,G=[];f:for(;s<$.length;){let D=!1;for(let N of I){N.regex.lastIndex=s;let M=N.regex.exec($);if(M&&M[0].length>0){if(!N.discard){let Q=U(s),Pf=typeof N.replace=="string"?M[0].replace(new RegExp(N.regex.source,N.regex.flags),N.replace):M[0];G.push({state:w,name:N.name,text:Pf,offset:s,len:M[0].length,line:Q.line,column:Q.column})}if(s=N.regex.lastIndex,D=!0,N.push){let Q=N.push($,s);G.push(...Q.tokens),s=Q.offset}if(N.pop)break f;break}}if(!D)break}return{tokens:G,offset:s,complete:$.length<=s}}}function wF(f,h){return{...f,regex:IF(f,h)}}function IF(f,h){if(f.name.length===0)throw new Error(`Rule #${h} has empty name, which is not allowed.`);if(function(R){return Object.prototype.hasOwnProperty.call(R,"regex")}(f))return function(R){if(R.global)throw new Error(`Regular expression /${R.source}/${R.flags} contains the global flag, which is not allowed.`);return R.sticky?R:new RegExp(R.source,R.flags+"y")}(f.regex);if(function(R){return Object.prototype.hasOwnProperty.call(R,"str")}(f)){if(f.str.length===0)throw new Error(`Rule #${h} ("${f.name}") has empty "str" property, which is not allowed.`);return new RegExp(XU(f.str),"y")}return new RegExp(XU(f.name),"y")}function XU(f){return f.replace(/[-[\]{}()*+!<=:?./\\^$|#\s,]/g,"\\$&")}function Tf(f,h){return(R,A)=>{let w=A,I=void 0;if(A<R.tokens.length){if(I=f(R.tokens[A],R,A),I!==void 0)w++}else h?.(R,A);return I===void 0?{matched:!1}:{matched:!0,position:w,value:I}}}function mw(f,h){return f.matched?{matched:!0,position:f.position,value:h(f.value,f.position)}:f}function h0(f,h){return f.matched?h(f):f}function Af(f,h){return(R,A)=>mw(f(R,A),(w,I)=>h(w,R,A,I))}function sR(f,h){return(R,A)=>{let w=f(R,A);return w.matched?w:{matched:!0,position:A,value:h}}}function qh(...f){return(h,R)=>{for(let A of f){let w=A(h,R);if(w.matched)return w}return{matched:!1}}}function ef(f,h){return(R,A)=>{let w=f(R,A);return w.matched?w:h(R,A)}}function PF(f,h){return(R,A)=>{let w=[],I=!0;do{let P=f(R,A);if(P.matched&&h(P.value,w.length+1,R,A,P.position))w.push(P.value),A=P.position;else I=!1}while(I);return{matched:!0,position:A,value:w}}}function R0(f){return PF(f,()=>!0)}function LU(f){return Hf(f,R0(f),(h,R)=>[h,...R])}function Hf(f,h,R){return(A,w)=>h0(f(A,w),(I)=>mw(h(A,I.position),(P,$)=>R(I.value,P,A,w,$)))}function ZU(f,h){return Hf(f,h,(R)=>R)}function Bw(f,h){return Hf(f,h,(R,A)=>A)}function A0(f,h,R,A){return(w,I)=>h0(f(w,I),(P)=>h0(h(w,P.position),($)=>mw(R(w,$.position),(H,U)=>A(P.value,$.value,H,w,I,U))))}function vw(f,h,R){return A0(f,h,R,(A,w)=>w)}function $F(...f){return(h,R)=>{let A=[],w=R;for(let I of f){let P=I(h,w);if(P.matched)A.push(P.value),w=P.position;else return{matched:!1}}return{matched:!0,position:w,value:A}}}function VU(...f){return HF($F(...f))}function HF(f){return Af(f,(h)=>h.flatMap((R)=>R))}function UF(f,h){return(R,A)=>{let w=!0,I=f,P=A;do{let $=h(I,R,P)(R,P);if($.matched)I=$.value,P=$.position;else w=!1}while(w);return{matched:!0,position:P,value:I}}}function EF(f,h,R){return UF(f,(A)=>Af(h,(w,I,P,$)=>R(A,w,I,P,$)))}function Kw(f,h,R){return SF(f,(A)=>EF(A,Hf(h,R,(w,I)=>[w,I]),(w,[I,P])=>I(w,P)))}function SF(f,h){return(R,A)=>h0(f(R,A),(w)=>h(w.value,R,A,w.position)(R,w.position))}var NF="(?:[ \\t\\r\\n\\f]*)",mU="(?:\\n|\\r\\n|\\r|\\f)",P0="[^\\x00-\\x7F]",GR="(?:\\\\[0-9a-f]{1,6}(?:\\r\\n|[ \\n\\r\\t\\f])?)",DR="(?:\\\\[^\\n\\r\\f0-9a-f])",FF=`(?:[_a-z]|${P0}|${GR}|${DR})`,BU=`(?:[_a-z0-9-]|${P0}|${GR}|${DR})`,GF=`(?:${BU}+)`,DF=`(?:[-]?${FF}${BU}*)`,gF=`'([^\\n\\r\\f\\\\']|\\\\${mU}|${P0}|${GR}|${DR})*'`,WF=`"([^\\n\\r\\f\\\\"]|\\\\${mU}|${P0}|${GR}|${DR})*"`,MF=Tw([{name:"ws",regex:new RegExp(NF)},{name:"hash",regex:new RegExp(`#${GF}`,"i")},{name:"ident",regex:new RegExp(DF,"i")},{name:"str1",regex:new RegExp(gF,"i")},{name:"str2",regex:new RegExp(WF,"i")},{name:"*"},{name:"."},{name:","},{name:"["},{name:"]"},{name:"="},{name:">"},{name:"|"},{name:"+"},{name:"~"},{name:"^"},{name:"$"}]),YF=Tw([{name:"unicode",regex:new RegExp(GR,"i")},{name:"escape",regex:new RegExp(DR,"i")},{name:"any",regex:new RegExp("[\\s\\S]","i")}]);function vU([f,h,R],[A,w,I]){return[f+A,h+w,R+I]}function XF(f){return f.reduce(vU,[0,0,0])}var zF=Tf((f)=>f.name==="unicode"?String.fromCodePoint(parseInt(f.text.slice(1),16)):void 0),LF=Tf((f)=>f.name==="escape"?f.text.slice(1):void 0),ZF=Tf((f)=>f.name==="any"?f.text:void 0),VF=Af(R0(qh(zF,LF,ZF)),(f)=>f.join(""));function Cw(f){let h=YF(f);return VF({tokens:h.tokens,options:void 0},0).value}function O(f){return Tf((h)=>h.name===f?!0:void 0)}var lw=Tf((f)=>f.name==="ws"?null:void 0),jw=sR(lw,null);function mh(f){return vw(jw,f,jw)}var FR=Tf((f)=>f.name==="ident"?Cw(f.text):void 0),JF=Tf((f)=>f.name==="hash"?Cw(f.text.slice(1)):void 0),yF=Tf((f)=>f.name.startsWith("str")?Cw(f.text.slice(1,-1)):void 0),KU=ZU(sR(FR,""),O("|")),rw=ef(Hf(KU,FR,(f,h)=>({name:h,namespace:f})),Af(FR,(f)=>({name:f,namespace:null}))),QF=ef(Hf(KU,O("*"),(f)=>({type:"universal",namespace:f,specificity:[0,0,0]})),Af(O("*"),()=>({type:"universal",namespace:null,specificity:[0,0,0]}))),qF=Af(rw,({name:f,namespace:h})=>({type:"tag",name:f,namespace:h,specificity:[0,0,1]})),TF=Hf(O("."),FR,(f,h)=>({type:"class",name:h,specificity:[0,1,0]})),mF=Af(JF,(f)=>({type:"id",name:f,specificity:[1,0,0]})),JU=Tf((f)=>{if(f.name==="ident"){if(f.text==="i"||f.text==="I")return"i";if(f.text==="s"||f.text==="S")return"s"}return}),BF=ef(Hf(yF,sR(Bw(jw,JU),null),(f,h)=>({value:f,modifier:h})),Hf(FR,sR(Bw(lw,JU),null),(f,h)=>({value:f,modifier:h}))),vF=qh(Af(O("="),()=>"="),Hf(O("~"),O("="),()=>"~="),Hf(O("|"),O("="),()=>"|="),Hf(O("^"),O("="),()=>"^="),Hf(O("$"),O("="),()=>"$="),Hf(O("*"),O("="),()=>"*=")),KF=A0(O("["),mh(rw),O("]"),(f,{name:h,namespace:R})=>({type:"attrPresence",name:h,namespace:R,specificity:[0,1,0]})),jF=vw(O("["),A0(mh(rw),vF,mh(BF),({name:f,namespace:h},R,{value:A,modifier:w})=>({type:"attrValue",name:f,namespace:h,matcher:R,value:A,modifier:w,specificity:[0,1,0]})),O("]")),OF=ef(KF,jF),CF=ef(QF,qF),yU=qh(mF,TF,OF),QU=Af(ef(VU(CF,R0(yU)),LU(yU)),(f)=>{return{type:"compound",list:f,specificity:XF(f.map((h)=>h.specificity))}}),lF=qh(Af(O(">"),()=>">"),Af(O("+"),()=>"+"),Af(O("~"),()=>"~"),Hf(O("|"),O("|"),()=>"||")),rF=ef(mh(lF),Af(lw,()=>" ")),Ow=Kw(QU,Af(rF,(f)=>(h,R)=>({type:"compound",list:[...R.list,{type:"combinator",combinator:f,left:h,specificity:h.specificity}],specificity:vU(h.specificity,R.specificity)})),QU),sZ=Kw(Af(Ow,(f)=>({type:"list",list:[f]})),Af(mh(O(",")),()=>(f,h)=>({type:"list",list:[...f.list,h]})),Ow);function cF(f,h){if(!(typeof h==="string"||h instanceof String))throw new Error("Expected a selector string. Actual input is not a string!");let R=MF(h);if(!R.complete)throw new Error(`The input "${h}" was only partially tokenized, stopped at offset ${R.offset}!\n`+qU(h,R.offset));let A=mh(f)({tokens:R.tokens,options:void 0},0);if(!A.matched)throw new Error(`No match for "${h}" input!`);if(A.position<R.tokens.length){let w=R.tokens[A.position];throw new Error(`The input "${h}" was only partially parsed, stopped at offset ${w.offset}!\n`+qU(h,w.offset,w.len))}return A.value}function qU(f,h,R=1){return`${f.replace(/(\t)|(\r)|(\n)/g,(A,w,I)=>w?"\u2409":I?"\u240D":"\u240A")}\n${"".padEnd(h)}${"^".repeat(R)}`}function jU(f){return cF(Ow,f)}function Vf(f){if(!f.type)throw new Error("This is not an AST node.");switch(f.type){case"universal":return w0(f.namespace)+"*";case"tag":return w0(f.namespace)+Th(f.name);case"class":return"."+Th(f.name);case"id":return"#"+Th(f.name);case"attrPresence":return`[${w0(f.namespace)}${Th(f.name)}]`;case"attrValue":return`[${w0(f.namespace)}${Th(f.name)}${f.matcher}"${bF(f.value)}"${f.modifier?f.modifier:""}]`;case"combinator":return Vf(f.left)+f.combinator;case"compound":return f.list.reduce((h,R)=>{if(R.type==="combinator")return Vf(R)+h;else return h+Vf(R)},"");case"list":return f.list.map(Vf).join(",")}}function w0(f){return f||f===""?Th(f)+"|":""}function I0(f){return`\\${f.codePointAt(0).toString(16)} `}function Th(f){return f.replace(/(^[0-9])|(^-[0-9])|(^-$)|([-0-9a-zA-Z_]|[^\x00-\x7F])|(\x00)|([\x01-\x1f]|\x7f)|([\s\S])/g,(h,R,A,w,I,P,$,H)=>R?I0(R):A?"-"+I0(A.slice(1)):w?"\\-":I?I:P?"\uFFFD":$?I0($):"\\"+H)}function bF(f){return f.replace(/(")|(\\)|(\x00)|([\x01-\x1f]|\x7f)/g,(h,R,A,w,I)=>R?'\\"':A?"\\\\":w?"\uFFFD":I0(I))}function NR(f){if(!f.type)throw new Error("This is not an AST node.");switch(f.type){case"compound":{f.list.forEach(NR),f.list.sort((h,R)=>OU(TU(h),TU(R)));break}case"combinator":{NR(f.left);break}case"list":{f.list.forEach(NR),f.list.sort((h,R)=>Vf(h)<Vf(R)?-1:1);break}}return f}function TU(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,Vf(f)];case"attrValue":return[5,Vf(f)];case"combinator":return[15,Vf(f)]}}function cw(f,h){return OU(f,h)}function OU(f,h){if(!Array.isArray(f)||!Array.isArray(h))throw new Error("Arguments must be arrays.");let R=f.length<h.length?f.length:h.length;for(let A=0;A<R;A++){if(f[A]===h[A])continue;return f[A]<h[A]?-1:1}return f.length-h.length}class $0{constructor(f){this.branches=Bh(kF(f))}build(f){return f(this.branches)}}function kF(f){let h=f.length,R=new Array(h);for(let A=0;A<h;A++){let[w,I]=f[A],P=xF(jU(w));R[A]={ast:P,terminal:{type:"terminal",valueContainer:{index:A,value:I,specificity:P.specificity}}}}return R}function xF(f){return lU(f),NR(f),f}function lU(f){let h=[];f.list.forEach((R)=>{switch(R.type){case"class":h.push({matcher:"~=",modifier:null,name:"class",namespace:null,specificity:R.specificity,type:"attrValue",value:R.name});break;case"id":h.push({matcher:"=",modifier:null,name:"id",namespace:null,specificity:R.specificity,type:"attrValue",value:R.name});break;case"combinator":lU(R.left),h.push(R);break;case"universal":break;default:h.push(R);break}}),f.list=h}function Bh(f){let h=[];while(f.length){let R=bU(f,(P)=>!0,rU),{matches:A,nonmatches:w,empty:I}=iF(f,R);if(f=w,A.length)h.push(_F(R,A));if(I.length)h.push(...aF(I))}return h}function aF(f){let h=[];for(let R of f){let A=R.terminal;if(A.type==="terminal")h.push(A);else{let{matches:w,rest:I}=uF(A.cont,(P)=>P.type==="terminal");if(w.forEach((P)=>h.push(P)),I.length)A.cont=I,h.push(A)}}return h}function iF(f,h){let R=[],A=[],w=[];for(let I of f){let P=I.ast.list;if(P.length)(P.some((H)=>rU(H)===h)?R:A).push(I);else w.push(I)}return{matches:R,nonmatches:A,empty:w}}function rU(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 _F(f,h){if(f==="tag")return eF(h);if(f.startsWith("attrValue "))return pF(f.substring(10),h);if(f.startsWith("attrPresence "))return oF(f.substring(13),h);if(f==="combinator >")return CU(">",h);if(f==="combinator +")return CU("+",h);throw new Error(`Unsupported selector kind: ${f}`)}function eF(f){let h=bw(f,(A)=>A.type==="tag",(A)=>A.name);return{type:"tagName",variants:Object.entries(h).map(([A,w])=>({type:"variant",value:A,cont:Bh(w.items)}))}}function oF(f,h){for(let R of h)cU(R,(A)=>A.type==="attrPresence"&&A.name===f);return{type:"attrPresence",name:f,cont:Bh(h)}}function pF(f,h){let R=bw(h,(w)=>w.type==="attrValue"&&w.name===f,(w)=>`${w.matcher} ${w.modifier||""} ${w.value}`),A=[];for(let w of Object.values(R)){let I=w.oneSimpleSelector,P=nF(I),$=Bh(w.items);A.push({type:"matcher",matcher:I.matcher,modifier:I.modifier,value:I.value,predicate:P,cont:$})}return{type:"attrValue",name:f,matchers:A}}function nF(f){if(f.modifier==="i"){let h=f.value.toLowerCase();switch(f.matcher){case"=":return(R)=>h===R.toLowerCase();case"~=":return(R)=>R.toLowerCase().split(/[ \t]+/).includes(h);case"^=":return(R)=>R.toLowerCase().startsWith(h);case"$=":return(R)=>R.toLowerCase().endsWith(h);case"*=":return(R)=>R.toLowerCase().includes(h);case"|=":return(R)=>{let A=R.toLowerCase();return h===A||A.startsWith(h)&&A[h.length]==="-"}}}else{let h=f.value;switch(f.matcher){case"=":return(R)=>h===R;case"~=":return(R)=>R.split(/[ \t]+/).includes(h);case"^=":return(R)=>R.startsWith(h);case"$=":return(R)=>R.endsWith(h);case"*=":return(R)=>R.includes(h);case"|=":return(R)=>h===R||R.startsWith(h)&&R[h.length]==="-"}}}function CU(f,h){let R=bw(h,(w)=>w.type==="combinator"&&w.combinator===f,(w)=>Vf(w.left)),A=[];for(let w of Object.values(R)){let I=Bh(w.items),P=w.oneSimpleSelector.left;A.push({ast:P,terminal:{type:"popElement",cont:I}})}return{type:"pushElement",combinator:f,cont:Bh(A)}}function bw(f,h,R){let A={};while(f.length){let w=bU(f,h,R),I=(s)=>h(s)&&R(s)===w,P=(s)=>s.ast.list.some(I),{matches:$,rest:H}=tF(f,P),U=null;for(let s of $){let G=cU(s,I);if(!U)U=G}if(U==null)throw new Error("No simple selector is found.");A[w]={oneSimpleSelector:U,items:$},f=H}return A}function cU(f,h){let R=f.ast.list,A=new Array(R.length),w=-1;for(let P=R.length;P-- >0;)if(h(R[P]))A[P]=!0,w=P;if(w==-1)throw new Error("Couldn't find the required simple selector.");let I=R[w];return f.ast.list=R.filter((P,$)=>!A[$]),I}function bU(f,h,R){let A={};for(let P of f){let $={};for(let H of P.ast.list.filter(h))$[R(H)]=!0;for(let H of Object.keys($))if(A[H])A[H]++;else A[H]=1}let w="",I=0;for(let P of Object.entries(A))if(P[1]>I)w=P[0],I=P[1];return w}function uF(f,h){let R=[],A=[];for(let w of f)if(h(w))R.push(w);else A.push(w);return{matches:R,rest:A}}function tF(f,h){let R=[],A=[];for(let w of f)if(h(w))R.push(w);else A.push(w);return{matches:R,rest:A}}class dw{constructor(f){this.f=f}pickAll(f){return this.f(f)}pick1(f,h=!1){let R=this.f(f),A=R.length;if(A===0)return null;if(A===1)return R[0].value;let w=h?f6:h6,I=R[0];for(let P=1;P<A;P++){let $=R[P];if(w(I,$))I=$}return I.value}}function f6(f,h){let R=cw(h.specificity,f.specificity);return R>0||R===0&&h.index<f.index}function h6(f,h){let R=cw(h.specificity,f.specificity);return R>0||R===0&&h.index>f.index}function kw(f){return new dw(vh(f))}function vh(f){let h=f.map(R6);return(R,...A)=>h.flatMap((w)=>w(R,...A))}function R6(f){switch(f.type){case"terminal":{let h=[f.valueContainer];return(R,...A)=>h}case"tagName":return A6(f);case"attrValue":return I6(f);case"attrPresence":return w6(f);case"pushElement":return P6(f);case"popElement":return H6(f)}}function A6(f){let h={};for(let R of f.variants)h[R.value]=vh(R.cont);return(R,...A)=>{let w=h[R.name];return w?w(R,...A):[]}}function w6(f){let h=f.name,R=vh(f.cont);return(A,...w)=>Object.prototype.hasOwnProperty.call(A.attribs,h)?R(A,...w):[]}function I6(f){let h=[];for(let A of f.matchers){let w=A.predicate,I=vh(A.cont);h.push((P,$,...H)=>w(P)?I($,...H):[])}let R=f.name;return(A,...w)=>{let I=A.attribs[R];return I||I===""?h.flatMap((P)=>P(I,A,...w)):[]}}function P6(f){let h=vh(f.cont),R=f.combinator==="+"?dU:$6;return(A,...w)=>{let I=R(A);if(I===null)return[];return h(I,A,...w)}}var dU=(f)=>{let h=f.prev;if(h===null)return null;return f0(h)?h:dU(h)},$6=(f)=>{let h=f.parent;return h&&f0(h)?h:null};function H6(f){let h=vh(f.cont);return(R,A,...w)=>h(A,...w)}var H0=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 U0=new Uint16Array("\u0200aglq\t\x15\x18\x1B\u026D\x0F\0\0\x12p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map((f)=>f.charCodeAt(0)));var xw,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]]),Kh=(xw=String.fromCodePoint)!==null&&xw!==void 0?xw:function(f){let h="";if(f>65535)f-=65536,h+=String.fromCharCode(f>>>10&1023|55296),f=56320|f&1023;return h+=String.fromCharCode(f),h};function gR(f){var h;if(f>=55296&&f<=57343||f>1114111)return 65533;return(h=U6.get(f))!==null&&h!==void 0?h:f}var u;(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"})(u||(u={}));var E6=32,gf;(function(f){f[f.VALUE_LENGTH=49152]="VALUE_LENGTH",f[f.BRANCH_LENGTH=16256]="BRANCH_LENGTH",f[f.JUMP_TABLE=127]="JUMP_TABLE"})(gf||(gf={}));function aw(f){return f>=u.ZERO&&f<=u.NINE}function S6(f){return f>=u.UPPER_A&&f<=u.UPPER_F||f>=u.LOWER_A&&f<=u.LOWER_F}function s6(f){return f>=u.UPPER_A&&f<=u.UPPER_Z||f>=u.LOWER_A&&f<=u.LOWER_Z||aw(f)}function N6(f){return f===u.EQUALS||s6(f)}var n;(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"})(n||(n={}));var Uh;(function(f){f[f.Legacy=0]="Legacy",f[f.Strict=1]="Strict",f[f.Attribute=2]="Attribute"})(Uh||(Uh={}));class kU{constructor(f,h,R){this.decodeTree=f,this.emitCodePoint=h,this.errors=R,this.state=n.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Uh.Strict}startEntity(f){this.decodeMode=f,this.state=n.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(f,h){switch(this.state){case n.EntityStart:{if(f.charCodeAt(h)===u.NUM)return this.state=n.NumericStart,this.consumed+=1,this.stateNumericStart(f,h+1);return this.state=n.NamedEntity,this.stateNamedEntity(f,h)}case n.NumericStart:return this.stateNumericStart(f,h);case n.NumericDecimal:return this.stateNumericDecimal(f,h);case n.NumericHex:return this.stateNumericHex(f,h);case n.NamedEntity:return this.stateNamedEntity(f,h)}}stateNumericStart(f,h){if(h>=f.length)return-1;if((f.charCodeAt(h)|E6)===u.LOWER_X)return this.state=n.NumericHex,this.consumed+=1,this.stateNumericHex(f,h+1);return this.state=n.NumericDecimal,this.stateNumericDecimal(f,h)}addToNumericResult(f,h,R,A){if(h!==R){let w=R-h;this.result=this.result*Math.pow(A,w)+parseInt(f.substr(h,w),A),this.consumed+=w}}stateNumericHex(f,h){let R=h;while(h<f.length){let A=f.charCodeAt(h);if(aw(A)||S6(A))h+=1;else return this.addToNumericResult(f,R,h,16),this.emitNumericEntity(A,3)}return this.addToNumericResult(f,R,h,16),-1}stateNumericDecimal(f,h){let R=h;while(h<f.length){let A=f.charCodeAt(h);if(aw(A))h+=1;else return this.addToNumericResult(f,R,h,10),this.emitNumericEntity(A,2)}return this.addToNumericResult(f,R,h,10),-1}emitNumericEntity(f,h){var R;if(this.consumed<=h)return(R=this.errors)===null||R===void 0||R.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(f===u.SEMI)this.consumed+=1;else if(this.decodeMode===Uh.Strict)return 0;if(this.emitCodePoint(gR(this.result),this.consumed),this.errors){if(f!==u.SEMI)this.errors.missingSemicolonAfterCharacterReference();this.errors.validateNumericCharacterReference(this.result)}return this.consumed}stateNamedEntity(f,h){let{decodeTree:R}=this,A=R[this.treeIndex],w=(A&gf.VALUE_LENGTH)>>14;for(;h<f.length;h++,this.excess++){let I=f.charCodeAt(h);if(this.treeIndex=iw(R,A,this.treeIndex+Math.max(1,w),I),this.treeIndex<0)return this.result===0||this.decodeMode===Uh.Attribute&&(w===0||N6(I))?0:this.emitNotTerminatedNamedEntity();if(A=R[this.treeIndex],w=(A&gf.VALUE_LENGTH)>>14,w!==0){if(I===u.SEMI)return this.emitNamedEntityData(this.treeIndex,w,this.consumed+this.excess);if(this.decodeMode!==Uh.Strict)this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0}}return-1}emitNotTerminatedNamedEntity(){var f;let{result:h,decodeTree:R}=this,A=(R[h]&gf.VALUE_LENGTH)>>14;return this.emitNamedEntityData(h,A,this.consumed),(f=this.errors)===null||f===void 0||f.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(f,h,R){let{decodeTree:A}=this;if(this.emitCodePoint(h===1?A[f]&~gf.VALUE_LENGTH:A[f+1],R),h===3)this.emitCodePoint(A[f+2],R);return R}end(){var f;switch(this.state){case n.NamedEntity:return this.result!==0&&(this.decodeMode!==Uh.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case n.NumericDecimal:return this.emitNumericEntity(0,2);case n.NumericHex:return this.emitNumericEntity(0,3);case n.NumericStart:return(f=this.errors)===null||f===void 0||f.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case n.EntityStart:return 0}}}function xU(f){let h="",R=new kU(f,(A)=>h+=Kh(A));return function A(w,I){let P=0,$=0;while(($=w.indexOf("&",$))>=0){h+=w.slice(P,$),R.startEntity(I);let U=R.write(w,$+1);if(U<0){P=$+R.end();break}P=$+U,$=U===0?P+1:P}let H=h+w.slice(P);return h="",H}}function iw(f,h,R,A){let w=(h&gf.BRANCH_LENGTH)>>7,I=h&gf.JUMP_TABLE;if(w===0)return I!==0&&A===I?R:-1;if(I){let H=A-I;return H<0||H>=w?-1:f[R+H]-1}let P=R,$=P+w-1;while(P<=$){let H=P+$>>>1,U=f[H];if(U<A)P=H+1;else if(U>A)$=H-1;else return f[H+w]}return-1}var VZ=xU(H0),JZ=xU(U0);var F;(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"})(F||(F={}));var S;(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"})(S||(S={}));function Of(f){return f===F.Space||f===F.NewLine||f===F.Tab||f===F.FormFeed||f===F.CarriageReturn}function E0(f){return f===F.Slash||f===F.Gt||Of(f)}function aU(f){return f>=F.Zero&&f<=F.Nine}function F6(f){return f>=F.LowerA&&f<=F.LowerZ||f>=F.UpperA&&f<=F.UpperZ}function G6(f){return f>=F.UpperA&&f<=F.UpperF||f>=F.LowerA&&f<=F.LowerF}var Jf;(function(f){f[f.NoValue=0]="NoValue",f[f.Unquoted=1]="Unquoted",f[f.Single=2]="Single",f[f.Double=3]="Double"})(Jf||(Jf={}));var Ff={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 S0{constructor({xmlMode:f=!1,decodeEntities:h=!0},R){this.cbs=R,this.state=S.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=S.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=f,this.decodeEntities=h,this.entityTrie=f?U0:H0}reset(){this.state=S.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=S.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===F.Lt||!this.decodeEntities&&this.fastForwardTo(F.Lt)){if(this.index>this.sectionStart)this.cbs.ontext(this.sectionStart,this.index);this.state=S.BeforeTagName,this.sectionStart=this.index}else if(this.decodeEntities&&f===F.Amp)this.state=S.BeforeEntity}stateSpecialStartSequence(f){let h=this.sequenceIndex===this.currentSequence.length;if(!(h?E0(f):(f|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!h){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=S.InTagName,this.stateInTagName(f)}stateInSpecialTag(f){if(this.sequenceIndex===this.currentSequence.length){if(f===F.Gt||Of(f)){let h=this.index-this.currentSequence.length;if(this.sectionStart<h){let R=this.index;this.index=h,this.cbs.ontext(this.sectionStart,h),this.index=R}this.isSpecial=!1,this.sectionStart=h+2,this.stateInClosingTagName(f);return}this.sequenceIndex=0}if((f|32)===this.currentSequence[this.sequenceIndex])this.sequenceIndex+=1;else if(this.sequenceIndex===0){if(this.currentSequence===Ff.TitleEnd){if(this.decodeEntities&&f===F.Amp)this.state=S.BeforeEntity}else if(this.fastForwardTo(F.Lt))this.sequenceIndex=1}else this.sequenceIndex=Number(f===F.Lt)}stateCDATASequence(f){if(f===Ff.Cdata[this.sequenceIndex]){if(++this.sequenceIndex===Ff.Cdata.length)this.state=S.InCommentLike,this.currentSequence=Ff.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1}else this.sequenceIndex=0,this.state=S.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===Ff.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=S.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?!E0(f):F6(f)}startSpecial(f,h){this.isSpecial=!0,this.currentSequence=f,this.sequenceIndex=h,this.state=S.SpecialStartSequence}stateBeforeTagName(f){if(f===F.ExclamationMark)this.state=S.BeforeDeclaration,this.sectionStart=this.index+1;else if(f===F.Questionmark)this.state=S.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(f)){let h=f|32;if(this.sectionStart=this.index,!this.xmlMode&&h===Ff.TitleEnd[2])this.startSpecial(Ff.TitleEnd,3);else this.state=!this.xmlMode&&h===Ff.ScriptEnd[2]?S.BeforeSpecialS:S.InTagName}else if(f===F.Slash)this.state=S.BeforeClosingTagName;else this.state=S.Text,this.stateText(f)}stateInTagName(f){if(E0(f))this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=S.BeforeAttributeName,this.stateBeforeAttributeName(f)}stateBeforeClosingTagName(f){if(Of(f));else if(f===F.Gt)this.state=S.Text;else this.state=this.isTagStartChar(f)?S.InClosingTagName:S.InSpecialComment,this.sectionStart=this.index}stateInClosingTagName(f){if(f===F.Gt||Of(f))this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=S.AfterClosingTagName,this.stateAfterClosingTagName(f)}stateAfterClosingTagName(f){if(f===F.Gt||this.fastForwardTo(F.Gt))this.state=S.Text,this.baseState=S.Text,this.sectionStart=this.index+1}stateBeforeAttributeName(f){if(f===F.Gt){if(this.cbs.onopentagend(this.index),this.isSpecial)this.state=S.InSpecialTag,this.sequenceIndex=0;else this.state=S.Text;this.baseState=this.state,this.sectionStart=this.index+1}else if(f===F.Slash)this.state=S.InSelfClosingTag;else if(!Of(f))this.state=S.InAttributeName,this.sectionStart=this.index}stateInSelfClosingTag(f){if(f===F.Gt)this.cbs.onselfclosingtag(this.index),this.state=S.Text,this.baseState=S.Text,this.sectionStart=this.index+1,this.isSpecial=!1;else if(!Of(f))this.state=S.BeforeAttributeName,this.stateBeforeAttributeName(f)}stateInAttributeName(f){if(f===F.Eq||E0(f))this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=S.AfterAttributeName,this.stateAfterAttributeName(f)}stateAfterAttributeName(f){if(f===F.Eq)this.state=S.BeforeAttributeValue;else if(f===F.Slash||f===F.Gt)this.cbs.onattribend(Jf.NoValue,this.index),this.state=S.BeforeAttributeName,this.stateBeforeAttributeName(f);else if(!Of(f))this.cbs.onattribend(Jf.NoValue,this.index),this.state=S.InAttributeName,this.sectionStart=this.index}stateBeforeAttributeValue(f){if(f===F.DoubleQuote)this.state=S.InAttributeValueDq,this.sectionStart=this.index+1;else if(f===F.SingleQuote)this.state=S.InAttributeValueSq,this.sectionStart=this.index+1;else if(!Of(f))this.sectionStart=this.index,this.state=S.InAttributeValueNq,this.stateInAttributeValueNoQuotes(f)}handleInAttributeValue(f,h){if(f===h||!this.decodeEntities&&this.fastForwardTo(h))this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(h===F.DoubleQuote?Jf.Double:Jf.Single,this.index),this.state=S.BeforeAttributeName;else if(this.decodeEntities&&f===F.Amp)this.baseState=this.state,this.state=S.BeforeEntity}stateInAttributeValueDoubleQuotes(f){this.handleInAttributeValue(f,F.DoubleQuote)}stateInAttributeValueSingleQuotes(f){this.handleInAttributeValue(f,F.SingleQuote)}stateInAttributeValueNoQuotes(f){if(Of(f)||f===F.Gt)this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(Jf.Unquoted,this.index),this.state=S.BeforeAttributeName,this.stateBeforeAttributeName(f);else if(this.decodeEntities&&f===F.Amp)this.baseState=this.state,this.state=S.BeforeEntity}stateBeforeDeclaration(f){if(f===F.OpeningSquareBracket)this.state=S.CDATASequence,this.sequenceIndex=0;else this.state=f===F.Dash?S.BeforeComment:S.InDeclaration}stateInDeclaration(f){if(f===F.Gt||this.fastForwardTo(F.Gt))this.cbs.ondeclaration(this.sectionStart,this.index),this.state=S.Text,this.sectionStart=this.index+1}stateInProcessingInstruction(f){if(f===F.Gt||this.fastForwardTo(F.Gt))this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=S.Text,this.sectionStart=this.index+1}stateBeforeComment(f){if(f===F.Dash)this.state=S.InCommentLike,this.currentSequence=Ff.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1;else this.state=S.InDeclaration}stateInSpecialComment(f){if(f===F.Gt||this.fastForwardTo(F.Gt))this.cbs.oncomment(this.sectionStart,this.index,0),this.state=S.Text,this.sectionStart=this.index+1}stateBeforeSpecialS(f){let h=f|32;if(h===Ff.ScriptEnd[3])this.startSpecial(Ff.ScriptEnd,4);else if(h===Ff.StyleEnd[3])this.startSpecial(Ff.StyleEnd,4);else this.state=S.InTagName,this.stateInTagName(f)}stateBeforeEntity(f){if(this.entityExcess=1,this.entityResult=0,f===F.Number)this.state=S.BeforeNumericEntity;else if(f===F.Amp);else this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=S.InNamedEntity,this.stateInNamedEntity(f)}stateInNamedEntity(f){if(this.entityExcess+=1,this.trieIndex=iw(this.entityTrie,this.trieCurrent,this.trieIndex+1,f),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];let h=this.trieCurrent&gf.VALUE_LENGTH;if(h){let R=(h>>14)-1;if(!this.allowLegacyEntity()&&f!==F.Semi)this.trieIndex+=R;else{let A=this.index-this.entityExcess+1;if(A>this.sectionStart)this.emitPartial(this.sectionStart,A);if(this.entityResult=this.trieIndex,this.trieIndex+=R,this.entityExcess=0,this.sectionStart=this.index+1,R===0)this.emitNamedEntity()}}}emitNamedEntity(){if(this.state=this.baseState,this.entityResult===0)return;switch((this.entityTrie[this.entityResult]&gf.VALUE_LENGTH)>>14){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~gf.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)===F.LowerX)this.entityExcess++,this.state=S.InHexEntity;else this.state=S.InNumericEntity,this.stateInNumericEntity(f)}emitNumericEntity(f){let h=this.index-this.entityExcess-1;if(h+2+Number(this.state===S.InHexEntity)!==this.index){if(h>this.sectionStart)this.emitPartial(this.sectionStart,h);this.sectionStart=this.index+Number(f),this.emitCodePoint(gR(this.entityResult))}this.state=this.baseState}stateInNumericEntity(f){if(f===F.Semi)this.emitNumericEntity(!0);else if(aU(f))this.entityResult=this.entityResult*10+(f-F.Zero),this.entityExcess++;else{if(this.allowLegacyEntity())this.emitNumericEntity(!1);else this.state=this.baseState;this.index--}}stateInHexEntity(f){if(f===F.Semi)this.emitNumericEntity(!0);else if(aU(f))this.entityResult=this.entityResult*16+(f-F.Zero),this.entityExcess++;else if(G6(f))this.entityResult=this.entityResult*16+((f|32)-F.LowerA+10),this.entityExcess++;else{if(this.allowLegacyEntity())this.emitNumericEntity(!1);else this.state=this.baseState;this.index--}}allowLegacyEntity(){return!this.xmlMode&&(this.baseState===S.Text||this.baseState===S.InSpecialTag)}cleanup(){if(this.running&&this.sectionStart!==this.index){if(this.state===S.Text||this.state===S.InSpecialTag&&this.sequenceIndex===0)this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index;else if(this.state===S.InAttributeValueDq||this.state===S.InAttributeValueSq||this.state===S.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 S.Text:{this.stateText(f);break}case S.SpecialStartSequence:{this.stateSpecialStartSequence(f);break}case S.InSpecialTag:{this.stateInSpecialTag(f);break}case S.CDATASequence:{this.stateCDATASequence(f);break}case S.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(f);break}case S.InAttributeName:{this.stateInAttributeName(f);break}case S.InCommentLike:{this.stateInCommentLike(f);break}case S.InSpecialComment:{this.stateInSpecialComment(f);break}case S.BeforeAttributeName:{this.stateBeforeAttributeName(f);break}case S.InTagName:{this.stateInTagName(f);break}case S.InClosingTagName:{this.stateInClosingTagName(f);break}case S.BeforeTagName:{this.stateBeforeTagName(f);break}case S.AfterAttributeName:{this.stateAfterAttributeName(f);break}case S.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(f);break}case S.BeforeAttributeValue:{this.stateBeforeAttributeValue(f);break}case S.BeforeClosingTagName:{this.stateBeforeClosingTagName(f);break}case S.AfterClosingTagName:{this.stateAfterClosingTagName(f);break}case S.BeforeSpecialS:{this.stateBeforeSpecialS(f);break}case S.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(f);break}case S.InSelfClosingTag:{this.stateInSelfClosingTag(f);break}case S.InDeclaration:{this.stateInDeclaration(f);break}case S.BeforeDeclaration:{this.stateBeforeDeclaration(f);break}case S.BeforeComment:{this.stateBeforeComment(f);break}case S.InProcessingInstruction:{this.stateInProcessingInstruction(f);break}case S.InNamedEntity:{this.stateInNamedEntity(f);break}case S.BeforeEntity:{this.stateBeforeEntity(f);break}case S.InHexEntity:{this.stateInHexEntity(f);break}case S.InNumericEntity:{this.stateInNumericEntity(f);break}default:this.stateBeforeNumericEntity(f)}this.index++}this.cleanup()}finish(){if(this.state===S.InNamedEntity)this.emitNamedEntity();if(this.sectionStart<this.index)this.handleTrailingData();this.cbs.onend()}handleTrailingData(){let f=this.buffer.length+this.offset;if(this.state===S.InCommentLike)if(this.currentSequence===Ff.CdataEnd)this.cbs.oncdata(this.sectionStart,f,0);else this.cbs.oncomment(this.sectionStart,f,0);else if(this.state===S.InNumericEntity&&this.allowLegacyEntity())this.emitNumericEntity(!1);else if(this.state===S.InHexEntity&&this.allowLegacyEntity())this.emitNumericEntity(!1);else if(this.state===S.InTagName||this.state===S.BeforeAttributeName||this.state===S.BeforeAttributeValue||this.state===S.AfterAttributeName||this.state===S.InAttributeName||this.state===S.InAttributeValueSq||this.state===S.InAttributeValueDq||this.state===S.InAttributeValueNq||this.state===S.InClosingTagName);else this.cbs.ontext(this.sectionStart,f)}emitPartial(f,h){if(this.baseState!==S.Text&&this.baseState!==S.InSpecialTag)this.cbs.onattribdata(f,h);else this.cbs.ontext(f,h)}emitCodePoint(f){if(this.baseState!==S.Text&&this.baseState!==S.InSpecialTag)this.cbs.onattribentity(f);else this.cbs.ontextentity(f)}}var jh=new Set(["input","option","optgroup","select","button","datalist","textarea"]),B=new Set(["p"]),iU=new Set(["thead","tbody"]),_U=new Set(["dd","dt"]),eU=new Set(["rt","rp"]),D6=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",B],["h1",B],["h2",B],["h3",B],["h4",B],["h5",B],["h6",B],["select",jh],["input",jh],["output",jh],["button",jh],["datalist",jh],["textarea",jh],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",_U],["dt",_U],["address",B],["article",B],["aside",B],["blockquote",B],["details",B],["div",B],["dl",B],["fieldset",B],["figcaption",B],["figure",B],["footer",B],["form",B],["header",B],["hr",B],["main",B],["nav",B],["ol",B],["pre",B],["section",B],["table",B],["ul",B],["rt",eU],["rp",eU],["tbody",iU],["tfoot",iU]]),g6=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),oU=new Set(["math","svg"]),pU=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),W6=/\s|\//;class _w{constructor(f,h={}){var R,A,w,I,P;this.options=h,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=f!==null&&f!==void 0?f:{},this.lowerCaseTagNames=(R=h.lowerCaseTags)!==null&&R!==void 0?R:!h.xmlMode,this.lowerCaseAttributeNames=(A=h.lowerCaseAttributeNames)!==null&&A!==void 0?A:!h.xmlMode,this.tokenizer=new((w=h.Tokenizer)!==null&&w!==void 0?w:S0)(this.options,this),(P=(I=this.cbs).onparserinit)===null||P===void 0||P.call(I,this)}ontext(f,h){var R,A;let w=this.getSlice(f,h);this.endIndex=h-1,(A=(R=this.cbs).ontext)===null||A===void 0||A.call(R,w),this.startIndex=h}ontextentity(f){var h,R;let A=this.tokenizer.getSectionStart();this.endIndex=A-1,(R=(h=this.cbs).ontext)===null||R===void 0||R.call(h,Kh(f)),this.startIndex=A}isVoidElement(f){return!this.options.xmlMode&&g6.has(f)}onopentagname(f,h){this.endIndex=h;let R=this.getSlice(f,h);if(this.lowerCaseTagNames)R=R.toLowerCase();this.emitOpenTag(R)}emitOpenTag(f){var h,R,A,w;this.openTagStart=this.startIndex,this.tagname=f;let I=!this.options.xmlMode&&D6.get(f);if(I)while(this.stack.length>0&&I.has(this.stack[this.stack.length-1])){let P=this.stack.pop();(R=(h=this.cbs).onclosetag)===null||R===void 0||R.call(h,P,!0)}if(!this.isVoidElement(f)){if(this.stack.push(f),oU.has(f))this.foreignContext.push(!0);else if(pU.has(f))this.foreignContext.push(!1)}if((w=(A=this.cbs).onopentagname)===null||w===void 0||w.call(A,f),this.cbs.onopentag)this.attribs={}}endOpenTag(f){var h,R;if(this.startIndex=this.openTagStart,this.attribs)(R=(h=this.cbs).onopentag)===null||R===void 0||R.call(h,this.tagname,this.attribs,f),this.attribs=null;if(this.cbs.onclosetag&&this.isVoidElement(this.tagname))this.cbs.onclosetag(this.tagname,!0);this.tagname=""}onopentagend(f){this.endIndex=f,this.endOpenTag(!1),this.startIndex=f+1}onclosetag(f,h){var R,A,w,I,P,$;this.endIndex=h;let H=this.getSlice(f,h);if(this.lowerCaseTagNames)H=H.toLowerCase();if(oU.has(H)||pU.has(H))this.foreignContext.pop();if(!this.isVoidElement(H)){let U=this.stack.lastIndexOf(H);if(U!==-1)if(this.cbs.onclosetag){let s=this.stack.length-U;while(s--)this.cbs.onclosetag(this.stack.pop(),s!==0)}else this.stack.length=U;else if(!this.options.xmlMode&&H==="p")this.emitOpenTag("p"),this.closeCurrentTag(!0)}else if(!this.options.xmlMode&&H==="br")(A=(R=this.cbs).onopentagname)===null||A===void 0||A.call(R,"br"),(I=(w=this.cbs).onopentag)===null||I===void 0||I.call(w,"br",{},!0),($=(P=this.cbs).onclosetag)===null||$===void 0||$.call(P,"br",!1);this.startIndex=h+1}onselfclosingtag(f){if(this.endIndex=f,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1])this.closeCurrentTag(!1),this.startIndex=f+1;else this.onopentagend(f)}closeCurrentTag(f){var h,R;let A=this.tagname;if(this.endOpenTag(f),this.stack[this.stack.length-1]===A)(R=(h=this.cbs).onclosetag)===null||R===void 0||R.call(h,A,!f),this.stack.pop()}onattribname(f,h){this.startIndex=f;let R=this.getSlice(f,h);this.attribname=this.lowerCaseAttributeNames?R.toLowerCase():R}onattribdata(f,h){this.attribvalue+=this.getSlice(f,h)}onattribentity(f){this.attribvalue+=Kh(f)}onattribend(f,h){var R,A;if(this.endIndex=h,(A=(R=this.cbs).onattribute)===null||A===void 0||A.call(R,this.attribname,this.attribvalue,f===Jf.Double?'"':f===Jf.Single?"'":f===Jf.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname))this.attribs[this.attribname]=this.attribvalue;this.attribvalue=""}getInstructionName(f){let h=f.search(W6),R=h<0?f:f.substr(0,h);if(this.lowerCaseTagNames)R=R.toLowerCase();return R}ondeclaration(f,h){this.endIndex=h;let R=this.getSlice(f,h);if(this.cbs.onprocessinginstruction){let A=this.getInstructionName(R);this.cbs.onprocessinginstruction(`!${A}`,`!${R}`)}this.startIndex=h+1}onprocessinginstruction(f,h){this.endIndex=h;let R=this.getSlice(f,h);if(this.cbs.onprocessinginstruction){let A=this.getInstructionName(R);this.cbs.onprocessinginstruction(`?${A}`,`?${R}`)}this.startIndex=h+1}oncomment(f,h,R){var A,w,I,P;this.endIndex=h,(w=(A=this.cbs).oncomment)===null||w===void 0||w.call(A,this.getSlice(f,h-R)),(P=(I=this.cbs).oncommentend)===null||P===void 0||P.call(I),this.startIndex=h+1}oncdata(f,h,R){var A,w,I,P,$,H,U,s,G,D;this.endIndex=h;let N=this.getSlice(f,h-R);if(this.options.xmlMode||this.options.recognizeCDATA)(w=(A=this.cbs).oncdatastart)===null||w===void 0||w.call(A),(P=(I=this.cbs).ontext)===null||P===void 0||P.call(I,N),(H=($=this.cbs).oncdataend)===null||H===void 0||H.call($);else(s=(U=this.cbs).oncomment)===null||s===void 0||s.call(U,`[CDATA[${N}]]`),(D=(G=this.cbs).oncommentend)===null||D===void 0||D.call(G);this.startIndex=h+1}onend(){var f,h;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let R=this.stack.length;R>0;this.cbs.onclosetag(this.stack[--R],!0));}(h=(f=this.cbs).onend)===null||h===void 0||h.call(f)}reset(){var f,h,R,A;(h=(f=this.cbs).onreset)===null||h===void 0||h.call(f),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(A=(R=this.cbs).onparserinit)===null||A===void 0||A.call(R,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(f){this.reset(),this.end(f)}getSlice(f,h){while(f-this.bufferOffset>=this.buffers[0].length)this.shiftBuffer();let R=this.buffers[0].slice(f-this.bufferOffset,h-this.bufferOffset);while(h-this.bufferOffset>this.buffers[0].length)this.shiftBuffer(),R+=this.buffers[0].slice(0,h-this.bufferOffset);return R}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(f){var h,R;if(this.ended){(R=(h=this.cbs).onerror)===null||R===void 0||R.call(h,new Error(".write() after done!"));return}if(this.buffers.push(f),this.tokenizer.running)this.tokenizer.write(f),this.writeIndex++}end(f){var h,R;if(this.ended){(R=(h=this.cbs).onerror)===null||R===void 0||R.call(h,new Error(".end() after done!"));return}if(f)this.write(f);this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){this.tokenizer.resume();while(this.tokenizer.running&&this.writeIndex<this.buffers.length)this.tokenizer.write(this.buffers[this.writeIndex++]);if(this.ended)this.tokenizer.end()}parseChunk(f){this.write(f)}done(f){this.end(f)}}var nU=/["&'<>$\x80-\uFFFF]/g,uU=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),M6=String.prototype.codePointAt!=null?(f,h)=>f.codePointAt(h):(f,h)=>(f.charCodeAt(h)&64512)===55296?(f.charCodeAt(h)-55296)*1024+f.charCodeAt(h+1)-56320+65536:f.charCodeAt(h);function s0(f){let h="",R=0,A;while((A=nU.exec(f))!==null){let w=A.index,I=f.charCodeAt(w),P=uU.get(I);if(P!==void 0)h+=f.substring(R,w)+P,R=w+1;else h+=`${f.substring(R,w)}&#x${M6(f,w).toString(16)};`,R=nU.lastIndex+=Number((I&64512)===55296)}return h+f.substr(R)}function ew(f,h){return function R(A){let w,I=0,P="";while(w=f.exec(A)){if(I!==w.index)P+=A.substring(I,w.index);P+=h.get(w[0].charCodeAt(0)),I=w.index+1}return P+A.substring(I)}}var Y6=ew(/[&<>'"]/g,uU),ow=ew(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),pw=ew(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));var tU;(function(f){f[f.XML=0]="XML",f[f.HTML=1]="HTML"})(tU||(tU={}));var fE;(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"})(fE||(fE={}));var hE=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])),RE=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 X6=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function z6(f){return f.replace(/"/g,"&quot;")}function L6(f,h){var R;if(!f)return;let A=((R=h.encodeEntities)!==null&&R!==void 0?R:h.decodeEntities)===!1?z6:h.xmlMode||h.encodeEntities!=="utf8"?s0:ow;return Object.keys(f).map((w)=>{var I,P;let $=(I=f[w])!==null&&I!==void 0?I:"";if(h.xmlMode==="foreign")w=(P=RE.get(w))!==null&&P!==void 0?P:w;if(!h.emptyAttrs&&!h.xmlMode&&$==="")return w;return`${w}="${A($)}"`}).join(" ")}var AE=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function WR(f,h={}){let R="length"in f?f:[f],A="";for(let w=0;w<R.length;w++)A+=Z6(R[w],h);return A}function Z6(f,h){switch(f.type){case UU:return WR(f.children,h);case gU:case SU:return Q6(f);case sU:return m6(f);case DU:return T6(f);case NU:case FU:case GU:return y6(f,h);case EU:return q6(f,h)}}var V6=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),J6=new Set(["svg","math"]);function y6(f,h){var R;if(h.xmlMode==="foreign"){if(f.name=(R=hE.get(f.name))!==null&&R!==void 0?R:f.name,f.parent&&V6.has(f.parent.name))h={...h,xmlMode:!1}}if(!h.xmlMode&&J6.has(f.name))h={...h,xmlMode:"foreign"};let A=`<${f.name}`,w=L6(f.attribs,h);if(w)A+=` ${w}`;if(f.children.length===0&&(h.xmlMode?h.selfClosingTags!==!1:h.selfClosingTags&&AE.has(f.name))){if(!h.xmlMode)A+=" ";A+="/>"}else{if(A+=">",f.children.length>0)A+=WR(f.children,h);if(h.xmlMode||!AE.has(f.name))A+=`</${f.name}>`}return A}function Q6(f){return`<${f.data}>`}function q6(f,h){var R;let A=f.data||"";if(((R=h.encodeEntities)!==null&&R!==void 0?R:h.decodeEntities)!==!1&&!(!h.xmlMode&&f.parent&&X6.has(f.parent.name)))A=h.xmlMode||h.encodeEntities!=="utf8"?s0(A):pw(A);return A}function T6(f){return`<![CDATA[${f.children[0].data}]]>`}function m6(f){return`<!--${f.data}-->`}function wE(f,h){let R=new Qw(void 0,h);return new _w(R,h).end(f),R.root}var AI=c(HE(),1);function wI(f,h,R=()=>{return}){if(f===void 0){let A=function(...w){return h(A,...w)};return A}if(f>=0)return function(...A){return h(wI(f-1,h,R),...A)};return R}function NE(f,h){let R=0,A=f.length;while(R<A&&f[R]===h)++R;while(A>R&&f[A-1]===h)--A;return R>0||A<f.length?f.substring(R,A):f}function a6(f,h){let R=f.length;while(R>0&&f[R-1]===h)--R;return R<f.length?f.substring(0,R):f}function i6(f){return f.replace(/[\s\S]/g,(h)=>"\\u"+h.charCodeAt().toString(16).padStart(4,"0"))}function FE(f,h){let R=new Map;for(let A=f.length;A-- >0;){let w=f[A],I=h(w);R.set(I,R.has(I)?AI.default(w,R.get(I),{arrayMerge:_6}):w)}return[...R.values()].reverse()}var _6=(f,h,R)=>[...h];function Ch(f,h){for(let R of h){if(!f)return;f=f[R]}return f}function UE(f,h="a",R=26){let A=[];do f-=1,A.push(f%R),f=f/R>>0;while(f>0);let w=h.charCodeAt(0);return A.reverse().map((I)=>String.fromCharCode(w+I)).join("")}var nw=["I","X","C","M"],EE=["V","L","D"];function SE(f){return[...f+""].map((h)=>+h).reverse().map((h,R)=>h%5<4?(h<5?"":EE[R])+nw[R].repeat(h%5):nw[R]+(h<5?EE[R]:nw[R+1])).reverse().join("")}class II{constructor(f,h=void 0){this.lines=[],this.nextLineWords=[],this.maxLineLength=h||f.wordwrap||Number.MAX_VALUE,this.nextLineAvailableChars=this.maxLineLength,this.wrapCharacters=Ch(f,["longWordSplit","wrapCharacters"])||[],this.forceWrapOnLimit=Ch(f,["longWordSplit","forceWrapOnLimit"])||!1,this.stashedSpace=!1,this.wordBreakOpportunity=!1}pushWord(f,h=!1){if(this.nextLineAvailableChars<=0&&!h)this.startNewLine();let R=this.nextLineWords.length===0,A=f.length+(R?0:1);if(A<=this.nextLineAvailableChars||h)this.nextLineWords.push(f),this.nextLineAvailableChars-=A;else{let[w,...I]=this.splitLongWord(f);if(!R)this.startNewLine();this.nextLineWords.push(w),this.nextLineAvailableChars-=w.length;for(let P of I)this.startNewLine(),this.nextLineWords.push(P),this.nextLineAvailableChars-=P.length}}popWord(){let f=this.nextLineWords.pop();if(f!==void 0){let h=this.nextLineWords.length===0,R=f.length+(h?0:1);this.nextLineAvailableChars+=R}return f}concatWord(f,h=!1){if(this.wordBreakOpportunity&&f.length>this.nextLineAvailableChars)this.pushWord(f,h),this.wordBreakOpportunity=!1;else{let R=this.popWord();this.pushWord(R?R.concat(f):f,h)}}startNewLine(f=1){if(this.lines.push(this.nextLineWords),f>1)this.lines.push(...Array.from({length:f-1},()=>[]));this.nextLineWords=[],this.nextLineAvailableChars=this.maxLineLength}isEmpty(){return this.lines.length===0&&this.nextLineWords.length===0}clear(){this.lines.length=0,this.nextLineWords.length=0,this.nextLineAvailableChars=this.maxLineLength}toString(){return[...this.lines,this.nextLineWords].map((f)=>f.join(" ")).join("\n")}splitLongWord(f){let h=[],R=0;while(f.length>this.maxLineLength){let A=f.substring(0,this.maxLineLength),w=f.substring(this.maxLineLength),I=A.lastIndexOf(this.wrapCharacters[R]);if(I>-1)f=A.substring(I+1)+w,h.push(A.substring(0,I+1));else if(R++,R<this.wrapCharacters.length)f=A+w;else{if(this.forceWrapOnLimit){if(h.push(A),f=w,f.length>this.maxLineLength)continue}else f=A+w;break}}return h.push(f),h}}class lh{constructor(f=null){this.next=f}getRoot(){return this.next?this.next:this}}class yf extends lh{constructor(f,h=null,R=1,A=void 0){super(h);this.leadingLineBreaks=R,this.inlineTextBuilder=new II(f,A),this.rawText="",this.stashedLineBreaks=0,this.isPre=h&&h.isPre,this.isNoWrap=h&&h.isNoWrap}}class uw extends yf{constructor(f,h=null,{interRowLineBreaks:R=1,leadingLineBreaks:A=2,maxLineLength:w=void 0,maxPrefixLength:I=0,prefixAlign:P="left"}={}){super(f,h,A,w);this.maxPrefixLength=I,this.prefixAlign=P,this.interRowLineBreaks=R}}class of extends yf{constructor(f,h=null,{leadingLineBreaks:R=1,maxLineLength:A=void 0,prefix:w=""}={}){super(f,h,R,A);this.prefix=w}}class tw extends lh{constructor(f=null){super(f);this.rows=[],this.isPre=f&&f.isPre,this.isNoWrap=f&&f.isNoWrap}}class fI extends lh{constructor(f=null){super(f);this.cells=[],this.isPre=f&&f.isPre,this.isNoWrap=f&&f.isNoWrap}}class pf extends lh{constructor(f,h=null,R=void 0){super(h);this.inlineTextBuilder=new II(f,R),this.rawText="",this.stashedLineBreaks=0,this.isPre=h&&h.isPre,this.isNoWrap=h&&h.isNoWrap}}class GE extends lh{constructor(f=null,h){super(f);this.transform=h}}function e6(f){return[...f].map((h)=>"\\u"+h.charCodeAt(0).toString(16).padStart(4,"0")).join("")}class DE{constructor(f){this.whitespaceChars=f.preserveNewlines?f.whitespaceCharacters.replace(/\n/g,""):f.whitespaceCharacters;let h=e6(this.whitespaceChars);if(this.leadingWhitespaceRe=new RegExp(`^[${h}]`),this.trailingWhitespaceRe=new RegExp(`[${h}]\$`),this.allWhitespaceOrEmptyRe=new RegExp(`^[${h}]*\$`),this.newlineOrNonWhitespaceRe=new RegExp(`(\\n|[^\\n${h}])`,"g"),this.newlineOrNonNewlineStringRe=new RegExp("(\\n|[^\\n]+)","g"),f.preserveNewlines){let R=new RegExp(`\\n|[^\\n${h}]+`,"gm");this.shrinkWrapAdd=function(A,w,I=($)=>$,P=!1){if(!A)return;let $=w.stashedSpace,H=!1,U=R.exec(A);if(U){if(H=!0,U[0]==="\n")w.startNewLine();else if($||this.testLeadingWhitespace(A))w.pushWord(I(U[0]),P);else w.concatWord(I(U[0]),P);while((U=R.exec(A))!==null)if(U[0]==="\n")w.startNewLine();else w.pushWord(I(U[0]),P)}w.stashedSpace=$&&!H||this.testTrailingWhitespace(A)}}else{let R=new RegExp(`[^${h}]+`,"g");this.shrinkWrapAdd=function(A,w,I=($)=>$,P=!1){if(!A)return;let $=w.stashedSpace,H=!1,U=R.exec(A);if(U){if(H=!0,$||this.testLeadingWhitespace(A))w.pushWord(I(U[0]),P);else w.concatWord(I(U[0]),P);while((U=R.exec(A))!==null)w.pushWord(I(U[0]),P)}w.stashedSpace=$&&!H||this.testTrailingWhitespace(A)}}}addLiteral(f,h,R=!0){if(!f)return;let A=h.stashedSpace,w=!1,I=this.newlineOrNonNewlineStringRe.exec(f);if(I){if(w=!0,I[0]==="\n")h.startNewLine();else if(A)h.pushWord(I[0],R);else h.concatWord(I[0],R);while((I=this.newlineOrNonNewlineStringRe.exec(f))!==null)if(I[0]==="\n")h.startNewLine();else h.pushWord(I[0],R)}h.stashedSpace=A&&!w}testLeadingWhitespace(f){return this.leadingWhitespaceRe.test(f)}testTrailingWhitespace(f){return this.trailingWhitespaceRe.test(f)}testContainsWords(f){return!this.allWhitespaceOrEmptyRe.test(f)}countNewlinesNoWords(f){this.newlineOrNonWhitespaceRe.lastIndex=0;let h=0,R;while((R=this.newlineOrNonWhitespaceRe.exec(f))!==null)if(R[0]==="\n")h++;else return 0;return h}}class gE{constructor(f,h,R=void 0){this.options=f,this.picker=h,this.metadata=R,this.whitespaceProcessor=new DE(f),this._stackItem=new yf(f),this._wordTransformer=void 0}pushWordTransform(f){this._wordTransformer=new GE(this._wordTransformer,f)}popWordTransform(){if(!this._wordTransformer)return;let f=this._wordTransformer.transform;return this._wordTransformer=this._wordTransformer.next,f}startNoWrap(){this._stackItem.isNoWrap=!0}stopNoWrap(){this._stackItem.isNoWrap=!1}_getCombinedWordTransformer(){let f=this._wordTransformer?(R)=>WE(R,this._wordTransformer):void 0,h=this.options.encodeCharacters;return f?h?(R)=>h(f(R)):f:h}_popStackItem(){let f=this._stackItem;return this._stackItem=f.next,f}addLineBreak(){if(!(this._stackItem instanceof yf||this._stackItem instanceof of||this._stackItem instanceof pf))return;if(this._stackItem.isPre)this._stackItem.rawText+="\n";else this._stackItem.inlineTextBuilder.startNewLine()}addWordBreakOpportunity(){if(this._stackItem instanceof yf||this._stackItem instanceof of||this._stackItem instanceof pf)this._stackItem.inlineTextBuilder.wordBreakOpportunity=!0}addInline(f,{noWordTransform:h=!1}={}){if(!(this._stackItem instanceof yf||this._stackItem instanceof of||this._stackItem instanceof pf))return;if(this._stackItem.isPre){this._stackItem.rawText+=f;return}if(f.length===0||this._stackItem.stashedLineBreaks&&!this.whitespaceProcessor.testContainsWords(f))return;if(this.options.preserveNewlines){let R=this.whitespaceProcessor.countNewlinesNoWords(f);if(R>0){this._stackItem.inlineTextBuilder.startNewLine(R);return}}if(this._stackItem.stashedLineBreaks)this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks);this.whitespaceProcessor.shrinkWrapAdd(f,this._stackItem.inlineTextBuilder,h?void 0:this._getCombinedWordTransformer(),this._stackItem.isNoWrap),this._stackItem.stashedLineBreaks=0}addLiteral(f){if(!(this._stackItem instanceof yf||this._stackItem instanceof of||this._stackItem instanceof pf))return;if(f.length===0)return;if(this._stackItem.isPre){this._stackItem.rawText+=f;return}if(this._stackItem.stashedLineBreaks)this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks);this.whitespaceProcessor.addLiteral(f,this._stackItem.inlineTextBuilder,this._stackItem.isNoWrap),this._stackItem.stashedLineBreaks=0}openBlock({leadingLineBreaks:f=1,reservedLineLength:h=0,isPre:R=!1}={}){let A=Math.max(20,this._stackItem.inlineTextBuilder.maxLineLength-h);if(this._stackItem=new yf(this.options,this._stackItem,f,A),R)this._stackItem.isPre=!0}closeBlock({trailingLineBreaks:f=1,blockTransform:h=void 0}={}){let R=this._popStackItem(),A=h?h(Eh(R)):Eh(R);N0(this._stackItem,A,R.leadingLineBreaks,Math.max(R.stashedLineBreaks,f))}openList({maxPrefixLength:f=0,prefixAlign:h="left",interRowLineBreaks:R=1,leadingLineBreaks:A=2}={}){this._stackItem=new uw(this.options,this._stackItem,{interRowLineBreaks:R,leadingLineBreaks:A,maxLineLength:this._stackItem.inlineTextBuilder.maxLineLength,maxPrefixLength:f,prefixAlign:h})}openListItem({prefix:f=""}={}){if(!(this._stackItem instanceof uw))throw new Error("Can\'t add a list item to something that is not a list! Check the formatter.");let h=this._stackItem,R=Math.max(f.length,h.maxPrefixLength),A=Math.max(20,h.inlineTextBuilder.maxLineLength-R);this._stackItem=new of(this.options,h,{prefix:f,maxLineLength:A,leadingLineBreaks:h.interRowLineBreaks})}closeListItem(){let f=this._popStackItem(),h=f.next,R=Math.max(f.prefix.length,h.maxPrefixLength),A="\n"+" ".repeat(R),I=(h.prefixAlign==="right"?f.prefix.padStart(R):f.prefix.padEnd(R))+Eh(f).replace(/\n/g,A);N0(h,I,f.leadingLineBreaks,Math.max(f.stashedLineBreaks,h.interRowLineBreaks))}closeList({trailingLineBreaks:f=2}={}){let h=this._popStackItem(),R=Eh(h);if(R)N0(this._stackItem,R,h.leadingLineBreaks,f)}openTable(){this._stackItem=new tw(this._stackItem)}openTableRow(){if(!(this._stackItem instanceof tw))throw new Error("Can\'t add a table row to something that is not a table! Check the formatter.");this._stackItem=new fI(this._stackItem)}openTableCell({maxColumnWidth:f=void 0}={}){if(!(this._stackItem instanceof fI))throw new Error("Can\'t add a table cell to something that is not a table row! Check the formatter.");this._stackItem=new pf(this.options,this._stackItem,f)}closeTableCell({colspan:f=1,rowspan:h=1}={}){let R=this._popStackItem(),A=NE(Eh(R),"\n");R.next.cells.push({colspan:f,rowspan:h,text:A})}closeTableRow(){let f=this._popStackItem();f.next.rows.push(f.cells)}closeTable({tableToString:f,leadingLineBreaks:h=2,trailingLineBreaks:R=2}){let A=this._popStackItem(),w=f(A.rows);if(w)N0(this._stackItem,w,h,R)}toString(){return Eh(this._stackItem.getRoot())}}function Eh(f){if(!(f instanceof yf||f instanceof of||f instanceof pf))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 N0(f,h,R,A){if(!(f instanceof yf||f instanceof of||f instanceof pf))throw new Error("Only blocks, list items and table cells can contain text.");let w=Eh(f),I=Math.max(f.stashedLineBreaks,R);if(f.inlineTextBuilder.clear(),w)f.rawText=w+"\n".repeat(I)+h;else f.rawText=h,f.leadingLineBreaks=I;f.stashedLineBreaks=A}function WE(f,h){return h?WE(h.transform(f),h.next):f}function o6(f={}){let h=f.selectors.filter((P)=>!P.format);if(h.length)throw new Error("Following selectors have no specified format: "+h.map((P)=>`\`${P.selector}\``).join(", "));let R=new $0(f.selectors.map((P)=>[P.selector,P])).build(kw);if(typeof f.encodeCharacters!=="function")f.encodeCharacters=t6(f.encodeCharacters);let A=new $0(f.baseElements.selectors.map((P,$)=>[P,$+1])).build(kw);function w(P){return n6(P,f,A)}let I=wI(f.limits.maxDepth,u6,function(P,$){$.addInline(f.limits.ellipsis||"")});return function(P,$=void 0){return p6(P,$,f,R,w,I)}}function p6(f,h,R,A,w,I){let P=R.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 $=wE(f,{decodeEntities:R.decodeEntities}),H=w($.children),U=new gE(R,A,h);return I(H,U),U.toString()}function n6(f,h,R){let A=[];function w(P,$){$=$.slice(0,h.limits.maxChildNodes);for(let H of $){if(H.type!=="tag")continue;let U=R.pick1(H);if(U>0)A.push({selectorIndex:U,element:H});else if(H.children)P(H.children);if(A.length>=h.limits.maxBaseElements)return}}if(wI(h.limits.maxDepth,w)(f),h.baseElements.orderBy!=="occurrence")A.sort((P,$)=>P.selectorIndex-$.selectorIndex);return h.baseElements.returnDomByDefault&&A.length===0?f:A.map((P)=>P.element)}function u6(f,h,R){if(!h)return;let A=R.options;if(h.length>A.limits.maxChildNodes)h=h.slice(0,A.limits.maxChildNodes),h.push({data:A.limits.ellipsis,type:"text"});for(let I of h)switch(I.type){case"text":{R.addInline(I.data);break}case"tag":{let P=R.picker.pick1(I),$=A.formatters[P.format];$(I,f,R,P.options||{});break}}return}function t6(f){if(!f||Object.keys(f).length===0)return;let h=Object.entries(f).filter(([,I])=>I!==!1),R=new RegExp(h.map(([I])=>`(${i6([...I][0])})`).join("|"),"g"),A=h.map(([,I])=>I),w=(I,...P)=>A[P.findIndex(($)=>$)];return(I)=>I.replace(R,w)}function fG(f,h,R,A){}function hG(f,h,R,A){R.addLiteral(A.string||"")}function RG(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),R.addLiteral(A.string||""),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function AG(f,h,R,A){h(f.children,R)}function wG(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),h(f.children,R),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function ME(f){let h=f.attribs&&f.attribs.length?" "+Object.entries(f.attribs).map(([R,A])=>A===""?R:`${R}=${A.replace(/"/g,"&quot;")}`).join(" "):"";return`<${f.name}${h}>`}function YE(f){return`</${f.name}>`}function IG(f,h,R,A){R.startNoWrap(),R.addLiteral(ME(f)),R.stopNoWrap(),h(f.children,R),R.startNoWrap(),R.addLiteral(YE(f)),R.stopNoWrap()}function PG(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),R.startNoWrap(),R.addLiteral(ME(f)),R.stopNoWrap(),h(f.children,R),R.startNoWrap(),R.addLiteral(YE(f)),R.stopNoWrap(),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function $G(f,h,R,A){R.startNoWrap(),R.addLiteral(WR(f,{decodeEntities:R.options.decodeEntities})),R.stopNoWrap()}function HG(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),R.startNoWrap(),R.addLiteral(WR(f,{decodeEntities:R.options.decodeEntities})),R.stopNoWrap(),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function UG(f,h,R,A){R.addLiteral(A.prefix||""),h(f.children,R),R.addLiteral(A.suffix||"")}var EG=Object.freeze({__proto__:null,block:wG,blockHtml:HG,blockString:RG,blockTag:PG,inline:AG,inlineHtml:$G,inlineString:hG,inlineSurround:UG,inlineTag:IG,skip:fG});function F0(f,h){if(!f[h])f[h]=[];return f[h]}function SG(f,h=0){while(f[h])h++;return h}function sG(f,h){for(let R=0;R<h;R++){let A=F0(f,R);for(let w=0;w<R;w++){let I=F0(f,w);if(A[w]||I[R]){let P=A[w];A[w]=I[R],I[R]=P}}}}function NG(f,h,R,A){for(let w=0;w<f.rowspan;w++){let I=F0(h,R+w);for(let P=0;P<f.colspan;P++)I[A+P]=f}}function hI(f,h){if(f[h]===void 0)f[h]=h===0?0:1+hI(f,h-1);return f[h]}function sE(f,h,R,A){f[h+R]=Math.max(hI(f,h+R),hI(f,h)+A)}function FG(f,h,R){let A=[],w=0,I=f.length,P=[0];for(let U=0;U<I;U++){let s=F0(A,U),G=f[U],D=0;for(let N=0;N<G.length;N++){let M=G[N];D=SG(s,D),NG(M,A,U,D),D+=M.colspan,M.lines=M.text.split("\n");let Q=M.lines.length;sE(P,U,M.rowspan,Q+h)}w=s.length>w?s.length:w}sG(A,I>w?I:w);let $=[],H=[0];for(let U=0;U<w;U++){let s=0,G,D=Math.min(I,A[U].length);while(s<D)if(G=A[U][s],G){if(!G.rendered){let N=0;for(let M=0;M<G.lines.length;M++){let Q=G.lines[M],Pf=P[s]+M;$[Pf]=($[Pf]||"").padEnd(H[U])+Q,N=Q.length>N?Q.length:N}sE(H,U,G.colspan,N+R),G.rendered=!0}s+=G.rowspan}else{let N=P[s];$[N]=$[N]||"",s++}}return $.join("\n")}function GG(f,h,R,A){R.addLineBreak()}function DG(f,h,R,A){R.addWordBreakOpportunity()}function gG(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),R.addInline("-".repeat(A.length||R.options.wordwrap||40)),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function WG(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),h(f.children,R),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function MG(f,h,R,A){R.openBlock({isPre:!0,leadingLineBreaks:A.leadingLineBreaks||2}),h(f.children,R),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function YG(f,h,R,A){if(R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),A.uppercase!==!1)R.pushWordTransform((w)=>w.toUpperCase()),h(f.children,R),R.popWordTransform();else h(f.children,R);R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function XG(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2,reservedLineLength:2}),h(f.children,R),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2,blockTransform:(w)=>(A.trimEmptyLines!==!1?NE(w,"\n"):w).split("\n").map((I)=>"> "+I).join("\n")})}function RI(f,h){if(!h)return f;let R=typeof h[0]==="string"?h[0]:"[",A=typeof h[1]==="string"?h[1]:"]";return R+f+A}function XE(f,h,R,A,w){let I=typeof h==="function"?h(f,A,w):f;return I[0]==="/"&&R?a6(R,"/")+I:I}function zG(f,h,R,A){let w=f.attribs||{},I=w.alt?w.alt:"",P=!w.src?"":XE(w.src,A.pathRewrite,A.baseUrl,R.metadata,f),$=!P?I:!I?RI(P,A.linkBrackets):I+" "+RI(P,A.linkBrackets);R.addInline($,{noWordTransform:!0})}function LG(f,h,R,A){function w(){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=XE(P,A.pathRewrite,A.baseUrl,R.metadata,f),P}let I=w();if(!I)h(f.children,R);else{let P="";if(R.pushWordTransform((H)=>{if(H)P+=H;return H}),h(f.children,R),R.popWordTransform(),!(A.hideLinkHrefIfSameAsText&&I===P))R.addInline(!P?I:" "+RI(I,A.linkBrackets),{noWordTransform:!0})}}function zE(f,h,R,A,w){let I=Ch(f,["parent","name"])==="li",P=0,$=(f.children||[]).filter((H)=>H.type!=="text"||!/^\s*$/.test(H.data)).map(function(H){if(H.name!=="li")return{node:H,prefix:""};let U=I?w().trimStart():w();if(U.length>P)P=U.length;return{node:H,prefix:U}});if(!$.length)return;R.openList({interRowLineBreaks:1,leadingLineBreaks:I?1:A.leadingLineBreaks||2,maxPrefixLength:P,prefixAlign:"left"});for(let{node:H,prefix:U}of $)R.openListItem({prefix:U}),h([H],R),R.closeListItem();R.closeList({trailingLineBreaks:I?1:A.trailingLineBreaks||2})}function ZG(f,h,R,A){let w=A.itemPrefix||" * ";return zE(f,h,R,A,()=>w)}function VG(f,h,R,A){let w=Number(f.attribs.start||"1"),I=JG(f.attribs.type);return zE(f,h,R,A,()=>" "+I(w++)+". ")}function JG(f="1"){switch(f){case"a":return(h)=>UE(h,"a");case"A":return(h)=>UE(h,"A");case"i":return(h)=>SE(h).toLowerCase();case"I":return(h)=>SE(h);case"1":default:return(h)=>h.toString()}}function yG(f){let h=[],R=[];for(let A of f)if(A.startsWith("."))h.push(A.substring(1));else if(A.startsWith("#"))R.push(A.substring(1));return{classes:h,ids:R}}function QG(f,h){if(h===!0)return!0;if(!f)return!1;let{classes:R,ids:A}=yG(h),w=(f.class||"").split(" "),I=(f.id||"").split(" ");return w.some((P)=>R.includes(P))||I.some((P)=>A.includes(P))}function qG(f,h,R,A){return QG(f.attribs,R.options.tables)?LE(f,h,R,A):TG(f,h,R,A)}function TG(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks}),h(f.children,R),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks})}function LE(f,h,R,A){R.openTable(),f.children.forEach(I),R.closeTable({tableToString:(P)=>FG(P,A.rowSpacing??0,A.colSpacing??3),leadingLineBreaks:A.leadingLineBreaks,trailingLineBreaks:A.trailingLineBreaks});function w(P){let $=+Ch(P,["attribs","colspan"])||1,H=+Ch(P,["attribs","rowspan"])||1;R.openTableCell({maxColumnWidth:A.maxColumnWidth}),h(P.children,R),R.closeTableCell({colspan:$,rowspan:H})}function I(P){if(P.type!=="tag")return;let $=A.uppercaseHeaderCells!==!1?(H)=>{R.pushWordTransform((U)=>U.toUpperCase()),w(H),R.popWordTransform()}:w;switch(P.name){case"thead":case"tbody":case"tfoot":case"center":P.children.forEach(I);return;case"tr":{R.openTableRow();for(let H of P.children){if(H.type!=="tag")continue;switch(H.name){case"th":{$(H);break}case"td":{w(H);break}}}R.closeTableRow();break}}}}var mG=Object.freeze({__proto__:null,anchor:LG,blockquote:XG,dataTable:LE,heading:YG,horizontalLine:gG,image:zG,lineBreak:GG,orderedList:VG,paragraph:WG,pre:MG,table:qG,unorderedList:ZG,wbr:DG}),BG={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
12
- \u200B`,wordwrap:80},vG=(f,h,R)=>[...f,...h],ZE=(f,h,R)=>[...h],KG=(f,h,R)=>f.some((A)=>typeof A==="object")?vG(f,h):ZE(f,h);function jG(f={}){return f=AI.default(BG,f,{arrayMerge:ZE,customMerge:(h)=>h==="selectors"?KG:void 0}),f.formatters=Object.assign({},EG,mG,f.formatters),f.selectors=FE(f.selectors,(h)=>h.selector),OG(f),o6(f)}function PI(f,h={},R=void 0){return jG(h)(f,R)}function OG(f){if(f.tags){let R=Object.entries(f.tags).map(([A,w])=>({...w,selector:A||"*"}));f.selectors.push(...R),f.selectors=FE(f.selectors,(A)=>A.selector)}function h(R,A,w){let I=A.pop();for(let P of A){let $=R[P];if(!$)$={},R[P]=$;R=$}R[I]=w}if(f.baseElement){let R=f.baseElement;h(f,["baseElements","selectors"],Array.isArray(R)?R:[R])}if(f.returnDomByDefault!==void 0)h(f,["baseElements","returnDomByDefault"],f.returnDomByDefault);for(let R of f.selectors)if(R.format==="anchor"&&Ch(R,["options","noLinkBrackets"]))h(R,["options","linkBrackets"],!1)}var B8=c(y8(),1);import{Writable as ag}from"stream";var{defineProperty:lg,getOwnPropertySymbols:Q8}=Object,rg=Object.prototype.hasOwnProperty,cg=Object.prototype.propertyIsEnumerable,q8=(f,h,R)=>(h in f)?lg(f,h,{enumerable:!0,configurable:!0,writable:!0,value:R}):f[h]=R,qI=(f,h)=>{for(var R in h||(h={}))if(rg.call(h,R))q8(f,R,h[R]);if(Q8){for(var R of Q8(h))if(cg.call(h,R))q8(f,R,h[R])}return f},TI=(f,h,R)=>{return new Promise((A,w)=>{var I=(H)=>{try{$(R.next(H))}catch(U){w(U)}},P=(H)=>{try{$(R.throw(H))}catch(U){w(U)}},$=(H)=>H.done?A(H.value):Promise.resolve(H.value).then(I,P);$((R=R.apply(f,h)).next())})},dg={unformatted:["code","pre","em","strong","span"],indent_inner_html:!0,indent_char:" ",indent_size:2,sep:"\n"},kg=(f,h={})=>{return B8.default.html(f,qI(qI({},dg),h))},xg=[{selector:"img",format:"skip"},{selector:"#__react-email-preview",format:"skip"},{selector:"a",options:{linkBrackets:!1}}];var T8=new TextDecoder("utf-8"),m8=(f)=>TI(void 0,null,function*(){let h="";if("pipeTo"in f){let R=new WritableStream({write(A){h+=T8.decode(A)}});yield f.pipeTo(R)}else{let R=new ag({write(A,w,I){h+=T8.decode(A),I()}});return f.pipe(R),new Promise((A,w)=>{R.on("error",w),R.on("close",()=>{A(h)})})}return h}),V0=(f,h)=>TI(void 0,null,function*(){let{default:R}=yield import("react-dom/server"),A;if(Object.hasOwn(R,"renderToReadableStream"))A=yield m8(yield R.renderToReadableStream(f));else yield new Promise((P,$)=>{let H=R.renderToPipeableStream(f,{onAllReady(){return TI(this,null,function*(){A=yield m8(H),P()})},onError(U){$(U)}})});if(h==null?void 0:h.plainText)return PI(A,qI({selectors:xg},h.htmlToTextOptions));let I=`${'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'}${A.replace(/<!DOCTYPE.*?>/,"")}`;if(h==null?void 0:h.pretty)return kg(I);return I});var{defineProperty:ig,defineProperties:_g,getOwnPropertyDescriptors:eg,getOwnPropertySymbols:v8}=Object,og=Object.prototype.hasOwnProperty,pg=Object.prototype.propertyIsEnumerable,K8=(f,h,R)=>(h in f)?ig(f,h,{enumerable:!0,configurable:!0,writable:!0,value:R}):f[h]=R,mR=(f,h)=>{for(var R in h||(h={}))if(og.call(h,R))K8(f,R,h[R]);if(v8){for(var R of v8(h))if(pg.call(h,R))K8(f,R,h[R])}return f},ng=(f,h)=>_g(f,eg(h)),m=(f,h,R)=>{return new Promise((A,w)=>{var I=(H)=>{try{$(R.next(H))}catch(U){w(U)}},P=(H)=>{try{$(R.throw(H))}catch(U){w(U)}},$=(H)=>H.done?A(H.value):Promise.resolve(H.value).then(I,P);$((R=R.apply(f,h)).next())})},ug="3.5.0",tg=class{constructor(f){this.resend=f}create(f){return m(this,arguments,function*(h,R={}){return yield this.resend.post("/api-keys",h,R)})}list(){return m(this,null,function*(){return yield this.resend.get("/api-keys")})}remove(f){return m(this,null,function*(){return yield this.resend.delete(`/api-keys/${f}`)})}},fW=class{constructor(f){this.resend=f}create(f){return m(this,arguments,function*(h,R={}){return yield this.resend.post("/audiences",h,R)})}list(){return m(this,null,function*(){return yield this.resend.get("/audiences")})}get(f){return m(this,null,function*(){return yield this.resend.get(`/audiences/${f}`)})}remove(f){return m(this,null,function*(){return yield this.resend.delete(`/audiences/${f}`)})}},hW=class{constructor(f){this.resend=f}send(f){return m(this,arguments,function*(h,R={}){return this.create(h,R)})}create(f){return m(this,arguments,function*(h,R={}){for(let w of h)if(w.react)w.html=yield V0(w.react),delete w.react;return yield this.resend.post("/emails/batch",h,R)})}},RW=class{constructor(f){this.resend=f}create(f){return m(this,arguments,function*(h,R={}){return yield this.resend.post(`/audiences/${h.audienceId}/contacts`,{unsubscribed:h.unsubscribed,email:h.email,first_name:h.firstName,last_name:h.lastName},R)})}list(f){return m(this,null,function*(){return yield this.resend.get(`/audiences/${f.audienceId}/contacts`)})}get(f){return m(this,null,function*(){return yield this.resend.get(`/audiences/${f.audienceId}/contacts/${f.id}`)})}update(f){return m(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 m(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}`)})}},AW=class{constructor(f){this.resend=f}create(f){return m(this,arguments,function*(h,R={}){return yield this.resend.post("/domains",h,R)})}list(){return m(this,null,function*(){return yield this.resend.get("/domains")})}get(f){return m(this,null,function*(){return yield this.resend.get(`/domains/${f}`)})}update(f){return m(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 m(this,null,function*(){return yield this.resend.delete(`/domains/${f}`)})}verify(f){return m(this,null,function*(){return yield this.resend.post(`/domains/${f}/verify`)})}},wW=class{constructor(f){this.resend=f}send(f){return m(this,arguments,function*(h,R={}){return this.create(h,R)})}create(f){return m(this,arguments,function*(h,R={}){if(h.react)h.html=yield V0(h.react),delete h.react;return yield this.resend.post("/emails",h,R)})}get(f){return m(this,null,function*(){return yield this.resend.get(`/emails/${f}`)})}},j8="https://api.resend.com",O8=`resend-node:${ug}`,IW=typeof process!=="undefined"&&process.env?process.env.RESEND_BASE_URL||j8:j8,PW=typeof process!=="undefined"&&process.env?process.env.RESEND_USER_AGENT||O8:O8,C8=class{constructor(f){if(this.key=f,this.apiKeys=new tg(this),this.audiences=new fW(this),this.batch=new hW(this),this.contacts=new RW(this),this.domains=new AW(this),this.emails=new wW(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":PW,"Content-Type":"application/json"})}fetchRequest(f){return m(this,arguments,function*(h,R={}){try{let A=yield fetch(`${IW}${h}`,R);if(!A.ok)try{let I=yield A.text();return{data:null,error:JSON.parse(I)}}catch(I){if(I instanceof SyntaxError)return{data:null,error:{name:"application_error",message:"Internal server error. We are unable to process your request right now, please try again later."}};let P={message:A.statusText,name:"application_error"};if(I instanceof Error)return{data:null,error:ng(mR({},P),{message:I.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,h){return m(this,arguments,function*(R,A,w={}){let I=mR({method:"POST",headers:this.headers,body:JSON.stringify(A)},w);return this.fetchRequest(R,I)})}get(f){return m(this,arguments,function*(h,R={}){let A=mR({method:"GET",headers:this.headers},R);return this.fetchRequest(h,A)})}put(f,h){return m(this,arguments,function*(R,A,w={}){let I=mR({method:"PUT",headers:this.headers,body:JSON.stringify(A)},w);return this.fetchRequest(R,I)})}patch(f,h){return m(this,arguments,function*(R,A,w={}){let I=mR({method:"PATCH",headers:this.headers,body:JSON.stringify(A)},w);return this.fetchRequest(R,I)})}delete(f,h){return m(this,null,function*(){let R={method:"DELETE",headers:this.headers,body:JSON.stringify(h)};return this.fetchRequest(f,R)})}};class J0{}class y0 extends J0{f;constructor(f=process.env.RESEND_API_KEY){super();this.apiKey=f}async send(f){let h=new C8(this.apiKey),{data:R,error:A}=await h.emails.send({...f});if(A)return console.error(A),!1;if(R)return!0}}class l8 extends _{driver=new y0;boot(){}}class r8 extends _{channels={};boot(){}}class c8 extends _{root;rootRouter;boot(){}onRequestStart(f){}onRequestEnd(f){}onRequestFail(f,h){}}class b8 extends _{rootRouter;boot(){return"Origin"}onRequestStart(f){}onRequestEnd(f){}onRequestFail(f,h){}}class d8 extends _{maxFileSize=10485760;boot(){}onLogFileClosed(f){}onLogCreated(f){}}class k8 extends _{jobs=[];concurrency=1;boot(){}}class a8{static name="unset";worker=!1;maxAttempts=3;run(f){}onFail(f,h){}onSuccess(f,h){}onDeadletter(f){}static dispatch(...f){if(this.name==="unset")throw new Error("Cannot dispatch a job with no name");x8.use().push(this,JSON.stringify(f))}}var i8=c($W(),1);class Q0{}class q0 extends Q0{async resize(f,h){let{height:R,width:A,quality:w,fit:I}=h;return await i8.default(f).resize(A>0?A:void 0,R>0?R:void 0,{fit:I}).webp({quality:w>0?w:80,force:!0}).toBuffer()}}class _8 extends _{driver=new q0;boot(){}}class T0{}var HW={clientId:process.env.GOOGLE_CLIENT_ID,clientSecret:process.env.GOOGLE_CLIENT_SECRET,redirectPath:"/oauth/google/callback",scope:"https://www.googleapis.com/auth/userinfo.email"};class o8 extends T0{config;constructor(f={}){super();this.config={...HW,...f}}getRedirectUrl(){let f=this.config.scope,h=this.config.clientId,R=new URL("https://accounts.google.com/o/oauth2/v2/auth"),A={scope:f,include_granted_scopes:"true",response_type:"code",state:"state_parameter_passthrough_value",redirect_uri:`${process.env.HOST_NAME}/oauth/google/callback`,client_id:h};for(let[I,P]of Object.entries(A))R.searchParams.append(I,P);let w=R.toString();return e8.to(w),w}async onCallback(f){let h=new URL("https://oauth2.googleapis.com/token");h.searchParams.append("code",f.search.get("code")),h.searchParams.append("client_id",this.config.clientId),h.searchParams.append("client_secret",this.config.clientSecret),h.searchParams.append("grant_type","authorization_code"),h.searchParams.append("redirect_uri",`${process.env.HOST_NAME}${this.config.redirectPath}`);let R=await fetch(h.toString(),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"}}),{access_token:A}=await R.json(),I=await(await fetch(`https://www.googleapis.com/oauth2/v3/userinfo?access_token=${A}`)).json();return{name:I.name,email:I.email}}}export{c8 as ViewRouterServiceProvider,q0 as Sharp,PU as S3Driver,y0 as ResendDriver,$U as RateLimiterServiceProvider,iA as RateLimiterDriver,k8 as QueueServiceProvider,T0 as OAuthProvider,d8 as LoggingServiceProvider,a8 as Job,_A as InMemoryRateLimiter,_8 as ImageOptimizationServiceProvider,Q0 as ImageOptimizationDriver,o8 as GoogleOAuthProvider,KR as FileSystemDriver,mI as FileStorageServiceProvider,Fh as FileStorageDriver,l8 as EmailServiceProvider,J0 as EmailDriver,r8 as BroadcastingServiceProvider,b8 as ApiRouterServiceProvider};export{mI as h,b8 as i,$U as j,l8 as k,r8 as l,c8 as m,d8 as n,k8 as o,_8 as p};
11
+ ${th.toHex(w)}`}getCanonicalPath({path:f}){if(this.uriEscapePath){let h=[];for(let w of f.split("/")){if(w?.length===0)continue;if(w===".")continue;if(w==="..")h.pop();else h.push(w)}let R=`${f?.startsWith("/")?"/":""}${h.join("/")}${h.length>0&&f?.endsWith("/")?"/":""}`;return Zh(R).replace(/%2F/g,"/")}return f}async getSignature(f,h,R,A){let w=await this.createStringToSign(f,h,A),I=new this.sha256(await R);return I.update(Wf(w)),th.toHex(await I.digest())}getSigningKey(f,h,R,A){return LP(this.sha256,f,R,h,A||this.service)}validateResolvedCredentials(f){if(typeof f!=="object"||typeof f.accessKeyId!=="string"||typeof f.secretAccessKey!=="string")throw new Error("Resolved credential object is not valid")}}var AA=(f)=>{let h=QP(f).replace(/[\-:]/g,"");return{longDate:h,shortDate:h.slice(0,8)}},qP=(f)=>Object.keys(f).sort().join(";");var TP="Directory",mP="S3Express",BP="sigv4-s3express",wA="X-Amz-S3session-Token",fR=wA.toLowerCase(),MS="AWS_S3_DISABLE_EXPRESS_SESSION_AUTH",YS="s3_disable_express_session_auth",_0={environmentVariableSelector:(f)=>Ah(f,MS,wh.ENV),configFileSelector:(f)=>Ah(f,YS,wh.CONFIG),default:!1};class IA extends i0{async signWithCredentials(f,h,R){let A=vP(h);f.headers[fR]=h.sessionToken;let w=this;return KP(w,A),w.signRequest(f,R??{})}async presignWithCredentials(f,h,R){let A=vP(h);return delete f.headers[fR],f.headers[wA]=h.sessionToken,f.query=f.query??{},f.query[wA]=h.sessionToken,KP(this,A),this.presign(f,R)}}function vP(f){return{accessKeyId:f.accessKeyId,secretAccessKey:f.secretAccessKey,expiration:f.expiration}}function KP(f,h){let R=setTimeout(()=>{throw new Error("SignatureV4S3Express credential override was created but not called.")},10),A=f.credentialProvider,w=()=>{return clearTimeout(R),f.credentialProvider=A,Promise.resolve(h)};f.credentialProvider=w}var jP=(f)=>{return(h,R)=>async(A)=>{if(R.endpointV2){let w=R.endpointV2,I=w.properties?.authSchemes?.[0]?.name===BP;if(w.properties?.backend===mP||w.properties?.bucketType===TP)R.isS3ExpressBucket=!0;if(I){let $=A.input.Bucket;if($){let H=await f.s3ExpressIdentityProvider.getS3ExpressIdentity(await f.credentials(),{Bucket:$});if(R.s3ExpressIdentity=H,hf.isInstance(A.request)&&H.sessionToken)A.request.headers[fR]=H.sessionToken}}}return h(A)}},OP={name:"s3ExpressMiddleware",step:"build",tags:["S3","S3_EXPRESS"],override:!0},e0=(f)=>({applyToStack:(h)=>{h.add(jP(f),OP)}});var lP=x(o0(),1);var zS=x(XS(),1);var CP=async(f,h,R,A)=>{let w=await A.signWithCredentials(R,f,{});if(w.headers["X-Amz-Security-Token"]||w.headers["x-amz-security-token"])throw new Error("X-Amz-Security-Token must not be set for s3-express requests.");return w};var LS=(f)=>(h)=>{throw h},ZS=(f,h)=>{};var rP=(f)=>(h,R)=>async(A)=>{if(!hf.isInstance(A.request))return h(A);let I=hR(R).selectedHttpAuthScheme;if(!I)throw new Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:P={}},identity:$,signer:H}=I,U;if(R.s3ExpressIdentity)U=await CP(R.s3ExpressIdentity,P,A.request,await f.signer());else U=await H.sign(A.request,$,P);let s=await h({...A,request:U}).catch((H.errorHandler||LS)(P));return(H.successHandler||ZS)(s.response,P),s},p0=(f)=>({applyToStack:(h)=>{h.addRelativeTo(rP(f),lP.httpSigningMiddlewareOptions)}});var cP=(f,{session:h})=>{let[R,A]=h;return{...f,forcePathStyle:f.forcePathStyle??!1,useAccelerateEndpoint:f.useAccelerateEndpoint??!1,disableMultiregionAccessPoints:f.disableMultiregionAccessPoints??!1,followRegionRedirects:f.followRegionRedirects??!1,s3ExpressIdentityProvider:f.s3ExpressIdentityProvider??new zh(async(w)=>R().send(new A({Bucket:w,SessionMode:"ReadWrite"}))),bucketEndpoint:f.bucketEndpoint??!1}};var VS={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},JS=3000,yS=(f)=>(h,R)=>async(A)=>{let w=await h(A),{response:I}=w;if(!pR.isInstance(I))return w;let{statusCode:P,body:$}=I;if(P<200||P>=300)return w;if(!(typeof $?.stream==="function"||typeof $?.pipe==="function"||typeof $?.tee==="function"))return w;let U=$,s=$;if($&&typeof $==="object"&&!($ instanceof Uint8Array))[U,s]=await bP($);I.body=s;let G=await QS(U,{streamCollector:async(N)=>{return dP(N,JS)}});if(typeof U?.destroy==="function")U.destroy();let D=f.utf8Encoder(G.subarray(G.length-16));if(G.length===0&&VS[R.commandName]){let N=new Error("S3 aborted request");throw N.name="InternalError",N}if(D&&D.endsWith("</Error>"))I.statusCode=400;return w},QS=(f=new Uint8Array,h)=>{if(f instanceof Uint8Array)return Promise.resolve(f);return h.streamCollector(f)||Promise.resolve(new Uint8Array)},qS={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},Vh=(f)=>({applyToStack:(h)=>{h.addRelativeTo(yS(f),qS)}});var n0=(f)=>typeof f==="string"&&f.indexOf("arn:")===0&&f.split(":").length>=6;function kP(f){return(h,R)=>async(A)=>{if(f.bucketEndpoint){let w=R.endpointV2;if(w){let I=A.input.Bucket;if(typeof I==="string")try{let P=new URL(I);R.endpointV2={...w,url:P}}catch(P){let $=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${I} could not be parsed as URL.`;if(R.logger?.constructor?.name==="NoOpLogger")console.warn($);else R.logger?.warn?.($);throw P}}}return h(A)}}var xP={name:"bucketEndpointMiddleware",override:!0,relation:"after",toMiddleware:"endpointV2Middleware"};function TS({bucketEndpoint:f}){return(h)=>async(R)=>{let{input:{Bucket:A}}=R;if(!f&&typeof A==="string"&&!n0(A)&&A.indexOf("/")>=0){let w=new Error(`Bucket name shouldn't contain '/', received '${A}'`);throw w.name="InvalidBucketName",w}return h({...R})}}var mS={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0},aP=(f)=>({applyToStack:(h)=>{h.add(TS(f),mS),h.addRelativeTo(kP(f),xP)}});var mh=x(o0(),1);var iP=(f)=>({...f,eventStreamMarshaller:f.eventStreamSerdeProvider(f)});var GA=x(FA(),1);var PA={CrtSignerV4:null};class u0{constructor(f){this.sigv4Signer=new IA(f),this.signerOptions=f}async sign(f,h={}){if(h.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().sign(f,h)}return this.sigv4Signer.sign(f,h)}async signWithCredentials(f,h,R={}){if(R.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().signWithCredentials(f,h,R)}return this.sigv4Signer.signWithCredentials(f,h,R)}async presign(f,h={}){if(h.signingRegion==="*"){if(this.signerOptions.runtime!=="node")throw new Error("This request requires signing with SigV4Asymmetric algorithm. It's only available in Node.js");return this.getSigv4aSigner().presign(f,h)}return this.sigv4Signer.presign(f,h)}async presignWithCredentials(f,h,R={}){if(R.signingRegion==="*")throw new Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(f,h,R)}getSigv4aSigner(){if(!this.sigv4aSigner){let f=null;try{if(f=PA.CrtSignerV4,typeof f!=="function")throw new Error}catch(h){throw h.message=`${h.message}\nPlease check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. \nYou must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. \nFor more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`,h}this.sigv4aSigner=new f({...this.signerOptions,signingAlgorithm:1})}return this.sigv4aSigner}}var Jh={["required"]:!1,["type"]:"String"},yh={["required"]:!0,default:!1,["type"]:"Boolean"},RR={["required"]:!1,["type"]:"Boolean"},zf={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"Accelerate"},!0]},j={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseFIPS"},!0]},K={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseDualStack"},!0]},b={["fn"]:"isSet",["argv"]:[{["ref"]:"Endpoint"}]},C1={["fn"]:"aws.partition",["argv"]:[{["ref"]:"Region"}],["assign"]:"partitionResult"},_P={["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[{["ref"]:"partitionResult"},"name"]},"aws-cn"]},SA={["fn"]:"isSet",["argv"]:[{["ref"]:"Bucket"}]},Uf={["ref"]:"Bucket"},Hf={["fn"]:"parseURL",["argv"]:[{["ref"]:"Endpoint"}],["assign"]:"url"},EA={["fn"]:"booleanEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[{["ref"]:"url"},"isIp"]},!0]},l1={["ref"]:"url"},r1={["fn"]:"uriEncode",["argv"]:[Uf],["assign"]:"uri_encoded_bucket"},vf={["backend"]:"S3Express",["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3express",["signingRegion"]:"{Region}"}]},Y={},c1={["fn"]:"aws.isVirtualHostableS3Bucket",["argv"]:[Uf,!1]},t0={["error"]:"S3Express bucket name is not a valid virtual hostable name.",["type"]:"error"},sA={["backend"]:"S3Express",["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4-s3express",["signingName"]:"s3express",["signingRegion"]:"{Region}"}]},eP={["fn"]:"isSet",["argv"]:[{["ref"]:"UseS3ExpressControlEndpoint"}]},oP={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseS3ExpressControlEndpoint"},!0]},X={["fn"]:"not",["argv"]:[b]},pP={["error"]:"Unrecognized S3Express bucket name format.",["type"]:"error"},nP={["fn"]:"not",["argv"]:[SA]},uP={["ref"]:"hardwareType"},tP={["conditions"]:[X],["error"]:"Expected a endpoint to be specified but no endpoint was found",["type"]:"error"},$A={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4a",["signingName"]:"s3-outposts",["signingRegionSet"]:["*"]},{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-outposts",["signingRegion"]:"{Region}"}]},f3={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"ForcePathStyle"},!1]},BS={["ref"]:"ForcePathStyle"},c={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"Accelerate"},!1]},a={["fn"]:"stringEquals",["argv"]:[{["ref"]:"Region"},"aws-global"]},_={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3",["signingRegion"]:"us-east-1"}]},V={["fn"]:"not",["argv"]:[a]},e={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseGlobalEndpoint"},!0]},f1={["url"]:"https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:{["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3",["signingRegion"]:"{Region}"}]},["headers"]:{}},d={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3",["signingRegion"]:"{Region}"}]},o={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseGlobalEndpoint"},!1]},Z={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseDualStack"},!1]},h1={["url"]:"https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}",["properties"]:d,["headers"]:{}},L={["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseFIPS"},!1]},R1={["url"]:"https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}",["properties"]:d,["headers"]:{}},A1={["url"]:"https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:d,["headers"]:{}},h3={["fn"]:"booleanEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[l1,"isIp"]},!1]},R3={["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",["properties"]:d,["headers"]:{}},z3={["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:d,["headers"]:{}},w1={["endpoint"]:z3,["type"]:"endpoint"},A3={["url"]:"https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",["properties"]:d,["headers"]:{}},I1={["url"]:"https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}",["properties"]:d,["headers"]:{}},HA={["error"]:"Invalid region: region was not a valid DNS name.",["type"]:"error"},sf={["ref"]:"bucketArn"},b1={["ref"]:"arnType"},w3={["fn"]:"getAttr",["argv"]:[sf,"service"]},L3={["ref"]:"accessPointName"},P1={["conditions"]:[K],["error"]:"S3 Object Lambda does not support Dual-stack",["type"]:"error"},$1={["conditions"]:[zf],["error"]:"S3 Object Lambda does not support S3 Accelerate",["type"]:"error"},H1={["conditions"]:[{["fn"]:"isSet",["argv"]:[{["ref"]:"DisableAccessPoints"}]},{["fn"]:"booleanEquals",["argv"]:[{["ref"]:"DisableAccessPoints"},!0]}],["error"]:"Access points are not supported for this operation",["type"]:"error"},I3={["conditions"]:[{["fn"]:"isSet",["argv"]:[{["ref"]:"UseArnRegion"}]},{["fn"]:"booleanEquals",["argv"]:[{["ref"]:"UseArnRegion"},!1]},{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[sf,"region"]},"{Region}"]}]}],["error"]:"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`",["type"]:"error"},d1={["fn"]:"getAttr",["argv"]:[{["ref"]:"bucketPartition"},"name"]},k1={["fn"]:"getAttr",["argv"]:[sf,"accountId"]},P3={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-object-lambda",["signingRegion"]:"{bucketArn#region}"}]},U1={["error"]:"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`",["type"]:"error"},$3={["error"]:"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`",["type"]:"error"},H3={["error"]:"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)",["type"]:"error"},U3={["error"]:"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`",["type"]:"error"},E1={["error"]:"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.",["type"]:"error"},S1={["error"]:"Invalid ARN: Expected a resource of the format `accesspoint:<accesspoint name>` but no name was provided",["type"]:"error"},AR={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3",["signingRegion"]:"{bucketArn#region}"}]},s1={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4a",["signingName"]:"s3-outposts",["signingRegionSet"]:["*"]},{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-outposts",["signingRegion"]:"{bucketArn#region}"}]},N1={["fn"]:"aws.parseArn",["argv"]:[Uf]},F1={["url"]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:d,["headers"]:{}},G1={["url"]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:d,["headers"]:{}},D1={["url"]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:d,["headers"]:{}},E3={["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",["properties"]:d,["headers"]:{}},g1={["url"]:"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:d,["headers"]:{}},W1={["ref"]:"UseObjectLambdaEndpoint"},S3={["authSchemes"]:[{["disableDoubleEncoding"]:!0,["name"]:"sigv4",["signingName"]:"s3-object-lambda",["signingRegion"]:"{Region}"}]},M1={["url"]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:d,["headers"]:{}},Y1={["url"]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}",["properties"]:d,["headers"]:{}},X1={["url"]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}",["properties"]:d,["headers"]:{}},s3={["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:d,["headers"]:{}},z1={["url"]:"https://s3.{Region}.{partitionResult#dnsSuffix}",["properties"]:d,["headers"]:{}},N3=[{["ref"]:"Region"}],vS=[{["ref"]:"Endpoint"}],KS=[Uf],F3=[K],UA=[zf],Ih=[b,Hf],L1=[{["fn"]:"isSet",["argv"]:[{["ref"]:"DisableS3ExpressSessionAuth"}]},{["fn"]:"booleanEquals",["argv"]:[{["ref"]:"DisableS3ExpressSessionAuth"},!0]}],Z1=[EA],G3=[r1],D3=[c1],Qh=[j],V1=[{["fn"]:"substring",["argv"]:[Uf,6,14,!0],["assign"]:"s3expressAvailabilityZoneId"},{["fn"]:"substring",["argv"]:[Uf,14,16,!0],["assign"]:"s3expressAvailabilityZoneDelim"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"s3expressAvailabilityZoneDelim"},"--"]}],J1=[{["conditions"]:[j],["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"}],y1=[{["fn"]:"substring",["argv"]:[Uf,6,15,!0],["assign"]:"s3expressAvailabilityZoneId"},{["fn"]:"substring",["argv"]:[Uf,15,17,!0],["assign"]:"s3expressAvailabilityZoneDelim"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"s3expressAvailabilityZoneDelim"},"--"]}],Q1=[{["conditions"]:[j],["endpoint"]:{["url"]:"https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",["properties"]:sA,["headers"]:{}},["type"]:"endpoint"},{["endpoint"]:{["url"]:"https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.amazonaws.com",["properties"]:sA,["headers"]:{}},["type"]:"endpoint"}],jS=[SA],q1=[{["fn"]:"isValidHostLabel",["argv"]:[{["ref"]:"outpostId"},!1]}],T1=[{["fn"]:"stringEquals",["argv"]:[{["ref"]:"regionPrefix"},"beta"]}],OS=["*"],rf=[C1],m1=[{["fn"]:"isValidHostLabel",["argv"]:[{["ref"]:"Region"},!1]}],cf=[{["fn"]:"stringEquals",["argv"]:[{["ref"]:"Region"},"us-east-1"]}],g3=[{["fn"]:"stringEquals",["argv"]:[b1,"accesspoint"]}],B1=[{["fn"]:"getAttr",["argv"]:[sf,"resourceId[1]"],["assign"]:"accessPointName"},{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[L3,""]}]}],CS=[sf,"resourceId[1]"],W3=[{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[sf,"region"]},""]}]}],v1=[{["fn"]:"not",["argv"]:[{["fn"]:"isSet",["argv"]:[{["fn"]:"getAttr",["argv"]:[sf,"resourceId[2]"]}]}]}],lS=[sf,"resourceId[2]"],M3=[{["fn"]:"aws.partition",["argv"]:[{["fn"]:"getAttr",["argv"]:[sf,"region"]}],["assign"]:"bucketPartition"}],K1=[{["fn"]:"stringEquals",["argv"]:[d1,{["fn"]:"getAttr",["argv"]:[{["ref"]:"partitionResult"},"name"]}]}],Y3=[{["fn"]:"isValidHostLabel",["argv"]:[{["fn"]:"getAttr",["argv"]:[sf,"region"]},!0]}],X3=[{["fn"]:"isValidHostLabel",["argv"]:[k1,!1]}],j1=[{["fn"]:"isValidHostLabel",["argv"]:[L3,!1]}],O1=[{["fn"]:"isValidHostLabel",["argv"]:[{["ref"]:"Region"},!0]}],rS={version:"1.0",parameters:{Bucket:Jh,Region:Jh,UseFIPS:yh,UseDualStack:yh,Endpoint:Jh,ForcePathStyle:yh,Accelerate:yh,UseGlobalEndpoint:yh,UseObjectLambdaEndpoint:RR,Key:Jh,Prefix:Jh,CopySource:Jh,DisableAccessPoints:RR,DisableMultiRegionAccessPoints:yh,UseArnRegion:RR,UseS3ExpressControlEndpoint:RR,DisableS3ExpressSessionAuth:RR},rules:[{["conditions"]:[{["fn"]:"isSet",["argv"]:N3}],rules:[{["conditions"]:[zf,j],error:"Accelerate cannot be used with FIPS",["type"]:"error"},{["conditions"]:[K,b],error:"Cannot set dual-stack in combination with a custom endpoint.",["type"]:"error"},{["conditions"]:[b,j],error:"A custom endpoint cannot be combined with FIPS",["type"]:"error"},{["conditions"]:[b,zf],error:"A custom endpoint cannot be combined with S3 Accelerate",["type"]:"error"},{["conditions"]:[j,C1,_P],error:"Partition does not support FIPS",["type"]:"error"},{["conditions"]:[SA,{["fn"]:"substring",["argv"]:[Uf,0,6,!0],["assign"]:"bucketSuffix"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"bucketSuffix"},"--x-s3"]}],rules:[{["conditions"]:F3,error:"S3Express does not support Dual-stack.",["type"]:"error"},{["conditions"]:UA,error:"S3Express does not support S3 Accelerate.",["type"]:"error"},{["conditions"]:Ih,rules:[{["conditions"]:L1,rules:[{["conditions"]:Z1,rules:[{["conditions"]:G3,rules:[{endpoint:{["url"]:"{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",["properties"]:vf,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:D3,rules:[{endpoint:{["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:vf,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"},t0],["type"]:"tree"},{["conditions"]:Z1,rules:[{["conditions"]:G3,rules:[{endpoint:{["url"]:"{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",["properties"]:sA,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:D3,rules:[{endpoint:{["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:sA,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"},t0],["type"]:"tree"},{["conditions"]:[eP,oP],rules:[{["conditions"]:[r1,X],rules:[{["conditions"]:Qh,endpoint:{["url"]:"https://s3express-control-fips.{Region}.amazonaws.com/{uri_encoded_bucket}",["properties"]:vf,["headers"]:Y},["type"]:"endpoint"},{endpoint:{["url"]:"https://s3express-control.{Region}.amazonaws.com/{uri_encoded_bucket}",["properties"]:vf,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:D3,rules:[{["conditions"]:L1,rules:[{["conditions"]:V1,rules:J1,["type"]:"tree"},{["conditions"]:y1,rules:J1,["type"]:"tree"},pP],["type"]:"tree"},{["conditions"]:V1,rules:Q1,["type"]:"tree"},{["conditions"]:y1,rules:Q1,["type"]:"tree"},pP],["type"]:"tree"},t0],["type"]:"tree"},{["conditions"]:[nP,eP,oP],rules:[{["conditions"]:Ih,endpoint:{["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:vf,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:Qh,endpoint:{["url"]:"https://s3express-control-fips.{Region}.amazonaws.com",["properties"]:vf,["headers"]:Y},["type"]:"endpoint"},{endpoint:{["url"]:"https://s3express-control.{Region}.amazonaws.com",["properties"]:vf,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[SA,{["fn"]:"substring",["argv"]:[Uf,49,50,!0],["assign"]:"hardwareType"},{["fn"]:"substring",["argv"]:[Uf,8,12,!0],["assign"]:"regionPrefix"},{["fn"]:"substring",["argv"]:[Uf,0,7,!0],["assign"]:"bucketAliasSuffix"},{["fn"]:"substring",["argv"]:[Uf,32,49,!0],["assign"]:"outpostId"},{["fn"]:"aws.partition",["argv"]:N3,["assign"]:"regionPartition"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"bucketAliasSuffix"},"--op-s3"]}],rules:[{["conditions"]:q1,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[uP,"e"]}],rules:[{["conditions"]:T1,rules:[tP,{["conditions"]:Ih,endpoint:{["url"]:"https://{Bucket}.ec2.{url#authority}",["properties"]:$A,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"},{endpoint:{["url"]:"https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}",["properties"]:$A,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[uP,"o"]}],rules:[{["conditions"]:T1,rules:[tP,{["conditions"]:Ih,endpoint:{["url"]:"https://{Bucket}.op-{outpostId}.{url#authority}",["properties"]:$A,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"},{endpoint:{["url"]:"https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}",["properties"]:$A,["headers"]:Y},["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"]:jS,rules:[{["conditions"]:[b,{["fn"]:"not",["argv"]:[{["fn"]:"isSet",["argv"]:[{["fn"]:"parseURL",["argv"]:vS}]}]}],error:"Custom endpoint `{Endpoint}` was not a valid URI",["type"]:"error"},{["conditions"]:[f3,c1],rules:[{["conditions"]:rf,rules:[{["conditions"]:m1,rules:[{["conditions"]:[zf,_P],error:"S3 Accelerate cannot be used in this region",["type"]:"error"},{["conditions"]:[K,j,c,X,a],endpoint:{["url"]:"https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:_,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[K,j,c,X,V,e],rules:[{endpoint:f1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[K,j,c,X,V,o],endpoint:f1,["type"]:"endpoint"},{["conditions"]:[Z,j,c,X,a],endpoint:{["url"]:"https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}",["properties"]:_,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[Z,j,c,X,V,e],rules:[{endpoint:h1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[Z,j,c,X,V,o],endpoint:h1,["type"]:"endpoint"},{["conditions"]:[K,L,zf,X,a],endpoint:{["url"]:"https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:_,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[K,L,zf,X,V,e],rules:[{endpoint:R1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[K,L,zf,X,V,o],endpoint:R1,["type"]:"endpoint"},{["conditions"]:[K,L,c,X,a],endpoint:{["url"]:"https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:_,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[K,L,c,X,V,e],rules:[{endpoint:A1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[K,L,c,X,V,o],endpoint:A1,["type"]:"endpoint"},{["conditions"]:[Z,L,c,b,Hf,EA,a],endpoint:{["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",["properties"]:_,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[Z,L,c,b,Hf,h3,a],endpoint:{["url"]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",["properties"]:_,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[Z,L,c,b,Hf,EA,V,e],rules:[{["conditions"]:cf,endpoint:R3,["type"]:"endpoint"},{endpoint:R3,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[Z,L,c,b,Hf,h3,V,e],rules:[{["conditions"]:cf,endpoint:z3,["type"]:"endpoint"},w1],["type"]:"tree"},{["conditions"]:[Z,L,c,b,Hf,EA,V,o],endpoint:R3,["type"]:"endpoint"},{["conditions"]:[Z,L,c,b,Hf,h3,V,o],endpoint:z3,["type"]:"endpoint"},{["conditions"]:[Z,L,zf,X,a],endpoint:{["url"]:"https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",["properties"]:_,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[Z,L,zf,X,V,e],rules:[{["conditions"]:cf,endpoint:A3,["type"]:"endpoint"},{endpoint:A3,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[Z,L,zf,X,V,o],endpoint:A3,["type"]:"endpoint"},{["conditions"]:[Z,L,c,X,a],endpoint:{["url"]:"https://{Bucket}.s3.{partitionResult#dnsSuffix}",["properties"]:_,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[Z,L,c,X,V,e],rules:[{["conditions"]:cf,endpoint:{["url"]:"https://{Bucket}.s3.{partitionResult#dnsSuffix}",["properties"]:d,["headers"]:Y},["type"]:"endpoint"},{endpoint:I1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[Z,L,c,X,V,o],endpoint:I1,["type"]:"endpoint"}],["type"]:"tree"},HA],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[b,Hf,{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[l1,"scheme"]},"http"]},{["fn"]:"aws.isVirtualHostableS3Bucket",["argv"]:[Uf,!0]},f3,L,Z,c],rules:[{["conditions"]:rf,rules:[{["conditions"]:m1,rules:[w1],["type"]:"tree"},HA],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[f3,{["fn"]:"aws.parseArn",["argv"]:KS,["assign"]:"bucketArn"}],rules:[{["conditions"]:[{["fn"]:"getAttr",["argv"]:[sf,"resourceId[0]"],["assign"]:"arnType"},{["fn"]:"not",["argv"]:[{["fn"]:"stringEquals",["argv"]:[b1,""]}]}],rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[w3,"s3-object-lambda"]}],rules:[{["conditions"]:g3,rules:[{["conditions"]:B1,rules:[P1,$1,{["conditions"]:W3,rules:[H1,{["conditions"]:v1,rules:[I3,{["conditions"]:M3,rules:[{["conditions"]:rf,rules:[{["conditions"]:K1,rules:[{["conditions"]:Y3,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[k1,""]}],error:"Invalid ARN: Missing account id",["type"]:"error"},{["conditions"]:X3,rules:[{["conditions"]:j1,rules:[{["conditions"]:Ih,endpoint:{["url"]:"{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}",["properties"]:P3,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:Qh,endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:P3,["headers"]:Y},["type"]:"endpoint"},{endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:P3,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"},U1],["type"]:"tree"},$3],["type"]:"tree"},H3],["type"]:"tree"},U3],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},E1],["type"]:"tree"},{error:"Invalid ARN: bucket ARN is missing a region",["type"]:"error"}],["type"]:"tree"},S1],["type"]:"tree"},{error:"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`",["type"]:"error"}],["type"]:"tree"},{["conditions"]:g3,rules:[{["conditions"]:B1,rules:[{["conditions"]:W3,rules:[{["conditions"]:g3,rules:[{["conditions"]:W3,rules:[H1,{["conditions"]:v1,rules:[I3,{["conditions"]:M3,rules:[{["conditions"]:rf,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[d1,"{partitionResult#name}"]}],rules:[{["conditions"]:Y3,rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[w3,"s3"]}],rules:[{["conditions"]:X3,rules:[{["conditions"]:j1,rules:[{["conditions"]:UA,error:"Access Points do not support S3 Accelerate",["type"]:"error"},{["conditions"]:[j,K],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:AR,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[j,Z],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:AR,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[L,K],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:AR,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[L,Z,b,Hf],endpoint:{["url"]:"{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}",["properties"]:AR,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[L,Z],endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:AR,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"},U1],["type"]:"tree"},$3],["type"]:"tree"},{error:"Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}",["type"]:"error"}],["type"]:"tree"},H3],["type"]:"tree"},U3],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},E1],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[{["fn"]:"isValidHostLabel",["argv"]:[L3,!0]}],rules:[{["conditions"]:F3,error:"S3 MRAP does not support dual-stack",["type"]:"error"},{["conditions"]:Qh,error:"S3 MRAP does not support FIPS",["type"]:"error"},{["conditions"]:UA,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"]:N3,["assign"]:"mrapPartition"}],rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[{["fn"]:"getAttr",["argv"]:[{["ref"]:"mrapPartition"},"name"]},{["fn"]:"getAttr",["argv"]:[sf,"partition"]}]}],rules:[{endpoint:{["url"]:"https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}",["properties"]:{["authSchemes"]:[{["disableDoubleEncoding"]:!0,name:"sigv4a",["signingName"]:"s3",["signingRegionSet"]:OS}]},["headers"]:Y},["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"},S1],["type"]:"tree"},{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[w3,"s3-outposts"]}],rules:[{["conditions"]:F3,error:"S3 Outposts does not support Dual-stack",["type"]:"error"},{["conditions"]:Qh,error:"S3 Outposts does not support FIPS",["type"]:"error"},{["conditions"]:UA,error:"S3 Outposts does not support S3 Accelerate",["type"]:"error"},{["conditions"]:[{["fn"]:"isSet",["argv"]:[{["fn"]:"getAttr",["argv"]:[sf,"resourceId[4]"]}]}],error:"Invalid Arn: Outpost Access Point ARN contains sub resources",["type"]:"error"},{["conditions"]:[{["fn"]:"getAttr",["argv"]:CS,["assign"]:"outpostId"}],rules:[{["conditions"]:q1,rules:[I3,{["conditions"]:M3,rules:[{["conditions"]:rf,rules:[{["conditions"]:K1,rules:[{["conditions"]:Y3,rules:[{["conditions"]:X3,rules:[{["conditions"]:[{["fn"]:"getAttr",["argv"]:lS,["assign"]:"outpostType"}],rules:[{["conditions"]:[{["fn"]:"getAttr",["argv"]:[sf,"resourceId[3]"],["assign"]:"accessPointName"}],rules:[{["conditions"]:[{["fn"]:"stringEquals",["argv"]:[{["ref"]:"outpostType"},"accesspoint"]}],rules:[{["conditions"]:Ih,endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}",["properties"]:s1,["headers"]:Y},["type"]:"endpoint"},{endpoint:{["url"]:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}",["properties"]:s1,["headers"]:Y},["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"},$3],["type"]:"tree"},H3],["type"]:"tree"},U3],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},{error:"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId}`",["type"]:"error"}],["type"]:"tree"},{error:"Invalid ARN: The Outpost Id was not set",["type"]:"error"}],["type"]:"tree"},{error:"Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})",["type"]:"error"}],["type"]:"tree"},{error:"Invalid ARN: No ARN type specified",["type"]:"error"}],["type"]:"tree"},{["conditions"]:[{["fn"]:"substring",["argv"]:[Uf,0,4,!1],["assign"]:"arnPrefix"},{["fn"]:"stringEquals",["argv"]:[{["ref"]:"arnPrefix"},"arn:"]},{["fn"]:"not",["argv"]:[{["fn"]:"isSet",["argv"]:[N1]}]}],error:"Invalid ARN: `{Bucket}` was not a valid ARN",["type"]:"error"},{["conditions"]:[{["fn"]:"booleanEquals",["argv"]:[BS,!0]},N1],error:"Path-style addressing cannot be used with ARN buckets",["type"]:"error"},{["conditions"]:G3,rules:[{["conditions"]:rf,rules:[{["conditions"]:[c],rules:[{["conditions"]:[K,X,j,a],endpoint:{["url"]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:_,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[K,X,j,V,e],rules:[{endpoint:F1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[K,X,j,V,o],endpoint:F1,["type"]:"endpoint"},{["conditions"]:[Z,X,j,a],endpoint:{["url"]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:_,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[Z,X,j,V,e],rules:[{endpoint:G1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[Z,X,j,V,o],endpoint:G1,["type"]:"endpoint"},{["conditions"]:[K,X,L,a],endpoint:{["url"]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:_,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[K,X,L,V,e],rules:[{endpoint:D1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[K,X,L,V,o],endpoint:D1,["type"]:"endpoint"},{["conditions"]:[Z,b,Hf,L,a],endpoint:{["url"]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",["properties"]:_,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[Z,b,Hf,L,V,e],rules:[{["conditions"]:cf,endpoint:E3,["type"]:"endpoint"},{endpoint:E3,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[Z,b,Hf,L,V,o],endpoint:E3,["type"]:"endpoint"},{["conditions"]:[Z,X,L,a],endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:_,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[Z,X,L,V,e],rules:[{["conditions"]:cf,endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",["properties"]:d,["headers"]:Y},["type"]:"endpoint"},{endpoint:g1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[Z,X,L,V,o],endpoint:g1,["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"]:[W1]},{["fn"]:"booleanEquals",["argv"]:[W1,!0]}],rules:[{["conditions"]:rf,rules:[{["conditions"]:O1,rules:[P1,$1,{["conditions"]:Ih,endpoint:{["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:S3,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:Qh,endpoint:{["url"]:"https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}",["properties"]:S3,["headers"]:Y},["type"]:"endpoint"},{endpoint:{["url"]:"https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}",["properties"]:S3,["headers"]:Y},["type"]:"endpoint"}],["type"]:"tree"},HA],["type"]:"tree"}],["type"]:"tree"},{["conditions"]:[nP],rules:[{["conditions"]:rf,rules:[{["conditions"]:O1,rules:[{["conditions"]:[j,K,X,a],endpoint:{["url"]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:_,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[j,K,X,V,e],rules:[{endpoint:M1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[j,K,X,V,o],endpoint:M1,["type"]:"endpoint"},{["conditions"]:[j,Z,X,a],endpoint:{["url"]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}",["properties"]:_,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[j,Z,X,V,e],rules:[{endpoint:Y1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[j,Z,X,V,o],endpoint:Y1,["type"]:"endpoint"},{["conditions"]:[L,K,X,a],endpoint:{["url"]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",["properties"]:_,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[L,K,X,V,e],rules:[{endpoint:X1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[L,K,X,V,o],endpoint:X1,["type"]:"endpoint"},{["conditions"]:[L,Z,b,Hf,a],endpoint:{["url"]:"{url#scheme}://{url#authority}{url#path}",["properties"]:_,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[L,Z,b,Hf,V,e],rules:[{["conditions"]:cf,endpoint:s3,["type"]:"endpoint"},{endpoint:s3,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[L,Z,b,Hf,V,o],endpoint:s3,["type"]:"endpoint"},{["conditions"]:[L,Z,X,a],endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}",["properties"]:_,["headers"]:Y},["type"]:"endpoint"},{["conditions"]:[L,Z,X,V,e],rules:[{["conditions"]:cf,endpoint:{["url"]:"https://s3.{partitionResult#dnsSuffix}",["properties"]:d,["headers"]:Y},["type"]:"endpoint"},{endpoint:z1,["type"]:"endpoint"}],["type"]:"tree"},{["conditions"]:[L,Z,X,V,o],endpoint:z1,["type"]:"endpoint"}],["type"]:"tree"},HA],["type"]:"tree"}],["type"]:"tree"}],["type"]:"tree"},{error:"A region must be set when sending requests to S3.",["type"]:"error"}]},x1=rS;var cS=new a1({size:50,params:["Accelerate","Bucket","DisableAccessPoints","DisableMultiRegionAccessPoints","DisableS3ExpressSessionAuth","Endpoint","ForcePathStyle","Region","UseArnRegion","UseDualStack","UseFIPS","UseGlobalEndpoint","UseObjectLambdaEndpoint","UseS3ExpressControlEndpoint"]}),NA=(f,h={})=>{return cS.get(f,()=>_1(x1,{endpointParams:f,logger:h.logger}))};i1.aws=e1;var bS=(f)=>async(h,R,A)=>{if(!A)throw new Error("Could not find \`input\` for \`defaultEndpointRuleSetHttpAuthSchemeParametersProvider\`");let w=await f(h,R,A),I=hR(R)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!I)throw new Error(`getEndpointParameterInstructions() is not defined on \`${R.commandName}\``);let P=await o1(A,{getEndpointParameterInstructions:I},h);return Object.assign(w,P)},dS=async(f,h,R)=>{return{operation:hR(h).operation,region:await lf(f.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()}},p1=bS(dS);function n1(f){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"s3",region:f.region},propertiesExtractor:(h,R)=>({signingProperties:{config:h,context:R}})}}function u1(f){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"s3",region:f.region},propertiesExtractor:(h,R)=>({signingProperties:{config:h,context:R}})}}var kS=(f,h,R)=>{return(w)=>{let P=f(w).properties?.authSchemes;if(!P)return h(w);let $=[];for(let H of P){let{name:U,properties:s={},...G}=H,D=U.toLowerCase();if(U!==D)console.warn(`HttpAuthScheme has been normalized with lowercasing: \`${U}\` to \`${D}\``);let N;if(D==="sigv4a"){N="aws.auth#sigv4a";let If=P.find((Pf)=>{let Bf=Pf.name.toLowerCase();return Bf!=="sigv4a"&&Bf.startsWith("sigv4")});if(!PA.CrtSignerV4&&If)continue}else if(D.startsWith("sigv4"))N="aws.auth#sigv4";else throw new Error(`Unknown HttpAuthScheme found in \`@smithy.rules#endpointRuleSet\`: \`${D}\``);let M=R[N];if(!M)throw new Error(`Could not find HttpAuthOption create function for \`${N}\``);let Q=M(w);Q.schemeId=N,Q.signingProperties={...Q.signingProperties||{},...G,...s},$.push(Q)}return $}},xS=(f)=>{let h=[];switch(f.operation){default:h.push(n1(f)),h.push(u1(f))}return h},t1=kS(NA,xS,{"aws.auth#sigv4":n1,"aws.auth#sigv4a":u1}),f$=(f)=>{let h=GA.resolveAwsSdkSigV4Config(f);return{...GA.resolveAwsSdkSigV4AConfig(h)}};var h$=(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 Ef extends R${constructor(f){super(f);Object.setPrototypeOf(this,Ef.prototype)}}class DA extends Ef{constructor(f){super({name:"NoSuchUpload",$fault:"client",...f});this.name="NoSuchUpload",this.$fault="client",Object.setPrototypeOf(this,DA.prototype)}}class gA extends Ef{constructor(f){super({name:"ObjectNotInActiveTierError",$fault:"client",...f});this.name="ObjectNotInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,gA.prototype)}}class WA extends Ef{constructor(f){super({name:"BucketAlreadyExists",$fault:"client",...f});this.name="BucketAlreadyExists",this.$fault="client",Object.setPrototypeOf(this,WA.prototype)}}class MA extends Ef{constructor(f){super({name:"BucketAlreadyOwnedByYou",$fault:"client",...f});this.name="BucketAlreadyOwnedByYou",this.$fault="client",Object.setPrototypeOf(this,MA.prototype)}}class YA extends Ef{constructor(f){super({name:"NoSuchBucket",$fault:"client",...f});this.name="NoSuchBucket",this.$fault="client",Object.setPrototypeOf(this,YA.prototype)}}var Z3;(function(f){f.visit=(h,R)=>{if(h.Prefix!==void 0)return R.Prefix(h.Prefix);if(h.Tag!==void 0)return R.Tag(h.Tag);if(h.And!==void 0)return R.And(h.And);return R._(h.$unknown[0],h.$unknown[1])}})(Z3||(Z3={}));var V3;(function(f){f.visit=(h,R)=>{if(h.Prefix!==void 0)return R.Prefix(h.Prefix);if(h.Tag!==void 0)return R.Tag(h.Tag);if(h.ObjectSizeGreaterThan!==void 0)return R.ObjectSizeGreaterThan(h.ObjectSizeGreaterThan);if(h.ObjectSizeLessThan!==void 0)return R.ObjectSizeLessThan(h.ObjectSizeLessThan);if(h.And!==void 0)return R.And(h.And);return R._(h.$unknown[0],h.$unknown[1])}})(V3||(V3={}));var J3;(function(f){f.visit=(h,R)=>{if(h.Prefix!==void 0)return R.Prefix(h.Prefix);if(h.Tag!==void 0)return R.Tag(h.Tag);if(h.AccessPointArn!==void 0)return R.AccessPointArn(h.AccessPointArn);if(h.And!==void 0)return R.And(h.And);return R._(h.$unknown[0],h.$unknown[1])}})(J3||(J3={}));var y3;(function(f){f.visit=(h,R)=>{if(h.Prefix!==void 0)return R.Prefix(h.Prefix);if(h.Tag!==void 0)return R.Tag(h.Tag);if(h.And!==void 0)return R.And(h.And);return R._(h.$unknown[0],h.$unknown[1])}})(y3||(y3={}));class XA extends Ef{constructor(f){super({name:"InvalidObjectState",$fault:"client",...f});this.name="InvalidObjectState",this.$fault="client",Object.setPrototypeOf(this,XA.prototype),this.StorageClass=f.StorageClass,this.AccessTier=f.AccessTier}}class zA extends Ef{constructor(f){super({name:"NoSuchKey",$fault:"client",...f});this.name="NoSuchKey",this.$fault="client",Object.setPrototypeOf(this,zA.prototype)}}class LA extends Ef{constructor(f){super({name:"NotFound",$fault:"client",...f});this.name="NotFound",this.$fault="client",Object.setPrototypeOf(this,LA.prototype)}}var aS=(f)=>({...f,...f.SecretAccessKey&&{SecretAccessKey:Sf},...f.SessionToken&&{SessionToken:Sf}}),A$=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:Sf},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Sf},...f.Credentials&&{Credentials:aS(f.Credentials)}}),w$=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:Sf},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Sf}});var I$=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:Sf}}),P$=(f)=>({...f,...f.SSECustomerKey&&{SSECustomerKey:Sf}});var Uh=x(FA(),1);var UR=x(o0(),1);class ZA extends Ef{constructor(f){super({name:"ObjectAlreadyInActiveTierError",$fault:"client",...f});this.name="ObjectAlreadyInActiveTierError",this.$fault="client",Object.setPrototypeOf(this,ZA.prototype)}}var $$;(function(f){f.visit=(h,R)=>{if(h.Records!==void 0)return R.Records(h.Records);if(h.Stats!==void 0)return R.Stats(h.Stats);if(h.Progress!==void 0)return R.Progress(h.Progress);if(h.Cont!==void 0)return R.Cont(h.Cont);if(h.End!==void 0)return R.End(h.End);return R._(h.$unknown[0],h.$unknown[1])}})($$||($$={}));var H$=(f)=>({...f,...f.SSEKMSKeyId&&{SSEKMSKeyId:Sf},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Sf}}),U$=(f)=>({...f,...f.SSECustomerKey&&{SSECustomerKey:Sf},...f.SSEKMSKeyId&&{SSEKMSKeyId:Sf},...f.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:Sf}});var X$=async(f,h)=>{let R=UR.requestBuilder(f,h),A=l({},Mf,{[sN]:f[Os],[sR]:f[ER],[NR]:f[SR],[lA]:f[CA],[kf]:[()=>Mf(f[Hh]),()=>f[Hh].toString()]});R.bp("/"),R.p("Bucket",()=>f.Bucket,"{Bucket}",!1);let w=l({[$N]:[,""]}),I;return R.m("GET").h(A).q(w).b(I),R.build()};var z$=async(f,h)=>{let R=UR.requestBuilder(f,h),A=l({},Mf,{[_s]:f[Ls],[es]:[()=>Mf(f[E$]),()=>IR(f[E$]).toString()],[a$]:f[K$],[os]:[()=>Mf(f[S$]),()=>IR(f[S$]).toString()],[fN]:f[ys],[rA]:f[jA],[p$]:f[C$],[cA]:f[OA],[Nw]:f[Iw],[Sw]:f[Aw],[SN]:f[Ns]});R.bp("/{Key+}"),R.p("Bucket",()=>f.Bucket,"{Bucket}",!1),R.p("Key",()=>f.Key,"{Key+}",!0);let w=l({[t$]:[,"GetObject"],[hN]:[,f[Qs]],[RN]:[,f[qs]],[AN]:[,f[Ts]],[wN]:[,f[ms]],[IN]:[,f[Bs]],[PN]:[()=>f.ResponseExpires!==void 0,()=>IR(f[vs]).toString()],[UN]:[,f[Pw]],[us]:[()=>f.PartNumber!==void 0,()=>f[Js].toString()]}),I;return R.m("GET").h(A).q(w).b(I),R.build()};var L$=async(f,h)=>{let R=UR.requestBuilder(f,h),A=l({},Mf,{[Nw]:f[Iw],[Sw]:f[Aw],[gN]:[()=>Mf(f[s$]),()=>(f[s$]||[]).map((P)=>P).join(", ")]});R.bp("/"),R.p("Bucket",()=>f.Bucket,"{Bucket}",!1);let w=l({[ps]:[,"2"],[ks]:[,f[QA]],[xs]:[,f[qA]],[ns]:[()=>f.MaxKeys!==void 0,()=>f[mA].toString()],[ts]:[,f[Ph]],[ds]:[,f[yA]],[is]:[()=>f.FetchOwner!==void 0,()=>f[Ws].toString()],[HN]:[,f[BA]]}),I;return R.m("GET").h(A).q(w).b(I),R.build()};var Z$=async(f,h)=>{let R=UR.requestBuilder(f,h),A=l({},Mf,{[k$]:f[v$]||"application/octet-stream",[EN]:f[Ss],[r$]:f[q$],[c$]:f[T$],[b$]:f[m$],[d$]:f[B$],[e3]:[()=>Mf(f[a3]),()=>f[a3].toString()],[cs]:f[Fs],[YN]:f[wR],[$w]:f[t3],[Hw]:f[fw],[Uw]:f[hw],[Ew]:f[Rw],[o3]:[()=>Mf(f[i3]),()=>IR(f[i3]).toString()],[a$]:f[K$],[NN]:f[Ms],[FN]:f[Ys],[GN]:f[Xs],[DN]:f[zs],[sR]:f[ER],[o$]:f[df],[u$]:f[l$],[rA]:f[jA],[p$]:f[C$],[cA]:f[OA],[NR]:f[SR],[lA]:f[CA],[kf]:[()=>Mf(f[Hh]),()=>f[Hh].toString()],[Nw]:f[Iw],[XN]:f[Cs],[e$]:f[O$],[p3]:[()=>Mf(f[_3]),()=>Y$(f[_3]).toString()],[_$]:f[j$],[Sw]:f[Aw],...f.Metadata!==void 0&&Object.keys(f.Metadata).reduce(($,H)=>{return $[`x-amz-meta-${H.toLowerCase()}`]=f.Metadata[H],$},{})});R.bp("/{Key+}"),R.p("Bucket",()=>f.Bucket,"{Bucket}",!1),R.p("Key",()=>f.Key,"{Key+}",!0);let w=l({[t$]:[,"PutObject"]}),I,P;if(f.Body!==void 0)P=f.Body,I=P;return R.m("PUT").h(A).q(w).b(I),R.build()};var V$=async(f,h)=>{if(f.statusCode!==200&&f.statusCode>=300)return KA(f,h);let R=l({$metadata:Gf(f),[ER]:[,f.headers[sR]],[SR]:[,f.headers[NR]],[CA]:[,f.headers[lA]],[Hh]:[()=>f.headers[kf]!==void 0,()=>$h(f.headers[kf])]}),A=Kf(n3(await Uh.parseXmlBody(f.body,h)),"body");if(A[T3]!=null)R[T3]=Es(A[T3],h);return R};var J$=async(f,h)=>{if(f.statusCode!==200&&f.statusCode>=300)return KA(f,h);let R=l({$metadata:Gf(f),[Ds]:[()=>f.headers[F$]!==void 0,()=>$h(f.headers[F$])],[ss]:[,f.headers[rs]],[$R]:[,f.headers[i$]],[js]:[,f.headers[WN]],[TA]:[()=>f.headers[N$]!==void 0,()=>Kf(oh(f.headers[N$]))],[a3]:[()=>f.headers[e3]!==void 0,()=>u3(f.headers[e3])],[PR]:[,f.headers[x$]],[t3]:[,f.headers[$w]],[fw]:[,f.headers[Hw]],[hw]:[,f.headers[Uw]],[Rw]:[,f.headers[Ew]],[Zs]:[()=>f.headers[G$]!==void 0,()=>qh(f.headers[G$])],[Pw]:[,f.headers[n$]],[q$]:[,f.headers[r$]],[T$]:[,f.headers[c$]],[m$]:[,f.headers[b$]],[B$]:[,f.headers[d$]],[Gs]:[,f.headers[bs]],[v$]:[,f.headers[k$]],[i3]:[()=>f.headers[o3]!==void 0,()=>Kf(oh(f.headers[o3]))],[gs]:[,f.headers[as]],[l$]:[,f.headers[u$]],[ER]:[,f.headers[sR]],[jA]:[,f.headers[rA]],[OA]:[,f.headers[cA]],[SR]:[,f.headers[NR]],[Hh]:[()=>f.headers[kf]!==void 0,()=>$h(f.headers[kf])],[df]:[,f.headers[o$]],[ww]:[,f.headers[sw]],[Ks]:[,f.headers[MN]],[Vs]:[()=>f.headers[D$]!==void 0,()=>qh(f.headers[D$])],[ls]:[()=>f.headers[g$]!==void 0,()=>qh(f.headers[g$])],[O$]:[,f.headers[e$]],[_3]:[()=>f.headers[p3]!==void 0,()=>Kf(HR(f.headers[p3]))],[j$]:[,f.headers[_$]],Metadata:[,Object.keys(f.headers).filter((w)=>w.startsWith("x-amz-meta-")).reduce((w,I)=>{return w[I.substring(11)]=f.headers[I],w},{})]}),A=f.body;return h.sdkStreamMixin(A),R.Body=A,R};var y$=async(f,h)=>{if(f.statusCode!==200&&f.statusCode>=300)return KA(f,h);let R=l({$metadata:Gf(f),[ww]:[,f.headers[sw]]}),A=Kf(n3(await Uh.parseXmlBody(f.body,h)),"body");if(A.CommonPrefixes==="")R[VA]=[];else if(A[VA]!=null)R[VA]=Is(vA(A[VA]),h);if(A.Contents==="")R[JA]=[];else if(A[JA]!=null)R[JA]=$s(vA(A[JA]),h);if(A[yA]!=null)R[yA]=k(A[yA]);if(A[QA]!=null)R[QA]=k(A[QA]);if(A[qA]!=null)R[qA]=k(A[qA]);if(A[K3]!=null)R[K3]=$h(A[K3]);if(A[O3]!=null)R[O3]=qh(A[O3]);if(A[mA]!=null)R[mA]=qh(A[mA]);if(A[C3]!=null)R[C3]=k(A[C3]);if(A[l3]!=null)R[l3]=k(A[l3]);if(A[Ph]!=null)R[Ph]=k(A[Ph]);if(A[BA]!=null)R[BA]=k(A[BA]);return R};var Q$=async(f,h)=>{if(f.statusCode!==200&&f.statusCode>=300)return KA(f,h);let R=l({$metadata:Gf(f),[$R]:[,f.headers[i$]],[PR]:[,f.headers[x$]],[t3]:[,f.headers[$w]],[fw]:[,f.headers[Hw]],[hw]:[,f.headers[Uw]],[Rw]:[,f.headers[Ew]],[ER]:[,f.headers[sR]],[Pw]:[,f.headers[n$]],[jA]:[,f.headers[rA]],[OA]:[,f.headers[cA]],[SR]:[,f.headers[NR]],[CA]:[,f.headers[lA]],[Hh]:[()=>f.headers[kf]!==void 0,()=>$h(f.headers[kf])],[ww]:[,f.headers[sw]]});return await W$(f.body,h),R};var KA=async(f,h)=>{let R={...f,body:await Uh.parseXmlErrorBody(f.body,h)},A=Uh.loadRestXmlErrorCode(f,R.body);switch(A){case"NoSuchUpload":case"com.amazonaws.s3#NoSuchUpload":throw await tS(R,h);case"ObjectNotInActiveTierError":case"com.amazonaws.s3#ObjectNotInActiveTierError":throw await Rs(R,h);case"BucketAlreadyExists":case"com.amazonaws.s3#BucketAlreadyExists":throw await eS(R,h);case"BucketAlreadyOwnedByYou":case"com.amazonaws.s3#BucketAlreadyOwnedByYou":throw await oS(R,h);case"NoSuchBucket":case"com.amazonaws.s3#NoSuchBucket":throw await nS(R,h);case"InvalidObjectState":case"com.amazonaws.s3#InvalidObjectState":throw await pS(R,h);case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await uS(R,h);case"NotFound":case"com.amazonaws.s3#NotFound":throw await fs(R,h);case"ObjectAlreadyInActiveTierError":case"com.amazonaws.s3#ObjectAlreadyInActiveTierError":throw await hs(R,h);default:let w=R.body;return _S({output:f,parsedBody:w,errorCode:A})}},_S=M$(Ef),eS=async(f,h)=>{let R=l({}),A=f.body,w=new WA({$metadata:Gf(f),...R});return Qf(w,f.body)},oS=async(f,h)=>{let R=l({}),A=f.body,w=new MA({$metadata:Gf(f),...R});return Qf(w,f.body)},pS=async(f,h)=>{let R=l({}),A=f.body;if(A[q3]!=null)R[q3]=k(A[q3]);if(A[df]!=null)R[df]=k(A[df]);let w=new XA({$metadata:Gf(f),...R});return Qf(w,f.body)},nS=async(f,h)=>{let R=l({}),A=f.body,w=new YA({$metadata:Gf(f),...R});return Qf(w,f.body)},uS=async(f,h)=>{let R=l({}),A=f.body,w=new zA({$metadata:Gf(f),...R});return Qf(w,f.body)},tS=async(f,h)=>{let R=l({}),A=f.body,w=new DA({$metadata:Gf(f),...R});return Qf(w,f.body)},fs=async(f,h)=>{let R=l({}),A=f.body,w=new LA({$metadata:Gf(f),...R});return Qf(w,f.body)},hs=async(f,h)=>{let R=l({}),A=f.body,w=new ZA({$metadata:Gf(f),...R});return Qf(w,f.body)},Rs=async(f,h)=>{let R=l({}),A=f.body,w=new gA({$metadata:Gf(f),...R});return Qf(w,f.body)};var As=(f,h)=>{return(f||[]).filter((R)=>R!=null).map((R)=>{return k(R)})},ws=(f,h)=>{let R={};if(f[Ph]!=null)R[Ph]=k(f[Ph]);return R},Is=(f,h)=>{return(f||[]).filter((R)=>R!=null).map((R)=>{return ws(R,h)})};var Ps=(f,h)=>{let R={};if(f[j3]!=null)R[j3]=k(f[j3]);if(f[TA]!=null)R[TA]=Kf(HR(f[TA]));if(f[PR]!=null)R[PR]=k(f[PR]);if(f.ChecksumAlgorithm==="")R[wR]=[];else if(f[wR]!=null)R[wR]=As(vA(f[wR]),h);if(f[x3]!=null)R[x3]=u3(f[x3]);if(f[df]!=null)R[df]=k(f[df]);if(f[r3]!=null)R[r3]=Hs(f[r3],h);if(f[b3]!=null)R[b3]=Us(f[b3],h);return R},$s=(f,h)=>{return(f||[]).filter((R)=>R!=null).map((R)=>{return Ps(R,h)})};var Hs=(f,h)=>{let R={};if(f[m3]!=null)R[m3]=k(f[m3]);if(f[B3]!=null)R[B3]=k(f[B3]);return R};var Us=(f,h)=>{let R={};if(f[v3]!=null)R[v3]=$h(f[v3]);if(f[c3]!=null)R[c3]=Kf(HR(f[c3]));return R};var Es=(f,h)=>{let R={};if(f[Q3]!=null)R[Q3]=k(f[Q3]);if(f[d3]!=null)R[d3]=k(f[d3]);if(f[k3]!=null)R[k3]=k(f[k3]);if(f[$R]!=null)R[$R]=Kf(HR(f[$R]));return R};var Gf=(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 Ss="ACL";var Q3="AccessKeyId";var ss="AcceptRanges";var q3="AccessTier";var Hh="BucketKeyEnabled";var T3="Credentials",wR="ChecksumAlgorithm";var q$="CacheControl",t3="ChecksumCRC32",fw="ChecksumCRC32C",T$="ContentDisposition";var m$="ContentEncoding";var B$="ContentLanguage",a3="ContentLength",Ns="ChecksumMode",Fs="ContentMD5";var VA="CommonPrefixes";var Gs="ContentRange";var hw="ChecksumSHA1",Rw="ChecksumSHA256";var v$="ContentType",yA="ContinuationToken";var JA="Contents";var QA="Delimiter";var Ds="DeleteMarker";var m3="DisplayName";var i3="Expires";var Aw="ExpectedBucketOwner";var gs="ExpiresString";var qA="EncodingType",PR="ETag";var $R="Expiration";var Ws="FetchOwner";var Ms="GrantFullControl";var Ys="GrantRead",Xs="GrantReadACP";var zs="GrantWriteACP";var B3="ID";var Ls="IfMatch",E$="IfModifiedSince",K$="IfNoneMatch";var v3="IsRestoreInProgress";var K3="IsTruncated";var S$="IfUnmodifiedSince";var j3="Key",O3="KeyCount";var TA="LastModified";var mA="MaxKeys";var Zs="MissingMeta";var C3="Name";var l3="NextContinuationToken";var r3="Owner";var j$="ObjectLockLegalHoldStatus",O$="ObjectLockMode";var _3="ObjectLockRetainUntilDate";var s$="OptionalObjectAttributes";var Ph="Prefix";var Vs="PartsCount";var Js="PartNumber";var ys="Range";var ww="RequestCharged",Qs="ResponseCacheControl",qs="ResponseContentDisposition",Ts="ResponseContentEncoding",ms="ResponseContentLanguage",Bs="ResponseContentType";var vs="ResponseExpires",c3="RestoreExpiryDate";var Iw="RequestPayer";var Ks="ReplicationStatus",b3="RestoreStatus";var js="Restore";var BA="StartAfter",d3="SecretAccessKey";var df="StorageClass";var Os="SessionMode";var ER="ServerSideEncryption";var jA="SSECustomerAlgorithm",C$="SSECustomerKey",OA="SSECustomerKeyMD5";var CA="SSEKMSEncryptionContext",SR="SSEKMSKeyId";var k3="SessionToken";var x3="Size";var Cs="Tagging";var ls="TagCount";var Pw="VersionId";var l$="WebsiteRedirectLocation";var rs="accept-ranges";var r$="cache-control",c$="content-disposition",b$="content-encoding",d$="content-language",e3="content-length",cs="content-md5",bs="content-range",k$="content-type",ds="continuation-token";var ks="delimiter",o3="expires";var xs="encoding-type",x$="etag",as="expiresstring",is="fetch-owner";var _s="if-match",es="if-modified-since";var a$="if-none-match";var os="if-unmodified-since";var N$="last-modified";var ps="list-type";var ns="max-keys";var us="partNumber";var ts="prefix";var fN="range",hN="response-cache-control",RN="response-content-disposition",AN="response-content-encoding",wN="response-content-language",IN="response-content-type",PN="response-expires";var $N="session",HN="start-after";var UN="versionId";var EN="x-amz-acl";var $w="x-amz-checksum-crc32",Hw="x-amz-checksum-crc32c",SN="x-amz-checksum-mode";var Uw="x-amz-checksum-sha1",Ew="x-amz-checksum-sha256";var sN="x-amz-create-session-mode";var F$="x-amz-delete-marker",i$="x-amz-expiration",Sw="x-amz-expected-bucket-owner";var NN="x-amz-grant-full-control",FN="x-amz-grant-read",GN="x-amz-grant-read-acp";var DN="x-amz-grant-write-acp";var G$="x-amz-missing-meta";var D$="x-amz-mp-parts-count";var _$="x-amz-object-lock-legal-hold",e$="x-amz-object-lock-mode",p3="x-amz-object-lock-retain-until-date";var gN="x-amz-optional-object-attributes";var WN="x-amz-restore",sw="x-amz-request-charged";var Nw="x-amz-request-payer";var MN="x-amz-replication-status";var o$="x-amz-storage-class",YN="x-amz-sdk-checksum-algorithm";var sR="x-amz-server-side-encryption",NR="x-amz-server-side-encryption-aws-kms-key-id",kf="x-amz-server-side-encryption-bucket-key-enabled",lA="x-amz-server-side-encryption-context",rA="x-amz-server-side-encryption-customer-algorithm",p$="x-amz-server-side-encryption-customer-key",cA="x-amz-server-side-encryption-customer-key-md5",XN="x-amz-tagging",g$="x-amz-tagging-count";var n$="x-amz-version-id",u$="x-amz-website-redirect-location",t$="x-id";class Fw extends xf.classBuilder().ep({...bf,DisableS3ExpressSessionAuth:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(f,h,R,A){return[af(R,this.serialize,this.deserialize),_f(R,f.getEndpointParameterInstructions()),Vh(R)]}).s("AmazonS3","CreateSession",{}).n("S3Client","CreateSessionCommand").f(w$,A$).ser(X$).de(V$).build(){}var fH={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 aA=x(FA(),1);var LN="AWS_S3_USE_ARN_REGION",ZN="s3_use_arn_region",hH={environmentVariableSelector:(f)=>Ah(f,LN,wh.ENV),configFileSelector:(f)=>Ah(f,ZN,wh.CONFIG),default:!1};var ef=x(Lh(),1);var AH=x(Lh(),1);class Th{constructor(f){if(this.bytes=f,f.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(f){if(f>9223372036854776000||f<-9223372036854776000)throw new Error(`${f} is too large (or, if negative, too small) to represent as an Int64`);let h=new Uint8Array(8);for(let R=7,A=Math.abs(Math.round(f));R>-1&&A>0;R--,A/=256)h[R]=A;if(f<0)RH(h);return new Th(h)}valueOf(){let f=this.bytes.slice(0),h=f[0]&128;if(h)RH(f);return parseInt(AH.toHex(f),16)*(h?-1:1)}toString(){return String(this.valueOf())}}function RH(f){for(let h=0;h<8;h++)f[h]^=255;for(let h=7;h>-1;h--)if(f[h]++,f[h]!==0)break}class Gw{constructor(f,h){this.toUtf8=f,this.fromUtf8=h}format(f){let h=[];for(let w of Object.keys(f)){let I=this.fromUtf8(w);h.push(Uint8Array.from([I.byteLength]),I,this.formatHeaderValue(f[w]))}let R=new Uint8Array(h.reduce((w,I)=>w+I.byteLength,0)),A=0;for(let w of h)R.set(w,A),A+=w.byteLength;return R}formatHeaderValue(f){switch(f.type){case"boolean":return Uint8Array.from([f.value?0:1]);case"byte":return Uint8Array.from([2,f.value]);case"short":let h=new DataView(new ArrayBuffer(3));return h.setUint8(0,3),h.setInt16(1,f.value,!1),new Uint8Array(h.buffer);case"integer":let R=new DataView(new ArrayBuffer(5));return R.setUint8(0,4),R.setInt32(1,f.value,!1),new Uint8Array(R.buffer);case"long":let A=new Uint8Array(9);return A[0]=5,A.set(f.value.bytes,1),A;case"binary":let w=new DataView(new ArrayBuffer(3+f.value.byteLength));w.setUint8(0,6),w.setUint16(1,f.value.byteLength,!1);let I=new Uint8Array(w.buffer);return I.set(f.value,3),I;case"string":let P=this.fromUtf8(f.value),$=new DataView(new ArrayBuffer(3+P.byteLength));$.setUint8(0,7),$.setUint16(1,P.byteLength,!1);let H=new Uint8Array($.buffer);return H.set(P,3),H;case"timestamp":let U=new Uint8Array(9);return U[0]=8,U.set(Th.fromNumber(f.value.valueOf()).bytes,1),U;case"uuid":if(!dN.test(f.value))throw new Error(`Invalid UUID received: ${f.value}`);let s=new Uint8Array(17);return s[0]=9,s.set(ef.fromHex(f.value.replace(/\-/g,"")),1),s}}parse(f){let h={},R=0;while(R<f.byteLength){let A=f.getUint8(R++),w=this.toUtf8(new Uint8Array(f.buffer,f.byteOffset+R,A));switch(R+=A,f.getUint8(R++)){case 0:h[w]={type:IH,value:!0};break;case 1:h[w]={type:IH,value:!1};break;case 2:h[w]={type:KN,value:f.getInt8(R++)};break;case 3:h[w]={type:jN,value:f.getInt16(R,!1)},R+=2;break;case 4:h[w]={type:ON,value:f.getInt32(R,!1)},R+=4;break;case 5:h[w]={type:CN,value:new Th(new Uint8Array(f.buffer,f.byteOffset+R,8))},R+=8;break;case 6:let I=f.getUint16(R,!1);R+=2,h[w]={type:lN,value:new Uint8Array(f.buffer,f.byteOffset+R,I)},R+=I;break;case 7:let P=f.getUint16(R,!1);R+=2,h[w]={type:rN,value:this.toUtf8(new Uint8Array(f.buffer,f.byteOffset+R,P))},R+=P;break;case 8:h[w]={type:cN,value:new Date(new Th(new Uint8Array(f.buffer,f.byteOffset+R,8)).valueOf())},R+=8;break;case 9:let $=new Uint8Array(f.buffer,f.byteOffset+R,16);R+=16,h[w]={type:bN,value:`${ef.toHex($.subarray(0,4))}-${ef.toHex($.subarray(4,6))}-${ef.toHex($.subarray(6,8))}-${ef.toHex($.subarray(8,10))}-${ef.toHex($.subarray(10))}`};break;default:throw new Error("Unrecognized header type tag")}}return h}}var wH;(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"})(wH||(wH={}));var IH="boolean",KN="byte",jN="short",ON="integer",CN="long",lN="binary",rN="string",cN="timestamp",bN="uuid",dN=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;var PH=4,of=PH*2,Eh=4,kN=of+Eh*2;function $H({byteLength:f,byteOffset:h,buffer:R}){if(f<kN)throw new Error("Provided message too short to accommodate event stream message overhead");let A=new DataView(R,h,f),w=A.getUint32(0,!1);if(f!==w)throw new Error("Reported message length does not match received message length");let I=A.getUint32(PH,!1),P=A.getUint32(of,!1),$=A.getUint32(f-Eh,!1),H=new Rh().update(new Uint8Array(R,h,of));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(R,h+of,f-(of+Eh))),$!==H.digest())throw new Error(`The message checksum (${H.digest()}) did not match the expected value of ${$}`);return{headers:new DataView(R,h+of+Eh,I),body:new Uint8Array(R,h+of+Eh+I,w-I-(of+Eh+Eh))}}class Dw{constructor(f,h){this.headerMarshaller=new Gw(f,h),this.messageBuffer=[],this.isEndOfStream=!1}feed(f){this.messageBuffer.push(this.decode(f))}endOfStream(){this.isEndOfStream=!0}getMessage(){let f=this.messageBuffer.pop(),h=this.isEndOfStream;return{getMessage(){return f},isEndOfStream(){return h}}}getAvailableMessages(){let f=this.messageBuffer;this.messageBuffer=[];let h=this.isEndOfStream;return{getMessages(){return f},isEndOfStream(){return h}}}encode({headers:f,body:h}){let R=this.headerMarshaller.format(f),A=R.byteLength+h.byteLength+16,w=new Uint8Array(A),I=new DataView(w.buffer,w.byteOffset,w.byteLength),P=new Rh;return I.setUint32(0,A,!1),I.setUint32(4,R.byteLength,!1),I.setUint32(8,P.update(w.subarray(0,8)).digest(),!1),w.set(R,12),w.set(h,R.byteLength+12),I.setUint32(A-4,P.update(w.subarray(8,A-4)).digest(),!1),w}decode(f){let{headers:h,body:R}=$H(f);return{headers:this.headerMarshaller.parse(h),body:R}}formatHeaders(f){return this.headerMarshaller.format(f)}}class gw{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 Ww{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 Mw{constructor(f){this.options=f}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let f of this.options.messageStream){let h=await this.options.deserializer(f);if(h===void 0)continue;yield h}}}class Yw{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 HH(f){let h=0,R=0,A=null,w=null,I=($)=>{if(typeof $!=="number")throw new Error("Attempted to allocate an event message where size was not a number: "+$);h=$,R=4,A=new Uint8Array($),new DataView(A.buffer).setUint32(0,$,!1)},P=async function*(){let $=f[Symbol.asyncIterator]();while(!0){let{value:H,done:U}=await $.next();if(U){if(!h)return;else if(h===R)yield A;else throw new Error("Truncated event message received.");return}let s=H.length,G=0;while(G<s){if(!A){let N=s-G;if(!w)w=new Uint8Array(4);let M=Math.min(4-R,N);if(w.set(H.slice(G,G+M),R),R+=M,G+=M,R<4)break;I(new DataView(w.buffer).getUint32(0,!1)),w=null}let D=Math.min(h-R,s-G);if(A.set(H.slice(G,G+D),R),R+=D,G+=D,h&&h===R)yield A,A=null,h=0,R=0}}};return{[Symbol.asyncIterator]:P}}function UH(f,h){return async function(R){let{value:A}=R.headers[":message-type"];if(A==="error"){let w=new Error(R.headers[":error-message"].value||"UnknownError");throw w.name=R.headers[":error-code"].value,w}else if(A==="exception"){let w=R.headers[":exception-type"].value,I={[w]:R},P=await f(I);if(P.$unknown){let $=new Error(h(R.body));throw $.name=w,$}throw P[w]}else if(A==="event"){let w={[R.headers[":event-type"].value]:R},I=await f(w);if(I.$unknown)return;return I}else throw Error(`Unrecognizable event type: ${R.headers[":event-type"].value}`)}}class bA{constructor({utf8Encoder:f,utf8Decoder:h}){this.eventStreamCodec=new Dw(f,h),this.utfEncoder=f}deserialize(f,h){let R=HH(f);return new Mw({messageStream:new gw({inputStream:R,decoder:this.eventStreamCodec}),deserializer:UH(h,this.utfEncoder)})}serialize(f,h){return new Ww({messageStream:new Yw({inputStream:f,serializer:h}),encoder:this.eventStreamCodec,includeEndFrame:!0})}}import{Readable as xN}from"stream";async function*EH(f){let h=!1,R=!1,A=new Array;f.on("error",(w)=>{if(!h)h=!0;if(w)throw w}),f.on("data",(w)=>{A.push(w)}),f.on("end",()=>{h=!0});while(!R){let w=await new Promise((I)=>setTimeout(()=>I(A.shift()),0));if(w)yield w;R=h&&A.length===0}}class Xw{constructor({utf8Encoder:f,utf8Decoder:h}){this.universalMarshaller=new bA({utf8Decoder:h,utf8Encoder:f})}deserialize(f,h){let R=typeof f[Symbol.asyncIterator]==="function"?f:EH(f);return this.universalMarshaller.deserialize(R,h)}serialize(f,h){return xN.from(this.universalMarshaller.serialize(f,h))}}var SH=(f)=>new Xw(f);import{Writable as aN}from"stream";class dA extends aN{constructor(f,h){super(h);this.hash=f}_write(f,h,R){try{this.hash.update(Wf(f))}catch(A){return R(A)}R()}}var sH=(f,h)=>{if(h.readableFlowing!==null)throw new Error("Unable to calculate hash for flowing readable stream");let R=new f,A=new dA(R);return h.pipe(A),new Promise((w,I)=>{h.on("error",(P)=>{A.end(),I(P)}),A.on("error",I),A.on("finish",()=>{R.digest().then(w).catch(I)})})};var kA=x(FA(),1);var MH=(f)=>{return{apiVersion:"2006-03-01",base64Decoder:f?.base64Decoder??FH,base64Encoder:f?.base64Encoder??GH,disableHostPrefix:f?.disableHostPrefix??!1,endpointProvider:f?.endpointProvider??NA,extensions:f?.extensions??[],getAwsChunkedEncodingStream:f?.getAwsChunkedEncodingStream??DH,httpAuthSchemeProvider:f?.httpAuthSchemeProvider??t1,httpAuthSchemes:f?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(h)=>h.getIdentityProvider("aws.auth#sigv4"),signer:new kA.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(h)=>h.getIdentityProvider("aws.auth#sigv4a"),signer:new kA.AwsSdkSigV4ASigner}],logger:f?.logger??new oR,sdkStreamMixin:f?.sdkStreamMixin??gH,serviceId:f?.serviceId??"S3",signerConstructor:f?.signerConstructor??u0,signingEscapePath:f?.signingEscapePath??!1,urlParser:f?.urlParser??WH,useArnRegion:f?.useArnRegion??!1,utf8Decoder:f?.utf8Decoder??uh,utf8Encoder:f?.utf8Encoder??NH}};var jH=(f)=>{LH(process.version);let h=vH(f),R=()=>h().then(zH),A=MH(f);return aA.emitWarningIfUnsupportedVersion(process.version),{...A,...f,runtime:"node",defaultsMode:h,bodyLengthChecker:f?.bodyLengthChecker??BH,credentialDefaultProvider:f?.credentialDefaultProvider??KH,defaultUserAgentProvider:f?.defaultUserAgentProvider??mH({serviceId:A.serviceId,clientVersion:fH.version}),disableS3ExpressSessionAuth:f?.disableS3ExpressSessionAuth??Lf(_0),eventStreamSerdeProvider:f?.eventStreamSerdeProvider??SH,maxAttempts:f?.maxAttempts??Lf(qH),md5:f?.md5??xA.bind(null,"md5"),region:f?.region??Lf(JH,yH),requestChecksumCalculation:f?.requestChecksumCalculation??Lf(OI),requestHandler:YH.create(f?.requestHandler??R),responseChecksumValidation:f?.responseChecksumValidation??Lf(CI),retryMode:f?.retryMode??Lf({...TH,default:async()=>(await R()).retryMode||QH}),sha1:f?.sha1??xA.bind(null,"sha1"),sha256:f?.sha256??xA.bind(null,"sha256"),sigv4aSigningRegionSet:f?.sigv4aSigningRegionSet??Lf(aA.NODE_SIGV4A_CONFIG_OPTIONS),streamCollector:f?.streamCollector??XH,streamHasher:f?.streamHasher??sH,useArnRegion:f?.useArnRegion??Lf(hH),useDualstackEndpoint:f?.useDualstackEndpoint??Lf(ZH),useFipsEndpoint:f?.useFipsEndpoint??Lf(VH)}};var OH=(f)=>{let{httpAuthSchemes:h,httpAuthSchemeProvider:R,credentials:A}=f;return{setHttpAuthScheme(w){let I=h.findIndex((P)=>P.schemeId===w.schemeId);if(I===-1)h.push(w);else h.splice(I,1,w)},httpAuthSchemes(){return h},setHttpAuthSchemeProvider(w){R=w},httpAuthSchemeProvider(){return R},setCredentials(w){A=w},credentials(){return A}}},CH=(f)=>{return{httpAuthSchemes:f.httpAuthSchemes(),httpAuthSchemeProvider:f.httpAuthSchemeProvider(),credentials:f.credentials()}};var iA=(f)=>f,xH=(f,h)=>{let R={...iA(dH(f)),...iA(cH(f)),...iA(lH(f)),...iA(OH(f))};return h.forEach((A)=>A.configure(R)),{...f,...kH(R),...bH(R),...rH(R),...CH(R)}};class zw extends oH{constructor(...[f]){let h=jH(f||{}),R=h$(h),A=pH(R),w=nI(A),I=hU(w),P=uH(I),$=aH(P),H=fU($),U=iP(H),s=f$(U),G=cP(s,{session:[()=>this,Fw]}),D=xH(G,f?.extensions||[]);super(D);this.config=D,this.middlewareStack.use(nH(this.config)),this.middlewareStack.use(RU(this.config)),this.middlewareStack.use(tH(this.config)),this.middlewareStack.use(iH(this.config)),this.middlewareStack.use(_H(this.config)),this.middlewareStack.use(eH(this.config)),this.middlewareStack.use(mh.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:p1,identityProviderConfigProvider:async(N)=>new mh.DefaultIdentityProviderConfig({"aws.auth#sigv4":N.credentials,"aws.auth#sigv4a":N.credentials})})),this.middlewareStack.use(mh.getHttpSigningPlugin(this.config)),this.middlewareStack.use(aP(this.config)),this.middlewareStack.use(BI(this.config)),this.middlewareStack.use(hP(this.config)),this.middlewareStack.use(e0(this.config)),this.middlewareStack.use(p0(this.config))}destroy(){super.destroy()}}function iN(f){return(h)=>async(R)=>{let A={...R.input},w=[{target:"SSECustomerKey",hash:"SSECustomerKeyMD5"},{target:"CopySourceSSECustomerKey",hash:"CopySourceSSECustomerKeyMD5"}];for(let I of w){let P=A[I.target];if(P){let $;if(typeof P==="string")if(eN(P,f))$=f.base64Decoder(P);else $=f.utf8Decoder(P),A[I.target]=f.base64Encoder($);else $=ArrayBuffer.isView(P)?new Uint8Array(P.buffer,P.byteOffset,P.byteLength):new Uint8Array(P),A[I.target]=f.base64Encoder($);let H=new f.md5;H.update($),A[I.hash]=f.base64Encoder(await H.digest())}}return h({...R,input:A})}}var _N={name:"ssecMiddleware",step:"initialize",tags:["SSE"],override:!0},_A=(f)=>({applyToStack:(h)=>{h.add(iN(f),_N)}});function eN(f,h){if(!/^(?:[A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(f))return!1;try{return h.base64Decoder(f).length===32}catch{return!1}}class Lw extends xf.classBuilder().ep({...bf,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(f,h,R,A){return[af(R,this.serialize,this.deserialize),_f(R,f.getEndpointParameterInstructions()),eR(R,{input:this.input,requestChecksumRequired:!1,requestValidationModeMember:"ChecksumMode",responseAlgorithms:["CRC32","CRC32C","SHA256","SHA1"]}),_A(R),RP(R)]}).s("AmazonS3","GetObject",{}).n("S3Client","GetObjectCommand").f(P$,I$).ser(z$).de(J$).build(){}class Zw extends xf.classBuilder().ep({...bf,Bucket:{type:"contextParams",name:"Bucket"},Prefix:{type:"contextParams",name:"Prefix"}}).m(function(f,h,R,A){return[af(R,this.serialize,this.deserialize),_f(R,f.getEndpointParameterInstructions()),Vh(R)]}).s("AmazonS3","ListObjectsV2",{}).n("S3Client","ListObjectsV2Command").f(void 0,void 0).ser(L$).de(y$).build(){}class Vw extends xf.classBuilder().ep({...bf,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(f,h,R,A){return[af(R,this.serialize,this.deserialize),_f(R,f.getEndpointParameterInstructions()),eR(R,{input:this.input,requestAlgorithmMember:"ChecksumAlgorithm",requestChecksumRequired:!1}),uI(R),Vh(R),_A(R)]}).s("AmazonS3","PutObject",{}).n("S3Client","PutObjectCommand").f(U$,H$).ser(Z$).de(Q$).build(){}import{Buffer as AU}from"buffer";class wU extends Dh{client;constructor(...f){super();this.client=new zw(...f)}async put(f){let h,R,A,w=process.env.BUCKET_NAME;if(f instanceof Blob)h=f,A=`${CR()}.${f.type.split("/")[1].split(";")[0]}`,R=f.type;else h=f.body,A=f.name,w=f.bucket??w,R=f.contentType;R=h instanceof Blob||h instanceof File?h.type:void 0;let I=h instanceof AU?h:AU.from(await h.arrayBuffer());return await this.client.send(new Vw({Bucket:w,Key:A,Body:I,ContentType:R})),A}async list(f){return await this.client.send(new Zw({Bucket:process.env.BUCKET_NAME,Prefix:f}))}async fetch(f){let h=process.env.BUCKET_NAME,R;if(typeof f==="string")R=f;else h=f.bucket??h,R=f.name;if(!R)throw new Error("Object name has to be specified");let A=await this.client.send(new Lw({Bucket:h,Key:R}));return new Response(A.Body.transformToWebStream(),{headers:{"Content-Type":A.ContentType,"Content-Length":A.ContentLength.toString(),"Cache-Control":"private, max-age=12000, must-revalidate","Last-Modified":A.LastModified?.toUTCString()||"",ETag:A.ETag||""}})}}class eA{}class oA extends eA{requests=new Map;consume(f,h){if(!this.requests.has(f))this.requests.set(f,{date:Date.now(),count:1});else{let R=this.requests.get(f),A=Date.now();if(A-R.date>=60000)this.requests.set(f,{date:A,count:1});else this.requests.set(f,{date:R.date,count:R.count+1})}return this.requests.get(f).count}}class IU extends i{driver=new oA;boot(){}}import*as rg from"react-dom/server";var J;(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"})(J||(J={}));function PU(f){return f.type===J.Tag||f.type===J.Script||f.type===J.Style}var{Root:$U,Text:HU,Directive:UU,Comment:EU,Script:SU,Style:sU,Tag:NU,CDATA:FU,Doctype:GU}=J;class yw{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(f){this.parent=f}get previousSibling(){return this.prev}set previousSibling(f){this.prev=f}get nextSibling(){return this.next}set nextSibling(f){this.next=f}cloneNode(f=!1){return gU(this,f)}}class pA extends yw{constructor(f){super();this.data=f}get nodeValue(){return this.data}set nodeValue(f){this.data=f}}class FR extends pA{constructor(){super(...arguments);this.type=J.Text}get nodeType(){return 3}}class nA extends pA{constructor(){super(...arguments);this.type=J.Comment}get nodeType(){return 8}}class uA extends pA{constructor(f,h){super(h);this.name=f,this.type=J.Directive}get nodeType(){return 1}}class tA extends yw{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 f0 extends tA{constructor(){super(...arguments);this.type=J.CDATA}get nodeType(){return 4}}class GR extends tA{constructor(){super(...arguments);this.type=J.Root}get nodeType(){return 9}}class h0 extends tA{constructor(f,h,R=[],A=f==="script"?J.Script:f==="style"?J.Style:J.Tag){super(R);this.name=f,this.attribs=h,this.type=A}get nodeType(){return 1}get tagName(){return this.name}set tagName(f){this.name=f}get attributes(){return Object.keys(this.attribs).map((f)=>{var h,R;return{name:f,value:this.attribs[f],namespace:(h=this["x-attribsNamespace"])===null||h===void 0?void 0:h[f],prefix:(R=this["x-attribsPrefix"])===null||R===void 0?void 0:R[f]}})}}function R0(f){return PU(f)}function oN(f){return f.type===J.CDATA}function pN(f){return f.type===J.Text}function nN(f){return f.type===J.Comment}function uN(f){return f.type===J.Directive}function tN(f){return f.type===J.Root}function gU(f,h=!1){let R;if(pN(f))R=new FR(f.data);else if(nN(f))R=new nA(f.data);else if(R0(f)){let A=h?Jw(f.children):[],w=new h0(f.name,{...f.attribs},A);if(A.forEach((I)=>I.parent=w),f.namespace!=null)w.namespace=f.namespace;if(f["x-attribsNamespace"])w["x-attribsNamespace"]={...f["x-attribsNamespace"]};if(f["x-attribsPrefix"])w["x-attribsPrefix"]={...f["x-attribsPrefix"]};R=w}else if(oN(f)){let A=h?Jw(f.children):[],w=new f0(A);A.forEach((I)=>I.parent=w),R=w}else if(tN(f)){let A=h?Jw(f.children):[],w=new GR(A);if(A.forEach((I)=>I.parent=w),f["x-mode"])w["x-mode"]=f["x-mode"];R=w}else if(uN(f)){let A=new uA(f.name,f.data);if(f["x-name"]!=null)A["x-name"]=f["x-name"],A["x-publicId"]=f["x-publicId"],A["x-systemId"]=f["x-systemId"];R=A}else throw new Error(`Not implemented yet: ${f.type}`);if(R.startIndex=f.startIndex,R.endIndex=f.endIndex,f.sourceCodeLocation!=null)R.sourceCodeLocation=f.sourceCodeLocation;return R}function Jw(f){let h=f.map((R)=>gU(R,!0));for(let R=1;R<h.length;R++)h[R].prev=h[R-1],h[R-1].next=h[R];return h}var WU={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class Qw{constructor(f,h,R){if(this.dom=[],this.root=new GR(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof h==="function")R=h,h=WU;if(typeof f==="object")h=f,f=void 0;this.callback=f!==null&&f!==void 0?f:null,this.options=h!==null&&h!==void 0?h:WU,this.elementCB=R!==null&&R!==void 0?R:null}onparserinit(f){this.parser=f}onreset(){this.dom=[],this.root=new GR(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){if(this.done)return;this.done=!0,this.parser=null,this.handleCallback(null)}onerror(f){this.handleCallback(f)}onclosetag(){this.lastNode=null;let f=this.tagStack.pop();if(this.options.withEndIndices)f.endIndex=this.parser.endIndex;if(this.elementCB)this.elementCB(f)}onopentag(f,h){let R=this.options.xmlMode?J.Tag:void 0,A=new h0(f,h,void 0,R);this.addNode(A),this.tagStack.push(A)}ontext(f){let{lastNode:h}=this;if(h&&h.type===J.Text){if(h.data+=f,this.options.withEndIndices)h.endIndex=this.parser.endIndex}else{let R=new FR(f);this.addNode(R),this.lastNode=R}}oncomment(f){if(this.lastNode&&this.lastNode.type===J.Comment){this.lastNode.data+=f;return}let h=new nA(f);this.addNode(h),this.lastNode=h}oncommentend(){this.lastNode=null}oncdatastart(){let f=new FR(""),h=new f0([f]);this.addNode(h),f.parent=h,this.lastNode=f}oncdataend(){this.lastNode=null}onprocessinginstruction(f,h){let R=new uA(f,h);this.addNode(R)}handleCallback(f){if(typeof this.callback==="function")this.callback(f,this.dom);else if(f)throw f}addNode(f){let h=this.tagStack[this.tagStack.length-1],R=h.children[h.children.length-1];if(this.options.withStartIndices)f.startIndex=this.parser.startIndex;if(this.options.withEndIndices)f.endIndex=this.parser.endIndex;if(h.children.push(f),R)f.prev=R,R.next=f;f.parent=h,this.lastNode=null}}var fF=/\n/g;function hF(f){let h=[...f.matchAll(fF)].map((A)=>A.index||0);h.unshift(-1);let R=qw(h,0,h.length);return(A)=>YU(R,A)}function qw(f,h,R){if(R-h==1)return{offset:f[h],index:h+1};let A=Math.ceil((h+R)/2),w=qw(f,h,A),I=qw(f,A,R);return{offset:w.offset,low:w,high:I}}function YU(f,h){return function(R){return Object.prototype.hasOwnProperty.call(R,"index")}(f)?{line:f.index,column:h-f.offset}:YU(f.high.offset<h?f.high:f.low,h)}function Tw(f,h="",R={}){let A=typeof h!="string"?h:R,w=typeof h=="string"?h:"",I=f.map(RF),P=!!A.lineNumbers;return function($,H=0){let U=P?hF($):()=>({line:0,column:0}),s=H,G=[];f:for(;s<$.length;){let D=!1;for(let N of I){N.regex.lastIndex=s;let M=N.regex.exec($);if(M&&M[0].length>0){if(!N.discard){let Q=U(s),If=typeof N.replace=="string"?M[0].replace(new RegExp(N.regex.source,N.regex.flags),N.replace):M[0];G.push({state:w,name:N.name,text:If,offset:s,len:M[0].length,line:Q.line,column:Q.column})}if(s=N.regex.lastIndex,D=!0,N.push){let Q=N.push($,s);G.push(...Q.tokens),s=Q.offset}if(N.pop)break f;break}}if(!D)break}return{tokens:G,offset:s,complete:$.length<=s}}}function RF(f,h){return{...f,regex:AF(f,h)}}function AF(f,h){if(f.name.length===0)throw new Error(`Rule #${h} has empty name, which is not allowed.`);if(function(R){return Object.prototype.hasOwnProperty.call(R,"regex")}(f))return function(R){if(R.global)throw new Error(`Regular expression /${R.source}/${R.flags} contains the global flag, which is not allowed.`);return R.sticky?R:new RegExp(R.source,R.flags+"y")}(f.regex);if(function(R){return Object.prototype.hasOwnProperty.call(R,"str")}(f)){if(f.str.length===0)throw new Error(`Rule #${h} ("${f.name}") has empty "str" property, which is not allowed.`);return new RegExp(MU(f.str),"y")}return new RegExp(MU(f.name),"y")}function MU(f){return f.replace(/[-[\]{}()*+!<=:?./\\^$|#\s,]/g,"\\$&")}function qf(f,h){return(R,A)=>{let w=A,I=void 0;if(A<R.tokens.length){if(I=f(R.tokens[A],R,A),I!==void 0)w++}else h?.(R,A);return I===void 0?{matched:!1}:{matched:!0,position:w,value:I}}}function mw(f,h){return f.matched?{matched:!0,position:f.position,value:h(f.value,f.position)}:f}function A0(f,h){return f.matched?h(f):f}function Rf(f,h){return(R,A)=>mw(f(R,A),(w,I)=>h(w,R,A,I))}function DR(f,h){return(R,A)=>{let w=f(R,A);return w.matched?w:{matched:!0,position:A,value:h}}}function Bh(...f){return(h,R)=>{for(let A of f){let w=A(h,R);if(w.matched)return w}return{matched:!1}}}function pf(f,h){return(R,A)=>{let w=f(R,A);return w.matched?w:h(R,A)}}function wF(f,h){return(R,A)=>{let w=[],I=!0;do{let P=f(R,A);if(P.matched&&h(P.value,w.length+1,R,A,P.position))w.push(P.value),A=P.position;else I=!1}while(I);return{matched:!0,position:A,value:w}}}function w0(f){return wF(f,()=>!0)}function XU(f){return $f(f,w0(f),(h,R)=>[h,...R])}function $f(f,h,R){return(A,w)=>A0(f(A,w),(I)=>mw(h(A,I.position),(P,$)=>R(I.value,P,A,w,$)))}function zU(f,h){return $f(f,h,(R)=>R)}function Bw(f,h){return $f(f,h,(R,A)=>A)}function I0(f,h,R,A){return(w,I)=>A0(f(w,I),(P)=>A0(h(w,P.position),($)=>mw(R(w,$.position),(H,U)=>A(P.value,$.value,H,w,I,U))))}function vw(f,h,R){return I0(f,h,R,(A,w)=>w)}function IF(...f){return(h,R)=>{let A=[],w=R;for(let I of f){let P=I(h,w);if(P.matched)A.push(P.value),w=P.position;else return{matched:!1}}return{matched:!0,position:w,value:A}}}function LU(...f){return PF(IF(...f))}function PF(f){return Rf(f,(h)=>h.flatMap((R)=>R))}function $F(f,h){return(R,A)=>{let w=!0,I=f,P=A;do{let $=h(I,R,P)(R,P);if($.matched)I=$.value,P=$.position;else w=!1}while(w);return{matched:!0,position:P,value:I}}}function HF(f,h,R){return $F(f,(A)=>Rf(h,(w,I,P,$)=>R(A,w,I,P,$)))}function Kw(f,h,R){return UF(f,(A)=>HF(A,$f(h,R,(w,I)=>[w,I]),(w,[I,P])=>I(w,P)))}function UF(f,h){return(R,A)=>A0(f(R,A),(w)=>h(w.value,R,A,w.position)(R,w.position))}var SF="(?:[ \\t\\r\\n\\f]*)",qU="(?:\\n|\\r\\n|\\r|\\f)",H0="[^\\x00-\\x7F]",MR="(?:\\\\[0-9a-f]{1,6}(?:\\r\\n|[ \\n\\r\\t\\f])?)",YR="(?:\\\\[^\\n\\r\\f0-9a-f])",sF=`(?:[_a-z]|${H0}|${MR}|${YR})`,TU=`(?:[_a-z0-9-]|${H0}|${MR}|${YR})`,NF=`(?:${TU}+)`,FF=`(?:[-]?${sF}${TU}*)`,GF=`'([^\\n\\r\\f\\\\']|\\\\${qU}|${H0}|${MR}|${YR})*'`,DF=`"([^\\n\\r\\f\\\\"]|\\\\${qU}|${H0}|${MR}|${YR})*"`,gF=Tw([{name:"ws",regex:new RegExp(SF)},{name:"hash",regex:new RegExp(`#${NF}`,"i")},{name:"ident",regex:new RegExp(FF,"i")},{name:"str1",regex:new RegExp(GF,"i")},{name:"str2",regex:new RegExp(DF,"i")},{name:"*"},{name:"."},{name:","},{name:"["},{name:"]"},{name:"="},{name:">"},{name:"|"},{name:"+"},{name:"~"},{name:"^"},{name:"$"}]),WF=Tw([{name:"unicode",regex:new RegExp(MR,"i")},{name:"escape",regex:new RegExp(YR,"i")},{name:"any",regex:new RegExp("[\\s\\S]","i")}]);function mU([f,h,R],[A,w,I]){return[f+A,h+w,R+I]}function MF(f){return f.reduce(mU,[0,0,0])}var YF=qf((f)=>f.name==="unicode"?String.fromCodePoint(parseInt(f.text.slice(1),16)):void 0),XF=qf((f)=>f.name==="escape"?f.text.slice(1):void 0),zF=qf((f)=>f.name==="any"?f.text:void 0),LF=Rf(w0(Bh(YF,XF,zF)),(f)=>f.join(""));function Cw(f){let h=WF(f);return LF({tokens:h.tokens,options:void 0},0).value}function O(f){return qf((h)=>h.name===f?!0:void 0)}var lw=qf((f)=>f.name==="ws"?null:void 0),jw=DR(lw,null);function Kh(f){return vw(jw,f,jw)}var WR=qf((f)=>f.name==="ident"?Cw(f.text):void 0),ZF=qf((f)=>f.name==="hash"?Cw(f.text.slice(1)):void 0),VF=qf((f)=>f.name.startsWith("str")?Cw(f.text.slice(1,-1)):void 0),BU=zU(DR(WR,""),O("|")),rw=pf($f(BU,WR,(f,h)=>({name:h,namespace:f})),Rf(WR,(f)=>({name:f,namespace:null}))),JF=pf($f(BU,O("*"),(f)=>({type:"universal",namespace:f,specificity:[0,0,0]})),Rf(O("*"),()=>({type:"universal",namespace:null,specificity:[0,0,0]}))),yF=Rf(rw,({name:f,namespace:h})=>({type:"tag",name:f,namespace:h,specificity:[0,0,1]})),QF=$f(O("."),WR,(f,h)=>({type:"class",name:h,specificity:[0,1,0]})),qF=Rf(ZF,(f)=>({type:"id",name:f,specificity:[1,0,0]})),ZU=qf((f)=>{if(f.name==="ident"){if(f.text==="i"||f.text==="I")return"i";if(f.text==="s"||f.text==="S")return"s"}return}),TF=pf($f(VF,DR(Bw(jw,ZU),null),(f,h)=>({value:f,modifier:h})),$f(WR,DR(Bw(lw,ZU),null),(f,h)=>({value:f,modifier:h}))),mF=Bh(Rf(O("="),()=>"="),$f(O("~"),O("="),()=>"~="),$f(O("|"),O("="),()=>"|="),$f(O("^"),O("="),()=>"^="),$f(O("$"),O("="),()=>"$="),$f(O("*"),O("="),()=>"*=")),BF=I0(O("["),Kh(rw),O("]"),(f,{name:h,namespace:R})=>({type:"attrPresence",name:h,namespace:R,specificity:[0,1,0]})),vF=vw(O("["),I0(Kh(rw),mF,Kh(TF),({name:f,namespace:h},R,{value:A,modifier:w})=>({type:"attrValue",name:f,namespace:h,matcher:R,value:A,modifier:w,specificity:[0,1,0]})),O("]")),KF=pf(BF,vF),jF=pf(JF,yF),VU=Bh(qF,QF,KF),JU=Rf(pf(LU(jF,w0(VU)),XU(VU)),(f)=>{return{type:"compound",list:f,specificity:MF(f.map((h)=>h.specificity))}}),OF=Bh(Rf(O(">"),()=>">"),Rf(O("+"),()=>"+"),Rf(O("~"),()=>"~"),$f(O("|"),O("|"),()=>"||")),CF=pf(Kh(OF),Rf(lw,()=>" ")),Ow=Kw(JU,Rf(CF,(f)=>(h,R)=>({type:"compound",list:[...R.list,{type:"combinator",combinator:f,left:h,specificity:h.specificity}],specificity:mU(h.specificity,R.specificity)})),JU),sZ=Kw(Rf(Ow,(f)=>({type:"list",list:[f]})),Rf(Kh(O(",")),()=>(f,h)=>({type:"list",list:[...f.list,h]})),Ow);function lF(f,h){if(!(typeof h==="string"||h instanceof String))throw new Error("Expected a selector string. Actual input is not a string!");let R=gF(h);if(!R.complete)throw new Error(`The input "${h}" was only partially tokenized, stopped at offset ${R.offset}!\n`+yU(h,R.offset));let A=Kh(f)({tokens:R.tokens,options:void 0},0);if(!A.matched)throw new Error(`No match for "${h}" input!`);if(A.position<R.tokens.length){let w=R.tokens[A.position];throw new Error(`The input "${h}" was only partially parsed, stopped at offset ${w.offset}!\n`+yU(h,w.offset,w.len))}return A.value}function yU(f,h,R=1){return`${f.replace(/(\t)|(\r)|(\n)/g,(A,w,I)=>w?"\u2409":I?"\u240D":"\u240A")}\n${"".padEnd(h)}${"^".repeat(R)}`}function vU(f){return lF(Ow,f)}function Zf(f){if(!f.type)throw new Error("This is not an AST node.");switch(f.type){case"universal":return P0(f.namespace)+"*";case"tag":return P0(f.namespace)+vh(f.name);case"class":return"."+vh(f.name);case"id":return"#"+vh(f.name);case"attrPresence":return`[${P0(f.namespace)}${vh(f.name)}]`;case"attrValue":return`[${P0(f.namespace)}${vh(f.name)}${f.matcher}"${rF(f.value)}"${f.modifier?f.modifier:""}]`;case"combinator":return Zf(f.left)+f.combinator;case"compound":return f.list.reduce((h,R)=>{if(R.type==="combinator")return Zf(R)+h;else return h+Zf(R)},"");case"list":return f.list.map(Zf).join(",")}}function P0(f){return f||f===""?vh(f)+"|":""}function $0(f){return`\\${f.codePointAt(0).toString(16)} `}function vh(f){return f.replace(/(^[0-9])|(^-[0-9])|(^-$)|([-0-9a-zA-Z_]|[^\x00-\x7F])|(\x00)|([\x01-\x1f]|\x7f)|([\s\S])/g,(h,R,A,w,I,P,$,H)=>R?$0(R):A?"-"+$0(A.slice(1)):w?"\\-":I?I:P?"\uFFFD":$?$0($):"\\"+H)}function rF(f){return f.replace(/(")|(\\)|(\x00)|([\x01-\x1f]|\x7f)/g,(h,R,A,w,I)=>R?'\\"':A?"\\\\":w?"\uFFFD":$0(I))}function gR(f){if(!f.type)throw new Error("This is not an AST node.");switch(f.type){case"compound":{f.list.forEach(gR),f.list.sort((h,R)=>KU(QU(h),QU(R)));break}case"combinator":{gR(f.left);break}case"list":{f.list.forEach(gR),f.list.sort((h,R)=>Zf(h)<Zf(R)?-1:1);break}}return f}function QU(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 cw(f,h){return KU(f,h)}function KU(f,h){if(!Array.isArray(f)||!Array.isArray(h))throw new Error("Arguments must be arrays.");let R=f.length<h.length?f.length:h.length;for(let A=0;A<R;A++){if(f[A]===h[A])continue;return f[A]<h[A]?-1:1}return f.length-h.length}class U0{constructor(f){this.branches=jh(bF(f))}build(f){return f(this.branches)}}function bF(f){let h=f.length,R=new Array(h);for(let A=0;A<h;A++){let[w,I]=f[A],P=dF(vU(w));R[A]={ast:P,terminal:{type:"terminal",valueContainer:{index:A,value:I,specificity:P.specificity}}}}return R}function dF(f){return OU(f),gR(f),f}function OU(f){let h=[];f.list.forEach((R)=>{switch(R.type){case"class":h.push({matcher:"~=",modifier:null,name:"class",namespace:null,specificity:R.specificity,type:"attrValue",value:R.name});break;case"id":h.push({matcher:"=",modifier:null,name:"id",namespace:null,specificity:R.specificity,type:"attrValue",value:R.name});break;case"combinator":OU(R.left),h.push(R);break;case"universal":break;default:h.push(R);break}}),f.list=h}function jh(f){let h=[];while(f.length){let R=rU(f,(P)=>!0,CU),{matches:A,nonmatches:w,empty:I}=xF(f,R);if(f=w,A.length)h.push(aF(R,A));if(I.length)h.push(...kF(I))}return h}function kF(f){let h=[];for(let R of f){let A=R.terminal;if(A.type==="terminal")h.push(A);else{let{matches:w,rest:I}=pF(A.cont,(P)=>P.type==="terminal");if(w.forEach((P)=>h.push(P)),I.length)A.cont=I,h.push(A)}}return h}function xF(f,h){let R=[],A=[],w=[];for(let I of f){let P=I.ast.list;if(P.length)(P.some((H)=>CU(H)===h)?R:A).push(I);else w.push(I)}return{matches:R,nonmatches:A,empty:w}}function CU(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 aF(f,h){if(f==="tag")return iF(h);if(f.startsWith("attrValue "))return eF(f.substring(10),h);if(f.startsWith("attrPresence "))return _F(f.substring(13),h);if(f==="combinator >")return jU(">",h);if(f==="combinator +")return jU("+",h);throw new Error(`Unsupported selector kind: ${f}`)}function iF(f){let h=bw(f,(A)=>A.type==="tag",(A)=>A.name);return{type:"tagName",variants:Object.entries(h).map(([A,w])=>({type:"variant",value:A,cont:jh(w.items)}))}}function _F(f,h){for(let R of h)lU(R,(A)=>A.type==="attrPresence"&&A.name===f);return{type:"attrPresence",name:f,cont:jh(h)}}function eF(f,h){let R=bw(h,(w)=>w.type==="attrValue"&&w.name===f,(w)=>`${w.matcher} ${w.modifier||""} ${w.value}`),A=[];for(let w of Object.values(R)){let I=w.oneSimpleSelector,P=oF(I),$=jh(w.items);A.push({type:"matcher",matcher:I.matcher,modifier:I.modifier,value:I.value,predicate:P,cont:$})}return{type:"attrValue",name:f,matchers:A}}function oF(f){if(f.modifier==="i"){let h=f.value.toLowerCase();switch(f.matcher){case"=":return(R)=>h===R.toLowerCase();case"~=":return(R)=>R.toLowerCase().split(/[ \t]+/).includes(h);case"^=":return(R)=>R.toLowerCase().startsWith(h);case"$=":return(R)=>R.toLowerCase().endsWith(h);case"*=":return(R)=>R.toLowerCase().includes(h);case"|=":return(R)=>{let A=R.toLowerCase();return h===A||A.startsWith(h)&&A[h.length]==="-"}}}else{let h=f.value;switch(f.matcher){case"=":return(R)=>h===R;case"~=":return(R)=>R.split(/[ \t]+/).includes(h);case"^=":return(R)=>R.startsWith(h);case"$=":return(R)=>R.endsWith(h);case"*=":return(R)=>R.includes(h);case"|=":return(R)=>h===R||R.startsWith(h)&&R[h.length]==="-"}}}function jU(f,h){let R=bw(h,(w)=>w.type==="combinator"&&w.combinator===f,(w)=>Zf(w.left)),A=[];for(let w of Object.values(R)){let I=jh(w.items),P=w.oneSimpleSelector.left;A.push({ast:P,terminal:{type:"popElement",cont:I}})}return{type:"pushElement",combinator:f,cont:jh(A)}}function bw(f,h,R){let A={};while(f.length){let w=rU(f,h,R),I=(s)=>h(s)&&R(s)===w,P=(s)=>s.ast.list.some(I),{matches:$,rest:H}=nF(f,P),U=null;for(let s of $){let G=lU(s,I);if(!U)U=G}if(U==null)throw new Error("No simple selector is found.");A[w]={oneSimpleSelector:U,items:$},f=H}return A}function lU(f,h){let R=f.ast.list,A=new Array(R.length),w=-1;for(let P=R.length;P-- >0;)if(h(R[P]))A[P]=!0,w=P;if(w==-1)throw new Error("Couldn't find the required simple selector.");let I=R[w];return f.ast.list=R.filter((P,$)=>!A[$]),I}function rU(f,h,R){let A={};for(let P of f){let $={};for(let H of P.ast.list.filter(h))$[R(H)]=!0;for(let H of Object.keys($))if(A[H])A[H]++;else A[H]=1}let w="",I=0;for(let P of Object.entries(A))if(P[1]>I)w=P[0],I=P[1];return w}function pF(f,h){let R=[],A=[];for(let w of f)if(h(w))R.push(w);else A.push(w);return{matches:R,rest:A}}function nF(f,h){let R=[],A=[];for(let w of f)if(h(w))R.push(w);else A.push(w);return{matches:R,rest:A}}class dw{constructor(f){this.f=f}pickAll(f){return this.f(f)}pick1(f,h=!1){let R=this.f(f),A=R.length;if(A===0)return null;if(A===1)return R[0].value;let w=h?uF:tF,I=R[0];for(let P=1;P<A;P++){let $=R[P];if(w(I,$))I=$}return I.value}}function uF(f,h){let R=cw(h.specificity,f.specificity);return R>0||R===0&&h.index<f.index}function tF(f,h){let R=cw(h.specificity,f.specificity);return R>0||R===0&&h.index>f.index}function kw(f){return new dw(Oh(f))}function Oh(f){let h=f.map(f6);return(R,...A)=>h.flatMap((w)=>w(R,...A))}function f6(f){switch(f.type){case"terminal":{let h=[f.valueContainer];return(R,...A)=>h}case"tagName":return h6(f);case"attrValue":return A6(f);case"attrPresence":return R6(f);case"pushElement":return w6(f);case"popElement":return P6(f)}}function h6(f){let h={};for(let R of f.variants)h[R.value]=Oh(R.cont);return(R,...A)=>{let w=h[R.name];return w?w(R,...A):[]}}function R6(f){let h=f.name,R=Oh(f.cont);return(A,...w)=>Object.prototype.hasOwnProperty.call(A.attribs,h)?R(A,...w):[]}function A6(f){let h=[];for(let A of f.matchers){let w=A.predicate,I=Oh(A.cont);h.push((P,$,...H)=>w(P)?I($,...H):[])}let R=f.name;return(A,...w)=>{let I=A.attribs[R];return I||I===""?h.flatMap((P)=>P(I,A,...w)):[]}}function w6(f){let h=Oh(f.cont),R=f.combinator==="+"?cU:I6;return(A,...w)=>{let I=R(A);if(I===null)return[];return h(I,A,...w)}}var cU=(f)=>{let h=f.prev;if(h===null)return null;return R0(h)?h:cU(h)},I6=(f)=>{let h=f.parent;return h&&R0(h)?h:null};function P6(f){let h=Oh(f.cont);return(R,A,...w)=>h(A,...w)}var E0=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 S0=new Uint16Array("\u0200aglq\t\x15\x18\x1B\u026D\x0F\0\0\x12p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map((f)=>f.charCodeAt(0)));var xw,$6=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]]),Ch=(xw=String.fromCodePoint)!==null&&xw!==void 0?xw:function(f){let h="";if(f>65535)f-=65536,h+=String.fromCharCode(f>>>10&1023|55296),f=56320|f&1023;return h+=String.fromCharCode(f),h};function XR(f){var h;if(f>=55296&&f<=57343||f>1114111)return 65533;return(h=$6.get(f))!==null&&h!==void 0?h:f}var n;(function(f){f[f.NUM=35]="NUM",f[f.SEMI=59]="SEMI",f[f.EQUALS=61]="EQUALS",f[f.ZERO=48]="ZERO",f[f.NINE=57]="NINE",f[f.LOWER_A=97]="LOWER_A",f[f.LOWER_F=102]="LOWER_F",f[f.LOWER_X=120]="LOWER_X",f[f.LOWER_Z=122]="LOWER_Z",f[f.UPPER_A=65]="UPPER_A",f[f.UPPER_F=70]="UPPER_F",f[f.UPPER_Z=90]="UPPER_Z"})(n||(n={}));var H6=32,Df;(function(f){f[f.VALUE_LENGTH=49152]="VALUE_LENGTH",f[f.BRANCH_LENGTH=16256]="BRANCH_LENGTH",f[f.JUMP_TABLE=127]="JUMP_TABLE"})(Df||(Df={}));function aw(f){return f>=n.ZERO&&f<=n.NINE}function U6(f){return f>=n.UPPER_A&&f<=n.UPPER_F||f>=n.LOWER_A&&f<=n.LOWER_F}function E6(f){return f>=n.UPPER_A&&f<=n.UPPER_Z||f>=n.LOWER_A&&f<=n.LOWER_Z||aw(f)}function S6(f){return f===n.EQUALS||E6(f)}var p;(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"})(p||(p={}));var Sh;(function(f){f[f.Legacy=0]="Legacy",f[f.Strict=1]="Strict",f[f.Attribute=2]="Attribute"})(Sh||(Sh={}));class bU{constructor(f,h,R){this.decodeTree=f,this.emitCodePoint=h,this.errors=R,this.state=p.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Sh.Strict}startEntity(f){this.decodeMode=f,this.state=p.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(f,h){switch(this.state){case p.EntityStart:{if(f.charCodeAt(h)===n.NUM)return this.state=p.NumericStart,this.consumed+=1,this.stateNumericStart(f,h+1);return this.state=p.NamedEntity,this.stateNamedEntity(f,h)}case p.NumericStart:return this.stateNumericStart(f,h);case p.NumericDecimal:return this.stateNumericDecimal(f,h);case p.NumericHex:return this.stateNumericHex(f,h);case p.NamedEntity:return this.stateNamedEntity(f,h)}}stateNumericStart(f,h){if(h>=f.length)return-1;if((f.charCodeAt(h)|H6)===n.LOWER_X)return this.state=p.NumericHex,this.consumed+=1,this.stateNumericHex(f,h+1);return this.state=p.NumericDecimal,this.stateNumericDecimal(f,h)}addToNumericResult(f,h,R,A){if(h!==R){let w=R-h;this.result=this.result*Math.pow(A,w)+parseInt(f.substr(h,w),A),this.consumed+=w}}stateNumericHex(f,h){let R=h;while(h<f.length){let A=f.charCodeAt(h);if(aw(A)||U6(A))h+=1;else return this.addToNumericResult(f,R,h,16),this.emitNumericEntity(A,3)}return this.addToNumericResult(f,R,h,16),-1}stateNumericDecimal(f,h){let R=h;while(h<f.length){let A=f.charCodeAt(h);if(aw(A))h+=1;else return this.addToNumericResult(f,R,h,10),this.emitNumericEntity(A,2)}return this.addToNumericResult(f,R,h,10),-1}emitNumericEntity(f,h){var R;if(this.consumed<=h)return(R=this.errors)===null||R===void 0||R.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(f===n.SEMI)this.consumed+=1;else if(this.decodeMode===Sh.Strict)return 0;if(this.emitCodePoint(XR(this.result),this.consumed),this.errors){if(f!==n.SEMI)this.errors.missingSemicolonAfterCharacterReference();this.errors.validateNumericCharacterReference(this.result)}return this.consumed}stateNamedEntity(f,h){let{decodeTree:R}=this,A=R[this.treeIndex],w=(A&Df.VALUE_LENGTH)>>14;for(;h<f.length;h++,this.excess++){let I=f.charCodeAt(h);if(this.treeIndex=iw(R,A,this.treeIndex+Math.max(1,w),I),this.treeIndex<0)return this.result===0||this.decodeMode===Sh.Attribute&&(w===0||S6(I))?0:this.emitNotTerminatedNamedEntity();if(A=R[this.treeIndex],w=(A&Df.VALUE_LENGTH)>>14,w!==0){if(I===n.SEMI)return this.emitNamedEntityData(this.treeIndex,w,this.consumed+this.excess);if(this.decodeMode!==Sh.Strict)this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0}}return-1}emitNotTerminatedNamedEntity(){var f;let{result:h,decodeTree:R}=this,A=(R[h]&Df.VALUE_LENGTH)>>14;return this.emitNamedEntityData(h,A,this.consumed),(f=this.errors)===null||f===void 0||f.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(f,h,R){let{decodeTree:A}=this;if(this.emitCodePoint(h===1?A[f]&~Df.VALUE_LENGTH:A[f+1],R),h===3)this.emitCodePoint(A[f+2],R);return R}end(){var f;switch(this.state){case p.NamedEntity:return this.result!==0&&(this.decodeMode!==Sh.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case p.NumericDecimal:return this.emitNumericEntity(0,2);case p.NumericHex:return this.emitNumericEntity(0,3);case p.NumericStart:return(f=this.errors)===null||f===void 0||f.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case p.EntityStart:return 0}}}function dU(f){let h="",R=new bU(f,(A)=>h+=Ch(A));return function A(w,I){let P=0,$=0;while(($=w.indexOf("&",$))>=0){h+=w.slice(P,$),R.startEntity(I);let U=R.write(w,$+1);if(U<0){P=$+R.end();break}P=$+U,$=U===0?P+1:P}let H=h+w.slice(P);return h="",H}}function iw(f,h,R,A){let w=(h&Df.BRANCH_LENGTH)>>7,I=h&Df.JUMP_TABLE;if(w===0)return I!==0&&A===I?R:-1;if(I){let H=A-I;return H<0||H>=w?-1:f[R+H]-1}let P=R,$=P+w-1;while(P<=$){let H=P+$>>>1,U=f[H];if(U<A)P=H+1;else if(U>A)$=H-1;else return f[H+w]}return-1}var VZ=dU(E0),JZ=dU(S0);var F;(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"})(F||(F={}));var S;(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"})(S||(S={}));function jf(f){return f===F.Space||f===F.NewLine||f===F.Tab||f===F.FormFeed||f===F.CarriageReturn}function s0(f){return f===F.Slash||f===F.Gt||jf(f)}function kU(f){return f>=F.Zero&&f<=F.Nine}function s6(f){return f>=F.LowerA&&f<=F.LowerZ||f>=F.UpperA&&f<=F.UpperZ}function N6(f){return f>=F.UpperA&&f<=F.UpperF||f>=F.LowerA&&f<=F.LowerF}var Vf;(function(f){f[f.NoValue=0]="NoValue",f[f.Unquoted=1]="Unquoted",f[f.Single=2]="Single",f[f.Double=3]="Double"})(Vf||(Vf={}));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 N0{constructor({xmlMode:f=!1,decodeEntities:h=!0},R){this.cbs=R,this.state=S.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=S.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=f,this.decodeEntities=h,this.entityTrie=f?S0:E0}reset(){this.state=S.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=S.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===F.Lt||!this.decodeEntities&&this.fastForwardTo(F.Lt)){if(this.index>this.sectionStart)this.cbs.ontext(this.sectionStart,this.index);this.state=S.BeforeTagName,this.sectionStart=this.index}else if(this.decodeEntities&&f===F.Amp)this.state=S.BeforeEntity}stateSpecialStartSequence(f){let h=this.sequenceIndex===this.currentSequence.length;if(!(h?s0(f):(f|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!h){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=S.InTagName,this.stateInTagName(f)}stateInSpecialTag(f){if(this.sequenceIndex===this.currentSequence.length){if(f===F.Gt||jf(f)){let h=this.index-this.currentSequence.length;if(this.sectionStart<h){let R=this.index;this.index=h,this.cbs.ontext(this.sectionStart,h),this.index=R}this.isSpecial=!1,this.sectionStart=h+2,this.stateInClosingTagName(f);return}this.sequenceIndex=0}if((f|32)===this.currentSequence[this.sequenceIndex])this.sequenceIndex+=1;else if(this.sequenceIndex===0){if(this.currentSequence===Nf.TitleEnd){if(this.decodeEntities&&f===F.Amp)this.state=S.BeforeEntity}else if(this.fastForwardTo(F.Lt))this.sequenceIndex=1}else this.sequenceIndex=Number(f===F.Lt)}stateCDATASequence(f){if(f===Nf.Cdata[this.sequenceIndex]){if(++this.sequenceIndex===Nf.Cdata.length)this.state=S.InCommentLike,this.currentSequence=Nf.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1}else this.sequenceIndex=0,this.state=S.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=S.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?!s0(f):s6(f)}startSpecial(f,h){this.isSpecial=!0,this.currentSequence=f,this.sequenceIndex=h,this.state=S.SpecialStartSequence}stateBeforeTagName(f){if(f===F.ExclamationMark)this.state=S.BeforeDeclaration,this.sectionStart=this.index+1;else if(f===F.Questionmark)this.state=S.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(f)){let h=f|32;if(this.sectionStart=this.index,!this.xmlMode&&h===Nf.TitleEnd[2])this.startSpecial(Nf.TitleEnd,3);else this.state=!this.xmlMode&&h===Nf.ScriptEnd[2]?S.BeforeSpecialS:S.InTagName}else if(f===F.Slash)this.state=S.BeforeClosingTagName;else this.state=S.Text,this.stateText(f)}stateInTagName(f){if(s0(f))this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=S.BeforeAttributeName,this.stateBeforeAttributeName(f)}stateBeforeClosingTagName(f){if(jf(f));else if(f===F.Gt)this.state=S.Text;else this.state=this.isTagStartChar(f)?S.InClosingTagName:S.InSpecialComment,this.sectionStart=this.index}stateInClosingTagName(f){if(f===F.Gt||jf(f))this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=S.AfterClosingTagName,this.stateAfterClosingTagName(f)}stateAfterClosingTagName(f){if(f===F.Gt||this.fastForwardTo(F.Gt))this.state=S.Text,this.baseState=S.Text,this.sectionStart=this.index+1}stateBeforeAttributeName(f){if(f===F.Gt){if(this.cbs.onopentagend(this.index),this.isSpecial)this.state=S.InSpecialTag,this.sequenceIndex=0;else this.state=S.Text;this.baseState=this.state,this.sectionStart=this.index+1}else if(f===F.Slash)this.state=S.InSelfClosingTag;else if(!jf(f))this.state=S.InAttributeName,this.sectionStart=this.index}stateInSelfClosingTag(f){if(f===F.Gt)this.cbs.onselfclosingtag(this.index),this.state=S.Text,this.baseState=S.Text,this.sectionStart=this.index+1,this.isSpecial=!1;else if(!jf(f))this.state=S.BeforeAttributeName,this.stateBeforeAttributeName(f)}stateInAttributeName(f){if(f===F.Eq||s0(f))this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=S.AfterAttributeName,this.stateAfterAttributeName(f)}stateAfterAttributeName(f){if(f===F.Eq)this.state=S.BeforeAttributeValue;else if(f===F.Slash||f===F.Gt)this.cbs.onattribend(Vf.NoValue,this.index),this.state=S.BeforeAttributeName,this.stateBeforeAttributeName(f);else if(!jf(f))this.cbs.onattribend(Vf.NoValue,this.index),this.state=S.InAttributeName,this.sectionStart=this.index}stateBeforeAttributeValue(f){if(f===F.DoubleQuote)this.state=S.InAttributeValueDq,this.sectionStart=this.index+1;else if(f===F.SingleQuote)this.state=S.InAttributeValueSq,this.sectionStart=this.index+1;else if(!jf(f))this.sectionStart=this.index,this.state=S.InAttributeValueNq,this.stateInAttributeValueNoQuotes(f)}handleInAttributeValue(f,h){if(f===h||!this.decodeEntities&&this.fastForwardTo(h))this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(h===F.DoubleQuote?Vf.Double:Vf.Single,this.index),this.state=S.BeforeAttributeName;else if(this.decodeEntities&&f===F.Amp)this.baseState=this.state,this.state=S.BeforeEntity}stateInAttributeValueDoubleQuotes(f){this.handleInAttributeValue(f,F.DoubleQuote)}stateInAttributeValueSingleQuotes(f){this.handleInAttributeValue(f,F.SingleQuote)}stateInAttributeValueNoQuotes(f){if(jf(f)||f===F.Gt)this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(Vf.Unquoted,this.index),this.state=S.BeforeAttributeName,this.stateBeforeAttributeName(f);else if(this.decodeEntities&&f===F.Amp)this.baseState=this.state,this.state=S.BeforeEntity}stateBeforeDeclaration(f){if(f===F.OpeningSquareBracket)this.state=S.CDATASequence,this.sequenceIndex=0;else this.state=f===F.Dash?S.BeforeComment:S.InDeclaration}stateInDeclaration(f){if(f===F.Gt||this.fastForwardTo(F.Gt))this.cbs.ondeclaration(this.sectionStart,this.index),this.state=S.Text,this.sectionStart=this.index+1}stateInProcessingInstruction(f){if(f===F.Gt||this.fastForwardTo(F.Gt))this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=S.Text,this.sectionStart=this.index+1}stateBeforeComment(f){if(f===F.Dash)this.state=S.InCommentLike,this.currentSequence=Nf.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1;else this.state=S.InDeclaration}stateInSpecialComment(f){if(f===F.Gt||this.fastForwardTo(F.Gt))this.cbs.oncomment(this.sectionStart,this.index,0),this.state=S.Text,this.sectionStart=this.index+1}stateBeforeSpecialS(f){let h=f|32;if(h===Nf.ScriptEnd[3])this.startSpecial(Nf.ScriptEnd,4);else if(h===Nf.StyleEnd[3])this.startSpecial(Nf.StyleEnd,4);else this.state=S.InTagName,this.stateInTagName(f)}stateBeforeEntity(f){if(this.entityExcess=1,this.entityResult=0,f===F.Number)this.state=S.BeforeNumericEntity;else if(f===F.Amp);else this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=S.InNamedEntity,this.stateInNamedEntity(f)}stateInNamedEntity(f){if(this.entityExcess+=1,this.trieIndex=iw(this.entityTrie,this.trieCurrent,this.trieIndex+1,f),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];let h=this.trieCurrent&Df.VALUE_LENGTH;if(h){let R=(h>>14)-1;if(!this.allowLegacyEntity()&&f!==F.Semi)this.trieIndex+=R;else{let A=this.index-this.entityExcess+1;if(A>this.sectionStart)this.emitPartial(this.sectionStart,A);if(this.entityResult=this.trieIndex,this.trieIndex+=R,this.entityExcess=0,this.sectionStart=this.index+1,R===0)this.emitNamedEntity()}}}emitNamedEntity(){if(this.state=this.baseState,this.entityResult===0)return;switch((this.entityTrie[this.entityResult]&Df.VALUE_LENGTH)>>14){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~Df.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)===F.LowerX)this.entityExcess++,this.state=S.InHexEntity;else this.state=S.InNumericEntity,this.stateInNumericEntity(f)}emitNumericEntity(f){let h=this.index-this.entityExcess-1;if(h+2+Number(this.state===S.InHexEntity)!==this.index){if(h>this.sectionStart)this.emitPartial(this.sectionStart,h);this.sectionStart=this.index+Number(f),this.emitCodePoint(XR(this.entityResult))}this.state=this.baseState}stateInNumericEntity(f){if(f===F.Semi)this.emitNumericEntity(!0);else if(kU(f))this.entityResult=this.entityResult*10+(f-F.Zero),this.entityExcess++;else{if(this.allowLegacyEntity())this.emitNumericEntity(!1);else this.state=this.baseState;this.index--}}stateInHexEntity(f){if(f===F.Semi)this.emitNumericEntity(!0);else if(kU(f))this.entityResult=this.entityResult*16+(f-F.Zero),this.entityExcess++;else if(N6(f))this.entityResult=this.entityResult*16+((f|32)-F.LowerA+10),this.entityExcess++;else{if(this.allowLegacyEntity())this.emitNumericEntity(!1);else this.state=this.baseState;this.index--}}allowLegacyEntity(){return!this.xmlMode&&(this.baseState===S.Text||this.baseState===S.InSpecialTag)}cleanup(){if(this.running&&this.sectionStart!==this.index){if(this.state===S.Text||this.state===S.InSpecialTag&&this.sequenceIndex===0)this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index;else if(this.state===S.InAttributeValueDq||this.state===S.InAttributeValueSq||this.state===S.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 S.Text:{this.stateText(f);break}case S.SpecialStartSequence:{this.stateSpecialStartSequence(f);break}case S.InSpecialTag:{this.stateInSpecialTag(f);break}case S.CDATASequence:{this.stateCDATASequence(f);break}case S.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(f);break}case S.InAttributeName:{this.stateInAttributeName(f);break}case S.InCommentLike:{this.stateInCommentLike(f);break}case S.InSpecialComment:{this.stateInSpecialComment(f);break}case S.BeforeAttributeName:{this.stateBeforeAttributeName(f);break}case S.InTagName:{this.stateInTagName(f);break}case S.InClosingTagName:{this.stateInClosingTagName(f);break}case S.BeforeTagName:{this.stateBeforeTagName(f);break}case S.AfterAttributeName:{this.stateAfterAttributeName(f);break}case S.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(f);break}case S.BeforeAttributeValue:{this.stateBeforeAttributeValue(f);break}case S.BeforeClosingTagName:{this.stateBeforeClosingTagName(f);break}case S.AfterClosingTagName:{this.stateAfterClosingTagName(f);break}case S.BeforeSpecialS:{this.stateBeforeSpecialS(f);break}case S.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(f);break}case S.InSelfClosingTag:{this.stateInSelfClosingTag(f);break}case S.InDeclaration:{this.stateInDeclaration(f);break}case S.BeforeDeclaration:{this.stateBeforeDeclaration(f);break}case S.BeforeComment:{this.stateBeforeComment(f);break}case S.InProcessingInstruction:{this.stateInProcessingInstruction(f);break}case S.InNamedEntity:{this.stateInNamedEntity(f);break}case S.BeforeEntity:{this.stateBeforeEntity(f);break}case S.InHexEntity:{this.stateInHexEntity(f);break}case S.InNumericEntity:{this.stateInNumericEntity(f);break}default:this.stateBeforeNumericEntity(f)}this.index++}this.cleanup()}finish(){if(this.state===S.InNamedEntity)this.emitNamedEntity();if(this.sectionStart<this.index)this.handleTrailingData();this.cbs.onend()}handleTrailingData(){let f=this.buffer.length+this.offset;if(this.state===S.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===S.InNumericEntity&&this.allowLegacyEntity())this.emitNumericEntity(!1);else if(this.state===S.InHexEntity&&this.allowLegacyEntity())this.emitNumericEntity(!1);else if(this.state===S.InTagName||this.state===S.BeforeAttributeName||this.state===S.BeforeAttributeValue||this.state===S.AfterAttributeName||this.state===S.InAttributeName||this.state===S.InAttributeValueSq||this.state===S.InAttributeValueDq||this.state===S.InAttributeValueNq||this.state===S.InClosingTagName);else this.cbs.ontext(this.sectionStart,f)}emitPartial(f,h){if(this.baseState!==S.Text&&this.baseState!==S.InSpecialTag)this.cbs.onattribdata(f,h);else this.cbs.ontext(f,h)}emitCodePoint(f){if(this.baseState!==S.Text&&this.baseState!==S.InSpecialTag)this.cbs.onattribentity(f);else this.cbs.ontextentity(f)}}var lh=new Set(["input","option","optgroup","select","button","datalist","textarea"]),B=new Set(["p"]),xU=new Set(["thead","tbody"]),aU=new Set(["dd","dt"]),iU=new Set(["rt","rp"]),F6=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",B],["h1",B],["h2",B],["h3",B],["h4",B],["h5",B],["h6",B],["select",lh],["input",lh],["output",lh],["button",lh],["datalist",lh],["textarea",lh],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",aU],["dt",aU],["address",B],["article",B],["aside",B],["blockquote",B],["details",B],["div",B],["dl",B],["fieldset",B],["figcaption",B],["figure",B],["footer",B],["form",B],["header",B],["hr",B],["main",B],["nav",B],["ol",B],["pre",B],["section",B],["table",B],["ul",B],["rt",iU],["rp",iU],["tbody",xU],["tfoot",xU]]),G6=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),_U=new Set(["math","svg"]),eU=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),D6=/\s|\//;class _w{constructor(f,h={}){var R,A,w,I,P;this.options=h,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=f!==null&&f!==void 0?f:{},this.lowerCaseTagNames=(R=h.lowerCaseTags)!==null&&R!==void 0?R:!h.xmlMode,this.lowerCaseAttributeNames=(A=h.lowerCaseAttributeNames)!==null&&A!==void 0?A:!h.xmlMode,this.tokenizer=new((w=h.Tokenizer)!==null&&w!==void 0?w:N0)(this.options,this),(P=(I=this.cbs).onparserinit)===null||P===void 0||P.call(I,this)}ontext(f,h){var R,A;let w=this.getSlice(f,h);this.endIndex=h-1,(A=(R=this.cbs).ontext)===null||A===void 0||A.call(R,w),this.startIndex=h}ontextentity(f){var h,R;let A=this.tokenizer.getSectionStart();this.endIndex=A-1,(R=(h=this.cbs).ontext)===null||R===void 0||R.call(h,Ch(f)),this.startIndex=A}isVoidElement(f){return!this.options.xmlMode&&G6.has(f)}onopentagname(f,h){this.endIndex=h;let R=this.getSlice(f,h);if(this.lowerCaseTagNames)R=R.toLowerCase();this.emitOpenTag(R)}emitOpenTag(f){var h,R,A,w;this.openTagStart=this.startIndex,this.tagname=f;let I=!this.options.xmlMode&&F6.get(f);if(I)while(this.stack.length>0&&I.has(this.stack[this.stack.length-1])){let P=this.stack.pop();(R=(h=this.cbs).onclosetag)===null||R===void 0||R.call(h,P,!0)}if(!this.isVoidElement(f)){if(this.stack.push(f),_U.has(f))this.foreignContext.push(!0);else if(eU.has(f))this.foreignContext.push(!1)}if((w=(A=this.cbs).onopentagname)===null||w===void 0||w.call(A,f),this.cbs.onopentag)this.attribs={}}endOpenTag(f){var h,R;if(this.startIndex=this.openTagStart,this.attribs)(R=(h=this.cbs).onopentag)===null||R===void 0||R.call(h,this.tagname,this.attribs,f),this.attribs=null;if(this.cbs.onclosetag&&this.isVoidElement(this.tagname))this.cbs.onclosetag(this.tagname,!0);this.tagname=""}onopentagend(f){this.endIndex=f,this.endOpenTag(!1),this.startIndex=f+1}onclosetag(f,h){var R,A,w,I,P,$;this.endIndex=h;let H=this.getSlice(f,h);if(this.lowerCaseTagNames)H=H.toLowerCase();if(_U.has(H)||eU.has(H))this.foreignContext.pop();if(!this.isVoidElement(H)){let U=this.stack.lastIndexOf(H);if(U!==-1)if(this.cbs.onclosetag){let s=this.stack.length-U;while(s--)this.cbs.onclosetag(this.stack.pop(),s!==0)}else this.stack.length=U;else if(!this.options.xmlMode&&H==="p")this.emitOpenTag("p"),this.closeCurrentTag(!0)}else if(!this.options.xmlMode&&H==="br")(A=(R=this.cbs).onopentagname)===null||A===void 0||A.call(R,"br"),(I=(w=this.cbs).onopentag)===null||I===void 0||I.call(w,"br",{},!0),($=(P=this.cbs).onclosetag)===null||$===void 0||$.call(P,"br",!1);this.startIndex=h+1}onselfclosingtag(f){if(this.endIndex=f,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1])this.closeCurrentTag(!1),this.startIndex=f+1;else this.onopentagend(f)}closeCurrentTag(f){var h,R;let A=this.tagname;if(this.endOpenTag(f),this.stack[this.stack.length-1]===A)(R=(h=this.cbs).onclosetag)===null||R===void 0||R.call(h,A,!f),this.stack.pop()}onattribname(f,h){this.startIndex=f;let R=this.getSlice(f,h);this.attribname=this.lowerCaseAttributeNames?R.toLowerCase():R}onattribdata(f,h){this.attribvalue+=this.getSlice(f,h)}onattribentity(f){this.attribvalue+=Ch(f)}onattribend(f,h){var R,A;if(this.endIndex=h,(A=(R=this.cbs).onattribute)===null||A===void 0||A.call(R,this.attribname,this.attribvalue,f===Vf.Double?'"':f===Vf.Single?"'":f===Vf.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname))this.attribs[this.attribname]=this.attribvalue;this.attribvalue=""}getInstructionName(f){let h=f.search(D6),R=h<0?f:f.substr(0,h);if(this.lowerCaseTagNames)R=R.toLowerCase();return R}ondeclaration(f,h){this.endIndex=h;let R=this.getSlice(f,h);if(this.cbs.onprocessinginstruction){let A=this.getInstructionName(R);this.cbs.onprocessinginstruction(`!${A}`,`!${R}`)}this.startIndex=h+1}onprocessinginstruction(f,h){this.endIndex=h;let R=this.getSlice(f,h);if(this.cbs.onprocessinginstruction){let A=this.getInstructionName(R);this.cbs.onprocessinginstruction(`?${A}`,`?${R}`)}this.startIndex=h+1}oncomment(f,h,R){var A,w,I,P;this.endIndex=h,(w=(A=this.cbs).oncomment)===null||w===void 0||w.call(A,this.getSlice(f,h-R)),(P=(I=this.cbs).oncommentend)===null||P===void 0||P.call(I),this.startIndex=h+1}oncdata(f,h,R){var A,w,I,P,$,H,U,s,G,D;this.endIndex=h;let N=this.getSlice(f,h-R);if(this.options.xmlMode||this.options.recognizeCDATA)(w=(A=this.cbs).oncdatastart)===null||w===void 0||w.call(A),(P=(I=this.cbs).ontext)===null||P===void 0||P.call(I,N),(H=($=this.cbs).oncdataend)===null||H===void 0||H.call($);else(s=(U=this.cbs).oncomment)===null||s===void 0||s.call(U,`[CDATA[${N}]]`),(D=(G=this.cbs).oncommentend)===null||D===void 0||D.call(G);this.startIndex=h+1}onend(){var f,h;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let R=this.stack.length;R>0;this.cbs.onclosetag(this.stack[--R],!0));}(h=(f=this.cbs).onend)===null||h===void 0||h.call(f)}reset(){var f,h,R,A;(h=(f=this.cbs).onreset)===null||h===void 0||h.call(f),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(A=(R=this.cbs).onparserinit)===null||A===void 0||A.call(R,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(f){this.reset(),this.end(f)}getSlice(f,h){while(f-this.bufferOffset>=this.buffers[0].length)this.shiftBuffer();let R=this.buffers[0].slice(f-this.bufferOffset,h-this.bufferOffset);while(h-this.bufferOffset>this.buffers[0].length)this.shiftBuffer(),R+=this.buffers[0].slice(0,h-this.bufferOffset);return R}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(f){var h,R;if(this.ended){(R=(h=this.cbs).onerror)===null||R===void 0||R.call(h,new Error(".write() after done!"));return}if(this.buffers.push(f),this.tokenizer.running)this.tokenizer.write(f),this.writeIndex++}end(f){var h,R;if(this.ended){(R=(h=this.cbs).onerror)===null||R===void 0||R.call(h,new Error(".end() after done!"));return}if(f)this.write(f);this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){this.tokenizer.resume();while(this.tokenizer.running&&this.writeIndex<this.buffers.length)this.tokenizer.write(this.buffers[this.writeIndex++]);if(this.ended)this.tokenizer.end()}parseChunk(f){this.write(f)}done(f){this.end(f)}}var oU=/["&'<>$\x80-\uFFFF]/g,pU=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),g6=String.prototype.codePointAt!=null?(f,h)=>f.codePointAt(h):(f,h)=>(f.charCodeAt(h)&64512)===55296?(f.charCodeAt(h)-55296)*1024+f.charCodeAt(h+1)-56320+65536:f.charCodeAt(h);function F0(f){let h="",R=0,A;while((A=oU.exec(f))!==null){let w=A.index,I=f.charCodeAt(w),P=pU.get(I);if(P!==void 0)h+=f.substring(R,w)+P,R=w+1;else h+=`${f.substring(R,w)}&#x${g6(f,w).toString(16)};`,R=oU.lastIndex+=Number((I&64512)===55296)}return h+f.substr(R)}function ew(f,h){return function R(A){let w,I=0,P="";while(w=f.exec(A)){if(I!==w.index)P+=A.substring(I,w.index);P+=h.get(w[0].charCodeAt(0)),I=w.index+1}return P+A.substring(I)}}var W6=ew(/[&<>'"]/g,pU),ow=ew(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),pw=ew(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));var nU;(function(f){f[f.XML=0]="XML",f[f.HTML=1]="HTML"})(nU||(nU={}));var uU;(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"})(uU||(uU={}));var tU=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])),fE=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 M6=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function Y6(f){return f.replace(/"/g,"&quot;")}function X6(f,h){var R;if(!f)return;let A=((R=h.encodeEntities)!==null&&R!==void 0?R:h.decodeEntities)===!1?Y6:h.xmlMode||h.encodeEntities!=="utf8"?F0:ow;return Object.keys(f).map((w)=>{var I,P;let $=(I=f[w])!==null&&I!==void 0?I:"";if(h.xmlMode==="foreign")w=(P=fE.get(w))!==null&&P!==void 0?P:w;if(!h.emptyAttrs&&!h.xmlMode&&$==="")return w;return`${w}="${A($)}"`}).join(" ")}var hE=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function zR(f,h={}){let R="length"in f?f:[f],A="";for(let w=0;w<R.length;w++)A+=z6(R[w],h);return A}function z6(f,h){switch(f.type){case $U:return zR(f.children,h);case GU:case UU:return J6(f);case EU:return q6(f);case FU:return Q6(f);case SU:case sU:case NU:return V6(f,h);case HU:return y6(f,h)}}var L6=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),Z6=new Set(["svg","math"]);function V6(f,h){var R;if(h.xmlMode==="foreign"){if(f.name=(R=tU.get(f.name))!==null&&R!==void 0?R:f.name,f.parent&&L6.has(f.parent.name))h={...h,xmlMode:!1}}if(!h.xmlMode&&Z6.has(f.name))h={...h,xmlMode:"foreign"};let A=`<${f.name}`,w=X6(f.attribs,h);if(w)A+=` ${w}`;if(f.children.length===0&&(h.xmlMode?h.selfClosingTags!==!1:h.selfClosingTags&&hE.has(f.name))){if(!h.xmlMode)A+=" ";A+="/>"}else{if(A+=">",f.children.length>0)A+=zR(f.children,h);if(h.xmlMode||!hE.has(f.name))A+=`</${f.name}>`}return A}function J6(f){return`<${f.data}>`}function y6(f,h){var R;let A=f.data||"";if(((R=h.encodeEntities)!==null&&R!==void 0?R:h.decodeEntities)!==!1&&!(!h.xmlMode&&f.parent&&M6.has(f.parent.name)))A=h.xmlMode||h.encodeEntities!=="utf8"?F0(A):pw(A);return A}function Q6(f){return`<![CDATA[${f.children[0].data}]]>`}function q6(f){return`<!--${f.data}-->`}function RE(f,h){let R=new Qw(void 0,h);return new _w(R,h).end(f),R.root}var AI=x(PE(),1);function wI(f,h,R=()=>{return}){if(f===void 0){let A=function(...w){return h(A,...w)};return A}if(f>=0)return function(...A){return h(wI(f-1,h,R),...A)};return R}function SE(f,h){let R=0,A=f.length;while(R<A&&f[R]===h)++R;while(A>R&&f[A-1]===h)--A;return R>0||A<f.length?f.substring(R,A):f}function k6(f,h){let R=f.length;while(R>0&&f[R-1]===h)--R;return R<f.length?f.substring(0,R):f}function x6(f){return f.replace(/[\s\S]/g,(h)=>"\\u"+h.charCodeAt().toString(16).padStart(4,"0"))}function sE(f,h){let R=new Map;for(let A=f.length;A-- >0;){let w=f[A],I=h(w);R.set(I,R.has(I)?AI.default(w,R.get(I),{arrayMerge:a6}):w)}return[...R.values()].reverse()}var a6=(f,h,R)=>[...h];function ch(f,h){for(let R of h){if(!f)return;f=f[R]}return f}function $E(f,h="a",R=26){let A=[];do f-=1,A.push(f%R),f=f/R>>0;while(f>0);let w=h.charCodeAt(0);return A.reverse().map((I)=>String.fromCharCode(w+I)).join("")}var nw=["I","X","C","M"],HE=["V","L","D"];function UE(f){return[...f+""].map((h)=>+h).reverse().map((h,R)=>h%5<4?(h<5?"":HE[R])+nw[R].repeat(h%5):nw[R]+(h<5?HE[R]:nw[R+1])).reverse().join("")}class II{constructor(f,h=void 0){this.lines=[],this.nextLineWords=[],this.maxLineLength=h||f.wordwrap||Number.MAX_VALUE,this.nextLineAvailableChars=this.maxLineLength,this.wrapCharacters=ch(f,["longWordSplit","wrapCharacters"])||[],this.forceWrapOnLimit=ch(f,["longWordSplit","forceWrapOnLimit"])||!1,this.stashedSpace=!1,this.wordBreakOpportunity=!1}pushWord(f,h=!1){if(this.nextLineAvailableChars<=0&&!h)this.startNewLine();let R=this.nextLineWords.length===0,A=f.length+(R?0:1);if(A<=this.nextLineAvailableChars||h)this.nextLineWords.push(f),this.nextLineAvailableChars-=A;else{let[w,...I]=this.splitLongWord(f);if(!R)this.startNewLine();this.nextLineWords.push(w),this.nextLineAvailableChars-=w.length;for(let P of I)this.startNewLine(),this.nextLineWords.push(P),this.nextLineAvailableChars-=P.length}}popWord(){let f=this.nextLineWords.pop();if(f!==void 0){let h=this.nextLineWords.length===0,R=f.length+(h?0:1);this.nextLineAvailableChars+=R}return f}concatWord(f,h=!1){if(this.wordBreakOpportunity&&f.length>this.nextLineAvailableChars)this.pushWord(f,h),this.wordBreakOpportunity=!1;else{let R=this.popWord();this.pushWord(R?R.concat(f):f,h)}}startNewLine(f=1){if(this.lines.push(this.nextLineWords),f>1)this.lines.push(...Array.from({length:f-1},()=>[]));this.nextLineWords=[],this.nextLineAvailableChars=this.maxLineLength}isEmpty(){return this.lines.length===0&&this.nextLineWords.length===0}clear(){this.lines.length=0,this.nextLineWords.length=0,this.nextLineAvailableChars=this.maxLineLength}toString(){return[...this.lines,this.nextLineWords].map((f)=>f.join(" ")).join("\n")}splitLongWord(f){let h=[],R=0;while(f.length>this.maxLineLength){let A=f.substring(0,this.maxLineLength),w=f.substring(this.maxLineLength),I=A.lastIndexOf(this.wrapCharacters[R]);if(I>-1)f=A.substring(I+1)+w,h.push(A.substring(0,I+1));else if(R++,R<this.wrapCharacters.length)f=A+w;else{if(this.forceWrapOnLimit){if(h.push(A),f=w,f.length>this.maxLineLength)continue}else f=A+w;break}}return h.push(f),h}}class bh{constructor(f=null){this.next=f}getRoot(){return this.next?this.next:this}}class Jf extends bh{constructor(f,h=null,R=1,A=void 0){super(h);this.leadingLineBreaks=R,this.inlineTextBuilder=new II(f,A),this.rawText="",this.stashedLineBreaks=0,this.isPre=h&&h.isPre,this.isNoWrap=h&&h.isNoWrap}}class uw extends Jf{constructor(f,h=null,{interRowLineBreaks:R=1,leadingLineBreaks:A=2,maxLineLength:w=void 0,maxPrefixLength:I=0,prefixAlign:P="left"}={}){super(f,h,A,w);this.maxPrefixLength=I,this.prefixAlign=P,this.interRowLineBreaks=R}}class nf extends Jf{constructor(f,h=null,{leadingLineBreaks:R=1,maxLineLength:A=void 0,prefix:w=""}={}){super(f,h,R,A);this.prefix=w}}class tw extends bh{constructor(f=null){super(f);this.rows=[],this.isPre=f&&f.isPre,this.isNoWrap=f&&f.isNoWrap}}class fI extends bh{constructor(f=null){super(f);this.cells=[],this.isPre=f&&f.isPre,this.isNoWrap=f&&f.isNoWrap}}class uf extends bh{constructor(f,h=null,R=void 0){super(h);this.inlineTextBuilder=new II(f,R),this.rawText="",this.stashedLineBreaks=0,this.isPre=h&&h.isPre,this.isNoWrap=h&&h.isNoWrap}}class NE extends bh{constructor(f=null,h){super(f);this.transform=h}}function i6(f){return[...f].map((h)=>"\\u"+h.charCodeAt(0).toString(16).padStart(4,"0")).join("")}class FE{constructor(f){this.whitespaceChars=f.preserveNewlines?f.whitespaceCharacters.replace(/\n/g,""):f.whitespaceCharacters;let h=i6(this.whitespaceChars);if(this.leadingWhitespaceRe=new RegExp(`^[${h}]`),this.trailingWhitespaceRe=new RegExp(`[${h}]\$`),this.allWhitespaceOrEmptyRe=new RegExp(`^[${h}]*\$`),this.newlineOrNonWhitespaceRe=new RegExp(`(\\n|[^\\n${h}])`,"g"),this.newlineOrNonNewlineStringRe=new RegExp("(\\n|[^\\n]+)","g"),f.preserveNewlines){let R=new RegExp(`\\n|[^\\n${h}]+`,"gm");this.shrinkWrapAdd=function(A,w,I=($)=>$,P=!1){if(!A)return;let $=w.stashedSpace,H=!1,U=R.exec(A);if(U){if(H=!0,U[0]==="\n")w.startNewLine();else if($||this.testLeadingWhitespace(A))w.pushWord(I(U[0]),P);else w.concatWord(I(U[0]),P);while((U=R.exec(A))!==null)if(U[0]==="\n")w.startNewLine();else w.pushWord(I(U[0]),P)}w.stashedSpace=$&&!H||this.testTrailingWhitespace(A)}}else{let R=new RegExp(`[^${h}]+`,"g");this.shrinkWrapAdd=function(A,w,I=($)=>$,P=!1){if(!A)return;let $=w.stashedSpace,H=!1,U=R.exec(A);if(U){if(H=!0,$||this.testLeadingWhitespace(A))w.pushWord(I(U[0]),P);else w.concatWord(I(U[0]),P);while((U=R.exec(A))!==null)w.pushWord(I(U[0]),P)}w.stashedSpace=$&&!H||this.testTrailingWhitespace(A)}}}addLiteral(f,h,R=!0){if(!f)return;let A=h.stashedSpace,w=!1,I=this.newlineOrNonNewlineStringRe.exec(f);if(I){if(w=!0,I[0]==="\n")h.startNewLine();else if(A)h.pushWord(I[0],R);else h.concatWord(I[0],R);while((I=this.newlineOrNonNewlineStringRe.exec(f))!==null)if(I[0]==="\n")h.startNewLine();else h.pushWord(I[0],R)}h.stashedSpace=A&&!w}testLeadingWhitespace(f){return this.leadingWhitespaceRe.test(f)}testTrailingWhitespace(f){return this.trailingWhitespaceRe.test(f)}testContainsWords(f){return!this.allWhitespaceOrEmptyRe.test(f)}countNewlinesNoWords(f){this.newlineOrNonWhitespaceRe.lastIndex=0;let h=0,R;while((R=this.newlineOrNonWhitespaceRe.exec(f))!==null)if(R[0]==="\n")h++;else return 0;return h}}class GE{constructor(f,h,R=void 0){this.options=f,this.picker=h,this.metadata=R,this.whitespaceProcessor=new FE(f),this._stackItem=new Jf(f),this._wordTransformer=void 0}pushWordTransform(f){this._wordTransformer=new NE(this._wordTransformer,f)}popWordTransform(){if(!this._wordTransformer)return;let f=this._wordTransformer.transform;return this._wordTransformer=this._wordTransformer.next,f}startNoWrap(){this._stackItem.isNoWrap=!0}stopNoWrap(){this._stackItem.isNoWrap=!1}_getCombinedWordTransformer(){let f=this._wordTransformer?(R)=>DE(R,this._wordTransformer):void 0,h=this.options.encodeCharacters;return f?h?(R)=>h(f(R)):f:h}_popStackItem(){let f=this._stackItem;return this._stackItem=f.next,f}addLineBreak(){if(!(this._stackItem instanceof Jf||this._stackItem instanceof nf||this._stackItem instanceof uf))return;if(this._stackItem.isPre)this._stackItem.rawText+="\n";else this._stackItem.inlineTextBuilder.startNewLine()}addWordBreakOpportunity(){if(this._stackItem instanceof Jf||this._stackItem instanceof nf||this._stackItem instanceof uf)this._stackItem.inlineTextBuilder.wordBreakOpportunity=!0}addInline(f,{noWordTransform:h=!1}={}){if(!(this._stackItem instanceof Jf||this._stackItem instanceof nf||this._stackItem instanceof uf))return;if(this._stackItem.isPre){this._stackItem.rawText+=f;return}if(f.length===0||this._stackItem.stashedLineBreaks&&!this.whitespaceProcessor.testContainsWords(f))return;if(this.options.preserveNewlines){let R=this.whitespaceProcessor.countNewlinesNoWords(f);if(R>0){this._stackItem.inlineTextBuilder.startNewLine(R);return}}if(this._stackItem.stashedLineBreaks)this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks);this.whitespaceProcessor.shrinkWrapAdd(f,this._stackItem.inlineTextBuilder,h?void 0:this._getCombinedWordTransformer(),this._stackItem.isNoWrap),this._stackItem.stashedLineBreaks=0}addLiteral(f){if(!(this._stackItem instanceof Jf||this._stackItem instanceof nf||this._stackItem instanceof uf))return;if(f.length===0)return;if(this._stackItem.isPre){this._stackItem.rawText+=f;return}if(this._stackItem.stashedLineBreaks)this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks);this.whitespaceProcessor.addLiteral(f,this._stackItem.inlineTextBuilder,this._stackItem.isNoWrap),this._stackItem.stashedLineBreaks=0}openBlock({leadingLineBreaks:f=1,reservedLineLength:h=0,isPre:R=!1}={}){let A=Math.max(20,this._stackItem.inlineTextBuilder.maxLineLength-h);if(this._stackItem=new Jf(this.options,this._stackItem,f,A),R)this._stackItem.isPre=!0}closeBlock({trailingLineBreaks:f=1,blockTransform:h=void 0}={}){let R=this._popStackItem(),A=h?h(sh(R)):sh(R);G0(this._stackItem,A,R.leadingLineBreaks,Math.max(R.stashedLineBreaks,f))}openList({maxPrefixLength:f=0,prefixAlign:h="left",interRowLineBreaks:R=1,leadingLineBreaks:A=2}={}){this._stackItem=new uw(this.options,this._stackItem,{interRowLineBreaks:R,leadingLineBreaks:A,maxLineLength:this._stackItem.inlineTextBuilder.maxLineLength,maxPrefixLength:f,prefixAlign:h})}openListItem({prefix:f=""}={}){if(!(this._stackItem instanceof uw))throw new Error("Can\'t add a list item to something that is not a list! Check the formatter.");let h=this._stackItem,R=Math.max(f.length,h.maxPrefixLength),A=Math.max(20,h.inlineTextBuilder.maxLineLength-R);this._stackItem=new nf(this.options,h,{prefix:f,maxLineLength:A,leadingLineBreaks:h.interRowLineBreaks})}closeListItem(){let f=this._popStackItem(),h=f.next,R=Math.max(f.prefix.length,h.maxPrefixLength),A="\n"+" ".repeat(R),I=(h.prefixAlign==="right"?f.prefix.padStart(R):f.prefix.padEnd(R))+sh(f).replace(/\n/g,A);G0(h,I,f.leadingLineBreaks,Math.max(f.stashedLineBreaks,h.interRowLineBreaks))}closeList({trailingLineBreaks:f=2}={}){let h=this._popStackItem(),R=sh(h);if(R)G0(this._stackItem,R,h.leadingLineBreaks,f)}openTable(){this._stackItem=new tw(this._stackItem)}openTableRow(){if(!(this._stackItem instanceof tw))throw new Error("Can\'t add a table row to something that is not a table! Check the formatter.");this._stackItem=new fI(this._stackItem)}openTableCell({maxColumnWidth:f=void 0}={}){if(!(this._stackItem instanceof fI))throw new Error("Can\'t add a table cell to something that is not a table row! Check the formatter.");this._stackItem=new uf(this.options,this._stackItem,f)}closeTableCell({colspan:f=1,rowspan:h=1}={}){let R=this._popStackItem(),A=SE(sh(R),"\n");R.next.cells.push({colspan:f,rowspan:h,text:A})}closeTableRow(){let f=this._popStackItem();f.next.rows.push(f.cells)}closeTable({tableToString:f,leadingLineBreaks:h=2,trailingLineBreaks:R=2}){let A=this._popStackItem(),w=f(A.rows);if(w)G0(this._stackItem,w,h,R)}toString(){return sh(this._stackItem.getRoot())}}function sh(f){if(!(f instanceof Jf||f instanceof nf||f instanceof uf))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 G0(f,h,R,A){if(!(f instanceof Jf||f instanceof nf||f instanceof uf))throw new Error("Only blocks, list items and table cells can contain text.");let w=sh(f),I=Math.max(f.stashedLineBreaks,R);if(f.inlineTextBuilder.clear(),w)f.rawText=w+"\n".repeat(I)+h;else f.rawText=h,f.leadingLineBreaks=I;f.stashedLineBreaks=A}function DE(f,h){return h?DE(h.transform(f),h.next):f}function _6(f={}){let h=f.selectors.filter((P)=>!P.format);if(h.length)throw new Error("Following selectors have no specified format: "+h.map((P)=>`\`${P.selector}\``).join(", "));let R=new U0(f.selectors.map((P)=>[P.selector,P])).build(kw);if(typeof f.encodeCharacters!=="function")f.encodeCharacters=n6(f.encodeCharacters);let A=new U0(f.baseElements.selectors.map((P,$)=>[P,$+1])).build(kw);function w(P){return o6(P,f,A)}let I=wI(f.limits.maxDepth,p6,function(P,$){$.addInline(f.limits.ellipsis||"")});return function(P,$=void 0){return e6(P,$,f,R,w,I)}}function e6(f,h,R,A,w,I){let P=R.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 $=RE(f,{decodeEntities:R.decodeEntities}),H=w($.children),U=new GE(R,A,h);return I(H,U),U.toString()}function o6(f,h,R){let A=[];function w(P,$){$=$.slice(0,h.limits.maxChildNodes);for(let H of $){if(H.type!=="tag")continue;let U=R.pick1(H);if(U>0)A.push({selectorIndex:U,element:H});else if(H.children)P(H.children);if(A.length>=h.limits.maxBaseElements)return}}if(wI(h.limits.maxDepth,w)(f),h.baseElements.orderBy!=="occurrence")A.sort((P,$)=>P.selectorIndex-$.selectorIndex);return h.baseElements.returnDomByDefault&&A.length===0?f:A.map((P)=>P.element)}function p6(f,h,R){if(!h)return;let A=R.options;if(h.length>A.limits.maxChildNodes)h=h.slice(0,A.limits.maxChildNodes),h.push({data:A.limits.ellipsis,type:"text"});for(let I of h)switch(I.type){case"text":{R.addInline(I.data);break}case"tag":{let P=R.picker.pick1(I),$=A.formatters[P.format];$(I,f,R,P.options||{});break}}return}function n6(f){if(!f||Object.keys(f).length===0)return;let h=Object.entries(f).filter(([,I])=>I!==!1),R=new RegExp(h.map(([I])=>`(${x6([...I][0])})`).join("|"),"g"),A=h.map(([,I])=>I),w=(I,...P)=>A[P.findIndex(($)=>$)];return(I)=>I.replace(R,w)}function u6(f,h,R,A){}function t6(f,h,R,A){R.addLiteral(A.string||"")}function fG(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),R.addLiteral(A.string||""),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function hG(f,h,R,A){h(f.children,R)}function RG(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),h(f.children,R),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function gE(f){let h=f.attribs&&f.attribs.length?" "+Object.entries(f.attribs).map(([R,A])=>A===""?R:`${R}=${A.replace(/"/g,"&quot;")}`).join(" "):"";return`<${f.name}${h}>`}function WE(f){return`</${f.name}>`}function AG(f,h,R,A){R.startNoWrap(),R.addLiteral(gE(f)),R.stopNoWrap(),h(f.children,R),R.startNoWrap(),R.addLiteral(WE(f)),R.stopNoWrap()}function wG(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),R.startNoWrap(),R.addLiteral(gE(f)),R.stopNoWrap(),h(f.children,R),R.startNoWrap(),R.addLiteral(WE(f)),R.stopNoWrap(),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function IG(f,h,R,A){R.startNoWrap(),R.addLiteral(zR(f,{decodeEntities:R.options.decodeEntities})),R.stopNoWrap()}function PG(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),R.startNoWrap(),R.addLiteral(zR(f,{decodeEntities:R.options.decodeEntities})),R.stopNoWrap(),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function $G(f,h,R,A){R.addLiteral(A.prefix||""),h(f.children,R),R.addLiteral(A.suffix||"")}var HG=Object.freeze({__proto__:null,block:RG,blockHtml:PG,blockString:fG,blockTag:wG,inline:hG,inlineHtml:IG,inlineString:t6,inlineSurround:$G,inlineTag:AG,skip:u6});function D0(f,h){if(!f[h])f[h]=[];return f[h]}function UG(f,h=0){while(f[h])h++;return h}function EG(f,h){for(let R=0;R<h;R++){let A=D0(f,R);for(let w=0;w<R;w++){let I=D0(f,w);if(A[w]||I[R]){let P=A[w];A[w]=I[R],I[R]=P}}}}function SG(f,h,R,A){for(let w=0;w<f.rowspan;w++){let I=D0(h,R+w);for(let P=0;P<f.colspan;P++)I[A+P]=f}}function hI(f,h){if(f[h]===void 0)f[h]=h===0?0:1+hI(f,h-1);return f[h]}function EE(f,h,R,A){f[h+R]=Math.max(hI(f,h+R),hI(f,h)+A)}function sG(f,h,R){let A=[],w=0,I=f.length,P=[0];for(let U=0;U<I;U++){let s=D0(A,U),G=f[U],D=0;for(let N=0;N<G.length;N++){let M=G[N];D=UG(s,D),SG(M,A,U,D),D+=M.colspan,M.lines=M.text.split("\n");let Q=M.lines.length;EE(P,U,M.rowspan,Q+h)}w=s.length>w?s.length:w}EG(A,I>w?I:w);let $=[],H=[0];for(let U=0;U<w;U++){let s=0,G,D=Math.min(I,A[U].length);while(s<D)if(G=A[U][s],G){if(!G.rendered){let N=0;for(let M=0;M<G.lines.length;M++){let Q=G.lines[M],If=P[s]+M;$[If]=($[If]||"").padEnd(H[U])+Q,N=Q.length>N?Q.length:N}EE(H,U,G.colspan,N+R),G.rendered=!0}s+=G.rowspan}else{let N=P[s];$[N]=$[N]||"",s++}}return $.join("\n")}function NG(f,h,R,A){R.addLineBreak()}function FG(f,h,R,A){R.addWordBreakOpportunity()}function GG(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),R.addInline("-".repeat(A.length||R.options.wordwrap||40)),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function DG(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),h(f.children,R),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function gG(f,h,R,A){R.openBlock({isPre:!0,leadingLineBreaks:A.leadingLineBreaks||2}),h(f.children,R),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function WG(f,h,R,A){if(R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2}),A.uppercase!==!1)R.pushWordTransform((w)=>w.toUpperCase()),h(f.children,R),R.popWordTransform();else h(f.children,R);R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2})}function MG(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks||2,reservedLineLength:2}),h(f.children,R),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks||2,blockTransform:(w)=>(A.trimEmptyLines!==!1?SE(w,"\n"):w).split("\n").map((I)=>"> "+I).join("\n")})}function RI(f,h){if(!h)return f;let R=typeof h[0]==="string"?h[0]:"[",A=typeof h[1]==="string"?h[1]:"]";return R+f+A}function ME(f,h,R,A,w){let I=typeof h==="function"?h(f,A,w):f;return I[0]==="/"&&R?k6(R,"/")+I:I}function YG(f,h,R,A){let w=f.attribs||{},I=w.alt?w.alt:"",P=!w.src?"":ME(w.src,A.pathRewrite,A.baseUrl,R.metadata,f),$=!P?I:!I?RI(P,A.linkBrackets):I+" "+RI(P,A.linkBrackets);R.addInline($,{noWordTransform:!0})}function XG(f,h,R,A){function w(){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=ME(P,A.pathRewrite,A.baseUrl,R.metadata,f),P}let I=w();if(!I)h(f.children,R);else{let P="";if(R.pushWordTransform((H)=>{if(H)P+=H;return H}),h(f.children,R),R.popWordTransform(),!(A.hideLinkHrefIfSameAsText&&I===P))R.addInline(!P?I:" "+RI(I,A.linkBrackets),{noWordTransform:!0})}}function YE(f,h,R,A,w){let I=ch(f,["parent","name"])==="li",P=0,$=(f.children||[]).filter((H)=>H.type!=="text"||!/^\s*$/.test(H.data)).map(function(H){if(H.name!=="li")return{node:H,prefix:""};let U=I?w().trimStart():w();if(U.length>P)P=U.length;return{node:H,prefix:U}});if(!$.length)return;R.openList({interRowLineBreaks:1,leadingLineBreaks:I?1:A.leadingLineBreaks||2,maxPrefixLength:P,prefixAlign:"left"});for(let{node:H,prefix:U}of $)R.openListItem({prefix:U}),h([H],R),R.closeListItem();R.closeList({trailingLineBreaks:I?1:A.trailingLineBreaks||2})}function zG(f,h,R,A){let w=A.itemPrefix||" * ";return YE(f,h,R,A,()=>w)}function LG(f,h,R,A){let w=Number(f.attribs.start||"1"),I=ZG(f.attribs.type);return YE(f,h,R,A,()=>" "+I(w++)+". ")}function ZG(f="1"){switch(f){case"a":return(h)=>$E(h,"a");case"A":return(h)=>$E(h,"A");case"i":return(h)=>UE(h).toLowerCase();case"I":return(h)=>UE(h);case"1":default:return(h)=>h.toString()}}function VG(f){let h=[],R=[];for(let A of f)if(A.startsWith("."))h.push(A.substring(1));else if(A.startsWith("#"))R.push(A.substring(1));return{classes:h,ids:R}}function JG(f,h){if(h===!0)return!0;if(!f)return!1;let{classes:R,ids:A}=VG(h),w=(f.class||"").split(" "),I=(f.id||"").split(" ");return w.some((P)=>R.includes(P))||I.some((P)=>A.includes(P))}function yG(f,h,R,A){return JG(f.attribs,R.options.tables)?XE(f,h,R,A):QG(f,h,R,A)}function QG(f,h,R,A){R.openBlock({leadingLineBreaks:A.leadingLineBreaks}),h(f.children,R),R.closeBlock({trailingLineBreaks:A.trailingLineBreaks})}function XE(f,h,R,A){R.openTable(),f.children.forEach(I),R.closeTable({tableToString:(P)=>sG(P,A.rowSpacing??0,A.colSpacing??3),leadingLineBreaks:A.leadingLineBreaks,trailingLineBreaks:A.trailingLineBreaks});function w(P){let $=+ch(P,["attribs","colspan"])||1,H=+ch(P,["attribs","rowspan"])||1;R.openTableCell({maxColumnWidth:A.maxColumnWidth}),h(P.children,R),R.closeTableCell({colspan:$,rowspan:H})}function I(P){if(P.type!=="tag")return;let $=A.uppercaseHeaderCells!==!1?(H)=>{R.pushWordTransform((U)=>U.toUpperCase()),w(H),R.popWordTransform()}:w;switch(P.name){case"thead":case"tbody":case"tfoot":case"center":P.children.forEach(I);return;case"tr":{R.openTableRow();for(let H of P.children){if(H.type!=="tag")continue;switch(H.name){case"th":{$(H);break}case"td":{w(H);break}}}R.closeTableRow();break}}}}var qG=Object.freeze({__proto__:null,anchor:XG,blockquote:MG,dataTable:XE,heading:WG,horizontalLine:GG,image:YG,lineBreak:NG,orderedList:LG,paragraph:DG,pre:gG,table:yG,unorderedList:zG,wbr:FG}),TG={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
12
+ \u200B`,wordwrap:80},mG=(f,h,R)=>[...f,...h],zE=(f,h,R)=>[...h],BG=(f,h,R)=>f.some((A)=>typeof A==="object")?mG(f,h):zE(f,h);function vG(f={}){return f=AI.default(TG,f,{arrayMerge:zE,customMerge:(h)=>h==="selectors"?BG:void 0}),f.formatters=Object.assign({},HG,qG,f.formatters),f.selectors=sE(f.selectors,(h)=>h.selector),KG(f),_6(f)}function PI(f,h={},R=void 0){return vG(h)(f,R)}function KG(f){if(f.tags){let R=Object.entries(f.tags).map(([A,w])=>({...w,selector:A||"*"}));f.selectors.push(...R),f.selectors=sE(f.selectors,(A)=>A.selector)}function h(R,A,w){let I=A.pop();for(let P of A){let $=R[P];if(!$)$={},R[P]=$;R=$}R[I]=w}if(f.baseElement){let R=f.baseElement;h(f,["baseElements","selectors"],Array.isArray(R)?R:[R])}if(f.returnDomByDefault!==void 0)h(f,["baseElements","returnDomByDefault"],f.returnDomByDefault);for(let R of f.selectors)if(R.format==="anchor"&&ch(R,["options","noLinkBrackets"]))h(R,["options","linkBrackets"],!1)}var T8=x(V8(),1);import{Writable as kg}from"stream";var{defineProperty:Og,getOwnPropertySymbols:J8}=Object,Cg=Object.prototype.hasOwnProperty,lg=Object.prototype.propertyIsEnumerable,y8=(f,h,R)=>(h in f)?Og(f,h,{enumerable:!0,configurable:!0,writable:!0,value:R}):f[h]=R,qI=(f,h)=>{for(var R in h||(h={}))if(Cg.call(h,R))y8(f,R,h[R]);if(J8){for(var R of J8(h))if(lg.call(h,R))y8(f,R,h[R])}return f},TI=(f,h,R)=>{return new Promise((A,w)=>{var I=(H)=>{try{$(R.next(H))}catch(U){w(U)}},P=(H)=>{try{$(R.throw(H))}catch(U){w(U)}},$=(H)=>H.done?A(H.value):Promise.resolve(H.value).then(I,P);$((R=R.apply(f,h)).next())})},cg={unformatted:["code","pre","em","strong","span"],indent_inner_html:!0,indent_char:" ",indent_size:2,sep:"\n"},bg=(f,h={})=>{return T8.default.html(f,qI(qI({},cg),h))},dg=[{selector:"img",format:"skip"},{selector:"#__react-email-preview",format:"skip"},{selector:"a",options:{linkBrackets:!1}}];var Q8=new TextDecoder("utf-8"),q8=(f)=>TI(void 0,null,function*(){let h="";if("pipeTo"in f){let R=new WritableStream({write(A){h+=Q8.decode(A)}});yield f.pipeTo(R)}else{let R=new kg({write(A,w,I){h+=Q8.decode(A),I()}});return f.pipe(R),new Promise((A,w)=>{R.on("error",w),R.on("close",()=>{A(h)})})}return h}),y0=(f,h)=>TI(void 0,null,function*(){let{default:R}=yield import("react-dom/server"),A;if(Object.hasOwn(R,"renderToReadableStream"))A=yield q8(yield R.renderToReadableStream(f));else yield new Promise((P,$)=>{let H=R.renderToPipeableStream(f,{onAllReady(){return TI(this,null,function*(){A=yield q8(H),P()})},onError(U){$(U)}})});if(h==null?void 0:h.plainText)return PI(A,qI({selectors:dg},h.htmlToTextOptions));let I=`${'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'}${A.replace(/<!DOCTYPE.*?>/,"")}`;if(h==null?void 0:h.pretty)return bg(I);return I});var{defineProperty:xg,defineProperties:ag,getOwnPropertyDescriptors:ig,getOwnPropertySymbols:m8}=Object,_g=Object.prototype.hasOwnProperty,eg=Object.prototype.propertyIsEnumerable,B8=(f,h,R)=>(h in f)?xg(f,h,{enumerable:!0,configurable:!0,writable:!0,value:R}):f[h]=R,jR=(f,h)=>{for(var R in h||(h={}))if(_g.call(h,R))B8(f,R,h[R]);if(m8){for(var R of m8(h))if(eg.call(h,R))B8(f,R,h[R])}return f},og=(f,h)=>ag(f,ig(h)),m=(f,h,R)=>{return new Promise((A,w)=>{var I=(H)=>{try{$(R.next(H))}catch(U){w(U)}},P=(H)=>{try{$(R.throw(H))}catch(U){w(U)}},$=(H)=>H.done?A(H.value):Promise.resolve(H.value).then(I,P);$((R=R.apply(f,h)).next())})},pg="3.5.0",ng=class{constructor(f){this.resend=f}create(f){return m(this,arguments,function*(h,R={}){return yield this.resend.post("/api-keys",h,R)})}list(){return m(this,null,function*(){return yield this.resend.get("/api-keys")})}remove(f){return m(this,null,function*(){return yield this.resend.delete(`/api-keys/${f}`)})}},ug=class{constructor(f){this.resend=f}create(f){return m(this,arguments,function*(h,R={}){return yield this.resend.post("/audiences",h,R)})}list(){return m(this,null,function*(){return yield this.resend.get("/audiences")})}get(f){return m(this,null,function*(){return yield this.resend.get(`/audiences/${f}`)})}remove(f){return m(this,null,function*(){return yield this.resend.delete(`/audiences/${f}`)})}},tg=class{constructor(f){this.resend=f}send(f){return m(this,arguments,function*(h,R={}){return this.create(h,R)})}create(f){return m(this,arguments,function*(h,R={}){for(let w of h)if(w.react)w.html=yield y0(w.react),delete w.react;return yield this.resend.post("/emails/batch",h,R)})}},fW=class{constructor(f){this.resend=f}create(f){return m(this,arguments,function*(h,R={}){return yield this.resend.post(`/audiences/${h.audienceId}/contacts`,{unsubscribed:h.unsubscribed,email:h.email,first_name:h.firstName,last_name:h.lastName},R)})}list(f){return m(this,null,function*(){return yield this.resend.get(`/audiences/${f.audienceId}/contacts`)})}get(f){return m(this,null,function*(){return yield this.resend.get(`/audiences/${f.audienceId}/contacts/${f.id}`)})}update(f){return m(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 m(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}`)})}},hW=class{constructor(f){this.resend=f}create(f){return m(this,arguments,function*(h,R={}){return yield this.resend.post("/domains",h,R)})}list(){return m(this,null,function*(){return yield this.resend.get("/domains")})}get(f){return m(this,null,function*(){return yield this.resend.get(`/domains/${f}`)})}update(f){return m(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 m(this,null,function*(){return yield this.resend.delete(`/domains/${f}`)})}verify(f){return m(this,null,function*(){return yield this.resend.post(`/domains/${f}/verify`)})}},RW=class{constructor(f){this.resend=f}send(f){return m(this,arguments,function*(h,R={}){return this.create(h,R)})}create(f){return m(this,arguments,function*(h,R={}){if(h.react)h.html=yield y0(h.react),delete h.react;return yield this.resend.post("/emails",h,R)})}get(f){return m(this,null,function*(){return yield this.resend.get(`/emails/${f}`)})}},v8="https://api.resend.com",K8=`resend-node:${pg}`,AW=typeof process!=="undefined"&&process.env?process.env.RESEND_BASE_URL||v8:v8,wW=typeof process!=="undefined"&&process.env?process.env.RESEND_USER_AGENT||K8:K8,j8=class{constructor(f){if(this.key=f,this.apiKeys=new ng(this),this.audiences=new ug(this),this.batch=new tg(this),this.contacts=new fW(this),this.domains=new hW(this),this.emails=new RW(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":wW,"Content-Type":"application/json"})}fetchRequest(f){return m(this,arguments,function*(h,R={}){try{let A=yield fetch(`${AW}${h}`,R);if(!A.ok)try{let I=yield A.text();return{data:null,error:JSON.parse(I)}}catch(I){if(I instanceof SyntaxError)return{data:null,error:{name:"application_error",message:"Internal server error. We are unable to process your request right now, please try again later."}};let P={message:A.statusText,name:"application_error"};if(I instanceof Error)return{data:null,error:og(jR({},P),{message:I.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,h){return m(this,arguments,function*(R,A,w={}){let I=jR({method:"POST",headers:this.headers,body:JSON.stringify(A)},w);return this.fetchRequest(R,I)})}get(f){return m(this,arguments,function*(h,R={}){let A=jR({method:"GET",headers:this.headers},R);return this.fetchRequest(h,A)})}put(f,h){return m(this,arguments,function*(R,A,w={}){let I=jR({method:"PUT",headers:this.headers,body:JSON.stringify(A)},w);return this.fetchRequest(R,I)})}patch(f,h){return m(this,arguments,function*(R,A,w={}){let I=jR({method:"PATCH",headers:this.headers,body:JSON.stringify(A)},w);return this.fetchRequest(R,I)})}delete(f,h){return m(this,null,function*(){let R={method:"DELETE",headers:this.headers,body:JSON.stringify(h)};return this.fetchRequest(f,R)})}};class Q0{}class q0 extends Q0{f;constructor(f=process.env.RESEND_API_KEY){super();this.apiKey=f}async send(f){let h=new j8(this.apiKey),{data:R,error:A}=await h.emails.send({...f});if(A)return console.error(A),!1;if(R)return!0}}class O8 extends i{driver=new q0;boot(){}}class C8 extends i{channels={};boot(){}}class l8 extends i{root;rootRouter;boot(){}onRequestStart(f){}onRequestEnd(f){}onRequestFail(f,h){}}class r8 extends i{rootRouter;boot(){return"Origin"}onRequestStart(f){}onRequestEnd(f){}onRequestFail(f,h){}}class c8 extends i{maxFileSize=10485760;boot(){}onLogFileClosed(f){}onLogCreated(f){}}class b8 extends i{jobs=[];concurrency=1;boot(){}}class k8{static name="unset";worker=!1;maxAttempts=3;run(f){}onFail(f,h){}onSuccess(f,h){}onDeadletter(f){}static dispatch(...f){if(this.name==="unset")throw new Error("Cannot dispatch a job with no name");d8.use().push(this,JSON.stringify(f))}}var x8=x(IW(),1);class T0{}class m0 extends T0{async resize(f,h){let{height:R,width:A,quality:w,fit:I}=h;return await x8.default(f).resize(A>0?A:void 0,R>0?R:void 0,{fit:I}).webp({quality:w>0?w:80,force:!0}).toBuffer()}}class a8 extends i{driver=new m0;boot(){}}class B0{}var PW={clientId:process.env.GOOGLE_CLIENT_ID,clientSecret:process.env.GOOGLE_CLIENT_SECRET,redirectPath:"/oauth/google/callback",scope:"https://www.googleapis.com/auth/userinfo.email"};class _8 extends B0{config;constructor(f={}){super();this.config={...PW,...f}}getRedirectUrl(){let f=this.config.scope,h=this.config.clientId,R=new URL("https://accounts.google.com/o/oauth2/v2/auth"),A={scope:f,include_granted_scopes:"true",response_type:"code",state:"state_parameter_passthrough_value",redirect_uri:`${process.env.HOST_NAME}/oauth/google/callback`,client_id:h};for(let[I,P]of Object.entries(A))R.searchParams.append(I,P);let w=R.toString();return i8.to(w),w}async onCallback(f){let h=new URL("https://oauth2.googleapis.com/token");h.searchParams.append("code",f.search.get("code")),h.searchParams.append("client_id",this.config.clientId),h.searchParams.append("client_secret",this.config.clientSecret),h.searchParams.append("grant_type","authorization_code"),h.searchParams.append("redirect_uri",`${process.env.HOST_NAME}${this.config.redirectPath}`);let R=await fetch(h.toString(),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"}}),{access_token:A}=await R.json(),I=await(await fetch(`https://www.googleapis.com/oauth2/v3/userinfo?access_token=${A}`)).json();return{name:I.name,email:I.email}}}export{l8 as ViewRouterServiceProvider,m0 as Sharp,wU as S3Driver,q0 as ResendDriver,IU as RateLimiterServiceProvider,eA as RateLimiterDriver,b8 as QueueServiceProvider,B0 as OAuthProvider,c8 as LoggingServiceProvider,k8 as Job,oA as InMemoryRateLimiter,a8 as ImageOptimizationServiceProvider,T0 as ImageOptimizationDriver,_8 as GoogleOAuthProvider,lR as FileSystemDriver,mI as FileStorageServiceProvider,Dh as FileStorageDriver,O8 as EmailServiceProvider,Q0 as EmailDriver,C8 as BroadcastingServiceProvider,r8 as ApiRouterServiceProvider};export{mI as h,r8 as i,IU as j,O8 as k,C8 as l,l8 as m,c8 as n,b8 as o,a8 as p};
13
13
 
14
- //# debugId=10E64D1CC9F9C29664756E2164756E21
14
+ //# debugId=9082733D4C5F78B064756E2164756E21