1?Pv(hl(w)):hl(w),k,"`"])};let{hasComment:aL,CommentCheckFlags:Ov,isObjectProperty:Lv}=He,uL=RO,oL=JO,cL=ZO,lL=sL;function pL(e){return function(t){let r=t.getValue(),n=t.getParentNode(),a=t.getParentNode(1);return a&&r.quasis&&n.type==="JSXExpressionContainer"&&a.type==="JSXElement"&&a.openingElement.name.name==="style"&&a.openingElement.attributes.some(o=>o.name.name==="jsx")||n&&n.type==="TaggedTemplateExpression"&&n.tag.type==="Identifier"&&n.tag.name==="css"||n&&n.type==="TaggedTemplateExpression"&&n.tag.type==="MemberExpression"&&n.tag.object.name==="css"&&(n.tag.property.name==="global"||n.tag.property.name==="resolve")}(e)||function(t){let r=t.getParentNode();if(!r||r.type!=="TaggedTemplateExpression")return!1;let n=r.tag.type==="ParenthesizedExpression"?r.tag.expression:r.tag;switch(n.type){case"MemberExpression":return dl(n.object)||jv(n);case"CallExpression":return dl(n.callee)||n.callee.type==="MemberExpression"&&(n.callee.object.type==="MemberExpression"&&(dl(n.callee.object.object)||jv(n.callee.object))||n.callee.object.type==="CallExpression"&&dl(n.callee.object.callee));case"Identifier":return n.name==="css";default:return!1}}(e)||function(t){let r=t.getParentNode(),n=t.getParentNode(1);return n&&r.type==="JSXExpressionContainer"&&n.type==="JSXAttribute"&&n.name.type==="JSXIdentifier"&&n.name.name==="css"}(e)||function(t){return t.match(r=>r.type==="TemplateLiteral",(r,n)=>r.type==="ArrayExpression"&&n==="elements",(r,n)=>Lv(r)&&r.key.type==="Identifier"&&r.key.name==="styles"&&n==="value",...Mv)}(e)?"css":function(t){let r=t.getValue(),n=t.getParentNode();return Rv(r,"GraphQL")||n&&(n.type==="TaggedTemplateExpression"&&(n.tag.type==="MemberExpression"&&n.tag.object.name==="graphql"&&n.tag.property.name==="experimental"||n.tag.type==="Identifier"&&(n.tag.name==="gql"||n.tag.name==="graphql"))||n.type==="CallExpression"&&n.callee.type==="Identifier"&&n.callee.name==="graphql")}(e)?"graphql":function(t){return Rv(t.getValue(),"HTML")||t.match(r=>r.type==="TemplateLiteral",(r,n)=>r.type==="TaggedTemplateExpression"&&r.tag.type==="Identifier"&&r.tag.name==="html"&&n==="quasi")}(e)?"html":function(t){return t.match(r=>r.type==="TemplateLiteral",(r,n)=>Lv(r)&&r.key.type==="Identifier"&&r.key.name==="template"&&n==="value",...Mv)}(e)?"angular":function(t){let r=t.getValue(),n=t.getParentNode();return n&&n.type==="TaggedTemplateExpression"&&r.quasis.length===1&&n.tag.type==="Identifier"&&(n.tag.name==="md"||n.tag.name==="markdown")}(e)?"markdown":void 0}let Mv=[(e,t)=>e.type==="ObjectExpression"&&t==="properties",(e,t)=>e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="Component"&&t==="arguments",(e,t)=>e.type==="Decorator"&&t==="expression"];function dl(e){return e.type==="Identifier"&&e.name==="styled"}function jv(e){return/^[A-Z]/.test(e.object.name)&&e.property.name==="extend"}function Rv(e,t){return aL(e,Ov.Block|Ov.Leading,r=>{let{value:n}=r;return n===" ".concat(t," ")})}var fL=function(e,t,r,n){let a=e.getValue();if(a.type!=="TemplateLiteral"||function(l){let{quasis:p}=l;return p.some(d=>{let{value:{cooked:m}}=d;return m===null})}(a))return;let o=pL(e);return o?o==="markdown"?uL(e,t,r):o==="css"?oL(e,t,r):o==="graphql"?cL(e,t,r):o==="html"||o==="angular"?lL(e,t,r,n,{parser:o}):void 0:void 0};let{isBlockComment:hL}=He,dL=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),pa=e=>{for(let t of e.quasis)delete t.value};function Vv(e,t,r){if(e.type==="Program"&&delete t.sourceType,e.type!=="BigIntLiteral"&&e.type!=="BigIntLiteralTypeAnnotation"||t.value&&(t.value=t.value.toLowerCase()),e.type!=="BigIntLiteral"&&e.type!=="Literal"||t.bigint&&(t.bigint=t.bigint.toLowerCase()),e.type==="DecimalLiteral"&&(t.value=Number(t.value)),e.type==="Literal"&&t.decimal&&(t.decimal=Number(t.decimal)),e.type==="EmptyStatement"||e.type==="JSXText"||e.type==="JSXExpressionContainer"&&(e.expression.type==="Literal"||e.expression.type==="StringLiteral")&&e.expression.value===" ")return null;if(e.type!=="Property"&&e.type!=="ObjectProperty"&&e.type!=="MethodDefinition"&&e.type!=="ClassProperty"&&e.type!=="ClassMethod"&&e.type!=="PropertyDefinition"&&e.type!=="TSDeclareMethod"&&e.type!=="TSPropertySignature"&&e.type!=="ObjectTypeProperty"||typeof e.key!="object"||!e.key||e.key.type!=="Literal"&&e.key.type!=="NumericLiteral"&&e.key.type!=="StringLiteral"&&e.key.type!=="Identifier"||delete t.key,e.type==="JSXElement"&&e.openingElement.name.name==="style"&&e.openingElement.attributes.some(a=>a.name.name==="jsx"))for(let{type:a,expression:o}of t.children)a==="JSXExpressionContainer"&&o.type==="TemplateLiteral"&&pa(o);e.type==="JSXAttribute"&&e.name.name==="css"&&e.value.type==="JSXExpressionContainer"&&e.value.expression.type==="TemplateLiteral"&&pa(t.value.expression),e.type==="JSXAttribute"&&e.value&&e.value.type==="Literal"&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));let n=e.expression||e.callee;if(e.type==="Decorator"&&n.type==="CallExpression"&&n.callee.name==="Component"&&n.arguments.length===1){let a=e.expression.arguments[0].properties;for(let[o,l]of t.expression.arguments[0].properties.entries())switch(a[o].key.name){case"styles":l.value.type==="ArrayExpression"&&pa(l.value.elements[0]);break;case"template":l.value.type==="TemplateLiteral"&&pa(l.value)}}return e.type!=="TaggedTemplateExpression"||e.tag.type!=="MemberExpression"&&(e.tag.type!=="Identifier"||e.tag.name!=="gql"&&e.tag.name!=="graphql"&&e.tag.name!=="css"&&e.tag.name!=="md"&&e.tag.name!=="markdown"&&e.tag.name!=="html")&&e.tag.type!=="CallExpression"||pa(t.quasi),e.type==="TemplateLiteral"&&(e.leadingComments&&e.leadingComments.some(o=>hL(o)&&["GraphQL","HTML"].some(l=>o.value===" ".concat(l," ")))||r.type==="CallExpression"&&r.callee.name==="graphql"||!e.leadingComments)&&pa(t),e.type==="InterpreterDirective"&&(t.value=t.value.trimEnd()),e.type!=="TSIntersectionType"&&e.type!=="TSUnionType"||e.types.length!==1?void 0:t.types[0]}Vv.ignoredProperties=dL;var mL=Vv,Zi={},Pd={exports:{}};let qv=e=>{if(typeof e!="string")throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(t.length===0)return;let r=t.filter(n=>n===`\r
+`).length;return r>t.length-r?`\r
+`:`
+`};function Od(){let e=Uc;return Od=function(){return e},e}function Ld(){let e=function(t){return t&&t.__esModule?t:{default:t}}(Pd.exports);return Ld=function(){return e},e}Pd.exports=qv,Pd.exports.graceful=e=>typeof e=="string"&&qv(e)||`
+`,Object.defineProperty(Zi,"__esModule",{value:!0}),Zi.extract=function(e){let t=e.match(Gv);return t?t[0].trimLeft():""},Zi.strip=function(e){let t=e.match(Gv);return t&&t[0]?e.substring(t[0].length):e},Zi.parse=function(e){return $v(e).pragmas},Zi.parseWithComments=$v,Zi.print=function(e){let{comments:t="",pragmas:r={}}=e,n=(0,Ld().default)(t)||Od().EOL,a=" *",o=Object.keys(r),l=o.map(d=>Hv(d,r[d])).reduce((d,m)=>d.concat(m),[]).map(d=>" * "+d+n).join("");if(!t){if(o.length===0)return"";if(o.length===1&&!Array.isArray(r[o[0]])){let d=r[o[0]];return"".concat("/**"," ").concat(Hv(o[0],d)[0]).concat(" */")}}let p=t.split(n).map(d=>"".concat(a," ").concat(d)).join(n)+n;return"/**"+n+(t?p:"")+(t&&o.length?a+n:"")+l+" */"};let gL=/\*\/$/,yL=/^\/\*\*/,Gv=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,DL=/(^|\s+)\/\/([^\r\n]*)/g,Uv=/^(\r?\n)+/,EL=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,Wv=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,bL=/(\r?\n|^) *\* ?/g,zv=[];function $v(e){let t=(0,Ld().default)(e)||Od().EOL;e=e.replace(yL,"").replace(gL,"").replace(bL,"$1");let r="";for(;r!==e;)r=e,e=e.replace(EL,"".concat(t,"$1 $2").concat(t));e=e.replace(Uv,"").trimRight();let n=Object.create(null),a=e.replace(Wv,"").replace(Uv,"").trimRight(),o;for(;o=Wv.exec(e);){let l=o[2].replace(DL,"");typeof n[o[1]]=="string"||Array.isArray(n[o[1]])?n[o[1]]=zv.concat(n[o[1]],l):n[o[1]]=l}return{comments:a,pragmas:n}}function Hv(e,t){return zv.concat(t).map(r=>"@".concat(e," ").concat(r).trim())}let{parseWithComments:CL,strip:AL,extract:vL,print:xL}=Zi,{getShebang:SL}=ke,{normalizeEndOfLine:FL}=z0;function Jv(e){let t=SL(e);t&&(e=e.slice(t.length+1));let r=vL(e),{pragmas:n,comments:a}=CL(r);return{shebang:t,text:e,pragmas:n,comments:a}}var Yv={hasPragma:function(e){let t=Object.keys(Jv(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){let{shebang:t,text:r,pragmas:n,comments:a}=Jv(e),o=AL(r),l=xL({pragmas:Object.assign({format:""},n),comments:a.trimStart()});return(t?"".concat(t,`
+`):"")+FL(l)+(o.startsWith(`
+`)?`
+`:`
+
+`)+o}};let{getLast:Xv,hasNewline:wL,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Md,getNextNonSpaceNonCommentCharacter:es,hasNewlineInRange:BL,addLeadingComment:Bt,addTrailingComment:Jt,addDanglingComment:zn,getNextNonSpaceNonCommentCharacterIndex:TL,isNonEmptyArray:jd}=ke,{isBlockComment:Kv,getFunctionParameters:ml,isPrettierIgnoreComment:Rd,isJsxNode:kL,hasFlowShorthandAnnotationComment:_L,hasFlowAnnotationComment:Qv,hasIgnoreComment:NL,isCallLikeExpression:IL,getCallArguments:PL,isCallExpression:Zv,isMemberExpression:OL,isObjectProperty:e2,getComments:t2,CommentCheckFlags:r2}=He,{locStart:n2,locEnd:Ur}=$t;function fa(e,t){let r=(e.body||e.properties).find(n=>{let{type:a}=n;return a!=="EmptyStatement"});r?Bt(r,t):zn(e,t)}function Vd(e,t){e.type==="BlockStatement"?fa(e,t):Bt(e,t)}function LL(e){let{comment:t,followingNode:r}=e;return!(!r||!f2(t))&&(Bt(r,t),!0)}function qd(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:a,text:o}=e;return!n||n.type!=="IfStatement"||!a?!1:es(o,t,Ur)===")"?(Jt(r,t),!0):r===n.consequent&&a===n.alternate?(r.type==="BlockStatement"?Jt(r,t):zn(n,t),!0):a.type==="BlockStatement"?(fa(a,t),!0):a.type==="IfStatement"?(Vd(a.consequent,t),!0):n.consequent===a&&(Bt(a,t),!0)}function Gd(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:a,text:o}=e;return!n||n.type!=="WhileStatement"||!a?!1:es(o,t,Ur)===")"?(Jt(r,t),!0):a.type==="BlockStatement"?(fa(a,t),!0):n.body===a&&(Bt(a,t),!0)}function i2(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:a}=e;return!(!n||n.type!=="TryStatement"&&n.type!=="CatchClause"||!a)&&(n.type==="CatchClause"&&r?(Jt(r,t),!0):a.type==="BlockStatement"?(fa(a,t),!0):a.type==="TryStatement"?(Vd(a.finalizer,t),!0):a.type==="CatchClause"&&(Vd(a.body,t),!0))}function ML(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!OL(r)||!n||n.type!=="Identifier")&&(Bt(r,t),!0)}function jL(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:a,text:o}=e,l=r&&!BL(o,Ur(r),n2(t));return!(r&&l||!n||n.type!=="ConditionalExpression"&&n.type!=="TSConditionalType"||!a)&&(Bt(a,t),!0)}function RL(e){let{comment:t,precedingNode:r,enclosingNode:n}=e;return!(!e2(n)||!n.shorthand||n.key!==r||n.value.type!=="AssignmentPattern")&&(Jt(n.value.left,t),!0)}function s2(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:a}=e;if(n&&(n.type==="ClassDeclaration"||n.type==="ClassExpression"||n.type==="DeclareClass"||n.type==="DeclareInterface"||n.type==="InterfaceDeclaration"||n.type==="TSInterfaceDeclaration")){if(jd(n.decorators)&&(!a||a.type!=="Decorator"))return Jt(Xv(n.decorators),t),!0;if(n.body&&a===n.body)return fa(n.body,t),!0;if(a){for(let o of["implements","extends","mixins"])if(n[o]&&a===n[o][0])return!r||r!==n.id&&r!==n.typeParameters&&r!==n.superClass?zn(n,t,o):Jt(r,t),!0}}return!1}function a2(e){let{comment:t,precedingNode:r,enclosingNode:n,text:a}=e;return(n&&r&&(n.type==="Property"||n.type==="TSDeclareMethod"||n.type==="TSAbstractMethodDefinition")&&r.type==="Identifier"&&n.key===r&&es(a,r,Ur)!==":"||!(!r||!n||r.type!=="Decorator"||n.type!=="ClassMethod"&&n.type!=="ClassProperty"&&n.type!=="PropertyDefinition"&&n.type!=="TSAbstractPropertyDefinition"&&n.type!=="TSAbstractMethodDefinition"&&n.type!=="TSDeclareMethod"&&n.type!=="MethodDefinition"))&&(Jt(r,t),!0)}function VL(e){let{comment:t,precedingNode:r,enclosingNode:n,text:a}=e;return es(a,t,Ur)==="("&&!(!r||!n||n.type!=="FunctionDeclaration"&&n.type!=="FunctionExpression"&&n.type!=="ClassMethod"&&n.type!=="MethodDefinition"&&n.type!=="ObjectMethod")&&(Jt(r,t),!0)}function qL(e){let{comment:t,enclosingNode:r,text:n}=e;if(!r||r.type!=="ArrowFunctionExpression")return!1;let a=TL(n,t,Ur);return a!==!1&&n.slice(a,a+2)==="=>"&&(zn(r,t),!0)}function GL(e){let{comment:t,enclosingNode:r,text:n}=e;return es(n,t,Ur)===")"&&(r&&(p2(r)&&ml(r).length===0||IL(r)&&PL(r).length===0)?(zn(r,t),!0):!(!r||r.type!=="MethodDefinition"&&r.type!=="TSAbstractMethodDefinition"||ml(r.value).length!==0)&&(zn(r.value,t),!0))}function u2(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:a,text:o}=e;if(r&&r.type==="FunctionTypeParam"&&n&&n.type==="FunctionTypeAnnotation"&&a&&a.type!=="FunctionTypeParam"||r&&(r.type==="Identifier"||r.type==="AssignmentPattern")&&n&&p2(n)&&es(o,t,Ur)===")")return Jt(r,t),!0;if(n&&n.type==="FunctionDeclaration"&&a&&a.type==="BlockStatement"){let l=(()=>{let p=ml(n);if(p.length>0)return Md(o,Ur(Xv(p)));let d=Md(o,Ur(n.id));return d!==!1&&Md(o,d+1)})();if(n2(t)>l)return fa(a,t),!0}return!1}function o2(e){let{comment:t,enclosingNode:r}=e;return!(!r||r.type!=="ImportSpecifier")&&(Bt(r,t),!0)}function c2(e){let{comment:t,enclosingNode:r}=e;return!(!r||r.type!=="LabeledStatement")&&(Bt(r,t),!0)}function UL(e){let{comment:t,enclosingNode:r}=e;return!(!r||r.type!=="ContinueStatement"&&r.type!=="BreakStatement"||r.label)&&(Jt(r,t),!0)}function WL(e){let{comment:t,precedingNode:r,enclosingNode:n}=e;return!!(Zv(n)&&r&&n.callee===r&&n.arguments.length>0)&&(Bt(n.arguments[0],t),!0)}function zL(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:a}=e;return!n||n.type!=="UnionTypeAnnotation"&&n.type!=="TSUnionType"?(a&&(a.type==="UnionTypeAnnotation"||a.type==="TSUnionType")&&Rd(t)&&(a.types[0].prettierIgnore=!0,t.unignore=!0),!1):(Rd(t)&&(a.prettierIgnore=!0,t.unignore=!0),!!r&&(Jt(r,t),!0))}function $L(e){let{comment:t,enclosingNode:r}=e;return!!e2(r)&&(Bt(r,t),!0)}function Ud(e){let{comment:t,enclosingNode:r,followingNode:n,ast:a,isLastComment:o}=e;return a&&a.body&&a.body.length===0?(o?zn(a,t):Bt(a,t),!0):r&&r.type==="Program"&&r.body.length===0&&!jd(r.directives)?(o?zn(r,t):Bt(r,t),!0):!(!n||n.type!=="Program"||n.body.length!==0||!r||r.type!=="ModuleExpression")&&(zn(n,t),!0)}function HL(e){let{comment:t,enclosingNode:r}=e;return!(!r||r.type!=="ForInStatement"&&r.type!=="ForOfStatement")&&(Bt(r,t),!0)}function JL(e){let{comment:t,precedingNode:r,enclosingNode:n,text:a}=e;return!!(r&&r.type==="ImportSpecifier"&&n&&n.type==="ImportDeclaration"&&wL(a,Ur(t)))&&(Jt(r,t),!0)}function YL(e){let{comment:t,enclosingNode:r}=e;return!(!r||r.type!=="AssignmentPattern")&&(Bt(r,t),!0)}function XL(e){let{comment:t,enclosingNode:r}=e;return!(!r||r.type!=="TypeAlias")&&(Bt(r,t),!0)}function KL(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!r||r.type!=="VariableDeclarator"&&r.type!=="AssignmentExpression"||!n||n.type!=="ObjectExpression"&&n.type!=="ArrayExpression"&&n.type!=="TemplateLiteral"&&n.type!=="TaggedTemplateExpression"&&!Kv(t))&&(Bt(n,t),!0)}function QL(e){let{comment:t,enclosingNode:r,followingNode:n,text:a}=e;return!(n||!r||r.type!=="TSMethodSignature"&&r.type!=="TSDeclareFunction"&&r.type!=="TSAbstractMethodDefinition"||es(a,t,Ur)!==";")&&(Jt(r,t),!0)}function l2(e){let{comment:t,enclosingNode:r,followingNode:n}=e;if(Rd(t)&&r&&r.type==="TSMappedType"&&n&&n.type==="TSTypeParameter"&&n.constraint)return r.prettierIgnore=!0,t.unignore=!0,!0}function ZL(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:a}=e;return!(!n||n.type!=="TSMappedType")&&(a&&a.type==="TSTypeParameter"&&a.name?(Bt(a.name,t),!0):!(!r||r.type!=="TSTypeParameter"||!r.constraint)&&(Jt(r.constraint,t),!0))}function p2(e){return e.type==="ArrowFunctionExpression"||e.type==="FunctionExpression"||e.type==="FunctionDeclaration"||e.type==="ObjectMethod"||e.type==="ClassMethod"||e.type==="TSDeclareFunction"||e.type==="TSCallSignatureDeclaration"||e.type==="TSConstructSignatureDeclaration"||e.type==="TSMethodSignature"||e.type==="TSConstructorType"||e.type==="TSFunctionType"||e.type==="TSDeclareMethod"}function f2(e){return Kv(e)&&e.value[0]==="*"&&/@type\b/.test(e.value)}var h2={handleOwnLineComment:function(e){return[l2,u2,ML,qd,Gd,i2,s2,o2,HL,zL,Ud,JL,YL,a2,c2].some(t=>t(e))},handleEndOfLineComment:function(e){return[LL,u2,jL,o2,qd,Gd,i2,s2,c2,WL,$L,Ud,XL,KL].some(t=>t(e))},handleRemainingComment:function(e){return[l2,qd,Gd,RL,GL,a2,Ud,qL,VL,ZL,UL,QL].some(t=>t(e))},isTypeCastComment:f2,getCommentChildNodes:function(e,t){if((t.parser==="typescript"||t.parser==="flow"||t.parser==="espree"||t.parser==="meriyah"||t.parser==="__babel_estree")&&e.type==="MethodDefinition"&&e.value&&e.value.type==="FunctionExpression"&&ml(e.value).length===0&&!e.value.returnType&&!jd(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]},willPrintOwnComments:function(e){let t=e.getValue(),r=e.getParentNode();return(t&&(kL(t)||_L(t)||Zv(r)&&(n=>Qv(t2(n,r2.Leading))||Qv(t2(n,r2.Trailing)))(t))||r&&(r.type==="JSXSpreadAttribute"||r.type==="JSXSpreadChild"||r.type==="UnionTypeAnnotation"||r.type==="TSUnionType"||(r.type==="ClassDeclaration"||r.type==="ClassExpression")&&r.superClass===t))&&(!NL(e)||r.type==="UnionTypeAnnotation"||r.type==="TSUnionType")}};let eM=Mr,{getFunctionParameters:tM,getLeftSidePathName:rM,hasFlowShorthandAnnotationComment:nM,hasNakedLeftSide:iM,hasNode:d2,isBitwiseOperator:sM,startsWithNoLookaheadToken:m2,shouldFlatten:aM,getPrecedence:g2,isCallExpression:y2,isMemberExpression:uM,isObjectProperty:oM}=He;function Wd(e,t){let r=e.getParentNode();if(!r)return!1;let n=e.getName(),a=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(o){return o.type==="ObjectExpression"}(a)&&ju(e))return!0;if(function(o){return o.type==="BlockStatement"||o.type==="BreakStatement"||o.type==="ClassBody"||o.type==="ClassDeclaration"||o.type==="ClassMethod"||o.type==="ClassProperty"||o.type==="PropertyDefinition"||o.type==="ClassPrivateProperty"||o.type==="ContinueStatement"||o.type==="DebuggerStatement"||o.type==="DeclareClass"||o.type==="DeclareExportAllDeclaration"||o.type==="DeclareExportDeclaration"||o.type==="DeclareFunction"||o.type==="DeclareInterface"||o.type==="DeclareModule"||o.type==="DeclareModuleExports"||o.type==="DeclareVariable"||o.type==="DoWhileStatement"||o.type==="EnumDeclaration"||o.type==="ExportAllDeclaration"||o.type==="ExportDefaultDeclaration"||o.type==="ExportNamedDeclaration"||o.type==="ExpressionStatement"||o.type==="ForInStatement"||o.type==="ForOfStatement"||o.type==="ForStatement"||o.type==="FunctionDeclaration"||o.type==="IfStatement"||o.type==="ImportDeclaration"||o.type==="InterfaceDeclaration"||o.type==="LabeledStatement"||o.type==="MethodDefinition"||o.type==="ReturnStatement"||o.type==="SwitchStatement"||o.type==="ThrowStatement"||o.type==="TryStatement"||o.type==="TSDeclareFunction"||o.type==="TSEnumDeclaration"||o.type==="TSImportEqualsDeclaration"||o.type==="TSInterfaceDeclaration"||o.type==="TSModuleDeclaration"||o.type==="TSNamespaceExportDeclaration"||o.type==="TypeAlias"||o.type==="VariableDeclaration"||o.type==="WhileStatement"||o.type==="WithStatement"}(a))return!1;if(t.parser!=="flow"&&nM(e.getValue()))return!0;if(a.type==="Identifier")return!!(a.extra&&a.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(a.name))||n==="left"&&a.name==="async"&&r.type==="ForOfStatement"&&!r.await;switch(r.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if(n==="superClass"&&(a.type==="ArrowFunctionExpression"||a.type==="AssignmentExpression"||a.type==="AwaitExpression"||a.type==="BinaryExpression"||a.type==="ConditionalExpression"||a.type==="LogicalExpression"||a.type==="NewExpression"||a.type==="ObjectExpression"||a.type==="ParenthesizedExpression"||a.type==="SequenceExpression"||a.type==="TaggedTemplateExpression"||a.type==="UnaryExpression"||a.type==="UpdateExpression"||a.type==="YieldExpression"||a.type==="TSNonNullExpression"))return!0;break;case"ExportDefaultDeclaration":return D2(e,t)||a.type==="SequenceExpression";case"Decorator":if(n==="expression"){let o=!1,l=!1,p=a;for(;p;)switch(p.type){case"MemberExpression":l=!0,p=p.object;break;case"CallExpression":if(l||o)return t.parser!=="typescript";o=!0,p=p.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return t.parser!=="typescript";default:return!0}return!0}break;case"ExpressionStatement":if(m2(a,!0))return!0;break;case"ArrowFunctionExpression":if(n==="body"&&a.type!=="SequenceExpression"&&m2(a,!1))return!0}switch(a.type){case"UpdateExpression":if(r.type==="UnaryExpression")return a.prefix&&(a.operator==="++"&&r.operator==="+"||a.operator==="--"&&r.operator==="-");case"UnaryExpression":switch(r.type){case"UnaryExpression":return a.operator===r.operator&&(a.operator==="+"||a.operator==="-");case"BindExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"BinaryExpression":return n==="left"&&r.operator==="**";default:return!1}case"BinaryExpression":if(r.type==="UpdateExpression"||a.operator==="in"&&function(o){let l=0,p=o.getValue();for(;p;){let d=o.getParentNode(l++);if(d&&d.type==="ForStatement"&&d.init===p)return!0;p=d}return!1}(e))return!0;if(a.operator==="|>"&&a.extra&&a.extra.parenthesized){let o=e.getParentNode(1);if(o.type==="BinaryExpression"&&o.operator==="|>")return!0}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(r.type){case"TSAsExpression":return a.type!=="TSAsExpression";case"ConditionalExpression":return a.type==="TSAsExpression";case"CallExpression":case"NewExpression":case"OptionalCallExpression":return n==="callee";case"ClassExpression":case"ClassDeclaration":return n==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"AssignmentExpression":case"AssignmentPattern":return n==="left"&&(a.type==="TSTypeAssertion"||a.type==="TSAsExpression");case"LogicalExpression":if(a.type==="LogicalExpression")return r.operator!==a.operator;case"BinaryExpression":{let{operator:o,type:l}=a;if(!o&&l!=="TSTypeAssertion")return!0;let p=g2(o),d=r.operator,m=g2(d);return m>p||n==="right"&&m===p||m===p&&!aM(d,o)||(m");default:return!1}case"TSConditionalType":if(n==="extendsType"&&r.type==="TSConditionalType")return!0;case"TSFunctionType":case"TSConstructorType":if(n==="checkType"&&r.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((r.type==="TSUnionType"||r.type==="TSIntersectionType")&&r.types.length>1&&(!a.types||a.types.length>1))return!0;case"TSInferType":if(a.type==="TSInferType"&&r.type==="TSRestType")return!1;case"TSTypeOperator":return r.type==="TSArrayType"||r.type==="TSOptionalType"||r.type==="TSRestType"||n==="objectType"&&r.type==="TSIndexedAccessType"||r.type==="TSTypeOperator"||r.type==="TSTypeAnnotation"&&e.getParentNode(1).type.startsWith("TSJSDoc");case"ArrayTypeAnnotation":return r.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return r.type==="ArrayTypeAnnotation"||r.type==="NullableTypeAnnotation"||r.type==="IntersectionTypeAnnotation"||r.type==="UnionTypeAnnotation"||n==="objectType"&&(r.type==="IndexedAccessType"||r.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return r.type==="ArrayTypeAnnotation"||n==="objectType"&&(r.type==="IndexedAccessType"||r.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let o=r.type==="NullableTypeAnnotation"?e.getParentNode(1):r;return o.type==="UnionTypeAnnotation"||o.type==="IntersectionTypeAnnotation"||o.type==="ArrayTypeAnnotation"||n==="objectType"&&(o.type==="IndexedAccessType"||o.type==="OptionalIndexedAccessType")||o.type==="NullableTypeAnnotation"||r.type==="FunctionTypeParam"&&r.name===null&&tM(a).some(l=>l.typeAnnotation&&l.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return n==="objectType"&&r.type==="IndexedAccessType";case"TypeofTypeAnnotation":return n==="objectType"&&(r.type==="IndexedAccessType"||r.type==="OptionalIndexedAccessType");case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof a.value=="string"&&r.type==="ExpressionStatement"&&!r.directive){let o=e.getParentNode(1);return o.type==="Program"||o.type==="BlockStatement"}return n==="object"&&r.type==="MemberExpression"&&typeof a.value=="number";case"AssignmentExpression":{let o=e.getParentNode(1);return n==="body"&&r.type==="ArrowFunctionExpression"||(n!=="key"||r.type!=="ClassProperty"&&r.type!=="PropertyDefinition"||!r.computed)&&(n!=="init"&&n!=="update"||r.type!=="ForStatement")&&(r.type==="ExpressionStatement"?a.left.type==="ObjectPattern":(n!=="key"||r.type!=="TSPropertySignature")&&r.type!=="AssignmentExpression"&&(r.type!=="SequenceExpression"||!o||o.type!=="ForStatement"||o.init!==r&&o.update!==r)&&(n!=="value"||r.type!=="Property"||!o||o.type!=="ObjectPattern"||!o.properties.includes(r))&&r.type!=="NGChainedExpression")}case"ConditionalExpression":switch(r.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"ConditionalExpression":return n==="test";case"MemberExpression":case"OptionalMemberExpression":return n==="object";default:return!1}case"FunctionExpression":switch(r.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(r.type){case"BinaryExpression":return r.operator!=="|>"||a.extra&&a.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return n==="test";default:return!1}case"ClassExpression":return r.type==="NewExpression"&&n==="callee";case"OptionalMemberExpression":case"OptionalCallExpression":{let o=e.getParentNode(1);if(n==="object"&&r.type==="MemberExpression"||n==="callee"&&(r.type==="CallExpression"||r.type==="NewExpression")||r.type==="TSNonNullExpression"&&o.type==="MemberExpression"&&o.object===r)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(n==="callee"&&(r.type==="BindExpression"||r.type==="NewExpression")){let o=a;for(;o;)switch(o.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":o=o.object;break;case"TaggedTemplateExpression":o=o.tag;break;case"TSNonNullExpression":o=o.expression;break;default:return!1}}return!1;case"BindExpression":return n==="callee"&&(r.type==="BindExpression"||r.type==="NewExpression")||n==="object"&&uM(r);case"NGPipeExpression":return!(r.type==="NGRoot"||r.type==="NGMicrosyntaxExpression"||r.type==="ObjectProperty"&&(!a.extra||!a.extra.parenthesized)||r.type==="ArrayExpression"||y2(r)&&r.arguments[n]===a||n==="right"&&r.type==="NGPipeExpression"||n==="property"&&r.type==="MemberExpression"||r.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return n==="callee"||n==="left"&&r.type==="BinaryExpression"&&r.operator==="<"||r.type!=="ArrayExpression"&&r.type!=="ArrowFunctionExpression"&&r.type!=="AssignmentExpression"&&r.type!=="AssignmentPattern"&&r.type!=="BinaryExpression"&&r.type!=="NewExpression"&&r.type!=="ConditionalExpression"&&r.type!=="ExpressionStatement"&&r.type!=="JsExpressionRoot"&&r.type!=="JSXAttribute"&&r.type!=="JSXElement"&&r.type!=="JSXExpressionContainer"&&r.type!=="JSXFragment"&&r.type!=="LogicalExpression"&&!y2(r)&&!oM(r)&&r.type!=="ReturnStatement"&&r.type!=="ThrowStatement"&&r.type!=="TypeCastExpression"&&r.type!=="VariableDeclarator"&&r.type!=="YieldExpression";case"TypeAnnotation":return n==="returnType"&&r.type==="ArrowFunctionExpression"&&function(o){return d2(o,l=>l.type==="ObjectTypeAnnotation"&&d2(l,p=>p.type==="FunctionTypeAnnotation"||void 0)||void 0)}(a)}return!1}function ju(e){let t=e.getValue(),r=e.getParentNode(),n=e.getName();switch(r.type){case"NGPipeExpression":if(typeof n=="number"&&r.arguments[n]===t&&r.arguments.length-1===n)return e.callParent(ju);break;case"ObjectProperty":if(n==="value"){let a=e.getParentNode(1);return eM(a.properties)===r}break;case"BinaryExpression":case"LogicalExpression":if(n==="right")return e.callParent(ju);break;case"ConditionalExpression":if(n==="alternate")return e.callParent(ju);break;case"UnaryExpression":if(r.prefix)return e.callParent(ju)}return!1}function D2(e,t){let r=e.getValue(),n=e.getParentNode();return r.type==="FunctionExpression"||r.type==="ClassExpression"?n.type==="ExportDefaultDeclaration"||!Wd(e,t):!(!iM(r)||n.type!=="ExportDefaultDeclaration"&&Wd(e,t))&&e.call(a=>D2(a,t),...rM(e,r))}var ha=Wd,E2=function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign(Object.assign({},e),{},{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}};let{builders:{join:b2,line:C2,group:cM,softline:A2,indent:lM}}=ve;var pM={isVueEventBindingExpression:function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function(e,t,r){let n=e.getValue();if(t.__onHtmlBindingRoot&&e.getName()===null&&t.__onHtmlBindingRoot(n,t),n.type==="File")return t.__isVueForBindingLeft?e.call(a=>{let o=b2([",",C2],a.map(r,"params")),{params:l}=a.getValue();return l.length===1?o:["(",lM([A2,cM(o)]),A2,")"]},"program","body",0):t.__isVueBindings?e.call(a=>b2([",",C2],a.map(r,"params")),"program","body",0):void 0}};let{printComments:fM}=gt,{getLast:hM}=ke,{builders:{join:dM,line:v2,softline:gl,group:_n,indent:zd,align:mM,ifBreak:gM,indentIfBreak:yM},utils:{cleanDoc:DM,getDocParts:EM,isConcat:bM}}=ve,{hasLeadingOwnLineComment:CM,isBinaryish:x2,isJsxNode:S2,shouldFlatten:F2,hasComment:w2,CommentCheckFlags:B2,isCallExpression:T2,isMemberExpression:AM,isObjectProperty:vM,isEnabledHackPipeline:k2}=He,xM=0;function $d(e,t,r,n,a){let o=e.getValue();if(!x2(o))return[_n(t())];let l=[];F2(o.operator,o.left.operator)?l=e.call(S=>$d(S,t,r,!0,a),"left"):l.push(_n(t("left")));let p=yl(o),d=(o.operator==="|>"||o.type==="NGPipeExpression"||o.operator==="|"&&r.parser==="__vue_expression")&&!CM(r.originalText,o.right),m=o.type==="NGPipeExpression"?"|":o.operator,y=o.type==="NGPipeExpression"&&o.arguments.length>0?_n(zd([gl,": ",dM([gl,":",gM(" ")],e.map(t,"arguments").map(S=>mM(2,_n(S))))])):"",D;if(p)D=[m," ",t("right"),y];else{let S=k2(r)&&m==="|>"?e.call(k=>$d(k,t,r,!0,a),"right"):t("right");D=[d?v2:"",m,d?" ":v2,S,y]}let b=e.getParentNode(),v=w2(o.left,B2.Trailing|B2.Line),w=v||!(a&&o.type==="LogicalExpression")&&b.type!==o.type&&o.left.type!==o.type&&o.right.type!==o.type;if(l.push(d?"":" ",w?_n(D,{shouldBreak:v}):D),n&&w2(o)){let S=DM(fM(e,l,r));return bM(S)||S.type==="fill"?EM(S):[S]}return l}function yl(e){return e.type==="LogicalExpression"&&(e.right.type==="ObjectExpression"&&e.right.properties.length>0||e.right.type==="ArrayExpression"&&e.right.elements.length>0||!!S2(e.right))}var Hd={printBinaryishExpression:function(e,t,r){let n=e.getValue(),a=e.getParentNode(),o=e.getParentNode(1),l=n!==a.body&&(a.type==="IfStatement"||a.type==="WhileStatement"||a.type==="SwitchStatement"||a.type==="DoWhileStatement"),p=k2(t)&&n.operator==="|>",d=$d(e,r,t,!1,l);if(l)return d;if(p)return _n(d);if(T2(a)&&a.callee===n||a.type==="UnaryExpression"||AM(a)&&!a.computed)return _n([zd([gl,...d]),gl]);let m=a.type==="ReturnStatement"||a.type==="ThrowStatement"||a.type==="JSXExpressionContainer"&&o.type==="JSXAttribute"||n.operator!=="|"&&a.type==="JsExpressionRoot"||n.type!=="NGPipeExpression"&&(a.type==="NGRoot"&&t.parser==="__ng_binding"||a.type==="NGMicrosyntaxExpression"&&o.type==="NGMicrosyntax"&&o.body.length===1)||n===a.body&&a.type==="ArrowFunctionExpression"||n!==a.body&&a.type==="ForStatement"||a.type==="ConditionalExpression"&&o.type!=="ReturnStatement"&&o.type!=="ThrowStatement"&&!T2(o)||a.type==="TemplateLiteral",y=a.type==="AssignmentExpression"||a.type==="VariableDeclarator"||a.type==="ClassProperty"||a.type==="PropertyDefinition"||a.type==="TSAbstractPropertyDefinition"||a.type==="ClassPrivateProperty"||vM(a),D=x2(n.left)&&F2(n.operator,n.left.operator);if(m||yl(n)&&!D||!yl(n)&&y)return _n(d);if(d.length===0)return"";let b=S2(n.right),v=d.findIndex(M=>typeof M!="string"&&!Array.isArray(M)&&M.type==="group"),w=d.slice(0,v===-1?1:v+1),S=d.slice(w.length,b?-1:void 0),k=Symbol("logicalChain-"+ ++xM),P=_n([...w,zd(S)],{id:k});if(!b)return P;let _=hM(d);return _n([P,yM(_,{groupId:k})])},shouldInlineLogicalExpression:yl};let{builders:{join:SM,line:_2,group:FM}}=ve,{hasNode:wM,hasComment:BM,getComments:TM}=He,{printBinaryishExpression:kM}=Hd;function N2(e,t,r){return e.type==="NGMicrosyntaxKeyedExpression"&&e.key.name==="of"&&t===1&&r.body[0].type==="NGMicrosyntaxLet"&&r.body[0].value===null}var _M={printAngular:function(e,t,r){let n=e.getValue();if(n.type.startsWith("NG"))switch(n.type){case"NGRoot":return[r("node"),BM(n.node)?" //"+TM(n.node)[0].value.trimEnd():""];case"NGPipeExpression":return kM(e,t,r);case"NGChainedExpression":return FM(SM([";",_2],e.map(a=>function(o){return wM(o.getValue(),l=>{switch(l.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}(a)?r():["(",r(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[n.prefix,": ",n.value.trim()];case"NGMicrosyntax":return e.map((a,o)=>[o===0?"":N2(a.getValue(),o,n)?" ":[";",_2],r()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(n.name)?n.name:JSON.stringify(n.name);case"NGMicrosyntaxExpression":return[r("expression"),n.alias===null?"":[" as ",r("alias")]];case"NGMicrosyntaxKeyedExpression":{let a=e.getName(),o=e.getParentNode(),l=N2(n,a,o)||(a===1&&(n.key.name==="then"||n.key.name==="else")||a===2&&n.key.name==="else"&&o.body[a-1].type==="NGMicrosyntaxKeyedExpression"&&o.body[a-1].key.name==="then")&&o.body[0].type==="NGMicrosyntaxExpression";return[r("key"),l?" ":": ",r("expression")]}case"NGMicrosyntaxLet":return["let ",r("key"),n.value===null?"":[" = ",r("value")]];case"NGMicrosyntaxAs":return[r("key")," as ",r("alias")];default:throw new Error("Unknown Angular node type: ".concat(JSON.stringify(n.type),"."))}}};let{printComments:I2,printDanglingComments:P2}=gt,{builders:{line:Dl,hardline:pt,softline:Yt,group:ts,indent:rs,conditionalGroup:NM,fill:IM,ifBreak:Jd,lineSuffixBoundary:O2,join:L2},utils:{willBreak:M2}}=ve,{getLast:Ru,getPreferredQuote:PM}=ke,{isJsxNode:El,rawText:Vu,isLiteral:bl,isCallExpression:j2,isStringLiteral:Yd,isBinaryish:OM,hasComment:Wr,CommentCheckFlags:ns,hasNodeIgnoreComment:LM}=He,MM=ha,{willPrintOwnComments:jM}=h2,Xd=e=>e===""||e===Dl||e===pt||e===Yt;function RM(e,t,r){let n=e.getValue();if(n.type==="JSXElement"&&function(_){if(_.children.length===0)return!0;if(_.children.length>1)return!1;let M=_.children[0];return bl(M)&&!qu(M)}(n))return[r("openingElement"),r("closingElement")];let a=n.type==="JSXElement"?r("openingElement"):r("openingFragment"),o=n.type==="JSXElement"?r("closingElement"):r("closingFragment");if(n.children.length===1&&n.children[0].type==="JSXExpressionContainer"&&(n.children[0].expression.type==="TemplateLiteral"||n.children[0].expression.type==="TaggedTemplateExpression"))return[a,...e.map(r,"children"),o];n.children=n.children.map(_=>function(M){return M.type==="JSXExpressionContainer"&&bl(M.expression)&&M.expression.value===" "&&!Wr(M.expression)}(_)?{type:"JSXText",value:" ",raw:" "}:_);let l=n.children.some(El),p=n.children.filter(_=>_.type==="JSXExpressionContainer").length>1,d=n.type==="JSXElement"&&n.openingElement.attributes.length>1,m=M2(a)||l||d||p,y=e.getParentNode().rootMarker==="mdx",D=t.singleQuote?"{' '}":'{" "}',b=y?" ":Jd([D,Yt]," "),v=function(_,M,U,q,H){let Q=[];return _.each((te,Ee,ne)=>{let pe=te.getValue();if(bl(pe)){let Be=Vu(pe);if(qu(pe)){let Se=Be.split(Cl);if(Se[0]===""){if(Q.push(""),Se.shift(),/\n/.test(Se[0])){let Dt=ne[Ee+1];Q.push(V2(H,Se[1],pe,Dt))}else Q.push(q);Se.shift()}let st;if(Ru(Se)===""&&(Se.pop(),st=Se.pop()),Se.length===0)return;for(let[Dt,lr]of Se.entries())Dt%2==1?Q.push(Dl):Q.push(lr);if(st!==void 0)if(/\n/.test(st)){let Dt=ne[Ee+1];Q.push(V2(H,Ru(Q),pe,Dt))}else Q.push(q);else{let Dt=ne[Ee+1];Q.push(R2(H,Ru(Q),pe,Dt))}}else/\n/.test(Be)?Be.match(/\n/g).length>1&&Q.push("",pt):Q.push("",q)}else{let Be=U();Q.push(Be);let Se=ne[Ee+1];if(Se&&qu(Se)){let st=GM(Vu(Se)).split(Cl)[0];Q.push(R2(H,st,pe,Se))}else Q.push(pt)}},"children"),Q}(e,0,r,b,n.openingElement&&n.openingElement.name&&n.openingElement.name.name==="fbt"),w=n.children.some(_=>qu(_));for(let _=v.length-2;_>=0;_--){let M=v[_]===""&&v[_+1]==="",U=v[_]===pt&&v[_+1]===""&&v[_+2]===pt,q=(v[_]===Yt||v[_]===pt)&&v[_+1]===""&&v[_+2]===b,H=v[_]===b&&v[_+1]===""&&(v[_+2]===Yt||v[_+2]===pt),Q=v[_]===b&&v[_+1]===""&&v[_+2]===b,te=v[_]===Yt&&v[_+1]===""&&v[_+2]===pt||v[_]===pt&&v[_+1]===""&&v[_+2]===Yt;U&&w||M||q||Q||te?v.splice(_,2):H&&v.splice(_+1,2)}for(;v.length>0&&Xd(Ru(v));)v.pop();for(;v.length>1&&Xd(v[0])&&Xd(v[1]);)v.shift(),v.shift();let S=[];for(let[_,M]of v.entries()){if(M===b){if(_===1&&v[_-1]===""){if(v.length===2){S.push(D);continue}S.push([D,pt]);continue}if(_===v.length-1){S.push(D);continue}if(v[_-1]===""&&v[_-2]===pt){S.push(D);continue}}S.push(M),M2(M)&&(m=!0)}let k=w?IM(S):ts(S,{shouldBreak:!0});if(y)return k;let P=ts([a,rs([pt,k]),pt,o]);return m?P:NM([ts([a,...v,o]),P])}function R2(e,t,r,n){return e?"":r.type==="JSXElement"&&!r.closingElement||n&&n.type==="JSXElement"&&!n.closingElement?t.length===1?Yt:pt:Yt}function V2(e,t,r,n){return e?pt:t.length===1?r.type==="JSXElement"&&!r.closingElement||n&&n.type==="JSXElement"&&!n.closingElement?pt:Yt:pt}function VM(e,t,r){return function(n,a,o){let l=n.getParentNode();if(!l||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[l.type])return a;let p=n.match(void 0,m=>m.type==="ArrowFunctionExpression",j2,m=>m.type==="JSXExpressionContainer"),d=MM(n,o);return ts([d?"":Jd("("),rs([Yt,a]),Yt,d?"":Jd(")")],{shouldBreak:p})}(e,I2(e,RM(e,t,r),t),t)}function q2(e,t,r){let n=e.getValue();return["{",e.call(a=>{let o=["...",r()],l=a.getValue();return Wr(l)&&jM(a)?[rs([Yt,I2(a,o,t)]),Yt]:o},n.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}let Cl=new RegExp(`([
+\r ]+)`),qM=new RegExp(`[^
+\r ]`),GM=e=>e.replace(new RegExp("(?:^"+Cl.source+"|"+Cl.source+"$)"),"");function qu(e){return bl(e)&&(qM.test(Vu(e))||!/\n/.test(Vu(e)))}var UM={hasJsxIgnoreComment:function(e){let t=e.getValue(),r=e.getParentNode();if(!(r&&t&&El(t)&&El(r)))return!1;let n=null;for(let a=r.children.indexOf(t);a>0;a--){let o=r.children[a-1];if(o.type!=="JSXText"||qu(o)){n=o;break}}return n&&n.type==="JSXExpressionContainer"&&n.expression.type==="JSXEmptyExpression"&&LM(n.expression)},printJsx:function(e,t,r){let n=e.getValue();if(n.type.startsWith("JSX"))switch(n.type){case"JSXAttribute":return function(a,o,l){let p=a.getValue(),d=[];if(d.push(l("name")),p.value){let m;if(Yd(p.value)){let y=Vu(p.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:D,quote:b,regex:v}=PM(y,o.jsxSingleQuote?"'":'"');y=y.replace(v,D),m=[b,y,b]}else m=l("value");d.push("=",m)}return d}(e,t,r);case"JSXIdentifier":return String(n.name);case"JSXNamespacedName":return L2(":",[r("namespace"),r("name")]);case"JSXMemberExpression":return L2(".",[r("object"),r("property")]);case"JSXSpreadAttribute":return q2(e,t,r);case"JSXSpreadChild":return q2(e,t,r);case"JSXExpressionContainer":return function(a,o,l){let p=a.getValue(),d=a.getParentNode(0),m=p.expression.type==="JSXEmptyExpression"||!Wr(p.expression)&&(p.expression.type==="ArrayExpression"||p.expression.type==="ObjectExpression"||p.expression.type==="ArrowFunctionExpression"||j2(p.expression)||p.expression.type==="FunctionExpression"||p.expression.type==="TemplateLiteral"||p.expression.type==="TaggedTemplateExpression"||p.expression.type==="DoExpression"||El(d)&&(p.expression.type==="ConditionalExpression"||OM(p.expression)));return ts(m?["{",l("expression"),O2,"}"]:["{",rs([Yt,l("expression")]),Yt,O2,"}"])}(e,0,r);case"JSXFragment":case"JSXElement":return VM(e,t,r);case"JSXOpeningElement":return function(a,o,l){let p=a.getValue(),d=p.name&&Wr(p.name)||p.typeParameters&&Wr(p.typeParameters);if(p.selfClosing&&p.attributes.length===0&&!d)return["<",l("name"),l("typeParameters")," />"];if(p.attributes&&p.attributes.length===1&&p.attributes[0].value&&Yd(p.attributes[0].value)&&!p.attributes[0].value.value.includes(`
+`)&&!d&&!Wr(p.attributes[0]))return ts(["<",l("name"),l("typeParameters")," ",...a.map(l,"attributes"),p.selfClosing?" />":">"]);let m=p.attributes.length>0&&Wr(Ru(p.attributes),ns.Trailing),y=p.attributes.length===0&&!d||(o.bracketSameLine||o.jsxBracketSameLine)&&(!d||p.attributes.length>0)&&!m,D=p.attributes&&p.attributes.some(b=>b.value&&Yd(b.value)&&b.value.value.includes(`
+`));return ts(["<",l("name"),l("typeParameters"),rs(a.map(()=>[Dl,l()],"attributes")),p.selfClosing?Dl:y?">":Yt,p.selfClosing?"/>":y?"":">"],{shouldBreak:D})}(e,t,r);case"JSXClosingElement":return function(a,o,l){let p=a.getValue(),d=[];d.push("");let m=l("name");return Wr(p.name,ns.Leading|ns.Line)?d.push(rs([pt,m]),pt):Wr(p.name,ns.Leading|ns.Block)?d.push(" ",m):d.push(m),d.push(">"),d}(e,0,r);case"JSXOpeningFragment":case"JSXClosingFragment":return function(a,o){let l=a.getValue(),p=Wr(l),d=Wr(l,ns.Line),m=l.type==="JSXOpeningFragment";return[m?"<":"",rs([d?pt:p&&!m?" ":"",P2(a,o,!0)]),d?pt:"",">"]}(e,t);case"JSXEmptyExpression":return function(a,o){let l=a.getValue(),p=Wr(l,ns.Line);return[P2(a,o,!p),p?pt:""]}(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");default:throw new Error("Unknown JSX node type: ".concat(JSON.stringify(n.type),"."))}}},WM=gE,zM=hc,$M=qs,HM=d0,JM=AE;gc({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=zM(this),r=$M(t),n=JM(t,0);return n.length=WM(n,t,t,r,0,e===void 0?1:HM(e)),n}});var Al,YM=TD,XM=g0,KM=Object.keys||function(e){return YM(e,XM)},QM=Rs,ZM=Mi,ej=ki,tj=KM,rj=ge?Object.defineProperties:function(e,t){ZM(e);for(var r,n=ej(t),a=tj(t),o=a.length,l=0;o>l;)QM.f(e,r=a[l++],n[r]);return e},nj=_i("document","documentElement"),ij=Mi,sj=rj,G2=g0,aj=u0,uj=nj,oj=cD,U2=DD("IE_PROTO"),Kd=function(){},W2=function(e){return"