MCPcopy
hub / github.com/vercel/next.js / i

Function i

packages/next/src/compiled/postcss-preset-env/index.cjs:22–22  ·  view source on GitHub ↗
(_)

Source from the content-addressed store, hash-verified

20 *
21 * @see https://github.com/w3c/csswg-drafts/blob/main/css-color-4/conversions.js
22 */function o(_){return _.map((function(_){const X=_<0?-1:1,ee=Math.abs(_);return ee<.04045?_/12.92:X*Math.pow((ee+.055)/1.055,2.4)}))}function s(_){return _.map((function(_){const X=_<0?-1:1,ee=Math.abs(_);return ee>.0031308?X*(1.055*Math.pow(ee,1/2.4)-.055):12.92*_}))}function c(_){return a([[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],_)}function i(_){return a([[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]],_)}function l(_){return a([[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]],_)}function p(_){const X=a([[.8190224432164319,.3619062562801221,-.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],_);return a([[.2104542553,.793617785,-.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-.808675766]],X.map((_=>Math.cbrt(_))))}function f(_){const X=a([[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-.10556134232365635,-.06385417477170591],[1.0000000546724108,-.08948418209496575,-1.2914855378640917]],_);return a([[1.2268798733741557,-.5578149965554813,.28139105017721583],[-.04057576262431372,1.1122868293970594,-.07171106666151701],[-.07637294974672142,-.4214933239627914,1.5869240244272418]],X.map((_=>_**3)))}function d(_){const X=180*Math.atan2(_[2],_[1])/Math.PI;return[_[0],Math.sqrt(_[1]**2+_[2]**2),X>=0?X:X+360]}function v(_){return[_[0],_[1]*Math.cos(_[2]*Math.PI/180),_[1]*Math.sin(_[2]*Math.PI/180)]}
23/**
24 * @license W3C
25 * https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document

Callers 15

gFunction · 0.70
xFunction · 0.70
MFunction · 0.70
wFunction · 0.70
IFunction · 0.70
SFunction · 0.70
kFunction · 0.70
PFunction · 0.70
rFunction · 0.70
fFunction · 0.70
oFunction · 0.70
yFunction · 0.70

Calls 15

includesMethod · 0.80
trimMethod · 0.80
removeAllMethod · 0.80
aFunction · 0.70
pFunction · 0.70
nFunction · 0.70
StringFunction · 0.70
bFunction · 0.70
CFunction · 0.70
pushMethod · 0.65
testMethod · 0.65
keysMethod · 0.65

Tested by

no test coverage detected