1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ea929f3e-13b6-47ac-859d-33fad915fcc6",e._sentryDebugIdIdentifier="sentry-dbid-ea929f3e-13b6-47ac-859d-33fad915fcc6")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[27492],{69410:function(e,t,r){var n=r(54998);t.Z=n.Z},35947:function(e,t,r){r.d(t,{default:function(){return w}});var n=r(2265),l=r(77565),o=r(36760),a=r.n(o),i=r(65250),s=r(45287),c=r(18694),d=r(68710),u=r(19722),g=r(71744),p=r(33759);let m=n.forwardRef((e,t)=>{let{getPrefixCls:r}=n.useContext(g.E_),{prefixCls:l,className:o,showArrow:s=!0}=e,c=r("collapse",l),d=a()({[`${c}-no-arrow`]:!s},o);return n.createElement(i.default.Panel,Object.assign({ref:t},e,{prefixCls:c,className:d}))});var b=r(50978),h=r(12918),f=r(63074),$=r(99320),v=r(71140);let C=e=>{let{componentCls:t,contentBg:r,padding:n,headerBg:l,headerPadding:o,collapseHeaderPaddingSM:a,collapseHeaderPaddingLG:i,collapsePanelBorderRadius:s,lineWidth:c,lineType:d,colorBorder:u,colorText:g,colorTextHeading:p,colorTextDisabled:m,fontSizeLG:f,lineHeight:$,lineHeightLG:v,marginSM:C,paddingSM:x,paddingLG:y,paddingXS:O,motionDurationSlow:S,fontSizeIcon:w,contentPadding:E,fontHeight:j,fontHeightLG:k}=e,N=`${(0,b.unit)(c)} ${d} ${u}`;return{[t]:Object.assign(Object.assign({},(0,h.Wf)(e)),{backgroundColor:l,border:N,borderRadius:s,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:N,"&:first-child":{[` 2 &, 3 & > ${t}-header`]:{borderRadius:`${(0,b.unit)(s)} ${(0,b.unit)(s)} 0 0`}},"&:last-child":{[` 4 &, 5 & > ${t}-header`]:{borderRadius:`0 0 ${(0,b.unit)(s)} ${(0,b.unit)(s)}`}},[`> ${t}-header`]:Object.assign(Object.assign({position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:o,color:p,lineHeight:$,cursor:"pointer",transition:`all ${S}, visibility 0s`},(0,h.Qy)(e)),{[`> ${t}-header-text`]:{flex:"auto"},[`${t}-expand-icon`]:{height:j,display:"flex",alignItems:"center",paddingInlineEnd:C},[`${t}-arrow`]:Object.assign(Object.assign({},(0,h.Ro)()),{fontSize:w,transition:`transform ${S}`,svg:{transition:`transform ${S}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}}),[`${t}-collapsible-header`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"},[`${t}-expand-icon`]:{cursor:"pointer"}},[`${t}-collapsible-icon`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:g,backgroundColor:r,borderTop:N,[`& > ${t}-content-box`]:{padding:E},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:a,paddingInlineStart:O,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(x).sub(O).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:x}}},"&-large":{[`> ${t}-item`]:{fontSize:f,lineHeight:v,[`> ${t}-header`]:{padding:i,paddingInlineStart:n,[`> ${t}-expand-icon`]:{height:k,marginInlineStart:e.calc(y).sub(n).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:y}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${(0,b.unit)(s)} ${(0,b.unit)(s)}`}},[`& ${t}-item-disabled > ${t}-header`]:{[` 6 &, 7 & > .arrow 8 `]:{color:m,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:C}}}}})}},x=e=>{let{componentCls:t}=e,r=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[r]:{transform:"rotate(180deg)"}}}},y=e=>{let{componentCls:t,headerBg:r,borderlessContentPadding:n,borderlessContentBg:l,colorBorder:o}=e;return{[`${t}-borderless`]:{backgroundColor:r,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${o}`},[` 9 > ${t}-item:last-child, 10 > ${t}-item:last-child ${t}-header 11 `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:l,borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{padding:n}}}},O=e=>{let{componentCls:t,paddingSM:r}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:r}}}}}};var S=(0,$.I$)("Collapse",e=>
11{let t=(0,v.mergeToken)(e,{collapseHeaderPaddingSM:`${(0,b.unit)(e.paddingXS)} ${(0,b.unit)(e.paddingSM)}`,collapseHeaderPaddingLG:`${(0,b.unit)(e.padding)} ${(0,b.unit)(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[C(t),y(t),O(t),x(t),(0,f.Z)(t)]},e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer,borderlessContentPadding:`${e.paddingXXS}px 16px ${e.padding}px`,borderlessContentBg:"transparent"})),w=Object.assign(n.forwardRef((e,t)=>{let{getPrefixCls:r,direction:o,expandIcon:m,className:b,style:h}=(0,g.dj)("collapse"),{prefixCls:f,className:$,rootClassName:v,style:C,bordered:x=!0,ghost:y,size:O,expandIconPosition:w="start",children:E,destroyInactivePanel:j,destroyOnHidden:k,expandIcon:N}=e,I=(0,p.Z)(e=>{var t;return null!==(t=null!=O?O:e)&&void 0!==t?t:"middle"}),Z=r("collapse",f),H=r(),[R,P,M]=S(Z),A=n.useMemo(()=>"left"===w?"start":"right"===w?"end":w,[w]),q=null!=N?N:m,D=n.useCallback((e={})=>{let t="function"==typeof q?q(e):n.createElement(l.Z,{rotate:e.isActive?"rtl"===o?-90:90:void 0,"aria-label":e.isActive?"expanded":"collapsed"});return(0,u.Tm)(t,()=>{var e;return{className:a()(null===(e=t.props)||void 0===e?void 0:e.className,`${Z}-arrow`)}})},[q,Z,o]),B=a()(`${Z}-icon-position-${A}`,{[`${Z}-borderless`]:!x,[`${Z}-rtl`]:"rtl"===o,[`${Z}-ghost`]:!!y,[`${Z}-${I}`]:"middle"!==I},b,$,v,P,M),z=n.useMemo(()=>Object.assign(Object.assign({},(0,d.Z)(H)),{motionAppear:!1,leavedClassName:`${Z}-content-hidden`}),[H,Z]),T=n.useMemo(()=>E?(0,s.Z)(E).map((e,t)=>{var r,n;let l=e.props;if(null==l?void 0:l.disabled){let o=null!==(r=e.key)&&void 0!==r?r:String(t),a=Object.assign(Object.assign({},(0,c.Z)(e.props,["disabled"])),{key:o,collapsible:null!==(n=l.collapsible)&&void 0!==n?n:"disabled"});return(0,u.Tm)(e,a)}return e}):null,[E]);return R(n.createElement(i.default,Object.assign({ref:t,openMotion:z},(0,c.Z)(e,["rootClassName"]),{expandIcon:D,prefixCls:Z,className:B,style:Object.assign(Object.assign({},h),C),destroyInactivePanel:null!=k?k:j}),T))}),{Panel:m})},11357:function(e,t,r){r.d(t,{Ot:function(){return a},y9:function(){return s}});var n=r(76405),l=r(25049),o=r(75669);let a=(e,t)=>(null==e?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||"",i=(e,t)=>e?a(e,t):"",s=(0,l.Z)(function e(t){var r;if((0,n.Z)(this,e),this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=null===(r=t.colors)||void 0===r?void 0:r.map(t=>({color:new e(t.color),percent:t.percent})),this.cleared=t.cleared;return}let l=Array.isArray(t);l&&t.length?(this.colors=t.map(({color:t,percent:r})=>({color:new e(t),percent:r})),this.metaColor=new o.Color(this.colors[0].color.metaColor)):this.metaColor=new o.Color(l?"":t),t&&(!l||this.colors)||(this.metaColor=this.metaColor.setA(0),this.cleared=!0)},[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return i(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){let{colors:e}=this;if(e){let t=e.map(e=>`${e.color.toRgbString()} ${e.percent}%`).join(", ");return`linear-gradient(90deg, ${t})`}return this.metaColor.toRgbString()}},{key:"equals",value:function(e){return!!e&&this.isGradient()===e.isGradient()&&(this.isGradient()?this.colors.length===e.colors.length&&this.colors.every((t,r)=>{let n=e.colors[r];return t.percent===n.percent&&t.color.equals(n.color)}):this.toHexString()===e.toHexString())}}])},91378:function(e,t,r){r.d(t,{U:function(){return p}});var n=r(2265),l=r(75669),o=r(36760),a=r.n(o),i=r(50506),s=r(35947),c=r(55274),d=r(84560),u=r(50330);let g=e=>e.map(e=>(e.colors=e.colors.map(u.vC),e)),p=(e,t)=>{let{r,g:n,b:o,a}
11=e.toRgb(),i=new l.Color(e.toRgbString()).onBackground(t).toHsv();return a<=.5?i.v>.5:.299*r+.587*n+.114*o>192},m=(e,t)=>{var r;let n=null!==(r=e.key)&&void 0!==r?r:t;return`panel-${n}`};t.Z=({prefixCls:e,presets:t,value:r,onChange:o})=>{let[b]=(0,c.Z)("ColorPicker"),[,h]=(0,d.ZP)(),[f]=(0,i.Z)(g(t),{value:g(t),postState:g}),$=`${e}-presets`,v=(0,n.useMemo)(()=>f.reduce((e,t,r)=>{let{defaultOpen:n=!0}=t;return n&&e.push(m(t,r)),e},[]),[f]),C=e=>{null==o||o(e)},x=f.map((t,o)=>{var i;return{key:m(t,o),label:n.createElement("div",{className:`${$}-label`},null==t?void 0:t.label),children:n.createElement("div",{className:`${$}-items`},Array.isArray(null==t?void 0:t.colors)&&(null===(i=t.colors)||void 0===i?void 0:i.length)>0?t.colors.map((t,o)=>n.createElement(l.ColorBlock,{key:`preset-${o}-${t.toHexString()}`,color:(0,u.vC)(t).toRgbString(),prefixCls:e,className:a()(`${$}-color`,{[`${$}-color-checked`]:t.toHexString()===(null==r?void 0:r.toHexString()),[`${$}-color-bright`]:p(t,h.colorBgElevated)}),onClick:()=>C(t)})):n.createElement("span",{className:`${$}-empty`},b.presetEmpty))}});return n.createElement("div",{className:$},n.createElement(s.default,{defaultActiveKey:v,ghost:!0,items:x}))}},30621:function(e,t,r){r.d(t,{Z:function(){return eS}});var n=r(2265),l=r(36760),o=r.n(l),a=r(50506),i=r(391),s=r(93942),c=r(12757),d=r(71744),u=r(86586),g=r(64024),p=r(33759),m=r(39109),b=r(79326),h=r(77685),f=r(11357),$=r(23496),v=r(83145),C=r(75669),x=r(27380),y=r(51646),O=r(24738);let S=n.createContext({}),w=n.createContext({});var E=r(50330),j=({prefixCls:e,value:t,onChange:r})=>n.createElement("div",{className:`${e}-clear`,onClick:()=>{if(r&&t&&!t.cleared){let e=t.toHsb();e.a=0;let n=(0,E.vC)(e);n.cleared=!0,r(n)}}}),k=r(93834),N=r(90136),I=({prefixCls:e,min:t=0,max:r=100,value:l,onChange:a,className:i,formatter:s})=>{let c=`${e}
11-steppers`,[d,u]=(0,n.useState)(0),g=Number.isNaN(l)?d:l;return n.createElement(N.Z,{className:o()(c,i),min:t,max:r,value:g,formatter:s,size:"small",onChange:e=>{u(e||0),null==a||a(e)}})},Z=({prefixCls:e,value:t,onChange:r})=>{let l=`${e}-alpha-input`,[o,a]=(0,n.useState)(()=>(0,E.vC)(t||"#000")),i=t||o;return n.createElement(I,{value:(0,E.uZ)(i),prefixCls:e,formatter:e=>`${e}%`,className:l,onChange:e=>{let t=i.toHsb();t.a=(e||0)/100;let n=(0,E.vC)(t);a(n),null==r||r(n)}})},H=r(39454);let R=/(^#[\da-f]{6}$)|(^#[\da-f]{8}$)/i,P=e=>R.test(`#${e}`);var M=({prefixCls:e,value:t,onChange:r})=>{let l=`${e}-hex-input`,[o,a]=(0,n.useState)(()=>t?(0,f.Ot)(t.toHexString()):void 0);return(0,n.useEffect)(()=>{t&&a((0,f.Ot)(t.toHexString()))},[t]),n.createElement(H.Z,{className:l,value:o,prefix:"#",onChange:e=>{let t=e.target.value;a((0,f.Ot)(t)),P((0,f.Ot)(t,!0))&&(null==r||r((0,E.vC)(t)))},size:"small"})},A=({prefixCls:e,value:t,onChange:r})=>{let l=`${e}-hsb-input`,[o,a]=(0,n.useState)(()=>(0,E.vC)(t||"#000")),i=t||o,s=(e,t)=>{let n=i.toHsb();n[t]="h"===t?e:(e||0)/100;let l=(0,E.vC)(n);a(l),null==r||r(l)};return n.createElement("div",{className:l},n.createElement(I,{max:360,min:0,value:Number(i.toHsb().h),prefixCls:e,className:l,formatter:e=>(0,E.lx)(e||0).toString(),onChange:e=>s(Number(e),"h")}),n.createElement(I,{max:100,min:0,value:100*Number(i.toHsb().s),prefixCls:e,className:l,formatter:e=>`${(0,E.lx)(e||0)}%`,onChange:e=>s(Number(e),"s")}),n.createElement(I,{max:100,min:0,value:100*Number(i.toHsb().b),prefixCls:e,className:l,formatter:e=>`${(0,E.lx)(e||0)}%`,onChange:e=>s(Number(e),"b")}))},q=({prefixCls:e,value:t,onChange:r})=>{let l=`${e}-rgb-input`,[o,a]=(0,n.useState)(()=>(0,E.vC)(t||"#000")),i=t||o,s=(e,t)=>{let n=i.toRgb();n[t]=e||0;let l=(0,E.vC)(n);a(l),null==r||r(l)};return n.createElement("div",{className:l},n.createElement(I,{max:255,min:0,value:Number(i.toRgb().r),prefixCls:e,className:l,onChange:e=>s(Number(e),"r")}),n.createElement(I,{max:255,min:0,value:Number(i.toRgb().g),prefixCls:e,className:l,onChange:e=>s(Number(e),"g")}),n.createElement(I,{max:255,min:0,value:Number(i.toRgb().b),prefixCls:e,className:l,onChange:e=>s(Number(e),"b")}))};let D=["hex","hsb","rgb"].map(e=>({value:e,label:e.toUpperCase()}));var B=e=>{let{prefixCls:t,format:r,value:l,disabledAlpha:o,onFormatChange:i,onChange:s,disabledFormat:c}=e,[d,u]=(0,a.Z)("hex",{value:r,onChange:i}),g=`${t}-input`,p=(0,n.useMemo)(()=>{let e={value:l,prefixCls:t,onChange:s};switch(d){case"hsb":return n.createElement(A,Object.assign({},e));case"rgb":return n.createElement(q,Object.assign({},e));default:return n.createElement(M,Object.assign({},e))}},[d,t,l,s]);return n.createElement("div",{className:`${g}-container`},!c&&n.createElement(k.default,{value:d,variant:"borderless",getPopupContainer:e=>e,popupMatchSelectWidth:68,placement:"bottomRight",onChange:e=>{u(e)},className:`${t}-format-select`,size:"small",options:D}),n.createElement("div",{className:g},p),!o&&n.createElement(Z,{prefixCls:t,value:l,onChange:s}))},z=r(29425),T=r(58525),W=r(5149),F=r(98097),G=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,n=Object.getOwnPropertySymbols(e);l<n.length;l++)0>t.indexOf(n[l])&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]]);return r};let _=e=>{let{prefixCls:t,colors:r,type:l,color:a,range:i=!1,className:s,activeIndex:c,onActive:d,onDragStart:u,onDragChange:g,onKeyDelete:p}=e,m=Object.assign(Object.assign({},G(e,["prefixCls","colors","type","color","range","className","activeIndex","onActive","onDragStart","onDragChange","onKeyDelete"])),{track:!1}),b=n.useMemo(()=>{let e=r.map(e=>`${e.color} ${e.percent}%`).join(", ");return`linear-gradient(90deg, ${e})`},[r]),h=n.useMemo(()=>a&&l?"alpha"===l?a.toRgbString():`hsl(${a.toHsb().h}, 100%, 50%)`:null,[a,l]),f=(0,T.Z)(u),$=(0,T.Z)(g),v=n.useMemo(()=>({onDragStart:f,onDragChange:$}),[]),C=(0,T.Z)((e,a)=>{let{onFocus:i,style:s,className:u,onKeyDown:g}=e.props,m=Object.assign({},s);return"gradient"===l&&(m.background=(0,E.AO)(r,a.value)),n.cloneElement(e,{onFocus:e=>{null==d||d(a.index),null==i||i(e)},style:m,className:o()(u,{[`${t}-slider-handle-active`]:c===a.index}),onKeyDown:e=>{("Delete"===e.key||"Backspace"===e.key)&&p&&p(a.index),null==g||g(e)}})}),x=n.useMemo(()=>({direction:"ltr",handleRender:C}),[]);return n.createElement(F.Z.Provider,{value:x},n.createElement(z.y.Provider,{value:v},n.createElement(W.Z,Object.assign({},m,{className:o()(s,`${t}-slider`),tooltip:{open:!1},range:{editable:i,minCount:2},styles:{rail:{background:b},handle:h?{background:h}:{}},classNames:{rail:`${t}-slider-rail`,handle:`${t}-slider-handle`}}))))};function K(e){return(0,v.Z)(e).sort((e,t)=>
11e.percent-t.percent)}var L=n.memo(e=>{let{prefixCls:t,mode:r,onChange:l,onChangeComplete:o,onActive:a,activeIndex:i,onGradientDragging:s,colors:c}=e,d=n.useMemo(()=>c.map(e=>({percent:e.percent,color:e.color.toRgbString()})),[c]),u=n.useMemo(()=>d.map(e=>e.percent),[d]),g=n.useRef(d);return"gradient"!==r?null:n.createElement(_,{min:0,max:100,prefixCls:t,className:`${t}-gradient-slider`,colors:d,color:null,value:u,range:!0,onChangeComplete:e=>{o(new f.y9(d)),i>=e.length&&a(e.length-1),s(!1)},disabled:!1,type:"gradient",activeIndex:i,onActive:a,onDragStart:({rawValues:e,draggingIndex:t,draggingValue:r})=>{if(e.length>d.length){let e=(0,E.AO)(d,r),n=(0,v.Z)(d);n.splice(t,0,{percent:r,color:e}),g.current=n}else g.current=d;s(!0),l(new f.y9(K(g.current)),!0)},onDragChange:({deleteIndex:e,draggingIndex:t,draggingValue:r})=>{let n=(0,v.Z)(g.current);-1!==e?n.splice(e,1):(n[t]=Object.assign(Object.assign({},n[t]),{percent:r}),n=K(n)),l(new f.y9(n),!0)},onKeyDelete:e=>{let t=(0,v.Z)(d);t.splice(e,1);let r=new f.y9(t);l(r),o(r)}})}),U=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,n=Object.getOwnPropertySymbols(e);l<n.length;l++)0>t.indexOf(n[l])&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]]);return r};let X={slider:e=>{let{value:t,onChange:r,onChangeComplete:l}=e;return n.createElement(_,Object.assign({},e,{value:[t],onChange:e=>r(e[0]),onChangeComplete:e=>l(e[0])}))}};var V=()=>{let e=(0,n.useContext)(S),{mode:t,onModeChange:r,modeOptions:l,prefixCls:o,allowClear:a,value:i,disabledAlpha:s,onChange:c,onClear:d,onChangeComplete:u,activeIndex:g,gradientDragging:p}=e,m=U(e,["mode","onModeChange","modeOptions","prefixCls","allowClear","value","disabledAlpha","onChange","onClear","onChangeComplete","activeIndex","gradientDragging"]),b=n.useMemo(()=>i.cleared?[{percent:0,color:new f.y9("")},{percent:100,color:new f.y9("")}]:i.getColors(),[i]),h=!i.isGradient(),[$,w]=n.useState(i);(0,x.Z)(()=>{var e;h||w(null===(e=b[g])||void 0===e?void 0:e.color)},[h,b,p,g]);let k=n.useMemo(()=>{var e;return h?i:p?$:null===(e=b[g])||void 0===e?void 0:e.color},[b,i,g,h,$,p]),[N,I]=n.useState(k),[Z,H]=(0,y.N)(),R=(null==N?void 0:N.equals(k))?k:N;(0,x.Z)(()=>{I(k)},[Z,null==k?void 0:k.toHexString()]);let P=(e,r)=>{let n=(0,E.vC)(e);if(i.cleared){let e=n.toRgb();if(e.r||e.g||e.b||!r)n=(0,E.T7)(n);else{let{type:e,value:t=0}=r;n=new f.y9({h:"hue"===e?t:0,s:1,b:1,a:"alpha"===e?t/100:1})}}if("single"===t)return n;let l=(0,v.Z)(b);return l[g]=Object.assign(Object.assign({},l[g]),{color:n}),new f.y9(l)},M=(e,t,r)=>{let n=P(e,r);I(n.isGradient()?n.getColors()[g].color:n),c(n,t)},A=(e,t)=>{u(P(e,t)),H()},q=null,D=l.length>1;return(a||D)&&(q=n.createElement("div",{className:`${o}-operation`},D&&n.createElement(O.Z,{size:"small",options:l,value:t,onChange:r}),n.createElement(j,Object.assign({prefixCls:o,value:i,onChange:e=>{c(e),null==d||d()}},m)))),n.createElement(n.Fragment,null,q,n.createElement(L,Object.assign({},e,{colors:b})),n.createElement(C.default,{prefixCls:o,value:null==R?void 0:R.toHsb(),disabledAlpha:s,onChange:(e,t)=>
11{M(e,!0,t)},onChangeComplete:(e,t)=>{A(e,t)},components:X}),n.createElement(B,Object.assign({value:k,onChange:e=>{c(P(e))},prefixCls:o,disabledAlpha:s},m)))},Q=r(91378),Y=()=>{let{prefixCls:e,value:t,presets:r,onChange:l}=(0,n.useContext)(w);return Array.isArray(r)?n.createElement(Q.Z,{value:t,presets:r,prefixCls:e,onChange:l}):null},J=e=>{let{prefixCls:t,presets:r,panelRender:l,value:o,onChange:a,onClear:i,allowClear:s,disabledAlpha:c,mode:d,onModeChange:u,modeOptions:g,onChangeComplete:p,activeIndex:m,onActive:b,format:h,onFormatChange:f,gradientDragging:v,onGradientDragging:C,disabledFormat:x}=e,y=`${t}-inner`,O=n.useMemo(()=>({prefixCls:t,value:o,onChange:a,onClear:i,allowClear:s,disabledAlpha:c,mode:d,onModeChange:u,modeOptions:g,onChangeComplete:p,activeIndex:m,onActive:b,format:h,onFormatChange:f,gradientDragging:v,onGradientDragging:C,disabledFormat:x}),[t,o,a,i,s,c,d,u,g,p,m,b,h,f,v,C,x]),E=n.useMemo(()=>({prefixCls:t,value:o,presets:r,onChange:a}),[t,o,r,a]),j=n.createElement("div",{className:`${y}-content`},n.createElement(V,null),Array.isArray(r)&&n.createElement($.Z,null),n.createElement(Y,null));return n.createElement(S.Provider,{value:O},n.createElement(w.Provider,{value:E},n.createElement("div",{className:y},"function"==typeof l?l(j,{components:{Picker:V,Presets:Y}}):j)))},ee=r(18242),et=r(55274),er=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,n=Object.getOwnPropertySymbols(e);l<n.length;l++)0>t.indexOf(n[l])&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]]);return r};let en=(0,n.forwardRef)((e,t)=>{let{color:r,prefixCls:l,open:a,disabled:i,format:s,className:c,showText:d,activeIndex:u}=e,g=er(e,["color","prefixCls","open","disabled","format","className","showText","activeIndex"]),p=`${l}-trigger`,m=`${p}-text`,b=`${m}-cell`,[h]=(0,et.Z)("ColorPicker"),f=n.useMemo(()=>{if(!d)return"";if("function"==typeof d)return d(r);if(r.cleared)return h.transparent;if(r.isGradient())return r.getColors().map((e,t)=>{let r=-1!==u&&u!==t;return n.createElement("span",{key:t,className:o()(b,r&&`${b}-inactive`)},e.color.toRgbString()," ",e.percent,"%")});let e=r.toHexString().toUpperCase(),t=(0,E.uZ)(r);switch(s){case"rgb":return r.toRgbString();case"hsb":return r.toHsbString();default:return t<100?`${e.slice(0,7)},${t}%`:e}},[r,s,d,u,h.transparent,b]),$=(0,n.useMemo)(()=>r.cleared?n.createElement(j,{prefixCls:l}):n.createElement(C.ColorBlock,{prefixCls:l,color:r.toCssString()}),[r,l]);return n.createElement("div",Object.assign({ref:t,className:o()(p,c,{[`${p}-active`]:a,[`${p}-disabled`]:i})},(0,ee.Z)(g)),$,d&&n.createElement("div",{className:m},f))});var el=r(50978),eo=r(17691),ea=r(99320),ei=r(71140);let es=(e,t)=>({backgroundImage:`conic-gradient(${t} 25%, transparent 25% 50%, ${t} 50% 75%, transparent 75% 100%)`,backgroundSize:`${e} ${e}`});var ec=(e,t)=>{let{componentCls:r,borderRadiusSM:n,colorPickerInsetShadow:l,lineWidth:o,colorFillSecondary:a}=e;return{[`${r}-color-block`]:Object.assign(Object.assign({position:"relative",borderRadius:n,width:t,height:t,boxShadow:l,flex:"none"},es("50%",e.colorFillSecondary)),{[`${r}-color-block-inner`]:{width:"100%",height:"100%",boxShadow:`inset 0 0 0 ${(0,el.unit)(o)} ${a}`,borderRadius:"inherit"}})}},ed=e=>{let{componentCls:t,antCls:r,fontSizeSM:n,lineHeightSM:l,colorPickerAlphaInputWidth:o,marginXXS:a,paddingXXS:i,controlHeightSM:s,marginXS:c,fontSizeIcon:d,paddingXS:u,colorTextPlaceholder:g,colorPickerInputNumberHandleWidth:p,lineWidth:m}=e;return{[`${t}-input-container`]:{display:"flex",[`${t}-steppers${r}-input-number`]:{fontSize:n,lineHeight:l,[`${r}-input-number-input`]:{paddingInlineStart:i,paddingInlineEnd:0},[`${r}-input-number-handler-wrap`]:{width:p}},[`${t}-steppers${t}-alpha-input`]:{flex:`0 0 ${(0,el.unit)(o)}`,marginInlineStart:a},[`${t}-format-select${r}-select`]:{marginInlineEnd:c,width:"auto","&-single":{[`${r}-select-selector`]:{padding:0,border:0},[`${r}-select-arrow`]:{insetInlineEnd:0},[`${r}-select-selection-item`]:{paddingInlineEnd:e.calc(d).add(a).equal(),fontSize:n,lineHeight:(0,el.unit)(s)},[`${r}-select-item-option-content`]:{fontSize:n,lineHeight:l},[`${r}-select-dropdown`]:{[`${r}-select-item`]:{minHeight:"auto"}}}},[`${t}-input`]:{gap:a,alignItems:"center",flex:1,width:0,[`${t}-hsb-input,${t}-rgb-input`]:{display:"flex",gap:a,alignItems:"center"},[`${t}-steppers`]:{flex:1},[`${t}-hex-input${r}-input-affix-wrapper`]:{flex:1,padding:`0 ${(0,el.unit)(u)}`,[`${r}-input`]:{fontSize:n,textTransform:"uppercase",lineHeight:(0,el.unit)(e.calc(s).sub(e.calc(m).mul(2)).equal())},[`${r}-input-prefix`]:{color:g}}}}}},eu=e=>{let{componentCls:t,controlHeightLG:r,borderRadiusSM:n,colorPickerInsetShadow:l,marginSM:o,colorBgElevated:a,colorFillSecondary:i,lineWidthBold:s,colorPickerHandlerSize:c}=e;return{userSelect:"none",[`${t}-select`]:{[`${t}-palette`]:{minHeight:e.calc(r).mul(4).equal(),overflow:"hidden",borderRadius:n},[`${t}-saturation`]:{position:"absolute",borderRadius:"inherit",boxShadow:l,inset:0},marginBottom:o},[`${t}-handler`]:{width:c,height:c,border:`${(0,el.unit)(s)} solid ${a}`,position:"relative",borderRadius:"50%",cursor:"pointer",boxShadow:`${l}, 0 0 0 1px ${i}`}}},eg=e=>{let{componentCls:t,antCls:r,colorTextQuaternary:n,paddingXXS:l,colorPickerPresetColorSize:o,fontSizeSM:a,colorText:i,lineHeightSM:s,lineWidth:c,borderRadius:d,colorFill:u,colorWhite:g,marginXXS:p,paddingXS:m,fontHeightSM:b}=e;return{[`${t}-presets`]:{[`${r}-collapse-item > ${r}-collapse-header`]:{padding:0,[`${r}-collapse-expand-icon`]:{height:b,color:n,paddingInlineEnd:l}},[`${r}-collapse`]:{display:"flex",flexDirection:"column",gap:p},[`${r}-collapse-item > ${r}-collapse-content > ${r}-collapse-content-box`]:{padding:`${(0,el.unit)(m)} 0`}
11,"&-label":{fontSize:a,color:i,lineHeight:s},"&-items":{display:"flex",flexWrap:"wrap",gap:e.calc(p).mul(1.5).equal(),[`${t}-presets-color`]:{position:"relative",cursor:"pointer",width:o,height:o,"&::before":{content:'""',pointerEvents:"none",width:e.calc(o).add(e.calc(c).mul(4)).equal(),height:e.calc(o).add(e.calc(c).mul(4)).equal(),position:"absolute",top:e.calc(c).mul(-2).equal(),insetInlineStart:e.calc(c).mul(-2).equal(),borderRadius:d,border:`${(0,el.unit)(c)} solid transparent`,transition:`border-color ${e.motionDurationMid} ${e.motionEaseInBack}`},"&:hover::before":{borderColor:u},"&::after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.calc(o).div(13).mul(5).equal(),height:e.calc(o).div(13).mul(8).equal(),border:`${(0,el.unit)(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`},[`&${t}-presets-color-checked`]:{"&::after":{opacity:1,borderColor:g,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`transform ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`},[`&${t}-presets-color-bright`]:{"&::after":{borderColor:"rgba(0, 0, 0, 0.45)"}}}}},"&-empty":{fontSize:a,color:n}}}},ep=e=>{let{componentCls:t,colorPickerInsetShadow:r,colorBgElevated:n,colorFillSecondary:l,lineWidthBold:o,colorPickerHandlerSizeSM:a,colorPickerSliderHeight:i,marginSM:s,marginXS:c}=e,d=e.calc(a).sub(e.calc(o).mul(2).equal()).equal(),u=e.calc(a).add(e.calc(o).mul(2).equal()).equal(),g={"&:after":{transform:"scale(1)",boxShadow:`${r}, 0 0 0 1px ${e.colorPrimaryActive}`}};return{[`${t}-slider`]:[es((0,el.unit)(i),e.colorFillSecondary),{margin:0,padding:0,height:i,borderRadius:e.calc(i).div(2).equal(),"&-rail":{height:i,borderRadius:e.calc(i).div(2).equal(),boxShadow:r},[`& ${t}-slider-handle`]:{width:d,height:d,top:0,borderRadius:"100%","&:before":{display:"block",position:"absolute",background:"transparent",left:{_skip_check_:!0,value:"50%"},top:"50%",transform:"translate(-50%, -50%)",width:u,height:u,borderRadius:"100%"},"&:after":{width:a,height:a,border:`${(0,el.unit)(o)} solid ${n}`,boxShadow:`${r}, 0 0 0 1px ${l}`,outline:"none",insetInlineStart:e.calc(o).mul(-1).equal(),top:e.calc(o).mul(-1).equal(),background:"transparent",transition:"none"},"&:focus":g}}],[`${t}-slider-container`]:{display:"flex",gap:s,marginBottom:s,[`${t}-slider-group`]:{flex:1,flexDirection:"column",justifyContent:"space-between",display:"flex","&-disabled-alpha":{justifyContent:"center"}}},[`${t}-gradient-slider`]:{marginBottom:c,[`& ${t}-slider-handle`]:{"&:after":{transform:"scale(0.8)"},"&-active, &:focus":g}}}};let em=(e,t,r)=>({borderInlineEndWidth:e.lineWidth,borderColor:t,boxShadow:`0 0 0 ${(0,el.unit)(e.controlOutlineWidth)} ${r}`,outline:0}),eb=e=>{let{componentCls:t}=e;return{"&-rtl":{[`${t}-presets-color`]:{"&::after":{direction:"ltr"}},[`${t}-clear`]:{"&::after":{direction:"ltr"}}}}},eh=(e,t,r)=>{let{componentCls:n,borderRadiusSM:l,lineWidth:o,colorSplit:a,colorBorder:i,red6:s}=e;return{[`${n}-clear`]:Object.assign(Object.assign({width:t,height:t,borderRadius:l,border:`${(0,el.unit)(o)} solid ${a}`,position:"relative",overflow:"hidden",cursor:"inherit",transition:`all ${e.motionDurationFast}`},r),{"&::after":{content:'""',position:"absolute",insetInlineEnd:e.calc(o).mul(-1).equal(),top:e.calc(o).mul(-1).equal(),display:"block",width:40,height:2,transformOrigin:"calc(100% - 1px) 1px",transform:"rotate(-45deg)",backgroundColor:s},"&:hover":{borderColor:i}})}},ef=e=>{let{componentCls:t,colorError:r,colorWarning:n,colorErrorHover:l,colorWarningHover:o,colorErrorOutline:a,colorWarningOutline:i}=e;return{[`&${t}-status-error`]:{borderColor:r,"&:hover":{borderColor:l},[`&${t}-trigger-active`]:Object.assign({},em(e,r,a))},[`&${t}-status-warning`]:{borderColor:n,"&:hover":{borderColor:o},[`&${t}-trigger-active`]:Object.assign({},em(e,n,i))}}},e$=e=>{let{componentCls:t,controlHeightLG:r,controlHeightSM:n,controlHeight:l,controlHeightXS:o,borderRadius:a,borderRadiusSM:i,borderRadiusXS:s,borderRadiusLG:c,fontSizeLG:d}=e;return{[`&${t}-lg`]:{minWidth:r,minHeight:r,borderRadius:c,[`${t}-color-block, ${t}-clear`]:{width:l,height:l,borderRadius:a},[`${t}-trigger-text`]:{fontSize:d}},[`&${t}-sm`]:{minWidth:n,minHeight:n,borderRadius:i,[`${t}-color-block, ${t}-clear`]:{width:o,height:o,borderRadius:s},[`${t}-trigger-text`]:{lineHeight:(0,el.unit)(o)}}}},ev=e=>{let{antCls:t,componentCls:r,colorPickerWidth:n,colorPrimary:l,motionDurationMid:o,colorBgElevated:a,colorTextDisabled:i,colorText:s,colorBgContainerDisabled:c,borderRadius:d,marginXS:u,marginSM:g,controlHeight:p,controlHeightSM:m,colorBgTextActive:b,colorPickerPresetColorSize:h,colorPickerPreviewSize:f,lineWidth:$,colorBorder:v,paddingXXS:C,fontSize:x,colorPrimaryHover:y,controlOutline:O}=e;return[{[r]:Object.assign({[`${r}-inner`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({"&-content":{display:"flex",flexDirection:"column",width:n,[`& > ${t}-divider`]:{margin:`${(0,el.unit)(g)} 0 ${(0,el.unit)(u)}`}},[`${r}-panel`]:Object.assign({},eu(e))},ep(e)),ec(e,f)),ed(e)),eg(e)),eh(e,h,{marginInlineStart:"auto"})),{[`${r}-operation`]:{display:"flex",justifyContent:"space-between",marginBottom:u}}),"&-trigger":Object.assign(Object.assign(Object.assign(Object.assign({minWidth:p,minHeight:p,borderRadius:d,border:`${(0,el.unit)($)} solid ${v}`,cursor:"pointer",display:"inline-flex",alignItems:"flex-start",justifyContent:"center",transition:`all ${o}`,background:a,padding:e.calc(C).sub($).equal(),[`${r}-trigger-text`]:{marginInlineStart:u,marginInlineEnd:e.calc(u).sub(e.calc(C).sub($)).equal(),fontSize:x,color:s,alignSelf:"center","&-cell":{"&:not(:last-child):after":{content:'", "'},"&-inactive":{color:i}}},"&:hover":{borderColor:y},[`&${r}-trigger-active`]:Object.assign({},em(e,l,O)),"&-disabled":{color:i,background:c,cursor:"not-allowed","&:hover":{borderColor:b},[`${r}-trigger-text`]:{color:i}}},eh(e,m)),ec(e,m)),ef(e)),e$(e))},eb(e))},(0,eo.c)(e,{focusElCls:`${r}-trigger-active`})]};var eC=(0,ea.I$)("ColorPicker",e=>{let{colorTextQuaternary:t,marginSM:r}=e;
11return ev((0,ei.mergeToken)(e,{colorPickerWidth:234,colorPickerHandlerSize:16,colorPickerHandlerSizeSM:12,colorPickerAlphaInputWidth:44,colorPickerInputNumberHandleWidth:16,colorPickerPresetColorSize:24,colorPickerInsetShadow:`inset 0 0 1px 0 ${t}`,colorPickerSliderHeight:8,colorPickerPreviewSize:e.calc(8).mul(2).add(r).equal()}))}),ex=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,n=Object.getOwnPropertySymbols(e);l<n.length;l++)0>t.indexOf(n[l])&&Object.prototype.propertyIsEnumerable.call(e,n[l])&&(r[n[l]]=e[n[l]]);return r};let ey=e=>{let{mode:t,value:r,defaultValue:l,format:s,defaultFormat:$,allowClear:v=!1,presets:C,children:x,trigger:y="click",open:O,disabled:S,placement:w="bottomLeft",arrow:j=!0,panelRender:k,showText:N,style:I,className:Z,size:H,rootClassName:R,prefixCls:P,styles:M,disabledAlpha:A=!1,onFormatChange:q,onChange:D,onClear:B,onOpenChange:z,onChangeComplete:W,getPopupContainer:F,autoAdjustOverflow:G=!0,destroyTooltipOnHide:_,destroyOnHidden:K,disabledFormat:L}=e,U=ex(e,["mode","value","defaultValue","format","defaultFormat","allowClear","presets","children","trigger","open","disabled","placement","arrow","panelRender","showText","style","className","size","rootClassName","prefixCls","styles","disabledAlpha","onFormatChange","onChange","onClear","onOpenChange","onChangeComplete","getPopupContainer","autoAdjustOverflow","destroyTooltipOnHide","destroyOnHidden","disabledFormat"]),{getPrefixCls:X,direction:V,colorPicker:Q}=(0,n.useContext)(d.E_),Y=(0,n.useContext)(u.Z),ee=null!=S?S:Y,[er,el]=(0,a.Z)(!1,{value:O,postState:e=>!ee&&e,onChange:z}),[eo,ea]=(0,a.Z)(s,{value:s,defaultValue:$,onChange:q}),ei=X("color-picker",P),[es,ec,ed,eu,eg]=function(e,t,r){let[l]=(0,et.Z)("ColorPicker"),[o,i]=(0,a.Z)(e,{value:t}),[s,c]=n.useState("single"),[d,u]=n.useMemo(()=>{let e=(Array.isArray(r)?r:[r]).filter(e=>e);e.length||e.push("single");let t=new Set(e),n=[],o=(e,r)=>{t.has(e)&&n.push({label:r,value:e})};return o("single",l.singleColor),o("gradient",l.gradientColor),[n,t]},[r,l.singleColor,l.gradientColor]),[g,p]=n.useState(null),m=(0,T.Z)(e=>{p(e),i(e)}),b=n.useMemo(()=>{let e=(0,E.vC)(o||"");return e.equals(g)?g:e},[o,g]),h=n.useMemo(()=>{var e;return u.has(s)?s:null===(e=d[0])||void 0===e?void 0:e.value},[u,s,d]);return n.useEffect(()=>{c(b.isGradient()?"gradient":"single")},[b]),[b,m,h,c,d]}(l,r,t),ep=(0,n.useMemo)(()=>100>(0,E.uZ)(es),[es]),[em,eb]=n.useState(null),eh=e=>{if(W){let t=(0,E.vC)(e);A&&ep&&(t=(0,E.T7)(e)),W(t)}},ef=(e,t)=>{let r=(0,E.vC)(e);A&&ep&&(r=(0,E.T7)(r)),ec(r),eb(null),D&&D(r,r.toCssString()),t||eh(r)},[e$,ev]=n.useState(0),[ey,eO]=n.useState(!1),{status:eS}=n.useContext(m.aM),{compactSize:ew,compactItemClassnames:eE}=(0,h.ri)(ei,V),ej=(0,p.Z)(e=>{var t;return null!==(t=null!=H?H:ew)&&void 0!==t?t:e}),ek=(0,g.Z)(ei),[eN,eI,eZ]=eC(ei,ek),eH={[`${ei}-rtl`]:V},eR=o()(R,eZ,ek,eH),eP=o()((0,c.Z)(ei,eS),{[`${ei}-sm`]:"small"===ej,[`${ei}-lg`]:"large"===ej},eE,null==Q?void 0:Q.className,eR,Z,eI),eM=o()(ei,eR),eA=Object.assign(Object.assign({},null==Q?void 0:Q.style),I);return eN(n.createElement(b.Z,Object.assign({style:null==M?void 0:M.popup,styles:{body:null==M?void 0:M.popupOverlayInner},onOpenChange:e=>{e&&ee||el(e)}
11,content:n.createElement(i.Z,{form:!0},n.createElement(J,{mode:ed,onModeChange:e=>{if(eu(e),"single"===e&&es.isGradient())ev(0),ef(new f.y9(es.getColors()[0].color)),eb(es);else if("gradient"===e&&!es.isGradient()){let e=ep?(0,E.T7)(es):es;ef(new f.y9(em||[{percent:0,color:e},{percent:100,color:e}]))}},modeOptions:eg,prefixCls:ei,value:es,allowClear:v,disabled:ee,disabledAlpha:A,presets:C,panelRender:k,format:eo,onFormatChange:ea,onChange:ef,onChangeComplete:eh,onClear:B,activeIndex:e$,onActive:ev,gradientDragging:ey,onGradientDragging:eO,disabledFormat:L})),classNames:{root:eM}},{open:er,trigger:y,placement:w,arrow:j,rootClassName:R,getPopupContainer:F,autoAdjustOverflow:G,destroyOnHidden:null!=K?K:!!_}),x||n.createElement(en,Object.assign({activeIndex:er?e$:-1,open:er,className:eP,style:eA,prefixCls:ei,disabled:ee,showText:N,format:eo},U,{color:es}))))},eO=(0,s.Z)(ey,void 0,e=>Object.assign(Object.assign({},e),{placement:"bottom",autoAdjustOverflow:!1}),"color-picker",e=>e);ey._InternalPanelDoNotUseOrYouWillBeFired=eO;var eS=ey},50330:function(e,t,r){r.d(t,{AO:function(){return d},T7:function(){return c},lx:function(){return i},uZ:function(){return s},vC:function(){return a}});var n=r(83145),l=r(75669),o=r(11357);let a=e=>e instanceof o.y9?e:new o.y9(e),i=e=>Math.round(Number(e||0)),s=e=>i(100*e.toHsb().a),c=(e,t)=>{let r=e.toRgb();if(!r.r&&!r.g&&!r.b){let r=e.toHsb();return r.a=t||1,a(r)}return r.a=t||1,a(r)},d=(e,t)=>{let r=[{percent:0,color:e[0].color}].concat((0,n.Z)(e),[{percent:100,color:e[e.length-1].color}]);for(let e=0;e<r.length-1;
11e+=1){let n=r[e].percent,o=r[e+1].percent,a=r[e].color,i=r[e+1].color;if(n<=t&&t<=o){let e=o-n;if(0===e)return a;let r=(t-n)/e*100,s=new l.Color(a),c=new l.Color(i);return s.mix(c,r).toRgbString()}}return""}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.