GGD/node_modules/prettier/parser-babel.js

2 lines
374 KiB
JavaScript
Raw Normal View History

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):((t="undefined"!=typeof globalThis?globalThis:t||self).prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.babel=e())}(this,(function(){"use strict";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")||"",W=r,K=q,G=W.process,X=W.Deno,J=G&&G.versions||X&&X.version,$=J&&J.v8;$&&(D=(d=$.split("."))[0]>0&&d[0]<4?1:+(d[0]+d[1])),!D&&K&&(!(d=K.match(/Edge\/(\d+)/))||d[1]>=74)&&(d=K.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="__core-js_shared__",bt=r[Tt]||Pt(Tt,{}),St=bt;(Ct.exports=function(t,e){return St[t]||(St[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.19.1",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"});var wt=v,Bt=r.Object,Nt=function(t){return Bt(wt(t))},It=Nt,vt=C({}.hasOwnProperty),kt=Object.hasOwn||function(t,e){return vt(It(t),e)},Lt=C,Ot=0,Mt=Math.random(),Rt=Lt(1..toString),jt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Rt(++Ot+Mt,36)},Ut=r,_t=Ct.exports,zt=kt,Ht=jt,Vt=tt,qt=et,Wt=_t("wks"),Kt=Ut.Symbol,Gt=Kt&&Kt.for,Xt=qt?Kt:Kt&&Kt.withoutSetter||Ht,Jt=function(t){if(!zt(Wt,t)||!Vt&&"string"!=typeof Wt[t]){var e="Symbol."+t;Vt&&zt(Kt,t)?Wt[t]=Kt[t]:Wt[t]=qt&&Gt?Gt(e):Xt(e)}return Wt[t]},$t=u,Yt=j,Qt=ot,Zt=mt,te=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")},ee=Jt,se=r.TypeError,re=ee("toPrimitive"),ie=function(t,e){if(!Yt(t)||Qt(t))return t;var s,r=Zt(t,re);if(r){if(void 0===e&&(e="default"),s=$t(r,t,e),!