GGD/node_modules/prettier/esm/parser-babel.mjs

2 lines
374 KiB
JavaScript
Raw Permalink Normal View History

var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){return t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var s=function(t){return t&&t.Math==Math&&t},r=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof t&&t)||function(){return this}()||Function("return this")(),i={},n=function(t){try{return!!t()}catch(t){return!0}},a=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),o=Function.prototype.call,u=o.bind?o.bind(o):function(){return o.apply(o,arguments)},h={},p={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,l=c&&!p.call({1:2},1);h.f=l?function(t){var e=c(this,t);return!!e&&e.enumerable}:p;var d,D,m=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},f=Function.prototype,y=f.bind,E=f.call,A=y&&y.bind(E),C=y?function(t){return t&&A(E,t)}:function(t){return t&&function(){return E.apply(t,arguments)}},x=C,F=x({}.toString),g=x("".slice),P=function(t){return g(F(t),8,-1)},T=C,b=n,S=P,w=r.Object,B=T("".split),N=b((function(){return!w("z").propertyIsEnumerable(0)}))?function(t){return"String"==S(t)?B(t,""):w(t)}:w,I=r.TypeError,v=function(t){if(null==t)throw I("Can't call method on "+t);return t},k=N,L=v,O=function(t){return k(L(t))},M=function(t){return"function"==typeof t},R=M,j=function(t){return"object"==typeof t?null!==t:R(t)},U=r,_=M,z=function(t){return _(t)?t:void 0},H=function(t,e){return arguments.length<2?z(U[t]):U[t]&&U[t][e]},V=C({}.isPrototypeOf),q=H("navigator","userAgent")||"",G=r,W=q,K=G.process,X=G.Deno,J=K&&K.versions||X&&X.version,$=J&&J.v8;$&&(D=(d=$.split("."))[0]>0&&d[0]<4?1:+(d[0]+d[1])),!D&&W&&(!(d=W.match(/Edge\/(\d+)/))||d[1]>=74)&&(d=W.match(/Chrome\/(\d+)/))&&(D=+d[1]);var Y=D,Q=Y,Z=n,tt=!!Object.getOwnPropertySymbols&&!Z((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Q&&Q<41})),et=tt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,st=H,rt=M,it=V,nt=et,at=r.Object,ot=nt?function(t){return"symbol"==typeof t}:function(t){var e=st("Symbol");return rt(e)&&it(e.prototype,at(t))},ut=r.String,ht=function(t){try{return ut(t)}catch(t){return"Object"}},pt=M,ct=ht,lt=r.TypeError,dt=function(t){if(pt(t))return t;throw lt(ct(t)+" is not a function")},Dt=dt,mt=function(t,e){var s=t[e];return null==s?void 0:Dt(s)},ft=u,yt=M,Et=j,At=r.TypeError,Ct={exports:{}},xt=r,Ft=Object.defineProperty,gt=function(t,e){try{Ft(xt,t,{value:e,configurable:!0,writable:!0})}catch(s){xt[t]=e}return e},Pt=gt,Tt=r["__core-js_shared__"]||Pt("__core-js_shared__",{}),bt=Tt;(Ct.exports=function(t,e){return bt[t]||(bt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.19.1",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"});var St=v,wt=r.Object,Bt=function(t){return wt(St(t))},Nt=Bt,It=C({}.hasOwnProperty),vt=Object.hasOwn||function(t,e){return It(Nt(t),e)},kt=C,Lt=0,Ot=Math.random(),Mt=kt(1..toString),Rt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Mt(++Lt+Ot,36)},jt=r,Ut=Ct.exports,_t=vt,zt=Rt,Ht=tt,Vt=et,qt=Ut("wks"),Gt=jt.Symbol,Wt=Gt&&Gt.for,Kt=Vt?Gt:Gt&&Gt.withoutSetter||zt,Xt=function(t){if(!_t(qt,t)||!Ht&&"string"!=typeof qt[t]){var e="Symbol."+t;Ht&&_t(Gt,t)?qt[t]=Gt[t]:qt[t]=Vt&&Wt?Wt(e):Kt(e)}return qt[t]},Jt=u,$t=j,Yt=ot,Qt=mt,Zt=function(t,e){var s,r;if("string"===e&&yt(s=t.toString)&&!Et(r=ft(s,t)))return r;if(yt(s=t.valueOf)&&!Et(r=ft(s,t)))return r;if("string"!==e&&yt(s=t.toString)&&!Et(r=ft(s,t)))return r;throw At("Can't convert object to primitive value")},te=Xt,ee=r.TypeError,se=te("toPrimitive"),re=function(t,e){if(!$t(t)||Yt(t))return t;var s,r=Qt(t,se);if(r){if(void 0===e&&(e="default"),s=Jt(r,t,e),!$t(s)||Yt(s))return s;throw ee("Can't convert object to primitive value")}return void 0===e&&(e="number"),Zt(t,e)},ie=ot,ne=function(t){var e=re(t,"string");return ie(e)?e:e+""},ae=j,oe=r.document,ue=ae(oe)&&ae(oe.createElement),he=function(t){return ue?oe.createElement(t):{}