webhook/node_modules/prettier/esm/parser-postcss.mjs

2 lines
228 KiB
JavaScript
Raw Normal View History

var e="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function t(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}var r=t,o=n;function i(e){if(r===setTimeout)return setTimeout(e,0);if((r===t||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}"function"==typeof e.setTimeout&&(r=setTimeout),"function"==typeof e.clearTimeout&&(o=clearTimeout);var s,u=[],a=!1,c=-1;function l(){a&&s&&(a=!1,s.length?u=s.concat(u):c=-1,u.length&&f())}function f(){if(!a){var e=i(l);a=!0;for(var t=u.length;t;){for(s=u,u=[];++c<t;)s&&s[c].run();c=-1,t=u.length}s=null,a=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===n||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}h.prototype.run=function(){this.fun.apply(null,this.array)};function p(){}var d=p,D=p,g=p,m=p,y=p,v=p,w=p;var b=e.performance||{},C=b.now||b.mozNow||b.msNow||b.oNow||b.webkitNow||function(){return(new Date).getTime()};var E=new Date;var A={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||a||i(f)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:d,addListener:D,once:g,off:m,removeListener:y,removeAllListeners:v,emit:w,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*C.call(b),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-E)/1e3}},k=[],F=[],x="undefined"!=typeof Uint8Array?Uint8Array:Array,_=!1;function O(){_=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t<n;++t)k[t]=e[t],F[e.charCodeAt(t)]=t;F["-".charCodeAt(0)]=62,F["_".charCodeAt(0)]=63}function S(e,t,n){for(var r,o,i=[],s=t;s<n;s+=3)r=(e[s]<<16)+(e[s+1]<<8)+e[s+2],i.push(k[(o=r)>>18&63]+k[o>>12&63]+k[o>>6&63]+k[63&o]);return i.join("")}function T(e){var t;_||O();for(var n=e.length,r=n%3,o="",i=[],s=16383,u=0,a=n-r;u<a;u+=s)i.push(S(e,u,u+s>a?a:u+s));return 1===r?(t=e[n-1],o+=k[t>>2],o+=k[t<<4&63],o+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],o+=k[t>>10],o+=k[t>>4&63],o+=k[t<<2&63],o+="="),i.push(o),i.join("")}function R(e,t,n,r,o){var i,s,u=8*o-r-1,a=(1<<u)-1,c=a>>1,l=-7,f=n?o-1:0,h=n?-1:1,p=e[t+f];for(f+=h,i=p&(1<<-l)-1,p>>=-l,l+=u;l>0;i=256*i+e[t+f],f+=h,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=r;l>0;s=256*s+e[t+f],f+=h,l-=8);if(0===i)i=1-c;else{if(i===a)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,r),i-=c}return(p?-1:1)*s*Math.pow(2,i-r)}function I(e,t,n,r,o,i){var s,u,a,c=8*i-o-1,l=(1<<c)-1,f=l>>1,h=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,d=r?1:-1,D=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(a=Math.pow(2,-s))<1&&(s--,a*=2),(t+=s+f>=1?h/a:h*Math.pow(2,1-f))*a>=2&&(s++,a/=2),s+f>=l?(u=0,s=l):s+f>=1?(u=(t*a-1)*Math.pow(2,o),s+=f):(u=t*Math.pow(2,f-1)*Math.pow(2,o),s=0));o>=8;e[n+p]=255&u,p+=d,u/=256,o-=8);for(s=s<<o|u,c+=o;c>0;e[n+p]=255&s,p+=d,s/=256,c-=8);e[n+p-d]|=128*D}var N={}.toString,M=Array.isArray||function(e){return"[object Array]"==N.call(e)};function B(){return P.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function L(e,t){if(B()<t)throw new RangeError("Invalid typed array length");return P.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=P.prototype:(null===e&&(e=new P(t)),e.length=t),e}function P(e,t,n){if(!(P.TYPED_ARRAY_SUPPORT||this instanceof P))return new P(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return $(this,e)}return j(thi