(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[38455],{571570:function(e,t,r){"use strict";r.d(t,{VM:function(){return l},DO:function(){return u},tV:function(){return y},hZ:function(){return x},ZG:function(){return w},eu:function(){return _}});var a=r(552322),n=r(72779),o=r.n(n),i=r(202784),s=r(694310);let l=(0,i.forwardRef)(function(e,t){let{children:r,...n}=e;return(0,a.jsx)("div",{...n,className:o()(s.container,n.className),ref:t,children:(0,a.jsx)("div",{className:s.hero,children:r})})}),u=(0,i.forwardRef)(function(e,t){return(0,a.jsx)("div",{...e,className:o()(s.ctas,e.className),ref:t})});var c=r(240926),d=r(491414),f=r(354804),h=r(326819),b=r(440150),p=r(509020),g=r(668301),m=r(83860),v=r(787766);function y(e){let{title:t,subtitle:r,eyebrow:n,asset:s,cta:l=[],product:u="wikis"}=e,y=(0,m.F)(),x=(Array.isArray(l)?l:[(0,c.Ay)(l)]).filter(c.lm);return(0,a.jsxs)("div",{className:o()(v.hero,{[v.wikis]:"wikis"===u,[v.projects]:"projects"===u,[v.docs]:"docs"===u}),children:[(0,a.jsxs)("header",{className:v.header,children:[n?(0,a.jsx)("p",{className:v.eyebrow,children:n}):null,t?(0,a.jsx)(b.X,{level:2,variant:"sans-900-bold",children:t}):null,(0,a.jsx)("p",{className:v.subtitle,children:r}),(0,a.jsx)("div",{className:v.cta,children:x.map(e=>(0,i.createElement)(f.A,{...e,key:e.text,onClick:t=>d.t(y,{...(0,g.ok)(t.currentTarget),name:(null==e?void 0:e.analyticsEventName)||"block_cta_hero"})},(0,a.jsxs)(a.Fragment,{children:[e.icon?(0,a.jsx)(h.E,{name:e.icon,style:{width:"1.5em",height:"1.5em",fill:"currentColor",padding:"5px"}}):null,e.text]})))})]}),s?(0,a.jsx)("picture",{className:v.picture,children:(0,a.jsx)(p.E,{...s,priority:!0,alt:"",style:{display:"block",height:"auto",width:"100%"}})}):null]})}let x=(0,i.forwardRef)(function(e,t){return(0,a.jsx)("h1",{...e,className:o()(s.heading,e.className),ref:t})}),w=(0,i.forwardRef)(function(e,t){let{priority:r=!0,...n}=e;return(0,a.jsx)(p.E,{...n,priority:r,className:o()(s.image,n.className),ref:t})}),_=(0,i.forwardRef)(function(e,t){return(0,a.jsx)("p",{...e,className:o()(s.subheading,e.className),ref:t})})},8204:function(e,t,r){"use strict";r.d(t,{u:function(){return i}});var a=r(552322),n=r(577674),o=r(194721);function i(e){let{analyticsName:t,layout:r="horizontal",tabs:i}=e;return(0,a.jsx)("section",{className:o.heroCarousel,children:(0,a.jsx)(n.H,{analyticsName:t,layout:r,tabs:i})})}},577674:function(e,t,r){"use strict";r.d(t,{H:function(){return N}});var a=r(552322),n=r(72779),o=r.n(n),i=r(97729),s=r.n(i),l=r(202784),u=r(30698),c=r(183428),d=r(764055),f=r(491414),h=r(236985),b=r(409230),p=r(24832),g=r(899841),m=r(509020),v=r(473714),y=r(875362),x=r(595609),w=r(961268),_=r(709527),M=r(96588);function N(e){let{shadow:t,layout:r="vertical",analyticsName:n,tabs:i,disableAutoplay:N=!1,className:k}=e,j=(0,w.b)(),[z,C]=(0,l.useState)(0),H=i[z],[I,D]=(0,l.useState)(!1),[S,q]=(0,l.useState)(0),A=(0,_.T)(),E=i.length;return(0,l.useEffect)(()=>{S!==E||A&&N||D(!0)},[S,E,D,A,N]),(0,x.L)(()=>{let e,t=0;if(!I||A||N){cancelAnimationFrame(t);return}void 0===e&&(e=new Date().getTime());let r=()=>{t=requestAnimationFrame(r);let a=new Date().getTime();e&&a-e>=3e3&&(C(e=>e===E-1?0:e+1),e=a)};return t=requestAnimationFrame(r),()=>cancelAnimationFrame(t)},[E,I,A,N]),(0,a.jsxs)(b.r,{className:k,children:[(0,a.jsx)(p.P,{span:12,className:M.tabPanelOuterContainer,children:(0,a.jsx)("div",{className:M.tabPanelContainer,children:i.map((e,t)=>{var r,n,i,l,c,d,f,h,b,p,g,v,y,x;let w=t===z,_=o()(M.tabPanel,{[M.isActive]:w}),N={src:"",alt:(null===(r=e.image)||void 0===r?void 0:r.alt)??"",quality:90},k=(0,m.N)({...N,src:(null===(n=e.image)||void 0===n?void 0:n.src)?(0,u.D)(null===(i=e.image)||void 0===i?void 0:i.src,j):"",width:(null===(l=e.image)||void 0===l?void 0:l.width)||1920,height:(null===(c=e.image)||void 0===c?void 0:c.height)||1080}),C=e.mobileImage?(0,m.N)({...N,src:(null===(d=e.mobileImage)||void 0===d?void 0:d.src)?(0,u.D)(null===(f=e.mobileImage)||void 0===f?void 0:f.src,j):"",width:(null===(h=e.mobileImage)||void 0===h?void 0:h.width)||1080,height:(null===(b=e.mobileImage)||void 0===b?void 0:b.height)||1920}):k,{src:H}=k.props,{src:I,...D}=C.props;return(0,a.jsxs)("div",{"aria-hidden":!w,className:_,children:[0===t&&(null===(p=e.image)||void 0===p?void 0:p.src)?(0,a.jsx)(s(),{children:(0,a.jsx)("link",{rel:"preload",as:"image",href:(0,u.D)(null===(g=e.image)||void 0===g?void 0:g.src,j)})}):null,(0,a.jsxs)("picture",{children:[(0,a.jsx)("source",{media:"(min-width: 741px)",srcSet:H}),(0,a.jsx)("source",{media:"(max-width: 740px)",srcSet:I}),(0,a.jsx)("img",{...D,loading:"lazy",alt:(null===(v=e.image)||void 0===v?void 0:v.alt)||"",className:M.image,onLoad:()=>{q(e=>e+1)}})]})]},(null===(y=e.image)||void 0===y?void 0:y.src)?(0,u.D)(null===(x=e.image)||void 0===x?void 0:x.src,j).toString():`placeholder-${t}`)})})}),(0,a.jsx)(p.P,{span:12,children:(0,a.jsxs)("div",{className:M.tabsColumn,children:[(0,a.jsx)("nav",{className:o()(M.tabs,{[M.tabsHorizontal]:"horizontal"===r}),role:"tablist",children:i.map((e,t)=>(0,a.jsx)("div",{className:M.tab,children:(0,a.jsx)(g.D,{isActive:t===z,onClick:()=>{D(!1),C(t),(0,f.Jr)({gallery_name:n,item_label:e.label})},children:(0,a.jsxs)("div",{className:M.tabContents,children:[e.icon?(0,a.jsx)("div",{className:M.icon,children:(0,a.jsx)(h.p,{name:e.icon,width:"22px",height:"22px"})}):null,(0,a.jsx)(y.Z,{as:"p",variant:"sans-100-regular",children:e.label})]})})},(0,d.Of)(e.label)))}),(null==H?void 0:H.logo)&&(0,a.jsxs)("div",{className:M.details,children:[(0,a.jsx)(y.Z,{as:"p",variant:"sans-200-medium",color:"gray-100",children:(0,a.jsx)(c._H,{defaultMessage:"Used by teams at",id:"tabbedCarouse.details.label",description:"Tabbed carousel details label"})}),(0,a.jsx)("div",{className:M.logoWrap,children:(0,a.jsx)(v.T,{src:H.logo.src,width:H.logo.width,height:H.logo.height,altText:H.logo.alt,surfaceArea:3e3,maxHeight:30})})]})]})})]})}},282445:function(e,t,r){"use strict";r.d(t,{$1:function(){return v},DU:function(){return n},FU:function(){return u},Fn:function(){return s},Mo:function(){return d},O6:function(){return b},S7:function(){return o},Sv:function(){return h},dz:function(){return c},iS:function(){return i},l4:function(){return m},sC:function(){return p},sj:function(){return g},wf:function(){return l},xk:function(){return f},yI:function(){return a}});let a=5,n="IAV2zMildmGp1lZPngkFh",o="3xQKqU85oSQincKkRsdpS2",i="6V12s4UJlm9noQgnSvQAjk",s="3M3ddr8CUHbLUlEmEASedA",l="45Sn8l5sZW8k0r69sJrQy8",u="2ZZUoZWqWh7ii6nGJzDl3q",c=new Set(["3LoiCE0pTNqOdhIMNSqzVH","4TYdu6oruQDsNGmrpr2w62","4jJ9utEAM6sBm9rlHrmmag","35MTwBQoiGEMS4LkotwdKs","awWt9RUdJ4iRwCG3zlI1A","5cOhPmF8ykG1Qltp3CGtQ9"]),d="1QQFEoxxG0eI8XYekBEh5T",f="5NWgBc6vf0InRsdBIJEdPl",h={image:{width:1920,height:1200},mobile_image:{width:1125,height:2436},screenshot:{width:2048,height:1280},mobile_screenshot:{width:750,height:2668},cover:{width:1920,height:480},avatar:{width:200,height:200}},b=24,p=3,g="onboarding-hub",m="business-starter-kit",v={ai:{enterprise:"https://demo.hellonotion.com/psl/fp10cxg",wikis:"https://demo.hellonotion.com/psl/fp10cxg",template:"https://demo.hellonotion.com/psl/fp10cxg",category:"https://demo.hellonotion.com/psl/fp10cxg"},business:{teams:"https://notion.navattic.com/7rr3tyf",template:"https://notion.navattic.com/rv03txm",category:"https://notion.navattic.com/t263s39",general:"https://notion.navattic.com/od20i16"}}},694310:function(e){e.exports={container:"Hero_container__WCPEk",image:"Hero_image__LzrK1",hero:"Hero_hero__XKL82",heading:"Hero_heading__pu__U",subheading:"Hero_subheading__79Mmp",ctas:"Hero_ctas__xnZ_m"}},787766:function(e){e.exports={hero:"HeroDeprecated_hero__AZpJo",header:"HeroDeprecated_header__BXmWG",eyebrow:"HeroDeprecated_eyebrow__nfDsI",subtitle:"HeroDeprecated_subtitle__oa7yd",picture:"HeroDeprecated_picture__tHDoE",projects:"HeroDeprecated_projects__S4mLL",wikis:"HeroDeprecated_wikis__VOnqI",docs:"HeroDeprecated_docs__O8Uo6",cta:"HeroDeprecated_cta__2szyO"}},194721:function(e){e.exports={heroCarousel:"heroCarousel_heroCarousel__hn3ZY"}},96588:function(e){e.exports={details:"tabbedCarousel_details__wT9y4",logoWrap:"tabbedCarousel_logoWrap__LizsP",detailsLogo:"tabbedCarousel_detailsLogo__liWfM",tabs:"tabbedCarousel_tabs__CTiA3",tab:"tabbedCarousel_tab__yTWz1",tabContents:"tabbedCarousel_tabContents__Xc4Gw",tabPanelContainer:"tabbedCarousel_tabPanelContainer__Nj2wq",tabPanel:"tabbedCarousel_tabPanel___Htdk",isActive:"tabbedCarousel_isActive__dORDw",tabsHorizontal:"tabbedCarousel_tabsHorizontal__ZpT2H",tabsColumn:"tabbedCarousel_tabsColumn__GKEsi",image:"tabbedCarousel_image__tWg8T",icon:"tabbedCarousel_icon__8JxI1",placeholder:"tabbedCarousel_placeholder__L_Sxd",tabPanelOuterContainer:"tabbedCarousel_tabPanelOuterContainer__4z0lq"}},205632:function(e,t,r){e.exports=r(309351)},55230:function(e,t,r){"use strict";r.d(t,{Vi:function(){return C},l7:function(){return I}});var a={grad:.9,turn:360,rad:360/(2*Math.PI)},n=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},o=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},i=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e>r?r:e>t?e:t},s=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},l=function(e){return{r:i(e.r,0,255),g:i(e.g,0,255),b:i(e.b,0,255),a:i(e.a)}},u=function(e){return{r:o(e.r),g:o(e.g),b:o(e.b),a:o(e.a,3)}},c=/^#([0-9a-f]{3,8})$/i,d=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},f=function(e){var t=e.r,r=e.g,a=e.b,n=e.a,o=Math.max(t,r,a),i=o-Math.min(t,r,a),s=i?o===t?(r-a)/i:o===r?2+(a-t)/i:4+(t-r)/i:0;return{h:60*(s<0?s+6:s),s:o?i/o*100:0,v:o/255*100,a:n}},h=function(e){var t=e.h,r=e.s,a=e.v,n=e.a;t=t/360*6,r/=100,a/=100;var o=Math.floor(t),i=a*(1-r),s=a*(1-(t-o)*r),l=a*(1-(1-t+o)*r),u=o%6;return{r:255*[a,s,i,i,l,a][u],g:255*[l,a,a,s,i,i][u],b:255*[i,i,l,a,a,s][u],a:n}},b=function(e){return{h:s(e.h),s:i(e.s,0,100),l:i(e.l,0,100),a:i(e.a)}},p=function(e){return{h:o(e.h),s:o(e.s),l:o(e.l),a:o(e.a,3)}},g=function(e){var t,r;return h((t=e.s,{h:e.h,s:(t*=((r=e.l)<50?r:100-r)/100)>0?2*t/(r+t)*100:0,v:r+t,a:e.a}))},m=function(e){var t,r,a,n;return{h:(t=f(e)).h,s:(n=(200-(r=t.s))*(a=t.v)/100)>0&&n<200?r*a/100/(n<=100?n:200-n)*100:0,l:n/2,a:t.a}},v=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,y=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,x=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,w=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,_={string:[[function(e){var t=c.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?o(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?o(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=x.exec(e)||w.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:l({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t,r,n=v.exec(e)||y.exec(e);return n?g(b({h:(t=n[1],void 0===(r=n[2])&&(r="deg"),Number(t)*(a[r]||1)),s:Number(n[3]),l:Number(n[4]),a:void 0===n[5]?1:Number(n[5])/(n[6]?100:1)})):null},"hsl"]],object:[[function(e){var t=e.r,r=e.g,a=e.b,o=e.a;return n(t)&&n(r)&&n(a)?l({r:Number(t),g:Number(r),b:Number(a),a:Number(void 0===o?1:o)}):null},"rgb"],[function(e){var t=e.h,r=e.s,a=e.l,o=e.a;return n(t)&&n(r)&&n(a)?g(b({h:Number(t),s:Number(r),l:Number(a),a:Number(void 0===o?1:o)})):null},"hsl"],[function(e){var t,r=e.h,a=e.s,o=e.v,l=e.a;return n(r)&&n(a)&&n(o)?h({h:s((t={h:Number(r),s:Number(a),v:Number(o),a:Number(void 0===l?1:l)}).h),s:i(t.s,0,100),v:i(t.v,0,100),a:i(t.a)}):null},"hsv"]]},M=function(e,t){for(var r=0;rk(this.rgba)},e.prototype.isLight=function(){return k(this.rgba)>=.5},e.prototype.toHex=function(){var e,t,r,a,n,i;return t=(e=u(this.rgba)).r,r=e.g,a=e.b,i=(n=e.a)<1?d(o(255*n)):"","#"+d(t)+d(r)+d(a)+i},e.prototype.toRgb=function(){return u(this.rgba)},e.prototype.toRgbString=function(){var e,t,r,a,n;return t=(e=u(this.rgba)).r,r=e.g,a=e.b,(n=e.a)<1?"rgba("+t+", "+r+", "+a+", "+n+")":"rgb("+t+", "+r+", "+a+")"},e.prototype.toHsl=function(){return p(m(this.rgba))},e.prototype.toHslString=function(){var e,t,r,a,n;return t=(e=p(m(this.rgba))).h,r=e.s,a=e.l,(n=e.a)<1?"hsla("+t+", "+r+"%, "+a+"%, "+n+")":"hsl("+t+", "+r+"%, "+a+"%)"},e.prototype.toHsv=function(){var e;return{h:o((e=f(this.rgba)).h),s:o(e.s),v:o(e.v),a:o(e.a,3)}},e.prototype.invert=function(){var e;return C({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a})},e.prototype.saturate=function(e){return void 0===e&&(e=.1),C(N(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),C(N(this.rgba,-e))},e.prototype.grayscale=function(){return C(N(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),C(j(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),C(j(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){var t;return"number"==typeof e?C({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):o(this.rgba.a,3)},e.prototype.hue=function(e){var t=m(this.rgba);return"number"==typeof e?C({h:e,s:t.s,l:t.l,a:t.a}):o(t.h)},e.prototype.isEqual=function(e){return this.toHex()===C(e).toHex()},e}(),C=function(e){return e instanceof z?e:new z(e)},H=[],I=function(e){e.forEach(function(e){0>H.indexOf(e)&&(e(z,_),H.push(e))})}},965875:function(e,t,r){"use strict";r.d(t,{Z:function(){return b}});var a=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},n=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},o=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e>r?r:e>t?e:t},i=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},s=function(e){return 255*(e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e)},l=function(e){var t,r={x:.9555766*e.x+-.0230393*e.y+.0631636*e.z,y:-.0282895*e.x+1.0099416*e.y+.0210077*e.z,z:.0122982*e.x+-.020483*e.y+1.3299098*e.z};return{r:o((t={r:s(.032404542*r.x-.015371385*r.y-.004985314*r.z),g:s(-.00969266*r.x+.018760108*r.y+41556e-8*r.z),b:s(556434e-9*r.x-.002040259*r.y+.010572252*r.z),a:e.a}).r,0,255),g:o(t.g,0,255),b:o(t.b,0,255),a:o(t.a)}},u=function(e){var t,r,a=i(e.r),n=i(e.g),s=i(e.b);return{x:o((r={x:1.0478112*(t={x:100*(.4124564*a+.3575761*n+.1804375*s),y:100*(.2126729*a+.7151522*n+.072175*s),z:100*(.0193339*a+.119192*n+.9503041*s),a:e.a}).x+.0228866*t.y+-.050127*t.z,y:.0295424*t.x+.9904844*t.y+-.0170491*t.z,z:-.0092345*t.x+.0150436*t.y+.7521316*t.z,a:t.a}).x,0,96.422),y:o(r.y,0,100),z:o(r.z,0,82.521),a:o(r.a)}},c=216/24389,d=24389/27,f=function(e){var t,r=e.l,n=e.a,i=e.b,s=e.alpha;return a(r)&&a(n)&&a(i)?h({l:o((t={l:Number(r),a:Number(n),b:Number(i),alpha:Number(void 0===s?1:s)}).l,0,400),a:t.a,b:t.b,alpha:o(t.alpha)}):null},h=function(e){var t=(e.l+16)/116,r=e.a/500+t,a=t-e.b/200;return l({x:(Math.pow(r,3)>c?Math.pow(r,3):(116*r-16)/d)*96.422,y:(e.l>8?Math.pow((e.l+16)/116,3):e.l/d)*100,z:(Math.pow(a,3)>c?Math.pow(a,3):(116*a-16)/d)*82.521,a:e.alpha})};function b(e,t){e.prototype.toLab=function(){var e,t,r,a,o;return a=(t=u(this.rgba)).y/100,o=t.z/82.521,r=(r=t.x/96.422)>c?Math.cbrt(r):(d*r+16)/116,{l:n((e={l:116*(a=a>c?Math.cbrt(a):(d*a+16)/116)-16,a:500*(r-a),b:200*(a-(o=o>c?Math.cbrt(o):(d*o+16)/116)),alpha:t.a}).l,2),a:n(e.a,2),b:n(e.b,2),alpha:n(e.alpha,3)}},e.prototype.delta=function(t){void 0===t&&(t="#FFF");var r,a,i,s,l,u,c,d,f,h,b,p,g,m,v,y,x,w,_,M,N,k,j,z,C,H,I,D,S=t instanceof e?t:new e(t);return o(n((r=this.toLab(),a=S.toLab(),i=r.l,s=r.a,l=r.b,u=a.l,c=a.a,d=a.b,f=180/Math.PI,h=Math.PI/180,b=(i+u)/2,g=.5*(1-Math.pow((p=Math.pow((Math.pow(Math.pow(s,2)+Math.pow(l,2),.5)+Math.pow(Math.pow(c,2)+Math.pow(d,2),.5))/2,7))/(p+6103515625),.5)),m=s*(1+g),v=c*(1+g),w=((y=Math.pow(Math.pow(m,2)+Math.pow(l,2),.5))+(x=Math.pow(Math.pow(v,2)+Math.pow(d,2),.5)))/2,(_=0===m&&0===l?0:Math.atan2(l,m)*f)<0&&(_+=360),(M=0===v&&0===d?0:Math.atan2(d,v)*f)<0&&(M+=360),N=M-_,(k=Math.abs(M-_))>180&&M<=_?N+=360:k>180&&M>_&&(N-=360),j=_+M,k<=180?j/=2:j=(_+M<360?j+360:j-360)/2,z=1-.17*Math.cos(h*(j-30))+.24*Math.cos(2*h*j)+.32*Math.cos(h*(3*j+6))-.2*Math.cos(h*(4*j-63)),C=x-y,H=2*Math.sin(h*N/2)*Math.pow(y*x,.5),Math.pow(Math.pow((u-i)/1/(1+.015*Math.pow(b-50,2)/Math.pow(20+Math.pow(b-50,2),.5)),2)+Math.pow(C/1/(I=1+.045*w),2)+Math.pow(H/1/(D=1+.015*w*z),2)+-2*Math.pow(p/(p+6103515625),.5)*Math.sin(2*h*(30*Math.exp(-1*Math.pow((j-275)/25,2))))*C*H/(1*I*1*D),.5)/100),3))},t.object.push([f,"lab"])}},586349:function(e,t,r){"use strict";function a(e){var t=function(e){var t,r,a=e.toHex(),n=e.alpha(),o=a.split(""),i=o[1],s=o[2],l=o[3],u=o[4],c=o[5],d=o[6],f=o[7],h=o[8];if(n>0&&n<1&&(t=parseInt(f+h,16)/255,void 0===r&&(r=100),Math.round(r*t)/r+0!==n))return null;if(i===s&&l===u&&c===d){if(1===n)return"#"+i+l+c;if(f===h)return"#"+i+l+c+f}return a},r=function(e){return e>0&&e<1?e.toString().replace("0.","."):e};e.prototype.minify=function(e){void 0===e&&(e={});var a=this.toRgb(),n=r(a.r),o=r(a.g),i=r(a.b),s=this.toHsl(),l=r(s.h),u=r(s.s),c=r(s.l),d=r(this.alpha()),f=Object.assign({hex:!0,rgb:!0,hsl:!0},e),h=[];if(f.hex&&(1===d||f.alphaHex)){var b=t(this);b&&h.push(b)}if(f.rgb&&h.push(1===d?"rgb("+n+","+o+","+i+")":"rgba("+n+","+o+","+i+","+d+")"),f.hsl&&h.push(1===d?"hsl("+l+","+u+"%,"+c+"%)":"hsla("+l+","+u+"%,"+c+"%,"+d+")"),f.transparent&&0===n&&0===o&&0===i&&0===d)h.push("transparent");else if(1===d&&f.name&&"function"==typeof this.toName){var p=this.toName();p&&h.push(p)}return function(e){for(var t=e[0],r=1;rr?r:e>t?e:t},n=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},o=function(e){return 255*(e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e)},i=function(e){var t,r={x:.9555766*e.x+-.0230393*e.y+.0631636*e.z,y:-.0282895*e.x+1.0099416*e.y+.0210077*e.z,z:.0122982*e.x+-.020483*e.y+1.3299098*e.z};return{r:a((t={r:o(.032404542*r.x-.015371385*r.y-.004985314*r.z),g:o(-.00969266*r.x+.018760108*r.y+41556e-8*r.z),b:o(556434e-9*r.x-.002040259*r.y+.010572252*r.z),a:e.a}).r,0,255),g:a(t.g,0,255),b:a(t.b,0,255),a:a(t.a)}},s=function(e){var t,r,o=n(e.r),i=n(e.g),s=n(e.b);return{x:a((r={x:1.0478112*(t={x:100*(.4124564*o+.3575761*i+.1804375*s),y:100*(.2126729*o+.7151522*i+.072175*s),z:100*(.0193339*o+.119192*i+.9503041*s),a:e.a}).x+.0228866*t.y+-.050127*t.z,y:.0295424*t.x+.9904844*t.y+-.0170491*t.z,z:-.0092345*t.x+.0150436*t.y+.7521316*t.z,a:t.a}).x,0,96.422),y:a(r.y,0,100),z:a(r.z,0,82.521),a:a(r.a)}},l=216/24389,u=24389/27,c=function(e){var t=s(e),r=t.x/96.422,a=t.y/100,n=t.z/82.521;return r=r>l?Math.cbrt(r):(u*r+16)/116,{l:116*(a=a>l?Math.cbrt(a):(u*a+16)/116)-16,a:500*(r-a),b:200*(a-(n=n>l?Math.cbrt(n):(u*n+16)/116)),alpha:t.a}},d=function(e,t,r){var n,o,s,d,f,h=c(e),b=c(t);return o=((n={l:a((f={l:h.l*(1-r)+b.l*r,a:h.a*(1-r)+b.a*r,b:h.b*(1-r)+b.b*r,alpha:h.alpha*(1-r)+b.alpha*r}).l,0,400),a:f.a,b:f.b,alpha:a(f.alpha)}).l+16)/116,s=n.a/500+o,d=o-n.b/200,i({x:(Math.pow(s,3)>l?Math.pow(s,3):(116*s-16)/u)*96.422,y:(n.l>8?Math.pow((n.l+16)/116,3):n.l/u)*100,z:(Math.pow(d,3)>l?Math.pow(d,3):(116*d-16)/u)*82.521,a:n.alpha})};function f(e){function t(e,t,r){void 0===r&&(r=5);for(var a=[],n=1/(r-1),o=0;o<=r-1;o++)a.push(e.mix(t,n*o));return a}e.prototype.mix=function(t,r){void 0===r&&(r=.5);var a=t instanceof e?t:new e(t);return new e(d(this.toRgb(),a.toRgb(),r))},e.prototype.tints=function(e){return t(this,"#fff",e)},e.prototype.shades=function(e){return t(this,"#000",e)},e.prototype.tones=function(e){return t(this,"#808080",e)}}},761331:function(e,t,r){"use strict";function a(e,t){var r={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},a={};for(var n in r)a[r[n]]=n;var o={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var n,i=a[this.toHex()];if(i)return i;if(null==t?void 0:t.closest){var s=this.toRgb(),l=1/0,u="black";if(!o.length)for(var c in r)o[c]=new e(r[c]).toRgb();for(var d in r){var f=(n=o[d],Math.pow(s.r-n.r,2)+Math.pow(s.g-n.g,2)+Math.pow(s.b-n.b,2));f