PageSourceSearch

https://switch.to/static/index-BEfi6KpC.js

js switch.to collected 2026-10-05 04:46:01 UTC 2,801,490 bytes, 1,738 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/index-BC7KwsfV.js","static/DelayButton-CXW2Pubm.js","static/merchantWallet-B9e6FYuu.js","static/DelayButton-ax_UFOzY.css","static/DropdownSimple-BR0VUdKe.js","static/DropdownSimple-fox3DkBe.css","static/SplitInput-CjHXXLam.js","static/SplitInput-CfdJRLFB.css","static/ExternalLink-cFE5mfPe.js","static/ExternalLink-BIrgdexE.css","static/QRcode-thE0qLte.js","static/FamilyIcon-DbobJukv.js","static/FamilyIcon-B2YFUqah.css","static/QRcode-DRYlsrf_.css","static/rules-DqiYHrhT.js","static/index-IfilmdtQ.css","static/index-CLq-ptlx.js","static/index-CNWDEI4J.css","static/index-DSVIrdXc.js","static/SimpleTransition-BaePA6NG.js","static/SimpleTransition-CA4MGQOd.css","static/usePageLeaving-C5X0mBFa.js","static/api-BUkX92bS.js","static/DotSeparator-CsprHH-l.js","static/DotSeparator-BCruNyqN.css","static/CountryFlag-Bjo9r6CF.js","static/CountryFlag-qtmscRjo.css","static/RecoveryCodes-BOaC9ZnK.js","static/TooltipCopy-CoEt2ATD.js","static/TooltipCopy-6bIJSRAs.css","static/RecoveryCodes-DkujT2Em.css","static/index-DSKLt1Kd.css","static/SignupInvitation-CPiHYWpT.js","static/SignupInvitation-CHXoHrZx.css","static/SessionExpired-D7nzee3j.js","static/SessionExpired-DgCyFs5J.css","static/index-nCjxVP0x.js","static/paymentState-AFiH32DJ.js","static/UidPlan-D6R1C3NB.js","static/PlanIcon-DwUFhIiA.js","static/PlanIcon-Br-d28qY.css","static/UidPlan-BUn8rHN-.css","static/AmountInput-DdoE8giZ.js","static/useCurrency-Dh1XdAj4.js","static/AmountInput-CnXruxht.css","static/index-CbJid7PQ.css","static/index-9G_zaj01.js","static/crypto-D05-QGq-.js","static/index-C4XPnap4.css","static/index-DWq_XxyP.js","static/TransitionWrapper-BPI8Mi4r.js","static/TransitionWrapper-BLp5w2Pp.css","static/stickies-CD-f0tMH.js","static/useStickies-NKsFYDxa.js","static/stickies-HZdGx5IA.css","static/CurrencyFormatter-Ck83SwDn.js","static/CurrencyFormatter-DY6QSbhU.css","static/CalendarPicker-CS3aOge_.js","static/CalendarPicker-B7mnZ3rR.css","static/AppModal-B6ED-4KX.js","static/AppModal-BQf3GhAi.css","static/index-DBVcQBU_.css","static/MerchantPayments-uOES3cgr.js","static/AppHeader-DUYyJ1qU.js","static/AppHeader-DVYgRbYi.css","static/PaymentModal-DLj81D5n.js","static/SmallActionButton-C0yO4Gpw.js","static/SmallActionButton-BGpdYnt0.css","static/tableTypes-DI5gb06Y.js","static/tableTypes-BAh3C2SG.css","static/HistoryBlock-Ds8DyQwc.js","static/NoData-BhE3VLsC.js","static/NoData-DmIAzYfH.css","static/HistoryBlock-CbyPumnY.css","static/DateDurationWithNow-D585i1by.js","static/DateDurationWithNow-CwUbCEZS.css","static/PaymentModal-BPHtX_E3.css","static/PaginationTable-BoDSmTw1.js","static/LinearProgress-CwcGkuki.js","static/LinearProgress-DZPaTIPz.css","static/NoData-kvO92ngK.js","static/NoData-DSgxikRx.css","static/PaginationTable-DC1n7A3b.css","static/MerchantPayments-Zvbc8Mwb.css","static/MerchantClients-Adji6bab.js","static/MainTable-BpeqPM6n.js","static/MainTable-CBiEdi5a.css","static/MerchantClients-BgblqI-F.css","static/index-DwB_Tabw.js","static/useModalOpen-BqaLMyYN.js","static/index-2slIulUc.css","static/index-D2iYUJst.js","static/DropdownBlock-DzKoxs8u.js","static/DropdownBlock-C1E1iqz4.css","static/AppCheckbox-B4Gu--3j.js","static/AppCheckbox-B3rgxqp2.css","static/index-Ba8awCt_.css","static/MerchantSettings-chwlHr2_.js","static/SimpleTable-CCoVO71_.js","static/SimpleTable-DwbbPYrm.css","static/images-Bjx_wmgD.js","static/AppAvatar-DQm18O7t.js","static/GlitchAvatar-ZT2DMsxi.js","static/GlitchAvatar-CMg0am5H.css","static/AppAvatar-Cch0pPe0.css","static/images-BnGIRLhH.css","static/UidBadge-CnHe2dMP.js","static/UidBadge-ByqQz7z6.css","static/MerchantSettings-B5U3zVXs.css","static/index-Ba1rJ-PO.js","static/ModalToChangePlan-Cvr-i6Kx.js","static/ModalToChangePlan-CVyAdjbU.css","static/index-D9KD3yGV.css","static/index-Byij9KjG.js","static/stickies-DdyAkKpQ.js","static/index-DM7dP-_X.css","static/AdminAuth-FVW9ic5P.js","static/AdminAuth-DZflCP4a.css","static/index-CrxTAiJ5.js","static/SelectLanguage-iH8pM1Ku.js","static/SelectLanguage-D-PnJdAC.css","static/index-CERiGrak.css","static/index-BCR4r619.js","static/index-Cdefbzqz.css","static/index-BNF9S1Zr.js","
1static/index-B8-OITUQ.css","static/ClientLayout-DZcr1da3.js","static/ClientLayout-ADPozoc6.css"])))=>i.map(i=>d[i]);
2(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"1e6a2609122f5e723bb0228e1cf7c7c74e9a4659"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="86f231f8-4304-4b46-acf4-c1a638f4b1c1",e._sentryDebugIdIdentifier="sentry-dbid-86f231f8-4304-4b46-acf4-c1a638f4b1c1")})()}catch{}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))o(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const r of s.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&o(r)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function o(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();/**
3* @vue/shared v3.5.24
4* (c) 2018-present Yuxi (Evan) You and Vue contributors
5* @license MIT
vendor: 9,837 bytes, lines 6-7
6**/function zo(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const xt={},Sl=[],Ot=()=>{},Y3=()=>!1,ed=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$m=e=>e.startsWith("onUpdate:"),en=Object.assign,Wm=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},cB=Object.prototype.hasOwnProperty,Ft=(e,t)=>cB.call(e,t),_e=Array.isArray,El=e=>rc(e)==="[object Map]",Wa=e=>rc(e)==="[object Set]",Rh=e=>rc(e)==="[object Date]",sP=e=>rc(e)==="[object RegExp]",qe=e=>typeof e=="function",lt=e=>typeof e=="string",yi=e=>typeof e=="symbol",Et=e=>e!==null&&typeof e=="object",wu=e=>(Et(e)||qe(e))&&qe(e.then)&&qe(e.catch),X3=Object.prototype.toString,rc=e=>X3.call(e),qd=e=>rc(e).slice(8,-1),Tp=e=>rc(e)==="[object Object]",Gm=e=>lt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Tl=zo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),uB=zo("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),zm=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},dB=/-\w/g,$n=zm(e=>e.replace(dB,t=>t.slice(1).toUpperCase())),hB=/\B([A-Z])/g,ho=zm(e=>e.replace(hB,"-$1").toLowerCase()),ac=zm(e=>e.charAt(0).toUpperCase()+e.slice(1)),ou=zm(e=>e?`on${ac(e)}`:""),co=(e,t)=>!Object.is(e,t),Rl=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},J3=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},Rp=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ph=e=>{const t=lt(e)?Number(e):NaN;return isNaN(t)?e:t};let Lw;const Pp=()=>Lw||(Lw=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}),pB=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function fB(e){return pB.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function gB(e,t){return e+JSON.stringify(t,(n,o)=>typeof o=="function"?o.toString():o)}const mB={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",CACHED:-1,"-1":"CACHED",BAIL:-2,"-2":"BAIL"},vB={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"CACHED",[-2]:"BAIL"},CB={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},bB={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},yB={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},wB="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",Q3=zo(wB),SB=Q3,xw=2;function EB(e,t=0,n=e.length){if(t=Math.max(0,Math.min(t,e.length)),n=Math.max(0,Math.min(n,e.length)),t>n)return"";let o=e.split(/(\r?\n)/);const i=o.filter((a,l)=>l%2===1);o=o.filter((a,l)=>l%2===0);let s=0;const r=[];for(let a=0;a<o.length;a++)if(s+=o[a].length+(i[a]&&i[a].length||0),s>=t){for(let l=a-xw;l<=a+xw||n>s;l++){if(l<0||l>=o.length)continue;const c=l+1;r.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}|  ${o[l]}`);const u=o[l].length,d=i[l]&&i[l].length||0;if(l===a){const h=t-(s-(u+d)),p=Math.max(1,n>s?u-h:n-t);r.push("   |  "+" ".repeat(h)+"^".repeat(p))}else if(l>a){if(n>s){const h=Math.max(Math.min(n-s,u),1);r.push("   |  "+"^".repeat(h))}s+=u+d}}break}return r.join(`
7`)}function ft(e){if(_e(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],i=lt(o)?rP(o):ft(o);if(i)for(const s in i)t[s]=i[s]}return t}else if(lt(e)||Et(e))return e}const TB=/;(?![^(]*\))/g,RB=/:([^]+)/,PB=/\/\*[^]*?\*\//g;function rP(e){const t={};return e.replace(PB,"").split(TB).forEach(n=>{if(n){const o=n.split(RB);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function aP(e){if(!e)return"";if(lt(e))return e;let t="";for(const n in e){const o=e[n];if(lt(o)||typeof o=="number"){const i=n.startsWith("--")?n:ho(n);t+=`${i}:${o};`}}return t}function U(e){let t="";if(lt(e))t=e;else if(_e(e))for(let n=0;n<e.length;n++){const o=U(e[n]);o&&(t+=o+" ")}else if(Et(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function _i(e){if(!e)return null;let{class:t,style:n}=e;return t&&!lt(t)&&(e.class=U(t)),n&&(e.style=ft(n)),e}const MB="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",LB="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",xB="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",DB="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",kB=zo(MB),AB=zo(LB),_B=zo(xB),IB=zo(DB),lP="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",cP=zo(lP),EC=zo(lP+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function Um(e){return!!e||e===""}const FB=/[>/="'\u0009\u000a\u000c\u0020]/,d2={};function OB(e){if(d2.hasOwnProperty(e))return d2[e];const t=FB.test(e);return t&&console.error(`unsafe attribute name: ${e}`),d2[e]=!t}const NB={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},uP=zo("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),dP=zo("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radiu
7s,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),BB=zo("accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns");function hP(e){if(e==null)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}const HB=/["'&<>]/;function VB(e){const t=""+e,n=HB.exec(t);if(!n)return t;let o="",i,s,r=0;for(s=n.index;s<t.length;s++){switch(t.charCodeAt(s)){case 34:i="&quot;";break;case 38:i="&amp;";break;case 39:i="&#39;";break;case 60:i="&lt;";break;case 62:i="&gt;";break;default:continue}r!==s&&(o+=t.slice(r,s)),r=s+1,o+=i}return r!==s?o+t.slice(r,s):o}const $B=/^-?>|<!--|-->|--!>|<!-$/g;function WB(e){return e.replace($B,"")}const pP=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function fP(e,t){return e.replace(pP,n=>t?n==='"'?'\\\\\\"':`\\\\${n}`:`\\${n}`)}function GB(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=Sr(e[o],t[o]);return n}function Sr(e,t){if(e===t)return!0;let n=Rh(e),o=Rh(t);if(n||o)return n&&o?e.getTime()===t.getTime():!1;if(n=yi(e),o=yi(t),n||o)return e===t;if(n=_e(e),o=_e(t),n||o)return n&&o?GB(e,t):!1;if(n=Et(e),o=Et(t),n||o){if(!n||!o)return!1;const i=Object.keys(e).length,s=Object.keys(t).length;if(i!==s)return!1;for(const r in e){const a=e.hasOwnProperty(r),l=t.hasOwnProperty(r);if(a&&!l||!a&&l||!Sr(e[r],t[r]))return!1}}return String(e)===String(t)}function Mp(e,t){return e.findIndex(n=>Sr(n,t))}const gP=e=>!!(e&&e.__v_isRef===!0),Be=e=>lt(e)?e:e==null?"":_e(e)||Et(e)&&(e.toString===X3||!qe(e.toString))?gP(e)?Be(e.value):JSON.stringify(e,mP,2):String(e),mP=(e,t)=>gP(t)?mP(e,t.value):El(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,i],s)=>(n[h2(o,s)+" =>"]=i,n),{})}:Wa(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>h2(n))}:yi(t)?h2(t):Et(t)&&!_e(t)&&!Tp(t)?String(t):t,h2=(e,t="")=>{var n;return yi(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function e4(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}const GFe=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_ARR:Sl,EMPTY_OBJ:xt,NO:Y3,NOOP:Ot,PatchFlagNames:vB,PatchFlags:mB,ShapeFlags:CB,SlotFlags:bB,camelize:$n,capitalize:ac,cssVarNameEscapeSymbolsRE:pP,def:J3,escapeHtml:VB,escapeHtmlComment:WB,extend:en,genCacheKey:gB,genPropsAccessExp:fB,generateCodeFrame:EB,getEscapedCssVarName:fP,getGlobalThis:Pp,hasChanged:co,hasOwn:Ft,hyphenate:ho,includeBooleanAttr:Um,invokeArrayFns:Rl,isArray:_e,isBooleanAttr:EC,isBuiltInDirective:uB,isDate:Rh,isFunction:qe,isGloballyAllowed:Q3,isGloballyWhitelisted:SB,isHTMLTag:kB,isIntegerKey:Gm,isKnownHtmlAttr:uP,isKnownMathMLAttr:BB,isKnownSvgAttr:dP,isMap:El,isMathMLTag:_B,isModelListener:$m,isObject:Et,isOn:ed,isPlainObject:Tp,isPromise:wu,isRegExp:sP,isRenderableAttrValue:hP,isReservedProp:Tl,isSSRSafeAttrName:OB,isSVGTag:AB,isSet:Wa,isSpecialBooleanAttr:cP,isString:lt,isSymbol:yi,isVoidTag:IB,looseEqual:Sr,looseIndexOf:Mp,looseToNumber:Rp,makeMap:zo,normalizeClass:U,normalizeCssVarValue:e4,normalizeProps:_i,normalizeStyle:ft,objectToString:X3,parseStringStyle:rP,propsToAttrMap:NB,remove:Wm,slotFlagsText:yB,stringifyStyle:aP,toDisplayString:Be,toHandlerKey:ou,toNumber:Ph,toRawType:qd,toTypeString:rc},Symbol.toStringTag,{value:"Module"}));/**
8* @vue/reactivity v3.5.24
9* (c) 2018-present Yuxi (Evan) You and Vue contributors
10* @license MIT
vendor: 17,371 bytes, lines 11-14
11**/let ro;class t4{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ro,!t&&ro&&(this.index=(ro.scopes||(ro.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ro;try{return ro=this,t()}finally{ro=n}}}on(){++this._on===1&&(this.prevScope=ro,ro=this)}off(){this._on>0&&--this._on===0&&(ro=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(this.effects.length=0,n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function jm(e){return new t4(e)}function lc(){return ro}function Lp(e,t=!1){ro&&ro.cleanups.push(e)}let cn;const p2=new WeakSet;class Mh{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ro&&ro.active&&ro.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,p2.has(this)&&(p2.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||CP(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Dw(this),bP(this);const t=cn,n=qi;cn=this,qi=!0;try{return this.fn()}finally{yP(this),cn=t,qi=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)i4(t);this.deps=this.depsTail=void 0,Dw(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?p2.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){TC(this)&&this.run()}get dirty(){return TC(this)}}let vP=0,Yd,Xd;function CP(e,t=!1){if(e.flags|=8,t){e.next=Xd,Xd=e;return}e.next=Yd,Yd=e}function n4(){vP++}function o4(){if(--vP>0)return;if(Xd){let t=Xd;for(Xd=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Yd;){let t=Yd;for(Yd=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function bP(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function yP(e){let t,n=e.depsTail,o=n;for(;o;){const i=o.prevDep;o.version===-1?(o===n&&(n=i),i4(o),zB(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=i}e.deps=t,e.depsTail=n}function TC(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(wP(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function wP(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Lh)||(e.globalVersion=Lh,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!TC(e))))return;e.flags|=2;const t=e.dep,n=cn,o=qi;cn=e,qi=!0;try{bP(e);const i=e.fn(e._value);(t.version===0||co(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{cn=n,qi=o,yP(e),e.flags&=-3}}function i4(e,t=!1){const{dep:n,prevSub:o,nextSub:i}=e;if(o&&(o.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)i4(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function zB(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function UB(e,t){e.effect instanceof Mh&&(e=e.effect.fn);const n=new Mh(e);t&&en(n,t);try{n.run()}catch(i){throw n.stop(),i}const o=n.run.bind(n);return o.effect=n,o}function jB(e){e.effect.stop()}let qi=!0;const SP=[];function Is(){SP.push(qi),qi=!1}function Fs(){const e=SP.pop();qi=e===void 0?!0:e}function Dw(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=cn;cn=void 0;try{t()}finally{cn=n}}}let Lh=0;class ZB{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Zm{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!cn||!qi||cn===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==cn)n=this.activeLink=new ZB(cn,this),cn.deps?(n.prevDep=cn.depsTail,cn.depsTail.nextDep=n,cn.depsTail=n):cn.deps=cn.depsTail=n,EP(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=cn.depsTail,n.nextDep=void 0,cn.depsTail.nextDep=n,cn.depsTail=n,cn.deps===n&&(cn.deps=o)}return n}trigger(t){this.version++,Lh++,this.notify(t)}notify(t){n4();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{o4()}}}function EP(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)EP(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Eg=new WeakMap,Pl=Symbol(""),RC=Symbol(""),xh=Symbol("");function uo(e,t,n){if(qi&&cn){let o=Eg.get(e);o||Eg.set(e,o=new Map);let i=o.get(n);i||(o.set(n,i=new Zm),i.map=o,i.key=n),i.track()}}function rr(e,t,n,o,i,s){const r=Eg.get(e);if(!r){Lh++;return}const a=l=>{l&&l.trigger()};if(n4(),t==="clear")r.forEach(a);else{const l=_e(e),c=l&&Gm(n);if(l&&n==="length"){const u=Number(o);r.forEach((d,h)=>{(h==="length"||h===xh||!yi(h)&&h>=u)&&a(d)})}else switch((n!==void 0||r.has(void 0))&&a(r.get(n)),c&&a(r.get(xh)),t){case"add":l?c&&a(r.get("length")):(a(r.get(Pl)),El(e)&&a(r.get(RC)));break;case"delete":l||(a(r.get(Pl)),El(e)&&a(r.get(RC)));break;case"set":El(e)&&a(r.get(Pl));break}}o4()}function KB(e,t){const n=Eg.get(e);return n&&n.get(t)}function Ec(e){const t=Ct(e);return t===e?t:(uo(t,"iterate",xh),Jo(e)?t:t.map(jn))}function Km(e){return uo(e=Ct(e),"iterate",xh),e}const qB={__proto__:null,[Symbol.iterator](){return f2(this,Symbol.iterator,jn)},concat(...e){return Ec(this).concat(...e.map(t=>_e(t)?Ec(t):t))},entries(){return f2(this,"entries",e=>(e[1]=jn(e[1]),e))},every(e,t){return qs(this,"every",e,t,void 0,arguments)},filter(e,t){return qs(this,"filter",e,t,n=>n.map(jn),arguments)},find(e,t){return qs(this,"find",e,t,jn,arguments)},findIndex(e,t){return qs(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return qs(this,"findLast",e,t,jn,arguments)},findLastIndex(e,t){return qs(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return qs(this,"forEach",e,t,void 0,arguments)},includes(...e){return g2(this,"includes",e)},indexOf(...e){return g2(this,"indexOf",e)},join(e){return Ec(this).join(e)},lastIndexOf(...e){return g2(this,"lastIndexOf",e)},map(e,t){return qs(this,"map",e,t,void 0,arguments)},pop(){return Ed(this,"pop")},push(...e){return Ed(this,"push",e)},reduce(e,...t){return kw(this,"reduce",e,t)},reduceRight(e,...t){return kw(this,"reduceRight",e,t)},shift(){return Ed(this,"shift")},some(e,t){return qs(this,"some",e,t,void 0,arguments)},splice(...e){return Ed(this,"splice",e)},toReversed(){return Ec(this).toReversed()},toSorted(e){return Ec(this).toSorted(e)},toSpliced(...e){return Ec(this).toSpliced(...e)},unshift(...e){return Ed(this,"unshift",e)},values(){return f2(this,"values",jn)}};function f2(e,t,n){const o=Km(e),i=o[t]();return o!==e&&!Jo(e)&&(i._next=i.next,i.next=()=>{const s=i._next();return s.done||(s.value=n(s.value)),s}),i}const YB=Array.prototype;function qs(e,t,n,o,i,s){const r=Km(e),a=r!==e&&!Jo(e),l=r[t];if(l!==YB[t]){const d=l.apply(e,s);return a?jn(d):d}let c=n;r!==e&&(a?c=function(d,h){return n.call(this,jn(d),h,e)}:n.length>2&&(c=function(d,h){return n.call(this,d,h,e)}));const u=l.call(r,c,o);return a&&i?i(u):u}function kw(e,t,n,o){const i=Km(e);let s=n;return i!==e&&(Jo(e)?n.length>3&&(s=function(r,a,l){return n.call(this,r,a,l,e)}):s=function(r,a,l){return n.call(this,r,jn(a),l,e)}),i[t](s,...o)}function g2(e,t,n){const o=Ct(e);uo(o,"iterate",xh);const i=o[t](...n);return(i===-1||i===!1)&&Xm(n[0])?(n[0]=Ct(n[0]),o[t](...n)):i}function Ed(e,t,n=[]){Is(),n4();const o=Ct(e)[t].apply(e,n);return o4(),Fs(),o}const XB=zo("__proto__,__v_isRef,__isVue"),TP=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(yi));function JB(e){yi(e)||(e=String(e));const t=Ct(this);return uo(t,"has",e),t.hasOwnProperty(e)}class RP{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return s;if(n==="__v_raw")return o===(i?s?kP:DP:s?xP:LP).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const r=_e(t);if(!i){let l;if(r&&(l=qB[n]))return l;if(n==="hasOwnProperty")return JB}const a=Reflect.get(t,n,_t(t)?t:o);if((yi(n)?TP.has(n):XB(n))||(i||uo(t,"get",n),s))return a;if(_t(a)){const l=r&&Gm(n)?a:a.value;return i&&Et(l)?ao(l):l}return Et(a)?i?ao(a):Rn(a):a}}class PP extends RP{constructor(t=!1){super(!1,t)}set(t,n,o,i){let s=t[n];if(!this._isShallow){const l=Er(s);if(!Jo(o)&&!Er(o)&&(s=Ct(s),o=Ct(o)),!_e(t)&&_t(s)&&!_t(o))return l||(s.value=o),!0}const r=_e(t)&&Gm(n)?Number(n)<t.length:Ft(t,n),a=Reflect.set(t,n,o,_t(t)?t:i);return t===Ct(i)&&(r?co(o,s)&&rr(t,"set",n,o):rr(t,"add",n,o)),a}deleteProperty(t,n){const o=Ft(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&o&&rr(t,"delete",n,void 0),i}has(t,n){const o=Reflect.has(t,n);return(!yi(n)||!TP.has(n))&&uo(t,"has",n),o}ownKeys(t){return uo(t,"iterate",_e(t)?"length":Pl),Reflect.ownKeys(t)}}class MP extends RP{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const QB=new PP,eH=new MP,tH=new PP(!0),nH=new MP(!0),PC=e=>e,mf=e=>Reflect.getPrototypeOf(e);function oH(e,t,n){return function(...o){const i=this.__v_raw,s=Ct(i),r=El(s),a=e==="entries"||e===Symbol.iterator&&r,l=e==="keys"&&r,c=i[e](...o),u=n?PC:t?Tg:jn;return!t&&uo(s,"iterate",l?RC:Pl),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:a?[u(d[0]),u(d[1])]:u(d),done:h}},[Symbol.iterator](){return this}}}}function vf(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function iH(e,t){const n={get(i){const s=this.__v_raw,r=Ct(s),a=Ct(i);e||(co(i,a)&&uo(r,"get",i),uo(r,"get",a));const{has:l}=mf(r),c=t?PC:e?Tg:jn;if(l.call(r,i))return c(s.get(i));if(l.call(r,a))return c(s.get(a));s!==r&&s.get(i)},get size(){const i=this.__v_raw;return!e&&uo(Ct(i),"iterate",Pl),i.size},has(i){const s=this.__v_raw,r=Ct(s),a=Ct(i);return e||(co(i,a)&&uo(r,"has",i),uo(r,"has",a)),i===a?s.has(i):s.has(i)||s.has(a)},forEach(i,s){const r=this,a=r.__v_raw,l=Ct(a),c=t?PC:e?Tg:jn;return!e&&uo(l,"iterate",Pl),a.forEach((u,d)=>i.call(s,c(u),c(d),r))}};return en(n,e?{add:vf("add"),set:vf("set"),delete:vf("delete"),clear:vf("clear")}:{add(i){!t&&!Jo(i)&&!Er(i)&&(i=Ct(i));const s=Ct(this);return mf(s).has.call(s,i)||(s.add(i),rr(s,"add",i,i)),this},set(i,s){!t&&!Jo(s)&&!Er(s)&&(s=Ct(s));const r=Ct(this),{has:a,get:l}=mf(r);let c=a.call(r,i);c||(i=Ct(i),c=a.call(r,i));const u=l.call(r,i);return r.set(i,s),c?co(s,u)&&rr(r,"set",i,s):rr(r,"add",i,s),this},delete(i){const s=Ct(this),{has:r,get:a}=mf(s);let l=r.call(s,i);l||(i=Ct(i),l=r.call(s,i)),a&&a.call(s,i);const c=s.delete(i);return l&&rr(s,"delete",i,void 0),c},clear(){const i=Ct(this),s=i.size!==0,r=i.clear();return s&&rr(i,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=oH(i,e,t)}),n}function qm(e,t){const n=iH(e,t);return(o,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?o:Reflect.get(Ft(n,i)&&i in o?n:o,i,s)}const sH={get:qm(!1,!1)},rH={get:qm(!1,!0)},aH={get:qm(!0,!1)},lH={get:qm(!0,!0)},LP=new WeakMap,xP=new WeakMap,DP=new WeakMap,kP=new WeakMap;function cH(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function uH(e){return e.__v_skip||!Object.isExtensible(e)?0:cH(qd(e))}function Rn(e){return Er(e)?e:Ym(e,!1,QB,sH,LP)}function s4(e){return Ym(e,!1,tH,rH,xP)}function ao(e){return Ym(e,!0,eH,aH,DP)}function r4(e){return Ym(e,!0,nH,lH,kP)}function Ym(e,t,n,o,i){if(!Et(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=uH(e);if(s===0)return e;const r=i.get(e);if(r)return r;const a=new Proxy(e,s===2?o:n);return i.set(e,a),a}function Ls(e){return Er(e)?Ls(e.__v_raw):!!(e&&e.__v_isReactive)}function Er(e){return!!(e&&e.__v_isReadonly)}function Jo(e){return!!(e&&e.__v_isShallow)}function Xm(e){return e?!!e.__v_raw:!1}function Ct(e){const t=e&&e.__v_raw;return t?Ct(t):e}function Jm(e){return!Ft(e,"__v_skip")&&Object.isExtensible(e)&&J3(e,"__v_skip",!0),e}const jn=e=>Et(e)?Rn(e):e,Tg=e=>Et(e)?ao(e):e;function _t(e){return e?e.__v_isRef===!0:!1}function J(e){return AP(e,!1)}function pt(e){return AP(e,!0)}function AP(e,t){return _t(e)?e:new dH(e,t)}class dH{constructor(t,n){this.dep=new Zm,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ct(t),this._value=n?t:jn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||Jo(t)||Er(t);t=o?t:Ct(t),co(t,n)&&(this._rawValue=t,this._value=o?t:jn(t),this.dep.trigger())}}function Oc(e){e.dep&&e.dep.trigger()}function C(e){return _t(e)?e.value:e}function En(e){return qe(e)?e():C(e)}const hH={get:(e,t,n)=>t==="__v_raw"?e:C(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const i=e[t];return _t(i)&&!_t(n)?(i.value=n,!0):Reflect.set(e,t,n,o)}};function a4(e){return Ls(e)?e:new Proxy(e,hH)}class pH{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Zm,{get:o,set:i}=t(n.track.bind(n),n.trigger.bind(n));this._get=o,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function _P(e){return new pH(e)}function ts(e){const t=_e(e)?new Array(e.length):{};for(const n in e)t[n]=IP(e,n);return t}class fH{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return KB(Ct(this._object),this._key)}}class gH{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function rn(e,t,n){return _t(e)?e:qe(e)?new gH(e):Et(e)&&arguments.length>1?IP(e,t,n):J(e)}function IP(e,t,n){const o=e[t];return _t(o)?o:new fH(e,t,n)}class mH{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Zm(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Lh-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&cn!==this)return CP(this,!0),!0}get value(){const t=this.dep.track();return wP(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function vH(e,t,n=!1){let o,i;return qe(e)?o=e:(o=e.get,i=e.set),new mH(o,i,n)}const CH={GET:"get",HAS:"has",ITERATE:"iterate"},bH={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Cf={},Rg=new WeakMap;let ha;function yH(){return ha}function FP(e,t=!1,n=ha){if(n){let o=Rg.get(n);o||Rg.set(n,o=[]),o.push(e)}}function wH(e,t,n=xt){const{immediate:o,deep:i,once:s,scheduler:r,augmentJob:a,call:l}=n,c=w=>i?w:Jo(w)||i===!1||i===0?ar(w,1):ar(w);let u,d,h,p,f=!1,g=!1;if(_t(e)?(d=()=>e.value,f=Jo(e)):Ls(e)?(d=()=>c(e),f=!0):_e(e)?(g=!0,f=e.some(w=>Ls(w)||Jo(w)),d=()=>e.map(w=>{if(_t(w))return w.value;if(Ls(w))return c(w);if(qe(w))return l?l(w,2):w()})):qe(e)?t?d=l?()=>l(e,2):e:d=()=>{if(h){Is();try{h()}finally{Fs()}}const w=ha;ha=u;try{return l?l(e,3,[p]):e(p)}finally{ha=w}}:d=Ot,t&&i){const w=d,S=i===!0?1/0:i;d=()=>ar(w(),S)}const m=lc(),v=()=>{u.stop(),m&&m.active&&Wm(m.effects,u)};if(s&&t){const w=t;t=(...S)=>{w(...S),v()}}let y=g?new Array(e.length).fill(Cf):Cf;const b=w=>{if(!(!(u.flags&1)||!u.dirty&&!w))if(t){const S=u.run();if(i||f||(g?S.some((E,T)=>co(E,y[T])):co(S,y))){h&&h();const E=ha;ha=u;try{const T=[S,y===Cf?void 0:g&&y[0]===Cf?[]:y,p];y=S,l?l(t,3,T):t(...T)}finally{ha=E}}}else u.run()};return a&&a(b),u=new Mh(d),u.scheduler=r?()=>r(b,!1):b,p=w=>FP(w,!1,u),h=u.onStop=()=>{const w=Rg.get(u);if(w){if(l)l(w,4);else for(const S of w)S();Rg.delete(u)}},t?o?b(!0):y=u.run():r?r(b.bind(null,!0),!0):u.run(),v.pause=u.pause.bind(u),v.resume=u.resume.bind(u),v.stop=v,v}function ar(e,t=1/0,n){if(t<=0||!Et(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,_t(e))ar(e.value,t,n);else if(_e(e))for(let o=0;o<e.length;o++)ar(e[o],t,n);else if(Wa(e)||El(e))e.forEach(o=>{ar(o,t,n)});else if(Tp(e)){for(const o in e)ar(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&ar(e[o],t,n)}return e}/**
12* @vue/runtime-core v3.5.24
13* (c) 2018-present Yuxi (Evan) You and Vue contributors
14* @license MIT
vendor: 4,596 bytes, lines 15-18
15**/const Ml=[];function SH(e){Ml.push(e)}function EH(){Ml.pop()}let m2=!1;function sa(e,...t){if(m2)return;m2=!0,Is();const n=Ml.length?Ml[Ml.length-1].component:null,o=n&&n.appContext.config.warnHandler,i=TH();if(o)cc(o,n,11,[e+t.map(s=>{var r,a;return(a=(r=s.toString)==null?void 0:r.call(s))!=null?a:JSON.stringify(s)}).join(""),n&&n.proxy,i.map(({vnode:s})=>`at <${FM(n,s.type)}>`).join(`
16`),i]);else{const s=[`[Vue warn]: ${e}`,...t];i.length&&s.push(`
17`,...RH(i)),console.warn(...s)}Fs(),m2=!1}function TH(){let e=Ml[Ml.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function RH(e){const t=[];return e.forEach((n,o)=>{t.push(...o===0?[]:[`
18`],...PH(n))}),t}function PH({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,i=` at <${FM(e.component,e.type,o)}`,s=">"+n;return e.props?[i,...MH(e.props),s]:[i+s]}function MH(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...OP(o,e[o]))}),n.length>3&&t.push(" ..."),t}function OP(e,t,n){return lt(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:_t(t)?(t=OP(e,Ct(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):qe(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Ct(t),n?t:[`${e}=`,t])}function LH(e,t){}const xH={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},DH={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function cc(e,t,n,o){try{return o?e(...o):e()}catch(i){uc(i,t,n)}}function wi(e,t,n,o){if(qe(e)){const i=cc(e,t,n,o);return i&&wu(i)&&i.catch(s=>{uc(s,t,n)}),i}if(_e(e)){const i=[];for(let s=0;s<e.length;s++)i.push(wi(e[s],t,n,o));return i}}function uc(e,t,n,o=!0){const i=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:r}=t&&t.appContext.config||xt;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,l,c)===!1)return}a=a.parent}if(s){Is(),cc(s,null,10,[e,l,c]),Fs();return}}kH(e,n,i,o,r)}function kH(e,t,n,o=!0,i=!1){if(i)throw e;console.error(e)}const Eo=[];let bs=-1;const iu=[];let pa=null,Nc=0;const NP=Promise.resolve();let Pg=null;function ot(e){const t=Pg||NP;return e?t.then(this?e.bind(this):e):t}function AH(e){let t=bs+1,n=Eo.length;for(;t<n;){const o=t+n>>>1,i=Eo[o],s=kh(i);s<e||s===e&&i.flags&2?t=o+1:n=o}return t}function l4(e){if(!(e.flags&1)){const t=kh(e),n=Eo[Eo.length-1];!n||!(e.flags&2)&&t>=kh(n)?Eo.push(e):Eo.splice(AH(t),0,e),e.flags|=1,BP()}}function BP(){Pg||(Pg=NP.then(HP))}function Dh(e){_e(e)?iu.push(...e):pa&&e.id===-1?pa.splice(Nc+1,0,e):e.flags&1||(iu.push(e),e.flags|=1),BP()}function Aw(e,t,n=bs+1){for(;n<Eo.length;n++){const o=Eo[n];if(o&&o.flags&2){if(e&&o.id!==e.uid)continue;Eo.splice(n,1),n--,o.flags&4&&(o.flags&=-2),o(),o.flags&4||(o.flags&=-2)}}}function Mg(e){if(iu.length){const t=[...new Set(iu)].sort((n,o)=>kh(n)-kh(o));if(iu.length=0,pa){pa.push(...t);return}for(pa=t,Nc=0;Nc<pa.length;Nc++){const n=pa[Nc];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}pa=null,Nc=0}}const kh=e=>e.id==null?e.flags&2?-1:1/0:e.id;function HP(e){try{for(bs=0;bs<Eo.length;bs++){const t=Eo[bs];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),cc(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;bs<Eo.length;bs++){const t=Eo[bs];t&&(t.flags&=-2)}
vendor: 8,521 bytes, line 18
18bs=-1,Eo.length=0,Mg(),Pg=null,(Eo.length||iu.length)&&HP()}}let Bc,bf=[];function VP(e,t){var n,o;Bc=e,Bc?(Bc.enabled=!0,bf.forEach(({event:i,args:s})=>Bc.emit(i,...s)),bf=[]):typeof window<"u"&&window.HTMLElement&&!((o=(n=window.navigator)==null?void 0:n.userAgent)!=null&&o.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{VP(s,t)}),setTimeout(()=>{Bc||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,bf=[])},3e3)):bf=[]}let Kn=null,Qm=null;function Ah(e){const t=Kn;return Kn=e,Qm=e&&e.type.__scopeId||null,t}function _H(e){Qm=e}function IH(){Qm=null}const FH=e=>se;function se(e,t=Kn,n){if(!t||e._n)return e;const o=(...i)=>{o._d&&Fh(-1);const s=Ah(t);let r;try{r=e(...i)}finally{Ah(s),o._d&&Fh(1)}return r};return o._n=!0,o._c=!0,o._d=!0,o}function Pt(e,t){if(Kn===null)return e;const n=_p(Kn),o=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[s,r,a,l=xt]=t[i];s&&(qe(s)&&(s={mounted:s,updated:s}),s.deep&&ar(r),o.push({dir:s,instance:n,value:r,oldValue:void 0,arg:a,modifiers:l}))}return e}function ys(e,t,n,o){const i=e.dirs,s=t&&t.dirs;for(let r=0;r<i.length;r++){const a=i[r];s&&(a.oldValue=s[r].value);let l=a.dir[o];l&&(Is(),wi(l,n,8,[e.el,a,e,t]),Fs())}}const $P=Symbol("_vte"),WP=e=>e.__isTeleport,Jd=e=>e&&(e.disabled||e.disabled===""),_w=e=>e&&(e.defer||e.defer===""),Iw=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Fw=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,MC=(e,t)=>{const n=e&&e.to;return lt(n)?t?t(n):null:n},GP={name:"Teleport",__isTeleport:!0,process(e,t,n,o,i,s,r,a,l,c){const{mc:u,pc:d,pbc:h,o:{insert:p,querySelector:f,createText:g,createComment:m}}=c,v=Jd(t.props);let{shapeFlag:y,children:b,dynamicChildren:w}=t;if(e==null){const S=t.el=g(""),E=t.anchor=g("");p(S,n,o),p(E,n,o);const T=(A,k)=>{y&16&&u(b,A,k,i,s,r,a,l)},R=()=>{const A=t.target=MC(t.props,f),k=zP(A,t,g,p);A&&(r!=="svg"&&Iw(A)?r="svg":r!=="mathml"&&Fw(A)&&(r="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(A),v||(T(A,k),d1(t,!1)))};v&&(T(n,E),d1(t,!0)),_w(t.props)?(t.el.__isMounted=!1,Hn(()=>{R(),delete t.el.__isMounted},s)):R()}else{if(_w(t.props)&&e.el.__isMounted===!1){Hn(()=>{GP.process(e,t,n,o,i,s,r,a,l,c)},s);return}t.el=e.el,t.targetStart=e.targetStart;const S=t.anchor=e.anchor,E=t.target=e.target,T=t.targetAnchor=e.targetAnchor,R=Jd(e.props),A=R?n:E,k=R?S:T;if(r==="svg"||Iw(E)?r="svg":(r==="mathml"||Fw(E))&&(r="mathml"),w?(h(e.dynamicChildren,w,A,i,s,r,a),S4(e,t,!0)):l||d(e,t,A,k,i,s,r,a,!1),v)R?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):yf(t,n,S,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const D=t.target=MC(t.props,f);D&&yf(t,D,null,c,0)}else R&&yf(t,E,T,c,1);d1(t,v)}},remove(e,t,n,{um:o,o:{remove:i}},s){const{shapeFlag:r,children:a,anchor:l,targetStart:c,targetAnchor:u,target:d,props:h}=e;if(d&&(i(c),i(u)),s&&i(l),r&16){const p=s||!Jd(h);for(let f=0;f<a.length;f++){const g=a[f];o(g,t,n,p,!!g.dynamicChildren)}}},move:yf,hydrate:OH};function yf(e,t,n,{o:{insert:o},m:i},s=2){s===0&&o(e.targetAnchor,t,n);const{el:r,anchor:a,shapeFlag:l,children:c,props:u}=e,d=s===2;if(d&&o(r,t,n),(!d||Jd(u))&&l&16)for(let h=0;h<c.length;h++)i(c[h],t,n,2);d&&o(a,t,n)}function OH(e,t,n,o,i,s,{o:{nextSibling:r,parentNode:a,querySelector:l,insert:c,createText:u}},d){function h(g,m,v,y){m.anchor=d(r(g),m,a(g),n,o,i,s),m.targetStart=v,m.targetAnchor=y}const p=t.target=MC(t.props,l),f=Jd(t.props);if(p){const g=p._lpa||p.firstChild;if(t.shapeFlag&16)if(f)h(e,t,g,g&&r(g));else{t.anchor=r(e);let m=g;for(;m;){if(m&&m.nodeType===8){if(m.data==="teleport start anchor")t.targetStart=m;else if(m.data==="teleport anchor"){t.targetAnchor=m,p._lpa=t.targetAnchor&&r(t.targetAnchor);break}}m=r(m)}t.targetAnchor||zP(p,t,u,c),d(g&&r(g),t,p,n,o,i,s)}d1(t,f)}else f&&t.shapeFlag&16&&h(e,t,e,r(e));return t.anchor&&r(t.anchor)}const xp=GP;function d1(e,t){const n=e.ctx;if(n&&n.ut){let o,i;for(t?(o=e.el,i=e.anchor):(o=e.targetStart,i=e.targetAnchor);o&&o!==i;)o.nodeType===1&&o.setAttribute("data-v-owner",n.uid),o=o.nextSibling;n.ut()}}function zP(e,t,n,o){const i=t.targetStart=n(""),s=t.targetAnchor=n("");return i[$P]=s,e&&(o(i,e),o(s,e)),s}const or=Symbol("_leaveCb"),wf=Symbol("_enterCb");function c4(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Dt(()=>{e.isMounted=!0}),Mn(()=>{e.isUnmounting=!0}),e}const ii=[Function,Array],u4={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ii,onEnter:ii,onAfterEnter:ii,onEnterCancelled:ii,onBeforeLeave:ii,onLeave:ii,onAfterLeave:ii,onLeaveCancelled:ii,onBeforeAppear:ii,onAppear:ii,onAfterAppear:ii,onAppearCancelled:ii},UP=e=>{const t=e.subTree;return t.component?UP(t.component):t},NH={name:"BaseTransition",props:u4,setup(e,{slots:t}){const n=vt(),o=c4();return()=>{const i=t.default&&e0(t.default(),!0);if(!i||!i.length)return;const s=jP(i),r=Ct(e),{mode:a}=r;if(o.isLeaving)return v2(s);const l=Ow(s);if(!l)return v2(s);let c=Su(l,r,o,n,d=>c=d);l.type!==Sn&&Tr(l,c);let u=n.subTree&&Ow(n.subTree);if(u&&u.type!==Sn&&!zi(u,l)&&UP(n).type!==Sn){let d=Su(u,r,o,n);if(Tr(u,d),a==="out-in"&&l.type!==Sn)return o.isLeaving=!0,d.afterLeave=()=>{o.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,u=void 0},v2(s);a==="in-out"&&l.type!==Sn?d.delayLeave=(h,p,f)=>{const g=KP(o,u);g[String(u.key)]=u,h[or]=()=>{p(),h[or]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{f(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return s}}};function jP(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Sn){t=n;break}}return t}const ZP=NH;function KP(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Su(e,t,n,o,i){const{appear:s,mode:r,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:h,onLeave:p,onAfterLeave:f,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,w=String(e.key),S=KP(n,e),E=(A,k)=>{A&&wi(A,o,9,k)},T=(A,k)=>{const D=k[1];E(A,k),_e(A)?A.every(V=>V.length<=1)&&D():A.length<=1&&D()},R={mode:r,persisted:a,beforeEnter(A){let k=l;if(!n.isMounted)if(s)k=m||l;else return;A[or]&&A[or](!0);const D=S[w];D&&zi(e,D)&&D.el[or]&&D.el[or](),E(k,[A])},enter(A){let k=c,D=u,V=d;if(!n.isMounted)if(s)k=v||c,D=y||u,V=b||d;else return;let O=!1;const F=A[wf]=_=>{O||(O=!0,_?E(V,[A]):E(D,[A]),R.delayedLeave&&R.delayedLeave(),A[wf]=void 0)};k?T(k,[A,F]):F()},leave(A,k){const D=String(e.key);if(A[wf]&&A[wf](!0),n.isUnmounting)return k();E(h,[A]);let V=!1;const O=A[or]=F=>{V||(V=!0,k(),F?E(g,[A]):E(f,[A]),A[or]=void 0,S[D]===e&&delete S[D])};S[D]=e,p?T(p,[A,O]):O()},clone(A){const k=Su(A,t,n,o,i);return i&&i(k),k}};return R}function v2(e){if(Dp(e))return e=ns(e),e.children=null,e}function Ow(e){if(!Dp(e))return WP(e.type)&&e.children?jP(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&qe(n.default))return n.default()}}function Tr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Tr(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function e0(e,t=!1,n){let o=[],i=0;for(let s=0;s<e.length;s++){let r=e[s];const a=n==null?r.key:String(n)+String(r.key!=null?r.key:s);r.type===Ze?(r.patchFlag&128&&i++,o=o.concat(e0(r.children,t,a))):(t||r.type!==Sn)&&o.push(a!=null?ns(r,{key:a}):r)}if(i>1)for(let s=0;s<o.length;s++)o[s].patchFlag=-2;return o}function ge(e,t){return qe(e)?en({name:e.name},t,{setup:e}):e}function BH(){const e=vt();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function d4(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function HH(e){const t=vt(),n=pt(null);if(t){const i=t.refs===xt?t.refs={}:t.refs;Object.defineProperty(i,e,{enumerable:!0,get:()=>n.value,set:s=>n.value=s})}return n}const Lg=new WeakMap;function su(e,t,n,o,i=!1){if(_e(e)){e.forEach((f,g)=>su(f,t&&(_e(t)?t[g]:t),n,o,i));return}if(Ra(o)&&!i){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&su(e,t,n,o.component.subTree);return}const s=o.shapeFlag&4?_p(o.component):o.el,r=i?null:s,{i:a,r:l}=e,c=t&&t.r,u=a.refs===xt?a.refs={}:a.refs,d=a.setupState,h=Ct(d),p=d===xt?Y3:f=>Ft(h,f);if(c!=null&&c!==l){if(Nw(t),lt(c))u[c]=null,p(c)&&(d[c]=null);else if(_t(c)){c.value=null;const f=t;f.k&&(u[f.k]=null)}}if(qe(l))cc(l,a,12,[r,u]);else{const f=lt(l),g=_t(l);if(f||g){const m=()=>{if(e.f){const v=f?p(l)?d[l]:u[l]:l.value;
18if(i)_e(v)&&Wm(v,s);else if(_e(v))v.includes(s)||v.push(s);else if(f)u[l]=[s],p(l)&&(d[l]=u[l]);else{const y=[s];l.value=y,e.k&&(u[e.k]=y)}}else f?(u[l]=r,p(l)&&(d[l]=r)):g&&(l.value=r,e.k&&(u[e.k]=r))};if(r){const v=()=>{m(),Lg.delete(e)};v.id=-1,Lg.set(e,v),Hn(v,n)}else Nw(e),m()}}}function Nw(e){const t=Lg.get(e);t&&(t.flags|=8,Lg.delete(e))}let Bw=!1;const rl=()=>{Bw||(console.error("Hydration completed but contains mismatches."),Bw=!0)},VH=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",$H=e=>e.namespaceURI.includes("MathML"),Sf=e=>{if(e.nodeType===1){if(VH(e))return"svg";if($H(e))return"mathml"}},pl=e=>e.nodeType===8;function WH(e){const{mt:t,p:n,o:{patchProp:o,createText:i,nextSibling:s,parentNode:r,remove:a,insert:l,createComment:c}}=e,u=(b,w)=>{if(!w.hasChildNodes()){sa("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,b,w),Mg(),w._vnode=b;return}d(w.firstChild,b,null,null,null),Mg(),w._vnode=b},d=(b,w,S,E,T,R=!1)=>{R=R||!!w.dynamicChildren;const A=pl(b)&&b.data==="[",k=()=>g(b,w,S,E,T,A),{type:D,ref:V,shapeFlag:O,patchFlag:F}=w;let _=b.nodeType;w.el=b,F===-2&&(R=!1,w.dynamicChildren=null);let P=null;switch(D){case Yi:_!==3?w.children===""?(l(w.el=i(""),r(b),b),P=b):P=k():(b.data!==w.children&&(sa("Hydration text mismatch in",b.parentNode,`
19  - rendered on server: ${JSON.stringify(b.data)}
20  - expected on client: ${JSON.stringify(w.children)}`),rl(),b.data=w.children),P=s(b));break;case Sn:y(b)?(P=s(b),v(w.el=b.content.firstChild,b,S)):_!==8||A?P=k():P=s(b);break;case xl:if(A&&(b=s(b),_=b.nodeType),_===1||_===3){P=b;const L=!w.children.length;for(let x=0;x<w.staticCount;x++)L&&(w.children+=P.nodeType===1?P.outerHTML:P.data),x===w.staticCount-1&&(w.anchor=P),P=s(P);return A?s(P):P}else k();break;case Ze:A?P=f(b,w,S,E,T,R):P=k();break;default:if(O&1)(_!==1||w.type.toLowerCase()!==b.tagName.toLowerCase())&&!y(b)?P=k():P=h(b,w,S,E,T,R);else if(O&6){w.slotScopeIds=T;const L=r(b);if(A?P=m(b):pl(b)&&b.data==="teleport start"?P=m(b,b.data,"teleport end"):P=s(b),t(w,L,null,S,E,Sf(L),R),Ra(w)&&!w.type.__asyncResolved){let x;A?(x=oe(Ze),x.anchor=P?P.previousSibling:L.lastChild):x=b.nodeType===3?mt(""):oe("div"),x.el=b,w.component.subTree=x}}else O&64?_!==8?P=k():P=w.type.hydrate(b,w,S,E,T,R,e,p):O&128?P=w.type.hydrate(b,w,S,E,Sf(r(b)),T,R,e,d):sa("Invalid HostVNode type:",D,`(${typeof D})`)}return V!=null&&su(V,null,E,w),P},h=(b,w,S,E,T,R)=>{R=R||!!w.dynamicChildren;const{type:A,props:k,patchFlag:D,shapeFlag:V,dirs:O,transition:F}=w,_=A==="input"||A==="option";if(_||D!==-1){O&&ys(w,null,S,"created");let P=!1;if(y(b)){P=vM(null,F)&&S&&S.vnode.props&&S.vnode.props.appear;const x=b.content.firstChild;if(P){const I=x.getAttribute("class");I&&(x.$cls=I),F.beforeEnter(x)}v(x,b,S),w.el=b=x}if(V&16&&!(k&&(k.innerHTML||k.textContent))){let x=p(b.firstChild,w,b,S,E,T,R),I=!1;for(;x;){Wd(b,1)||(I||(sa("Hydration children mismatch on",b,`
21Server rendered element contains more child nodes than client vdom.`),I=!0),rl());const B=x;x=x.nextSibling,a(B)}}else if(V&8){let x=w.children;x[0]===`
22`&&(b.tagName==="PRE"||b.tagName==="TEXTAREA")&&(x=x.slice(1));const{textContent:I}=b;I!==x&&I!==x.replace(/\r\n|\r/g,`
23`)&&(Wd(b,0)||(sa("Hydration text content mismatch on",b,`
24  - rendered on server: ${I}
25  - expected on client: ${x}`),rl()),b.textContent=w.children)}if(k){const x=b.tagName.includes("-");for(const I in k)!(O&&O.some(B=>B.dir.created))&&GH(b,I,k[I],w,S)&&rl(),(_&&(I.endsWith("value")||I==="indeterminate")||ed(I)&&!Tl(I)||I[0]==="."||x)&&o(b,I,null,k[I],void 0,S)}let L;(L=k&&k.onVnodeBeforeMount)&&Ao(L,S,w),O&&ys(w,null,S,"beforeMount"),((L=k&&k.onVnodeMounted)||O||P)&&PM(()=>{L&&Ao(L,S,w),P&&F.enter(b),O&&ys(w,null,S,"mounted")},E)}return b.nextSibling},p=(b,w,S,E,T,R,A)=>{A=A||!!w.dynamicChildren;const k=w.children,D=k.length;let V=!1;for(let O=0;O<D;O++){const F=A?k[O]:k[O]=_o(k[O]),_=F.type===Yi;b?(_&&!A&&O+1<D&&_o(k[O+1]).type===Yi&&(l(i(b.data.slice(F.children.length)),S,s(b)),b.data=F.children),b=d(b,F,E,T,R,A)):_&&!F.children?l(F.el=i(""),S):(Wd(S,1)||(V||(sa("Hydration children mismatch on",S,`
26Server rendered element contains fewer child nodes than client vdom.`),V=!0),rl()),n(null,F,S,null,E,T,Sf(S),R))}return b},f=(b,w,S,E,T,R)=>{const{slotScopeIds:A}=w;A&&(T=T?T.concat(A):A);const k=r(b),D=p(s(b),w,k,S,E,T,R);return D&&pl(D)&&D.data==="]"?s(w.anchor=D):(rl(),l(w.anchor=c("]"),k,D),D)},g=(b,w,S,E,T,R)=>{if(Wd(b.parentElement,1)||(sa(`Hydration node mismatch:
27- rendered on server:`,b,b.nodeType===3?"(text)":pl(b)&&b.data==="["?"(start of fragment)":"",`
28- expected on client:`,w.type),rl()),w.el=null,R){const D=m(b);for(;;){const V=s(b);if(V&&V!==D)a(V);else break}}const A=s(b),k=r(b);return a(b),n(null,w,k,A,S,E,Sf(k),T),S&&(S.vnode.el=w.el,r0(S,w.el)),A},m=(b,w="[",S="]")=>{let E=0;for(;b;)if(b=s(b),b&&pl(b)&&(b.data===w&&E++,b.data===S)){if(E===0)return s(b);E--}return b},v=(b,w,S)=>{const E=w.parentNode;E&&E.replaceChild(b,w);let T=S;for(;T;)T.vnode.el===w&&(T.vnode.el=T.subTree.el=b),T=T.parent},y=b=>b.nodeType===1&&b.tagName==="TEMPLATE";return[u,d]}function GH(e,t,n,o,i){let s,r,a,l;if(t==="class")e.$cls?(a=e.$cls,delete e.$cls):a=e.getAttribute("class"),l=U(n),zH(Hw(a||""),Hw(l))||(s=2,r="class");else if(t==="style"){a=e.getAttribute("style")||"",l=lt(n)?n:aP(ft(n));const c=Vw(a),u=Vw(l);if(o.dirs)for(const{dir:d,value:h}of o.dirs)d.name==="show"&&!h&&u.set("display","none");i&&qP(i,o,u),UH(c,u)||(s=3,r="style")}else(e instanceof SVGElement&&dP(t)||e instanceof HTMLElement&&(EC(t)||uP(t)))&&(EC(t)?(a=e.hasAttribute(t),l=Um(n)):n==null?(a=e.hasAttribute(t),l=!1):(e.hasAttribute(t)?a=e.getAttribute(t):t==="value"&&e.tagName==="TEXTAREA"?a=e.value:a=!1,l=hP(n)?String(n):!1),a!==l&&(s=4,r=t));if(s!=null&&!Wd(e,s)){const c=h=>h===!1?"(not rendered)":`${r}="${h}"`,u=`Hydration ${YP[s]} mismatch on`,d=`
29  - rendered on server: ${c(a)}
30  - expected on client: ${c(l)}
31  Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.
32  You should fix the source of the mismatch.`;return sa(u,e,d),!0}return!1}function Hw(e){return new Set(e.trim().split(/\s+/))}function zH(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}function Vw(e){const t=new Map;for(const n of e.split(";")){let[o,i]=n.split(":");o=o.trim(),i=i&&i.trim(),o&&i&&t.set(o,i)}return t}function UH(e,t){if(e.size!==t.size)return!1;for(const[n,o]of e)if(o!==t.get(n))return!1;return!0}function qP(e,t,n){const o=e.subTree;if(e.getCssVars&&(t===o||o&&o.type===Ze&&o.children.includes(t))){const i=e.getCssVars();for(const s in i){const r=e4(i[s]);n.set(`--${fP(s,!1)}`,r)}}t===o&&e.parent&&qP(e.parent,e.vnode,n)}const $w="data-allow-mismatch",YP={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Wd(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute($w);)e=e.parentElement;const n=e&&e.getAttribute($w);if(n==null)return!1;if(n==="")return!0;{const o=n.split(",");return t===0&&o.includes("children")?!0:o.includes(YP[t])}}const jH=Pp().requestIdleCallback||(e=>setTimeout(e,1)),ZH=Pp().cancelIdleCallback||(e=>clearTimeout(e)),KH=(e=1e4)=>t=>{const n=jH(t,{timeout:e});return()=>ZH(n)};function qH(e){const{top:t,left:n,bottom:o,right:i}=e.getBoundingClientRect(),{innerHeight:s,innerWidth:r}=window;return(t>0&&t<s||o>0&&o<s)&&(n>0&&n<r||i>0&&i<r)}const YH=e=>(t,n)=>{const o=new IntersectionObserver(i=>{for(const s of i)if(s.isIntersecting){o.disconnect(),t();break}},e);return n(i=>{if(i instanceof Element){if(qH(i))return t(),o.disconnect(),!1;o.observe(i)}}),()=>o.disconnect()},XH=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},JH=(e=[])=>(t,n)=>{lt(e)&&(e=[e]);let o=!1;const i=r=>{o||(o=!0,s(),t(),r.target.dispatchEvent(new r.constructor(r.type,r)))},s=()=>{n(r=>{for(const a of e)r.removeEventListener(a,i)})};return n(r=>{for(const a of e)r.addEventListener(a,i,{once:!0})}),s};function QH(e,t){if(pl(e)&&e.data==="["){let n=1,o=e.nextSibling;for(;o;){if(o.nodeType===1){if(t(o)===!1)break}else if(pl(o))if(o.data==="]"){if(--n===0)break}else o.data==="["&&n++;o=o.nextSibling}}else t(e)}const Ra=e=>!!e.type.__asyncLoader;function ra(e){qe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:i=200,hydrate:s,timeout:r,suspensible:a=!0,onError:l}=e;let c=null,u,d=0;const h=()=>(d++,c=null,p()),p=()=>{let f;return c||(f=c=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),l)return new Promise((m,v)=>{l(g,()=>m(h()),()=>v(g),d+1)});throw g}).then(g=>
vendor: 42,627 bytes, line 32
32f!==c&&c?c:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),u=g,g)))};return ge({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(f,g,m){let v=!1;(g.bu||(g.bu=[])).push(()=>v=!0);const y=()=>{v||m()},b=s?()=>{const w=s(y,S=>QH(f,S));w&&(g.bum||(g.bum=[])).push(w)}:y;u?b():p().then(()=>!g.isUnmounted&&b())},get __asyncResolved(){return u},setup(){const f=Zn;if(d4(f),u)return()=>Ef(u,f);const g=b=>{c=null,uc(b,f,13,!o)};if(a&&f.suspense||Tu)return p().then(b=>()=>Ef(b,f)).catch(b=>(g(b),()=>o?oe(o,{error:b}):null));const m=J(!1),v=J(),y=J(!!i);return i&&setTimeout(()=>{y.value=!1},i),r!=null&&setTimeout(()=>{if(!m.value&&!v.value){const b=new Error(`Async component timed out after ${r}ms.`);g(b),v.value=b}},r),p().then(()=>{m.value=!0,f.parent&&Dp(f.parent.vnode)&&f.parent.update()}).catch(b=>{g(b),v.value=b}),()=>{if(m.value&&u)return Ef(u,f);if(v.value&&o)return oe(o,{error:v.value});if(n&&!y.value)return Ef(n,f)}}})}function Ef(e,t){const{ref:n,props:o,children:i,ce:s}=t.vnode,r=oe(e,o,i);return r.ref=n,r.ce=s,delete t.vnode.ce,r}const Dp=e=>e.type.__isKeepAlive,eV={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=vt(),o=n.ctx;if(!o.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const i=new Map,s=new Set;let r=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,h=d("div");o.activate=(y,b,w,S,E)=>{const T=y.component;c(y,b,w,0,a),l(T.vnode,y,b,w,T,a,S,y.slotScopeIds,E),Hn(()=>{T.isDeactivated=!1,T.a&&Rl(T.a);const R=y.props&&y.props.onVnodeMounted;R&&Ao(R,T.parent,y)},a)},o.deactivate=y=>{const b=y.component;Dg(b.m),Dg(b.a),c(y,h,null,1,a),Hn(()=>{b.da&&Rl(b.da);const w=y.props&&y.props.onVnodeUnmounted;w&&Ao(w,b.parent,y),b.isDeactivated=!0},a)};function p(y){C2(y),u(y,n,a,!0)}function f(y){i.forEach((b,w)=>{const S=Ig(b.type);S&&!y(S)&&g(w)})}function g(y){const b=i.get(y);b&&(!r||!zi(b,r))?p(b):r&&C2(r),i.delete(y),s.delete(y)}Le(()=>[e.include,e.exclude],([y,b])=>{y&&f(w=>Gd(y,w)),b&&f(w=>!Gd(b,w))},{flush:"post",deep:!0});let m=null;const v=()=>{m!=null&&(kg(n.subTree.type)?Hn(()=>{i.set(m,Tf(n.subTree))},n.subTree.suspense):i.set(m,Tf(n.subTree)))};return Dt(v),dc(v),Mn(()=>{i.forEach(y=>{const{subTree:b,suspense:w}=n,S=Tf(b);if(y.type===S.type&&y.key===S.key){C2(S);const E=S.component.da;E&&Hn(E,w);return}p(y)})}),()=>{if(m=null,!t.default)return r=null;const y=t.default(),b=y[0];if(y.length>1)return r=null,y;if(!Ei(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return r=null,b;let w=Tf(b);if(w.type===Sn)return r=null,w;const S=w.type,E=Ig(Ra(w)?w.type.__asyncResolved||{}:S),{include:T,exclude:R,max:A}=e;if(T&&(!E||!Gd(T,E))||R&&E&&Gd(R,E))return w.shapeFlag&=-257,r=w,b;const k=w.key==null?S:w.key,D=i.get(k);return w.el&&(w=ns(w),b.shapeFlag&128&&(b.ssContent=w)),m=k,D?(w.el=D.el,w.component=D.component,w.transition&&Tr(w,w.transition),w.shapeFlag|=512,s.delete(k),s.add(k)):(s.add(k),A&&s.size>parseInt(A,10)&&g(s.values().next().value)),w.shapeFlag|=256,r=w,kg(b.type)?b:w}}},tV=eV;function Gd(e,t){return _e(e)?e.some(n=>Gd(n,t)):lt(e)?e.split(",").includes(t):sP(e)?(e.lastIndex=0,e.test(t)):!1}function h4(e,t){XP(e,"a",t)}function t0(e,t){XP(e,"da",t)}function XP(e,t,n=Zn){const o=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(n0(t,o,n),n){let i=n.parent;for(;i&&i.parent;)Dp(i.parent.vnode)&&nV(o,t,n,i),i=i.parent}}function nV(e,t,n,o){const i=n0(t,e,o,!0);Or(()=>{Wm(o[t],i)},n)}function C2(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Tf(e){return e.shapeFlag&128?e.ssContent:e}function n0(e,t,n=Zn,o=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...r)=>{Is();const a=jl(n),l=wi(t,n,e,r);return a(),Fs(),l});return o?i.unshift(s):i.push(s),s}}const Fr=e=>(t,n=Zn)=>{(!Tu||e==="sp")&&n0(e,(...o)=>t(...o),n)},td=Fr("bm"),Dt=Fr("m"),p4=Fr("bu"),dc=Fr("u"),Mn=Fr("bum"),Or=Fr("um"),JP=Fr("sp"),QP=Fr("rtg"),eM=Fr("rtc");function f4(e,t=Zn){n0("ec",e,t)}const g4="components",oV="directives";function Ke(e,t){return v4(g4,e,!0,t)||e}const tM=Symbol.for("v-ndc");function vn(e){return lt(e)?v4(g4,e,!1)||e:e||tM}function m4(e){return v4(oV,e)}function v4(e,t,n=!0,o=!1){const i=Kn||Zn;if(i){const s=i.type;if(e===g4){const a=Ig(s,!1);if(a&&(a===t||a===$n(t)||a===ac($n(t))))return s}const r=Ww(i[e]||s[e],t)||Ww(i.appContext[e],t);return!r&&o?s:r}}function Ww(e,t){return e&&(e[t]||e[$n(t)]||e[ac($n(t))])}function Tt(e,t,n,o){let i;const s=n&&n[o],r=_e(e);if(r||lt(e)){const a=r&&Ls(e);let l=!1,c=!1;a&&(l=!Jo(e),c=Er(e),e=Km(e)),i=new Array(e.length);for(let u=0,d=e.length;u<d;u++)i[u]=t(l?c?Tg(jn(e[u])):jn(e[u]):e[u],u,void 0,s&&s[u])}else if(typeof e=="number"){i=new Array(e);for(let a=0;a<e;a++)i[a]=t(a+1,a,void 0,s&&s[a])}else if(Et(e))if(e[Symbol.iterator])i=Array.from(e,(a,l)=>t(a,l,void 0,s&&s[l]));else{const a=Object.keys(e);i=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];i[l]=t(e[u],u,l,s&&s[l])}}else i=[];return n&&(n[o]=i),i}function Si(e,t){for(let n=0;n<t.length;n++){const o=t[n];if(_e(o))for(let i=0;i<o.length;i++)e[o[i].name]=o[i].fn;else o&&(e[o.name]=o.key?(...i)=>{const s=o.fn(...i);return s&&(s.key=o.key),s}:o.fn)}return e}function ke(e,t,n={},o,i){if(Kn.ce||Kn.parent&&Ra(Kn.parent)&&Kn.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),N(),ve(Ze,null,[oe("slot",n,o&&o())],c?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),N();const r=s&&C4(s(n)),a=n.key||r&&r.key,l=ve(Ze,{key:(a&&!yi(a)?a:`_${t}`)+(!r&&o?"_fb":"")},r||(o?o():[]),r&&e._===1?64:-2);return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function C4(e){return e.some(t=>Ei(t)?!(t.type===Sn||t.type===Ze&&!C4(t.children)):!0)?e:null}function nM(e,t){const n={};for(const o in e)n[t&&/[A-Z]/.test(o)?`on:${o}`:ou(o)]=e[o];return n}const LC=e=>e?kM(e)?_p(e):LC(e.parent):null,Qd=en(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>LC(e.parent),$root:e=>LC(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>b4(e),$forceUpdate:e=>e.f||(e.f=()=>{l4(e.update)}),$nextTick:e=>e.n||(e.n=ot.bind(e.proxy)),$watch:e=>DV.bind(e)}),b2=(e,t)=>e!==xt&&!e.__isScriptSetup&&Ft(e,t),xC={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:i,props:s,accessCache:r,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const p=r[t];if(p!==void 0)switch(p){case 1:return o[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(b2(o,t))return r[t]=1,o[t];if(i!==xt&&Ft(i,t))return r[t]=2,i[t];if((c=e.propsOptions[0])&&Ft(c,t))return r[t]=3,s[t];if(n!==xt&&Ft(n,t))return r[t]=4,n[t];DC&&(r[t]=0)}}const u=Qd[t];let d,h;if(u)return t==="$attrs"&&uo(e.attrs,"get",""),u(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==xt&&Ft(n,t))return r[t]=4,n[t];if(h=l.config.globalProperties,Ft(h,t))return h[t]},set({_:e},t,n){const{data:o,setupState:i,ctx:s}=e;return b2(i,t)?(i[t]=n,!0):o!==xt&&Ft(o,t)?(o[t]=n,!0):Ft(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:i,propsOptions:s,type:r}},a){let l,c;return!!(n[a]||e!==xt&&a[0]!=="$"&&Ft(e,a)||b2(t,a)||(l=s[0])&&Ft(l,a)||Ft(o,a)||Ft(Qd,a)||Ft(i.config.globalProperties,a)||(c=r.__cssModules)&&c[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ft(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},iV=en({},xC,{get(e,t){if(t!==Symbol.unscopables)return xC.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Q3(t)}});function sV(){return null}function rV(){return null}function aV(e){}function lV(e){}function cV(){return null}function uV(){}function dV(e,t){return null}function Nr(){return oM().slots}function kp(){return oM().attrs}function oM(e){const t=vt();return t.setupContext||(t.setupContext=IM(t))}function _h(e){return _e(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function hV(e,t){const n=_h(e);for(const o in t){if(o.startsWith("__skip"))continue;let i=n[o];i?_e(i)||qe(i)?i=n[o]={type:i,default:t[o]}:i.default=t[o]:i===null&&(i=n[o]={default:t[o]}),i&&t[`__skip_${o}`]&&(i.skipFactory=!0)}return n}function Eu(e,t){return!e||!t?e||t:_e(e)&&_e(t)?e.concat(t):en({},_h(e),_h(t))}function pV(e,t){const n={};for(const o in e)t.includes(o)||Object.defineProperty(n,o,{enumerable:!0,get:()=>e[o]});return n}function fV(e){const t=vt();let n=e();return FC(),wu(n)&&(n=n.catch(o=>{throw jl(t),o})),[n,()=>jl(t)]}let DC=!0;function gV(e){const t=b4(e),n=e.proxy,o=e.ctx;DC=!1,t.beforeCreate&&Gw(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:r,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:p,updated:f,activated:g,deactivated:m,beforeDestroy:v,beforeUnmount:y,destroyed:b,unmounted:w,render:S,renderTracked:E,renderTriggered:T,errorCaptured:R,serverPrefetch:A,expose:k,inheritAttrs:D,components:V,directives:O,filters:F}=t;if(c&&mV(c,o,null),r)for(const L in r){const x=r[L];qe(x)&&(o[L]=x.bind(n))}if(i){const L=i.call(n,n);Et(L)&&(e.data=Rn(L))}if(DC=!0,s)for(const L in s){const x=s[L],I=qe(x)?x.bind(n,n):qe(x.get)?x.get.bind(n,n):Ot,B=!qe(x)&&qe(x.set)?x.set.bind(n):Ot,z=M({get:I,set:B});Object.defineProperty(o,L,{enumerable:!0,configurable:!0,get:()=>z.value,set:H=>z.value=H})}if(a)for(const L in a)iM(a[L],o,n,L);if(l){const L=qe(l)?l.call(n):l;Reflect.ownKeys(L).forEach(x=>{Ut(x,L[x])})}u&&Gw(u,e,"c");function P(L,x){_e(x)?x.forEach(I=>L(I.bind(n))):x&&L(x.bind(n))}if(P(td,d),P(Dt,h),P(p4,p),P(dc,f),P(h4,g),P(t0,m),P(f4,R),P(eM,E),P(QP,T),P(Mn,y),P(Or,w),P(JP,A),_e(k))if(k.length){const L=e.exposed||(e.exposed={});k.forEach(x=>{Object.defineProperty(L,x,{get:()=>n[x],set:I=>n[x]=I,enumerable:!0})})}else e.exposed||(e.exposed={});S&&e.render===Ot&&(e.render=S),D!=null&&(e.inheritAttrs=D),V&&(e.components=V),O&&(e.directives=O),A&&d4(e)}function mV(e,t,n=Ot){_e(e)&&(e=kC(e));for(const o in e){const i=e[o];let s;Et(i)?"default"in i?s=je(i.from||o,i.default,!0):s=je(i.from||o):s=je(i),_t(s)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:r=>s.value=r}):t[o]=s}}function Gw(e,t,n){wi(_e(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function iM(e,t,n,o){let i=o.includes(".")?SM(n,o):()=>n[o];if(lt(e)){const s=t[e];qe(s)&&Le(i,s)}else if(qe(e))Le(i,e.bind(n));else if(Et(e))if(_e(e))e.forEach(s=>iM(s,t,n,o));else{const s=qe(e.handler)?e.handler.bind(n):t[e.handler];qe(s)&&Le(i,s,e)}}function b4(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:r}}=e.appContext,a=s.get(t);let l;return a?l=a:!i.length&&!n&&!o?l=t:(l={},i.length&&i.forEach(c=>xg(l,c,r,!0)),xg(l,t,r)),Et(t)&&s.set(t,l),l}function xg(e,t,n,o=!1){const{mixins:i,extends:s}=t;s&&xg(e,s,n,!0),i&&i.forEach(r=>xg(e,r,n,!0));for(const r in t)if(!(o&&r==="expose")){const a=vV[r]||n&&n[r];e[r]=a?a(e[r],t[r]):t[r]}return e}const vV={data:zw,props:Uw,emits:Uw,methods:zd,computed:zd,beforeCreate:wo,created:wo,beforeMount:wo,mounted:wo,beforeUpdate:wo,updated:wo,beforeDestroy:wo,beforeUnmount:wo,destroyed:wo,unmounted:wo,activated:wo,deactivated:wo,errorCaptured:wo,serverPrefetch:wo,components:zd,directives:zd,watch:bV,provide:zw,inject:CV};function zw(e,t){return t?e?function(){return en(qe(e)?e.call(this,this):e,qe(t)?t.call(this,this):t)}:t:e}function CV(e,t){return zd(kC(e),kC(t))}function kC(e){if(_e(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function wo(e,t){return e?[...new Set([].concat(e,t))]:t}function zd(e,t){return e?en(Object.create(null),e,t):t}function Uw(e,t){return e?_e(e)&&_e(t)?[...new Set([...e,...t])]:en(Object.create(null),_h(e),_h(t??{})):t}function bV(e,t){if(!e)return t;if(!t)return e;const n=en(Object.create(null),e);for(const o in t)n[o]=wo(e[o],t[o]);return n}function sM(){return{app:null,config:{isNativeTag:Y3,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let yV=0;function wV(e,t){return function(o,i=null){qe(o)||(o=en({},o)),i!=null&&!Et(i)&&(i=null);const s=sM(),r=new WeakSet,a=[];let l=!1;const c=s.app={_uid:yV++,_component:o,_props:i,_container:null,_context:s,_instance:null,version:NM,get config(){return s.config},set config(u){},use(u,...d){return r.has(u)||(u&&qe(u.install)?(r.add(u),u.install(c,...d)):qe(u)&&(r.add(u),u(c,...d))),c},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),c},component(u,d){return d?(s.components[u]=d,c):s.components[u]},directive(u,d){return d?(s.directives[u]=d,c):s.directives[u]},mount(u,d,h){if(!l){const p=c._ceVNode||oe(o,i);return p.appContext=s,h===!0?h="svg":h===!1&&(h=void 0),d&&t?t(p,u):e(p,u,h),l=!0,c._container=u,u.__vue_app__=c,_p(p.component)}},onUnmount(u){a.push(u)},unmount(){l&&(wi(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,d){return s.provides[u]=d,c},runWithContext(u){const d=Ll;Ll=c;try{return u()}finally{Ll=d}}};return c}}let Ll=null;function Ut(e,t){if(Zn){let n=Zn.provides;const o=Zn.parent&&Zn.parent.provides;o===n&&(n=Zn.provides=Object.create(o)),n[e]=t}}function je(e,t,n=!1){const o=vt();if(o||Ll){let i=Ll?Ll._context.provides:o?o.parent==null||o.ce?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&qe(t)?t.call(o&&o.proxy):t}}function o0(){return!!(vt()||Ll)}const rM={},aM=()=>Object.create(rM),lM=e=>Object.getPrototypeOf(e)===rM;function SV(e,t,n,o=!1){const i={},s=aM();e.propsDefaults=Object.create(null),cM(e,t,i,s);for(const r in e.propsOptions[0])r in i||(i[r]=void 0);n?e.props=o?i:s4(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function EV(e,t,n,o){const{props:i,attrs:s,vnode:{patchFlag:r}}=e,a=Ct(i),[l]=e.propsOptions;let c=!1;if((o||r>0)&&!(r&16)){if(r&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let h=u[d];if(s0(e.emitsOptions,h))continue;const p=t[h];if(l)if(Ft(s,h))p!==s[h]&&(s[h]=p,c=!0);else{const f=$n(h);i[f]=AC(l,a,f,p,e,!1)}else p!==s[h]&&(s[h]=p,c=!0)}}}else{cM(e,t,i,s)&&(c=!0);let u;for(const d in a)(!t||!Ft(t,d)&&((u=ho(d))===d||!Ft(t,u)))&&(l?n&&(n[d]!==void 0||n[u]!==void 0)&&(i[d]=AC(l,a,d,void 0,e,!0)):delete i[d]);if(s!==a)for(const d in s)(!t||!Ft(t,d))&&(delete s[d],c=!0)}c&&rr(e.attrs,"set","")}function cM(e,t,n,o){const[i,s]=e.propsOptions;let r=!1,a;if(t)for(let l in t){if(Tl(l))continue;const c=t[l];let u;i&&Ft(i,u=$n(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:s0(e.emitsOptions,l)||(!(l in o)||c!==o[l])&&(o[l]=c,r=!0)}if(s){const l=Ct(n),c=a||xt;for(let u=0;u<s.length;u++){const d=s[u];n[d]=AC(i,l,d,c[d],e,!Ft(c,d))}}return r}function AC(e,t,n,o,i,s){const r=e[n];if(r!=null){const a=Ft(r,"default");if(a&&o===void 0){const l=r.default;if(r.type!==Function&&!r.skipFactory&&qe(l)){const{propsDefaults:c}=i;if(n in c)o=c[n];else{const u=jl(i);o=c[n]=l.call(null,t),u()}}else o=l;i.ce&&i.ce._setProp(n,o)}r[0]&&(s&&!a?o=!1:r[1]&&(o===""||o===ho(n))&&(o=!0))}return o}const TV=new WeakMap;function uM(e,t,n=!1){const o=n?TV:t.propsCache,i=o.get(e);if(i)return i;const s=e.props,r={},a=[];let l=!1;if(!qe(e)){const u=d=>{l=!0;const[h,p]=uM(d,t,!0);en(r,h),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return Et(e)&&o.set(e,Sl),Sl;if(_e(s))for(let u=0;u<s.length;u++){const d=$n(s[u]);jw(d)&&(r[d]=xt)}else if(s)for(const u in s){const d=$n(u);if(jw(d)){const h=s[u],p=r[d]=_e(h)||qe(h)?{type:h}:en({},h),f=p.type;let g=!1,m=!0;if(_e(f))for(let v=0;v<f.length;++v){const y=f[v],b=qe(y)&&y.name;if(b==="Boolean"){g=!0;break}else b==="String"&&(m=!1)}else g=qe(f)&&f.name==="Boolean";p[0]=g,p[1]=m,(g||Ft(p,"default"))&&a.push(d)}}const c=[r,a];return Et(e)&&o.set(e,c),c}function jw(e){return e[0]!=="$"&&!Tl(e)}const y4=e=>e==="_"||e==="_ctx"||e==="$stable",w4=e=>_e(e)?e.map(_o):[_o(e)],RV=(e,t,n)=>{if(t._n)return t;const o=se((...i)=>w4(t(...i)),n);return o._c=!1,o},dM=(e,t,n)=>{const o=e._ctx;for(const i in e){if(y4(i))continue;const s=e[i];if(qe(s))t[i]=RV(i,s,o);else if(s!=null){const r=w4(s);t[i]=()=>r}}},hM=(e,t)=>{const n=w4(t);e.slots.default=()=>n},pM=(e,t,n)=>{for(const o in t)(n||!y4(o))&&(e[o]=t[o])},PV=(e,t,n)=>{const o=e.slots=aM();if(e.vnode.shapeFlag&32){const i=t._;i?(pM(o,t,n),n&&J3(o,"_",i,!0)):dM(t,o)}else t&&hM(e,t)},MV=(e,t,n)=>{const{vnode:o,slots:i}=e;let s=!0,r=xt;if(o.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:pM(i,t,n):(s=!t.$stable,dM(t,i)),r=t}else t&&(hM(e,t),r={default:1});if(s)for(const a in i)!y4(a)&&r[a]==null&&delete i[a]},Hn=PM;function fM(e){return mM(e)}function gM(e){return mM(e,WH)}function mM(e,t){const n=Pp();n.__VUE__=!0;const{insert:o,remove:i,patchProp:s,createElement:r,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:p=Ot,insertStaticContent:f}=e,g=(W,Z,ie,be=null,me=null,$=null,G=void 0,q=null,fe=!!Z.dynamicChildren)=>{if(W===Z)return;W&&!zi(W,Z)&&(be=te(W),H(W,me,$,!0),W=null),Z.patchFlag===-2&&(fe=!1,Z.dynamicChildren=null);const{type:ye,ref:Pe,shapeFlag:X}=Z;switch(ye){case Yi:m(W,Z,ie,be);break;case Sn:v(W,Z,ie,be);break;case xl:W==null&&y(Z,ie,be,G);break;case Ze:V(W,Z,ie,be,me,$,G,q,fe);break;default:X&1?S(W,Z,ie,be,me,$,G,q,fe):X&6?O(W,Z,ie,be,me,$,G,q,fe):(X&64||X&128)&&ye.process(W,Z,ie,be,me,$,G,q,fe,ae)}Pe!=null&&me?su(Pe,W&&W.ref,$,Z||W,!Z):Pe==null&&W&&W.ref!=null&&su(W.ref,null,$,W,!0)},m=(W,Z,ie,be)=>{if(W==null)o(Z.el=a(Z.children),ie,be);else{const me=Z.el=W.el;Z.children!==W.children&&c(me,Z.children)}},v=(W,Z,ie,be)=>{W==null?o(Z.el=l(Z.children||""),ie,be):Z.el=W.el},y=(W,Z,ie,be)=>{[W.el,W.anchor]=f(W.children,Z,ie,be,W.el,W.anchor)},b=({el:W,anchor:Z},ie,be)=>{let me;for(;W&&W!==Z;)me=h(W),o(W,ie,be),W=me;o(Z,ie,be)},w=({el:W,anchor:Z})=>{let ie;for(;W&&W!==Z;)ie=h(W),i(W),W=ie;i(Z)},S=(W,Z,ie,be,me,$,G,q,fe)=>{if(Z.type==="svg"?G="svg":Z.type==="math"&&(G="mathml"),W==null)E(Z,ie,be,me,$,G,q,fe);else{const ye=W.el&&W.el._isVueCE?W.el:null;try{ye&&ye._beginPatch(),A(W,Z,me,$,G,q,fe)}finally{ye&&ye._endPatch()}}},E=(W,Z,ie,be,me,$,G,q)=>{let fe,ye;const{props:Pe,shapeFlag:X,transition:K,dirs:Ee}=W;if(fe=W.el=r(W.type,$,Pe&&Pe.is,Pe),X&8?u(fe,W.children):X&16&&R(W.children,fe,null,be,me,y2(W,$),G,q),Ee&&ys(W,null,be,"created"),T(fe,W,W.scopeId,G,be),Pe){for(const et in Pe)et!=="value"&&!Tl(et)&&s(fe,et,null,Pe[et],$,be);"value"in Pe&&s(fe,"value",null,Pe.value,$),(ye=Pe.onVnodeBeforeMount)&&Ao(ye,be,W)}Ee&&ys(W,null,be,"beforeMount");const Fe=vM(me,K);Fe&&K.beforeEnter(fe),o(fe,Z,ie),((ye=Pe&&Pe.onVnodeMounted)||Fe||Ee)&&Hn(()=>{ye&&Ao(ye,be,W),Fe&&K.enter(fe),Ee&&ys(W,null,be,"mounted")},me)},T=(W,Z,ie,be,me)=>{if(ie&&p(W,ie),be)for(let $=0;$<be.length;$++)p(W,be[$]);if(me){let $=me.subTree;if(Z===$||kg($.type)&&($.ssContent===Z||$.ssFallback===Z)){const G=me.vnode;T(W,G,G.scopeId,G.slotScopeIds,me.parent)}}},R=(W,Z,ie,be,me,$,G,q,fe=0)=>{for(let ye=fe;ye<W.length;ye++){const Pe=W[ye]=q?fa(W[ye]):_o(W[ye]);g(null,Pe,Z,ie,be,me,$,G,q)}},A=(W,Z,ie,be,me,$,G)=>{const q=Z.el=W.el;let{patchFlag:fe,dynamicChildren:ye,dirs:Pe}=Z;fe|=W.patchFlag&16;const X=W.props||xt,K=Z.props||xt;let Ee;if(ie&&al(ie,!1),(Ee=K.onVnodeBeforeUpdate)&&Ao(Ee,ie,Z,W),Pe&&ys(Z,W,ie,"beforeUpdate"),ie&&al(ie,!0),(X.innerHTML&&K.innerHTML==null||X.textContent&&K.textContent==null)&&u(q,""),ye?k(W.dynamicChildren,ye,q,ie,be,y2(Z,me),$):G||x(W,Z,q,null,ie,be,y2(Z,me),$,!1),fe>0){if(fe&16)D(q,X,K,ie,me);else if(fe&2&&X.class!==K.class&&s(q,"class",null,K.class,me),fe&4&&s(q,"style",X.style,K.style,me),fe&8){const Fe=Z.dynamicProps;for(let et=0;et<Fe.length;et++){const de=Fe[et],Ae=X[de],He=K[de];(He!==Ae||de==="value")&&s(q,de,Ae,He,me,ie)}}fe&1&&W.children!==Z.children&&u(q,Z.children)}else!G&&ye==null&&D(q,X,K,ie,me);((Ee=K.onVnodeUpdated)||Pe)&&Hn(()=>{Ee&&Ao(Ee,ie,Z,W),Pe&&ys(Z,W,ie,"updated")},be)},k=(W,Z,ie,be,me,$,G)=>{for(let q=0;q<Z.length;q++){const fe=W[q],ye=Z[q],Pe=fe.el&&(fe.type===Ze||!zi(fe,ye)||fe.shapeFlag&198)?d(fe.el):ie;g(fe,ye,Pe,null,be,me,$,G,!0)}},D=(W,Z,ie,be,me)=>{if(Z!==ie){if(Z!==xt)for(const $ in Z)!Tl($)&&!($ in ie)&&s(W,$,Z[$],null,me,be);for(const $ in ie){if(Tl($))continue;const G=ie[$],q=Z[$];G!==q&&$!=="value"&&s(W,$,q,G,me,be)}"value"in ie&&s(W,"value",Z.value,ie.value,me)}},V=(W,Z,ie,be,me,$,G,q,fe)=>{const ye=Z.el=W?W.el:a(""),Pe=Z.anchor=W?W.anchor:a("");let{patchFlag:X,dynamicChildren:K,slotScopeIds:Ee}=Z;Ee&&(q=q?q.concat(Ee):Ee),W==null?(o(ye,ie,be),o(Pe,ie,be),R(Z.children||[],ie,Pe,me,$,G,q,fe)):X>0&&X&64&&K&&W.dynamicChildren?(k(W.dynamicChildren,K,ie,me,$,G,q),(Z.key!=null||me&&Z===me.subTree)&&S4(W,Z,!0)):x(W,Z,ie,Pe,me,$,G,q,fe)},O=(W,Z,ie,be,me,$,G,q,fe)=>{Z.slotScopeIds=q,W==null?Z.shapeFlag&512?me.ctx.activate(Z,ie,be,G,fe):F(Z,ie,be,me,$,G,fe):_(W,Z,fe)},F=(W,Z,ie,be,me,$,G)=>{const q=W.component=DM(W,be,me);if(Dp(W)&&(q.ctx.renderer=ae),AM(q,!1,G),q.asyncDep){if(me&&me.registerDep(q,P,G),!W.el){const fe=q.subTree=oe(Sn);v(null,fe,Z,ie),W.placeholder=fe.el}}else P(q,W,Z,ie,me,$,G)},_=(W,Z,ie)=>{const be=Z.component=W.component;if(OV(W,Z,ie))if(be.asyncDep&&!be.asyncResolved){L(be,Z,ie);return}else be.next=Z,be.update();else Z.el=W.el,be.vnode=Z},P=(W,Z,ie,be,me,$,G)=>{const q=()=>{if(W.isMounted){let{next:X,bu:K,u:Ee,parent:Fe,vnode:et}=W;{const Ve=CM(W);if(Ve){X&&(X.el=et.el,L(W,X,G)),Ve.asyncDep.then(()=>{W.isUnmounted||q()});return}}let de=X,Ae;al(W,!1),X?(X.el=et.el,L(W,X,G)):X=et,K&&Rl(K),(Ae=X.props&&X.props.onVnodeBeforeUpdate)&&Ao(Ae,Fe,X,et),al(W,!0);const He=h1(W),It=W.subTree;W.subTree=He,g(It,He,d(It.el),te(It),W,me,$),X.el=He.el,de===null&&r0(W,He.el),Ee&&Hn(Ee,me),(Ae=X.props&&X.props.onVnodeUpdated)&&Hn(()=>Ao(Ae,Fe,X,et),me)}else{let X;const{el:K,props:Ee}=Z,{bm:Fe,m:et,parent:de,root:Ae,type:He}=W,It=Ra(Z);if(al(W,!1),Fe&&Rl(Fe),!It&&(X=Ee&&Ee.onVnodeBeforeMount)&&Ao(X,de,Z),al(W,!0),K&&Oe){const Ve=()=>{W.subTree=h1(W),Oe(K,W.subTree,W,me,null)};It&&He.__asyncHydrate?He.__asyncHydrate(K,W,Ve):Ve()}else{Ae.ce&&Ae.ce._def.shadowRoot!==!1&&Ae.ce._injectChildStyle(He);const Ve=W.subTree=h1(W);g(null,Ve,ie,be,W,me,$),Z.el=Ve.el}if(et&&Hn(et,me),!It&&(X=Ee&&Ee.onVnodeMounted)){const Ve=Z;Hn(()=>Ao(X,de,Ve),me)}(Z.shapeFlag&256||de&&Ra(de.vnode)&&de.vnode.shapeFlag&256)&&W.a&&Hn(W.a,me),W.isMounted=!0,Z=ie=be=null}};W.scope.on();const fe=W.effect=new Mh(q);W.scope.off();const ye=W.update=fe.run.bind(fe),Pe=W.job=fe.runIfDirty.bind(fe);Pe.i=W,Pe.id=W.uid,fe.scheduler=()=>l4(Pe),al(W,!0),ye()},L=(W,Z,ie)=>{Z.component=W;const be=W.vnode.props;W.vnode=Z,W.next=null,EV(W,Z.props,be,ie),MV(W,Z.children,ie),Is(),Aw(W),Fs()},x=(W,Z,ie,be,me,$,G,q,fe=!1)=>{const ye=W&&W.children,Pe=W?W.shapeFlag:0,X=Z.children,{patchFlag:K,shapeFlag:Ee}=Z;if(K>0){if(K&128){B(ye,X,ie,be,me,$,G,q,fe);return}else if(K&256){I(ye,X,ie,be,me,$,G,q,fe);return}}Ee&8?(Pe&16&&pe(ye,me,$),X!==ye&&u(ie,X)):Pe&16?Ee&16?B(ye,X,ie,be,me,$,G,q,fe):pe(ye,me,$,!0):(Pe&8&&u(ie,""),Ee&16&&R(X,ie,be,me,$,G,q,fe))},I=(W,Z,ie,be,me,$,G,q,fe)=>{W=W||Sl,Z=Z||Sl;const ye=W.length,Pe=Z.length,X=Math.min(ye,Pe);let K;for(K=0;K<X;K++){const Ee=Z[K]=fe?fa(Z[K]):_o(Z[K]);g(W[K],Ee,ie,null,me,$,G,q,fe)}ye>Pe?pe(W,me,$,!0,!1,X):R(Z,ie,be,me,$,G,q,fe,X)},B=(W,Z,ie,be,me,$,G,q,fe)=>{let ye=0;const Pe=Z.length;let X=W.length-1,K=Pe-1;for(;ye<=X&&ye<=K;){const Ee=W[ye],Fe=Z[ye]=fe?fa(Z[ye]):_o(Z[ye]);if(zi(Ee,Fe))g(Ee,Fe,ie,null,me,$,G,q,fe);else break;ye++}for(;ye<=X&&ye<=K;){const Ee=W[X],Fe=Z[K]=fe?fa(Z[K]):_o(Z[K]);if(zi(Ee,Fe))g(Ee,Fe,ie,null,me,$,G,q,fe);else break;X--,K--}if(ye>X){if(ye<=K){const Ee=K+1,Fe=Ee<Pe?Z[Ee].el:be;for(;ye<=K;)g(null,Z[ye]=fe?fa(Z[ye]):_o(Z[ye]),ie,Fe,me,$,G,q,fe),ye++}}else if(ye>K)for(;ye<=X;)H(W[ye],me,$,!0),ye++;else{const Ee=ye,Fe=ye,et=new Map;for(ye=Fe;ye<=K;ye++){const Ie=Z[ye]=fe?fa(Z[ye]):_o(Z[ye]);Ie.key!=null&&et.set(Ie.key,ye)}let de,Ae=0;const He=K-Fe+1;let It=!1,Ve=0;const Ue=new Array(He);for(ye=0;ye<He;ye++)Ue[ye]=0;for(ye=Ee;ye<=X;ye++){const Ie=W[ye];if(Ae>=He){H(Ie,me,$,!0);continue}let rt;if(Ie.key!=null)rt=et.get(Ie.key);else for(de=Fe;de<=K;de++)if(Ue[de-Fe]===0&&zi(Ie,Z[de])){rt=de;break}rt===void 0?H(Ie,me,$,!0):(Ue[rt-Fe]=ye+1,rt>=Ve?Ve=rt:It=!0,g(Ie,Z[rt],ie,null,me,$,G,q,fe),Ae++)}const Y=It?LV(Ue):Sl;for(de=Y.length-1,ye=He-1;ye>=0;ye--){const Ie=Fe+ye,rt=Z[Ie],Gt=Z[Ie+1],ue=Ie+1<Pe?Gt.el||Gt.placeholder:be;Ue[ye]===0?g(null,rt,ie,ue,me,$,G,q,fe):It&&(de<0||ye!==Y[de]?z(rt,ie,ue,2):de--)}}},z=(W,Z,ie,be,me=null)=>{const{el:$,type:G,transition:q,children:fe,shapeFlag:ye}=W;if(ye&6){z(W.component.subTree,Z,ie,be);return}if(ye&128){W.suspense.move(Z,ie,be);return}if(ye&64){G.move(W,Z,ie,ae);return}if(G===Ze){o($,Z,ie);for(let X=0;X<fe.length;X++)z(fe[X],Z,ie,be);o(W.anchor,Z,ie);return}if(G===xl){b(W,Z,ie);return}if(be!==2&&ye&1&&q)if(be===0)q.beforeEnter($),o($,Z,ie),Hn(()=>q.enter($),me);else{const{leave:X,delayLeave:K,afterLeave:Ee}=q,Fe=()=>{W.ctx.isUnmounted?i($):o($,Z,ie)},et=()=>{$._isLeaving&&$[or](!0),X($,()=>{Fe(),Ee&&Ee()})};K?K($,Fe,et):et()}else o($,Z,ie)},H=(W,Z,ie,be=!1,me=!1)=>{const{type:$,props:G,ref:q,children:fe,dynamicChildren:ye,shapeFlag:Pe,patchFlag:X,dirs:K,cacheIndex:Ee}=W;if(X===-2&&(me=!1),q!=null&&(Is(),su(q,null,ie,W,!0),Fs()),Ee!=null&&(Z.renderCache[Ee]=void 0),Pe&256){Z.ctx.deactivate(W);return}const Fe=Pe&1&&K,et=!Ra(W);let de;if(et&&(de=G&&G.onVnodeBeforeUnmount)&&Ao(de,Z,W),Pe&6)ce(W.component,ie,be);else{if(Pe&128){W.suspense.unmount(ie,be);return}Fe&&ys(W,null,Z,"beforeUnmount"),Pe&64?W.type.remove(W,Z,ie,ae,be):ye&&!ye.hasOnce&&($!==Ze||X>0&&X&64)?pe(ye,Z,ie,!1,!0):($===Ze&&X&384||!me&&Pe&16)&&pe(fe,Z,ie),be&&j(W)}(et&&(de=G&&G.onVnodeUnmounted)||Fe)&&Hn(()=>{de&&Ao(de,Z,W),Fe&&ys(W,null,Z,"unmounted")},ie)},j=W=>{const{type:Z,el:ie,anchor:be,transition:me}=W;if(Z===Ze){Q(ie,be);return}if(Z===xl){w(W);return}const $=()=>{i(ie),me&&!me.persisted&&me.afterLeave&&me.afterLeave()};if(W.shapeFlag&1&&me&&!me.persisted){const{leave:G,delayLeave:q}=me,fe=()=>G(ie,$);q?q(W.el,$,fe):fe()}else $()},Q=(W,Z)=>{let ie;for(;W!==Z;)ie=h(W),i(W),W=ie;i(Z)},ce=(W,Z,ie)=>{const{bum:be,scope:me,job:$,subTree:G,um:q,m:fe,a:ye}=W;Dg(fe),Dg(ye),be&&Rl(be),me.stop(),$&&($.flags|=8,H(G,W,Z,ie)),q&&Hn(q,Z),Hn(()=>{W.isUnmounted=!0},Z)},pe=(W,Z,ie,be=!1,me=!1,$=0)=>{for(let G=$;G<W.length;G++)H(W[G],Z,ie,be,me)},te=W=>{if(W.shapeFlag&6)return te(W.component.subTree);if(W.shapeFlag&128)return W.suspense.next();const Z=h(W.anchor||W.el),ie=Z&&Z[$P];return ie?h(ie):Z};let ne=!1;const le=(W,Z,ie)=>{W==null?Z._vnode&&H(Z._vnode,null,null,!0):g(Z._vnode||null,W,Z,null,null,null,ie),Z._vnode=W,ne||(ne=!0,Aw(),Mg(),ne=!1)},ae={p:g,um:H,m:z,r:j,mt:F,mc:R,pc:x,pbc:k,n:te,o:e};let Re,Oe;return t&&([Re,Oe]=t(ae)),{render:le,hydrate:Re,createApp:wV(le,Re)}}function y2({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function al({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function vM(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function S4(e,t,n=!1){const o=e.children,i=t.children;if(_e(o)&&_e(i))for(let s=0;s<o.length;s++){const r=o[s];let a=i[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[s]=fa(i[s]),a.el=r.el),!n&&a.patchFlag!==-2&&S4(r,a)),a.type===Yi&&a.patchFlag!==-1&&(a.el=r.el),a.type===Sn&&!a.el&&(a.el=r.el)}}function LV(e){const t=e.slice(),n=[0];let o,i,s,r,a;const l=e.length;for(o=0;o<l;o++){const c=e[o];if(c!==0){if(i=n[n.length-1],e[i]<c){t[o]=i,n.push(o);continue}for(s=0,r=n.length-1;s<r;)a=s+r>>1,e[n[a]]<c?s=a+1:r=a;c<e[n[s]]&&(s>0&&(t[o]=n[s-1]),n[s]=o)}}for(s=n.length,r=n[s-1];s-- >0;)n[s]=r,r=t[r];return n}function CM(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:CM(t)}function Dg(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const bM=Symbol.for("v-scx"),yM=()=>je(bM);function E4(e,t){return Ap(e,null,t)}function xV(e,t){return Ap(e,null,{flush:"post"})}function wM(e,t){return Ap(e,null,{flush:"sync"})}function Le(e,t,n){return Ap(e,t,n)}function Ap(e,t,n=xt){const{immediate:o,deep:i,flush:s,once:r}=n,a=en({},n),l=t&&o||!t&&s!=="post";let c;if(Tu){if(s==="sync"){const p=yM();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=Ot,p.resume=Ot,p.pause=Ot,p}}const u=Zn;a.call=(p,f,g)=>wi(p,u,f,g);let d=!1;s==="post"?a.scheduler=p=>{Hn(p,u&&u.suspense)}:s!=="sync"&&(d=!0,a.scheduler=(p,f)=>{f?p():l4(p)}),a.augmentJob=p=>{t&&(p.flags|=4),d&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const h=wH(e,t,a);return Tu&&(c?c.push(h):l&&h()),h}function DV(e,t,n){const o=this.proxy,i=lt(e)?e.includes(".")?SM(o,e):()=>o[e]:e.bind(o,o);let s;qe(t)?s=t:(s=t.handler,n=t);const r=jl(this),a=Ap(i,s.bind(o),n);return r(),a}function SM(e,t){const n=t.split(".");return()=>{let o=e;for(let i=0;i<n.length&&o;i++)o=o[n[i]];return o}}function i0(e,t,n=xt){const o=vt(),i=$n(t),s=ho(t),r=EM(e,i),a=_P((l,c)=>{let u,d=xt,h;return wM(()=>{const p=e[i];co(u,p)&&(u=p,c())}),{get(){return l(),n.get?n.get(u):u},set(p){const f=n.set?n.set(p):p;if(!co(f,u)&&!(d!==xt&&co(p,d)))return;const g=o.vnode.props;g&&(t in g||i in g||s in g)&&(`onUpdate:${t}`in g||`onUpdate:${i}`in g||`onUpdate:${s}`in g)||(u=p,c()),o.emit(`update:${t}`,f),co(p,f)&&co(p,d)&&!co(f,h)&&c(),d=p,h=f}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?r||xt:a,done:!1}:{done:!0}}}},a}const EM=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${$n(t)}Modifiers`]||e[`${ho(t)}Modifiers`];function kV(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||xt;let i=n;const s=t.startsWith("update:"),r=s&&EM(o,t.slice(7));r&&(r.trim&&(i=n.map(u=>lt(u)?u.trim():u)),r.number&&(i=n.map(Rp)));let a,l=o[a=ou(t)]||o[a=ou($n(t))];!l&&s&&(l=o[a=ou(ho(t))]),l&&wi(l,e,6,i);const c=o[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,wi(c,e,6,i)}}const AV=new WeakMap;function TM(e,t,n=!1){const o=n?AV:t.emitsCache,i=o.get(e);if(i!==void 0)return i;const s=e.emits;let r={},a=!1;if(!qe(e)){const l=c=>{const u=TM(c,t,!0);u&&(a=!0,en(r,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(Et(e)&&o.set(e,null),null):(_e(s)?s.forEach(l=>r[l]=null):en(r,s),Et(e)&&o.set(e,r),r)}function s0(e,t){return!e||!ed(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ft(e,t[0].toLowerCase()+t.slice(1))||Ft(e,ho(t))||Ft(e,t))}function h1(e){const{type:t,vnode:n,proxy:o,withProxy:i,propsOptions:[s],slots:r,attrs:a,emit:l,render:c,renderCache:u,props:d,data:h,setupState:p,ctx:f,inheritAttrs:g}=e,m=Ah(e);let v,y;try{if(n.shapeFlag&4){const w=i||o,S=w;v=_o(c.call(S,w,u,d,p,h,f)),y=a}else{const w=t;v=_o(w.length>1?w(d,{attrs:a,slots:r,emit:l}):w(d,null)),y=t.props?a:IV(a)}}catch(w){eh.length=0,uc(w,e,1),v=oe(Sn)}let b=v;if(y&&g!==!1){const w=Object.keys(y),{shapeFlag:S}=b;w.length&&S&7&&(s&&w.some($m)&&(y=FV(y,s)),b=ns(b,y,!1,!0))}return n.dirs&&(b=ns(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&Tr(b,n.transition),v=b,Ah(m),v}function _V(e,t=!0){let n;for(let o=0;o<e.length;o++){const i=e[o];if(Ei(i)){if(i.type!==Sn||i.children==="v-if"){if(n)return;n=i}}else return}return n}const IV=e=>{let t;for(const n in e)(n==="class"||n==="style"||ed(n))&&((t||(t={}))[n]=e[n]);return t},FV=(e,t)=>{const n={};for(const o in e)(!$m(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function OV(e,t,n){const{props:o,children:i,component:s}=e,{props:r,children:a,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?Zw(o,r,c):!!r;if(l&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const h=u[d];if(r[h]!==o[h]&&!s0(c,h))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:o===r?!1:o?r?Zw(o,r,c):!0:!!r;return!1}function Zw(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let i=0;i<o.length;i++){const s=o[i];if(t[s]!==e[s]&&!s0(n,s))return!0}return!1}function r0({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o===e)(e=t.vnode).el=n,t=t.parent;else break}}const kg=e=>e.__isSuspense;let _C=0;const NV={name:"Suspense",__isSuspense:!0,process(e,t,n,o,i,s,r,a,l,c){if(e==null)HV(t,n,o,i,s,r,a,l,c);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}VV(e,t,n,o,i,r,a,l,c)}},hydrate:$V,normalize:WV},BV=NV;function Ih(e,t){const n=e.props&&e.props[t];qe(n)&&n()}function HV(e,t,n,o,i,s,r,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),h=e.suspense=RM(e,i,o,t,d,n,s,r,a,l);c(null,h.pendingBranch=e.ssContent,d,null,o,h,s,r),h.deps>0?(Ih(e,"onPending"),Ih(e,"onFallback"),c(null,e.ssFallback,t,n,o,null,s,r),ru(h,e.ssFallback)):h.resolve(!1,!0)}function VV(e,t,n,o,i,s,r,a,{p:l,um:c,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const h=t.ssContent,p=t.ssFallback,{activeBranch:f,pendingBranch:g,isInFallback:m,isHydrating:v}=d;if(g)d.pendingBranch=h,zi(g,h)?(l(g,h,d.hiddenContainer,null,i,d,s,r,a),d.deps<=0?d.resolve():m&&(v||(l(f,p,n,o,i,null,s,r,a),ru(d,p)))):(d.pendingId=_C++,v?(d.isHydrating=!1,d.activeBranch=g):c(g,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),m?(l(null,h,d.hiddenContainer,null,i,d,s,r,a),d.deps<=0?d.resolve():(l(f,p,n,o,i,null,s,r,a),ru(d,p))):f&&zi(f,h)?(l(f,h,n,o,i,d,s,r,a),d.resolve(!0)):(l(null,h,d.hiddenContainer,null,i,d,s,r,a),d.deps<=0&&d.resolve()));else if(f&&zi(f,h))l(f,h,n,o,i,d,s,r,a),ru(d,h);else if(Ih(t,"onPending"),d.pendingBranch=h,h.shapeFlag&512?d.pendingId=h.component.suspenseId:d.pendingId=_C++,l(null,h,d.hiddenContainer,null,i,d,s,r,a),d.deps<=0)d.resolve();else{const{timeout:y,pendingId:b}=d;y>0?setTimeout(()=>{d.pendingId===b&&d.fallback(p)},y):y===0&&d.fallback(p)}}function RM(e,t,n,o,i,s,r,a,l,c,u=!1){const{p:d,m:h,um:p,n:f,o:{parentNode:g,remove:m}}=c;let v;const y=GV(e);y&&t&&t.pendingBranch&&(v=t.pendingId,t.deps++);const b=e.props?Ph(e.props.timeout):void 0,w=s,S={vnode:e,parent:t,parentComponent:n,namespace:r,container:o,hiddenContainer:i,deps:0,pendingId:_C++,timeout:typeof b=="number"?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(E=!1,T=!1){const{vnode:R,activeBranch:A,pendingBranch:k,pendingId:D,effects:V,parentComponent:O,container:F,isInFallback:_}=S;let P=!1;S.isHydrating?S.isHydrating=!1:E||(P=A&&k.transition&&k.transition.mode==="out-in",P&&(A.transition.afterLeave=()=>{D===S.pendingId&&(h(k,F,s===w?f(A):s,0),Dh(V),_&&R.ssFallback&&(R.ssFallback.el=null))}),A&&(g(A.el)===F&&(s=f(A)),p(A,O,S,!0),!P&&_&&R.ssFallback&&(R.ssFallback.el=null)),P||h(k,F,s,0)),ru(S,k),S.pendingBranch=null,S.isInFallback=!1;let L=S.parent,x=!1;for(;L;){if(L.pendingBranch){L.effects.push(...V),x=!0;break}L=L.parent}!x&&!P&&Dh(V),S.effects=[],y&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!T&&t.resolve()),Ih(R,"onResolve")},fallback(E){if(!S.pendingBranch)return;const{vnode:T,activeBranch:R,parentComponent:A,container:k,namespace:D}=S;Ih(T,"onFallback");const V=f(R),O=()=>{S.isInFallback&&(d(null,E,k,V,A,null,D,a,l),ru(S,E))},F=E.transition&&E.transition.mode==="out-in";F&&(R.transition.afterLeave=O),S.isInFallback=!0,p(R,A,null,!0),F||O()},move(E,T,R){S.activeBranch&&h(S.activeBranch,E,T,R),S.container=E},next(){return S.activeBranch&&f(S.activeBranch)},registerDep(E,T,R){const A=!!S.pendingBranch;A&&S.deps++;const k=E.vnode.el;E.asyncDep.catch(D=>{uc(D,E,0)}).then(D=>{if(E.isUnmounted||S.isUnmounted||S.pendingId!==E.suspenseId)return;E.asyncResolved=!0;const{vnode:V}=E;OC(E,D,!1),k&&(V.el=k);const O=!k&&E.subTree.el;T(E,V,g(k||E.subTree.el),k?null:f(E.subTree),S,r,R),O&&(V.placeholder=null,m(O)),r0(E,V.el),A&&--S.deps===0&&S.resolve()})},unmount(E,T){S.isUnmounted=!0,S.activeBranch&&p(S.activeBranch,n,E,T),S.pendingBranch&&p(S.pendingBranch,n,E,T)}};return S}function $V(e,t,n,o,i,s,r,a,l){const c=t.suspense=RM(t,o,n,e.parentNode,document.createElement("div"),null,i,s,r,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,s,r);return c.deps===0&&c.resolve(!1,!0),u}function WV(e){const{shapeFlag:t,children:n}=e,o=t&32;e.ssContent=Kw(o?n.default:n),e.ssFallback=o?Kw(n.fallback):oe(Sn)}function Kw(e){let t;if(qe(e)){const n=Ul&&e._c;n&&(e._d=!1,N()),e=e(),n&&(e._d=!0,t=fo,MM())}return _e(e)&&(e=_V(e)),e=_o(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function PM(e,t){t&&t.pendingBranch?_e(e)?t.effects.push(...e):t.effects.push(e):Dh(e)}function ru(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,o&&o.subTree===n&&(o.vnode.el=i,r0(o,i))}function GV(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ze=Symbol.for("v-fgt"),Yi=Symbol.for("v-txt"),Sn=Symbol.for("v-cmt"),xl=Symbol.for("v-stc"),eh=[];let fo=null;function N(e=!1){eh.push(fo=e?null:[])}function MM(){eh.pop(),fo=eh[eh.length-1]||null}let Ul=1;function Fh(e,t=!1){Ul+=e,e<0&&fo&&t&&(fo.hasOnce=!0)}function LM(e){return e.dynamicChildren=Ul>0?fo||Sl:null,MM(),Ul>0&&fo&&fo.push(e),e}function ee(e,t,n,o,i,s){return LM(re(e,t,n,o,i,s,!0))}function ve(e,t,n,o,i){return LM(oe(e,t,n,o,i,!0))}function Ei(e){return e?e.__v_isVNode===!0:!1}function zi(e,t){return e.type===t.type&&e.key===t.key}function zV(e){}const xM=({key:e})=>e??null,p1=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?lt(e)||_t(e)||qe(e)?{i:Kn,r:e,k:t,f:!!n}:e:null);function re(e,t=null,n=null,o=0,i=null,s=e===Ze?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&xM(t),ref:t&&p1(t),scopeId:Qm,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Kn};return a?(T4(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=lt(n)?8:16),Ul>0&&!r&&fo&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&fo.push(l),l}const oe=UV;function UV(e,t=null,n=null,o=0,i=null,s=!1){if((!e||e===tM)&&(e=Sn),Ei(e)){const a=ns(e,t,!0);return n&&T4(a,n),Ul>0&&!s&&fo&&(a.shapeFlag&6?fo[fo.indexOf(e)]=a:fo.push(a)),a.patchFlag=-2,a}if(t$(e)&&(e=e.__vccOpts),t){t=as(t);let{class:a,style:l}=t;a&&!lt(a)&&(t.class=U(a)),Et(l)&&(Xm(l)&&!_e(l)&&(l=en({},l)),t.style=ft(l))}const r=lt(e)?1:kg(e)?128:WP(e)?64:Et(e)?4:qe(e)?2:0;return re(e,t,n,o,i,r,s,!0)}function as(e){return e?Xm(e)||lM(e)?en({},e):e:null}function ns(e,t,n=!1,o=!1){const{props:i,ref:s,patchFlag:r,children:a,transition:l}=e,c=t?Rt(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&xM(c),ref:t&&t.ref?n&&s?_e(s)?s.concat(p1(t)):[s,p1(t)]:p1(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ze?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ns(e.ssContent),ssFallback:e.ssFallback&&ns(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&o&&Tr(u,l.clone(u)),u}function mt(e=" ",t=0){return oe(Yi,null,e,t)}function jV(e,t){const n=oe(xl,null,e);return n.staticCount=t,n}function Se(e="",t=!1){return t?(N(),ve(Sn,null,e)):oe(Sn,null,e)}function _o(e){return e==null||typeof e=="boolean"?oe(Sn):_e(e)?oe(Ze,null,e.slice()):Ei(e)?fa(e):oe(Yi,null,String(e))}function fa(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ns(e)}function T4(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(_e(t))n=16;else if(typeof t=="object")if(o&65){const i=t.default;i&&(i._c&&(i._d=!1),T4(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!lM(t)?t._ctx=Kn:i===3&&Kn&&(Kn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else qe(t)?(t={default:t,_ctx:Kn},n=32):(t=String(t),o&64?(n=16,t=[mt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Rt(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const i in o)if(i==="class")t.class!==o.class&&(t.class=U([t.class,o.class]));else if(i==="style")t.style=ft([t.style,o.style]);else if(ed(i)){const s=t[i],r=o[i];r&&s!==r&&!(_e(s)&&s.includes(r))&&(t[i]=s?[].concat(s,r):r)}else i!==""&&(t[i]=o[i])}return t}function Ao(e,t,n,o=null){wi(e,t,7,[n,o])}const ZV=sM();let KV=0;function DM(e,t,n){const o=e.type,i=(t?t.appContext:e.appContext)||ZV,s={uid:KV++,vnode:e,type:o,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new t4(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:uM(o,i),emitsOptions:TM(o,i),emit:null,emitted:null,propsDefaults:xt,inheritAttrs:o.inheritAttrs,ctx:xt,data:xt,props:xt,attrs:xt,slots:xt,refs:xt,setupState:xt,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=kV.bind(null,s),e.ce&&e.ce(s),s}let Zn=null;const vt=()=>Zn||Kn;let Ag,IC;{const e=Pp(),t=(n,o)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(o),s=>{i.length>1?i.forEach(r=>r(s)):i[0](s)}};Ag=t("__VUE_INSTANCE_SETTERS__",n=>Zn=n),IC=t("__VUE_SSR_SETTERS__",n=>Tu=n)}const jl=e=>{const t=Zn;return Ag(e),e.scope.on(),()=>{e.scope.off(),Ag(t)}},FC=()=>{Zn&&Zn.scope.off(),Ag(null)};function kM(e){return e.vnode.shapeFlag&4}let Tu=!1;function AM(e,t=!1,n=!1){t&&IC(t);const{props:o,children:i}=e.vnode,s=kM(e);SV(e,o,s,t),PV(e,i,n||t);const r=s?qV(e,t):void 0;return t&&IC(!1),r}function qV(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,xC);const{setup:o}=n;if(o){Is();const i=e.setupContext=o.length>1?IM(e):null,s=jl(e),r=cc(o,e,0,[e.props,i]),a=wu(r);if(Fs(),s(),(a||e.sp)&&!Ra(e)&&d4(e),a){if(r.then(FC,FC),t)return r.then(l=>{OC(e,l,t)}).catch(l=>{uc(l,e,0)});e.asyncDep=r}else OC(e,r,t)}else _M(e,t)}function OC(e,t,n){qe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Et(t)&&(e.setupState=a4(t)),_M(e,n)}let _g,NC;function YV(e){_g=e,NC=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,iV))}}const XV=()=>!_g;function _M(e,t,n){const o=e.type;
vendor: 2,087 bytes, lines 32-35
32if(!e.render){if(!t&&_g&&!o.render){const i=o.template||b4(e).template;if(i){const{isCustomElement:s,compilerOptions:r}=e.appContext.config,{delimiters:a,compilerOptions:l}=o,c=en(en({isCustomElement:s,delimiters:a},r),l);o.render=_g(i,c)}}e.render=o.render||Ot,NC&&NC(e)}{const i=jl(e);Is();try{gV(e)}finally{Fs(),i()}}}const JV={get(e,t){return uo(e,"get",""),e[t]}};function IM(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,JV),slots:e.slots,emit:e.emit,expose:t}}function _p(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(a4(Jm(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Qd)return Qd[n](e)},has(t,n){return n in t||n in Qd}})):e.proxy}const QV=/(?:^|[-_])\w/g,e$=e=>e.replace(QV,t=>t.toUpperCase()).replace(/[-_]/g,"");function Ig(e,t=!0){return qe(e)?e.displayName||e.name:e.name||t&&e.__name}function FM(e,t,n=!1){let o=Ig(t);if(!o&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(o=i[1])}if(!o&&e&&e.parent){const i=s=>{for(const r in s)if(s[r]===t)return r};o=i(e.components||e.parent.type.components)||i(e.appContext.components)}return o?e$(o):n?"App":"Anonymous"}function t$(e){return qe(e)&&"__vccOpts"in e}const M=(e,t)=>vH(e,t,Tu);function Ii(e,t,n){try{Fh(-1);const o=arguments.length;return o===2?Et(t)&&!_e(t)?Ei(t)?oe(e,null,[t]):oe(e,t):oe(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Ei(n)&&(n=[n]),oe(e,t,n))}finally{Fh(1)}}function n$(){}function o$(e,t,n,o){const i=n[o];if(i&&OM(i,e))return i;const s=t();return s.memo=e.slice(),s.cacheIndex=o,n[o]=s}function OM(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let o=0;o<n.length;o++)if(co(n[o],t[o]))return!1;return Ul>0&&fo&&fo.push(e),!0}const NM="3.5.24",BM=Ot,i$=DH,s$=Bc,r$=VP,a$={createComponentInstance:DM,setupComponent:AM,renderComponentRoot:h1,setCurrentRenderingInstance:Ah,isVNode:Ei,normalizeVNode:_o,getComponentPublicInstance:_p,ensureValidVNode:C4,pushWarningContext:SH,popWarningContext:EH},l$=a$,c$=null,u$=null,d$=null;/**
33* @vue/runtime-dom v3.5.24
34* (c) 2018-present Yuxi (Evan) You and Vue contributors
35* @license MIT
36**/let BC;const qw=typeof window<"u"&&window.trustedTypes;if(qw)try{BC=qw.createPolicy("vue",{createHTML:e=>e})}catch{}const HM=BC?e=>BC.createHTML(e):e=>e,h$="http://www.w3.org/2000/svg",p$="http://www.w3.org/1998/Math/MathML",tr=typeof document<"u"?document:null,Yw=tr&&tr.createElement("template"),f$={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const i=t==="svg"?tr.createElementNS(h$,e):t==="mathml"?tr.createElementNS(p$,e):n?tr.createElement(e,{is:n}):tr.createElement(e);return e==="select"&&o&&o.multiple!=null&&i.setAttribute("multiple",o.multiple),i},createText:e=>tr.createTextNode(e),createComment:e=>tr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>tr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,i,s){const r=n?n.previousSibling:t.lastChild;if(i&&(i===s||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{Yw.innerHTML=HM(o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e);const a=Yw.content;if(o==="svg"||o==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},zr="transition",Td="animation",Ru=Symbol("_vtc"),VM={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},$M=en({},u4,VM),g$=e=>(e.displayName="Transition",e.props=$M,e),Ti=g$((e,{slots:t})=>Ii(ZP,WM(e),t)),ll=(e,t=[])=>{_e(e)?e.forEach(n=>n(...t)):e&&e(...t)},Xw=e=>e?_e(e)?e.some(t=>t.length>1):e.length>1:!1;function WM(e){const t={};for(const V in e)V in VM||(t[V]=e[V]);if(e.css===!1)return t;const{name:n="v",type:o,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=r,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,f=m$(i),g=f&&f[0],m=f&&f[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:b,onLeave:w,onLeaveCancelled:S,onBeforeAppear:E=v,onAppear:T=y,onAppearCancelled:R=b}=t,A=(V,O,F,_)=>{V._enterCancelled=_,aa(V,O?u:a),aa(V,O?c:r),F&&F()},k=(V,O)=>{V._isLeaving=!1,aa(V,d),aa(V,p),aa(V,h),O&&O()},D=V=>(O,F)=>{const _=V?T:y,P=()=>A(O,V,F);ll(_,[O,P]),Jw(()=>{aa(O,V?l:s),Cs(O,V?u:a),Xw(_)||Qw(O,o,g,P)})};return en(t,{onBeforeEnter(V){ll(v,[V]),Cs(V,s),Cs(V,r)},onBeforeAppear(V){ll(E,[V]),Cs(V,l),Cs(V,c)},onEnter:D(!1),onAppear:D(!0),onLeave(V,O){V._isLeaving=!0;const F=()=>k(V,O);Cs(V,d),V._enterCancelled?(Cs(V,h),HC(V)):(HC(V),Cs(V,h)),Jw(()=>{V._isLeaving&&(aa(V,d),Cs(V,p),Xw(w)||Qw(V,o,m,F))}),ll(w,[V,F])},onEnterCancelled(V){A(V,!1,void 0,!0),ll(b,[V])},onAppearCancelled(V){A(V,!0,void 0,!0),ll(R,[V])},onLeaveCancelled(V){k(V),ll(S,[V])}})}function m$(e){if(e==null)return null;if(Et(e))return[w2(e.enter),w2(e.leave)];{const t=w2(e);return[t,t]}}function w2(e){return Ph(e)}function Cs(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ru]||(e[Ru]=new Set)).add(t)}function aa(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[Ru];n&&(n.delete(t),n.size||(e[Ru]=void 0))}function Jw(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let v$=0;function Qw(e,t,n,o){const i=e._endId=++v$,s=()=>{i===e._endId&&o()};if(n!=null)return setTimeout(s,n);const{type:r,timeout:a,propCount:l}=GM(e,t);if(!r)return o();const c=r+"end";let u=0;const d=()=>{e.removeEventListener(c,h),s()},h=p=>{p.target===e&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},a+1),e.addEventListener(c,h)}function GM(e,t){const n=window.getComputedStyle(e),o=f=>(n[f]||"").split(", "),i=o(`${zr}Delay`),s=o(`${zr}Duration`),r=e6(i,s),a=o(`${Td}Delay`),l=o(`${Td}Duration`),c=e6(a,l);let u=null,d=0,h=0;t===zr?r>0&&(u=zr,d=r,h=s.length):t===Td?c>0&&(u=Td,d=c,h=l.length):(d=Math.max(r,c),u=d>0?r>c?zr:Td:null,h=u?u===zr?s.length:l.length:0);const p=u===zr&&/\b(?:transform|all)(?:,|$)/.test(o(`${zr}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:p}}function e6(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>t6(n)+t6(e[o])))}function t6(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function HC(e){return(e?e.ownerDocument:document).body.offsetHeight}function C$(e,t,n){const o=e[Ru];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Fg=Symbol("_vod"),zM=Symbol("_vsh"),Dn={name:"show",beforeMount(e,{value:t},{transition:n}){e[Fg]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Rd(e,t)}
vendor: 20,413 bytes, line 36
36,mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Rd(e,!0),o.enter(e)):o.leave(e,()=>{Rd(e,!1)}):Rd(e,t))},beforeUnmount(e,{value:t}){Rd(e,t)}};function Rd(e,t){e.style.display=t?e[Fg]:"none",e[zM]=!t}function b$(){Dn.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const UM=Symbol("");function Gs(e){const t=vt();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>Og(s,i))},o=()=>{const i=e(t.proxy);t.ce?Og(t.ce,i):VC(t.subTree,i),n(i)};p4(()=>{Dh(o)}),Dt(()=>{Le(o,Ot,{flush:"post"});const i=new MutationObserver(o);i.observe(t.subTree.el.parentNode,{childList:!0}),Or(()=>i.disconnect())})}function VC(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{VC(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Og(e.el,t);else if(e.type===Ze)e.children.forEach(n=>VC(n,t));else if(e.type===xl){let{el:n,anchor:o}=e;for(;n&&(Og(n,t),n!==o);)n=n.nextSibling}}function Og(e,t){if(e.nodeType===1){const n=e.style;let o="";for(const i in t){const s=e4(t[i]);n.setProperty(`--${i}`,s),o+=`--${i}: ${s};`}n[UM]=o}}const y$=/(?:^|;)\s*display\s*:/;function w$(e,t,n){const o=e.style,i=lt(n);let s=!1;if(n&&!i){if(t)if(lt(t))for(const r of t.split(";")){const a=r.slice(0,r.indexOf(":")).trim();n[a]==null&&f1(o,a,"")}else for(const r in t)n[r]==null&&f1(o,r,"");for(const r in n)r==="display"&&(s=!0),f1(o,r,n[r])}else if(i){if(t!==n){const r=o[UM];r&&(n+=";"+r),o.cssText=n,s=y$.test(n)}}else t&&e.removeAttribute("style");Fg in e&&(e[Fg]=s?o.display:"",e[zM]&&(o.display="none"))}const n6=/\s*!important$/;function f1(e,t,n){if(_e(n))n.forEach(o=>f1(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=S$(e,t);n6.test(n)?e.setProperty(ho(o),n.replace(n6,""),"important"):e[o]=n}}const o6=["Webkit","Moz","ms"],S2={};function S$(e,t){const n=S2[t];if(n)return n;let o=$n(t);if(o!=="filter"&&o in e)return S2[t]=o;o=ac(o);for(let i=0;i<o6.length;i++){const s=o6[i]+o;if(s in e)return S2[t]=s}return t}const i6="http://www.w3.org/1999/xlink";function s6(e,t,n,o,i,s=cP(t)){o&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(i6,t.slice(6,t.length)):e.setAttributeNS(i6,t,n):n==null||s&&!Um(n)?e.removeAttribute(t):e.setAttribute(t,s?"":yi(n)?String(n):n)}function r6(e,t,n,o,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?HM(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let r=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Um(n):n==null&&a==="string"?(n="",r=!0):a==="number"&&(n=0,r=!0)}try{e[t]=n}catch{}r&&e.removeAttribute(i||t)}function lr(e,t,n,o){e.addEventListener(t,n,o)}function E$(e,t,n,o){e.removeEventListener(t,n,o)}const a6=Symbol("_vei");function T$(e,t,n,o,i=null){const s=e[a6]||(e[a6]={}),r=s[t];if(o&&r)r.value=o;else{const[a,l]=R$(t);if(o){const c=s[t]=L$(o,i);lr(e,a,c,l)}else r&&(E$(e,a,r,l),s[t]=void 0)}}const l6=/(?:Once|Passive|Capture)$/;function R$(e){let t;if(l6.test(e)){t={};let o;for(;o=e.match(l6);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ho(e.slice(2)),t]}let E2=0;const P$=Promise.resolve(),M$=()=>E2||(P$.then(()=>E2=0),E2=Date.now());function L$(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;wi(x$(o,n.value),t,5,[o])};return n.value=e,n.attached=M$(),n}function x$(e,t){if(_e(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>i=>!i._stopped&&o&&o(i))}else return t}const c6=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,D$=(e,t,n,o,i,s)=>{const r=i==="svg";t==="class"?C$(e,o,r):t==="style"?w$(e,n,o):ed(t)?$m(t)||T$(e,t,n,o,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):k$(e,t,o,r))?(r6(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&s6(e,t,o,r,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!lt(o))?r6(e,$n(t),o,s,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),s6(e,t,o,r))};function k$(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&c6(t)&&qe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return c6(t)&&lt(n)?!1:t in e}const u6={};function jM(e,t,n){let o=ge(e,t);Tp(o)&&(o=en({},o,t));class i extends a0{constructor(r){super(o,r,n)}}return i.def=o,i}const A$=((e,t)=>jM(e,t,iL)),_$=typeof HTMLElement<"u"?HTMLElement:class{};class a0 extends _${constructor(t,n={},o=Bg){super(),this._def=t,this._props=n,this._createApp=o,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&o!==Bg?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(en({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof a0){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,ot(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let o=0;o<this.attributes.length;o++)this._setAttr(this.attributes[o].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(o,i=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:s,styles:r}=o;let a;if(s&&!_e(s))for(const l in s){const c=s[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=Ph(this._props[l])),(a||(a=Object.create(null)))[$n(l)]=!0)}this._numberProps=a,this._resolveProps(o),this.shadowRoot&&this._applyStyles(r),this._mount(o)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(o=>{o.configureApp=this._def.configureApp,t(this._def=o,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const o in n)Ft(this,o)||Object.defineProperty(this,o,{get:()=>C(n[o])})}_resolveProps(t){const{props:n}=t,o=_e(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&o.includes(i)&&this._setProp(i,this[i]);for(const i of o.map($n))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(s){this._setProp(i,s,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let o=n?this.getAttribute(t):u6;const i=$n(t);n&&this._numberProps&&this._numberProps[i]&&(o=Ph(o)),this._setProp(i,o,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,o=!0,i=!1){if(n!==this._props[t]&&(this._dirty=!0,n===u6?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),i&&this._instance&&this._update(),o)){const s=this._ob;s&&(this._processMutations(s.takeRecords()),s.disconnect()),n===!0?this.setAttribute(ho(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(ho(t),n+""):n||this.removeAttribute(ho(t)),s&&s.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),oL(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=oe(this._def,en(t,this._props));return this._instance||(n.ce=o=>{this._instance=o,o.ce=this,o.isCE=!0;const i=(s,r)=>{this.dispatchEvent(new CustomEvent(s,Tp(r[0])?en({detail:r},r[0]):{detail:r}))};o.emit=(s,...r)=>{i(s,r),ho(s)!==s&&i(ho(s),r)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const o=this._nonce;for(let i=t.length-1;i>=0;i--){const s=document.createElement("style");o&&s.setAttribute("nonce",o),s.textContent=t[i],this.shadowRoot.prepend(s)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const o=n.nodeType===1&&n.getAttribute("slot")||"default";(t[o]||(t[o]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=this._getSlots(),n=this._instance.type.__scopeId;for(let o=0;o<t.length;o++){const i=t[o],s=i.getAttribute("name")||"default",r=this._slots[s],a=i.parentNode;if(r)for(const l of r){if(n&&l.nodeType===1){const c=n+"-s",u=document.createTreeWalker(l,1);l.setAttribute(c,"");let d;for(;d=u.nextNode();)d.setAttribute(c,"")}a.insertBefore(l,i)}else for(;i.firstChild;)a.insertBefore(i.firstChild,i);a.removeChild(i)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const n=new Set;for(const o of t){const i=o.querySelectorAll("slot");for(let s=0;s<i.length;s++)n.add(i[s])}return Array.from(n)}_injectChildStyle(t){this._applyStyles(t.styles,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_removeChildStyle(t){}}function ZM(e){const t=vt(),n=t&&t.ce;return n||null}function I$(){const e=ZM();return e&&e.shadowRoot}function F$(e="$style"){{const t=vt();if(!t)return xt;const n=t.type.__cssModules;if(!n)return xt;const o=n[e];return o||xt}}const KM=new WeakMap,qM=new WeakMap,Ng=Symbol("_moveCb"),d6=Symbol("_enterCb"),O$=e=>(delete e.props.mode,e),N$=O$({name:"TransitionGroup",props:en({},$M,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=vt(),o=c4();let i,s;return dc(()=>{if(!i.length)return;const r=e.moveClass||`${e.name||"v"}-move`;if(!$$(i[0].el,n.vnode.el,r)){i=[];return}i.forEach(B$),i.forEach(H$);const a=i.filter(V$);HC(n.vnode.el),a.forEach(l=>{const c=l.el,u=c.style;Cs(c,r),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[Ng]=h=>{h&&h.target!==c||(!h||h.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",d),c[Ng]=null,aa(c,r))};c.addEventListener("transitionend",d)}),i=[]}),()=>{const r=Ct(e),a=WM(r);let l=r.tag||Ze;if(i=[],s)for(let c=0;c<s.length;c++){const u=s[c];u.el&&u.el instanceof Element&&(i.push(u),Tr(u,Su(u,a,o,n)),KM.set(u,{left:u.el.offsetLeft,top:u.el.offsetTop}))}s=t.default?e0(t.default()):[];for(let c=0;c<s.length;c++){const u=s[c];u.key!=null&&Tr(u,Su(u,a,o,n))}return oe(l,null,s)}}}),R4=N$;function B$(e){const t=e.el;t[Ng]&&t[Ng](),t[d6]&&t[d6]()}function H$(e){qM.set(e,{left:e.el.offsetLeft,top:e.el.offsetTop})}function V$(e){const t=KM.get(e),n=qM.get(e),o=t.left-n.left,i=t.top-n.top;if(o||i){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${o}px,${i}px)`,s.transitionDuration="0s",e}}function $$(e,t,n){const o=e.cloneNode(),i=e[Ru];i&&i.forEach(a=>{a.split(/\s+/).forEach(l=>l&&o.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&o.classList.add(a)),o.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(o);const{hasTransform:r}=GM(o);return s.removeChild(o),r}const Ma=e=>{const t=e.props["onUpdate:modelValue"]||!1;return _e(t)?n=>Rl(t,n):t};function W$(e){e.target.composing=!0}function h6(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const fi=Symbol("_assign");function p6(e,t,n){return t&&(e=e.trim()),n&&(e=Rp(e)),e}const Oh={created(e,{modifiers:{lazy:t,trim:n,number:o}},i){e[fi]=Ma(i);const s=o||i.props&&i.props.type==="number";lr(e,t?"change":"input",r=>{r.target.composing||e[fi](p6(e.value,n,s))}),(n||s)&&lr(e,"change",()=>{e.value=p6(e.value,n,s)}),t||(lr(e,"compositionstart",W$),lr(e,"compositionend",h6),lr(e,"change",h6))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:o,trim:i,number:s}},r){if(e[fi]=Ma(r),e.composing)return;const a=(s||e.type==="number")&&!/^0\d/.test(e.value)?Rp(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(o&&t===n||i&&e.value.trim()===l)||(e.value=l))}},Zl={deep:!0,created(e,t,n){e[fi]=Ma(n),lr(e,"change",()=>{const o=e._modelValue,i=Pu(e),s=e.checked,r=e[fi];if(_e(o)){const a=Mp(o,i),l=a!==-1;if(s&&!l)r(o.concat(i));else if(!s&&l){const c=[...o];c.splice(a,1),r(c)}}else if(Wa(o)){const a=new Set(o);s?a.add(i):a.delete(i),r(a)}else r(XM(e,s))})},mounted:f6,beforeUpdate(e,t,n){e[fi]=Ma(n),f6(e,t,n)}};function f6(e,{value:t,oldValue:n},o){e._modelValue=t;let i;if(_e(t))i=Mp(t,o.props.value)>-1;else if(Wa(t))i=t.has(o.props.value);else{if(t===n)return;i=Sr(t,XM(e,!0))}e.checked!==i&&(e.checked=i)}const Ip={created(e,{value:t},n){e.checked=Sr(t,n.props.value),e[fi]=Ma(n),lr(e,"change",()=>{e[fi](Pu(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e[fi]=Ma(o),t!==n&&(e.checked=Sr(t,o.props.value))}},YM={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const i=Wa(t);lr(e,"change",()=>{const s=Array.prototype.filter.call(e.options,r=>r.selected).map(r=>n?Rp(Pu(r)):Pu(r));e[fi](e.multiple?i?new Set(s):s:s[0]),e._assigning=!0,ot(()=>{e._assigning=!1})}),e[fi]=Ma(o)},mounted(e,{value:t}){g6(e,t)},beforeUpdate(e,t,n){e[fi]=Ma(n)},updated(e,{value:t}){e._assigning||g6(e,t)}};function g6(e,t){const n=e.multiple,o=_e(t);if(!(n&&!o&&!Wa(t))){for(let i=0,s=e.options.length;i<s;i++){const r=e.options[i],a=Pu(r);if(n)if(o){const l=typeof a;l==="string"||l==="number"?r.selected=t.some(c=>String(c)===String(a)):r.selected=Mp(t,a)>-1}else r.selected=t.has(a);else if(Sr(Pu(r),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Pu(e){return"_value"in e?e._value:e.value}function XM(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const JM={created(e,t,n){Rf(e,t,n,null,"created")},mounted(e,t,n){Rf(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){Rf(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){Rf(e,t,n,o,"updated")}};function QM(e,t){switch(e){case"SELECT":return YM;case"TEXTAREA":return Oh;default:switch(t){case"checkbox":return Zl;case"radio":return Ip;default:return Oh}}}function Rf(e,t,n,o,i){const r=QM(e.tagName,n.props&&n.props.type)[i];r&&r(e,t,n,o)}function G$(){Oh.getSSRProps=({value:e})=>({value:e}),Ip.getSSRProps=({value:e},t)=>{if(t.props&&Sr(t.props.value,e))return{checked:!0}},Zl.getSSRProps=({value:e},t)=>{if(_e(e)){if(t.props&&Mp(e,t.props.value)>-1)return{checked:!0}}else if(Wa(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},JM.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=QM(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const z$=["ctrl","shift","alt","meta"],U$={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>z$.some(n=>e[`${n}Key`]&&!t.includes(n))},St=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=((i,...s)=>{for(let r=0;r<t.length;r++){const a=U$[t[r]];if(a&&a(i,t))return}return e(i,...s)}))},j$={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Qt=(e,t)=>{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=(i=>{if(!("key"in i))return;const s=ho(i.key);if(t.some(r=>r===s||j$[r]===s))return e(i)}))},eL=en({patchProp:D$},f$);let th,m6=!1;function tL(){return th||(th=fM(eL))}function nL(){return th=m6?th:gM(eL),m6=!0,th}const oL=((...e)=>{tL().render(...e)}),Z$=((...e)=>{nL().hydrate(...e)}),Bg=((...e)=>{const t=tL().createApp(...e),{mount:n}=t;return t.mount=o=>{const i=rL(o);if(!i)return;const s=t._component;!qe(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const r=n(i,!1,sL(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},t}),iL=((...e)=>{const t=nL().createApp(...e),{mount:n}=t;return t.mount=o=>{const i=rL(o);if(i)return n(i,!0,sL(i))},t});function sL(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function rL(e){return lt(e)?document.querySelector(e):e}let v6=!1;const K$=()=>{v6||(v6=!0,G$(),b$())},zFe=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:ZP,BaseTransitionPropsValidators:u4,Comment:Sn,DeprecationTypes:d$,EffectScope:t4,ErrorCodes:xH,ErrorTypeStrings:i$,Fragment:Ze,KeepAlive:tV,ReactiveEffect:Mh,Static:xl,Suspense:BV,Teleport:xp,Text:Yi,TrackOpTypes:CH,Transition:Ti,TransitionGroup:R4,TriggerOpTypes:bH,VueElement:a0,assertNumber:LH,callWithAsyncErrorHandling:wi,callWithErrorHandling:cc,camelize:$n,capitalize:ac,cloneVNode:ns,compatUtils:u$,computed:M,createApp:Bg,createBlock:ve,createCommentVNode:Se,createElementBlock:ee,createElementVNode:re,createHydrationRenderer:gM,createPropsRestProxy:pV,createRenderer:fM,createSSRApp:iL,createSlots:Si,createStaticVNode:jV,createTextVNode:mt,createVNode:oe,customRef:_P,defineAsyncComponent:ra,defineComponent:ge,defineCustomElement:jM,defineEmits:rV,defineExpose:aV,defineModel:uV,defineOptions:lV,defineProps:sV,defineSSRCustomElement:A$,defineSlots:cV,devtools:s$,effect:UB,effectScope:jm,getCurrentInstance:vt,getCurrentScope:lc,getCurrentWatcher:yH,getTransitionRawChildren:e0,guardReactiveProps:as,h:Ii,handleError:uc,hasInjectionContext:o0,hydrate:Z$,hydrateOnIdle:KH,hydrateOnInteraction:JH,hydrateOnMediaQuery:XH,hydrateOnVisible:YH,initCustomFormatter:n$,initDirectivesForSSR:K$,inject:je,isMemoSame:OM,isProxy:Xm,isReactive:Ls,isReadonly:Er,isRef:_t,isRuntimeOnly:XV,isShallow:Jo,isVNode:Ei,markRaw:Jm,mergeDefaults:hV,mergeModels:Eu,mergeProps:Rt,nextTick:ot,normalizeClass:U,normalizeProps:_i,normalizeStyle:ft,onActivated:h4,onBeforeMount:td,onBeforeUnmount:Mn,onBeforeUpdate:p4,onDeactivated:t0,onErrorCaptured:f4,onMounted:Dt,onRenderTracked:eM,onRenderTriggered:QP,onScopeDispose:Lp,onServerPrefetch:JP,onUnmounted:Or,onUpdated:dc,onWatcherCleanup:FP,openBlock:N,popScopeId:IH,provide:Ut,proxyRefs:a4,pushScopeId:_H,queuePostFlushCb:Dh,reactive:Rn,readonly:ao,ref:J,registerRuntimeCompiler:YV,render:oL,renderList:Tt,renderSlot:ke,resolveComponent:Ke,resolveDirective:m4,resolveDynamicComponent:vn,resolveFilter:c$,resolveTransitionHooks:Su,setBlockTracking:Fh,setDevtoolsHook:r$,setTransitionHooks:Tr,shallowReactive:s4,shallowReadonly:r4,shallowRef:pt,ssrContextKey:bM,ssrUtils:l$,stop:jB,toDisplayString:Be,toHandlerKey:ou,toHandlers:nM,toRaw:Ct,toRef:rn,toRefs:ts,toValue:En,transformVNodeArgs:zV,triggerRef:Oc,unref:C,useAttrs:kp,useCssModule:F$,useCssVars:Gs,useHost:ZM,useId:BH,useModel:i0,useSSRContext:yM,useShadowRoot:I$,useSlots:Nr,useTemplateRef:HH,useTransitionState:c4,vModelCheckbox:Zl,vModelDynamic:JM,vModelRadio:Ip,vModelSelect:YM,vModelText:Oh,vShow:Dn,version:NM,warn:BM,watch:Le,watchEffect:E4,watchPostEffect:xV,watchSyncEffect:wM,withAsyncContext:fV,withCtx:se,withDefaults:dV,withDirectives:Pt,withKeys:Qt,withMemo:o$,withModifiers:St,withScopeId:FH},Symbol.toStringTag,{value:"Module"}));var Pf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};
vendor: 5,124 bytes, line 36
36function P4(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $C={exports:{}},q$=$C.exports,C6;function Y$(){return C6||(C6=1,(function(e,t){(function(n,o){e.exports=o()})(q$,function(){var n=1e3,o=6e4,i=36e5,s="millisecond",r="second",a="minute",l="hour",c="day",u="week",d="month",h="quarter",p="year",f="date",g="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(F){var _=["th","st","nd","rd"],P=F%100;return"["+F+(_[(P-20)%10]||_[P]||_[0])+"]"}},b=function(F,_,P){var L=String(F);return!L||L.length>=_?F:""+Array(_+1-L.length).join(P)+F},w={s:b,z:function(F){var _=-F.utcOffset(),P=Math.abs(_),L=Math.floor(P/60),x=P%60;return(_<=0?"+":"-")+b(L,2,"0")+":"+b(x,2,"0")},m:function F(_,P){if(_.date()<P.date())return-F(P,_);var L=12*(P.year()-_.year())+(P.month()-_.month()),x=_.clone().add(L,d),I=P-x<0,B=_.clone().add(L+(I?-1:1),d);return+(-(L+(P-x)/(I?x-B:B-x))||0)},a:function(F){return F<0?Math.ceil(F)||0:Math.floor(F)},p:function(F){return{M:d,y:p,w:u,d:c,D:f,h:l,m:a,s:r,ms:s,Q:h}[F]||String(F||"").toLowerCase().replace(/s$/,"")},u:function(F){return F===void 0}},S="en",E={};E[S]=y;var T="$isDayjsObject",R=function(F){return F instanceof V||!(!F||!F[T])},A=function F(_,P,L){var x;if(!_)return S;if(typeof _=="string"){var I=_.toLowerCase();E[I]&&(x=I),P&&(E[I]=P,x=I);var B=_.split("-");if(!x&&B.length>1)return F(B[0])}else{var z=_.name;E[z]=_,x=z}return!L&&x&&(S=x),x||!L&&S},k=function(F,_){if(R(F))return F.clone();var P=typeof _=="object"?_:{};return P.date=F,P.args=arguments,new V(P)},D=w;D.l=A,D.i=R,D.w=function(F,_){return k(F,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var V=(function(){function F(P){this.$L=A(P.locale,null,!0),this.parse(P),this.$x=this.$x||P.x||{},this[T]=!0}var _=F.prototype;return _.parse=function(P){this.$d=(function(L){var x=L.date,I=L.utc;if(x===null)return new Date(NaN);if(D.u(x))return new Date;if(x instanceof Date)return new Date(x);if(typeof x=="string"&&!/Z$/i.test(x)){var B=x.match(m);if(B){var z=B[2]-1||0,H=(B[7]||"0").substring(0,3);return I?new Date(Date.UTC(B[1],z,B[3]||1,B[4]||0,B[5]||0,B[6]||0,H)):new Date(B[1],z,B[3]||1,B[4]||0,B[5]||0,B[6]||0,H)}}return new Date(x)})(P),this.init()},_.init=function(){var P=this.$d;this.$y=P.getFullYear(),this.$M=P.getMonth(),this.$D=P.getDate(),this.$W=P.getDay(),this.$H=P.getHours(),this.$m=P.getMinutes(),this.$s=P.getSeconds(),this.$ms=P.getMilliseconds()},_.$utils=function(){return D},_.isValid=function(){return this.$d.toString()!==g},_.isSame=function(P,L){var x=k(P);return this.startOf(L)<=x&&x<=this.endOf(L)},_.isAfter=function(P,L){return k(P)<this.startOf(L)},_.isBefore=function(P,L){return this.endOf(L)<k(P)},_.$g=function(P,L,x){return D.u(P)?this[L]:this.set(x,P)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(P,L){var x=this,I=!!D.u(L)||L,B=D.p(P),z=function(le,ae){var Re=D.w(x.$u?Date.UTC(x.$y,ae,le):new Date(x.$y,ae,le),x);return I?Re:Re.endOf(c)},H=function(le,ae){return D.w(x.toDate()[le].apply(x.toDate("s"),(I?[0,0,0,0]:[23,59,59,999]).slice(ae)),x)},j=this.$W,Q=this.$M,ce=this.$D,pe="set"+(this.$u?"UTC":"");switch(B){case p:return I?z(1,0):z(31,11);case d:return I?z(1,Q):z(0,Q+1);case u:var te=this.$locale().weekStart||0,ne=(j<te?j+7:j)-te;return z(I?ce-ne:ce+(6-ne),Q);case c:case f:return H(pe+"Hours",0);case l:return H(pe+"Minutes",1);case a:return H(pe+"Seconds",2);case r:return H(pe+"Milliseconds",3);default:return this.clone()}},_.endOf=function(P){return this.startOf(P,!1)},_.$set=function(P,L){var x,I=D.p(P),B="set"+(this.$u?"UTC":""),z=(x={},x[c]=B+"Date",x[f]=B+"Date",x[d]=B+"Month",x[p]=B+"FullYear",x[l]=B+"Hours",x[a]=B+"Minutes",x[r]=B+"Seconds",x[s]=B+"Milliseconds",x)[I],H=I===c?this.$D+(L-this.$W):L;if(I===d||I===p){var j=this.clone().set(f,1);j.$d[z](H),j.init(),this.$d=j.set(f,Math.min(this.$D,j.daysInMonth())).$d}else z&&this.$d[z](H);return this.init(),this},_.set=function(P,L){return this.clone().$set(P,L)},_.get=function(P){return this[D.p(P)]()},_.add=function(P,L){var x,I=this;P=Number(P);var B=D.p(L),z=function(Q){var ce=k(I);return D.w(ce.date(ce.date()+Math.round(Q*P)),I)};if(B===d)return this.set(d,this.$M+P);if(B===p)return this.set(p,this.$y+P);if(B===c)return z(1);if(B===u)return z(7);var H=(x={},x[a]=o,x[l]=i,x[r]=n,x)[B]||1,j=this.$d.getTime()+P*H;return D.w(j,this)},_.subtract=function(P,L){return this.add(-1*P,L)},_.format=function(P){var L=this,x=this.$locale();if(!this.isValid())return x.invalidDate||g;var I=P||"YYYY-MM-DDTHH:mm:ssZ",B=D.z(this),z=this.$H,H=this.$m,j=this.$M,Q=x.weekdays,ce=x.months,pe=x.meridiem,te=function(ae,Re,Oe,W){return ae&&(ae[Re]||ae(L,I))||Oe[Re].slice(0,W)},ne=function(ae){return D.s(z%12||12,ae,"0")}
36,le=pe||function(ae,Re,Oe){var W=ae<12?"AM":"PM";return Oe?W.toLowerCase():W};return I.replace(v,function(ae,Re){return Re||(function(Oe){switch(Oe){case"YY":return String(L.$y).slice(-2);case"YYYY":return D.s(L.$y,4,"0");case"M":return j+1;case"MM":return D.s(j+1,2,"0");case"MMM":return te(x.monthsShort,j,ce,3);case"MMMM":return te(ce,j);case"D":return L.$D;case"DD":return D.s(L.$D,2,"0");case"d":return String(L.$W);case"dd":return te(x.weekdaysMin,L.$W,Q,2);case"ddd":return te(x.weekdaysShort,L.$W,Q,3);case"dddd":return Q[L.$W];case"H":return String(z);case"HH":return D.s(z,2,"0");case"h":return ne(1);case"hh":return ne(2);case"a":return le(z,H,!0);case"A":return le(z,H,!1);case"m":return String(H);case"mm":return D.s(H,2,"0");case"s":return String(L.$s);case"ss":return D.s(L.$s,2,"0");case"SSS":return D.s(L.$ms,3,"0");case"Z":return B}return null})(ae)||B.replace(":","")})},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(P,L,x){var I,B=this,z=D.p(L),H=k(P),j=(H.utcOffset()-this.utcOffset())*o,Q=this-H,ce=function(){return D.m(B,H)};switch(z){case p:I=ce()/12;break;case d:I=ce();break;case h:I=ce()/3;break;case u:I=(Q-j)/6048e5;break;case c:I=(Q-j)/864e5;break;case l:I=Q/i;break;case a:I=Q/o;break;case r:I=Q/n;break;default:I=Q}return x?I:D.a(I)},_.daysInMonth=function(){return this.endOf(d).$D},_.$locale=function(){return E[this.$L]},_.locale=function(P,L){if(!P)return this.$L;var x=this.clone(),I=A(P,L,!0);return I&&(x.$L=I),x},_.clone=function(){return D.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},F})(),O=V.prototype;return k.prototype=O,[["$ms",s],["$s",r],["$m",a],["$H",l],["$W",c],["$M",d],["$y",p],["$D",f]].forEach(function(F){O[F[1]]=function(_){return this.$g(_,F[0],F[1])}}),k.extend=function(F,_){return F.$i||(F(_,V,k),F.$i=!0),k},k.locale=A,k.isDayjs=R,k.unix=function(F){return k(1e3*F)},k.en=E[S],k.Ls=E,k.p={},k})})($C)),$C.exports}var X$=Y$();const J$=P4(X$);var T2,b6;function M4(){if(b6)return T2;b6=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return T2=e,T2}var R2,y6;function Q$(){if(y6)return R2;y6=1;var e=typeof Pf=="object"&&Pf&&Pf.Object===Object&&Pf;return R2=e,R2}var P2,w6;function aL(){if(w6)return P2;w6=1;var e=Q$(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return P2=n,P2}var M2,S6;function eW(){if(S6)return M2;S6=1;var e=aL(),t=function(){return e.Date.now()};return M2=t,M2}var L2,E6;function tW(){if(E6)return L2;E6=1;var e=/\s/;function t(n){for(var o=n.length;o--&&e.test(n.charAt(o)););return o}return L2=t,L2}var x2,T6;function nW(){if(T6)return x2;T6=1;var e=tW(),t=/^\s+/;function n(o){return o&&o.slice(0,e(o)+1).replace(t,"")}return x2=n,x2}var D2,R6;function lL(){if(R6)return D2;R6=1;var e=aL(),t=e.Symbol;return D2=t,D2}var k2,P6;function oW(){if(P6)return k2;P6=1;var e=lL(),t=Object.prototype,n=t.hasOwnProperty,o=t.toString,i=e?e.toStringTag:void 0;function s(r){var a=n.call(r,i),l=r[i];try{r[i]=void 0;var c=!0}catch{}var u=o.call(r);return c&&(a?r[i]=l:delete r[i]),u}return k2=s,k2}var A2,M6;function iW(){if(M6)return A2;M6=1;var e=Object.prototype,t=e.toString;function n(o){return t.call(o)}return A2=n,A2}var _2,L6;function sW(){if(L6)return _2;L6=1;var e=lL(),t=oW(),n=iW(),o="[object Null]",i="[object Undefined]",s=e?e.toStringTag:void 0;function r(a){return a==null?a===void 0?i:o:s&&s in Object(a)?t(a):n(a)}return _2=r,_2}var I2,x6;function rW(){if(x6)return I2;x6=1;function e(t){return t!=null&&typeof t=="object"}return I2=e,I2}var F2,D6;function aW(){if(D6)return F2;D6=1;var e=sW(),t=rW(),n="[object Symbol]";function o(i){return typeof i=="symbol"||t(i)&&e(i)==n}return F2=o,F2}var O2,k6;function lW(){if(k6)return O2;k6=1;var e=nW(),t=M4(),n=aW(),o=NaN,i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,r=/^0o[0-7]+$/i,a=parseInt;function l(c){if(typeof c=="number")return c;if(n(c))return o;if(t(c)){var u=typeof c.valueOf=="function"?c.valueOf():c;c=t(u)?u+"":u}if(typeof c!="string")return c===0?c:+c;c=e(c);var d=s.test(c);return d||r.test(c)?a(c.slice(2),d?2:8):i.test(c)?o:+c}return O2=l,O2}var N2,A6;function cL(){if(A6)return N2;A6=1;var e=M4(),t=eW(),n=lW(),o="Expected a function",i=Math.max,s=Math.min;function r(a,l,c){var u,d,h,p,f,g,m=0,v=!1,y=!1,b=!0;if(typeof a!="function")throw new TypeError(o);l=n(l)||0,e(c)&&(v=!!c.leading,y="maxWait"in c,h=y?i(n(c.maxWait)||0,l):h,b="trailing"in c?!!c.trailing:b);function w(O){var F=u,_=d;return u=d=void 0,m=O,p=a.apply(_,F),p}function S(O){return m=O,f=setTimeout(R,l),v?w(O):p}function E(O){var F=O-g,_=O-m,P=l-F;return y?s(P,h-_):P}function T(O){var F=O-g,_=O-m;return g===void 0||F>=l||F<0||y&&_>=h}function R(){var O=t();if(T(O))return A(O);f=setTimeout(R,E(O))}function A(O){return f=void 0,b&&u?w(O):(u=d=void 0,p)}function k(){f!==void 0&&clearTimeout(f),m=0,u=g=d=f=void 0}function D(){return f===void 0?p:A(t())}function V(){var O=t(),F=T(O);if(u=arguments,d=this,g=O,F){if(f===void 0)return S(g);if(y)return clearTimeout(f),f=setTimeout(R,l),w(g)}return f===void 0&&(f=setTimeout(R,l)),p}return V.cancel=k,V.flush=D,V}return N2=r,N2}var cW=cL();const B2=P4(cW);var H2,_6;function uW(){if(_6)return H2;_6=1;var e=cL(),t=M4(),n="Expected a function";function o(i,s,r){var a=!0,l=!0;if(typeof i!="function")throw new TypeError(n);return t(r)&&(a="leading"in r?!!r.leading:a,l="trailing"in r?!!r.trailing:l),e(i,s,{leading:a,maxWait:s,trailing:l})}return H2=o,H2}var dW=uW();const hW=P4(dW);var Zc=function(){return Zc=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Zc.apply(this,arguments)};function uL(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function dL(e){return!e||!e.ownerDocument?document:e.ownerDocument}var hL=function(e){var t={},n=Array.prototype.reduce.call(e,function(o,i){var s=i.name.match(/data-simplebar-(.+)/);if(s){var r=s[1].replace(/\W+(.)/g,function(a,l){return l.toUpperCase()});switch(i.value){case"true":o[r]=!0;break;case"false":o[r]=!1;break;case void 0:o[r]=!0;break;default:o[r]=i.value}}return o},t);return n};function pL(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function fL(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function gL(e){return".".concat(e.split(" ").join("."))}var L4=!!(typeof window<"u"&&window.document&&window.document.createElement),pW=Object.freeze({__proto__:null,addClasses:pL,canUseDOM:L4,classNamesToQuery:gL,getElementDocument:dL,getElementWindow:uL,getOptions:hL,removeClasses:fL}),Hc=null,I6=null;L4&&window.addEventListener("resize",function(){I6!==window.devicePixelRatio&&(I6=window.devicePixelRatio,Hc=null)});function F6(){if(Hc===null){if(typeof document>"u")return Hc=0,Hc;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),Hc=n}return Hc}var Ur=uL,V2=dL,fW=hL,jr=pL,Zr=fL,Lo=gL,nh=(function(){function e(t,n){n===void 0&&(n={});var o=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var i=Ur(o.el);o.scrollXTicking||(i.requestAnimationFrame(o.scrollX),o.scrollXTicking=!0),o.scrollYTicking||(i.requestAnimationFrame(o.scrollY),o.scrollYTicking=!0),o.isScrolling||(o.isScrolling=!0,jr(
36o.el,o.classNames.scrolling)),o.showScrollbar("x"),o.showScrollbar("y"),o.onStopScrolling()},this.scrollX=function(){o.axis.x.isOverflowing&&o.positionScrollbar("x"),o.scrollXTicking=!1},this.scrollY=function(){o.axis.y.isOverflowing&&o.positionScrollbar("y"),o.scrollYTicking=!1},this._onStopScrolling=function(){Zr(o.el,o.classNames.scrolling),o.options.autoHide&&(o.hideScrollbar("x"),o.hideScrollbar("y")),o.isScrolling=!1},this.onMouseEnter=function(){o.isMouseEntering||(jr(o.el,o.classNames.mouseEntered),o.showScrollbar("x"),o.showScrollbar("y"),o.isMouseEntering=!0),o.onMouseEntered()},this._onMouseEntered=function(){Zr(o.el,o.classNames.mouseEntered),o.options.autoHide&&(o.hideScrollbar("x"),o.hideScrollbar("y")),o.isMouseEntering=!1},this._onMouseMove=function(i){o.mouseX=i.clientX,o.mouseY=i.clientY,(o.axis.x.isOverflowing||o.axis.x.forceVisible)&&o.onMouseMoveForAxis("x"),(o.axis.y.isOverflowing||o.axis.y.forceVisible)&&o.onMouseMoveForAxis("y")},this.onMouseLeave=function(){o.onMouseMove.cancel(),(o.axis.x.isOverflowing||o.axis.x.forceVisible)&&o.onMouseLeaveForAxis("x"),(o.axis.y.isOverflowing||o.axis.y.forceVisible)&&o.onMouseLeaveForAxis("y"),o.mouseX=-1,o.mouseY=-1},this._onWindowResize=function(){o.scrollbarWidth=o.getScrollbarWidth(),o.hideNativeScrollbar()},this.onPointerEvent=function(i){if(!(!o.axis.x.track.el||!o.axis.y.track.el||!o.axis.x.scrollbar.el||!o.axis.y.scrollbar.el)){var s,r;o.axis.x.track.rect=o.axis.x.track.el.getBoundingClientRect(),o.axis.y.track.rect=o.axis.y.track.el.getBoundingClientRect(),(o.axis.x.isOverflowing||o.axis.x.forceVisible)&&(s=o.isWithinBounds(o.axis.x.track.rect)),(o.axis.y.isOverflowing||o.axis.y.forceVisible)&&(r=o.isWithinBounds(o.axis.y.track.rect)),(s||r)&&(i.stopPropagation(),i.type==="pointerdown"&&i.pointerType!=="touch"&&(s&&(o.axis.x.scrollbar.rect=o.axis.x.scrollbar.el.getBoundingClientRect(),o.isWithinBounds(o.axis.x.scrollbar.rect)?o.onDragStart(i,"x"):o.onTrackClick(i,"x")),r&&(o.axis.y.scrollbar.rect=o.axis.y.scrollbar.el.getBoundingClientRect(),o.isWithinBounds(o.axis.y.scrollbar.rect)?o.onDragStart(i,"y"):o.onTrackClick(i,"y"))))}},this.drag=function(i){var s,r,a,l,c,u,d,h,p,f,g;if(!(!o.draggedAxis||!o.contentWrapperEl)){var m,v=o.axis[o.draggedAxis].track,y=(r=(s=v.rect)===null||s===void 0?void 0:s[o.axis[o.draggedAxis].sizeAttr])!==null&&r!==void 0?r:0,b=o.axis[o.draggedAxis].scrollbar,w=(l=(a=o.contentWrapperEl)===null||a===void 0?void 0:a[o.axis[o.draggedAxis].scrollSizeAttr])!==null&&l!==void 0?l:0,S=parseInt((u=(c=o.elStyles)===null||c===void 0?void 0:c[o.axis[o.draggedAxis].sizeAttr])!==null&&u!==void 0?u:"0px",10);i.preventDefault(),i.stopPropagation(),o.draggedAxis==="y"?m=i.pageY:m=i.pageX;var E=m-((h=(d=v.rect)===null||d===void 0?void 0:d[o.axis[o.draggedAxis].offsetAttr])!==null&&h!==void 0?h:0)-o.axis[o.draggedAxis].dragOffset;E=o.draggedAxis==="x"&&o.isRtl?((f=(p=v.rect)===null||p===void 0?void 0:p[o.axis[o.draggedAxis].sizeAttr])!==null&&f!==void 0?f:0)-b.size-E:E;var T=E/(y-b.size),R=T*(w-S);o.draggedAxis==="x"&&o.isRtl&&(R=!((g=e.getRtlHelpers())===null||g===void 0)&&g.isScrollingToNegative?-R:R),o.contentWrapperEl[o.axis[o.draggedAxis].scrollOffsetAttr]=R}},this.onEndDrag=function(i){o.isDragging=!1;var s=V2(o.el),r=Ur(o.el);i.preventDefault(),i.stopPropagation(),Zr(o.el,o.classNames.dragging),o.onStopScrolling(),s.removeEventListener("mousemove",o.drag,!0),s.removeEventListener("mouseup",o.onEndDrag,!0),o.removePreventClickId=r.setTimeout(function(){s.removeEventListener("click",o.preventClick,!0),s.removeEventListener("dblclick",o.preventClick,!0),o.removePreventClickId=null})},this.preventClick=function(i){i.preventDefault(),i.stopPropagation()},this.el=t,this.options=Zc(Zc({},e.defaultOptions),n),this.classNames=Zc(Zc({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=hW(this._onMouseMove,64),this.onWindowResize=B2(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=B2(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=B2(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,o=n?.firstElementChild;if(!o)return null;document.body.appendChild(n),n.scrollLeft=0;var i=e.getOffset(n),s=e.getOffset(o);n.scrollLeft=-999;var r=e.getOffset(o);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:i.left!==s.left,isScrollingToNegative:s.left!==r.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:F6()}catch{return F6()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),o=V2(t),i=Ur(t);return{top:n.top+(i.pageYOffset||o.documentElement.scrollTop),left
36:n.left+(i.pageXOffset||o.documentElement.scrollLeft)}},e.prototype.init=function(){L4&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,n;this.wrapperEl=this.el.querySelector(Lo(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(Lo(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(Lo(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(Lo(this.classNames.offset)),this.maskEl=this.el.querySelector(Lo(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,Lo(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(Lo(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(Lo(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(Lo(this.classNames.track)).concat(Lo(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(Lo(this.classNames.track)).concat(Lo(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(Lo(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(Lo(this.classNames.scrollbar)))||null,this.options.autoHide||(jr(this.axis.x.scrollbar.el,this.classNames.visible),jr(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,o=Ur(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(n=this.contentWrapperEl)===null||n===void 0||n.addEventListener("scroll",this.onScroll),o.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var i=!1,s=o.ResizeObserver||ResizeObserver;this.resizeObserver=new s(function(){i&&o.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),o.requestAnimationFrame(function(){i=!0})}this.mutationObserver=new o.MutationObserver(function(){o.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=Ur(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var n=this.contentEl.offsetWidth,o=this.heightAutoObserverEl.offsetHeight<=1,i=this.heightAutoObserverEl.offsetWidth<=1||n>0,s=this.contentWrapperEl.offsetWidth,r=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var l=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=o?"auto":"100%",this.placeholderEl.style.width=i?"".concat(n||c,"px"):"auto",this.placeholderEl.style.height="".concat(l,"px");var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&c>n,this.axis.y.isOverflowing=l>u,this.axis.x.isOverflowing=r==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=a==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var d=this.axis.x.isOverflowing?this.scrollbarWidth:0,h=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>s-h,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&l>u-d,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var n,o;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var i=this.contentEl[this.axis[t].scrollSizeAttr],s=(o=(n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])!==null&&o!==void 0?o:0,r=s/i,a;return a=Math.max(~~(r*s),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(a=Math.min(a,this.options.scrollbarMaxSize)),a},e.prototype.positionScrollbar=function(t){var n,o,i;t===void 0&&(t="y");var s=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!s.el||!this.elStyles)){var r=this.contentWrapperEl[this.axis[t].scrollSizeAttr],a=((n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])||0,l=parseInt(this.elStyles[this.axis[t].sizeAttr],10),c=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];c=t==="x"&&this.isRtl&&!((o=e.getRtlHelpers())===null||o===void 0)&&o.isScrollOriginAtZero?-c:c,t==="x"&&this.isRtl&&(c=!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollingToNegative?c:-c);var u=c/(r-l),d=~~((a-s.size)*u);d=t==="x"&&this.isRtl?-d+(a-s.size):d,s.el.style.transform=t==="x"?"translate3d(".concat(d,"px, 0, 0)"):"translate3d(0, ".concat(d,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var n=this.axis[t].track.el,o=this.axis[t].scrollbar.el;!n||!o||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(n.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(n.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?o.style.display="block":o.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(jr(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),!this.isDragging&&this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(Zr(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var n=this.axis[t];!n.track.el||!n.scrollbar.el||(n.track.rect=n.track.el.getBoundingClientRect(),n.scrollbar.rect=n.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(n.track.rect)?(this.showScrollbar(t),jr(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?jr(n.scrollbar.el,this.classNames.hover):Zr(n.scrollbar.el,this.classNames.hover)):(Zr(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),Zr(this.axis[t].track.el,this.classNames.hover),Zr(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,n){var o;n===void 0&&(n="y"),this.isDragging=!0;var i=V2(this.el),s=Ur(this.el),r=this.axis[n].scrollbar,a=n==="y"?t.pageY:t.pageX;this.axis[n].dragOffset=a-(((o=r.rect)===null||o===void 0?void 0:o[this.axis[n].offsetAttr])||0),this.draggedAxis=n,jr(this.el,this.classNames.dragging),i.addEventListener("mousemove",this.drag,!0),i.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(i.addEventListener("click",this.preventClick,!0),i.addEventListener("dblclick",this.preventClick,!0)):(s.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,n){var o=this,i,s,r,a;n===void 0&&(n="y");var l=this.axis[n];if(!(!this.options.clickOnTrack||!l.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var c=Ur(this.el);this.axis[n].scrollbar.rect=l.scrollbar.el.getBoundingClientRect();var u=this.axis[n].scrollbar,d=(s=(i=u.rect)===null||i===void 0?void 0:i[this.axis[n].offsetAttr])!==null&&s!==void 0?s:0,h=parseInt((a=(r=this.elStyles)===null||r===void 0?void 0:r[this.axis[n].sizeAttr])!==null&&a!==void 0?a:"0px",10),p=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],f=n==="y"?this.mouseY-d:this.mouseX-d,g=f<0?-1:1,m=g===-1?p-h:p+h,v=40,y=function(){o.contentWrapperEl&&(g===-1?p>m&&(p-=v,o.contentWrapperEl[o.axis[n].scrollOffsetAttr]=p,c.requestAnimationFrame(y)):p<m&&(p+=v,o.contentWrapperEl[o.axis[n].scrollOffsetAttr]=p,c.requestAnimationFrame(y)))};y()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=Ur(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,n){var o=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(i){return o.call(i,n)})[0]}
36,e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=fW,e.helpers=pW,e})(),fl=function(){return fl=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},fl.apply(this,arguments)},gW={beforeUnmount:"beforeUnmount"},Pd;function mW(e){var t,n=e.h,o=e.emit,i=e.slots,s=e.props,r=function(l){return o("scroll",l)},a=fl(fl({},nh.defaultOptions.classNames),s.classNames);return n("div",fl({ref:"element"},{"data-simplebar":"init"}),[n("div",{class:a.wrapper},[n("div",{class:a.heightAutoObserverWrapperEl},[n("div",{class:a.heightAutoObserverEl})]),n("div",{class:a.mask},[n("div",{class:a.offset},[n("div",fl(fl({},{onScroll:r,class:a.contentWrapper,tabIndex:s.tabIndex||nh.defaultOptions.tabIndex,role:"region","aria-label":s.ariaLabel||nh.defaultOptions.ariaLabel}),{ref:"scrollElement"}),[n("div",{class:a.contentEl,ref:"contentElement"},(t=i.default)===null||t===void 0?void 0:t.call(i))])])]),n("div",{class:a.placeholder})]),n("div",{class:"".concat(a.track," simplebar-horizontal")},[n("div",{class:a.scrollbar})]),n("div",{class:"".concat(a.track," simplebar-vertical")},[n("div",{class:a.scrollbar})])])}Pd={name:"simplebar-vue",props:{autoHide:{type:Boolean,default:void 0},classNames:Object,forceVisible:{type:[Boolean,String],validator:function(e){return typeof e=="boolean"||e==="x"||e==="y"},default:void 0},ariaLabel:String,tabIndex:Number,direction:{type:String,validator:function(e){return e==="ltr"||e==="rtl"}},timeout:Number,clickOnTrack:{type:Boolean,default:void 0},scrollbarMinSize:Number,scrollbarMaxSize:Number},emits:["scroll"],data:function(){return{}},mounted:function(){for(var e=nh.getOptions(this.$refs.element.attributes),t=0,n=Object.entries(this.$props);t<n.length;t++){var o=n[t],i=o[0],s=o[1];s!=null&&typeof s!="function"&&(e[i]=s)}this.SimpleBar=new nh(this.$refs.element,e),this.scrollElement=this.$refs.scrollElement,this.contentElement=this.$refs.contentElement}},Pd[gW.beforeUnmount]=function(){var e;(e=this.SimpleBar)===null||e===void 0||e.unMount(),this.SimpleBar=void 0},Pd.methods={recalculate:function(){var e;(e=this.SimpleBar)===null||e===void 0||e.recalculate()}},Pd.render=function(e){var t=this;return mW({h:typeof e=="function"?e:Ii,emit:function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return t.$emit.apply(t,n)},slots:this.$slots,props:this.$props})};const UFe=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n};var WC={exports:{}},vW=WC.exports,O6;function CW(){return O6||(O6=1,(function(e,t){(function(n,o){e.exports=o()})(vW,function(){return function(n,o,i){var s=o.prototype,r=function(l){var c=l.date,u=l.utc;return Array.isArray(c)?u?c.length?new Date(Date.UTC.apply(null,c)):new Date:c.length===1?i(String(c[0])).toDate():new(Function.prototype.bind.apply(Date,[null].concat(c))):c},a=s.parse;s.parse=function(l){l.date=r.bind(this)(l),a.bind(this)(l)}}})})(WC)),WC.exports}CW();var GC={exports:{}},bW=GC.exports,N6;function yW(){return N6||(N6=1,(function(e,t){(function(n,o){e.exports=o()})(bW,function(){return function(n,o){o.prototype.isSameOrBefore=function(i,s){return this.isSame(i,s)||this.isBefore(i,s)}}})})(GC)),GC.exports}yW();
36var zC={exports:{}},wW=zC.exports,B6;function SW(){return B6||(B6=1,(function(e,t){(function(n,o){e.exports=o()})(wW,function(){return function(n,o){o.prototype.isSameOrAfter=function(i,s){return this.isSame(i,s)||this.isAfter(i,s)}}})})(zC)),zC.exports}SW();var UC={exports:{}},EW=UC.exports,H6;function TW(){return H6||(H6=1,(function(e,t){(function(n,o){e.exports=o()})(EW,function(){return function(n,o,i){var s=o.prototype,r=function(d){return d&&(d.indexOf?d:d.s)},a=function(d,h,p,f,g){var m=d.name?d:d.$locale(),v=r(m[h]),y=r(m[p]),b=v||y.map(function(S){return S.slice(0,f)});if(!g)return b;var w=m.weekStart;return b.map(function(S,E){return b[(E+(w||0))%7]})},l=function(){return i.Ls[i.locale()]},c=function(d,h){return d.formats[h]||(function(p){return p.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(f,g,m){return g||m.slice(1)})})(d.formats[h.toUpperCase()])},u=function(){var d=this;return{months:function(h){return h?h.format("MMMM"):a(d,"months")},monthsShort:function(h){return h?h.format("MMM"):a(d,"monthsShort","months",3)},firstDayOfWeek:function(){return d.$locale().weekStart||0},weekdays:function(h){return h?h.format("dddd"):a(d,"weekdays")},weekdaysMin:function(h){return h?h.format("dd"):a(d,"weekdaysMin","weekdays",2)},weekdaysShort:function(h){return h?h.format("ddd"):a(d,"weekdaysShort","weekdays",3)},longDateFormat:function(h){return c(d.$locale(),h)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};s.localeData=function(){return u.bind(this)()},i.localeData=function(){var d=l();return{firstDayOfWeek:function(){return d.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(h){return c(d,h)},meridiem:d.meridiem,ordinal:d.ordinal}},i.months=function(){return a(l(),"months")},i.monthsShort=function(){return a(l(),"monthsShort","months",3)},i.weekdays=function(d){return a(l(),"weekdays",null,null,d)},i.weekdaysShort=function(d){return a(l(),"weekdaysShort","weekdays",3,d)},i.weekdaysMin=function(d){return a(l(),"weekdaysMin","weekdays",2,d)}}})})(UC)),UC.exports}TW();var jC={exports:{}},RW=jC.exports,V6;function PW(){return V6||(V6=1,(function(e,t){(function(n,o){e.exports=o()})(RW,function(){return function(n,o,i){o.prototype.isBetween=function(s,r,a,l){var c=i(s),u=i(r),d=(l=l||"()")[0]==="(",h=l[1]===")";return(d?this.isAfter(c,a):!this.isBefore(c,a))&&(h?this.isBefore(u,a):!this.isAfter(u,a))||(d?this.isBefore(c,a):!this.isAfter(c,a))&&(h?this.isAfter(u,a):!this.isBefore(u,a))}}})})(jC)),jC.exports}PW();var ZC={exports:{}},MW=ZC.exports,$6;function LW(){return $6||($6=1,(function(e,t){(function(n,o){e.exports=o()})(MW,function(){var n="minute",o=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(s,r,a){var l=r.prototype;a.utc=function(g){var m={date:g,utc:!0,args:arguments};return new r(m)},l.utc=function(g){var m=a(this.toDate(),{locale:this.$L,utc:!0});return g?m.add(this.utcOffset(),n):m},l.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var c=l.parse;l.parse=function(g){g.utc&&(this.$u=!0),this.$utils().u(g.$offset)||(this.$offset=g.$offset),c.call(this,g)};var u=l.init;l.init=function(){if(this.$u){var g=this.$d;this.$y=g.getUTCFullYear(),this.$M=g.getUTCMonth(),this.$D=g.getUTCDate(),this.$W=g.getUTCDay(),this.$H=g.getUTCHours(),this.$m=g.getUTCMinutes(),this.$s=g.getUTCSeconds(),this.$ms=g.getUTCMilliseconds()}else u.call(this)};var d=l.utcOffset;l.utcOffset=function(g,m){var v=this.$utils().u;if(v(g))return this.$u?0:v(this.$offset)?d.call(this):this.$offset;if(typeof g=="string"&&(g=(function(S){S===void 0&&(S="");var E=S.match(o);if(!E)return null;var T=(""+E[0]).match(i)||["-",0,0],R=T[0],A=60*+T[1]+ +T[2];return A===0?0:R==="+"?A:-A})(g),g===null))return this;var y=Math.abs(g)<=16?60*g:g,b=this;if(m)return b.$offset=y,b.$u=g===0,b;if(g!==0){var w=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(b=this.local().add(y+w,n)).$offset=y,b.$x.$localOffset=w}else b=this.utc();return b};var h=l.format;l.format=function(g){var m=g||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,m)},l.valueOf=function(){var g=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*g},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var p=l.toDate;l.toDate=function(g){return g==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var f=l.diff;l.diff=function(g,m,v){if(g&&this.$u===g.$u)return f.call(this,g,m,v);var y=this.local(),b=a(g).local();return f.call(y,b,m,v)}}})})(ZC)),ZC.exports}LW();var KC={exports:{}},xW=KC.exports,W6;function DW(){return W6||(W6=1,(function(e,t){(function(n,o){e.exports=o()})(xW,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(i,s,r){var a,l=function(h,p,f){f===void 0&&(f={});var g=new Date(h),m=(function(v,y){y===void 0&&(y={});var b=y.timeZoneName||"short",w=v+"|"+b,S=o[w];return S||(S=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:v,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:b}),o[w]=S),S})(p,f);return m.formatToParts(g)},c=function(h,p){for(var f=l(h,p),g=[],m=0;m<f.length;m+=1){var v=f[m],y=v.type,b=v.value,w=n[y];w>=0&&(g[w]=parseInt(b,10))}var S=g[3],E=S===24?0:S,T=g[0]+"-"+g[1]+"-"+g[2]+" "+E+":"+g[4]+":"+g[5]+":000",R=+h;return(r.utc(T).valueOf()-(R-=R%1e3))/6e4},u=s.prototype;u.tz=function(h,p){h===void 0&&(h=a);
36var f,g=this.utcOffset(),m=this.toDate(),v=m.toLocaleString("en-US",{timeZone:h}),y=Math.round((m-new Date(v))/1e3/60),b=15*-Math.round(m.getTimezoneOffset()/15)-y;if(!Number(b))f=this.utcOffset(0,p);else if(f=r(v,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(b,!0),p){var w=f.utcOffset();f=f.add(g-w,"minute")}return f.$x.$timezone=h,f},u.offsetName=function(h){var p=this.$x.$timezone||r.tz.guess(),f=l(this.valueOf(),p,{timeZoneName:h}).find(function(g){return g.type.toLowerCase()==="timezonename"});return f&&f.value};var d=u.startOf;u.startOf=function(h,p){if(!this.$x||!this.$x.$timezone)return d.call(this,h,p);var f=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return d.call(f,h,p).tz(this.$x.$timezone,!0)},r.tz=function(h,p,f){var g=f&&p,m=f||p||a,v=c(+r(),m);if(typeof h!="string")return r(h).tz(m);var y=(function(E,T,R){var A=E-60*T*1e3,k=c(A,R);if(T===k)return[A,T];var D=c(A-=60*(k-T)*1e3,R);return k===D?[A,k]:[E-60*Math.min(k,D)*1e3,Math.max(k,D)]})(r.utc(h,g).valueOf(),v,m),b=y[0],w=y[1],S=r(b).utcOffset(w);return S.$x.$timezone=m,S},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(h){a=h}}})})(KC)),KC.exports}DW();var qC={exports:{}},kW=qC.exports,G6;function AW(){return G6||(G6=1,(function(e,t){(function(n,o){e.exports=o()})(kW,function(){var n="day";return function(o,i,s){var r=function(c){return c.add(4-c.isoWeekday(),n)},a=i.prototype;a.isoWeekYear=function(){return r(this).year()},a.isoWeek=function(c){if(!this.$utils().u(c))return this.add(7*(c-this.isoWeek()),n);var u,d,h,p,f=r(this),g=(u=this.isoWeekYear(),d=this.$u,h=(d?s.utc:s)().year(u).startOf("year"),p=4-h.isoWeekday(),h.isoWeekday()>4&&(p+=7),h.add(p,n));return f.diff(g,"week")+1},a.isoWeekday=function(c){return this.$utils().u(c)?this.day()||7:this.day(this.day()%7?c:c-7)};var l=a.startOf;a.startOf=function(c,u){var d=this.$utils(),h=!!d.u(u)||u;return d.p(c)==="isoweek"?h?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):l.bind(this)(c,u)}}})})(qC)),qC.exports}AW();function _W(e){return lc()?(Lp(e),!0):!1}const mL=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const IW=Object.prototype.toString,FW=e=>IW.call(e)==="[object Object]",$2=()=>{},OW=NW();function NW(){var e,t;return mL&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function W2(e){return Array.isArray(e)?e:[e]}function BW(e,t,n){return Le(e,t,{...n,immediate:!0})}const vL=mL?window:void 0;function Ud(e){var t;const n=En(e);return(t=n?.$el)!=null?t:n}function Md(...e){const t=[],n=()=>{t.forEach(a=>a()),t.length=0},o=(a,l,c,u)=>(a.addEventListener(l,c,u),()=>a.removeEventListener(l,c,u)),i=M(()=>{const a=W2(En(e[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),s=BW(()=>{var a,l;return[(l=(a=i.value)==null?void 0:a.map(c=>Ud(c)))!=null?l:[vL].filter(c=>c!=null),W2(En(i.value?e[1]:e[0])),W2(C(i.value?e[2]:e[1])),En(i.value?e[3]:e[2])]},([a,l,c,u])=>{if(n(),!(a!=null&&a.length)||!(l!=null&&l.length)||!(c!=null&&c.length))return;const d=FW(u)?{...u}:u;t.push(...a.flatMap(h=>l.flatMap(p=>c.map(f=>o(h,p,f,d)))))},{flush:"post"}),r=()=>{s(),n()};return _W(n),r}let z6=!1;function U6(e,t,n={}){const{window:o=vL,ignore:i=[],capture:s=!0,detectIframe:r=!1}=n;if(!o)return $2;if(OW&&!z6){z6=!0;const f={passive:!0};Array.from(o.document.body.children).forEach(g=>Md(g,"click",$2,f)),Md(o.document.documentElement,"click",$2,f)}let a=!0;const l=f=>En(i).some(g=>{if(typeof g=="string")return Array.from(o.document.querySelectorAll(g)).some(m=>m===f.target||f.composedPath().includes(m));{const m=Ud(g);return m&&(f.target===m||f.composedPath().includes(m))}});function c(f){const g=En(f);return g&&g.$.subTree.shapeFlag===16}function u(f,g){const m=En(f),v=m.$.subTree&&m.$.subTree.children;return v==null||!Array.isArray(v)?!1:v.some(y=>y.el===g.target||g.composedPath().includes(y.el))}const d=f=>{const g=Ud(e);if(f.target!=null&&!(!(g instanceof Element)&&c(e)&&u(e,f))&&!(!g||g===f.target||f.composedPath().includes(g))){if(f.detail===0&&(a=!l(f)),!a){a=!0;return}t(f)}};let h=!1;const p=[Md(o,"click",f=>{h||(h=!0,setTimeout(()=>{h=!1},0),d(f))},{passive:!0,capture:s}),Md(o,"pointerdown",f=>{const g=Ud(e);a=!l(f)&&!!(g&&!f.composedPath().includes(g))},{passive:!0}),r&&Md(o,"blur",f=>{setTimeout(()=>{var g;const m=Ud(e);((g=o.document.activeElement)==null?void 0:g.tagName)==="IFRAME"&&!(m!=null&&m.contains(o.document.activeElement))&&t(f)},0)},{passive:!0}
36)].filter(Boolean);return()=>p.forEach(f=>f())}const CL={setup(e,{emit:t}){const n=J(!1),o=()=>{n.value=!n.value,t("visible-change",n.value)},i=J(null);return U6(()=>{n.value=!1,t("visible-change",!1)}),{target:i,isContentVisible:n,onTitleClick:o,onClickOutside:U6}}},j6=()=>{Gs(e=>({"37c657fe":e.width}))},Z6=CL.setup;CL.setup=Z6?(e,t)=>(j6(),Z6(e,t)):j6;J$().startOf("day");const HW={},VW={install(e,t){t.localizationFunction&&(HW.localizationFunction=t.localizationFunction)}};var Kl=class{constructor(){this.allSyncListeners=new Map,this.allAsyncListeners=new Map,this.globalSyncListeners=new Set,this.globalAsyncListeners=new Set,this.asyncFunctionsQueue=[],this.scheduled=!1,this.firedEvents={}}setFrameworkOverrides(e){this.frameworkOverrides=e}getListeners(e,t,n){const o=t?this.allAsyncListeners:this.allSyncListeners;let i=o.get(e);return!i&&n&&(i=new Set,o.set(e,i)),i}noRegisteredListenersExist(){return this.allSyncListeners.size===0&&this.allAsyncListeners.size===0&&this.globalSyncListeners.size===0&&this.globalAsyncListeners.size===0}addEventListener(e,t,n=!1){this.getListeners(e,n,!0).add(t)}removeEventListener(e,t,n=!1){const o=this.getListeners(e,n,!1);o&&(o.delete(t),o.size===0&&(n?this.allAsyncListeners:this.allSyncListeners).delete(e))}addGlobalListener(e,t=!1){this.getGlobalListeners(t).add(e)}removeGlobalListener(e,t=!1){this.getGlobalListeners(t).delete(e)}dispatchEvent(e){this.dispatchToListeners(e,!0),this.dispatchToListeners(e,!1),this.firedEvents[e.type]=!0}dispatchEventOnce(e){this.firedEvents[e.type]||this.dispatchEvent(e)}dispatchToListeners(e,t){const n=e.type;if(t&&"event"in e){const a=e.event;a instanceof Event&&(e.eventPath=a.composedPath())}const{frameworkOverrides:o}=this,i=a=>{const l=o?()=>o.wrapIncoming(a):a;t?this.dispatchAsync(l):l()},s=this.getListeners(n,t,!1);if((s?.size??0)>0){const a=new Set(s);for(const l of a)s?.has(l)&&i(()=>l(e))}const r=this.getGlobalListeners(t);if(r.size>0){const a=new Set(r);for(const l of a)i(()=>l(n,e))}}getGlobalListeners(e){return e?this.globalAsyncListeners:this.globalSyncListeners}dispatchAsync(e){if(this.asyncFunctionsQueue.push(e),!this.scheduled){const t=()=>{window.setTimeout(this.flushAsyncQueue.bind(this),0)};this.frameworkOverrides?this.frameworkOverrides.wrapIncoming(t):t(),this.scheduled=!0}}flushAsyncQueue(){this.scheduled=!1;const e=this.asyncFunctionsQueue.slice();this.asyncFunctionsQueue=[];for(const t of e)t()}};function fr(e){return e==null||e===""?null:e}function Ge(e){return e!=null&&e!==""}function pn(e){return!Ge(e)}function YC(e){return e!=null&&typeof e.toString=="function"?e.toString():null}function Nh(e,t){const n=e?JSON.stringify(e):null,o=t?JSON.stringify(t):null;return n===o}function $W(e,t,n=!1){const o=e==null,i=t==null;if(e?.toNumber&&(e=e.toNumber()),t?.toNumber&&(t=t.toNumber()),o&&i)return 0;if(o)return-1;if(i)return 1;function s(r,a){return r>a?1:r<a?-1:0}if(typeof e!="string"||!n)return s(e,t);try{return e.localeCompare(t)}catch{return s(e,t)}}var WW=/[&<>"']/g,GW={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function nd(e){return e?.toString().toString()??null}function oh(e){return nd(e)?.replace(WW,t=>GW[t])??null}function ws(e){return e.eRootDiv.getRootNode()}function Cn(e){return ws(e).activeElement}function Un(e){const{gos:t,eRootDiv:n}=e;let o=null;const i=t.get("getDocument");return i&&Ge(i)?o=i():n&&(o=n.ownerDocument),o&&Ge(o)?o:document}function bL(e){const t=Cn(e);return t===null||t===Un(e).body}function yL(e){return Un(e).defaultView||window}function x4(e){let t=null,n=null;try{t=Un(e).fullscreenElement}catch{}finally{t||(t=ws(e));const o=t.querySelector("body");o?n=o:t instanceof ShadowRoot?n=t:t instanceof Document?n=t?.documentElement:n=t}return n}function zW(e){return x4(e)?.clientWidth??(window.innerWidth||-1)}function UW(e){return x4(e)?.clientHeight??(window.innerHeight||-1)}function ls(e,t,n){n==null||typeof n=="string"&&n==""?wL(e,t):Fi(e,t,n)}function Fi(e,t,n){e.setAttribute(SL(t),n.toString())}function wL(e,t){e.removeAttribute(SL(t))}function SL(e){return`aria-${e}`}function La(e,t){t?e.setAttribute("role",t):e.removeAttribute("role")}function jW(e){let t;return e==="asc"?t="ascending":e==="desc"?t="descending":e==="mixed"?t="other":t="none",t}function ZW(e){return e.getAttribute("aria-label")}function Mu(e,t){ls(e,"label",t)}function Bh(e,t){ls(e,"labelledby",t)}function EL(e,t){ls(e,"live",t)}function KW(e,t){ls(e,"atomic",t)}function qW(e,t){ls(e,"relevant",t)}
vendor: 8,461 bytes, line 36
36function YW(e,t){ls(e,"invalid",t)}function XW(e,t){ls(e,"disabled",t)}function TL(e,t){ls(e,"hidden",t)}function XC(e,t){Fi(e,"expanded",t)}function JW(e,t){Fi(e,"setsize",t)}function QW(e,t){Fi(e,"posinset",t)}function eG(e,t){Fi(e,"multiselectable",t)}function tG(e,t){Fi(e,"rowcount",t)}function Hg(e,t){Fi(e,"rowindex",t)}function nG(e,t){Fi(e,"rowspan",t)}function oG(e,t){Fi(e,"colcount",t)}function RL(e,t){Fi(e,"colindex",t)}function iG(e,t){Fi(e,"colspan",t)}function sG(e,t){Fi(e,"sort",t)}function rG(e){wL(e,"sort")}function PL(e,t){ls(e,"selected",t)}function aG(e,t){ls(e,"controls",t)}function lG(e,t){aG(e,t.id),Bh(t,e.id)}function K6(e,t){ls(e,"owns",t)}function l0(e,t){return t===void 0?e("ariaIndeterminate","indeterminate"):t===!0?e("ariaChecked","checked"):e("ariaUnchecked","unchecked")}var cG="[tabindex], input, select, button, textarea, [href]",ML="[disabled], .ag-disabled:not(.ag-button), .ag-disabled *";function ih(e){return!e||!e.matches("input, select, button, textarea")||!e.matches(ML)?!1:zs(e)}function hn(e,t,n={}){const{skipAriaHidden:o}=n;e.classList.toggle("ag-hidden",!t),o||TL(e,!t)}function uG(e,t,n={}){const{skipAriaHidden:o}=n;e.classList.toggle("ag-invisible",!t),o||TL(e,!t)}function Hh(e,t){const n="disabled",o=t?s=>s.setAttribute(n,""):s=>s.removeAttribute(n);o(e);const i=e.querySelectorAll("input")??[];for(const s of i)o(s)}function Dl(e,t,n){let o=0;for(;e;){if(e.classList.contains(t))return!0;if(e=e.parentElement,typeof n=="number"){if(++o>n)break}else if(e===n)break}return!1}function hc(e){const{height:t,width:n,borderTopWidth:o,borderRightWidth:i,borderBottomWidth:s,borderLeftWidth:r,paddingTop:a,paddingRight:l,paddingBottom:c,paddingLeft:u,marginTop:d,marginRight:h,marginBottom:p,marginLeft:f,boxSizing:g}=window.getComputedStyle(e),m=Number.parseFloat;return{height:m(t||"0"),width:m(n||"0"),borderTopWidth:m(o||"0"),borderRightWidth:m(i||"0"),borderBottomWidth:m(s||"0"),borderLeftWidth:m(r||"0"),paddingTop:m(a||"0"),paddingRight:m(l||"0"),paddingBottom:m(c||"0"),paddingLeft:m(u||"0"),marginTop:m(d||"0"),marginRight:m(h||"0"),marginBottom:m(p||"0"),marginLeft:m(f||"0"),boxSizing:g}}function D4(e){const t=hc(e);return t.boxSizing==="border-box"?t.height-t.paddingTop-t.paddingBottom-t.borderTopWidth-t.borderBottomWidth:t.height}function Vh(e){const t=hc(e);return t.boxSizing==="border-box"?t.width-t.paddingLeft-t.paddingRight-t.borderLeftWidth-t.borderRightWidth:t.width}function LL(e){const{height:t,marginBottom:n,marginTop:o}=hc(e);return Math.floor(t+n+o)}function Vg(e){const{width:t,marginLeft:n,marginRight:o}=hc(e);return Math.floor(t+n+o)}function xL(e){const t=e.getBoundingClientRect(),{borderTopWidth:n,borderLeftWidth:o,borderRightWidth:i,borderBottomWidth:s}=hc(e);return{top:t.top+(n||0),left:t.left+(o||0),right:t.right+(i||0),bottom:t.bottom+(s||0)}}function $g(e,t){let n=e.scrollLeft;return t&&(n=Math.abs(n)),n}function Wg(e,t,n){n&&(t*=-1),e.scrollLeft=t}function Xn(e){for(;e?.firstChild;)e.firstChild.remove()}function ji(e){e?.parentNode&&e.remove()}function DL(e){return!!e.offsetParent}function zs(e){return e.checkVisibility?e.checkVisibility({checkVisibilityCSS:!0}):!(!DL(e)||window.getComputedStyle(e).visibility!=="visible")}function k4(e){const t=document.createElement("div");return t.innerHTML=(e||"").trim(),t.firstChild}function kL(e,t,n){n&&n.nextSibling===t||(e.firstChild?n?n.nextSibling?e.insertBefore(t,n.nextSibling):e.appendChild(t):e.firstChild&&e.firstChild!==t&&e.insertAdjacentElement("afterbegin",t):e.appendChild(t))}function AL(e,t){for(let n=0;n<t.length;n++){const o=t[n],i=e.children[n];i!==o&&e.insertBefore(o,i)}}function dG(e){return e.replace(/[A-Z]/g,t=>`-${t.toLocaleLowerCase()}`)}function Fp(e,t){if(t)for(const n of Object.keys(t)){const o=t[n];if(!n?.length||o==null)continue;const i=dG(n),s=o.toString(),r=s.replace(/\s*!important/g,""),a=r.length!=s.length?"important":void 0;e.style.setProperty(i,r,a)}}function g1(e){return()=>{const t=e();return t?A4(t)||_L(t):!0}}function A4(e){return e.clientWidth<e.scrollWidth}function _L(e){return e.clientHeight<e.scrollHeight}function Gg(e,t){t==="flex"?(e.style.removeProperty("width"),e.style.removeProperty("minWidth"),e.style.removeProperty("maxWidth"),e.style.flex="1 1 auto"):xs(e,t)}function xs(e,t){t=_4(t),e.style.width=t,e.style.maxWidth=t,e.style.minWidth=t}function sh(e,t){t=_4(t),e.style.height=t,e.style.maxHeight=t,e.style.minHeight=t}function _4(e){return typeof e=="number"?`${e}px`:e}function I4(e){return e instanceof Node||e instanceof HTMLElement}function Ko(e,t,n){n==null||n===""?e.removeAttribute(t):e.setAttribute(t,n.toString())}function Ga(e,t,n){const i=yL(e).ResizeObserver,s=i?new i(n):null;return s?.observe(t),()=>s?.disconnect()}function Br(e,t){const n=yL(e);n.requestAnimationFrame?n.requestAnimationFrame(t):n.webkitRequestAnimationFrame?n.webkitRequestAnimationFrame(t):n.setTimeout(t,0)}var IL="data-ref",G2;function q6(){return G2??(G2=document.createTextNode(" ")),G2.cloneNode()}function Op(e){const{attrs:t,children:n,cls:o,ref:i,role:s,tag:r}=e,a=document.createElement(r);if(o&&(a.className=o),i&&a.setAttribute(IL,i),s&&a.setAttribute("role",s),t)for(const l of Object.keys(t))a.setAttribute(l,t[l]);if(n)if(typeof n=="string")a.textContent=n;else{let l=!0;for(const c of n)c&&(typeof c=="string"?(a.appendChild(document.createTextNode(c)),l=!1):typeof c=="function"?a.appendChild(c()):(l&&(a.appendChild(q6()),l=!1),a.append(Op(c)),a.appendChild(q6())))}return a}var hG=["touchstart","touchend","touchmove","touchcancel","scroll"],pG=["wheel"],z2={},FL=(()=>{const e={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return n=>{if(typeof z2[n]=="boolean")return z2[n];const o=document.createElement(e[n]||"div");return n="on"+n,z2[n]=n in o}})();function fG(e,t){return!t||!e?!1:mG(t).indexOf(e)>=0}function gG(e){const t=[];let n=e.target;for(;n;)t.push(n),n=n.parentElement;return t}function mG(e){const t=e;return t.path?t.path:t.composedPath?t.composedPath():gG(t)}function vG(e,t,n){const o=CG(t);let i;o!=null&&(i={passive:o}),e.addEventListener(t,n,i)}var CG=e=>{const t=hG.includes(e),n=pG.includes(e);if(t)return!0;if(n)return!1};function OL(e,t,n){if(n===0)return!1;const o=Math.abs(e.clientX-t.clientX),i=Math.abs(e.clientY-t.clientY);return Math.max(o,i)<=n}var rh=(e,t)=>{const n=e.identifier;for(let o=0,i=t.length;o<i;++o){const s=t[o];if(s.identifier===n)return s}return null};function $h(e,t){return e.gos.isElementInThisInstance(t.target)}function bG(e,t,n){const i=e.getBoundingClientRect().height,s=zW(n)-2,r=UW(n)-2;if(!e.offsetParent)return;const l=xL(e.offsetParent),{clientY:c,clientX:u}=t;let d=c-l.top-i/2,h=u-l.left-10;const p=Un(n),f=p.defaultView||window,g=f.pageYOffset||p.documentElement.scrollTop,m=f.pageXOffset||p.documentElement.scrollLeft;s>0&&h+e.clientWidth>s+m&&(h=s+m-e.clientWidth),h<0&&(h=0),r>0&&d+e.clientHeight>r+g&&(d=r+g-e.clientHeight),d<0&&(d=0),e.style.left=`${h}px`,e.style.top=`${d}px`}var m1=(e,...t)=>{for(const n of t){const[o,i,s,r]=n;o.addEventListener(i,s,r),e.push(n)}},F4=e=>{if(e){for(const[t,n,o,i]of e)t.removeEventListener(n,o,i);e.length=0}},ga=e=>{e.cancelable&&e.preventDefault()};function yG(e,t){return t}function NL(e){return e?.getLocaleTextFunc()??yG}function wG(e,t,n,o){const i=t[n];return e.getLocaleTextFunc()(n,typeof i=="function"?i(o):i,o)}function SG(e){return(t,n,o)=>e({key:t,defaultValue:n,variableValues:o})}function EG(e){return(t,n,o)=>{let i=e?.[t];if(i&&o?.length){let s=0;for(;!(s>=o.length||i.indexOf("${variable}")===-1);)i=i.replace("${variable}",o[s++])}return i??n}}var Us=class{constructor(){this.destroyFunctions=[],this.destroyed=!1,this.__v_skip=!0,this.propertyListenerId=0,this.lastChangeSetIdLookup={},this.isAlive=()=>!this.destroyed}preWireBeans(e){this.beans=e,this.stubContext=e.context,this.eventSvc=e.eventSvc,this.gos=e.gos}destroy(){const{destroyFunctions:e}=this;for(let t=0;t<e.length;t++)e[t]();e.length=0,this.destroyed=!0,this.dispatchLocalEvent({type:"destroyed"})}addEventListener(e,t,n){this.localEventService||(this.localEventService=new Kl),this.localEventService.addEventListener(e,t,n)}removeEventListener(e,t,n){this.localEventService?.removeEventListener(e,t,n)}dispatchLocalEvent(e){this.localEventService?.dispatchEvent(e)}addManagedElementListeners(e,t){return this._setupListeners(e,t)}addManagedEventListeners(e){return this._setupListeners(this.eventSvc,e)}
36addManagedListeners(e,t){return this._setupListeners(e,t)}_setupListeners(e,t){const n=[];for(const o of Object.keys(t)){const i=t[o];i&&n.push(this._setupListener(e,o,i))}return n}_setupListener(e,t,n){if(this.destroyed)return()=>null;let o;if(TG(e))e.__addEventListener(t,n),o=()=>(e.__removeEventListener(t,n),null);else{const i=RG(e);e instanceof HTMLElement?vG(e,t,n):i?e.addListener(t,n):e.addEventListener(t,n),o=i?()=>(e.removeListener(t,n),null):()=>(e.removeEventListener(t,n),null)}return this.destroyFunctions.push(o),()=>(o(),this.destroyFunctions=this.destroyFunctions.filter(i=>i!==o),null)}setupPropertyListener(e,t){const{gos:n}=this;n.addPropertyEventListener(e,t);const o=()=>(n.removePropertyEventListener(e,t),null);return this.destroyFunctions.push(o),()=>(o(),this.destroyFunctions=this.destroyFunctions.filter(i=>i!==o),null)}addManagedPropertyListener(e,t){return this.destroyed?()=>null:this.setupPropertyListener(e,t)}addManagedPropertyListeners(e,t){if(this.destroyed)return;const n=e.join("-")+this.propertyListenerId++,o=i=>{if(i.changeSet){if(i.changeSet&&i.changeSet.id===this.lastChangeSetIdLookup[n])return;this.lastChangeSetIdLookup[n]=i.changeSet.id}const s={type:"propertyChanged",changeSet:i.changeSet,source:i.source};t(s)};for(const i of e)this.setupPropertyListener(i,o)}getLocaleTextFunc(){return NL(this.beans.localeSvc)}addDestroyFunc(e){this.isAlive()?this.destroyFunctions.push(e):e()}createOptionalManagedBean(e,t){return e?this.createManagedBean(e,t):void 0}createManagedBean(e,t){const n=this.createBean(e,t);return this.addDestroyFunc(this.destroyBean.bind(this,e,t)),n}createBean(e,t,n){return(t||this.stubContext).createBean(e,n)}destroyBean(e,t){return(t||this.stubContext).destroyBean(e)}destroyBeans(e,t){return(t||this.stubContext).destroyBeans(e)}};function TG(e){return e.__addEventListener!==void 0}function RG(e){return e.eventServiceType==="global"}var we=class extends Us{},Y6={};function O4(e,t){Y6[t]||(e(),Y6[t]=!0)}var PG={pending:!1,funcs:[]},MG={pending:!1,funcs:[]};function JC(e,t="setTimeout",n){const o=t==="raf"?MG:PG;if(o.funcs.push(e),o.pending)return;o.pending=!0;const i=()=>{const s=o.funcs.slice();o.funcs.length=0,o.pending=!1;for(const r of s)r()};t==="raf"?Br(n,i):window.setTimeout(i,0)}function qn(e,t,n){let o;return function(...i){const s=this;window.clearTimeout(o),o=window.setTimeout(function(){e.isAlive()&&t.apply(s,i)},n)}}function X6(e,t){let n=0;return function(...o){const i=this,s=Date.now();s-n<t||(n=s,e.apply(i,o))}}function LG(e,t,n,o=100){const i=Date.now();let s=null,r=!1;const a=()=>{s!=null&&(window.clearInterval(s),s=null)};e.addDestroyFunc(a);const l=()=>{const c=Date.now()-i>o;(t()||c)&&(n(),r=!0,a())};l(),r||(s=window.setInterval(l,10))}var BL=new Set(["__proto__","constructor","prototype"]);function xG(e,t){if(e!=null){if(Array.isArray(e)){for(let n=0;n<e.length;n++)t(n.toString(),e[n]);return}for(const n of Object.keys(e).filter(o=>!BL.has(o)))t(n,e[n])}}function Ro(e,t,n=!0,o=!1){Ge(t)&&xG(t,(i,s)=>{let r=e[i];r!==s&&(o&&r==null&&s!=null&&typeof s=="object"&&s.constructor===Object&&(r={},e[i]=r),J6(s)&&J6(r)&&!Array.isArray(r)?Ro(r,s,n,o):(n||s!==void 0)&&(e[i]=s))})}function J6(e){return typeof e=="object"&&e!==null}var N4=class er{static applyGlobalGridOptions(t){if(!er.gridOptions)return{...t};let n={};return Ro(n,er.gridOptions,!0,!0),er.mergeStrategy==="deep"?Ro(n,t,!0,!0):n={...n,...t},er.gridOptions.context&&(n.context=er.gridOptions.context),t.context&&(er.mergeStrategy==="deep"&&n.context&&Ro(t.context,n.context,!0,!0),n.context=t.context),n}static applyGlobalGridOption(t,n){if(er.mergeStrategy==="deep"){const o=DG(t);if(o&&typeof o=="object"&&typeof n=="object")return er.applyGlobalGridOptions({[t]:n})[t]}return n}};N4.gridOptions=void 0;N4.mergeStrategy="shallow";var B4=N4;function DG(e){return B4.gridOptions?.[e]}var kG={suppressContextMenu:!1,preventDefaultOnContextMenu:!1,allowContextMenuWithControlKey:!1,suppressMenuHide:!0,enableBrowserTooltips:!1,tooltipTrigger:"hover",tooltipShowDelay:2e3,tooltipHideDelay:1e4,tooltipMouseTrack:!1,tooltipShowMode:"standard",tooltipInteraction:!1,copyHeadersToClipboard:!1,copyGroupHeadersToClipboard:!1,clipboardDelimiter:"	",suppressCopyRowsToClipboard:!1,suppressCopySingleCellRanges:!1,suppressLastEmptyLineOnPaste:!1,suppressClipboardPaste:!1,suppressClipboardApi:!1,suppressCutToClipboard:!1,maintainColumnOrder:!1,enableStrictPivotColumnOrder:!1,suppressFieldDotNotation:!1,allowDragFromColumnsToolPanel:!1,suppressMovableColumns:!1,suppressColumnMoveAnimation:!1,suppressMoveWhenColumnDragging:!1,suppressDragLeaveHidesColumns:!1,suppressRowGroupHidesColumns:!1,suppressAutoSize:!1,autoSizePadding:20,skipHeaderOnAutoSize:!1,singleClickEdit:!1,suppressClickEdit:!1,readOnlyEdit:!1,stopEditingWhenCellsLoseFocus:!1,enterNavigatesVertically:!1,enterNavigatesVerticallyAfterEdit:!1,enableCellEditingOnBackspace:!1,undoRedoCellEditing:!1,undoRedoCellEditingLimit:10,suppressCsvExport:!1,suppressExcelExport:!1,cacheQuickFilter:!1,includeHiddenColumnsInQuickFilter:!1,excludeChildrenWhenTreeDataFiltering:!1,enableAdvancedFilter:!1,includeHiddenColumnsInAdvancedFilter:!1,enableCharts:!1,masterDetail:!1,keepDetailRows:!1,keepDetailRowsCount:10,detailRowAutoHeight:!1,tabIndex:0,rowBuffer:10,valueCache:!1,valueCacheNeverExpires:!1,enableCellExpressions:!1,suppressTouch:!1,suppressFocusAfterRefresh:!1,suppressBrowserResizeObserver:!1,suppressPropertyNamesCheck:!1,suppressChangeDetection:!1,debug:!1,suppressLoadingOverlay:!1,suppressNoRowsOverlay:!1,pagination:!1,paginationPageSize:100,paginationPageSizeSelector:!0,paginationAutoPageSize:!1,paginateChildRows:!1,suppressPaginationPanel:!1,pivotMode:!1,pivotPanelShow:"never",pivotDefaultExpanded:0,pivotSuppressAutoColumn:!1,suppressExpandablePivotGroups:!1,functionsReadOnly:!1,suppressAggFuncInHeader:!1,alwaysAggregateAtRootLevel:!1,aggregateOnlyChangedColumns:!1,suppressAggFilteredOnly:!1,removePivotHeaderRowWhenSingleValueColumn:!1,animateRows:!0,cellFlashDuration:500,cellFadeDuration:1e3,allowShowChangeAfterFilter:!1,domLayout:"normal",ensureDomOrder:!1,enableRtl:!1,suppressColumnVirtualisation:!1,suppressMaxRenderedRowRestriction:!1,suppressRowVirtualisation:!1,rowDragManaged:!1,rowDragInsertDelay:500,suppressRowDrag:!1,suppressMoveWhenRowDragging:!1,rowDragEntireRow:!1,rowDragMultiRow:!1,embedFullWidthRows:!1,groupDisplayType:"singleColumn",groupDefaultExpanded:0,groupMaintainOrder:!1,groupSelectsChildren:!1,groupSuppressBlankHeader:!1,groupSelectsFiltered:!1,showOpenedGroup:!1,groupRemoveSingleChildren:!1,groupRemoveLowestSingleChildren:!1,groupHideOpenParents:!1,groupAllowUnbalanced:!1,rowGroupPanelShow:"never",suppressMakeColumnVisibleAfterUnGroup:!1,treeData:!1,rowGroupPanelSuppressSort:!1,suppressGroupRowsSticky:!1,rowModelType:"clientSide",asyncTransactionWaitMillis:50,suppressModelUpdateAfterUpdateTransaction:!1,cacheOverflowSize:1,infiniteInitialRowCount:1,serverSideInitialRowCount:1,cacheBlockSize:100,maxBlocksInCache:-1,maxConcurrentDatasourceRequests:2,blockLoadDebounceMillis:0,purgeClosedRowNodes:!1,serverSideSortAllLevels:!1,serverSideOnlyRefreshFilteredGroups:!1,serverSidePivotResultFieldSeparator:"_",viewportRowModelPageSize:5,viewportRowModelBufferSize:5,alwaysShowHorizontalScroll:!1,alwaysShowVerticalScroll:!1,debounceVerticalScrollbar:!1,suppressHorizontalScroll:!1,suppressScrollOnNewData:!1,suppressScrollWhenPopupsAreOpen:!1,suppressAnimationFrame:!1,suppressMiddleClickScrolls:!1,suppressPreventDefaultOnMouseWheel:!1,rowMultiSelectWithClick:!1,suppressRowDeselection:!1,suppressRowClickSelection:!1,suppressCellFocus:!1,suppressHeaderFocus:!1,suppressMultiRangeSelection:!1,enableCellTextSelection:!1,enableRangeSelection:!1,enableRangeHandle:!1,enableFillHandle:!1,fillHandleDirection:"xy",suppressClearOnFillReduction:!1,accentedSort:!1,unSortIcon:!1,suppressMultiSort:!1,alwaysMultiSort:!1,suppressMaintainUnsortedOrder:!1,suppressRowHoverHighlight:!1,suppressRowTransform:!1,columnHoverHighlight:!1,deltaSort:!1,enableGroupEdit:!1,groupLockGroupColumns:0,serverSideEnableClientSideSort:!1,suppressServerSideFullWidthLoadingRow:!1,pivotMaxGeneratedColumns:-1,columnMenu:"new",reactiveCustomComponents:!0,suppressSetFilterByDefault:!1,rowNumbers:!1,enableFilterHandlers:!1},HL="https://www.ag-grid.com";function xa(e,t,...n){e.get("debug")&&console.log("AG Grid: "+t,...n)}function ah(e,...t){O4(()=>console.warn("AG Grid: "+e,...t),e+t?.join(""))}function au(e,...t){O4(()=>console.error("AG Grid: "+e,...t),e+t?.join(""))}var VL=new Set,zg={},lu={},v1,$L=!1,WL=!1,AG=!1;function _G(e){const[t,n]=e.version.split(".")||[],[o,i]=v1.split(".")||[];return t===o&&n===i}function IG(e){v1||(v1=e.version);const t=o=>`You are using incompatible versions of AG Grid modules. Major and minor versions should always match across modules. ${o} Please update all modules to the same version.`;
36e.version?_G(e)||au(t(`'${e.moduleName}' is version ${e.version} but the other modules are version ${v1}.`)):au(t(`'${e.moduleName}' is incompatible.`));const n=e.validate?.();n&&!n.isValid&&au(`${n.message}`)}function Wh(e,t,n=!1){n||($L=!0),IG(e);const o=e.rowModels??["all"];VL.add(e);let i;t!==void 0?(WL=!0,lu[t]===void 0&&(lu[t]={}),i=lu[t]):i=zg;for(const s of o)i[s]===void 0&&(i[s]={}),i[s][e.moduleName]=e;if(e.dependsOn)for(const s of e.dependsOn)Wh(s,t,n)}function FG(e){delete lu[e]}function QC(e,t,n){const o=i=>!!zg[i]?.[e]||!!lu[t]?.[i]?.[e];return o(n)||o("all")}function H4(){return WL}function OG(e,t){const n=lu[e]??{};return[...Object.values(zg.all??{}),...Object.values(n.all??{}),...Object.values(zg[t]??{}),...Object.values(n[t]??{})]}function NG(){return new Set(VL)}function BG(){return $L}function HG(){return AG}var VG=class{static register(e){Wh(e,void 0)}static registerModules(e){for(const t of e)Wh(t,void 0)}},We="34.3.1",Q6=2e3,e8=100,GL="_version_",zL=null,cu=`${HL}/javascript-data-grid`;function $G(e){zL=e}function WG(e){cu=e}function UL(e,t,n){return zL?.(e,t)??[jG(e,t,n)]}function V4(e,t,n,o,i){e(`${o?"warning":"error"} #${t}`,...UL(t,n,i))}function GG(e){if(!e)return String(e);const t={};for(const n of Object.keys(e))typeof e[n]!="object"&&typeof e[n]!="function"&&(t[n]=e[n]);return JSON.stringify(t)}function zG(e){let t=e;return e instanceof Error?t=e.toString():typeof e=="object"&&(t=GG(e)),t}function Ug(e){return e===void 0?"undefined":e===null?"null":e}function e5(e,t){return`${e}?${t.toString()}`}function UG(e,t,n){const o=Array.from(t.entries()).sort((s,r)=>r[1].length-s[1].length);let i=e5(e,t);for(const[s,r]of o){if(s===GL)continue;const a=i.length-n;if(a<=0)break;const l="...",c=a+l.length,u=r.length-c>e8?r.slice(0,r.length-c)+l:r.slice(0,e8)+l;t.set(s,u),i=e5(e,t)}return i}function jL(e,t){const n=new URLSearchParams;if(n.append(GL,We),t)for(const s of Object.keys(t))n.append(s,zG(t[s]));const o=`${cu}/errors/${e}`,i=e5(o,n);return i.length<=Q6?i:UG(o,n,Q6)}var jG=(e,t,n)=>{const o=jL(e,t);return`${`${n?n+` 
37`:""}Visit ${o}`}${n?"":` 
38  Alternatively register the ValidationModule to see the full message in the console.`}`};function Me(...e){V4(ah,e[0],e[1],!0)}function qt(...e){V4(au,e[0],e[1],!1)}function jd(e,t,n){V4(au,e,t,!1,n)}function ZG(e,t){const n=t[0];return`error #${n} `+UL(n,t[1],e).join(" ")}function Ds(...e){return ZG(void 0,e)}function ZL(e,t){return e.get("rowModelType")===t}function kn(e,t){return ZL(e,"clientSide")}function od(e,t){return ZL(e,"serverSide")}function Jn(e,t){return e.get("domLayout")===t}function kl(e){return Zg(e)!==void 0}function KL(e){return typeof e.get("getRowHeight")=="function"}function KG(e,t){return t?!e.get("enableStrictPivotColumnOrder"):e.get("maintainColumnOrder")}function Da(e,t,n=!1,o){const{gos:i,environment:s}=e;if(o==null&&(o=s.getDefaultRowHeight()),KL(i)){if(n)return{height:o,estimated:!0};const l={node:t,data:t.data},c=i.getCallback("getRowHeight")(l);if(t5(c))return c===0&&Me(23),{height:Math.max(1,c),estimated:!1}}if(t.detail&&i.get("masterDetail"))return qG(i);const r=i.get("rowHeight");return{height:r&&t5(r)?r:o,estimated:!1}}function qG(e){if(e.get("detailRowAutoHeight"))return{height:1,estimated:!1};const t=e.get("detailRowHeight");return t5(t)?{height:t,estimated:!1}:{height:300,estimated:!1}}function Al(e){const{environment:t,gos:n}=e,o=n.get("rowHeight");if(!o||pn(o))return t.getDefaultRowHeight();const i=t.refreshRowHeightVariable();return i!==-1?i:(Me(24),t.getDefaultRowHeight())}function t5(e){return!isNaN(e)&&typeof e=="number"&&isFinite(e)}function qL(e,t,n){const o=t[e.getDomDataKey()];return o?o[n]:void 0}function ql(e,t,n,o){const i=e.getDomDataKey();let s=t[i];pn(s)&&(s={},t[i]=s),s[n]=o}function uu(e){return e.get("ensureDomOrder")?!1:e.get("animateRows")}function YL(e){return!(e.get("paginateChildRows")||e.get("groupHideOpenParents")||Jn(e,"print"))}function Es(e){return!e.get("autoGroupColumnDef")?.comparator&&!e.get("treeData")}function n5(e){const t=e.get("groupAggFiltering");if(typeof t=="function")return e.getCallback("groupAggFiltering");if(t===!0)return()=>!0}function XL(e){return e.get("grandTotalRow")}function JL(e,t){return t?!1:e.get("groupDisplayType")==="groupRows"}
38function QL(e,t,n){return!!t.group&&!t.footer&&JL(e,n)}function Lu(e){const t=e.getCallback("getRowId");return t===void 0?t:n=>{let o=t(n);return typeof o!="string"&&(O4(()=>Me(25,{id:o}),"getRowIdString"),o=String(o)),o}}function YG(e,t){const n=e.get("groupHideParentOfSingleChild");return!!(n===!0||n==="leafGroupsOnly"&&t.leafGroup||e.get("groupRemoveSingleChildren")||e.get("groupRemoveLowestSingleChildren")&&t.leafGroup)}function XG(e){const t=e.get("maxConcurrentDatasourceRequests");return t>0?t:void 0}function du(e){return e?.checkboxes??!0}function C1(e){return e?.mode==="multiRow"&&(e.headerCheckbox??!0)}function jg(e){if(typeof e=="object")return e.checkboxLocation??"selectionColumn"}function U2(e){return e?.hideDisabledCheckboxes??!1}function JG(e){return typeof e.get("rowSelection")!="string"}function Rr(e){const t=e.get("cellSelection");return t!==void 0?!!t:e.get("enableRangeSelection")}function ex(e){const t=e.get("rowSelection")??"single";if(typeof t=="string"){const n=e.get("suppressRowClickSelection"),o=e.get("suppressRowDeselection");return n&&o?!1:n?"enableDeselection":o?"enableSelection":!0}return t.mode==="singleRow"||t.mode==="multiRow"?t.enableClickSelection??!1:!1}function QG(e){const t=ex(e);return t===!0||t==="enableSelection"}function ez(e){const t=ex(e);return t===!0||t==="enableDeselection"}function o5(e){const t=e.get("rowSelection");return typeof t=="string"?e.get("isRowSelectable"):t?.isRowSelectable}function Zg(e){const t="beanName"in e&&e.beanName==="gos"?e.get("rowSelection"):e.rowSelection;if(typeof t=="string")switch(t){case"multiple":return"multiRow";case"single":return"singleRow";default:return}switch(t?.mode){case"multiRow":case"singleRow":return t.mode;default:return}}function Gh(e){return Zg(e)==="multiRow"}function tz(e){const t=e.get("rowSelection");return typeof t=="string"?e.get("rowMultiSelectWithClick"):t?.enableSelectionWithoutKeys??!1}function Kg(e){const t=e.get("rowSelection");if(typeof t=="string"){const n=e.get("groupSelectsChildren"),o=e.get("groupSelectsFiltered");return n&&o?"filteredDescendants":n?"descendants":"self"}return t?.mode==="multiRow"?t.groupSelects:void 0}function tx(e,t=!0){const n=e.get("rowSelection");return typeof n!="object"?t?"all":void 0:n.mode==="multiRow"?n.selectAll:"all"}function nz(e){const t=e.get("rowSelection");return typeof t=="string"?!1:t?.mode==="multiRow"?t.ctrlASelectsRows??!1:!1}function zh(e){const t=Kg(e);return t==="descendants"||t==="filteredDescendants"}function t8(e){const t=e.get("rowSelection");return typeof t=="object"&&t.masterSelects||"self"}function oz(e){return e.isModuleRegistered("SetFilter")&&!e.get("suppressSetFilterByDefault")}function qo(e){return e.get("columnMenu")==="legacy"}function iz(e){return!qo(e)}function sz(e){return!e||e.length<2?e:"on"+e[0].toUpperCase()+e.substring(1)}function jFe(e,t,n){typeof e!="object"&&(e={});const o={...e};for(const i of n){const s=t[i];typeof s<"u"&&(o[i]=s)}return o}function ZFe(e,t){if(!e)return;const n={};let o=!1;for(const r of Object.keys(e))n[r]=e[r],o=!0;if(!o)return;const i={type:"gridOptionsChanged",options:n};t.dispatchEvent(i);const s={type:"componentStateChanged",...n};t.dispatchEvent(s)}function st(e,t){return e.addCommon(t)}function n8({gos:e},t){return t.button===2||t.ctrlKey&&e.get("allowContextMenuWithControlKey")}var rz={resizable:!0,sortable:!0},az=0;function nx(){return az++}function ka(e){return e instanceof pc}var pc=class extends we{constructor(e,t,n,o){super(),this.colDef=e,this.userProvidedColDef=t,this.colId=n,this.primary=o,this.isColumn=!0,this.instanceId=nx(),this.autoHeaderHeight=null,this.moving=!1,this.resizing=!1,this.menuVisible=!1,this.lastLeftPinned=!1,this.firstRightPinned=!1,this.filterActive=!1,this.colEventSvc=new Kl,this.tooltipEnabled=!1,this.rowGroupActive=!1,this.pivotActive=!1,this.aggregationActive=!1,this.flex=null,this.colIdSanitised=oh(n)}destroy(){super.destroy(),this.beans.rowSpanSvc?.deregister(this)}getInstanceId(){return this.instanceId}setState(){const{colDef:e,beans:{sortSvc:t,pinnedCols:n,colFlex:o}}=this;t?.initCol(this);const i=e.hide;i!==void 0?this.visible=!i:this.visible=!e.initialHide,n?.initCol(this),o?.initCol(this)}setColDef(e,t,n){const o=e.spanRows!==this.colDef.spanRows;this.colDef=e,this.userProvidedColDef=t,this.initMinAndMaxWidths(),this.initDotNotation(),this.initTooltip(),o&&(this.beans.rowSpanSvc?.deregister(this),this.initRowSpan()),this.dispatchColEvent("colDefChanged",n)}getUserProvidedColDef(){return this.userProvidedColDef}getParent(){return this.parent}getOriginalParent(){return this.originalParent}postConstruct(){this.setState(),this.initMinAndMaxWidths(),this.resetActualWidth("gridInitializing"),this.initDotNotation(),this.initTooltip(),this.initRowSpan(),this.addPivotListener()}initDotNotation(){const{gos:e,colDef:{field:t,tooltipField:n}}=this,o=e.get("suppressFieldDotNotation");this.fieldContainsDots=Ge(t)&&t.includes(".")&&!o,this.tooltipFieldContainsDots=Ge(n)&&n.includes(".")&&!o}initMinAndMaxWidths(){const e=this.colDef;this.minWidth=e.minWidth??this.beans.environment.getDefaultColumnMinWidth(),this.maxWidth=e.maxWidth??Number.MAX_SAFE_INTEGER}initTooltip(){this.beans.tooltipSvc?.initCol(this)}initRowSpan(){this.colDef.spanRows&&this.beans.rowSpanSvc?.register(this)}addPivotListener(){const e=this.beans.pivotColDefSvc,t=this.colDef.pivotValueColumn;!e||!t||this.addManagedListeners(t,{colDefChanged:n=>{const o=e.recreateColDef(this.colDef);this.setColDef(o,o,n.source)}})}
38resetActualWidth(e){const t=this.calculateColInitialWidth(this.colDef);this.setActualWidth(t,e,!0)}calculateColInitialWidth(e){let t;const n=e.width,o=e.initialWidth;return n!=null?t=n:o!=null?t=o:t=200,Math.max(Math.min(t,this.maxWidth),this.minWidth)}isEmptyGroup(){return!1}isRowGroupDisplayed(e){return this.beans.showRowGroupCols?.isRowGroupDisplayed(this,e)??!1}isPrimary(){return this.primary}isFilterAllowed(){return!!this.colDef.filter}isFieldContainsDots(){return this.fieldContainsDots}isTooltipEnabled(){return this.tooltipEnabled}isTooltipFieldContainsDots(){return this.tooltipFieldContainsDots}getHighlighted(){return this.highlighted}__addEventListener(e,t){this.colEventSvc.addEventListener(e,t)}__removeEventListener(e,t){this.colEventSvc.removeEventListener(e,t)}addEventListener(e,t){this.frameworkEventListenerService=this.beans.frameworkOverrides.createLocalEventListenerWrapper?.(this.frameworkEventListenerService,this.colEventSvc);const n=this.frameworkEventListenerService?.wrap(e,t)??t;this.colEventSvc.addEventListener(e,n)}removeEventListener(e,t){const n=this.frameworkEventListenerService?.unwrap(e,t)??t;this.colEventSvc.removeEventListener(e,n)}createColumnFunctionCallbackParams(e){return st(this.gos,{node:e,data:e.data,column:this,colDef:this.colDef})}isSuppressNavigable(e){return this.beans.cellNavigation?.isSuppressNavigable(this,e)??!1}isCellEditable(e){return this.beans.editSvc?.isCellEditable({rowNode:e,column:this})??!1}isSuppressFillHandle(){return!!this.colDef.suppressFillHandle}isAutoHeight(){return!!this.colDef.autoHeight}isAutoHeaderHeight(){return!!this.colDef.autoHeaderHeight}isRowDrag(e){return this.isColumnFunc(e,this.colDef.rowDrag)}isDndSource(e){return this.isColumnFunc(e,this.colDef.dndSource)}isCellCheckboxSelection(e){return this.beans.selectionSvc?.isCellCheckboxSelection(this,e)??!1}isSuppressPaste(e){return this.isColumnFunc(e,this.colDef?.suppressPaste??null)}isResizable(){return!!this.getColDefValue("resizable")}getColDefValue(e){return this.colDef[e]??rz[e]}isColumnFunc(e,t){if(typeof t=="boolean")return t;if(typeof t=="function"){const n=this.createColumnFunctionCallbackParams(e);return t(n)}return!1}createColumnEvent(e,t){return st(this.gos,{type:e,column:this,columns:[this],source:t})}isMoving(){return this.moving}getSort(){return this.sort}isSortable(){return!!this.getColDefValue("sortable")}isSortAscending(){return this.sort==="asc"}isSortDescending(){return this.sort==="desc"}isSortNone(){return pn(this.sort)}isSorting(){return Ge(this.sort)}getSortIndex(){return this.sortIndex}isMenuVisible(){return this.menuVisible}getAggFunc(){return this.aggFunc}getLeft(){return this.left}getOldLeft(){return this.oldLeft}getRight(){return this.left+this.actualWidth}setLeft(e,t){this.oldLeft=this.left,this.left!==e&&(this.left=e,this.dispatchColEvent("leftChanged",t))}isFilterActive(){return this.filterActive}isHovered(){return Me(261),!!this.beans.colHover?.isHovered(this)}setFirstRightPinned(e,t){this.firstRightPinned!==e&&(this.firstRightPinned=e,this.dispatchColEvent("firstRightPinnedChanged",t))}setLastLeftPinned(e,t){this.lastLeftPinned!==e&&(this.lastLeftPinned=e,this.dispatchColEvent("lastLeftPinnedChanged",t))}isFirstRightPinned(){return this.firstRightPinned}isLastLeftPinned(){return this.lastLeftPinned}isPinned(){return this.pinned==="left"||this.pinned==="right"}isPinnedLeft(){return this.pinned==="left"}isPinnedRight(){return this.pinned==="right"}getPinned(){return this.pinned}setVisible(e,t){const n=e===!0;this.visible!==n&&(this.visible=n,this.dispatchColEvent("visibleChanged",t)),this.dispatchStateUpdatedEvent("hide")}isVisible(){return this.visible}isSpanHeaderHeight(){return!this.getColDef().suppressSpanHeaderHeight}getFirstRealParent(){let e=this.getOriginalParent();for(;e?.isPadding();)e=e.getOriginalParent();return e}getColumnGroupPaddingInfo(){let e=this.getParent();if(!e?.isPadding())return{numberOfParents:0,isSpanningTotal:!1};const t=e.getPaddingLevel()+1;let n=!0;for(;e;){if(!e.isPadding()){n=!1;break}e=e.getParent()}return{numberOfParents:t,isSpanningTotal:n}}getColDef(){return this.colDef}getDefinition(){return this.colDef}getColumnGroupShow(){return this.colDef.columnGroupShow}getColId(){return this.colId}getId(){return this.colId}getUniqueId(){return this.colId}getActualWidth(){return this.actualWidth}getAutoHeaderHeight(){return this.autoHeaderHeight}setAutoHeaderHeight(e){const t=e!==this.autoHeaderHeight;return this.autoHeaderHeight=e,t}createBaseColDefParams(e){return st(this.gos,{node:e,data:e.data,colDef:this.colDef,column:this})}getColSpan(e){if(pn(this.colDef.colSpan))return 1;const t=this.createBaseColDefParams(e),n=this.colDef.colSpan(t);return Math.max(n,1)}getRowSpan(e){if(pn(this.colDef.rowSpan))return 1;const t=this.createBaseColDefParams(e),n=this.colDef.rowSpan(t);return Math.max(n,1)}setActualWidth(e,t,n=!1){e=Math.max(e,this.minWidth),e=Math.min(e,this.maxWidth),this.actualWidth!==e&&(this.actualWidth=e,this.flex!=null&&t!=="flex"&&t!=="gridInitializing"&&(this.flex=null),n||this.fireColumnWidthChangedEvent(t)),this.dispatchStateUpdatedEvent("width")}fireColumnWidthChangedEvent(e){this.dispatchColEvent("widthChanged",e)}isGreaterThanMax(e){return e>this.maxWidth}getMinWidth(){return this.minWidth}getMaxWidth(){return this.maxWidth}getFlex(){return this.flex}isRowGroupActive(){return this.rowGroupActive}isPivotActive(){return this.pivotActive}isAnyFunctionActive(){return this.isPivotActive()||this.isRowGroupActive()||this.isValueActive()}isAnyFunctionAllowed(){return this.isAllowPivot()||this.isAllowRowGroup()||this.isAllowValue()}isValueActive(){return this.aggregationActive}isAllowPivot(){return this.colDef.enablePivot===!0}isAllowValue(){return this.colDef.enableValue===!0}isAllowRowGroup(){return this.colDef.enableRowGroup===!0}
38dispatchColEvent(e,t,n){const o=this.createColumnEvent(e,t);n&&Ro(o,n),this.colEventSvc.dispatchEvent(o)}dispatchStateUpdatedEvent(e){this.colEventSvc.dispatchEvent({type:"columnStateUpdated",key:e})}};function lo(e){return e instanceof b1}var b1=class extends we{constructor(e,t,n,o){super(),this.colGroupDef=e,this.groupId=t,this.padding=n,this.level=o,this.isColumn=!1,this.expandable=!1,this.instanceId=nx(),this.expandableListenerRemoveCallback=null,this.expanded=!!e?.openByDefault}destroy(){this.expandableListenerRemoveCallback&&this.reset(null,void 0),super.destroy()}reset(e,t){this.colGroupDef=e,this.level=t,this.originalParent=null,this.expandableListenerRemoveCallback&&this.expandableListenerRemoveCallback(),this.children=void 0,this.expandable=void 0}getInstanceId(){return this.instanceId}getOriginalParent(){return this.originalParent}getLevel(){return this.level}isVisible(){return this.children?this.children.some(e=>e.isVisible()):!1}isPadding(){return this.padding}setExpanded(e){this.expanded=e===void 0?!1:e,this.dispatchLocalEvent({type:"expandedChanged"})}isExpandable(){return this.expandable}isExpanded(){return this.expanded}getGroupId(){return this.groupId}getId(){return this.getGroupId()}setChildren(e){this.children=e}getChildren(){return this.children}getColGroupDef(){return this.colGroupDef}getLeafColumns(){const e=[];return this.addLeafColumns(e),e}forEachLeafColumn(e){if(this.children)for(const t of this.children)ka(t)?e(t):lo(t)&&t.forEachLeafColumn(e)}addLeafColumns(e){if(this.children)for(const t of this.children)ka(t)?e.push(t):lo(t)&&t.addLeafColumns(e)}getColumnGroupShow(){const e=this.colGroupDef;if(e)return e.columnGroupShow}setupExpandable(){this.setExpandable(),this.expandableListenerRemoveCallback&&this.expandableListenerRemoveCallback();const e=this.onColumnVisibilityChanged.bind(this);for(const t of this.getLeafColumns())t.__addEventListener("visibleChanged",e);this.expandableListenerRemoveCallback=()=>{for(const t of this.getLeafColumns())t.__removeEventListener("visibleChanged",e);this.expandableListenerRemoveCallback=null}}setExpandable(){if(this.isPadding())return;let e=!1,t=!1,n=!1;const o=this.findChildrenRemovingPadding();for(let s=0,r=o.length;s<r;s++){const a=o[s];if(!a.isVisible())continue;const l=a.getColumnGroupShow();l==="open"?(e=!0,n=!0):l==="closed"?(t=!0,n=!0):(e=!0,t=!0)}const i=e&&t&&n;this.expandable!==i&&(this.expandable=i,this.dispatchLocalEvent({type:"expandableChanged"}))}findChildrenRemovingPadding(){const e=[],t=n=>{for(const o of n)lo(o)&&o.isPadding()?t(o.children):e.push(o)};return t(this.children),e}onColumnVisibilityChanged(){this.setExpandable()}},lz={numericColumn:{headerClass:"ag-right-aligned-header",cellClass:"ag-right-aligned-cell"},rightAligned:{headerClass:"ag-right-aligned-header",cellClass:"ag-right-aligned-cell"}};function o8(e,t,n){const o={},i=e.gos;return Object.assign(o,i.get("defaultColGroupDef")),Object.assign(o,t),i.validateColDef(o,n),o}var cz=class{constructor(){this.existingKeys={}}addExistingKeys(e){for(let t=0;t<e.length;t++)this.existingKeys[e[t]]=!0}getUniqueKey(e,t){e=YC(e);let n=0;for(;;){let o=e??t;if(o?n!==0&&(o+="_"+n):o=n,!this.existingKeys[o]){const i=String(o);return e&&n>0&&Me(273,{providedId:e,usedId:i}),this.existingKeys[i]=!0,i}n++}}};function on(e){if(e?.length)return e[e.length-1]}function za(e,t,n){if(e===t)return!0;if(!e||!t)return e==null&&t==null;const o=e.length;if(o!==t.length)return!1;for(let i=0;i<o;i++)if(e[i]!==t[i]&&!n?.(e[i],t[i]))return!1;return!0}function Ld(e,t){if(e)for(const n of e)t(n)}function os(e,t){const n=e.indexOf(t);n>=0&&e.splice(n,1)}function i8(e,t,n){for(let o=0;o<t.length;o++)os(e,t[o]);for(let o=t.length-1;o>=0;o--)e.splice(n,0,t[o])}var c0="ag-Grid-AutoColumn",ox="ag-Grid-SelectionColumn",ix="ag-Grid-RowNumbersColumn";function sx(e){const t=[],n=o=>{for(let i=0;i<o.length;i++){const s=o[i];ka(s)?t.push(s):lo(s)&&n(s.getChildren())}};return n(e),t}function ir(e){return e.reduce((t,n)=>t+n.getActualWidth(),0)}function qg(e,t,n){const o={};if(!t)return;mr(null,t,s=>{o[s.getInstanceId()]=s}),n&&mr(null,n,s=>{o[s.getInstanceId()]=null});const i=Object.values(o).filter(s=>s!=null);e.context.destroyBeans(i)}function $4(e){return e.getId().startsWith(c0)}function Hr(e){return(typeof e=="string"?e:"getColId"in e?e.getColId():e.colId)?.startsWith(ox)??!1}function gr(e){return(typeof e=="string"?e:"getColId"in e?e.getColId():e.colId)?.startsWith(ix)??!1}function uz(e){return Hr(e)||gr(e)}function Yg(e){let t=[];return e instanceof Array?t=e:typeof e=="string"&&(t=e.split(",")),t}function dz(e,t){return za(e,t,(n,o)=>n.getColId()===o.getColId())}function hz(e){e.map={};for(const t of e.list)e.map[t.getId()]=t}function hu(e){return e==="optionsUpdated"?"gridOptionsChanged":e}function lh(e,t){const n=e===t,o=e.getColDef()===t,i=e.getColId()==t;return n||o||i}var pz=(e,t)=>
38(n,o)=>{const i={value1:void 0,value2:void 0};let s=!1;return e&&(e[n]!==void 0&&(i.value1=e[n],s=!0),Ge(o)&&e[o]!==void 0&&(i.value2=e[o],s=!0)),!s&&t&&(t[n]!==void 0&&(i.value1=t[n]),Ge(o)&&t[o]!==void 0&&(i.value2=t[o])),i},fz=(e,t)=>{lo(e)&&e.setupExpandable(),e.originalParent=t};function gz(e,t=null,n,o,i){const s=new cz,{existingCols:r,existingGroups:a,existingColKeys:l}=mz(o);s.addExistingKeys(l);const c=rx(e,t,0,n,r,s,a,i),{colGroupSvc:u}=e,d=u?.findMaxDepth(c,0)??0,h=u?u.balanceColumnTree(c,0,d,s):c;return mr(null,h,fz),{columnTree:h,treeDepth:d}}function mz(e){const t=[],n=[],o=[];return e&&mr(null,e,i=>{if(lo(i)){const s=i;n.push(s)}else{const s=i;o.push(s.getId()),t.push(s)}}),{existingCols:t,existingGroups:n,existingColKeys:o}}function rx(e,t,n,o,i,s,r,a){if(!t)return[];const{colGroupSvc:l}=e,c=new Array(t.length);for(let u=0;u<c.length;u++){const d=t[u];l&&Sz(d)?c[u]=l.createProvidedColumnGroup(o,d,n,i,s,r,a):c[u]=vz(e,o,d,i,s,a)}return c}function vz(e,t,n,o,i,s){const r=bz(n,o);r&&o?.splice(r.idx,1);let a=r?.column;if(a){const l=i5(e,n,a.getColId());a.setColDef(l,n,s),Cz(e,a,l,s)}else{const l=i.getUniqueKey(n.colId,n.field),c=i5(e,n,l);a=new pc(c,n,l,t),e.context.createBean(a)}return e.dataTypeSvc?.addColumnListeners(a),a}function ax(e,t,n,o,i,s,r,a){const{sortSvc:l,pinnedCols:c,colFlex:u}=e;n!==void 0&&t.setVisible(!n,a),l&&(l.updateColSort(t,o,a),i!==void 0&&l.setColSortIndex(t,i)),s!==void 0&&c?.setColPinned(t,s),r!==void 0&&u?.setColFlex(t,r)}function Cz(e,t,n,o){ax(e,t,n.hide,n.sort,n.sortIndex,n.pinned,n.flex,o);const i=t.getFlex();if(!(i!=null&&i>0))if(n.width!=null)t.setActualWidth(n.width,o);else{const s=t.getActualWidth();t.setActualWidth(s,o)}}function bz(e,t){if(t)for(let n=0;n<t.length;n++){const o=t[n].getUserProvidedColDef();if(!o)continue;if(e.colId!=null){if(t[n].getId()===e.colId)return{idx:n,column:t[n]};continue}if(e.field!=null){if(o.field===e.field)return{idx:n,column:t[n]};continue}if(o===e)return{idx:n,column:t[n]}}}function i5(e,t,n,o){const{gos:i,dataTypeSvc:s}=e,r={},a=i.get("defaultColDef");
38Ro(r,a,!1,!0);const l=yz(e,r,t,n);l&&wz(e,l,r);const c=r.cellDataType;Ro(r,t,!1,!0),c!==void 0&&(r.cellDataType=c);const u=i.get("autoGroupColumnDef"),d=Es(i);return t.rowGroup&&u&&d&&Ro(r,{sort:u.sort,initialSort:u.initialSort},!1,!0),s&&(s.postProcess(r),s.validateColDef(r)),i.validateColDef(r,n,o),r}function yz(e,t,n,o){const i=e.dataTypeSvc?.updateColDefAndGetColumnType(t,n,o),s=n.type??i??t.type;return t.type=s,s?Yg(s):void 0}function wz(e,t,n){if(!t.length)return;const o=Object.assign({},lz),i=e.gos.get("columnTypes")||{};for(const s of Object.keys(i)){const r=i[s];s in o?Me(34,{key:s}):(r.type&&Me(35),o[s]=r)}for(const s of t){const r=o[s.trim()];r?Ro(n,r,!1,!0):Me(36,{t:s})}}function Sz(e){return e.children!==void 0}function mr(e,t,n){if(t)for(let o=0;o<t.length;o++){const i=t[o];lo(i)&&mr(i,i.getChildren(),n),n(i,e)}}function lx(e,t){const n=[],o=[],i=[];return e.forEach(r=>{const a=r.getColDef().lockPosition;a==="right"?i.push(r):a==="left"||a===!0?n.push(r):o.push(r)}),t.get("enableRtl")?[...i,...o,...n]:[...n,...o,...i]}function cx(e,t){let n=!0;return mr(null,t,o=>{if(!lo(o))return;const i=o;if(!i.getColGroupDef()?.marryChildren)return;const a=[];for(const h of i.getLeafColumns()){const p=e.indexOf(h);a.push(p)}const l=Math.max.apply(Math,a),c=Math.min.apply(Math,a),u=l-c,d=i.getLeafColumns().length-1;u>d&&(n=!1)}),n}function ux(e,t){if(!e||e.length==0)return;const n=t(e[0]);for(let o=1;o<e.length;o++)if(n!==t(e[o]))return;return n}function dx(e,t,n){if(!t.length)return;const o=t.length===1?t[0]:null,i=ux(t,s=>s.getPinned());e.dispatchEvent({type:"columnPinned",pinned:i??null,columns:t,column:o,source:n})}function Ez(e,t,n){if(!t.length)return;const o=t.length===1?t[0]:null,i=ux(t,s=>s.isVisible());e.dispatchEvent({type:"columnVisible",visible:i,columns:t,column:o,source:n})}function Tz(e,t,n,o){e.dispatchEvent({type:t,columns:n,column:n&&n.length==1?n[0]:null,source:o})}function xu(e,t,n,o,i=null){t?.length&&e.dispatchEvent({type:"columnResized",columns:t,column:t.length===1?t[0]:null,flexColumns:i,finished:n,source:o})}function Xi(e,t,n){const{colModel:o,rowGroupColsSvc:i,pivotColsSvc:s,autoColSvc:r,selectionColSvc:a,colAnimation:l,visibleCols:c,pivotResultCols:u,environment:d,valueColsSvc:h,eventSvc:p,gos:f}=e,g=o.getColDefCols()??[],m=a?.getColumns();if(!g.length&&!m?.length)return!1;if(t?.state&&!t.state.forEach)return Me(32),!1;const v=(S,E,T,R,A)=>{if(!S)return;const k=pz(E,t.defaultState),D=k("flex").value1;if(ax(e,S,k("hide").value1,k("sort").value1,k("sortIndex").value1,k("pinned").value1,D,n),D==null){const V=k("width").value1;if(V!=null){const O=S.getColDef().minWidth??d.getDefaultColumnMinWidth();O!=null&&V>=O&&S.setActualWidth(V,n)}}A||!S.isPrimary()||(h?.syncColumnWithState(S,n,k),i?.syncColumnWithState(S,n,k,T),s?.syncColumnWithState(S,n,k,R))},y=(S,E,T)=>{const R=hx(e,n),A=E.slice(),k={},D={},V=[],O=[],F=[];let _=0;const P=i?.columns.slice()??[],L=s?.columns.slice()??[];for(const B of S){const z=B.colId;if(z.startsWith(c0)){V.push(B),F.push(B);continue}if(Hr(z)){O.push(B),F.push(B);continue}const j=T(z);j?(v(j,B,k,D,!1),os(A,j)):(F.push(B),_+=1)}const x=B=>v(B,null,k,D,!1);A.forEach(x),i?.sortColumns(s8.bind(i,k,P)),s?.sortColumns(s8.bind(s,D,L)),o.refreshCols(!1,n);const I=(B,z,H=[])=>{for(const j of z){const Q=B(j.colId);os(H,Q),v(Q,j,null,null,!0)}
38H.forEach(x)};return I(B=>r?.getColumn(B)??null,V,r?.getColumns()?.slice()),I(B=>a?.getColumn(B)??null,O,a?.getColumns()?.slice()),Pz(t,o,f),c.refresh(n),p.dispatchEvent({type:"columnEverythingChanged",source:n}),R(),{unmatchedAndAutoStates:F,unmatchedCount:_}};l?.start();let{unmatchedAndAutoStates:b,unmatchedCount:w}=y(t.state||[],g,S=>o.getColDefCol(S));if(b.length>0||Ge(t.defaultState)){const S=u?.getPivotResultCols()?.list??[];w=y(b,S,E=>u?.getPivotResultCol(E)??null).unmatchedCount}return l?.finish(),w===0}function Rz(e,t){const{colModel:n,autoColSvc:o,selectionColSvc:i,eventSvc:s,gos:r}=e,a=n.getColDefCols();if(!a?.length)return;const l=n.getColDefColTree(),c=sx(l),u=[];let d=1e3,h=1e3;const p=y=>{const b=px(y);pn(b.rowGroupIndex)&&b.rowGroup&&(b.rowGroupIndex=d++),pn(b.pivotIndex)&&b.pivot&&(b.pivotIndex=h++),u.push(b)};o?.getColumns()?.forEach(p),i?.getColumns()?.forEach(p),c?.forEach(p),Xi(e,{state:u},t);const f=o?.getColumns()??[],v=[...i?.getColumns()??[],...f,...a].map(y=>({colId:y.colId}));Xi(e,{state:v,applyOrder:!0},t),s.dispatchEvent(st(r,{type:"columnsReset",source:t}))}function hx(e,t){const{rowGroupColsSvc:n,pivotColsSvc:o,valueColsSvc:i,colModel:s,sortSvc:r,eventSvc:a}=e,l={rowGroupColumns:n?.columns.slice()??[],pivotColumns:o?.columns.slice()??[],valueColumns:i?.columns.slice()??[]},c=Xg(e),u={};for(const d of c)u[d.colId]=d;return()=>{const d=(E,T,R,A)=>{const k=T.map(A),D=R.map(A);if(za(k,D))return;const O=new Set(T);for(const _ of R)O.delete(_)||O.add(_);const F=[...O];a.dispatchEvent({type:E,columns:F,column:F.length===1?F[0]:null,source:t})},h=E=>{const T=[];return s.forAllCols(R=>{const A=u[R.getColId()];A&&E(A,R)&&T.push(R)}),T},p=E=>E.getColId();d("columnRowGroupChanged",l.rowGroupColumns,n?.columns??[],p),d("columnPivotChanged",l.pivotColumns,o?.columns??[],p);const g=h((E,T)=>{const R=E.aggFunc!=null,A=R!=T.isValueActive(),k=R&&E.aggFunc!=T.getAggFunc();return A||k});g.length>0&&Tz(a,"columnValueChanged",g,t),xu(a,h((E,T)=>E.width!=T.getActualWidth()),!0,t),dx(a,h((E,T)=>E.pinned!=T.getPinned()),t),Ez(a,h((E,T)=>E.hide==T.isVisible()),t);const w=h((E,T)=>E.sort!=T.getSort()||E.sortIndex!=T.getSortIndex());w.length>0&&r?.dispatchSortChangedEvents(t,w);const S=Xg(e);Lz(c,S,t,s,a)}}function Xg(e){const{colModel:t,rowGroupColsSvc:n,pivotColsSvc:o}=e,i=t.getColDefCols();if(pn(i)||!t.isAlive())return[];const s=n?.columns,r=o?.columns,a=[],l=u=>{const d=u.isRowGroupActive()&&s?s.indexOf(u):null,h=u.isPivotActive()&&r?r.indexOf(u):null,p=u.isValueActive()?u.getAggFunc():null,f=u.getSort()!=null?u.getSort():null,g=u.getSortIndex()!=null?u.getSortIndex():null;a.push({colId:u.getColId(),width:u.getActualWidth(),hide:!u.isVisible(),pinned:u.getPinned(),sort:f,sortIndex:g,aggFunc:p,rowGroup:u.isRowGroupActive(),rowGroupIndex:d,pivot:u.isPivotActive(),pivotIndex:h,flex:u.getFlex()??null})};t.forAllCols(u=>l(u));const c=new Map(t.getCols().map((u,d)=>[u.getColId(),d]));return a.sort((u,d)=>{const h=c.has(u.colId)?c.get(u.colId):-1,p=c.has(d.colId)?c.get(d.colId):-1;return h-p}),a}function px(e){const t=(f,g)=>f??g??null,n=e.getColDef(),o=t(n.sort,n.initialSort),i=t(n.sortIndex,n.initialSortIndex),s=t(n.hide,n.initialHide),r=t(n.pinned,n.initialPinned),a=t(n.width,n.initialWidth),l=t(n.flex,n.initialFlex);let c=t(n.rowGroupIndex,n.initialRowGroupIndex),u=t(n.rowGroup,n.initialRowGroup);c==null&&!u&&(c=null,u=null);let d=t(n.pivotIndex,n.initialPivotIndex),h=t(n.pivot,n.initialPivot);d==null&&!h&&(d=null,h=null);const p=t(n.aggFunc,n.initialAggFunc);return{colId:e.getColId(),sort:o,sortIndex:i,hide:s,pinned:r,width:a,flex:l,rowGroup:u,rowGroupIndex:c,pivot:h,pivotIndex:d,aggFunc:p}}function Pz(e,t,n){if(!e.applyOrder||!e.state)return;const o=[];for(const i of e.state)i.colId!=null&&o.push(i.colId);Mz(t.cols,o,t,n)}function Mz(e,t,n,o){if(e==null)return;let i=[];const s={};for(const a of t){if(s[a])continue;const l=e.map[a];l&&(i.push(l),s[a]=!0)}let r=0;for(const a of e.list){const l=a.getColId();if(s[l]!=null)continue;l.startsWith(c0)?i.splice(r++,0,a):i.push(a)}if(i=lx(i,o),!cx(i,n.getColTree())){Me(39);return}e.list=i}function Lz(e,t,n,o,i){const s={};for(const u of t)s[u.colId]=u;const r={};for(const u of e)s[u.colId]&&(r[u.colId]=!0);const a=e.filter(u=>r[u.colId]),l=t.filter(u=>r[u.colId]),c=[];l.forEach((u,d)=>{const h=a?.[d];if(h&&h.colId!==u.colId){const p=o.getCol(h.colId);p&&c.push(p)}}
38),c.length&&i.dispatchEvent({type:"columnMoved",columns:c,column:c.length===1?c[0]:null,finished:!0,source:n})}var s8=(e,t,n,o)=>{const i=e[n.getId()],s=e[o.getId()],r=i!=null,a=s!=null;if(r&&a)return i-s;if(r)return-1;if(a)return 1;const l=t.indexOf(n),c=t.indexOf(o),u=l>=0,d=c>=0;return u&&d?l-c:u?-1:1},xz=class extends we{constructor(){super(...arguments),this.beanName="colModel",this.pivotMode=!1,this.ready=!1,this.changeEventsDispatching=!1}postConstruct(){this.pivotMode=this.gos.get("pivotMode"),this.addManagedPropertyListeners(["groupDisplayType","treeData","treeDataDisplayType","groupHideOpenParents","rowNumbers","hidePaddedHeaderRows"],e=>this.refreshAll(hu(e.source))),this.addManagedPropertyListeners(["defaultColDef","defaultColGroupDef","columnTypes","suppressFieldDotNotation"],this.recreateColumnDefs.bind(this)),this.addManagedPropertyListener("pivotMode",e=>this.setPivotMode(this.gos.get("pivotMode"),hu(e.source)))}createColsFromColDefs(e){const{beans:t}=this,{valueCache:n,colAutosize:o,rowGroupColsSvc:i,pivotColsSvc:s,valueColsSvc:r,visibleCols:a,eventSvc:l,groupHierarchyColSvc:c}=t,u=this.colDefs?hx(t,e):void 0;n?.expire();const d=this.colDefCols?.list,h=this.colDefCols?.tree,p=gz(t,this.colDefs,!0,h,e);qg(t,this.colDefCols?.tree,p.columnTree);const f=p.columnTree,g=p.treeDepth,m=sx(f),v={};for(const y of m)v[y.getId()]=y;this.colDefCols={tree:f,treeDepth:g,list:m,map:v},this.createColumnsForService([c],this.colDefCols,e),i?.extractCols(e,d),s?.extractCols(e,d),r?.extractCols(e,d),this.ready=!0,this.refreshCols(!0,e),a.refresh(e),l.dispatchEvent({type:"columnEverythingChanged",source:e}),u&&(this.changeEventsDispatching=!0,u(),this.changeEventsDispatching=!1),l.dispatchEvent({type:"newColumnsLoaded",source:e}),e==="gridInitializing"&&o?.applyAutosizeStrategy()}refreshCols(e,t){if(!this.colDefCols)return;const n=this.cols?.tree;this.saveColOrder();const{autoColSvc:o,selectionColSvc:i,rowNumbersSvc:s,quickFilter:r,pivotResultCols:a,showRowGroupCols:l,rowAutoHeight:c,visibleCols:u,colViewport:d,eventSvc:h}=this.beans,p=this.selectCols(a,this.colDefCols);this.createColumnsForService([o,i,s],p,t);const f=KG(this.gos,this.showingPivotResult);(!e||f)&&this.restoreColOrder(p),this.positionLockedCols(p),l?.refresh(),r?.refreshCols(),this.setColSpanActive(),c?.setAutoHeightActive(p),u.clear(),d.clear(),!za(n,this.cols.tree)&&h.dispatchEvent({type:"gridColumnsChanged"})}createColumnsForService(e,t,n){for(const o of e)o&&(o.createColumns(t,i=>{this.lastOrder=i(this.lastOrder),this.lastPivotOrder=i(this.lastPivotOrder)},n),o.addColumns(t))}selectCols(e,t){const n=e?.getPivotResultCols()??null;this.showingPivotResult=n!=null;const{map:o,list:i,tree:s,treeDepth:r}=n??t;return this.cols={list:i.slice(),map:{...o},tree:s.slice(),treeDepth:r},n&&(n.list.some(l=>this.cols?.map[l.getColId()]!==void 0)||(this.lastPivotOrder=null)),this.cols}getColsToShow(){if(!this.cols)return[];const{valueColsSvc:e,selectionColSvc:t,gos:n}=this.beans,o=this.isPivotMode()&&!this.showingPivotResult,i=t?.isSelectionColumnEnabled(),s=n.get("rowNumbers"),r=e?.columns;return this.cols.list.filter(l=>{const c=$4(l);if(o){const u=r?.includes(l);return c||u||i&&Hr(l)||s&&gr(l)}else return c||l.isVisible()})}refreshAll(e){this.ready&&(this.refreshCols(!1,e),this.beans.visibleCols.refresh(e))}setColsVisible(e,t=!1,n){Xi(this.beans,{state:e.map(o=>({colId:typeof o=="string"?o:o.getColId(),hide:!t}))},n)}restoreColOrder(e){const t=this.showingPivotResult?this.lastPivotOrder:this.lastOrder;if(!t)return;const n=t.filter(d=>e.map[d.getId()]!=null);if(n.length===0)return;if(n.length===e.list.length){e.list=n;return}const o=d=>{const h=d.getOriginalParent();return h?h.getChildren().length>1?!0:o(h):!1};if(!n.some(d=>o(d))){const d=new Set(n);for(const h of e.list)d.has(h)||n.push(h);e.list=n;return}const i=new Map;for(let d=0;d<n.length;d++){const h=n[d];i.set(h,d)}const s=e.list.filter(d=>!i.has(d));if(s.length===0){e.list=n;return}const r=(d,h)=>{const p=h?h.getOriginalParent():d.getOriginalParent();if(!p)return null;let f=null,g=null;for(const m of p.getChildren())if(!(m===h||m===d)){if(m instanceof pc){const v=i.get(m);
38if(v==null)continue;(f==null||f<v)&&(f=v,g=m);continue}m.forEachLeafColumn(v=>{const y=i.get(v);y!=null&&(f==null||f<y)&&(f=y,g=v)})}return g??r(d,p)},a=[],l=new Map;for(const d of s){const h=r(d,null);if(h==null){a.push(d);continue}const p=l.get(h);p===void 0?l.set(h,d):Array.isArray(p)?p.push(d):l.set(h,[p,d])}const c=new Array(e.list.length);let u=c.length-1;for(let d=a.length-1;d>=0;d--)c[u--]=a[d];for(let d=n.length-1;d>=0;d--){const h=n[d],p=l.get(h);if(p)if(Array.isArray(p))for(let f=p.length-1;f>=0;f--){const g=p[f];c[u--]=g}else c[u--]=p;c[u--]=h}e.list=c}positionLockedCols(e){e.list=lx(e.list,this.gos)}saveColOrder(){this.showingPivotResult?this.lastPivotOrder=this.cols?.list??null:this.lastOrder=this.cols?.list??null}getColumnDefs(e){return this.colDefCols&&this.beans.colDefFactory?.getColumnDefs(this.colDefCols.list,this.showingPivotResult,this.lastOrder,this.cols?.list??[],e)}setColSpanActive(){this.colSpanActive=!!this.cols?.list.some(e=>e.getColDef().colSpan!=null)}isPivotMode(){return this.pivotMode}setPivotMode(e,t){if(e===this.pivotMode||(this.pivotMode=e,!this.ready))return;this.refreshCols(!1,t);const{visibleCols:n,eventSvc:o}=this.beans;n.refresh(t),o.dispatchEvent({type:"columnPivotModeChanged"})}isPivotActive(){const e=this.beans.pivotColsSvc?.columns;return this.pivotMode&&!!e?.length}recreateColumnDefs(e){if(!this.cols)return;this.beans.autoColSvc?.updateColumns(e);const t=hu(e.source);this.createColsFromColDefs(t)}setColumnDefs(e,t){this.colDefs=e,this.createColsFromColDefs(t)}destroy(){qg(this.beans,this.colDefCols?.tree),super.destroy()}getColTree(){return this.cols?.tree??[]}getColDefColTree(){return this.colDefCols?.tree??[]}getColDefCols(){return this.colDefCols?.list??null}getCols(){return this.cols?.list??[]}forAllCols(e){const{pivotResultCols:t,autoColSvc:n,selectionColSvc:o,groupHierarchyColSvc:i}=this.beans;Ld(this.colDefCols?.list,e),Ld(n?.columns?.list,e),Ld(o?.columns?.list,e),Ld(i?.columns?.list,e),Ld(t?.getPivotResultCols()?.list,e)}getColsForKeys(e){return e?e.map(t=>this.getCol(t)).filter(t=>t!=null):[]}getColDefCol(e){return this.colDefCols?.list?this.getColFromCollection(e,this.colDefCols):null}getCol(e){return e==null?null:this.getColFromCollection(e,this.cols)}getColById(e){return this.cols?.map[e]??null}getColFromCollection(e,t){if(t==null)return null;const{map:n,list:o}=t;if(typeof e=="string"&&n[e])return n[e];for(let a=0;a<o.length;a++)if(lh(o[a],e))return o[a];const{autoColSvc:i,selectionColSvc:s,groupHierarchyColSvc:r}=this.beans;return i?.getColumn(e)??s?.getColumn(e)??r?.getColumn(e)??null}},fx=class{constructor(){this.existingIds={}}getInstanceIdForKey(e){const t=this.existingIds[e];let n;return typeof t!="number"?n=0:n=t+1,this.existingIds[e]=n,n}};function Np(e,t,n){return n&&e.addDestroyFunc(()=>t.destroyBean(n)),n??e}var $e=null;function r8(e){return typeof e?.getGui=="function"}var gx=class{constructor(e){this.cssClassStates={},this.getGui=e}toggleCss(e,t){if(!e)return;if(e.indexOf(" ")>=0){const o=(e||"").split(" ");if(o.length>1){for(const i of o)this.toggleCss(i,t);return}}this.cssClassStates[e]!==t&&e.length&&(this.getGui()?.classList.toggle(e,t),this.cssClassStates[e]=t)}},Dz=0,Bp=class extends Us{constructor(e,t){super(),this.suppressDataRefValidation=!1,this.displayed=!0,this.visible=!0,this.compId=Dz++,this.cssManager=new gx(()=>this.eGui),this.componentSelectors=new Map((t??[]).map(n=>[n.selector,n])),e&&this.setTemplate(e)}preConstruct(){this.wireTemplate(this.getGui());const e="component-"+Object.getPrototypeOf(this)?.constructor?.name;for(const t of this.css??[])this.beans.environment.addGlobalCSS(t,e)}wireTemplate(e,t){e&&this.gos&&(this.applyElementsToComponent(e),this.createChildComponentsFromTags(e,t))}getCompId(){return this.compId}getDataRefAttribute(e){return e.getAttribute?e.getAttribute(IL):null}applyElementsToComponent(e,t,n,o=null){if(t===void 0&&(t=this.getDataRefAttribute(e)),t){const i=this[t];if(i===$e)this[t]=o??e;else{const s=n?.[t];if(!this.suppressDataRefValidation&&!s)throw new Error(`data-ref: ${t} on ${this.constructor.name} with ${i}`)}}}createChildComponentsFromTags(e,t){const n=[];for(const o of e.childNodes??[])n.push(o);for(const o of n){if(!(o instanceof HTMLElement))continue;const i=this.createComponentFromElement(o,s=>{const r=s.getGui();if(r)for(const a of o.attributes??[])r.setAttribute(a.name,a.value)},t);if(i){if(i.addItems&&o.children.length){this.createChildComponentsFromTags(o,t);const s=Array.prototype.slice.call(o.children);i.addItems(s)}this.swapComponentForNode(i,e,o)}else o.childNodes&&this.createChildComponentsFromTags(o,t)}}createComponentFromElement(e,t,n){const o=e.nodeName,i=this.getDataRefAttribute(e),s=o.indexOf("AG-")===0,r=s?this.componentSelectors.get(o):null;let a=null;if(r){const l=n&&i?n[i]:void 0;a=new r.component(l),a.setParentComponent(this),this.createBean(a,null,t)}else if(s)throw new Error(`selector: ${o}`);return this.applyElementsToComponent(e,i,n,a),a}swapComponentForNode(e,t,n){const o=e.getGui();t.replaceChild(o,n),t.insertBefore(document.createComment(n.nodeName),o),this.addDestroyFunc(this.destroyBean.bind(this,e))}activateTabIndex(e){const t=this.gos.get("tabIndex");e||(e=[]),e.length||e.push(this.getGui());for(const n of e)n.setAttribute("tabindex",t.toString())}setTemplate(e,t,n){let o;typeof e=="string"||e==null?o=k4(e):o=Op(e),this.setTemplateFromElement(o,t,n)}setTemplateFromElement(e,t,n,o=!1){if(this.eGui=e,this.suppressDataRefValidation=o,t)for(let i=0;i<t.length;i++){const s=t[i];this.componentSelectors.set(s.selector,s)}this.wireTemplate(e,n)}getGui(){return this.eGui}getFocusableElement(){return this.eGui}getAriaElement(){return this.getFocusableElement()}setParentComponent(e){this.parentComponent=e}getParentComponent(){return this.parentComponent}setGui(e){this.eGui=e}queryForHtmlElement(e){return this.eGui.querySelector(e)}getContainerAndElement(e,t){let n=t;return e==null?null:(n||(n=this.eGui),I4(e)?{element:e,parent:n}:{element:e.getGui(),parent:n})}prependChild(e,t){const{element:n,parent:o}=this.getContainerAndElement(e,t)||{};!n||!o||o.insertAdjacentElement("afterbegin",n)}appendChild(e,t){const{element:n,parent:o}=this.getContainerAndElement(e,t)||{};!n||!o||o.appendChild(n)}isDisplayed(){return this.displayed}setVisible(e,t={}){if(e!==this.visible){this.visible=e;const{skipAriaHidden:n}=t;uG(this.eGui,e,{skipAriaHidden:n})}}setDisplayed(e,t={}){if(e!==this.displayed){this.displayed=e;const{skipAriaHidden:n}=t;hn(this.eGui,e,{skipAriaHidden:n});const o={type:"displayChanged",visible:this.displayed};this.dispatchLocalEvent(o)}}destroy(){this.parentComponent&&(this.parentComponent=void 0),super.destroy()}
vendor: 8,616 bytes, line 38
38addGuiEventListener(e,t,n){this.eGui.addEventListener(e,t,n),this.addDestroyFunc(()=>this.eGui.removeEventListener(e,t))}addCss(e){this.cssManager.toggleCss(e,!0)}removeCss(e){this.cssManager.toggleCss(e,!1)}toggleCss(e,t){this.cssManager.toggleCss(e,t)}registerCSS(e){this.css||(this.css=[]),this.css.push(e)}},jt=class extends Bp{};function mx(e){return typeof e=="object"&&!!e.component}function kz(e,t){return new bn(n=>{n(window.setInterval(e,t))})}var bn=class Zd{constructor(t){this.status=0,this.resolution=null,this.waiters=[],t(n=>this.onDone(n),n=>this.onReject(n))}static all(t){return t.length?new Zd(n=>{let o=t.length;const i=new Array(o);t.forEach((s,r)=>{s.then(a=>{i[r]=a,o--,o===0&&n(i)})})}):Zd.resolve()}static resolve(t=null){return new Zd(n=>n(t))}then(t){return new Zd(n=>{this.status===1?n(t(this.resolution)):this.waiters.push(o=>n(t(o)))})}onDone(t){this.status=1,this.resolution=t;for(const n of this.waiters)n(t)}onReject(t){}};function Az(e){return e?e.prototype&&"getGui"in e.prototype:!1}function vx(e,t,n,o){const{name:i}=n;let s,r,a,l,c,u;if(t){const d=t,h=d[i+"Selector"],p=h?h(o):null,f=g=>{typeof g=="string"?s=g:g!=null&&g!==!0&&(e.isFrameworkComponent(g)?a=g:r=g)};p?(f(p.component),l=p.params,c=p.popup,u=p.popupPosition):f(d[i])}return{compName:s,jsComp:r,fwComp:a,paramsFromSelector:l,popupFromSelector:c,popupPositionFromSelector:u}}var _z=class extends we{constructor(){super(...arguments),this.beanName="userCompFactory"}wireBeans(e){this.agCompUtils=e.agCompUtils,this.registry=e.registry,this.frameworkCompWrapper=e.frameworkCompWrapper,this.gridOptions=e.gridOptions}getCompDetailsFromGridOptions(e,t,n,o=!1){return this.getCompDetails(this.gridOptions,e,t,n,o)}getCompDetails(e,t,n,o,i=!1){const{name:s,cellRenderer:r}=t;let{compName:a,jsComp:l,fwComp:c,paramsFromSelector:u,popupFromSelector:d,popupPositionFromSelector:h}=vx(this.beans.frameworkOverrides,e,t,o),p,f;const g=b=>{const w=this.registry.getUserComponent(s,b);w&&(l=w.componentFromFramework?void 0:w.component,c=w.componentFromFramework?w.component:void 0,p=w.params,f=w.processParams)};if(a!=null&&g(a),l==null&&c==null&&n!=null&&g(n),l&&r&&!Az(l)&&(l=this.agCompUtils?.adaptFunction(t,l)),!l&&!c){const{validation:b}=this.beans;i&&(a!==n||!n)?a?b?.isProvidedUserComp(a)||qt(50,{compName:a}):n?b||qt(260,{...this.gos.getModuleErrorParams(),propName:s,compName:n}):qt(216,{name:s}):n&&!b&&qt(146,{comp:n});return}const m=this.mergeParams(e,t,o,u,p,f),v=l==null,y=l??c;return{componentFromFramework:v,componentClass:y,params:m,type:t,popupFromSelector:d,popupPositionFromSelector:h,newAgStackInstance:()=>this.newAgStackInstance(y,v,m,t)}}newAgStackInstance(e,t,n,o){const i=!t;let s;i?s=new e:s=this.frameworkCompWrapper.wrap(e,o.mandatoryMethods,o.optionalMethods,o),this.createBean(s);const r=s.init?.(n);return r==null?bn.resolve(s):r.then(()=>s)}mergeParams(e,t,n,o=null,i,s){const r={...n,...i},l=e?.[t.name+"Params"];if(typeof l=="function"){const c=l(n);Ro(r,c)}else typeof l=="object"&&Ro(r,l);return Ro(r,o),s?s(r):r}},Iz={name:"dateComponent",mandatoryMethods:["getDate","setDate"],optionalMethods:["afterGuiAttached","setInputPlaceholder","setInputAriaLabel","setDisabled","refresh"]},Fz={name:"dragAndDropImageComponent",mandatoryMethods:["setIcon","setLabel"]},Oz={name:"headerComponent",optionalMethods:["refresh"]},Nz={name:"innerHeaderComponent"},Bz={name:"innerHeaderGroupComponent"},Hz={name:"headerGroupComponent"},Vz={name:"cellRenderer",optionalMethods:["refresh","afterGuiAttached"],cellRenderer:!0},$z={name:"loadingCellRenderer",cellRenderer:!0},Wz={name:"cellEditor",mandatoryMethods:["getValue"],optionalMethods:["isPopup","isCancelBeforeStart","isCancelAfterEnd","getPopupPosition","focusIn","focusOut","afterGuiAttached","refresh"]},Gz={name:"loadingOverlayComponent",optionalMethods:["refresh"]},zz={name:"noRowsOverlayComponent",optionalMethods:["refresh"]},Uz={name:"tooltipComponent"},W4={name:"filter",mandatoryMethods:["isFilterActive","doesFilterPass","getModel","setModel"],optionalMethods:["afterGuiAttached","afterGuiDetached","onNewRowsLoaded","getModelAsString","onFloatingFilterChanged","onAnyFilterChanged","refresh"]},jz={name:"floatingFilterComponent",mandatoryMethods:["onParentModelChanged"],optionalMethods:["afterGuiAttached","refresh"]},Zz={name:"fullWidthCellRenderer",optionalMethods:["refresh","afterGuiAttached"],cellRenderer:!0},Kz={name:"loadingCellRenderer",cellRenderer:!0},qz={name:"groupRowRenderer",optionalMethods:["afterGuiAttached"],cellRenderer:!0},Yz={name:"detailCellRenderer",optionalMethods:["refresh"],cellRenderer:!0};function Xz(e,t){return e.getCompDetailsFromGridOptions(Fz,"agDragAndDropImage",t,!0)}function Jz(e,t,n){return e.getCompDetails(t,Oz,"agColumnHeader",n)}function Qz(e,t,n){return e.getCompDetails(t,Nz,void 0,n)}function eU(e,t){const n=t.columnGroup.getColGroupDef();return e.getCompDetails(n,Hz,"agColumnGroupHeader",t)}function tU(e,t,n){return e.getCompDetails(t,Bz,void 0,n)}function nU(e,t){return e.getCompDetailsFromGridOptions(Zz,void 0,t,!0)}function oU(e,t){return e.getCompDetailsFromGridOptions(Kz,"agLoadingCellRenderer",t,!0)}function iU(e,t){return e.getCompDetailsFromGridOptions(qz,"agGroupRowRenderer",t,!0)}function sU(e,t){return e.getCompDetailsFromGridOptions(Yz,"agDetailCellRenderer",t,!0)}function a8(e,t,n){return e.getCompDetails(t,Vz,void 0,n)}function l8(e,t,n){return e.getCompDetails(t,$z,"agSkeletonCellRenderer",n,!0)}function Cx(e,t,n){return e.getCompDetails(t,Wz,"agCellEditor",n,!0)}function rU(e,t,n,o){const i=t.filter;return mx(i)&&(t={filter:i.component,filterParams:t.filterParams}),e.getCompDetails(t,W4,o,n,!0)}function aU(e,t,n){return e.getCompDetails(t,Iz,"agDateInput",n,!0)}function lU(e,t){return e.getCompDetailsFromGridOptions(Gz,"agLoadingOverlay",t,!0)}function cU(e,t){return e.getCompDetailsFromGridOptions(zz,"agNoRowsOverlay",t,!0)}function uU(e,t){return e.getCompDetails(t.colDef,Uz,"agTooltipComponent",t,!0)}function dU(e,t,n,o){return e.getCompDetails(t,jz,o,n)}function bx(e,t){return vx(e,t,W4)}function j2(e,t,n){return e.mergeParams(t,W4,n)}function Uh(e){const t=e;return t?.getFrameworkComponentInstance!=null?t.getFrameworkComponentInstance():e}function hU(e){return typeof e=="object"&&!!e.getComp}var he={BACKSPACE:"Backspace",TAB:"Tab",ENTER:"Enter",ESCAPE:"Escape",SPACE:" ",LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",DOWN:"ArrowDown",DELETE:"Delete",F2:"F2",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",PAGE_HOME:"Home",PAGE_END:"End",A:"KeyA",C:"KeyC",D:"KeyD",V:"KeyV",X:"KeyX",Y:"KeyY",Z:"KeyZ"},G4=class extends Bp{isPopup(){return!0}setParentComponent(e){e.addCss("ag-has-popup"),super.setParentComponent(e)}destroy(){const e=this.parentComponent;e?.isAlive()&&e.getGui().classList.remove("ag-has-popup"),super.destroy()}},Z2,K2,q2,Y2,s5,r5,X2;function Ua(){return Z2===void 0&&(Z2=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)),Z2}function yx(){return K2===void 0&&(K2=/(firefox)/i.test(navigator.userAgent)),K2}function wx(){return q2===void 0&&(q2=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)),q2}function _l(){return Y2===void 0&&(Y2=/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1),Y2}function a5(e){if(!e)return null;const t=e.tabIndex,n=e.getAttribute("tabIndex");return t===-1&&(n===null||n===""&&!yx())?null:t.toString()}function pU(){if(X2!==void 0)return X2;if(!document.body)return-1;let e=1e6;const t=yx()?6e6:1e9,n=document.createElement("div");for(document.body.appendChild(n);;){const o=e*2;if(n.style.height=o+"px",o>t||n.clientHeight!==o)break;e=o}return n.remove(),X2=e,e}function fU(){return r5==null&&Sx(),r5}function Sx(){const e=document.body,t=document.createElement("div");t.style.width=t.style.height="100px",t.style.opacity="0",t.style.overflow="scroll",t.style.msOverflowStyle="scrollbar",t.style.position="absolute",e.appendChild(t);let n=t.offsetWidth-t.clientWidth;n===0&&t.clientWidth===0&&(n=null),t.parentNode&&t.remove(),n!=null&&(r5=n,s5=n===0)}function Ex(){return s5==null&&Sx(),s5}var z4="T",gU=new RegExp(`[${z4} ]`),mU=new RegExp(`^\\d{4}-\\d{2}-\\d{2}(${z4}\\d{2}:\\d{2}:\\d{2}\\D?)?`);function Ts(e,t){return e.toString().padStart(t,"0")}function Qo(e,t=!0,n=z4){if(!e)return null;let o=[e.getFullYear(),e.getMonth()+1,e.getDate()].map(i=>Ts(i,2)).join("-");return t&&(o+=n+[e.getHours(),e.getMinutes(),e.getSeconds()].map(i=>Ts(i,2)).join(":")),o}function Mf(e,t=!0){return e?t?[String(e.getFullYear()),String(e.getMonth()+1),Ts(e.getDate(),2),Ts(e.getHours(),2),`:${Ts(e.getMinutes(),2)}`,`:${Ts(e.getSeconds(),2)}
38`]:[e.getFullYear(),e.getMonth()+1,Ts(e.getDate(),2)].map(String):null}var J2=e=>{if(e>3&&e<21)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd"}return"th"},c8=["January","February","March","April","May","June","July","August","September","October","November","December"],Q2=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];function l5(e,t){if(t==null)return Qo(e,!1);const n=Ts(e.getFullYear(),4),o={YYYY:()=>n.slice(n.length-4,n.length),YY:()=>n.slice(n.length-2,n.length),Y:()=>`${e.getFullYear()}`,MMMM:()=>c8[e.getMonth()],MMM:()=>c8[e.getMonth()].slice(0,3),MM:()=>Ts(e.getMonth()+1,2),Mo:()=>`${e.getMonth()+1}${J2(e.getMonth()+1)}`,M:()=>`${e.getMonth()+1}`,Do:()=>`${e.getDate()}${J2(e.getDate())}`,DD:()=>Ts(e.getDate(),2),D:()=>`${e.getDate()}`,dddd:()=>Q2[e.getDay()],ddd:()=>Q2[e.getDay()].slice(0,3),dd:()=>Q2[e.getDay()].slice(0,2),do:()=>`${e.getDay()}${J2(e.getDay())}`,d:()=>`${e.getDay()}`},i=new RegExp(Object.keys(o).join("|"),"g");return t.replace(i,s=>s in o?o[s]():s)}function y1(e,t=!1){return!!Ho(e,t)}function vU(e){return y1(e,!0)}function Ho(e,t=!1,n){if(!e||!n&&!mU.test(e))return null;const[o,i]=e.split(gU);if(!o)return null;const s=o.split("-").map(p=>Number.parseInt(p,10));if(s.filter(p=>!isNaN(p)).length!==3)return null;const[r,a,l]=s,c=new Date(r,a-1,l);if(c.getFullYear()!==r||c.getMonth()!==a-1||c.getDate()!==l||!i&&t)return null;if(!i||i==="00:00:00")return c;const[u,d,h]=i.split(":").map(p=>Number.parseInt(p,10));if(u>=0&&u<24)c.setHours(u);else if(t)return null;if(d>=0&&d<60)c.setMinutes(d);else if(t)return null;if(h>=0&&h<60)c.setSeconds(h);else if(t)return null;return c}function c5(e){const{inputValue:t,allSuggestions:n,hideIrrelevant:o,filterByPercentageOfBestMatch:i}=e;let s=(n??[]).map((l,c)=>({value:l,relevance:CU(t,l),idx:c}));if(s.sort((l,c)=>l.relevance-c.relevance),o&&(s=s.filter(l=>l.relevance<Math.max(l.value.length,t.length))),s.length>0&&i&&i>0){const c=s[0].relevance*i;s=s.filter(u=>c-u.relevance<0)}const r=[],a=[];
38for(const l of s)r.push(l.value),a.push(l.idx);return{values:r,indices:a}}function CU(e,t){e.length<t.length&&([e,t]=[t,e]);let n=[],o=[];const i=e.length,s=t.length;for(let a=0;a<=s;a++)n[a]=a;let r=0;for(let a=1;a<=i;a++){o[0]=a;for(let l=1;l<=s;l++){const c=e[a-1],u=t[l-1];if(c.toLocaleLowerCase()===u.toLocaleLowerCase())++r,c===u&&++r,a>1&&l>1&&e[a-2].toLocaleLowerCase()===t[l-2].toLocaleLowerCase()&&(++r,e[a-2]===t[l-2]&&++r),a<i/2-10&&++r,o[l]=n[l-1];else{const d=o[l-1],h=n[l],p=n[l-1];o[l]=1+Math.min(d,h,p)}}[n,o]=[o,n]}return n[s]/(r+1)}function Tx(e){return e.altKey||e.ctrlKey||e.metaKey?!1:e.key?.length===1}var u5=!1,Jg=0;function bU(e){Jg>0||(e.addEventListener("keydown",Qg),e.addEventListener("mousedown",Qg))}function yU(e){Jg>0||(e.removeEventListener("keydown",Qg),e.removeEventListener("mousedown",Qg))}function Qg(e){const t=u5,n=e.type==="keydown";n&&(e.ctrlKey||e.metaKey||e.altKey)||t!==n&&(u5=n)}function wU(e){const t=Un(e);return bU(t),Jg++,()=>{Jg--,yU(t)}}function SU(){return u5}function pu(e,t,n=!1){const o=cG;let i=ML;t&&(i+=", "+t),n&&(i+=', [tabindex="-1"]');const s=Array.prototype.slice.apply(e.querySelectorAll(o)).filter(l=>zs(l)),r=Array.prototype.slice.apply(e.querySelectorAll(i));return r.length?((l,c)=>l.filter(u=>c.indexOf(u)===-1))(s,r):s}function Yl(e,t=!1,n=!1,o=!1){const i=pu(e,o?".ag-tab-guard":null,n),s=t?on(i):i[0];return s?(s.focus({preventScroll:!0}),!0):!1}function fc(e,t,n,o){const i=pu(t,n?':not([tabindex="-1"])':null),s=Cn(e);let r;n?r=i.findIndex(l=>l.contains(s)):r=i.indexOf(s);const a=r+(o?-1:1);return a<0||a>=i.length?null:i[a]}function Rx(e,t=5){let n=0;for(;e&&a5(e)===null&&++n<=t;)e=e.parentElement;return a5(e)===null?null:e}var EU=".ag-label{white-space:nowrap}:where(.ag-ltr) .ag-label{margin-right:var(--ag-spacing)}:where(.ag-rtl) .ag-label{margin-left:var(--ag-spacing)}:where(.ag-label-align-right) .ag-label{order:1}:where(.ag-ltr) :where(.ag-label-align-right) .ag-label{margin-left:var(--ag-spacing)}:where(.ag-rtl) :where(.ag-label-align-right) .ag-label{margin-right:var(--ag-spacing)}.ag-label-align-right>*{flex:none}.ag-label-align-top{align-items:flex-start;flex-direction:column;>*{align-self:stretch}}.ag-label-ellipsis{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:where(.ag-label-align-top) .ag-label{margin-bottom:calc(var(--ag-spacing)*.5)}",TU=class extends Bp{constructor(e,t,n){super(t,n),this.labelSeparator="",this.labelAlignment="left",this.disabled=!1,this.label="",this.config=e||{},this.registerCSS(EU)}postConstruct(){this.addCss("ag-labeled"),this.eLabel.classList.add("ag-label");const{labelSeparator:e,label:t,labelWidth:n,labelAlignment:o,disabled:i}=this.config;i!=null&&this.setDisabled(i),e!=null&&this.setLabelSeparator(e),t!=null&&this.setLabel(t),n!=null&&this.setLabelWidth(n),this.setLabelAlignment(o||this.labelAlignment),this.refreshLabel()}refreshLabel(){const{label:e,eLabel:t}=this;Xn(t),typeof e=="string"?t.innerText=e+this.labelSeparator:e&&t.appendChild(e),e===""?(hn(t,!1),La(t,"presentation")):(hn(t,!0),La(t,null))}setLabelSeparator(e){return this.labelSeparator===e?this:(this.labelSeparator=e,this.label!=null&&this.refreshLabel(),this)}getLabelId(){const e=this.eLabel;return e.id=e.id||`ag-${this.getCompId()}-label`,e.id}getLabel(){return this.label}setLabel(e){return this.label===e?this:(this.label=e,this.refreshLabel(),this)}setLabelAlignment(e){const n=this.getGui().classList;return n.toggle("ag-label-align-left",e==="left"),n.toggle("ag-label-align-right",e==="right"),n.toggle("ag-label-align-top",e==="top"),this}setLabelEllipsis(e){return this.eLabel.classList.toggle("ag-label-ellipsis",e),this}setLabelWidth(e){return this.label==null?this:(Gg(this.eLabel,e),this)}setDisabled(e){e=!!e;const t=this.getGui();return Hh(t,e),t.classList.toggle("ag-disabled",e),this.disabled=e,this}isDisabled(){return!!this.disabled}},Px=class extends TU{constructor(e,t,n,o){super(e,t,n),this.className=o}postConstruct(){super.postConstruct();const{width:e,value:t,onValueChange:n}=this.config;e!=null&&this.setWidth(e),t!=null&&this.setValue(t),n!=null&&this.onValueChange(n),this.className&&this.addCss(this.className),this.refreshAriaLabelledBy()}setLabel(e){return super.setLabel(e),this.refreshAriaLabelledBy(),this}refreshAriaLabelledBy(){const e=this.getAriaElement(),t=this.getLabelId(),n=this.getLabel();n==null||n==""||ZW(e)!==null?Bh(e,""):Bh(e,t??"")}setAriaLabel(e){return Mu(this.getAriaElement(),e),this.refreshAriaLabelledBy(),this}onValueChange(e){return this.addManagedListeners(this,{fieldValueChanged:()=>e(this.getValue())}),this}getWidth(){return this.getGui().clientWidth}setWidth(e){return xs(this.getGui(),e),this}getPreviousValue(){return this.previousValue}getValue(){return this.value}setValue(e,t){return this.value===e?this:(this.previousValue=this.value,this.value=e,t||this.dispatchLocalEvent({type:"fieldValueChanged"}),this)}};function RU(e){return{tag:"div",role:"presentation",children:[{tag:"div",ref:"eLabel",cls:"ag-input-field-label"},{tag:"div",ref:"eWrapper",cls:"ag-wrapper ag-input-wrapper",role:"presentation",children:[{tag:e,ref:"eInput",cls:"ag-input-field-input"}]}]}}var vl=class extends Px{constructor(e,t,n="text",o="input"){super(e,e?.template??RU(o),[],t),this.inputType=n,this.displayFieldTag=o,this.eLabel=$e,this.eWrapper=$e,this.eInput=$e}
38postConstruct(){super.postConstruct(),this.setInputType(this.inputType);const{eLabel:e,eWrapper:t,eInput:n,className:o}=this;e.classList.add(`${o}-label`),t.classList.add(`${o}-input-wrapper`),n.classList.add(`${o}-input`),this.addCss("ag-input-field"),n.id=n.id||`ag-${this.getCompId()}-input`;const{inputName:i,inputWidth:s}=this.config;i!=null&&this.setInputName(i),s!=null&&this.setInputWidth(s),this.addInputListeners(),this.activateTabIndex([n])}addInputListeners(){this.addManagedElementListeners(this.eInput,{input:e=>this.setValue(e.target.value)})}setInputType(e){this.displayFieldTag==="input"&&(this.inputType=e,Ko(this.eInput,"type",e))}getInputElement(){return this.eInput}setInputWidth(e){return Gg(this.eWrapper,e),this}setInputName(e){return this.getInputElement().setAttribute("name",e),this}getFocusableElement(){return this.eInput}setMaxLength(e){const t=this.eInput;return t.maxLength=e,this}setInputPlaceholder(e){return Ko(this.eInput,"placeholder",e),this}setInputAriaLabel(e){return Mu(this.eInput,e),this.refreshAriaLabelledBy(),this}setDisabled(e){return Hh(this.eInput,e),super.setDisabled(e)}setAutoComplete(e){if(e===!0)Ko(this.eInput,"autocomplete",null);else{const t=typeof e=="string"?e:"off";Ko(this.eInput,"autocomplete",t)}return this}},U4=class extends vl{constructor(e,t="ag-checkbox",n="checkbox"){super(e,t,n),this.labelAlignment="right",this.selected=!1,this.readOnly=!1,this.passive=!1}postConstruct(){super.postConstruct();const{readOnly:e,passive:t}=this.config;typeof e=="boolean"&&this.setReadOnly(e),typeof t=="boolean"&&this.setPassive(t)}addInputListeners(){this.addManagedElementListeners(this.eInput,{click:this.onCheckboxClick.bind(this)}),this.addManagedElementListeners(this.eLabel,{click:this.toggle.bind(this)})}getNextValue(){return this.selected===void 0?!0:!this.selected}setPassive(e){this.passive=e}isReadOnly(){return this.readOnly}setReadOnly(e){this.eWrapper.classList.toggle("ag-disabled",e),this.eInput.disabled=e,this.readOnly=e}setDisabled(e){return this.eWrapper.classList.toggle("ag-disabled",e),super.setDisabled(e)}toggle(){if(this.eInput.disabled)return;const e=this.isSelected(),t=this.getNextValue();this.passive?this.dispatchChange(t,e):this.setValue(t)}getValue(){return this.isSelected()}setValue(e,t){return this.refreshSelectedClass(e),this.setSelected(e,t),this}setName(e){const t=this.getInputElement();return t.name=e,this}isSelected(){return this.selected}setSelected(e,t){if(this.isSelected()===e)return;this.previousValue=this.isSelected(),e=this.selected=typeof e=="boolean"?e:void 0;const n=this.eInput;n.checked=e,n.indeterminate=e===void 0,t||this.dispatchChange(this.selected,this.previousValue)}dispatchChange(e,t,n){this.dispatchLocalEvent({type:"fieldValueChanged",selected:e,previousValue:t,event:n});const o=this.getInputElement();this.eventSvc.dispatchEvent({type:"checkboxChanged",id:o.id,name:o.name,selected:e,previousValue:t})}onCheckboxClick(e){if(this.passive||this.eInput.disabled)return;const t=this.isSelected(),n=this.selected=e.target.checked;this.refreshSelectedClass(n),this.dispatchChange(n,t,e)}refreshSelectedClass(e){const t=this.eWrapper.classList;t.toggle("ag-checked",e===!0),t.toggle("ag-indeterminate",e==null)}},j4={selector:"AG-CHECKBOX",component:U4},PU=class extends U4{constructor(e){super(e,"ag-radio-button","radio")}isSelected(){return this.eInput.checked}toggle(){this.eInput.disabled||this.isSelected()||this.setValue(!0)}addInputListeners(){super.addInputListeners(),this.addManagedEventListeners({checkboxChanged:this.onChange.bind(this)})}onChange(e){const t=this.eInput;e.selected&&e.name&&t.name&&t.name===e.name&&e.id&&t.id!==e.id&&this.setValue(!1,!0)}},gc=class extends vl{constructor(e,t="ag-text-field",n="text"){super(e,t,n)}postConstruct(){super.postConstruct(),this.config.allowedCharPattern&&this.preventDisallowedCharacters()}setValue(e,t){const n=this.eInput;return n.value!==e&&(n.value=Ge(e)?e:""),super.setValue(e,t)}setStartValue(e){this.setValue(e,!0)}preventDisallowedCharacters(){const e=new RegExp(`[${this.config.allowedCharPattern}]`),t=n=>{Tx(n)&&n.key&&!e.test(n.key)&&n.preventDefault()};this.addManagedListeners(this.eInput,{keydown:t,paste:n=>{n.clipboardData?.getData("text")?.split("").some(i=>!e.test(i))&&n.preventDefault()}})}},u0={selector:"AG-INPUT-TEXT-FIELD",component:gc},MU=class extends vl{constructor(e){super(e,"ag-text-area",null,"textarea")}setValue(e,t){const n=super.setValue(e,t);return this.eInput.value=e,n}setCols(e){return this.eInput.cols=e,this}setRows(e){return this.eInput.rows=e,this}},LU={selector:"AG-INPUT-TEXT-AREA",component:MU},Z4=class extends gc{constructor(e){super(e,"ag-number-field","number")}
vendor: 18,037 bytes, line 38
38postConstruct(){super.postConstruct();const e=this.eInput;this.addManagedListeners(e,{blur:()=>{const s=Number.parseFloat(e.value),r=isNaN(s)?"":this.normalizeValue(s.toString());this.value!==r&&this.setValue(r)},wheel:this.onWheel.bind(this)}),e.step="any";const{precision:t,min:n,max:o,step:i}=this.config;typeof t=="number"&&this.setPrecision(t),typeof n=="number"&&this.setMin(n),typeof o=="number"&&this.setMax(o),typeof i=="number"&&this.setStep(i)}onWheel(e){Cn(this.beans)===this.eInput&&e.preventDefault()}normalizeValue(e){return e===""?"":(this.precision!=null&&(e=this.adjustPrecision(e)),e)}adjustPrecision(e,t){const n=this.precision;if(n==null)return e;if(t){const i=Number.parseFloat(e).toFixed(n);return Number.parseFloat(i).toString()}const o=String(e).split(".");if(o.length>1){if(o[1].length<=n)return e;if(n>0)return`${o[0]}.${o[1].slice(0,n)}`}return o[0]}setMin(e){return this.min===e?this:(this.min=e,Ko(this.eInput,"min",e),this)}setMax(e){return this.max===e?this:(this.max=e,Ko(this.eInput,"max",e),this)}setPrecision(e){return this.precision=e,this}setStep(e){return this.step===e?this:(this.step=e,Ko(this.eInput,"step",e),this)}setValue(e,t){return this.setValueOrInputValue(n=>super.setValue(n,t),()=>this,e)}setStartValue(e){return this.setValueOrInputValue(t=>super.setValue(t,!0),t=>{this.eInput.value=t},e)}setValueOrInputValue(e,t,n){if(Ge(n)){let o=this.isScientificNotation(n);if(o&&this.eInput.validity.valid)return e(n);if(!o){n=this.adjustPrecision(n);const i=this.normalizeValue(n);o=n!=i}if(o)return t(n)}return e(n)}getValue(){const e=this.eInput;if(!e.validity.valid)return;const t=e.value;return this.isScientificNotation(t)?this.adjustPrecision(t,!0):super.getValue()}isScientificNotation(e){return typeof e=="string"&&e.includes("e")}},xU={selector:"AG-INPUT-NUMBER-FIELD",component:Z4},DU=class extends gc{constructor(e){super(e,"ag-date-field","date")}postConstruct(){super.postConstruct();const e=Ua();this.addManagedListeners(this.eInput,{wheel:this.onWheel.bind(this),mousedown:()=>{this.isDisabled()||e||this.eInput.focus()}}),this.eInput.step="any"}onWheel(e){Cn(this.beans)===this.eInput&&e.preventDefault()}setMin(e){const t=e instanceof Date?Qo(e??null,!!this.includeTime)??void 0:e;return this.min===t?this:(this.min=t,Ko(this.eInput,"min",t),this)}setMax(e){const t=e instanceof Date?Qo(e??null,!!this.includeTime)??void 0:e;return this.max===t?this:(this.max=t,Ko(this.eInput,"max",t),this)}setStep(e){return this.step===e?this:(this.step=e,Ko(this.eInput,"step",e),this)}setIncludeTime(e){return this.includeTime===e?this:(this.includeTime=e,super.setInputType(e?"datetime-local":"date"),e&&this.setStep(1),this)}getDate(){if(this.eInput.validity.valid)return Ho(this.getValue())??void 0}setDate(e,t){this.setValue(Qo(e??null,this.includeTime),t)}},Mx={selector:"AG-INPUT-DATE-FIELD",component:DU},kU=".ag-list-item{align-items:center;display:flex;height:var(--ag-list-item-height);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;&.ag-active-item{background-color:var(--ag-row-hover-color)}}",AU="ag-active-item",_U=(e,t)=>({tag:"div",cls:`ag-list-item ag-${e}-list-item`,attrs:{role:"option"},children:[{tag:"span",ref:"eText",children:t}]}),IU=class extends Bp{constructor(e,t,n){super(_U(e,t)),this.label=t,this.value=n,this.eText=$e}postConstruct(){this.createTooltip(),this.addEventListeners()}setHighlighted(e){const t=this.getGui();t.classList.toggle(AU,e),PL(t,e),this.dispatchLocalEvent({type:"itemHighlighted",highlighted:e})}getHeight(){return this.getGui().clientHeight}setIndex(e,t){const n=this.getGui();QW(n,e),JW(n,t)}createTooltip(){const e={getTooltipValue:()=>this.label,getGui:()=>this.getGui(),getLocation:()=>"UNKNOWN",shouldDisplayTooltip:()=>A4(this.eText)},t=this.createOptionalManagedBean(this.beans.registry.createDynamicBean("highlightTooltipFeature",!1,e,this));t&&(this.tooltipFeature=t)}addEventListeners(){const e=this.getParentComponent();e&&(this.addGuiEventListener("mouseover",()=>{e.highlightItem(this)}),this.addGuiEventListener("mousedown",t=>{t.preventDefault(),t.stopPropagation(),e.setValue(this.value)}))}},FU=class extends Bp{constructor(e="default"){super({tag:"div",cls:`ag-list ag-${e}-list`}),this.cssIdentifier=e,this.options=[],this.listItems=[],this.highlightedItem=null,this.registerCSS(kU)}postConstruct(){const e=this.getGui();this.addManagedElementListeners(e,{mouseleave:()=>this.clearHighlighted()})}handleKeyDown(e){const t=e.key;switch(t){case he.ENTER:if(!this.highlightedItem)this.setValue(this.getValue());else{const n=this.listItems.indexOf(this.highlightedItem);this.setValueByIndex(n)}break;case he.DOWN:case he.UP:e.preventDefault(),this.navigate(t);break;case he.PAGE_DOWN:case he.PAGE_UP:case he.PAGE_HOME:case he.PAGE_END:e.preventDefault(),this.navigateToPage(t);break}}addOptions(e){for(const t of e)this.addOption(t);return this}addOption(e){const{value:t,text:n}=e,o=n??t;return this.options.push({value:t,text:o}),this.renderOption(t,o),this.updateIndices(),this}clearOptions(){this.options=[],this.reset(!0);for(const e of this.listItems)e.destroy();Xn(this.getGui()),this.listItems=[],this.refreshAriaRole()}setValue(e,t){if(this.value===e)return this.fireItemSelected(),this;if(e==null)return this.reset(t),this;const n=this.options.findIndex(o=>o.value===e);if(n!==-1){const o=this.options[n];this.value=o.value,this.displayValue=o.text,this.highlightItem(this.listItems[n]),t||this.fireChangeEvent()}return this}setValueByIndex(e){return this.setValue(this.options[e].value)}getValue(){return this.value}getDisplayValue(){return this.displayValue}refreshHighlighted(){this.clearHighlighted();const e=this.options.findIndex(t=>t.value===this.value);e!==-1&&this.highlightItem(this.listItems[e])}highlightItem(e){const t=e.getGui();if(!zs(t))return;this.clearHighlighted(),e.setHighlighted(!0),this.highlightedItem=e;const n=this.getGui(),{scrollTop:o,clientHeight:i}=n,{offsetTop:s,offsetHeight:r}=t;(s+r>o+i||s<o)&&t.scrollIntoView({block:"nearest"})}hideItemTooltip(){this.highlightedItem?.tooltipFeature?.attemptToHideTooltip()}destroy(){this.hideItemTooltip(),super.destroy()}reset(e){this.value=null,this.displayValue=null,this.clearHighlighted(),e||this.fireChangeEvent()}clearHighlighted(){this.highlightedItem?.setHighlighted(!1),this.highlightedItem=null}renderOption(e,t){const n=new IU(this.cssIdentifier,t,e);n.setParentComponent(this);const o=this.createManagedBean(n);this.listItems.push(o),this.getGui().appendChild(o.getGui())}navigate(e){const t=e===he.DOWN;let n;const{listItems:o,highlightedItem:i}=this;if(!i)n=t?o[0]:on(o);else{let r=o.indexOf(i)+(t?1:-1);r=Math.min(Math.max(r,0),o.length-1),n=o[r]}this.highlightItem(n)}navigateToPage(e){const{listItems:t,highlightedItem:n}=this;if(!n||t.length===0)return;const o=t.indexOf(n),i=this.options.length-1,s=t[0].getHeight(),r=Math.floor(this.getGui().clientHeight/s);let a=-1;e===he.PAGE_HOME?a=0:e===he.PAGE_END?a=i:e===he.PAGE_DOWN?a=Math.min(o+r,i):e===he.PAGE_UP&&(a=Math.max(o-r,0)),a!==-1&&this.highlightItem(t[a])}refreshAriaRole(){La(this.getGui(),this.options.length===0?"presentation":"listbox")}updateIndices(){this.refreshAriaRole();const e=this.listItems,t=e.length;e.forEach((n,o)=>{n.setIndex(o+1,t)})}fireChangeEvent(){this.dispatchLocalEvent({type:"fieldValueChanged"}),this.fireItemSelected()}fireItemSelected(){this.dispatchLocalEvent({type:"selectedItem"})}},OU=".ag-picker-field-display{flex:1 1 auto}.ag-picker-field{align-items:center;display:flex}.ag-picker-field-icon{border:0;cursor:pointer;display:flex;margin:0;padding:0}.ag-picker-field-wrapper{background-color:var(--ag-picker-button-background-color);border:var(--ag-picker-button-border);border-radius:5px;min-height:max(var(--ag-list-item-height),calc(var(--ag-spacing)*4));overflow:hidden;&:where(.ag-picker-has-focus),&:where(:focus-within){background-color:var(--ag-picker-button-focus-background-color);border:var(--ag-picker-button-focus-border);box-shadow:var(--ag-focus-shadow);&:where(.invalid){box-shadow:var(--ag-focus-error-shadow)}}&:where(.invalid){background-color:var(--ag-input-invalid-background-color);border:var(--ag-input-invalid-border);color:var(--ag-input-invalid-text-color)}&:disabled{opacity:.5}}",NU={tag:"div",cls:"ag-picker-field",role:"presentation",children:[{tag:"div",ref:"eLabel"},{tag:"div",ref:"eWrapper",cls:"ag-wrapper ag-picker-field-wrapper ag-picker-collapsed",children:[{tag:"div",ref:"eDisplayField",cls:"ag-picker-field-display"},{tag:"div",ref:"eIcon",cls:"ag-picker-field-icon",attrs:{"aria-hidden":"true"}}]}]},BU=class extends Px{constructor(e){if(super(e,e?.template||NU,e?.agComponents||[],e?.className),this.isPickerDisplayed=!1,this.skipClick=!1,this.pickerGap=4,this.hideCurrentPicker=null,this.eLabel=$e,this.eWrapper=$e,this.eDisplayField=$e,this.eIcon=$e,this.registerCSS(OU),this.ariaRole=e?.ariaRole,this.onPickerFocusIn=this.onPickerFocusIn.bind(this),this.onPickerFocusOut=this.onPickerFocusOut.bind(this),!e)return;const{pickerGap:t,maxPickerHeight:n,variableWidth:o,minPickerWidth:i,maxPickerWidth:s}=e;t!=null&&(this.pickerGap=t),this.variableWidth=!!o,n!=null&&this.setPickerMaxHeight(n),i!=null&&this.setPickerMinWidth(i),s!=null&&this.setPickerMaxWidth(s)}postConstruct(){super.postConstruct(),this.setupAria();const e=`ag-${this.getCompId()}-display`;this.eDisplayField.setAttribute("id",e);const t=this.getAriaElement();this.addManagedElementListeners(t,{keydown:this.onKeyDown.bind(this)}),this.addManagedElementListeners(this.eLabel,{mousedown:this.onLabelOrWrapperMouseDown.bind(this)}),this.addManagedElementListeners(this.eWrapper,{mousedown:this.onLabelOrWrapperMouseDown.bind(this)});const{pickerIcon:n,inputWidth:o}=this.config;if(n){const i=this.beans.iconSvc.createIconNoSpan(n);i&&this.eIcon.appendChild(i)}o!=null&&this.setInputWidth(o)}setupAria(){const e=this.getAriaElement();e.setAttribute("tabindex",this.gos.get("tabIndex").toString()),XC(e,!1),this.ariaRole&&La(e,this.ariaRole)}onLabelOrWrapperMouseDown(e){if(e){const t=this.getFocusableElement();if(t!==this.eWrapper&&e?.target===t)return;e.preventDefault(),this.getFocusableElement().focus()}if(this.skipClick){this.skipClick=!1;return}this.isDisabled()||(this.isPickerDisplayed?this.hidePicker():this.showPicker())}onKeyDown(e){switch(e.key){case he.UP:case he.DOWN:case he.ENTER:case he.SPACE:e.preventDefault(),this.onLabelOrWrapperMouseDown();break;case he.ESCAPE:this.isPickerDisplayed&&(e.preventDefault(),e.stopPropagation(),this.hideCurrentPicker&&this.hideCurrentPicker());break}}showPicker(){this.isPickerDisplayed=!0,this.pickerComponent||(this.pickerComponent=this.createPickerComponent());const e=this.pickerComponent.getGui();e.addEventListener("focusin",this.onPickerFocusIn),e.addEventListener("focusout",this.onPickerFocusOut),this.hideCurrentPicker=this.renderAndPositionPicker(),this.toggleExpandedStyles(!0)}renderAndPositionPicker(){const e=this.pickerComponent.getGui();this.gos.get("suppressScrollWhenPopupsAreOpen")||([this.destroyMouseWheelFunc]=this.addManagedEventListeners({bodyScroll:()=>{this.hidePicker()}}));const t=this.getLocaleTextFunc(),{config:{pickerAriaLabelKey:n,pickerAriaLabelValue:o,modalPicker:i=!0},maxPickerHeight:s,minPickerWidth:r,maxPickerWidth:a,variableWidth:l,beans:c,eWrapper:u}=this,d={modal:i,eChild:e,closeOnEsc:!0,closedCallback:()=>{const g=bL(c);this.beforeHidePicker(),g&&this.isAlive()&&this.getFocusableElement().focus()},ariaLabel:t(n,o),anchorToElement:u};e.style.position="absolute";const h=c.popupSvc,p=h.addPopup(d);l?(r&&(e.style.minWidth=r),e.style.width=_4(Vg(u)),a&&(e.style.maxWidth=a)):Gg(e,a??Vg(u));const f=s??`${D4(h.getPopupParent())}px`;return e.style.setProperty("max-height",f),this.alignPickerToComponent(),p.hideFunc}alignPickerToComponent(){if(!this.pickerComponent)return;const{pickerGap:e,config:{pickerType:t},beans:{popupSvc:n,gos:o},eWrapper:i,pickerComponent:s}=this,r=o.get("enableRtl")?"right":"left";n.positionPopupByComponent({type:t,eventSource:i,ePopup:s.getGui(),position:"under",alignSide:r,keepWithinBounds:!0,nudgeY:e})}beforeHidePicker(){this.destroyMouseWheelFunc&&(this.destroyMouseWheelFunc(),this.destroyMouseWheelFunc=void 0),this.toggleExpandedStyles(!1);const e=this.pickerComponent.getGui();e.removeEventListener("focusin",this.onPickerFocusIn),e.removeEventListener("focusout",this.onPickerFocusOut),this.isPickerDisplayed=!1,this.pickerComponent=void 0,this.hideCurrentPicker=null}toggleExpandedStyles(e){if(!this.isAlive())return;const t=this.getAriaElement();XC(t,e);const n=this.eWrapper.classList;n.toggle("ag-picker-expanded",e),n.toggle("ag-picker-collapsed",!e)}onPickerFocusIn(){this.togglePickerHasFocus(!0)}onPickerFocusOut(e){this.pickerComponent?.getGui().contains(e.relatedTarget)||this.togglePickerHasFocus(!1)}togglePickerHasFocus(e){this.pickerComponent&&this.eWrapper.classList.toggle("ag-picker-has-focus",e)}hidePicker(){this.hideCurrentPicker&&(this.hideCurrentPicker(),this.dispatchLocalEvent({type:"pickerHidden"}))}setInputWidth(e){return Gg(this.eWrapper,e),this}getFocusableElement(){return this.eWrapper}setPickerGap(e){return this.pickerGap=e,this}setPickerMinWidth(e){return typeof e=="number"&&(e=`${e}px`),this.minPickerWidth=e??void 0,this}setPickerMaxWidth(e){return typeof e=="number"&&(e=`${e}px`),this.maxPickerWidth=e??void 0,this}setPickerMaxHeight(e){return typeof e=="number"&&(e=`${e}px`),this.maxPickerHeight=e??void 0,this}destroy(){this.hidePicker(),super.destroy()}},HU=".ag-select{align-items:center;display:flex;&.ag-disabled{opacity:.5}}:where(.ag-select){.ag-picker-field-wrapper{cursor:default}&.ag-disabled .ag-picker-field-wrapper:focus{box-shadow:none}&:not(.ag-cell-editor,.ag-label-align-top){min-height:var(--ag-list-item-height)}.ag-picker-field-display{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-picker-field-icon{align-items:center;display:flex}}:where(.ag-ltr) :where(.ag-select){.ag-picker-field-wrapper{padding-left:calc(var(--ag-cell-horizontal-padding)/2);padding-right:var(--ag-spacing)}}:where(.ag-rtl) :where(.ag-select){.ag-picker-field-wrapper{padding-left:var(--ag-spacing);padding-right:calc(var(--ag-cell-horizontal-padding)/2)}}.ag-select-list{background-color:var(--ag-picker-list-background-color);border:var(--ag-picker-list-border);border-radius:var(--ag-border-radius);box-shadow:var(--ag-dropdown-shadow);overflow:hidden auto}.ag-select-list-item{cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;:where(span){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}:where(.ag-ltr) .ag-select-list-item{padding-left:calc(var(--ag-cell-horizontal-padding)/2)}:where(.ag-rtl) .ag-select-list-item{padding-right:calc(var(--ag-cell-horizontal-padding)/2)}",K4=class extends BU{constructor(e){super({pickerAriaLabelKey:"ariaLabelSelectField",pickerAriaLabelValue:"Select Field",pickerType:"ag-list",className:"ag-select",pickerIcon:"selectOpen",ariaRole:"combobox",...e}),this.registerCSS(HU)}postConstruct(){this.tooltipFeature=this.createOptionalManagedBean(this.beans.registry.createDynamicBean("tooltipFeature",!1,{shouldDisplayTooltip:g1(()=>this.eDisplayField),getGui:()=>this.getGui()})),super.postConstruct(),this.createListComponent(),this.eWrapper.tabIndex=this.gos.get("tabIndex");const{options:e,value:t,placeholder:n}=this.config;e!=null&&this.addOptions(e),t!=null&&this.setValue(t,!0),n&&t==null&&(this.eDisplayField.textContent=n),this.addManagedElementListeners(this.eWrapper,{focusout:this.onWrapperFocusOut.bind(this)})}onWrapperFocusOut(e){this.eWrapper.contains(e.relatedTarget)||this.hidePicker()}createListComponent(){const e=this.createBean(new FU("select"));this.listComponent=e,e.setParentComponent(this);const t=e.getAriaElement(),n=`ag-select-list-${e.getCompId()}`;t.setAttribute("id",n),lG(this.getAriaElement(),t),e.addManagedElementListeners(e.getGui(),{mousedown:o=>{o?.preventDefault()}}),e.addManagedListeners(e,{selectedItem:()=>{this.hidePicker(),this.dispatchLocalEvent({type:"selectedItem"})},fieldValueChanged:()=>{this.listComponent&&(this.setValue(this.listComponent.getValue(),!1,!0),this.hidePicker())}})}createPickerComponent(){return this.listComponent}beforeHidePicker(){this.listComponent?.hideItemTooltip(),super.beforeHidePicker()}onKeyDown(e){const{key:t}=e;switch(t===he.TAB&&this.hidePicker(),t){case he.ENTER:case he.UP:case he.DOWN:case he.PAGE_UP:case he.PAGE_DOWN:case he.PAGE_HOME:case he.PAGE_END:e.preventDefault(),this.isPickerDisplayed?this.listComponent?.handleKeyDown(e):super.onKeyDown(e);break;case he.ESCAPE:super.onKeyDown(e);break;case he.SPACE:this.isPickerDisplayed?e.preventDefault():super.onKeyDown(e);break}}showPicker(){const e=this.listComponent;e&&(super.showPicker(),e.refreshHighlighted())}addOptions(e){for(const t of e)this.addOption(t);return this}addOption(e){return this.listComponent.addOption(e),this}clearOptions(){return this.listComponent?.clearOptions(),this.setValue(void 0,!0),this}setValue(e,t,n){const{listComponent:o,config:{placeholder:i},eDisplayField:s,tooltipFeature:r}=this;if(this.value===e||!o)return this;if(n||o.setValue(e,!0),o.getValue()===this.getValue())return this;let l=o.getDisplayValue();return l==null&&i&&(l=i),s.textContent=l,r?.setTooltipAndRefresh(l??null),super.setValue(e,t)}destroy(){this.listComponent=this.destroyBean(this.listComponent),super.destroy()}},VU={selector:"AG-SELECT",component:K4},$U=':where(.ag-root-wrapper,.ag-external,.ag-popup,.ag-dnd-ghost,.ag-chart),:where(.ag-root-wrapper,.ag-external,.ag-popup,.ag-dnd-ghost,.ag-chart) :where([class^=ag-]){box-sizing:border-box;&:after,&:before{box-sizing:border-box}&:where(div,span,label):focus-visible{box-shadow:inset var(--ag-focus-shadow);outline:none;&:where(.invalid){box-shadow:inset var(--ag-focus-error-shadow)}}&:where(button){color:inherit}}:where(.ag-root-wrapper,ag-external,.ag-popup,.ag-dnd-ghost,.ag-chart) :where([class^=ag-]) ::-ms-clear{display:none}.ag-hidden{display:none!important}.ag-invisible{visibility:hidden!important}.ag-popup-child{top:0;z-index:5;
38&:where(:not(.ag-tooltip-custom)){box-shadow:var(--ag-popup-shadow)}}.ag-input-wrapper,.ag-picker-field-wrapper{align-items:center;display:flex;flex:1 1 auto;line-height:normal;position:relative}.ag-input-field{align-items:center;display:flex;flex-direction:row}.ag-input-field-input:where(:not([type=checkbox],[type=radio])){flex:1 1 auto;min-width:0;width:100%}.ag-chart,.ag-dnd-ghost,.ag-external,.ag-popup,.ag-root-wrapper{cursor:default;line-height:normal;white-space:normal;-webkit-font-smoothing:antialiased;background-color:var(--ag-background-color);color:var(--ag-text-color);color-scheme:var(--ag-browser-color-scheme);font-family:var(--ag-font-family);font-size:var(--ag-font-size);--ag-indentation-level:0}:where(.ag-icon):before{align-items:center;background-color:currentcolor;color:inherit;content:"";display:flex;font-family:inherit;font-size:var(--ag-icon-size);font-style:normal;font-variant:normal;height:var(--ag-icon-size);justify-content:center;line-height:var(--ag-icon-size);-webkit-mask-size:contain;mask-size:contain;text-transform:none;width:var(--ag-icon-size)}.ag-icon{background-position:50%;background-repeat:no-repeat;background-size:contain;color:var(--ag-icon-color);display:block;height:var(--ag-icon-size);position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:var(--ag-icon-size)}.ag-disabled,[disabled]{.ag-icon{opacity:.5}&.ag-icon-grip{opacity:.35}}.ag-resizer{pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:1}:where(.ag-resizer){&.ag-resizer-topLeft{cursor:nwse-resize;height:5px;left:0;top:0;width:5px}&.ag-resizer-top{cursor:ns-resize;height:5px;left:5px;right:5px;top:0}&.ag-resizer-topRight{cursor:nesw-resize;height:5px;right:0;top:0;width:5px}&.ag-resizer-right{bottom:5px;cursor:ew-resize;right:0;top:5px;width:5px}&.ag-resizer-bottomRight{bottom:0;cursor:nwse-resize;height:5px;right:0;width:5px}&.ag-resizer-bottom{bottom:0;cursor:ns-resize;height:5px;left:5px;right:5px}&.ag-resizer-bottomLeft{bottom:0;cursor:nesw-resize;height:5px;left:0;width:5px}&.ag-resizer-left{bottom:5px;cursor:ew-resize;left:0;top:5px;width:5px}}',q4=typeof window!="object"||!window?.document?.fonts?.forEach,Du=(e,t,n,o,i,s)=>{if(q4)return;o&&(e=`@layer ${CSS.escape(o)} { ${e} }`);let r=fu.map.get(t);if(r||(r=[],fu.map.set(t,r)),r.some(u=>u.css===e))return;const a=document.createElement("style");s&&a.setAttribute("nonce",s),a.dataset.agGlobalCss=n,a.textContent=e;const l={css:e,el:a,priority:i};let c;for(const u of r){if(u.priority>i)break;c=u}if(c){c.el.insertAdjacentElement("afterend",a);const u=r.indexOf(c);r.splice(u+1,0,l)}else t.insertBefore(a,t.querySelector(":not(title, meta)")),r.push(l)},Lx=(e,t,n,o)=>{Du($U,e,"shared",t,0,n),o?.forEach((i,s)=>i.forEach(r=>Du(r,e,s,t,0,n)))},WU=e=>{fu.grids.add(e)},GU=e=>{if(fu.grids.delete(e),fu.grids.size===0){fu.map=new WeakMap;for(const t of document.head.querySelectorAll("style[data-ag-global-css]"))t.remove()}},u8,fu=(u8=typeof window=="object"?window:{}).agStyleInjectionState??(u8.agStyleInjectionState={map:new WeakMap,grids:new Set}),Os=e=>new xx(e),ma="$default",zU=0,xx=class{constructor({feature:e,params:t,modeParams:n={},css:o,cssImports:i}){this.feature=e,this.css=o,this.cssImports=i,this.modeParams={[ma]:{...n[ma]??{},...t??{}},...n}}use(e,t,n){let o=this._inject;if(o==null){let{css:i}=this;if(i){const s=`ag-theme-${this.feature??"part"}-${++zU}`;typeof i=="function"&&(i=i()),i=`:where(.${s}) {
39${i}
40}
41`;for(const r of this.cssImports??[])i=`@import url(${JSON.stringify(r)});
42${i}`;o={css:i,class:s}}else o=!1;this._inject=o}return o&&e&&Du(o.css,e,o.class,t,1,n),o?o.class:!1}},UU=e=>e.replace(/[A-Z]/g,t=>`-${t}`).toLowerCase(),Dx=e=>`--ag-${UU(e)}`,Ns=e=>`var(${Dx(e)})`,jU=(e,t,n)=>Math.max(t,Math.min(n,e)),ZU=e=>{const t=new Map;return n=>{const o=n;return t.has(o)||t.set(o,e(n)),t.get(o)}},Ss=e=>({ref:"accentColor",mix:e}),ri=e=>({ref:"foregroundColor",mix:e}),hi=e=>({ref:"foregroundColor",mix:e,onto:"backgroundColor"}),KU=e=>({ref:"foregroundColor",mix:e,onto:"headerBackgroundColor"}),Io={ref:"backgroundColor"},Kc={ref:"foregroundColor"},cr={ref:"accentColor"},em={backgroundColor:"#fff",foregroundColor:"#181d1f",borderColor:ri(.15),chromeBackgroun
42dColor:hi(.02),browserColorScheme:"light"},qU={...em,textColor:Kc,accentColor:"#2196f3",invalidColor:"#e02525",fontFamily:["-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue","sans-serif"],subtleTextColor:{ref:"textColor",mix:.5},borderWidth:1,borderRadius:4,spacing:8,fontSize:14,focusShadow:{spread:3,color:Ss(.5)},focusErrorShadow:{spread:3,color:{ref:"invalidColor",onto:"backgroundColor",mix:.5}},popupShadow:"0 0 16px #00000026",cardShadow:"0 1px 4px 1px #00000018",dropdownShadow:{ref:"cardShadow"},listItemHeight:{calc:"max(iconSize, dataFontSize) + widgetVerticalSpacing"},dragAndDropImageBackgroundColor:Io,dragAndDropImageBorder:!0,dragAndDropImageNotAllowedBorder:{color:{ref:"invalidColor",onto:"dragAndDropImageBackgroundColor",mix:.5}},dragAndDropImageShadow:{ref:"popupShadow"},iconSize:16,iconColor:"inherit",toggleButtonWidth:28,toggleButtonHeight:18,toggleButtonOnBackgroundColor:cr,toggleButtonOffBackgroundColor:hi(.3),toggleButtonSwitchBackgroundColor:Io,toggleButtonSwitchInset:2,tooltipBackgroundColor:{ref:"chromeBackgroundColor"},tooltipErrorBackgroundColor:{ref:"invalidColor",onto:"backgroundColor",mix:.1},tooltipTextColor:{ref:"textColor"},tooltipErrorTextColor:{ref:"invalidColor"},tooltipBorder:!0,tooltipErrorBorder:{color:{ref:"invalidColor",onto:"backgroundColor",mix:.25}}},YU=["colorScheme","color","length","scale","borderStyle","border","shadow","image","fontFamily","fontWeight","duration"],XU=ZU(e=>(e=e.toLowerCase(),YU.find(t=>e.endsWith(t.toLowerCase()))??"length")),d0=e=>typeof e=="object"&&e?.ref?Ns(e.ref):typeof e=="string"?e:typeof e=="number"?String(e):!1,Y4=e=>{if(typeof e=="string")return e;if(e&&"ref"in e){const t=Ns(e.ref);return e.mix==null?t:`color-mix(in srgb, ${e.onto?Ns(e.onto):"transparent"}, ${t} ${jU(e.mix*100,0,100)}%)`}return!1},JU=d0,qc=e=>typeof e=="string"?e:typeof e=="number"?`${e}px`:e&&"calc"in e?`calc(${e.calc.replace(/ ?[*/+] ?/g," $& ").replace(/-?\b[a-z][a-z0-9]*\b(?![-(])/gi,n=>n[0]==="-"?n:" "+Ns(n)+" ")})`:e&&"ref"in e?Ns(e.ref):!1,QU=d0,d5=(e,t)=>typeof e=="string"?e:e===!0?d5({},t):e===!1?t==="columnBorder"?d5({color:"transparent"},t):"none":e&&"ref"in e?Ns(e.ref):kx(e.style??"solid")+" "+qc(e.width??{ref:"borderWidth"})+" "+Y4(e.color??{ref:"borderColor"}),ej=e=>typeof e=="string"?e:e===!1?"none":e&&"ref"in e?Ns(e.ref):[qc(e.offsetX??0),qc(e.offsetY??0),qc(e.radius??0),qc(e.spread??0),Y4(e.color??{ref:"foregroundColor"})].join(" "),kx=d0,Ax=e=>typeof e=="string"?e.includes(",")?e:d8(e):e&&"googleFont"in e?Ax(e.googleFont):e&&"ref"in e?Ns(e.ref):Array.isArray(e)?e.map(t=>(typeof t=="object"&&"googleFont"in t&&(t=t.googleFont),d8(t))).join(", "):!1,d8=e=>/^[\w-]+$|\w\(/.test(e)?e:JSON.stringify(e),tj=d0,_x=e=>typeof e=="string"?e:e&&"url"in e?`url(${JSON.stringify(e.url)})`:e&&"svg"in e?_x({url:`data:image/svg+xml,${encodeURIComponent(e.svg)}`}):e&&"ref"in e?Ns(e.ref):!1,nj=(e,t,n)=>typeof e=="string"?e:typeof e=="number"?(e>=10&&n.warn(104,{value:e,param:t}),`${e}s`):e&&"ref"in e?Ns(e.ref):!1,oj={color:Y4,colorScheme:JU,length:qc,scale:QU,border:d5,borderStyle:kx,shadow:ej,image:_x,fontFamily:Ax,fontWeight:tj,duration:nj},ij=(e,t,n)=>{const o=XU(e);return oj[o](t,e,n)},sj=e=>new Ix(e),Ix=class Fx{constructor(t,n=[]){this.themeLogger=t,this.parts=n}withPart(t){return typeof t=="function"&&(t=t()),t instanceof xx?new Fx(this.themeLogger,[...this.parts,t]):(this.themeLogger.preInitErr(259,"Invalid part",{part:t}),this)}withoutPart(t){return this.withPart(Os({feature:t}))}withParams(t,n=ma){return this.withPart(Os({modeParams:{[n]:t}}))}_startUse({styleContainer:t,cssLayer:n,nonce:o,loadThemeGoogleFonts:i,moduleCss:s}){if(q4)return;aj(),Lx(t,n,o,s);const r=rj(this);if(r.length>0)for(const a of r)i&&lj(a,o);for(const a of this.parts)a.use(t,n,o)}_getCssClass(){return this._cssClassCache??(this._cssClassCache=h8(this.parts).map(t=>t.use(void 0,void 0,void 0)).filter(Boolean).join(" "))}_getModeParams(){let t=this._paramsCache;if(!t){const n={[ma]:{...qU}};for(const o of h8(this.parts))for(const i of Object.keys(o.modeParams)){const s=o.modeParams[i];if(s){const r=n[i]??(n[i]={}),a=new Set;for(const l of Object.keys(s)){const c=s[l];c!==void 0&&(r[l]=c,a.add(l))}if(i===ma)for(const l of Object.keys(n)){const c=n[l];if(l!==ma)for(const u of a)delete c[u]}}}this._paramsCache=t=n}return t}_getPerInstanceCss(t){const n="##SELECTOR##";let o=this._paramsCssCache;if(!o){let i="",s="";const r=this._getModeParams();for(const l of Object.keys(r)){const c=r[l];if(l!==ma){const d=`:where([data-ag-theme-mode="${typeof CSS=="object"?CSS.escape(l):l}"]) & {
43`;i+=d,s+=d}for(const u of Object.keys(c).sort()){const d=c[u],h=ij(u,d,this.themeLogger);if(h===!1)this.themeLogger.error(107,{key:u,value:d});else{const p=Dx(u),f=p.replace("--ag-","--ag-inherited-");i+=`	${p}: var(${f}, ${h});
44`,s+=`	${f}: var(${p});
45`}}l!==ma&&(i+=`}
46`,s+=`}
47`)}let a=`${n} {
48${i}}
49`;a+=`:has(> ${n}):not(${n}) {
50${s}}
51`,this._paramsCssCache=o=a}return o.replaceAll(n,`:where(.${t})`)}},h8=e=>{const t=new Map;for(const o of e)t.set(o.feature,o);const n=[];for(const o of e)(!o.feature||t.get(o.feature)===o)&&n.push(o);return n},rj=e=>{const t=new Set,n=s=>{if(Array.isArray(s))s.forEach(n);else{const r=s?.googleFont;typeof r=="string"&&t.add(r)}};return Object.values(e._getModeParams()).flatMap(s=>Object.values(s)).forEach(n),Array.from(t).sort()},p8=!1,aj=()=>{if(!p8){p8=!0;for(const e of Array.from(document.head.querySelectorAll('style[data-ag-scope="legacy"]')))e.remove()}},lj=async(e,t)=>{const n=`@import url('https://${cj}/css2?family=${encodeURIComponent(e)}:wght@100;200;300;400;500;600;700;800;900&display=swap');
52`;Du(n,document.head,`googleFont:${e}`,void 0,0,t)},cj="fonts.googleapis.com",uj=1,dj=class{constructor(e){this.beans={},this.createdBeans=[],this.destroyed=!1,this.instanceId=uj++,e?.beanClasses&&(this.beanDestroyComparator=e.beanDestroyComparator,this.init(e))}init(e){this.id=e.id,this.beans.context=this,this.destroyCallback=e.destroyCallback;for(const t of Object.keys(e.providedBeanInstances))this.beans[t]=e.providedBeanInstances[t];for(const t of e.beanClasses){const n=new t;n.beanName?this.beans[n.beanName]=n:console.error(`Bean ${t.name} is missing beanName`),this.createdBeans.push(n)}for(const t of e.derivedBeans??[]){const{beanName:n,bean:o}=t(this);this.beans[n]=o,this.createdBeans.push(o)}e.beanInitComparator&&this.createdBeans.sort(e.beanInitComparator),this.initBeans(this.createdBeans)}getBeanInstances(){return Object.values(this.beans)}createBean(e,t){return this.initBeans([e],t),e}initBeans(e,t){const n=this.beans;for(const o of e)o.preWireBeans?.(n),o.wireBeans?.(n);for(const o of e)o.preConstruct?.();t&&e.forEach(t);for(const o of e)o.postConstruct?.()}getBeans(){return this.beans}getBean(e){return this.beans[e]}getId(){return this.id}destroy(){if(this.destroyed)return;this.destroyed=!0;const e=this.getBeanInstances();this.beanDestroyComparator&&e.sort(this.beanDestroyComparator),this.destroyBeans(e),this.beans={},this.createdBeans=[],this.destroyCallback?.()}destroyBean(e){e?.destroy?.()}destroyBeans(e){if(e)for(let t=0;t<e.length;t++)this.destroyBean(e[t]);return[]}isDestroyed(){return this.destroyed}},hj=0,pj=class extends Us{constructor(){super(...arguments),this.beanName="environment",this.paramsClass=`ag-theme-params-${++hj}`,this.globalCSS=[]}wireBeans(e){this.eRootDiv=e.eRootDiv}postConstruct(){const{gos:e,eRootDiv:t}=this;e.setInstanceDomData(t),this.eStyleContainer=e.get("themeStyleContainer")??(t.getRootNode()===document?document.head:t),this.cssLayer=e.get("themeCssLayer"),this.styleNonce=e.get("styleNonce"),this.addManagedPropertyListener("theme",()=>this.handleThemeChange()),this.handleThemeChange(),this.initVariables(),this.addDestroyFunc(()=>GU(this)),this.mutationObserver=new MutationObserver(()=>{this.fireStylesChangedEvent("themeChanged")}),this.addDestroyFunc(()=>this.mutationObserver.disconnect())}applyThemeClasses(e,t=[]){const{theme:n}=this;let o;n?o=`${this.paramsClass} ${n._getCssClass()}`:o=this.applyLegacyThemeClasses();for(const i of Array.from(e.classList))i.startsWith("ag-theme-")&&e.classList.remove(i);if(o){const i=e.className;e.className=`${i}${i?" ":""}${o}${t?.length?" "+t.join(" "):""}`}}applyLegacyThemeClasses(){let e="";this.mutationObserver.disconnect();let t=this.eRootDiv;for(;t;){let n=!1;for(const o of Array.from(t.classList))o.startsWith("ag-theme-")&&(n=!0,e=e?`${e} ${o}`:o);n&&this.mutationObserver.observe(t,{attributes:!0,attributeFilter:["class"]}),t=t.parentElement}return e}addGlobalCSS(e,t){this.theme?Du(e,this.eStyleContainer,t,this.cssLayer,0,this.styleNonce):this.globalCSS.push([e,t])}handleThemeChange(){const{gos:e,theme:t}=this,n=e.get("theme");let o;if(n==="legacy")o=void 0;else{const i=n??this.getDefaultTheme();i instanceof Ix?o=i:this.themeError(i)}o!==t&&this.handleNewTheme(o),this.postProcessThemeChange(o,n)}handleNewTheme(e){const{gos:t,eRootDiv:n,globalCSS:o}=this,i=this.getAdditionalCss();if(e){WU(this),Lx(this.eStyleContainer,this.cssLayer,this.styleNonce,i);for(const[r,a]of o)Du(r,this.eStyleContainer,a,this.cssLayer,0,this.styleNonce);o.length=0}this.theme=e,e?._startUse({loadThemeGoogleFonts:t.get("loadThemeGoogleFonts"),styleContainer:this.eStyleContainer,cssLayer:this.cssLayer,nonce:this.styleNonce,moduleCss:i});let s=this.eParamsStyle;if(!s){s=this.eParamsStyle=Op({tag:"style"});const r=t.get("styleNonce");r&&s.setAttribute("nonce",r),n.appendChild(s)}q4||(s.textContent=e?._getPerInstanceCss(this.paramsClass)||""),this.applyThemeClasses(n),this.fireStylesChangedEvent("themeChanged")}},fj=class extends Us{constructor(){super(...arguments),this.beanName="registry"}
52registerDynamicBeans(e){if(e){this.dynamicBeans??(this.dynamicBeans={});for(const t of Object.keys(e))this.dynamicBeans[t]=e[t]}}createDynamicBean(e,t,...n){if(!this.dynamicBeans)throw new Error(this.getDynamicError(e,!0));const o=this.dynamicBeans[e];if(o==null){if(t)throw new Error(this.getDynamicError(e,!1));return}return new o(...n)}},gj=class extends Us{constructor(){super(...arguments),this.beanName="eventSvc",this.eventServiceType="global",this.globalSvc=new Kl}addListener(e,t,n){this.globalSvc.addEventListener(e,t,n)}removeListener(e,t,n){this.globalSvc.removeEventListener(e,t,n)}addGlobalListener(e,t=!1){this.globalSvc.addGlobalListener(e,t)}removeGlobalListener(e,t=!1){this.globalSvc.removeGlobalListener(e,t)}dispatchEvent(e){this.globalSvc.dispatchEvent(this.gos.addCommon(e))}dispatchEventOnce(e){this.globalSvc.dispatchEventOnce(this.gos.addCommon(e))}},Ox=class extends Us{constructor(e,t){super(),this.ctrl=e,t&&(this.beans=t)}postConstruct(){this.refreshTooltip()}setBrowserTooltip(e,t){const n="title",o=this.ctrl.getGui();o&&(e!=null&&(e!=""||t)?o.setAttribute(n,e):o.removeAttribute(n))}updateTooltipText(){const{getTooltipValue:e}=this.ctrl;e&&(this.tooltip=e())}createTooltipFeatureIfNeeded(){if(this.tooltipManager==null){const e=this.beans.registry.createDynamicBean("tooltipStateManager",!0,this.ctrl,()=>this.tooltip);e&&(this.tooltipManager=this.createBean(e,this.beans.context))}}attemptToShowTooltip(){this.tooltipManager?.prepareToShowTooltip()}attemptToHideTooltip(){this.tooltipManager?.hideTooltip()}setTooltipAndRefresh(e){this.tooltip=e,this.refreshTooltip()}refreshTooltip(e){this.browserTooltips=this.beans.gos.get("enableBrowserTooltips"),this.updateTooltipText(),this.browserTooltips?(this.setBrowserTooltip(this.tooltip),this.tooltipManager=this.destroyBean(this.tooltipManager,this.beans.context)):(this.setBrowserTooltip(e?"":null,e),this.createTooltipFeatureIfNeeded())}destroy(){this.tooltipManager=this.destroyBean(this.tooltipManager,this.beans.context),super.destroy()}},mj=1e3,vj=1e3,f8=100,g8,Lf=!1,Cj=class extends Us{constructor(e,t){super(),this.tooltipCtrl=e,this.getTooltipValue=t,this.interactionEnabled=!1,this.isInteractingWithTooltip=!1,this.state=0,this.tooltipInstanceCount=0,this.tooltipMouseTrack=!1}wireBeans(e){this.popupSvc=e.popupSvc}postConstruct(){this.gos.get("tooltipInteraction")&&(this.interactionEnabled=!0),this.tooltipTrigger=this.getTooltipTrigger(),this.tooltipMouseTrack=this.gos.get("tooltipMouseTrack");const e=this.tooltipCtrl.getGui();this.tooltipTrigger===0&&this.addManagedListeners(e,{mouseenter:this.onMouseEnter.bind(this),mouseleave:this.onMouseLeave.bind(this)}),this.tooltipTrigger===1&&this.addManagedListeners(e,{focusin:this.onFocusIn.bind(this),focusout:this.onFocusOut.bind(this)}),this.addManagedListeners(e,{mousemove:this.onMouseMove.bind(this)}),this.interactionEnabled||this.addManagedListeners(e,{mousedown:this.onMouseDown.bind(this),keydown:this.onKeyDown.bind(this)})}getGridOptionsTooltipDelay(e){const t=this.gos.get(e);return Math.max(200,t)}getTooltipDelay(e){return e==="show"?this.tooltipCtrl.getTooltipShowDelayOverride?.()??this.getGridOptionsTooltipDelay("tooltipShowDelay"):this.tooltipCtrl.getTooltipHideDelayOverride?.()??this.getGridOptionsTooltipDelay("tooltipHideDelay")}destroy(){this.setToDoNothing(),super.destroy()}getTooltipTrigger(){const e=this.gos.get("tooltipTrigger");return!e||e==="hover"?0:1}onMouseEnter(e){this.interactionEnabled&&this.interactiveTooltipTimeoutId&&(this.unlockService(),this.startHideTimeout()),!_l()&&(Lf?this.showTooltipTimeoutId=window.setTimeout(()=>{this.prepareToShowTooltip(e)},f8):this.prepareToShowTooltip(e))}onMouseMove(e){this.lastMouseEvent&&(this.lastMouseEvent=e),this.tooltipMouseTrack&&this.state===2&&this.tooltipComp&&this.positionTooltip()}onMouseDown(){this.setToDoNothing()}onMouseLeave(){this.interactionEnabled?this.lockService():this.setToDoNothing()}onFocusIn(){this.prepareToShowTooltip()}onFocusOut(e){const t=e.relatedTarget,n=this.tooltipCtrl.getGui(),o=this.tooltipComp?.getGui();this.isInteractingWithTooltip||n.contains(t)||this.interactionEnabled&&o?.contains(t)||this.setToDoNothing()}onKeyDown(){this.isInteractingWithTooltip&&(this.isInteractingWithTooltip=!1),this.setToDoNothing()}prepareToShowTooltip(e){if(this.state!=0||Lf)return;let t=0;e&&(t=this.isLastTooltipHiddenRecently()?200:this.getTooltipDelay("show")),this.lastMouseEvent=e||null,this.showTooltipTimeoutId=window.setTimeout(this.showTooltip.bind(this),t),this.state=1}isLastTooltipHiddenRecently(){return Date.now()-g8<mj}setToDoNothing(e){!e&&this.state===2&&this.hideTooltip(),this.onBodyScrollEventCallback&&(this.onBodyScrollEventCallback(),this.onBodyScrollEventCallback=void 0),this.clearEventHandlers(),this.onDocumentKeyDownCallback&&(this.onDocumentKeyDownCallback(),this.onDocumentKeyDownCallback=void 0),this.clearTimeouts(),this.state=0,this.lastMouseEvent=null}showTooltip(){const e=this.getTooltipValue(),t=this.tooltipCtrl;if(!Ge(e)||t.shouldDisplayTooltip&&!t.shouldDisplayTooltip()){this.setToDoNothing();return}const n=this.gos.addCommon({location:t.getLocation?.()??"UNKNOWN",value:e,hideTooltipCallback:()=>this.hideTooltip(!0),...t.getAdditionalParams?.()});this.state=2,this.tooltipInstanceCount++;const o=this.newTooltipComponentCallback.bind(this,this.tooltipInstanceCount);this.createTooltipComp(n,o)}hideTooltip(e){!e&&this.isInteractingWithTooltip||(this.tooltipComp&&(this.destroyTooltipComp(),g8=Date.now()),this.eventSvc.dispatchEvent({type:"tooltipHide",parentGui:this.tooltipCtrl.getGui()}),e&&(this.isInteractingWithTooltip=!1),this.setToDoNothing(!0))}newTooltipComponentCallback(e,t){if(this.state!==2||this.tooltipInstanceCount!==e){this.destroyBean(t);return}const o=t.getGui();this.tooltipComp=t,o.classList.contains("ag-tooltip")||o.classList.add("ag-tooltip-custom"),this.tooltipTrigger===0&&o.classList.add("ag-tooltip-animate"),this.interactionEnabled&&o.classList.add("ag-tooltip-interactive");const i=this.getLocaleTextFunc(),s=this.popupSvc?.addPopup({eChild:o,ariaLabel:i("ariaLabelTooltip","Tooltip")});if(s&&(this.tooltipPopupDestroyFunc=s.hideFunc),this.positionTooltip(),this.tooltipTrigger===1){const r=()=>this.setToDoNothing();[this.onBodyScrollEventCallback]=this.addManagedEventListeners({bodyScroll:r}),this.setEventHandlers(r)}this.interactionEnabled&&([this.tooltipMouseEnterListener,this.tooltipMouseLeaveListener]=this.addManagedElementListeners(o,{mouseenter:this.onTooltipMouseEnter.bind(this),mouseleave:this.onTooltipMouseLeave.bind(this)}),[this.onDocumentKeyDownCallback]=this.addManagedElementListeners(Un(this.beans),{keydown:r=>{o.contains(r?.target)||this.onKeyDown()}}),this.tooltipTrigger===1&&([this.tooltipFocusInListener,this.tooltipFocusOutListener]=this.addManagedElementListeners(o,{focusin:this.onTooltipFocusIn.bind(this),focusout:this.onTooltipFocusOut.bind(this)}))),this.eventSvc.dispatchEvent({type:"tooltipShow",tooltipGui:o,parentGui:this.tooltipCtrl.getGui()}),this.startHideTimeout()}onTooltipMouseEnter(){this.isInteractingWithTooltip=!0,this.unlockService()}onTooltipMouseLeave(){this.isTooltipFocused()||(this.isInteractingWithTooltip=!1,this.lockService())}onTooltipFocusIn(){this.isInteractingWithTooltip=!0}isTooltipFocused(){const e=this.tooltipComp?.getGui(),t=Cn(this.beans);return!!e&&e.contains(t)}onTooltipFocusOut(e){const t=this.tooltipCtrl.getGui();this.isTooltipFocused()||(this.isInteractingWithTooltip=!1,t.contains(e.relatedTarget)?this.startHideTimeout():this.hideTooltip())}positionTooltip(){const e={type:"tooltip",ePopup:this.tooltipComp.getGui(),nudgeY:18,skipObserver:this.tooltipMouseTrack};this.lastMouseEvent?this.popupSvc?.positionPopupUnderMouseEvent({...e,mouseEvent:this.lastMouseEvent}):this.popupSvc?.positionPopupByComponent({...e,eventSource:this.tooltipCtrl.getGui(),position:"under",keepWithinBounds:!0,nudgeY:5})}destroyTooltipComp(){this.tooltipComp.getGui().classList.add("ag-tooltip-hiding");const e=this.tooltipPopupDestroyFunc,t=this.tooltipComp,n=this.tooltipTrigger===0?vj:0;window.setTimeout(()=>{e(),this.destroyBean(t)},n),this.clearTooltipListeners(),this.tooltipPopupDestroyFunc=void 0,this.tooltipComp=void 0}clearTooltipListeners(){for(const e of[this.tooltipMouseEnterListener,this.tooltipMouseLeaveListener,this.tooltipFocusInListener,this.tooltipFocusOutListener])e&&e();this.tooltipMouseEnterListener=this.tooltipMouseLeaveListener=this.tooltipFocusInListener=this.tooltipFocusOutListener=null}lockService(){Lf=!0,this.interactiveTooltipTimeoutId=window.setTimeout(()=>{this.unlockService(),this.setToDoNothing()},f8)}unlockService(){Lf=!1,this.clearInteractiveTimeout()}startHideTimeout(){this.clearHideTimeout(),this.hideTooltipTimeoutId=window.setTimeout(this.hideTooltip.bind(this),this.getTooltipDelay("hide"))}clearShowTimeout(){this.showTooltipTimeoutId&&(window.clearTimeout(this.showTooltipTimeoutId),this.showTooltipTimeoutId=void 0)}clearHideTimeout(){this.hideTooltipTimeoutId&&(window.clearTimeout(this.hideTooltipTimeoutId),this.hideTooltipTimeoutId=void 0)}clearInteractiveTimeout(){this.interactiveTooltipTimeoutId&&(window.clearTimeout(this.interactiveTooltipTimeoutId),this.interactiveTooltipTimeoutId=void 0)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout(),this.clearInteractiveTimeout()}},bj=class extends Ox{constructor(e,t,n){super(e,n),this.highlightTracker=t,this.onHighlight=this.onHighlight.bind(this)}
52postConstruct(){super.postConstruct(),this.wireHighlightListeners()}wireHighlightListeners(){this.addManagedPropertyListener("tooltipTrigger",({currentValue:e})=>{this.setTooltipMode(e)}),this.setTooltipMode(this.gos.get("tooltipTrigger")),this.highlightTracker.addEventListener("itemHighlighted",this.onHighlight)}onHighlight(e){this.tooltipMode===1&&(e.highlighted?this.attemptToShowTooltip():this.attemptToHideTooltip())}setTooltipMode(e="focus"){this.tooltipMode=e==="focus"?1:0}destroy(){this.highlightTracker.removeEventListener("itemHighlighted",this.onHighlight),super.destroy()}},xf=0,yj=200,wj=class extends Us{constructor(){super(...arguments),this.beanName="popupSvc",this.popupList=[]}getPopupParent(){const e=this.gos.get("popupParent");return e||this.getDefaultPopupParent()}positionPopupUnderMouseEvent(e){const{ePopup:t,nudgeX:n,nudgeY:o,skipObserver:i}=e;this.positionPopup({ePopup:t,nudgeX:n,nudgeY:o,keepWithinBounds:!0,skipObserver:i,updatePosition:()=>this.calculatePointerAlign(e.mouseEvent),postProcessCallback:()=>this.callPostProcessPopup(e,e.type,e.ePopup,null,e.mouseEvent)})}calculatePointerAlign(e){const t=this.getParentRect();return{x:e.clientX-t.left,y:e.clientY-t.top}}positionPopupByComponent(e){const{ePopup:t,nudgeX:n,nudgeY:o,keepWithinBounds:i,eventSource:s,alignSide:r="left",position:a="over",type:l}=e,c=s.getBoundingClientRect(),u=this.getParentRect();this.setAlignedTo(s,t);const d=()=>{let h=c.left-u.left;r==="right"&&(h-=t.offsetWidth-c.width);let p;return a==="over"?(p=c.top-u.top,this.setAlignedStyles(t,"over")):(this.setAlignedStyles(t,"under"),this.shouldRenderUnderOrAbove(t,c,u,e.nudgeY||0)==="under"?p=c.top-u.top+c.height:p=c.top-t.offsetHeight-(o||0)*2-u.top),{x:h,y:p}};this.positionPopup({ePopup:t,nudgeX:n,nudgeY:o,keepWithinBounds:i,updatePosition:d,postProcessCallback:()=>this.callPostProcessPopup(e,l,t,s,null)})}shouldRenderUnderOrAbove(e,t,n,o){const i=n.bottom-t.bottom,s=t.top-n.top,r=e.offsetHeight+o;return i>r?"under":s>r||s>i?"above":"under"}setAlignedStyles(e,t){const n=this.getPopupIndex(e);if(n===-1)return;const o=this.popupList[n],{alignedToElement:i}=o;if(!i)return;const s=["right","left","over","above","under"];for(const r of s)i.classList.remove(`ag-has-popup-positioned-${r}`),e.classList.remove(`ag-popup-positioned-${r}`);t&&(i.classList.add(`ag-has-popup-positioned-${t}`),e.classList.add(`ag-popup-positioned-${t}`))}setAlignedTo(e,t){const n=this.getPopupIndex(t);if(n!==-1){const o=this.popupList[n];o.alignedToElement=e}}positionPopup(e){const{ePopup:t,keepWithinBounds:n,nudgeX:o,nudgeY:i,skipObserver:s,updatePosition:r}=e,a={width:0,height:0},l=(c=!1)=>{let{x:u,y:d}=r();c&&t.clientWidth===a.width&&t.clientHeight===a.height||(a.width=t.clientWidth,a.height=t.clientHeight,o&&(u+=o),i&&(d+=i),n&&(u=this.keepXYWithinBounds(t,u,1),d=this.keepXYWithinBounds(t,d,0)),t.style.left=`${u}px`,t.style.top=`${d}px`,e.postProcessCallback&&e.postProcessCallback())};if(l(),!s){const c=Ga(this.beans,t,()=>l(!0));setTimeout(()=>c(),yj)}}getParentRect(){const e=Un(this.beans);let t=this.getPopupParent();return t===e.body?t=e.documentElement:getComputedStyle(t).position==="static"&&(t=t.offsetParent),xL(t)}keepXYWithinBounds(e,t,n){const o=n===0,i=o?"clientHeight":"clientWidth",s=o?"top":"left",r=o?"height":"width",a=o?"scrollTop":"scrollLeft",l=Un(this.beans),c=l.documentElement,u=this.getPopupParent(),d=e.getBoundingClientRect(),h=u.getBoundingClientRect(),p=l.documentElement.getBoundingClientRect(),f=u===l.body,g=Math.ceil(d[r]);let v=f?(o?LL:Vg)(c)+c[a]:u[i];f&&(v-=Math.abs(p[s]-h[s]));const y=v-g;return Math.min(Math.max(t,0),Math.max(y,0))}addPopup(e){const{eChild:t,ariaLabel:n,ariaOwns:o,alwaysOnTop:i,positionCallback:s,anchorToElement:r}=e,a=this.getPopupIndex(t);if(a!==-1)return{hideFunc:this.popupList[a].hideFunc};this.initialisePopupPosition(t);const l=this.createPopupWrapper(t,!!i,n,o),c=this.addEventListenersToPopup({...e,wrapperEl:l});return s&&s(),this.addPopupToPopupList(t,l,c,r),{hideFunc:c}}initialisePopupPosition(e){const n=this.getPopupParent().getBoundingClientRect();Ge(e.style.top)||(e.style.top=`${n.top*-1}px`),Ge(e.style.left)||(e.style.left=`${n.left*-1}px`)}createPopupWrapper(e,t,n,o){const i=this.getPopupParent(),{environment:s,gos:r}=this.beans,a=Op({tag:"div"});return s.applyThemeClasses(a),a.classList.add("ag-popup"),e.classList.add(r.get("enableRtl")?"ag-rtl":"ag-ltr","ag-popup-child"),e.hasAttribute("role")||La(e,"dialog"),n?Mu(e,n):o&&(e.id||(e.id=`popup-component-${xf}`),K6(o,e.id)),a.appendChild(e),i.appendChild(a),t?this.setAlwaysOnTop(e,!0):this.bringPopupToFront(e),a}addEventListenersToPopup(e){const t=this.beans,n=Un(t),{wrapperEl:o,eChild:i,closedCallback:s,afterGuiAttached:r,closeOnEsc:a,modal:l,ariaOwns:c}=e;let u=!1;const d=g=>{if(!o.contains(Cn(t)))return;g.key===he.ESCAPE&&!this.isStopPropagation(g)&&f({keyboardEvent:g})},h=g=>f({mouseEvent:g}),p=g=>f({touchEvent:g}),f=(g={})=>
vendor: 4,651 bytes, line 52
52{const{mouseEvent:m,touchEvent:v,keyboardEvent:y,forceHide:b}=g;!b&&(this.isEventFromCurrentPopup({mouseEvent:m,touchEvent:v},i)||u)||(u=!0,o.remove(),n.removeEventListener("keydown",d),n.removeEventListener("mousedown",h),n.removeEventListener("touchstart",p),n.removeEventListener("contextmenu",h),this.eventSvc.removeListener("dragStarted",h),s&&s(m||v||y),this.removePopupFromPopupList(i,c))};return r&&r({hidePopup:f}),window.setTimeout(()=>{a&&n.addEventListener("keydown",d),l&&(n.addEventListener("mousedown",h),this.eventSvc.addListener("dragStarted",h),n.addEventListener("touchstart",p),n.addEventListener("contextmenu",h))},0),f}addPopupToPopupList(e,t,n,o){this.popupList.push({element:e,wrapper:t,hideFunc:n,instanceId:xf,isAnchored:!!o}),o&&this.setPopupPositionRelatedToElement(e,o),xf=xf+1}getPopupIndex(e){return this.popupList.findIndex(t=>t.element===e)}setPopupPositionRelatedToElement(e,t){const n=this.getPopupIndex(e);if(n===-1)return;const o=this.popupList[n];if(o.stopAnchoringPromise&&o.stopAnchoringPromise.then(s=>s&&s()),o.stopAnchoringPromise=void 0,o.isAnchored=!1,!t)return;const i=this.keepPopupPositionedRelativeTo({element:t,ePopup:e,hidePopup:o.hideFunc});return o.stopAnchoringPromise=i,o.isAnchored=!0,i}removePopupFromPopupList(e,t){this.setAlignedStyles(e,null),this.setPopupPositionRelatedToElement(e,null),t&&K6(t,null),this.popupList=this.popupList.filter(n=>n.element!==e)}keepPopupPositionedRelativeTo(e){const t=this.getPopupParent(),n=t.getBoundingClientRect(),{element:o,ePopup:i}=e,s=o.getBoundingClientRect(),r=d=>Number.parseInt(d.substring(0,d.length-1),10),a=(d,h)=>{const p=n[d]-s[d],f=r(i.style[d]);return{initialDiff:p,lastDiff:p,initial:f,last:f,direction:h}},l=a("top",0),c=a("left",1),u=this.beans.frameworkOverrides;return new bn(d=>{u.wrapIncoming(()=>{kz(()=>{const h=t.getBoundingClientRect(),p=o.getBoundingClientRect();if(p.top==0&&p.left==0&&p.height==0&&p.width==0){e.hidePopup();return}const g=(m,v)=>{const y=r(i.style[v]);m.last!==y&&(m.initial=y,m.last=y);const b=h[v]-p[v];if(b!=m.lastDiff){const w=this.keepXYWithinBounds(i,m.initial+m.initialDiff-b,m.direction);i.style[v]=`${w}px`,m.last=w}m.lastDiff=b};g(l,"top"),g(c,"left")},200).then(h=>{d(()=>{h!=null&&window.clearInterval(h)})})},"popupPositioning")})}isEventFromCurrentPopup(e,t){const{mouseEvent:n,touchEvent:o}=e,i=n||o;if(!i)return!1;const s=this.getPopupIndex(t);if(s===-1)return!1;for(let r=s;r<this.popupList.length;r++){const a=this.popupList[r];if(fG(a.element,i))return!0}return this.isElementWithinCustomPopup(i.target)}isElementWithinCustomPopup(e){const t=Un(this.beans);for(;e&&e!==t.body;){if(e.classList.contains("ag-custom-component-popup")||e.parentElement===null)return!0;e=e.parentElement}return!1}getWrapper(e){for(;!e.classList.contains("ag-popup")&&e.parentElement;)e=e.parentElement;return e.classList.contains("ag-popup")?e:null}setAlwaysOnTop(e,t){const n=this.getWrapper(e);n&&(n.classList.toggle("ag-always-on-top",!!t),t&&this.bringPopupToFront(n))}bringPopupToFront(e){const t=this.getPopupParent(),n=Array.prototype.slice.call(t.querySelectorAll(".ag-popup")),o=n.length,i=this.getWrapper(e);if(!i||o<=1||!t.contains(e))return;const s=[],r=[];for(const h of n)h!==i&&(h.classList.contains("ag-always-on-top")?r.push(h):s.push(h));const a=[],l=r.length,d=i.classList.contains("ag-always-on-top")||!l?[...s,...r,i]:[...s,i,...r];for(let h=0;h<=o;h++){const p=d[h];if(n[h]===d[h]||p===i)continue;const f=p.querySelectorAll("div");for(const g of f)g.scrollTop!==0&&a.push([g,g.scrollTop]);h===0?t.insertAdjacentElement("afterbegin",p):d[h-1].insertAdjacentElement("afterend",p)}for(;a.length;){const h=a.pop();h[0].scrollTop=h[1]}}},Sj=class extends G4{constructor(){super({tag:"div",cls:"ag-tooltip"})}init(e){const{value:t}=e,n=this.getGui();n.textContent=nd(t);const o=e.location.replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase();n.classList.add(`ag-${o}-tooltip`)}},Nx=(e,t)=>{if(t!=null&&e?.setPointerCapture)try{return e.setPointerCapture(t),e.hasPointerCapture(t)}catch{}return!1},Ej=(e,t)=>{if(typeof PointerEvent>"u"||!(t instanceof PointerEvent))return null;const n=t.pointerId;if(!Nx(e,n))return null;const o={eElement:e,pointerId:n,onLost(i){Rj(o,i)}};return e.addEventListener("lostpointercapture",o.onLost),o},Tj=e=>{if(!e)return;Bx(e);const{eElement:t,pointerId:n}=e;if(t){try{t.releasePointerCapture(n)}catch{}e.eElement=null}},Bx=e=>{const{eElement:t,onLost:n}=e;t&&n&&(t.removeEventListener("lostpointercapture",n),e.onLost=null)},Rj=(e,t)=>{Bx(e);const{eElement:n,pointerId:o}=e;n&&t.pointerId===o&&Nx(n,o)},Tc,Yc,Ys=e=>{if(!Yc)Yc=new WeakSet;else if(Yc.has(e))return!1;
52return Yc.add(e),!0},Pj=class extends Us{constructor(){super(...arguments),this.beanName="dragSvc",this.dragging=!1,this.drag=null,this.dragSources=[]}get startTarget(){return this.drag?.start.target??null}isPointer(){return!!Tc?.has(ws(this.beans))}hasPointerCapture(){const e=this.drag?.pointerCapture;return!!(e&&this.beans.eRootDiv.hasPointerCapture?.(e.pointerId))}destroy(){this.drag&&this.cancelDrag();const e=this.dragSources;for(const t of e)m8(t);e.length=0,super.destroy()}removeDragSource(e){const t=this.dragSources;for(let n=0,o=t.length;n<o;++n){const i=t[n];if(i.params===e){t.splice(n,1),m8(i);break}}}addDragSource(e){if(!this.isAlive())return;const{eElement:t,includeTouch:n}=e,o=[];let i;if(n){const c=t.style;c&&(i=c.touchAction,c.touchAction="none")}const s={handlers:o,params:e,oldTouchAction:i};this.dragSources.push(s),m1(o,[t,"pointerdown",c=>this.onPointerDown(e,c),{passive:!1}],[t,"mousedown",c=>this.onMouseDown(e,c)]);const l=this.gos.get("suppressTouch");n&&!l&&m1(o,[t,"touchstart",u=>this.onTouchStart(e,u),{passive:!1}])}cancelDrag(e){const t=this.drag;e??(e=t?.eElement),e&&this.eventSvc.dispatchEvent({type:"dragCancelled",target:e}),t?.params.onDragCancel?.(),this.destroyDrag()}shouldPreventMouseEvent(e){const t=e.type;return(t==="mousemove"||t==="pointermove")&&e.cancelable&&$h(this.beans,e)&&!ih(tv(e))}initDrag(e,...t){this.drag=e;const n=this.beans,o=a=>this.onScroll(a),i=a=>this.onKeyDown(a),s=ws(n),r=Un(n);m1(e.handlers,[s,"contextmenu",ga],[s,"keydown",i],[r,"scroll",o,{capture:!0}],[r.defaultView||window,"scroll",o],...t)}destroyDrag(){this.dragging=!1;const e=this.drag;if(e){const t=e.rootEl;Tc?.get(t)===e&&Tc?.delete(t),this.drag=null,Tj(e.pointerCapture),F4(e.handlers)}}onPointerDown(e,t){if(this.isPointer())return;const n=this.beans;if(Yc?.has(t))return;const o=t.pointerType;if(o==="touch"&&(n.gos.get("suppressTouch")||!e.includeTouch||(e.stopPropagationForTouch&&t.stopPropagation(),ih(tv(t))))||!t.isPrimary||o==="mouse"&&t.button!==0)return;this.destroyDrag();const i=ws(n),s=e.eElement,r=t.pointerId,a=new ev(i,e,t,r);Tc??(Tc=new WeakMap),Tc.set(i,a);const l=d=>{d.pointerId===r&&this.onMouseOrPointerMove(d)},c=d=>{d.pointerId===r&&this.onMouseOrPointerUp(d)},u=d=>{d.pointerId===r&&Ys(d)&&this.cancelDrag()};this.initDrag(a,[i,"pointerup",c],[i,"pointercancel",u],[i,"pointermove",l,{passive:!1}],[i,"touchmove",ga,{passive:!1}],[s,"mousemove",ga,{passive:!1}]),e.dragStartPixels===0?this.onMouseOrPointerMove(t):Ys(t)}onTouchStart(e,t){if(this.gos.get("suppressTouch")||!e.includeTouch||!Ys(t)||ih(tv(t)))return;if(e.stopPropagationForTouch&&t.stopPropagation(),this.isPointer()){ga(t);return}this.destroyDrag();const o=this.beans,i=ws(o),s=new ev(i,e,t.touches[0]),r=c=>this.onTouchMove(c),a=c=>this.onTouchUp(c),l=t.target??e.eElement;this.initDrag(s,[ws(o),"touchmove",ga,{passive:!1}],[l,"touchmove",r,{passive:!0}],[l,"touchend",a,{passive:!0}],[l,"touchcancel",a,{passive:!0}]),e.dragStartPixels===0&&this.onMove(s.start)}onMouseDown(e,t){if(t.button!==0||Yc?.has(t)||this.isPointer())return;const n=this.beans;this.destroyDrag();const o=new ev(ws(n),e,t),i=a=>this.onMouseOrPointerMove(a),s=a=>this.onMouseOrPointerUp(a),r=ws(n);this.initDrag(o,[r,"mousemove",i],[r,"mouseup",s]),e.dragStartPixels===0?this.onMouseOrPointerMove(t):Ys(t)}onScroll(e){if(!Ys(e))return;const t=this.drag,n=t?.lastDrag;n&&this.dragging&&t.params?.onDragging(n)}onMouseOrPointerMove(e){Ys(e)&&(Ua()&&Un(this.beans).getSelection()?.removeAllRanges(),this.shouldPreventMouseEvent(e)&&ga(e),this.onMove(e))}onTouchMove(e){const t=this.drag;if(!t||!Ys(e))return;const n=rh(t.start,e.touches);n&&(e.preventDefault(),this.onMove(n))}onMove(e){const t=this.drag;if(!t)return;t.lastDrag=e;const n=t.params;if(!this.dragging){const o=t.start,s=n.dragStartPixels??4;if(OL(e,o,s)||(this.dragging=!0,n.capturePointer&&(t.pointerCapture=Ej(this.beans.eRootDiv,e)),this.eventSvc.dispatchEvent({type:"dragStarted",target:n.eElement}),n.onDragStart(o),this.drag!==t)||(n.onDragging(o),this.drag!==t))return}n.onDragging(e)}onTouchUp(e){const t=this.drag;t&&Ys(e)&&this.onUp(rh(t.start,e.changedTouches))}onMouseOrPointerUp(e){Ys(e)&&this.onUp(e)}
52onUp(e){const t=this.drag;t&&(e||(e=t.lastDrag),e&&this.dragging&&(this.dragging=!1,t.params.onDragStop(e),this.eventSvc.dispatchEvent({type:"dragStopped",target:t.params.eElement})),this.destroyDrag())}onKeyDown(e){e.key===he.ESCAPE&&this.cancelDrag()}},m8=e=>{F4(e.handlers);const t=e.oldTouchAction;if(t!=null){const n=e.params.eElement.style;n&&(n.touchAction=t)}},ev=class{constructor(e,t,n,o=null){this.rootEl=e,this.params=t,this.start=n,this.pointerId=o,this.handlers=[],this.lastDrag=null,this.pointerCapture=null,this.eElement=t.eElement}},tv=e=>{const t=e.target;return t instanceof Element?t:null},Mj=class extends Us{constructor(){super(...arguments),this.beanName="dragAndDrop",this.dragSourceAndParamsList=[],this.dragItem=null,this.dragInitialSourcePointerOffsetX=0,this.dragInitialSourcePointerOffsetY=0,this.lastMouseEvent=null,this.lastDraggingEvent=null,this.dragSource=null,this.dragImageParent=null,this.dragImageCompPromise=null,this.dragImageComp=null,this.dragImageLastIcon=void 0,this.dragImageLastLabel=void 0,this.dropTargets=[],this.lastDropTarget=null}addDragSource(e,t=!1){const n={capturePointer:!0,dragSource:e,eElement:e.eElement,dragStartPixels:e.dragStartPixels,onDragStart:o=>this.onDragStart(e,o),onDragStop:this.onDragStop.bind(this),onDragging:this.onDragging.bind(this),onDragCancel:this.onDragCancel.bind(this),includeTouch:t};this.dragSourceAndParamsList.push(n),this.beans.dragSvc.addDragSource(n)}setDragImageCompIcon(e,t=!1){const n=this.dragImageComp;n&&(t||this.dragImageLastIcon!==e)&&(this.dragImageLastIcon=e,n.setIcon(e,t))}removeDragSource(e){const{dragSourceAndParamsList:t,beans:n}=this,o=t.find(i=>i.dragSource===e);o&&(n.dragSvc?.removeDragSource(o),os(t,o))}destroy(){const{dragSourceAndParamsList:e,dropTargets:t,beans:n}=this,o=n.dragSvc;for(const i of e)o?.removeDragSource(i);e.length=0,t.length=0,this.clearDragAndDropProperties(),super.destroy()}nudge(){const e=this.lastMouseEvent;e&&this.onDragging(e,!0)}onDragStart(e,t){this.lastMouseEvent=t,this.dragSource=e,this.dragItem=e.getDragItem();const n=e.eElement.getBoundingClientRect();this.dragInitialSourcePointerOffsetX=t.clientX-n.left,this.dragInitialSourcePointerOffsetY=t.clientY-n.top,e.onDragStarted?.(),this.createAndUpdateDragImageComp(e)}onDragStop(e){const{dragSource:t,lastDropTarget:n}=this;if(t?.onDragStopped?.(),n){const o=this.dropTargetEvent(n,e,!1);n.onDragStop?.(o)}this.clearDragAndDropProperties()}onDragCancel(){const{dragSource:e,lastDropTarget:t,lastMouseEvent:n}=this;if(e?.onDragCancelled?.(),t&&n){const o=this.dropTargetEvent(t,n,!1);t.onDragCancel?.(o)}this.clearDragAndDropProperties()}onDragging(e,t=!1){this.positionDragImageComp(e);const n=this.findCurrentDropTarget(e),{lastDropTarget:o,dragSource:i,dragItem:s}=this;let r=!1;if(n!==o){if(r=!0,o){const a=this.dropTargetEvent(o,e,t);o.onDragLeave?.(a)}if(o!==null&&!n?this.handleExit(i,s):o===null&&n&&this.handleEnter(i,s),n){const a=this.dropTargetEvent(n,e,t);n.onDragEnter?.(a)}this.lastDropTarget=n}else if(n){const a=this.dropTargetEvent(n,e,t);n.onDragging?.(a),a?.changed&&(r=!0)}this.lastMouseEvent=e,r&&this.updateDragImageComp()}clearDragAndDropProperties(){this.removeDragImageComp(this.dragImageComp),this.dragImageCompPromise=null,this.dragImageParent=null,this.dragImageLastIcon=void 0,this.dragImageLastLabel=void 0,this.lastMouseEvent=null,this.lastDraggingEvent=null,this.lastDropTarget=null,this.dragItem=null,this.dragInitialSourcePointerOffsetX=0,this.dragInitialSourcePointerOffsetY=0,this.dragSource=null}getAllContainersFromDropTarget(e){const t=e.getSecondaryContainers?e.getSecondaryContainers():null,n=[[e.getContainer()]];return t?n.concat(t):n}isMouseOnDropTarget(e,t){const n=this.getAllContainersFromDropTarget(t);let o=!1;const i=(a,l)=>{for(const c of l){const{width:u,height:d,left:h,right:p,top:f,bottom:g}=c.getBoundingClientRect();if(u===0||d===0)return!1;const m=a.clientX>=h&&a.clientX<p,v=a.clientY>=f&&a.clientY<g;if(!m||!v)return!1}return!0};for(const a of n)if(i(e,a)){o=!0;break}const{eElement:s,type:r}=this.dragSource;return t.targetContainsSource&&!t.getContainer().contains(s)?!1:o&&t.isInterestedIn(r,s)}findCurrentDropTarget(e){const t=this.dropTargets.filter(s=>this.isMouseOnDropTarget(e,s)),n=t.length;if(n===0)return null;if(n===1)return t[0];const i=ws(this.beans).elementsFromPoint(e.clientX,e.clientY);for(const s of i)for(const r of t)if(this.getAllContainersFromDropTarget(r).flatMap(l=>l).indexOf(s)!==-1)return r;return null}addDropTarget(e){this.dropTargets.push(e)}removeDropTarget(e){this.dropTargets=this.dropTargets.filter(t=>t.getContainer()!==e.getContainer())}hasExternalDropZones(){return this.dropTargets.some(e=>e.external)}findExternalZone(e){return this.dropTargets.find(t=>t.external&&t.getContainer()===e)||null}dropTargetEvent(e,t,n){const{dragSource:o,dragItem:i,lastDraggingEvent:s,lastMouseEvent:r,dragInitialSourcePointerOffsetX:a,dragInitialSourcePointerOffsetY:l}=this,c=e.getContainer(),u=c.getBoundingClientRect(),{clientX:d,clientY:h}=t,p=d-(r?.clientX||0),f=h-(r?.clientY||0),g=this.createEvent({event:t,x:d-u.left,y:h-u.top,vDirection:f>0?"down":f<0?"up":null,hDirection:p<0?"left":p>0?"right":null,initialSourcePointerOffsetX:a,initialSourcePointerOffsetY:l,dragSource:o,fromNudge:n,dragItem:i,dropZoneTarget:c,dropTarget:s?.dropTarget??null,changed:!!s?.changed});return this.lastDraggingEvent=g,g}
52positionDragImageComp(e){const t=this.dragImageComp?.getGui();t&&bG(t,e,this.beans)}removeDragImageComp(e){this.dragImageComp===e&&(this.dragImageComp=null),e&&(e.getGui()?.remove(),this.destroyBean(e))}createAndUpdateDragImageComp(e){const t=this.createDragImageComp(e)??null;this.dragImageCompPromise=t,t?.then(n=>{if(t!==this.dragImageCompPromise||!this.lastMouseEvent||!this.isAlive()){this.destroyBean(n);return}this.dragImageCompPromise=null,this.dragImageLastIcon=void 0,this.dragImageLastLabel=void 0;const o=this.dragImageComp;o!==n&&(this.dragImageComp=n,this.removeDragImageComp(o)),n&&(this.appendDragImageComp(n),this.updateDragImageComp())})}appendDragImageComp(e){const t=e.getGui(),n=t.style;n.position="absolute",n.zIndex="9999",this.beans.dragSvc?.hasPointerCapture()&&(n.pointerEvents="none"),this.gos.setInstanceDomData(t),this.beans.environment.applyThemeClasses(t),n.top="20px",n.left="20px";const o=x4(this.beans);this.dragImageParent=o,o?o.appendChild(t):this.warnNoBody()}updateDragImageComp(){const{dragImageComp:e,dragSource:t,lastDropTarget:n,lastDraggingEvent:o,dragImageLastLabel:i}=this;if(!e)return;this.setDragImageCompIcon(n?.getIconName?.(o)??null);let s=t?.dragItemName;typeof s=="function"&&(s=s(o)),s||(s=""),i!==s&&(this.dragImageLastLabel=s,e.setLabel(s))}},Lj=class extends Mj{createEvent(e){return st(this.gos,e)}createDragImageComp(e){const{gos:t,beans:n}=this;return Xz(n.userCompFactory,st(t,{dragSource:e}))?.newAgStackInstance()}handleEnter(e,t){e?.onGridEnter?.(t)}handleExit(e,t){e?.onGridExit?.(t)}warnNoBody(){Me(54)}isDropZoneWithinThisGrid(e){return this.beans.ctrlsSvc.getGridBodyCtrl().eGridBody.contains(e.dropZoneTarget)}registerGridDropTarget(e,t){const n={getContainer:e,isInterestedIn:o=>o===1||o===0,getIconName:()=>"notAllowed"};this.addDropTarget(n),t.addDestroyFunc(()=>this.removeDropTarget(n))}};function Hx(e,t){return e+"_"+t}function xn(e){return e instanceof jh}var jh=class extends we{constructor(e,t,n,o){super(),this.providedColumnGroup=e,this.groupId=t,this.partId=n,this.pinned=o,this.isColumn=!1,this.displayedChildren=[],this.autoHeaderHeight=null,this.parent=null,this.colIdSanitised=oh(this.getUniqueId())}reset(){this.parent=null,this.children=null,this.displayedChildren=null}getParent(){return this.parent}getUniqueId(){return Hx(this.groupId,this.partId)}isEmptyGroup(){return this.displayedChildren.length===0}isMoving(){const e=this.getProvidedColumnGroup().getLeafColumns();return!e||e.length===0?!1:e.every(t=>t.isMoving())}checkLeft(){for(const e of this.displayedChildren)xn(e)&&e.checkLeft();if(this.displayedChildren.length>0)if(this.gos.get("enableRtl")){const t=on(this.displayedChildren).getLeft();this.setLeft(t)}else{const e=this.displayedChildren[0].getLeft();this.setLeft(e)}else this.setLeft(null)}getLeft(){return this.left}getOldLeft(){return this.oldLeft}setLeft(e){this.oldLeft=this.left,this.left!==e&&(this.left=e,this.dispatchLocalEvent({type:"leftChanged"}))}getPinned(){return this.pinned}getGroupId(){return this.groupId}getPartId(){return this.partId}getActualWidth(){let e=0;for(const t of this.displayedChildren??[])e+=t.getActualWidth();return e}isResizable(){if(!this.displayedChildren)return!1;let e=!1;for(const t of this.displayedChildren)t.isResizable()&&(e=!0);return e}getMinWidth(){let e=0;for(const t of this.displayedChildren)e+=t.getMinWidth();return e}addChild(e){this.children||(this.children=[]),this.children.push(e)}getDisplayedChildren(){return this.displayedChildren}getLeafColumns(){const e=[];return this.addLeafColumns(e),e}getDisplayedLeafColumns(){const e=[];return this.addDisplayedLeafColumns(e),e}getDefinition(){return this.providedColumnGroup.getColGroupDef()}getColGroupDef(){return this.providedColumnGroup.getColGroupDef()}isPadding(){return this.providedColumnGroup.isPadding()}isExpandable(){return this.providedColumnGroup.isExpandable()}isExpanded(){return this.providedColumnGroup.isExpanded()}setExpanded(e){this.providedColumnGroup.setExpanded(e)}isAutoHeaderHeight(){return!!this.getColGroupDef()?.autoHeaderHeight}getAutoHeaderHeight(){return this.autoHeaderHeight}setAutoHeaderHeight(e){const t=e!==this.autoHeaderHeight;return this.autoHeaderHeight=e,t}addDisplayedLeafColumns(e){for(const t of this.displayedChildren??[])ka(t)?e.push(t):xn(t)&&t.addDisplayedLeafColumns(e)}addLeafColumns(e){for(const t of this.children??[])ka(t)?e.push(t):xn(t)&&t.addLeafColumns(e)}getChildren(){return this.children}getColumnGroupShow(){return this.providedColumnGroup.getColumnGroupShow()}getProvidedColumnGroup(){return this.providedColumnGroup}getPaddingLevel(){const e=this.getParent();return!this.isPadding()||!e?.isPadding()?0:1+e.getPaddingLevel()}calculateDisplayedColumns(){this.displayedChildren=[];let e=this;for(;e?.isPadding();)e=e.getParent();if(!(e?e.getProvidedColumnGroup().isExpandable():!1)){this.displayedChildren=this.children,this.dispatchLocalEvent({type:"displayedChildrenChanged"});return}for(const n of this.children??[]){if(xn(n)&&!n.displayedChildren?.length)continue;switch(n.getColumnGroupShow()){case"open":e.getProvidedColumnGroup().isExpanded()&&this.displayedChildren.push(n);break;case"closed":e.getProvidedColumnGroup().isExpanded()||this.displayedChildren.push(n);break;default:this.displayedChildren.push(n);break}}this.dispatchLocalEvent({type:"displayedChildrenChanged"})}},h5="row-group-",X4="t-",J4="b-",xj=0,Aa=class{constructor(e){this.master=!1,this.detail=void 0,this.rowIndex=null,this.key=null,this.sourceRowIndex=-1,this._leafs=void 0,this.childrenMapped=null,this.treeParent=null,this.treeNodeFlags=0,this.displayed=!1,this.rowTop=null,this.oldRowTop=null,this.selectable=!0,this.__objectId=xj++,this.alreadyRendered=!1,this.hovered=!1,this.__selected=!1,this.beans=e}get allLeafChildren(){const e=this._leafs;return e===void 0?this.beans.groupStage?.loadLeafs?.(this)??null:e}set allLeafChildren(e){this._leafs=e}setData(e){this.setDataCommon(e,!1)}updateData(e){this.setDataCommon(e,!0)}setDataCommon(e,t){const{valueCache:n,eventSvc:o}=this.beans,i=this.data;this.data=e,n?.onDataChanged(),this.updateDataOnDetailNode(),this.resetQuickFilterAggregateText();const s=this.createDataChangedEvent(e,i,t);if(this.__localEventService?.dispatchEvent(s),this.sibling){this.sibling.data=e;const a=this.sibling.createDataChangedEvent(e,i,t);this.sibling.__localEventService?.dispatchEvent(a)}o.dispatchEvent({type:"rowNodeDataChanged",node:this});const r=this.pinnedSibling;r&&(r.data=e,r.__localEventService?.dispatchEvent(r.createDataChangedEvent(e,i,t)),o.dispatchEvent({type:"rowNodeDataChanged",node:r}))}updateDataOnDetailNode(){const e=this.detailNode;e&&(e.data=this.data)}createDataChangedEvent(e,t,n){return{type:"dataChanged",node:this,oldData:t,newData:e,update:n}}getRowIndexString(){return this.rowIndex==null?(qt(13),null):this.rowPinned==="top"?X4+this.rowIndex:this.rowPinned==="bottom"?J4+this.rowIndex:this.rowIndex.toString()}setDataAndId(e,t){const{selectionSvc:n}=this.beans,o=n?.createDaemonNode?.(this),i=this.data;this.data=e,this.updateDataOnDetailNode(),this.setId(t),n&&(n.updateRowSelectable(this),n.syncInRowNode(this,o));const s=this.createDataChangedEvent(e,i,!1);this.__localEventService?.dispatchEvent(s)}setId(e){const t=Lu(this.beans.gos);if(t)if(this.data){const n=this.parent?.getRoute()??[];this.id=t({data:this.data,parentKeys:n.length>0?n:void 0,level:this.level,rowPinned:this.rowPinned}),this.id.startsWith(h5)&&qt(14,{groupPrefix:h5})}else this.id=void 0;else this.id=e}setRowTop(e){if(this.oldRowTop=this.rowTop,this.rowTop===e)return;this.rowTop=e,this.dispatchRowEvent("topChanged");const t=e!==null;this.displayed!==t&&(this.displayed=t,this.dispatchRowEvent("displayedChanged"))}clearRowTopAndRowIndex(){this.oldRowTop=null,this.setRowTop(null),this.setRowIndex(null)}setHovered(e){this.hovered=e}isHovered(){return this.hovered}setRowHeight(e,t=!1){this.rowHeight=e,this.rowHeightEstimated=t,this.dispatchRowEvent("heightChanged")}setExpanded(e,t,n){this.beans.expansionSvc?.setExpanded(this,e,t,n)}setDataValue(e,t,n){const{colModel:o,valueSvc:i,gos:s,editSvc:r}=this.beans,a=typeof e!="string"?e:o.getCol(e)??o.getColDefCol(e);if(!a)return!1;const l=i.getValueForDisplay(a,this,void 0,void 0,"api").value;if(s.get("readOnlyEdit")){const{beans:{eventSvc:u},data:d,rowIndex:h,rowPinned:p}=this;return u.dispatchEvent({type:"cellEditRequest",event:null,rowIndex:h,rowPinned:p,column:a,colDef:a.colDef,data:d,node:this,oldValue:l,newValue:t,value:t,source:n}),!1}if(r&&!r.committing){const u=r.setDataValue({rowNode:this,column:a},t,n);if(u!=null)return u}const c=i.setValue(this,a,t,n);return this.dispatchCellChangedEvent(a,t,l),c&&this.pinnedSibling?.dispatchCellChangedEvent(a,t,l),c}updateHasChildren(){let e=this.group&&!this.footer||!!this.childrenAfterGroup?.length;const{rowChildrenSvc:t}=this.beans;t&&(e=t.getHasChildrenValue(this)),e!==this.__hasChildren&&(this.__hasChildren=!!e,this.dispatchRowEvent("hasChildrenChanged"))}hasChildren(){return this.__hasChildren==null&&this.updateHasChildren(),this.__hasChildren}dispatchCellChangedEvent(e,t,n){const o={type:"cellChanged",node:this,column:e,newValue:t,oldValue:n};this.__localEventService?.dispatchEvent(o)}resetQuickFilterAggregateText(){this.quickFilterAggregateText=null}isExpandable(){return this.beans.expansionSvc?.isExpandable(this)??!1}isSelected(){if(this.footer)return this.sibling.isSelected();const e=this.rowPinned&&this.pinnedSibling;return e?e.isSelected():this.__selected}depthFirstSearch(e){const t=this.childrenAfterGroup;if(t)for(let n=0,o=t.length;n<o;++n)t[n].depthFirstSearch(e);e(this)}dispatchRowEvent(e){this.__localEventService?.dispatchEvent({type:e,node:this})}
vendor: 7,688 bytes, line 52
52setSelected(e,t=!1,n="api"){this.beans.selectionSvc?.setNodesSelected({nodes:[this],newValue:e,clearSelection:t,source:n})}isRowPinned(){return!!this.rowPinned}__addEventListener(e,t){(this.__localEventService??(this.__localEventService=new Kl)).addEventListener(e,t)}__removeEventListener(e,t){this.removeLocalListener(e,t)}addEventListener(e,t){this.beans.validation?.checkRowEvents(e);const n=this.__localEventService??(this.__localEventService=new Kl);this.frameworkEventListenerService=this.beans.frameworkOverrides.createLocalEventListenerWrapper?.(this.frameworkEventListenerService,n);const o=this.frameworkEventListenerService?.wrap(e,t)??t;n.addEventListener(e,o)}removeEventListener(e,t){const n=this.frameworkEventListenerService?.unwrap(e,t)??t;this.removeLocalListener(e,n)}removeLocalListener(e,t){const n=this.__localEventService;n&&(n.removeEventListener(e,t),n.noRegisteredListenersExist()&&(this.__localEventService=null))}isFullWidthCell(){if(Me(61),this.detail)return!0;const e=this.beans.gos.getCallback("isFullWidthRow");return e?e({rowNode:this}):!1}getRoute(){if(this.level===-1)return[];if(this.key==null)return;const e=[];let t=this;for(;t?.key!=null;)e.push(t.key),t=t.parent;return e.reverse()}setRowIndex(e){this.rowIndex!==e&&(this.rowIndex=e,this.dispatchRowEvent("rowIndexChanged"))}setAllChildrenCount(e){this.allChildrenCount!==e&&(this.allChildrenCount=e,this.dispatchRowEvent("allChildrenCountChanged"))}setUiLevel(e){this.uiLevel!==e&&(this.uiLevel=e,this.dispatchRowEvent("uiLevelChanged"))}getFirstChild(){const e=this.childStore;return e?e.getFirstNode():this.childrenAfterSort?.[0]??null}};function Dj(e,t,n){return st(t,{type:n,node:e,data:e.data,rowIndex:e.rowIndex,rowPinned:e.rowPinned})}var kj=new Set(["__autoHeights","__checkAutoHeightsDebounced","__localEventService","__objectId","_leafs","childStore","oldRowTop","sticky","treeNodeFlags","treeParent"]),Aj=(e,t)=>{const n=new Aa(t);for(const o of Object.keys(e))kj.has(o)||(n[o]=e[o]);return n.oldRowTop=null,n},Vx=e=>{for(;e?.length;){const t=e[0];if(t.data)return t;e=t.childrenAfterGroup}},$x={agSetColumnFilter:"agSetColumnFilterHandler",agMultiColumnFilter:"agMultiColumnFilterHandler",agGroupColumnFilter:"agGroupColumnFilterHandler",agNumberColumnFilter:"agNumberColumnFilterHandler",agDateColumnFilter:"agDateColumnFilterHandler",agTextColumnFilter:"agTextColumnFilterHandler"},_j=new Set(Object.values($x));function Kr(e,t){const n=e.filterUi;if(!n)return null;if(n.created)return n.promise;if(t)return null;const o=n.create(n.refreshed),i=n;return i.created=!0,i.promise=o,o}function Ij(e,t,n,o,i,s,r){return t.refresh?.({...n,model:o,source:s,additionalEventAttributes:r}),e().then(a=>{if(a){const{filter:l,filterParams:c}=a;Wx(l,c,o,i,s,r)}})}function Wx(e,t,n,o,i,s){e?.refresh?.({...t,model:n,state:o,source:i,additionalEventAttributes:s})}function Gx(e,t,n){const o=e();o?.created&&o.promise.then(i=>{const s=t();Wx(i,o.filterParams,s,n()??{model:s},"ui")})}function v8(e,t,n,o,i,s,r){let a,l=!1,c;switch(e){case"apply":{const u=o();c=u?.model??null,r&&(c=r(c)),a={state:u?.state,model:c},l=!0;break}case"clear":{a={model:null};break}case"reset":{a={model:null},l=!0,c=null;break}case"cancel":{a={model:n()};break}}i(a),l?s(c):Gx(t,n,o)}function zn(e,t){return e[t]??null}function An(e){return Op(e)}function Fj(e){return{tag:"div",cls:e}}var Oj=class extends jt{constructor(e){const{className:t="ag-filter-apply-panel"}=e??{};super(Fj(t)),this.listeners=[],this.validationMessage=null,this.className=t}updateButtons(e,t){const n=this.buttons;if(this.buttons=e,n===e)return;const o=this.getGui();Xn(o);let i;this.destroyListeners();const s=document.createDocumentFragment(),r=this.className,a=({type:c,label:u})=>{const d=v=>{this.dispatchLocalEvent({type:c,event:v})};["apply","clear","reset","cancel"].includes(c)||Me(75);const h=c==="apply",f=An({tag:"button",attrs:{type:h&&t?"submit":"button"},ref:`${c}FilterButton`,cls:`ag-button ag-standard-button ${r}-button${h?" "+r+"-apply-button":""}`,children:u});this.activateTabIndex([f]),h&&(i=f);const g=v=>{v.key===he.ENTER&&(v.preventDefault(),d(v))},m=this.listeners;f.addEventListener("click",d),m.push(()=>f.removeEventListener("click",d)),f.addEventListener("keydown",g),m.push(()=>f.removeEventListener("keydown",g)),s.append(f)};for(const c of e)a(c);this.eApply=i;const l=this.validationTooltipFeature;i&&!l?this.validationTooltipFeature=this.createOptionalManagedBean(this.beans.registry.createDynamicBean("tooltipFeature",!1,{getGui:()=>this.eApply,getLocation:()=>"advancedFilter",getTooltipShowDelayOverride:()=>1e3})):!i&&l&&(this.validationTooltipFeature=this.destroyBean(l)),o.append(s)}getApplyButton(){return this.eApply}updateValidity(e,t=null){const n=this.eApply;n&&(Hh(n,e===!1),this.validationMessage=t??null,this.validationTooltipFeature?.setTooltipAndRefresh(this.validationMessage))}destroyListeners(){for(const e of this.listeners)e();this.listeners=[]}destroy(){this.destroyListeners(),super.destroy()}},Nj={applyFilter:"Apply",clearFilter:"Clear",resetFilter:"Reset",cancelFilter:"Cancel",textFilter:"Text Filter",numberFilter:"Number Filter",dateFilter:"Date Filter",setFilter:"Set Filter",filterOoo:"Filter...",empty:"Choose one",equals:"Equals",notEqual:"Does not equal",lessThan:"Less than",greaterThan:"Greater than",inRange:"Between",inRangeStart:"From",inRangeEnd:"To",lessThanOrEqual:"Less than or equal to",greaterThanOrEqual:"Greater than or equal to",contains:"Contains",notContains:"Does not contain",startsWith:"Begins with",endsWith:"Ends with",blank:"Blank",notBlank:"Not blank",before:"Before",after:"After",andCondition:"AND",orCondition:"OR",dateFormatOoo:"yyyy-mm-dd",filterSummaryInactive:"is (All)",filterSummaryContains:"contains",filterSummaryNotContains:"does not contain",filterSummaryTextEquals:"equals",filterSummaryTextNotEqual:"does not equal",filterSummaryStartsWith:"begins with",filterSummaryEndsWith:"ends with",filterSummaryBlank:"is blank",filterSummaryNotBlank:"is not blank",filterSummaryEquals:"=",filterSummaryNotEqual:"!=",filterSummaryGreaterThan:">",filterSummaryGreaterThanOrEqual:">=",filterSummaryLessThan:"<",filterSummaryLessThanOrEqual:"<=",filterSummaryInRange:"between",filterSummaryInRangeValues:e=>`(${e[0]}, ${e[1]})`,filterSummaryTextQuote:e=>`"${e[0]}"`};function ba(e,t,n){return wG(e,Nj,t,n)}function Q4(e,t){const{debounceMs:n}=e;return h0(e)?(n!=null&&Me(71),0):n??t}function h0(e){return(e.buttons?.indexOf("apply")??-1)>=0}var Bj=class extends jt{constructor(e,t,n,o,i,s){super(),this.column=e,this.wrapper=t,this.eventParent=n,this.updateModel=o,this.isGlobalButtons=i,this.enableGlobalButtonCheck=s,this.hidePopup=null,this.applyActive=!1}postConstruct(){const{comp:e,params:t}=this.wrapper,n=t,o=n.useForm,i=o?"form":"div";this.setTemplate({tag:i,cls:"ag-filter-wrapper"}),o&&this.addManagedElementListeners(this.getGui(),{submit:s=>{s?.preventDefault()},keydown:this.handleKeyDown.bind(this)}),this.appendChild(e.getGui()),this.params=n,this.resetButtonsPanel(n),this.addManagedListeners(this.eventParent,{filterParamsChanged:({column:s,params:r})=>{s===this.column&&this.resetButtonsPanel(r,this.params)},filterStateChanged:({column:s,state:r})=>{s===this.column&&this.eButtons?.updateValidity(r.valid!==!1)},filterAction:({column:s,action:r,event:a})=>{s===this.column&&this.afterAction(r,a)},...this.enableGlobalButtonCheck?{filterGlobalButtons:({isGlobal:s})=>{if(s!==this.isGlobalButtons){this.isGlobalButtons=s;const r=this.params;this.resetButtonsPanel(r,r,!0)}}}:void 0})}afterGuiAttached(e){e&&(this.hidePopup=e.hidePopup)}resetButtonsPanel(e,t,n){const{buttons:o,readOnly:i}=t??{},{buttons:s,readOnly:r,useForm:a}=e;
52if(!n&&i===r&&Nh(o,s))return;const l=s&&s.length>0&&!e.readOnly&&!this.isGlobalButtons;let c=this.eButtons;if(l){const u=s.map(d=>{const h=`${d}Filter`;return{type:d,label:ba(this,h)}});if(this.applyActive=h0(this.params),!c){c=this.createBean(new Oj),this.appendChild(c.getGui());const d=this.column,h=p=>({event:f})=>{this.updateModel(d,p,{fromButtons:!0}),this.afterAction(p,f)};c?.addManagedListeners(c,{apply:h("apply"),clear:h("clear"),reset:h("reset"),cancel:h("cancel")}),this.eButtons=c}c.updateButtons(u,a)}else this.applyActive=!1,c&&(ji(c.getGui()),this.eButtons=this.destroyBean(c))}close(e){const t=this.hidePopup;if(!t)return;const n=e,o=n?.key;let i;(o===he.ENTER||o===he.SPACE)&&(i={keyboardEvent:n}),t(i),this.hidePopup=null}afterAction(e,t){const{params:n,applyActive:o}=this,i=n?.closeOnApply;switch(e){case"apply":{t?.preventDefault(),i&&o&&this.close(t);break}case"reset":{i&&o&&this.close();break}case"cancel":{i&&this.close(t);break}}}handleKeyDown(e){!e.defaultPrevented&&e.key===he.ENTER&&this.applyActive&&(this.updateModel(this.column,"apply",{fromButtons:!0}),this.afterAction("apply",e))}destroy(){this.hidePopup=null,this.eButtons=this.destroyBean(this.eButtons)}},Hj={tag:"div",cls:"ag-filter"},Vj=class extends jt{constructor(e,t,n){super(Hj),this.column=e,this.source=t,this.enableGlobalButtonCheck=n,this.wrapper=null}postConstruct(){this.beans.colFilter?.activeFilterComps.add(this),this.createFilter(!0),this.addManagedEventListeners({filterDestroyed:this.onFilterDestroyed.bind(this)})}hasFilter(){return this.wrapper!=null}getFilter(){return this.wrapper?.then(e=>e.comp)??null}afterInit(){return this.wrapper?.then(()=>{})??bn.resolve()}afterGuiAttached(e){this.afterGuiAttachedParams=e,this.wrapper?.then(t=>{this.comp?.afterGuiAttached(e),t?.comp?.afterGuiAttached?.(e)})}afterGuiDetached(){this.wrapper?.then(e=>{e?.comp?.afterGuiDetached?.()})}createFilter(e){const{column:t,source:n,beans:{colFilter:o}}=this,i=o.getFilterUiForDisplay(t)??null;this.wrapper=i,i?.then(s=>{if(!s)return;const{isHandler:r,comp:a}=s;let l;if(r){const c=!!this.enableGlobalButtonCheck,u=this.createBean(new Bj(t,s,o,o.updateModel.bind(o),c&&o.isGlobalButtons,c));this.comp=u,l=u.getGui()}else l=a.getGui(),Ge(l)||Me(69,{guiFromFilter:l});this.appendChild(l),e?this.eventSvc.dispatchEvent({type:"filterOpened",column:t,source:n,eGui:this.getGui()}):a.afterGuiAttached?.(this.afterGuiAttachedParams)})}onFilterDestroyed(e){const{source:t,column:n}=e;(t==="api"||t==="paramsUpdated")&&n.getId()===this.column.getId()&&this.beans.colModel.getColDefCol(this.column)&&(Xn(this.getGui()),this.comp=this.destroyBean(this.comp),this.createFilter())}destroy(){this.beans.colFilter?.activeFilterComps.delete(this),this.eventSvc.dispatchEvent({type:"filterClosed",column:this.column}),this.wrapper=null,this.comp=this.destroyBean(this.comp),this.afterGuiAttachedParams=void 0,super.destroy()}},C8={january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December"},b8=["january","february","march","april","may","june","july","august","september","october","november","december"];function $j(e,t){return e==null?-1:t==null?1:Number.parseFloat(e)-Number.parseFloat(t)}function y8(e){return e instanceof Date&&!isNaN(e.getTime())}var p5={number:()=>{},boolean:()=>({maxNumConditions:1,debounceMs:0,filterOptions:["empty",{displayKey:"true",displayName:"True",predicate:(e,t)=>t,numberOfInputs:0},{displayKey:"false",displayName:"False",predicate:(e,t)=>t===!1,numberOfInputs:0}]}),date:()=>({isValidDate:y8}),dateString:({dataTypeDefinition:e})=>({comparator:(t,n)=>{const o=e.dateParser(n);return n==null||o<t?-1:o>t?1:0},isValidDate:t=>typeof t=="string"&&y8(e.dateParser(t))}),dateTime:e=>p5.date(e),dateTimeString:e=>p5.dateString(e),object:()=>{},text:()=>{}},f5={number:()=>({comparator:$j}),boolean:({t:e})=>({valueFormatter:t=>Ge(t.value)?e(String(t.value),t.value?"True":"False"):e("blanks","(Blanks)")}),date:({formatValue:e,t})=>({valueFormatter:n=>{const o=e(n);return Ge(o)?o:t("blanks","(Blanks)")},treeList:!0,treeListFormatter:(n,o)=>
52{if(n==="NaN")return t("invalidDate","Invalid Date");if(o===1&&n!=null){const i=b8[Number(n)-1];return t(i,C8[i])}return n??t("blanks","(Blanks)")},treeListPathGetter:n=>Mf(n,!1)}),dateString:({formatValue:e,dataTypeDefinition:t,t:n})=>({valueFormatter:o=>{const i=e(o);return Ge(i)?i:n("blanks","(Blanks)")},treeList:!0,treeListPathGetter:o=>Mf(t.dateParser(o??void 0),!1),treeListFormatter:(o,i)=>{if(i===1&&o!=null){const s=b8[Number(o)-1];return n(s,C8[s])}return o??n("blanks","(Blanks)")}}),dateTime:e=>{const t=f5.date(e);return t.treeListPathGetter=Mf,t},dateTimeString(e){const t=e.dataTypeDefinition.dateParser,n=f5.dateString(e);return n.treeListPathGetter=o=>Mf(t(o??void 0)),n},object:({formatValue:e,t})=>({valueFormatter:n=>{const o=e(n);return Ge(o)?o:t("blanks","(Blanks)")}}),text:()=>{}};function Wj(e,t,n,o,i,s,r){let a=t,l=n;const c=e==="agSetColumnFilter";!l&&o.baseDataType==="object"&&!c&&(l=({column:p,node:f})=>i({column:p,node:f,value:s.valueSvc.getValue(p,f)}));const d=(c?f5:p5)[o.baseDataType],h=d({dataTypeDefinition:o,formatValue:i,t:r});return a=typeof t=="object"?{...h,...t}:h,{filterParams:a,filterValueGetter:l}}var Gj={boolean:"agTextColumnFilter",date:"agDateColumnFilter",dateString:"agDateColumnFilter",dateTime:"agDateColumnFilter",dateTimeString:"agDateColumnFilter",number:"agNumberColumnFilter",object:"agTextColumnFilter",text:"agTextColumnFilter"},zj={boolean:"agTextColumnFloatingFilter",date:"agDateColumnFloatingFilter",dateString:"agDateColumnFloatingFilter",dateTime:"agDateColumnFloatingFilter",dateTimeString:"agDateColumnFloatingFilter",number:"agNumberColumnFloatingFilter",object:"agTextColumnFloatingFilter",text:"agTextColumnFloatingFilter"};function Uj(e,t=!1){return(t?zj:Gj)[e??"text"]}var zx="ag-resizer-wrapper",qr=(e,t)=>({tag:"div",ref:`${e}Resizer`,cls:`ag-resizer ag-resizer-${t}`}),jj={tag:"div",cls:zx,children:[qr("eTopLeft","topLeft"),qr("eTop","top"),qr("eTopRight","topRight"),qr("eRight","right"),qr("eBottomRight","bottomRight"),qr("eBottom","bottom"),qr("eBottomLeft","bottomLeft"),qr("eLeft","left")]},Zj=class extends we{constructor(e,t){super(),this.element=e,this.dragStartPosition={x:0,y:0},this.position={x:0,y:0},this.lastSize={width:-1,height:-1},this.positioned=!1,this.resizersAdded=!1,this.resizeListeners=[],this.boundaryEl=null,this.isResizing=!1,this.isMoving=!1,this.resizable={},this.movable=!1,this.currentResizer=null,this.config=Object.assign({},{popup:!1},t)}wireBeans(e){this.popupSvc=e.popupSvc,this.dragSvc=e.dragSvc}center(e){const{clientHeight:t,clientWidth:n}=this.offsetParent,o=n/2-this.getWidth()/2,i=t/2-this.getHeight()/2;this.offsetElement(o,i,e)}initialisePosition(e){if(this.positioned)return;const{centered:t,forcePopupParentAsOffsetParent:n,minWidth:o,width:i,minHeight:s,height:r,x:a,y:l}=this.config;this.offsetParent||this.setOffsetParent();let c=0,u=0;const d=zs(this.element);if(d){const h=this.findBoundaryElement(),p=window.getComputedStyle(h);if(p.minWidth!=null){const f=h.offsetWidth-this.element.offsetWidth;u=Number.parseInt(p.minWidth,10)-f}if(p.minHeight!=null){const f=h.offsetHeight-this.element.offsetHeight;c=Number.parseInt(p.minHeight,10)-f}}if(this.minHeight=s||c,this.minWidth=o||u,i&&this.setWidth(i),r&&this.setHeight(r),(!i||!r)&&this.refreshSize(),t)this.center(e);else if(a||l)this.offsetElement(a,l,e);else if(d&&n){let h=this.boundaryEl,p=!0;if(h||(h=this.findBoundaryElement(),p=!1),h){const f=Number.parseFloat(h.style.top),g=Number.parseFloat(h.style.left);p?this.offsetElement(isNaN(g)?0:g,isNaN(f)?0:f,e):this.setPosition(g,f)}}this.positioned=!!this.offsetParent}isPositioned(){return this.positioned}getPosition(){return this.position}setMovable(e,t){if(!this.config.popup||e===this.movable)return;this.movable=e;const n=this.moveElementDragListener||{eElement:t,onDragStart:this.onMoveStart.bind(this),onDragging:this.onMove.bind(this),onDragStop:this.onMoveEnd.bind(this)};e?(this.dragSvc?.addDragSource(n),this.moveElementDragListener=n):(this.dragSvc?.removeDragSource(n),this.moveElementDragListener=void 0)}setResizable(e){if(this.clearResizeListeners(),e?this.addResizers():this.removeResizers(),typeof e=="boolean"){if(e===!1)return;e={topLeft:e,top:e,topRight:e,right:e,bottomRight:e,bottom:e,bottomLeft:e,left:e}}Object.keys(e).forEach(t=>{const o=!!e[t],i=this.getResizerElement(t),s={dragStartPixels:0,eElement:i,onDragStart:r=>this.onResizeStart(r,t),onDragging:this.onResize.bind(this),onDragStop:r=>this.onResizeEnd(r,t)};(o||!this.isAlive()&&!o)&&(o?(this.dragSvc?.addDragSource(s),this.resizeListeners.push(s),i.style.pointerEvents="all"):i.style.pointerEvents="none",this.resizable[t]=o)})}removeSizeFromEl(){this.element.style.removeProperty("height"),this.element.style.removeProperty("width"),this.element.style.removeProperty("flex")}restoreLastSize(){this.element.style.flex="0 0 auto";const{height:e,width:t}=this.lastSize;t!==-1&&(this.element.style.width=`${t}px`),e!==-1&&(this.element.style.height=`${e}px`)}
vendor: 15,700 bytes, line 52
52getHeight(){return this.element.offsetHeight}setHeight(e){const{popup:t}=this.config,n=this.element;let o=!1;if(typeof e=="string"&&e.includes("%"))sh(n,e),e=LL(n),o=!0;else if(e=Math.max(this.minHeight,e),this.positioned){const i=this.getAvailableHeight();i&&e>i&&(e=i)}this.getHeight()!==e&&(o?(n.style.maxHeight="unset",n.style.minHeight="unset"):t?sh(n,e):(n.style.height=`${e}px`,n.style.flex="0 0 auto",this.lastSize.height=typeof e=="number"?e:Number.parseFloat(e)))}getAvailableHeight(){const{popup:e,forcePopupParentAsOffsetParent:t}=this.config;this.positioned||this.initialisePosition();const{clientHeight:n}=this.offsetParent;if(!n)return null;const o=this.element.getBoundingClientRect(),i=this.offsetParent.getBoundingClientRect(),s=e?this.position.y:o.top,r=e?0:i.top;let a=0;if(t){const c=this.element.parentElement;if(c){const{bottom:u}=c.getBoundingClientRect();a=u-o.bottom}}return n+r-s-a}getWidth(){return this.element.offsetWidth}setWidth(e){const t=this.element,{popup:n}=this.config;let o=!1;if(typeof e=="string"&&e.includes("%"))xs(t,e),e=Vg(t),o=!0;else if(this.positioned){e=Math.max(this.minWidth,e);const{clientWidth:i}=this.offsetParent,s=n?this.position.x:this.element.getBoundingClientRect().left;i&&e+s>i&&(e=i-s)}this.getWidth()!==e&&(o?(t.style.maxWidth="unset",t.style.minWidth="unset"):this.config.popup?xs(t,e):(t.style.width=`${e}px`,t.style.flex=" unset",this.lastSize.width=typeof e=="number"?e:Number.parseFloat(e)))}offsetElement(e=0,t=0,n){const{forcePopupParentAsOffsetParent:o}=this.config,i=o?this.boundaryEl:this.element;i&&(this.popupSvc?.positionPopup({ePopup:i,keepWithinBounds:!0,skipObserver:this.movable||this.isResizable(),updatePosition:()=>({x:e,y:t}),postProcessCallback:n}),this.setPosition(Number.parseFloat(i.style.left),Number.parseFloat(i.style.top)))}constrainSizeToAvailableHeight(e){if(!this.config.forcePopupParentAsOffsetParent)return;const t=()=>{const n=this.getAvailableHeight();this.element.style.setProperty("max-height",`${n}px`)};e&&this.popupSvc?(this.resizeObserverSubscriber?.(),this.resizeObserverSubscriber=Ga(this.beans,this.popupSvc?.getPopupParent(),t)):(this.element.style.removeProperty("max-height"),this.resizeObserverSubscriber&&(this.resizeObserverSubscriber(),this.resizeObserverSubscriber=void 0))}setPosition(e,t){this.position.x=e,this.position.y=t}updateDragStartPosition(e,t){this.dragStartPosition={x:e,y:t}}calculateMouseMovement(e){const{e:t,isLeft:n,isTop:o,anywhereWithin:i,topBuffer:s}=e,r=t.clientX-this.dragStartPosition.x,a=t.clientY-this.dragStartPosition.y,l=this.shouldSkipX(t,!!n,!!i,r)?0:r,c=this.shouldSkipY(t,!!o,s,a)?0:a;return{movementX:l,movementY:c}}shouldSkipX(e,t,n,o){const i=this.element.getBoundingClientRect(),s=this.offsetParent.getBoundingClientRect(),r=this.boundaryEl.getBoundingClientRect(),a=this.config.popup?this.position.x:i.left;let l=a<=0&&s.left>=e.clientX||s.right<=e.clientX&&s.right<=r.right;return l?!0:(t?l=o<0&&e.clientX>a+s.left||o>0&&e.clientX<a+s.left:n?l=o<0&&e.clientX>r.right||o>0&&e.clientX<a+s.left:l=o<0&&e.clientX>r.right||o>0&&e.clientX<r.right,l)}shouldSkipY(e,t,n=0,o){const i=this.element.getBoundingClientRect(),s=this.offsetParent.getBoundingClientRect(),r=this.boundaryEl.getBoundingClientRect(),a=this.config.popup?this.position.y:i.top;let l=a<=0&&s.top>=e.clientY||s.bottom<=e.clientY&&s.bottom<=r.bottom;return l?!0:(t?l=o<0&&e.clientY>a+s.top+n||o>0&&e.clientY<a+s.top:l=o<0&&e.clientY>r.bottom||o>0&&e.clientY<r.bottom,l)}createResizeMap(){const e=t=>({element:this.element.querySelector(`[data-ref=${t}Resizer]`)});this.resizerMap={topLeft:e("eTopLeft"),top:e("eTop"),topRight:e("eTopRight"),right:e("eRight"),bottomRight:e("eBottomRight"),bottom:e("eBottom"),bottomLeft:e("eBottomLeft"),left:e("eLeft")}}addResizers(){if(this.resizersAdded)return;const e=this.element;e&&(e.appendChild(An(jj)),this.createResizeMap(),this.resizersAdded=!0)}removeResizers(){this.resizerMap=void 0,this.element.querySelector(`.${zx}`)?.remove(),this.resizersAdded=!1}getResizerElement(e){return this.resizerMap[e].element}onResizeStart(e,t){this.boundaryEl=this.findBoundaryElement(),this.positioned||this.initialisePosition(),this.currentResizer={isTop:!!t.match(/top/i),isRight:!!t.match(/right/i),isBottom:!!t.match(/bottom/i),isLeft:!!t.match(/left/i)},this.element.classList.add("ag-resizing"),this.resizerMap[t].element.classList.add("ag-active");const{popup:n,forcePopupParentAsOffsetParent:o}=this.config;!n&&!o&&this.applySizeToSiblings(this.currentResizer.isBottom||this.currentResizer.isTop),this.isResizing=!0,this.updateDragStartPosition(e.clientX,e.clientY)}getSiblings(){const t=this.element.parentElement;return t?Array.prototype.slice.call(t.children).filter(n=>!n.classList.contains("ag-hidden")):null}getMinSizeOfSiblings(){const e=this.getSiblings()||[];let t=0,n=0;for(let o=0;o<e.length;o++){const i=e[o],s=!!i.style.flex&&i.style.flex!=="0 0 auto";if(i===this.element)continue;let r=this.minHeight||0,a=this.minWidth||0;if(s){const l=window.getComputedStyle(i);l.minHeight&&(r=Number.parseInt(l.minHeight,10)),l.minWidth&&(a=Number.parseInt(l.minWidth,10))}else r=i.offsetHeight,a=i.offsetWidth;t+=r,n+=a}return{height:t,width:n}}applySizeToSiblings(e){let t=null;const n=this.getSiblings();if(n){for(let o=0;o<n.length;o++){const i=n[o];i!==t&&(e?i.style.height=`${i.offsetHeight}px`:i.style.width=`${i.offsetWidth}px`,i.style.flex="0 0 auto",i===this.element&&(t=n[o+1]))}t&&(t.style.removeProperty("height"),t.style.removeProperty("min-height"),t.style.removeProperty("max-height"),t.style.flex="1 1 auto")}}isResizable(){return Object.values(this.resizable).some(e=>e)}onResize(e){if(!this.isResizing||!this.currentResizer)return;const{popup:t,forcePopupParentAsOffsetParent:n}=this.config,{isTop:o,isRight:i,isBottom:s,isLeft:r}=this.currentResizer,a=i||r,l=s||o,{movementX:c,movementY:u}=this.calculateMouseMovement({e,isLeft:r,isTop:o}),d=this.position.x,h=this.position.y;let p=0,f=0;if(a&&c){const g=r?-1:1,m=this.getWidth(),v=m+c*g;let y=!1;r&&(p=m-v,(d+p<=0||v<=this.minWidth)&&(y=!0,p=0)),y||this.setWidth(v)}if(l&&u){const g=o?-1:1,m=this.getHeight(),v=m+u*g;let y=!1;o?(f=m-v,(h+f<=0||v<=this.minHeight)&&(y=!0,f=0)):!this.config.popup&&!this.config.forcePopupParentAsOffsetParent&&m<v&&this.getMinSizeOfSiblings().height+v>this.element.parentElement.offsetHeight&&(y=!0),y||this.setHeight(v)}this.updateDragStartPosition(e.clientX,e.clientY),((t||n)&&p||f)&&this.offsetElement(d+p,h+f)}onResizeEnd(e,t){this.isResizing=!1,this.currentResizer=null,this.boundaryEl=null,this.element.classList.remove("ag-resizing"),this.resizerMap[t].element.classList.remove("ag-active"),this.dispatchLocalEvent({type:"resize"})}refreshSize(){const e=this.element;this.config.popup&&(this.config.width||this.setWidth(e.offsetWidth),this.config.height||this.setHeight(e.offsetHeight))}onMoveStart(e){this.boundaryEl=this.findBoundaryElement(),this.positioned||this.initialisePosition(),this.isMoving=!0,this.element.classList.add("ag-moving"),this.updateDragStartPosition(e.clientX,e.clientY)}onMove(e){if(!this.isMoving)return;const{x:t,y:n}=this.position;let o;this.config.calculateTopBuffer&&(o=this.config.calculateTopBuffer());const{movementX:i,movementY:s}=this.calculateMouseMovement({e,isTop:!0,anywhereWithin:!0,topBuffer:o});this.offsetElement(t+i,n+s),this.updateDragStartPosition(e.clientX,e.clientY)}onMoveEnd(){this.isMoving=!1,this.boundaryEl=null,this.element.classList.remove("ag-moving")}setOffsetParent(){this.config.forcePopupParentAsOffsetParent&&this.popupSvc?this.offsetParent=this.popupSvc.getPopupParent():this.offsetParent=this.element.offsetParent}findBoundaryElement(){let e=this.element;for(;e;){if(window.getComputedStyle(e).position!=="static")return e;e=e.parentElement}return this.element}clearResizeListeners(){for(;this.resizeListeners.length;){const e=this.resizeListeners.pop();this.dragSvc?.removeDragSource(e)}}destroy(){super.destroy(),this.moveElementDragListener&&this.dragSvc?.removeDragSource(this.moveElementDragListener),this.constrainSizeToAvailableHeight(!1),this.clearResizeListeners(),this.removeResizers()}},Ux="__ag_Grid_Stop_Propagation";function Xl(e){e[Ux]=!0}function vr(e){return e[Ux]===!0}var Kj="ag-focus-managed",id=class extends we{constructor(e,t={}){super(),this.eFocusable=e,this.callbacks=t,this.callbacks={shouldStopEventPropagation:()=>!1,onTabKeyDown:n=>{if(n.defaultPrevented)return;const o=fc(this.beans,this.eFocusable,!1,n.shiftKey);o&&(o.focus(),n.preventDefault())},...t}}postConstruct(){const{eFocusable:e,callbacks:{onFocusIn:t,onFocusOut:n}}=this;e.classList.add(Kj),this.addKeyDownListeners(e),t&&this.addManagedElementListeners(e,{focusin:t}),n&&this.addManagedElementListeners(e,{focusout:n})}addKeyDownListeners(e){this.addManagedElementListeners(e,{keydown:t=>{if(t.defaultPrevented||vr(t))return;const{callbacks:n}=this;if(n.shouldStopEventPropagation(t)){Xl(t);return}t.key===he.TAB?n.onTabKeyDown(t):n.handleKeyDown&&n.handleKeyDown(t)}})}},qj=class extends jt{constructor(e,t){super(),this.filterNameKey=e,this.cssIdentifier=t,this.applyActive=!1,this.debouncePending=!1,this.defaultDebounceMs=0}postConstruct(){const e={tag:"div",cls:`ag-filter-body-wrapper ag-${this.cssIdentifier}-body-wrapper`,children:[this.createBodyTemplate()]};this.setTemplate(e,this.getAgComponents()),this.createManagedBean(new id(this.getFocusableElement(),{handleKeyDown:this.handleKeyDown.bind(this)})),this.positionableFeature=this.createBean(new Zj(this.getPositionableElement(),{forcePopupParentAsOffsetParent:!0}))}handleKeyDown(e){}init(e){const t=e;this.setParams(t),this.setModelIntoUi(t.state.model,!0).then(()=>this.updateUiVisibility())}refresh(e){const t=e,n=this.params;this.params=t,t.source==="colDef"&&this.updateParams(t,n);const i=t.state,s=this.state;return this.state=i,(i.model!==s.model||i.state!==s.state)&&this.setModelIntoUi(i.model),!0}setParams(e){this.params=e,this.state=e.state,this.commonUpdateParams(e)}updateParams(e,t){this.commonUpdateParams(e,t)}commonUpdateParams(e,t){this.applyActive=h0(e),this.setupApplyDebounced()}doesFilterPass(e){Me(283);const{getHandler:t,model:n,column:o}=this.params;return t().doesFilterPass({...e,model:n,handlerParams:this.beans.colFilter.getHandlerParams(o)})}getFilterTitle(){return this.translate(this.filterNameKey)}isFilterActive(){return Me(284),this.params.model!=null}setupApplyDebounced(){const e=Q4(this.params,this.defaultDebounceMs),t=qn(this,this.checkApplyDebounce.bind(this),e);this.applyDebounced=()=>{this.debouncePending=!0,t()}}checkApplyDebounce(){this.debouncePending&&(this.debouncePending=!1,this.doApplyModel())}getModel(){return Me(285),this.params.model}setModel(e){Me(286);const{beans:t,params:n}=this;return t.colFilter.setModelForColumnLegacy(n.column,e)}applyModel(e="api"){return this.doApplyModel()}canApply(e){return!0}doApplyModel(e){const{params:t,state:n}=this,o=!this.areModelsEqual(t.model,n.model);return o&&t.onAction("apply",e),o}onNewRowsLoaded(){}onUiChanged(e,t=!1){this.updateUiVisibility();const n=this.getModelFromUi(),o={model:n,state:this.getState(),valid:this.canApply(n)};this.state=o;const i=this.params;i.onStateChange(o),i.onUiChange(this.getUiChangeEventParams()),this.gos.get("enableFilterHandlers")||this.eventSvc.dispatchEvent({type:"filterModified",column:i.column,filterInstance:this}),e??(e=this.applyActive?void 0:"debounce"),e==="immediately"?this.doApplyModel({afterFloatingFilter:t,afterDataChange:!1}):e==="debounce"&&this.applyDebounced()}getState(){}getUiChangeEventParams(){}afterGuiAttached(e){this.lastContainerType=e?.container,this.refreshFilterResizer(e?.container)}refreshFilterResizer(e){const{positionableFeature:t,gos:n}=this;if(!t)return;const o=e==="floatingFilter"||e==="columnFilter";o?(t.restoreLastSize(),t.setResizable(n.get("enableRtl")?{bottom:!0,bottomLeft:!0,left:!0}:{bottom:!0,bottomRight:!0,right:!0})):(t.removeSizeFromEl(),t.setResizable(!1)),t.constrainSizeToAvailableHeight(o)}afterGuiDetached(){this.checkApplyDebounce(),this.positionableFeature?.constrainSizeToAvailableHeight(!1)}destroy(){this.positionableFeature=this.destroyBean(this.positionableFeature),super.destroy()}translate(e){return ba(this,e)}getPositionableElement(){return this.getGui()}areModelsEqual(e,t){return e===t||e==null&&t==null?!0:e==null||t==null?!1:this.areNonNullModelsEqual(e,t)}};function jx(e){return!!e.operator}function Yj(e,t,n){if(t==null)return null;let o=null;const{compName:i,jsComp:s,fwComp:r}=bx(e,t);return i?o={agSetColumnFilter:"agSetColumnFloatingFilter",agMultiColumnFilter:"agMultiColumnFloatingFilter",agGroupColumnFilter:"agGroupColumnFloatingFilter",agNumberColumnFilter:"agNumberColumnFloatingFilter",agDateColumnFilter:"agDateColumnFloatingFilter",agTextColumnFilter:"agTextColumnFloatingFilter"}[i]:s==null&&r==null&&t.filter===!0&&(o=n()),o}var Wi={AUTO_HEIGHT:"ag-layout-auto-height",NORMAL:"ag-layout-normal",PRINT:"ag-layout-print"},eb=class extends we{constructor(e){super(),this.view=e}postConstruct(){this.addManagedPropertyListener("domLayout",this.updateLayoutClasses.bind(this)),this.updateLayoutClasses()}updateLayoutClasses(){const e=this.gos.get("domLayout"),t={autoHeight:e==="autoHeight",normal:e==="normal",print:e==="print"},n=t.autoHeight?Wi.AUTO_HEIGHT:t.print?Wi.PRINT:Wi.NORMAL;this.view.updateLayoutClasses(n,t)}},Yr="Viewport",w8="fakeVScrollComp",nv=["fakeHScrollComp","centerHeader","topCenter","bottomCenter","stickyTopCenter","stickyBottomCenter"],S8=100,ov=150,Xj=class extends we{constructor(e){super(),this.clearRetryListenerFncs=[],this.lastScrollSource=[null,null],this.scrollLeft=-1,this.nextScrollTop=-1,this.scrollTop=-1,this.lastOffsetHeight=-1,this.lastScrollTop=-1,this.lastIsHorizontalScrollShowing=!1,this.scrollTimer=0,this.isScrollActive=!1,this.isVerticalPositionInvalidated=!0,this.isHorizontalPositionInvalidated=!0,this.eBodyViewport=e,this.resetLastHScrollDebounced=qn(this,()=>this.lastScrollSource[1]=null,ov),this.resetLastVScrollDebounced=qn(this,()=>this.lastScrollSource[0]=null,ov)}wireBeans(e){this.ctrlsSvc=e.ctrlsSvc,this.animationFrameSvc=e.animationFrameSvc,this.visibleCols=e.visibleCols}destroy(){super.destroy(),this.clearRetryListenerFncs=[],window.clearTimeout(this.scrollTimer)}postConstruct(){this.enableRtl=this.gos.get("enableRtl");const e=this.invalidateVerticalScroll.bind(this),t=this.invalidateHorizontalScroll.bind(this);this.addManagedEventListeners({displayedColumnsWidthChanged:this.onDisplayedColumnsWidthChanged.bind(this),bodyHeightChanged:e,scrollGapChanged:t}),this.addManagedElementListeners(this.eBodyViewport,{scroll:e}),this.ctrlsSvc.whenReady(this,n=>{this.centerRowsCtrl=n.center,this.onDisplayedColumnsWidthChanged(),this.addScrollListener()})}invalidateHorizontalScroll(){this.isHorizontalPositionInvalidated=!0}invalidateVerticalScroll(){this.isVerticalPositionInvalidated=!0}addScrollListener(){this.addHorizontalScrollListeners(),this.addVerticalScrollListeners()}addHorizontalScrollListeners(){this.addManagedElementListeners(this.centerRowsCtrl.eViewport,{scroll:this.onHScroll.bind(this,Yr)});for(const e of nv){const t=this.ctrlsSvc.get(e);this.registerScrollPartner(t,this.onHScroll.bind(this,e))}}addVerticalScrollListeners(){const e=this.ctrlsSvc.get("fakeVScrollComp"),t=this.gos.get("debounceVerticalScrollbar"),n=t?qn(this,this.onVScroll.bind(this,Yr),S8):this.onVScroll.bind(this,Yr),o=t?qn(this,this.onVScroll.bind(this,w8),S8):this.onVScroll.bind(this,w8);this.addManagedElementListeners(this.eBodyViewport,{scroll:n}),this.registerScrollPartner(e,o)}registerScrollPartner(e,t){e.onScrollCallback(t)}onDisplayedColumnsWidthChanged(){this.enableRtl&&this.horizontallyScrollHeaderCenterAndFloating
52Center()}horizontallyScrollHeaderCenterAndFloatingCenter(e){this.centerRowsCtrl!=null&&(e===void 0&&(e=this.centerRowsCtrl.getCenterViewportScrollLeft()),this.setScrollLeftForAllContainersExceptCurrent(Math.abs(e)))}setScrollLeftForAllContainersExceptCurrent(e){for(const t of[...nv,Yr]){if(this.lastScrollSource[1]===t)continue;const n=this.getViewportForSource(t);Wg(n,e,this.enableRtl)}}getViewportForSource(e){return e===Yr?this.centerRowsCtrl.eViewport:this.ctrlsSvc.get(e).eViewport}isControllingScroll(e,t){return this.lastScrollSource[t]==null?(t===0?this.lastScrollSource[0]=e:this.lastScrollSource[1]=e,!0):this.lastScrollSource[t]===e}onHScroll(e){if(!this.isControllingScroll(e,1))return;const t=this.centerRowsCtrl.eViewport,{scrollLeft:n}=t;if(this.shouldBlockScrollUpdate(1,n,!0))return;const o=$g(this.getViewportForSource(e),this.enableRtl);this.doHorizontalScroll(o),this.resetLastHScrollDebounced()}onVScroll(e){if(!this.isControllingScroll(e,0))return;let t;if(e===Yr?t=this.eBodyViewport.scrollTop:t=this.ctrlsSvc.get("fakeVScrollComp").getScrollPosition(),this.shouldBlockScrollUpdate(0,t,!0))return;const{animationFrameSvc:n}=this;n?.setScrollTop(t),this.nextScrollTop=t,e===Yr?this.ctrlsSvc.get("fakeVScrollComp").setScrollPosition(t):this.eBodyViewport.scrollTop=t,n?.active?n.schedule():this.scrollGridIfNeeded(!0),this.resetLastVScrollDebounced()}doHorizontalScroll(e){const t=this.ctrlsSvc.get("fakeHScrollComp").getScrollPosition();this.scrollLeft===e&&e===t||(this.scrollLeft=e,this.fireScrollEvent(1),this.horizontallyScrollHeaderCenterAndFloatingCenter(e),this.centerRowsCtrl.onHorizontalViewportChanged(!0))}isScrolling(){return this.isScrollActive}fireScrollEvent(e){const t={type:"bodyScroll",direction:e===1?"horizontal":"vertical",left:this.scrollLeft,top:this.scrollTop};this.isScrollActive=!0,this.eventSvc.dispatchEvent(t),window.clearTimeout(this.scrollTimer),this.scrollTimer=window.setTimeout(()=>{this.scrollTimer=0,this.isScrollActive=!1,this.eventSvc.dispatchEvent({...t,type:"bodyScrollEnd"})},ov)}shouldBlockScrollUpdate(e,t,n=!1){return n&&!_l()?!1:e===0?this.shouldBlockVerticalScroll(t):this.shouldBlockHorizontalScroll(t)}shouldBlockVerticalScroll(e){const t=D4(this.eBodyViewport),{scrollHeight:n}=this.eBodyViewport;return e<0||e+t>n}shouldBlockHorizontalScroll(e){const t=this.centerRowsCtrl.getCenterWidth(),{scrollWidth:n}=this.centerRowsCtrl.eViewport;if(this.enableRtl){if(e>0)return!0}else if(e<0)return!0;return Math.abs(e)+t>n}redrawRowsAfterScroll(){this.fireScrollEvent(0)}checkScrollLeft(){const e=this.scrollLeft;let t=!1;for(const n of nv)if(this.getViewportForSource(n).scrollLeft!==e){t=!0;break}t&&this.onHScroll(Yr)}scrollGridIfNeeded(e=!1){const t=this.scrollTop!=this.nextScrollTop;return t&&(this.scrollTop=this.nextScrollTop,e&&this.invalidateVerticalScroll(),this.redrawRowsAfterScroll()),t}setHorizontalScrollPosition(e,t=!1){const o=this.centerRowsCtrl.eViewport.scrollWidth-this.centerRowsCtrl.getCenterWidth();!t&&this.shouldBlockScrollUpdate(1,e)&&(this.enableRtl?e=e>0?0:o:e=Math.min(Math.max(e,0),o)),Wg(this.centerRowsCtrl.eViewport,Math.abs(e),this.enableRtl),this.doHorizontalScroll(e)}setVerticalScrollPosition(e){this.invalidateVerticalScroll(),this.eBodyViewport.scrollTop=e}getVScrollPosition(){if(!this.isVerticalPositionInvalidated){const{lastOffsetHeight:n,lastScrollTop:o}=this;return{top:o,bottom:o+n}}this.isVerticalPositionInvalidated=!1;const{scrollTop:e,offsetHeight:t}=this.eBodyViewport;return this.lastScrollTop=e,this.lastOffsetHeight=t,{top:e,bottom:e+t}}getApproximateVScollPosition(){return this.lastScrollTop>=0&&this.lastOffsetHeight>=0?{top:this.scrollTop,bottom:this.scrollTop+this.lastOffsetHeight}:this.getVScrollPosition()}getHScrollPosition(){return this.centerRowsCtrl.getHScrollPosition()}isHorizontalScrollShowing(){return this.isHorizontalPositionInvalidated&&(this.lastIsHorizontalScrollShowing=this.centerRowsCtrl.isHorizontalScrollShowing(),this.isHorizontalPositionInvalidated=!1),this.lastIsHorizontalScrollShowing}scrollHorizontally(e){const t=this.centerRowsCtrl.eViewport.scrollLeft;return this.setHorizontalScrollPosition(t+e),this.centerRowsCtrl.eViewport.scrollLeft-t}scrollToTop(){this.eBodyViewport.scrollTop=0}ensureNodeVisible(e,t=null){const{rowModel:n}=this.beans,o=n.getRowCount();let i=-1;for(let s=0;s<o;s++){const r=n.getRow(s);if(typeof e=="function"){if(r&&e(r)){i=s;break}}else if(e===r||e===r.data){i=s;break}}i>=0&&this.ensureIndexVisible(i,t)}ensureIndexVisible(e,t,n=0){if(Jn(this.gos,"print"))return;const{rowModel:o}=this.beans,i=o.getRowCount();if(typeof e!="number"||e<0||e>=i){Me(88,{index:e});return}this.clearRetryListeners();const{frameworkOverrides:s,pageBounds:r,rowContainerHeight:a,rowRenderer:l}=this.beans;s.wrapIncoming(()=>{const c=this.ctrlsSvc.getGridBodyCtrl(),u=o.getRow(e);let d,h,p=0;this.invalidateVerticalScroll();do{const{stickyTopHeight:f,stickyBottomHeight:g}=c,m=u.rowTop,v=u.rowHeight,y=r.getPixelOffset(),b=u.rowTop-y,w=b+u.rowHeight,S=this.getVScrollPosition(),E=a.divStretchOffset,T=S.top+E,R=S.bottom+E,A=R-T,k=a.getScrollPositionForPixel(b),D=a.getScrollPositionForPixel(w-A),V=Math.min((k+D)/2,b),O=T+f>b,F=R-g<w;let _=null;t==="top"?_=k-f:t==="bottom"?_=D+g:t==="middle"?_=V:O?_=k-f:F&&(D-k>A?_=k-f:_=D+g),_!==null&&(this.setVerticalScrollPosition(_),l.redraw({afterScroll:!0})),d=m!==u.rowTop||v!==u.rowHeight,h=f!==c.stickyTopHeight||g!==c.stickyBottomHeight,p++}while((d||h)&&p<10);if(this.animationFrameSvc?.flushAllFrames(),n<10&&(u?.stub||!this.beans.rowAutoHeight?.areRowsMeasured())){const f=this.getVScrollPosition().top;this.clearRetryListenerFncs=this.addManagedEventListeners({bodyScroll:()=>{const g=this.getVScrollPosition().top;f!==g&&this.clearRetryListeners()},modelUpdated:()=>{this.clearRetryListeners(),!(e>=o.getRowCount())&&this.ensureIndexVisible(e,t,n+1)}})}})}clearRetryListeners(){for(const e of this.clearRetryListenerFncs)e();this.clearRetryListenerFncs=[]}ensureColumnVisible(e,t="auto"){const{colModel:n,frameworkOverrides:o}=this.beans,i=n.getCol(e);if(!i||i.isPinned()||!this.visibleCols.isColDisplayed(i))return;const s=this.getPositionedHorizontalScroll(i,t);o.wrapIncoming(()=>{s!==null&&this.centerRowsCtrl.setCenterViewportScrollLeft(s),this.centerRowsCtrl.onHorizontalViewportChanged(),this.animationFrameSvc?.flushAllFrames()})}getPositionedHorizontalScroll(e,t){const{columnBeforeStart:n,columnAfterEnd:o}=this.isColumnOutsideViewport(e),i=this.centerRowsCtrl.getCenterWidth()<e.getActualWidth(),s=this.centerRowsCtrl.getCenterWidth(),r=this.enableRtl;let a=(r?n:o)||i,l=r?o:n;t!=="auto"&&(a=t==="start",l=t==="end");const c=t==="middle";if(a||l||c){const{colLeft:u,colMiddle:d,colRight:h}=this.getColumnBounds(e);return c?d-s/2:a?r?h:u:r?u-s:h-s}return null}isColumnOutsideViewport(e){const{start:t,end:n}=this.getViewportBounds(),{colLeft:o,colRight:i}=this.getColumnBounds(e),s=this.enableRtl,r=s?t>i:n<i,a=s?n<o:t>o;return{columnBeforeStart:r,columnAfterEnd:a}}getColumnBounds(e){const t=this.enableRtl,n=this.visibleCols.bodyWidth,o=e.getActualWidth(),i=e.getLeft(),s=t?-1:1,r=t?n-i:i,a=r+o*s,l=r+o/2*s;return{colLeft:r,colMiddle:l,colRight:a}}getViewportBounds(){const e=this.centerRowsCtrl.getCenterWidth(),t=this.centerRowsCtrl.getCenterViewportScrollLeft(),n=t,o=e+t;return{start:n,end:o,width:e}}},tb=class extends we{constructor(e,t=!1){super(),this.callback=e,this.addSpacer=t}postConstruct(){const e=this.setWidth.bind(this);this.addManagedPropertyListener("domLayout",e),this.addManagedEventListeners({columnContainerWidthChanged:e,displayedColumnsChanged:e,leftPinnedWidthChanged:e}),this.addSpacer&&this.addManagedEventListeners({rightPinnedWidthChanged:e,scrollVisibilityChanged:e,scrollbarWidthChanged:e}),this.setWidth()}setWidth(){const e=Jn(this.gos,"print"),{visibleCols:t,scrollVisibleSvc:n}=this.beans,o=t.bodyWidth,i=t.getColsLeftWidth(),s=t.getDisplayedColumnsRightWidth();let r;e?r=o+i+s:(r=o,this.addSpacer&&(this.gos.get("enableRtl")?i:s)===0&&n.verticalScrollShowing&&(r+=n.getScrollbarWidth())),this.callback(r)}},Jj=class extends we{constructor(e){super(),this.centerContainerCtrl=e}wireBeans(e){this.scrollVisibleSvc=e.scrollVisibleSvc}postConstruct(){this.beans.ctrlsSvc.whenReady(this,e=>{this.gridBodyCtrl=e.gridBodyCtrl,this.listenForResize()}),this.addManagedEventListeners({scrollbarWidthChanged:this.onScrollbarWidthChanged.bind(this)}),this.addManagedPropertyListeners(["alwaysShowHorizontalScroll","alwaysShowVerticalScroll"],()=>{this.checkViewportAndScrolls()})}listenForResize(){const{beans:e,centerContainerCtrl:t,gridBodyCtrl:n}=this,o=()=>
52{Br(e,()=>{this.onCenterViewportResized()})};t.registerViewportResizeListener(o),n.registerBodyViewportResizeListener(o)}onScrollbarWidthChanged(){this.checkViewportAndScrolls()}onCenterViewportResized(){if(this.scrollVisibleSvc.updateScrollGap(),this.centerContainerCtrl.isViewportInTheDOMTree()){const{pinnedCols:e,colFlex:t}=this.beans;e?.keepPinnedColumnsNarrowerThanViewport(),this.checkViewportAndScrolls();const n=this.centerContainerCtrl.getCenterWidth();n!==this.centerWidth&&(this.centerWidth=n,t?.refreshFlexedColumns({viewportWidth:this.centerWidth,updateBodyWidths:!0,fireResizedEvent:!0}))}else this.bodyHeight=0}checkViewportAndScrolls(){this.updateScrollVisibleService(),this.checkBodyHeight(),this.onHorizontalViewportChanged(),this.gridBodyCtrl.scrollFeature.checkScrollLeft()}getBodyHeight(){return this.bodyHeight}checkBodyHeight(){const e=this.gridBodyCtrl.eBodyViewport,t=D4(e);this.bodyHeight!==t&&(this.bodyHeight=t,this.eventSvc.dispatchEvent({type:"bodyHeightChanged"}))}updateScrollVisibleService(){this.updateScrollVisibleServiceImpl(),setTimeout(this.updateScrollVisibleServiceImpl.bind(this),500)}updateScrollVisibleServiceImpl(){if(!this.isAlive())return;const e={horizontalScrollShowing:this.centerContainerCtrl.isHorizontalScrollShowing(),verticalScrollShowing:this.gridBodyCtrl.isVerticalScrollShowing()};this.scrollVisibleSvc.setScrollsVisible(e)}onHorizontalViewportChanged(){const e=this.centerContainerCtrl.getCenterWidth(),t=this.centerContainerCtrl.getViewportScrollLeft();this.beans.colViewport.setScrollPosition(e,t)}};function w1(e,t,n,o){const i=t.getColDef().cellRendererParams?.suppressMouseEventHandling;return Zx(e,t,n,o,i)}function Qj(e,t,n,o){const i=t?.suppressMouseEventHandling;return Zx(e,void 0,n,o,i)}function Zx(e,t,n,o,i){return i?i(st(e,{column:t,node:n,event:o})):!1}function Kx(e,t,n){let o=t;for(;o;){const i=qL(e,o,n);if(i)return i;o=o.parentElement}return null}var tm="cellCtrl";function nb(e,t){return Kx(e,t,tm)}var nm="renderedRow";function eZ(e,t){return Kx(e,t,nm)}function g5(e,t,n,o,i){const s=o?o.getColDef().suppressKeyboardEvent:void 0;if(!s)return!1;const r=st(e,{event:t,editing:i,column:o,node:n,data:n.data,colDef:o.getColDef()});return!!(s&&s(r))}function tZ(e){const{pinnedRowModel:t,rowModel:n}=e,[o,i]=[t?.isEmpty("top")??!0,t?.isEmpty("bottom")??!0],s=o?null:"top";let r,a;i?(r=null,a=n.getRowCount()-1):(r="bottom",a=t?.getPinnedBottomRowCount()??-1);const{visibleCols:l,rangeSvc:c}=e,u=l.allCols;!c||!u?.length||c.setCellRange({rowStartIndex:0,rowStartPinned:s,rowEndIndex:a,rowEndPinned:r})}var nZ=65,oZ=67,iZ=86,sZ=68,rZ=90,aZ=89;function lZ(e){const{keyCode:t}=e;let n;switch(t){case nZ:n=he.A;break;case oZ:n=he.C;break;case iZ:n=he.V;break;case sZ:n=he.D;break;case rZ:n=he.Z;break;case aZ:n=he.Y;break;default:n=e.code}return n}var cZ=class extends we{constructor(e){super(),this.element=e}postConstruct(){this.addKeyboardListeners(),this.addMouseListeners(),this.beans.touchSvc?.mockRowContextMenu(this),this.editSvc=this.beans.editSvc}addKeyboardListeners(){const e="keydown",t=this.processKeyboardEvent.bind(this,e);this.addManagedElementListeners(this.element,{[e]:t})}addMouseListeners(){const t=["dblclick","contextmenu","mouseover","mouseout","click",FL("touchstart")?"touchstart":"mousedown"];for(const n of t){const o=this.processMouseEvent.bind(this,n);this.addManagedElementListeners(this.element,{[n]:o})}}processMouseEvent(e,t){if(!$h(this.beans,t)||vr(t))return;const{cellCtrl:n,rowCtrl:o}=this.getControlsForEventTarget(t.target);e==="contextmenu"?(n?.column&&n.dispatchCellContextMenuEvent(t),this.beans.contextMenuSvc?.handleContextMenuMouseEvent(t,void 0,o,n)):(n&&n.onMouseEvent(e,t),o&&o.onMouseEvent(e,t))}getControlsForEventTarget(e){const{gos:t}=this;return{cellCtrl:nb(t,e),rowCtrl:eZ(t,e)}}processKeyboardEvent(e,t){const{cellCtrl:n,rowCtrl:o}=this.getControlsForEventTarget(t.target);t.defaultPrevented||(n?this.processCellKeyboardEvent(n,e,t):o?.isFullWidth()&&this.processFullWidthRowKeyboardEvent(o,e,t))}processCellKeyboardEvent(e,t,n){const o=this.editSvc?.isEditing(e,{withOpenEditor:!0})??!1;
52!g5(this.gos,n,e.rowNode,e.column,o)&&t==="keydown"&&(!o&&this.beans.navigation?.handlePageScrollingKey(n)||e.onKeyDown(n),this.doGridOperations(n,o),Tx(n)&&e.processCharacter(n)),t==="keydown"&&this.eventSvc.dispatchEvent(e.createEvent(n,"cellKeyDown"))}processFullWidthRowKeyboardEvent(e,t,n){const{rowNode:o}=e,{focusSvc:i,navigation:s}=this.beans,a=i.getFocusedCell()?.column;if(!g5(this.gos,n,o,a,!1)){const c=n.key;if(t==="keydown")switch(c){case he.PAGE_HOME:case he.PAGE_END:case he.PAGE_UP:case he.PAGE_DOWN:s?.handlePageScrollingKey(n,!0);break;case he.LEFT:case he.RIGHT:if(!this.gos.get("embedFullWidthRows"))break;case he.UP:case he.DOWN:e.onKeyboardNavigate(n);break;case he.TAB:e.onTabKeyDown(n);break}}t==="keydown"&&this.eventSvc.dispatchEvent(e.createRowEvent("cellKeyDown",n))}doGridOperations(e,t){if(!e.ctrlKey&&!e.metaKey||t||!$h(this.beans,e))return;const n=lZ(e),{clipboardSvc:o,undoRedo:i}=this.beans;if(n===he.A)return this.onCtrlAndA(e);if(n===he.C)return this.onCtrlAndC(o,e);if(n===he.D)return this.onCtrlAndD(o,e);if(n===he.V)return this.onCtrlAndV(o,e);if(n===he.X)return this.onCtrlAndX(o,e);if(n===he.Y)return this.onCtrlAndY(i);if(n===he.Z)return this.onCtrlAndZ(i,e)}onCtrlAndA(e){const{beans:{rowModel:t,rangeSvc:n,selectionSvc:o},gos:i}=this;n&&Rr(i)&&!nz(i)&&t.isRowsToRender()?tZ(this.beans):o&&o.selectAllRowNodes({source:"keyboardSelectAll",selectAll:tx(i)}),e.preventDefault()}onCtrlAndC(e,t){if(!e||this.gos.get("enableCellTextSelection"))return;const{cellCtrl:n}=this.getControlsForEventTarget(t.target);this.editSvc?.isEditing(n,{withOpenEditor:!0})||(t.preventDefault(),e.copyToClipboard())}onCtrlAndX(e,t){if(!e||this.gos.get("enableCellTextSelection")||this.gos.get("suppressCutToClipboard"))return;const{cellCtrl:n}=this.getControlsForEventTarget(t.target);this.editSvc?.isEditing(n,{withOpenEditor:!0})||(t.preventDefault(),e.cutToClipboard(void 0,"ui"))}onCtrlAndV(e,t){const{cellCtrl:n}=this.getControlsForEventTarget(t.target);this.editSvc?.isEditing(n,{withOpenEditor:!0})||e&&!this.gos.get("suppressClipboardPaste")&&e.pasteFromClipboard()}onCtrlAndD(e,t){e&&!this.gos.get("suppressClipboardPaste")&&e.copyRangeDown(),t.preventDefault()}onCtrlAndZ(e,t){!this.gos.get("undoRedoCellEditing")||!e||(t.preventDefault(),t.shiftKey?e.redo("ui"):e.undo("ui"))}onCtrlAndY(e){e?.redo("ui")}},qx=class extends we{constructor(e,t){super(),this.eContainer=e,this.eViewport=t}postConstruct(){this.addManagedEventListeners({rowContainerHeightChanged:this.onHeightChanged.bind(this,this.beans.rowContainerHeight)})}onHeightChanged(e){const t=e.uiContainerHeight,n=t!=null?`${t}px`:"";this.eContainer.style.height=n,this.eViewport&&(this.eViewport.style.height=n)}},Df=e=>e.topRowCtrls,kf=e=>e.getStickyTopRowCtrls(),Af=e=>e.getStickyBottomRowCtrls(),_f=e=>e.bottomRowCtrls,If=e=>e.allRowCtrls,iv=e=>e.getCtrls("top"),sv=e=>e.getCtrls("center"),rv=e=>e.getCtrls("bottom"),uZ={center:{type:"center",name:"center-cols",getRowCtrls:If,getSpannedRowCtrls:sv},left:{type:"left",name:"pinned-left-cols",pinnedType:"left",getRowCtrls:If,getSpannedRowCtrls:sv},right:{type:"right",name:"pinned-right-cols",pinnedType:"right",getRowCtrls:If,getSpannedRowCtrls:sv},fullWidth:{type:"fullWidth",name:"full-width",fullWidth:!0,getRowCtrls:If},topCenter:{type:"center",name:"floating-top",getRowCtrls:Df,getSpannedRowCtrls:iv},topLeft:{type:"left",name:"pinned-left-floating",container:"ag-pinned-left-floating-top",pinnedType:"left",getRowCtrls:Df,getSpannedRowCtrls:iv},topRight:{type:"right",name:"pinned-right-floating",container:"ag-pinned-right-floating-top",pinnedType:"right",getRowCtrls:Df,getSpannedRowCtrls:iv},topFullWidth:{type:"fullWidth",name:"floating-top-full-width",fullWidth:!0,getRowCtrls:Df},stickyTopCenter:{type:"center",name:"sticky-top",getRowCtrls:kf},stickyTopLeft:{type:"left",name:"pinned-left-sticky-top",container:"ag-pinned-left-sticky-top",pinnedType:"left",getRowCtrls:kf},stickyTopRight:{type:"right",name:"pinned-right-sticky-top",container:"ag-pinned-right-sticky-top",pinnedType:"right",getRowCtrls:kf},stickyTopFullWidth:{type:"fullWidth",name:"sticky-top-full-width",fullWidth:!0,getRowCtrls:kf}
vendor: 5,301 bytes, line 52
52,stickyBottomCenter:{type:"center",name:"sticky-bottom",getRowCtrls:Af},stickyBottomLeft:{type:"left",name:"pinned-left-sticky-bottom",container:"ag-pinned-left-sticky-bottom",pinnedType:"left",getRowCtrls:Af},stickyBottomRight:{type:"right",name:"pinned-right-sticky-bottom",container:"ag-pinned-right-sticky-bottom",pinnedType:"right",getRowCtrls:Af},stickyBottomFullWidth:{type:"fullWidth",name:"sticky-bottom-full-width",fullWidth:!0,getRowCtrls:Af},bottomCenter:{type:"center",name:"floating-bottom",getRowCtrls:_f,getSpannedRowCtrls:rv},bottomLeft:{type:"left",name:"pinned-left-floating-bottom",container:"ag-pinned-left-floating-bottom",pinnedType:"left",getRowCtrls:_f,getSpannedRowCtrls:rv},bottomRight:{type:"right",name:"pinned-right-floating-bottom",container:"ag-pinned-right-floating-bottom",pinnedType:"right",getRowCtrls:_f,getSpannedRowCtrls:rv},bottomFullWidth:{type:"fullWidth",name:"floating-bottom-full-width",fullWidth:!0,getRowCtrls:_f}};function Yx(e){return`ag-${Hp(e).name}-viewport`}function S1(e){const t=Hp(e);return t.container??`ag-${t.name}-container`}function dZ(e){return`ag-${Hp(e).name}-spanned-cells-container`}function Hp(e){return uZ[e]}var hZ=["topCenter","topLeft","topRight"],pZ=["bottomCenter","bottomLeft","bottomRight"],fZ=["center","left","right"],gZ=["center","left","right","fullWidth"],mZ=["stickyTopCenter","stickyBottomCenter","center","topCenter","bottomCenter"],vZ=["left","bottomLeft","topLeft","stickyTopLeft","stickyBottomLeft"],CZ=["right","bottomRight","topRight","stickyTopRight","stickyBottomRight"],Xx=["stickyTopCenter","stickyTopLeft","stickyTopRight"],Jx=["stickyBottomCenter","stickyBottomLeft","stickyBottomRight"],bZ=[...Xx,"stickyTopFullWidth",...Jx,"stickyBottomFullWidth"],yZ=[...hZ,...pZ,...fZ,...Xx,...Jx],wZ=class extends we{constructor(e){super(),this.name=e,this.visible=!0,this.EMPTY_CTRLS=[],this.options=Hp(e)}postConstruct(){this.enableRtl=this.gos.get("enableRtl"),this.forContainers(["center"],()=>{this.viewportSizeFeature=this.createManagedBean(new Jj(this)),this.addManagedEventListeners({stickyTopOffsetChanged:this.onStickyTopOffsetChanged.bind(this)})})}onStickyTopOffsetChanged(e){this.comp.setOffsetTop(`${e.offset}px`)}registerWithCtrlsService(){this.options.fullWidth||this.beans.ctrlsSvc.register(this.name,this)}forContainers(e,t){e.indexOf(this.name)>=0&&t()}setComp(e,t,n,o){this.comp=e,this.eContainer=t,this.eSpannedContainer=n,this.eViewport=o,this.createManagedBean(new cZ(this.eViewport??this.eContainer)),this.addPreventScrollWhileDragging(),this.listenOnDomOrder();const{pinnedCols:i,rangeSvc:s}=this.beans,r=()=>this.onPinnedWidthChanged();this.forContainers(vZ,()=>{this.pinnedWidthFeature=this.createOptionalManagedBean(i?.createPinnedWidthFeature(!0,this.eContainer,this.eSpannedContainer)),this.addManagedEventListeners({leftPinnedWidthChanged:r})}),this.forContainers(CZ,()=>{this.pinnedWidthFeature=this.createOptionalManagedBean(i?.createPinnedWidthFeature(!1,this.eContainer,this.eSpannedContainer)),this.addManagedEventListeners({rightPinnedWidthChanged:r})}),this.forContainers(gZ,()=>this.createManagedBean(new qx(this.eContainer,this.name==="center"?o:void 0))),s&&this.forContainers(yZ,()=>this.createManagedBean(s.createDragListenerFeature(this.eContainer))),this.forContainers(mZ,()=>this.createManagedBean(new tb(a=>this.comp.setContainerWidth(`${a}px`)))),this.visible=this.isContainerVisible(),this.addListeners(),this.registerWithCtrlsService()}onScrollCallback(e){this.addManagedElementListeners(this.eViewport,{scroll:e})}addListeners(){const{spannedRowRenderer:e,gos:t}=this.beans,n=this.onDisplayedColumnsChanged.bind(this);this.addManagedEventListeners({displayedColumnsChanged:n,displayedColumnsWidthChanged:n,displayedRowsChanged:o=>this.onDisplayedRowsChanged(o.afterScroll)}),n(),this.onDisplayedRowsChanged(),e&&this.options.getSpannedRowCtrls&&t.get("enableCellSpan")&&this.addManagedListeners(e,{spannedRowsUpdated:()=>{const o=this.options.getSpannedRowCtrls(e);o&&this.comp.setSpannedRowCtrls(o,!1)}})}listenOnDomOrder(){if(bZ.indexOf(this.name)>=0){this.comp.setDomOrder(!0);return}const t=()=>{const n=this.gos.get("ensureDomOrder"),o=Jn(this.gos,"print");this.comp.setDomOrder(n||o)};this.addManagedPropertyListener("domLayout",t),t()}onDisplayedColumnsChanged(){this.forContainers(["center"],()=>this.onHorizontalViewportChanged())}addPreventScrollWhileDragging(){const{dragSvc:e}=this.beans;if(!e)return;const t=n=>{e.dragging&&n.cancelable&&n.preventDefault()};this.eContainer.addEventListener("touchmove",t,{passive:!1}),this.addDestroyFunc(()=>this.eContainer.removeEventListener("touchmove",t))}onHorizontalViewportChanged(e=!1){const t=this.getCenterWidth(),n=this.getCenterViewportScrollLeft();this.beans.colViewport.setScrollPosition(t,n,e)}hasHorizontalScrollGap(){return this.eContainer.clientWidth-this.eViewport.clientWidth<0}hasVerticalScrollGap(){return this.eContainer.clientHeight-this.eViewport.clientHeight<0}getCenterWidth(){return Vh(this.eViewport)}getCenterViewportScrollLeft(){return $g(this.eViewport,this.enableRtl)}registerViewportResizeListener(e){const t=Ga(this.beans,this.eViewport,e);this.addDestroyFunc(()=>t())}isViewportInTheDOMTree(){return DL(this.eViewport)}getViewportScrollLeft(){return $g(this.eViewport,this.enableRtl)}
52isHorizontalScrollShowing(){return this.gos.get("alwaysShowHorizontalScroll")||A4(this.eViewport)}setHorizontalScroll(e){this.comp.setHorizontalScroll(e)}getHScrollPosition(){return{left:this.eViewport.scrollLeft,right:this.eViewport.scrollLeft+this.eViewport.offsetWidth}}setCenterViewportScrollLeft(e){Wg(this.eViewport,e,this.enableRtl)}isContainerVisible(){return!(this.options.pinnedType!=null)||!!this.pinnedWidthFeature&&this.pinnedWidthFeature.getWidth()>0}onPinnedWidthChanged(){const e=this.isContainerVisible();this.visible!=e&&(this.visible=e,this.onDisplayedRowsChanged())}onDisplayedRowsChanged(e=!1){const t=this.options.getRowCtrls(this.beans.rowRenderer);if(!this.visible||t.length===0){this.comp.setRowCtrls({rowCtrls:this.EMPTY_CTRLS});return}const n=Jn(this.gos,"print"),i=this.gos.get("embedFullWidthRows")||n,s=t.filter(r=>{const a=r.isFullWidth();return this.options.fullWidth?!i&&a:i||!a});this.comp.setRowCtrls({rowCtrls:s,useFlushSync:e})}},Qx="ag-force-vertical-scroll",SZ="ag-selectable",EZ="ag-column-moving",TZ=class extends we{constructor(){super(...arguments),this.stickyTopHeight=0,this.stickyBottomHeight=0}wireBeans(e){this.ctrlsSvc=e.ctrlsSvc,this.colModel=e.colModel,this.scrollVisibleSvc=e.scrollVisibleSvc,this.pinnedRowModel=e.pinnedRowModel,this.filterManager=e.filterManager,this.rowGroupColsSvc=e.rowGroupColsSvc}setComp(e,t,n,o,i,s,r){this.comp=e,this.eGridBody=t,this.eBodyViewport=n,this.eTop=o,this.eBottom=i,this.eStickyTop=s,this.eStickyBottom=r,this.eCenterColsViewport=n.querySelector(`.${Yx("center")}`),this.eFullWidthContainer=n.querySelector(`.${S1("fullWidth")}`),this.eStickyTopFullWidthContainer=s.querySelector(`.${S1("stickyTopFullWidth")}`),this.eStickyBottomFullWidthContainer=r.querySelector(`.${S1("stickyBottomFullWidth")}`),this.setCellTextSelection(this.gos.get("enableCellTextSelection")),this.addManagedPropertyListener("enableCellTextSelection",a=>this.setCellTextSelection(a.currentValue)),this.createManagedBean(new eb(this.comp)),this.scrollFeature=this.createManagedBean(new Xj(n)),this.beans.rowDragSvc?.setupRowDrag(n,this),this.setupRowAnimationCssClass(),this.addEventListeners(),this.addFocusListeners([o,n,i,s,r]),this.setGridRootRole(),this.onGridColumnsChanged(),this.addBodyViewportListener(),this.setFloatingHeights(),this.disableBrowserDragging(),this.addStopEditingWhenGridLosesFocus(),this.updateScrollingClasses(),this.filterManager?.setupAdvFilterHeaderComp(o),this.ctrlsSvc.register("gridBodyCtrl",this)}addEventListeners(){const e=this.setFloatingHeights.bind(this),t=this.setGridRootRole.bind(this),n=this.toggleRowResizeStyles.bind(this);this.addManagedEventListeners({gridColumnsChanged:this.onGridColumnsChanged.bind(this),scrollVisibilityChanged:this.onScrollVisibilityChanged.bind(this),scrollGapChanged:this.updateScrollingClasses.bind(this),pinnedRowDataChanged:e,pinnedHeightChanged:e,pinnedRowsChanged:e,headerHeightChanged:this.setStickyTopOffsetTop.bind(this),columnRowGroupChanged:t,columnPivotChanged:t,rowResizeStarted:n,rowResizeEnded:n}),this.addManagedPropertyListener("treeData",t)}toggleRowResizeStyles(e){const t=e.type==="rowResizeStarted";this.eBodyViewport.classList.toggle("ag-prevent-animation",t)}onGridColumnsChanged(){const e=this.beans.colModel.getCols();this.comp.setColumnCount(e.length)}onScrollVisibilityChanged(){const{scrollVisibleSvc:e}=this,t=e.verticalScrollShowing;this.setVerticalScrollPaddingVisible(t),this.setStickyWidth(t),this.setStickyBottomOffsetBottom();const n=t&&e.getScrollbarWidth()||0,o=Ex()?16:0,i=`calc(100% + ${n+o}px)`;Br(this.beans,()=>this.comp.setBodyViewportWidth(i)),this.updateScrollingClasses()}setGridRootRole(){const{rowGroupColsSvc:e,colModel:t}=this;let n=this.gos.get("treeData");if(!n){const o=t.isPivotMode();n=(e?e.columns.length:0)>=(o?2:1)}this.comp.setGridRootRole(n?"treegrid":"grid")}addFocusListeners(e){for(const t of e)this.addManagedElementListeners(t,{focusin:n=>{const{target:o}=n,i=Dl(o,"ag-root",t);t.classList.toggle("ag-has-focus",!i)},focusout:n=>{const{target:o,relatedTarget:i}=n,s=t.contains(i),r=Dl(i,"ag-root",t);Dl(o,"ag-root",t)||(!s||r)&&t.classList.remove("ag-has-focus")}})}setColumnMovingCss(e){this.comp.setColumnMovingCss(EZ,e)}
52setCellTextSelection(e=!1){this.comp.setCellSelectableCss(SZ,e)}updateScrollingClasses(){const{eGridBody:{classList:e},scrollVisibleSvc:t}=this;e.toggle("ag-body-vertical-content-no-gap",!t.verticalScrollGap),e.toggle("ag-body-horizontal-content-no-gap",!t.horizontalScrollGap)}disableBrowserDragging(){this.addManagedElementListeners(this.eGridBody,{dragstart:e=>{if(e.target instanceof HTMLImageElement)return e.preventDefault(),!1}})}addStopEditingWhenGridLosesFocus(){this.beans.editSvc?.addStopEditingWhenGridLosesFocus([this.eBodyViewport,this.eBottom,this.eTop,this.eStickyTop,this.eStickyBottom])}updateRowCount(){const e=(this.ctrlsSvc.getHeaderRowContainerCtrl()?.getRowCount()??0)+(this.filterManager?.getHeaderRowCount()??0),{rowModel:t}=this.beans,n=t.isLastRowIndexKnown()?t.getRowCount():-1,o=n===-1?-1:e+n;this.comp.setRowCount(o)}registerBodyViewportResizeListener(e){this.comp.registerBodyViewportResizeListener(e)}setVerticalScrollPaddingVisible(e){const t=e?"scroll":"hidden";this.comp.setPinnedTopBottomOverflowY(t)}isVerticalScrollShowing(){const e=this.gos.get("alwaysShowVerticalScroll"),t=e?Qx:null,n=Jn(this.gos,"normal");return this.comp.setAlwaysVerticalScrollClass(t,e),e||n&&_L(this.eBodyViewport)}setupRowAnimationCssClass(){const{rowContainerHeight:e,environment:t}=this.beans;let n=t.sizesMeasured;const o=()=>{const i=n&&uu(this.gos)&&!e.stretching,s=i?"ag-row-animation":"ag-row-no-animation";this.comp.setRowAnimationCssOnBodyViewport(s,i)};o(),this.addManagedEventListeners({heightScaleChanged:o}),this.addManagedPropertyListener("animateRows",o),this.addManagedEventListeners({gridStylesChanged:()=>{!n&&t.sizesMeasured&&(n=!0,o())}})}addBodyViewportListener(){const{eBodyViewport:e,eStickyTop:t,eStickyBottom:n,eTop:o,eBottom:i,beans:{popupSvc:s,touchSvc:r}}=this,a=this.onBodyViewportContextMenu.bind(this);this.addManagedElementListeners(e,{contextmenu:a}),r?.mockBodyContextMenu(this,a),this.addManagedElementListeners(e,{wheel:this.onBodyViewportWheel.bind(this,s)});const l=this.onStickyWheel.bind(this);for(const u of[t,n,o,i])this.addManagedElementListeners(u,{wheel:l});const c=this.onHorizontalWheel.bind(this);for(const u of["left","right","topLeft","topRight","bottomLeft","bottomRight"])this.addManagedElementListeners(this.ctrlsSvc.get(u).eContainer,{wheel:c});this.addFullWidthContainerWheelListener()}addFullWidthContainerWheelListener(){this.addManagedElementListeners(this.eFullWidthContainer,{wheel:e=>this.onFullWidthContainerWheel(e)})}onFullWidthContainerWheel(e){const{deltaX:t,deltaY:n,shiftKey:o}=e;(o||Math.abs(t)>Math.abs(n))&&$h(this.beans,e)&&this.scrollGridBodyToMatchEvent(e)}onStickyWheel(e){const{deltaY:t}=e;this.scrollVertically(t)>0&&e.preventDefault()}onHorizontalWheel(e){const{deltaX:t,deltaY:n,shiftKey:o}=e;(o||Math.abs(t)>Math.abs(n))&&this.scrollGridBodyToMatchEvent(e)}scrollGridBodyToMatchEvent(e){const{deltaX:t,deltaY:n}=e;e.preventDefault(),this.eCenterColsViewport.scrollBy({left:t||n})}onBodyViewportContextMenu(e,t,n){if(!e&&!n)return;this.gos.get("preventDefaultOnContextMenu")&&(e||n).preventDefault();const{target:o}=e||t;(o===this.eBodyViewport||o===this.ctrlsSvc.get("center").eViewport)&&this.beans.contextMenuSvc?.showContextMenu({mouseEvent:e,touchEvent:n,value:null,anchorToElement:this.eGridBody,source:"ui"})}onBodyViewportWheel(e,t){this.gos.get("suppressScrollWhenPopupsAreOpen")&&e?.hasAnchoredPopup()&&t.preventDefault()}scrollVertically(e){const t=this.eBodyViewport.scrollTop;return this.scrollFeature.setVerticalScrollPosition(t+e),this.eBodyViewport.scrollTop-t}setFloatingHeights(){const{pinnedRowModel:e,beans:{environment:t}}=this,n=e?.getPinnedTopTotalHeight(),o=e?.getPinnedBottomTotalHeight(),i=t.getPinnedRowBorderWidth(),s=t.getRowBorderWidth(),r=i-s,a=n?r+n:0,l=o?r+o:0;this.comp.setTopHeight(a),this.comp.setBottomHeight(l),this.comp.setTopInvisible(a<=0),this.comp.setBottomInvisible(l<=0),this.setStickyTopOffsetTop(),this.setStickyBottomOffsetBottom()}setStickyTopHeight(e=0){this.comp.setStickyTopHeight(`${e}px`),this.stickyTopHeight=e}setStickyBottomHeight(e=0){this.comp.setStickyBottomHeight(`${e}px`),this.stickyBottomHeight=e}setStickyWidth(e){if(!e)this.comp.setStickyTopWidth("100%"),this.comp.setStickyBottomWidth("100%");else{const t=this.scrollVisibleSvc.getScrollbarWidth();this.comp.setStickyTopWidth(`calc(100% - ${t}px)`),this.comp.setStickyBottomWidth(`calc(100% - ${t}px)`)}}setStickyTopOffsetTop(){const t=this.ctrlsSvc.get("gridHeaderCtrl").headerHeight+(this.filterManager?.getHeaderHeight()??0),n=this.pinnedRowModel?.getPinnedTopTotalHeight()??0;let o=0;t>0&&(o+=t),n>0&&(o+=n),o>0&&(o+=1),this.comp.setStickyTopTop(`${o}px`)}setStickyBottomOffsetBottom(){const{pinnedRowModel:e,scrollVisibleSvc:t,comp:n}=this,o=e?.getPinnedBottomTotalHeight()??0,s=t.horizontalScrollShowing&&t.getScrollbarWidth()||0,r=o+s;n.setStickyBottomBottom(`${r}px`)}};function RZ(e,t){return nb(e,t.target)?.getFocusedCellPosition()??null}function E8(e,t){const n=Jn(e.gos,"normal"),o=t;let i,s;o.clientX!=null||o.clientY!=null?(i=o.clientX,s=o.clientY):(i=o.x,s=o.y);const{pageFirstPixel:r}=e.pageBounds.getCurrentPagePixelRange();
vendor: 4,822 bytes, line 52
52if(s+=r,n){const a=e.ctrlsSvc.getScrollFeature(),l=a.getVScrollPosition(),c=a.getHScrollPosition();i+=c.left,s+=l.top}return{x:i,y:s}}var eD=class extends jt{constructor(e,t){super(),this.direction=t,this.eViewport=$e,this.eContainer=$e,this.hideTimeout=0,this.setTemplate(e)}postConstruct(){this.addManagedEventListeners({scrollVisibilityChanged:this.onScrollVisibilityChanged.bind(this)}),this.onScrollVisibilityChanged(),this.toggleCss("ag-apple-scrollbar",wx()||_l())}destroy(){super.destroy(),window.clearTimeout(this.hideTimeout)}initialiseInvisibleScrollbar(){this.invisibleScrollbar===void 0&&(this.invisibleScrollbar=Ex(),this.invisibleScrollbar&&(this.hideAndShowInvisibleScrollAsNeeded(),this.addActiveListenerToggles()))}addActiveListenerToggles(){const e=this.getGui(),t=()=>this.toggleCss("ag-scrollbar-active",!0),n=()=>this.toggleCss("ag-scrollbar-active",!1);this.addManagedListeners(e,{mouseenter:t,mousedown:t,touchstart:t,mouseleave:n,touchend:n})}onScrollVisibilityChanged(){this.invisibleScrollbar===void 0&&this.initialiseInvisibleScrollbar(),Br(this.beans,()=>this.setScrollVisible())}hideAndShowInvisibleScrollAsNeeded(){this.addManagedEventListeners({bodyScroll:e=>{e.direction===this.direction&&(this.hideTimeout&&(window.clearTimeout(this.hideTimeout),this.hideTimeout=0),this.toggleCss("ag-scrollbar-scrolling",!0))},bodyScrollEnd:()=>{this.hideTimeout=window.setTimeout(()=>{this.toggleCss("ag-scrollbar-scrolling",!1),this.hideTimeout=0},400)}})}attemptSettingScrollPosition(e){const t=this.eViewport;LG(this,()=>zs(t),()=>this.setScrollPosition(e),100)}onScrollCallback(e){this.addManagedElementListeners(this.eViewport,{scroll:e})}},PZ={tag:"div",cls:"ag-body-horizontal-scroll",attrs:{"aria-hidden":"true"},children:[{tag:"div",ref:"eLeftSpacer",cls:"ag-horizontal-left-spacer"},{tag:"div",ref:"eViewport",cls:"ag-body-horizontal-scroll-viewport",children:[{tag:"div",ref:"eContainer",cls:"ag-body-horizontal-scroll-container"}]},{tag:"div",ref:"eRightSpacer",cls:"ag-horizontal-right-spacer"}]},MZ=class extends eD{constructor(){super(PZ,"horizontal"),this.eLeftSpacer=$e,this.eRightSpacer=$e,this.setScrollVisibleDebounce=0}wireBeans(e){this.visibleCols=e.visibleCols,this.scrollVisibleSvc=e.scrollVisibleSvc}postConstruct(){super.postConstruct();const e=this.setFakeHScrollSpacerWidths.bind(this);this.addManagedEventListeners({displayedColumnsChanged:e,displayedColumnsWidthChanged:e,pinnedRowDataChanged:this.refreshCompBottom.bind(this)}),this.addManagedPropertyListener("domLayout",e),this.beans.ctrlsSvc.register("fakeHScrollComp",this),this.createManagedBean(new tb(t=>this.eContainer.style.width=`${t}px`)),this.addManagedPropertyListeners(["suppressHorizontalScroll"],this.onScrollVisibilityChanged.bind(this))}destroy(){window.clearTimeout(this.setScrollVisibleDebounce),super.destroy()}initialiseInvisibleScrollbar(){this.invisibleScrollbar===void 0&&(this.enableRtl=this.gos.get("enableRtl"),super.initialiseInvisibleScrollbar(),this.invisibleScrollbar&&this.refreshCompBottom())}refreshCompBottom(){if(!this.invisibleScrollbar)return;const e=this.beans.pinnedRowModel?.getPinnedBottomTotalHeight()??0;this.getGui().style.bottom=`${e}px`}onScrollVisibilityChanged(){super.onScrollVisibilityChanged(),this.setFakeHScrollSpacerWidths()}setFakeHScrollSpacerWidths(){const e=this.scrollVisibleSvc.verticalScrollShowing;let t=this.visibleCols.getDisplayedColumnsRightWidth();const n=!this.enableRtl&&e,o=this.scrollVisibleSvc.getScrollbarWidth();n&&(t+=o),xs(this.eRightSpacer,t),this.eRightSpacer.classList.toggle("ag-scroller-corner",t<=o);let i=this.visibleCols.getColsLeftWidth();this.enableRtl&&e&&(i+=o),xs(this.eLeftSpacer,i),this.eLeftSpacer.classList.toggle("ag-scroller-corner",i<=o)}setScrollVisible(){const e=this.scrollVisibleSvc.horizontalScrollShowing,t=this.invisibleScrollbar,n=this.gos.get("suppressHorizontalScroll"),o=e&&this.scrollVisibleSvc.getScrollbarWidth()||0,s=n?0:o===0&&t?16:o,r=()=>{this.setScrollVisibleDebounce=0,this.toggleCss("ag-scrollbar-invisible",t),sh(this.getGui(),s),sh(this.eViewport,s),sh(this.eContainer,s),s||this.eContainer.style.setProperty("min-height","1px"),this.setVisible(e,{skipAriaHidden:!0})};window.clearTimeout(this.setScrollVisibleDebounce),e?this.setScrollVisibleDebounce=window.setTimeout(r,100):r()}getScrollPosition(){return $g(this.eViewport,this.enableRtl)}setScrollPosition(e){zs(this.eViewport)||this.attemptSettingScrollPosition(e),Wg(this.eViewport,e,this.enableRtl)}},LZ={selector:"AG-FAKE-HORIZONTAL-SCROLL",component:MZ},xZ={tag:"div",cls:"ag-body-vertical-scroll",attrs:{"aria-hidden":"true"},children:[{tag:"div",ref:"eViewport",cls:"ag-body-vertical-scroll-viewport",children:[{tag:"div",ref:"eContainer",cls:"ag-body-vertical-scroll-container"}]}]},DZ=class extends eD{constructor(){super(xZ,"vertical")}
52postConstruct(){super.postConstruct(),this.createManagedBean(new qx(this.eContainer));const{ctrlsSvc:e}=this.beans;e.register("fakeVScrollComp",this),this.addManagedEventListeners({rowContainerHeightChanged:this.onRowContainerHeightChanged.bind(this,e)})}setScrollVisible(){const{scrollVisibleSvc:e}=this.beans,t=e.verticalScrollShowing,n=this.invisibleScrollbar,o=t&&e.getScrollbarWidth()||0,i=o===0&&n?16:o;this.toggleCss("ag-scrollbar-invisible",n),xs(this.getGui(),i),xs(this.eViewport,i),xs(this.eContainer,i),this.setDisplayed(t,{skipAriaHidden:!0})}onRowContainerHeightChanged(e){const n=e.getGridBodyCtrl().eBodyViewport,o=this.getScrollPosition(),i=n.scrollTop;o!=i&&this.setScrollPosition(i,!0)}getScrollPosition(){return this.eViewport.scrollTop}setScrollPosition(e,t){!t&&!zs(this.eViewport)&&this.attemptSettingScrollPosition(e),this.eViewport.scrollTop=e}},kZ={selector:"AG-FAKE-VERTICAL-SCROLL",component:DZ},AZ="ag-column-first",_Z="ag-column-last";function tD(e,t,n,o){return pn(e)?[]:FZ(e.headerClass,e,t,n,o)}function nD(e,t,n){e.toggleCss(AZ,n.isColAtEdge(t,"first")),e.toggleCss(_Z,n.isColAtEdge(t,"last"))}function IZ(e,t,n,o){return st(t,{colDef:e,column:n,columnGroup:o})}function FZ(e,t,n,o,i){if(pn(e))return[];let s;if(typeof e=="function"){const r=IZ(t,n,o,i);s=e(r)}else s=e;return typeof s=="string"?[s]:Array.isArray(s)?[...s]:[]}function OZ(e,t,n){t.addManagedElementListeners(n,{keydown:o=>{if(!o.defaultPrevented&&o.key===he.TAB){const i=o.shiftKey;fc(e,n,!1,i)||ku(e,i)&&o.preventDefault()}}})}function NZ(e,t){return e.ctrlsSvc.get("gridCtrl").focusInnerElement(t)}function Il(e){return e.gos.get("suppressHeaderFocus")||!!e.overlays?.isExclusive()}function p0(e){return e.gos.get("suppressCellFocus")||!!e.overlays?.isExclusive()}function ku(e,t,n=!1){const o=e.ctrlsSvc.get("gridCtrl");return!n&&o.focusNextInnerContainer(t)?!0:((n||!t&&!o.isDetailGrid())&&o.forceFocusOutOfContainer(t),!1)}function Rs(e){return e.ctrlsSvc.getHeaderRowContainerCtrl()?.getRowCount()??0}function ob(e){const t=[],n=e.ctrlsSvc.getHeaderRowContainerCtrls();for(const o of n){if(!o)continue;const i=o.getGroupRowCount()||0;for(let s=0;s<i;s++){const r=o.getGroupRowCtrlAtIndex(s),a=t[s];if(r){const l=BZ(e,r);(a==null||l>a)&&(t[s]=l)}}}return t}function BZ(e,t){let o=e.colModel.isPivotMode()?VZ(e):iD(e);const i=t.getHeaderCellCtrls();for(const s of i){const{column:r}=s,a=r.getAutoHeaderHeight();a!=null&&a>o&&r.isAutoHeaderHeight()&&(o=a)}return o}function ib(e){let n=e.colModel.isPivotMode()?HZ(e):Vp(e);return e.colModel.forAllCols(o=>{const i=o.getAutoHeaderHeight();i!=null&&i>n&&o.isAutoHeaderHeight()&&(n=i)}),n}function Vp(e){return e.gos.get("headerHeight")??e.environment.getDefaultHeaderHeight()}function oD(e){return e.gos.get("floatingFiltersHeight")??Vp(e)}function iD(e){return e.gos.get("groupHeaderHeight")??Vp(e)}function HZ(e){return e.gos.get("pivotHeaderHeight")??Vp(e)}function VZ(e){return e.gos.get("pivotGroupHeaderHeight")??iD(e)}function $Z(e,t){return e.headerRowIndex===t.headerRowIndex&&e.column===t.column}var WZ=class extends we{setComp(e,t,n){this.comp=e,this.eGui=t;const{beans:o}=this,{headerNavigation:i,touchSvc:s,ctrlsSvc:r}=o;i&&this.createManagedBean(new id(n,{onTabKeyDown:this.onTabKeyDown.bind(this),handleKeyDown:this.handleKeyDown.bind(this),onFocusOut:this.onFocusOut.bind(this)})),this.addManagedEventListeners({columnPivotModeChanged:this.onPivotModeChanged.bind(this,o),displayedColumnsChanged:this.onDisplayedColumnsChanged.bind(this,o)}),this.onPivotModeChanged(o),this.setupHeaderHeight();const a=this.onHeaderContextMenu.bind(this);this.addManagedElementListeners(this.eGui,{contextmenu:a}),s?.mockHeaderContextMenu(this,a),r.register("gridHeaderCtrl",this)}setupHeaderHeight(){const e=this.setHeaderHeight.bind(this);e(),this.addManagedPropertyListeners(["headerHeight","pivotHeaderHeight","groupHeaderHeight","pivotGroupHeaderHeight","floatingFiltersHeight"],e),this.addManagedEventListeners({headerRowsChanged:e,columnHeaderHeightChanged:e,columnGroupHeaderHeightChanged:()=>Br(this.beans,()=>e()),gridStylesChanged:e,advancedFilterEnabledChanged:e})}setHeaderHeight(){const{beans:e}=this;let t=0;const n=ob(e).reduce((s,r)=>s+r,0),o=ib(e);if(e.filterManager?.hasFloatingFilters()&&(t+=oD(e)),t+=n,t+=o,this.headerHeight===t)return;this.headerHeight=t;const i=`${t+1}px`;this.comp.setHeightAndMinHeight(i),this.eventSvc.dispatchEvent({type:"headerHeight
52Changed"})}onPivotModeChanged(e){const t=e.colModel.isPivotMode();this.comp.toggleCss("ag-pivot-on",t),this.comp.toggleCss("ag-pivot-off",!t)}onDisplayedColumnsChanged(e){const n=e.visibleCols.allCols.some(o=>o.isSpanHeaderHeight());this.comp.toggleCss("ag-header-allow-overflow",n)}onTabKeyDown(e){const t=this.gos.get("enableRtl"),n=e.shiftKey,o=n!==t?"LEFT":"RIGHT",{beans:i}=this,{headerNavigation:s,focusSvc:r}=i;(s.navigateHorizontally(o,!0,e)||!n&&r.focusOverlay(!1)||ku(i,n,!0))&&e.preventDefault()}handleKeyDown(e){let t=null;const{headerNavigation:n}=this.beans;switch(e.key){case he.LEFT:t="LEFT";case he.RIGHT:{Ge(t)||(t="RIGHT"),n.navigateHorizontally(t,!1,e)&&e.preventDefault();break}case he.UP:t="UP";case he.DOWN:{Ge(t)||(t="DOWN"),n.navigateVertically(t,e)&&e.preventDefault();break}default:return}}onFocusOut(e){const{relatedTarget:t}=e,{eGui:n,beans:o}=this;!t&&n.contains(Cn(o))||n.contains(t)||(o.focusSvc.focusedHeader=null)}onHeaderContextMenu(e,t,n){const{menuSvc:o,ctrlsSvc:i}=this.beans;if(!e&&!n||!o?.isHeaderContextMenuEnabled())return;const{target:s}=e??t;(s===this.eGui||s===i.getHeaderRowContainerCtrl()?.eViewport)&&o.showHeaderContextMenu(void 0,e,n)}},sb=class extends jt{constructor(e,t){super(e),this.ctrl=t}getCtrl(){return this.ctrl}},GZ={tag:"div",cls:"ag-header-cell",role:"columnheader",children:[{tag:"div",ref:"eResize",cls:"ag-header-cell-resize",role:"presentation"},{tag:"div",ref:"eHeaderCompWrapper",cls:"ag-header-cell-comp-wrapper",role:"presentation"}]},zZ=class extends sb{constructor(e){super(GZ,e),this.eResize=$e,this.eHeaderCompWrapper=$e,this.headerCompVersion=0}postConstruct(){const e=this.getGui(),t=()=>{const o=this.ctrl.getSelectAllGui();o&&(this.eResize.insertAdjacentElement("afterend",o),this.addDestroyFunc(()=>o.remove()))},n={setWidth:o=>e.style.width=o,toggleCss:(o,i)=>this.toggleCss(o,i),setUserStyles:o=>Fp(e,o),setAriaSort:o=>o?sG(e,o):rG(e),setUserCompDetails:o=>this.setUserCompDetails(o),getUserCompInstance:()=>this.headerComp,refreshSelectAllGui:t,removeSelectAllGui:()=>this.ctrl.getSelectAllGui()?.remove()};this.ctrl.setComp(n,this.getGui(),this.eResize,this.eHeaderCompWrapper,void 0),t()}destroy(){this.destroyHeaderComp(),super.destroy()}destroyHeaderComp(){this.headerComp&&(this.headerCompGui?.remove(),this.headerComp=this.destroyBean(this.headerComp),this.headerCompGui=void 0)}setUserCompDetails(e){this.headerCompVersion++;const t=this.headerCompVersion;e.newAgStackInstance().then(n=>this.afterCompCreated(t,n))}afterCompCreated(e,t){if(e!=this.headerCompVersion||!this.isAlive()){this.destroyBean(t);return}this.destroyHeaderComp(),this.headerComp=t,this.headerCompGui=t.getGui(),this.eHeaderCompWrapper.appendChild(this.headerCompGui),this.ctrl.setDragSource(this.getGui())}},UZ={tag:"div",cls:"ag-header-group-cell",role:"columnheader",children:[{tag:"div",ref:"eHeaderCompWrapper",cls:"ag-header-cell-comp-wrapper",role:"presentation"},{tag:"div",ref:"eResize",cls:"ag-header-cell-resize",role:"presentation"}]},jZ=class extends sb{constructor(e){super(UZ,e),this.eResize=$e,this.eHeaderCompWrapper=$e}postConstruct(){const e=this.getGui(),t=(o,i)=>i!=null?e.setAttribute(o,i):e.removeAttribute(o),n={toggleCss:(o,i)=>this.toggleCss(o,i),setUserStyles:o=>Fp(e,o),setHeaderWrapperHidden:o=>{o?this.eHeaderCompWrapper.style.setProperty("display","none"):this.eHeaderCompWrapper.style.removeProperty("display")},setHeaderWrapperMaxHeight:o=>{o!=null?this.eHeaderCompWrapper.style.setProperty("max-height",`${o}px`):this.eHeaderCompWrapper.style.removeProperty("max-height"),this.eHeaderCompWrapper.classList.toggle("ag-header-cell-comp-wrapper-limited-height",o!=null)},setResizableDisplayed:o=>hn(this.eResize,o),setWidth:o=>e.style.width=o,setAriaExpanded:o=>t("aria-expanded",o),setUserCompDetails:o=>this.setUserCompDetails(o),getUserCompInstance:()=>this.headerGroupComp};this.ctrl.setComp(n,e,this.eResize,this.eHeaderCompWrapper,void 0)}setUserCompDetails(e){e.newAgStackInstance().then(t=>this.afterHeaderCompCreated(t))}afterHeaderCompCreated(e){const t=()=>this.destroyBean(e);if(!this.isAlive()){t();return}const n=this.getGui(),o=e.getGui();this.eHeaderCompWrapper.appendChild(o),this.addDestroyFunc(t),this.headerGroupComp=e,this.ctrl.
52setDragSource(n)}},ZZ={tag:"div",cls:"ag-header-cell ag-floating-filter",role:"gridcell",children:[{tag:"div",ref:"eFloatingFilterBody",role:"presentation"},{tag:"div",ref:"eButtonWrapper",cls:"ag-floating-filter-button ag-hidden",role:"presentation",children:[{tag:"button",ref:"eButtonShowMainFilter",cls:"ag-button ag-floating-filter-button-button",attrs:{type:"button",tabindex:"-1"}}]}]},KZ=class extends sb{constructor(e){super(ZZ,e),this.eFloatingFilterBody=$e,this.eButtonWrapper=$e,this.eButtonShowMainFilter=$e}postConstruct(){const e=this.getGui(),t={toggleCss:(n,o)=>this.toggleCss(n,o),setUserStyles:n=>Fp(e,n),addOrRemoveBodyCssClass:(n,o)=>this.eFloatingFilterBody.classList.toggle(n,o),setButtonWrapperDisplayed:n=>hn(this.eButtonWrapper,n),setCompDetails:n=>this.setCompDetails(n),getFloatingFilterComp:()=>this.compPromise,setWidth:n=>e.style.width=n,setMenuIcon:n=>this.eButtonShowMainFilter.appendChild(n)};this.ctrl.setComp(t,e,this.eButtonShowMainFilter,this.eFloatingFilterBody,void 0)}setCompDetails(e){if(!e){this.destroyFloatingFilterComp(),this.compPromise=null;return}this.compPromise=e.newAgStackInstance(),this.compPromise.then(t=>this.afterCompCreated(t))}destroy(){this.destroyFloatingFilterComp(),super.destroy()}destroyFloatingFilterComp(){this.floatingFilterComp&&(this.floatingFilterComp.getGui().remove(),this.floatingFilterComp=this.destroyBean(this.floatingFilterComp))}afterCompCreated(e){if(e){if(!this.isAlive()){this.destroyBean(e);return}this.destroyFloatingFilterComp(),this.floatingFilterComp=e,this.eFloatingFilterBody.appendChild(e.getGui()),e.afterGuiAttached&&e.afterGuiAttached()}}},qZ=class extends jt{constructor(e){super({tag:"div",cls:e.headerRowClass,role:"row"}),this.ctrl=e,this.headerComps={}}postConstruct(){this.getGui().setAttribute("tabindex",String(this.gos.get("tabIndex"))),Hg(this.getGui(),this.ctrl.getAriaRowIndex());const t={setHeight:n=>this.getGui().style.height=n,setTop:n=>this.getGui().style.top=n,setHeaderCtrls:(n,o)=>this.setHeaderCtrls(n,o),setWidth:n=>this.getGui().style.width=n,setRowIndex:n=>Hg(this.getGui(),n)};this.ctrl.setComp(t,void 0)}destroy(){this.setHeaderCtrls([],!1),super.destroy()}setHeaderCtrls(e,t){if(!this.isAlive())return;const n=this.headerComps;this.headerComps={};for(const o of e){const i=o.instanceId;let s=n[i];delete n[i],s==null&&(s=this.createHeaderComp(o),this.getGui().appendChild(s.getGui())),this.headerComps[i]=s}if(Object.values(n).forEach(o=>{o.getGui().remove(),this.destroyBean(o)}),t){const o=Object.values(this.headerComps);o.sort((s,r)=>{const a=s.getCtrl().column.getLeft(),l=r.getCtrl().column.getLeft();return a-l});const i=o.map(s=>s.getGui());AL(this.getGui(),i)}}createHeaderComp(e){let t;switch(this.ctrl.type){case"group":t=new jZ(e);break;case"filter":t=new KZ(e);break;default:t=new zZ(e);break}return this.createBean(t),t.setParentComponent(this),t}},rb=class extends we{constructor(e,t,n,o){super(),this.columnOrGroup=e,this.eCell=t,this.colsSpanning=o,this.columnOrGroup=e,this.ariaEl=t.querySelector("[role=columnheader]")||t,this.beans=n}setColsSpanning(e){this.colsSpanning=e,this.onLeftChanged()}getColumnOrGroup(){const{beans:e,colsSpanning:t}=this;return e.gos.get("enableRtl")&&t?on(t):this.columnOrGroup}postConstruct(){const e=this.onLeftChanged.bind(this);this.addManagedListeners(this.columnOrGroup,{leftChanged:e}),this.setLeftFirstTime(),this.addManagedEventListeners({displayedColumnsWidthChanged:e}),this.addManagedPropertyListener("domLayout",e)}setLeftFirstTime(){const{gos:e,colAnimation:t}=this.beans,n=e.get("suppressColumnMoveAnimation"),o=Ge(this.columnOrGroup.getOldLeft());t?.isActive()&&o&&!n?this.animateInLeft():this.onLeftChanged()}animateInLeft(){const e=this.getColumnOrGroup(),t=this.modifyLeftForPrintLayout(e,e.getOldLeft()),n=this.modifyLeftForPrintLayout(e,e.getLeft());this.setLeft(t),this.actualLeft=n,this.beans.colAnimation.executeNextVMTurn(()=>{this.actualLeft===n&&this.setLeft(n)})}onLeftChanged(){const e=this.getColumnOrGroup(),t=e.getLeft();this.actualLeft=this.modifyLeftForPrintLayout(e,t),this.setLeft(this.actualLeft)}modifyLeftForPrintLayout(e,t){const{gos:n,visibleCols:o}=this.beans;if(!Jn(n,"print")||e.getPinned()==="left")return t;const s=o.getColsLeftWidth();if(e.getPinned()==="right"){const r=o.bodyWidth;return s+r+t}return s+t}setLeft(e){if(Ge(e)&&(this.eCell.style.left=`${e}px`),xn(this.columnOrGroup)){const t=this.columnOrGroup.getLeafColumns();if(!t.length)return;t.length>1&&iG(this.ariaEl,t.length)}}},YZ=0,sD="headerCtrl",ab=class extends we{constructor(e,t){super(),this.column=e,this.rowCtrl=t,this.resizeToggleTimeout=0,this.resizeMultiplier=1,this.resizeFeature=null,this.lastFocusEvent=null,this.dragSource=null,this.reAttemptToFocus=!1,this.instanceId=e.getUniqueId()+"-"+YZ++}postConstruct(){const e=this.refreshTabIndex.bind(this);this.addManagedPropertyListeners(["suppressHeaderFocus"],e),this.addManagedEventListeners({overlayExclusiveChanged:e})}setComp(e,t,n,o,i){t.setAttribute("col-id",this.column.colIdSanitised),this.wireComp(e,t,n,o,i),this.reAttemptToFocus&&(this.reAttemptToFocus=!1,this.focus(this.lastFocusEvent??void 0))}shouldStopEventPropagation(e){const{headerRowIndex:t,column:n}
vendor: 4,293 bytes, line 52
52=this.beans.focusSvc.focusedHeader,o=n.getDefinition(),i=o?.suppressHeaderKeyboardEvent;if(!Ge(i))return!1;const s=st(this.gos,{colDef:o,column:n,headerRowIndex:t,event:e});return!!i(s)}getWrapperHasFocus(){return Cn(this.beans)===this.eGui}setGui(e,t){this.eGui=e,this.addDomData(t),t.addManagedListeners(this.beans.eventSvc,{displayedColumnsChanged:this.onDisplayedColumnsChanged.bind(this)}),t.addManagedElementListeners(this.eGui,{focus:this.onGuiFocus.bind(this)}),this.onDisplayedColumnsChanged(),this.refreshTabIndex()}refreshHeaderStyles(){const e=this.column.getDefinition();if(!e)return;const{headerStyle:t}=e;let n;if(typeof t=="function"){const o=this.getHeaderClassParams();n=t(o)}else n=t;n&&this.comp.setUserStyles(n)}onGuiFocus(){this.eventSvc.dispatchEvent({type:"headerFocused",column:this.column})}setupAutoHeight(e){const{wrapperElement:t,checkMeasuringCallback:n,compBean:o}=e,{beans:i}=this,s=d=>{if(!this.isAlive()||!o.isAlive())return;const{paddingTop:h,paddingBottom:p,borderBottomWidth:f,borderTopWidth:g}=hc(this.eGui),m=h+p+f+g,y=t.offsetHeight+m;if(d<5){const w=!Un(i)?.contains(t),S=y==0;if(w||S){JC(()=>s(d+1),"raf",i);return}}this.setColHeaderHeight(this.column,y)};let r=!1,a;const l=()=>{const d=this.column.isAutoHeaderHeight();d&&!r&&c(),!d&&r&&u()},c=()=>{r=!0,this.comp.toggleCss("ag-header-cell-auto-height",!0),s(0),a=Ga(this.beans,t,()=>s(0))},u=()=>{r=!1,a&&a(),this.comp.toggleCss("ag-header-cell-auto-height",!1),a=void 0};l(),o.addDestroyFunc(()=>u()),o.addManagedListeners(this.column,{widthChanged:()=>r&&s(0)}),o.addManagedEventListeners({sortChanged:()=>{r&&window.setTimeout(()=>s(0))}}),n&&n(l)}onDisplayedColumnsChanged(){const{comp:e,column:t,beans:n,eGui:o}=this;!e||!t||!o||(nD(e,t,n.visibleCols),RL(o,n.visibleCols.getAriaColIndex(t)))}addResizeAndMoveKeyboardListeners(e){e.addManagedListeners(this.eGui,{keydown:this.onGuiKeyDown.bind(this),keyup:this.onGuiKeyUp.bind(this)})}refreshTabIndex(){const e=Il(this.beans);this.eGui&&Ko(this.eGui,"tabindex",e?null:"-1")}onGuiKeyDown(e){const t=Cn(this.beans),n=e.key===he.LEFT||e.key===he.RIGHT;if(this.isResizing&&(e.preventDefault(),e.stopImmediatePropagation()),t!==this.eGui||!e.shiftKey&&!e.altKey||((this.isResizing||n)&&(e.preventDefault(),e.stopImmediatePropagation()),!n))return;const i=e.key===he.LEFT!==this.gos.get("enableRtl")?"left":"right";if(e.altKey){this.isResizing=!0,this.resizeMultiplier+=1;const s=this.getViewportAdjustedResizeDiff(e);this.resizeHeader(s,e.shiftKey),this.resizeFeature?.toggleColumnResizing(!0)}else this.moveHeader(i)}moveHeader(e){this.beans.colMoves?.moveHeader(e,this.eGui,this.column,this.rowCtrl.pinned,this)}getViewportAdjustedResizeDiff(e){const t=this.getResizeDiff(e),{pinnedCols:n}=this.beans;return n?n.getHeaderResizeDiff(t,this.column):t}getResizeDiff(e){const{gos:t,column:n}=this;let o=e.key===he.LEFT!==t.get("enableRtl");const i=n.getPinned(),s=t.get("enableRtl");return i&&s!==(i==="right")&&(o=!o),(o?-1:1)*this.resizeMultiplier}onGuiKeyUp(){this.isResizing&&(this.resizeToggleTimeout&&(window.clearTimeout(this.resizeToggleTimeout),this.resizeToggleTimeout=0),this.isResizing=!1,this.resizeMultiplier=1,this.resizeToggleTimeout=window.setTimeout(()=>{this.resizeFeature?.toggleColumnResizing(!1)},150))}handleKeyDown(e){const t=this.getWrapperHasFocus();switch(e.key){case he.PAGE_DOWN:case he.PAGE_UP:case he.PAGE_HOME:case he.PAGE_END:t&&e.preventDefault()}}addDomData(e){const t=sD,{eGui:n,gos:o}=this;ql(o,n,t,this),e.addDestroyFunc(()=>ql(o,n,t,null))}focus(e){if(!this.isAlive())return!1;const{eGui:t}=this;return t?(t.focus(),this.lastFocusEvent=e||null):this.reAttemptToFocus=!0,!0}focusThis(){this.beans.focusSvc.focusedHeader={headerRowIndex:this.rowCtrl.rowIndex,column:this.column}}removeDragSource(){this.dragSource&&(this.beans.dragAndDrop?.removeDragSource(this.dragSource),this.dragSource=null)}handleContextMenuMouseEvent(e,t,n){const o=e??t,{menuSvc:i,gos:s}=this.beans;s.get("preventDefaultOnContextMenu")&&o.preventDefault(),i?.isHeaderContextMenuEnabled(n)&&i.showHeaderContextMenu(n,e,t),this.dispatchColumnMouseEvent("columnHeaderContextMenu",n)}dispatchColumnMouseEvent(e,t){this.eventSvc.dispatchEvent({type:e,column:t})}setColHeaderHeight(e,t){if(!e.setAutoHeaderHeight(t))return;const{eventSvc:n}=this;
vendor: 4,079 bytes, line 52
52e.isColumn?n.dispatchEvent({type:"columnHeaderHeightChanged",column:e,columns:[e],source:"autosizeColumnHeaderHeight"}):n.dispatchEvent({type:"columnGroupHeaderHeightChanged",columnGroup:e,source:"autosizeColumnGroupHeaderHeight"})}clearComponent(){this.removeDragSource(),this.resizeFeature=null,this.comp=null,this.eGui=null}destroy(){super.destroy(),this.column=null,this.lastFocusEvent=null,this.rowCtrl=null}},XZ=class extends ab{constructor(){super(...arguments),this.refreshFunctions={},this.userHeaderClasses=new Set,this.ariaDescriptionProperties=new Map}wireComp(e,t,n,o,i){this.comp=e;const{rowCtrl:s,column:r,beans:a}=this,{colResize:l,context:c,colHover:u,rangeSvc:d}=a,h=Np(this,c,i);this.setGui(t,h),this.updateState(),this.setupWidth(h),this.setupMovingCss(h),this.setupMenuClass(h),this.setupSortableClass(h),this.setupWrapTextClass(),this.refreshSpanHeaderHeight(),this.setupAutoHeight({wrapperElement:o,checkMeasuringCallback:f=>this.setRefreshFunction("measuring",f),compBean:h}),this.addColumnHoverListener(h),this.setupFilterClass(h),this.setupStylesFromColDef(),this.setupClassesFromColDef(),this.setupTooltip(),this.addActiveHeaderMouseListeners(h),this.setupSelectAll(h),this.setupUserComp(),this.refreshAria(),l?this.resizeFeature=h.createManagedBean(l.createResizeFeature(s.pinned,r,n,e,this)):hn(n,!1),u?.createHoverFeature(h,[r],t),d?.createRangeHighlightFeature(h,r,e),h.createManagedBean(new rb(r,t,a)),h.createManagedBean(new id(t,{shouldStopEventPropagation:f=>this.shouldStopEventPropagation(f),onTabKeyDown:()=>null,handleKeyDown:this.handleKeyDown.bind(this),onFocusIn:this.onFocusIn.bind(this),onFocusOut:this.onFocusOut.bind(this)})),this.addResizeAndMoveKeyboardListeners(h),h.addManagedPropertyListeners(["suppressMovableColumns","suppressMenuHide","suppressAggFuncInHeader","enableAdvancedFilter"],()=>this.refresh()),h.addManagedListeners(r,{colDefChanged:()=>this.refresh()}),h.addManagedListeners(r,{headerHighlightChanged:this.onHeaderHighlightChanged.bind(this)});const p=()=>this.checkDisplayName();h.addManagedEventListeners({columnValueChanged:p,columnRowGroupChanged:p,columnPivotChanged:p,headerHeightChanged:this.onHeaderHeightChanged.bind(this)}),h.addDestroyFunc(()=>{this.refreshFunctions={},this.selectAllFeature=null,this.dragSourceElement=void 0,this.userCompDetails=null,this.userHeaderClasses.clear(),this.ariaDescriptionProperties.clear(),this.clearComponent()})}resizeHeader(e,t){this.beans.colResize?.resizeHeader(this.column,e,t)}getHeaderClassParams(){const{column:e,beans:t}=this,n=e.colDef;return st(t.gos,{colDef:n,column:e,floatingFilter:!1})}setupUserComp(){const e=this.lookupUserCompDetails();e&&this.setCompDetails(e)}setCompDetails(e){this.userCompDetails=e,this.comp.setUserCompDetails(e)}lookupUserCompDetails(){const e=this.createParams(),t=this.column.getColDef();return Jz(this.beans.userCompFactory,t,e)}createParams(){const{menuSvc:e,sortSvc:t,colFilter:n,gos:o}=this.beans;return st(o,{column:this.column,displayName:this.displayName,enableSorting:this.column.isSortable(),enableMenu:this.menuEnabled,enableFilterButton:this.openFilterEnabled&&!!e?.isHeaderFilterButtonEnabled(this.column),enableFilterIcon:!!n&&(!this.openFilterEnabled||qo(this.gos)),showColumnMenu:(s,r)=>{e?.showColumnMenu({column:this.column,buttonElement:s,positionBy:"button",onClosedCallback:r})},showColumnMenuAfterMouseClick:(s,r)=>{e?.showColumnMenu({column:this.column,mouseEvent:s,positionBy:"mouse",onClosedCallback:r})},showFilter:s=>{e?.showFilterMenu({column:this.column,buttonElement:s,containerType:"columnFilter",positionBy:"button"})},progressSort:s=>{t?.progressSort(this.column,!!s,"uiColumnSorted")},setSort:(s,r)=>{t?.setSortForColumn(this.column,s,!!r,"uiColumnSorted")},eGridHeader:this.eGui,setTooltip:(s,r)=>{o.assertModuleRegistered("Tooltip",3),this.setupTooltip(s,r)}})}setupSelectAll(e){const{selectionSvc:t}=this.beans;t&&(this.selectAllFeature=e.createOptionalManagedBean(t.createSelectAllFeature(this.column)),this.selectAllFeature?.setComp(this),e.addManagedPropertyListener("rowSelection",()=>
52{const n=t.createSelectAllFeature(this.column);n&&!this.selectAllFeature?(this.selectAllFeature=e.createManagedBean(n),this.selectAllFeature?.setComp(this),this.comp.refreshSelectAllGui()):this.selectAllFeature&&!n&&(this.comp.removeSelectAllGui(),this.selectAllFeature=this.destroyBean(this.selectAllFeature))}))}getSelectAllGui(){return this.selectAllFeature?.getCheckboxGui()}handleKeyDown(e){super.handleKeyDown(e),e.key===he.SPACE&&this.selectAllFeature?.onSpaceKeyDown(e),e.key===he.ENTER&&this.onEnterKeyDown(e),e.key===he.DOWN&&e.altKey&&this.showMenuOnKeyPress(e,!1)}onEnterKeyDown(e){e.ctrlKey||e.metaKey?this.showMenuOnKeyPress(e,!0):this.sortable&&this.beans.sortSvc?.progressSort(this.column,e.shiftKey,"uiColumnSorted")}showMenuOnKeyPress(e,t){const n=this.comp.getUserCompInstance();T8(n)&&n.onMenuKeyboardShortcut(t)&&e.preventDefault()}onFocusIn(e){this.eGui.contains(e.relatedTarget)||(this.focusThis(),this.announceAriaDescription()),SU()&&this.setActiveHeader(!0)}onFocusOut(e){this.eGui.contains(e.relatedTarget)||this.setActiveHeader(!1)}setupTooltip(e,t){this.tooltipFeature=this.beans.tooltipSvc?.setupHeaderTooltip(this.tooltipFeature,this,e,t)}setupStylesFromColDef(){this.setRefreshFunction("headerStyles",this.refreshHeaderStyles.bind(this)),this.refreshHeaderStyles()}setupClassesFromColDef(){const e=()=>{const t=this.column.getColDef(),n=tD(t,this.gos,this.column,null),o=this.userHeaderClasses;this.userHeaderClasses=new Set(n);for(const i of n)o.has(i)?o.delete(i):this.comp.toggleCss(i,!0);for(const i of o)this.comp.toggleCss(i,!1)};this.setRefreshFunction("headerClasses",e),e()}setDragSource(e){this.dragSourceElement=e,this.removeDragSource(),!(!e||!this.draggable)&&(this.dragSource=this.beans.colMoves?.setDragSourceForHeader(e,this.column,this.displayName)??null)}updateState(){const{menuSvc:e}=this.beans;this.menuEnabled=!!e?.isColumnMenuInHeaderEnabled(this.column),this.openFilterEnabled=!!e?.isFilterMenuInHeaderEnabled(this.column),this.sortable=this.column.isSortable(),this.displayName=this.calculateDisplayName(),this.draggable=this.workOutDraggable()}setRefreshFunction(e,t){this.refreshFunctions[e]=t}refresh(){this.updateState(),this.refreshHeaderComp(),this.refreshAria();for(const e of Object.values(this.refreshFunctions))e()}refreshHeaderComp(){const e=this.lookupUserCompDetails();if(!e)return;(this.comp.getUserCompInstance()!=null&&this.userCompDetails.componentClass==e.componentClass?this.attemptHeaderCompRefresh(e.params):!1)?this.setDragSource(this.dragSourceElement):this.setCompDetails(e)}attemptHeaderCompRefresh(e){const t=this.comp.getUserCompInstance();return!t||!t.refresh?!1:t.refresh(e)}calculateDisplayName(){return this.beans.colNames.getDisplayNameForColumn(this.column,"header",!0)}checkDisplayName(){this.displayName!==this.calculateDisplayName()&&this.refresh()}workOutDraggable(){const e=this.column.getColDef();return!!(!this.gos.get("suppressMovableColumns")&&!e.suppressMovable&&!e.lockPosition)||!!e.enableRowGroup||!!e.enablePivot}setupWidth(e){const t=()=>{const n=this.column.getActualWidth();this.comp.setWidth(`${n}px`)};e.addManagedListeners(this.column,{widthChanged:t}),t()}setupMovingCss(e){const t=()=>{this.comp.toggleCss("ag-header-cell-moving",this.column.isMoving())};e.addManagedListeners(this.column,{movingChanged:t}),t()}setupMenuClass(e){const t=()=>{this.comp?.toggleCss("ag-column-menu-visible",this.column.isMenuVisible())};e.addManagedListeners(this.column,{menuVisibleChanged:t}),t()}setupSortableClass(e){const t=()=>{this.comp.toggleCss("ag-header-cell-sortable",!!this.sortable)};t(),this.setRefreshFunction("updateSortable",t),e.addManagedEventListeners({sortChanged:this.refreshAriaSort.bind(this)})}setupFilterClass(e){const t=()=>{const n=this.column.isFilterActive();this.comp.toggleCss("ag-header-cell-filtered",n),this.refreshAria()};e.addManagedListeners(this.column,{filterActiveChanged:t}),t()}setupWrapTextClass(){const e=()=>{const t=!!this.column.getColDef().wrapHeaderText;this.comp.toggleCss("ag-header-cell-wrap-text",t)};e(),this.setRefreshFunction("wrapText",e)}onHeaderHighlightChanged(){const e=this.column.getHighlighted(),t=e===0,n=e===1;this.comp.toggleCss("ag-header-highlight-before",t),this.comp.toggleCss("ag-header-highlight-after",n)}onDisplayedColumnsChanged(){super.onDisplayedColumnsChanged(),this.isAlive()&&this.onHeaderHeight
52Changed()}onHeaderHeightChanged(){this.refreshSpanHeaderHeight()}refreshSpanHeaderHeight(){const{eGui:e,column:t,comp:n,beans:o}=this,i=ob(this.beans),s=i.reduce((h,p)=>h+p,0)===0;if(n.toggleCss("ag-header-parent-hidden",s),!t.isSpanHeaderHeight()){e.style.removeProperty("top"),e.style.removeProperty("height"),n.toggleCss("ag-header-span-height",!1),n.toggleCss("ag-header-span-total",!1);return}const{numberOfParents:r,isSpanningTotal:a}=this.column.getColumnGroupPaddingInfo();n.toggleCss("ag-header-span-height",r>0);const l=ib(o);if(r===0){n.toggleCss("ag-header-span-total",!1),e.style.setProperty("top","0px"),e.style.setProperty("height",`${l}px`);return}n.toggleCss("ag-header-span-total",a);const c=(this.column.getFirstRealParent()?.getLevel()??-1)+1,u=i.length-c;let d=0;for(let h=0;h<u;h++)d+=i[i.length-1-h];e.style.setProperty("top",`${-d}px`),e.style.setProperty("height",`${l+d}px`)}refreshAriaSort(){if(this.sortable){const e=this.getLocaleTextFunc(),t=this.beans.sortSvc?.getDisplaySortForColumn(this.column)||null;this.comp.setAriaSort(jW(t)),this.setAriaDescriptionProperty("sort",e("ariaSortableColumn","Press ENTER to sort"))}else this.comp.setAriaSort(),this.setAriaDescriptionProperty("sort",null)}refreshAriaMenu(){if(this.menuEnabled){const e=this.getLocaleTextFunc();this.setAriaDescriptionProperty("menu",e("ariaMenuColumn","Press ALT DOWN to open column menu"))}else this.setAriaDescriptionProperty("menu",null)}refreshAriaFilterButton(){if(this.openFilterEnabled&&!qo(this.gos)){const e=this.getLocaleTextFunc();this.setAriaDescriptionProperty("filterButton",e("ariaFilterColumn","Press CTRL ENTER to open filter"))}else this.setAriaDescriptionProperty("filterButton",null)}refreshAriaFiltered(){const e=this.getLocaleTextFunc();this.column.isFilterActive()?this.setAriaDescriptionProperty("filter",e("ariaColumnFiltered","Column Filtered")):this.setAriaDescriptionProperty("filter",null)}setAriaDescriptionProperty(e,t){t!=null?this.ariaDescriptionProperties.set(e,t):this.ariaDescriptionProperties.delete(e)}announceAriaDescription(){if(!this.eGui.contains(Cn(this.beans)))return;const e=Array.from(this.ariaDescriptionProperties.keys()).sort((t,n)=>t==="filter"?-1:n.charCodeAt(0)-t.charCodeAt(0)).map(t=>this.ariaDescriptionProperties.get(t)).join(". ");this.beans.ariaAnnounce?.announceValue(e,"columnHeader")}refreshAria(){this.refreshAriaSort(),this.refreshAriaMenu(),this.refreshAriaFilterButton(),this.refreshAriaFiltered()}addColumnHoverListener(e){this.beans.colHover?.addHeaderColumnHoverListener(e,this.comp,this.column)}addActiveHeaderMouseListeners(e){const t=i=>this.handleMouseOverChange(i.type==="mouseenter"),n=()=>{this.setActiveHeader(!0),this.dispatchColumnMouseEvent("columnHeaderClicked",this.column)},o=i=>this.handleContextMenuMouseEvent(i,void 0,this.column);e.addManagedListeners(this.eGui,{mouseenter:t,mouseleave:t,click:n,contextmenu:o})}handleMouseOverChange(e){this.setActiveHeader(e),this.eventSvc.dispatchEvent({type:e?"columnHeaderMouseOver":"columnHeaderMouseLeave",column:this.column})}setActiveHeader(e){this.comp.toggleCss("ag-header-active",e)}getAnchorElementForMenu(e){const t=this.comp.getUserCompInstance();return T8(t)?t.getAnchorElementForMenu(e):this.eGui}destroy(){this.tooltipFeature=this.destroyBean(this.tooltipFeature),super.destroy()}};function T8(e){return typeof e?.getAnchorElementForMenu=="function"&&typeof e.onMenuKeyboardShortcut=="function"}var JZ=0,av=class extends we{constructor(e,t,n){super(),this.rowIndex=e,this.pinned=t,this.type=n,this.instanceId=JZ++,this.comp=null,this.allCtrls=[];let o="ag-header-row-column";n==="group"?o="ag-header-row-group":n==="filter"&&(o="ag-header-row-filter"),this.headerRowClass=`ag-header-row ${o}`}setRowIndex(e){this.rowIndex=e,this.comp?.setRowIndex(this.getAriaRowIndex()),this.onRowHeightChanged()}postConstruct(){this.isPrintLayout=Jn(this.gos,"print"),this.isEnsureDomOrder=this.gos.get("ensureDomOrder")}areCellsRendered(){return this.comp?this.allCtrls.every(e=>e.eGui!=null):!1}setComp(e,t,n=!0){this.comp=e,t=Np(this,this.beans.context,t),n&&(this.setRowIndex(this.rowIndex),this.onVirtualColumnsChanged()),this.setWidth(),this.addEventListeners(t)}getAriaRowIndex(){return this.rowIndex+1}addEventListeners(e){const t=this.onRowHeightChanged.bind(this),n=this.onDisplayedColumnsChanged.bind(this);e.addManagedEventListeners({columnResized:this.setWidth.bind(this),displayedColumnsChanged:n,virtualColumnsChanged:o=>this.onVirtualColumnsChanged(o.afterScroll),columnGroupHeaderHeight
52Changed:t,columnHeaderHeightChanged:t,gridStylesChanged:t,advancedFilterEnabledChanged:t}),e.addManagedPropertyListener("domLayout",n),e.addManagedPropertyListener("ensureDomOrder",o=>this.isEnsureDomOrder=o.currentValue),e.addManagedPropertyListeners(["headerHeight","pivotHeaderHeight","groupHeaderHeight","pivotGroupHeaderHeight","floatingFiltersHeight"],t)}onDisplayedColumnsChanged(){this.isPrintLayout=Jn(this.gos,"print"),this.onVirtualColumnsChanged(),this.setWidth(),this.onRowHeightChanged()}setWidth(){if(!this.comp)return;const e=this.getWidthForRow();this.comp.setWidth(`${e}px`)}getWidthForRow(){const{visibleCols:e}=this.beans;return this.isPrintLayout?this.pinned!=null?0:e.getContainerWidth("right")+e.getContainerWidth("left")+e.getContainerWidth(null):e.getContainerWidth(this.pinned)}onRowHeightChanged(){if(!this.comp)return;const{topOffset:e,rowHeight:t}=this.getTopAndHeight();this.comp.setTop(e+"px"),this.comp.setHeight(t+"px")}getTopAndHeight(){let e=0;const t=ob(this.beans);for(let i=0;i<t.length;i++){if(i===this.rowIndex&&this.type==="group")return{topOffset:e,rowHeight:t[i]};e+=t[i]}const n=ib(this.beans);if(this.type==="column")return{topOffset:e,rowHeight:n};e+=n;const o=oD(this.beans);return{topOffset:e,rowHeight:o}}onVirtualColumnsChanged(e=!1){if(!this.comp)return;const t=this.getUpdatedHeaderCtrls(),n=this.isEnsureDomOrder||this.isPrintLayout;this.comp.setHeaderCtrls(t,n,e)}getUpdatedHeaderCtrls(){const e=this.ctrlsById;this.ctrlsById=new Map;const t=this.getColumnsInViewport();for(const o of t)this.recycleAndCreateHeaderCtrls(o,this.ctrlsById,e);const n=o=>{const{focusSvc:i,visibleCols:s}=this.beans;return i.isHeaderWrapperFocused(o)?s.isVisible(o.column):!1};if(e)for(const[o,i]of e)n(i)?this.ctrlsById.set(o,i):this.destroyBean(i);return this.allCtrls=Array.from(this.ctrlsById.values()),this.allCtrls}getHeaderCellCtrls(){return this.allCtrls}
52recycleAndCreateHeaderCtrls(e,t,n){if(e.isEmptyGroup())return;const o=e.getUniqueId();let i;if(n&&(i=n.get(o),n.delete(o)),i&&i.column!=e&&(this.destroyBean(i),i=void 0),i==null)switch(this.type){case"filter":{i=this.createBean(this.beans.registry.createDynamicBean("headerFilterCellCtrl",!0,e,this));break}case"group":i=this.createBean(this.beans.registry.createDynamicBean("headerGroupCellCtrl",!0,e,this));break;default:i=this.createBean(new XZ(e,this));break}t.set(o,i)}getColumnsInViewport(){if(!this.isPrintLayout)return this.getComponentsToRender();if(this.pinned)return[];const e=[];for(const t of["left",null,"right"])e.push(...this.getComponentsToRender(t));return e}getComponentsToRender(e=this.pinned){return this.type==="group"?this.beans.colViewport.getHeadersToRender(e,this.rowIndex):this.beans.colViewport.getColumnHeadersToRender(e)}focusHeader(e,t){const n=this.allCtrls.find(i=>i.column==e);return n?n.focus(t):!1}destroy(){this.allCtrls=this.destroyBeans(this.allCtrls),this.ctrlsById=void 0,this.comp=null,super.destroy()}},QZ=class extends we{constructor(e){super(),this.pinned=e,this.hidden=!1,this.includeFloatingFilter=!1,this.groupsRowCtrls=[]}setComp(e,t){this.comp=e,this.eViewport=t;const{pinnedCols:n,ctrlsSvc:o,colModel:i,colMoves:s}=this.beans;this.setupCenterWidth(),n?.setupHeaderPinnedWidth(this),this.setupDragAndDrop(s,this.eViewport);const r=this.refresh.bind(this,!0);this.addManagedEventListeners({displayedColumnsChanged:r,advancedFilterEnabledChanged:r});const a=`${typeof this.pinned=="string"?this.pinned:"center"}Header`;o.register(a,this),i.ready&&this.refresh()}getAllCtrls(){const e=[...this.groupsRowCtrls];return this.columnsRowCtrl&&e.push(this.columnsRowCtrl),this.filtersRowCtrl&&e.push(this.filtersRowCtrl),e}refresh(e=!1){const{focusSvc:t,filterManager:n,visibleCols:o}=this.beans;let i=0;const s=t.getFocusHeaderToUseAfterRefresh(),r=()=>{const d=o.headerGroupRowCount;i=d,e||(this.groupsRowCtrls=this.destroyBeans(this.groupsRowCtrls));const h=this.groupsRowCtrls.length;if(h!==d){if(h>d){for(let p=d;p<h;p++)this.destroyBean(this.groupsRowCtrls[p]);this.groupsRowCtrls.length=d;return}for(let p=h;p<d;p++){const f=this.createBean(new av(p,this.pinned,"group"));this.groupsRowCtrls.push(f)}}},a=()=>{const d=i++;if(this.hidden){this.columnsRowCtrl=this.destroyBean(this.columnsRowCtrl);return}this.columnsRowCtrl==null||!e?(this.columnsRowCtrl=this.destroyBean(this.columnsRowCtrl),this.columnsRowCtrl=this.createBean(new av(d,this.pinned,"column"))):this.columnsRowCtrl.rowIndex!==d&&this.columnsRowCtrl.setRowIndex(d)},l=()=>{this.includeFloatingFilter=!!n?.hasFloatingFilters()&&!this.hidden;const d=()=>{this.filtersRowCtrl=this.destroyBean(this.filtersRowCtrl)};if(!this.includeFloatingFilter){d();return}e||d();const h=i++;this.filtersRowCtrl?this.filtersRowCtrl.rowIndex!==h&&this.filtersRowCtrl.setRowIndex(h):this.filtersRowCtrl=this.createBean(new av(h,this.pinned,"filter"))},c=this.getAllCtrls();r(),a(),l();const u=this.getAllCtrls();this.comp.setCtrls(u),this.restoreFocusOnHeader(t,s),c.length!==u.length&&this.beans.eventSvc.dispatchEvent({type:"headerRowsChanged"})}getHeaderCtrlForColumn(e){const t=n=>n?.getHeaderCellCtrls().find(o=>o.column===e);if(ka(e))return t(this.columnsRowCtrl);if(this.groupsRowCtrls.length!==0)for(let n=0;n<this.groupsRowCtrls.length;n++){const o=t(this.groupsRowCtrls[n]);if(o)return o}}getHtmlElementForColumnHeader(e){return this.getHeaderCtrlForColumn(e)?.eGui??null}getRowType(e){return this.getAllCtrls()[e]?.type}focusHeader(e,t,n){const i=this.getAllCtrls()[e];return i?i.focusHeader(t,n):!1}getGroupRowCount(){return this.groupsRowCtrls.length}getGroupRowCtrlAtIndex(e){return this.groupsRowCtrls[e]}getRowCount(){return this.groupsRowCtrls.length+(this.columnsRowCtrl?1:0)+(this.filtersRowCtrl?1:0)}setHorizontalScroll(e){this.comp.setViewportScrollLeft(e)}onScrollCallback(e){this.addManagedElementListeners(this.eViewport,{scroll:e})}destroy(){this.filtersRowCtrl=this.destroyBean(this.filtersRowCtrl),this.columnsRowCtrl=this.destroyBean(this.columnsRowCtrl),this.groupsRowCtrls=this.destroyBeans(this.groupsRowCtrls),super.destroy()}setupDragAndDrop(e,t){const n=e?.createBodyDropTarget(this.pinned,t);n&&this.createManagedBean(n)}restoreFocusOnHeader(e,t){if(!t)return;const{column:n}=t;n.getPinned()==this.pinned&&e.focusHeaderPosition({headerPosition:t,scroll:!1})}setupCenterWidth(){this.pinned==null&&this.createManagedBean(new tb(e=>this.comp.setCenterWidth(`${e}px`),!0))}},eK=class extends we{constructor(){super(...arguments),this.beanName="menuSvc"}postConstruct(){const{enterpriseMenuFactory:e,filterMenuFactory:t}=this.beans;this.activeMenuFactory=e??t}showColumnMenu(e){this.showColumnMenuCommon(this.activeMenuFactory,e,"columnMenu")}showFilterMenu(e){this.showColumnMenuCommon(P8(this.beans),e,e.containerType,!0)}showHeaderContextMenu(e,t,n){this.activeMenuFactory?.showMenuAfterContextMenuEvent(e,t,n)}hidePopupMenu(){this.beans.contextMenuSvc?.hideActiveMenu(),this.activeMenuFactory?.hideActiveMenu()}hideFilterMenu(){P8(this.beans)?.hideActiveMenu()}isColumnMenuInHeaderEnabled(e){const{suppressHeaderMenuButton:t}=e.getColDef();return!t&&!!this.activeMenuFactory?.isMenuEnabled(e)&&(qo(this.gos)||!!this.beans.enterpriseMenuFactory)}isFilterMenuInHeaderEnabled(e){return!e.getColDef().suppressHeaderFilterButton&&!!this.beans.filterManager?.is
52FilterAllowed(e)}isHeaderContextMenuEnabled(e){return!(e&&ka(e)?e.getColDef():e?.getColGroupDef())?.suppressHeaderContextMenu&&this.gos.get("columnMenu")==="new"}isHeaderMenuButtonAlwaysShowEnabled(){return this.isSuppressMenuHide()}isHeaderMenuButtonEnabled(){const e=!this.isSuppressMenuHide();return!(_l()&&e)}isHeaderFilterButtonEnabled(e){return this.isFilterMenuInHeaderEnabled(e)&&!qo(this.gos)&&!this.isFloatingFilterButtonDisplayed(e)}isFilterMenuItemEnabled(e){return!!this.beans.filterManager?.isFilterAllowed(e)&&!qo(this.gos)&&!this.isFilterMenuInHeaderEnabled(e)&&!this.isFloatingFilterButtonDisplayed(e)}isFloatingFilterButtonEnabled(e){return!e.getColDef().suppressFloatingFilterButton}isFloatingFilterButtonDisplayed(e){return!!e.getColDef().floatingFilter&&this.isFloatingFilterButtonEnabled(e)}isSuppressMenuHide(){const e=this.gos,t=e.get("suppressMenuHide");return qo(e)?e.exists("suppressMenuHide")?t:!1:t}showColumnMenuCommon(e,t,n,o){const{positionBy:i,onClosedCallback:s}=t,r=t.column;if(i==="button"){const{buttonElement:a}=t;e?.showMenuAfterButtonClick(r,a,n,s,o)}else if(i==="mouse"){const{mouseEvent:a}=t;e?.showMenuAfterMouseEvent(r,a,n,s,o)}else if(r){const a=this.beans,l=a.ctrlsSvc;l.getScrollFeature().ensureColumnVisible(r,"auto"),Br(a,()=>{const c=l.getHeaderRowContainerCtrl(r.getPinned())?.getHeaderCtrlForColumn(r);c&&e?.showMenuAfterButtonClick(r,c.getAnchorElementForMenu(o),n,s,o)})}}};function R8(e,t,n){e.menuVisible!==t&&(e.menuVisible=t,e.dispatchColEvent("menuVisibleChanged",n))}function P8(e){const{enterpriseMenuFactory:t,filterMenuFactory:n,gos:o}=e;return t&&qo(o)?t:n}var f0=class extends G4{constructor(){super(...arguments),this.errorMessages=null}init(e){this.params=e,this.initialiseEditor(e),this.eEditor.onValueChange(()=>e.validate())}destroy(){this.errorMessages=null}},rD=class extends jt{constructor(){super()}},tK={tag:"span",cls:"ag-overlay-loading-center"},nK=class extends rD{init(){const e=fr(this.gos.get("overlayLoadingTemplate")?.trim());if(this.setTemplate(e??tK),!e){const n=this.getLocaleTextFunc()("loadingOoo","Loading...");this.getGui().textContent=n,this.beans.ariaAnnounce.announceValue(n,"overlay")}}},oK={tag:"span",cls:"ag-overlay-no-rows-center"},iK=class extends rD{init(){const e=fr(this.gos.get("overlayNoRowsTemplate")?.trim());if(this.setTemplate(e??oK),!e){const n=this.getLocaleTextFunc()("noRowsToShow","No Rows To Show");this.getGui().textContent=n,this.beans.ariaAnnounce.announceValue(n,"overlay")}}};function sK(e,t,n){const o=pi(e,t,n);if(o){const{className:s}=o;if(typeof s=="string"&&s.includes("ag-icon")||typeof s=="object"&&s["ag-icon"])return o}const i=An({tag:"span"});return i.appendChild(o),i}function pi(e,t,n){let o=null;e==="smallDown"?Me(262):e==="smallLeft"?Me(263):e==="smallRight"&&Me(264);const i=n?.getColDef().icons;if(i&&(o=i[e]),t.gos&&!o){const s=t.gos.get("icons");s&&(o=s[e])}if(o){let s;if(typeof o=="function")s=o();else if(typeof o=="string")s=o;else{Me(38,{iconName:e});return}if(typeof s=="string")return k4(s);if(I4(s))return s;Me(133,{iconName:e});return}else{const s=t.registry.getIcon(e);return s||t.validation?.validateIcon(e),An({tag:"span",cls:`ag-icon ag-icon-${s??e}`,role:"presentation",attrs:{unselectable:"on"}})}}var rK=".ag-dnd-ghost{align-items:center;background-color:var(--ag-drag-and-drop-image-background-color);border:var(--ag-drag-and-drop-image-border);border-radius:var(--ag-border-radius);box-shadow:var(--ag-drag-and-drop-image-shadow);color:var(--ag-text-color);cursor:move;display:flex;font-weight:500;gap:var(--ag-cell-widget-spacing);height:var(--ag-header-height);overflow:hidden;padding-left:var(--ag-cell-horizontal-padding);padding-right:var(--ag-cell-horizontal-padding);text-overflow:ellipsis;transform:translateY(calc(var(--ag-spacing)*2));white-space:nowrap}.ag-dnd-ghost-not-allowed{border:var(--ag-drag-and-drop-image-not-allowed-border)}",aK={tag:"div",children:[{tag:"div",ref:"eGhost",cls:"ag-dnd-ghost ag-unselectable",children:[{tag:"span",ref:"eIcon",cls:"ag-dnd-ghost-icon ag-shake-left-to-right"},{tag:"div",ref:"eLabel",cls:"ag-dnd-ghost-label"}]}]},lK=class extends jt{constructor(){super(),this.dragSource=null,this.eIcon=$e,this.eLabel=$e,this.eGhost=$e,this.registerCSS(rK)}postConstruct(){const e=t=>sK(t,this.beans,null);this.dropIconMap={pinned:e("columnMovePin"),hide:e("columnMoveHide"),move:e("columnMoveMove"),left:e("columnMoveLeft"),right:e("columnMoveRight"),group:e("columnMoveGroup"),aggregate:e("columnMoveValue"),pivot:e("columnMovePivot"),notAllowed:e("dropNotAllowed")}}init(e){this.dragSource=e.dragSource,this.setTemplate(aK),this.beans.environment.applyThemeClasses(this.eGhost)}destroy(){this.dragSource=null,super.destroy()}setIcon(e,t){const{eGhost:n,eIcon:o,dragSource:i,dropIconMap:s,gos:r}=this;Xn(o);let a=null;e||(e=i?.getDefaultIconName?i.getDefaultIconName():"notAllowed"),a=s[e],n.classList.toggle("ag-dnd-ghost-not-allowed",e==="notAllowed"),o.classList.toggle("ag-shake-left-to-right",t),
52!(a===s.hide&&r.get("suppressDragLeaveHidesColumns"))&&a&&o.appendChild(a)}setLabel(e){this.eLabel.textContent=e}},cK=".ag-checkbox-cell{height:100%}",uK={tag:"div",cls:"ag-cell-wrapper ag-checkbox-cell",role:"presentation",children:[{tag:"ag-checkbox",ref:"eCheckbox",role:"presentation"}]},dK=class extends jt{constructor(){super(uK,[j4]),this.eCheckbox=$e,this.registerCSS(cK)}init(e){this.refresh(e);const{eCheckbox:t,beans:n}=this,o=t.getInputElement();o.setAttribute("tabindex","-1"),EL(o,"polite"),this.addManagedListeners(o,{click:i=>{if(Xl(i),t.isDisabled())return;const s=t.getValue();this.onCheckboxChanged(s)},dblclick:i=>{Xl(i)}}),this.addManagedElementListeners(e.eGridCell,{keydown:i=>{if(i.key===he.SPACE&&!t.isDisabled()){e.eGridCell===Cn(n)&&t.toggle();const s=t.getValue();this.onCheckboxChanged(s),i.preventDefault()}}})}refresh(e){return this.params=e,this.updateCheckbox(e),!0}updateCheckbox(e){let t,n=!0;const{value:o,column:i,node:s}=e;if(s.group&&i)if(typeof o=="boolean")t=o;else{const d=i.getColId();d.startsWith(c0)?t=o==null||o===""?void 0:o==="true":s.aggData&&s.aggData[d]!==void 0||s.sourceRowIndex>=0?t=o??void 0:n=!1}else t=o??void 0;const{eCheckbox:r}=this;if(!n){r.setDisplayed(!1);return}r.setValue(t);const a=e.disabled??!i?.isCellEditable(s);r.setDisabled(a);const l=this.getLocaleTextFunc(),c=l0(l,t),u=a?c:`${l("ariaToggleCellValue","Press SPACE to toggle cell value")} (${c})`;r.setInputAriaLabel(u)}onCheckboxChanged(e){const{params:t}=this,{column:n,node:o,value:i}=t;this.beans?.editSvc?.setEditingCells([{column:n,colId:n.getColId(),rowIndex:o.rowIndex,rowPinned:o.rowPinned,state:"changed",oldValue:i,newValue:i}],{update:!0,forceRefreshOfEditCellsOnly:!0});const s=o.setDataValue(n,e,"renderer");this.beans.editSvc?.stopEditing({rowNode:o,column:n},{source:this.beans.editSvc?.isBatchEditing()?"ui":"api"}),s||this.updateCheckbox(t)}},M8=class{constructor(e,t){this.beans=e,this.floating=t,this.all=new Set,this.visible=new Set,this.order=[],this.queued=new Set}size(){return this.visible.size}add(e){const{all:t,visible:n,order:o}=this;t.has(e)||(t.add(e),n.add(e),o.push(e),this.sort())}delete(e){this.all.delete(e),this.visible.delete(e),this.queued.delete(e.id),os(this.order,e)}has(e){return this.visible.has(e)}forEach(e){this.order.forEach(e)}getByIndex(e){return this.order[e]}getById(e){for(const t of this.visible)if(t.id==e)return t}clear(){const{all:e,visible:t,order:n,queued:o}=this;e.clear(),o.clear(),t.clear(),n.length=0}sort(){const{sortSvc:e,rowNodeSorter:t,gos:n}=this.beans,o=e?.getSortOptions()??[],i=fK(this.order);if(this.order.sort((r,a)=>(r.pinnedSibling?.rowIndex??0)-(a.pinnedSibling?.rowIndex??0)),this.order=t?.doFullSort(this.order,o)??this.order,!i)return;const s=XL(n);s==="bottom"||s==="pinnedBottom"?this.order.push(i):this.order.unshift(i)}hide(e){const{all:t,visible:n}=this;t.forEach(o=>e(o)?n.delete(o):n.add(o)),this.order=Array.from(n),this.sort()}queue(e){this.queued.add(e)}unqueue(e){this.queued.delete(e)}forEachQueued(e){this.queued.forEach(e)}};function aD(e){if(e.level===-1)return!0;const t=e.parent;return t?.childrenAfterSort?.some(n=>n==e)?aD(t):!1}function lv(e,t){const{gos:n,rowModel:o,filterManager:i}=e;return od(n)?!o.getRowNode(t.id):i?.isAnyFilterPresent()?!aD(t):n.get("pivotMode")?!t.group:!1}function hK(e){return!!e.footer&&e.level===-1}function pK(e){return!!e.pinnedSibling&&hK(e.pinnedSibling)}function fK(e){const t=e.findIndex(pK);if(t>-1)return e.splice(t,1)?.[0]}var L8=class extends we{postConstruct(){const{gos:e,beans:t}=this;this.top=new M8(t,"top"),this.bottom=new M8(t,"bottom");const n=i=>lv(t,i.pinnedSibling),o=()=>{const i=e.get("isRowPinned");i&&e.get("enableRowPinning")&&t.rowModel.forEachNode(s=>this.pinRow(s,i(s)),!0),this.refreshRowPositions(),this.dispatchRowPinnedEvents()};this.addManagedEventListeners({gridStylesChanged:this.onGridStylesChanges.bind(this),modelUpdated:({keepRenderedRows:i})=>{this.tryToEmptyQueues(),this.pinGrandTotalRow(),this.forContainers(r=>r.hide(n));const s=this.refreshRowPositions();(!i||s)&&this.dispatchRowPinnedEvents()},columnRowGroupChanged:()=>{this.forContainers(mK),this.refreshRowPositions()},rowNodeDataChanged:({node:i}
52)=>{(e.get("isRowPinnable")?.(i)??!0)||this.pinRow(i,null)},firstDataRendered:o}),this.addManagedPropertyListener("pivotMode",()=>{this.forContainers(i=>i.hide(n)),this.dispatchRowPinnedEvents()}),this.addManagedPropertyListener("grandTotalRow",({currentValue:i})=>{this._grandTotalPinned=i==="pinnedBottom"?"bottom":i==="pinnedTop"?"top":null}),this.addManagedPropertyListener("isRowPinned",o)}destroy(){this.reset(!1),super.destroy()}reset(e=!0){this.forContainers(t=>{const n=[];t.forEach(o=>n.push(o)),n.forEach(o=>this.pinRow(o,null)),t.clear()}),e&&this.dispatchRowPinnedEvents()}pinRow(e,t,n){if(e.footer&&e.level>-1)return;if(e.footer&&e.level===-1){this._grandTotalPinned=t,CK(this.beans);return}const o=e.rowPinned??e.pinnedSibling?.rowPinned;if(o!=null&&t!=null&&t!=o){const r=e.rowPinned?e:e.pinnedSibling,a=e.rowPinned?e.pinnedSibling:e;this.pinRow(r,null,n),this.pinRow(a,t,n);return}const s=n&&vK(this.beans,e,n);if(s){s.forEach(r=>this.pinRow(r,t));return}if(t==null){const r=e.rowPinned?e:e.pinnedSibling,a=this.findPinnedRowNode(r);if(!a)return;a.delete(r);const l=r.pinnedSibling;cv(r),this.refreshRowPositions(t),this.dispatchRowPinnedEvents(l)}else{const r=x8(this.beans,e,t),a=this.getContainer(t);a.add(r),lv(this.beans,e)&&a.hide(l=>lv(this.beans,l.pinnedSibling)),this.refreshRowPositions(t),this.dispatchRowPinnedEvents(e)}}isManual(){return!0}isEmpty(e){return this.getContainer(e).size()===0}isRowsToRender(e){return!this.isEmpty(e)}ensureRowHeightsValid(){let e=!1,t=0;const n=o=>{if(o.rowHeightEstimated){const i=Da(this.beans,o);o.setRowTop(t),o.setRowHeight(i.height),t+=i.height,e=!0}};return this.bottom.forEach(n),t=0,this.top.forEach(n),this.eventSvc.dispatchEvent({type:"pinnedHeightChanged"}),e}getPinnedTopTotalHeight(){return D8(this.top)}getPinnedBottomTotalHeight(){return D8(this.bottom)}getPinnedTopRowCount(){return this.top.size()}getPinnedBottomRowCount(){return this.bottom.size()}getPinnedTopRow(e){return this.top.getByIndex(e)}getPinnedBottomRow(e){return this.bottom.getByIndex(e)}getPinnedRowById(e,t){return this.getContainer(t).getById(e)}forEachPinnedRow(e,t){this.getContainer(e).forEach(t)}getPinnedState(){const e=t=>{const n=[];return this.forEachPinnedRow(t,o=>n.push(o.pinnedSibling.id)),n};return{top:e("top"),bottom:e("bottom")}}setPinnedState(e){this.forContainers((t,n)=>{for(const o of e[n]){const i=this.beans.rowModel.getRowNode(o);i?this.pinRow(i,n):t.queue(o)}})}getGrandTotalPinned(){return this._grandTotalPinned}setGrandTotalPinned(e){this._grandTotalPinned=e}tryToEmptyQueues(){this.forContainers((e,t)=>{const n=new Set;e.forEachQueued(o=>{const i=this.beans.rowModel.getRowNode(o);i&&n.add(i)});for(const o of n)e.unqueue(o.id),this.pinRow(o,t)})}pinGrandTotalRow(){const{gos:e,beans:t,_grandTotalPinned:n}=this,o=t.rowModel;if(!kn(e))return;const i=o.rootNode?.sibling;if(!i)return;const s=i.pinnedSibling,r=s&&this.findPinnedRowNode(s);if(n){if(r&&r.floating!==n&&(r.delete(s),cv(s)),!r||r.floating!==n){const a=x8(t,i,n);this.getContainer(n).add(a)}}else{if(!r)return;r.delete(s),cv(s)}}onGridStylesChanges(e){e.rowHeightChanged&&this.forContainers(t=>t.forEach(n=>n.setRowHeight(n.rowHeight,!0)))}getContainer(e){return e==="top"?this.top:this.bottom}findPinnedRowNode(e){if(this.top.has(e))return this.top;if(this.bottom.has(e))return this.bottom}refreshRowPositions(e){const t=o=>gK(this.beans,o);if(e)return t(this.getContainer(e));let n=!1;return this.forContainers(o=>{const i=t(o);n||(n=i)}),n}forContainers(e){e(this.top,"top"),e(this.bottom,"bottom")}dispatchRowPinnedEvents(e){this.eventSvc.dispatchEvent({type:"pinnedRowsChanged"}),e?.dispatchRowEvent("rowPinned")}};function gK(e,t){let n=0,o=!1;return t.forEach((i,s)=>{if(o||(o=i.rowTop!==n),i.setRowTop(n),i.rowHeightEstimated||i.rowHeight==null){const r=Da(e,i).height;o||(o=i.rowHeight!==r),i.setRowHeight(r)}i.setRowIndex(s),n+=i.rowHeight}),o}function x8(e,t,n){if(t.pinnedSibling)return t.pinnedSibling;const o=Aj(t,e);o.setRowTop(null),o.setRowIndex(null),o.rowPinned=n;const i=n==="top"?X4:J4;return o.id=`${i}${n}-${t.id}`,o.pinnedSibling=t,t.pinnedSibling=o,o}function cv(e){if(!e.pinnedSibling)return;e.rowPinned=null,e.setRowTop(null),e.setRowIndex(null);const t=e.pinnedSibling;e.pinnedSibling=void 0,t&&(t.pinnedSibling=void 0,t.rowPinned=null)}function mK(e){const t=new Set;e.forEach(n=>
vendor: 8,923 bytes, line 52
52{n.group&&t.add(n)}),t.forEach(n=>e.delete(n))}function vK(e,t,n){const{rowSpanSvc:o}=e,i=(n&&o?.isCellSpanning(n,t))??!1;if(n&&i)return o?.getCellSpan(n,t)?.spannedNodes}function D8(e){const t=e.size();if(t===0)return 0;const n=e.getByIndex(t-1);return n===void 0?0:n.rowTop+n.rowHeight}function CK({gos:e,rowModel:t}){kn(e)&&t.refreshModel({step:"map"})}var k8=class extends we{constructor(){super(...arguments),this.nextId=0,this.pinnedTopRows={cache:{},order:[]},this.pinnedBottomRows={cache:{},order:[]}}postConstruct(){const e=this.gos;this.setPinnedRowData(e.get("pinnedTopRowData"),"top"),this.setPinnedRowData(e.get("pinnedBottomRowData"),"bottom"),this.addManagedPropertyListener("pinnedTopRowData",t=>this.setPinnedRowData(t.currentValue,"top")),this.addManagedPropertyListener("pinnedBottomRowData",t=>this.setPinnedRowData(t.currentValue,"bottom")),this.addManagedEventListeners({gridStylesChanged:this.onGridStylesChanges.bind(this)})}reset(){}isEmpty(e){return this.getCache(e).order.length===0}isRowsToRender(e){return!this.isEmpty(e)}isManual(){return!1}pinRow(e,t){}onGridStylesChanges(e){if(e.rowHeightChanged){const t=n=>{n.setRowHeight(n.rowHeight,!0)};xd(this.pinnedBottomRows,t),xd(this.pinnedTopRows,t)}}ensureRowHeightsValid(){let e=!1,t=0;const n=o=>{if(o.rowHeightEstimated){const i=Da(this.beans,o);o.setRowTop(t),o.setRowHeight(i.height),t+=i.height,e=!0}};return xd(this.pinnedBottomRows,n),t=0,xd(this.pinnedTopRows,n),this.eventSvc.dispatchEvent({type:"pinnedHeightChanged"}),e}setPinnedRowData(e,t){this.updateNodesFromRowData(e,t),this.eventSvc.dispatchEvent({type:"pinnedRowDataChanged"})}updateNodesFromRowData(e,t){const n=this.getCache(t);if(e===void 0){n.order.length=0,n.cache={};return}const o=Lu(this.gos),i=t==="top"?X4:J4,s=new Set(n.order),r=[],a=new Set;let l=0,c=-1;for(const u of e){const d=o?.({data:u,level:0,rowPinned:t})??i+this.nextId++;if(a.has(d)){Me(96,{id:d,data:u});continue}c++,a.add(d),r.push(d);const h=ch(n,d);if(h!==void 0)h.data!==u&&h.updateData(u),l+=this.setRowTopAndRowIndex(h,l,c),s.delete(d);else{const p=new Aa(this.beans);p.id=d,p.data=u,p.rowPinned=t,l+=this.setRowTopAndRowIndex(p,l,c),n.cache[d]=p,n.order.push(d)}}for(const u of s)ch(n,u)?.clearRowTopAndRowIndex(),delete n.cache[u];n.order=r}setRowTopAndRowIndex(e,t,n){return e.setRowTop(t),e.setRowHeight(Da(this.beans,e).height),e.setRowIndex(n),e.rowHeight}getPinnedTopTotalHeight(){return A8(this.pinnedTopRows)}getPinnedBottomTotalHeight(){return A8(this.pinnedBottomRows)}getPinnedTopRowCount(){return v5(this.pinnedTopRows)}getPinnedBottomRowCount(){return v5(this.pinnedBottomRows)}getPinnedTopRow(e){return m5(this.pinnedTopRows,e)}getPinnedBottomRow(e){return m5(this.pinnedBottomRows,e)}getPinnedRowById(e,t){return ch(this.getCache(t),e)}forEachPinnedRow(e,t){return xd(this.getCache(e),t)}getCache(e){return e==="top"?this.pinnedTopRows:this.pinnedBottomRows}getPinnedState(){return{top:[],bottom:[]}}setPinnedState(){}getGrandTotalPinned(){}setGrandTotalPinned(){}};function A8(e){const t=v5(e);if(t===0)return 0;const n=m5(e,t-1);return n===void 0?0:n.rowTop+n.rowHeight}function ch(e,t){return e.cache[t]}function m5(e,t){return ch(e,e.order[t])}function xd(e,t){e.order.forEach((n,o)=>{const i=ch(e,n);i&&t(i,o)})}function v5(e){return e.order.length}var bK=class extends we{constructor(){super(...arguments),this.beanName="pinnedRowModel"}postConstruct(){const{gos:e}=this,t=()=>{const n=e.get("enableRowPinning"),o=XL(e),s=!!n||(o==="pinnedBottom"||o==="pinnedTop"),r=s?this.inner instanceof k8:this.inner instanceof L8;this.inner&&r&&this.destroyBean(this.inner),(r||!this.inner)&&(this.inner=this.createManagedBean(s?new L8:new k8))};this.addManagedPropertyListeners(["enableRowPinning","grandTotalRow"],t),t()}reset(){return this.inner.reset()}isEmpty(e){return this.inner.isEmpty(e)}isManual(){return this.inner.isManual()}isRowsToRender(e){return this.inner.isRowsToRender(e)}pinRow(e,t,n){return this.inner.pinRow(e,t,n)}ensureRowHeightsValid(){return this.inner.ensureRowHeightsValid()}getPinnedRowById(e,t){return this.inner.getPinnedRowById(e,t)}getPinnedTopTotalHeight(){return this.inner.getPinnedTopTotalHeight()}getPinnedBottomTotalHeight(){return this.inner.getPinnedBottomTotalHeight()}getPinnedTopRowCount(){return this.inner.getPinnedTopRowCount()}getPinnedBottomRowCount(){return this.inner.getPinnedBottomRowCount()}getPinnedTopRow(e){return this.inner.getPinnedTopRow(e)}getPinnedBottomRow(e){return this.inner.getPinnedBottomRow(e)}forEachPinnedRow(e,t){return this.inner.forEachPinnedRow(e,t)}getPinnedState(){return this.inner.getPinnedState()}setPinnedState(e){return this.inner.setPinnedState(e)}setGrandTotalPinned(e){return this.inner.setGrandTotalPinned(e)}getGrandTotalPinned(){return this.inner.getGrandTotalPinned()}};function $p(e){return!!(e.rowPinned&&e.pinnedSibling)}function ai(e,t,n,o){const i=t==="top";if(!n)return ai(e,t,i?e.getPinnedTopRow(0):e.getPinnedBottomRow(0),o);if(!o){const l=i?e.getPinnedTopRowCount():e.getPinnedBottomRowCount();return ai(e,t,n,i?e.getPinnedTopRow(l-1):e.getPinnedBottomRow(l-1))}let s=!1,r=!1;const a=[];return e.forEachPinnedRow(t,l=>{if(l===n&&!s){s=!0,a.push(l);return}if(s&&l===o){r=!0,a.push(l);return}s&&!r&&a.push(l)}),a}var yK={tag:"div",cls:"ag-selection-checkbox",role:"presentation",children:[{tag:"ag-checkbox",ref:"eCheckbox",role:"presentation"}]},wK=class extends jt{constructor(){super(yK,[j4]),this.eCheckbox=$e}postConstruct(){this.eCheckbox.setPassive(!0)}onDataChanged(){this.onSelectionChanged()}onSelectableChanged(){this.showOrHideSelect()}onSelectionChanged(){const e=this.getLocaleTextFunc(),{rowNode:t,eCheckbox:n}=this,o=t.isSelected(),i=l0(e,o),[s,r]=t.selectable?["ariaRowToggleSelection","Press Space to toggle row selection"]:["ariaRowSelectionDisabled","Row Selection is disabled for this row"],a=e(s,r);n.setValue(o,!0),n.setInputAriaLabel(`${a} (${i})`)}init(e){if(this.rowNode=e.rowNode,this.column=e.column,this.overrides=e.overrides,this.onSelectionChanged(),this.addManagedListeners(this.eCheckbox.getInputElement(),{dblclick:Xl,click:o=>{Xl(o),this.beans.selectionSvc?.handleSelectionEvent(o,this.rowNode,"checkboxSelected")}}),this.addManagedListeners(this.rowNode,{rowSelected:this.onSelectionChanged.bind(this),dataChanged:this.onDataChanged.bind(this),selectableChanged:this.onSelectableChanged.bind(this)}),this.addManagedPropertyListener("rowSelection",({currentValue:o,previousValue:i})=>{const s=typeof o=="object"?U2(o):void 0,r=typeof i=="object"?U2(i):void 0;s!==r&&this.onSelectableChanged()}),o5(this.gos)||typeof this.getIsVisible()=="function"){const o=this.showOrHideSelect.bind(this);this.addManagedEventListeners({displayedColumnsChanged:o}),this.addManagedListeners(this.rowNode,{dataChanged:o,cellChanged:o}),this.showOrHideSelect()}this.eCheckbox.getInputElement().setAttribute("tabindex","-1")}showOrHideSelect(){const{column:e,rowNode:t,overrides:n,gos:o}=this,i=t.selectable,s=this.getIsVisible();let r;if(typeof s=="function"){const d=n?.callbackParams;if(!e)r=s({...d,node:t,data:t.data});else{const h=e.createColumnFunctionCallbackParams(t);r=s({...d,...h})}}else r=s??!1;const a=i&&!r||!i&&r,l=i||r,c=o.get("rowSelection"),u=c&&typeof c!="string"?!U2(c):!!e?.getColDef().showDisabledCheckboxes;this.setVisible(l&&(a?u:!0)),this.setDisplayed(l&&(a?u:!0)),l&&this.eCheckbox.setDisabled(a),n?.removeHidden&&this.setDisplayed(l)}getIsVisible(){const e=this.overrides;if(e)return e.isVisible;const t=this.gos.get("rowSelection");return t&&typeof t!="string"?du(t):this.column?.getColDef()?.checkboxSelection}},SK=class{constructor(e,t){this.rowModel=e,this.pinnedRowModel=t,this.selectAll=!1,this.rootId=null,this.endId=null,this.cachedRange=[]}reset(){this.rootId=null,this.endId=null,this.cachedRange.length=0}setRoot(e){this.rootId=e.id,this.endId=null,this.cachedRange.length=0}setEndRange(e){this.endId=e.id,this.cachedRange.length=0}getRange(){if(this.cachedRange.length===0){const e=this.getRoot(),t=this.getEnd();if(e==null||t==null)return this.cachedRange;this.cachedRange=this.getNodesInRange(e,t)??[]}return this.cachedRange}isInRange(e){return this.rootId===null?!1:this.getRange().some(t=>t.id===e.id)}getRoot(e){if(this.rootId)return this.getRowNode(this.rootId);if(e)return this.setRoot(e),e}getEnd(){if(this.endId)return this.getRowNode(this.endId)}getRowNode(e){let t;const{rowModel:n,pinnedRowModel:o}=this;return t??(t=n.getRowNode(e)),o?.isManual()&&(t??(t=o.getPinnedRowById(e,"top")),t??(t=o.getPinnedRowById(e,"bottom"))),t}truncate(e){const t=this.getRange();if(t.length===0)return{keep:[],discard:[]};const n=t[0].id===this.rootId,o=t.findIndex(i=>i.id===e.id);if(o>-1){const i=t.slice(0,o),s=t.slice(o+1);return this.setEndRange(e),n?{keep:i,discard:s}:{keep:s,discard:i}}else return{keep:t,discard:[]}}extend(e,t=!1){const n=this.getRoot();if(n==null){const i=this.getRange().slice();return t&&e.depthFirstSearch(s=>
52!s.group&&i.push(s)),i.push(e),this.setRoot(e),{keep:i,discard:[]}}const o=this.getNodesInRange(n,e);if(!o)return this.setRoot(e),{keep:[e],discard:[]};if(o.find(i=>i.id===this.endId))return this.setEndRange(e),{keep:this.getRange(),discard:[]};{const i=this.getRange().slice();return this.setEndRange(e),{keep:this.getRange(),discard:i}}}getNodesInRange(e,t){const{pinnedRowModel:n,rowModel:o}=this;if(!n?.isManual())return o.getNodesInRangeForSelection(e,t);if(e.rowPinned==="top"&&!t.rowPinned)return ai(n,"top",e,void 0).concat(o.getNodesInRangeForSelection(o.getRow(0),t)??[]);if(e.rowPinned==="bottom"&&!t.rowPinned){const i=ai(n,"bottom",void 0,e),s=o.getRowCount(),r=o.getRow(s-1);return(o.getNodesInRangeForSelection(t,r)??[]).concat(i)}if(!e.rowPinned&&!t.rowPinned)return o.getNodesInRangeForSelection(e,t);if(e.rowPinned==="top"&&t.rowPinned==="top")return ai(n,"top",e,t);if(e.rowPinned==="bottom"&&t.rowPinned==="top"){const i=ai(n,"top",t,void 0),s=ai(n,"bottom",void 0,e),r=o.getRow(0),a=o.getRow(o.getRowCount()-1);return i.concat(o.getNodesInRangeForSelection(r,a)??[]).concat(s)}if(!e.rowPinned&&t.rowPinned==="top")return ai(n,"top",t,void 0).concat(o.getNodesInRangeForSelection(o.getRow(0),e)??[]);if(e.rowPinned==="top"&&t.rowPinned==="bottom"){const i=ai(n,"top",e,void 0),s=ai(n,"bottom",void 0,t),r=o.getRow(0),a=o.getRow(o.getRowCount()-1);return i.concat(o.getNodesInRangeForSelection(r,a)??[]).concat(s)}if(e.rowPinned==="bottom"&&t.rowPinned==="bottom")return ai(n,"bottom",e,t);if(!e.rowPinned&&t.rowPinned==="bottom"){const i=ai(n,"bottom",void 0,t),s=o.getRow(o.getRowCount());return(o.getNodesInRangeForSelection(e,s)??[]).concat(i)}return null}},EK=class extends we{constructor(e){super(),this.column=e,this.cbSelectAllVisible=!1,this.processingEventFromCheckbox=!1}onSpaceKeyDown(e){const t=this.cbSelectAll;t.isDisplayed()&&!t.getGui().contains(Cn(this.beans))&&(e.preventDefault(),t.setValue(!t.getValue()))}getCheckboxGui(){return this.cbSelectAll.getGui()}setComp(e){this.headerCellCtrl=e;const t=this.createManagedBean(new U4);this.cbSelectAll=t,t.addCss("ag-header-select-all"),La(t.getGui(),"presentation"),this.showOrHideSelectAll();const n=this.updateStateOfCheckbox.bind(this);this.addManagedEventListeners({newColumnsLoaded:()=>this.showOrHideSelectAll(),displayedColumnsChanged:this.onDisplayedColumnsChanged.bind(this),selectionChanged:n,paginationChanged:n,modelUpdated:n}),this.addManagedPropertyListener("rowSelection",({currentValue:o,previousValue:i})=>{const s=r=>typeof r=="string"||!r||r.mode==="singleRow"?void 0:r.selectAll;s(o)!==s(i)&&this.showOrHideSelectAll(),this.updateStateOfCheckbox()}),this.addManagedListeners(t,{fieldValueChanged:this.onCbSelectAll.bind(this)}),t.getInputElement().setAttribute("tabindex","-1"),this.refreshSelectAllLabel()}onDisplayedColumnsChanged(e){this.isAlive()&&this.showOrHideSelectAll(e.source==="uiColumnMoved")}showOrHideSelectAll(e=!1){const t=this.isCheckboxSelection();this.cbSelectAllVisible=t,this.cbSelectAll.setDisplayed(t),t&&(this.checkRightRowModelType("selectAllCheckbox"),this.checkSelectionType("selectAllCheckbox"),this.updateStateOfCheckbox()),this.refreshSelectAllLabel(e)}updateStateOfCheckbox(){if(!this.cbSelectAllVisible||this.processingEventFromCheckbox)return;this.processingEventFromCheckbox=!0;const e=this.getSelectAllMode(),t=this.beans.selectionSvc,n=this.cbSelectAll,o=t.getSelectAllState(e);n.setValue(o);const i=t.hasNodesToSelect(e);n.setDisabled(!i),this.refreshSelectAllLabel(),this.processingEventFromCheckbox=!1}refreshSelectAllLabel(e=!1){const t=this.getLocaleTextFunc(),{headerCellCtrl:n,cbSelectAll:o,cbSelectAllVisible:i}=this,s=o.getValue(),r=l0(t,s),a=t("ariaRowSelectAll","Press Space to toggle all rows selection");n.setAriaDescriptionProperty("selectAll",i?`${a} (${r})`:null),o.setInputAriaLabel(t("ariaHeaderSelection","Column with Header Selection")),e||n.announceAriaDescription()}checkSelectionType(e){return Gh(this.gos)?!0:(Me(128,{feature:e}),!1)}checkRightRowModelType(e){const{gos:t,rowModel:n}=this.beans;return kn(t)||od(t)?!0:(Me(129,{feature:e,rowModel:n.getType()}),!1)}onCbSelectAll(){if(this.processingEventFromCheckbox||!this.cbSelectAllVisible)return;const e=this.cbSelectAll.getValue(),t=this.getSelectAllMode();let n="uiSelectAll";t==="currentPage"?n="uiSelectAllCurrentPage":t==="filtered"&&(n="uiSelectAllFiltered");const o={source:n,selectAll:t},i=this.beans.selectionSvc;e?i.selectAllRowNodes(o):i.deselectAllRowNodes(o)}isCheckboxSelection(){const{column:e,gos:t,beans:n}=this,s=typeof t.get("rowSelection")=="object"?"headerCheckbox":"headerCheckboxSelection";return lD(n,e)&&this.checkRightRowModelType(s)&&this.checkSelectionType(s)}getSelectAllMode(){const e=tx(this.gos,!1);if(e)return e;const{headerCheckboxSelectionCurrentPageOnly:t,headerCheckboxSelectionFilteredOnly:n}=this.column.getColDef();return t?"currentPage":n?"filtered":"all"}destroy(){super.destroy(),this.cbSelectAll=void 0,this.headerCellCtrl=void 0}};function lD({gos:e,selectionColSvc:t},n){const o=e.get("rowSelection"),i=n.getColDef(),{headerCheckboxSelection:s}=i;let r=!1;if(typeof o=="object"){const l=Hr(n),c=$4(n);(jg(o)==="autoGroupColumn"&&c||l&&t?.isSelectionColumnEnabled())&&(r=C1(o))}else typeof s=="function"?r=s(st(e,{column:n,colDef:i})):r=!!s;return r}var TK=class extends we{postConstruct(){const{gos:e,beans:t}=this;this.selectionCtx=new SK(t.rowModel,t.pinnedRowModel),this.addManagedPropertyListeners(["isRowSelectable","rowSelection"],()=>{const n=o5(e);n!==this.isRowSelectable&&(this.isRowSelectable=n,this.updateSelectable())}),this.isRowSelectable=o5(e),this.addManagedEventListeners({cellValueChanged:n=>this.updateRowSelectable(n.node),rowNodeDataChanged:n=>this.updateRowSelectable(n.node)})}destroy(){super.destroy(),this.selectionCtx.reset()}createCheckboxSelectionComponent(){return new wK}
52createSelectAllFeature(e){if(lD(this.beans,e))return new EK(e)}isMultiSelect(){return Gh(this.gos)}onRowCtrlSelected(e,t,n){const o=!!e.rowNode.isSelected();e.forEachGui(n,i=>{i.rowComp.toggleCss("ag-row-selected",o);const s=i.element;PL(s,o),s.contains(Cn(this.beans))&&t(i)})}announceAriaRowSelection(e){if(this.isRowSelectionBlocked(e))return;const t=e.isSelected(),n=this.beans.editSvc?.isEditing({rowNode:e});if(!e.selectable||n)return;const i=this.getLocaleTextFunc()(t?"ariaRowDeselect":"ariaRowSelect",`Press SPACE to ${t?"deselect":"select"} this row`);this.beans.ariaAnnounce?.announceValue(i,"rowSelection")}isRowSelectionBlocked(e){return!e.selectable||e.rowPinned&&!$p(e)||!kl(this.gos)}updateRowSelectable(e,t){const n=e.rowPinned&&e.pinnedSibling?e.pinnedSibling.selectable:this.isRowSelectable?.(e)??!0;return this.setRowSelectable(e,n,t),n}setRowSelectable(e,t,n){if(e.selectable!==t){if(e.selectable=t,e.dispatchRowEvent("selectableChanged"),n)return;if(zh(this.gos)){const i=this.calculateSelectedFromChildren(e);this.setNodesSelected({nodes:[e],newValue:i??!1,source:"selectableChanged"});return}e.isSelected()&&!e.selectable&&this.setNodesSelected({nodes:[e],newValue:!1,source:"selectableChanged"})}}calculateSelectedFromChildren(e){let t=!1,n=!1;if(!e.childrenAfterGroup?.length)return e.selectable?e.__selected:null;for(let o=0;o<e.childrenAfterGroup.length;o++){const i=e.childrenAfterGroup[o];let s=i.isSelected();if(!i.selectable){const r=this.calculateSelectedFromChildren(i);if(r===null)continue;s=r}switch(s){case!0:t=!0;break;case!1:n=!0;break;default:return}}if(!(t&&n))return t?!0:n?!1:e.selectable?e.__selected:null}selectRowNode(e,t,n,o="api"){const i=!e.selectable&&t,s=e.__selected===t;if(i||s)return!1;e.__selected=t,e.dispatchRowEvent("rowSelected");const r=e.sibling;r&&r.footer&&r.__localEventService&&r.dispatchRowEvent("rowSelected");const a=e.pinnedSibling;return a?.rowPinned&&a.__localEventService&&a.dispatchRowEvent("rowSelected"),this.eventSvc.dispatchEvent({...Dj(e,this.gos,"rowSelected"),event:n||null,source:o}),!0}isCellCheckboxSelection(e,t){const n=this.gos.get("rowSelection");if(n&&typeof n!="string"){const o=Hr(e)&&du(n);return e.isColumnFunc(t,o)}else return e.isColumnFunc(t,e.colDef.checkboxSelection)}inferNodeSelections(e,t,n,o){const{gos:i,selectionCtx:s}=this,r=e.isSelected(),a=zh(i),l=QG(i),c=ez(i),u=this.isMultiSelect(),d=o==="rowClicked";if(d&&!(l||c))return null;if(t&&n&&u){const h=s.getRoot();if(h)if(h.isSelected()){const p=s.isInRange(e)?s.truncate(e):s.extend(e,a);return{deselect:p.discard,select:p.keep,reset:!1}}else{const p=s.extend(e,a);return{select:[],deselect:p.keep,reset:!1}}else return null}else if(t&&u){const h=s.selectAll?this.beans.rowModel.getRow(0):void 0,p=s.getRoot(h),f=s.isInRange(e)?s.truncate(e):s.extend(e,a);return{select:f.keep,deselect:f.discard,reset:s.selectAll||!!(p&&!p.isSelected())}}else if(n){if(d){const h=!r;return h&&!l||!h&&!c?null:(s.setRoot(e),{node:e,newValue:h,clearSelection:!1})}return s.setRoot(e),{node:e,newValue:!r,clearSelection:!u}}else{s.setRoot(e);const h=tz(i),p=Kg(i)==="filteredDescendants",f=d&&(!h||!l);if(p&&r===void 0&&kn(i))return{node:e,newValue:!1,checkFilteredNodes:!0,clearSelection:!u||f};if(d){const g=r?!h:l;return g===r&&!f||g&&!l||!g&&!c?null:{node:e,newValue:g,clearSelection:!u||f,keepDescendants:e.group&&a}}return{node:e,newValue:!r,clearSelection:!u||f}}}},uv={TAB_GUARD:"ag-tab-guard",TAB_GUARD_TOP:"ag-tab-guard-top",TAB_GUARD_BOTTOM:"ag-tab-guard-bottom"},RK=class extends we{constructor(e){super(),this.skipTabGuardFocus=!1,this.forcingFocusOut=!1,this.allowFocus=!1;const{comp:t,eTopGuard:n,eBottomGuard:o,focusTrapActive:i,forceFocusOutWhenTabGuardsAreEmpty:s,isFocusableContainer:r,focusInnerElement:a,onFocusIn:l,onFocusOut:c,shouldStopEventPropagation:u,onTabKeyDown:d,handleKeyDown:h,isEmpty:p,eFocusableElement:f}=e;this.comp=t,this.eTopGuard=n,this.eBottomGuard=o,this.providedFocusInnerElement=a,this.eFocusableElement=f,this.focusTrapActive=!!i,this.forceFocusOutWhenTabGuardsAreEmpty=!!s,this.isFocusableContainer=!!r,this.providedFocusIn=l,this.providedFocusOut=c,this.providedShouldStopEventPropagation=u,this.providedOnTabKeyDown=d,this.providedHandleKeyDown=h,this.providedIsEmpty=p}postConstruct(){this.createManagedBean(new id(this.eFocusableElement,{shouldStopEventPropagation:()=>this.shouldStopEventPropagation(),onTabKeyDown:e=>this.onTabKeyDown(e),handleKeyDown:e=>this.handleKeyDown(e),onFocusIn:e=>this.onFocusIn(e),onFocusOut:e=>this.onFocusOut(e)})),this.activateTabGuards();for(const e of[this.eTopGuard,this.eBottomGuard])this.addManagedElementListeners(e,{focus:this.onFocus.bind(this)})}handleKeyDown(e){this.providedHandleKeyDown&&this.providedHandleKeyDown(e)}tabGuardsAreActive(){return!!this.eTopGuard&&this.eTopGuard.hasAttribute("tabIndex")}shouldStopEventPropagation(){return this.providedShouldStopEventPropagation?this.providedShouldStopEventPropagation():!1}activateTabGuards(){if(this.forcingFocusOut)return;const e=this.gos.get("tabIndex");this.comp.setTabIndex(e.toString())}deactivateTabGuards(){this.comp.setTabIndex()}onFocus(e){if(this.isFocusableContainer&&!this.eFocusableElement.contains(e.relatedTarget)&&!this.allowFocus){this.findNextElementOutsideAndFocus(e.target===this.eBottomGuard);return}if(this.skipTabGuardFocus){this.skipTabGuardFocus=!1;return}if(this.forceFocusOutWhenTabGuardsAreEmpty&&(this.providedIsEmpty?this.providedIsEmpty():pu(this.eFocusableElement,".ag-tab-guard").length===0)){this.findNextElementOutsideAndFocus(e.target===this.eBottomGuard);return}if(this.isFocusableContainer&&this.eFocusableElement.contains(e.relatedTarget))return;const t=e.target===this.eBottomGuard;!(this.providedFocusInnerElement?this.providedFocusInnerElement(t):this.focusInnerElement(t))&&this.forceFocusOutWhenTabGuardsAreEmpty&&this.findNextElementOutsideAndFocus(e.target===this.eBottomGuard)}findNextElementOutsideAndFocus(e){const t=Un(this.beans),n=pu(t.body,null,!0),o=n.indexOf(e?this.eTopGuard:this.eBottomGuard);if(o===-1)return;let i,s;e?(i=0,s=o):(i=o+1,s=n.length);const r=n.slice(i,s),a=this.gos.get("tabIndex");r.sort((l,c)=>{const u=Number.parseInt(l.getAttribute("tabindex")||"0"),d=Number.parseInt(c.getAttribute("tabindex")||"0");return d===a?1:u===a?-1:u===0?1:d===0?-1:u-d}),r[e?r.length-1:0]?.focus()}onFocusIn(e){this.focusTrapActive||this.forcingFocusOut||(this.providedFocusIn&&this.providedFocusIn(e),this.isFocusableContainer||this.deactivateTabGuards())}onFocusOut(e){this.focusTrapActive||(this.providedFocusOut&&this.providedFocusOut(e),this.eFocusableElement.contains(e.relatedTarget)||this.activateTabGuards())}onTabKeyDown(e){if(this.providedOnTabKeyDown){this.providedOnTabKeyDown(e);return}if(this.focusTrapActive||e.defaultPrevented)return;const t=this.tabGuardsAreActive();t&&this.deactivateTabGuards();const n=this.getNextFocusableElement(e.shiftKey);t&&setTimeout(()=>this.activateTabGuards(),0),n&&(n.focus(),e.preventDefault())}focusInnerElement(e=!1){const t=pu(this.eFocusableElement);return this.tabGuardsAreActive()&&(t.splice(0,1),t.splice(t.length-1,1)),t.length?(t[e?t.length-1:0].focus({preventScroll:!0}),!0):!1}
52getNextFocusableElement(e){return fc(this.beans,this.eFocusableElement,!1,e)}forceFocusOutOfContainer(e=!1){if(this.forcingFocusOut)return;const t=e?this.eTopGuard:this.eBottomGuard;this.activateTabGuards(),this.skipTabGuardFocus=!0,this.forcingFocusOut=!0,t.focus(),window.setTimeout(()=>{this.forcingFocusOut=!1,this.activateTabGuards()})}isTabGuard(e,t){return e===this.eTopGuard&&!t||e===this.eBottomGuard&&(t??!0)}setAllowFocus(e){this.allowFocus=e}},PK=class extends we{constructor(e){super(),this.comp=e}initialiseTabGuard(e){this.eTopGuard=this.createTabGuard("top"),this.eBottomGuard=this.createTabGuard("bottom"),this.eFocusableElement=this.comp.getFocusableElement();const{eTopGuard:t,eBottomGuard:n,eFocusableElement:o}=this,i=[t,n],s={setTabIndex:m=>{for(const v of i)m!=null?v.setAttribute("tabindex",m):v.removeAttribute("tabindex")}};this.addTabGuards(t,n);const{focusTrapActive:r=!1,onFocusIn:a,onFocusOut:l,focusInnerElement:c,handleKeyDown:u,onTabKeyDown:d,shouldStopEventPropagation:h,isEmpty:p,forceFocusOutWhenTabGuardsAreEmpty:f,isFocusableContainer:g}=e;this.tabGuardCtrl=this.createManagedBean(new RK({comp:s,focusTrapActive:r,eTopGuard:t,eBottomGuard:n,eFocusableElement:o,onFocusIn:a,onFocusOut:l,focusInnerElement:c,handleKeyDown:u,onTabKeyDown:d,shouldStopEventPropagation:h,isEmpty:p,forceFocusOutWhenTabGuardsAreEmpty:f,isFocusableContainer:g}))}getTabGuardCtrl(){return this.tabGuardCtrl}createTabGuard(e){const t=Un(this.beans).createElement("div"),n=e==="top"?uv.TAB_GUARD_TOP:uv.TAB_GUARD_BOTTOM;return t.classList.add(uv.TAB_GUARD,n),La(t,"presentation"),t}addTabGuards(e,t){const n=this.eFocusableElement;n.insertAdjacentElement("afterbegin",e),n.insertAdjacentElement("beforeend",t)}removeAllChildrenExceptTabGuards(){const e=[this.eTopGuard,this.eBottomGuard];Xn(this.comp.getFocusableElement()),this.addTabGuards(...e)}forceFocusOutOfContainer(e=!1){this.tabGuardCtrl.forceFocusOutOfContainer(e)}appendChild(e,t,n){I4(t)||(t=t.getGui());const{eBottomGuard:o}=this;o?o.insertAdjacentElement("beforebegin",t):e(t,n)}destroy(){const{eTopGuard:e,eBottomGuard:t}=this;ji(e),ji(t),super.destroy()}},cD=class extends jt{initialiseTabGuard(e){this.tabGuardFeature=this.createManagedBean(new PK(this)),this.tabGuardFeature.initialiseTabGuard(e)}forceFocusOutOfContainer(e=!1){this.tabGuardFeature.forceFocusOutOfContainer(e)}appendChild(e,t){this.tabGuardFeature.appendChild(super.appendChild.bind(this),e,t)}},MK=500,LK=550,Ff,xK=e=>{if(!Ff)Ff=new WeakSet;else if(Ff.has(e))return!1;return Ff.add(e),!0},hl=class{constructor(e,t=!1){this.eElement=e,this.preventClick=t,this.startListener=null,this.handlers=[],this.eventSvc=void 0,this.touchStart=null,this.lastTapTime=null,this.longPressTimer=0,this.moved=!1}addEventListener(e,t){let n=this.eventSvc;if(!n){if(n===null)return;this.eventSvc=n=new Kl;const o=this.onTouchStart.bind(this);this.startListener=o,this.eElement.addEventListener("touchstart",o,{passive:!0})}n.addEventListener(e,t)}removeEventListener(e,t){this.eventSvc?.removeEventListener(e,t)}onTouchStart(e){if(this.touchStart||!xK(e))return;const t=e.touches[0];this.touchStart=t;const n=this.handlers;if(!n.length){const o=this.eElement,i=o.ownerDocument,s=this.onTouchMove.bind(this),r=this.onTouchEnd.bind(this),a=this.onTouchCancel.bind(this),l={passive:!0},c={passive:!1};m1(n,[o,"touchmove",s,l],[i,"touchcancel",a,l],[i,"touchend",r,c],[i,"contextmenu",ga,c])}this.clearLongPress(),this.longPressTimer=window.setTimeout(()=>{this.longPressTimer=0,this.touchStart===t&&!this.moved&&(this.moved=!0,this.eventSvc?.dispatchEvent({type:"longTap",touchStart:t,touchEvent:e}))},LK)}onTouchMove(e){const{moved:t,touchStart:n}=this;if(!t&&n){const o=rh(n,e.touches);o&&!OL(o,n,4)&&(this.clearLongPress(),this.moved=!0)}}onTouchEnd(e){const t=this.touchStart;!t||!rh(t,e.changedTouches)||(this.moved||(this.eventSvc?.dispatchEvent({type:"tap",touchStart:t}),this.checkDoubleTap(t)),this.preventClick&&ga(e),this.cancel())}onTouchCancel(e){const t=this.touchStart;!t||!rh(t,e.changedTouches)||(this.lastTapTime=null,this.cancel())}checkDoubleTap(e){let t=Date.now();const n=this.lastTapTime;n&&t-n>MK&&(this.eventSvc?.dispatchEvent({type:"doubleTap",touchStart:e}),t=null),this.lastTapTime=t}cancel(){this.clearLongPress(),F4(this.handlers),this.touchStart=null}clearLongPress(){window.clearTimeout(this.longPressTimer),this.longPressTimer=0,this.moved=!1}destroy(){const e=this.startListener;e&&(this.startListener=null,this.eElement.removeEventListener("touchstart",e)),this.cancel(),this.eElement=null,this.eventSvc=null}},DK=class{constructor(e){this.tickingInterval=null,this.onScrollCallback=null,this.scrollContainer=e.scrollC
52ontainer,this.scrollHorizontally=e.scrollAxis.includes("x"),this.scrollVertically=e.scrollAxis.includes("y"),this.scrollByTick=e.scrollByTick!=null?e.scrollByTick:20,e.onScrollCallback&&(this.onScrollCallback=e.onScrollCallback),this.scrollVertically&&(this.getVerticalPosition=e.getVerticalPosition,this.setVerticalPosition=e.setVerticalPosition),this.scrollHorizontally&&(this.getHorizontalPosition=e.getHorizontalPosition,this.setHorizontalPosition=e.setHorizontalPosition),this.shouldSkipVerticalScroll=e.shouldSkipVerticalScroll||(()=>!1),this.shouldSkipHorizontalScroll=e.shouldSkipHorizontalScroll||(()=>!1)}get scrolling(){return this.tickingInterval!==null}check(e,t=!1){const n=t||this.shouldSkipVerticalScroll();if(n&&this.shouldSkipHorizontalScroll())return;const o=this.scrollContainer.getBoundingClientRect(),i=this.scrollByTick;this.tickLeft=e.clientX<o.left+i,this.tickRight=e.clientX>o.right-i,this.tickUp=e.clientY<o.top+i&&!n,this.tickDown=e.clientY>o.bottom-i&&!n,this.tickLeft||this.tickRight||this.tickUp||this.tickDown?this.ensureTickingStarted():this.ensureCleared()}ensureTickingStarted(){this.tickingInterval===null&&(this.tickingInterval=window.setInterval(this.doTick.bind(this),100),this.tickCount=0)}doTick(){this.tickCount++;const e=this.tickCount>20?200:this.tickCount>10?80:40;if(this.scrollVertically){const t=this.getVerticalPosition();this.tickUp&&this.setVerticalPosition(t-e),this.tickDown&&this.setVerticalPosition(t+e)}if(this.scrollHorizontally){const t=this.getHorizontalPosition();this.tickLeft&&this.setHorizontalPosition(t-e),this.tickRight&&this.setHorizontalPosition(t+e)}this.onScrollCallback&&this.onScrollCallback()}ensureCleared(){this.tickingInterval&&(window.clearInterval(this.tickingInterval),this.tickingInterval=null)}},kK=class{constructor(e="javascript"){this.frameworkName=e,this.renderingEngine="vanilla",this.batchFrameworkComps=!1,this.wrapIncoming=t=>t(),this.wrapOutgoing=t=>t(),this.baseDocLink=`${HL}/${this.frameworkName}-data-grid`,WG(this.baseDocLink)}frameworkComponent(e){return null}isFrameworkComponent(e){return!1}getDocLink(e){return this.baseDocLink+(e?"/"+e:"")}};function AK(e){return{beanName:"gridApi",bean:e.getBean("apiFunctionSvc").api}}var _K=["licenseManager","environment","eventSvc","gos","paginationAutoPageSizeSvc","apiFunctionSvc","gridApi","registry","agCompUtils","userCompFactory","rowContainerHeight","horizontalResizeSvc","localeSvc","pinnedRowModel","dragSvc","colGroupSvc","visibleCols","popupSvc","selectionSvc","colFilter","quickFilter","filterManager","colModel","headerNavigation","pageBounds","pagination","pageBoundsListener","rowSpanSvc","stickyRowSvc","rowRenderer","expressionSvc","alignedGridsSvc","navigation","valueCache","valueSvc","autoWidthCalc","filterMenuFactory","dragAndDrop","focusSvc","cellNavigation","cellStyles","scrollVisibleSvc","sortSvc","colHover","colAnimation","autoColSvc","selectionColSvc","changeDetectionSvc","animationFrameSvc","undoRedo","colDefFactory","rowStyleSvc","rowNodeBlockLoader","rowNodeSorter","ctrlsSvc","pinnedCols","dataTypeSvc","syncSvc","overlays","stateSvc","expansionSvc","apiEventSvc","ariaAnnounce","menuSvc","colMoves","colAutosize","colFlex","colResize","pivotColsSvc","valueColsSvc","rowGroupColsSvc","colNames","colViewport","pivotResultCols","showRowGroupCols","validation"],_8=Object.fromEntries(_K.map((e,t)=>[e,t]));function IK(e,t){const n=(e.beanName?_8[e.beanName]:void 0)??Number.MAX_SAFE_INTEGER,o=(t.beanName?_8[t.beanName]:void 0)??Number.MAX_SAFE_INTEGER;return n-o}function FK(e,t){return e?.beanName==="gridDestroySvc"?-1:t?.beanName==="gridDestroySvc"?1:0}var OK={tag:"div",cls:"ag-pinned-left-header",role:"rowgroup"},NK={tag:"div",cls:"ag-pinned-right-header",role:"rowgroup"},BK={tag:"div",cls:"ag-header-viewport",role:"rowgroup",attrs:{tabindex:"-1"},children:[{tag:"div",ref:"eCenterContainer",cls:"ag-header-container",role:"presentation"}]},dv=class extends jt{constructor(e){super(),this.eCenterContainer=$e,this.headerRowComps={},this.rowCompsList=[],this.pinned=e}postConstruct(){this.selectAndSetTemplate();const e={setDisplayed:n=>this.setDisplayed(n),setCtrls:n=>this.setCtrls(n),setCenterWidth:n=>this.eCenterContainer.style.width=n,setViewportScrollLeft:n=>this.getGui().scrollLeft=n,setPinnedContainerWidth:n=>{const o=this.getGui();o.style.width=n,o.style.maxWidth=n,o.style.minWidth=n}};this.createManagedBean(new QZ(this.pinned)).setComp(e,this.getGui())}selectAndSetTemplate(){const e=this.pinned=="left",t=this.pinned=="right",n=e?OK:t?NK:BK;this.setTemplate(n),this.eRowContainer=this.eCenterContainer!==$e?this.eCenterContainer:this.getGui()}destroy(){this.setCtrls([]),super.destroy()}destroyRowComp(e){this.destroyBean(e),e.getGui().remove()}setCtrls(e){const t=this.headerRowComps;this.headerRowComps={},this.rowCompsList=[];let n;const o=i=>{const s=i.getGui();s.parentElement!=this.eRowContainer&&this.eRowContainer.appendChild(s),n&&kL(this.eRowContainer,s,n),n=s};for(const i of e){const s=i.instanceId,r=t[s];delete t[s];const a=r||this.createBean(new qZ(i));this.headerRowComps[s]=a,this.rowCompsList.push(a),o(a)}for(const i of Object.values(t))this.destroyRowComp(i)}},HK={tag:"div",cls:"ag-header",role:"presentation"},VK=class extends jt{constructor(){super(HK)}postConstruct(){const e={toggleCss:(o,i)=>this.toggleCss(o,i),setHeightAndMinHeight:o=>{this.getGui().style.height=o,this.getGui().style.minHeight=o}};this.createManagedBean(new WZ).setComp(e,this.getGui(),this.getFocusableElement());const n=o=>{this.createManagedBean(o),this.appendChild(o)};n(new dv("left")),n(new dv(null)),n(new dv("right"))}},$K={selector:"AG-HEADER-ROOT",component:VK},WK=class extends jt{constructor(e,t,n,o,i){super(),this.cellCtrl=t,this.rendererVersion=0,this.editorVersion=0,this.beans=e,this.gos=e.gos,this.column=t.column,this.rowNode=t.rowNode,this.eRow=o;const s=An({tag:"div",role:t.getCellAriaRole(),attrs:{"comp-id":`${this.getCompId()}`,"col-id":t.column.colIdSanitised}});this.eCell=s;let r;t.isCellSpanning()?(r=An({tag:"div",cls:"ag-spanned-cell-wrapper",role:"presentation"}),r.appendChild(s),this.setTemplateFromElement(r)):this.setTemplateFromElement(s),this.cellCssManager=new gx(()=>s),this.forceWrapper=t.isForceWrapper(),this.refreshWrapper(!1);const a={toggleCss:(l,c)=>this.cellCssManager.toggleCss(l,c),setUserStyles:l=>Fp(s,l),getFocusableElement:()=>s,setIncludeSelection:l=>this.includeSelection=l,setIncludeRowDrag:l=>this.includeRowDrag=l,setIncludeDndSource:l=>this.includeDndSource=l,setRenderDetails:(l,c,u)=>this.setRenderDetails(l,c,u),setEditDetails:(l,c,u)=>this.setEditDetails(l,c,u),getCellEditor:()=>this.cellEditor||null,getCellRenderer:()=>this.cellRenderer||null,getParentOfValue:()=>this.getParentOfValue(),refreshEditStyles:(l,c)=>this.refreshEditStyles(l,c)};t.setComp(a,s,r,this.eCellWrapper,n,i,void 0)}getParentOfValue(){return this.eCellValue??this.eCellWrapper??this.eCell}
vendor: 6,075 bytes, line 52
52setRenderDetails(e,t,n){if(this.cellEditor&&!this.cellEditorPopupWrapper)return;this.firstRender=this.firstRender==null;const i=this.refreshWrapper(!1);this.refreshEditStyles(!1),e?!(n||i)&&this.refreshCellRenderer(e)||(this.destroyRenderer(),this.createCellRendererInstance(e)):(this.destroyRenderer(),this.insertValueWithoutCellRenderer(t)),this.rowDraggingComp?.refreshVisibility()}setEditDetails(e,t,n){e?this.createCellEditorInstance(e,t,n):this.destroyEditor()}removeControls(){const e=this.beans.context;this.checkboxSelectionComp=e.destroyBean(this.checkboxSelectionComp),this.dndSourceComp=e.destroyBean(this.dndSourceComp),this.rowDraggingComp=e.destroyBean(this.rowDraggingComp)}refreshWrapper(e){const t=this.includeRowDrag||this.includeDndSource||this.includeSelection,n=t||this.forceWrapper,o=n&&this.eCellWrapper==null;o&&(this.eCellWrapper=An({tag:"div",cls:"ag-cell-wrapper",role:"presentation"}),this.eCell.appendChild(this.eCellWrapper));const i=!n&&this.eCellWrapper!=null;i&&(ji(this.eCellWrapper),this.eCellWrapper=void 0),this.cellCssManager.toggleCss("ag-cell-value",!n);const s=!e&&n,r=s&&this.eCellValue==null;if(r){const c=this.cellCtrl.getCellValueClass();this.eCellValue=An({tag:"span",cls:c,role:"presentation"}),this.eCellWrapper.appendChild(this.eCellValue)}const a=!s&&this.eCellValue!=null;a&&(ji(this.eCellValue),this.eCellValue=void 0);const l=o||i||r||a;return l&&this.removeControls(),!e&&t&&this.addControls(),l}addControls(){const{cellCtrl:e,eCellWrapper:t,eCellValue:n,includeRowDrag:o,includeDndSource:i,includeSelection:s}=this,r=a=>{a&&t.insertBefore(a.getGui(),n)};o&&this.rowDraggingComp==null&&(this.rowDraggingComp=e.createRowDragComp(),r(this.rowDraggingComp)),i&&this.dndSourceComp==null&&(this.dndSourceComp=e.createDndSource(),r(this.dndSourceComp)),s&&this.checkboxSelectionComp==null&&(this.checkboxSelectionComp=e.createSelectionCheckbox(),r(this.checkboxSelectionComp))}createCellEditorInstance(e,t,n){const o=this.editorVersion,i=e.newAgStackInstance(),{params:s}=e;i.then(a=>this.afterCellEditorCreated(o,a,s,t,n)),pn(this.cellEditor)&&s.cellStartedEdit&&this.cellCtrl.focusCell(!0)}insertValueWithoutCellRenderer(e){const t=this.getParentOfValue();Xn(t);const n=nd(e);n!=null&&(t.textContent=n)}destroyRenderer(){const{context:e}=this.beans;this.cellRenderer=e.destroyBean(this.cellRenderer),ji(this.cellRendererGui),this.cellRendererGui=null,this.rendererVersion++}destroyEditor(){const{context:e}=this.beans;(this.cellEditorPopupWrapper?.getGui().contains(Cn(this.beans))||this.cellCtrl.hasBrowserFocus())&&this.eCell.focus({preventScroll:!0}),this.hideEditorPopup?.(),this.hideEditorPopup=void 0,this.cellEditor=e.destroyBean(this.cellEditor),this.cellEditorPopupWrapper=e.destroyBean(this.cellEditorPopupWrapper),ji(this.cellEditorGui),this.cellCtrl.disableEditorTooltipFeature(),this.cellEditorGui=null,this.editorVersion++}refreshCellRenderer(e){if(this.cellRenderer?.refresh==null||this.cellRendererClass!==e.componentClass)return!1;const t=this.cellRenderer.refresh(e.params);return t===!0||t===void 0}createCellRendererInstance(e){const t=this.rendererVersion,n=s=>r=>{if(this.rendererVersion!==t||!this.isAlive())return;const l=s.newAgStackInstance(),c=this.afterCellRendererCreated.bind(this,t,s.componentClass);l?.then(c)},{animationFrameSvc:o}=this.beans;let i;if(o?.active&&this.firstRender?i=(s,r=!1)=>{o.createTask(n(s),this.rowNode.rowIndex,"p2",s.componentFromFramework,r)}:i=s=>n(s)(),e.params?.deferRender&&!this.cellCtrl.rowNode.group){const{loadingComp:s,onReady:r}=this.cellCtrl.getDeferLoadingCellRenderer();s&&(i(s),r.then(()=>i(e,!0)))}else i(e)}afterCellRendererCreated(e,t,n){if(!this.isAlive()||e!==this.rendererVersion){this.beans.context.destroyBean(n);return}this.cellRenderer=n,this.cellRendererClass=t;const i=n.getGui();if(this.cellRendererGui=i,i!=null){const s=this.getParentOfValue();Xn(s),s.appendChild(i)}}afterCellEditorCreated(e,t,n,o,i){const s=e!==this.editorVersion,{context:r}=this.beans;if(s){r.destroyBean(t);return}if(t.isCancelBeforeStart?.()){r.destroyBean(t),this.cellCtrl.stopEditing(!0);return}if(!t.getGui){Me(97,{colId:this.column.getId()}),r.destroyBean(t);return}this.cellEditor=t,this.cellEditorGui=t.getGui();const l=o||t.isPopup?.();l?this.addPopupCellEditor(n,i):this.addInCellEditor(),this.refreshEditStyles(!0,l),t.afterGuiAttached?.(),this.cellCtrl.enableEditorTooltipFeature(t),this.cellCtrl.cellEditorAttached()}refreshEditStyles(e,t){const{cellCssManager:n}=this;n.toggleCss("ag-cell-inline-editing",e&&!t),n.toggleCss("ag-cell-popup-editing",e&&!!t),n.toggleCss("ag-cell-not-inline-editing",!e||!!t)}addInCellEditor(){const{eCell:e}=this;e.contains(Cn(this.beans))&&e.focus(),this.destroyRenderer(),this.refreshWrapper(!0),Xn(this.getParentOfValue()),this.cellEditorGui&&this.getParentOfValue().appendChild(this.cellEditorGui)}addPopupCellEditor(e,t){const{gos:n,context:o,popupSvc:i,editSvc:s}=this.beans;n.get("editType")==="fullRow"&&Me(98);const r=this.cellEditorPopupWrapper=o.createBean(s.createPopupEditorWrapper(e)),{cellEditor:a,cellEditorGui:l,eCell:c,rowNode:u,column:d,cellCtrl:h}=this,p=r.getGui();l&&p.appendChild(l);const f=n.get("stopEditingWhenCellsLoseFocus"),g=t??a.getPopupPosition?.()??"over",m=n.get("enableRtl"),v={ePopup:p,column:d,rowNode:u,type:"popupCellEditor",eventSource:c,position:g,alignSide:m?"right":"left",keepWithinBounds:!0},y=i.positionPopupByComponent.bind(i,v),b=i.addPopup({modal:f,eChild:p,closeOnEsc:!0,closedCallback:()=>{h.onPopupEditorClosed()},anchorToElement:c,positionCallback:y,ariaOwns:c});b&&(this.hideEditorPopup=b.hideFunc)}detach(){this.getGui().remove()}destroy(){this.destroyRenderer(),this.destroyEditor(),this.removeControls(),super.destroy()}},GK=class extends jt{constructor(e,t,n){super(),this.cellComps=new Map,this.beans=t,this.rowCtrl=e;const o=An({tag:"div",role:"row",attrs:{"comp-id":`${this.getCompId()}`}});this.setInitialStyle(o,n),this.setTemplateFromElement(o);const i=o.style;this.domOrder=this.rowCtrl.getDomOrder();const s={setDomOrder:r=>this.domOrder=r,setCellCtrls:r=>
52this.setCellCtrls(r),showFullWidth:r=>this.showFullWidth(r),getFullWidthCellRenderer:()=>this.fullWidthCellRenderer,getFullWidthCellRendererParams:()=>this.fullWidthCellRendererParams,toggleCss:(r,a)=>this.toggleCss(r,a),setUserStyles:r=>Fp(o,r),setTop:r=>i.top=r,setTransform:r=>i.transform=r,setRowIndex:r=>o.setAttribute("row-index",r),setRowId:r=>o.setAttribute("row-id",r),setRowBusinessKey:r=>o.setAttribute("row-business-key",r),refreshFullWidth:r=>{const a=r();return this.fullWidthCellRendererParams=a,this.fullWidthCellRenderer?.refresh?.(a)??!1}};e.setComp(s,this.getGui(),n,void 0),this.addDestroyFunc(()=>{e.unsetComp(n)})}setInitialStyle(e,t){const n=this.rowCtrl.getInitialTransform(t);if(n)e.style.setProperty("transform",n);else{const o=this.rowCtrl.getInitialRowTop(t);o&&e.style.setProperty("top",o)}}showFullWidth(e){const t=o=>{if(this.isAlive()){const i=o.getGui();this.getGui().appendChild(i),this.rowCtrl.setupDetailRowAutoHeight(i),this.setFullWidthRowComp(o,e.params)}else this.beans.context.destroyBean(o)};e.newAgStackInstance().then(t)}setCellCtrls(e){const t=new Map(this.cellComps);for(const n of e){const o=n.instanceId;this.cellComps.has(o)?t.delete(o):this.newCellComp(n)}this.destroyCells(t),this.ensureDomOrder(e)}ensureDomOrder(e){if(!this.domOrder)return;const t=[];for(const n of e){const o=this.cellComps.get(n.instanceId);o&&t.push(o.getGui())}AL(this.getGui(),t)}newCellComp(e){const t=this.beans.editSvc?.isEditing(e,{withOpenEditor:!0})??!1,n=new WK(this.beans,e,this.rowCtrl.printLayout,this.getGui(),t);this.cellComps.set(e.instanceId,n),this.getGui().appendChild(n.getGui())}destroy(){super.destroy(),this.destroyCells(this.cellComps)}setFullWidthRowComp(e,t){this.fullWidthCellRenderer=e,this.fullWidthCellRendererParams=t,this.addDestroyFunc(()=>{this.fullWidthCellRenderer=this.beans.context.destroyBean(this.fullWidthCellRenderer),this.fullWidthCellRendererParams=void 0})}destroyCells(e){for(const t of e.values()){if(!t)return;const n=t.cellCtrl.instanceId;if(this.cellComps.get(n)!==t)return;t.detach(),t.destroy(),this.cellComps.delete(n)}}};function zK(e,t,n){const o=!!n.gos.get("enableCellSpan")&&!!t.getSpannedRowCtrls,i={tag:"div",ref:"eContainer",cls:S1(e),role:"rowgroup"};if(t.type==="center"||o){const s={tag:"div",ref:"eSpannedContainer",cls:`ag-spanning-container ${dZ(e)}`,role:"presentation"};return i.role="presentation",{tag:"div",ref:"eViewport",cls:`ag-viewport ${Yx(e)}`,role:"rowgroup",children:[i,o?s:null]}}return i}var UK=class extends jt{constructor(e){super(),this.eViewport=$e,this.eContainer=$e,this.eSpannedContainer=$e,this.rowCompsNoSpan={},this.rowCompsWithSpan={},this.name=e?.name,this.options=Hp(this.name)}postConstruct(){this.setTemplate(zK(this.name,this.options,this.beans));const e={setHorizontalScroll:n=>this.eViewport.scrollLeft=n,setViewportHeight:n=>this.eViewport.style.height=n,setRowCtrls:({rowCtrls:n})=>this.setRowCtrls(n),setSpannedRowCtrls:n=>this.setRowCtrls(n,!0),setDomOrder:n=>{this.domOrder=n},setContainerWidth:n=>{this.eContainer.style.width=n,this.eSpannedContainer&&(this.eSpannedContainer.style.width=n)},setOffsetTop:n=>{const o=`translateY(${n})`;this.eContainer.style.transform=o,this.eSpannedContainer&&(this.eSpannedContainer.style.transform=o)}};this.createManagedBean(new wZ(this.name)).setComp(e,this.eContainer,this.eSpannedContainer,this.eViewport)}destroy(){this.setRowCtrls([]),this.setRowCtrls([],!0),super.destroy(),this.lastPlacedElement=null}setRowCtrls(e,t){const{beans:n,options:o}=this,i=t?this.eSpannedContainer:this.eContainer,s=t?{...this.rowCompsWithSpan}:{...this.rowCompsNoSpan},r={};t?this.rowCompsWithSpan=r:this.rowCompsNoSpan=r,this.lastPlacedElement=null;const a=[];for(const l of e){const c=l.instanceId,u=s[c];let d;if(u)d=u,delete s[c];
52else{if(!l.rowNode.displayed)continue;d=new GK(l,n,o.type)}r[c]=d,a.push([d,!u])}this.removeOldRows(Object.values(s)),this.addRowNodes(a,i)}addRowNodes(e,t){const{domOrder:n}=this;for(const[o,i]of e){const s=o.getGui();n?this.ensureDomOrder(s,t):i&&t.appendChild(s)}}removeOldRows(e){for(const t of e)t.getGui().remove(),t.destroy()}ensureDomOrder(e,t){kL(t,e,this.lastPlacedElement),this.lastPlacedElement=e}},jK={selector:"AG-ROW-CONTAINER",component:UK};function Dd(e,t){return t.map(n=>{const o=`e${n[0].toUpperCase()+n.substring(1)}RowContainer`;return e[o]={name:n},{tag:"ag-row-container",ref:o,attrs:{name:n}}})}function ZK(e){const t={},n={tag:"div",ref:"eGridRoot",cls:"ag-root ag-unselectable",children:[{tag:"ag-header-root"},{tag:"div",ref:"eTop",cls:"ag-floating-top",role:"presentation",children:Dd(t,["topLeft","topCenter","topRight","topFullWidth"])},{tag:"div",ref:"eBody",cls:"ag-body",role:"presentation",children:[{tag:"div",ref:"eBodyViewport",cls:"ag-body-viewport",role:"presentation",children:Dd(t,["left","center","right","fullWidth"])},{tag:"ag-fake-vertical-scroll"}]},{tag:"div",ref:"eStickyTop",cls:"ag-sticky-top",role:"presentation",children:Dd(t,["stickyTopLeft","stickyTopCenter","stickyTopRight","stickyTopFullWidth"])},{tag:"div",ref:"eStickyBottom",cls:"ag-sticky-bottom",role:"presentation",children:Dd(t,["stickyBottomLeft","stickyBottomCenter","stickyBottomRight","stickyBottomFullWidth"])},{tag:"div",ref:"eBottom",cls:"ag-floating-bottom",role:"presentation",children:Dd(t,["bottomLeft","bottomCenter","bottomRight","bottomFullWidth"])},{tag:"ag-fake-horizontal-scroll"},e?{tag:"ag-overlay-wrapper"}:null]};
52return{paramsMap:t,elementParams:n}}var KK=class extends jt{constructor(){super(...arguments),this.eGridRoot=$e,this.eBodyViewport=$e,this.eStickyTop=$e,this.eStickyBottom=$e,this.eTop=$e,this.eBottom=$e,this.eBody=$e}postConstruct(){const{overlays:e,rangeSvc:t}=this.beans,n=e?.getOverlayWrapperSelector(),{paramsMap:o,elementParams:i}=ZK(!!n);this.setTemplate(i,[...n?[n]:[],LZ,kZ,$K,jK],o);const s=(a,l)=>{const c=`${a}px`;l.style.minHeight=c,l.style.height=c},r={setRowAnimationCssOnBodyViewport:(a,l)=>this.setRowAnimationCssOnBodyViewport(a,l),setColumnCount:a=>oG(this.getGui(),a),setRowCount:a=>tG(this.getGui(),a),setTopHeight:a=>s(a,this.eTop),setBottomHeight:a=>s(a,this.eBottom),setTopInvisible:a=>this.eTop.classList.toggle("ag-invisible",a),setBottomInvisible:a=>this.eBottom.classList.toggle("ag-invisible",a),setStickyTopHeight:a=>this.eStickyTop.style.height=a,setStickyTopTop:a=>this.eStickyTop.style.top=a,setStickyTopWidth:a=>this.eStickyTop.style.width=a,setStickyBottomHeight:a=>{this.eStickyBottom.style.height=a,this.eStickyBottom.classList.toggle("ag-invisible",a==="0px")},setStickyBottomBottom:a=>this.eStickyBottom.style.bottom=a,setStickyBottomWidth:a=>this.eStickyBottom.style.width=a,setColumnMovingCss:(a,l)=>this.toggleCss(a,l),updateLayoutClasses:(a,l)=>{const c=[this.eBodyViewport.classList,this.eBody.classList];for(const u of c)u.toggle(Wi.AUTO_HEIGHT,l.autoHeight),u.toggle(Wi.NORMAL,l.normal),u.toggle(Wi.PRINT,l.print);this.toggleCss(Wi.AUTO_HEIGHT,l.autoHeight),this.toggleCss(Wi.NORMAL,l.normal),this.toggleCss(Wi.PRINT,l.print)},setAlwaysVerticalScrollClass:(a,l)=>this.eBodyViewport.classList.toggle(Qx,l),registerBodyViewportResizeListener:a=>{const l=Ga(this.beans,this.eBodyViewport,a);this.addDestroyFunc(()=>l())},setPinnedTopBottomOverflowY:a=>this.eTop.style.overflowY=this.eBottom.style.overflowY=a,setCellSelectableCss:(a,l)=>{for(const c of[this.eTop,this.eBodyViewport,this.eBottom])c.classList.toggle(a,l)},setBodyViewportWidth:a=>this.eBodyViewport.style.width=a,setGridRootRole:a=>La(this.eGridRoot,a)};this.ctrl=this.createManagedBean(new TZ),this.ctrl.setComp(r,this.getGui(),this.eBodyViewport,this.eTop,this.eBottom,this.eStickyTop,this.eStickyBottom),(t&&Rr(this.gos)||Gh(this.gos))&&eG(this.getGui(),!0)}setRowAnimationCssOnBodyViewport(e,t){const n=this.eBodyViewport.classList;n.toggle("ag-row-animation",t),n.toggle("ag-row-no-animation",!t)}},qK={selector:"AG-GRID-BODY",component:KK},YK=class extends we{constructor(){super(...arguments),this.additionalFocusableContainers=new Set}setComp(e,t,n){this.view=e,this.eGridHostDiv=t,this.eGui=n,this.eGui.setAttribute("grid-id",this.beans.context.getId());const{dragAndDrop:o,ctrlsSvc:i}=this.beans;o?.registerGridDropTarget(()=>this.eGui,this),this.createManagedBean(new eb(this.view)),this.view.setRtlClass(this.gos.get("enableRtl")?"ag-rtl":"ag-ltr");const s=Ga(this.beans,this.eGridHostDiv,this.onGridSizeChanged.bind(this));this.addDestroyFunc(()=>s()),i.register("gridCtrl",this)}isDetailGrid(){return Rx(this.getGui())?.getAttribute("row-id")?.startsWith("detail")||!1}getOptionalSelectors(){const e=this.beans;return{paginationSelector:e.pagination?.getPaginationSelector(),gridHeaderDropZonesSelector:e.registry?.getSelector("AG-GRID-HEADER-DROP-ZONES"),sideBarSelector:e.sideBar?.getSelector(),statusBarSelector:e.registry?.getSelector("AG-STATUS-BAR"),watermarkSelector:e.licenseManager?.getWatermarkSelector()}}onGridSizeChanged(){this.eventSvc.dispatchEvent({type:"gridSizeChanged",clientWidth:this.eGridHostDiv.clientWidth,clientHeight:this.eGridHostDiv.clientHeight})}destroyGridUi(){this.view.destroyGridUi()}getGui(){return this.eGui}setResizeCursor(e){const{view:t}=this;if(e===!1)t.setCursor(null);else{const n=e===1?"ew-resize":"ns-resize";t.setCursor(n)}}disableUserSelect(e){this.view.setUserSelect(e?"none":null)}focusNextInnerContainer(e){const t=this.getFocusableContainers(),{indexWithFocus:n,nextIndex:o}=this.getNextFocusableIndex(t,e);if(o<0||o>=t.length)return!1;if(o===0){if(n>0){const{visibleCols:i,focusSvc:s}=this.beans,r=i.allCols,a=on(r);if(s.focusGridView({column:a,backwards:!0}))return!0}return!1}return this.focusContainer(t[o],e)}focusInnerElement(e){if(this.gos.getCallback("focusGridInnerElement")?.({fromBottom:!!e}))return!0;const n=this.getFocusableContainers(),{focusSvc:o,visibleCols:i}=this.beans,s=i.allCols;if(e){if(n.length>1)return this.focusContainer(on(n),e);const r=on(s);if(o.focusGridView({column:r,backwards:e}))return!0}if(this.gos.get("headerHeight")===0||Il(this.beans)){if(o.focusGridView({column:s[0],backwards:e}))return!0;for(let r=1;r<n.length;r++)if(Yl(n[r].getGui(),e))return!0;return!1}return o.focusFirstHeader()}forceFocusOutOfContainer(e=!1){this.view.forceFocusOutOfContainer(e)}addFocusableContainer(e){this.additionalFocusableContainers.add(e)}removeFocusableContainer(e){this.additionalFocusableContainers.delete(e)}allowFocusForNextCoreContainer(e){const t=this.view.getFocusableContainers(),{nextIndex:n,indexWithFocus:o}=this.getNextFocusableIndex(t,e);if(o===-1||n<0||n>=t.length)return;const i=t[n];i.setAllowFocus?.(!0),setTimeout(()=>{i.setAllowFocus?.(!1)})}isFocusable(){const e=this.beans;return!p0(e)||!Il(e)||!!e.sideBar?.comp?.isDisplayed()}getNextFocusableIndex(e,t){const n=Cn(this.beans),o=e.findIndex(s=>s.getGui().contains(n)),i=o+(t?-1:1);return{indexWithFocus:o,nextIndex:i}}focusContainer(e,t){e.setAllowFocus?.(!0);const n=Yl(e.getGui(),t,!1,!0);return e.setAllowFocus?.(!1),n}getFocusableContainers(){return[...this.view.getFocusableContainers(),...this.additionalFocusableContainers]}destroy(){this.additionalFocusableContainers.clear(),super.destroy()}},XK=class extends cD{constructor(e){super(),this.gridBody=$e,this.sideBar=$e,this.pagination=$e,this.rootWrapperBody=$e,this.eGridDiv=e}postConstruct(){const e={destroyGridUi:()=>this.destroyBean(this),setRtlClass:s=>this.addCss(s),forceFocusOutOfContainer:this.forceFocusOutOfContainer.bind(this),updateLayoutClasses:this.updateLayoutClasses.bind(this),getFocusableContainers:this.getFocusableContainers.bind(this),setUserSelect:s=>{this.getGui().style.userSelect=s??"",this.getGui().style.webkitUserSelect=s??""},setCursor:s=>{this.getGui().style.cursor=s??""}},t=this.createManagedBean(new YK),n=t.getOptionalSelectors(),o=this.createTemplate(n),i=[qK,...Object.values(n).filter(s=>!!s)];this.setTemplate(o,i),t.setComp(e,this.eGridDiv,this.getGui()),this.insertGridIntoDom(),this.initialiseTabGuard({onTabKeyDown:()=>{},focusInnerElement:s=>t.focusInnerElement(s),forceFocusOutWhenTabGuardsAreEmpty:!0,isEmpty:()=>!t.isFocusable()})}insertGridIntoDom(){const e=this.getGui();this.eGridDiv.appendChild(e),this.addDestroyFunc(()=>{e.remove(),xa(this.gos,"Grid removed from DOM")})}updateLayoutClasses(e,t){const n=this.rootWrapperBody.classList,{AUTO_HEIGHT:o,NORMAL:i,PRINT:s}=Wi,{autoHeight:r,normal:a,print:l}=t;n.toggle(o,r),n.toggle(i,a),n.toggle(s,l),this.toggleCss(o,r),this.toggleCss(i,a),this.toggleCss(s,l)}createTemplate(e){const t=e.gridHeaderDropZonesSelector?{tag:"ag-grid-header-drop-zones"}:null,n=e.sideBarSelector?{tag:"ag-side-bar",ref:"sideBar"}:null,o=e.statusBarSelector?{tag:"ag-status-bar"}
52:null,i=e.watermarkSelector?{tag:"ag-watermark"}:null,s=e.paginationSelector?{tag:"ag-pagination",ref:"pagination"}:null;return{tag:"div",cls:"ag-root-wrapper",role:"presentation",children:[t,{tag:"div",ref:"rootWrapperBody",cls:"ag-root-wrapper-body",role:"presentation",children:[{tag:"ag-grid-body",ref:"gridBody"},n]},o,s,i]}}getFocusableElement(){return this.rootWrapperBody}forceFocusOutOfContainer(e=!1){if(!e&&this.pagination?.isDisplayed()){this.pagination.forceFocusOutOfContainer(e);return}super.forceFocusOutOfContainer(e)}getFocusableContainers(){const e=[this.gridBody];for(const t of[this.sideBar,this.pagination])t&&e.push(t);return e.filter(t=>zs(t.getGui()))}},dt=(e,t)=>{for(const n of Object.keys(t))t[n]=e;return t},I8={dispatchEvent:"CommunityCore",...dt("CommunityCore",{destroy:0,getGridId:0,getGridOption:0,isDestroyed:0,setGridOption:0,updateGridOptions:0,isModuleRegistered:0}),...dt("GridState",{getState:0,setState:0}),...dt("SharedRowSelection",{setNodesSelected:0,selectAll:0,deselectAll:0,selectAllFiltered:0,deselectAllFiltered:0,selectAllOnCurrentPage:0,deselectAllOnCurrentPage:0,getSelectedNodes:0,getSelectedRows:0}),...dt("RowApi",{redrawRows:0,setRowNodeExpanded:0,getRowNode:0,addRenderedRowListener:0,getRenderedNodes:0,forEachNode:0,getFirstDisplayedRowIndex:0,getLastDisplayedRowIndex:0,getDisplayedRowAtIndex:0,getDisplayedRowCount:0}),...dt("ScrollApi",{getVerticalPixelRange:0,getHorizontalPixelRange:0,ensureColumnVisible:0,ensureIndexVisible:0,ensureNodeVisible:0}),...dt("KeyboardNavigation",{getFocusedCell:0,clearFocusedCell:0,setFocusedCell:0,tabToNextCell:0,tabToPreviousCell:0,setFocusedHeader:0}),...dt("EventApi",{addEventListener:0,addGlobalListener:0,removeEventListener:0,removeGlobalListener:0}),...dt("ValueCache",{expireValueCache:0}),...dt("CellApi",{getCellValue:0}),...dt("SharedMenu",{showColumnMenu:0,hidePopupMenu:0}),...dt("Sort",{onSortChanged:0}),...dt("PinnedRow",{getPinnedTopRowCount:0,getPinnedBottomRowCount:0,getPinnedTopRow:0,getPinnedBottomRow:0,forEachPinnedRow:0}),...dt("Overlay",{showLoadingOverlay:0,showNoRowsOverlay:0,hideOverlay:0}),...dt("RenderApi",{setGridAriaProperty:0,refreshCells:0,refreshHeader:0,isAnimationFrameQueueEmpty:0,flushAllAnimationFrames:0,getSizesForCurrentTheme:0,getCellRendererInstances:0}),...dt("HighlightChanges",{flashCells:0}),...dt("RowDrag",{addRowDropZone:0,removeRowDropZone:0,getRowDropZoneParams:0,getRowDropPositionIndicator:0,setRowDropPositionIndicator:0}),...dt("ColumnApi",{getColumnDefs:0,getColumnDef:0,getDisplayNameForColumn:0,getColumn:0,getColumns:0,applyColumnState:0,getColumnState:0,resetColumnState:0,isPinning:0,isPinningLeft:0,isPinningRight:0,getDisplayedColAfter:0,getDisplayedColBefore:0,setColumnsVisible:0,setColumnsPinned:0,getAllGridColumns:0,getDisplayedLeftColumns:0,getDisplayedCenterColumns:0,getDisplayedRightColumns:0,getAllDisplayedColumns:0,getAllDisplayedVirtualColumns:0}),...dt("ColumnAutoSize",{sizeColumnsToFit:0,autoSizeColumns:0,autoSizeAllColumns:0}),...dt("ColumnGroup",{setColumnGroupOpened:0,getColumnGroup:0,getProvidedColumnGroup:0,getDisplayNameForColumnGroup:0,getColumnGroupState:0,setColumnGroupState:0,resetColumnGroupState:0,getLeftDisplayedColumnGroups:0,getCenterDisplayedColumnGroups:0,getRightDisplayedColumnGroups:0,getAllDisplayedColumnGroups:0}),...dt("ColumnMove",{moveColumnByIndex:0,moveColumns:0}),...dt("ColumnResize",{setColumnWidths:0}),...dt("ColumnHover",{isColumnHovered:0}),...dt("EditCore",{getCellEditorInstances:0,getEditingCells:0,getEditRowValues:0,stopEditing:0,startEditingCell:0,isEditing:0,validateEdit:0}),...dt("BatchEdit",{startBatchEdit:0,cancelBatchEdit:0,commitBatchEdit:0,isBatchEditing:0}),...dt("UndoRedoEdit",{undoCellEditing:0,redoCellEditing:0,getCurrentUndoSize:0,getCurrentRedoSize:0}),...dt("FilterCore",{isAnyFilterPresent:0,onFilterChanged:0}),...dt("ColumnFilter",{isColumnFilterPresent:0,getColumnFilterInstance:0,destroyFilter:0,setFilterModel:0,getFilterModel:0,getColumnFilterModel:0,setColumnFilterModel:0,showColumnFilter:0,hideColumnFilter:0,getColumnFilterHandler:0,doFilterAction:0}),...dt("QuickFilter",{isQuickFilterPresent:0,getQuickFilter:0,resetQuickFilter:0}),...dt("Find",{findGetActiveMatch:0,findGetTotalMatches:0,findGoTo:0,findNext:0,findPrevious:0,findGetNumMatches:0,findGetParts:0,findClearActive:0,findRefresh:0}),...dt("Pagination",{paginationIsLastPageFound:0,paginationGetPageSize:0,paginationGetCurrentPage:0,paginationGetTotalPages:0,paginationGetRowCount:0,paginationGoToNextPage:0,paginationGoToPreviousPage:0,paginationGoToFirstPage:0,paginationGoToLastPage:0,paginationGoToPage:0}),...dt("CsrmSsrmSharedApi",{expandAll:0,collapseAll:0}),...dt("SsrmInfiniteSharedApi",{setRowCount:0,getCacheBlockState:0,isLastRowIndexKnown:0}),...dt("ClientSideRowModelApi",{onGroupExpandedOrCollapsed:0,refreshClientSideRowModel:0,isRowDataEmpty:0,forEachLeafNode:0,forEachNodeAfterFilter:0,forEachNodeAfterFilterAndSort:0,applyTransaction:0,applyTransactionAsync:0,flushAsyncTransactions:0,getBestCostNodeSelection:0,onRowHeightChanged:0,resetRowHeights:0}),...dt("CsvExport",{getDataAsCsv:0,exportDataAsCsv:0}),...dt("InfiniteRowModel",{refreshInfiniteCache:0,purgeInfiniteCache:0,getInfiniteRowCount:0}),...dt("AdvancedFilter",{getAdvancedFilterModel:0,setAdvancedFilterModel:0,showAdvancedFilterBuilder:0,hideAdvancedFilterBuilder:0}),...dt("IntegratedCharts",{getChartModels:0,getChartRef:0,getChartImageDataURL:0,downloadChart:0,openChartToolPanel:0,closeChartToolPanel:0,createRangeChart:0,createPivotChart:0,createCrossFilterChart:0,updateChart:0,restoreChart:0}),...dt("Clipboard",{copyToClipboard:0,cutToClipboard:0,copySelectedRowsToClipboard:0,copySelectedRangeToClipboard:0,copySelectedRangeDown:0,pasteFromClipboard:0}),...dt("ExcelExport",{getDataAsExcel:0,exportDataAsExcel:0,getSheetDataForExcel:0,getMultipleSheetsAsExcel:0,exportMultipleSheetsAsExcel:0}),...dt("SharedMasterDetail",{addDetailGridInfo:0,removeDetailGridInfo:0,getDetailGridInfo:0,forEachDetailGridInfo:0}),...dt("ContextMenu",{showContextMenu:0}),...dt("ColumnMenu",{showColumnChooser:0,hideColumnChooser:0}),...dt("CellSelection",{getCellRanges:0,addCellRange:0,clearRangeSelection:0,clearCellSelection:0}),...dt("SharedRowGrouping",{setRowGroupColumns:0,removeRowGroupColumns:0,addRowGroupColumns:0,getRowGroupColumns:0,moveRowGroupColumn:0}),...dt("SharedAggregation",{addAggFuncs:0,clearAggFuncs:0,setColumnAggFu
vendor: 4,414 bytes, line 52
52nc:0}),...dt("SharedPivot",{isPivotMode:0,getPivotResultColumn:0,setValueColumns:0,getValueColumns:0,removeValueColumns:0,addValueColumns:0,setPivotColumns:0,removePivotColumns:0,addPivotColumns:0,getPivotColumns:0,setPivotResultColumns:0,getPivotResultColumns:0}),...dt("ServerSideRowModelApi",{getServerSideSelectionState:0,setServerSideSelectionState:0,applyServerSideTransaction:0,applyServerSideTransactionAsync:0,applyServerSideRowData:0,retryServerSideLoads:0,flushServerSideAsyncTransactions:0,refreshServerSide:0,getServerSideGroupLevelState:0,onRowHeightChanged:0,resetRowHeights:0}),...dt("SideBar",{isSideBarVisible:0,setSideBarVisible:0,setSideBarPosition:0,openToolPanel:0,closeToolPanel:0,getOpenedToolPanel:0,refreshToolPanel:0,isToolPanelShowing:0,getToolPanelInstance:0,getSideBar:0}),...dt("StatusBar",{getStatusPanel:0}),...dt("AiToolkit",{getStructuredSchema:0})},hv={isDestroyed:()=>!0,destroy(){},preConstruct(){},postConstruct(){},preWireBeans(){},wireBeans(){}},JK=(e,t)=>e.eventSvc.dispatchEvent(t),uD=class{};Reflect.defineProperty(uD,"name",{value:"GridApi"});var QK=class extends we{constructor(){super(),this.beanName="apiFunctionSvc",this.api=new uD,this.fns={...hv,dispatchEvent:JK},this.preDestroyLink="";const{api:e}=this;for(const t of Object.keys(I8))e[t]=this.makeApi(t)[t]}postConstruct(){this.preDestroyLink=this.beans.frameworkOverrides.getDocLink("grid-lifecycle/#grid-pre-destroyed")}addFunction(e,t){const{fns:n,beans:o}=this;n!==hv&&(n[e]=o?.validation?.validateApiFunction(e,t)??t)}makeApi(e){return{[e]:(...t)=>{const{beans:n,fns:{[e]:o}}=this;return o?o(n,...t):this.apiNotFound(e)}}}apiNotFound(e){const{beans:t,gos:n,preDestroyLink:o}=this;if(!t)Me(26,{fnName:e,preDestroyLink:o});else{const i=I8[e];n.assertModuleRegistered(i,`api.${e}`)&&Me(27,{fnName:e,module:i})}}destroy(){super.destroy(),this.fns=hv,this.beans=null}};function eq(e){return e.context.getId()}function tq(e){e.gridDestroySvc.destroy()}function nq(e){return e.gridDestroySvc.destroyCalled}function oq(e,t){return e.gos.get(t)}function iq(e,t,n){dD(e,{[t]:n})}function dD(e,t){e.gos.updateGridOptions({options:t})}function sq(e,t){const n=t.replace(/Module$/,"");return e.gos.isModuleRegistered(n)}var rq={tag:"div",cls:"ag-drag-handle ag-row-drag",attrs:{draggable:"true"}},aq=class extends jt{constructor(e,t,n){super(rq),this.rowNode=e,this.column=t,this.eCell=n}postConstruct(){this.getGui().appendChild(pi("rowDrag",this.beans,null)),this.addGuiEventListener("mousedown",t=>{t.stopPropagation()}),this.addDragSource(),this.checkVisibility()}addDragSource(){this.addGuiEventListener("dragstart",this.onDragStart.bind(this))}onDragStart(e){const{rowNode:t,column:n,eCell:o,gos:i}=this,s=n.getColDef().dndSourceOnRowDrag,r=e.dataTransfer;if(r.setDragImage(o,0,0),s){const a=st(i,{rowNode:t,dragEvent:e});s(a)}else try{const a=JSON.stringify(t.data);r.setData("application/json",a),r.setData("text/plain",a)}catch{}}checkVisibility(){const e=this.column.isDndSource(this.rowNode);this.setDisplayed(e)}};function lq(e,t){e.rowDragSvc?.rowDragFeature?.addRowDropZone(t)}function cq(e,t){const n=e.dragAndDrop?.findExternalZone(t.getContainer());n&&e.dragAndDrop?.removeDropTarget(n)}function uq(e,t){return e.rowDragSvc?.rowDragFeature?.getRowDropZone(t)}function dq(e){const t=e.rowDropHighlightSvc;return t?{row:t.row,dropIndicatorPosition:t.position}:{row:null,dropIndicatorPosition:"none"}}function hq(e,t){const n=e.rowDropHighlightSvc;if(!n)return;const o=t?.row;let i=t?.dropIndicatorPosition;i!=="above"&&i!=="below"&&i!=="inside"&&(i="none");const s=o?.rowIndex;s==null||i==="none"?n.clear():n.set(o,i)}var pq=class extends Pj{shouldPreventMouseEvent(e){return this.gos.get("enableCellTextSelection")&&super.shouldPreventMouseEvent(e)}},fq=class extends we{constructor(){super(...arguments),this.beanName="horizontalResizeSvc"}addResizeBar(e){const t={dragStartPixels:e.dragStartPixels||0,eElement:e.eResizeBar,onDragStart:this.onDragStart.bind(this,e),onDragStop:this.onDragStop.bind(this,e),onDragging:this.onDragging.bind(this,e),onDragCancel:this.onDragStop.bind(this,e),includeTouch:!0,stopPropagationForTouch:!0},{dragSvc:n}=this.beans;return n.addDragSource(t),()=>n.removeDragSource(t)}onDragStart(e,t){this.dragStartX=t.clientX,this.setResizeIcons();const n=t instanceof MouseEvent&&t.shiftKey===!0;e.onResizeStart(n)}setResizeIcons(){const e=this.beans.ctrlsSvc.get("gridCtrl");
52e.setResizeCursor(1),e.disableUserSelect(!0)}onDragStop(e){e.onResizeEnd(this.resizeAmount),this.resetIcons()}resetIcons(){const e=this.beans.ctrlsSvc.get("gridCtrl");e.setResizeCursor(!1),e.disableUserSelect(!1)}onDragging(e,t){this.resizeAmount=t.clientX-this.dragStartX,e.onResizing(this.resizeAmount)}},gq={tag:"div",cls:"ag-drag-handle ag-row-drag",attrs:{"aria-hidden":"true"}},mq=class extends jt{constructor(e,t,n,o,i,s=!1){super(),this.cellValueFn=e,this.rowNode=t,this.column=n,this.customGui=o,this.dragStartPixels=i,this.alwaysVisible=s,this.dragSource=null}isCustomGui(){return this.customGui!=null}postConstruct(){const{beans:e,customGui:t}=this;t?this.setDragElement(t,this.dragStartPixels):(this.setTemplate(gq),this.getGui().appendChild(pi("rowDrag",e,null)),this.addDragSource()),this.alwaysVisible||this.initCellDrag()}initCellDrag(){const{beans:e,gos:t,rowNode:n}=this,o=this.refreshVisibility.bind(this);this.addManagedPropertyListener("suppressRowDrag",o),this.addManagedListeners(n,{dataChanged:o,cellChanged:o}),this.addManagedListeners(e.eventSvc,t.get("rowDragManaged")?{sortChanged:o,filterChanged:o,columnRowGroupChanged:o,newColumnsLoaded:o}:{newColumnsLoaded:o})}setDragElement(e,t){this.setTemplateFromElement(e,void 0,void 0,!0),this.addDragSource(t)}refreshVisibility(){if(this.alwaysVisible)return;const e={skipAriaHidden:!0};if(this.isNeverDisplayed()){this.setDisplayed(!1,e);return}const t=this.column;let n=typeof t?.getColDef().rowDrag=="function",o=!t||this.isCustomGui()||t.isRowDrag(this.rowNode);o&&this.rowNode.footer&&this.gos.get("rowDragManaged")&&(o=!1,n=!0),this.setDisplayed(n||o,e),this.setVisible(o,e)}isNeverDisplayed(){const{gos:e,beans:t}=this;return!!(e.get("suppressRowDrag")||e.get("rowDragManaged")&&t.rowDragSvc.rowDragFeature?.shouldPreventRowMove()&&!t.dragAndDrop?.hasExternalDropZones())}getSelectedNodes(){const e=this.rowNode;if(!this.gos.get("rowDragMultiRow"))return[e];const n=this.beans.selectionSvc?.getSelectedNodes()??[];return n.indexOf(e)!==-1?n:[e]}getDragItem(){const{column:e,rowNode:t}=this;return{rowNode:t,rowNodes:this.getSelectedNodes(),columns:e?[e]:void 0,defaultTextValue:this.cellValueFn()}}getRowDragText(e){if(e){const t=e.getColDef();if(t.rowDragText)return t.rowDragText}return this.gos.get("rowDragText")}addDragSource(e=4){if(this.dragSource&&this.removeDragSource(),this.gos.get("rowDragManaged")&&this.rowNode.footer)return;const t=this.getGui();this.gos.get("enableCellTextSelection")&&(this.removeMouseDownListener(),this.mouseDownListener=this.addManagedElementListeners(t,{mousedown:o=>{o?.preventDefault()}})[0]);const n=this.getLocaleTextFunc();this.dragSource={type:2,eElement:t,dragItemName:o=>{const i=o?.dragItem||this.getDragItem(),s=(o?.dropTarget?.rows.length??i.rowNodes?.length)||1,r=this.getRowDragText(this.column);return r?r(i,s):s===1?this.cellValueFn():`${s} ${n("rowDragRows","rows")}`},getDragItem:()=>this.getDragItem(),dragStartPixels:e,dragSourceDomDataKey:this.gos.getDomDataKey()},this.beans.dragAndDrop.addDragSource(this.dragSource,!0)}destroy(){this.removeDragSource(),this.removeMouseDownListener(),super.destroy()}removeDragSource(){this.dragSource&&(this.beans.dragAndDrop.removeDragSource(this.dragSource),this.dragSource=null)}removeMouseDownListener(){this.mouseDownListener&&(this.mouseDownListener(),this.mouseDownListener=void 0)}},E1=class{constructor(){this.reordered=!1,this.removals=new Set,this.updates=new Set,this.adds=new Set}};function vq(e){const{rowIndex:t,rowPinned:n,column:o}=e;return`${t}.${n??"null"}.${o.getId()}`}function hD(e,t){const n=e.column===t.column,o=e.rowPinned===t.rowPinned,i=e.rowIndex===t.rowIndex;return n&&o&&i}function Cq(e,t){switch(e.rowPinned){case"top":if(t.rowPinned!=="top")return!0;break;case"bottom":if(t.rowPinned!=="bottom")return!1;break;default:if(Ge(t.rowPinned))return t.rowPinned!=="top";break}return e.rowIndex<t.rowIndex}function bq(e,t){return!e&&!t?!0:e&&!t||!e&&t?!1:e.rowIndex===t.rowIndex&&e.rowPinned==t.rowPinned}function yq(e){let t=0,n;const{pinnedRowModel:o,rowModel:i,pageBounds:s}=e;return o?.getPinnedTopRowCount()?n="top":i.getRowCount()?(n=null,t=s.getFirstRow()):o?.getPinnedBottomRowCount()&&(n="bottom"),n===void 0?null:{rowIndex:t,rowPinned:n}}function wq(e){let t,n=null;const{pinnedRowModel:o,pageBounds:i}=e,s=o?.getPinnedBottomRowCount(),r=o?.getPinnedTopRowCount();return s?(n="bottom",t=s-1):e.rowModel.getRowCount()?t=i.getLastRow():r&&(n="top",t=r-1),t===void 0?null:{rowIndex:t,rowPinned:n}}function Pr(e,t){switch(t.rowPinned){case"top":return e.pinnedRowModel?.getPinnedTopRow(t.rowIndex);case"bottom":return e.pinnedRowModel?.getPinnedBottomRow(t.rowIndex);default:return e.rowModel.getRow(t.rowIndex)}}function Xc(e,t){const n=e.spannedRowRenderer?.getCellByPosition(t);
52if(n)return n;const o=e.rowRenderer.getRowByPosition(t);return o?o.getCellCtrl(t.column):null}function Sq(e,t,n){const{rowModel:o,pinnedRowModel:i}=e;let s;return s??(s=o?.getRowNode(t)),n?s??(s=i?.getPinnedRowById(t,n)):(s??(s=i?.getPinnedRowById(t,"top")),s??(s=i?.getPinnedRowById(t,"bottom"))),s}function om(e,t,n=!1){const{rowIndex:o,rowPinned:i}=t,{pageBounds:s,pinnedRowModel:r,rowModel:a}=e;if(o===0)return i==="top"?null:i==="bottom"&&a.isRowsToRender()?{rowIndex:s.getLastRow(),rowPinned:null}:r?.isRowsToRender("top")?{rowIndex:r.getPinnedTopRowCount()-1,rowPinned:"top"}:null;if(n){const l=i?void 0:a.getRow(o);return pD(e,l,!0)??{rowIndex:o-1,rowPinned:i}}return{rowIndex:o-1,rowPinned:i}}function F8(e,t,n=!1){const{rowIndex:o,rowPinned:i}=t,{pageBounds:s,pinnedRowModel:r,rowModel:a}=e;if(Eq(e,t))return i==="bottom"?null:i==="top"&&a.isRowsToRender()?{rowIndex:s.getFirstRow(),rowPinned:null}:r?.isRowsToRender("bottom")?{rowIndex:0,rowPinned:"bottom"}:null;if(n){const l=i?void 0:a.getRow(o);return pD(e,l)??{rowIndex:o+1,rowPinned:i}}return{rowIndex:o+1,rowPinned:i}}function pD(e,t,n=!1){const{gos:o,rowRenderer:i}=e;if(!t?.sticky||!YL(o))return;const s=i.getStickyTopRowCtrls(),r=i.getStickyBottomRowCtrls(),a=!r.some(d=>d.rowNode.rowIndex===t.rowIndex),l=a?s:r,c=(n?-1:1)*(a?-1:1);let u;for(let d=0;d<l.length;d++)if(l[d].rowNode.rowIndex===t.rowIndex){u=l[d+c];break}return u?{rowIndex:u.rowNode.rowIndex,rowPinned:null}:void 0}function Eq(e,t){const{rowPinned:n,rowIndex:o}=t,{pinnedRowModel:i,pageBounds:s}=e;return n==="top"?(i?.getPinnedTopRowCount()??0)-1<=o:n==="bottom"?(i?.getPinnedBottomRowCount()??0)-1<=o:s.getLastRow()<=o}var Zh=class{constructor(e,t){this.active=!0,this.nodeIdsToColumns={},this.mapToItems={},this.keepingColumns=e,this.pathRoot={rowNode:t,children:null},this.mapToItems[t.id]=this.pathRoot}depthFirstSearchChangedPath(e,t){const{rowNode:n,children:o}=e;if(o)for(let i=0;i<o.length;++i)this.depthFirstSearchChangedPath(o[i],t);t(n)}depthFirstSearchEverything(e,t,n){const o=e.childrenAfterGroup;if(o)for(let i=0,s=o.length;i<s;++i){const r=o[i];r.childrenAfterGroup?this.depthFirstSearchEverything(r,t,n):n&&t(r)}t(e)}forEachChangedNodeDepthFirst(e,t=!1,n=!1){this.active&&!n?this.depthFirstSearchChangedPath(this.pathRoot,e):this.depthFirstSearchEverything(this.pathRoot.rowNode,e,t)}executeFromRootNode(e){e(this.pathRoot.rowNode)}createPathItems(e){let t=e,n=0;for(;!this.mapToItems[t.id];){const o={rowNode:t,children:null};this.mapToItems[t.id]=o,n++,t=t.parent}return n}populateColumnsMap(e,t){if(!this.keepingColumns||!t)return;let n=e;for(;n;){this.nodeIdsToColumns[n.id]||(this.nodeIdsToColumns[n.id]={});for(const o of t)this.nodeIdsToColumns[n.id][o.getId()]=!0;n=n.parent}}linkPathItems(e,t){let n=e;for(let o=0;o<t;o++){const i=this.mapToItems[n.id],s=this.mapToItems[n.parent.id];s.children||(s.children=[]),s.children.push(i),n=n.parent}}addParentNode(e,t){if(!e||e.isRowPinned())return;const n=this.createPathItems(e);this.linkPathItems(e,n),this.populateColumnsMap(e,t)}canSkip(e){return this.active&&!this.mapToItems[e.id]}getValueColumnsForNode(e,t){if(!this.keepingColumns)return t;const n=this.nodeIdsToColumns[e.id];return t.filter(i=>n[i.getId()])}getNotValueColumnsForNode(e,t){if(!this.keepingColumns)return null;const n=this.nodeIdsToColumns[e.id];return t.filter(i=>!n[i.getId()])}},Tq=class{constructor(e,t){this.beans=e,this.groupThrottled=!1,this.scrollChanged=!1,this.scrollChanging=!1,this.oldVScroll=null,this.groupTimer=null,this.groupTarget=null,this.onGroupThrottle=()=>{this.groupTimer=null,this.groupThrottled=!0,this.beans.dragAndDrop?.nudge()};const n=()=>t.scrollFeature.getVScrollPosition().top;this.autoScroll=new DK({scrollContainer:t.eBodyViewport,scrollAxis:"y",getVerticalPosition:n,setVerticalPosition:o=>t.scrollFeature.setVerticalScrollPosition(o),onScrollCallback:()=>{const o=n();if(this.oldVScroll!==o){this.oldVScroll=o,this.scrollChanging=!0;return}const i=this.scrollChanging;this.scrollChanged=i,this.scrollChanging=!1,i&&(this.beans.dragAndDrop?.nudge(),this.scrollChanged=!1)}})}updateGroup(e,t){this.groupTarget&&this.groupTarget!==e&&this.clearGroup(),e&&(t&&this.groupThrottled&&!e.expanded&&e.childrenAfterSort?.length&&e.isExpandable()&&e.setExpanded(!0,void 0,!0),e.expanded&&e.childrenAfterSort?.length&&(this.groupThrottled=!0,this.groupTarget=e))}startGroup(e){this.groupTarget=e,this.groupTimer===null&&(this.groupTimer=window.setTimeout(this.onGroupThrottle,this.beans.gos.get("rowDragInsertDelay")))}clearGroup(){this.groupThrottled=!1,this.groupTarget=null;const e=this.groupTimer;e!==null&&(this.groupTimer=null,window.clearTimeout(e))}clear(){this.clearGroup(),this.autoScroll.ensureCleared(),this.oldVScroll=null,this.scrollChanged=!1,this.scrollChanging=!1}},Rq=class extends we{constructor(e){super(),this.eContainer=e,this.lastDraggingEvent=null,this.nudger=null}postConstruct(){const e=this.beans;e.ctrlsSvc.whenReady(this,t=>{this.nudger=new Tq(e,t.gridBodyCtrl)})}destroy(){super.destroy(),this.nudger?.clear(),this.nudger=null,this.lastDraggingEvent=null,this.eContainer=null}getContainer(){return this.eContainer}isInterestedIn(e){return e===2}getIconName(e){return e?.dropTarget?.allowed===!1||this.gos.get("rowDragManaged")&&this.shouldPreventRowMove()?"notAllowed":"move"}shouldPreventRowMove(){const{rowGroupColsSvc:e,filterManager:t,sortSvc:n}=this.beans;return!!((e?.columns??[]).length||t?.isAnyFilterPresent()||n?.isSortActive())}getRowNodes(e){if(!this.isFromThisGrid(e))return e.dragItem.rowNodes||[];const t=e.dragItem.rowNode;if(this.gos.get("rowDragMultiRow")){const n=this.beans.selectionSvc?.getSelectedNodes();if(n&&n.indexOf(t)>=0)return n.slice().sort(Lq)}return[t]}onDragEnter(e){this.dragging(e,!0)}onDragging(e){this.dragging(e,!1)}dragging(e,t){const{lastDraggingEvent:n,beans:o}=this;if(t){const r=this.getRowNodes(e);e.dragItem.rowNodes=r,B8(r,!0)}this.lastDraggingEvent=e;const i=e.fromNudge,s=this.makeRowsDrop(n,e,i,!1);o.rowDropHighlightSvc?.fromDrag(e),t&&this.dispatchGridEvent("rowDragEnter",e),this.dispatchGridEvent("rowDragMove",e),s?.rowDragManaged&&s.moved&&s.allowed&&s.sameGrid&&!s.suppressMoveWhenRowDragging&&(!i&&!this.nudger?.autoScroll.scrolling||this.nudger?.scrollChanged)&&this.dropRows(s),this.nudger?.autoScroll.check(e.event)}isFromThisGrid(e){return e.dragSource.dragSourceDomDataKey===this.gos.getDomDataKey()}makeRowsDrop(e,t,n,o){const{beans:i,gos:s}=this,r=this.newRowsDrop(t,o),a=i.rowModel;if(t.dropTarget=r,t.changed=!1,!r)return null;let{sameGrid:l,rootNode:c,source:u,target:d,rows:h}=r;d??(d=a.getRow(a.getRowCount()-1)??null);const p=!!this.beans.groupStage?.treeData&&l;let f=null;if(d?.footer){const b=T1(a,-1,d)??T1(a,1,d);f=d.sibling??c,d=b??null}d?.detail&&(d=d.parent),r.moved&&(r.moved=u!==d);let g=.5;if(d&&(l&&r.moved&&(f||!p)?g=u.rowIndex>d.rowIndex?-.5:.5:g=(r.y-d.rowTop-d.rowHeight/2)/d.rowHeight||0),!p&&l&&d&&r.moved&&kn(s)){const b=xq(a,r);b&&(g=u.rowIndex>b.rowIndex?-.5:.5,d=b,r.moved&&(r.moved=u!==d))}const m=this.nudger;m?.updateGroup(d,n),p&&!f&&m&&(!d||g>=.5&&d.rowIndex===i.pageBounds.getLastRow()?f=c:r.moved&&this.targetShouldBeParent(d,g,h)&&(m.groupThrottled&&(f=d),!n&&(!f||d&&!d.expanded&&d.childrenAfterSort?.length)&&m.startGroup(d)),f??(f=d?.parent??c));let v=!1;if(f){if(f===d&&f!==c){const b=f.expanded?T1(a,1,d):null;b?.parent===f?(d=b,g=-.5):v=!0}if(d&&!v){let b=d;for(;b&&b!==c&&b!==f;)d=b,b=b.parent}}r.target=d,r.newParent=f,r.moved&&(r.moved=u!==d);const y=g<0?"above":"below";return r.position=r.moved?v?"inside":y:"none",this.validateRowsDrop(r,p,y,o),t.changed||(t.changed=Mq(e?.dropTarget,r)),r}newRowsDrop(e,t){const{beans:n,gos:o}=this,i=n.rowModel.rootNode,s=kn(o)?o.get("rowDragManaged"):!1,r=o.get("suppressMoveWhenRowDragging"),a=this.isFromThisGrid(e);let{rowNode:l,rowNodes:c}=e.dragItem;if(c||(c=l?[l]:[]),l||(l=c[0]),!l||!i)return null;const u=this.beans.dragAndDrop.isDropZoneWithinThisGrid(e);let d=!0;s&&(!c.length||this.shouldPreventRowMove()||(r||!a)&&!u)&&(d=!1);const h=E8(n,e).y,p=this.getOverNode(h);return{api:n.gridApi,context:n.gridOptions.context,draggingEvent:e,rowDragManaged:s,suppressMoveWhenRowDragging:r,sameGrid:a,withinGrid:u,rootNode:i,moved:l!==p,y:h,overNode:p,overIndex:p?.rowIndex??-1,position:"none",source:l,target:p??null,
52newParent:null,rows:c,allowed:d,highlight:!t&&s&&r&&(u||!a)}}validateRowsDrop(e,t,n,o){const{rowDragManaged:i,suppressMoveWhenRowDragging:s}=e;t||(e.newParent=null),s&&!e.moved&&(e.allowed=!1);const r=(!i||e.allowed)&&this.gos.get("isRowValidDropPosition");if(r){t&&e.newParent&&O8(e.rows,e.newParent)&&(e.newParent=null);const a=r(e);if(!a)e.allowed=!1;else if(typeof a=="object"){a.rows!==void 0&&(e.rows=a.rows??[]),t&&a.newParent!==void 0&&(e.newParent=a.newParent),a.target!==void 0&&(e.target=a.target),a.position&&(e.position=a.position),a.allowed!==void 0?e.allowed=a.allowed:i||(e.allowed=!0);const l=e.draggingEvent;a.changed&&l&&(l.changed=!0),!o&&a.highlight!==void 0&&(e.highlight=a.highlight)}}i&&(e.rows=this.filterRows(e)),t&&e.newParent&&O8(e.rows,e.newParent)&&(e.newParent=null),s&&(!e.rows.length||e.position==="none")&&(e.allowed=!1),(!e.allowed||!e.newParent)&&e.position==="inside"&&(e.position=n)}targetShouldBeParent(e,t,n){const o=e.rowIndex,i=.25;if(t<-.5+i)return!1;if(t<.5-i)return!0;let s,r=o+1;const a=this.beans.rowModel;do s=a.getRow(r++);while(s?.footer);const l=e.childrenAfterGroup;if(s&&s.parent===e&&l?.length){const c=new Set(n);for(const u of l)if(u.rowIndex!==null&&!c.has(u))return!0}return!1}addRowDropZone(e){if(!e.getContainer()){Me(55);return}const t=this.beans.dragAndDrop;if(t.findExternalZone(e.getContainer())){Me(56);return}const n=e.fromGrid?e:{getContainer:e.getContainer,onDragEnter:e.onDragEnter&&(i=>e.onDragEnter(this.rowDragEvent("rowDragEnter",i))),onDragLeave:e.onDragLeave&&(i=>e.onDragLeave(this.rowDragEvent("rowDragLeave",i))),onDragging:e.onDragging&&(i=>e.onDragging(this.rowDragEvent("rowDragMove",i))),onDragStop:e.onDragStop&&(i=>e.onDragStop(this.rowDragEvent("rowDragEnd",i))),onDragCancel:e.onDragCancel&&(i=>e.onDragCancel(this.rowDragEvent("rowDragCancel",i)))},o={isInterestedIn:i=>i===2,getIconName:()=>"move",external:!0,...n};t.addDropTarget(o),this.addDestroyFunc(()=>t.removeDropTarget(o))}getRowDropZone(e){return{getContainer:this.getContainer.bind(this),onDragEnter:n=>{this.onDragEnter(n),e?.onDragEnter?.(this.rowDragEvent("rowDragEnter",n))},onDragLeave:n=>{this.onDragLeave(n),e?.onDragLeave?.(this.rowDragEvent("rowDragLeave",n))},onDragging:n=>{this.onDragging(n),e?.onDragging?.(this.rowDragEvent("rowDragMove",n))},onDragStop:n=>{this.onDragStop(n),e?.onDragStop?.(this.rowDragEvent("rowDragEnd",n))},onDragCancel:n=>{this.onDragCancel(n),e?.onDragCancel?.(this.rowDragEvent("rowDragCancel",n))},fromGrid:!0}}getOverNode(e){const{pageBounds:t,rowModel:n}=this.beans,i=e>t.getCurrentPagePixelRange().pageLastPixel?-1:n.getRowIndexAtPixel(e);return i>=0?n.getRow(i):void 0}rowDragEvent(e,t){const n=this.beans,{dragItem:o,dropTarget:i,event:s,vDirection:r}=t,a=i?.rootNode===n.rowModel.rootNode,l=a?i.y:E8(n,t).y,c=a?i.overNode:this.getOverNode(l),u=a?i.overIndex:c?.rowIndex??-1;return{api:n.gridApi,context:n.gridOptions.context,type:e,event:s,node:o.rowNode,nodes:o.rowNodes,overIndex:u,overNode:c,y:l,vDirection:r,rowsDrop:i}}dispatchGridEvent(e,t){const n=this.rowDragEvent(e,t);this.eventSvc.dispatchEvent(n)}onDragLeave(e){this.dispatchGridEvent("rowDragLeave",e),this.stopDragging(e)}onDragStop(e){const t=this.makeRowsDrop(this.lastDraggingEvent,e,!1,!0);this.dispatchGridEvent("rowDragEnd",e),t?.allowed&&t.rowDragManaged&&(t.suppressMoveWhenRowDragging||!t.sameGrid||this.nudger?.autoScroll.scrolling)&&this.dropRows(t),this.stopDragging(e)}onDragCancel(e){this.dispatchGridEvent("rowDragCancel",e),this.stopDragging(e)}stopDragging(e){this.nudger?.clear(),this.beans.rowDropHighlightSvc?.fromDrag(null),B8(e.dragItem.rowNodes,!1)}dropRows(e){return e.sameGrid?this.csrmMoveRows(e):this.csrmAddRows(e)}csrmAddRows({position:e,target:t,rows:n}){const o=Lu(this.gos),i=this.beans.rowModel,s=n.filter(({data:a,rowPinned:l})=>!i.getRowNode(o?.({data:a,level:0,rowPinned:l})??a.id)).map(({data:a})=>a);if(s.length===0)return!1;const r=t?N8(t)+(e==="above"?0:1):void 0;return i.updateRowData({add:s,addIndex:r}),!0}filterRows({newParent:e,rows:t}){let n;for(let o=0,i=t.length;o<i;++o){let s=!0;const r=t[o];(!r||r.footer||r.rowTop===null&&r!==this.beans.rowModel.getRowNode(r.id)||e&&r.parent!==e&&Pq(r,e)||!C5(r))&&(s=!1),s?n?.push(r):n??(n=t.slice(0,o))}return n??t}csrmMoveRows({position:e,target:t,rows:n,newParent:o,rootNode:i}){let s=!1;const r=new Set;for(const h of n){o&&h.parent!==o&&(h.treeParent=o,s=!0);const p=C5(h);p&&r.add(p)}if(!s&&r.size===0)return!1;const a=this.beans.focusSvc,l=a.getFocusedCell(),c=l&&Xc(this.beans,l);if(r.size&&this.reorderLeafChildren(r,...this.getMoveRowsBounds(r,t,e==="above"))&&(s=!0),!s)return!1;const u=this.beans.rowModel,d=new E1;return d.reordered=!0,u.refreshModel({step:"group",keepRenderedRows:!0,animate:!this.gos.get("suppressAnimationFrame"),changedPath:new Zh(!1,i),changedRowNodes:d}),c?c.focusCell():a.clearFocusedCell(),!0}getMoveRowsBounds(e,t,n){const o=this.beans.rowModel.rootNode?._leafs?.length??0;let i=t?N8(t):-1;i<0||i>=o?i=o:n||++i;let s=i,r=Math.min(i,o-1);for(const a of e){const l=a.sourceRowIndex;l<s&&(s=l),l>r&&(r=l)}return[s,i,r]}reorderLeafChildren(e,t,n,o){let i=!1;const s=this.beans.rowModel.rootNode?._leafs;if(!e.size||!s)return!1;let r=t;for(let l=t;l<n;++l){const c=s[l];e.has(c)||(c.sourceRowIndex!==r&&(c.sourceRowIndex=r,s[r]=c,i=!0),++r)}let a=o;for(let l=o;l>=n;--l){const c=s[l];e.has(c)||(c.sourceRowIndex!==a&&(c.sourceRowIndex=a,s[a]=c,i=!0),--a)}for(const l of e)l.sourceRowIndex!==r&&(l.sourceRowIndex=r,s[r]=l,i=!0),++r;return i}},T1=(e,t,n)=>{if(n){const o=e.getRowCount();let i=n.rowIndex+t;
52for(;i>=0&&i<o;){const s=e.getRow(i);if(!s||!s.footer&&!s.detail)return s;i+=t}}},Pq=(e,t)=>{let n=t;for(;n;){if(n===e)return!0;n=n.parent}return!1},O8=(e,t)=>{for(let n=0,o=e.length;n<o;++n)if(e[n].parent!==t)return!1;return!0},N8=e=>{const t=C5(e);return t!==void 0?t.sourceRowIndex:-1},C5=e=>e.data?e:Vx(e.childrenAfterGroup),Mq=(e,t)=>e!==t&&(!e||e.sameGrid!==t.sameGrid||e.allowed!==t.allowed||e.position!==t.position||e.target!==t.target||e.source!==t.source||e.newParent!==t.newParent||!za(e.rows,t.rows)),Lq=({rowIndex:e},{rowIndex:t})=>e!==null&&t!==null?e-t:0,B8=(e,t)=>{for(let n=0,o=e?.length||0;n<o;++n){const i=e[n];i.dragging!==t&&(i.dragging=t,i.dispatchRowEvent("draggingChanged"))}},xq=(e,t)=>{let n=null,o=t.target;if(o&&t.rows.indexOf(o)<0)return null;const i=t.source;if(!o||!i)return null;let s=o.rowIndex-i.rowIndex;const r=s<0?-1:1;s=t.suppressMoveWhenRowDragging?Math.abs(s):1;const a=new Set(t.rows);do{const l=T1(e,r,o);if(!l)break;a.has(l)||(n=l,--s),o=l}while(s>0);return n},Dq=class extends we{constructor(){super(...arguments),this.beanName="rowDragSvc"}setupRowDrag(e,t){const n=t.createManagedBean(new Rq(e)),o=this.beans.dragAndDrop;o.addDropTarget(n),t.addDestroyFunc(()=>o.removeDropTarget(n)),this.rowDragFeature=n}createRowDragComp(e,t,n,o,i,s){return new mq(e,t,n,o,i,s)}createRowDragCompForRow(e,t){if(Rr(this.gos))return;const n=this.getLocaleTextFunc();return this.createRowDragComp(()=>`1 ${n("rowDragRow","row")}`,e,void 0,t,void 0,!0)}createRowDragCompForCell(e,t,n,o,i,s){const r=this.gos;return r.get("rowDragManaged")&&(!kn(r)||r.get("pagination"))?void 0:this.createRowDragComp(n,e,t,o,i,s)}},kq=class extends we{constructor(){super(...arguments),this.beanName="rowDropHighlightSvc",this.uiLevel=0,this.dragging=!1,this.row=null,this.position="none"}postConstruct(){this.addManagedEventListeners({modelUpdated:this.onModelUpdated.bind(this)})}onModelUpdated(){const e=this.row,t=this.dragging;!e||e?.rowIndex===null||this.position==="none"?this.clear():this.set(e,this.position),this.dragging=t}destroy(){this.clear(),super.destroy()}clear(){const e=this.row;this.dragging=!1,e&&(this.uiLevel=0,this.position="none",this.row=null,e.dispatchRowEvent("rowHighlightChanged"))}set(e,t){const n=e!==this.row,o=e.uiLevel,i=t!==this.position,s=o!==this.uiLevel;this.dragging=!1,(n||i||s)&&(n&&this.clear(),this.uiLevel=o,this.position=t,this.row=e,e.dispatchRowEvent("rowHighlightChanged"))}fromDrag(e){const t=e?.dropTarget;if(t){const{highlight:n,target:o,position:i}=t;if(n&&o&&i!=="none"){this.set(o,i),this.dragging=!0;return}}this.dragging&&this.clear()}},fD={moduleName:"Drag",version:We,beans:[pq]},Aq={moduleName:"DragAndDrop",version:We,dynamicBeans:{dndSourceComp:aq},icons:{rowDrag:"grip"}},gD={moduleName:"SharedDragAndDrop",version:We,beans:[Lj],dependsOn:[fD],userComponents:{agDragAndDropImage:lK},icons:{columnMovePin:"pin",columnMoveHide:"eye-slash",columnMoveMove:"arrows",columnMoveLeft:"left",columnMoveRight:"right",columnMoveGroup:"group",columnMoveValue:"aggregation",columnMovePivot:"pivot",dropNotAllowed:"not-allowed",rowDrag:"grip"}},_q={moduleName:"RowDrag",version:We,beans:[kq,Dq],apiFunctions:{addRowDropZone:lq,removeRowDropZone:cq,getRowDropZoneParams:uq,getRowDropPositionIndicator:dq,setRowDropPositionIndicator:hq},dependsOn:[gD]},Iq={moduleName:"HorizontalResize",version:We,beans:[fq],dependsOn:[fD]},Fq=":where(.ag-ltr) :where(.ag-column-moving){.ag-cell,.ag-header-cell,.ag-spanned-cell-wrapper{transition:left .2s}.ag-header-group-cell{transition:left .2s,width .2s}}:where(.ag-rtl) :where(.ag-column-moving){.ag-cell,.ag-header-cell,.ag-spanned-cell-wrapper{transition:right .2s}.ag-header-group-cell{transition:right .2s,width .2s}}",Oq=class extends we{constructor(){super(...arguments),this.beanName="colAnimation",this.executeNextFuncs=[],this.executeLaterFuncs=[],this.active=!1,this.activeNext=!1,this.suppressAnimation=!1,this.animationThreadCount=0}postConstruct(){this.beans.ctrlsSvc.whenReady(this,e=>this.gridBodyCtrl=e.gridBodyCtrl)}isActive(){return this.active&&!this.suppressAnimation}setSuppressAnimation(e){this.suppressAnimation=e}
52start(){if(this.active)return;const{gos:e}=this;e.get("suppressColumnMoveAnimation")||e.get("enableRtl")||(this.ensureAnimationCssClassPresent(),this.active=!0,this.activeNext=!0)}finish(){this.active&&this.flush(()=>this.activeNext=!1,()=>this.active=!1)}executeNextVMTurn(e){this.activeNext?this.executeNextFuncs.push(e):e()}executeLaterVMTurn(e){this.active?this.executeLaterFuncs.push(e):e()}ensureAnimationCssClassPresent(){this.animationThreadCount++;const e=this.animationThreadCount,{gridBodyCtrl:t}=this;t.setColumnMovingCss(!0),this.executeLaterFuncs.push(()=>{this.animationThreadCount===e&&t.setColumnMovingCss(!1)})}flush(e,t){const{executeNextFuncs:n,executeLaterFuncs:o}=this;if(n.length===0&&o.length===0){e(),t();return}const i=s=>{for(;s.length;){const r=s.pop();r&&r()}};this.beans.frameworkOverrides.wrapIncoming(()=>{window.setTimeout(()=>{e(),i(n)},0),window.setTimeout(()=>{t(),i(o)},200)})}};function Nq(e,t,n){e.colMoves?.moveColumnByIndex(t,n,"api")}function Bq(e,t,n){e.colMoves?.moveColumns(t,n,"api")}var Hq=class extends we{constructor(e){super(),this.pinned=e,this.columnsToAggregate=[],this.columnsToGroup=[],this.columnsToPivot=[]}onDragEnter(e){if(this.clearColumnsList(),this.gos.get("functionsReadOnly"))return;const t=e.dragItem.columns;if(t)for(const n of t)n.isPrimary()&&(n.isAnyFunctionActive()||(n.isAllowValue()?this.columnsToAggregate.push(n):n.isAllowRowGroup()?this.columnsToGroup.push(n):n.isAllowPivot()&&this.columnsToPivot.push(n)))}getIconName(){return this.columnsToAggregate.length+this.columnsToGroup.length+this.columnsToPivot.length>0?this.pinned?"pinned":"move":null}onDragLeave(e){this.clearColumnsList()}clearColumnsList(){this.columnsToAggregate.length=0,this.columnsToGroup.length=0,this.columnsToPivot.length=0}onDragging(e){}onDragStop(e){const{valueColsSvc:t,rowGroupColsSvc:n,pivotColsSvc:o}=this.beans;this.columnsToAggregate.length>0&&t?.addColumns(this.columnsToAggregate,"toolPanelDragAndDrop"),this.columnsToGroup.length>0&&n?.addColumns(this.columnsToGroup,"toolPanelDragAndDrop"),this.columnsToPivot.length>0&&o?.addColumns(this.columnsToPivot,"toolPanelDragAndDrop")}onDragCancel(){this.clearColumnsList()}};function Vq(e,t){!t||t.length<=1||t.filter(o=>e.indexOf(o)<0).length>0||t.sort((o,i)=>{const s=e.indexOf(o),r=e.indexOf(i);return s-r})}function $q(e){const t=[...e];for(const n of e){let o=null,i=n.getParent();for(;i!=null&&i.getDisplayedLeafColumns().length===1;)o=i,i=i.getParent();if(o!=null){const r=!!o.getColGroupDef()?.marryChildren?o.getProvidedColumnGroup().getLeafColumns():o.getLeafColumns();for(const a of r)t.includes(a)||t.push(a)}}return t}function Wq(e,t,n,o){const i=o.allCols;let s=null,r=null;for(let a=0;a<e.length;a++){const l=e[a],c=n.getProposedColumnOrder(t,l);if(!n.doesOrderPassRules(c))continue;const u=c.filter(h=>i.includes(h));if(r===null)r=u;else if(!za(u,r))break;const d=zq(c);(s===null||d<s.fragCount)&&(s={move:l,fragCount:d})}return s}function mD(e){const{isFromHeader:t,fromLeft:n,xPosition:o,fromEnter:i,fakeEvent:s,pinned:r,gos:a,colModel:l,colMoves:c,visibleCols:u}=e;let{allMovingColumns:d}=e;t&&(d=$q(d));const h=d.slice();Vq(l.getCols(),h);const p=jq({movingCols:h,draggingRight:n,xPosition:o,pinned:r,gos:a,colModel:l,visibleCols:u}),f=Gq(h,l);if(p.length===0)return;const g=p[0];if(f!==null&&(t||!i)&&!s&&(!n&&g>=f||n&&g<=f))return;const v=Wq(p,h,c,u);if(!v)return;const y=v.move;if(!(y>l.getCols().length-h.length))return{columns:h,toIndex:y}}function vD(e){const{columns:t,toIndex:n}=mD(e)||{},{finished:o,colMoves:i}=e;return!t||n==null?null:(i.moveColumns(t,n,"uiColumnMoved",o),o?null:{columns:t,toIndex:n})}function Gq(e,t){const n=t.getCols(),o=e.map(l=>n.indexOf(l)).sort((l,c)=>l-c),i=o[0];return on(o)-i!==o.length-1?null:i}function zq(e){function t(o){const i=[];let s=o.getOriginalParent();for(;s!=null;)i.push(s),s=s.getOriginalParent();return i}let n=0;for(let o=0;o<e.length-1;o++){let i=t(e[o]),s=t(e[o+1]);[i,s]=i.length>s.length?[i,s]:[s,i];for(const r of i)s.indexOf(r)===-1&&n++}return n}function Uq(e,t){switch(t){case"left":return e.leftCols;case"right":return e.rightCols;default:return e.centerCols}}function jq(e){const{movingCols:t,draggingRight:n,xPosition:o,pinned:i,gos:s,colModel:r,visibleCols:a}=e;if(s.get("suppressMovableColumns")||t.some(b=>b.getColDef().suppressMovable))return[];const c=Uq(a,i),u=r.getCols(),d=c.filter(b=>t.includes(b)),h=c.filter(b=>
52!t.includes(b)),p=u.filter(b=>!t.includes(b));let f=0,g=o;if(n){let b=0;for(const w of d)b+=w.getActualWidth();g-=b}if(g>0){for(let b=0;b<h.length;b++){const w=h[b];if(g-=w.getActualWidth(),g<0)break;f++}n&&f++}let m;if(f>0){const b=h[f-1];m=p.indexOf(b)+1}else m=p.indexOf(h[0]),m===-1&&(m=0);const v=[m],y=(b,w)=>b-w;if(n){let b=m+1;const w=u.length-1;for(;b<=w;)v.push(b),b++;v.sort(y)}else{let b=m;const w=u.length-1;let S=u[b];for(;b<=w&&c.indexOf(S)<0;)b++,v.push(b),S=u[b];b=m-1;const E=0;for(;b>=E;)v.push(b),b--;v.sort(y).reverse()}return v}function b5(e){const{pinned:t,fromKeyboard:n,gos:o,ctrlsSvc:i,useHeaderRow:s,skipScrollPadding:r}=e;let a=i.getHeaderRowContainerCtrl(t)?.eViewport,{x:l}=e;return a?(n&&(l-=a.getBoundingClientRect().left),o.get("enableRtl")&&(s&&(a=a.querySelector(".ag-header-row")),l=a.clientWidth-l),t==null&&!r&&(l+=i.get("center").getCenterViewportScrollLeft()),l):0}function pv(e,t){for(const n of e)n.moving=t,n.dispatchColEvent("movingChanged","uiColumnMoved")}var H8=7,y5=100,Of=y5/2,Zq=5,Kq=100,qq=class extends we{constructor(e){super(),this.pinned=e,this.needToMoveLeft=!1,this.needToMoveRight=!1,this.lastMovedInfo=null,this.isCenterContainer=!Ge(e)}postConstruct(){this.beans.ctrlsSvc.whenReady(this,e=>{this.gridBodyCon=e.gridBodyCtrl})}getIconName(){const{pinned:e,lastDraggingEvent:t}=this,{dragItem:n}=t||{},o=n?.columns??[];for(const i of o){const s=i.getPinned();if(i.getColDef().lockPinned){if(s==e)return"move";continue}const r=n?.containerType;if(r===e||!e)return"move";if(e&&(!s||r!==e))return"pinned"}return"notAllowed"}onDragEnter(e){const t=e.dragItem,n=t.columns;if(e.dragSource.type===0)this.setColumnsVisible(n,!0,"uiColumnDragged");else{const i=t.visibleState,s=(n||[]).filter(r=>i[r.getId()]&&!r.isVisible());this.setColumnsVisible(s,!0,"uiColumnDragged")}this.gos.get("suppressMoveWhenColumnDragging")||this.attemptToPinColumns(n,this.pinned),this.onDragging(e,!0,!0)}onDragging(e=this.lastDraggingEvent,t=!1,n=!1,o=!1){const{gos:i,ctrlsSvc:s}=this.beans,r=i.get("suppressMoveWhenColumnDragging");if(o&&!r){this.finishColumnMoving();return}if(this.lastDraggingEvent=e,!e||!o&&pn(e.hDirection))return;const a=b5({x:e.x,pinned:this.pinned,gos:i,ctrlsSvc:s});t||this.checkCenterForScrolling(a),r?this.handleColumnDragWhileSuppressingMovement(e,t,n,a,o):this.handleColumnDragWhileAllowingMovement(e,t,n,a,o)}onDragLeave(){this.ensureIntervalCleared(),this.clearHighlighted(),this.updateDragItemContainerType(),this.lastMovedInfo=null}onDragStop(){this.onDragging(this.lastDraggingEvent,!1,!0,!0),this.ensureIntervalCleared(),this.lastMovedInfo=null}onDragCancel(){this.clearHighlighted(),this.ensureIntervalCleared(),this.lastMovedInfo=null}setColumnsVisible(e,t,n){if(!e?.length)return;const o=e.filter(i=>!i.getColDef().lockVisible);o.length&&this.beans.colModel.setColsVisible(o,t,n)}finishColumnMoving(){this.clearHighlighted();const e=this.lastMovedInfo;if(!e)return;const{columns:t,toIndex:n}=e;this.beans.colMoves.moveColumns(t,n,"uiColumnMoved",!0)}updateDragItemContainerType(){const{lastDraggingEvent:e}=this;if(this.gos.get("suppressMoveWhenColumnDragging")||!e)return;const t=e.dragItem;t&&(t.containerType=this.pinned)}handleColumnDragWhileSuppressingMovement(e,t,n,o,i){const s=this.getAllMovingColumns(e,!0);if(i){const r=this.isAttemptingToPin(s);r&&this.attemptToPinColumns(s,void 0,!0);const{fromLeft:a,xPosition:l}=this.getNormalisedXPositionInfo(s,r)||{};if(a==null||l==null){this.finishColumnMoving();return}this.moveColumnsAfterHighlight({allMovingColumns:s,xPosition:l,fromEnter:t,fakeEvent:n,fromLeft:a})}else{if(!this.beans.dragAndDrop.isDropZoneWithinThisGrid(e))return;this.highlightHoveredColumn(s,o)}}handleColumnDragWhileAllowingMovement(e,t,n,o,i){const s=this.getAllMovingColumns(e),r=this.normaliseDirection(e.hDirection)==="right",a=e.dragSource.type===1,l=this.getMoveColumnParams({allMovingColumns:s,isFromHeader:a,xPosition:o,fromLeft:r,fromEnter:t,fakeEvent:n}),c=vD({...l,finished:i});c&&(this.lastMovedInfo=c)}getAllMovingColumns(e,t=!1){const n=e.dragSource.getDragItem();let o=null;
52t?(o=n.columnsInSplit,o||(o=n.columns)):o=n.columns;const i=s=>s.getColDef().lockPinned?s.getPinned()==this.pinned:!0;return o?o.filter(i):[]}getMoveColumnParams(e){const{allMovingColumns:t,isFromHeader:n,xPosition:o,fromLeft:i,fromEnter:s,fakeEvent:r}=e,{gos:a,colModel:l,colMoves:c,visibleCols:u}=this.beans;return{allMovingColumns:t,isFromHeader:n,fromLeft:i,xPosition:o,pinned:this.pinned,fromEnter:s,fakeEvent:r,gos:a,colModel:l,colMoves:c,visibleCols:u}}highlightHoveredColumn(e,t){const{gos:n,colModel:o}=this.beans,i=n.get("enableRtl"),s=o.getCols().filter(u=>u.isVisible()&&u.getPinned()===this.pinned);let r=null,a=null,l=null;for(const u of s){if(a=u.getActualWidth(),r=this.getNormalisedColumnLeft(u,0,i),r!=null){const d=r+a;if(r<=t&&d>=t){l=u;break}}r=null,a=null}if(l)e.indexOf(l)!==-1&&(l=null);else{for(let u=s.length-1;u>=0;u--){const d=s[u],h=s[u].getParent();if(!h){l=d;break}const p=h?.getDisplayedLeafColumns();if(p.length){l=on(p);break}}if(!l)return;r=this.getNormalisedColumnLeft(l,0,i),a=l.getActualWidth()}if(this.lastHighlightedColumn?.column!==l&&this.clearHighlighted(),l==null||r==null||a==null)return;let c;t-r<a/2!==i?c=0:c=1,V8(l,c),this.lastHighlightedColumn={column:l,position:c}}getNormalisedXPositionInfo(e,t){const{gos:n,visibleCols:o}=this.beans,i=n.get("enableRtl"),{firstMovingCol:s,column:r,position:a}=this.getColumnMoveAndTargetInfo(e,t,i);if(!s||!r||a==null)return;const l=o.allCols,c=l.indexOf(s),u=l.indexOf(r),d=a===0!==i,h=c<u||c===u&&!d;let p=0;if(d?h&&(p-=1):h||(p+=1),u+p===c)return;const f=l[u+p];if(!f)return;const g=this.getNormalisedColumnLeft(f,20,i);return{fromLeft:h,xPosition:g}}getColumnMoveAndTargetInfo(e,t,n){const o=this.lastHighlightedColumn||{},{firstMovingCol:i,lastMovingCol:s}=Yq(e);if(!i||!s||o.column||!t)return{firstMovingCol:i,...o};const a=this.getPinDirection()==="left";return{firstMovingCol:i,position:a?1:0,column:a!==n?i:s}}normaliseDirection(e){if(this.gos.get("enableRtl"))switch(e){case"left":return"right";case"right":return"left"}return e}getNormalisedColumnLeft(e,t,n){const{gos:o,ctrlsSvc:i}=this.beans,s=e.getLeft();if(s==null)return null;const r=e.getActualWidth();return b5({x:n?s+r-t:s+t,pinned:e.getPinned(),useHeaderRow:n,skipScrollPadding:!0,gos:o,ctrlsSvc:i})}isAttemptingToPin(e){const t=this.needToMoveLeft||this.needToMoveRight,n=this.failedMoveAttempts>H8;return t&&n||e.some(o=>o.getPinned()!==this.pinned)}moveColumnsAfterHighlight(e){const{allMovingColumns:t,xPosition:n,fromEnter:o,fakeEvent:i,fromLeft:s}=e,r=this.getMoveColumnParams({allMovingColumns:t,isFromHeader:!0,xPosition:n,fromLeft:s,fromEnter:o,fakeEvent:i}),{columns:a,toIndex:l}=mD(r)||{};a&&l!=null&&(this.lastMovedInfo={columns:a,toIndex:l}),this.finishColumnMoving()}clearHighlighted(){const{lastHighlightedColumn:e}=this;e&&(V8(e.column,null),this.lastHighlightedColumn=null)}checkCenterForScrolling(e){if(!this.isCenterContainer)return;const t=this.beans.ctrlsSvc.get("center"),n=t.getCenterViewportScrollLeft(),o=n+t.getCenterWidth();let i,s;this.gos.get("enableRtl")?(i=e<n+Of,s=e>o-Of):(s=e<n+Of,i=e>o-Of),this.needToMoveRight=i,this.needToMoveLeft=s,s||i?this.ensureIntervalStarted():this.ensureIntervalCleared()}ensureIntervalStarted(){this.movingIntervalId||(this.intervalCount=0,this.failedMoveAttempts=0,this.movingIntervalId=window.setInterval(this.moveInterval.bind(this),Kq),this.beans.dragAndDrop.setDragImageCompIcon(this.needToMoveLeft?"left":"right",!0))}ensureIntervalCleared(){this.movingIntervalId&&(window.clearInterval(this.movingIntervalId),this.movingIntervalId=null,this.failedMoveAttempts=0,this.beans.dragAndDrop.setDragImageCompIcon(this.getIconName()))}moveInterval(){let e;this.intervalCount++,e=10+this.intervalCount*Zq,e>y5&&(e=y5);let t=null;const n=this.gridBodyCon.scrollFeature;if(this.needToMoveLeft?t=n.scrollHorizontally(-e):this.needToMoveRight&&(t=n.scrollHorizontally(e)),t!==0)this.onDragging(this.lastDraggingEvent),this.failedMoveAttempts=0;else{this.failedMoveAttempts++;const{pinnedCols:o,dragAndDrop:i,gos:s}=this.beans;if(this.failedMoveAttempts<=H8+1||!o)return;if(i.setDragImageCompIcon("pinned"),!s.get("suppressMoveWhenColumnDragging")){const r=this.lastDraggingEvent?.dragItem.columns;this.attemptToPinColumns(r,void 0,!0)}}}getPinDirection(){if(this.needToMoveLeft||this.pinned==="left")return"left";if(this.needToMoveRight||this.pinned==="right")return"right"}attemptToPinColumns(e,t,n=!1){const o=(e||[]).filter(r=>!r.getColDef().lockPinned);if(!o.length)return 0;n&&(t=this.getPinDirection());const{pinnedCols:i,dragAndDrop:s}=this.beans;return i?.setColsPinned(o,t,"uiColumnDragged"),n&&s.nudge(),o.length}destroy(){super.destroy(),this.lastDraggingEvent=null,this.clearHighlighted(),this.lastMovedInfo=null}};function V8(e,t){e.highlighted!==t&&(e.highlighted=t,e.dispatchColEvent("headerHighlightChanged","uiColumnMoved"))}function Yq(e){const t=e.length;let n,o;for(let i=0;i<t;i++){if(!n){const s=e[i];s.getLeft()!=null&&(n=s)}if(!o){const s=e[t-1-i];s.getLeft()!=null&&(o=s)}if(n&&o)break}return{firstMovingCol:n,lastMovingCol:o}}var Xq=class extends we{constructor(e,t){super(),this.pinned=e,this.eContainer=t}postConstruct(){const{ctrlsSvc:e,dragAndDrop:t}=this.beans,n=this.pinned;e.whenReady(this,o=>{let i;const s=o.gridBodyCtrl.eBodyViewport;switch(n){case"left":i=[[s,o.left.eContainer],[o.bottomLeft.eContainer],[o.topLeft.eContainer]];break;case"right":i=[[s,o.right.eContainer],[o.bottomRight.eContainer],[o.top
52Right.eContainer]];break;default:i=[[s,o.center.eViewport],[o.bottomCenter.eViewport],[o.topCenter.eViewport]];break}this.eSecondaryContainers=i}),this.moveColumnFeature=this.createManagedBean(new qq(n)),this.bodyDropPivotTarget=this.createManagedBean(new Hq(n)),t.addDropTarget(this),this.addDestroyFunc(()=>t.removeDropTarget(this))}isInterestedIn(e){return e===1||e===0&&this.gos.get("allowDragFromColumnsToolPanel")}getSecondaryContainers(){return this.eSecondaryContainers}getContainer(){return this.eContainer}getIconName(){return this.currentDropListener.getIconName()}isDropColumnInPivotMode(e){return this.beans.colModel.isPivotMode()&&e.dragSource.type===0}onDragEnter(e){this.currentDropListener=this.isDropColumnInPivotMode(e)?this.bodyDropPivotTarget:this.moveColumnFeature,this.currentDropListener.onDragEnter(e)}onDragLeave(e){this.currentDropListener.onDragLeave(e)}onDragging(e){this.currentDropListener.onDragging(e)}onDragStop(e){this.currentDropListener.onDragStop(e)}onDragCancel(){this.currentDropListener.onDragCancel()}},Jq=class extends we{constructor(){super(...arguments),this.beanName="colMoves"}moveColumnByIndex(e,t,n){const o=this.beans.colModel.getCols();if(!o)return;const i=o[e];this.moveColumns([i],t,n)}moveColumns(e,t,n,o=!0){const{colModel:i,colAnimation:s,visibleCols:r,eventSvc:a}=this.beans,l=i.getCols();if(!l)return;if(t>l.length-e.length){Me(30,{toIndex:t});return}s?.start();const c=i.getColsForKeys(e);this.doesMovePassRules(c,t)&&(i8(i.getCols(),c,t),r.refresh(n),a.dispatchEvent({type:"columnMoved",columns:c,column:c.length===1?c[0]:null,toIndex:t,finished:o,source:n})),s?.finish()}doesMovePassRules(e,t){const n=this.getProposedColumnOrder(e,t);return this.doesOrderPassRules(n)}doesOrderPassRules(e){const{colModel:t,gos:n}=this.beans;return!(!cx(e,t.getColTree())||!(i=>{const s=c=>c?c==="left"||c===!0?-1:1:0,r=n.get("enableRtl");let a=r?1:-1,l=!0;for(const c of i){const u=s(c.getColDef().lockPosition);r?u>a&&(l=!1):u<a&&(l=!1),a=u}return l})(e))}getProposedColumnOrder(e,t){const o=this.beans.colModel.getCols().slice();return i8(o,e,t),o}createBodyDropTarget(e,t){return new Xq(e,t)}moveHeader(e,t,n,o,i){const{ctrlsSvc:s,gos:r,colModel:a,visibleCols:l,focusSvc:c}=this.beans,u=t.getBoundingClientRect(),d=u.left,h=xn(n),p=h?u.width:n.getActualWidth(),f=e==="left"!==r.get("enableRtl"),g=b5({x:f?d-20:d+p+20,pinned:o,fromKeyboard:!0,gos:r,ctrlsSvc:s}),m=c.focusedHeader;vD({allMovingColumns:h?n.getLeafColumns():[n],isFromHeader:!0,fromLeft:e==="right",xPosition:g,pinned:o,fromEnter:!1,fakeEvent:!1,gos:r,colModel:a,colMoves:this,visibleCols:l,finished:!0});let v;if(h){const y=n.getDisplayedLeafColumns();v=f?y[0]:on(y)}else v=n;if(s.getScrollFeature().ensureColumnVisible(v,"auto"),(!i.isAlive()||r.get("ensureDomOrder"))&&m){let y;if(h){const b=n.getGroupId(),w=n.getLeafColumns();if(!w.length)return;const S=w[0].getParent();if(!S)return;y=Qq(S,b)}else y=n;y&&c.focusHeaderPosition({headerPosition:{...m,column:y}})}}setDragSourceForHeader(e,t,n){const{gos:o,colModel:i,dragAndDrop:s,visibleCols:r}=this.beans;let a=!o.get("suppressDragLeaveHidesColumns");const l=xn(t),c=l?t.getProvidedColumnGroup().getLeafColumns():[t],d={type:1,eElement:e,getDefaultIconName:()=>a?"hide":"notAllowed",getDragItem:l?()=>tY(t,r.allCols):()=>eY(t),dragItemName:n,onDragStarted:()=>{a=!o.get("suppressDragLeaveHidesColumns"),pv(c,!0)},onDragStopped:()=>pv(c,!1),onDragCancelled:()=>pv(c,!1),onGridEnter:h=>{if(a){const{columns:p=[],visibleState:f}=h??{},g=l?v=>!f||f[v.getColId()]:()=>!0,m=p.filter(v=>!v.getColDef().lockVisible&&g(v));i.setColsVisible(m,!0,"uiColumnMoved")}},onGridExit:h=>{if(a){const p=h?.columns?.filter(f=>!f.getColDef().lockVisible)||[];i.setColsVisible(p,!1,"uiColumnMoved")}}};return s.addDragSource(d,!0),d}};function Qq(e,t){for(;e;){if(e.getGroupId()===t)return e;e=e.getParent()}}function eY(e){const t={};return t[e.getId()]=e.isVisible(),{columns:[e],visibleState:t,containerType:e.pinned}}function tY(e,t){const n=e.getProvidedColumnGroup().getLeafColumns(),o={};for(const a of n)o[a.getId()]=a.isVisible();const i=[];for(const a of t)n.indexOf(a)>=0&&(i.push(a),os(n,a));for(const a of n)i.push(a);const s=[],r=e.getLeafColumns();for(const a of i)r.indexOf(a)!==-1&&s.push(a);return{columns:i,columnsInSplit:s,visibleState:o,containerType:s[0]?.pinned}}var nY={moduleName:"ColumnMove",version:We,beans:[Jq,Oq],apiFunctions:{moveColumnByIndex:Nq,moveColumns:Bq},dependsOn:[gD],css:[Fq]},oY=class extends we{constructor(){super(...arguments),this.beanName="autoWidthCalc"}postConstruct(){this.beans.ctrlsSvc.whenReady(this,e=>{this.centerRowContainerCtrl=e.center})}getPreferredWidthForColumn(e,t){const n=this.getHeaderCellForColumn(e);if(!n)return-1;const o=this.beans.rowRenderer.getAllCellsNotSpanningForColumn(e);return t||o.push(n),this.getPreferredWidthForElements(o)}getPreferredWidthForColumnGroup(e){const t=this.getHeaderCellForColumn(e);return t?this.getPreferredWidthForElements([t]):-1}getPreferredWidthForElements(e,t){const n=document.createElement("form");n.style.position="fixed";const o=this.centerRowContainerCtrl.eContainer;for(const s of e)this.cloneItemIntoDummy(s,n);o.appendChild(n);const i=n.offsetWidth;return n.remove(),t=t??this.gos.get("autoSizePadding"),i+t}getHeaderCellForColumn(e){let t=null;for(const n of this.beans.ctrlsSvc.getHeaderRowContainerCtrls()){const o=n.getHtmlElementForColumnHeader(e);o!=null&&(t=o)}return t}cloneItemIntoDummy(e,t){const n=e.cloneNode(!0);n.style.width="",n.style.position="static",n.style.left="";const o=document.createElement("div"),i=o.classList;["ag-header-cell","ag-header-group-cell"].some(a=>n.classList.contains(a))?(i.add("ag-header","ag-header-row"),o.style.position="static"):i.add("ag-row");let r=e.parentElement;for(;r;){if(["ag-header-row","ag-row"].some(l=>r.classList.contains(l))){for(let l=0;l<r.classList.length;l++){const c=r.classList[l];c!="ag-row-position-absolute"&&i.add(c)}break}r=r.parentElement}o.appendChild(n),t.appendChild(o)}},CD={moduleName:"AutoWidth",version:We,beans:[oY]};function iY(e,t,n=!0,o="api"){e.colResize?.setColumnWidths(t,!1,n,o)}var sY=class extends we{constructor(e,t,n,o){super(),this.comp=e,this.eResize=t,this.pinned=n,this.columnGroup=o}postConstruct(){if(!this.columnGroup.isResizable()){this.comp.setResizableDisplayed(!1);return}const{horizontalResizeSvc:e,gos:t,colAutosize:n}=this.beans,o=e.addResizeBar({eResizeBar:this.eResize,onResizeStart:this.onResizeStart.bind(this),onResizing:this.onResizing.bind(this,!1),onResizeEnd:this.onResizing.bind(this,!0)});this.addDestroyFunc(o),!t.get("suppressAutoSize")&&n&&this.addDestroyFunc(n.addColumnGroupResize(this.eResize,this.columnGroup,()=>this.resizeLeafColumnsToFit("uiColumnResized")))}onResizeStart(e){const{columnsToResize:t,resizeStartWidth:n,resizeRatios:o,groupAfterColumns:i,groupAfterStartWidth:s,groupAfterRatios:r}=this.getInitialValues(e);this.resizeCols=t,this.resizeStartWidth=n,this.resizeRatios=o,this.resizeTakeFromCols=i,this.resizeTakeFromStartWidth=s,this.resizeTakeFromRatios=r,this.toggleColumnResizing(!0)}onResizing(e,t,n="uiColumnResized"){const o=this.normaliseDragChange(t),i=this.resizeStartWidth+o;this.resizeColumnsFromLocalValues(i,n,e)}getInitialValues(e){const t=l=>l.reduce((c,u)=>c+u.getActualWidth(),0),n=(l,c)=>l.map(u=>u.getActualWidth()/c),o=this.getColumnsToResize(),i=t(o),s=n(o,i),r={columnsToResize:o,resizeStartWidth:i,resizeRatios:s};let a=null;if(e&&(a=this.beans.colGroupSvc?.getGroupAtDirection(this.columnGroup,"After")??null),a){const l=a.getDisplayedLeafColumns(),c=r.groupAfterColumns=l.filter(d=>d.isResizable()),u=r.groupAfterStartWidth=t(c);r.groupAfterRatios=n(c,u)}else r.groupAfterColumns=void 0,r.groupAfterStartWidth=void 0,r.groupAfterRatios=void 0;return r}resizeLeafColumnsToFit(e){const t=this.beans.autoWidthCalc.getPreferredWidthForColumnGroup(this.columnGroup),n=this.getInitialValues();t>n.resizeStartWidth&&this.resizeColumns(n,t,e,!0)}resizeColumnsFromLocalValues(e,t,n=!0){if(!this.resizeCols||!this.resizeRatios)return;const o={columnsToResize:this.resizeCols,resizeStartWidth:this.resizeStartWidth,resizeRatios:this.resizeRatios,groupAfterColumns:this.resizeTakeFromCols,groupAfterStartWidth:this.resizeTakeFromStartWidth,groupAfterRatios:this.resizeTakeFromRatios};this.resizeColumns(o,e,t,n)}resizeColumns(e,t,n,o=!0){const{columnsToResize:i,resizeStartWidth:s,resizeRatios:r,groupAfterColumns:a,groupAfterStartWidth:l,groupAfterRatios:c}=e,u=[];if(u.push({columns:i,ratios:r,width:t}),a){const d=t-s;u.push({columns:a,ratios:c,width:l-d})}this.beans.colResize?.resizeColumnSets({resizeSets:u,finished:o,source:n}),o&&this.toggleColumnResizing(!1)}toggleColumnResizing(e){this.comp.toggleCss("ag-column-resizing",e)}getColumnsToResize(){return this.columnGroup.getDisplayedLeafColumns().filter(t=>t.isResizable())}normaliseDragChange(e){let t=e;return this.gos.get("enableRtl")?this.pinned!=="left"&&(t*=-1):this.pinned==="right"&&(t*=-1),t}destroy(){super.destroy(),this.resizeCols=void 0,this.resizeRatios=void 0,this.resizeTakeFromCols=void 0,this.resizeTakeFromRatios=void 0}},rY=class extends we{constructor(e,t,n,o,i){super(),this.pinned=e,this.column=t,this.eResize=n,this.comp=o,this.ctrl=i}postConstruct(){const e=[];let t,n;const o=()=>
vendor: 4,943 bytes, line 52
52{if(hn(this.eResize,t),!t)return;const{horizontalResizeSvc:r,colAutosize:a}=this.beans,l=r.addResizeBar({eResizeBar:this.eResize,onResizeStart:this.onResizeStart.bind(this),onResizing:this.onResizing.bind(this,!1),onResizeEnd:this.onResizing.bind(this,!0)});e.push(l),n&&a&&e.push(a.addColumnAutosizeListeners(this.eResize,this.column))},i=()=>{for(const r of e)r();e.length=0},s=()=>{const r=this.column.isResizable(),a=!this.gos.get("suppressAutoSize")&&!this.column.getColDef().suppressAutoSize;(r!==t||a!==n)&&(t=r,n=a,i(),o())};s(),this.addDestroyFunc(i),this.ctrl.setRefreshFunction("resize",s)}onResizing(e,t){const{column:n,lastResizeAmount:o,resizeStartWidth:i,beans:s}=this,r=this.normaliseResizeAmount(t),a=i+r,l=[{key:n,newWidth:a}],{pinnedCols:c,ctrlsSvc:u,colResize:d}=s;if(this.column.getPinned()){const h=c?.leftWidth??0,p=c?.rightWidth??0,f=Vh(u.getGridBodyCtrl().eBodyViewport)-50;if(h+p+(r-o)>f)return}this.lastResizeAmount=r,d?.setColumnWidths(l,this.resizeWithShiftKey,e,"uiColumnResized"),e&&this.toggleColumnResizing(!1)}onResizeStart(e){this.resizeStartWidth=this.column.getActualWidth(),this.lastResizeAmount=0,this.resizeWithShiftKey=e,this.toggleColumnResizing(!0)}toggleColumnResizing(e){this.column.resizing=e,this.comp.toggleCss("ag-column-resizing",e)}normaliseResizeAmount(e){let t=e;const n=this.pinned!=="left",o=this.pinned==="right";return this.gos.get("enableRtl")?n&&(t*=-1):o&&(t*=-1),t}},aY=class extends we{constructor(){super(...arguments),this.beanName="colResize"}setColumnWidths(e,t,n,o){const i=[],{colModel:s,gos:r,visibleCols:a}=this.beans;for(const l of e){const c=s.getColDefCol(l.key)||s.getCol(l.key);if(!c)continue;if(i.push({width:l.newWidth,ratios:[1],columns:[c]}),r.get("colResizeDefault")==="shift"&&(t=!t),t){const d=a.getColAfter(c);if(!d)continue;const h=c.getActualWidth()-l.newWidth,p=d.getActualWidth()+h;i.push({width:p,ratios:[1],columns:[d]})}}i.length!==0&&this.resizeColumnSets({resizeSets:i,finished:n,source:o})}resizeColumnSets(e){const{resizeSets:t,finished:n,source:o}=e;if(!(!t||t.every(u=>lY(u)))){if(n){const u=t&&t.length>0?t[0].columns:null;xu(this.eventSvc,u,n,o)}return}const s=[],r=[];for(const u of t){const{width:d,columns:h,ratios:p}=u,f={},g={};for(const y of h)r.push(y);let m=!0,v=0;for(;m;){if(v++,v>1e3){qt(31);break}m=!1;const y=[];let b=0,w=d;h.forEach((E,T)=>{if(g[E.getId()])w-=f[E.getId()];else{y.push(E);const A=p[T];b+=A}});const S=1/b;y.forEach((E,T)=>{const R=T===y.length-1;let A;R?A=w:(A=Math.round(p[T]*d*S),w-=A);const k=E.getMinWidth(),D=E.getMaxWidth();A<k?(A=k,g[E.getId()]=!0,m=!0):D>0&&A>D&&(A=D,g[E.getId()]=!0,m=!0),f[E.getId()]=A})}for(const y of h){const b=f[y.getId()];y.getActualWidth()!==b&&(y.setActualWidth(b,o),s.push(y))}}const a=s.length>0;let l=[];if(a){const{colFlex:u,visibleCols:d,colViewport:h}=this.beans;l=u?.refreshFlexedColumns({resizingCols:r,skipSetLeft:!0})??[],d.setLeftValues(o),d.updateBodyWidths(),h.checkViewportColumns()}const c=r.concat(l);(a||n)&&xu(this.eventSvc,c,n,o,l)}resizeHeader(e,t,n){if(!e.isResizable())return;const o=e.getActualWidth(),i=e.getMinWidth(),s=e.getMaxWidth(),r=Math.min(Math.max(o+t,i),s);this.setColumnWidths([{key:e,newWidth:r}],n,!0,"uiColumnResized")}createResizeFeature(e,t,n,o,i){return new rY(e,t,n,o,i)}createGroupResizeFeature(e,t,n,o){return new sY(e,t,n,o)}};function lY(e){const{columns:t,width:n}=e;let o=0,i=0,s=!0;for(const l of t){const c=l.getMinWidth();o+=c||0;const u=l.getMaxWidth();u>0?i+=u:s=!1}const r=n>=o,a=!s||n<=i;return r&&a}var cY={moduleName:"ColumnResize",version:We,beans:[aY],apiFunctions:{setColumnWidths:iY},dependsOn:[Iq,CD]},uY=class extends we{constructor(e,t){super(),this.removeChildListenersFuncs=[],this.columnGroup=t,this.comp=e}postConstruct(){this.addListenersToChildrenColumns(),this.addManagedListeners(this.columnGroup,{displayedChildrenChanged:this.onDisplayedChildrenChanged.bind(this)}),this.onWidthChanged(),this.addDestroyFunc(this.removeListenersOnChildrenColumns.bind(this))}addListenersToChildrenColumns(){this.removeListenersOnChildrenColumns();const e=this.onWidthChanged.bind(this);for(const t of this.columnGroup.getLeafColumns())t.__addEventListener("widthChanged",e),t.__addEventListener("visibleChanged",e),this.removeChildListenersFuncs.push(()=>{t.__removeEventListener("widthChanged",e),t.__removeEventListener("visibleChanged",e)})}removeListenersOnChildrenColumns(){for(const e of this.removeChildListenersFuncs)e();this.removeChildListenersFuncs=[]}onDisplayedChildrenChanged(){this.addListenersToChildrenColumns(),this.onWidthChanged()}onWidthChanged(){const e=this.columnGroup.getActualWidth();this.comp.setWidth(`${e}px`),this.comp.toggleCss("ag-hidden",e===0)}},dY=class extends ab{constructor(){super(...arguments),this.onSuppressColMoveChange=()=>{!this.isAlive()||this.isSuppressMoving()?this.removeDragSource():this.dragSource||this.setDragSource(this.eGui)}}wireComp(e,t,n,o,i){const{column:s,beans:r}
52=this,{context:a,colNames:l,colHover:c,rangeSvc:u,colResize:d}=r;this.comp=e,i=Np(this,a,i),this.setGui(t,i),this.displayName=l.getDisplayNameForColumnGroup(s,"header"),this.refreshHeaderStyles(),this.addClasses(),this.setupMovingCss(i),this.setupExpandable(i),this.setupTooltip(),this.setupAutoHeight({wrapperElement:o,compBean:i}),this.setupUserComp(),this.addHeaderMouseListeners(i),this.addManagedPropertyListener("groupHeaderHeight",this.refreshMaxHeaderHeight.bind(this)),this.refreshMaxHeaderHeight();const h=this.rowCtrl.pinned,p=s.getProvidedColumnGroup().getLeafColumns();c?.createHoverFeature(i,p,t),u?.createRangeHighlightFeature(i,s,e),i.createManagedBean(new rb(s,t,r)),i.createManagedBean(new uY(e,s)),d?this.resizeFeature=i.createManagedBean(d.createGroupResizeFeature(e,n,h,s)):e.setResizableDisplayed(!1),i.createManagedBean(new id(t,{shouldStopEventPropagation:this.shouldStopEventPropagation.bind(this),onTabKeyDown:()=>{},handleKeyDown:this.handleKeyDown.bind(this),onFocusIn:this.onFocusIn.bind(this)})),this.addHighlightListeners(i,p),i.addManagedPropertyListener("suppressMovableColumns",this.onSuppressColMoveChange),this.addResizeAndMoveKeyboardListeners(i),i.addDestroyFunc(()=>this.clearComponent())}getHeaderClassParams(){const{column:e,beans:t}=this,n=e.getDefinition();return st(t.gos,{colDef:n,columnGroup:e,floatingFilter:!1})}refreshMaxHeaderHeight(){const{gos:e,comp:t}=this,n=e.get("groupHeaderHeight");n!=null?n===0?t.setHeaderWrapperHidden(!0):t.setHeaderWrapperMaxHeight(n):(t.setHeaderWrapperHidden(!1),t.setHeaderWrapperMaxHeight(null))}addHighlightListeners(e,t){if(this.beans.gos.get("suppressMoveWhenColumnDragging"))for(const n of t)e.addManagedListeners(n,{headerHighlightChanged:this.onLeafColumnHighlightChanged.bind(this,n)})}onLeafColumnHighlightChanged(e){const t=this.column.getDisplayedLeafColumns(),n=t[0]===e,o=on(t)===e;if(!n&&!o)return;const i=e.getHighlighted(),s=!!this.rowCtrl.getHeaderCellCtrls().find(l=>l.column.isMoving());let r=!1,a=!1;if(s){const l=this.beans.gos.get("enableRtl"),c=i===1,u=i===0;n&&(l?a=c:r=u),o&&(l?r=u:a=c)}this.comp.toggleCss("ag-header-highlight-before",r),this.comp.toggleCss("ag-header-highlight-after",a)}resizeHeader(e,t){const{resizeFeature:n}=this;if(!n)return;const o=n.getInitialValues(t);n.resizeColumns(o,o.resizeStartWidth+e,"uiColumnResized",!0)}resizeLeafColumnsToFit(e){this.resizeFeature?.resizeLeafColumnsToFit(e)}setupUserComp(){const{colGroupSvc:e,userCompFactory:t,gos:n,enterpriseMenuFactory:o}=this.beans,i=this.column,s=i.getProvidedColumnGroup(),r=st(n,{displayName:this.displayName,columnGroup:i,setExpanded:l=>{e.setColumnGroupOpened(s,l,"gridInitializing")},setTooltip:(l,c)=>{n.assertModuleRegistered("Tooltip",3),this.setupTooltip(l,c)},showColumnMenu:(l,c)=>o?.showMenuAfterButtonClick(s,l,"columnMenu",c),showColumnMenuAfterMouseClick:(l,c)=>o?.showMenuAfterMouseEvent(s,l,"columnMenu",c),eGridHeader:this.eGui}),a=eU(t,r);a&&this.comp.setUserCompDetails(a)}addHeaderMouseListeners(e){const t=i=>this.handleMouseOverChange(i.type==="mouseenter"),n=()=>this.dispatchColumnMouseEvent("columnHeaderClicked",this.column.getProvidedColumnGroup()),o=i=>this.handleContextMenuMouseEvent(i,void 0,this.column.getProvidedColumnGroup());e.addManagedListeners(this.eGui,{mouseenter:t,mouseleave:t,click:n,contextmenu:o})}handleMouseOverChange(e){this.eventSvc.dispatchEvent({type:e?"columnHeaderMouseOver":"columnHeaderMouseLeave",column:this.column.getProvidedColumnGroup()})}setupTooltip(e,t){this.tooltipFeature=this.beans.tooltipSvc?.setupHeaderGroupTooltip(this.tooltipFeature,this,e,t)}setupExpandable(e){const t=this.column.getProvidedColumnGroup();this.refreshExpanded();const n=this.refreshExpanded.bind(this);e.addManagedListeners(t,{expandedChanged:n,expandableChanged:n})}refreshExpanded(){const{column:e}=this;this.expandable=e.isExpandable();const t=e.isExpanded();this.expandable?this.comp.setAriaExpanded(t?"true":"false"):this.comp.setAriaExpanded(void 0),this.refreshHeaderStyles()}addClasses(){const{column:e}=this,t=e.getColGroupDef(),n=tD(t,this.gos,null,e);e.isPadding()?(n.push("ag-header-group-cell-no-group"),e.getLeafColumns().every(i=>i.isSpanHeaderHeight())&&n.push("ag-header-span-height")):(n.push("ag-header-group-cell-with-group"),t?.wrapHeaderText&&n.push("ag-header-cell-wrap-text"));for(const o of n)this.comp.toggleCss(o,!0)}setupMovingCss(e){const{column:t}=this,o=t.getProvidedColumnGroup().getLeafColumns(),i=()=>this.comp.toggleCss("ag-header-cell-moving",t.isMoving());for(const s of o)e.addManagedListeners(s,{movingChanged:i});i()}onFocusIn(e){this.eGui.contains(e.relatedTarget)||this.focusThis()}handleKeyDown(e){super.handleKeyDown(e);const t=this.getWrapperHasFocus();if(!(!this.expandable||!t)&&e.key===he.ENTER){const n=this.column,o=!n.isExpanded();this.beans.colGroupSvc.setColumnGroupOpened(n.getProvidedColumnGroup(),o,"uiColumnExpanded")}}setDragSource(e){!this.isAlive()||this.isSuppressMoving()||(this.removeDragSource(),e&&(this.dragSource=this.beans.colMoves?.setDragSourceForHeader(e,this.column,this.displayName)??null))}isSuppressMoving(){return this.gos.get("suppressMovableColumns")||this.column.getLeafColumns().some(e=>e.getColDef().suppressMovable||e.getColDef().lockPosition)}destroy(){this.tooltipFeature=this.destroyBean(this.tooltipFeature),super.destroy()}};function hY(e,t,n){e.colGroupSvc?.setColumnGroupOpened(t,n,"api")}function pY(e,t,n){return e.colGroupSvc?.getColumnGroup(t,n)??null}function fY(e,t){return e.colGroupSvc?.getProvidedColGroup(t)??null}function gY(e,t,n){return e.colNames.getDisplayNameForColumnGroup(t,n)||""}function mY(e){return e.colGroupSvc?.getColumnGroupState()??[]}function vY(e,t){e.colGroupSvc?.setColumnGroupState(t,"api")}function CY(e){e.colGroupSvc?.resetColumnGroupState("api")}function bY(e){return e.visibleCols.treeLeft}function yY(e){return e.visibleCols.treeCenter}function wY(e){return e.visibleCols.treeRight}function SY(e){return e.visibleCols.getAllTrees()}function EY(e,t){for(let n=0;n<t.length;n++){const o=e.indexOf(t[n]);o>=0&&(e[o]=e[e.length-1],e.pop())}}var TY=class extends we{constructor(){super(...arguments),this.beanName="visibleCols",this.colsAndGroupsMap={},this.leftCols=[],this.rightCols=[],this.centerCols=[],this.allCols=[],this.headerGroupRowCount=0,this.bodyWidth=0,this.leftWidth=0,this.rightWidth=0,this.isBodyWidthDirty=!0}refresh(e,t=!1){const{colFlex:n,colModel:o,colGroupSvc:i,colViewport:s,selectionColSvc:r}=this.beans;t||this.buildTrees(o,i),i?.updateOpenClosedVisibility(),this.leftCols=fv(this.treeLeft),this.centerCols=fv(this.treeCenter),this.rightCols=fv(this.treeRight),r?.refreshVisibility(this.leftCols,this.centerCols,this.rightCols),this.joinColsAriaOrder(o),this.joinCols(),this.headerGroupRowCount=this.getHeaderRowCount(),this.setLeftValues(e),this.autoHeightCols=this.allCols.filter(a=>a.isAutoHeight()),n?.refreshFlexedColumns(),this.updateBodyWidths(),this.setFirstRightAndLastLeftPinned(o,this.leftCols,this.rightCols,e),s.checkViewportColumns(!1),this.eventSvc.dispatchEvent({type:"displayedColumnsChanged",source:e})}getHeaderRowCount(){if(!this.gos.get("hidePaddedHeaderRows"))return this.beans.colModel.cols.treeDepth;let e=0;for(const t of this.allCols){let n=t.getParent();for(;n;){if(!n.isPadding()){const o=n.getProvidedColumnGroup().getLevel()+1;o>e&&(e=o);break}n=n.getParent()}}return e}updateBodyWidths(){const e=ir(this.centerCols),t=ir(this.leftCols),n=ir
52(this.rightCols);this.isBodyWidthDirty=this.bodyWidth!==e,(this.bodyWidth!==e||this.leftWidth!==t||this.rightWidth!==n)&&(this.bodyWidth=e,this.leftWidth=t,this.rightWidth=n,this.eventSvc.dispatchEvent({type:"columnContainerWidthChanged"}),this.eventSvc.dispatchEvent({type:"displayedColumnsWidthChanged"}))}setLeftValues(e){this.setLeftValuesOfCols(e),this.setLeftValuesOfGroups()}setFirstRightAndLastLeftPinned(e,t,n,o){let i,s;this.gos.get("enableRtl")?(i=t?t[0]:null,s=n?on(n):null):(i=t?on(t):null,s=n?n[0]:null);for(const r of e.getCols())r.setLastLeftPinned(r===i,o),r.setFirstRightPinned(r===s,o)}buildTrees(e,t){const n=e.getColsToShow(),o=n.filter(l=>l.getPinned()=="left"),i=n.filter(l=>l.getPinned()=="right"),s=n.filter(l=>l.getPinned()!="left"&&l.getPinned()!="right"),r=new fx,a=l=>t?t.createColumnGroups(l):l.columns;this.treeLeft=a({columns:o,idCreator:r,pinned:"left",oldDisplayedGroups:this.treeLeft}),this.treeRight=a({columns:i,idCreator:r,pinned:"right",oldDisplayedGroups:this.treeRight}),this.treeCenter=a({columns:s,idCreator:r,pinned:null,oldDisplayedGroups:this.treeCenter}),this.updateColsAndGroupsMap()}clear(){this.leftCols=[],this.rightCols=[],this.centerCols=[],this.allCols=[],this.ariaOrderColumns=[]}joinColsAriaOrder(e){const t=e.getCols(),n=[],o=[],i=[];for(const s of t){const r=s.getPinned();r?r===!0||r==="left"?n.push(s):i.push(s):o.push(s)}this.ariaOrderColumns=n.concat(o).concat(i)}getAriaColIndex(e){let t;return xn(e)?t=e.getLeafColumns()[0]:t=e,this.ariaOrderColumns.indexOf(t)+1}setLeftValuesOfGroups(){for(const e of[this.treeLeft,this.treeRight,this.treeCenter])for(const t of e)xn(t)&&t.checkLeft()}setLeftValuesOfCols(e){const{colModel:t}=this.beans;if(!t.getColDefCols())return;const o=t.getCols().slice(0),i=this.gos.get("enableRtl");for(const s of[this.leftCols,this.rightCols,this.centerCols]){if(i){let r=ir(s);for(const a of s)r-=a.getActualWidth(),a.setLeft(r,e)}else{let r=0;for(const a of s)a.setLeft(r,e),r+=a.getActualWidth()}EY(o,s)}for(const s of o)s.setLeft(null,e)}joinCols(){this.gos.get("enableRtl")?this.allCols=this.rightCols.concat(this.centerCols).concat(this.leftCols):this.allCols=this.leftCols.concat(this.centerCols).concat(this.rightCols)}getAllTrees(){return this.treeLeft&&this.treeRight&&this.treeCenter?this.treeLeft.concat(this.treeCenter).concat(this.treeRight):null}isColDisplayed(e){return this.allCols.indexOf(e)>=0}getLeftColsForRow(e){const{leftCols:t,beans:{colModel:n}}=this;return n.colSpanActive?this.getColsForRow(e,t):t}getRightColsForRow(e){const{rightCols:t,beans:{colModel:n}}=this;return n.colSpanActive?this.getColsForRow(e,t):t}getColsForRow(e,t,n,o){const i=[];let s=null;for(let r=0;r<t.length;r++){const a=t[r],l=t.length-r,c=Math.min(a.getColSpan(e),l),u=[a];if(c>1){const h=c-1;for(let p=1;p<=h;p++)u.push(t[r+p]);r+=h}let d;if(n){d=!1;for(const h of u)n(h)&&(d=!0)}else d=!0;d&&(i.length===0&&s&&(o&&o(a))&&i.push(s),i.push(a)),s=a}return i}getContainerWidth(e){switch(e){case"left":return this.leftWidth;case"right":return this.rightWidth;default:return this.bodyWidth}}getColBefore(e){const t=this.allCols,n=t.indexOf(e);return n>0?t[n-1]:null}isPinningLeft(){return this.leftCols.length>0}isPinningRight(){return this.rightCols.length>0}updateColsAndGroupsMap(){this.colsAndGroupsMap={};const e=t=>{this.colsAndGroupsMap[t.getUniqueId()]=t};Fl(this.treeCenter,!1,e),Fl(this.treeLeft,!1,e),Fl(this.treeRight,!1,e)}isVisible(e){return this.colsAndGroupsMap[e.getUniqueId()]===e}getFirstColumn(){const e=this.gos.get("enableRtl"),t=["leftCols","centerCols","rightCols"];e&&t.reverse();for(let n=0;n<t.length;n++){const o=this[t[n]];if(o.length)return e?on(o):o[0]}return null}getColAfter(e){const t=this.allCols,n=t.indexOf(e);return n<t.length-1?t[n+1]:null}getColsLeftWidth(){return ir(this.leftCols)}getDisplayedColumnsRightWidth(){return ir(this.rightCols)}isColAtEdge(e,t){const n=this.allCols;if(!n.length)return!1;const o=t==="first";let i;if(xn(e)){const s=e.getDisplayedLeafColumns();if(!s.length)return!1;i=o?s[0]:on(s)}else i=e;return(o?n[0]:on(n))===i}};function Fl(e,t,n){if(e)for(let o=0;o<e.length;o++){const i=e[o];if(xn(i)){const s=t?i.getDisplayedChildren():i.getChildren();Fl(s,t,n)}n(i)}}function fv(e){const t=[];return Fl(e,!0,n=>{ka(n)&&t.push(n)}),t}var RY=class extends we{constructor(){super(...arguments),this.beanName="
52colGroupSvc"}getColumnGroupState(){const e=[],t=this.beans.colModel.getColTree();return mr(null,t,n=>{lo(n)&&e.push({groupId:n.getGroupId(),open:n.isExpanded()})}),e}resetColumnGroupState(e){const t=this.beans.colModel.getColDefColTree();if(!t)return;const n=[];mr(null,t,o=>{if(lo(o)){const i=o.getColGroupDef(),s={groupId:o.getGroupId(),open:i?i.openByDefault:void 0};n.push(s)}}),this.setColumnGroupState(n,e)}setColumnGroupState(e,t){const{colModel:n,colAnimation:o,visibleCols:i,eventSvc:s}=this.beans;if(!n.getColTree().length)return;o?.start();const a=[];for(const l of e){const c=l.groupId,u=l.open,d=this.getProvidedColGroup(c);d&&d.isExpanded()!==u&&(d.setExpanded(u),a.push(d))}i.refresh(t,!0),a.length&&s.dispatchEvent({type:"columnGroupOpened",columnGroup:a.length===1?a[0]:void 0,columnGroups:a}),o?.finish()}setColumnGroupOpened(e,t,n){let o;lo(e)?o=e.getId():o=e||"",this.setColumnGroupState([{groupId:o,open:t}],n)}getProvidedColGroup(e){let t=null;return mr(null,this.beans.colModel.getColTree(),n=>{lo(n)&&n.getId()===e&&(t=n)}),t}getGroupAtDirection(e,t){const n=e.getProvidedColumnGroup().getLevel()+e.getPaddingLevel(),o=e.getDisplayedLeafColumns(),i=t==="After"?on(o):o[0],s=`getCol${t}`;for(;;){const r=this.beans.visibleCols[s](i);if(!r)return null;const a=this.getColGroupAtLevel(r,n);if(a!==e)return a}}getColGroupAtLevel(e,t){let n=e.getParent(),o,i;for(;o=n.getProvidedColumnGroup().getLevel(),i=n.getPaddingLevel(),!(o+i<=t);)n=n.getParent();return n}updateOpenClosedVisibility(){const e=this.beans.visibleCols.getAllTrees();Fl(e,!1,t=>{xn(t)&&t.calculateDisplayedColumns()})}getColumnGroup(e,t){if(!e)return null;if(xn(e))return e;const n=this.beans.visibleCols.getAllTrees(),o=typeof t=="number";let i=null;return Fl(n,!1,s=>{if(xn(s)){const r=s;let a;o?a=e===r.getGroupId()&&t===r.getPartId():a=e===r.getGroupId(),a&&(i=r)}}),i}createColumnGroups(e){const{columns:t,idCreator:n,pinned:o,oldDisplayedGroups:i,isStandaloneStructure:s}=e,r=this.mapOldGroupsById(i),a=[];let l=t;for(;l.length;){const c=l;l=[];let u=0;const d=h=>{const p=u;u=h;const f=c[p],m=(xn(f)?f.getProvidedColumnGroup():f).getOriginalParent();if(m==null){for(let y=p;y<h;y++)a.push(c[y]);return}const v=this.createColumnGroup(m,n,r,o,s);for(let y=p;y<h;y++)v.addChild(c[y]);l.push(v)};for(let h=1;h<c.length;h++){const p=c[h],g=(xn(p)?p.getProvidedColumnGroup():p).getOriginalParent(),m=c[u],y=(xn(m)?m.getProvidedColumnGroup():m).getOriginalParent();g!==y&&d(h)}u<c.length&&d(c.length)}return s||this.setupParentsIntoCols(a,null),a}createProvidedColumnGroup(e,t,n,o,i,s,r){const a=i.getUniqueKey(t.groupId||null,null),l=o8(this.beans,t,a),c=new b1(l,a,!1,n);this.createBean(c);const u=this.findExistingGroup(t,s);u&&s.splice(u.idx,1);const d=u?.group;d&&c.setExpanded(d.isExpanded());const h=rx(this.beans,l.children,n+1,e,o,i,s,r);return c.setChildren(h),c}balanceColumnTree(e,t,n,o){const i=[];for(let s=0;s<e.length;s++){const r=e[s];if(lo(r)){const a=r,l=this.balanceColumnTree(a.getChildren(),t+1,n,o);a.setChildren(l),i.push(a)}else{let a,l;for(let c=t;c<n;c++){const u=o.getUniqueKey(null,null),d=o8(this.beans,null,u),h=new b1(d,u,!0,c);this.createBean(h),l&&l.setChildren([h]),l=h,a||(a=l)}if(a&&l)if(i.push(a),e.some(u=>lo(u))){l.setChildren([r]);continue}else{l.setChildren(e);break}i.push(r)}}return i}findDepth(e){let t=0,n=e;for(;n?.[0]&&lo(n[0]);)t++,n=n[0].getChildren();return t}findMaxDepth(e,t){let n=t;for(let o=0;o<e.length;o++){const i=e[o];if(lo(i)){const s=i,r=this.findMaxDepth(s.getChildren(),t+1);n<r&&(n=r)}}return n}balanceTreeForAutoCols(e,t){const n=[];for(const o of e){let i=o;for(let s=t-1;s>=0;s--){const r=new b1(null,`FAKE_PATH_${o.getId()}}_${s}`,!0,s);this.createBean(r),r.setChildren([i]),i.originalParent=r,i=r}t===0&&(o.originalParent=null),n.push(i)}return n}findExistingGroup(e,t){if(e.groupId!=null)for(let o=0;o<t.length;o++){const i=t[o];if(i.getColGroupDef()&&i.getId()===e.groupId)return{idx:o,group:i}}}createColumnGroup(e,t,n,o,i){const s=e.getGroupId(),r=t.getInstanceIdForKey(s),a=Hx(s,r);let l=n[a];return l&&l.getProvidedColumnGroup()!==e&&(l=null),Ge(l)?l.reset():(l=new jh(e,s,r,o),i||this.createBean(l)),l}mapOldGroupsById(e){const t={},n=o=>{for(const i of o)if(xn(i)){const s=i;t[i.getUniqueId()]=s,n(s.getChildren())}};return e&&n(e),t}setupParentsIntoCols(e,t){for(const n of e??[])if(n.parent!==t&&(this.beans.colViewport.colsWithinViewportHash=""),n.parent=t,xn(n)){const o=n;this.setupParentsIntoCols(o.getChildren(),o)}}},PY={moduleName:"ColumnGroup",version:We,dynamicBeans:{headerGroupCellCtrl:dY},beans:[RY],apiFunctions:{getAllDisplayedColumnGroups:SY,getCenterDisplayedColumnGroups:yY,getColumnGroup:pY,getColumnGroupState:mY,getDisplayNameForColumnGroup:gY,getLeftDisplayedColumnGroups:bY,getProvidedColumnGroup:fY,getRightDisplayedColumnGroups:wY,resetColumnGroupState:CY,setColumnGroupOpened:hY,setColumnGroupState:vY}},MY={tag:"div",cls:"ag-skeleton-container"},LY=class extends jt{constructor(){super(MY)}init(e){const t=`ag-cell-skeleton-renderer-${this.getCompId()}`;this.getGui().setAttribute("id",t),this.addDestroyFunc(()=>Bh(e.eParentOfValue)),Bh(e.eParentOfValue,t),e.deferRender?this.setupLoading(e):e.node.failedLoad?this.setupFailed():this.setupLoading(e)}setupFailed(){const e=this.getLocaleTextFunc();this.getGui().textContent=e("loadingError","ERR");const t=e("ariaSkeletonCellLoadingFailed","Row failed to load");Mu(this.getGui(),t)}setupLoading(e){const t=An({tag:"div",cls:"ag-skeleton-effect"}),n=e.node.rowIndex;if(n!=null){const s=75+25*(n%2===0?Math.sin(n):Math.cos(n));t.style.width=`${s}%`}this.getGui().appendChild(t);const o=this.getLocaleTextFunc(),i=e.deferRender?o("ariaDeferSkeletonCellLoading","Cell is loading"):o("ariaSkeletonCellLoading","Row data is loading");Mu(this.getGui(),i)}refresh(e){return!1}},xY={moduleName:"CheckboxCellRenderer",version:We,userComponents:{agCheckboxCellRenderer:
52dK}},DY={moduleName:"SkeletonCellRenderer",version:We,userComponents:{agSkeletonCellRenderer:LY}};function kY(e,t){const n=e.colModel.getColDefCol(t);return n?n.getColDef():null}function AY(e){return e.colModel.getColumnDefs(!0)}function _Y(e,t,n){return e.colNames.getDisplayNameForColumn(t,n)||""}function IY(e,t){return e.colModel.getColDefCol(t)}function FY(e){return e.colModel.getColDefCols()}function OY(e,t){return Xi(e,t,"api")}function NY(e){return Xg(e)}function BY(e){Rz(e,"api")}function HY(e){return e.visibleCols.isPinningLeft()||e.visibleCols.isPinningRight()}function VY(e){return e.visibleCols.isPinningLeft()}function $Y(e){return e.visibleCols.isPinningRight()}function WY(e,t){return e.visibleCols.getColAfter(t)}function GY(e,t){return e.visibleCols.getColBefore(t)}function zY(e,t,n){e.colModel.setColsVisible(t,n,"api")}function UY(e,t,n){e.pinnedCols?.setColsPinned(t,n,"api")}function jY(e){return e.colModel.getCols()}function ZY(e){return e.visibleCols.leftCols}function KY(e){return e.visibleCols.centerCols}function qY(e){return e.visibleCols.rightCols}function YY(e){return e.visibleCols.allCols}function XY(e){return e.colViewport.getViewportColumns()}function w5(e,t){if(!e)return;const n=e,o={};for(const i of Object.keys(n)){if(t&&t.indexOf(i)>=0||BL.has(i))continue;const s=n[i];typeof s=="object"&&s!==null&&s.constructor===Object?o[i]=w5(s):o[i]=s}return o}var JY=class extends we{constructor(){super(...arguments),this.beanName="colDefFactory"}wireBeans(e){this.rowGroupColsSvc=e.rowGroupColsSvc,this.pivotColsSvc=e.pivotColsSvc}getColumnDefs(e,t,n,o,i=!1){const s=e.slice();t?s.sort((l,c)=>n.indexOf(l)-n.indexOf(c)):(n||i)&&s.sort((l,c)=>o.indexOf(l)-o.indexOf(c));const r=this.rowGroupColsSvc?.columns,a=this.pivotColsSvc?.columns;return this.buildColumnDefs(s,r,a)}buildColumnDefs(e,t=[],n=[]){const o=[],i={};for(const s of e){const r=this.createDefFromColumn(s,t,n);let a=!0,l=r,c=s.getOriginalParent(),u=null;for(;c;){let d=null;if(c.isPadding()){c=c.getOriginalParent();continue}const h=i[c.getGroupId()];if(h){h.children.push(l),a=!1;break}if(d=this.createDefFromGroup(c),d&&(d.children=[l],i[d.groupId]=d,l=d,c=c.getOriginalParent()),c!=null&&u===c){a=!1;break}u=c}a&&o.push(l)}return o}createDefFromGroup(e){const t=w5(e.getColGroupDef(),["children"]);return t&&(t.groupId=e.getGroupId()),t}createDefFromColumn(e,t,n){const o=w5(e.getColDef());return o.colId=e.getColId(),o.width=e.getActualWidth(),o.rowGroup=e.isRowGroupActive(),o.rowGroupIndex=e.isRowGroupActive()?t.indexOf(e):null,o.pivot=e.isPivotActive(),o.pivotIndex=e.isPivotActive()?n.indexOf(e):null,o.aggFunc=e.isValueActive()?e.getAggFunc():null,o.hide=e.isVisible()?void 0:!0,o.pinned=e.isPinned()?e.getPinned():null,o.sort=e.getSort()?e.getSort():null,o.sortIndex=e.getSortIndex()!=null?e.getSortIndex():null,o}},QY=class extends we{constructor(){super(...arguments),this.beanName="colFlex",this.columnsHidden=!1}refreshFlexedColumns(e={}){const t=e.source??"flex";e.viewportWidth!=null&&(this.flexViewportWidth=e.viewportWidth);const n=this.flexViewportWidth,{visibleCols:o,colDelayRenderSvc:i}=this.beans,s=o.centerCols;let r=-1;if(e.resizingCols){const g=new Set(e.resizingCols);for(let m=s.length-1;m>=0;m--)if(g.has(s[m])){r=m;break}}let a=!1;const l=s.map((g,m)=>{const v=g.getFlex(),y=v!=null&&v>0&&m>r;return a||(a=y),{col:g,isFlex:y,flex:Math.max(0,v??0),initialSize:g.getActualWidth(),min:g.getMinWidth(),max:g.getMaxWidth(),targetSize:0}});if(a?(i?.hideColumns("colFlex"),this.columnsHidden=!0):this.columnsHidden&&this.revealColumns(i),!n||!a)return[];let c=l.length,u=l.reduce((g,m)=>g+m.flex,0),d=n;const h=(g,m)=>{g.frozenSize=m,g.col.setActualWidth(m,t),d-=m,u-=g.flex,c-=1},p=g=>g.frozenSize!=null;for(const g of l)g.isFlex||h(g,g.initialSize);for(;c>0;){const g=Math.round(u<1?d*u:d);let m,v=0,y=0;for(const S of l){if(p(S))continue;m=S,y+=g*(S.flex/u);const E=y-v,T=Math.round(E);S.targetSize=T,v+=T}m&&(m.targetSize+=g-v);let b=0;for(const S of l){if(p(S))continue;const E=S.targetSize,T=Math.min(Math.max(E,S.min),S.max);b+=T-E,S.violationType=T===E?void 0:T<E?"max":"min",S.targetSize=T}const w=b===0?"all":b>0?"min":"max";for(const S of l)p(S)||(w==="all"||S.violationType===w)&&h(S,S.targetSize)}e.skipSetLeft||o.setLeftValues(t),e.updateBodyWidths&&o.updateBodyWidths();const f=l.filter(g=>g.isFlex&&!g.violationType).map(g=>g.col);if(e.fireResizedEvent){const g=l.filter(v=>
52v.initialSize!==v.frozenSize).map(v=>v.col),m=l.filter(v=>v.flex).map(v=>v.col);xu(this.eventSvc,g,!0,t,m)}return this.revealColumns(i),f}revealColumns(e){this.columnsHidden&&(e?.revealColumns("colFlex"),this.columnsHidden=!1)}initCol(e){const{flex:t,initialFlex:n}=e.colDef;t!==void 0?e.flex=t:n!==void 0&&(e.flex=n)}setColFlex(e,t){e.flex=t??null,e.dispatchStateUpdatedEvent("flex")}};function uh(e,t,n){if(!t||!e)return;if(!n)return e[t];const o=t.split(".");let i=e;for(let s=0;s<o.length;s++){if(i==null)return;i=i[o[s]]}return i}var eX=["dateTimeString","dateString","text","number","boolean","date"],tX=class extends we{constructor(){super(...arguments),this.beanName="dataTypeSvc",this.dataTypeDefinitions={},this.isPendingInference=!1,this.isColumnTypeOverrideInDataTypeDefinitions=!1,this.columnStateUpdatesPendingInference={},this.columnStateUpdateListenerDestroyFuncs=[],this.columnDefinitionPropsPerDataType={number(){return{cellEditor:"agNumberCellEditor"}},boolean(){return{cellEditor:"agCheckboxCellEditor",cellRenderer:"agCheckboxCellRenderer",getFindText:()=>null,suppressKeyboardEvent:e=>!!e.colDef.editable&&e.event.key===he.SPACE}},date({formatValue:e}){return{cellEditor:"agDateCellEditor",keyCreator:e}},dateString({formatValue:e}){return{cellEditor:"agDateStringCellEditor",keyCreator:e}},dateTime(e){return this.date(e)},dateTimeString(e){return this.dateString(e)},object({formatValue:e,colModel:t,colId:n}){return{cellEditorParams:{useFormatter:!0},comparator:(o,i)=>{const s=t.getColDefCol(n),r=s?.getColDef();if(!s||!r)return 0;const a=o==null?"":e({column:s,node:null,value:o}),l=i==null?"":e({column:s,node:null,value:i});return a===l?0:a>l?1:-1},keyCreator:e}},text(){return{}}}}wireBeans(e){this.colModel=e.colModel}postConstruct(){this.processDataTypeDefinitions(),this.addManagedPropertyListener("dataTypeDefinitions",e=>{this.processDataTypeDefinitions(),this.colModel.recreateColumnDefs(e)})}processDataTypeDefinitions(){const e=this.getDefaultDataTypes(),t={},n={},o=u=>d=>{const{column:h,node:p,value:f}=d;let g=h.getColDef().valueFormatter;return g===u.groupSafeValueFormatter&&(g=u.valueFormatter),this.beans.valueSvc.formatValue(h,p,f,g)};for(const u of Object.keys(e)){const d=e[u],h={...d,groupSafeValueFormatter:G8(d,this.gos)};t[u]=h,n[u]=o(h)}const i=this.gos.get("dataTypeDefinitions")??{},s={};for(const u of Object.keys(i)){const d=i[u],h=this.processDataTypeDefinition(d,i,[u],e);h&&(t[u]=h,d.dataTypeMatcher&&(s[u]=d.dataTypeMatcher),n[u]=o(h))}const{valueParser:r,valueFormatter:a}=e.object,{valueParser:l,valueFormatter:c}=t.object;this.hasObjectValueParser=l!==r,this.hasObjectValueFormatter=c!==a,this.formatValueFuncs=n,this.dataTypeDefinitions=t,this.dataTypeMatchers=this.sortKeysInMatchers(s,e)}sortKeysInMatchers(e,t){const n={...e};for(const o of eX)delete n[o],n[o]=e[o]??t[o].dataTypeMatcher;return n}processDataTypeDefinition(e,t,n,o){let i;const s=e.extendsDataType;if(e.columnTypes&&(this.isColumnTypeOverrideInDataTypeDefinitions=!0),e.extendsDataType===e.baseDataType){let r=o[s];const a=t[s];if(r&&a&&(r=a),!W8(e,r,s))return;i=$8(r,e)}else{if(n.includes(s)){Me(44);return}const r=t[s];if(!W8(e,r,s))return;const a=this.processDataTypeDefinition(r,t,[...n,s],o);if(!a)return;i=$8(a,e)}return{...i,groupSafeValueFormatter:G8(i,this.gos)}}updateColDefAndGetColumnType(e,t,n){let{cellDataType:o}=t;const{field:i}=t;if(o===void 0&&(o=e.cellDataType),(o==null||o===!0)&&(o=this.canInferCellDataType(e,t)?this.inferCellDataType(i,n):!1),!o){e.cellDataType=!1;return}const s=this.dataTypeDefinitions[o];if(!s){Me(47,{cellDataType:o});return}return e.cellDataType=o,s.groupSafeValueFormatter&&(e.valueFormatter=s.groupSafeValueFormatter),s.valueParser&&(e.valueParser=s.valueParser),s.suppressDefaultProperties||this.setColDefPropertiesForBaseDataType(e,o,s,n),s.columnTypes}addColumnListeners(e){if(!this.isPendingInference)return;const t=this.columnStateUpdatesPendingInference[e.getColId()];if(!t)return;const n=o=>{t.add(o.key)};e.__addEventListener("columnStateUpdated",n),this.columnStateUpdateListenerDestroyFuncs.push(()=>e.__removeEventListener("columnStateUpdated",n))}canInferCellDataType(e,t){const{gos:n}=this;if(!kn(n))return!1;const o={cellRenderer:!0,valueGetter:!0,valueParser:!0,refData:!0}
52;if(gv(t,o))return!1;const i=t.type===null?e.type:t.type;if(i){const s=n.get("columnTypes")??{};if(Yg(i).some(a=>{const l=s[a.trim()];return l&&gv(l,o)}))return!1}return!gv(e,o)}inferCellDataType(e,t){if(!e)return;let n;const o=this.getInitialData();if(o){const s=e.includes(".")&&!this.gos.get("suppressFieldDotNotation");n=uh(o,e,s)}else this.initWaitForRowData(t);return n==null?void 0:Object.keys(this.dataTypeMatchers).find(s=>this.dataTypeMatchers[s](n))??"object"}getInitialData(){const e=this.gos.get("rowData");if(e?.length)return e[0];if(this.initialData)return this.initialData;{const t=this.beans.rowModel.rootNode?._leafs;if(t?.length)return t[0].data}return null}initWaitForRowData(e){if(this.columnStateUpdatesPendingInference[e]=new Set,this.isPendingInference)return;this.isPendingInference=!0;const t=this.isColumnTypeOverrideInDataTypeDefinitions,{colAutosize:n,eventSvc:o}=this.beans;t&&n&&(n.shouldQueueResizeOperations=!0);const[i]=this.addManagedEventListeners({rowDataUpdateStarted:s=>{const{firstRowData:r}=s;r&&(i?.(),this.isPendingInference=!1,this.processColumnsPendingInference(r,t),this.columnStateUpdatesPendingInference={},t&&n?.processResizeOperations(),o.dispatchEvent({type:"dataTypesInferred"}))}})}processColumnsPendingInference(e,t){this.initialData=e;const n=[];this.destroyColumnStateUpdateListeners();const o={},i={};for(const s of Object.keys(this.columnStateUpdatesPendingInference)){const r=this.columnStateUpdatesPendingInference[s],a=this.colModel.getCol(s);if(!a)return;const l=a.getColDef();if(!this.resetColDefIntoCol(a,"cellDataTypeInferred"))return;const c=a.getColDef();if(t&&c.type&&c.type!==l.type){const u=oX(a,r);u.rowGroup&&u.rowGroupIndex==null&&(o[s]=u),u.pivot&&u.pivotIndex==null&&(i[s]=u),n.push(u)}}t&&n.push(...this.generateColumnStateForRowGroupAndPivotIndexes(o,i)),n.length&&Xi(this.beans,{state:n},"cellDataTypeInferred"),this.initialData=null}generateColumnStateForRowGroupAndPivotIndexes(e,t){const n={},{rowGroupColsSvc:o,pivotColsSvc:i}=this.beans;return o?.restoreColumnOrder(n,e),i?.restoreColumnOrder(n,t),Object.values(n)}resetColDefIntoCol(e,t){const n=e.getUserProvidedColDef();if(!n)return!1;const o=i5(this.beans,n,e.getColId());return e.setColDef(o,n,t),!0}getDateStringTypeDefinition(e){const{dateString:t}=this.dataTypeDefinitions;return e?this.getDataTypeDefinition(e)??t:t}getDateParserFunction(e){return this.getDateStringTypeDefinition(e).dateParser}getDateFormatterFunction(e){return this.getDateStringTypeDefinition(e).dateFormatter}getDateIncludesTimeFlag(e){return e==="dateTime"||e==="dateTimeString"}getDataTypeDefinition(e){const t=e.getColDef();if(t.cellDataType)return this.dataTypeDefinitions[t.cellDataType]}getBaseDataType(e){return this.getDataTypeDefinition(e)?.baseDataType}checkType(e,t){if(t==null)return!0;const n=this.getDataTypeDefinition(e)?.dataTypeMatcher;return n?n(t):!0}validateColDef(e){const t=n=>Me(48,{property:n});if(e.cellDataType==="object"){const{object:n}=this.dataTypeDefinitions;e.valueFormatter===n.groupSafeValueFormatter&&!this.hasObjectValueFormatter&&t("Formatter"),e.editable&&e.valueParser===n.valueParser&&!this.hasObjectValueParser&&t("Parser")}}postProcess(e){const t=e.cellDataType;if(!t||typeof t!="string")return;const{dataTypeDefinitions:n,beans:o,formatValueFuncs:i}=this,s=n[t];s&&o.colFilter?.setColDefPropsForDataType(e,s,i[t])}getFormatValue(e){return this.formatValueFuncs[e]}isColPendingInference(e){return this.isPendingInference&&!!this.columnStateUpdatesPendingInference[e]}setColDefPropertiesForBaseDataType(e,t,n,o){const i=this.formatValueFuncs[t],s=this.columnDefinitionPropsPerDataType[n.baseDataType]({colDef:e,cellDataType:t,colModel:this.colModel,dataTypeDefinition:n,colId:o,formatValue:i});Object.assign(e,s)}getDateObjectTypeDef(e){const t=this.getLocaleTextFunc(),n=this.getDateIncludesTimeFlag(e);return{baseDataType:e,valueParser:o=>Ho(o.newValue&&String(o.newValue)),valueFormatter:o=>o.value==null?"":!(o.value instanceof Date)||isNaN(o.value.getTime())?t("invalidDate","Invalid Date"):Qo(o.value,n)??"",dataTypeMatcher:o=>o instanceof Date}}getDateStringTypeDef(e){const t=this.getDateIncludesTimeFlag(e);return{baseDataType:e,dateParser:n=>Ho(n)??void 0,dateFormatter:n=>Qo(n??null,t)??void 0,valueParser:n=>y1(String(n.newValue))?n.newValue:null,valueFormatter:n=>y1(String(n.value))?String(n.value):"",dataTypeMatcher:n=>typeof n=="string"&&y1(n)}}getDefaultDataTypes(){const e=this.getLocaleTextFunc();return{number:{baseDataType:"number",valueParser:t=>
52t.newValue?.trim?.()===""?null:Number(t.newValue),valueFormatter:t=>t.value==null?"":typeof t.value!="number"||isNaN(t.value)?e("invalidNumber","Invalid Number"):String(t.value),dataTypeMatcher:t=>typeof t=="number"},text:{baseDataType:"text",valueParser:t=>t.newValue===""?null:YC(t.newValue),dataTypeMatcher:t=>typeof t=="string"},boolean:{baseDataType:"boolean",valueParser:t=>t.newValue==null?t.newValue:t.newValue?.trim?.()===""?null:String(t.newValue).toLowerCase()==="true",valueFormatter:t=>t.value==null?"":String(t.value),dataTypeMatcher:t=>typeof t=="boolean"},date:this.getDateObjectTypeDef("date"),dateString:this.getDateStringTypeDef("dateString"),dateTime:this.getDateObjectTypeDef("dateTime"),dateTimeString:{...this.getDateStringTypeDef("dateTimeString"),dataTypeMatcher:t=>typeof t=="string"&&vU(t)},object:{baseDataType:"object",valueParser:()=>null,valueFormatter:t=>YC(t.value)??""}}}destroyColumnStateUpdateListeners(){for(const e of this.columnStateUpdateListenerDestroyFuncs)e();this.columnStateUpdateListenerDestroyFuncs=[]}destroy(){this.dataTypeDefinitions={},this.dataTypeMatchers={},this.formatValueFuncs={},this.columnStateUpdatesPendingInference={},this.destroyColumnStateUpdateListeners(),super.destroy()}};function $8(e,t){const n={...e,...t};return e.columnTypes&&t.columnTypes&&t.appendColumnTypes&&(n.columnTypes=[...Yg(e.columnTypes),...Yg(t.columnTypes)]),n}function W8(e,t,n){return t?t.baseDataType!==e.baseDataType?(Me(46),!1):!0:(Me(45,{parentCellDataType:n}),!1)}function G8(e,t){if(e.valueFormatter)return n=>{if(n.node?.group){const o=(n.colDef.pivotValueColumn??n.column).getAggFunc();if(o){if(o==="first"||o==="last")return e.valueFormatter(n);if(e.baseDataType==="number"&&o!=="count"){if(typeof n.value=="number")return e.valueFormatter(n);if(typeof n.value=="object"){if(!n.value)return;if("toNumber"in n.value)return e.valueFormatter({...n,value:n.value.toNumber()});if("value"in n.value)return e.valueFormatter({...n,value:n.value.value})}}return}}else if(t.get("groupHideOpenParents")&&n.column.isRowGroupActive()&&typeof n.value=="string"&&!e.dataTypeMatcher?.(n.value))return;return e.valueFormatter(n)}}function nX(e,t,n,o){if(!t[n])return!1;const i=e[n];return i===null?(t[n]=!1,!1):o===void 0?!!i:i===o}function gv(e,t){return[["cellRenderer","agSparklineCellRenderer"],["valueGetter",void 0],["valueParser",void 0],["refData",void 0]].some(([n,o])=>nX(e,t,n,o))}function oX(e,t){const n=px(e);for(const o of t)delete n[o],o==="rowGroup"?delete n.rowGroupIndex:o==="pivot"&&delete n.pivotIndex;return n}var iX={moduleName:"DataType",version:We,beans:[tX],dependsOn:[xY]},sX={moduleName:"ColumnFlex",version:We,beans:[QY]},bD={moduleName:"ColumnApi",version:We,beans:[JY],apiFunctions:{getColumnDef:kY,getDisplayNameForColumn:_Y,getColumn:IY,getColumns:FY,applyColumnState:OY,getColumnState:NY,resetColumnState:BY,isPinning:HY,isPinningLeft:VY,isPinningRight:$Y,getDisplayedColAfter:WY,getDisplayedColBefore:GY,setColumnsVisible:zY,setColumnsPinned:UY,getAllGridColumns:jY,getDisplayedLeftColumns:ZY,getDisplayedCenterColumns:KY,getDisplayedRightColumns:qY,getAllDisplayedColumns:YY,getAllDisplayedVirtualColumns:XY,getColumnDefs:AY}};function rX(e){if(!e||e==null)return null;const t=/([a-z])([A-Z])/g,n=/([A-Z]+)([A-Z])([a-z])/g;return e.replace(t,"$1 $2").replace(n,"$1 $2$3").replace(/\./g," ").split(" ").map(i=>i.substring(0,1).toUpperCase()+(i.length>1?i.substring(1,i.length):"")).join(" ")}var aX=class extends we{constructor(){super(...arguments),this.beanName="colNames"}getDisplayNameForColumn(e,t,n=!1){if(!e)return null;const o=this.getHeaderName(e.getColDef(),e,null,null,t),{aggColNameSvc:i}=this.beans;return n&&i?i.getHeaderName(e,o):o}getDisplayNameForProvidedColumnGroup(e,t,n){const o=t?.getColGroupDef();return o?this.getHeaderName(o,null,e,t,n):null}getDisplayNameForColumnGroup(e,t){return this.getDisplayNameForProvidedColumnGroup(e,e.getProvidedColumnGroup(),t)}getHeaderName(e,t,n,o,i){const s=e.headerValueGetter;if(s){const r=st(this.gos,{colDef:e,column:t,columnGroup:n,providedColumnGroup:o,location:i});return typeof s=="function"?s(r):typeof s=="string"?this.beans.expressionSvc?.evaluate(s,r)??null:""}else{if(e.headerName!=null)return e.headerName;if(e.field)return rX(e.field)}return""}},lX=class extends we{constructor(){super(...arguments),this.beanName="
52colViewport",this.colsWithinViewport=[],this.headerColsWithinViewport=[],this.colsWithinViewportHash="",this.rowsOfHeadersToRenderLeft={},this.rowsOfHeadersToRenderRight={},this.rowsOfHeadersToRenderCenter={},this.columnsToRenderLeft=[],this.columnsToRenderRight=[],this.columnsToRenderCenter=[]}wireBeans(e){this.visibleCols=e.visibleCols,this.colModel=e.colModel}postConstruct(){this.suppressColumnVirtualisation=this.gos.get("suppressColumnVirtualisation")}setScrollPosition(e,t,n=!1){const{visibleCols:o}=this,i=o.isBodyWidthDirty;if(!(e===this.scrollWidth&&t===this.scrollPosition&&!i)){if(this.scrollWidth=e,this.scrollPosition=t,o.isBodyWidthDirty=!0,this.gos.get("enableRtl")){const r=o.bodyWidth;this.viewportLeft=r-t-e,this.viewportRight=r-t}else this.viewportLeft=t,this.viewportRight=e+t;this.colModel.ready&&this.checkViewportColumns(n)}}getColumnHeadersToRender(e){switch(e){case"left":return this.columnsToRenderLeft;case"right":return this.columnsToRenderRight;default:return this.columnsToRenderCenter}}getHeadersToRender(e,t){let n;switch(e){case"left":n=this.rowsOfHeadersToRenderLeft[t];break;case"right":n=this.rowsOfHeadersToRenderRight[t];break;default:n=this.rowsOfHeadersToRenderCenter[t];break}return n??[]}extractViewportColumns(){const e=this.visibleCols.centerCols;this.isColumnVirtualisationSuppressed()?(this.colsWithinViewport=e,this.headerColsWithinViewport=e):(this.colsWithinViewport=e.filter(this.isColumnInRowViewport.bind(this)),this.headerColsWithinViewport=e.filter(this.isColumnInHeaderViewport.bind(this)))}isColumnVirtualisationSuppressed(){return this.suppressColumnVirtualisation||this.viewportRight===0}clear(){this.rowsOfHeadersToRenderLeft={},this.rowsOfHeadersToRenderRight={},this.rowsOfHeadersToRenderCenter={},this.colsWithinViewportHash=""}isColumnInHeaderViewport(e){return e.isAutoHeaderHeight()||cX(e)?!0:this.isColumnInRowViewport(e)}isColumnInRowViewport(e){if(e.isAutoHeight())return!0;const t=e.getLeft()||0,n=t+e.getActualWidth(),o=this.viewportLeft-200,i=this.viewportRight+200,s=t<o&&n<o,r=t>i&&n>i;return!s&&!r}getViewportColumns(){const{leftCols:e,rightCols:t}=this.visibleCols;return this.colsWithinViewport.concat(e).concat(t)}getColsWithinViewport(e){if(!this.colModel.colSpanActive)return this.colsWithinViewport;const t=s=>{const r=s.getLeft();return Ge(r)&&r>this.viewportLeft},n=this.isColumnVirtualisationSuppressed()?void 0:this.isColumnInRowViewport.bind(this),{visibleCols:o}=this,i=o.centerCols;return o.getColsForRow(e,i,n,t)}checkViewportColumns(e=!1){this.extractViewport()&&this.eventSvc.dispatchEvent({type:"virtualColumnsChanged",afterScroll:e})}calculateHeaderRows(){const{leftCols:e,rightCols:t}=this.visibleCols;this.columnsToRenderLeft=e,this.columnsToRenderRight=t,this.columnsToRenderCenter=this.colsWithinViewport;const n=o=>{const i=new Set,s={};for(const r of o){let a=r.getParent();const l=r.isSpanHeaderHeight();for(;a&&!i.has(a);){if(l&&a.isPadding()){a=a.getParent();continue}const u=a.getProvidedColumnGroup().getLevel();s[u]??(s[u]=[]),s[u].push(a),i.add(a),a=a.getParent()}}return s};this.rowsOfHeadersToRenderLeft=n(e),this.rowsOfHeadersToRenderRight=n(t),this.rowsOfHeadersToRenderCenter=n(this.headerColsWithinViewport)}extractViewport(){const e=o=>`${o.getId()}-${o.getPinned()||"normal"}`;this.extractViewportColumns();const t=this.getViewportColumns().map(e).join("#"),n=this.colsWithinViewportHash!==t;return n&&(this.colsWithinViewportHash=t,this.calculateHeaderRows()),n}};function cX(e){for(;e;){if(e.isAutoHeaderHeight())return!0;e=e.getParent()}return!1}var uX=class extends we{constructor(){super(...arguments),this.beanName="agCompUtils"}adaptFunction(e,t){if(!e.cellRenderer)return null;class n{refresh(){return!1}getGui(){return this.eGui}init(i){const s=t(i),r=typeof s;if(r==="string"||r==="number"||r==="boolean"){this.eGui=k4("<span>"+s+"</span>");return}if(s==null){this.eGui=An({tag:"span"});return}this.eGui=s}}return n}},dX={moduleName:"CellRendererFunction",version:We,beans:[uX]},hX=class extends fj{constructor(){super(...arguments),this.agGridDefaults={},this.agGridDefaultOverrides={},this.jsComps={},this.selectors={},this.icons={}}postConstruct(){const e=this.gos.get("components");if(e!=null)for(const t of Object.keys(e))this.jsComps[t]=e[t]}registerModule(e){const{icons:t,userComponents:n,dynamicBeans:o,selectors:i}=e;if(n){const s=(r,a,l,c)=>{this.agGridDefaults[r]=a,(l||c)&&(this.agGridDefaultOverrides[r]={params:l,processParams:c})};for(const r of Object.keys(n)){let a=n[r];if(hU(a)&&(a=a.getComp(this.beans)),typeof a=="object"){const{classImp:l,params:c,processParams:u}=a;s(r,l,c,u)}else s(r,a)}}this.registerDynamicBeans(o);for(const s of i??[])this.selectors[s.selector]=s;if(t)for(const s of Object.keys(t))this.icons[s]=t[s]}getUserComponent(e,t){const n=(a,l,c,u)=>({componentFromFramework:l,component:a,params:c,processParams:u}),{frameworkOverrides:o}=this.beans,i=o.frameworkComponent(t,this.gos.get("components"));if(i!=null)return n(i,!0);const s=this.jsComps[t];if(s){const a=o.isFrameworkComponent(s);return n(s,a)}const r=this.agGridDefaults[t];if(r){const a=this.agGridDefaultOverrides[t];return n(r,!1,a?.params,a?.processParams)}return this.beans.validation?.missingUserComponent(e,t,this.agGridDefaults,this.jsComps),null}getSelector(e){return this.selectors[e]}getIcon(e){return this.icons[e]}getDynamicError(e,t){return t?Ds(279,{name:e}):this.beans.validation?.missingDynamicBean(e)??Ds(256)}},pX=23,fX=class extends we{constructor(){super(...arguments),this.beanName="
52ctrlsSvc",this.params={},this.ready=!1,this.readyCallbacks=[]}postConstruct(){this.addEventListener("ready",()=>{if(this.updateReady(),this.ready){for(const e of this.readyCallbacks)e(this.params);this.readyCallbacks.length=0}},this.beans.frameworkOverrides.runWhenReadyAsync?.()??!1)}updateReady(){const e=Object.values(this.params);this.ready=e.length===pX&&e.every(t=>t?.isAlive()??!1)}whenReady(e,t){this.ready?t(this.params):this.readyCallbacks.push(t),e.addDestroyFunc(()=>{const n=this.readyCallbacks.indexOf(t);n>=0&&this.readyCallbacks.splice(n,1)})}register(e,t){this.params[e]=t,this.updateReady(),this.ready&&this.dispatchLocalEvent({type:"ready"}),t.addDestroyFunc(()=>{this.updateReady()})}get(e){return this.params[e]}getGridBodyCtrl(){return this.params.gridBodyCtrl}getHeaderRowContainerCtrls(){const{leftHeader:e,centerHeader:t,rightHeader:n}=this.params;return[e,n,t]}getHeaderRowContainerCtrl(e){const t=this.params;switch(e){case"left":return t.leftHeader;case"right":return t.rightHeader;default:return t.centerHeader}}getScrollFeature(){return this.getGridBodyCtrl().scrollFeature}},gX=
vendor: 27,877 bytes, line 52
52'.ag-aria-description-container{border:0;z-index:9999;clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.ag-unselectable{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ag-selectable{-webkit-user-select:text;-moz-user-select:text;user-select:text}.ag-tab-guard{display:block;height:0;position:absolute;width:0}:where(.ag-virtual-list-viewport) .ag-tab-guard{position:sticky}.ag-tab-guard-top{top:1px}.ag-tab-guard-bottom{bottom:1px}.ag-shake-left-to-right{animation-direction:alternate;animation-duration:.2s;animation-iteration-count:infinite;animation-name:ag-shake-left-to-right}@keyframes ag-shake-left-to-right{0%{padding-left:6px;padding-right:2px}to{padding-left:2px;padding-right:6px}}.ag-body-horizontal-scroll-viewport,.ag-body-vertical-scroll-viewport,.ag-body-viewport,.ag-center-cols-viewport,.ag-floating-bottom-viewport,.ag-floating-top-viewport,.ag-header-viewport,.ag-sticky-bottom-viewport,.ag-sticky-top-viewport,.ag-virtual-list-viewport{flex:1 1 auto;height:100%;min-width:0;overflow:hidden;position:relative}.ag-viewport{position:relative}.ag-spanning-container{position:absolute;top:0;z-index:1}.ag-body-viewport,.ag-center-cols-viewport,.ag-floating-bottom-viewport,.ag-floating-top-viewport,.ag-header-viewport,.ag-sticky-bottom-viewport,.ag-sticky-top-viewport{overflow-x:auto;-ms-overflow-style:none!important;scrollbar-width:none!important;&::-webkit-scrollbar{display:none!important}}.ag-body-viewport{display:flex;overflow-x:hidden;&:where(.ag-layout-normal){overflow-y:auto;-webkit-overflow-scrolling:touch}}.ag-floating-bottom-container,.ag-floating-top-container,.ag-sticky-bottom-container,.ag-sticky-top-container{min-height:1px}.ag-center-cols-viewport{min-height:100%;width:100%}.ag-body-horizontal-scroll-viewport{overflow-x:scroll}.ag-body-vertical-scroll-viewport{overflow-y:scroll}.ag-virtual-list-viewport{overflow:auto;width:100%}.ag-body-container,.ag-body-horizontal-scroll-container,.ag-body-vertical-scroll-container,.ag-center-cols-container,.ag-floating-bottom-container,.ag-floating-bottom-full-width-container,.ag-floating-top-container,.ag-full-width-container,.ag-header-container,.ag-pinned-left-cols-container,.ag-pinned-right-cols-container,.ag-sticky-bottom-container,.ag-sticky-top-container,.ag-virtual-list-container{position:relative}.ag-floating-bottom-container,.ag-floating-top-container,.ag-header-container,.ag-pinned-left-floating-bottom,.ag-pinned-left-floating-top,.ag-pinned-right-floating-bottom,.ag-pinned-right-floating-top,.ag-sticky-bottom-container,.ag-sticky-top-container{height:100%;white-space:nowrap}.ag-center-cols-container,.ag-pinned-right-cols-container{display:block}.ag-body-horizontal-scroll-container{height:100%}.ag-body-vertical-scroll-container{width:100%}.ag-floating-bottom-full-width-container,.ag-floating-top-full-width-container,.ag-full-width-container,.ag-sticky-bottom-full-width-container,.ag-sticky-top-full-width-container{pointer-events:none;position:absolute;top:0}:where(.ag-ltr) .ag-floating-bottom-full-width-container,:where(.ag-ltr) .ag-floating-top-full-width-container,:where(.ag-ltr) .ag-full-width-container,:where(.ag-ltr) .ag-sticky-bottom-full-width-container,:where(.ag-ltr) .ag-sticky-top-full-width-container{left:0}:where(.ag-rtl) .ag-floating-bottom-full-width-container,:where(.ag-rtl) .ag-floating-top-full-width-container,:where(.ag-rtl) .ag-full-width-container,:where(.ag-rtl) .ag-sticky-bottom-full-width-container,:where(.ag-rtl) .ag-sticky-top-full-width-container{right:0}.ag-full-width-container{width:100%}.ag-floating-bottom-full-width-container,.ag-floating-top-full-width-container{display:inline-block;height:100%;overflow:hidden;width:100%}.ag-virtual-list-container{overflow:hidden}.ag-body{display:flex;flex:1 1 auto;flex-direction:row!important;min-height:0;position:relative}.ag-body-horizontal-scroll,.ag-body-vertical-scroll{display:flex;min-height:0;min-width:0;position:relative;&:where(.ag-scrollbar-invisible){bottom:0;position:absolute;&:where(.ag-apple-scrollbar){opacity:0;transition:opacity .4s;visibility:hidden;&:where(.ag-scrollbar-scrolling,.ag-scrollbar-active){opacity:1;visibility:visible}}}}.ag-body-horizontal-scroll{width:100%;&:where(.ag-scrollbar-invisible){left:0;right:0}}.ag-body-vertical-scroll{height:100%;&:where(.ag-scrollbar-invisible){top:0;z-index:10}}:where(.ag-ltr) .ag-body-vertical-scroll{&:where(.ag-scrollbar-invisible){right:0}}:where(.ag-rtl) .ag-body-vertical-scroll{&:where(.ag-scrollbar-invisible){left:0}}.ag-force-vertical-scroll{overflow-y:scroll!important}.ag-horizontal-left-spacer,.ag-horizontal-right-spacer{height:100%;min-width:0;overflow-x:scroll;&:where(.ag-scroller-corner){overflow-x:hidden}}:where(.ag-row-animation) .ag-row{transition:transform .4s,top .4s,opacity .2s;&:where(.ag-after-created){transition:transform .4s,top .4s,height .4s,opacity .2s}}:where(.ag-row-animation.ag-prevent-animation) .ag-row{transition:none!important;&:where(.ag-row.ag-after-created){transition:none!important}}:where(.ag-row-no-animation) .ag-row{transition:none}.ag-row-loading{align-items:center;display:flex}.ag-row-position-absolute{position:absolute}.ag-row-position-relative{position:relative}.ag-full-width-row{overflow:hidden;pointer-events:all}.ag-row-inline-editing{z-index:1}.ag-row-dragging{z-index:2}.ag-stub-cell{align-items:center;display:flex}.ag-cell{display:inline-block;height:100%;position:absolute;white-space:nowrap;&:focus-visible{box-shadow:none}}.ag-cell-value{flex:1 1 auto}.ag-cell-value:not(.ag-allow-overflow),.ag-group-value{overflow:hidden;text-overflow:ellipsis}.ag-cell-wrap-text{white-space:normal;word-break:break-word}:where(.ag-cell) .ag-icon{display:inline-block;vertical-align:middle}.ag-floating-top{display:flex;overflow:hidden;position:relative;white-space:nowrap;width:100%}:where(.ag-floating-top:not(.ag-invisible)){border-bottom:var(--ag-pinned-row-border)}.ag-floating-bottom{display:flex;overflow:hidden;position:relative;white-space:nowrap;width:100%}:where(.ag-floating-bottom:not(.ag-invisible)){border-top:var(--ag-pinned-row-border)}.ag-sticky-bottom,.ag-sticky-top{background-color:var(--ag-data-background-color);display:flex;height:0;overflow:hidden;position:absolute;width:100%;z-index:1}.ag-opacity-zero{opacity:0!important}.ag-cell-label-container{align-items:center;display:flex;flex-direction:row-reverse;height:100%;justify-content:space-between;width:100%}:where(.ag-right-aligned-header){.ag-cell-label-container{flex-direction:row}.ag-header-cell-text{text-align:end}}.ag-column-group-icons{display:block;>*{cursor:pointer}}:where(.ag-ltr){direction:ltr;.ag-body,.ag-body-horizontal-scroll,.ag-body-viewport,.ag-floating-bottom,.ag-floating-top,.ag-header,.ag-sticky-bottom,.ag-sticky-top{flex-direction:row}}:where(.ag-rtl){direction:rtl;text-align:right;.ag-body,.ag-body-horizontal-scroll,.ag-body-viewport,.ag-floating-bottom,.ag-floating-top,.ag-header,.ag-sticky-bottom,.ag-sticky-top{flex-direction:row-reverse}.ag-icon-contracted,.ag-icon-expanded,.ag-icon-tree-closed{display:block}}:where(.ag-rtl){.ag-icon-contracted,.ag-icon-expanded,.ag-icon-tree-closed{transform:rotate(180deg)}}:where(.ag-rtl){.ag-icon-contracted,.ag-icon-expanded,.ag-icon-tree-closed{transform:rotate(-180deg)}}.ag-measurement-container{height:0;overflow:hidden;visibility:hidden;width:0}.ag-measurement-element-border{display:inline-block;&:before{border-left:var(--ag-internal-measurement-border);content:"";display:block}}.ag-group{position:relative;width:100%}.ag-group-title-bar{align-items:center;display:flex;padding:var(--ag-spacing)}.ag-group-title{display:inline;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:where(.ag-group-title-bar) .ag-group-title{cursor:default}.ag-group-toolbar{align-items:center;display:flex;padding:var(--ag-spacing)}.ag-group-container{display:flex}.ag-disabled .ag-group-container{pointer-events:none}.ag-disabled-group-container,.ag-disabled-group-title-bar{opacity:.5}.ag-group-container-horizontal{flex-flow:row wrap}.ag-group-container-vertical{flex-direction:column}.ag-group-title-bar-icon{cursor:pointer;flex:none}:where(.ag-ltr) .ag-group-title-bar-icon{margin-right:var(--ag-spacing)}:where(.ag-rtl) .ag-group-title-bar-icon{margin-left:var(--ag-spacing)}:where(.ag-group-item-alignment-stretch) .ag-group-item{align-items:stretch}:where(.ag-group-item-alignment-start) .ag-group-item{align-items:flex-start}:where(.ag-group-item-alignment-end) .ag-group-item{align-items:flex-end}:where(.ag-ltr) .ag-row:not(.ag-row-level-0) .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}:where(.ag-rtl) .ag-row:not(.ag-row-level-0) .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}:where(.ag-ltr) .ag-row-group-leaf-indent{margin-left:calc(var(--ag-cell-widget-spacing) + var(--ag-icon-size))}:where(.ag-rtl) .ag-row-group-leaf-indent{margin-right:calc(var(--ag-cell-widget-spacing) + var(--ag-icon-size))}.ag-value-change-delta{padding:0 2px}.ag-value-change-delta-up{color:var(--ag-value-change-delta-up-color)}.ag-value-change-delta-down{color:var(--ag-value-change-delta-down-color)}.ag-value-change-value{background-color:transparent;border-radius:1px;padding-left:1px;padding-right:1px;transition:background-color 1s}.ag-value-change-value-highlight{background-color:var(--ag-value-change-value-highlight-background-color);transition:background-color .1s}.ag-cell-data-changed{background-color:var(--ag-value-change-value-highlight-background-color)!important}.ag-cell-data-changed-animation{background-color:transparent}.ag-cell-highlight{background-color:var(--ag-range-selection-highlight-color)!important}.ag-row,.ag-spanned-row{color:var(--ag-cell-text-color);font-family:var(--ag-cell-font-family);font-size:var(--ag-data-font-size);white-space:nowrap;--ag-internal-content-line-height:calc(min(var(--ag-row-height), var(--ag-line-height, 1000px)) - var(--ag-internal-row-border-width, 1px) - 2px)}.ag-row{background-color:var(--ag-data-background-color);border-bottom:var(--ag-row-border);height:var(--ag-row-height);width:100%;&.ag-row-editing-invalid{background-color:var(--ag-full-row-edit-invalid-background-color)}}:where(.ag-body-vertical-content-no-gap>div>div>div,.ag-body-vertical-content-no-gap>div>div>div>div)>.ag-row-last{border-bottom-color:transparent}.ag-sticky-bottom{border-top:var(--ag-row-border);box-sizing:content-box!important}.ag-group-contracted,.ag-group-expanded{cursor:pointer}.ag-cell,.ag-full-width-row .ag-cell-wrapper.ag-row-group{border:1px solid transparent;line-height:var(--ag-internal-content-line-height);-webkit-font-smoothing:subpixel-antialiased}:where(.ag-ltr) .ag-cell{border-right:var(--ag-column-border)}:where(.ag-rtl) .ag-cell{border-left:var(--ag-column-border)}.ag-spanned-cell-wrapper{background-color:var(--ag-data-background-color);position:absolute}.ag-spanned-cell-wrapper>.ag-spanned-cell{display:block;position:relative}:where(.ag-ltr) :where(.ag-body-horizontal-content-no-gap) .ag-column-last{border-right-color:transparent}:where(.ag-rtl) :where(.ag-body-horizontal-content-no-gap) .ag-column-last{border-left-color:transparent}.ag-cell-wrapper{align-items:center;display:flex;>:where(:not(.ag-cell-value,.ag-group-value)){align-items:center;display:flex;height:var(--ag-internal-content-line-height)}&:where(.ag-row-group){align-items:flex-start}:where(.ag-full-width-row) &:where(.ag-row-group){align-items:center;height:100%}}:where(.ag-ltr) .ag-cell-wrapper{padding-left:calc(var(--ag-indentation-level)*var(--ag-row-group-indent-size))}:where(.ag-rtl) .ag-cell-wrapper{padding-right:calc(var(--ag-indentation-level)*var(--ag-row-group-indent-size))}:where(.ag-cell-wrap-text:not(.ag-cell-auto-height)) .ag-cell-wrapper{align-items:normal;height:100%;:where(.ag-cell-value){height:100%}}:where(.ag-ltr) .ag-row>.ag-cell-wrapper.ag-row-group{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*var(--ag-indentation-level))}:where(.ag-rtl) .ag-row>.ag-cell-wrapper.ag-row-group{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*var(--ag-indentation-level))}.ag-cell-focus:not(.ag-cell-range-selected):focus-within,.ag-cell-range-single-cell,.ag-cell-range-single-cell.ag-cell-range-handle,.ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),.ag-context-menu-open .ag-full-width-row.ag-row-focus .ag-cell-wrapper.ag-row-group,.ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group{border:1px solid;border-color:var(--ag-range-selection-border-color);border-style:var(--ag-range-selection-border-style);outline:initial}.ag-full-width-row.ag-row-focus:focus{box-shadow:none}:where(.ag-ltr) .ag-group-contracted,:where(.ag-ltr) .ag-group-expanded,:where(.ag-ltr) .ag-row-drag,:where(.ag-ltr) .ag-selection-checkbox{margin-right:var(--ag-cell-widget-spacing)}:where(.ag-rtl) .ag-group-contracted,:where(.ag-rtl) .ag-group-expanded,:where(.ag-rtl) .ag-row-drag,:where(.ag-rtl) .ag-selection-checkbox{margin-left:var(--ag-cell-widget-spacing)}:where(.ag-ltr) .ag-group-child-count{margin-left:3px}:where(.ag-rtl) .ag-group-child-count{margin-right:3px}.ag-row-highlight-above:after,.ag-row-highlight-below:after,.ag-row-highlight-inside:after{background-color:var(--ag-range-selection-border-color);content:"";height:1px;pointer-events:none;position:absolute;width:calc(100% - 1px)}:where(.ag-ltr) .ag-row-highlight-above:after,:where(.ag-ltr) .ag-row-highlight-below:after,:where(.ag-ltr) .ag-row-highlight-inside:after{left:1px}:where(.ag-rtl) .ag-row-highlight-above:after,:where(.ag-rtl) .ag-row-highlight-below:after,:where(.ag-rtl) .ag-row-highlight-inside:after{right:1px}.ag-row-highlight-above:after{top:0}.ag-row-highlight-below:after{bottom:0}.ag-row-highlight-indent:after{display:block;width:auto}:where(.ag-ltr) .ag-row-highlight-indent:after{left:calc((var(--ag-cell-widget-spacing) + var(--ag-icon-size))*2 + var(--ag-cell-horizontal-padding) + var(--ag-row-highlight-level)*var(--ag-row-group-indent-size));right:1px}:where(.ag-rtl) .ag-row-highlight-indent:after{left:1px;right:calc((var(--ag-cell-widget-spacing) + var(--ag-icon-size))*2 + var(--ag-cell-horizontal-padding) + var(--ag-row-highlight-level)*var(--ag-row-group-indent-size))}.ag-row-highlight-inside:after{background-color:var(--ag-selected-row-background-color);border:1px solid var(--ag-range-selection-border-color);display:block;height:auto;inset:0;width:auto}.ag-body,.ag-floating-bottom,.ag-floating-top{background-color:var(--ag-data-background-color)}.ag-row-odd{background-color:var(--ag-odd-row-background-color)}.ag-row-selected:before{background-color:var(--ag-selected-row-background-color);content:"";display:block;inset:0;pointer-events:none;position:absolute}.ag-row-hover.ag-full-width-row.ag-row-group:before,.ag-row-hover:not(.ag-full-width-row):before{background-color:var(--ag-row-hover-color);content:"";display:block;inset:0;pointer-events:none;position:absolute}.ag-row-hover.ag-row-selected:before{background-color:var(--ag-row-hover-color);background-image:linear-gradient(var(--ag-selected-row-background-color),var(--ag-selected-row-background-color))}.ag-row.ag-full-width-row.ag-row-group>*{position:relative}.ag-column-hover{background-color:var(--ag-column-hover-color)}.ag-header-range-highlight{background-color:var(--ag-range-header-highlight-color)}.ag-right-aligned-cell{font-variant-numeric:tabular-nums}:where(.ag-ltr) .ag-right-aligned-cell{text-align:right}:where(.ag-rtl) .ag-right-aligned-cell{text-align:left}.ag-right-aligned-cell .ag-cell-value,.ag-right-aligned-cell .ag-group-value{margin-left:auto}:where(.ag-ltr) .ag-cell:not(.ag-cell-inline-editing),:where(.ag-ltr) .ag-full-width-row .ag-cell-wrapper.ag-row-group{padding-left:calc(var(--ag-cell-horizontal-padding) - 1px + var(--ag-row-group-indent-size)*var(--ag-indentation-level));padding-right:calc(var(--ag-cell-horizontal-padding) - 1px)}:where(.ag-rtl) .ag-cell:not(.ag-cell-inline-editing),:where(.ag-rtl) .ag-full-width-row .ag-cell-wrapper.ag-row-group{padding-left:calc(var(--ag-cell-horizontal-padding) - 1px);padding-right:calc(var(--ag-cell-horizontal-padding) - 1px + var(--ag-row-group-indent-size)*var(--ag-indentation-level))}.ag-row>.ag-cell-wrapper{padding-left:calc(var(--ag-cell-horizontal-padding) - 1px);padding-right:calc(var(--ag-cell-horizontal-padding) - 1px)}.ag-row-dragging{cursor:move;opacity:.5}.ag-details-row{background-color:var(--ag-data-background-color);padding:calc(var(--ag-spacing)*3.75)}.ag-layout-auto-height,.ag-layout-print{.ag-center-cols-container,.ag-center-cols-viewport{min-height:150px}}.ag-overlay-loading-wrapper{background-color:var(--ag-modal-overlay-background-color)}.ag-skeleton-container{align-content:center;height:100%;width:100%}.ag-skeleton-effect{animation:ag-skeleton-loading 1.5s ease-in-out .5s infinite;background-color:var(--ag-row-loading-skeleton-effect-color);border-radius:.25rem;height:1em;width:100%}:where(.ag-ltr) .ag-right-aligned-cell .ag-skeleton-effect{margin-left:auto}:where(.ag-rtl) .ag-right-aligned-cell .ag-skeleton-effect{margin-right:auto}@keyframes ag-skeleton-loading{0%{background-color:var(--ag-row-loading-skeleton-effect-color)}50%{background-color:color-mix(in srgb,transparent,var(--ag-row-loading-skeleton-effect-color) 40%)}to{background-color:var(--ag-row-loading-skeleton-effect-color)}}.ag-loading{align-items:center;display:flex;height:100%}:where(.ag-ltr) .ag-loading{padding-left:var(--ag-cell-horizontal-padding)}:where(.ag-rtl) .ag-loading{padding-right:var(--ag-cell-horizontal-padding)}:where(.ag-ltr) .ag-loading-icon{padding-right:var(--ag-cell-widget-spacing)}:where(.ag-rtl) .ag-loading-icon{padding-left:var(--ag-cell-widget-spacing)}.ag-icon-loading{animation-duration:1s;animation-iteration-count:infinite;animation-name:spin;animation-timing-function:linear}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ag-header{background-color:var(--ag-header-background-color);border-bottom:var(--ag-header-row-border);color:var(--ag-header-text-color);display:flex;font-family:var(--ag-header-font-family);font-size:var(--ag-header-font-size);font-weight:var(--ag-header-font-weight);overflow:hidden;white-space:nowrap;width:100%}.ag-header-row{height:var(--ag-header-height);position:absolute}.ag-floating-filter-button-button,.ag-header-cell-filter-button,.ag-header-cell-menu-button,.ag-header-expand-icon,.ag-panel-title-bar-button,:where(.ag-header-cell-sortable) .ag-header-cell-label{cursor:pointer}:where(.ag-ltr) .ag-header-expand-icon{margin-left:4px}:where(.ag-rtl) .ag-header-expand-icon{margin-right:4px}.ag-header-row:where(:not(:first-child)){:where(.ag-header-cell:not(.ag-header-span-height.ag-header-span-total,.ag-header-parent-hidden),.ag-header-group-cell.ag-header-group-cell-with-group){border-top:var(--ag-header-row-border)}}.ag-header-row:where(:not(.ag-header-row-column-group)){overflow:hidden}:where(.ag-header.ag-header-allow-overflow) .ag-header-row{overflow:visible}.ag-header-cell{display:inline-flex;overflow:hidden}.ag-header-group-cell{contain:paint;display:flex}.ag-header-cell,.ag-header-group-cell{align-items:center;gap:var(--ag-cell-widget-spacing);height:100%;padding:0 var(--ag-cell-horizontal-padding);position:absolute}@property --ag-internal-moving-color{syntax:"<color>";inherits:false;initial-value:transparent}@property --ag-internal-hover-color{syntax:"<color>";inherits:false;initial-value:transparent}.ag-header-cell:where(:not(.ag-floating-filter)),.ag-header-group-cell{&:before{background-image:linear-gradient(var(--ag-internal-hover-color),var(--ag-internal-hover-color)),linear-gradient(var(--ag-internal-moving-color),var(--ag-internal-moving-color));content:"";inset:0;position:absolute;--ag-internal-moving-color:transparent;--ag-internal-hover-color:transparent;transition:--ag-internal-moving-color var(--ag-header-cell-background-transition-duration),--ag-internal-hover-color var(--ag-header-cell-background-transition-duration)}&:where(:hover):before{--ag-internal-hover-color:var(--ag-header-cell-hover-background-color)}&:where(.ag-header-cell-moving):before{--ag-internal-moving-color:var(--ag-header-cell-moving-background-color);--ag-internal-hover-color:var(--ag-header-cell-hover-background-color)}}:where(.ag-header-cell:not(.ag-floating-filter) *,.ag-header-group-cell *){position:relative;z-index:1}.ag-header-cell-menu-button:where(:not(.ag-header-menu-always-show)){opacity:0;transition:opacity .2s}.ag-header-cell-filter-button,:where(.ag-header-cell.ag-header-active) .ag-header-cell-menu-button{opacity:1}.ag-header-cell-label,.ag-header-group-cell-label{align-items:center;align-self:stretch;display:flex;flex:1 1 auto;overflow:hidden;padding:5px 0}:where(.ag-ltr) .ag-sort-indicator-icon{padding-left:var(--ag-spacing)}:where(.ag-rtl) .ag-sort-indicator-icon{padding-right:var(--ag-spacing)}.ag-header-cell-label{text-overflow:ellipsis}.ag-header-group-cell-label.ag-sticky-label{flex:none;max-width:100%;overflow:visible;position:sticky}:where(.ag-ltr) .ag-header-group-cell-label.ag-sticky-label{left:var(--ag-cell-horizontal-padding)}:where(.ag-rtl) .ag-header-group-cell-label.ag-sticky-label{right:var(--ag-cell-horizontal-padding)}.ag-header-cell-text,.ag-header-group-text{overflow:hidden;text-overflow:ellipsis}.ag-header-cell-text{word-break:break-word}.ag-header-cell-comp-wrapper{width:100%}:where(.ag-header-group-cell) .ag-header-cell-comp-wrapper{display:flex}:where(.ag-header-cell:not(.ag-header-cell-auto-height)) .ag-header-cell-comp-wrapper{align-items:center;display:flex;height:100%}.ag-header-cell-wrap-text .ag-header-cell-comp-wrapper{white-space:normal}.ag-header-cell-comp-wrapper-limited-height>*{overflow:hidden}:where(.ag-right-aligned-header) .ag-header-cell-label{flex-direction:row-reverse}:where(.ag-ltr) :where(.ag-header-cell:not(.ag-right-aligned-header)){.ag-header-label-icon,.ag-header-menu-icon{margin-left:var(--ag-spacing)}}:where(.ag-rtl) :where(.ag-header-cell:not(.ag-right-aligned-header)){.ag-header-label-icon,.ag-header-menu-icon{margin-right:var(--ag-spacing)}}:where(.ag-ltr) :where(.ag-header-cell.ag-right-aligned-header){.ag-header-label-icon,.ag-header-menu-icon{margin-right:var(--ag-spacing)}}:where(.ag-rtl) :where(.ag-header-cell.ag-right-aligned-header){.ag-header-label-icon,.ag-header-menu-icon{margin-left:var(--ag-spacing)}}.ag-header-cell:after,.ag-header-group-cell:where(:not(.ag-header-span-height.ag-header-group-cell-no-group)):after{content:"";height:var(--ag-header-column-border-height);position:absolute;top:calc(50% - var(--ag-header-column-border-height)*.5);z-index:1}:where(.ag-ltr) .ag-header-cell:after,:where(.ag-ltr) .ag-header-group-cell:where(:not(.ag-header-span-height.ag-header-group-cell-no-group)):after{border-right:var(--ag-header-column-border);right:0}:where(.ag-rtl) .ag-header-cell:after,:where(.ag-rtl) .ag-header-group-cell:where(:not(.ag-header-span-height.ag-header-group-cell-no-group)):after{border-left:var(--ag-header-column-border);left:0}.ag-header-highlight-after:after,.ag-header-highlight-before:after{background-color:var(--ag-accent-color);content:"";height:100%;position:absolute;width:1px}:where(.ag-ltr) .ag-header-highlight-before:after{left:0}:where(.ag-rtl) .ag-header-highlight-before:after{right:0}:where(.ag-ltr) .ag-header-highlight-after:after{right:0;:where(.ag-pinned-left-header) &{right:1px}}:where(.ag-rtl) .ag-header-highlight-after:after{left:0;:where(.ag-pinned-left-header) &{left:1px}}.ag-header-cell-resize{align-items:center;cursor:ew-resize;display:flex;height:100%;position:absolute;top:0;width:8px;z-index:2;&:after{background-color:var(--ag-header-column-resize-handle-color);content:"";height:var(--ag-header-column-resize-handle-height);position:absolute;top:calc(50% - var(--ag-header-column-resize-handle-height)*.5);width:var(--ag-header-column-resize-handle-width);z-index:1}}:where(.ag-ltr) .ag-header-cell-resize{right:-3px;&:after{left:calc(50% - var(--ag-header-column-resize-handle-width))}}:where(.ag-rtl) .ag-header-cell-resize{left:-3px;&:after{right:calc(50% - var(--ag-header-column-resize-handle-width))}}:where(.ag-header-cell.ag-header-span-height) .ag-header-cell-resize:after{height:calc(100% - var(--ag-spacing)*4);top:calc(var(--ag-spacing)*2)}.ag-header-group-cell-no-group:where(.ag-header-span-height){display:none}.ag-sort-indicator-container{display:flex;gap:var(--ag-spacing)}.ag-layout-print{&.ag-body{display:block;height:unset}&.ag-root-wrapper{display:inline-block}.ag-body-horizontal-scroll,.ag-body-vertical-scroll{display:none}&.ag-force-vertical-scroll{overflow-y:visible!important}}@media print{.ag-root-wrapper.ag-layout-print{display:table;.ag-body-horizontal-scroll-viewport,.ag-body-viewport,.ag-center-cols-container,.ag-center-cols-viewport,.ag-root,.ag-root-wrapper-body,.ag-virtual-list-viewport{display:block!important;height:auto!important;overflow:hidden!important}.ag-cell,.ag-row{-moz-column-break-inside:avoid;break-inside:avoid}}}ag-grid,ag-grid-angular{display:block}.ag-root-wrapper{border:var(--ag-wrapper-border);border-radius:var(--ag-wrapper-border-radius);display:flex;flex-direction:column;overflow:hidden;position:relative;&.ag-layout-normal{height:100%}}.ag-root-wrapper-body{display:flex;flex-direction:row;&.ag-layout-normal{flex:1 1 auto;height:0;min-height:0}}.ag-root{display:flex;flex-direction:column;position:relative;&.ag-layout-auto-height,&.ag-layout-normal{flex:1 1 auto;overflow:hidden;width:0}&.ag-layout-normal{height:100%}}.ag-virtual-list-item{height:var(--ag-list-item-height);position:absolute;width:100%}.ag-list-item-hovered:after{background-color:var(--ag-accent-color);content:"";height:1px;left:0;position:absolute;right:0}.ag-item-highlight-top:after{top:0}.ag-item-highlight-bottom:after{bottom:0}.ag-drag-handle{color:var(--ag-drag-handle-color);cursor:grab;:where(.ag-icon){color:var(--ag-drag-handle-color)}}.ag-chart-menu-icon,.ag-chart-settings-next,.ag-chart-settings-prev,.ag-column-group-icons,.ag-column-select-header-icon,.ag-filter-toolpanel-expand,.ag-floating-filter-button-button,.ag-group-title-bar-icon,.ag-header-cell-filter-button,.ag-header-cell-menu-button,.ag-header-expand-icon,.ag-panel-title-bar-button,.ag-panel-title-bar-button-icon,.ag-set-filter-group-icons,:where(.ag-group-contracted) .ag-icon,:where(.ag-group-expanded) .ag-icon{background-color:var(--ag-icon-button-background-color);border-radius:var(--ag-icon-button-border-radius);box-shadow:0 0 0 var(--ag-icon-button-background-spread) var(--ag-icon-button-background-color);color:var(--ag-icon-button-color);&:hover{background-color:var(--ag-icon-button-hover-background-color);box-shadow:0 0 0 var(--ag-icon-button-background-spread) var(--ag-icon-button-hover-background-color);color:var(--ag-icon-button-hover-color)}}.ag-filter-active{background-image:linear-gradient(var(--ag-icon-button-active-background-color),var(--ag-icon-button-active-background-color));border-radius:1px;outline:solid var(--ag-icon-button-background-spread) var(--ag-icon-button-active-background-color);position:relative;&:after{background-color:var(--ag-icon-button-active-indicator-color);border-radius:50%;content:"";height:6px;position:absolute;top:-1px;width:6px}:where(.ag-icon-filter){clip-path:path("M8,0C8,4.415 11.585,8 16,8L16,16L0,16L0,0L8,0Z");color:var(--ag-icon-button-active-color)}}:where(.ag-ltr) .ag-filter-active{&:after{right:-1px}}:where(.ag-rtl) .ag-filter-active{&:after{left:-1px}}.ag-menu{background-color:var(--ag-menu-background-color);border:var(--ag-menu-border);border-radius:var(--ag-border-radius);box-shadow:var(--ag-menu-shadow);color:var(--ag-menu-text-color);max-height:100%;overflow-y:auto;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}'
52,mX={wrapperBorder:!0,rowBorder:!0,headerRowBorder:!0,footerRowBorder:{ref:"rowBorder"},columnBorder:{style:"solid",width:1,color:"transparent"},headerColumnBorder:!1,headerColumnBorderHeight:"100%",pinnedColumnBorder:!0,pinnedRowBorder:!0,sidePanelBorder:!0,sideBarPanelWidth:250,sideBarBackgroundColor:{ref:"chromeBackgroundColor"},sideButtonBarBackgroundColor:{ref:"sideBarBackgroundColor"},sideButtonBarTopPadding:0,sideButtonSelectedUnderlineWidth:2,sideButtonSelectedUnderlineColor:"transparent",sideButtonSelectedUnderlineTransitionDuration:0,sideButtonBackgroundColor:"transparent",sideButtonTextColor:{ref:"textColor"},sideButtonHoverBackgroundColor:{ref:"sideButtonBackgroundColor"},sideButtonHoverTextColor:{ref:"sideButtonTextColor"},sideButtonSelectedBackgroundColor:Io,sideButtonSelectedTextColor:{ref:"sideButtonTextColor"},sideButtonBorder:"solid 1px transparent",sideButtonSelectedBorder:!0,sideButtonLeftPadding:{ref:"spacing"},sideButtonRightPadding:{ref:"spacing"},sideButtonVerticalPadding:{calc:"spacing * 3"},headerBackgroundColor:{ref:"chromeBackgroundColor"},headerFontFamily:{ref:"fontFamily"},cellFontFamily:{ref:"fontFamily"},headerFontWeight:500,headerFontSize:{ref:"fontSize"},dataFontSize:{ref:"fontSize"},headerTextColor:{ref:"textColor"},headerCellHoverBackgroundColor:"transparent",headerCellMovingBackgroun
vendor: 2,271 bytes, line 52
52dColor:{ref:"headerCellHoverBackgroundColor"},headerCellBackgroundTransitionDuration:"0.2s",cellTextColor:{ref:"textColor"},rangeSelectionBorderStyle:"solid",rangeSelectionBorderColor:cr,rangeSelectionBackgroundColor:Ss(.2),rangeSelectionChartBackgroundColor:"#0058FF1A",rangeSelectionChartCategoryBackgroundColor:"#00FF841A",rangeSelectionHighlightColor:Ss(.5),rangeHeaderHighlightColor:KU(.08),rowNumbersSelectedColor:Ss(.5),rowHoverColor:Ss(.08),columnHoverColor:Ss(.05),selectedRowBackgroundColor:Ss(.12),modalOverlayBackgroundColor:{ref:"backgroundColor",mix:.66},dataBackgroundColor:Io,oddRowBackgroundColor:{ref:"dataBackgroundColor"},wrapperBorderRadius:8,cellHorizontalPadding:{calc:"spacing * 2 * cellHorizontalPaddingScale"},cellWidgetSpacing:{calc:"spacing * 1.5"},cellHorizontalPaddingScale:1,rowGroupIndentSize:{calc:"cellWidgetSpacing + iconSize"},valueChangeDeltaUpColor:"#43a047",valueChangeDeltaDownColor:"#e53935",valueChangeValueHighlightBackgroundColor:"#16a08580",rowHeight:{calc:"max(iconSize, dataFontSize) + spacing * 3.25 * rowVerticalPaddingScale"},rowVerticalPaddingScale:1,headerHeight:{calc:"max(iconSize, dataFontSize) + spacing * 4 * headerVerticalPaddingScale"},headerVerticalPaddingScale:1,paginationPanelHeight:{ref:"rowHeight",calc:"max(rowHeight, 22px)"},dragHandleColor:ri(.7),headerColumnResizeHandleHeight:"30%",headerColumnResizeHandleWidth:2,headerColumnResizeHandleColor:{ref:"borderColor"},widgetContainerHorizontalPadding:{calc:"spacing * 1.5"},widgetContainerVerticalPadding:{calc:"spacing * 1.5"},widgetHorizontalSpacing:{calc:"spacing * 1.5"},widgetVerticalSpacing:{ref:"spacing"},iconButtonColor:{ref:"iconColor"},iconButtonBackgroundColor:"transparent",iconButtonBackgroundSpread:4,iconButtonBorderRadius:1,iconButtonHoverColor:{ref:"iconButtonColor"},iconButtonHoverBackgroundColor:ri(.1),iconButtonActiveColor:cr,iconButtonActiveBackgroundColor:Ss(.28),iconButtonActiveIndicatorColor:cr,menuBorder:{color:ri(.2)},menuBackgroundColor:hi(.03),menuTextColor:hi(.95),menuShadow:{ref:"popupShadow"},menuSeparatorColor:{ref:"borderColor"},setFilterIndentSize:{ref:"iconSize"},chartMenuPanelWidth:260,chartMenuLabelColor:ri(.8),dialogShadow:{ref:"popupShadow"},cellEditingBorder:{color:cr},cellEditingShadow:{ref:"cardShadow"}
52,fullRowEditInvalidBackgroundColor:{ref:"invalidColor",onto:"backgroundColor",mix:.25},dialogBorder:{color:ri(.2)},panelBackgroundColor:Io,panelTitleBarHeight:{ref:"headerHeight"},panelTitleBarBackgroundColor:{ref:"headerBackgroundColor"},panelTitleBarIconColor:{ref:"headerTextColor"},panelTitleBarTextColor:{ref:"headerTextColor"},panelTitleBarFontWeight:{ref:"headerFontWeight"},panelTitleBarBorder:!0,columnSelectIndentSize:{ref:"iconSize"},toolPanelSeparatorBorder:!0,columnDropCellBackgroundColor:ri(.07),columnDropCellTextColor:{ref:"textColor"},columnDropCellDragHandleColor:{ref:"textColor"},columnDropCellBorder:{color:ri(.13)},selectCellBackgroundColor:ri(.07),selectCellBorder:{color:ri(.13)},advancedFilterBuilderButtonBarBorder:!0,advancedFilterBuilderIndentSize:{calc:"spacing * 2 + iconSize"},advancedFilterBuilderJoinPillColor:"#f08e8d",advancedFilterBuilderColumnPillColor:"#a6e194",advancedFilterBuilderOptionPillColor:"#f3c08b",advancedFilterBuilderValuePillColor:"#85c0e4",filterPanelApplyButtonColor:Io,filterPanelApplyButtonBackgroundColor:cr,filterPanelCardSubtleColor:{ref:"textColor",mix:.7},filterPanelCardSubtleHoverColor:{ref:"textColor"},findMatchColor:Kc,findMatchBackgroundColor:"#ffff00",findActiveMatchColor:Kc,findActiveMatchBackgroundColor:"#ffa500",filterToolPanelGroupIndent:{ref:"spacing"},rowLoadingSkeletonEffectColor:ri(.15),statusBarLabelColor:Kc,statusBarLabelFontWeight:500,statusBarValueColor:Kc,statusBarValueFontWeight:500,pinnedSourceRowTextColor:{ref:"textColor"},pinnedSourceRowBackgroundColor:{ref:"dataBackgroundColor"},pinnedSourceRowFontWeight:600,pinnedRowFontWeight:600,pinnedRowBackgroundColor:{ref:"dataBackgroundColor"},pinnedRowTextColor:{ref:"textColor"}},vX=".ag-cell-batch-edit{background-color:var(--ag-cell-batch-edit-background-color);color:var(--ag-cell-batch-edit-text-color);display:inherit}.ag-row-batch-edit{background-color:var(--ag-row-batch-edit-background-color);color:var(--ag-row-batch-edit-text-color)}",yD={cellBatchEditBackgroundColor:"rgba(220 181 139 / 16%)",cellBatchEditTextColor:"#422f00",rowBatchEditBackgroundColor:{ref:"cellBatchEditBackgroundColor"},rowBatchEditTextColor:{ref:"cellBatchEditTextColor"}},CX={...yD,cellBatchEditTextColor:"#f3d0b3"},bX=()=>Os({feature:"batchEditStyle",params:yD,css:vX}),yX=bX(),wX=":where(.ag-button){background:none;border:none;color:inherit;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0;text-indent:inherit;text-shadow:inherit;text-transform:inherit;word-spacing:inherit;&:disabled{cursor:default}&:focus-visible{box-shadow:var(--ag-focus-shadow);outline:none}}.ag-standard-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--ag-button-background-color);border:var(--ag-button-border);border-radius:var(--ag-button-border-radius);color:var(--ag-button-text-color);cursor:pointer;font-weight:var(--ag-button-font-weight);padding:var(--ag-button-vertical-padding) var(--ag-button-horizontal-padding);&:hover{background-color:var(--ag-button-hover-background-color);border:var(--ag-button-hover-border);color:var(--ag-button-hover-text-color)}&:active{background-color:var(--ag-button-active-background-color);border:var(--ag-button-active-border);color:var(--ag-button-active-text-color)}&:disabled{background-color:var(--ag-button-disabled-background-color);border:var(--ag-button-disabled-border);color:var(--ag-button-disabled-text-color)}}",SX={buttonTextColor:"inherit",buttonFontWeight:"normal",buttonBackgroundColor:"transparent",buttonBorder:!1,buttonBorderRadius:{ref:"borderRadius"},buttonHorizontalPadding:{calc:"spacing * 2"},buttonVerticalPadding:{ref:"spacing"},buttonHoverTextColor:{ref:"buttonTextColor"},buttonHoverBackgroundColor:{ref:"buttonBackgroundColor"},buttonHoverBorder:{ref:"buttonBorder"},buttonActiveTextColor:{ref:"buttonHoverTextColor"},buttonActiveBackgroundColor:{ref:"buttonHoverBackgroundColor"},buttonActiveBorder:{ref:"buttonHoverBorder"},buttonDisabledTextColor:{ref:"inputDisabledTextColor"}
vendor: 3,148 bytes, line 52
52,buttonDisabledBackgroundColor:{ref:"inputDisabledBackgroundColor"},buttonDisabledBorder:{ref:"inputDisabledBorder"}},EX=()=>Os({feature:"buttonStyle",params:{...SX,buttonBackgroundColor:Io,buttonBorder:!0,buttonHoverBackgroundColor:{ref:"rowHoverColor"},buttonActiveBorder:{color:cr}},css:wX}),TX=EX(),RX=".ag-column-drop-vertical-empty-message{align-items:center;border:dashed var(--ag-border-width);border-color:var(--ag-border-color);display:flex;inset:0;justify-content:center;margin:calc(var(--ag-spacing)*1.5) calc(var(--ag-spacing)*2);overflow:hidden;padding:calc(var(--ag-spacing)*2);position:absolute}",PX=()=>Os({feature:"columnDropStyle",css:RX}),wD=PX(),MX={warn:(...e)=>{Me(e[0],e[1])},error:(...e)=>{qt(e[0],e[1])},preInitErr:(...e)=>{jd(e[0],e[2],e[1])}},LX=()=>sj(MX).withParams(mX).withPart(TX).withPart(wD).withPart(yX),xX='.ag-checkbox-input-wrapper,.ag-radio-button-input-wrapper{background-color:var(--ag-checkbox-unchecked-background-color);border:solid var(--ag-checkbox-border-width) var(--ag-checkbox-unchecked-border-color);flex:none;height:var(--ag-icon-size);position:relative;width:var(--ag-icon-size);:where(input){-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;display:block;height:var(--ag-icon-size);margin:0;opacity:0;width:var(--ag-icon-size)}&:after{content:"";display:block;inset:0;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;pointer-events:none;position:absolute}&:where(.ag-checked){background-color:var(--ag-checkbox-checked-background-color);border-color:var(--ag-checkbox-checked-border-color);&:after{background-color:var(--ag-checkbox-checked-shape-color)}}&:where(:focus-within,:active){box-shadow:var(--ag-focus-shadow)}&:where(.ag-disabled){filter:grayscale();opacity:.5}}.ag-checkbox-input-wrapper{border-radius:var(--ag-checkbox-border-radius);&:where(.ag-checked):after{-webkit-mask-image:var(--ag-checkbox-checked-shape-image);mask-image:var(--ag-checkbox-checked-shape-image)}&:where(.ag-indeterminate){background-color:var(--ag-checkbox-indeterminate-background-color);border-color:var(--ag-checkbox-indeterminate-border-color);&:after{background-color:var(--ag-checkbox-indeterminate-shape-color);-webkit-mask-image:var(--ag-checkbox-indeterminate-shape-image);mask-image:var(--ag-checkbox-indeterminate-shape-image)}}}.ag-cell-editing-error .ag-checkbox-input-wrapper:focus-within{box-shadow:var(--ag-focus-error-shadow)}.ag-radio-button-input-wrapper{border-radius:100%;&:where(.ag-checked):after{-webkit-mask-image:var(--ag-radio-checked-shape-image);mask-image:var(--ag-radio-checked-shape-image)}}',DX=()=>Os({feature:"checkboxStyle",params:{checkboxBorderWidth:1,checkboxBorderRadius:{ref:"borderRadius"},checkboxUncheckedBackgroundColor:Io,checkboxUncheckedBorderColor:hi(.3),checkboxCheckedBackgroundColor:cr,checkboxCheckedBorderColor:{ref:"checkboxCheckedBackgroundColor"},checkboxCheckedShapeImage:{svg:'<svg xmlns="http://www.w3.org/2000/svg" width="10" height="7" fill="none"><path stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.75" d="M1 3.5 3.5 6l5-5"/></svg>'}
52,checkboxCheckedShapeColor:Io,checkboxIndeterminateBackgroundColor:hi(.3),checkboxIndeterminateBorderColor:{ref:"checkboxIndeterminateBackgroundColor"},checkboxIndeterminateShapeImage:{svg:'<svg xmlns="http://www.w3.org/2000/svg" width="10" height="2" fill="none"><rect width="10" height="2" fill="#000" rx="1"/></svg>'},checkboxIndeterminateShapeColor:Io,radioCheckedShapeImage:{svg:'<svg xmlns="http://www.w3.org/2000/svg" width="6" height="6" fill="none"><circle cx="3" cy="3" r="3" fill="#000"/></svg>'}},css:xX}),kX=DX(),SD=()=>({...em,...CX,backgroundColor:"hsl(217, 0%, 17%)",foregroundColor:"#FFF",chromeBackgroundColor:hi(.05),rowHoverColor:Ss(.15),selectedRowBackgroundColor:Ss(.2),menuBackgroundColor:hi(.1),browserColorScheme:"dark",popupShadow:"0 0px 20px #000A",cardShadow:"0 1px 4px 1px #000A",advancedFilterBuilderJoinPillColor:"#7a3a37",advancedFilterBuilderColumnPillColor:"#355f2d",advancedFilterBuilderOptionPillColor:"#5a3168",advancedFilterBuilderValuePillColor:"#374c86",filterPanelApplyButtonColor:Kc,findMatchColor:Io,findActiveMatchColor:Io,checkboxUncheckedBorderColor:hi(.4),toggleButtonOffBackgroundColor:hi(.4),rowBatchEditBackgroundColor:hi(.1)}),AX=()=>({...SD(),backgroundColor:"#1f2836"}),_X=()=>Os({feature:"colorScheme",params:em,modeParams:{light:em,dark:SD(),"dark-blue":AX()}}),IX=_X(),ED={aggregation:'<path d="M18 7V4H6l6 8-6 8h12v-3"/>',arrows:'<polyline points="5 9 2 12 5 15"/><polyline points="9 5 12 2 15 5"/><polyline points="15 19 12 22 9 19"/><polyline points="19 9 22 12 19 15"/><line x1="2" x2="22" y1="12" y2="12"/><line x1="12" x2="12" y1="2" y2="22"/>',asc:'<path d="m5 12 7-7 7 7"/><path d="M12 19V5"/>',cancel:'<path d="m18 6-12 12"/><path d="m6 6 12 12"/>',chart:'<line x1="18" x2="18" y1="20" y2="10"/><line x1="12" x2="12" y1="20" y2="4"/><line x1="6" x2="6" y1="20" y2="14"/>',"color-picker":'<path d="m19 11-8-8-8.6 8.6a2 2 0 0 0 0 2.8l5.2 5.2c.8.8 2 .8 2.8 0L19 11Z"/><path d="m5 2 5 5"/><path d="M2 13h15"/><path d="M22 20a2 2 0 1 1-4 0c0-1.6 1.7-2.4 2-4 .3 1.6 2 2.4 2 4Z"/>',columns:'<path d="M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18"/>',contracted:'<path d="m9 18 6-6-6-6"/>',copy:'<rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/>',cross:'<path d="M18 6 6 18"/><path d="m6 6 12 12"/>',csv:'<path d="M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z"/><polyline points="14 2 14 8 20 8"/><path d="M8 13h2"/><path d="M8 17h2"/><path d="M14 13h2"/><path d="M14 17h2"/>',cut:'<circle cx="6" cy="6" r="3"/><path d="M8.12 8.12 12 12"/><path d="M20 4 8.12 15.88"/><circle cx="6" cy="18" r="3"/><path d="M14.8 14.8 20 20"/>',desc:'<path d="M12 5v14"/><path d="m19 12-7 7-7-7"/>',down:'<path d="M12 5v14"/><path d="m19 12-7 7-7-7"/>',excel:'<path d="M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z"/><polyline points="14 2 14 8 20 8"/><path d="M8 13h2"/><path d="M8 17h2"/><path d="M14 13h2"/><path d="M14 17h2"/>',expanded:'<path d="m15 18-6-6 6-6"/>',"eye-slash":'<path d="M9.88 9.88a3 3 0 1 0 4.24 4.24"/><path d="M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68"/><path d="M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61"/><line x1="2" x2="22" y1="2" y2="22"/>',eye:'<path d="M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z"/><circle cx="12" cy="12" r="3"/>',filter:'<path d="M3 6h18"/><path d="M7 12h10"/><path d="M10 18h4"/>',first:'<path d="m17 18-6-6 6-6"/><path d="M7 6v12"/>',group:'<path d="M16 12H3"/><path d="M16 18H3"/><path d="M10 6H3"/><path d="M21 18V8a2 2 0 0 0-2-2h-5"/><path d="m16 8-2-2 2-2"/>',last:'<path d="m7 18 6-6-6-6"/><path d="M17 6v12"/>',left:'<path d="m12 19-7-7 7-7"/><path d="M19 12H5"/>',linked:'<path d="M9 17H7A5 5 0 0 1 7 7h2"/><path d="M15 7h2a5 5 0 1 1 0 10h-2"/><line x1="8" x2="16" y1="12" y2="12"/>',loading:'<line x1="12" x2="12" y1="2" y2="6"/><line x1="12" x2="12" y1="18" y2="22"/><line x1="4.93" x2="7.76" y1="4.93" y2="7.76"/><line x1="16.24" x2="19.07" y1="16.24" y2="19.07"/><line x1="2" x2="6" y1="12" y2="12"/><line x1="18" x2="22" y1="12" y2="12"/><line x1="4.93" x2="7.76" y1="19.07" y2="16.24"/><line x1="16.24" x2="19.07" y1="7.76" y2="4.93"/>',maximize:'<polyline points="15 3 21 3 21 9"/><polyline points="9 21 3 21 3 15"/><line x1="21" x2="14" y1="3" y2="10"/><line x1="3" x2="10" y1="21" y2="14"/>
52',menu:'<line x1="4" x2="20" y1="12" y2="12"/><line x1="4" x2="20" y1="6" y2="6"/><line x1="4" x2="20" y1="18" y2="18"/>',"menu-alt":'<circle cx="12" cy="5" r="0.75" fill="#D9D9D9"/><circle cx="12" cy="12" r="0.75" fill="#D9D9D9"/><circle cx="12" cy="19" r="0.75" fill="#D9D9D9"/>',minimize:'<polyline points="4 14 10 14 10 20"/><polyline points="20 10 14 10 14 4"/><line x1="14" x2="21" y1="10" y2="3"/><line x1="3" x2="10" y1="21" y2="14"/>',minus:'<circle cx="12" cy="12" r="10"/><path d="M8 12h8"/>',next:'<path d="m9 18 6-6-6-6"/>',none:'<path d="m7 15 5 5 5-5"/><path d="m7 9 5-5 5 5"/>',"not-allowed":'<circle cx="12" cy="12" r="10"/><path d="m4.9 4.9 14.2 14.2"/>',paste:'<path d="M15 2H9a1 1 0 0 0-1 1v2c0 .6.4 1 1 1h6c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1Z"/><path d="M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2M16 4h2a2 2 0 0 1 2 2v2M11 14h10"/><path d="m17 10 4 4-4 4"/>',pin:'<line x1="12" x2="12" y1="17" y2="22"/><path d="M5 17h14v-1.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V6h1a2 2 0 0 0 0-4H8a2 2 0 0 0 0 4h1v4.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24Z"/>',pivot:'<path d="M15 3v18"/><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M21 9H3"/><path d="M21 15H3"/>',plus:'<circle cx="12" cy="12" r="10"/><path d="M8 12h8"/><path d="M12 8v8"/>',previous:'<path d="m15 18-6-6 6-6"/>',right:'<path d="M5 12h14"/><path d="m12 5 7 7-7 7"/>',save:'<path d="M12 17V3"/><path d="m6 11 6 6 6-6"/><path d="M19 21H5"/>',"small-left":'<path d="m15 18-6-6 6-6"/>',"small-right":'<path d="m9 18 6-6-6-6"/>',tick:'<path d="M20 6 9 17l-5-5"/>',"tree-closed":'<path d="m9 18 6-6-6-6"/>',"tree-indeterminate":'<path d="M5 12h14"/>',"tree-open":'<path d="m6 9 6 6 6-6"/>',unlinked:'<path d="M9 17H7A5 5 0 0 1 7 7"/><path d="M15 7h2a5 5 0 0 1 4 8"/><line x1="8" x2="12" y1="12" y2="12"/><line x1="2" x2="22" y1="2" y2="22"/>',up:'<path d="m5 12 7-7 7 7"/><path d="M12 19V5"/>',grip:'<circle cx="5" cy="8" r="0.5"/><circle cx="12" cy="8" r="0.5"/><circle cx="19" cy="8" r="0.5"/><circle cx="5" cy="16" r="0.5"/><circle cx="12" cy="16" r="0.5"/><circle cx="19" cy="16" r="0.5"/><g stroke="none" fill="currentColor"><circle cx="5" cy="8" r="1"/><circle cx="12" cy="8" r="1"/><circle cx="19" cy="8" r="1"/><circle cx="5" cy="16" r="1"/><circle cx="12" cy="16" r="1"/><circle cx="19" cy="16" r="1"/></g>',settings:'<path d="M20 7h-9"/><path d="M14 17H5"/><circle cx="17" cy="17" r="3"/><circle cx="7" cy="7" r="3"/>'},TD={"column-arrow":'<svg xmlns="http://www.w3.org/2000/svg" class="ag-icon" fill="none" viewBox="0 0 32 32"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 26C0 28.2092 1.79086 30 4 30H14C16.2091 30 18 28.2092 18 26V15H25.8786L24.4394 16.4393C23.8536 17.0251 23.8536 17.9749 24.4394 18.5607C25.0252 19.1464 25.9748 19.1464 26.5606 18.5607L30.5606 14.5607C31.1464 13.9749 31.1464 13.0251 30.5606 12.4393L26.5606 8.43934C25.9748 7.85356 25.0252 7.85356 24.4394 8.43934C23.8536 9.02512 23.8536 9.97488 24.4394 10.5607L25.8786 12H18V6C18 3.79086 16.2091 2 14 2H4C1.79086 2 0 3.79086 0 6V26ZM14 5H10.5V12H15V6C15 5.44772 14.5523 5 14 5ZM4 5H7.5V12H3V6C3 5.44772 3.44772 5 4 5ZM10.5 15H15V26C15 26.5522 14.5523 27 14 27H10.5V15ZM4 27H7.5V15H3V26C3 26.5522 3.44772 27 4 27Z" fill="currentColor"/></svg>',"small-down":'<svg xmlns="http://www.w3.org/2000/svg" class="ag-icon" fill="black" stroke="none" viewBox="0 0 32 32"><path d="M7.334 10.667 16 21.334l8.667-10.667H7.334Z"/></svg>',"small-up":'<svg xmlns="http://www.w3.org/2000/svg" class="ag-icon" fill="black" stroke="none" viewBox="0 0 32 32"><path d="M7.334 21.333 16 10.666l8.667 10.667H7.334Z"/></svg>',"pinned-top":'<svg xmlns="http://www.w3.org/2000/svg" class="ag-icon" fill="none" viewBox="0 0 16 16"><path fill="currentColor" d="M12.53 3.72A.75.75 0 0 1 12 5H4a.75.75 0 0 1 0-1.5h8a.75.75 0 0 1 .53.22ZM3.269 10.744a.75.75 0 0 1 .2-.524l4-4a.75.75 0 0 1 1.06 0l4 4a.75.75 0 1 1-1.06 1.06L8.75 8.56V14a.75.75 0 0 1-1.5 0V8.56l-2.72 2.72a.75.75 0 0 1-1.26-.536Z"/></svg>',"pinned-bottom":'<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="ag-icon" viewBox="0 0 16 16"><path fill="currentColor" d="M3.47 12.28A.75.75 0 0 1 4 11h8a.75.75 0 0 1 0 1.5H4a.75.75 0 0 1-.53-.22ZM12.731 5.256a.75.75 0 0 1-.2.524l-4 4a.75.75 0 0 1-1.06 0l-4-4a.75.75 0 1 1 1.06-1.06l2.72 2.72V2a.75.75 0 0 1 1.5 0v5.44l2.72-2.72a.75.75 0 0 1 1.26.536Z"/></svg>',"un-pin":'<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="ag-icon" viewB
52ox="0 0 16 16"><path fill="currentColor" d="M8 11a.75.75 0 0 0-.75.75v3.333a.75.75 0 1 0 1.5 0V11.75A.75.75 0 0 0 8 11Z"/><path fill="currentColor" d="M13.11 1.436a.75.75 0 0 0-1.22-.872l-10 14a.75.75 0 1 0 1.22.872L5.207 12.5h7.376a.75.75 0 0 0 .75-.75v-1.174a2.08 2.08 0 0 0-1.153-1.863l-1.185-.599-.005-.002a.58.58 0 0 1-.323-.522V5.165a2.083 2.083 0 0 0 1.854-2.904l.589-.825Zm-3.943 5.52v.634a2.08 2.08 0 0 0 1.153 1.863l1.185.6.005.002a.58.58 0 0 1 .323.522V11H6.28l2.887-4.044ZM9.277 1H5.25a2.084 2.084 0 0 0-.083 4.165v1.676l1.5-2.132v-.292a.75.75 0 0 0-.75-.75H5.25a.584.584 0 0 1 0-1.167h2.972L9.277 1Z"/></svg>',"chevron-down":'<svg width="16" height="16" viewBox="0 0 16 16" class="ag-icon" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 6L8 10L4 6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',"chevron-up":'<svg width="16" height="16" viewBox="0 0 16 16" class="ag-icon" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4 10L8 6L12 10" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',"chevron-left":'<svg width="16" height="16" viewBox="0 0 16 16" class="ag-icon" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10 12L6 8L10 4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',"chevron-right":'<svg width="16" height="16" viewBox="0 0 16 16" class="ag-icon" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 12L10 8L6 4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',"filter-add":'<svg width="16" height="16" viewBox="0 0 16 16" class="ag-icon" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.12126 7.75L10.8517 7.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/><path d="M6.65934 11.748L9.32778 11.748" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/><path d="M12.2943 1.04872V6.19184M14.9886 3.74341H9.68478" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/><path d="M8.25488 3C8.04799 3.18323 7.91706 3.45099 7.91699 3.74902C7.91713 4.04868 8.04988 4.31681 8.25879 4.5H2C1.58579 4.5 1.25 4.16421 1.25 3.75C1.25 3.33579 1.58579 3 2 3H8.25488Z" fill="currentColor"/></svg>',edit:'<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.5 10.6262V12.5012H5.375L10.905 6.97122L9.03 5.09622L3.5 10.6262ZM12.355 5.52122C12.4014 5.47497 12.4381 5.42002 12.4632 5.35953C12.4883 5.29905 12.5012 5.23421 12.5012 5.16872C12.5012 5.10324 12.4883 5.0384 12.4632 4.97791C12.4381 4.91742 12.4014 4.86248 12.355 4.81622L11.185 3.64622C11.1387 3.59987 11.0838 3.5631 11.0233 3.53801C10.9628 3.51291 10.898 3.5 10.8325 3.5C10.767 3.5 10.7022 3.51291 10.6417 3.53801C10.5812 3.5631 10.5263 3.59987 10.48 3.64622L9.565 4.56122L11.44 6.43622L12.355 5.52122Z" fill="currentColor"/></svg>'},FX=(e={})=>{let t="";for(const n of[...Object.keys(ED),...Object.keys(TD)]){const o=OX(n,e.strokeWidth);t+=`.ag-icon-${n}::before { mask-image: url('data:image/svg+xml,${encodeURIComponent(o)}'); }
53`}return t},OX=(e,t=1.5)=>{const n=TD[e];if(n)return n;const o=ED[e];if(!o)throw new Error(`Missing icon data for ${e}`);return`<svg xmlns="http://www.w3.org/2000/svg" class="ag-icon" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke="black" stroke-width="${t}" viewBox="0 0 24 24"><style>* { vector-effect: non-scaling-stroke; }</style>`+o+"</svg>"},NX=(e={})=>Os({feature:"iconSet",css:()=>FX(e)}),BX=NX(),HX=':where(.ag-input-field-input[type=number]:not(.ag-number-field-input-stepper)){-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;&::-webkit-inner-spin-button,&::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}}.ag-input-field-input:where(input:not([type]),input[type=text],input[type=number],input[type=tel],input[type=date],input[type=datetime-local],textarea){background-color:var(--ag-input-background-color);border:var(--ag-input-border);border-radius:var(--ag-input-border-radius);color:var(--ag-input-text-color);font-family:inherit;font-size:inherit;line-height:inherit;margin:0;min-height:var(--ag-input-height);padding:0;&:where(:disabled){background-color:var(--ag-input-disabled-background-color);border:var(--ag-input-disabled-border);color:var(--ag-input-disabled-text-color)}&:where(:focus){background-color:var(--ag-input-focus-background-color);border:var(--ag-input-focus-border);box-shadow:var(--ag-input-focus-shadow);color:var(--ag-input-focus-text-color);outline:none}&:where(:invalid){background-color:var(--ag-input-invalid-background-color);border:var(--ag-input-invalid-border);color:var(--ag-input-invalid-text-color)}&:where(.invalid){background-color:var(--ag-input-invalid-background-color);border:var(--ag-input-invalid-border);color:var(--ag-input-invalid-text-color)}&::-moz-placeholder{color:var(--ag-input-placeholder-text-color)}&::placeholder{color:var(--ag-input-placeholder-text-color)}}:where(.ag-ltr) .ag-input-field-input:where(input:not([type]),input[type=text],input[type=number],input[type=tel],input[type=date],input[type=datetime-local],textarea){padding-left:var(--ag-input-padding-start)}:where(.ag-rtl) .ag-input-field-input:where(input:not([type]),input[type=text],input[type=number],input[type=tel],input[type=date],input[type=datetime-local],textarea){padding-right:var(--ag-input-padding-start)}:where(.ag-column-select-header-filter-wrapper,.ag-filter-toolpanel-search,.ag-mini-filter,.ag-filter-filter,.ag-filter-add-select){.ag-input-wrapper:before{background-color:currentcolor;color:var(--ag-input-icon-color);content:"";display:block;height:12px;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS41Ij48cGF0aCBkPSJNNS4zIDlhMy43IDMuNyAwIDEgMCAwLTcuNSAzLjcgMy43IDAgMCAwIDAgNy41Wk0xMC41IDEwLjUgOC4zIDguMiIvPjwvc3ZnPg==");mask-image:url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS41Ij48cGF0aCBkPSJNNS4zIDlhMy43IDMuNyAwIDEgMCAwLTcuNSAzLjcgMy43IDAgMCAwIDAgNy41Wk0xMC41IDEwLjUgOC4zIDguMiIvPjwvc3ZnPg==");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;opacity:.5;position:absolute;width:12px}}:where(.ag-ltr) :where(.ag-column-select-header-filter-wrapper,.ag-filter-toolpanel-search,.ag-mini-filter,.ag-filter-filter,.ag-filter-add-select){.ag-input-wrapper:before{margin-left:var(--ag-spacing)}.ag-number-field-input,.ag-text-field-input{padding-left:calc(var(--ag-spacing)*1.5 + 12px)}}:where(.ag-rtl) :where(.ag-column-select-header-filter-wrapper,.ag-filter-toolpanel-search,.ag-mini-filter,.ag-filter-filter,.ag-filter-add-select){.ag-input-wrapper:before{margin-right:var(--ag-spacing)}.ag-number-field-input,.ag-text-field-input{padding-right:calc(var(--ag-spacing)*1.5 + 12px)}}',VX=".ag-input-field-input:where(input:not([type]),input[type=text],input[type=number],input[type=tel],input[type=date],input[type=datetime-local],textarea){&:focus{box-shadow:var(--ag-focus-shadow);&:where(.invalid),&:where(:invalid){box-shadow:var(--ag-focus-error-shadow)}}}
53",$X={inputBackgroundColor:"transparent",inputBorder:!1,inputBorderRadius:0,inputTextColor:{ref:"textColor"},inputPlaceholderTextColor:{ref:"inputTextColor",mix:.5},inputPaddingStart:0,inputHeight:{calc:"max(iconSize, fontSize) + spacing * 2"},inputFocusBackgroundColor:{ref:"inputBackgroundColor"},inputFocusBorder:{ref:"inputBorder"},inputFocusShadow:"none",inputFocusTextColor:{ref:"inputTextColor"},inputDisabledBackgroundColor:{ref:"inputBackgroundColor"},inputDisabledBorder:{ref:"inputBorder"},inputDisabledTextColor:{ref:"inputTextColor"},inputInvalidBackgroundColor:{ref:"inputBackgroundColor"},inputInvalidBorder:{ref:"inputBorder"},inputInvalidTextColor:{ref:"inputTextColor"},inputIconColor:{ref:"inputTextColor"},pickerButtonBorder:!1,pickerButtonFocusBorder:{ref:"inputFocusBorder"},pickerButtonBackgroundColor:{ref:"backgroundColor"},pickerButtonFocusBackgroundColor:{ref:"backgroundColor"},pickerListBorder:!1,pickerListBackgroundColor:{ref:"backgroundColor"},colorPickerThumbSize:18,colorPickerTrackSize:12,colorPickerThumbBorderWidth:3,colorPickerTrackBorderRadius:12,colorPickerColorBorderRadius:4},WX=()=>Os({feature:"inputStyle",params:{...$X,inputBackgroundColor:Io,inputBorder:!0,inputBorderRadius:{ref:"borderRadius"},inputPaddingStart:{ref:"spacing"},inputFocusBorder:{color:cr},inputFocusShadow:{ref:"focusShadow"},inputDisabledBackgroundColor:hi(.06),inputDisabledTextColor:{ref:"textColor",mix:.5},inputInvalidBorder:{color:{ref:"invalidColor"}},pickerButtonBorder:!0,pickerListBorder:!0},css:()=>HX+VX}),GX=WX(),zX='.ag-tabs-header{background-color:var(--ag-tab-bar-background-color);border-bottom:var(--ag-tab-bar-border);display:flex;flex:1;gap:var(--ag-tab-spacing);padding:var(--ag-tab-bar-top-padding) var(--ag-tab-bar-horizontal-padding) 0}.ag-tabs-header-wrapper{display:flex}.ag-tabs-close-button-wrapper{align-items:center;border:0;display:flex;padding:var(--ag-spacing)}:where(.ag-ltr) .ag-tabs-close-button-wrapper{border-right:solid var(--ag-border-width) var(--ag-border-color)}:where(.ag-rtl) .ag-tabs-close-button-wrapper{border-left:solid var(--ag-border-width) var(--ag-border-color)}.ag-tabs-close-button{background-color:unset;border:0;cursor:pointer;padding:0}.ag-tab{align-items:center;background-color:var(--ag-tab-background-color);border-left:var(--ag-tab-selected-border-width) solid transparent;border-right:var(--ag-tab-selected-border-width) solid transparent;color:var(--ag-tab-text-color);cursor:pointer;display:flex;flex:1;justify-content:center;padding:var(--ag-tab-top-padding) var(--ag-tab-horizontal-padding) var(--ag-tab-bottom-padding);position:relative;&:hover{background-color:var(--ag-tab-hover-background-color);color:var(--ag-tab-hover-text-color)}&.ag-tab-selected{background-color:var(--ag-tab-selected-background-color);color:var(--ag-tab-selected-text-color)}&:after{background-color:var(--ag-tab-selected-underline-color);bottom:0;content:"";display:block;height:var(--ag-tab-selected-underline-width);left:0;opacity:0;position:absolute;right:0;transition:opacity var(--ag-tab-selected-underline-transition-duration)}&.ag-tab-selected:after{opacity:1}}:where(.ag-ltr) .ag-tab{&.ag-tab-selected{&:where(:not(:first-of-type)){border-left-color:var(--ag-tab-selected-border-color)}&:where(:not(:last-of-type)){border-right-color:var(--ag-tab-selected-border-color)}}}:where(.ag-rtl) .ag-tab{&.ag-tab-selected{&:where(:not(:first-of-type)){border-right-color:var(--ag-tab-selected-border-color)}&:where(:not(:last-of-type)){border-left-color:var(--ag-tab-selected-border-color)}}}',UX={tabBarBackgroundColor:"transparent",tabBarHorizontalPadding:0,tabBarTopPadding:0,tabBackgroundColor:"transparent",tabTextColor:{ref:"textColor"},tabHorizontalPadding:{ref:"spacing"},tabTopPadding:{ref:"spacing"},tabBottomPadding:{ref:"spacing"},tabSpacing:"0",tabHoverBackgroundColor:{ref:"tabBackgroundColor"},tabHoverTextColor:{ref:"tabTextColor"},tabSelectedBackgroundColor:{ref:"tabBackgroundColor"},tabSelectedTextColor:{ref:"tabTextColor"},tabSelectedBorderWidth:{ref:"borderWidth"},tabSelectedBorderColor:"transparent",tabSelectedUnderlineColor:"transparent",tabSelectedUnderlineWidth:0,tabSelectedUnderlineTransitionDuration:0,tabBarBorder:!1},jX=()=>Os({feature:"tabStyle",params:{...UX,tabBarBorder:!0,tabBarBackgroun
53dColor:ri(.05),tabTextColor:{ref:"textColor",mix:.7},tabSelectedTextColor:{ref:"textColor"},tabHoverTextColor:{ref:"textColor"},tabSelectedBorderColor:{ref:"borderColor"},tabSelectedBackgroundColor:Io},css:zX}),ZX=jX(),KX=()=>LX().withPart(kX).withPart(IX).withPart(BX).withPart(ZX).withPart(GX).withPart(wD).withParams({fontFamily:[{googleFont:"IBM Plex Sans"},"-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Oxygen-Sans","Ubuntu"]}),qX=KX(),YX={cssName:"--ag-cell-horizontal-padding",changeKey:"cellHorizontalPaddingChanged",defaultValue:16},XX={cssName:"--ag-indentation-level",changeKey:"indentationLevelChanged",defaultValue:0,noWarn:!0,cacheDefault:!0},JX={cssName:"--ag-row-group-indent-size",changeKey:"rowGroupIndentSizeChanged",defaultValue:0},z8={cssName:"--ag-row-height",changeKey:"rowHeightChanged",defaultValue:42},U8={cssName:"--ag-header-height",changeKey:"headerHeightChanged",defaultValue:48},j8={cssName:"--ag-list-item-height",changeKey:"listItemHeightChanged",defaultValue:24},mv={cssName:"--ag-row-border",changeKey:"rowBorderWidthChanged",defaultValue:1,border:!0},Z8={cssName:"--ag-pinned-row-border",changeKey:"pinnedRowBorderWidthChanged",defaultValue:1,border:!0};function QX(e,t){for(const n of t.sort((o,i)=>o.moduleName.localeCompare(i.moduleName))){const o=n.css;o&&e.set(`module-${n.moduleName}`,o)}}var eJ=class extends pj{constructor(){super(...arguments),this.sizeEls=new Map,this.lastKnownValues=new Map,this.sizesMeasured=!1}initVariables(){this.addManagedPropertyListener("rowHeight",()=>this.refreshRowHeightVariable()),this.getSizeEl(z8),this.getSizeEl(U8),this.getSizeEl(j8),this.getSizeEl(mv),this.getSizeEl(Z8),this.refreshRowBorderWidthVariable()}getPinnedRowBorderWidth(){return this.getCSSVariablePixelValue(Z8)}getRowBorderWidth(){return this.getCSSVariablePixelValue(mv)}getDefaultRowHeight(){return this.getCSSVariablePixelValue(z8)}getDefaultHeaderHeight(){return this.getCSSVariablePixelValue(U8)}getDefaultCellHorizontalPadding(){return this.getCSSVariablePixelValue(YX)}getCellPaddingLeft(){const e=this.getDefaultCellHorizontalPadding(),t=this.getCSSVariablePixelValue(XX),n=this.getCSSVariablePixelValue(JX);return e-1+n*t}getCellPadding(){const e=this.getDefaultCellHorizontalPadding()-1;return this.getCellPaddingLeft()+e}getDefaultColumnMinWidth(){return Math.min(36,this.getDefaultRowHeight())}getDefaultListItemHeight(){return this.getCSSVariablePixelValue(j8)}refreshRowHeightVariable(){const{eRootDiv:e}=this,t=e.style.getPropertyValue("--ag-line-height").trim(),n=this.gos.get("rowHeight");if(n==null||isNaN(n)||!isFinite(n))return t!==null&&e.style.setProperty("--ag-line-height",null),-1;const o=`${n}px`;return t!=o?(e.style.setProperty("--ag-line-height",o),n):t!=""?Number.parseFloat(t):-1}getCSSVariablePixelValue(e){const t=this.lastKnownValues.get(e);if(t!=null)return t;const n=this.measureSizeEl(e);return n==="detached"||n==="no-styles"?(e.cacheDefault&&this.lastKnownValues.set(e,e.defaultValue),e.defaultValue):(this.lastKnownValues.set(e,n),n)}measureSizeEl(e){const t=this.getSizeEl(e);if(t.offsetParent==null)return"detached";const n=t.offsetWidth;return n===vv?"no-styles":(this.sizesMeasured=!0,n)}getMeasurementContainer(){let e=this.eMeasurementContainer;return e||(e=this.eMeasurementContainer=An({tag:"div",cls:"ag-measurement-container"}),this.eRootDiv.appendChild(e)),e}getSizeEl(e){let t=this.sizeEls.get(e);if(t)return t;const n=this.getMeasurementContainer();t=An({tag:"div"});const{border:o,noWarn:i}=e;o?(t.className="ag-measurement-element-border",t.style.setProperty("--ag-internal-measurement-border",`var(${e.cssName}, solid ${vv}
53px)`)):t.style.width=`var(${e.cssName}, ${vv}px)`,n.appendChild(t),this.sizeEls.set(e,t);let s=this.measureSizeEl(e);s==="no-styles"&&!i&&Me(9,{variable:e});const r=Ga(this.beans,t,()=>{const a=this.measureSizeEl(e);a==="detached"||a==="no-styles"||(this.lastKnownValues.set(e,a),a!==s&&(s=a,this.fireStylesChangedEvent(e.changeKey)))});return this.addDestroyFunc(()=>r()),t}fireStylesChangedEvent(e){e==="rowBorderWidthChanged"&&this.refreshRowBorderWidthVariable(),this.eventSvc.dispatchEvent({type:"gridStylesChanged",[e]:!0})}refreshRowBorderWidthVariable(){const e=this.getCSSVariablePixelValue(mv);this.eRootDiv.style.setProperty("--ag-internal-row-border-width",`${e}px`)}postProcessThemeChange(e,t){e&&getComputedStyle(this.getMeasurementContainer()).getPropertyValue("--ag-legacy-styles-loaded")&&qt(t?106:239)}getAdditionalCss(){const e=new Map;return e.set("core",[gX]),QX(e,Array.from(NG())),e}getDefaultTheme(){return qX}themeError(e){qt(240,{theme:e})}},vv=15538,tJ=class extends gj{postConstruct(){const{globalListener:e,globalSyncListener:t}=this.beans;e&&this.addGlobalListener(e,!0),t&&this.addGlobalListener(t,!1)}};function RD(e,t,n){const o=e.visibleCols.headerGroupRowCount;if(n>=o)return{column:t,headerRowIndex:n};let i=t.getParent();for(;i&&i.getProvidedColumnGroup().getLevel()>n;)i=i.getParent();const s=t.isSpanHeaderHeight();return!i||s&&i.isPadding()?{column:t,headerRowIndex:o}:{column:i,headerRowIndex:i.getProvidedColumnGroup().getLevel()}}var nJ=class extends we{constructor(){super(...arguments),this.beanName="headerNavigation",this.currentHeaderRowWithoutSpan=-1}postConstruct(){const e=this.beans;e.ctrlsSvc.whenReady(this,n=>{this.gridBodyCon=n.gridBodyCtrl});const t=Un(e);this.addManagedElementListeners(t,{mousedown:()=>{this.currentHeaderRowWithoutSpan=-1}})}getHeaderPositionForColumn(e,t){let n;const{colModel:o,colGroupSvc:i,ctrlsSvc:s}=this.beans;if(typeof e=="string"?(n=o.getCol(e),n||(n=i?.getColumnGroup(e)??null)):n=e,!n)return null;const a=s.getHeaderRowContainerCtrl()?.getAllCtrls(),l=on(a||[]).type==="filter",c=Rs(this.beans)-1;let u=-1,d=n;for(;d;)u++,d=d.getParent();let h=u;return t&&l&&h===c-1&&h++,h===-1?null:{headerRowIndex:h,column:n}}navigateVertically(e,t){const{focusSvc:n,visibleCols:o}=this.beans,{focusedHeader:i}=n;if(!i)return!1;const{headerRowIndex:s}=i,r=i.column,a=Rs(this.beans),l=this.getHeaderRowType(s),c=o.headerGroupRowCount;let{headerRowIndex:u,column:d,headerRowIndexWithoutSpan:h}=e==="UP"?oJ(l,r,s):iJ(r,s,c),p=!1;return u<0&&(u=0,d=r,p=!0),u>=a?(u=-1,this.currentHeaderRowWithoutSpan=-1):h!==void 0&&(this.currentHeaderRowWithoutSpan=h),!p&&!d?!1:n.focusHeaderPosition({headerPosition:{headerRowIndex:u,column:d},allowUserOverride:!0,event:t})}navigateHorizontally(e,t=!1,n){const{focusSvc:o,gos:i}=this.beans,s={...o.focusedHeader};let r,a;this.currentHeaderRowWithoutSpan!==-1?s.headerRowIndex=this.currentHeaderRowWithoutSpan:this.currentHeaderRowWithoutSpan=s.headerRowIndex,e==="LEFT"!==i.get("enableRtl")?(a="Before",r=this.findHeader(s,a)):(a="After",r=this.findHeader(s,a));const l=i.getCallback("tabToNextHeader");if(t&&l){const c=o.focusHeaderPositionFromUserFunc({userFunc:l,headerPosition:r,direction:a});if(c){const{headerRowIndex:u}=o.focusedHeader||{};u!=null&&u!=s.headerRowIndex&&(this.currentHeaderRowWithoutSpan=u)}return c}return r||!t?o.focusHeaderPosition({headerPosition:r,direction:a,fromTab:t,allowUserOverride:!0,event:n}):this.focusNextHeaderRow(s,a,n)}focusNextHeaderRow(e,t,n){const o=this.beans,i=e.headerRowIndex;let s=null,r;const a=Rs(o),l=this.beans.visibleCols.allCols;if(t==="Before"){if(i<=0)return!1;s=on(l),r=i-1,this.currentHeaderRowWithoutSpan-=1}else s=l[0],r=i+1,this.currentHeaderRowWithoutSpan<a?this.currentHeaderRowWithoutSpan+=1:this.currentHeaderRowWithoutSpan=-1;let{column:c,headerRowIndex:u}=RD(this.beans,s,r);return u>=a&&(u=-1),o.focusSvc.focusHeaderPosition({headerPosition:{column:c,headerRowIndex:u},direction:t,fromTab:!0,allowUserOverride:!0,event:n})}scrollToColumn(e,t="After"){if(e.getPinned())return;let n;if(xn(e)){const o=e.getDisplayedLeafColumns();n=t==="Before"?on(o):o[0]}else n=e;this.gridBodyCon.scrollFeature.ensureColumnVisible(n)}findHeader(e,t){const{colGroupSvc:n,visibleCols:o}=this.beans;let i=e.column;if(i instanceof jh){const l=i.getDisplayedLeafColumns();i=t==="Before"?l[0]:l[l.length-1]}const s=t==="Before"?o.getColBefore(i):o.getColAfter(i);if(!s)return;const r=o.headerGroupRowCount;if(e.headerRowIndex>=r)return{headerRowIndex:e.headerRowIndex,column:s};const a=n?.getColGroupAtLevel(s,e.headerRowIndex);return a?a.isPadding()&&s.isSpanHeaderHeight()?{headerRowIndex:o.headerGroupRowCount,column:s}:{headerRowIndex:e.headerRowIndex,column:a??s}
53:{headerRowIndex:s instanceof pc&&s.isSpanHeaderHeight()?o.headerGroupRowCount:e.headerRowIndex,column:s}}getHeaderRowType(e){const t=this.beans.ctrlsSvc.getHeaderRowContainerCtrl();if(t)return t.getRowType(e)}};function oJ(e,t,n){const o=n-1;if(e!=="filter"){const i=t instanceof pc&&t.isSpanHeaderHeight();let s=t.getParent();for(;s&&(s.getProvidedColumnGroup().getLevel()>o||i&&s.isPadding());)s=s.getParent();if(s)return i?{column:s,headerRowIndex:s.getProvidedColumnGroup().getLevel(),headerRowIndexWithoutSpan:o}:{column:s,headerRowIndex:o,headerRowIndexWithoutSpan:o}}return{column:t,headerRowIndex:o,headerRowIndexWithoutSpan:o}}function iJ(e,t,n){const o=t+1,i={column:e,headerRowIndex:o,headerRowIndexWithoutSpan:o};if(e instanceof jh){if(o>=n)return{column:e.getDisplayedLeafColumns()[0],headerRowIndex:n,headerRowIndexWithoutSpan:o};let r=e.getDisplayedChildren()[0];if(r instanceof jh&&r.isPadding()){const l=r.getDisplayedLeafColumns()[0];l.isSpanHeaderHeight()&&(r=l)}i.column=r,r instanceof pc&&r.isSpanHeaderHeight()&&(i.headerRowIndex=n,i.headerRowIndexWithoutSpan=o)}return i}var sJ=class extends we{constructor(){super(...arguments),this.beanName="focusSvc",this.focusFallbackTimeout=null,this.needsFocusRestored=!1}wireBeans(e){this.colModel=e.colModel,this.visibleCols=e.visibleCols,this.rowRenderer=e.rowRenderer,this.navigation=e.navigation,this.filterManager=e.filterManager,this.overlays=e.overlays}postConstruct(){const e=this.clearFocusedCell.bind(this);this.addManagedEventListeners({columnPivotModeChanged:e,newColumnsLoaded:this.onColumnEverythingChanged.bind(this),columnGroupOpened:e,columnRowGroupChanged:e}),this.addDestroyFunc(wU(this.beans))}attemptToRecoverFocus(){this.needsFocusRestored=!0,this.focusFallbackTimeout!=null&&clearTimeout(this.focusFallbackTimeout),this.focusFallbackTimeout=window.setTimeout(this.setFocusRecovered.bind(this),100)}setFocusRecovered(){this.needsFocusRestored=!1,this.focusFallbackTimeout!=null&&(clearTimeout(this.focusFallbackTimeout),this.focusFallbackTimeout=null)}shouldTakeFocus(){return this.gos.get("suppressFocusAfterRefresh")?(this.setFocusRecovered(),!1):this.needsFocusRestored?(this.setFocusRecovered(),!0):this.doesRowOrCellHaveBrowserFocus()}onColumnEverythingChanged(){if(!this.focusedCell)return;const e=this.focusedCell.column,t=this.colModel.getCol(e.getId());e!==t&&this.clearFocusedCell()}getFocusCellToUseAfterRefresh(){const{gos:e,focusedCell:t}=this;return e.get("suppressFocusAfterRefresh")||e.get("suppressCellFocus")||!t||!this.doesRowOrCellHaveBrowserFocus()?null:t}getFocusHeaderToUseAfterRefresh(){return this.gos.get("suppressFocusAfterRefresh")||!this.focusedHeader||!this.isDomDataPresentInHierarchy(Cn(this.beans),sD)?null:this.focusedHeader}doesRowOrCellHaveBrowserFocus(){const e=Cn(this.beans);return this.isDomDataPresentInHierarchy(e,tm)?!0:this.isDomDataPresentInHierarchy(e,nm)}isDomDataPresentInHierarchy(e,t){let n=e;for(;n;){if(qL(this.gos,n,t))return!0;n=n.parentNode}return!1}getFocusedCell(){return this.focusedCell}getFocusEventParams(e){const{rowIndex:t,rowPinned:n,column:o}=e,i={rowIndex:t,rowPinned:n,column:o,isFullWidthCell:!1},s=this.rowRenderer.getRowByPosition({rowIndex:t,rowPinned:n});return s&&(i.isFullWidthCell=s.isFullWidth()),i}clearFocusedCell(){if(this.focusedCell==null)return;const e=this.getFocusEventParams(this.focusedCell);this.focusedCell=null,this.eventSvc.dispatchEvent({type:"cellFocusCleared",...e})}setFocusedCell(e){this.setFocusRecovered();const{column:t,rowIndex:n,rowPinned:o,forceBrowserFocus:i=!1,preventScrollOnBrowserFocus:s=!1,sourceEvent:r}=e,a=this.colModel.getCol(t);if(!a){this.focusedCell=null;return}this.focusedCell={rowIndex:n,rowPinned:fr(o),column:a};const l=this.getFocusEventParams(this.focusedCell);this.eventSvc.dispatchEvent({type:"cellFocused",...l,...this.previousCellFocusParams&&{previousParams:this.previousCellFocusParams},forceBrowserFocus:i,preventScrollOnBrowserFocus:s,sourceEvent:r}),this.previousCellFocusParams=l}isCellFocused(e){return this.focusedCell==null?!1:hD(e,this.focusedCell)}
vendor: 9,149 bytes, line 53
53isHeaderWrapperFocused(e){if(this.focusedHeader==null)return!1;const{column:t,rowCtrl:{rowIndex:n,pinned:o}}=e,{column:i,headerRowIndex:s}=this.focusedHeader;return t===i&&n===s&&o==i.getPinned()}focusHeaderPosition(e){if(this.setFocusRecovered(),Il(this.beans))return!1;const{direction:t,fromTab:n,allowUserOverride:o,event:i,fromCell:s,rowWithoutSpanValue:r,scroll:a=!0}=e;let{headerPosition:l}=e;if(s&&this.filterManager?.isAdvFilterHeaderActive())return this.focusAdvancedFilter(l);if(o){const c=this.focusedHeader,u=Rs(this.beans);if(n){const d=this.gos.getCallback("tabToNextHeader");d&&(l=this.getHeaderPositionFromUserFunc({userFunc:d,direction:t,currentPosition:c,headerPosition:l,headerRowCount:u}))}else{const d=this.gos.getCallback("navigateToNextHeader");if(d&&i){const h={key:i.key,previousHeaderPosition:c,nextHeaderPosition:l,headerRowCount:u,event:i};l=d(h)}}}return l?this.focusProvidedHeaderPosition({headerPosition:l,direction:t,event:i,fromCell:s,rowWithoutSpanValue:r,scroll:a}):!1}focusHeaderPositionFromUserFunc(e){if(Il(this.beans))return!1;const{userFunc:t,headerPosition:n,direction:o,event:i}=e,s=this.focusedHeader,r=Rs(this.beans),a=this.getHeaderPositionFromUserFunc({userFunc:t,direction:o,currentPosition:s,headerPosition:n,headerRowCount:r});return!!a&&this.focusProvidedHeaderPosition({headerPosition:a,direction:o,event:i})}getHeaderPositionFromUserFunc(e){const{userFunc:t,direction:n,currentPosition:o,headerPosition:i,headerRowCount:s}=e,a=t({backwards:n==="Before",previousHeaderPosition:o,nextHeaderPosition:i,headerRowCount:s});return a===!0?o:a===!1?null:a}focusProvidedHeaderPosition(e){const{headerPosition:t,direction:n,fromCell:o,rowWithoutSpanValue:i,event:s,scroll:r=!0}=e,{column:a,headerRowIndex:l}=t,{filterManager:c,ctrlsSvc:u,headerNavigation:d}=this.beans;if(this.focusedHeader&&$Z(e.headerPosition,this.focusedHeader))return!1;if(l===-1)return c?.isAdvFilterHeaderActive()?this.focusAdvancedFilter(t):this.focusGridView({column:a,event:s});r&&d?.scrollToColumn(a,n);const p=u.getHeaderRowContainerCtrl(a.getPinned())?.focusHeader(t.headerRowIndex,a,s)||!1;return d&&p&&(i!=null||o)&&(d.currentHeaderRowWithoutSpan=i??-1),p}focusFirstHeader(){if(this.overlays?.isExclusive()&&this.focusOverlay())return!0;const e=this.visibleCols.allCols[0];if(!e)return!1;const t=RD(this.beans,e,0);return this.focusHeaderPosition({headerPosition:t,rowWithoutSpanValue:0})}focusLastHeader(e){if(this.overlays?.isExclusive()&&this.focusOverlay(!0))return!0;const t=Rs(this.beans)-1,n=on(this.visibleCols.allCols);return this.focusHeaderPosition({headerPosition:{headerRowIndex:t,column:n},rowWithoutSpanValue:-1,event:e})}focusPreviousFromFirstCell(e){return this.filterManager?.isAdvFilterHeaderActive()?this.focusAdvancedFilter(null):this.focusLastHeader(e)}isAnyCellFocused(){return!!this.focusedCell}isRowFocused(e,t){return this.focusedCell==null?!1:this.focusedCell.rowIndex===e&&this.focusedCell.rowPinned===fr(t)}focusOverlay(e){const t=this.overlays?.isVisible()&&this.overlays.eWrapper?.getGui();return!!t&&Yl(t,e)}focusGridView(e){const{backwards:t=!1,canFocusOverlay:n=!0,event:o}=e;if(this.overlays?.isExclusive())return n&&this.focusOverlay(t);if(p0(this.beans))return t&&!Il(this.beans)?this.focusLastHeader():n&&this.focusOverlay(t)?!0:t?!1:ku(this.beans,t);const i=t?wq(this.beans):yq(this.beans);if(i){const s=e.column??this.focusedHeader?.column,{rowIndex:r,rowPinned:a}=i,l=Pr(this.beans,i);if(!s||!l||r==null)return!1;if(s.isSuppressNavigable(l)){const c=this.gos.get("enableRtl");let u;return!o||o.key===he.TAB?u=c?he.LEFT:he.RIGHT:u=o.key,this.beans.navigation?.navigateToNextCell(null,u,{rowIndex:r,column:s,rowPinned:a||null},!0),!0}return this.navigation?.ensureCellVisible({rowIndex:r,column:s,rowPinned:a}),t&&this.rowRenderer.getRowByPosition(i)?.isFullWidth()&&this.navigation?.tryToFocusFullWidthRow(i,t)||(this.setFocusedCell({rowIndex:r,column:s,rowPinned:fr(a),forceBrowserFocus:!0}),this.beans.rangeSvc?.setRangeToCell({rowIndex:r,rowPinned:a,column:s})),!0}return!!(n&&this.focusOverlay(t)||t&&this.focusLastHeader())}focusAdvancedFilter(e){return this.advFilterFocusColumn=e?.column,this.beans.advancedFilter?.getCtrl().focusHeaderComp()??!1}focusNextFromAdvancedFilter(e,t){const n=(t?void 0:this.advFilterFocusColumn)??this.visibleCols.allCols?.[0];return e?this.focusHeaderPosition({headerPosition:{column:n,headerRowIndex:Rs(this.beans)-1}}):this.focusGridView({column:n})}clearAdvancedFilterColumn(){this.advFilterFocusColumn=void 0}},rJ=class extends we{constructor(){super(...arguments),this.beanName="scrollVisibleSvc"}wireBeans(e){this.ctrlsSvc=e.ctrlsSvc,this.colAnimation=e.colAnimation}postConstruct(){this.horizontalScrollShowing=this.gos.get("alwaysShowHorizontalScroll")===!0,this.verticalScrollShowing=this.gos.get("alwaysShowVerticalScroll")===!0,this.getScrollbarWidth(),this.addManagedEventListeners({displayedColumnsChanged:this.updateScrollVisible.bind(this),displayedColumnsWidthChanged:this.updateScrollVisible.bind(this)})}updateScrollVisible(){const{colAnimation:e}=this;e?.isActive()?e.executeLaterVMTurn(()=>{e.executeLaterVMTurn(()=>this.updateScrollVisibleImpl())}):this.updateScrollVisibleImpl()}updateScrollVisibleImpl(){const e=this.ctrlsSvc.get("center");if(!e||this.colAnimation?.isActive())return;const t={horizontalScrollShowing:e.isHorizontalScrollShowing(),verticalScrollShowing:this.verticalScrollShowing};this.setScrollsVisible(t),this.updateScrollGap()}updateScrollGap(){const e=this.ctrlsSvc.get("center"),t=e.hasHorizontalScrollGap(),n=e.hasVerticalScrollGap();(this.horizontalScrollGap!==t||this.verticalScrollGap!==n)&&(this.horizontalScrollGap=t,this.verticalScrollGap=n,this.eventSvc.dispatchEvent({type:"scrollGapChanged"}))}setScrollsVisible(e){(this.horizontalScrollShowing!==e.horizontalScrollShowing||this.verticalScrollShowing!==e.verticalScrollShowing)&&(this.horizontalScrollShowing=e.horizontalScrollShowing,this.verticalScrollShowing=e.verticalScrollShowing,this.eventSvc.dispatchEvent({type:"scrollVisibilityChanged"}))}getScrollbarWidth(){if(this.scrollbarWidth==null){const e=this.gos.get("scrollbarWidth"),n=typeof e=="number"&&e>=0?e:fU();n!=null&&(this.scrollbarWidth=n,this.eventSvc.dispatchEvent({type:"scrollbarWidthChanged"}))}return this.scrollbarWidth}},aJ=class extends we{constructor(){super(...arguments),this.beanName="gridDestroySvc",this.destroyCalled=!1}destroy(){if(this.destroyCalled)return;const{stateSvc:e,ctrlsSvc:t,context:n}=this.beans;this.eventSvc.dispatchEvent({type:"gridPreDestroyed",state:e?.getState()??{}}),this.destroyCalled=!0,t.get("gridCtrl")?.destroyGridUi(),n.destroy(),super.destroy()}},R1=new Set(["gridPreDestroyed","fillStart","pasteStart"]),lJ=["columnEverythingChanged","newColumnsLoaded","columnPivotModeChanged","pivotMaxColumnsExceeded","columnRowGroupChanged","expandOrCollapseAll","columnPivotChanged","gridColumnsChanged","columnValueChanged","columnMoved","columnVisible","columnPinned","columnGroupOpened","columnResized","displayedColumnsChanged","virtualColumnsChanged","columnHeaderMouseOver","columnHeaderMouseLeave","columnHeaderClicked","columnHeaderContextMenu","asyncTransactionsFlushed","rowGroupOpened","rowDataUpdated","pinnedRowDataChanged","pinnedRowsChanged","rangeSelectionChanged","cellSelectionChanged","chartCreated","chartRangeSelectionChanged","chartOptionsChanged","chartDestroyed","toolPanelVisibleChanged","toolPanelSizeChanged","modelUpdated","cutStart","cutEnd","pasteStart","pasteEnd","fillStart","fillEnd","cellSelectionDeleteStart","cellSelectionDeleteEnd","rangeDeleteStart","rangeDeleteEnd","undoStarted","undoEnded","redoStarted","redoEnded","cellClicked","cellDoubleClicked","cellMouseDown","cellContextMenu","cellValueChanged","cellEditRequest","rowValueChanged","headerFocused","cellFocused","rowSelected","selectionChanged","tooltipShow","tooltipHide","cellKeyDown","cellMouseOver","cellMouseOut","filterChanged","filterModified","filterUiChanged","filterOpened","floatingFilterUiChanged","advancedFilterBuilderVisibleChanged","sortChanged","virtualRowRemoved","rowClicked","rowDoubleClicked","gridReady","gridPreDestroyed","gridSizeChanged","viewportChanged","firstDataRendered","dragStarted","dragStopped","dragCancelled","rowEditingStarted","rowEditingStopped","cellEditingStarted","cellEditingStopped","bodyScroll","bodyScrollEnd","paginationChanged","componentStateChanged","storeRefreshed","stateUpdated","columnMenuVisibleChanged","contextMenuVisibleChanged","rowDragEnter","rowDragMove","rowDragLeave","rowDragEnd","rowDragCancel","findChanged","rowResizeStarted","rowResizeEnded","columnsReset","bulkEditingStarted","bulkEditingStopped","batchEditingStarted","batchEditingStopped"],lb=lJ.reduce((e,t)=>(e[t]=sz(t),e),{}),kd=(e,t)=>({tag:"span",ref:`eSort${e}`,cls:`ag-sort-indicator-icon ag-sort-${t} ag-hidden`,attrs:{"aria-hidden":"true"}}),cJ={tag:"span",cls:"ag-sort-indicator-container",children:[kd("Order","order"),kd("Asc","ascending-icon"),kd("Desc","descending-icon"),kd("Mixed","mixed-icon"),kd("None","none-icon")]},cb=class extends jt{constructor(e){super(),this.eSortOrder=$e,this.eSortAsc=$e,this.eSortDe
53sc=$e,this.eSortMixed=$e,this.eSortNone=$e,e||this.setTemplate(cJ)}attachCustomElements(e,t,n,o,i){this.eSortOrder=e,this.eSortAsc=t,this.eSortDesc=n,this.eSortMixed=o,this.eSortNone=i}setupSort(e,t=!1){if(this.column=e,this.suppressOrder=t,this.setupMultiSortIndicator(),!e.isSortable()&&!e.getColDef().showRowGroup)return;this.addInIcon("sortAscending",this.eSortAsc,e),this.addInIcon("sortDescending",this.eSortDesc,e),this.addInIcon("sortUnSort",this.eSortNone,e);const n=this.updateIcons.bind(this),o=this.onSortChanged.bind(this);this.addManagedPropertyListener("unSortIcon",n),this.addManagedEventListeners({newColumnsLoaded:n,sortChanged:o,columnRowGroupChanged:o}),this.onSortChanged()}addInIcon(e,t,n){if(t==null)return;const o=pi(e,this.beans,n);o&&t.appendChild(o)}onSortChanged(){this.updateIcons(),this.suppressOrder||this.updateSortOrder()}updateIcons(){const{eSortAsc:e,eSortDesc:t,eSortNone:n,column:o,gos:i,beans:s}=this,r=s.sortSvc.getDisplaySortForColumn(o);if(e&&hn(e,r==="asc",{skipAriaHidden:!0}),t&&hn(t,r==="desc",{skipAriaHidden:!0}),n){const a=!o.getColDef().unSortIcon&&!i.get("unSortIcon"),l=r==null;hn(n,!a&&l,{skipAriaHidden:!0})}}setupMultiSortIndicator(){const{eSortMixed:e,column:t,gos:n}=this;this.addInIcon("sortUnSort",e,t);const o=t.getColDef().showRowGroup;Es(n)&&o&&(this.addManagedEventListeners({sortChanged:this.updateMultiSortIndicator.bind(this),columnRowGroupChanged:this.updateMultiSortIndicator.bind(this)}),this.updateMultiSortIndicator())}updateMultiSortIndicator(){const{eSortMixed:e,beans:t,column:n}=this;if(e){const o=t.sortSvc.getDisplaySortForColumn(n)==="mixed";hn(e,o,{skipAriaHidden:!0})}}updateSortOrder(){const{eSortOrder:e,column:t,beans:{sortSvc:n}}=this;if(!e)return;const o=n.getColumnsWithSortingOrdered(),i=n.getDisplaySortIndexForColumn(t)??-1,s=o.some(a=>n.getDisplaySortIndexForColumn(a)??!1),r=i>=0&&s;hn(e,r,{skipAriaHidden:!0}),i>=0?e.textContent=(i+1).toString():Xn(e)}},uJ={selector:"AG-SORT-INDICATOR",component:cb},Kh=["asc","desc",null],dJ=class extends we{constructor(){super(...arguments),this.beanName="sortSvc"}progressSort(e,t,n){const o=this.getNextSortDirection(e);this.setSortForColumn(e,o,t,n)}progressSortFromEvent(e,t){const o=this.gos.get("multiSortKey")==="ctrl"?t.ctrlKey||t.metaKey:t.shiftKey;this.progressSort(e,o,"uiColumnSorted")}setSortForColumn(e,t,n,o){t!=="asc"&&t!=="desc"&&(t=null);const{gos:i,showRowGroupCols:s}=this.beans,r=Es(i);let a=[e];if(r&&e.getColDef().showRowGroup){const d=s?.getSourceColumnsForGroupColumn?.(e)?.filter(h=>h.isSortable());d&&(a=[e,...d])}for(const u of a)this.setColSort(u,t,o);const l=(n||i.get("alwaysMultiSort"))&&!i.get("suppressMultiSort"),c=[];if(!l){const u=this.clearSortBarTheseColumns(a,o);c.push(...u)}this.updateSortIndex(e),c.push(...a),this.dispatchSortChangedEvents(o,c)}updateSortIndex(e){const{gos:t,colModel:n,showRowGroupCols:o}=this.beans,i=Es(t),s=o?.getShowRowGroupCol(e.getId()),r=i&&s||e,a=this.getColumnsWithSortingOrdered();n.forAllCols(u=>this.setColSortIndex(u,null));const l=a.filter(u=>i&&u.getColDef().showRowGroup?!1:u!==r);(r.getSort()?[...l,r]:l).forEach((u,d)=>this.setColSortIndex(u,d))}onSortChanged(e,t){this.dispatchSortChangedEvents(e,t)}isSortActive(){let e=!1;return this.beans.colModel.forAllCols(t=>{t.getSort()&&(e=!0)}),e}dispatchSortChangedEvents(e,t){const n={type:"sortChanged",source:e};t&&(n.columns=t),this.eventSvc.dispatchEvent(n)}clearSortBarTheseColumns(e,t){const n=[];return this.beans.colModel.forAllCols(o=>{e.includes(o)||(o.getSort()&&n.push(o),this.setColSort(o,void 0,t))}),n}getNextSortDirection(e){const t=e.getColDef().sortingOrder??this.gos.get("sortingOrder")??Kh,n=t.indexOf(e.getSort()),o=n<0,i=n==t.length-1;return o||i?t[0]:t[n+1]}getIndexedSortMap(){const{gos:e,colModel:t,showRowGroupCols:n,rowGroupColsSvc:o}=this.beans;let i=[];if(t.forAllCols(c=>{c.getSort()&&i.push(c)}),t.isPivotMode()){const c=Es(e);i=i.filter(u=>{const d=!!u.getAggFunc(),h=!u.isPrimary(),p=c?n?.getShowRowGroupCol(u.getId()):u.getColDef().showRowGroup;return d||h||p})}const s=o?.columns.filter(c=>!!c.getSort())??[],r={};
53i.forEach((c,u)=>r[c.getId()]=u),i.sort((c,u)=>{const d=c.getSortIndex(),h=u.getSortIndex();if(d!=null&&h!=null)return d-h;if(d==null&&h==null){const p=r[c.getId()],f=r[u.getId()];return p>f?1:-1}else return h==null?-1:1});const a=Es(e)&&!!s.length;a&&(i=[...new Set(i.map(c=>n?.getShowRowGroupCol(c.getId())??c))]);const l=new Map;if(i.forEach((c,u)=>l.set(c,u)),a)for(const c of s){const u=n.getShowRowGroupCol(c.getId());l.set(c,l.get(u))}return l}getColumnsWithSortingOrdered(){return[...this.getIndexedSortMap().entries()].sort(([,e],[,t])=>e-t).map(([e])=>e)}getSortModel(){return this.getColumnsWithSortingOrdered().filter(e=>e.getSort()).map(e=>({sort:e.getSort(),colId:e.getId()}))}getSortOptions(){return this.getColumnsWithSortingOrdered().filter(e=>e.getSort()).map(e=>({sort:e.getSort(),column:e}))}canColumnDisplayMixedSort(e){const t=Es(this.gos),n=!!e.getColDef().showRowGroup;return t&&n}getDisplaySortForColumn(e){const t=this.beans.showRowGroupCols?.getSourceColumnsForGroupColumn(e);if(!this.canColumnDisplayMixedSort(e)||!t?.length)return e.getSort();const o=e.getColDef().field!=null||!!e.getColDef().valueGetter?[e,...t]:t,i=o[0].getSort();return o.every(r=>r.getSort()==i)?i:"mixed"}getDisplaySortIndexForColumn(e){return this.getIndexedSortMap().get(e)}setupHeader(e,t,n){let o=0;e.addManagedListeners(t,{movingChanged:()=>{o=Date.now()}}),n&&e.addManagedElementListeners(n,{click:s=>{const r=t.isMoving(),l=Date.now()-o<50;r||l||this.progressSortFromEvent(t,s)}});const i=()=>{const s=t.getSort();if(e.toggleCss("ag-header-cell-sorted-asc",s==="asc"),e.toggleCss("ag-header-cell-sorted-desc",s==="desc"),e.toggleCss("ag-header-cell-sorted-none",!s),t.getColDef().showRowGroup){const l=!this.beans.showRowGroupCols?.getSourceColumnsForGroupColumn(t)?.every(c=>t.getSort()==c.getSort());e.toggleCss("ag-header-cell-sorted-mixed",l)}};e.addManagedEventListeners({sortChanged:i,columnRowGroupChanged:i})}initCol(e){const{sort:t,initialSort:n,sortIndex:o,initialSortIndex:i}=e.colDef;t!==void 0?(t==="asc"||t==="desc")&&(e.sort=t):(n==="asc"||n==="desc")&&(e.sort=n),o!==void 0?o!==null&&(e.sortIndex=o):i!==null&&(e.sortIndex=i)}updateColSort(e,t,n){t!==void 0&&(t==="desc"||t==="asc"?this.setColSort(e,t,n):this.setColSort(e,void 0,n))}setColSort(e,t,n){e.sort!==t&&(e.sort=t,e.dispatchColEvent("sortChanged",n)),e.dispatchStateUpdatedEvent("sort")}setColSortIndex(e,t){e.sortIndex=t,e.dispatchStateUpdatedEvent("sortIndex")}createSortIndicator(e){return new cb(e)}getSortIndicatorSelector(){return uJ}},gu={agSetColumnFilter:"SetFilter",agSetColumnFloatingFilter:"SetFilter",agMultiColumnFilter:"MultiFilter",agMultiColumnFloatingFilter:"MultiFilter",agGroupColumnFilter:"GroupFilter",agGroupColumnFloatingFilter:"GroupFilter",agGroupCellRenderer:"GroupCellRenderer",agGroupRowRenderer:"GroupCellRenderer",agRichSelect:"RichSelect",agRichSelectCellEditor:"RichSelect",agDetailCellRenderer:"SharedMasterDetail",agSparklineCellRenderer:"Sparklines",agDragAndDropImage:"SharedDragAndDrop",agColumnHeader:"ColumnHeaderComp",agColumnGroupHeader:"ColumnGroupHeaderComp",agSortIndicator:"Sort",agAnimateShowChangeCellRenderer:"HighlightChanges",agAnimateSlideCellRenderer:"HighlightChanges",agLoadingCellRenderer:"LoadingCellRenderer",agSkeletonCellRenderer:"SkeletonCellRenderer",agCheckboxCellRenderer:"CheckboxCellRenderer",agLoadingOverlay:"Overlay",agNoRowsOverlay:"Overlay",agTooltipComponent:"Tooltip",agReadOnlyFloatingFilter:"CustomFilter",agTextColumnFilter:"TextFilter",agNumberColumnFilter:"NumberFilter",agDateColumnFilter:"DateFilter",agDateInput:"DateFilter",agTextColumnFloatingFilter:"TextFilter",agNumberColumnFloatingFilter:"NumberFilter",agDateColumnFloatingFilter:"DateFilter",agCellEditor:"TextEditor",agSelectCellEditor:"SelectEditor",agTextCellEditor:"TextEditor",agNumberCellEditor:"NumberEditor",agDateCellEditor:"DateEditor",agDateStringCellEditor:"DateEditor",agCheckboxCellEditor:"CheckboxEditor",agLargeTextCellEditor:"LargeTextEditor",agMenuItem:"MenuItem",agColumnsToolPanel:"ColumnsToolPanel",agFiltersToolPanel:"FiltersToolPanel",agNewFiltersToolPanel:"NewFiltersToolPanel",agAggregationComponent:"StatusBar",agSelectedRowCountComponent:"StatusBar",agTotalRowCountComponent:"StatusBar",agFilteredRowCountComponent:"StatusBar",agTotalAndFilteredRowCountComponent:"StatusBar",agFindCellRenderer:"Find"};function K8(e){return`"${e}"`}var hJ=()=>({checkboxSelection:{version:"32.2",message:"Use `rowSelection.checkboxes` in `GridOptions` instead."},headerCheckboxSelection:{version:"32.2",message:"Use `rowSelection.headerCheckbox = true` in `GridOptions` instead."},headerCheckboxSelectionFilteredOnly:{version:"32.2",message:'Use `rowSelection.selectAll = "filtered"` in `GridOptions` instead.'},headerCheckboxSelectionCurrentPageOnly:{version:"32.2",message:'Use `rowSelection.selectAll = "currentPage"` in `GridOptions` instead.'},showDisabledCheckboxes:{version:"32.2",message:"Use `rowSelection.hideDisabledCheckboxes = true` in `GridOptions` instead."},rowGroupingHierarchy:{version:"34.3",message:"Use `colDef.groupHierarchy` instead."}}),pJ={aggFunc:"SharedAggregation",autoHeight:"RowAutoHeight",cellClass:"CellStyle",cell
53ClassRules:"CellStyle",cellEditor:({cellEditor:e,editable:t})=>t?typeof e=="string"?gu[e]??"CustomEditor":"CustomEditor":null,cellRenderer:({cellRenderer:e})=>typeof e!="string"?null:gu[e],cellStyle:"CellStyle",columnChooserParams:"ColumnMenu",contextMenuItems:"ContextMenu",dndSource:"DragAndDrop",dndSourceOnRowDrag:"DragAndDrop",editable:({editable:e,cellEditor:t})=>e&&!t?"TextEditor":null,enableCellChangeFlash:"HighlightChanges",enablePivot:"SharedPivot",enableRowGroup:"SharedRowGrouping",enableValue:"SharedAggregation",filter:({filter:e})=>e&&typeof e!="string"&&typeof e!="boolean"?"CustomFilter":typeof e=="string"?gu[e]??"ColumnFilter":"ColumnFilter",floatingFilter:"ColumnFilter",getQuickFilterText:"QuickFilter",headerTooltip:"Tooltip",headerTooltipValueGetter:"Tooltip",mainMenuItems:"ColumnMenu",menuTabs:e=>{const t=["columnsMenuTab","generalMenuTab"];return e.menuTabs?.some(n=>t.includes(n))?"ColumnMenu":null},pivot:"SharedPivot",pivotIndex:"SharedPivot",rowDrag:"RowDrag",rowGroup:"SharedRowGrouping",rowGroupIndex:"SharedRowGrouping",tooltipField:"Tooltip",tooltipValueGetter:"Tooltip",tooltipComponentSelector:"Tooltip",spanRows:"CellSpan",groupHierarchy:"SharedRowGrouping"},fJ=()=>({autoHeight:{supportedRowModels:["clientSide","serverSide"],validate:(t,{paginationAutoPageSize:n})=>n?"colDef.autoHeight is not supported with paginationAutoPageSize.":null},cellRendererParams:{validate:t=>(t.rowGroup!=null||t.rowGroupIndex!=null||t.cellRenderer==="agGroupCellRenderer")&&"checkbox"in t.cellRendererParams?'Since v33.0, `cellRendererParams.checkbox` has been deprecated. Use `rowSelection.checkboxLocation = "autoGroupColumn"` instead.':null},flex:{validate:(t,n)=>n.autoSizeStrategy?"colDef.flex is not supported with gridOptions.autoSizeStrategy":null},headerCheckboxSelection:{supportedRowModels:["clientSide","serverSide"],validate:(t,{rowSelection:n})=>n==="multiple"?null:"headerCheckboxSelection is only supported with rowSelection=multiple"},headerCheckboxSelectionCurrentPageOnly:{supportedRowModels:["clientSide"],validate:(t,{rowSelection:n})=>n==="multiple"?null:"headerCheckboxSelectionCurrentPageOnly is only supported with rowSelection=multiple"},headerCheckboxSelectionFilteredOnly:{supportedRowModels:["clientSide"],validate:(t,{rowSelection:n})=>n==="multiple"?null:"headerCheckboxSelectionFilteredOnly is only supported with rowSelection=multiple"},headerValueGetter:{validate:t=>{const n=t.headerValueGetter;return typeof n=="function"||typeof n=="string"?null:"headerValueGetter must be a function or a valid string expression"}},icons:{validate:({icons:t})=>{if(t){if(t.smallDown)return Ds(262);if(t.smallLeft)return Ds(263);if(t.smallRight)return Ds(264)}return null}},sortingOrder:{validate:t=>{const n=t.sortingOrder;if(Array.isArray(n)&&n.length>0){const o=n.filter(i=>!Kh.includes(i));if(o.length>0)return`sortingOrder must be an array with elements from [${Kh.map(Ug).join()}], currently it includes [${o.map(Ug).join()}]`}else if(!Array.isArray(n)||n.length<=0)return`sortingOrder must be an array with at least one element, currently it's ${n}`;return null}},type:{validate:t=>{const n=t.type;return n instanceof Array?n.some(i=>typeof i!="string")?"if colDef.type is supplied an array it should be of type 'string[]'":null:typeof n=="string"?null:"colDef.type should be of type 'string' | 'string[]'"}},rowSpan:{validate:(t,{suppressRowTransform:n})=>n?null:"colDef.rowSpan requires suppressRowTransform to be enabled."},spanRows:{dependencies:{editable:{required:[!1,void 0]},rowDrag:{required:[!1,void 0]},colSpan:{required:[void 0]},rowSpan:{required:[void 0]}},validate:(t,{rowSelection:n,cellSelection:o,suppressRowTransform:i,enableCellSpan:s,rowDragEntireRow:r,enableCellTextSelection:a})=>typeof n=="object"&&n?.mode==="singleRow"&&n?.enableClickSelection?"colDef.spanRows is not supported with rowSelection.clickSelection":o?"colDef.spanRows is not supported with cellSelection.":i?"colDef.spanRows is not supported with suppressRowTransform.":s?r?"colDef.spanRows is not supported with rowDragEntireRow.":a?"colDef.spanRows is not supported with enableCellTextSelection.":null:"colDef.spanRows requires enableCellSpan to be enabled."},groupHierarchy:{validate(t,{groupHierarchyConfig:n={}},o){const i=new Set(["year","quarter","month","formattedMonth","day","hour","minute","second"]),s=[];for(const r of t.groupHierarchy??[]){if(typeof r=="object"){o.validation?.validateColDef(r);continue}!i.has(r)&&!(r in n)&&s.push(K8(r))}if(s.length>0){const r=`The following parts of colDef.groupHierarchy are not recognised: ${s.join(", ")}.`,a=`Choose one of ${[...i].map(K8).join(", ")}, or define your own parts in gridOptions.groupHierarchyConfig.`;return`${r}
54${a}`}return null}}}),gJ={headerName:void 0,columnGroupShow:void 0,headerStyle:void 0,headerClass:void 0,toolPanelClass:void 0,headerValueGetter:void 0,pivotKeys:void 0,groupId:void 0,colId:void 0,sort:void 0,initialSort:void 0,field:void 0,type:void 0,cellDataType:void 0,tooltipComponent:void 0,tooltipField:void 0,headerTooltip:void 0,headerTooltipValueGetter:void 0,cellClass:void 0,showRowGroup:void 0,filter:void 0,initialAggFunc:void 0,defaultAggFunc:void 0,aggFunc:void 0,pinned:void 0,initialPinned:void 0,chartDataType:void 0,cellAriaRole:void 0,cellEditorPopupPosition:void 0,headerGroupComponent:void 0,headerGroupComponentParams:void 0,cellStyle:void 0,cellRenderer:void 0,cellRendererParams:void 0,cellEditor:void 0,cellEditorParams:void 0,filterParams:void 0,pivotValueColumn:void 0,headerComponent:void 0,headerComponentParams:void 0,floatingFilterComponent:void 0,floatingFilterComponentParams:void 0,tooltipComponentParams:void 0,refData:void 0,columnChooserParams:void 0,children:void 0,sortingOrder:void 0,allowedAggFuncs:void 0,menuTabs:void 0,pivotTotalColumnIds:void 0,cellClassRules:void 0,icons:void 0,sortIndex:void 0,initialSortIndex:void 0,flex:void 0,initialFlex:void 0,width:void 0,initialWidth:void 0,minWidth:void 0,maxWidth:void 0,rowGroupIndex:void 0,initialRowGroupIndex:void 0,pivotIndex:void 0,initialPivotIndex:void 0,suppressColumnsToolPanel:void 0,suppressFiltersToolPanel:void 0,openByDefault:void 0,marryChildren:void 0,suppressStickyLabel:void 0,hide:void 0,initialHide:void 0,rowGroup:void 0,initialRowGroup:void 0,pivot:void 0,initialPivot:void 0,checkboxSelection:void 0,showDisabledCheckboxes:void 0,headerCheckboxSelection:void 0,headerCheckboxSelectionFilteredOnly:void 0,headerCheckboxSelectionCurrentPageOnly:void 0,suppressHeaderMenuButton:void 0,suppressMovable:void 0,lockPosition:void 0,lockVisible:void 0,lockPinned:void 0,unSortIcon:void 0,suppressSizeToFit:void 0,suppressAutoSize:void 0,enableRowGroup:void 0,enablePivot:void 0,enableValue:void 0,editable:void 0,suppressPaste:void 0,suppressNavigable:void 0,enableCellChangeFlash:void 0,rowDrag:void 0,dndSource:void 0,autoHeight:void 0,wrapText:void 0,sortable:void 0,resizable:void 0,singleClickEdit:void 0,floatingFilter:void 0,cellEditorPopup:void 0,suppressFillHandle:void 0,wrapHeaderText:void 0,autoHeaderHeight:void 0,dndSourceOnRowDrag:void 0,valueGetter:void 0,valueSetter:void 0,filterValueGetter:void 0,keyCreator:void 0,valueFormatter:void 0,valueParser:void 0,comparator:void 0,equals:void 0,pivotComparator:void 0,suppressKeyboardEvent:void 0,suppressHeaderKeyboardEvent:void 0,colSpan:void 0,rowSpan:void 0,spanRows:void 0,getQuickFilterText:void 0,onCellValueChanged:void 0,onCellClicked:void 0,onCellDoubleClicked:void 0,onCellContextMenu:void 0,rowDragText:void 0,tooltipValueGetter:void 0,tooltipComponentSelector:void 0,cellRendererSelector:void 0,cellEditorSelector:void 0,suppressS
54panHeaderHeight:void 0,useValueFormatterForExport:void 0,useValueParserForImport:void 0,mainMenuItems:void 0,contextMenuItems:void 0,suppressFloatingFilterButton:void 0,suppressHeaderFilterButton:void 0,suppressHeaderContextMenu:void 0,loadingCellRenderer:void 0,loadingCellRendererParams:void 0,loadingCellRendererSelector:void 0,context:void 0,dateComponent:void 0,dateComponentParams:void 0,getFindText:void 0,rowGroupingHierarchy:void 0,groupHierarchy:void 0},mJ=()=>Object.keys(gJ),vJ=()=>({objectName:"colDef",allProperties:mJ(),docsUrl:"column-properties/",deprecations:hJ(),validations:fJ()}),CJ=["overlayLoadingTemplate","overlayNoRowsTemplate","gridId","quickFilterText","rowModelType","editType","domLayout","clipboardDelimiter","rowGroupPanelShow","multiSortKey","pivotColumnGroupTotals","pivotRowTotals","pivotPanelShow","fillHandleDirection","groupDisplayType","treeDataDisplayType","treeDataChildrenField","treeDataParentIdField","colResizeDefault","tooltipTrigger","serverSidePivotResultFieldSeparator","columnMenu","tooltipShowMode","invalidEditValueMode","grandTotalRow","themeCssLayer","findSearchValue","styleNonce","renderingMode"],bJ=["components","rowStyle","context","autoGroupColumnDef","localeText","icons","datasource","dragAndDropImageComponentParams","serverSideDatasource","viewportDatasource","groupRowRendererParams","aggFuncs","fullWidthCellRendererParams","defaultColGroupDef","defaultColDef","defaultCsvExportParams","defaultExcelExportParams","columnTypes","rowClassRules","detailCellRendererParams","loadingCellRendererParams","loadingOverlayComponentParams","noRowsOverlayComponentParams","popupParent","themeStyleContainer","statusBar","chartThemeOverrides","customChartThemes","chartToolPanelsDef","dataTypeDefinitions","advancedFilterParent","advancedFilterBuilderParams","advancedFilterParams","initialState","autoSizeStrategy","selectionColumnDef","findOptions","filterHandlers","groupHierarchyConfig"],yJ=["sortingOrder","alignedGrids","rowData","columnDefs","excelStyles","pinnedTopRowData","pinnedBottomRowData","chartThemes","rowClass","paginationPageSizeSelector"],PD=["rowHeight","detailRowHeight","rowBuffer","headerHeight","groupHeaderHeight","groupLockGroupColumns","floatingFiltersHeight","pivotHeaderHeight","pivotGroupHeaderHeight","groupDefaultExpanded","pivotDefaultExpanded","viewportRowModelPageSize","viewportRowModelBufferSize","autoSizePadding","maxBlocksInCache","maxConcurrentDatasourceRequests","tooltipShowDelay","tooltipHideDelay","cacheOverflowSize","paginationPageSize","cacheBlockSize","infiniteInitialRowCount","serverSideInitialRowCount","scrollbarWidth","asyncTransactionWaitMillis","blockLoadDebounceMillis","keepDetailRowsCount","undoRedoCellEditingLimit","cellFlashDuration","cellFadeDuration","tabIndex","pivotMaxGeneratedColumns","rowDragInsertDelay"],wJ=["theme","rowSelection"],SJ=["cellSelection","sideBar","rowNumbers","suppressGroupChangesColumnVisibility","groupAggFiltering","suppressStickyTotalRow","groupHideParentOfSingleChild","enableRowPinning"],MD=["loadThemeGoogleFonts","suppressMakeColumnVisibleAfterUnGroup","suppressRowClickSelection","suppressCellFocus","suppressHeaderFocus","suppressHorizontalScroll","groupSelectsChildren","alwaysShowHorizontalScroll","alwaysShowVerticalScroll","debug","enableBrowserTooltips","enableCellExpressions","groupSuppressBlankHeader","suppressMenuHide","suppressRowDeselection","unSortIcon","suppressMultiSort","alwaysMultiSort","singleClickEdit","suppressLoadingOverlay","suppressNoRowsOverlay","suppressAutoSize","skipHeaderOnAutoSize","suppressColumnMoveAnimation","suppressMoveWhenColumnDragging","suppressMovableColumns","suppressFieldDotNotation","enableRangeSelection","enableRangeHandle","enableFillHandle","suppressClearOnFillReduction","deltaSort","suppressTouch","allowContextMenuWithControlKey","suppressContextMenu","suppressDragLeaveHidesColumns","suppressRowGroupHidesColumns","suppressMiddleClickScrolls","suppressPreventDefaultOnMouseWheel","suppressCopyRowsToClipboard","copyHeadersToClipboard","copyGroupHeadersToClipboard","pivotMode","suppressAggFuncInHeader","suppressColumnVirtualisation","alwaysAggregateAtRootLevel","suppressFocusAfterRefresh","functionsReadOnly","animateRows","groupSelectsFiltered","groupRemoveSingleChildren","groupRemoveLowestSingleChildren","enableRtl","enableCellSpan","suppressClickEdit","rowDragEntireRow","rowDragManaged","suppressRowDrag","suppressMoveWhenRowDragging","rowDragMultiRow","enableGroupEdit","embedFullWidthRows","suppressPaginationPanel","groupHideOpenParents","groupAllowUnbalanced","pagination","paginationAutoPageSize","suppressScrollOnNewData","suppressScrollWhenPopupsAreOpen","purgeClosedRowNodes","cacheQuickFilter","includeHiddenColumnsInQuickFilter","ensureDomOrder","accentedSort","suppressChangeDetection","valueCache","valueCacheNeverExpires","aggregateOnlyChangedColumns","suppressAnimationFrame","suppressExcelExport","suppressCsvExport","includeHiddenColumnsInAdvancedFilter","suppressMultiRangeSelection","enterNavigatesVerticallyAfterEdit","enterNavigatesVertically","suppressPropertyNamesCheck","rowMultiSelectWithClick","suppressRowHoverHighlight","suppressRowTransform","suppressClipboardPaste","suppressLastEmptyLineOnPaste","enableCharts","suppressMaintainUnsortedOrder","enableCellTextSelection","suppressBrowserResizeObserver","suppressMaxRenderedRowRestriction","excludeChildrenWhenTreeDataFiltering","tooltipMouseTrack","tooltipInteraction","keepDetailRows","paginateChildRows","preventDefaultOnContextMenu","undoRedoCellEditing","allowDragFromColumnsToolPanel","pivotSuppressAutoColumn","suppressExpandablePivotGroups","debounceVerticalScrollbar","detailRowAutoHeight","serverSideSortAllLevels","serverSideEnableClientSideSort","serverSideOnlyRefreshFilteredGroups","suppressAggFilteredOnly","showOpenedGroup","suppressClipboardApi","suppressModelUpdateAfterUpdateTransaction","stopEditingWhenCellsLoseFocus","groupMaintainOrder","columnHoverHighlight","readOnlyEdit","suppressRowVirtualisation","enableCellEditingOnBackspace","resetRowDataOnUpdate","removePivotHeaderRowWhenSingleValueColumn","suppressCopySingleCellRanges","suppressGroupRowsSticky","suppressCutToClipboard","rowGroupPanelSuppressSort","allowShowChangeAfterFilter","enableAdvancedFilter","masterDetail","treeData","reactiveCustomComponents","applyQuickFilterBeforePivotOrAgg","suppressServerSideFullWidthLoadingRow","suppressAdvancedFilterEval","loading","maintainColumnOrder","enableStrictPivotColumnOrder","suppressSetFilterByDefault","enableFilterHandlers","suppressStartEditOnTab","hidePaddedHeaderRows","ssrmExpandAllAffectsAllRows"],EJ=["doesExternalFilterPass","processPivotResultColDef","processPivotResultColGroupDef","getBusinessKeyForNode","isRowSelectable","rowDragText","groupRowRenderer","dragAndDropImageComponent","fullWidthCellRenderer","loadingCellRenderer","loadingOverlayComponent","noRowsOverlayComponent","detailCellRenderer","quickFilterParser","quickFilterMatcher","getLocaleText","isExternalFilterPresent","getRowHeight","getRowClass","getRowStyle","getFullRowEditValidationErrors","getContextMenuItems","getMainMenuItems","processRowPostCreate","processCellForClipboard","getGroupRowAgg","isFullWidthRow","
54sendToClipboard","focusGridInnerElement","navigateToNextHeader","tabToNextHeader","navigateToNextCell","tabToNextCell","processCellFromClipboard","getDocument","postProcessPopup","getChildCount","getDataPath","isRowMaster","postSortRows","processHeaderForClipboard","processUnpinnedColumns","processGroupHeaderForClipboard","paginationNumberFormatter","processDataFromClipboard","getServerSideGroupKey","isServerSideGroup","createChartContainer","getChartToolbarItems","fillOperation","isApplyServerSideTransaction","getServerSideGroupLevelParams","isServerSideGroupOpenByDefault","isGroupOpenByDefault","initialGroupOrderComparator","loadingCellRendererSelector","getRowId","chartMenuItems","groupTotalRow","alwaysPassFilter","isRowPinnable","isRowPinned","isRowValidDropPosition"],TJ=()=>[...yJ,...bJ,...CJ,...PD,...EJ,...MD,...SJ,...wJ],RJ=()=>({suppressLoadingOverlay:{version:"32",message:"Use `loading`=false instead."},enableFillHandle:{version:"32.2",message:"Use `cellSelection.handle` instead."},enableRangeHandle:{version:"32.2",message:"Use `cellSelection.handle` instead."},enableRangeSelection:{version:"32.2",message:"Use `cellSelection = true` instead."},suppressMultiRangeSelection:{version:"32.2",message:"Use `cellSelection.suppressMultiRanges` instead."},suppressClearOnFillReduction:{version:"32.2",message:"Use `cellSelection.handle.suppressClearOnFillReduction` instead."},fillHandleDirection:{version:"32.2",message:"Use `cellSelection.handle.direction` instead."},fillOperation:{version:"32.2",message:"Use `cellSelection.handle.setFillValue` instead."},suppressRowClickSelection:{version:"32.2",message:"Use `rowSelection.enableClickSelection` instead."},suppressRowDeselection:{version:"32.2",message:"Use `rowSelection.enableClickSelection` instead."},rowMultiSelectWithClick:{version:"32.2",message:"Use `rowSelection.enableSelectionWithoutKeys` instead."},groupSelectsChildren:{version:"32.2",message:'Use `rowSelection.groupSelects = "descendants"` instead.'},groupSelectsFiltered:{version:"32.2",message:'Use `rowSelection.groupSelects = "filteredDescendants"` instead.'},isRowSelectable:{version:"32.2",message:"Use `selectionOptions.isRowSelectable` instead."},suppressCopySingleCellRanges:{version:"32.2",message:"Use `rowSelection.copySelectedRows` instead."},suppressCopyRowsToClipboard:{version:"32.2",message:"Use `rowSelection.copySelectedRows` instead."},onRangeSelectionChanged:{version:"32.2",message:"Use `onCellSelectionChanged` instead."},onRangeDeleteStart:{version:"32.2",message:"Use `onCellSelectionDeleteStart` instead."},onRangeDeleteEnd:{version:"32.2",message:"Use `onCellSelectionDeleteEnd` instead."},suppressBrowserResizeObserver:{version:"32.2",message:"The grid always uses the browser's ResizeObserver, this grid option has no effect."},onColumnEverythingChanged:{version:"32.2",message:"Either use `onDisplayedColumnsChanged` which is fired at the same time, or use one of the more specific column events."},groupRemoveSingleChildren:{version:"33",message:"Use `groupHideParentOfSingleChild` instead."},groupRemoveLowestSingleChildren:{version:"33",message:'Use `groupHideParentOfSingleChild: "leafGroupsOnly"` instead.'},suppressRowGroupHidesColumns:{version:"33",message:'Use `suppressGroupChangesColumnVisibility: "suppressHideOnGroup"` instead.'},suppressMakeColumnVisibleAfterUnGroup:{version:"33",message:'Use `suppressGroupChangesColumnVisibility: "suppressShowOnUngroup"` instead.'},unSortIcon:{version:"33",message:"Use `defaultColDef.unSortIcon` instead."},sortingOrder:{version:"33",message:"Use `defaultColDef.sortingOrder` instead."},suppressPropertyNamesCheck:{version:"33",message:"`gridOptions` and `columnDefs` both have a `context` property that should be used for arbitrary user data. This means that column definitions and gridOptions should only contain valid properties making this property redundant."},suppressAdvancedFilterEval:{version:"34",message:"Advanced filter no longer uses function evaluation, so this option has no effect."}});function gs(e,t,n){return typeof t=="number"||t==null?t==null||t>=n?null:`${e}: value should be greater than or equal to ${n}`:`${e}: value should be a number`}var PJ={alignedGrids:"AlignedGrids",allowContextMenuWithControlKey:"ContextMenu",autoSizeStrategy:"ColumnAutoSize",cellSelection:"CellSelection",columnHoverHighlight:"ColumnHover",datasource:"InfiniteRowModel",doesExternalFilterPass:"ExternalFilter",editType:"EditCore",invalidEditValueMode:"EditCore",enableAdvancedFilter:"AdvancedFilter",enableCellSpan:"CellSpan",enableCharts:"IntegratedCharts",enableRangeSelection:"CellSelection",enableRowPinning:"PinnedRow",findSearchValue:"Find",getFullRowEditValidationErrors:"EditCore",getContextMenuItems:"ContextMenu",getLocaleText:"Locale",getMainMenuItems:"ColumnMenu",getRowClass:"RowStyle",getRowStyle:"RowStyle",groupTotalRow:"SharedRowGrouping",grandTotalRow:"ClientSideRowModelHierarchy",initialState:"GridState",isExternalFilterPresent:"ExternalFilter",isRowPinnable:"PinnedRow",isRowPinned:"PinnedRow",localeText:"Locale",masterDetail:"SharedMasterDetail",pagination:"Pagination",pinnedBottomRowData:"PinnedRow",pinnedTopRowData:"PinnedRow",pivotMode:"SharedPivot",pivotPanelShow:"RowGroupingPanel",quickFilterText:"QuickFilter",rowClass:"RowStyle",rowClassRules:"RowStyle",rowData:"ClientSideRowModel",rowDragManaged:"RowDrag",rowGroupPanelShow:"RowGroupingPanel",rowNumbers:"RowNumbers",rowSelection:"SharedRowSelection",rowStyle:"RowStyle",serverSideDatasource:"ServerSideRowModel",sideBar:"SideBar",statusBar:"StatusBar",treeData:"SharedTreeData",undoRedoCellEditing:"UndoRedoEdit",valueCache:"ValueCache",viewportDatasource:"ViewportRowModel"},MJ=()=>{const e={autoSizePadding:{validate({autoSizePadding:n}){return gs("autoSizePadding",n,0)}},cacheBlockSize:{supportedRowModels:["serverSide","infinite"],validate({cacheBlockSize:n}){return gs("cacheBlockSize",n,1)}},cacheOverflowSize:{validate({cacheOverflowSize:n}){return gs("cacheOverflowSize",n,1)}}
vendor: 4,447 bytes, lines 54-55
54,datasource:{supportedRowModels:["infinite"]},domLayout:{validate:n=>{const o=n.domLayout,i=["autoHeight","normal","print"];return o&&!i.includes(o)?`domLayout must be one of [${i.join()}], currently it's ${o}`:null}},enableFillHandle:{dependencies:{enableRangeSelection:{required:[!0]}}},enableRangeHandle:{dependencies:{enableRangeSelection:{required:[!0]}}},enableRangeSelection:{dependencies:{rowDragEntireRow:{required:[!1,void 0]}}},enableRowPinning:{supportedRowModels:["clientSide"],validate({enableRowPinning:n,pinnedTopRowData:o,pinnedBottomRowData:i}){return n&&(o||i)?"Manual row pinning cannot be used together with pinned row data. Either set `enableRowPinning` to `false`, or remove `pinnedTopRowData` and `pinnedBottomRowData`.":null}},isRowPinnable:{supportedRowModels:["clientSide"],validate({enableRowPinning:n,isRowPinnable:o,pinnedTopRowData:i,pinnedBottomRowData:s}){return o&&(i||s)?"Manual row pinning cannot be used together with pinned row data. Either remove `isRowPinnable`, or remove `pinnedTopRowData` and `pinnedBottomRowData`.":!n&&o?"`isRowPinnable` requires `enableRowPinning` to be set.":null}},isRowPinned:{supportedRowModels:["clientSide"],validate({enableRowPinning:n,isRowPinned:o,pinnedTopRowData:i,pinnedBottomRowData:s}){return o&&(i||s)?"Manual row pinning cannot be used together with pinned row data. Either remove `isRowPinned`, or remove `pinnedTopRowData` and `pinnedBottomRowData`.":!n&&o?"`isRowPinned` requires `enableRowPinning` to be set.":null}},groupDefaultExpanded:{supportedRowModels:["clientSide"]},groupHideOpenParents:{supportedRowModels:["clientSide","serverSide"],dependencies:{groupTotalRow:{required:[void 0,"bottom"]},treeData:{required:[void 0,!1],reason:"Tree Data has values at the group level so it doesn't make sense to hide them."}}},groupHideParentOfSingleChild:{dependencies:{groupHideOpenParents:{required:[void 0,!1]}}},groupRemoveLowestSingleChildren:{dependencies:{groupHideOpenParents:{required:[void 0,!1]},groupRemoveSingleChildren:{required:[void 0,!1]}}},groupRemoveSingleChildren:{dependencies:{groupHideOpenParents:{required:[void 0,!1]},groupRemoveLowestSingleChildren:{required:[void 0,!1]}}},groupSelectsChildren:{dependencies:{rowSelection:{required:["multiple"]}}},groupHierarchyConfig:{validate({groupHierarchyConfig:n={}},o,i){for(const s of Object.keys(n))i.validation?.validateColDef(n[s]);return null}},icons:{validate:({icons:n})=>{if(n){if(n.smallDown)return Ds(262);if(n.smallLeft)return Ds(263);if(n.smallRight)return Ds(264)}return null}},infiniteInitialRowCount:{validate({infiniteInitialRowCount:n}){return gs("infiniteInitialRowCount",n,1)}},initialGroupOrderComparator:{supportedRowModels:["clientSide"]},ssrmExpandAllAffectsAllRows:{validate:n=>{if(typeof n.ssrmExpandAllAffectsAllRows=="boolean"){if(n.rowModelType!=="serverSide")return"'ssrmExpandAllAffectsAllRows' is only supported with the Server Side Row Model.";if(n.ssrmExpandAllAffectsAllRows&&typeof n.getRowId!="function")return"'getRowId' callback must be provided for Server Side Row Model grouping to work correctly."}return null}},keepDetailRowsCount:{validate({keepDetailRowsCount:n}){return gs("keepDetailRowsCount",n,1)}},paginationPageSize:{validate({paginationPageSize:n}){return gs("paginationPageSize",n,1)}},paginationPageSizeSelector:{validate:n=>{const o=n.paginationPageSizeSelector;return typeof o=="boolean"||o==null||o.length?null:`'paginationPageSizeSelector' cannot be an empty array.
55                    If you want to hide the page size selector, set paginationPageSizeSelector to false.`}},pivotMode:{dependencies:{treeData:{required:[!1,void 0],reason:"Pivot Mode is not supported with Tree Data."}}},quickFilterText:{supportedRowModels:["clientSide"]},rowBuffer:{validate({rowBuffer:n}){return gs("rowBuffer",n,0)}},rowClass:{validate:n=>typeof n.rowClass=="function"?"rowClass should not be a function, please use getRowClass instead":null},rowData:{supportedRowModels:["clientSide"]},rowDragManaged:{supportedRowModels:["clientSide"],dependencies:{pagination:{required:[!1,void 0]}}},rowSelection:{validate({rowSelection:n}){return n&&typeof n=="string"?'As of version 32.2.1, using `rowSelection` with the values "single" or "multiple" has been deprecated. Use the object value instead.':n&&typeof n!="object"?"Expected `RowSelectionOptions` object for the `rowSelection` property.":n&&n.mode!=="multiRow"&&n.mode!=="singleRow"?`Selection mode "${n.mode}
55" is invalid. Use one of 'singleRow' or 'multiRow'.`:null}},rowStyle:{validate:n=>{const o=n.rowStyle;return o&&typeof o=="function"?"rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead":null}},serverSideDatasource:{supportedRowModels:["serverSide"]},serverSideInitialRowCount:{supportedRowModels:["serverSide"],validate({serverSideInitialRowCount:n}){return gs("serverSideInitialRowCount",n,1)}},serverSideOnlyRefreshFilteredGroups:{supportedRowModels:["serverSide"]},serverSideSortAllLevels:{supportedRowModels:["serverSide"]},sortingOrder:{validate:n=>{const o=n.sortingOrder;if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>!Kh.includes(s));if(i.length>0)return`sortingOrder must be an array with elements from [${Kh.map(Ug).join()}], currently it includes [${i.map(Ug).join()}]`}else if(!Array.isArray(o)||o.length<=0)return`sortingOrder must be an array with at least one element, currently it's ${o}`;return null}},tooltipHideDelay:{validate:n=>n.tooltipHideDelay&&n.tooltipHideDelay<0?"tooltipHideDelay should not be lower than 0":null},tooltipShowDelay:{validate:n=>n.tooltipShowDelay&&n.tooltipShowDelay<0?"tooltipShowDelay should not be lower than 0":null},treeData:{supportedRowModels:["clientSide","serverSide"],validate:n=>{const o=n.rowModelType??"clientSide";switch(o){case"clientSide":{const{treeDataChildrenField:i,treeDataParentIdField:s,getDataPath:r,getRowId:a}=n;if(!i&&!s&&!r)return"treeData requires either 'treeDataChildrenField' or 'treeDataParentIdField' or 'getDataPath' in the clientSide row model.";if(i){if(r)return"Cannot use both 'treeDataChildrenField' and 'getDataPath' at the same time.";if(s)return"Cannot use both 'treeDataChildrenField' and 'treeDataParentIdField' at the same time."}if(s){if(!a)return"getRowId callback not provided, tree data with parent id cannot be built.";if(r)return"Cannot use both 'treeDataParentIdField' and 'getDataPath' at the same time."}return null}case"serverSide":{const i=`treeData requires 'isServerSideGroup' and 'getServerSideGroupKey' in the ${o} row model.`;return n.isServerSideGroup&&n.getServerSideGroupKey?null:i}}return null}},viewportDatasource:{supportedRowModels:["viewport"]},viewportRowModelBufferSize:{validate({viewportRowModelBufferSize:n}){return gs("viewportRowModelBufferSize",n,0)}},viewportRowModelPageSize:{validate({viewportRowModelPageSize:n}){return gs("viewportRowModelPageSize",n,1)}},rowDragEntireRow:{dependencies:{cellSelection:{required:[void 0]}}},autoGroupColumnDef:{validate({autoGroupColumnDef:n,showOpenedGroup:o}){return n?.field&&o?"autoGroupColumnDef.field and showOpenedGroup are not supported when used together.":n?.valueGetter&&o?"autoGroupColumnDef.valueGetter and showOpenedGroup are not supported when used together.":null}},renderingMode:{validate:n=>{const o=n.renderingMode,i=["default","legacy"];return o&&!i.includes(o)?`renderingMode must be one of [${i.join()}], currently it's ${o}`:null}},autoSizeStrategy:{validate:({autoSizeStrategy:n})=>{if(!n)return null;const o=["fitCellContents","fitGridWidth","fitProvidedWidth"],i=n.type;return i!=="fitCellContents"&&i!=="fitGridWidth"&&i!=="fitProvidedWidth"?`Invalid Auto-size strategy. \`autoSizeStrategy\` must be one of ${o.map(s=>'"'+s+'"').join(", ")}, currently it's ${i}`:i==="fitProvidedWidth"&&typeof n.width!="number"?`When using the 'fitProvidedWidth' auto-size strategy, must provide a numeric \`width\`. You provided ${n.width}`:null}}},t={};for(const n of MD)t[n]={expectedType:"boolean"};for(const n of PD)t[n]={expectedType:"number"};return Ro(t,e),t},LJ=()=>({objectName:"gridOptions",allProperties:[...TJ(),...Object.values(lb)],propertyExceptions:["api"],docsUrl:"grid-options/",deprecations:RJ(),validations:MJ()}),xJ=0,DJ=0,q8="__ag_grid_instance",kJ=class extends we{constructor(){super(...arguments),this.beanName="gos",this.domDataKey="__AG_"+Math.random().toString(),this.instanceId=DJ++,this.gridReadyFired=!1,this.queueEvents=[],this.propEventSvc=new Kl,this.globalEventHandlerFactory=e=>(t,n)=>{if(!this.isAlive())return;const o=R1.has(t);
vendor: 11,994 bytes, line 55
55if(o&&!e||!o&&e||!AJ(t))return;const i=(s,r)=>{const a=lb[s],l=this.gridOptions[a];typeof l=="function"&&this.beans.frameworkOverrides.wrapOutgoing(()=>l(r))};if(this.gridReadyFired)i(t,n);else if(t==="gridReady"){i(t,n),this.gridReadyFired=!0;for(const s of this.queueEvents)i(s.eventName,s.event);this.queueEvents=[]}else this.queueEvents.push({eventName:t,event:n})}}wireBeans(e){this.gridOptions=e.gridOptions,this.validation=e.validation,this.api=e.gridApi,this.gridId=e.context.getId()}get gridOptionsContext(){return this.gridOptions.context}postConstruct(){this.validateGridOptions(this.gridOptions),this.eventSvc.addGlobalListener(this.globalEventHandlerFactory().bind(this),!0),this.eventSvc.addGlobalListener(this.globalEventHandlerFactory(!0).bind(this),!1),this.propEventSvc.setFrameworkOverrides(this.beans.frameworkOverrides),this.addManagedEventListeners({gridOptionsChanged:({options:e})=>{this.updateGridOptions({options:e,force:!0,source:"optionsUpdated"})}})}destroy(){super.destroy(),this.queueEvents=[]}get(e){return this.gridOptions[e]??kG[e]}getCallback(e){return this.mergeGridCommonParams(this.gridOptions[e])}exists(e){return Ge(this.gridOptions[e])}mergeGridCommonParams(e){return e&&(n=>e(this.addCommon(n)))}updateGridOptions({options:e,force:t,source:n="api"}){const o={id:xJ++,properties:[]},i=[],{gridOptions:s,validation:r}=this;for(const a of Object.keys(e)){const l=B4.applyGlobalGridOption(a,e[a]);r?.warnOnInitialPropertyUpdate(n,a);const c=t||typeof l=="object"&&n==="api",u=s[a];if(c||u!==l){s[a]=l;const d={type:a,currentValue:l,previousValue:u,changeSet:o,source:n};i.push(d)}}this.validateGridOptions(this.gridOptions),o.properties=i.map(a=>a.type);for(const a of i)xa(this,`Updated property ${a.type} from`,a.previousValue," to ",a.currentValue),this.propEventSvc.dispatchEvent(a)}addPropertyEventListener(e,t){this.propEventSvc.addEventListener(e,t)}removePropertyEventListener(e,t){this.propEventSvc.removeEventListener(e,t)}getDomDataKey(){return this.domDataKey}addCommon(e){return e.api=this.api,e.context=this.gridOptionsContext,e}validateOptions(e,t){for(const n of Object.keys(e)){const o=e[n];if(o==null||o===!1)continue;let i=t[n];typeof i=="function"&&(i=i(e,this.gridOptions,this.beans)),i&&this.assertModuleRegistered(i,n)}}validateGridOptions(e){this.validateOptions(e,PJ),this.validation?.processGridOptions(e)}validateColDef(e,t,n){(n||!this.beans.dataTypeSvc?.isColPendingInference(t))&&(this.validateOptions(e,pJ),this.validation?.validateColDef(e))}assertModuleRegistered(e,t){const n=Array.isArray(e)?e.some(o=>this.isModuleRegistered(o)):this.isModuleRegistered(e);return n||qt(200,{...this.getModuleErrorParams(),moduleName:e,reasonOrId:t}),n}getModuleErrorParams(){return{gridId:this.gridId,gridScoped:H4(),rowModelType:this.get("rowModelType"),isUmd:HG()}}isModuleRegistered(e){return QC(e,this.gridId,this.get("rowModelType"))}setInstanceDomData(e){e[q8]=this.instanceId}isElementInThisInstance(e){let t=e;for(;t;){const n=t[q8];if(Ge(n))return n===this.instanceId;t=t.parentElement}return!1}};function AJ(e){return!!lb[e]}function LD(e){const t={"aria-hidden":"true"};return{tag:"div",cls:"ag-cell-label-container",role:"presentation",children:[{tag:"span",ref:"eMenu",cls:"ag-header-icon ag-header-cell-menu-button",attrs:t},{tag:"span",ref:"eFilterButton",cls:"ag-header-icon ag-header-cell-filter-button",attrs:t},{tag:"div",ref:"eLabel",cls:"ag-header-cell-label",role:"presentation",children:[{tag:"span",ref:"eText",cls:"ag-header-cell-text"},{tag:"span",ref:"eFilter",cls:"ag-header-icon ag-header-label-icon ag-filter-icon",attrs:t},e?{tag:"ag-sort-indicator",ref:"eSortIndicator"}:null]}]}}var _J=LD(!0),IJ=LD(!1),FJ=class extends jt{constructor(){super(...arguments),this.eFilter=$e,this.eFilterButton=$e,this.eSortIndicator=$e,this.eMenu=$e,this.eLabel=$e,this.eText=$e,this.eSortOrder=$e,this.eSortAsc=$e,this.eSortDesc=$e,this.eSortMixed=$e,this.eSortNone=$e,this.isLoadingInnerComponent=!1}refresh(e){const t=this.params;if(this.params=e,this.workOutTemplate(e,!!this.beans?.sortSvc)!=this.currentTemplate||this.workOutShowMenu()!=this.currentShowMenu||e.enableSorting!=this.currentSort||this.currentSuppressMenuHide!=null&&this.shouldSuppressMenuHide()!=this.currentSuppressMenuHide||t.enableFilterButton!=e.enableFilterButton||t.enableFilterIcon!=e.enableFilterIcon)return!1;if(this.innerHeaderComponent){const n={...e};Ro(n,e.innerHeaderComponentParams),this.innerHeaderComponent.refresh?.(n)}else this.setDisplayName(e);return!0}workOutTemplate(e,t){const n=e.template;return n?n?.trim?n.trim():n:t?_J:IJ}init(e){this.params=e;const{sortSvc:t,touchSvc:n,rowNumbersSvc:o,userCompFactory:i}=this.beans,s=t?.getSortIndicatorSelector();this.currentTemplate=this.workOutTemplate(e,!!s),this.setTemplate(this.currentTemplate,s?[s]:void 0),n?.setupForHeader(this),this.setMenu(),this.setupSort(),o?.setupForHeader(this),this.setupFilterIcon(),this.setupFilterButton(),this.workOutInnerHeaderComponent(i,e),this.setDisplayName(e)}workOutInnerHeaderComponent(e,t){const n=Qz(e,t,t);n&&(this.isLoadingInnerComponent=!0,n.newAgStackInstance().then(o=>{this.isLoadingInnerComponent=!1,o&&(this.isAlive()?(this.innerHeaderComponent=o,this.eText&&this.eText.appendChild(o.getGui())):this.destroyBean(o))}))}setDisplayName(e){const{displayName:t}=e,n=this.currentDisplayName;this.currentDisplayName=t,!(!this.eText||n===t||this.innerHeaderComponent||this.isLoadingInnerComponent)&&(this.eText.textContent=nd(t))}addInIcon(e,t,n){const o=pi(e,this.beans,n);o&&t.appendChild(o)}workOutShowMenu(){return this.params.enableMenu&&!!this.beans.menuSvc?.isHeaderMenuButtonEnabled()}shouldSuppressMenuHide(){return!!this.beans.menuSvc?.isHeaderMenuButtonAlwaysShowEnabled()}setMenu(){if(!this.eMenu)return;if(this.currentShowMenu=this.workOutShowMenu(),!this.currentShowMenu){ji(this.eMenu),this.eMenu=void 0;return}const{gos:e,eMenu:t,params:n}=this,o=qo(e);this.addInIcon(o?"menu":"menuAlt",t,n.column),t.classList.toggle("ag-header-menu-icon",!o);const i=this.shouldSuppressMenuHide();this.currentSuppressMenuHide=i,this.addManagedElementListeners(t,{click:()=>this.showColumnMenu(this.eMenu)}),this.toggleMenuAlwaysShow(i)}toggleMenuAlwaysShow(e){this.eMenu?.classList.toggle("ag-header-menu-always-show",e)}showColumnMenu(e){const{currentSuppressMenuHide:t,params:n}=this;t||this.toggleMenuAlwaysShow(!0),n.showColumnMenu(e,()=>{t||this.toggleMenuAlwaysShow(!1)})}onMenuKeyboardShortcut(e){const{params:t,gos:n,beans:o,eMenu:i,eFilterButton:s}=this,r=t.column,a=qo(n);if(e&&!a){if(o.menuSvc?.isFilterMenuInHeaderEnabled(r))return t.showFilter(s??i??this.getGui()),!0}else if(t.enableMenu)return this.showColumnMenu(i??s??this.getGui()),!0;return!1}setupSort(){const{sortSvc:e}=this.beans;if(!e)return;const{enableSorting:t,column:n}=this.params;if(this.currentSort=t,!this.eSortIndicator){this.eSortIndicator=this.createBean(e.createSortIndicator(!0));const{eSortIndicator:o,eSortOrder:i,eSortAsc:s,eSortDesc:r,eSortMixed:a,eSortNone:l}=this;o.attachCustomElements(i,s,r,a,l)}this.eSortIndicator.setupSort(n),this.currentSort&&e.setupHeader(this,n,this.eLabel)}setupFilterIcon(){const{eFilter:e,params:t}=this;if(!e)return;const n=()=>{const o=t.column.isFilterActive();hn(e,o,{skipAriaHidden:!0})};this.configureFilter(t.enableFilterIcon,e,n,"filterActive")}setupFilterButton(){const{eFilterButton:e,params:t}=this;if(!e)return;this.configureFilter(t.enableFilterButton,e,this.onFilterChangedButton.bind(this),"filter")?this.addManagedElementListeners(e,{click:()=>t.showFilter(e)}):this.eFilterButton=void 0}configureFilter(e,t,n,o){if(!e)return ji(t),!1;const i=this.params.column;return this.addInIcon(o,t,i),this.addManagedListeners(i,{filterChanged:n}),n(),!0}onFilterChangedButton(){const e=this.params.column.isFilterActive();this.eFilterButton.classList.toggle("ag-filter-active",e)}getAnchorElementForMenu(e){const{eFilterButton:t,eMenu:n}=this;return e?t??n??this.getGui():n??t??this.getGui()}destroy(){super.destroy(),this.innerHeaderComponent&&(this.destroyBean(this.innerHeaderComponent),this.innerHeaderComponent=void 0)}},OJ={tag:"div",cls:"ag-header-group-cell-label",role:"presentation",children:[{tag:"span",ref:"agLabel",cls:"ag-header-group-text",role:"presentation"},{tag:"span",ref:"agOpened",cls:"ag-header-icon ag-header-expand-icon ag-header-expand-icon-expanded"},{tag:"span",ref:"agClosed",cls:"ag-header-icon ag-header-expand-icon ag-header-expand-icon-collapsed"}]},NJ=class extends jt{constructor(){super(OJ),this.agOpened=$e,this.agClosed=$e,this.agLabel=$e,this.isLoadingInnerComponent=!1}init(e){const{userCompFactory:t,touchSvc:n}=this.beans;this.params=e,this.checkWarnings(),this.workOutInnerHeaderGroupComponent(t,e),this.setupLabel(e),this.addGroupExpandIcon(e),this.setupExpandIcons(),n?.setupForHeaderGroup(this)}checkWarnings(){this.params.template&&Me(89)}workOutInnerHeaderGroupComponent(e,t){const n=tU(e,t,t);n&&(this.isLoadingInnerComponent=!0,n.newAgStackInstance().then(o=>{this.isLoadingInnerComponent=!1,o&&(this.isAlive()?(this.innerHeaderGroupComponent=o,this.agLabel.appendChild(o.getGui())):this.destroyBean(o))}))}setupExpandIcons(){const{agOpened:e,agClosed:t,params:{columnGroup:n},beans:o}=this;this.addInIcon("columnGroupOpened",e),this.addInIcon("columnGroupClosed",t);const i=l=>{if(vr(l))return;const c=!n.isExpanded();o.colGroupSvc.setColumnGroupOpened(n.getProvidedColumnGroup(),c,"uiColumnExpanded")};this.addTouchAndClickListeners(o,t,i),this.addTouchAndClickListeners(o,e,i);const s=l=>{Xl(l)};this.addManagedElementListeners(t,{dblclick:s}),this.addManagedElementListeners(e,{dblclick:s}),this.addManagedElementListeners(this.getGui(),{dblclick:i}),this.updateIconVisibility();const r=n.getProvidedColumnGroup(),a=this.updateIconVisibility.bind(this);this.addManagedListeners(r,{expandedChanged:a,expandableChanged:a})}addTouchAndClickListeners(e,t,n){e.touchSvc?.setupForHeaderGroupElement(this,t,n),this.addManagedElementListeners(t,{click:n})}updateIconVisibility(){const{agOpened:e,agClosed:t,params:{columnGroup:n}}=this;if(n.isExpandable()){const o=n.isExpanded();hn(e,o),hn(t,!o)}else hn(e,!1),hn(t,!1)}addInIcon(e,t){const n=pi(e,this.beans,null);n&&t.appendChild(n)}addGroupExpandIcon(e){if(!e.columnGroup.isExpandable()){const{agOpened:t,agClosed:n}=this;hn(t,!1),hn(n,!1)}}setupLabel(e){const{displayName:t,columnGroup:n}=e,o=this.innerHeaderGroupComponent||this.isLoadingInnerComponent;Ge(t)&&!o&&(this.agLabel.textContent=nd(t)),this.toggleCss("ag-sticky-label",!n.getColGroupDef()?.suppressStickyLabel)}destroy(){super.destroy(),this.innerHeaderGroupComponent&&(this.destroyBean(this.innerHeaderGroupComponent),this.innerHeaderGroupComponent=void 0)}},BJ={moduleName:"ColumnHeaderComp",version:We,userComponents:{agColumnHeader:FJ},icons:{menu:"menu",menuAlt:"menu-alt"}},HJ={moduleName:"ColumnGroupHeaderComp",version:We,userComponents:{agColumnGroupHeader:NJ},icons:{columnGroupOpened:"expanded",columnGroupClosed:"contracted"}},VJ=class extends we{constructor(){super(...arguments),this.beanName="animationFrameSvc",this.p1={list:[],sorted:!1},this.p2={list:[],sorted:!1},this.f1={list:[],sorted:!1},this.destroyTasks=[],this.ticking=!1,this.scrollGoingDown=!0,this.lastScrollTop=0,this.taskCount=0}setScrollTop(e){this.scrollGoingDown=e>=this.lastScrollTop,e===0&&(this.scrollGoingDown=!0),this.lastScrollTop=e}postConstruct(){this.active=!this.gos.get("suppressAnimationFrame"),this.batchFrameworkComps=this.beans.frameworkOverrides.batchFrameworkComps}verify(){this.active===!1&&Me(92)}createTask(e,t,n,o,i=!1){this.verify();let s=n;o&&this.batchFrameworkComps&&(s="f1");const r={task:e,index:t,createOrder:++this.taskCount,deferred:i};this.addTaskToList(this[s],r),this.schedule()}addTaskToList(e,t){e.list.push(t),e.sorted=!1}sortTaskList(e){if(e.sorted)return;const t=this.scrollGoingDown?1:-1;e.list.sort((n,o)=>n.deferred!==o.deferred?n.deferred?-1:1:n.index!==o.index?t*(o.index-n.index):o.createOrder-n.createOrder),e.sorted=!0}
55addDestroyTask(e){this.verify(),this.destroyTasks.push(e),this.schedule()}executeFrame(e){const{p1:t,p2:n,f1:o,destroyTasks:i,beans:s}=this,{ctrlsSvc:r,frameworkOverrides:a}=s,l=t.list,c=n.list,u=o.list,d=Date.now();let h=0;const p=e<=0,f=r.getScrollFeature();for(;p||h<e;){if(!f.scrollGridIfNeeded()){let m;if(l.length)this.sortTaskList(t),m=l.pop().task;else if(c.length)this.sortTaskList(n),m=c.pop().task;else if(u.length)a.wrapOutgoing(()=>{for(;(p||h<e)&&!f.scrollGridIfNeeded();){if(u.length)this.sortTaskList(o),m=u.pop().task,m();else break;h=Date.now()-d}}),m=()=>{};else if(i.length)m=i.pop();else break;m()}h=Date.now()-d}l.length||c.length||u.length||i.length?this.requestFrame():this.ticking=!1}flushAllFrames(){this.active&&this.executeFrame(-1)}schedule(){this.active&&(this.ticking||(this.ticking=!0,this.requestFrame()))}requestFrame(){const e=this.executeFrame.bind(this,60);Br(this.beans,e)}isQueueEmpty(){return!this.ticking}},$J={moduleName:"AnimationFrame",version:We,beans:[VJ]},WJ=class extends we{constructor(){super(...arguments),this.beanName="iconSvc"}createIconNoSpan(e,t){return pi(e,this.beans,t?.column)}},GJ=class extends we{constructor(){super(...arguments),this.beanName="touchSvc"}mockBodyContextMenu(e,t){this.mockContextMenu(e,e.eBodyViewport,t)}mockHeaderContextMenu(e,t){this.mockContextMenu(e,e.eGui,t)}mockRowContextMenu(e){if(!_l())return;const t=(n,o,i)=>{const{rowCtrl:s,cellCtrl:r}=e.getControlsForEventTarget(i?.target??null);r?.column&&r.dispatchCellContextMenuEvent(i??null),this.beans.contextMenuSvc?.handleContextMenuMouseEvent(void 0,i,s,r)};this.mockContextMenu(e,e.element,t)}handleCellDoubleClick(e,t){return(()=>{if(!_l()||FL("dblclick"))return!1;const o=Date.now(),i=o-e.lastIPadMouseClickEvent<200;return e.lastIPadMouseClickEvent=o,i})()?(e.onCellDoubleClicked(t),t.preventDefault(),!0):!1}setupForHeader(e){const{gos:t,sortSvc:n,menuSvc:o}=this.beans;if(t.get("suppressTouch"))return;const{params:i,eMenu:s,eFilterButton:r}=e,a=new hl(e.getGui(),!0);e.addDestroyFunc(()=>a.destroy());const l=e.shouldSuppressMenuHide(),c=l&&Ge(s)&&i.enableMenu;let u=a;if(c&&(u=new hl(s,!0),e.addDestroyFunc(()=>u.destroy())),i.enableMenu||o?.isHeaderContextMenuEnabled(i.column)){const d=c?"tap":"longTap",h=p=>i.showColumnMenuAfterMouseClick(p.touchStart);e.addManagedListeners(u,{[d]:h}),e.addManagedListeners(a,{longTap:h})}if(i.enableSorting){const d=h=>{const p=h.touchStart.target;l&&(s?.contains(p)||r?.contains(p))||n?.progressSort(i.column,!1,"uiColumnSorted")};e.addManagedListeners(a,{tap:d})}if(i.enableFilterButton&&r){const d=new hl(r,!0);e.addManagedListeners(d,{tap:()=>i.showFilter(r)}),e.addDestroyFunc(()=>d.destroy())}}setupForHeaderGroup(e){const t=e.params;if(this.beans.menuSvc?.isHeaderContextMenuEnabled(t.columnGroup.getProvidedColumnGroup())){const n=new hl(t.eGridHeader,!0),o=i=>t.showColumnMenuAfterMouseClick(i.touchStart);e.addManagedListeners(n,{longTap:o}),e.addDestroyFunc(()=>n.destroy())}}setupForHeaderGroupElement(e,t,n){const o=new hl(t,!0);e.addManagedListeners(o,{tap:n}),e.addDestroyFunc(()=>o.destroy())}mockContextMenu(e,t,n){if(!_l())return;const o=new hl(t),i=s=>{$h(this.beans,s.touchEvent)&&n(void 0,s.touchStart,s.touchEvent)};e.addManagedListeners(o,{longTap:i}),e.addDestroyFunc(()=>o.destroy())}},zJ={moduleName:"Touch",version:We,beans:[GJ]},UJ=class extends we{constructor(){super(...arguments),this.beanName="cellNavigation"}wireBeans(e){this.rowSpanSvc=e.rowSpanSvc}getNextCellToFocus(e,t,n=!1){return n?this.getNextCellToFocusWithCtrlPressed(e,t):this.getNextCellToFocusWithoutCtrlPressed(e,t)}getNextCellToFocusWithCtrlPressed(e,t){const n=e===he.UP,o=e===he.DOWN,i=e===he.LEFT;let s,r;const{pageBounds:a,gos:l,visibleCols:c,pinnedRowModel:u}=this.beans,{rowPinned:d}=t;if(n||o)d&&u?n?r=0:r=d==="top"?u.getPinnedTopRowCount()-1:u.getPinnedBottomRowCount()-1:r=n?a.getFirstRow():a.getLastRow(),s=t.column;else{const h=l.get("enableRtl");r=t.rowIndex,s=(i!==h?c.allCols:[...c.allCols].reverse()).find(f=>this.isCellGoodToFocusOn({rowIndex:r,rowPinned:null,column:f}))}return s?{rowIndex:r,rowPinned:d,column:s}:null}getNextCellToFocusWithoutCtrlPressed(e,t){let n=t,o=!1;for(;!o;){switch(e){case he.UP:n=this.getCellAbove(n);break;case he.DOWN:n=this.getCellBelow(n);break;case he.RIGHT:n=this.gos.get("enableRtl")?this.getCellToLeft(n):this.getCellToRight(n);break;case he.LEFT:n=this.gos.get("enableRtl")?this.getCellToRight(n):this.getCellToLeft(n);break;default:n=null,Me(8,{key:e});break}n?o=this.isCellGoodToFocusOn(n):o=!0}return n}isCellGoodToFocusOn(e){const t=e.column;let n;const{pinnedRowModel:o,rowModel:i}=this.beans;switch(e.rowPinned){case"top":n=o?.getPinnedTopRow(e.rowIndex);break;case"bottom":n=o?.getPinnedBottomRow(e.rowIndex);break;default:n=i.getRow(e.rowIndex);break}return n?!this.isSuppressNavigable(t,n):!1}getCellToLeft(e){if(!e)return null;const t=this.beans.visibleCols.getColBefore(e.column);return t?{rowIndex:e.rowIndex,column:t,rowPinned:e.rowPinned}:null}getCellToRight(e){if(!e)return null;const t=this.beans.visibleCols.getColAfter(e.column);return t?{rowIndex:e.rowIndex,column:t,rowPinned:e.rowPinned}:null}getCellBelow(e){if(!e)return null;const t=this.rowSpanSvc?.getCellEnd(e)??e,n=F8(this.beans,t,!0);return n?{rowIndex:n.rowIndex,column:e.column,rowPinned:n.rowPinned}:null}getCellAbove(e){if(!e)return null;const t=this.rowSpanSvc?.getCellStart(e)??e,n=om(this.beans,{rowIndex:t.rowIndex,rowPinned:t.rowPinned},!0);return n?{rowIndex:n.rowIndex,column:e.column,rowPinned:n.rowPinned}:null}getNextTabbedCell(e,t){return t?this.getNextTabbedCellBackwards(e):this.getNextTabbedCellForwards(e)}getNextTabbedCellForwards(e){const{visibleCols:t,pagination:n}=this.beans,o=t.allCols;let i=e.rowIndex,s=e.rowPinned,r=t.getColAfter(e.column);if(!r){r=o[0];const a=F8(this.beans,e,!0);if(pn(a)||!a.rowPinned&&!(n?.isRowInPage(a.rowIndex)??!0))return null;i=a?a.rowIndex:null,s=a?a.rowPinned:null}return{rowIndex:i,column:r,rowPinned:s}}getNextTabbedCellBackwards(e){const{beans:t}=this,{visibleCols:n,pagination:o}=t,i=n.allCols;let s=e.rowIndex,r=e.rowPinned,a=n.getColBefore(e.column);if(!a){a=on(i);const l=om(t,{rowIndex:e.rowIndex,rowPinned:e.rowPinned},!0);if(pn(l)||!l.rowPinned&&!(o?.isRowInPage(l.rowIndex)??!0))return null;s=l?l.rowIndex:null,r=l?l.rowPinned:null}return{rowIndex:s,column:a,rowPinned:r}}isSuppressNavigable(e,t){const{suppressNavigable:n}=e.colDef;if(typeof n=="boolean")return n;if(typeof n=="function"){const o=e.createColumnFunctionCallbackParams(t);return n(o)}return!1}};function jJ(e){return e.focusSvc.getFocusedCell()}function ZJ(e){return e.focusSvc.clearFocusedCell()}function KJ(e,t,n,o){e.focusSvc.setFocusedCell({rowIndex:t,column:n,rowPinned:o,forceBrowserFocus:!0})}function qJ(e,t){return e.navigation?.tabToNextCell(!1,t)??!1}function YJ(e,t){return e.navigation?.tabToNextCell(!0,t)??!1}function XJ(e,t,n=!1){const o=e.headerNavigation?.getHeaderPositionForColumn(t,n);o&&e.focusSvc.focusHeaderPosition({headerPosition:o})}var JJ=class extends we{constructor(){super(...arguments),this.beanName="editModelSvc",this.edits=new Map,this.cellValidations=new xD,this.rowValidations=new DD,this.suspendEdits=!1}suspend(e){this.suspendEdits=e}removeEdits({rowNode:e,column:t}){if(!this.hasEdits({rowNode:e})||!e)return;const n=this.getEditRow(e);t?n.delete(t):n.clear(),n.size===0&&this.edits.delete(e)}getEditRow(e,t={}){if(this.suspendEdits||this.edits.size===0)return;const n=e&&this.edits.get(e);if(n)return n;if(t.checkSiblings){const o=e.pinnedSibling;if(o)return this.getEditRow(o)}}getEditRowDataValue(e,{checkSiblings:t}={}){if(!e||this.edits.size===0)return;const n=this.getEditRow(e),o=e.pinnedSibling,i=t&&o&&this.getEditRow(o);if(!n&&!i)return;const s=Object.assign({},e.data),r=(a,l)=>
55a.forEach(({pendingValue:c},u)=>{c!==Ri&&(l[u.getColId()]=c)});return n&&r(n,s),i&&r(i,s),s}getEdit(e,t){const n=this._getEdit(e);return t&&n?{...n}:n}_getEdit(e){if(!this.suspendEdits&&this.edits.size!==0)return e.rowNode&&e.column&&this.getEditRow(e.rowNode)?.get(e.column)}getEditMap(e=!0){if(this.suspendEdits||this.edits.size===0)return new Map;if(!e)return this.edits;const t=new Map;return this.edits.forEach((n,o)=>{const i=new Map;n.forEach(({editorState:s,...r},a)=>i.set(a,{...r})),t.set(o,i)}),t}setEditMap(e){this.edits.clear(),e.forEach((t,n)=>{const o=new Map;t.forEach((i,s)=>o.set(s,{...i})),this.edits.set(n,o)})}setEdit(e,t){(this.edits.size===0||!this.edits.has(e.rowNode))&&this.edits.set(e.rowNode,new Map);const n=this._getEdit(e),o=Object.assign({editorState:{isCancelAfterEnd:void 0,isCancelBeforeStart:void 0},...n,...t});return this.getEditRow(e.rowNode).set(e.column,o),o}clearEditValue(e){const{rowNode:t,column:n}=e;if(t)if(n){const o=this._getEdit(e);o&&(o.editorValue=void 0,o.pendingValue=o.sourceValue,o.state="changed")}else this.getEditRow(t)?.forEach(o=>{o.editorValue=void 0,o.pendingValue=o.sourceValue,o.state="changed"})}getState(e){if(!this.suspendEdits)return this.getEdit(e)?.state}getEditPositions(e){if(this.suspendEdits||(e??this.edits).size===0)return[];const t=[];return(e??this.edits).forEach((n,o)=>{for(const i of n.keys()){const{editorState:s,...r}=n.get(i);t.push({rowNode:o,column:i,...r})}}),t}hasRowEdits(e,t){return this.suspendEdits||this.edits.size===0?!1:!!this.getEditRow(e,t)}hasEdits(e={},t={}){if(this.suspendEdits||this.edits.size===0)return!1;const{rowNode:n,column:o}=e,{withOpenEditor:i}=t;if(n){const s=this.getEditRow(n,t);return s?o?i?this.getEdit(e)?.state==="editing":s.has(o)??!1:s.size!==0?i?Array.from(s.values()).some(({state:r})=>r==="editing"):!0:!1:!1}return i?this.getEditPositions().some(({state:s})=>s==="editing"):this.edits.size>0}start(e){const t=this.getEditRow(e.rowNode)??new Map,{rowNode:n,column:o}=e;o&&!t.has(o)&&t.set(o,{editorValue:void 0,pendingValue:Ri,sourceValue:this.beans.valueSvc.getValue(o,n,!1,"api"),state:"editing",editorState:{isCancelAfterEnd:void 0,isCancelBeforeStart:void 0}}),this.edits.set(n,t)}stop(e){this.hasEdits(e)&&(e?this.removeEdits(e):this.clear())}clear(){for(const e of this.edits.values())e.clear();this.edits.clear()}getCellValidationModel(){return this.cellValidations}getRowValidationModel(){return this.rowValidations}setCellValidationModel(e){this.cellValidations=e}setRowValidationModel(e){this.rowValidations=e}destroy(){super.destroy(),this.clear()}},xD=class{constructor(){this.cellValidations=new Map}getCellValidation(e){const{rowNode:t,column:n}=e||{};return this.cellValidations?.get(t)?.get(n)}hasCellValidation(e){return!e?.rowNode||!e.column?this.cellValidations.size>0:!!this.getCellValidation(e)}setCellValidation(e,t){const{rowNode:n,column:o}=e;this.cellValidations.has(n)||this.cellValidations.set(n,new Map),this.cellValidations.get(n).set(o,t)}clearCellValidation(e){const{rowNode:t,column:n}=e;this.cellValidations.get(t)?.delete(n)}setCellValidationMap(e){this.cellValidations=e}getCellValidationMap(){return this.cellValidations}clearCellValidationMap(){this.cellValidations.clear()}},DD=class{constructor(){this.rowValidations=new Map}getRowValidation(e){const{rowNode:t}=e||{};return this.rowValidations.get(t)}hasRowValidation(e){return e?.rowNode?!!this.getRowValidation(e):this.rowValidations.size>0}setRowValidation({rowNode:e},t){this.rowValidations.set(e,t)}clearRowValidation({rowNode:e}){this.rowValidations.delete(e)}setRowValidationMap(e){this.rowValidations=e}getRowValidationMap(){return this.rowValidations}clearRowValidationMap(){this.rowValidations.clear()}};function ub(e,t={}){const{rowIndex:n,rowId:o,rowCtrl:i,rowPinned:s}=t;if(i)return i;const{rowModel:r,rowRenderer:a}=e;let{rowNode:l}=t;return l||(o?l=Sq(e,o,s):n!=null&&(l=r.getRow(n))),a.getRowCtrls(l?[l]:[])?.[0]}function mn(e,t={}){const{cellCtrl:n,colId:o,columnId:i,column:s}=t;if(n)return n;const r=e.colModel.getCol(o??i??S5(s)),a=t.rowCtrl??ub(e,t),l=a?.getCellCtrl(r)??void 0;if(l)return l;const c=t.rowNode??a?.rowNode;if(c)return e.rowRenderer.getCellCtrls([c],[r])?.[0]}function Y8(e){const{editSvc:t}=e;t?.isBatchEditing()?mu(e):t?.stopEditing(void 0,{source:"api"})}function QJ(e,t,n){const{gos:o,popupSvc:i}=t;if(!o.get("stopEditingWhenCellsLoseFocus"))return;const s=r=>{const a=r.relatedTarget;if(a5(a)===null){Y8(t);return}let l=n.some(c=>c.contains(a))&&o.isElementInThisInstance(a);l||(l=!!i&&(i.getActivePopups().some(c=>c.contains(a))||i.isElementWithinCustomPopup(a))),l||Y8(t)};for(const r of n)e.addManagedElementListeners(r,{focusout:s})}function S5(e){if(e)return typeof e=="string"?e:e.getColId()}var Ri=Symbol("unedited");function kD(e,t={}){const n=[],o=e.rowRenderer.getCellCtrls(t.rowNodes,t.columns);
55for(const i of o){const s=i.comp?.getCellEditor();s&&n.push({ctrl:i,editor:Uh(s)})}return n}var eQ=(e,t={})=>kD(e,t).map(n=>n.editor);function tQ(e,t,n,o,i,s){t.length===0&&n?.rowNode&&n?.column&&Au(e,n,{key:o,event:i,cellStartedEdit:s});const{valueSvc:r,editSvc:a,editModelSvc:l}=e,{rowNode:c,column:u}=n??{};for(const d of t){const{rowNode:h,column:p}=d,f=mn(e,d);if(!f){if(h&&p){const m=r.getValue(p,h,void 0,"api"),b=(n?.rowNode===h&&n?.column===p&&o||void 0)??a?.getCellDataValue(d,!1)??r.getValueForDisplay(p,h)?.value??m??Ri;l?.setEdit(d,{pendingValue:b,sourceValue:m,state:"editing"})}continue}const g=s&&c===f.rowNode&&f.column===u;Au(e,{rowNode:c,column:f.column},{key:g?o:null,event:g?i:null,cellStartedEdit:g&&s})}}function ur({pendingValue:e,sourceValue:t}){return e===Ri&&(e=t),e!==t}function Au(e,t,n){const o=e.gos.get("enableGroupEdit"),{key:i,event:s,cellStartedEdit:r,silent:a}=n??{},l=mn(e,t),c=l?.comp?.getCellEditor(),u=_D(e,t,i,r&&!a),d=e.editModelSvc?.getEdit(t);let h=u.value;if(h===void 0&&(h=d?.sourceValue),e.editModelSvc?.setEdit(t,{editorValue:h,state:"editing"}),c){c.refresh?.(u);return}const p=t.column.getColDef(),f=Cx(e.userCompFactory,p,u),g=f?.popupFromSelector!=null?f.popupFromSelector:!!p.cellEditorPopup,m=f?.popupPositionFromSelector!=null?f.popupPositionFromSelector:p.cellEditorPopupPosition;if(ID(f.params,s),l){l.editCompDetails=f,l.onEditorAttachedFuncs.push(()=>l.rangeFeature?.unsetComp()),l.comp?.setEditDetails(f,g,m,e.gos.get("reactiveCustomComponents")),l?.rowCtrl?.refreshRow({suppressFlash:!0});const v=e.editModelSvc?.getEdit(t,!0);!a&&!v?.editorState?.cellStartedEditing&&(e.editSvc?.dispatchCellEvent(t,s,"cellEditingStarted",o?{value:h}:{}),e.editModelSvc?.setEdit(t,{editorState:{cellStartedEditing:!0}}))}}function AD(e,t,n){const o={editorValueExists:!1};if(db(e)&&(t.getValidationErrors?.()?.length??0)>0||n?.isCancelling)return o;if(n?.isStopping){const s=t?.isCancelAfterEnd?.();if(s)return{...o,isCancelAfterEnd:s}}return{editorValue:t.getValue(),editorValueExists:!0}}function _D(e,t,n,o){const{valueSvc:i,gos:s,editSvc:r}=e,a=e.gos.get("enableGroupEdit"),l=mn(e,t),c=t.rowNode?.rowIndex??void 0,u=r?.isBatchEditing(),d=e.colModel.getCol(t.column.getId()),{rowNode:h,column:p}=t,f=l.comp?.getCellEditor(),g=r?.getCellDataValue(t,!1),m=g===void 0?f?AD(e,f)?.editorValue:void 0:g,v=m===Ri?i.getValueForDisplay(d,h)?.value:m;return st(s,{value:a?m:v,eventKey:n??null,column:p,colDef:p.getColDef(),rowIndex:c,node:h,data:h.data,cellStartedEdit:o??!1,onKeyDown:l?.onKeyDown.bind(l),stopEditing:y=>{r.stopEditing(t,{source:u?"ui":"api",suppressNavigateAfterEdit:y}),im(e,t)},eGridCell:l?.eGui,parseValue:y=>i.parseValue(d,h,y,l?.value),formatValue:l?.formatValue.bind(l),validate:()=>{r?.validateEdit()}})}function E5(e,t){const{editModelSvc:n}=e;
55n?.getEditMap().forEach((o,i)=>{o.forEach((s,r)=>{!t&&(s.state==="editing"||s.pendingValue===Ri)||!ur(s)&&(s.state!=="editing"||t)&&n?.removeEdits({rowNode:i,column:r})})})}function nQ(e,t){const n=t.comp?.getCellEditor();if(!n?.refresh)return;const{eventKey:o,cellStartedEdit:i}=t.editCompDetails.params,{column:s}=t,r=_D(e,t,o,i),a=s.getColDef(),l=Cx(e.userCompFactory,a,r);n.refresh(ID(l.params,o))}function ID(e,t){return t instanceof KeyboardEvent&&e.column.getColDef().cellEditor==="agNumberCellEditor"?e.suppressPreventDefault=["-","+",".","e"].includes(t?.key??"")||e.suppressPreventDefault:t?.preventDefault?.(),e}function Cl(e,t){for(const n of e.editModelSvc?.getEditPositions()??[]){const o=mn(e,n);if(!o)continue;const i=o.comp?.getCellEditor();if(!i)continue;const{editorValue:s,editorValueExists:r,isCancelAfterEnd:a}=AD(e,i,t);a&&e.editModelSvc?.setEdit(n,{editorState:{isCancelAfterEnd:a}}),P1(e,n,s,void 0,!r,t)}}function P1(e,t,n,o,i,s){const{editModelSvc:r,valueSvc:a}=e;if(!r)return;const{rowNode:l,column:c}=t;if(!(l&&c))return;let u=r.getEdit(t,!0);u?.sourceValue||(u=r.setEdit(t,{sourceValue:a.getValue(c,l,void 0,"api"),pendingValue:u?u.editorValue:Ri})),r.setEdit(t,{editorValue:i?u.sourceValue:n}),s?.persist&&oQ(e,t)}function oQ(e,t){const{editModelSvc:n}=e,o=n?.getEdit(t,!0);n?.setEdit(t,{pendingValue:o?.editorValue})}function mu(e,t,n){t||(t=e.editModelSvc?.getEditPositions());for(const o of t??[])im(e,o,n)}function im(e,t,n){const o=e.gos.get("enableGroupEdit"),{editModelSvc:i}=e,s=mn(e,t),r=i?.getEdit(t,!0);if(!s){r&&i?.setEdit(t,{state:"changed"});return}const{comp:a}=s;if(a&&!a.getCellEditor()){if(s?.refreshCell(),r){i?.setEdit(t,{state:"changed"});const c=o?X8(n,r):{valueChanged:!1,newValue:void 0,oldValue:r.sourceValue};J8(e,t,c,n)}return}if(db(e)){const c=a?.getCellEditor()?.getValidationErrors?.(),u=i?.getCellValidationModel();c?.length?u?.setCellValidation(t,{errorMessages:c}):u?.clearCellValidation(t)}i?.setEdit(t,{state:"changed"}),a?.setEditDetails(),a?.refreshEditStyles(!1,!1),s?.refreshCell({force:!0,suppressFlash:!0});const l=i?.getEdit(t);if(l&&l.state==="changed"){const c=o?X8(n,l):{valueChanged:ur(l)&&!n?.cancel,newValue:n?.cancel||l.editorState.isCancelAfterEnd?void 0:l?.editorValue??r?.pendingValue,oldValue:l?.sourceValue};J8(e,t,c,n)}}function X8(e,t){return e?.cancel?{valueChanged:!1,oldValue:t.sourceValue,newValue:void 0,value:t.sourceValue}:{valueChanged:!1,oldValue:t.sourceValue,newValue:t.pendingValue,value:t.sourceValue}}function J8(e,t,n,{silent:o,event:i}={}){const{editSvc:s,editModelSvc:r}=e,a=r?.getEdit(t),{editorState:l}=a||{},{isCancelBeforeStart:c}=l||{};!o&&!c&&(s?.dispatchCellEvent(t,i,"cellEditingStopped",n),r?.setEdit(t,{editorState:{cellStoppedEditing:!0}}))}function db(e){const{gos:t,colModel:n}=e,o=!!t.get("getFullRowEditValidationErrors"),i=n.getColumnDefs()?.filter(r=>r.editable).some(({cellEditorParams:r})=>{const{minLength:a,maxLength:l,getValidationErrors:c,min:u,max:d}=r||{};return a!==void 0||l!==void 0||c!==void 0||u!==void 0||d!==void 0}),s=e.gridApi.getCellEditorInstances().some(r=>r.getValidationElement||r.getValidationErrors);return i||o||s}function Jl(e,t){if(!(t||db(e)))return;const n=kD(e),o=new xD,{ariaAnnounce:i,localeSvc:s,editModelSvc:r,gos:a}=e,l=a.get("editType")==="fullRow",u=NL(s)("ariaValidationErrorPrefix","Cell Editor Validation");for(const h of n){const{ctrl:p,editor:f}=h,{rowNode:g,column:m}=p,v=f.getValidationErrors?.()??[],y=f.getValidationElement?.(!1)||!f.isPopup?.()&&p.eGui;if(y){const b=v!=null&&v.length>0,w=b?v.join(". "):"";YW(y,b),b&&i.announceValue(`${u} ${v}`,"editorValidation"),y instanceof HTMLInputElement?y.setCustomValidity(w):y.classList.toggle("invalid",b)}v?.length>0&&o.setCellValidation({rowNode:g,column:m},{errorMessages:v})}Cl(e,{persist:!1}),r?.setCellValidationModel(o);const d=new Set;for(const{ctrl:h}of n)d.add(h.rowCtrl);if(l){const h=iQ(e);r?.setRowValidationModel(h)}for(const h of d.values()){h.rowEditStyleFeature?.applyRowStyles();for(const p of h.getAllCellCtrls())p.tooltipFeature?.refreshTooltip(!0),p.editorTooltipFeature?.refreshTooltip(!0),p.editStyleFeature?.applyCellStyles?.()}}var iQ=e=>{const t=new DD,n=e.gos.get("getFullRowEditValidationErrors"),o=e.editModelSvc?.getEditMap();if(!o)return t;for(const i of o.keys()){const s=o.get(i);if(!s)continue;const r=[],{rowIndex:a,rowPinned:l}=i;for(const u of s.keys()){const d=s.get(u);if(!d)continue;const{editorValue:h,pendingValue:p,sourceValue:f}=d,g=h??(p===Ri?void 0:p)??f;r.push({column:u,colId:u.getColId(),rowIndex:a,rowPinned:l,oldValue:f,newValue:g})}const c=n?.({editorsState:r})??[];c.length>0&&t.setRowValidation({rowNode:i},{errorMessages:c})}return t};function sQ(e){Jl(e,!0);const t=e.editModelSvc?.getCellValidationModel().getCellValidationMap();if(!t)return null;const n=[];return t.forEach((o,i)=>{o.forEach(({errorMessages:s},r)=>{n.push({column:r,rowIndex:i.rowIndex,rowPinned:i.rowPinned,messages:s??null})})}),n}function rQ(e,t,n,{rowNode:o,column:i},s){return st(e.gos,{type:n,node:o,data:o.data,value:s,column:i,colDef:i.getColDef(),rowPinned:o.rowPinned,event:t,rowIndex:o.rowIndex})}function aQ(e,t=!1){return e===he.DELETE?!0:!t&&e===he.BACKSPACE?wx():!1}var lQ=class extends we{constructor(e,t,n,o){super(),this.cellCtrl=e,this.rowNode=n,this.rowCtrl=o,this.beans=t}init(){this.eGui=this.cellCtrl.eGui}onKeyDown(e){const t=e.key;
55switch(t){case he.ENTER:this.onEnterKeyDown(e);break;case he.F2:this.onF2KeyDown(e);break;case he.ESCAPE:this.onEscapeKeyDown(e);break;case he.TAB:this.onTabKeyDown(e);break;case he.BACKSPACE:case he.DELETE:this.onBackspaceOrDeleteKeyDown(t,e);break;case he.DOWN:case he.UP:case he.RIGHT:case he.LEFT:this.onNavigationKeyDown(e,t);break}}onNavigationKeyDown(e,t){const{cellCtrl:n,beans:o}=this;if(!o.editSvc?.isEditing(n,{withOpenEditor:!0})){if(e.shiftKey&&n.isRangeSelectionEnabled())this.onShiftRangeSelect(e);else{const i=n.getFocusedCellPosition();o.navigation?.navigateToNextCell(e,t,i,!0)}e.preventDefault()}}onShiftRangeSelect(e){const{rangeSvc:t,navigation:n}=this.beans;if(!t)return;const o=t.extendLatestRangeInDirection(e);o&&(e.key===he.LEFT||e.key===he.RIGHT?n?.ensureColumnVisible(o.column):n?.ensureRowVisible(o.rowIndex))}onTabKeyDown(e){this.beans.navigation?.onTabKeyDown(this.cellCtrl,e)}onBackspaceOrDeleteKeyDown(e,t){const{cellCtrl:n,beans:o,rowNode:i}=this,{gos:s,rangeSvc:r,eventSvc:a,editSvc:l}=o;if(a.dispatchEvent({type:"keyShortcutChangedCellStart"}),aQ(e,s.get("enableCellEditingOnBackspace"))&&!l?.isEditing(n,{withOpenEditor:!0})){if(r&&Rr(s))r.clearCellRangeCellValues({dispatchWrapperEvents:!0,wrapperEventSource:"deleteKey"});else if(n.isCellEditable()){const{column:c}=n,u=this.beans.valueSvc.getDeleteValue(c,i);i.setDataValue(c,u,"cellClear")}}else l?.isEditing(n,{withOpenEditor:!0})||o.editSvc?.startEditing(n,{startedEdit:!0,event:t});a.dispatchEvent({type:"keyShortcutChangedCellEnd"})}onEnterKeyDown(e){const{cellCtrl:t,beans:n}=this,{editSvc:o,navigation:i}=n,s=o?.isEditing(t,{withOpenEditor:!0}),r=t.rowNode,a=o?.isRowEditing(r,{withOpenEditor:!0}),l=c=>{o?.startEditing(c,{startedEdit:!0,event:e,source:"edit"})&&e.preventDefault()};if(s||a){if(this.isCtrlEnter(e)){o?.applyBulkEdit(t,n?.rangeSvc?.getCellRanges()||[]);return}if(Jl(n),o?.checkNavWithValidation(void 0,e)==="block-stop")return;o?.isEditing(t,{withOpenEditor:!0})?o?.stopEditing(t,{event:e,source:"edit"}):a&&!t.isCellEditable()?o?.stopEditing({rowNode:r},{event:e,source:"edit"}):l(t)}else if(n.gos.get("enterNavigatesVertically")){const c=e.shiftKey?he.UP:he.DOWN;i?.navigateToNextCell(null,c,t.cellPosition,!1)}else{if(o?.hasValidationErrors())return;o?.hasValidationErrors(t)&&o.revertSingleCellEdit(t,!0),l(t)}}isCtrlEnter(e){return(e.ctrlKey||e.metaKey)&&e.key===he.ENTER}onF2KeyDown(e){const{cellCtrl:t,beans:{editSvc:n}}=this;n?.isEditing()&&(Jl(this.beans),n?.checkNavWithValidation(void 0,e)==="block-stop")||n?.startEditing(t,{startedEdit:!0,event:e})}onEscapeKeyDown(e){const{cellCtrl:t,beans:{editSvc:n}}=this;n?.checkNavWithValidation(t,e)==="block-stop"&&n.revertSingleCellEdit(t),n?.stopEditing(t,{event:e,cancel:!0})}processCharacter(e){const n=e.target!==this.eGui,{beans:{editSvc:o},cellCtrl:i}=this;if(n||o?.isEditing(i,{withOpenEditor:!0}))return;if(e.key===he.SPACE)this.onSpaceKeyDown(e);else if(o?.isCellEditable(i,"ui")){if(o?.hasValidationErrors()&&!o?.hasValidationErrors(i))return;o?.startEditing(i,{startedEdit:!0,event:e,source:"api"}),!i.editCompDetails?.params?.suppressPreventDefault&&e.preventDefault()}}onSpaceKeyDown(e){const{gos:t,editSvc:n}=this.beans,{rowNode:o}=this.cellCtrl;!n?.isEditing(this.cellCtrl,{withOpenEditor:!0})&&kl(t)&&this.beans.selectionSvc?.handleSelectionEvent(e,o,"spaceKey"),e.preventDefault()}},cQ=class extends we{constructor(e,t,n){super(),this.cellCtrl=e,this.column=n,this.beans=t}onMouseEvent(e,t){if(!vr(t))switch(e){case"click":this.onCellClicked(t);break;case"mousedown":case"touchstart":this.onMouseDown(t);break;case"dblclick":this.onCellDoubleClicked(t);break;case"mouseout":this.onMouseOut(t);break;case"mouseover":this.onMouseOver(t);break}}onCellClicked(e){if(this.beans.touchSvc?.handleCellDoubleClick(this,e))return;const{eventSvc:t,rangeSvc:n,editSvc:o,editModelSvc:i,frameworkOverrides:s,gos:r}=this.beans,a=e.ctrlKey||e.metaKey,{cellCtrl:l}=this,{column:c,cellPosition:u,rowNode:d}=l,h=w1(r,c,d,e);n&&a&&!h&&n.getCellRangeCount(u)>1&&n.intersectLastRange(!0);const p=l.createEvent(e,"cellClicked");
55p.isEventHandlingSuppressed=h,t.dispatchEvent(p);const f=c.getColDef();if(f.onCellClicked&&window.setTimeout(()=>{s.wrapOutgoing(()=>{f.onCellClicked(p)})},0),!h&&i?.getState(l)!=="editing"){const g=o?.isEditing(),m=i?.getCellValidationModel().getCellValidationMap().size??0,v=i?.getRowValidationModel().getRowValidationMap().size??0;if(g&&(m>0||v>0))return;o?.shouldStartEditing(l,e)?o?.startEditing(l,{event:e}):o?.shouldStopEditing(l,e)&&(this.beans.gos.get("editType")==="fullRow"?o?.stopEditing(l,{event:e,source:"edit"}):o?.stopEditing(void 0,{event:e,source:"edit"}))}}onCellDoubleClicked(e){const{column:t,beans:n,cellCtrl:o}=this,{eventSvc:i,frameworkOverrides:s,editSvc:r,editModelSvc:a,gos:l}=n,c=w1(l,o.column,o.rowNode,e),u=t.getColDef(),d=o.createEvent(e,"cellDoubleClicked");if(d.isEventHandlingSuppressed=c,i.dispatchEvent(d),typeof u.onCellDoubleClicked=="function"&&window.setTimeout(()=>{s.wrapOutgoing(()=>{u.onCellDoubleClicked(d)})},0),!c&&r?.shouldStartEditing(o,e)&&a?.getState(o)!=="editing"){const h=r?.isEditing(),p=a?.getCellValidationModel().getCellValidationMap().size??0,f=a?.getRowValidationModel().getRowValidationMap().size??0;if(h&&(p>0||f>0))return;r?.startEditing(o,{event:e})}}onMouseDown(e){const{ctrlKey:t,metaKey:n,shiftKey:o}=e,i=e.target,{cellCtrl:s,beans:r}=this,{eventSvc:a,rangeSvc:l,rowNumbersSvc:c,focusSvc:u,gos:d,editSvc:h}=r,{column:p,rowNode:f,cellPosition:g}=s,m=w1(d,p,f,e),v=()=>{const S=s.createEvent(e,"cellMouseDown");S.isEventHandlingSuppressed=m,a.dispatchEvent(S)};if(m){v();return}if(this.isRightClickInExistingRange(e))return;const y=l&&!l.isEmpty(),b=this.containsWidget(i),w=gr(p);if(c&&w&&!c.handleMouseDownOnCell(g,e)){l&&e.preventDefault(),e.stopImmediatePropagation();return}if(!o||!y){const S=h?.isEditing(s),T=d.get("enableCellTextSelection")&&e.defaultPrevented,R=(Ua()||T)&&!S&&!ih(i)&&!b;s.focusCell(R,e)}if(o&&y&&!u.isCellFocused(g)){e.preventDefault();const S=u.getFocusedCell();if(S){const{column:E,rowIndex:T,rowPinned:R}=S;h?.isEditing(S)&&h?.stopEditing(S),u.setFocusedCell({column:E,rowIndex:T,rowPinned:R,forceBrowserFocus:!0,preventScrollOnBrowserFocus:!0,sourceEvent:e})}}if(!b){if(l){w&&e.preventDefault();const S=n8(r,e)&&w;if(o)l.extendLatestRangeToCell(g);else if(!S){const E=t||n;l.setRangeToCell(g,E)}}v()}}isRightClickInExistingRange(e){const{rangeSvc:t}=this.beans;if(t){const n=t.isCellInAnyRange(this.cellCtrl.cellPosition),o=n8(this.beans,e);if(n&&o)return!0}return!1}containsWidget(e){return Dl(e,"ag-selection-checkbox",3)||Dl(e,"ag-drag-handle",3)}onMouseOut(e){if(this.mouseStayingInsideCell(e))return;const{eventSvc:t,colHover:n}=this.beans;t.dispatchEvent(this.cellCtrl.createEvent(e,"cellMouseOut")),n?.clearMouseOver()}onMouseOver(e){if(this.mouseStayingInsideCell(e))return;const{eventSvc:t,colHover:n}=this.beans;t.dispatchEvent(this.cellCtrl.createEvent(e,"cellMouseOver")),n?.setMouseOver([this.column])}mouseStayingInsideCell(e){if(!e.target||!e.relatedTarget)return!1;const t=this.cellCtrl.eGui,n=t.contains(e.target),o=t.contains(e.relatedTarget);return n&&o}},uQ=class extends we{constructor(e,t){super(),this.cellCtrl=e,this.beans=t,this.column=e.column,this.rowNode=e.rowNode}setupRowSpan(){this.rowSpan=this.column.getRowSpan(this.rowNode),this.addManagedListeners(this.beans.eventSvc,{newColumnsLoaded:()=>this.onNewColumnsLoaded()})}init(){this.eSetLeft=this.cellCtrl.getRootElement(),this.eContent=this.cellCtrl.eGui;const e=this.cellCtrl.getCellSpan();if(e||(this.setupColSpan(),this.setupRowSpan()),this.onLeftChanged(),this.onWidthChanged(),e||this._legacyApplyRowSpan(),e){const t=this.refreshSpanHeight.bind(this,e);t(),this.addManagedListeners(this.beans.eventSvc,{paginationChanged:t,recalculateRowBounds:t,pinnedHeightChanged:t})}}refreshSpanHeight(e){const t=e.getCellHeight();t!=null&&(this.eContent.style.height=`${t}px`)}onNewColumnsLoaded(){const e=this.column.getRowSpan(this.rowNode);this.rowSpan!==e&&(this.rowSpan=e,this._legacyApplyRowSpan(!0))}onDisplayColumnsChanged(){const e=this.getColSpanningList();za(this.colsSpanning,e)||(this.colsSpanning=e,this.onWidthChanged(),this.onLeftChanged())}setupColSpan(){this.column.getColDef().colSpan!=null&&(this.colsSpanning=this.getColSpanningList(
55),this.addManagedListeners(this.beans.eventSvc,{displayedColumnsChanged:this.onDisplayColumnsChanged.bind(this),displayedColumnsWidthChanged:this.onWidthChanged.bind(this)}))}onWidthChanged(){if(!this.eContent)return;const e=this.getCellWidth();this.eContent.style.width=`${e}px`}getCellWidth(){return this.colsSpanning?this.colsSpanning.reduce((e,t)=>e+t.getActualWidth(),0):this.column.getActualWidth()}getColSpanningList(){const{column:e,rowNode:t}=this,n=e.getColSpan(t),o=[];if(n===1)o.push(e);else{let i=e;const s=e.getPinned();for(let r=0;i&&r<n&&(o.push(i),i=this.beans.visibleCols.getColAfter(i),!(!i||pn(i)||s!==i.getPinned()));r++);}return o}onLeftChanged(){if(!this.eSetLeft)return;const e=this.modifyLeftForPrintLayout(this.getCellLeft());this.eSetLeft.style.left=e+"px"}getCellLeft(){let e;return this.beans.gos.get("enableRtl")&&this.colsSpanning?e=on(this.colsSpanning):e=this.column,e.getLeft()}modifyLeftForPrintLayout(e){if(!this.cellCtrl.printLayout||this.column.getPinned()==="left")return e;const{visibleCols:t}=this.beans,n=t.getColsLeftWidth();if(this.column.getPinned()==="right"){const o=t.bodyWidth;return n+o+(e||0)}return n+(e||0)}_legacyApplyRowSpan(e){if(this.rowSpan===1&&!e)return;const n=Al(this.beans)*this.rowSpan;this.eContent.style.height=`${n}px`,this.eContent.style.zIndex="1"}destroy(){super.destroy()}},dQ="ag-cell",hQ="ag-cell-auto-height",pQ="ag-cell-normal-height",fQ="ag-cell-focus",gQ="ag-cell-first-right-pinned",mQ="ag-cell-last-left-pinned",vQ="ag-cell-not-inline-editing",CQ="ag-cell-wrap-text",bQ=0,vu=class extends we{constructor(e,t,n,o){super(),this.column=e,this.rowNode=t,this.rowCtrl=o,this.rangeFeature=void 0,this.rowResizeFeature=void 0,this.positionFeature=void 0,this.customStyleFeature=void 0,this.editStyleFeature=void 0,this.mouseListener=void 0,this.keyboardListener=void 0,this.suppressRefreshCell=!1,this.onCompAttachedFuncs=[],this.onEditorAttachedFuncs=[],this.focusEventWhileNotReady=null,this.hasBeenFocused=!1,this.hasEdit=!1,this.tooltipFeature=void 0,this.editorTooltipFeature=void 0,this.beans=n,this.gos=n.gos,this.editSvc=n.editSvc,this.hasEdit=!!n.editSvc;const{colId:i}=e;this.instanceId=i+"-"+bQ++,this.createCellPosition(),this.updateAndFormatValue(!1)}addFeatures(){const{beans:e}=this;this.positionFeature=new uQ(this,e),this.customStyleFeature=e.cellStyles?.createCellCustomStyleFeature(this,e),this.editStyleFeature=e.editSvc?.createCellStyleFeature(this,e),this.mouseListener=new cQ(this,e,this.column),this.keyboardListener=new lQ(this,e,this.rowNode,this.rowCtrl),this.enableTooltipFeature();const{rangeSvc:t}=e;t&&Rr(e.gos)&&(this.rangeFeature=t.createCellRangeFeature(e,this)),gr(this.column)&&(this.rowResizeFeature=this.beans.rowNumbersSvc.createRowNumbersRowResizerFeature(e,this))}isCellSpanning(){return!1}getCellSpan(){}removeFeatures(){const e=this.beans.context;this.positionFeature=e.destroyBean(this.positionFeature),this.editorTooltipFeature=e.destroyBean(this.editorTooltipFeature),this.customStyleFeature=e.destroyBean(this.customStyleFeature),this.editStyleFeature=e.destroyBean(this.editStyleFeature),this.mouseListener=e.destroyBean(this.mouseListener),this.keyboardListener=e.destroyBean(this.keyboardListener),this.rangeFeature=e.destroyBean(this.rangeFeature),this.rowResizeFeature=e.destroyBean(this.rowResizeFeature),this.disableTooltipFeature()}enableTooltipFeature(e,t){this.tooltipFeature=this.beans.tooltipSvc?.enableCellTooltipFeature(this,e,t)}disableTooltipFeature(){this.tooltipFeature=this.beans.context.destroyBean(this.tooltipFeature)}enableEditorTooltipFeature(e){this.editorTooltipFeature&&this.disableEditorTooltipFeature(),this.editorTooltipFeature=this.beans.tooltipSvc?.setupCellEditorTooltip(this,e),Jl(this.beans)}disableEditorTooltipFeature(){this.editorTooltipFeature=this.beans.context.destroyBean(this.editorTooltipFeature)}setComp(e,t,n,o,i,s,r){if(this.comp=e,this.eGui=t,this.printLayout=i,r??(r=this),this.addDomData(r),this.addFeatures(),r.addDestroyFunc(()=>this.removeFeatures()),this.onSuppressCellFocusChanged(this.beans.gos.get("suppressCellFocus")),this.setupFocus(),this.applyStaticCssClasse
55s(),this.setWrapText(),this.onFirstRightPinnedChanged(),this.onLastLeftPinnedChanged(),this.onColumnHover(),this.setupControlComps(),this.setupAutoHeight(o,r),this.refreshFirstAndLastStyles(),this.refreshAriaColIndex(),this.positionFeature?.init(),this.customStyleFeature?.setComp(e),this.editStyleFeature?.setComp(e),this.tooltipFeature?.refreshTooltip(),this.keyboardListener?.init(),this.rangeFeature?.setComp(e),this.rowResizeFeature?.refreshRowResizer(),s&&this.isCellEditable()||this.hasEdit&&this.editSvc?.isEditing(this,{withOpenEditor:!0})?this.editSvc?.startEditing(this,{startedEdit:!1,source:"api",silent:!0,continueEditing:!0}):this.showValue(!1,!0),this.onCompAttachedFuncs.length){for(const a of this.onCompAttachedFuncs)a();this.onCompAttachedFuncs=[]}}setupAutoHeight(e,t){this.isAutoHeight=this.beans.rowAutoHeight?.setupCellAutoHeight(this,e,t)??!1}getCellAriaRole(){return this.column.getColDef().cellAriaRole??"gridcell"}isCellRenderer(){const e=this.column.getColDef();return e.cellRenderer!=null||e.cellRendererSelector!=null}getValueToDisplay(){return this.valueFormatted??this.value}getDeferLoadingCellRenderer(){const{beans:e,column:t}=this,{userCompFactory:n,ctrlsSvc:o,eventSvc:i}=e,s=t.getColDef(),r=this.createCellRendererParams();r.deferRender=!0;const a=l8(n,s,r);if(o.getGridBodyCtrl()?.scrollFeature?.isScrolling()){let l;const c=new bn(d=>{l=d}),[u]=this.addManagedListeners(i,{bodyScrollEnd:()=>{l(),u()}});return{loadingComp:a,onReady:c}}return{loadingComp:a,onReady:bn.resolve()}}showValue(e,t){const{beans:n,column:o,rowNode:i,rangeFeature:s}=this,{userCompFactory:r}=n;let a=this.getValueToDisplay(),l;const c=i.stub&&i.groupData?.[o.getId()]==null,u=o.getColDef();if(c||this.isCellRenderer()){const d=this.createCellRendererParams();!c||gr(o)?l=a8(r,u,d):l=l8(r,u,d)}if(!l&&!c&&n.findSvc?.isMatch(i,o)){const d=this.createCellRendererParams();l=a8(r,{...o.getColDef(),cellRenderer:"agFindCellRenderer"},d)}if(this.hasEdit&&this.editSvc.isBatchEditing()&&this.editSvc.isRowEditing(i,{checkSiblings:!0})){const d=this.editSvc.prepDetailsDuringBatch(this,{compDetails:l,valueToDisplay:a});d&&(d.compDetails?l=d.compDetails:d.valueToDisplay&&(a=d.valueToDisplay))}this.comp.setRenderDetails(l,a,e),this.customRowDragComp?.refreshVisibility(),!t&&s&&Br(n,()=>s?.refreshHandle()),this.rowResizeFeature?.refreshRowResizer()}setupControlComps(){const e=this.column.getColDef();this.includeSelection=this.isIncludeControl(this.isCheckboxSelection(e),!0),this.includeRowDrag=this.isIncludeControl(e.rowDrag),this.includeDndSource=this.isIncludeControl(e.dndSource),this.comp.setIncludeSelection(this.includeSelection),this.comp.setIncludeDndSource(this.includeDndSource),this.comp.setIncludeRowDrag(this.includeRowDrag)}isForceWrapper(){return this.beans.gos.get("enableCellTextSelection")||this.column.isAutoHeight()}getCellValueClass(){const e="ag-cell-value",t=this.column.getColDef().cellRenderer==="agCheckboxCellRenderer";let n="";return t&&(n=" ag-allow-overflow"),`${e}${n}`}isIncludeControl(e,t=!1){return(this.rowNode.rowPinned==null||t&&$p(this.rowNode))&&!!e}isCheckboxSelection(e){const{rowSelection:t,groupDisplayType:n}=this.beans.gridOptions,o=jg(t),i=Hr(this.column);return n==="custom"&&o!=="selectionColumn"&&i?!1:e.checkboxSelection||i&&typeof t=="object"&&du(t)}refreshShouldDestroy(){const e=this.column.getColDef(),t=this.includeSelection!=this.isIncludeControl(this.isCheckboxSelection(e),!0),n=this.includeRowDrag!=this.isIncludeControl(e.rowDrag),o=this.includeDndSource!=this.isIncludeControl(e.dndSource),i=this.isAutoHeight!=this.column.isAutoHeight();return t||n||o||i}onPopupEditorClosed(){const{editSvc:e}=this.beans;e?.isEditing(this,{withOpenEditor:!0})&&e?.stopEditing(this,{source:e?.isBatchEditing()?"ui":"api"})}stopEditing(e=!1){const{editSvc:t}=this.beans;return t?.stopEditing(this,{cancel:e,source:t?.isBatchEditing()?"ui":"api"})??!1}createCellRendererParams(){const{value:e,valueFormatted:t,column:n,rowNode:o,comp:i,eGui:s,beans:{valueSvc:r,gos:a,editSvc:l}}=this;return st(a,{value:e,valueFormatted:t,getValue:()=>r.getValueForDisplay(n,o).value,setValue:u=>l?.setDataValue({rowNode:o,column:n},u)||o.setDataValue(n,u),formatValue:this.formatValue.bind(this),data:o.data,node:o,pinned:n.getPinned(),colDef:n.getColDef(),column:n,refreshCell:this.refreshCell.bind(this),eGridCell:s,eParentOfValue:i.getParentOfValue(),registerRowDragger:(u,d,h,p)=>this.registerRowDragger(u,d,p),setTooltip:(u,d)=>{a.assertModuleRegistered("Tooltip",3),this.tooltipFeature&&this.disableTooltipFeature(),this.enableTooltipFeature(u,d),this.tooltipFeature?.refreshTooltip()}})}onCellChanged(e){e.column===this.column&&this.refreshCell({})}refreshOrDestroyCell(e){if(this.refreshShouldDestroy()?this.rowCtrl?.recreateCell(this):this.refreshCell(e),this.hasEdit&&this.editCompDetail
55s){const{editSvc:t,comp:n}=this;!n?.getCellEditor()&&t.isEditing(this,{withOpenEditor:!0})&&t.startEditing(this,{startedEdit:!1,source:"api",silent:!0})}}refreshCell({force:e,suppressFlash:t,newData:n}={}){const{editStyleFeature:o,customStyleFeature:i,rowCtrl:{rowEditStyleFeature:s},beans:{cellFlashSvc:r,filterManager:a},column:l,comp:c,suppressRefreshCell:u,tooltipFeature:d}=this;if(u)return;const{field:h,valueGetter:p,showRowGroup:f,enableCellChangeFlash:g}=l.getColDef(),m=h==null&&p==null&&f==null,v=e||m||n,y=!!c,b=this.updateAndFormatValue(y),w=v||b;if(y){if(w){this.showValue(!!n,!1);const S=a?.isSuppressFlashingCellsBecauseFiltering();!t&&!S&&g&&r?.flashCell(this),o?.applyCellStyles?.(),i?.applyUserStyles(),i?.applyClassesFromColDef(),s?.applyRowStyles()}d?.refreshTooltip(),i?.applyCellClassRules()}}isCellEditable(){return this.column.isCellEditable(this.rowNode)}formatValue(e){return this.callValueFormatter(e)??e}callValueFormatter(e){return this.beans.valueSvc.formatValue(this.column,this.rowNode,e)}updateAndFormatValue(e){const t=this.value,n=this.valueFormatted,{value:o,valueFormatted:i}=this.beans.valueSvc.getValueForDisplay(this.column,this.rowNode,!0);return this.value=o,this.valueFormatted=i,e?!this.valuesAreEqual(t,this.value)||this.valueFormatted!=n:!0}valuesAreEqual(e,t){const n=this.column.getColDef();return n.equals?n.equals(e,t):e===t}addDomData(e){const t=this.eGui;ql(this.beans.gos,t,tm,this),e.addDestroyFunc(()=>ql(this.beans.gos,t,tm,null))}createEvent(e,t){const{rowNode:n,column:o,value:i,beans:s}=this;return rQ(s,e,t,{rowNode:n,column:o},i)}processCharacter(e){this.keyboardListener?.processCharacter(e)}onKeyDown(e){this.keyboardListener?.onKeyDown(e)}onMouseEvent(e,t){this.mouseListener?.onMouseEvent(e,t)}getColSpanningList(){return this.positionFeature?.getColSpanningList()??[]}onLeftChanged(){this.comp&&this.positionFeature?.onLeftChanged()}onDisplayedColumnsChanged(){this.eGui&&(this.refreshAriaColIndex(),this.refreshFirstAndLastStyles())}refreshFirstAndLastStyles(){const{comp:e,column:t,beans:n}=this;nD(e,t,n.visibleCols)}refreshAriaColIndex(){const e=this.beans.visibleCols.getAriaColIndex(this.column);RL(this.eGui,e)}onWidthChanged(){return this.positionFeature?.onWidthChanged()}getRowPosition(){const{rowIndex:e,rowPinned:t}=this.cellPosition;return{rowIndex:e,rowPinned:t}}updateRangeBordersIfRangeCount(){this.comp&&this.rangeFeature?.updateRangeBordersIfRangeCount()}onCellSelectionChanged(){this.comp&&this.rangeFeature?.onCellSelectionChanged()}isRangeSelectionEnabled(){return this.rangeFeature!=null}focusCell(e=!1,t){const n=this.editSvc?.allowedFocusTargetOnValidation(this);n&&n!==this||this.beans.focusSvc.setFocusedCell({...this.getFocusedCellPosition(),forceBrowserFocus:e,sourceEvent:t})}restoreFocus(e=!1){const{beans:{editSvc:t,focusSvc:n},comp:o}=this;if(!o||t?.isEditing(this)||!this.isCellFocused()||!n.shouldTakeFocus())return;const i=()=>{if(!this.isAlive())return;const s=o.getFocusableElement();this.isCellFocused()&&s.focus({preventScroll:!0})};if(e){setTimeout(i,0);return}i()}onRowIndexChanged(){this.createCellPosition(),this.onCellFocused(),this.restoreFocus(),this.rangeFeature?.onCellSelectionChanged(),this.rowResizeFeature?.refreshRowResizer()}onSuppressCellFocusChanged(e){const t=this.eGui;t&&(gr(this.column)&&(e=!0),Ko(t,"tabindex",e?void 0:-1))}onFirstRightPinnedChanged(){if(!this.comp)return;const e=this.column.isFirstRightPinned();this.comp.toggleCss(gQ,e)}onLastLeftPinnedChanged(){if(!this.comp)return;const e=this.column.isLastLeftPinned();this.comp.toggleCss(mQ,e)}checkCellFocused(){return this.beans.focusSvc.isCellFocused(this.cellPosition)}isCellFocused(){const e=this.checkCellFocused();return this.hasBeenFocused||(this.hasBeenFocused=e),e}setupFocus(){this.restoreFocus(!0),this.onCellFocused(this.focusEventWhileNotReady??void 0)}onCellFocused(e){const{beans:t}=this;if(p0(t))return;if(!this.comp){e&&(this.focusEventWhileNotReady=e);return}const n=this.isCellFocused(),o=t.editSvc?.isEditing(this)??!1;if(this.comp.toggleCss(fQ,n),n&&e?.forceBrowserFocus){let i=this.comp.getFocusableElement();if(o){const s=pu(i,null,!0);s.length&&(i=s[0])}i.focus({preventScroll:!!e.preventScrollOnBrowserFocus})}n&&e&&this.rowCtrl.announceDescription()}createCellPosition(){const{rowIndex:e,rowPinned:t}=this.rowNode;this.cellPosition={rowIndex:e,rowPinned:fr(t),column:this.column}}
vendor: 4,560 bytes, line 55
55applyStaticCssClasses(){const{comp:e}=this;e.toggleCss(dQ,!0),e.toggleCss(vQ,!0);const t=this.column.isAutoHeight()==!0;e.toggleCss(hQ,t),e.toggleCss(pQ,!t)}onColumnHover(){this.beans.colHover?.onCellColumnHover(this.column,this.comp)}onColDefChanged(){this.comp&&(this.column.isTooltipEnabled()?(this.disableTooltipFeature(),this.enableTooltipFeature()):this.disableTooltipFeature(),this.setWrapText(),this.editSvc?.isEditing(this)?this.editSvc?.handleColDefChanged(this):this.refreshOrDestroyCell({force:!0,suppressFlash:!0}))}setWrapText(){const e=this.column.getColDef().wrapText==!0;this.comp.toggleCss(CQ,e)}dispatchCellContextMenuEvent(e){const t=this.column.getColDef(),n=this.createEvent(e,"cellContextMenu"),{beans:o}=this;o.eventSvc.dispatchEvent(n),t.onCellContextMenu&&window.setTimeout(()=>{o.frameworkOverrides.wrapOutgoing(()=>{t.onCellContextMenu(n)})},0)}getCellRenderer(){return this.comp?.getCellRenderer()??null}destroy(){this.onCompAttachedFuncs=[],this.onEditorAttachedFuncs=[],this.isCellFocused()&&this.hasBrowserFocus()&&this.beans.focusSvc.attemptToRecoverFocus(),super.destroy()}hasBrowserFocus(){return this.eGui?.contains(Cn(this.beans))??!1}createSelectionCheckbox(){const e=this.beans.selectionSvc?.createCheckboxSelectionComponent();if(e)return this.beans.context.createBean(e),e.init({rowNode:this.rowNode,column:this.column}),e}createDndSource(){const e=this.beans.registry.createDynamicBean("dndSourceComp",!1,this.rowNode,this.column,this.eGui);return e&&this.beans.context.createBean(e),e}registerRowDragger(e,t,n){if(this.customRowDragComp){this.customRowDragComp.setDragElement(e,t);return}const o=this.createRowDragComp(e,t,n);o&&(this.customRowDragComp=o,this.addDestroyFunc(()=>{this.beans.context.destroyBean(o),this.customRowDragComp=null}),o.refreshVisibility())}createRowDragComp(e,t,n){const o=this.beans.rowDragSvc?.createRowDragCompForCell(this.rowNode,this.column,()=>this.value,e,t,n);if(o)return this.beans.context.createBean(o),o}cellEditorAttached(){for(const e of this.onEditorAttachedFuncs)e();this.onEditorAttachedFuncs=[]}setFocusedCellPosition(e){}getFocusedCellPosition(){return this.cellPosition}refreshAriaRowIndex(){}getRootElement(){return this.eGui}};function hb(e,t,n,o,i,s){if(n==null&&t==null)return;const r={},a={},l=(c,u)=>{for(const d of c.split(" "))d.trim()!=""&&u(d)};if(n){const c=Object.keys(n);for(let u=0;u<c.length;u++){const d=c[u],h=n[d];let p;typeof h=="string"?p=e?e.evaluate(h,o):!0:typeof h=="function"&&(p=h(o)),l(d,f=>{p?r[f]=!0:a[f]=!0})}}if(t&&s)for(const c of Object.keys(t))l(c,u=>{r[u]||(a[u]=!0)});s&&Object.keys(a).forEach(s),Object.keys(r).forEach(i)}function Q8(e){if(e.group)return e.level;const t=e.parent;return t?t.level+1:0}var yQ=class extends we{constructor(){super(...arguments),this.beanName="rowStyleSvc"}processClassesFromGridOptions(e,t){const n=this.gos,o=r=>{if(typeof r=="string")e.push(r);else if(Array.isArray(r))for(const a of r)e.push(a)},i=n.get("rowClass");i&&o(i);const s=n.getCallback("getRowClass");if(s){const r={data:t.data,node:t,rowIndex:t.rowIndex},a=s(r);o(a)}}preProcessRowClassRules(e,t){this.processRowClassRules(t,n=>{e.push(n)},()=>{})}processRowClassRules(e,t,n){const{gos:o,expressionSvc:i}=this.beans,s=st(o,{data:e.data,node:e,rowIndex:e.rowIndex});hb(i,void 0,o.get("rowClassRules"),s,t,n)}processStylesFromGridOptions(e){const t=this.gos,n=t.get("rowStyle"),o=t.getCallback("getRowStyle");let i;if(o){const s={data:e.data,node:e,rowIndex:e.rowIndex};i=o(s)}if(i||n)return Object.assign({},n,i)}},wQ=0,sm=class extends we{constructor(e,t,n,o,i){super(),this.rowNode=e,this.useAnimationFrameForCreate=o,this.printLayout=i,this.allRowGuis=[],this.active=!0,this.centerCellCtrls={list:[],map:{}},this.leftCellCtrls={list:[],map:{}},this.rightCellCtrls={list:[],map:{}},this.slideInAnimation={left:!1,center:!1,right:!1,fullWidth:!1},this.fadeInAnimation={left:!1,center:!1,right:!1,fullWidth:!1},this.rowDragComps=[],this.lastMouseDownOnDragger=!1,this.emptyStyle={},this.updateColumnListsPending=!1,this.rowId=null,this.businessKey=null,this.beans=t,this.gos=t.gos,this.paginationPage=t.pagination?.getCurrentPage()??0,this.suppressRowTransform=this.gos.get("suppressRowTransform"),this.instanceId=e.id+"-"+wQ++,this.rowId=oh(e.id),this.initRowBusinessKey(),this.rowFocused=t.focusSvc.isRowFocused(this.rowNode.rowIndex,this.rowNode.rowPinned),this.rowLevel=Q8(this.rowNode),this.setRowType(),this.setAnimateFlags(n),this.rowStyles=this.processStylesFromGridOptions(),this.rowEditStyleFeature=t.editSvc?.createRowStyleFeature
55(this,t),this.addListeners()}initRowBusinessKey(){this.businessKeyForNodeFunc=this.gos.get("getBusinessKeyForNode"),this.updateRowBusinessKey()}updateRowBusinessKey(){if(typeof this.businessKeyForNodeFunc!="function")return;const e=this.businessKeyForNodeFunc(this.rowNode);this.businessKey=oh(e)}updateGui(e,t){e==="left"?this.leftGui=t:e==="right"?this.rightGui=t:e==="fullWidth"?this.fullWidthGui=t:this.centerGui=t}setComp(e,t,n,o){const{context:i,focusSvc:s}=this.beans;o=Np(this,i,o);const r={rowComp:e,element:t,containerType:n,compBean:o};this.allRowGuis.push(r),this.updateGui(n,r),this.initialiseRowComp(r);const a=this.rowNode,l=this.rowType==="FullWidthLoading"||a.stub,c=!a.data&&this.beans.rowModel.getType()==="infinite";!l&&!c&&!a.rowPinned&&this.beans.rowRenderer.dispatchFirstDataRenderedEvent();const u=this.fullWidthGui?.element;u&&!this.beans.editSvc?.isEditing(this)&&s.isRowFocused(a.rowIndex,a.rowPinned)&&s.shouldTakeFocus()&&setTimeout(()=>u.focus({preventScroll:!0}),0)}unsetComp(e){this.allRowGuis=this.allRowGuis.filter(t=>t.containerType!==e),this.updateGui(e,void 0)}isCacheable(){return this.rowType==="FullWidthDetail"&&this.gos.get("keepDetailRows")}setCached(e){const t=e?"none":"";for(const n of this.allRowGuis)n.element.style.display=t}initialiseRowComp(e){const t=this.gos;this.onSuppressCellFocusChanged(this.beans.gos.get("suppressCellFocus")),this.listenOnDomOrder(e),this.onRowHeightChanged(e),this.updateRowIndexes(e),this.setFocusedClasses(e),this.setStylesFromGridOptions(!1,e),kl(t)&&this.rowNode.selectable&&this.onRowSelected(e),this.updateColumnLists(!this.useAnimationFrameForCreate);const n=e.rowComp,o=this.getInitialRowClasses(e.containerType);for(const i of o)n.toggleCss(i,!0);this.executeSlideAndFadeAnimations(e),this.rowNode.group&&XC(e.element,this.rowNode.expanded==!0),this.setRowCompRowId(n),this.setRowCompRowBusinessKey(n),ql(t,e.element,nm,this),e.compBean.addDestroyFunc(()=>ql(t,e.element,nm,null)),this.useAnimationFrameForCreate?this.beans.animationFrameSvc.createTask(this.addHoverFunctionality.bind(this,e),this.rowNode.rowIndex,"p2",!1):this.addHoverFunctionality(e),this.isFullWidth()&&this.setupFullWidth(e),t.get("rowDragEntireRow")&&this.addRowDraggerToRow(e),this.useAnimationFrameForCreate&&this.beans.animationFrameSvc.addDestroyTask(()=>{this.isAlive()&&e.rowComp.toggleCss("ag-after-created",!0)}),this.executeProcessRowPostCreateFunc()}setRowCompRowBusinessKey(e){this.businessKey!=null&&e.setRowBusinessKey(this.businessKey)}setRowCompRowId(e){const t=oh(this.rowNode.id);this.rowId=t,t!=null&&e.setRowId(t)}executeSlideAndFadeAnimations(e){const{containerType:t}=e;this.slideInAnimation[t]&&(JC(()=>{this.onTopChanged()}),this.slideInAnimation[t]=!1),this.fadeInAnimation[t]&&(JC(()=>{e.rowComp.toggleCss("ag-opacity-zero",!1)}),this.fadeInAnimation[t]=!1)}addRowDraggerToRow(e){const t=this.beans.rowDragSvc?.createRowDragCompForRow(this.rowNode,e.element);if(!t)return;const n=this.createBean(t,this.beans.context);this.rowDragComps.push(n),e.compBean.addDestroyFunc(()=>{this.rowDragComps=this.rowDragComps.filter(o=>o!==n),this.rowEditStyleFeature=this.destroyBean(this.rowEditStyleFeature,this.beans.context),this.destroyBean(n,this.beans.context)})}setupFullWidth(e){const t=this.getPinnedForContainer(e.containerType),n=this.createFullWidthCompDetails(e.element,t);e.rowComp.showFullWidth(n)}getFullWidthCellRenderers(){return this.gos.get("embedFullWidthRows")?this.allRowGuis.map(e=>e?.rowComp?.getFullWidthCellRenderer()):[this.fullWidthGui?.rowComp?.getFullWidthCellRenderer()]}executeProcessRowPostCreateFunc(){const e=this.gos.getCallback("processRowPostCreate");if(!e||!this.areAllContainersReady())return;const t={eRow:this.centerGui.element,ePinnedLeftRow:this.leftGui?this.leftGui.element:void 0,ePinnedRightRow:this.rightGui?this.rightGui.element:void 0,node:this.rowNode,rowIndex:this.rowNode.rowIndex,addRenderedRowListener:this.addEventListener.bind(this)};e(t)}areAllContainersReady(){const{leftGui:e,centerGui:t,rightGui:n,beans:{visibleCols:o}}=this,i=!!e||!o.isPinningLeft(),s=!!t,r=!!n||!o.isPinningRight();return i&&s&&r}isNodeFullWidthCell(){if(this.rowNode.detail)return!0;const e=this.beans.gos.getCallback("isFullWidthRow");return e?e({rowNode:this.rowNode}):!1}setRowType(){const e=this.rowNode.stub&&!this.gos.get("suppressServerSideFullWidthLoadingRow")&&!this.gos.get("groupHideOpenParents"),t=this.isNodeFullWidthCell(),n=this.gos.get("masterDetail")&&this.rowNode.detail,o=this.beans.colModel.isPivotMode(),i=QL(this.gos,this.rowNode,o);e?this.rowType="FullWidthLoading":n?this.rowType="FullWidthDetail":t?this.rowType="FullWidth":i?this.rowType="FullWidthGroup":this.rowType="Normal"}updateColumnLists(e=!1,t=!1){if(this.isFullWidth())return;const{animationFrameSvc:n}=this.beans;if(!n?.active||e||this.printLayout){this.updateColumnListsImpl(t);return}this.updateColumnListsPending||(n.createTask(()=>{this.active&&this.updateColumnListsImpl(!0)},this.rowNode.rowIndex,"p1",!1),this.updateColumnListsPending=!0)}getNewCellCtrl(e){if(!this.beans.rowSpanSvc?.isCellSpanning(e,this.rowNode))return new vu(e,this.rowNode,this.beans,this)}isCorrectCtrlForSpan(e){return!this.beans.rowSpanSvc?.isCellSpanning(e.column,this.rowNode)}createCellCtrls(e,t,n=null){const o={list:[],map:{}},i=(c,u,d)=>{d!=null?o.list.splice(d,0,u):o.list.push(u),o.map[c]=u},s=[];for(const c of t){const u=c.getInstanceId();let d=e.map[u];d&&!this.isCorrectCtrlForSpan(d)&&(d.destroy(),d=void 0),d||(d=this.getNewCellCtrl(c)),d&&i(u,d)}for(const c of e.list){const u=c.column.getInstanceId();if(o.map[u]!=null)continue;!this.isCellEligibleToBeRemoved(c,n)?s.push([u,c]):c.destroy()}if(s.length)for(const[c,u]of s){const d=o.list.findIndex(p=>
55p.column.getLeft()>u.column.getLeft()),h=d===-1?void 0:Math.max(d-1,0);i(c,u,h)}const{focusSvc:r,visibleCols:a}=this.beans,l=r.getFocusedCell();if(l&&l.column.getPinned()==n){const c=l.column.getInstanceId();if(!o.map[c]&&a.allCols.includes(l.column)){const d=this.createFocusedCellCtrl();if(d){const h=o.list.findIndex(f=>f.column.getLeft()>d.column.getLeft()),p=h===-1?void 0:Math.max(h-1,0);i(c,d,p)}}}return o}createFocusedCellCtrl(){const{focusSvc:e,rowSpanSvc:t}=this.beans,n=e.getFocusedCell();if(!n)return;const o=t?.getCellSpan(n.column,this.rowNode);if(o){if(o.firstNode!==this.rowNode||!o.doesSpanContain(n))return}else if(!e.isRowFocused(this.rowNode.rowIndex,this.rowNode.rowPinned))return;return this.getNewCellCtrl(n.column)}updateColumnListsImpl(e){this.updateColumnListsPending=!1,this.createAllCellCtrls(),this.setCellCtrls(e)}setCellCtrls(e){for(const t of this.allRowGuis){const n=this.getCellCtrlsForContainer(t.containerType);t.rowComp.setCellCtrls(n,e)}}getCellCtrlsForContainer(e){switch(e){case"left":return this.leftCellCtrls.list;case"right":return this.rightCellCtrls.list;case"fullWidth":return[];case"center":return this.centerCellCtrls.list}}createAllCellCtrls(){const e=this.beans.colViewport,t=this.beans.visibleCols;if(this.printLayout)this.centerCellCtrls=this.createCellCtrls(this.centerCellCtrls,t.allCols),this.leftCellCtrls={list:[],map:{}},this.rightCellCtrls={list:[],map:{}};else{const n=e.getColsWithinViewport(this.rowNode);this.centerCellCtrls=this.createCellCtrls(this.centerCellCtrls,n);const o=t.getLeftColsForRow(this.rowNode);this.leftCellCtrls=this.createCellCtrls(this.leftCellCtrls,o,"left");const i=t.getRightColsForRow(this.rowNode);this.rightCellCtrls=this.createCellCtrls(this.rightCellCtrls,i,"right")}}isCellEligibleToBeRemoved(e,t){const{column:i}=e;if(i.getPinned()!=t||!this.isCorrectCtrlForSpan(e))return!0;const{visibleCols:s,editSvc:r}=this.beans,a=r?.isEditing(e),l=e.isCellFocused();return a||l?!(s.allCols.indexOf(i)>=0):!0}getDomOrder(){return this.gos.get("ensureDomOrder")||Jn(this.gos,"print")}listenOnDomOrder(e){const t=()=>{e.rowComp.setDomOrder(this.getDomOrder())};e.compBean.addManagedPropertyListeners(["domLayout","ensureDomOrder"],t)}setAnimateFlags(e){if(this.rowNode.sticky||!e)return;const t=Ge(this.rowNode.oldRowTop),{visibleCols:n}=this.beans,o=n.isPinningLeft(),i=n.isPinningRight();if(t){const{slideInAnimation:s}=this;if(this.isFullWidth()&&!this.gos.get("embedFullWidthRows")){s.fullWidth=!0;return}s.center=!0,s.left=o,s.right=i}else{const{fadeInAnimation:s}=this;if(this.isFullWidth()&&!this.gos.get("embedFullWidthRows")){s.fullWidth=!0;return}s.center=!0,s.left=o,s.right=i}}isFullWidth(){return this.rowType!=="Normal"}refreshFullWidth(){const e=(r,a)=>r?r.rowComp.refreshFullWidth(()=>this.createFullWidthCompDetails(r.element,a).params):!0,t=e(this.fullWidthGui,null),n=e(this.centerGui,null),o=e(this.leftGui,"left"),i=e(this.rightGui,"right");return t&&n&&o&&i}addListeners(){const{beans:e,gos:t,rowNode:n}=this,{expansionSvc:o,eventSvc:i,context:s,rowSpanSvc:r}=e;this.addManagedListeners(this.rowNode,{heightChanged:()=>this.onRowHeightChanged(),rowSelected:()=>this.onRowSelected(),rowIndexChanged:this.onRowIndexChanged.bind(this),topChanged:this.onTopChanged.bind(this),...o?.getRowExpandedListeners(this)??{}}),n.detail&&this.addManagedListeners(n.parent,{dataChanged:this.onRowNodeDataChanged.bind(this)}),this.addManagedListeners(n,{dataChanged:this.onRowNodeDataChanged.bind(this),cellChanged:this.postProcessCss.bind(this),rowHighlightChanged:this.onRowNodeHighlightChanged.bind(this),draggingChanged:this.postProcessRowDragging.bind(this),uiLevelChanged:this.onUiLevelChanged.bind(this),rowPinned:this.onRowPinned.bind(this)}),this.addManagedListeners(i,{paginationPixelOffsetChanged:this.onPaginationPixelOffsetChanged.bind(this),heightScaleChanged:this.onTopChanged.bind(this),displayedColumnsChanged:this.onDisplayedColumnsChanged.bind(this),virtualColumnsChanged:this.onVirtualColumnsChanged.bind(this),cellFocused:this.onCellFocusChanged.bind(this),cellFocusCleared:this.onCellFocusChanged.bind(this),paginationChanged:this.onPaginationChanged.bind(this),modelUpdated:this.refreshFirstAndLastRowStyles.bind(this),columnMoved:()=>this.updateColumnLists()}),r&&this.addManagedListeners(r,{spannedCellsUpdated:({pinned:a})=>{a&&!n.rowPinned||this.updateColumnLists()}}),this.addDestroyFunc(()=>{this.rowDragComps=this.destroyBeans(this.rowDragComps,s),this.tooltipFeature=this.destroyBean(this.tooltipFeature,s),this.rowEditStyleFeature=this.destroyBean(this.rowEditStyleFeature,s)}),this.addManagedPropertyListeners(["rowStyle","getRowStyle","rowClass","getRowClass","rowClassRules"],this.postProcessCss.bind(this)),this.addManagedPropertyListener("rowDragEntireRow",()=>{if(t.get("rowDragEntireRow")){for(const l of this.allRowGuis)this.addRowDraggerToRow(l);return}this.rowDragComps=this.destroyBeans(this.rowDragComps,s)}),this.addListenersForCellComps()}
55addListenersForCellComps(){this.addManagedListeners(this.rowNode,{rowIndexChanged:()=>{for(const e of this.getAllCellCtrls())e.onRowIndexChanged()},cellChanged:e=>{for(const t of this.getAllCellCtrls())t.onCellChanged(e)}})}onRowPinned(){for(const e of this.allRowGuis)e.rowComp.toggleCss("ag-row-pinned-source",!!this.rowNode.pinnedSibling)}onRowNodeDataChanged(e){this.refreshRow({suppressFlash:!e.update,newData:!e.update})}refreshRow(e){if(this.isFullWidth()!==!!this.isNodeFullWidthCell()){this.beans.rowRenderer.redrawRow(this.rowNode);return}if(this.isFullWidth()){this.refreshFullWidth()||this.beans.rowRenderer.redrawRow(this.rowNode);return}for(const n of this.getAllCellCtrls())n.refreshCell(e);for(const n of this.allRowGuis)this.setRowCompRowId(n.rowComp),this.updateRowBusinessKey(),this.setRowCompRowBusinessKey(n.rowComp);this.onRowSelected(),this.postProcessCss()}postProcessCss(){this.setStylesFromGridOptions(!0),this.postProcessClassesFromGridOptions(),this.postProcessRowClassRules(),this.rowEditStyleFeature?.applyRowStyles(),this.postProcessRowDragging()}onRowNodeHighlightChanged(){const e=this.beans.rowDropHighlightSvc,t=e?.row===this.rowNode?e.position:"none",n=t==="above",o=t==="inside",i=t==="below",r=this.gos.get("treeData")&&(i||n),a=this.rowNode.uiLevel.toString();for(const l of this.allRowGuis){const c=l.rowComp;c.toggleCss("ag-row-highlight-above",n),c.toggleCss("ag-row-highlight-inside",o),c.toggleCss("ag-row-highlight-below",i),c.toggleCss("ag-row-highlight-indent",r),r?l.element.style.setProperty("--ag-row-highlight-level",a):l.element.style.removeProperty("--ag-row-highlight-level")}}postProcessRowDragging(){const e=this.rowNode.dragging;for(const t of this.allRowGuis)t.rowComp.toggleCss("ag-row-dragging",e)}onDisplayedColumnsChanged(){this.updateColumnLists(!0),this.beans.rowAutoHeight?.requestCheckAutoHeight()}onVirtualColumnsChanged(){this.updateColumnLists(!1,!0)}getRowPosition(){return{rowPinned:fr(this.rowNode.rowPinned),rowIndex:this.rowNode.rowIndex}}onKeyboardNavigate(e){const t=this.findFullWidthInfoForEvent(e);if(!t)return;const{rowGui:n,column:o}=t;if(!(n.element===e.target))return;const r=this.rowNode,{focusSvc:a,navigation:l}=this.beans,c=a.getFocusedCell(),u={rowIndex:r.rowIndex,rowPinned:r.rowPinned,column:c?.column??o};l?.navigateToNextCell(e,e.key,u,!0),e.preventDefault()}onTabKeyDown(e){if(e.defaultPrevented||vr(e))return;const t=this.allRowGuis.find(a=>a.element.contains(e.target)),n=t?t.element:null,o=n===e.target,i=Cn(this.beans);let s=!1;n&&i&&(s=n.contains(i)&&i.classList.contains("ag-cell"));let r=null;!o&&!s&&(r=fc(this.beans,n,!1,e.shiftKey)),(this.isFullWidth()&&o||!r)&&this.beans.navigation?.onTabKeyDown(this,e)}getFullWidthElement(){return this.fullWidthGui?this.fullWidthGui.element:null}getRowYPosition(){const e=this.allRowGuis.find(t=>zs(t.element))?.element;return e?e.getBoundingClientRect().top:0}onSuppressCellFocusChanged(e){const t=this.isFullWidth()&&e?void 0:this.gos.get("tabIndex");for(const n of this.allRowGuis)Ko(n.element,"tabindex",t)}onFullWidthRowFocused(e){const t=this.rowNode,n=e?this.isFullWidth()&&e.rowIndex===t.rowIndex&&e.rowPinned==t.rowPinned:!1;let o;if(this.fullWidthGui)o=this.fullWidthGui.element;else{const s=this.beans.colModel.getCol(e?.column)?.pinned;s?o=s==="right"?this.rightGui?.element:this.leftGui?.element:o=this.centerGui?.element}o&&(o.classList.toggle("ag-full-width-focus",n),n&&e?.forceBrowserFocus&&o.focus({preventScroll:!0}))}recreateCell(e){this.centerCellCtrls=this.removeCellCtrl(this.centerCellCtrls,e),this.leftCellCtrls=this.removeCellCtrl(this.leftCellCtrls,e),this.rightCellCtrls=this.removeCellCtrl(this.rightCellCtrls,e),e.destroy(),this.updateColumnLists()}removeCellCtrl(e,t){const n={list:[],map:{}};for(const o of e.list)o!==t&&(n.list.push(o),n.map[o.column.getInstanceId()]=o);return n}onMouseEvent(e,t){switch(e){case"dblclick":this.onRowDblClick(t);break;case"click":this.onRowClick(t);break;case"touchstart":case"mousedown":this.onRowMouseDown(t);break}}createRowEvent(e,t){const{rowNode:n}=this;return st(this.gos,{type:e,node:n,data:n.data,rowIndex:n.rowIndex,rowPinned:n.rowPinned,event:t})}createRowEventWithSource(e,t){const n=this.createRowEvent(e,t);return n.source=this,n}onRowDblClick(e){if(vr(e))return;const t=this.createRowEventWithSource("rowDoubleClicked",e);t.isEventHandlingSuppressed=this.isSuppressMouseEvent(e),this.beans.eventSvc.dispatchEvent(t)}findFullWidthInfoForEvent(e){if(!e)return;const t=this.findFullWidthRowGui(e.target),n=this.getColumnForFullWidth(t);if(!(!t||!n))return{rowGui:t,column:n}}findFullWidthRowGui(e){return this.allRowGuis.find(t=>t.element.contains(e))}getColumnForFullWidth(e){const{visibleCols:t}=this.beans;switch(e?.containerType){case"center":return t.centerCols[0];case"left":return t.leftCols[0];case"right":return t.rightCols[0];default:return t.allCols[0]}}onRowMouseDown(e){if(this.lastMouseDownOnDragger=Dl(e.target,"ag-row-drag",3),!this.isFullWidth()||this.isSuppressMouseEvent(e))return;const{rangeSvc:t,focusSvc:n}=this.beans;t?.removeAllCellRanges();const o=this.findFullWidthInfoForEvent(e);
55if(!o)return;const{rowGui:i,column:s}=o,r=i.element,a=e.target,l=this.rowNode;let c=e.defaultPrevented||Ua();r&&r.contains(a)&&ih(a)&&(c=!1),n.setFocusedCell({rowIndex:l.rowIndex,column:s,rowPinned:l.rowPinned,forceBrowserFocus:c})}isSuppressMouseEvent(e){const{gos:t,rowNode:n}=this;if(this.isFullWidth()){const i=this.findFullWidthRowGui(e.target);return Qj(t,i?.rowComp.getFullWidthCellRendererParams(),n,e)}const o=nb(t,e.target);return o!=null&&w1(t,o.column,n,e)}onRowClick(e){if(vr(e)||this.lastMouseDownOnDragger)return;const n=this.isSuppressMouseEvent(e),{eventSvc:o,selectionSvc:i}=this.beans,s=this.createRowEventWithSource("rowClicked",e);s.isEventHandlingSuppressed=n,o.dispatchEvent(s),!n&&i?.handleSelectionEvent(e,this.rowNode,"rowClicked")}setupDetailRowAutoHeight(e){this.rowType==="FullWidthDetail"&&this.beans.masterDetailSvc?.setupDetailRowAutoHeight(this,e)}createFullWidthCompDetails(e,t){const{gos:n,rowNode:o}=this,i=st(n,{fullWidth:!0,data:o.data,node:o,value:o.key,valueFormatted:o.key,eGridCell:e,eParentOfValue:e,pinned:t,addRenderedRowListener:this.addEventListener.bind(this),registerRowDragger:(r,a,l,c)=>this.addFullWidthRowDragging(r,a,l,c),setTooltip:(r,a)=>{n.assertModuleRegistered("Tooltip",3),this.setupFullWidthRowTooltip(r,a)}}),s=this.beans.userCompFactory;switch(this.rowType){case"FullWidthDetail":return sU(s,i);case"FullWidthGroup":{const{value:r,valueFormatted:a}=this.beans.valueSvc.getValueForDisplay(void 0,this.rowNode,!0);return i.value=r,i.valueFormatted=a,iU(s,i)}case"FullWidthLoading":return oU(s,i);default:return nU(s,i)}}setupFullWidthRowTooltip(e,t){this.fullWidthGui&&(this.tooltipFeature=this.beans.tooltipSvc?.setupFullWidthRowTooltip(this.tooltipFeature,this,e,t))}addFullWidthRowDragging(e,t,n="",o){const{rowDragSvc:i,context:s}=this.beans;if(!i||!this.isFullWidth())return;const r=i.createRowDragComp(()=>n,this.rowNode,void 0,e,t,o);this.createBean(r,s),this.addDestroyFunc(()=>{this.destroyBean(r,s)})}onUiLevelChanged(){const e=Q8(this.rowNode);if(this.rowLevel!=e){const t="ag-row-level-"+e,n="ag-row-level-"+this.rowLevel;for(const o of this.allRowGuis)o.rowComp.toggleCss(t,!0),o.rowComp.toggleCss(n,!1)}this.rowLevel=e}isFirstRowOnPage(){return this.rowNode.rowIndex===this.beans.pageBounds.getFirstRow()}isLastRowOnPage(){return this.rowNode.rowIndex===this.beans.pageBounds.getLastRow()}refreshFirstAndLastRowStyles(){const e=this.isFirstRowOnPage(),t=this.isLastRowOnPage();if(this.firstRowOnPage!==e){this.firstRowOnPage=e;for(const n of this.allRowGuis)n.rowComp.toggleCss("ag-row-first",e)}if(this.lastRowOnPage!==t){this.lastRowOnPage=t;for(const n of this.allRowGuis)n.rowComp.toggleCss("ag-row-last",t)}}getAllCellCtrls(){return this.leftCellCtrls.list.length===0&&this.rightCellCtrls.list.length===0?this.centerCellCtrls.list:[...this.centerCellCtrls.list,...this.leftCellCtrls.list,...this.rightCellCtrls.list]}postProcessClassesFromGridOptions(){const e=[];if(this.beans.rowStyleSvc?.processClassesFromGridOptions(e,this.rowNode),!!e.length)for(const t of e)for(const n of this.allRowGuis)n.rowComp.toggleCss(t,!0)}postProcessRowClassRules(){this.beans.rowStyleSvc?.processRowClassRules(this.rowNode,e=>{for(const t of this.allRowGuis)t.rowComp.toggleCss(e,!0)},e=>{for(const t of this.allRowGuis)t.rowComp.toggleCss(e,!1)})}setStylesFromGridOptions(e,t){e&&(this.rowStyles=this.processStylesFromGridOptions()),this.forEachGui(t,n=>n.rowComp.setUserStyles(this.rowStyles))}getPinnedForContainer(e){return e==="left"||e==="right"?e:null}getInitialRowClasses(e){const t=this.getPinnedForContainer(e),n=this.isFullWidth(),{rowNode:o,beans:i}=this,s=[];s.push("ag-row"),s.push(this.rowFocused?"ag-row-focus":"ag-row-no-focus"),this.fadeInAnimation[e]&&s.push("ag-opacity-zero"),s.push(o.rowIndex%2===0?"ag-row-even":"ag-row-odd"),o.isRowPinned()&&(s.push("ag-row-pinned"),i.pinnedRowModel?.isManual()&&s.push("ag-row-pinned-manual")),!o.isRowPinned()&&o.pinnedSibling&&s.push("ag-row-pinned-source"),o.isSelected()&&s.push("ag-row-selected"),o.footer&&s.push("ag-row-footer"),s.push("ag-row-level-"+this.rowLevel),o.stub&&s.push("ag-row-loading"),n&&s.push("ag-full-width-row"),i.expansionSvc?.addExpandedCss(s,o),o.dragging&&s.push("ag-row-dragging");const{rowStyleSvc:r}=i;return r&&(r.processClassesFromGridOptions(s,o),r.preProcessRowClassRules(s,o)),s.push(this.printLayout?"ag-row-position-relative":"ag-row-position-absolute"),this.isFirstRowOnPage()&&s.push("ag-row-first"),this.isLastRowOnPage()&&s.push("ag-row-last"),n&&(t==="left"&&s.push("ag-cell-last-left-pinned"),t==="right"&&s.push("ag-cell-first-right-pinned")),s}processStylesFromGridOptions(){return this.beans.rowStyleSvc?.processStylesFromGridOptions(this.rowNode)??this.emptyStyle}onRowSelected(e){this.beans.selectionSvc?.onRowCtrlSelected(this,t=>{(t===this.centerGui||t===this.fullWidthGui)&&this.announceDescription()},e)}announceDescription(){this.beans.selectionSvc?.announceAriaRowSelection(this.rowNode)}addHoverFunctionality(e){if(!this.active)return;const{element:t,compBean:n}=e,{rowNode:o,beans:i,gos:s}=this;n.addManagedListeners(t,{pointerenter:r=>{r.pointerType==="mouse"&&o.dispatchRowEvent("mouseEnter")},pointerleave:r=>{r.pointerType==="mouse"&&o.dispatchRowEvent("mouseLeave")}}),n.addManagedListeners(o,{mouseEnter:()=>{!i.dragSvc?.dragging&&!s.get("suppressRowHoverHighlight")&&(t.classList.add("ag-row-hover"),o.setHovered(!0))},mouseLeave:()=>{this.resetHoveredStatus(t)}})}resetHoveredStatus(e){const t=e?[e]:this.allRowGuis.map(n=>n.element);for(const n of t)n.classList.remove("ag-row-hover");this.rowNode.setHovered(!1)}roundRowTopToBounds(e){const t=this.beans.ctrlsSvc.getScrollFeature
55().getApproximateVScollPosition(),n=this.applyPaginationOffset(t.top,!0)-100,o=this.applyPaginationOffset(t.bottom,!0)+100;return Math.min(Math.max(n,e),o)}forEachGui(e,t){if(e)t(e);else for(const n of this.allRowGuis)t(n)}isRowRendered(){return this.allRowGuis.length>0}onRowHeightChanged(e){if(this.rowNode.rowHeight==null)return;const t=this.rowNode.rowHeight,n=this.beans.environment.getDefaultRowHeight(),i=KL(this.gos)?Da(this.beans,this.rowNode).height:void 0,s=i?`${Math.min(n,i)-2}px`:void 0;this.forEachGui(e,r=>{r.element.style.height=`${t}px`,s&&r.element.style.setProperty("--ag-line-height",s)})}destroyFirstPass(e=!1){this.active=!1;const{rowNode:t}=this;if(!e&&uu(this.gos)&&!t.sticky)if(t.rowTop!=null){const i=this.roundRowTopToBounds(t.rowTop);this.setRowTop(i)}else for(const i of this.allRowGuis)i.rowComp.toggleCss("ag-opacity-zero",!0);this.fullWidthGui?.element.contains(Cn(this.beans))&&this.beans.focusSvc.attemptToRecoverFocus(),t.setHovered(!1);const n=this.createRowEvent("virtualRowRemoved");this.dispatchLocalEvent(n),this.beans.eventSvc.dispatchEvent(n),super.destroy()}destroySecondPass(){this.allRowGuis.length=0;const e=t=>{for(const n of t.list)n.destroy();return{list:[],map:{}}};this.centerCellCtrls=e(this.centerCellCtrls),this.leftCellCtrls=e(this.leftCellCtrls),this.rightCellCtrls=e(this.rightCellCtrls)}setFocusedClasses(e){this.forEachGui(e,t=>{t.rowComp.toggleCss("ag-row-focus",this.rowFocused),t.rowComp.toggleCss("ag-row-no-focus",!this.rowFocused)})}onCellFocusChanged(){const{focusSvc:e}=this.beans,t=e.isRowFocused(this.rowNode.rowIndex,this.rowNode.rowPinned);t!==this.rowFocused&&(this.rowFocused=t,this.setFocusedClasses())}onPaginationChanged(){const e=this.beans.pagination?.getCurrentPage()??0;this.paginationPage!==e&&(this.paginationPage=e,this.onTopChanged()),this.refreshFirstAndLastRowStyles()}onTopChanged(){this.setRowTop(this.rowNode.rowTop)}onPaginationPixelOffsetChanged(){this.onTopChanged()}applyPaginationOffset(e,t=!1){if(this.rowNode.isRowPinned()||this.rowNode.sticky)return e;const n=this.beans.pageBounds.getPixelOffset();return e+n*(t?1:-1)}setRowTop(e){if(!this.printLayout&&Ge(e)){const t=this.applyPaginationOffset(e),i=`${this.rowNode.isRowPinned()||this.rowNode.sticky?t:this.beans.rowContainerHeight.getRealPixelPosition(t)}px`;this.setRowTopStyle(i)}}getInitialRowTop(e){return this.suppressRowTransform?this.getInitialRowTopShared(e):void 0}getInitialTransform(e){return this.suppressRowTransform?void 0:`translateY(${this.getInitialRowTopShared(e)})`}getInitialRowTopShared(e){if(this.printLayout)return"";const t=this.rowNode;let n;if(t.sticky)n=t.stickyRowTop;else{const o=this.slideInAnimation[e]?this.roundRowTopToBounds(t.oldRowTop):t.rowTop,i=this.applyPaginationOffset(o);n=t.isRowPinned()?i:this.beans.rowContainerHeight.getRealPixelPosition(i)}return n+"px"}setRowTopStyle(e){for(const t of this.allRowGuis)this.suppressRowTransform?t.rowComp.setTop(e):t.rowComp.setTransform(`translateY(${e})`)}getCellCtrl(e,t=!1){let n=null;for(const o of this.getAllCellCtrls())o.column==e&&(n=o);if(n!=null||t)return n;for(const o of this.getAllCellCtrls())o?.getColSpanningList().indexOf(e)>=0&&(n=o);return n}onRowIndexChanged(){this.rowNode.rowIndex!=null&&(this.onCellFocusChanged(),this.updateRowIndexes(),this.postProcessCss())}updateRowIndexes(e){const t=this.rowNode.getRowIndexString();if(t===null)return;const n=(this.beans.ctrlsSvc.getHeaderRowContainerCtrl()?.getRowCount()??0)+(this.beans.filterManager?.getHeaderRowCount()??0),o=this.rowNode.rowIndex%2===0,i=n+this.rowNode.rowIndex+1;this.forEachGui(e,s=>{s.rowComp.setRowIndex(t),s.rowComp.toggleCss("ag-row-even",o),s.rowComp.toggleCss("ag-row-odd",!o),Hg(s.element,i)})}},SQ=class extends we{constructor(){super(),this.beanName="navigation",this.onPageDown=X6(this.onPageDown,100),this.onPageUp=X6(this.onPageUp,100)}postConstruct(){this.beans.ctrlsSvc.whenReady(this,e=>{this.gridBodyCon=e.gridBodyCtrl})}handlePageScrollingKey(e,t=!1){const n=e.key,o=e.altKey,i=e.ctrlKey||e.metaKey,s=!!this.beans.rangeSvc&&e.shiftKey,r=RZ(this.gos,e);let a=!1;
vendor: 4,258 bytes, line 55
55switch(n){case he.PAGE_HOME:case he.PAGE_END:!i&&!o&&(this.onHomeOrEndKey(n),a=!0);break;case he.LEFT:case he.RIGHT:case he.UP:case he.DOWN:if(!r)return!1;i&&!o&&!s&&(this.onCtrlUpDownLeftRight(n,r),a=!0);break;case he.PAGE_DOWN:case he.PAGE_UP:!i&&!o&&(a=this.handlePageUpDown(n,r,t));break}return a&&e.preventDefault(),a}handlePageUpDown(e,t,n){return n&&(t=this.beans.focusSvc.getFocusedCell()),t?(e===he.PAGE_UP?this.onPageUp(t):this.onPageDown(t),!0):!1}navigateTo({scrollIndex:e,scrollType:t,scrollColumn:n,focusIndex:o,focusColumn:i,isAsync:s,rowPinned:r}){const{scrollFeature:a}=this.gridBodyCon;Ge(n)&&!n.isPinned()&&a.ensureColumnVisible(n),Ge(e)&&a.ensureIndexVisible(e,t),s||a.ensureIndexVisible(o);const{focusSvc:l,rangeSvc:c}=this.beans;l.setFocusedCell({rowIndex:o,column:i,rowPinned:r,forceBrowserFocus:!0}),c?.setRangeToCell({rowIndex:o,rowPinned:r,column:i})}onPageDown(e){const t=this.beans,n=Cv(t),o=this.getViewportHeight(),{pageBounds:i,rowModel:s,rowAutoHeight:r}=t,a=i.getPixelOffset(),l=n.top+o,c=s.getRowIndexAtPixel(l+a);r?.active?this.navigateToNextPageWithAutoHeight(e,c):this.navigateToNextPage(e,c)}onPageUp(e){const t=this.beans,n=Cv(t),{pageBounds:o,rowModel:i,rowAutoHeight:s}=t,r=o.getPixelOffset(),a=n.top,l=i.getRowIndexAtPixel(a+r);s?.active?this.navigateToNextPageWithAutoHeight(e,l,!0):this.navigateToNextPage(e,l,!0)}navigateToNextPage(e,t,n=!1){const{pageBounds:o,rowModel:i}=this.beans,s=this.getViewportHeight(),r=o.getFirstRow(),a=o.getLastRow(),l=o.getPixelOffset(),c=i.getRow(e.rowIndex),u=n?c?.rowHeight-s-l:s-l,d=c?.rowTop+u;let h=i.getRowIndexAtPixel(d+l);if(h===e.rowIndex){const f=n?-1:1;t=h=e.rowIndex+f}let p;n?(p="bottom",h<r&&(h=r),t<r&&(t=r)):(p="top",h>a&&(h=a),t>a&&(t=a)),this.isRowTallerThanView(i.getRow(h))&&(t=h,p="top"),this.navigateTo({scrollIndex:t,scrollType:p,scrollColumn:null,focusIndex:h,focusColumn:e.column})}navigateToNextPageWithAutoHeight(e,t,n=!1){this.navigateTo({scrollIndex:t,scrollType:n?"bottom":"top",scrollColumn:null,focusIndex:t,focusColumn:e.column}),setTimeout(()=>{const o=this.getNextFocusIndexForAutoHeight(e,n);this.navigateTo({scrollIndex:t,scrollType:n?"bottom":"top",scrollColumn:null,focusIndex:o,focusColumn:e.column,isAsync:!0})},50)}getNextFocusIndexForAutoHeight(e,t=!1){const n=t?-1:1,o=this.getViewportHeight(),{pageBounds:i,rowModel:s}=this.beans,r=i.getLastRow();let a=0,l=e.rowIndex;for(;l>=0&&l<=r;){const c=s.getRow(l);if(c){const u=c.rowHeight??0;if(a+u>o)break;a+=u}l+=n}return Math.max(0,Math.min(l,r))}getViewportHeight(){const e=this.beans,t=Cv(e),n=this.beans.scrollVisibleSvc.getScrollbarWidth();let o=t.bottom-t.top;return e.ctrlsSvc.get("center").isHorizontalScrollShowing()&&(o-=n),o}isRowTallerThanView(e){if(!e)return!1;const t=e.rowHeight;return typeof t!="number"?!1:t>this.getViewportHeight()}onCtrlUpDownLeftRight(e,t){const n=this.beans.cellNavigation.getNextCellToFocus(e,t,!0),o=this.getNormalisedPosition(n),{rowIndex:i,rowPinned:s,column:r}=o??n,a=r;this.navigateTo({scrollIndex:i,scrollType:null,scrollColumn:a,focusIndex:i,focusColumn:a,rowPinned:s})}onHomeOrEndKey(e){const t=e===he.PAGE_HOME,{visibleCols:n,pageBounds:o,rowModel:i}=this.beans,s=n.allCols,r=t?o.getFirstRow():o.getLastRow(),a=i.getRow(r);if(!a)return;const l=(t?s:[...s].reverse()).find(c=>!c.isSuppressNavigable(a));l&&this.navigateTo({scrollIndex:r,scrollType:null,scrollColumn:l,focusIndex:r,focusColumn:l})}onTabKeyDown(e,t){const n=t.shiftKey,o=this.tabToNextCellCommon(e,n,t),i=this.beans,{ctrlsSvc:s,pageBounds:r,focusSvc:a,gos:l}=i;if(o!==!1){o?t.preventDefault():o===null&&s.get("gridCtrl").allowFocusForNextCoreContainer(n);return}if(n){const{rowIndex:c,rowPinned:u}=e.getRowPosition();(u?c===0:c===r.getFirstRow())&&(l.get("headerHeight")===0||Il(i)?ku(i,!0,!0):(t.preventDefault(),a.focusPreviousFromFirstCell(t)))}else e instanceof vu&&e.focusCell(!0),(a.focusOverlay(!1)||ku(i,n))&&t.preventDefault()}tabToNextCell(e,t){const n=this.beans,{focusSvc:o,rowRenderer:i}=n,s=o.getFocusedCell();if(!s)return!1;let r=Xc(n,s);return!r&&(r=i.getRowByPosition(s),!r?.isFullWidth())?!1:!!this.tabToNextCellCommon(r,e,t,"api")}tabToNextCellCommon(e,t,n,o="ui"){const{editSvc:i,focusSvc:s}=this.beans;let r;const a=e instanceof vu?e:e.getAllCellCtrls()?.[0];
55return i?.isEditing()?r=i?.moveToNextCell(a,t,n,o):r=this.moveToNextCellNotEditing(e,t,n),r===null?r:r||!!s.focusedHeader}moveToNextCellNotEditing(e,t,n){const o=this.beans.visibleCols.allCols;let i;if(e instanceof sm){if(i={...e.getRowPosition(),column:t?o[0]:on(o)},this.gos.get("embedFullWidthRows")&&n){const r=e.findFullWidthInfoForEvent(n);r&&(i.column=r.column)}}else i=e.getFocusedCellPosition();const s=this.findNextCellToFocusOn(i,{backwards:t,startEditing:!1});if(s===!1)return null;if(s instanceof vu)s.focusCell(!0);else if(s)return this.tryToFocusFullWidthRow(s,t);return Ge(s)}findNextCellToFocusOn(e,{backwards:t,startEditing:n,skipToNextEditableCell:o}){let i=e;const s=this.beans,{cellNavigation:r,gos:a,focusSvc:l,rowRenderer:c,rangeSvc:u}=s;for(;;){e!==i&&(e=i),t||(i=this.getLastCellOfColSpan(i)),i=r.getNextTabbedCell(i,t);const d=a.getCallback("tabToNextCell");if(Ge(d)){const g=d({backwards:t,editing:n,previousCellPosition:e,nextCellPosition:i||null});if(g===!0)i=e;else{if(g===!1)return!1;i={rowIndex:g.rowIndex,column:g.column,rowPinned:g.rowPinned}}}if(!i)return null;if(i.rowIndex<0){const f=Rs(s);return l.focusHeaderPosition({headerPosition:{headerRowIndex:f+i.rowIndex,column:i.column},fromCell:!0}),null}const h=a.get("editType")==="fullRow";if(n&&(!h||o)&&!this.isCellEditable(i))continue;this.ensureCellVisible(i);const p=Xc(s,i);if(!p){const f=c.getRowByPosition(i);if(!f||!f.isFullWidth()||n)continue;return{...f.getRowPosition(),column:i?.column}}if(!r.isSuppressNavigable(p.column,p.rowNode))return p.setFocusedCellPosition(i),u?.setRangeToCell(i),p}}isCellEditable(e){const t=this.lookupRowNodeForCell(e);return t?e.column.isCellEditable(t):!1}lookupRowNodeForCell({rowIndex:e,rowPinned:t}){const{pinnedRowModel:n,rowModel:o}=this.beans;return t==="top"?n?.getPinnedTopRow(e):t==="bottom"?n?.getPinnedBottomRow(e):o.getRow(e)}navigateToNextCell(e,t,n,o){let i=n,s=!1;const r=this.beans,{cellNavigation:a,focusSvc:l,gos:c}=r;for(;i&&(i===n||!this.isValidNavigateCell(i));)c.get("enableRtl")?t===he.LEFT&&(i=this.getLastCellOfColSpan(i)):t===he.RIGHT&&(i=this.getLastCellOfColSpan(i)),i=a.getNextCellToFocus(t,i),s=pn(i);if(s&&e&&e.key===he.UP&&(i={rowIndex:-1,rowPinned:null,column:n.column}),o){const d=c.getCallback("navigateToNextCell");if(Ge(d)){const p=d({key:t,previousCellPosition:n,nextCellPosition:i||null,event:e});Ge(p)?i={rowPinned:p.rowPinned,rowIndex:p.rowIndex,column:p.column}:i=null}}if(!i)return;if(i.rowIndex<0){const d=Rs(r);l.focusHeaderPosition({headerPosition:{headerRowIndex:d+i.rowIndex,column:n.column},event:e||void 0,fromCell:!0});return}const u=this.getNormalisedPosition(i);u?this.focusPosition(u):this.tryToFocusFullWidthRow(i)}getNormalisedPosition(e){if(!!this.beans.spannedRowRenderer?.getCellByPosition(e))return e;this.ensureCellVisible(e);const n=Xc(this.beans,e);return n?(e=n.getFocusedCellPosition(),this.ensureCellVisible(e),e):null}tryToFocusFullWidthRow(e,t){const{visibleCols:n,rowRenderer:o,focusSvc:i,eventSvc:s}=this.beans,r=n.allCols;if(!o.getRowByPosition(e)?.isFullWidth())return!1;const l=i.getFocusedCell(),c={rowIndex:e.rowIndex,rowPinned:e.rowPinned,column:e.column||(t?on(r):r[0])};this.focusPosition(c);const u=t??(l!=null&&Cq(c,l));return s.dispatchEvent({type:"fullWidthRowFocused",rowIndex:c.rowIndex,rowPinned:c.rowPinned,column:c.column,isFullWidthCell:!0,fromBelow:u}),!0}focusPosition(e){const{focusSvc:t,rangeSvc:n}=this.beans;t.setFocusedCell({rowIndex:e.rowIndex,column:e.column,rowPinned:e.rowPinned,forceBrowserFocus:!0}),n?.setRangeToCell(e)}isValidNavigateCell(e){return!!Pr(this.beans,e)}getLastCellOfColSpan(e){const t=Xc(this.beans,e);if(!t)return e;const n=t.getColSpanningList();return n.length===1?e:{rowIndex:e.rowIndex,column:on(n),rowPinned:e.rowPinned}}ensureCellVisible(e){const t=YL(this.gos),n=this.beans.rowModel.getRow(e.rowIndex),o=t&&n?.sticky,{scrollFeature:i}=this.gridBodyCon;!o&&pn(e.rowPinned)&&i.ensureIndexVisible(e.rowIndex),e.column.isPinned()||i.ensureColumnVisible(e.column)}ensureColumnVisible(e){const t=this.gridBodyCon.scrollFeature;e.isPinned()||t.ensureColumnVisible(e)}ensureRowVisible(e){this.gridBodyCon.scrollFeature.ensureIndexVisible(e)}};
vendor: 4,695 bytes, line 55
55function Cv(e){return e.ctrlsSvc.getScrollFeature().getVScrollPosition()}var EQ={moduleName:"KeyboardNavigation",version:We,beans:[SQ,UJ,nJ],apiFunctions:{getFocusedCell:jJ,clearFocusedCell:ZJ,setFocusedCell:KJ,setFocusedHeader:XJ,tabToNextCell:qJ,tabToPreviousCell:YJ}},TQ=class extends we{constructor(){super(...arguments),this.beanName="pageBoundsListener"}postConstruct(){this.addManagedEventListeners({modelUpdated:this.onModelUpdated.bind(this),recalculateRowBounds:this.calculatePages.bind(this)}),this.onModelUpdated()}onModelUpdated(e){this.calculatePages(),this.eventSvc.dispatchEvent({type:"paginationChanged",animate:e?.animate??!1,newData:e?.newData??!1,newPage:e?.newPage??!1,newPageSize:e?.newPageSize??!1,keepRenderedRows:e?.keepRenderedRows??!1})}calculatePages(){const{pageBounds:e,pagination:t,rowModel:n}=this.beans;t?t.calculatePages():e.calculateBounds(0,n.getRowCount()-1)}},RQ=class extends we{constructor(){super(...arguments),this.beanName="pageBounds",this.pixelOffset=0}getFirstRow(){return this.topRowBounds?.rowIndex??-1}getLastRow(){return this.bottomRowBounds?.rowIndex??-1}getCurrentPageHeight(){const{topRowBounds:e,bottomRowBounds:t}=this;return!e||!t?0:Math.max(t.rowTop+t.rowHeight-e.rowTop,0)}getCurrentPagePixelRange(){const{topRowBounds:e,bottomRowBounds:t}=this,n=e?.rowTop??0,o=t?t.rowTop+t.rowHeight:0;return{pageFirstPixel:n,pageLastPixel:o}}calculateBounds(e,t){const{rowModel:n}=this.beans,o=n.getRowBounds(e);o&&(o.rowIndex=e),this.topRowBounds=o;const i=n.getRowBounds(t);i&&(i.rowIndex=t),this.bottomRowBounds=i,this.calculatePixelOffset()}getPixelOffset(){return this.pixelOffset}calculatePixelOffset(){const e=this.topRowBounds?.rowTop??0;this.pixelOffset!==e&&(this.pixelOffset=e,this.eventSvc.dispatchEvent({type:"paginationPixelOffsetChanged"}))}},PQ=".ag-pinned-left-floating-bottom,.ag-pinned-left-floating-top,.ag-pinned-right-floating-bottom,.ag-pinned-right-floating-top{min-width:0;overflow:hidden;position:relative}.ag-pinned-left-sticky-top,.ag-pinned-right-sticky-top{height:100%;overflow:hidden;position:relative}.ag-sticky-bottom-full-width-container,.ag-sticky-top-full-width-container{height:100%;overflow:hidden;width:100%}.ag-pinned-left-header,.ag-pinned-right-header{display:inline-block;height:100%;overflow:hidden;position:relative}.ag-body-horizontal-scroll:not(.ag-scrollbar-invisible){.ag-horizontal-left-spacer:not(.ag-scroller-corner){border-right:var(--ag-pinned-column-border)}.ag-horizontal-right-spacer:not(.ag-scroller-corner){border-left:var(--ag-pinned-column-border)}}.ag-pinned-right-header{border-left:var(--ag-pinned-column-border)}.ag-pinned-left-header{border-right:var(--ag-pinned-column-border)}.ag-cell.ag-cell-first-right-pinned:not(.ag-cell-range-left,.ag-cell-range-single-cell,.ag-cell-focus:not(.ag-cell-range-selected):focus-within){border-left:var(--ag-pinned-column-border)}.ag-cell.ag-cell-last-left-pinned:not(.ag-cell-range-right,.ag-cell-range-single-cell,.ag-cell-focus:not(.ag-cell-range-selected):focus-within){border-right:var(--ag-pinned-column-border)}.ag-pinned-left-header .ag-header-cell-resize:after{left:calc(50% - var(--ag-header-column-resize-handle-width))}.ag-pinned-right-header .ag-header-cell-resize:after{left:50%}.ag-pinned-left-header .ag-header-cell-resize{right:-3px}.ag-pinned-right-header .ag-header-cell-resize{left:-3px}",MQ=class extends we{constructor(e,t){super(),this.isLeft=e,this.elements=t,this.getWidth=e?()=>this.beans.pinnedCols.leftWidth:()=>this.beans.pinnedCols.rightWidth}postConstruct(){this.addManagedEventListeners({[`${this.isLeft?"left":"right"}PinnedWidthChanged`]:this.onPinnedWidthChanged.bind(this)})}onPinnedWidthChanged(){const e=this.getWidth(),t=e>0;for(const n of this.elements)n&&(hn(n,t),xs(n,e))}},LQ=class extends we{constructor(){super(...arguments),this.beanName="pinnedCols"}postConstruct(){this.beans.ctrlsSvc.whenReady(this,t=>{this.gridBodyCtrl=t.gridBodyCtrl});const e=this.checkContainerWidths.bind(this);this.addManagedEventListeners({displayedColumnsChanged:e,displayedColumnsWidthChanged:e}),this.addManagedPropertyListener("domLayout",e)}checkContainerWidths(){const{gos:e,visibleCols:t,eventSvc:n}=this.beans,o=Jn(e,"print"),i=o?0:t.getColsLeftWidth(),s=o?0:t.getDisplayedColumnsRightWidth();i!=this.leftWidth&&(this.leftWidth=i,n.dispatchEvent({type:"leftPinnedWidthChanged"})),s!=this.rightWidth&&(this.rightWidth=s,n.dispatchEvent({type:"rightPinnedWidthChanged"}))}keepPinnedColumnsNarrowerThanViewport(){const e=this.gridBodyCtrl.eBodyViewport,t=Vh(e);if(t<=50)return;const n=this.getPinnedColumnsOverflowingViewport(t-50),o=this.gos.getCallback("processUnpinnedColumns"),{columns:i,hasLockedPinned:s}=n;let r=i;
55!r.length&&!s||(o&&(r=o({columns:r,viewportWidth:t})),r?.length&&(r=r.filter(a=>!gr(a)),this.setColsPinned(r,null,"viewportSizeFeature")))}createPinnedWidthFeature(e,...t){return new MQ(e,t)}setColsPinned(e,t,n){const{colModel:o,colAnimation:i,visibleCols:s,gos:r}=this.beans;if(!o.cols||!e?.length)return;if(Jn(r,"print")){Me(37);return}i?.start();let a;t===!0||t==="left"?a="left":t==="right"?a="right":a=null;const l=[];for(const c of e){if(!c)continue;const u=o.getCol(c);u&&u.getPinned()!==a&&(this.setColPinned(u,a),l.push(u))}l.length&&(s.refresh(n),dx(this.eventSvc,l,n)),i?.finish()}initCol(e){const{pinned:t,initialPinned:n}=e.colDef;t!==void 0?this.setColPinned(e,t):this.setColPinned(e,n)}setColPinned(e,t){t===!0||t==="left"?e.pinned="left":t==="right"?e.pinned="right":e.pinned=null,e.dispatchStateUpdatedEvent("pinned")}setupHeaderPinnedWidth(e){const{scrollVisibleSvc:t}=this.beans;if(e.pinned==null)return;const n=e.pinned==="left",o=e.pinned==="right";e.hidden=!0;const i=()=>{const s=n?this.leftWidth:this.rightWidth;if(s==null)return;const r=s==0,a=e.hidden!==r,l=this.gos.get("enableRtl"),c=t.getScrollbarWidth(),d=t.verticalScrollShowing&&(l&&n||!l&&o)?s+c:s;e.comp.setPinnedContainerWidth(`${d}px`),e.comp.setDisplayed(!r),a&&(e.hidden=r,e.refresh())};e.addManagedEventListeners({leftPinnedWidthChanged:i,rightPinnedWidthChanged:i,scrollVisibilityChanged:i,scrollbarWidthChanged:i})}getHeaderResizeDiff(e,t){if(t.getPinned()){const{leftWidth:o,rightWidth:i}=this,s=Vh(this.beans.ctrlsSvc.getGridBodyCtrl().eBodyViewport)-50;if(o+i+e>s)if(s>o+i)e=s-o-i;else return 0}return e}getPinnedColumnsOverflowingViewport(e){const t=this.rightWidth??0,n=this.leftWidth??0,o=t+n;let i=!1;if(o<e)return{columns:[],hasLockedPinned:i};const{visibleCols:s}=this.beans,r=[...s.leftCols],a=[...s.rightCols];let l=0,c=0;const u=0,d=[];let h=o-u-e;for(;(c<r.length||l<a.length)&&h>0;){if(l<a.length){const p=a[l++];if(p.colDef.lockPinned){i=!0;continue}h-=p.getActualWidth(),d.push(p)}if(c<r.length&&h>0){const p=r[c++];if(p.colDef.lockPinned){i=!0;continue}h-=p.getActualWidth(),d.push(p)}}return{columns:d,hasLockedPinned:i}}},xQ={moduleName:"PinnedColumn",version:We,beans:[LQ],css:[PQ]},DQ=class extends we{constructor(){super(),this.beanName="ariaAnnounce",this.descriptionContainer=null,this.pendingAnnouncements=new Map,this.lastAnnouncement="",this.updateAnnouncement=qn(this,this.updateAnnouncement.bind(this),200)}postConstruct(){const e=this.beans,t=Un(e),n=this.descriptionContainer=t.createElement("div");n.classList.add("ag-aria-description-container"),EL(n,"polite"),qW(n,"additions text"),KW(n,!0),e.eGridDiv.appendChild(n)}announceValue(e,t){this.pendingAnnouncements.set(t,e),this.updateAnnouncement()}updateAnnouncement(){if(!this.descriptionContainer)return;const e=Array.from(this.pendingAnnouncements.values()).join(". ");this.pendingAnnouncements.clear(),this.descriptionContainer.textContent="",setTimeout(()=>{this.handleAnnouncementUpdate(e)},50)}handleAnnouncementUpdate(e){if(!this.isAlive()||!this.descriptionContainer)return;let t=e;if(t==null||t.replace(/[ .]/g,"")==""){this.lastAnnouncement="";return}this.lastAnnouncement===t&&(t=`${t}​`),this.lastAnnouncement=t,this.descriptionContainer.textContent=t}destroy(){super.destroy();const{descriptionContainer:e}=this;e&&(Xn(e),e.remove()),this.descriptionContainer=null,this.pendingAnnouncements.clear()}},kQ={moduleName:"Aria",version:We,beans:[DQ]},AQ=":where(.ag-delay-render){.ag-cell,.ag-header-cell,.ag-header-group-cell,.ag-row,.ag-spanned-cell-wrapper{visibility:hidden}}",e9="ag-delay-render",_Q=class extends we{constructor(){super(...arguments),this.beanName="colDelayRenderSvc",this.hideRequested=!1,this.alreadyRevealed=!1,this.timesRetried=0,this.requesters=new Set}hideColumns(e){this.alreadyRevealed||this.requesters.has(e)||(this.requesters.add(e),this.hideRequested||(this.beans.ctrlsSvc.whenReady(this,t=>{t.gridBodyCtrl.eGridBody.classList.add(e9)}),this.hideRequested=!0))}revealColumns(e){if(this.alreadyRevealed||!this.isAlive()||(this.requesters.delete(e),this.requesters.size>0))return;const{renderStatus:t,ctrlsSvc:n}=this.beans;if(t){if(!t.areHeaderCellsRendered()&&this.timesRetried<5){this.timesRetried++,setTimeout(()=>this.revealColumns(e));return}this.timesRetried=0}n.getGridBodyCtrl().eGridBody.classList.remove(e9),this.alreadyRevealed=!0}},IQ={moduleName:"ColumnDelayRender",version:We,beans:[_Q],css:[AQ]};function FQ(e){e.overlays?.showLoadingOverlay()}function OQ(e){e.overlays?.showNoRowsOverlay()}function NQ(e){e.overlays?.hideOverlay()}var BQ=".ag-overlay{inset:0;pointer-events:none;position:absolute;z-index:2}.ag-overlay-panel,.ag-overlay-wrapper{display:flex;height:100%;width:100%}.ag-overlay-wrapper{align-items:center;flex:none;justify-content:center;text-align:center}.ag-overlay-loading-wrapper{pointer-events:all}.ag-overlay-loading-center{background:var(--ag-background-color);border:solid var(--ag-border-width) var(--ag-border-color);border-radius:var(--ag-border-radius);box-shadow:var(--ag-popup-shadow);padding:var(--ag-spacing)}",HQ={tag:"div",cls:"ag-overlay",role:"presentation",children:[{tag:"div",cls:"ag-overlay-panel",role:"presentation",children:[{tag:"div",ref:"eOverlayWrapper",cls:"ag-overlay-wrapper",role:"presentation"}]}]},FD=class extends jt{constructor(){super(HQ),this.eOverlayWrapper=$e,this.activePromise=null,this.activeOverlay=null,this.updateListenerDestroyFunc=null,this.activeCssClass=null,this.elToFocusAfter=null,this.registerCSS(BQ)}handleKeyDown(e){if(e.key!==he.TAB||e.defaultPrevented||vr(e))return;const t=this.beans;if(fc(t,this.eOverlayWrapper,!1,e.shiftKey))return;let o=!1;e.shiftKey?o=t.focusSvc.focusGridView({column:on(t.visibleCols.allCols),backwards:!0,canFocusOverlay:!1}):o=ku(t,!1),o&&e.preventDefault()}updateLayoutClasses(e,t){const n=this.eOverlayWrapper.classList,{AUTO_HEIGHT:o,NORMAL:i,PRINT:s}=Wi;n.toggle(o,t.autoHeight),n.toggle(i,t.normal),n.toggle(s,t.print)}postConstruct(){this.createManagedBean(new eb(this)),this.setDisplayed(!1,{skipAriaHidden:!0}),this.beans.overlays.setOverlayWrapperComp(this),this.addManagedElementListeners(this.getFocusableElement(),{keydown:this.handleKeyDown.bind(this)})}setWrapperTypeClass(e){const t=this.eOverlayWrapper.classList;this.activeCssClass&&t.toggle(this.activeCssClass,!1),this.activeCssClass=e,t.toggle(e,!0)}showOverlay(e,t,n,o){if(this.setWrapperTypeClass(t),this.destroyActiveOverlay(),this.elToFocusAfter=null,this.activePromise=e,!!e){if(this.setDisplayed(!0,{skipAriaHidden:!0}),n&&this.isGridFocused()){const i=Cn(this.beans);i&&!bL(this.beans)&&(this.elToFocusAfter=i)}e.then(i=>{if(this.activePromise!==e){this.activeOverlay!==i&&(this.destroyBean(i),i=null);return}if(this.activePromise=null,!!i){if(this.activeOverlay!==i&&(this.eOverlayWrapper.appendChild(i.getGui()),this.activeOverlay=i,o)){const s=i;this.updateListenerDestroyFunc=this.addManagedPropertyListener(o,({currentValue:r})=>{s.refresh?.(st(this.gos,{...r??{}}))})}n&&this.isGridFocused()&&Yl(this.eOverlayWrapper)}})}}updateOverlayWrapperPaddingTop(e){this.eOverlayWrapper.style.setProperty("padding-top",`${e}px`)}destroyActiveOverlay(){this.activePromise=null;const e=this.activeOverlay;if(!e)return;let t=this.elToFocusAfter;this.activeOverlay=null,this.elToFocusAfter=null,t&&!this.isGridFocused()&&(t=null);const n=this.updateListenerDestroyFunc;n&&(n(),this.updateListenerDestroyFunc=null),this.destroyBean(e),Xn(this.eOverlayWrapper),t?.focus?.({preventScroll:!0})}hideOverlay(){this.destroyActiveOverlay(),this.setDisplayed(!1,{skipAriaHidden:!0})}
55isGridFocused(){const e=Cn(this.beans);return!!e&&this.beans.eGridDiv.contains(e)}destroy(){this.elToFocusAfter=null,this.destroyActiveOverlay(),this.beans.overlays.setOverlayWrapperComp(void 0),super.destroy()}},VQ={selector:"AG-OVERLAY-WRAPPER",component:FD},$Q=class extends we{constructor(){super(...arguments),this.beanName="overlays",this.state=0,this.showInitialOverlay=!0,this.wrapperPadding=0}postConstruct(){this.isClientSide=kn(this.gos),this.isServerSide=!this.isClientSide&&od(this.gos);const e=()=>this.updateOverlayVisibility();this.addManagedEventListeners({newColumnsLoaded:e,rowDataUpdated:e,gridSizeChanged:this.refreshWrapperPadding.bind(this),rowCountReady:()=>{this.showInitialOverlay=!1,this.updateOverlayVisibility()}}),this.addManagedPropertyListener("loading",e)}setOverlayWrapperComp(e){this.eWrapper=e,this.updateOverlayVisibility()}isVisible(){return this.state!==0&&!!this.eWrapper}isExclusive(){return this.state===1&&!!this.eWrapper}showLoadingOverlay(){this.showInitialOverlay=!1;const e=this.gos,t=e.get("loading");!t&&(t!==void 0||e.get("suppressLoadingOverlay"))||this.doShowLoadingOverlay()}showNoRowsOverlay(){this.showInitialOverlay=!1;const e=this.gos;e.get("loading")||e.get("suppressNoRowsOverlay")||this.doShowNoRowsOverlay()}hideOverlay(){if(this.showInitialOverlay=!1,this.gos.get("loading")){Me(99);return}this.doHideOverlay()}getOverlayWrapperSelector(){return VQ}getOverlayWrapperCompClass(){return FD}updateOverlayVisibility(){if(!this.eWrapper){this.state=0;return}const{state:e,isClientSide:t,isServerSide:n,beans:{gos:o,colModel:i,rowModel:s}}=this;let r=this.gos.get("loading");r!==void 0&&(this.showInitialOverlay=!1),this.showInitialOverlay&&r===void 0&&!o.get("suppressLoadingOverlay")&&(r=!o.get("columnDefs")||!i.ready||!o.get("rowData")&&t),r?e!==1&&this.doShowLoadingOverlay():(this.showInitialOverlay=!1,t&&s.isEmpty()&&!o.get("suppressNoRowsOverlay")?e!==2&&this.doShowNoRowsOverlay():(e===1||!n&&e!==0)&&this.doHideOverlay())}doShowLoadingOverlay(){this.eWrapper&&(this.state=1,this.showOverlay(lU(this.beans.userCompFactory,st(this.gos,{})),"ag-overlay-loading-wrapper","loadingOverlayComponentParams"),this.updateExclusive())}doShowNoRowsOverlay(){this.eWrapper&&(this.state=2,this.showOverlay(cU(this.beans.userCompFactory,st(this.gos,{})),"ag-overlay-no-rows-wrapper","noRowsOverlayComponentParams"),this.updateExclusive())}doHideOverlay(){this.eWrapper&&(this.state=0,this.eWrapper.hideOverlay(),this.updateExclusive())}showOverlay(e,t,n){const o=e?.newAgStackInstance()??null;this.eWrapper?.showOverlay(o,t,this.isExclusive(),n),this.refreshWrapperPadding()}updateExclusive(){const e=this.exclusive;this.exclusive=this.isExclusive(),this.exclusive!==e&&this.eventSvc.dispatchEvent({type:"overlayExclusiveChanged"})}refreshWrapperPadding(){const e=this.eWrapper;if(!e)return;let t=0;this.state===2&&(t=this.beans.ctrlsSvc.get("gridHeaderCtrl")?.headerHeight||0),this.wrapperPadding!==t&&(this.wrapperPadding=t,e.updateOverlayWrapperPaddingTop(t))}},WQ={moduleName:"Overlay",version:We,userComponents:{agLoadingOverlay:nK,agNoRowsOverlay:iK},apiFunctions:{showLoadingOverlay:FQ,showNoRowsOverlay:OQ,hideOverlay:NQ},beans:[$Q]},GQ=class extends we{constructor(){super(...arguments),this.beanName="rowContainerHeight",this.scrollY=0,this.uiBodyHeight=0}postConstruct(){this.addManagedEventListeners({bodyHeightChanged:this.updateOffset.bind(this)}),this.maxDivHeight=pU(),xa(this.gos,"RowContainerHeightService - maxDivHeight = "+this.maxDivHeight)}updateOffset(){if(!this.stretching)return;const e=this.beans.ctrlsSvc.getScrollFeature().getVScrollPosition().top,t=this.getUiBodyHeight();(e!==this.scrollY||t!==this.uiBodyHeight)&&(this.scrollY=e,this.uiBodyHeight=t,this.calculateOffset())}calculateOffset(){this.setUiContainerHeight(this.maxDivHeight),this.pixelsToShave=this.modelHeight-this.uiContainerHeight,this.maxScrollY=this.uiContainerHeight-this.uiBodyHeight;const e=this.scrollY/this.maxScrollY,t=e*this.pixelsToShave;xa(this.gos,`RowContainerHeightService - Div Stretch Offset = ${t} (${this.pixelsToShave} * ${e})`),this.setDivStretchOffset(t)}setUiContainerHeight(e){e!==this.uiContainerHeight&&(this.uiContainerHeight=e,this.eventSvc.dispatchEvent({type:"rowContainerHeight
55Changed"}))}clearOffset(){this.setUiContainerHeight(this.modelHeight),this.pixelsToShave=0,this.setDivStretchOffset(0)}setDivStretchOffset(e){const t=typeof e=="number"?Math.floor(e):null;this.divStretchOffset!==t&&(this.divStretchOffset=t,this.eventSvc.dispatchEvent({type:"heightScaleChanged"}))}setModelHeight(e){this.modelHeight=e,this.stretching=e!=null&&this.maxDivHeight>0&&e>this.maxDivHeight,this.stretching?this.calculateOffset():this.clearOffset()}getRealPixelPosition(e){return e-this.divStretchOffset}getUiBodyHeight(){const e=this.beans.ctrlsSvc.getScrollFeature().getVScrollPosition();return e.bottom-e.top}getScrollPositionForPixel(e){if(this.pixelsToShave<=0)return e;const t=this.modelHeight-this.getUiBodyHeight(),n=e/t;return this.maxScrollY*n}},zQ=400,UQ=class extends we{constructor(){super(...arguments),this.beanName="rowRenderer",this.destroyFuncsForColumnListeners=[],this.rowCtrlsByRowIndex={},this.zombieRowCtrls={},this.allRowCtrls=[],this.topRowCtrls=[],this.bottomRowCtrls=[],this.refreshInProgress=!1,this.dataFirstRenderedFired=!1,this.setupRangeSelectionListeners=()=>{const e=()=>{for(const s of this.getAllCellCtrls())s.onCellSelectionChanged()},t=()=>{for(const s of this.getAllCellCtrls())s.updateRangeBordersIfRangeCount()},n=()=>{this.eventSvc.addListener("cellSelectionChanged",e),this.eventSvc.addListener("columnMoved",t),this.eventSvc.addListener("columnPinned",t),this.eventSvc.addListener("columnVisible",t)},o=()=>{this.eventSvc.removeListener("cellSelectionChanged",e),this.eventSvc.removeListener("columnMoved",t),this.eventSvc.removeListener("columnPinned",t),this.eventSvc.removeListener("columnVisible",t)};this.addDestroyFunc(()=>o()),this.addManagedPropertyListeners(["enableRangeSelection","cellSelection"],()=>{Rr(this.gos)?n():o()}),Rr(this.gos)&&n()}}wireBeans(e){this.pageBounds=e.pageBounds,this.colModel=e.colModel,this.pinnedRowModel=e.pinnedRowModel,this.rowModel=e.rowModel,this.focusSvc=e.focusSvc,this.rowContainerHeight=e.rowContainerHeight,this.ctrlsSvc=e.ctrlsSvc,this.editSvc=e.editSvc}postConstruct(){this.ctrlsSvc.whenReady(this,e=>{this.gridBodyCtrl=e.gridBodyCtrl,this.initialise()})}initialise(){this.addManagedEventListeners({paginationChanged:this.onPageLoaded.bind(this),pinnedRowDataChanged:this.onPinnedRowDataChanged.bind(this),pinnedRowsChanged:this.onPinnedRowsChanged.bind(this),displayedColumnsChanged:this.onDisplayedColumnsChanged.bind(this),bodyScroll:this.onBodyScroll.bind(this),bodyHeightChanged:this.redraw.bind(this,{})}),this.addManagedPropertyListeners(["domLayout","embedFullWidthRows"],()=>this.onDomLayoutChanged()),this.addManagedPropertyListeners(["suppressMaxRenderedRowRestriction","rowBuffer"],()=>this.redraw()),this.addManagedPropertyListener("suppressCellFocus",o=>this.onSuppressCellFocusChanged(o.currentValue)),this.addManagedPropertyListeners(["groupSuppressBlankHeader","getBusinessKeyForNode","fullWidthCellRenderer","fullWidthCellRendererParams","suppressStickyTotalRow","groupRowRenderer","groupRowRendererParams","loadingCellRenderer","loadingCellRendererParams","detailCellRenderer","detailCellRendererParams","enableRangeSelection","enableCellTextSelection"],()=>this.redrawRows()),this.addManagedPropertyListener("cellSelection",({currentValue:o,previousValue:i})=>{(!i&&o||i&&!o)&&this.redrawRows()});const{stickyRowSvc:e,gos:t,showRowGroupCols:n}=this.beans;if(n&&this.addManagedPropertyListener("showOpenedGroup",()=>{const o=n.getShowRowGroupCols();o.length&&this.refreshCells({columns:o,force:!0})}),e)this.stickyRowFeature=e.createStickyRowFeature(this,this.createRowCon.bind(this),this.destroyRowCtrls.bind(this));else{const o=this.gridBodyCtrl;o.setStickyTopHeight(0),o.setStickyBottomHeight(0)}this.registerCellEventListeners(),this.initialiseCache(),this.printLayout=Jn(t,"print"),this.embedFullWidthRows=this.printLayout||t.get("embedFullWidthRows"),this.redrawAfterModelUpdate()}initialiseCache(){if(this.gos.get("keepDetailRows")){const e=this.getKeepDetailRowsCount(),t=e??3;this.cachedRowCtrls=new jQ(t)}}getKeepDetailRowsCount(){return this.gos.get("keepDetailRowsCount")}getStickyTopRowCtrls(){return this.stickyRowFeature?.stickyTopRowCtrls??[]}getStickyBottomRowCtrls(){return this.stickyRowFeature?.stickyBottomRowCtrls??[]}updateAllRowCtrls(){const e=Object.values(this.rowCtrlsByRowIndex),t=Object.values(this.zombieRowCtrls),n=this.cachedRowCtrls?.getEntries()??[];t.length>0||n.length>0?this.allRowCtrls=[...e,...t,...n]:this.allRowCtrls=e}isCellBeingRendered(e,t){const n=this.rowCtrlsByRowIndex[e];return!t||!n?!!n:n.isFullWidth()?!0:!!this.beans.spannedRowRenderer?.getCellByPosition({rowIndex:e,column:t,rowPinned:null})||!!n.getCellCtrl(t)||!n.isRowRendered()}updateCellFocus(e){for(const t of this.getAllCellCtrls())t.onCellFocused(e);for(const t of this.getFullWidthRowCtrls())t.onFullWidthRowFocused(e)}onCellFocusChanged(e){if(e?.rowIndex!=null&&!e.rowPinned){const t=this.beans.colModel.getCol(e.column)??void 0;this.isCellBeingRendered(e.rowIndex,t)||this.redraw()}this.updateCellFocus(e)}onSuppressCellFocusChanged(e){for(const t of this.getAllCellCtrls())t.onSuppressCellFocusChanged(e);for(const t of this.getFullWidthRowCtrls())t.onSuppressCellFocusChanged(e)}registerCellEventListeners(){this.addManagedEventListeners({cellFocused:e=>this.onCellFocusChanged(e),cellFocusCleared:()=>this.updateCellFocus(),flashCells:e=>{const{cellFlashSvc:t}=this.beans;if(t)for(const n of this.getAllCellCtrls())t.onFlashCells(n,e)},columnHoverChanged:()=>{for(const e of this.getAllCellCtrls())e.onColumnHover()},displayedColumnsChanged:()=>{for(const e of this.getAllCellCtrls())e.onDisplayedColumnsChanged()},displayedColumnsWidthChanged:()=>
vendor: 11,525 bytes, line 55
55{if(this.printLayout)for(const e of this.getAllCellCtrls())e.onLeftChanged()}}),this.setupRangeSelectionListeners(),this.refreshListenersToColumnsForCellComps(),this.addManagedEventListeners({gridColumnsChanged:this.refreshListenersToColumnsForCellComps.bind(this)}),this.addDestroyFunc(this.removeGridColumnListeners.bind(this))}removeGridColumnListeners(){for(const e of this.destroyFuncsForColumnListeners)e();this.destroyFuncsForColumnListeners.length=0}refreshListenersToColumnsForCellComps(){this.removeGridColumnListeners();const e=this.colModel.getCols();for(const t of e){const n=l=>{for(const c of this.getAllCellCtrls())c.column===t&&l(c)},o=()=>{n(l=>l.onLeftChanged())},i=()=>{n(l=>l.onWidthChanged())},s=()=>{n(l=>l.onFirstRightPinnedChanged())},r=()=>{n(l=>l.onLastLeftPinnedChanged())},a=()=>{n(l=>l.onColDefChanged())};t.__addEventListener("leftChanged",o),t.__addEventListener("widthChanged",i),t.__addEventListener("firstRightPinnedChanged",s),t.__addEventListener("lastLeftPinnedChanged",r),t.__addEventListener("colDefChanged",a),this.destroyFuncsForColumnListeners.push(()=>{t.__removeEventListener("leftChanged",o),t.__removeEventListener("widthChanged",i),t.__removeEventListener("firstRightPinnedChanged",s),t.__removeEventListener("lastLeftPinnedChanged",r),t.__removeEventListener("colDefChanged",a)})}}onDomLayoutChanged(){const e=Jn(this.gos,"print"),t=e||this.gos.get("embedFullWidthRows"),n=t!==this.embedFullWidthRows||this.printLayout!==e;this.printLayout=e,this.embedFullWidthRows=t,n&&this.redrawAfterModelUpdate({domLayoutChanged:!0})}datasourceChanged(){this.firstRenderedRow=0,this.lastRenderedRow=-1;const e=Object.keys(this.rowCtrlsByRowIndex);this.removeRowCtrls(e)}onPageLoaded(e){const t={recycleRows:e.keepRenderedRows,animate:e.animate,newData:e.newData,newPage:e.newPage,onlyBody:!0};this.redrawAfterModelUpdate(t)}getAllCellsNotSpanningForColumn(e){const t=[];for(const n of this.getAllRowCtrls()){const o=n.getCellCtrl(e,!0)?.eGui;o&&t.push(o)}return t}refreshFloatingRowComps(e=!0){this.refreshFloatingRows(this.topRowCtrls,"top",e),this.refreshFloatingRows(this.bottomRowCtrls,"bottom",e)}refreshFloatingRows(e,t,n){const{pinnedRowModel:o,beans:i,printLayout:s}=this,r=Object.fromEntries(e.map(l=>[l.rowNode.id,l]));o?.forEachPinnedRow(t,(l,c)=>{const u=e[c];u&&o.getPinnedRowById(u.rowNode.id,t)===void 0&&(u.destroyFirstPass(),u.destroySecondPass()),l.id in r&&n?(e[c]=r[l.id],delete r[l.id]):e[c]=new sm(l,i,!1,!1,s)});const a=(t==="top"?o?.getPinnedTopRowCount():o?.getPinnedBottomRowCount())??0;e.length=a}onPinnedRowDataChanged(){const e={recycleRows:!0};this.redrawAfterModelUpdate(e)}onPinnedRowsChanged(){this.redrawAfterModelUpdate({recycleRows:!0})}redrawRow(e,t=!1){if(e.sticky)this.stickyRowFeature?.refreshStickyNode(e);else if(this.cachedRowCtrls?.has(e)){this.cachedRowCtrls.removeRow(e);return}else{const n=o=>{const i=o[e.rowIndex];i&&i.rowNode===e&&(i.destroyFirstPass(),i.destroySecondPass(),o[e.rowIndex]=this.createRowCon(e,!1,!1))};switch(e.rowPinned){case"top":n(this.topRowCtrls);break;case"bottom":n(this.bottomRowCtrls);break;default:n(this.rowCtrlsByRowIndex),this.updateAllRowCtrls()}}t||this.dispatchDisplayedRowsChanged(!1)}redrawRows(e){const{editSvc:t}=this.beans;if(t?.isEditing()&&(t.isBatchEditing()?t.cleanupEditors():t.stopEditing(void 0,{source:"api"})),e!=null){for(const o of e??[])this.redrawRow(o,!0);this.dispatchDisplayedRowsChanged(!1);return}this.redrawAfterModelUpdate()}redrawAfterModelUpdate(e={}){this.getLockOnRefresh();const t=this.beans.focusSvc?.getFocusCellToUseAfterRefresh();this.updateContainerHeights(),this.scrollToTopIfNewData(e);const n=!e.domLayoutChanged&&!!e.recycleRows,o=e.animate&&uu(this.gos),i=n?this.getRowsToRecycle():null;n||this.removeAllRowComps(),this.workOutFirstAndLastRowsToRender();const{stickyRowFeature:s,gos:r}=this;if(s){s.checkStickyRows();const a=s.extraTopHeight+s.extraBottomHeight;a&&this.updateContainerHeights(a)}this.recycleRows(i,o),this.gridBodyCtrl.updateRowCount(),e.onlyBody||this.refreshFloatingRowComps(r.get("enableRowPinning")?n:void 0),this.dispatchDisplayedRowsChanged(),t!=null&&this.restoreFocusedCell(t),this.releaseLockOnRefresh()}scrollToTopIfNewData(e){const t=e.newData||e.newPage,n=this.gos.get("suppressScrollOnNewData");t&&!n&&(this.gridBodyCtrl.scrollFeature.scrollToTop(),this.stickyRowFeature?.resetOffsets())}updateContainerHeights(e=0){const{rowContainerHeight:t}=this;if(this.printLayout){t.setModelHeight(null);return}let n=this.pageBounds.getCurrentPageHeight();n===0&&(n=1),t.setModelHeight(n+e)}getLockOnRefresh(){if(this.refreshInProgress)throw new Error(Ds(252));this.refreshInProgress=!0,this.beans.frameworkOverrides.getLockOnRefresh?.()}releaseLockOnRefresh(){this.refreshInProgress=!1,this.beans.frameworkOverrides.releaseLockOnRefresh?.()}isRefreshInProgress(){return this.refreshInProgress}restoreFocusedCell(e){if(!e)return;const t=this.beans.focusSvc,n=this.findPositionToFocus(e);if(!n){t.focusHeaderPosition({headerPosition:{headerRowIndex:Rs(this.beans)-1,column:e.column}});return}if(e.rowIndex!==n.rowIndex||e.rowPinned!=n.rowPinned){t.setFocusedCell({...n,preventScrollOnBrowserFocus:!0,forceBrowserFocus:!0});return}t.doesRowOrCellHaveBrowserFocus()||this.updateCellFocus(st(this.gos,{...n,forceBrowserFocus:!0,preventScrollOnBrowserFocus:!0,type:"cellFocused"}))}findPositionToFocus(e){const{pagination:t,pageBounds:n}=this.beans;let o=e;for(o.rowPinned==null&&t&&n&&!t.isRowInPage(o.rowIndex)&&(o={rowPinned:null,rowIndex:n.getFirstRow()});o;){if(o.rowPinned==null&&n)if(o.rowIndex<n.getFirstRow()){if(o=om(this.beans,{rowPinned:null,rowIndex:0}),!o)return null}else o.rowIndex>n.getLastRow()&&(o={rowPinned:null,rowIndex:n.getLastRow()});const i=this.getRowByPosition(o);if(i?.isAlive())return{...i.getRowPosition(),column:e.column};o=om(this.beans,o)}return null}getAllCellCtrls(){const e=[],t=this.getAllRowCtrls(),n=t.length;for(let o=0;o<n;o++){const i=t[o].getAllCellCtrls(),s=i.length;for(let r=0;r<s;r++)e.push(i[r])}return e}getAllRowCtrls(){const{spannedRowRenderer:e}=this.beans,t=this.getStickyTopRowCtrls(),n=this.getStickyBottomRowCtrls();return[...this.topRowCtrls,...this.bottomRowCtrls,...t,...n,...e?.getCtrls("top")??[],...e?.getCtrls("bottom")??[],...e?.getCtrls("center")??[],...Object.values(this.rowCtrlsByRowIndex)]}addRenderedRowListener(e,t,n){const o=this.rowCtrlsByRowIndex[t];o&&o.addEventListener(e,n)}refreshCells({rowNodes:e,columns:t,force:n,suppressFlash:o}={}){const i={force:n,newData:!1,suppressFlash:o};for(const s of this.getCellCtrls(e,t))s.refreshOrDestroyCell(i);this.refreshFullWidth(e)}refreshRows(e={}){for(const t of this.getRowCtrls(e.rowNodes))t.refreshRow(e);this.refreshFullWidth(e.rowNodes)}refreshFullWidth(e){if(!e)return;let t=!1;for(const n of this.getRowCtrls(e)){if(!n.isFullWidth())continue;n.refreshFullWidth()||(t=!0,this.redrawRow(n.rowNode,!0))}t&&this.dispatchDisplayedRowsChanged(!1)}getRowCtrls(e){const t=T5(e),n=this.getAllRowCtrls();return!e||!t?n:n.filter(o=>{const i=o.rowNode;return R5(i,t)})}getCellCtrls(e,t){let n;Ge(t)&&(n={},t.forEach(i=>{const s=this.colModel.getCol(i);Ge(s)&&(n[s.getId()]=!0)}));const o=[];for(const i of this.getRowCtrls(e))for(const s of i.getAllCellCtrls()){const r=s.column.getId();n&&!n[r]||o.push(s)}return o}destroy(){this.removeAllRowComps(!0),super.destroy()}removeAllRowComps(e=!1){const t=Object.keys(this.rowCtrlsByRowIndex);this.removeRowCtrls(t,e),this.stickyRowFeature?.destroyStickyCtrls()}getRowsToRecycle(){const e=[];for(const n of Object.keys(this.rowCtrlsByRowIndex))this.rowCtrlsByRowIndex[n].rowNode.id==null&&e.push(n);this.removeRowCtrls(e);const t={};for(const n of Object.values(this.rowCtrlsByRowIndex)){const o=n.rowNode;t[o.id]=n}return this.rowCtrlsByRowIndex={},t}removeRowCtrls(e,t=!1){for(const n of e){const o=this.rowCtrlsByRowIndex[n];o&&(o.destroyFirstPass(t),o.destroySecondPass()),delete this.rowCtrlsByRowIndex[n]}}onBodyScroll(e){e.direction==="vertical"&&this.redraw({afterScroll:!0})}redraw(e={}){const{focusSvc:t,animationFrameSvc:n}=this.beans,{afterScroll:o}=e;let i;const s=this.stickyRowFeature;s&&(i=t?.getFocusCellToUseAfterRefresh()||void 0);const r=this.firstRenderedRow,a=this.lastRenderedRow;this.workOutFirstAndLastRowsToRender();let l=!1;if(s){l=s.checkStickyRows();const u=s.extraTopHeight+s.extraBottomHeight;u&&this.updateContainerHeights(u)}const c=this.firstRenderedRow!==r||this.lastRenderedRow!==a;if(!(o&&!l&&!c)&&(this.getLockOnRefresh(),this.recycleRows(null,!1,o),this.releaseLockOnRefresh(),this.dispatchDisplayedRowsChanged(o&&!l),i!=null)){const u=t?.getFocusCellToUseAfterRefresh();i!=null&&u==null&&(n?.flushAllFrames(),this.restoreFocusedCell(i))}}removeRowCompsNotToDraw(e,t){const n={};for(const s of e)n[s]=!0;const i=Object.keys(this.rowCtrlsByRowIndex).filter(s=>!n[s]);this.removeRowCtrls(i,t)}calculateIndexesToDraw(e){const t=[];for(let r=this.firstRenderedRow;r<=this.lastRenderedRow;r++)t.push(r);const n=this.beans.pagination,o=this.beans.focusSvc?.getFocusedCell()?.rowIndex;o!=null&&(o<this.firstRenderedRow||o>this.lastRenderedRow)&&(!n||n.isRowInPage(o))&&o<this.rowModel.getRowCount()&&t.push(o);const i=r=>{const a=r.rowNode.rowIndex;a==null||a===o||(a<this.firstRenderedRow||a>this.lastRenderedRow)&&this.doNotUnVirtualiseRow(r)&&t.push(a)};for(const r of Object.values(this.rowCtrlsByRowIndex))i(r);if(e)for(const r of Object.values(e))i(r);t.sort((r,a)=>r-a);const s=[];for(let r=0;r<t.length;r++){const a=t[r],l=this.rowModel.getRow(a);l&&!l.sticky&&s.push(a)}return s}recycleRows(e,t=!1,n=!1){const o=this.calculateIndexesToDraw(e);(this.printLayout||n)&&(t=!1),this.removeRowCompsNotToDraw(o,!t);for(const i of o)this.createOrUpdateRowCtrl(i,e,t,n);if(e){const{animationFrameSvc:i}=this.beans;i?.active&&n&&!this.printLayout?i.addDestroyTask(()=>{this.destroyRowCtrls(e,t),this.updateAllRowCtrls(),this.dispatchDisplayedRowsChanged()}):this.destroyRowCtrls(e,t)}this.updateAllRowCtrls()}dispatchDisplayedRowsChanged(e=!1){this.eventSvc.dispatchEvent({type:"displayedRowsChanged",afterScroll:e})}onDisplayedColumnsChanged(){const{visibleCols:e}=this.beans,t=e.isPinningLeft(),n=e.isPinningRight();(this.pinningLeft!==t||n!==this.pinningRight)&&(this.pinningLeft=t,this.pinningRight=n,this.embedFullWidthRows&&this.redrawFullWidthEmbeddedRows())}redrawFullWidthEmbeddedRows(){const e=[];for(const t of this.getFullWidthRowCtrls()){const n=t.rowNode.rowIndex;e.push(n.toString())}this.refreshFloatingRowComps(),this.removeRowCtrls(e),this.redraw({afterScroll:!0})}getFullWidthRowCtrls(e){const t=T5(e);return this.getAllRowCtrls().filter(n=>{if(!n.isFullWidth())return!1;const o=n.rowNode;return!(t!=null&&!R5(o,t))})}createOrUpdateRowCtrl(e,t,n,o){let i,s=this.rowCtrlsByRowIndex[e];if(s||(i=this.rowModel.getRow(e),Ge(i)&&Ge(t)&&t[i.id]&&i.alreadyRendered&&(s=t[i.id],t[i.id]=null)),!s)if(i||(i=this.rowModel.getRow(e)),Ge(i))s=this.createRowCon(i,n,o);else return;i&&(i.alreadyRendered=!0),this.rowCtrlsByRowIndex[e]=s}destroyRowCtrls(e,t){const n=[];if(e){for(const o of Object.values(e))if(o){if(this.cachedRowCtrls&&o.isCacheable()){this.cachedRowCtrls.addRow(o);continue}if(o.destroyFirstPass(!t),t){const i=o.instanceId;this.zombieRowCtrls[i]=o,n.push(()=>{o.destroySecondPass(),delete this.zombieRowCtrls[i]})}else o.destroySecondPass()}}t&&(n.push(()=>{this.isAlive()&&(this.updateAllRowCtrls(),this.dispatchDisplayedRowsChanged())}),window.setTimeout(()=>{for(const o of n)o()},zQ))}getRowBuffer(){return this.gos.get("rowBuffer")}
55getRowBufferInPixels(){const e=this.getRowBuffer(),t=Al(this.beans);return e*t}workOutFirstAndLastRowsToRender(){const{rowContainerHeight:e,pageBounds:t,rowModel:n}=this;e.updateOffset();let o,i;if(!n.isRowsToRender())o=0,i=-1;else if(this.printLayout)this.beans.environment.refreshRowHeightVariable(),o=t.getFirstRow(),i=t.getLastRow();else{const u=this.getRowBufferInPixels(),d=this.ctrlsSvc.getScrollFeature(),h=this.gos.get("suppressRowVirtualisation");let p=!1,f,g;do{const w=t.getPixelOffset(),{pageFirstPixel:S,pageLastPixel:E}=t.getCurrentPagePixelRange(),T=e.divStretchOffset,R=d.getVScrollPosition(),A=R.top,k=R.bottom;h?(f=S+T,g=E+T):(f=Math.max(A+w-u,S)+T,g=Math.min(k+w+u,E)+T),this.firstVisibleVPixel=Math.max(A+w,S)+T,this.lastVisibleVPixel=Math.min(k+w,E)+T,p=this.ensureAllRowsInRangeHaveHeightsCalculated(f,g)}while(p);let m=n.getRowIndexAtPixel(f),v=n.getRowIndexAtPixel(g);const y=t.getFirstRow(),b=t.getLastRow();m<y&&(m=y),v>b&&(v=b),o=m,i=v}const s=Jn(this.gos,"normal"),r=this.gos.get("suppressMaxRenderedRowRestriction"),a=Math.max(this.getRowBuffer(),500);s&&!r&&i-o>a&&(i=o+a);const l=o!==this.firstRenderedRow,c=i!==this.lastRenderedRow;(l||c)&&(this.firstRenderedRow=o,this.lastRenderedRow=i,this.eventSvc.dispatchEvent({type:"viewportChanged",firstRow:o,lastRow:i}))}dispatchFirstDataRenderedEvent(){this.dataFirstRenderedFired||(this.dataFirstRenderedFired=!0,Br(this.beans,()=>{this.beans.eventSvc.dispatchEvent({type:"firstDataRendered",firstRow:this.firstRenderedRow,lastRow:this.lastRenderedRow})}))}ensureAllRowsInRangeHaveHeightsCalculated(e,t){const n=this.pinnedRowModel?.ensureRowHeightsValid(),o=this.stickyRowFeature?.ensureRowHeightsValid(),{pageBounds:i,rowModel:s}=this,r=s.ensureRowHeightsValid(e,t,i.getFirstRow(),i.getLastRow());return(r||o)&&this.eventSvc.dispatchEvent({type:"recalculateRowBounds"}),o||r||n?(this.updateContainerHeights(),!0):!1}doNotUnVirtualiseRow(e){const o=e.rowNode,i=this.focusSvc.isRowFocused(o.rowIndex,o.rowPinned),s=this.editSvc?.isEditing(e),r=o.detail;return i||s||r?!!this.isRowPresent(o):!1}isRowPresent(e){return this.rowModel.isRowPresent(e)?this.beans.pagination?.isRowInPage(e.rowIndex)??!0:!1}createRowCon(e,t,n){const o=this.cachedRowCtrls?.getRow(e)??null;if(o)return o;const i=n&&!this.printLayout&&!!this.beans.animationFrameSvc?.active;return new sm(e,this.beans,t,i,this.printLayout)}getRenderedNodes(){const e=Object.values(this.rowCtrlsByRowIndex).map(o=>o.rowNode),t=this.getStickyTopRowCtrls().map(o=>o.rowNode),n=this.getStickyBottomRowCtrls().map(o=>o.rowNode);return[...t,...e,...n]}getRowByPosition(e){let t;const{rowIndex:n}=e;switch(e.rowPinned){case"top":t=this.topRowCtrls[n];break;case"bottom":t=this.bottomRowCtrls[n];break;default:t=this.rowCtrlsByRowIndex[n],t||(t=this.getStickyTopRowCtrls().find(o=>o.rowNode.rowIndex===n)||null,t||(t=this.getStickyBottomRowCtrls().find(o=>o.rowNode.rowIndex===n)||null));break}return t}isRangeInRenderedViewport(e,t){if(e==null||t==null)return!1;const o=e>this.lastRenderedRow;return!(t<this.firstRenderedRow)&&!o}},jQ=class{constructor(e){this.entriesMap={},this.entriesList=[],this.maxCount=e}addRow(e){if(this.entriesMap[e.rowNode.id]=e,this.entriesList.push(e),e.setCached(!0),this.entriesList.length>this.maxCount){const t=this.entriesList[0];t.destroyFirstPass(),t.destroySecondPass(),this.removeFromCache(t)}}getRow(e){if(e?.id==null)return null;const t=this.entriesMap[e.id];return t?(this.removeFromCache(t),t.setCached(!1),t.rowNode!=e?null:t):null}has(e){return this.entriesMap[e.id]!=null}removeRow(e){const t=e.id,n=this.entriesMap[t];delete this.entriesMap[t],os(this.entriesList,n)}removeFromCache(e){const t=e.rowNode.id;delete this.entriesMap[t],os(this.entriesList,e)}getEntries(){return this.entriesList}};function T5(e){if(!e)return;const t={top:{},bottom:{},normal:{}};for(const n of e){const o=n.id;switch(n.rowPinned){case"top":t.top[o]=n;break;case"bottom":t.bottom[o]=n;break;default:t.normal[o]=n;break}}return t}function R5(e,t){const n=e.id;switch(e.rowPinned){case"top":return t.top[n]!=null;case"bottom":return t.bottom[n]!=null;default:return t.normal[n]!=null}}var ZQ=class extends we{constructor(){super(...arguments),this.beanName="rowNodeSorter"}postConstruct(){const{gos:e}=this;this.isAccentedSort=e.get("accentedSort"),this.primaryColumnsSortGroups=Es(e),this.addManagedPropertyListener("accentedSort",t=>this.isAccentedSort=t.currentValue),this.addManagedPropertyListener("autoGroupColumnDef",()=>this.primaryColumnsSortGroups=Es(e))}doFullSort(e,t){const n=e.map((o,i)=>({currentPos:i,rowNode:o}));return n.sort(this.compareRowNodes.bind(this,t)),n.map(o=>o.rowNode)}compareRowNodes(e,t,n){const o=t.rowNode,i=n.rowNode;for(let s=0,r=e.length;s<r;s++){const a=e[s],l=a.sort==="desc",c=this.getValue(o,a.column),u=this.getValue(i,a.column);let d;const h=this.getComparator(a,o);if(h?d=h(c,u,o,i,l):d=$W(c,u,this.isAccentedSort),!isNaN(d)&&d!==0)return a.sort==="asc"?d:d*-1}return t.currentPos-n.currentPos}getComparator(e,t){const n=e.column,o=n.getColDef().comparator;if(o!=null)return o;if(!n.getColDef().showRowGroup)return;const i=!t.group&&n.getColDef().field;if(!i)return;const s=this.beans.colModel.getColDefCol(i);if(s)return s.getColDef().comparator}getValue(e,t){const{valueSvc:n,colModel:o,showRowGroupCols:i,gos:s}=this.beans;if(!this.primaryColumnsSortGroups)return n.getValue(t,e,!1);if(e.rowGroupColumn===t){if(JL(s,o.isPivotActive())){const c=e.data?e:Vx(e.childrenAfterGroup);return c&&n.getValue(t,c,!1)}const l=i?.getShowRowGroupCol(t.getId());return l?e.groupData?.[l.getId()]:void 0}if(!(e.group&&t.getColDef().showRowGroup))return n.getValue(t,e,!1)}};function KQ(e){e.sortSvc?.onSortChanged("api")}var OD={moduleName:"Sort",version:We,beans:[dJ,ZQ],apiFunctions:{onSortChanged:KQ},userComponents:{agSortIndicator:cb},icons:{sortAscending:"asc",sortDescending:"desc",sortUnSort:"none"}},qQ=class extends we{constructor(){super(...arguments),this.beanName="syncSvc",this.waitingForColumns=!1}postConstruct(){this.addManagedPropertyListener("columnDefs",e=>this.setColumnDefs(e))}start(){this.beans.ctrlsSvc.whenReady(this,()=>{const e=this.gos.get("columnDefs");e?this.setColumnsAndData(e):this.waitingForColumns=!0,this.gridReady()})}setColumnsAndData(e){const{colModel:t,rowModel:n}=this.beans;t.setColumnDefs(e??[],"gridInitializing"),n.start()}gridReady(){const{eventSvc:e,gos:t}=this;e.dispatchEvent({type:"gridReady"}),xa(t,`initialised successfully, enterprise = ${t.isModuleRegistered("EnterpriseCore")}`)}setColumnDefs(e){const t=this.gos.get("columnDefs");if(t){if(this.waitingForColumns){this.waitingForColumns=!1,this.setColumnsAndData(t);return}this.beans.colModel.setColumnDefs(t,hu(e.source))}}};function YQ(e){e.valueCache?.expire()}function XQ(e,t){const{colKey:n,rowNode:o,useFormatter:i}=t,s=e.colModel.getColDefCol(n)??e.colModel.getCol(n);if(pn(s))return null;const r=e.valueSvc.getValueForDisplay(s,o,i);return i?r.valueFormatted??nd(r.value):r.value}var JQ="paste",QQ=class extends we{constructor(){super(...arguments),this.beanName="
55changeDetectionSvc",this.clientSideRowModel=null}postConstruct(){const{gos:e,rowModel:t}=this.beans;kn(e)&&(this.clientSideRowModel=t),this.addManagedEventListeners({cellValueChanged:this.onCellValueChanged.bind(this)})}onCellValueChanged(e){const{gos:t,rowRenderer:n}=this.beans;if(e.source===JQ||t.get("suppressChangeDetection"))return;const o=e.node,i=[o],s=this.clientSideRowModel,r=s?.rootNode;if(r&&!o.isRowPinned()){const a=t.get("aggregateOnlyChangedColumns"),l=new Zh(a,r);l.addParentNode(o.parent,[e.column]),s.doAggregate(l),l.forEachChangedNodeDepthFirst(c=>{i.push(c),c.sibling&&i.push(c.sibling)})}n.refreshCells({rowNodes:i})}},eee=class extends we{constructor(){super(...arguments),this.beanName="expressionSvc",this.cache={}}evaluate(e,t){if(typeof e=="string")return this.evaluateExpression(e,t);qt(15,{expression:e})}evaluateExpression(e,t){try{return this.createExpressionFunction(e)(t.value,t.context,t.oldValue,t.newValue,t.value,t.node,t.data,t.colDef,t.rowIndex,t.api,t.getValue,t.column,t.columnGroup)}catch(n){return qt(16,{expression:e,params:t,e:n}),null}}createExpressionFunction(e){const t=this.cache;if(t[e])return t[e];const n=this.createFunctionBody(e),o=new Function("x, ctx, oldValue, newValue, value, node, data, colDef, rowIndex, api, getValue, column, columnGroup",n);return t[e]=o,o}createFunctionBody(e){return e.includes("return")?e:"return "+e+";"}},tee=class extends we{constructor(){super(...arguments),this.beanName="valueCache",this.cacheVersion=0}postConstruct(){const e=this.gos;this.active=e.get("valueCache"),this.neverExpires=e.get("valueCacheNeverExpires")}onDataChanged(){this.neverExpires||this.expire()}expire(){this.cacheVersion++}setValue(e,t,n){if(this.active){const o=this.cacheVersion;e.__cacheVersion!==o&&(e.__cacheVersion=o,e.__cacheData={}),e.__cacheData[t]=n}}getValue(e,t){if(!(!this.active||e.__cacheVersion!==this.cacheVersion))return e.__cacheData[t]}},nee={moduleName:"ValueCache",version:We,beans:[tee],apiFunctions:{expireValueCache:YQ}},oee={moduleName:"Expression",version:We,beans:[eee]},iee={moduleName:"ChangeDetection",version:We,beans:[QQ]},see={moduleName:"CellApi",version:We,apiFunctions:{getCellValue:XQ}},ree=class extends we{constructor(){super(...arguments),this.beanName="valueSvc",this.hasEditSvc=!1,this.initialised=!1,this.isSsrm=!1}wireBeans(e){this.expressionSvc=e.expressionSvc,this.colModel=e.colModel,this.valueCache=e.valueCache,this.dataTypeSvc=e.dataTypeSvc,this.editSvc=e.editSvc,this.hasEditSvc=!!e.editSvc}postConstruct(){this.initialised||this.init()}init(){this.executeValueGetter=this.valueCache?this.executeValueGetterWithValueCache.bind(this):this.executeValueGetterWithoutValueCache.bind(this),this.isSsrm=od(this.gos),this.cellExpressions=this.gos.get("enableCellExpressions"),this.isTreeData=this.gos.get("treeData"),this.initialised=!0;const e=t=>this.callColumnCellValueChangedHandler(t);this.eventSvc.addListener("cellValueChanged",e,!0),this.addDestroyFunc(()=>this.eventSvc.removeListener("cellValueChanged",e,!0)),this.addManagedPropertyListener("treeData",t=>this.isTreeData=t.currentValue)}getValueForDisplay(e,t,n=!1,o=!1,i="ui"){const{showRowGroupColValueSvc:s}=this.beans,r=!e&&t.group,a=e?.colDef.showRowGroup,l=!this.isTreeData||t.footer;if(s&&l&&(r||a)){const g=s.getGroupValue(t,e);if(g==null)return{value:null,valueFormatted:null};if(!n)return{value:g.value,valueFormatted:null};const m=s.formatAndPrefixGroupColValue(g,e,o);return{value:g.value,valueFormatted:m}}if(!e)return{value:t.key,valueFormatted:null};const c=t.leafGroup&&this.colModel.isPivotMode(),u=t.group&&t.expanded&&!t.footer&&!c,d=this.gos.get("groupSuppressBlankHeader")||!t.sibling,h=u&&!d,p=this.getValue(e,t,h,i),f=n&&!(o&&e.colDef.useValueFormatterForExport===!1);return{value:p,valueFormatted:f?this.formatValue(e,t,p):null}}getValue(e,t,n=!1,o="ui"){if(this.initialised||this.init(),!t)return;const i=e.getColDef(),s=i.field,r=e.getColId(),a=t.data;if(this.hasEditSvc&&o==="ui"){const g=this.editSvc;if(g.isEditing()){const m=g.getCellDataValue({rowNode:t,column:e},!0);if(m!==void 0)return m}}let l;const c=i.showRowGroup;if(typeof c=="string"&&(this.beans.rowGroupColsSvc?.getColumnIndex(c)??-1)>t.level)return null;const u=typeof c!="string"||!t.group,d=t.groupData&&r in t.groupData,h=!n&&t.aggData&&t.aggData[r]!==void 0,p=this.isSsrm&&n&&!!i.aggFunc,f=this.isSsrm&&t.footer&&t.field&&(i.showRowGroup===!0||i.showRowGroup===t.field);if(this.isTreeData&&h)l=t.aggData[r];
55else if(this.isTreeData&&i.valueGetter)l=this.executeValueGetter(i.valueGetter,a,e,t);else if(this.isTreeData&&s&&a)l=uh(a,s,e.isFieldContainsDots());else if(d)l=t.groupData[r];else if(h)l=t.aggData[r];else if(i.valueGetter&&!p){if(!u)return l;l=this.executeValueGetter(i.valueGetter,a,e,t)}else if(f)l=uh(a,t.field,e.isFieldContainsDots());else if(s&&a&&!p){if(!u)return l;l=uh(a,s,e.isFieldContainsDots())}if(this.cellExpressions&&typeof l=="string"&&l.indexOf("=")===0){const g=l.substring(1);l=this.executeValueGetter(g,a,e,t)}return l}parseValue(e,t,n,o){const i=e.getColDef(),s=i.valueParser;if(Ge(s)){const r=st(this.gos,{node:t,data:t?.data,oldValue:o,newValue:n,colDef:i,column:e});return typeof s=="function"?s(r):this.expressionSvc?.evaluate(s,r)}return n}getDeleteValue(e,t){return Ge(e.getColDef().valueParser)?this.parseValue(e,t,"",this.getValueForDisplay(e,t).value)??null:null}formatValue(e,t,n,o,i=!0){const{expressionSvc:s}=this.beans;let r=null,a;const l=e.getColDef();if(o?a=o:i&&(a=l.valueFormatter),a){const c=t?t.data:null,u=st(this.gos,{value:n,node:t,data:c,colDef:l,column:e});typeof a=="function"?r=a(u):r=s?s.evaluate(a,u):null}else if(l.refData)return l.refData[n]||"";return r==null&&Array.isArray(n)&&(r=n.join(", ")),r}setValue(e,t,n,o){const i=this.colModel.getColDefCol(t);if(!e||!i)return!1;pn(e.data)&&(e.data={});const{field:s,valueSetter:r}=i.getColDef();if(pn(s)&&pn(r))return Me(17),!1;if(this.dataTypeSvc&&!this.dataTypeSvc.checkType(i,n))return Me(135),!1;const a=st(this.gos,{node:e,data:e.data,oldValue:this.getValue(i,e,void 0,o),newValue:n,colDef:i.getColDef(),column:i});a.newValue=n;let l;if(Ge(r)?typeof r=="function"?l=r(a):l=this.expressionSvc?.evaluate(r,a):l=this.setValueUsingField(e.data,s,n,i.isFieldContainsDots()),l===void 0&&(l=!0),!l)return!1;e.resetQuickFilterAggregateText(),this.valueCache?.onDataChanged();const c=this.getValue(i,e);return this.dispatchCellValueChangedEvent(e,a,c,o),e.pinnedSibling&&this.dispatchCellValueChangedEvent(e.pinnedSibling,a,c,o),!0}dispatchCellValueChangedEvent(e,t,n,o){this.eventSvc.dispatchEvent({type:"cellValueChanged",event:null,rowIndex:e.rowIndex,rowPinned:e.rowPinned,column:t.column,colDef:t.colDef,data:e.data,node:e,oldValue:t.oldValue,newValue:n,value:n,source:o})}callColumnCellValueChangedHandler(e){const t=e.colDef.onCellValueChanged;typeof t=="function"&&this.beans.frameworkOverrides.wrapOutgoing(()=>{t({node:e.node,data:e.data,oldValue:e.oldValue,newValue:e.newValue,colDef:e.colDef,column:e.column,api:e.api,context:e.context})})}setValueUsingField(e,t,n,o){if(!t)return!1;let i=!1;if(!o)i=e[t]===n,i||(e[t]=n);else{const s=t.split(".");let r=e;for(;s.length>0&&r;){const a=s.shift();s.length===0?(i=r[a]===n,i||(r[a]=n)):r=r[a]}}return!i}executeValueGetterWithValueCache(e,t,n,o){const i=n.getColId(),s=this.valueCache.getValue(o,i);if(s!==void 0)return s;const r=this.executeValueGetterWithoutValueCache(e,t,n,o);return this.valueCache.setValue(o,i,r),r}executeValueGetterWithoutValueCache(e,t,n,o){const i=st(this.gos,{data:t,node:o,column:n,colDef:n.getColDef(),getValue:this.getValueCallback.bind(this,o)});let s;return typeof e=="function"?s=e(i):s=this.expressionSvc?.evaluate(e,i),s}getValueCallback(e,t){const n=this.colModel.getColDefCol(t);return n?this.getValue(n,e):null}getKeyForNode(e,t){const n=this.getValue(e,t),o=e.getColDef().keyCreator;let i=n;if(o){const s=st(this.gos,{value:n,colDef:e.getColDef(),column:e,node:t,data:t.data});i=o(s)}return typeof i=="string"||i==null||(i=String(i),i==="[object Object]"&&Me(121)),i}},aee={moduleName:"CommunityCore",version:We,beans:[aJ,QK,hX,_z,GQ,TY,tJ,kJ,xz,RQ,TQ,UQ,ree,sJ,eJ,rJ,fX,qQ,aX,lX,WJ],icons:{selectOpen:"small-down",smallDown:"small-down",colorPicker:"color-picker",smallUp:"small-up",checkboxChecked:"small-up",checkboxIndeterminate:"checkbox-indeterminate",checkboxUnchecked:"checkbox-unchecked",radioButtonOn:"radio-button-on",radioButtonOff:"radio-button-off",smallLeft:"small-left",smallRight:"small-right"},apiFunctions:{getGridId:eq,destroy:tq,isDestroyed:nq,getGridOption:oq,setGridOption:iq,updateGridOptions:dD,isModuleRegistered:sq},dependsOn:[iX,nY,cY,OD,BJ,PY,HJ,WQ,iee,$J,EQ,xQ,kQ,zJ,dX,sX,oee,DY,IQ]}
55,ND={AdvancedFilter:1,AiToolkit:1,AllEnterprise:1,BatchEdit:1,CellSelection:1,Clipboard:1,ColumnMenu:1,ColumnsToolPanel:1,ContextMenu:1,ExcelExport:1,FiltersToolPanel:1,Find:1,GridCharts:1,IntegratedCharts:1,GroupFilter:1,MasterDetail:1,Menu:1,MultiFilter:1,NewFiltersToolPanel:1,Pivot:1,RangeSelection:1,RichSelect:1,RowNumbers:1,RowGrouping:1,RowGroupingPanel:1,ServerSideRowModelApi:1,ServerSideRowModel:1,SetFilter:1,SideBar:1,Sparklines:1,StatusBar:1,TreeData:1,ViewportRowModel:1},bv=["TextFilter","NumberFilter","DateFilter","SetFilter","MultiFilter","GroupFilter","CustomFilter"],lee={EditCore:["TextEditor","NumberEditor","DateEditor","CheckboxEditor","LargeTextEditor","SelectEditor","RichSelect","CustomEditor"],CheckboxCellRenderer:["AllCommunity"],ClientSideRowModelHierarchy:["RowGrouping","Pivot","TreeData"],ColumnFilter:bv,ColumnGroupHeaderComp:["AllCommunity"],ColumnGroup:["AllCommunity"],ColumnHeaderComp:["AllCommunity"],ColumnMove:["AllCommunity"],ColumnResize:["AllCommunity"],CommunityCore:["AllCommunity"],CsrmSsrmSharedApi:["ClientSideRowModelApi","ServerSideRowModelApi"],RowModelSharedApi:["ClientSideRowModelApi","ServerSideRowModelApi"],EnterpriseCore:["AllEnterprise"],FilterCore:[...bv,"QuickFilter","ExternalFilter","AdvancedFilter"],GroupCellRenderer:["RowGrouping","Pivot","TreeData","MasterDetail","ServerSideRowModel"],KeyboardNavigation:["AllCommunity"],LoadingCellRenderer:["ServerSideRowModel"],MenuCore:["ColumnMenu","ContextMenu"],MenuItem:["ColumnMenu","ContextMenu","MultiFilter","IntegratedCharts","ColumnsToolPanel"],Overlay:["AllCommunity"],PinnedColumn:["AllCommunity"],SharedAggregation:["RowGrouping","Pivot","TreeData","ServerSideRowModel"],SharedDragAndDrop:["AllCommunity"],SharedMasterDetail:["MasterDetail","ServerSideRowModel"],SharedMenu:[...bv,"ColumnMenu","ContextMenu"],SharedPivot:["Pivot","ServerSideRowModel"],SharedRowGrouping:["RowGrouping","ServerSideRowModel"],SharedRowSelection:["RowSelection","ServerSideRowModel"],SkeletonCellRenderer:["ServerSideRowModel"],Sort:["AllCommunity"],SsrmInfiniteSharedApi:["InfiniteRowModel","ServerSideRowModelApi"],SharedTreeData:["TreeData","ServerSideRowModel"]},cee={InfiniteRowModel:"infinite",ClientSideRowModelApi:"clientSide",ClientSideRowModel:"clientSide",ServerSideRowModelApi:"serverSide",ServerSideRowModel:"serverSide",ViewportRowModel:"viewport"};function uee(e,t){const n=[];for(const o of Array.isArray(e)?e:[e]){const i=lee[o];if(i)for(const s of i){const r=cee[s];(!r||r===t)&&n.push(s)}else n.push(o)}return n}var BD=()=>`No AG Grid modules are registered! It is recommended to start with all Community features via the AllCommunityModule:
56                    
57    import { ModuleRegistry, AllCommunityModule } from 'ag-grid-community';
58    
59    ModuleRegistry.registerModules([ AllCommunityModule ]);
60    `,dee=e=>{const t=e.map(o=>`import { ${dh(o)} } from '${ND[o]?"ag-grid-enterprise":"ag-grid-community"}';`);return e.some(o=>o==="IntegratedCharts"||o==="Sparklines")&&t.push("import { AgChartsEnterpriseModule } from 'ag-charts-enterprise';"),`import { ModuleRegistry } from 'ag-grid-community'; 
61${t.join(` 
62`)} 
63
64ModuleRegistry.registerModules([ ${e.map(o=>dh(o,!0)).join(", ")} ]); 
65
66For more info see: ${cu}/modules/`};function dh(e,t=!1){return t&&(e==="IntegratedCharts"||e==="Sparklines")?`${e}Module.with(AgChartsEnterpriseModule)`:`${e}Module`}function hee(e,t){const n=t.filter(s=>s==="IntegratedCharts"||s==="Sparklines");let o="";return!globalThis?.agCharts&&n.length>0?o=`Unable to use ${e} as either the ag-charts-community or ag-charts-enterprise script needs to be included alongside ag-grid-enterprise.
67`:t.some(s=>ND[s])&&(o=o+`Unable to use ${e} as that requires the ag-grid-enterprise script to be included.
68`),o}function HD({moduleName:e,rowModelType:t}){return`To use the ${e}Module you must set the gridOption "rowModelType='${t}'"`}var t9=({reasonOrId:e,moduleName:t,gridScoped:n,gridId:o,rowModelType:i,additionalText:s,isUmd:r})=>{const a=uee(t,i),l=typeof e=="string"?e:mee[e];if(r)return hee(l,a);const c=a.filter(h=>h==="IntegratedCharts"||h==="Sparklines"),u=c.length>0?`${c.map(h=>dh(h)).join()} must be initialised with an AG Charts module. One of 'AgChartsCommunityModule' / 'AgChartsEnterpriseModule'.`:"";return`${`Unable to use ${l} as ${a.length>1?"one of "+a.map(h=>dh(h)).join(", "):dh(a[0])} is not registered${n?" for gridId: "+o:""}. ${u} Check if you have registered the module:
69`}
70${dee(a)}`+(s?` 
71
72${s}`:"")},n9=e=>`${e} must be initialised with an AG Charts module. One of 'AgChartsCommunityModule' / 'AgChartsEnterpriseModule'.
73
74import { AgChartsEnterpriseModule } from 'ag-charts-enterprise';
75import { ModuleRegistry } from 'ag-grid-community';
76import { ${e} } from 'ag-grid-enterprise';
77    
78ModuleRegistry.registerModules([${e}.with(AgChartsEnterpriseModule)]);
79    `,pee=e=>`AG Grid: Unable to use the Clipboard API (navigator.clipboard.${e}()). The reason why it could not be used has been logged in the previous line. For this reason the grid has defaulted to using a workaround which doesn't perform as well. Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API.`,fee={1:()=>"`rowData` must be an array",2:({nodeId:e})=>`Duplicate node id '${e}' detected from getRowId callback, this could cause issues in your grid.`,3:()=>"Calling gridApi.resetRowHeights() makes no sense when using Auto Row Height.",4:({id:e})=>`Could not find row id=${e}, data item was not found for this id`,5:({data:e})=>["Could not find data item as object was not found.",e," Consider using getRowId to help the Grid find matching row data"],6:()=>"'groupHideOpenParents' only works when specifying specific columns for 'colDef.showRowGroup'",7:()=>"Pivoting is not supported with aligned grids as it may produce different c
79olumns in each grid.",8:({key:e})=>`Unknown key for navigation ${e}`,9:({variable:e})=>`No value for ${e?.cssName}. This usually means that the grid has been initialised before styles have been loaded. The default value of ${e?.defaultValue} will be used and updated when styles load.`,10:({eventType:e})=>`As of v33, the '${e}' event is deprecated. Use the global 'modelUpdated' event to determine when row children have changed.`,11:()=>"No gridOptions provided to createGrid",12:({colKey:e})=>["column ",e," not found"],13:()=>"Could not find rowIndex, this means tasks are being executed on a rowNode that has been removed from the grid.",14:({groupPrefix:e})=>`Row IDs cannot start with ${e}, this is a reserved prefix for AG Grid's row grouping feature.`,15:({expression:e})=>["value should be either a string or a function",e],16:({expression:e,params:t,e:n})=>["Processing of the expression failed","Expression = ",e,"Params = ",t,"Exception = ",n],17:()=>"you need either field or valueSetter set on colDef for editing to work",18:()=>"alignedGrids contains an undefined option.",19:()=>"alignedGrids - No api found on the linked grid.",20:()=>`You may want to configure via a callback to avoid setup race conditions:
80                     "alignedGrids: () => [linkedGrid]"`,21:()=>"pivoting is not supported with aligned grids. You can only use one of these features at a time in a grid.",22:({key:e})=>`${e} is an initial property and cannot be updated.`,23:()=>"The return of `getRowHeight` cannot be zero. If the intention is to hide rows, use a filter instead.",24:()=>"row height must be a number if not using standard row model",25:({id:e})=>["The getRowId callback must return a string. The ID ",e," is being cast to a string."],26:({fnName:e,preDestroyLink:t})=>`Grid API function ${e}() cannot be called as the grid has been destroyed.
81 Either clear local references to the grid api, when it is destroyed, or check gridApi.isDestroyed() to avoid calling methods against a destroyed grid.
82 To run logic when the grid is about to be destroyed use the gridPreDestroy event. See: ${t}`,27:({fnName:e,module:t})=>`API function '${e}' not registered to module '${t}'`,28:()=>"setRowCount cannot be used while using row grouping.",29:()=>"tried to call sizeColumnsToFit() but the grid is coming back with zero width, maybe the grid is not visible yet on the screen?",30:({toIndex:e})=>["tried to insert columns in invalid location, toIndex = ",e,"remember that you should not count the moving columns when calculating the new index"],31:()=>"infinite loop in resizeColumnSets",32:()=>"applyColumnState() - the state attribute should be an array, however an array was not found. Please provide an array of items (one for each col you want to change) for state.",33:()=>"stateItem.aggFunc must be a string. if using your own aggregation functions, register the functions first before using them in get/set state. This is because it is intended for the column state to be stored and retrieved as simple JSON.",34:({key:e})=>`the column type '${e}' is a default column type and cannot be overridden.`,35:()=>"Column type definitions 'columnTypes' with a 'type' attribute are not supported because a column type cannot refer to another column type. Only column definitions 'columnDefs' can use the 'type' attribute to refer to a column type.",36:({t:e})=>"colDef.type '"+e+"' does not correspond to defined gridOptions.columnTypes",37:()=>"Changing the column pinning status is not allowed with domLayout='print'",38:({iconName:e})=>`provided icon '${e}' needs to be a string or a function`,39:()=>"Applying column order broke a group where columns should be married together. Applying new order has been discarded.",40:({e,method:t})=>`${e}
83${pee(t)}`,41:()=>"Browser did not allow document.execCommand('copy'). Ensure 'api.copySelectedRowsToClipboard() is invoked via a user event, i.e. button click, otherwise the browser will prevent it for security reasons.",42:()=>"Browser does not support document.execCommand('copy') for clipboard operations",43:({iconName:e})=>`As of v33, icon '${e}' is deprecated. Use the icon CSS name instead.`,44:()=>'Data type definition hierarchies (via the "extendsDataType" property) cannot contain circular references.',45:({parentCellDataType:e})=>`The data type definition ${e} does not exist.`,46:()=>'The "baseDataType" property of a data type definition must match that of its parent.',47:({cellDataType:e})=>`Missing data type definition - "${e}"`,48:({property:e})=>`Cell data type is "object" but no Value ${e} has been provided. Please either provide an object data type definition with a Value ${e}, or set "colDef.value${e}"`,49:({methodName:e})=>`Framework component is missing the method ${e}()`,50:({compName:e})=>`Could not find component ${e}, did you forget to configure this component?`,51:()=>"Export cancelled. Export is not allowed as per your configuration.",52:()=>"There is no `window` associated with the current `document`",53:()=>"unknown value type during csv conversion",54:()=>"Could not find document body, it is needed for drag and drop and context menu.",55:()=>"addRowDropZone - A container target needs to be provided",56:()=>"addRowDropZone - target already exists in the list of DropZones. Use `removeRowDropZone` before adding it again.",57:()=>"unable to show popup filter, filter instantiation failed",58:()=>"no values found for select cellEditor",59:()=>"cannot select pinned rows",60:()=>"cannot select node until it has finished loading",61:()=>"since version v32.2.0, rowNode.isFullWidthCell() has been deprecated. Instead check `rowNode.detail` followed by the user provided `isFullWidthRow` grid option.",62:({colId:e})=>`setFilterModel() - no column found for colId: ${e}`,63:({colId:e})=>`setFilterModel() - unable to fully apply model, filtering disabled for colId: ${e}`,64:({colId:e})=>`setFilterModel() - unable to fully apply model, unable to create filter for colId: ${e}`,65:()=>"filter missing setModel method, which is needed for setFilterModel",66:()=>"filter API missing getModel method, which is needed for getFilterModel",67:()=>"Filter is missing isFilterActive() method",68:()=>"Column Filter API methods have been disabled as Advanced Filters are enabled.",69:({guiFromFilter:e})=>`getGui method from filter returned ${e}; it should be a DOM element.`,70:({newFilter:e})=>`Grid option quickFilterText only supports string inputs, received: ${typeof e}`,71:()=>"debounceMs is ignored when apply button is present",72:({keys:e})=>["ignoring FilterOptionDef as it doesn't contain one of ",e],73:()=>"invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'",74:()=>"no filter options for filter",75:()=>"Unknown button type specified",76:({filterModelType:e})=>['Unexpected type of filter "',e,'", it looks like the filter was configured with incorrect Filter Options'],77:()=>"Filter model is missing 'conditions'",78:()=>'Filter Model contains more conditions than "filterParams.maxNumConditions". Additional conditions have been ignored.',79:()=>'"filterParams.maxNumConditions" must be greater than or equal to zero.',80:()=>'"filterParams.numAlwaysVisibleConditions" must be greater than or equal to zero.',81:()=>'"filterParams.numAlwaysVisibleConditions" cannot be greater than "filterParams.maxNumConditions".',82:({param:e})=>`DateFilter ${e} is not a number`,83:()=>"DateFilter minValidYear should be <= maxValidYear",84:()=>"DateFilter minValidDate should be <= maxValidDate",85:()=>"DateFilter should not have both minValidDate and minValidYear parameters set at the same time! minValidYear will be ignored.",86:()=>"DateFilter should not have both maxValidDate and maxValidYear parameters set at the same time! maxValidYear will be ignored.",87:()=>"DateFilter parameter minValidDate should always be lower than or equal to parameter maxValidDate.",88:({index:e})=>`Invalid row index for ensureIndexVisible: ${e}`,89:()=>"A template was provided for Header Group Comp - templates are only supported for Header Comps (not groups)",90:()=>"datasource is missing getRows method",91:()=>"Filter is missing method doesFilterPass",92:()=>"AnimationFrameService called but animation frames are off",93:()=>"cannot add multiple ranges when `cellSelection.suppressMultiRanges = true`",94:({paginationPageSizeOption:e,pageSizeSet:t,pageSizesSet:n,pageSizeOptions:o})=>`'paginationPageSize=${e}'${t?"":" (default value)"}, but ${e} is not included in${n?"":" the default"} paginationPageSizeSelector=[${o?.join(", ")}].`,95:({paginationPageSizeOption:e,paginationPageSizeSelector:t})=>`Either set '${t}' to an array that includes ${e} or to 'false' to disable the page size selector.`,96:({id:e,data:t})=>
83["Duplicate ID",e,"found for pinned row with data",t,"When `getRowId` is defined, it must return unique IDs for all pinned rows. Use the `rowPinned` parameter."],97:({colId:e})=>`cellEditor for column ${e} is missing getGui() method`,98:()=>"popup cellEditor does not work with fullRowEdit - you cannot use them both - either turn off fullRowEdit, or stop using popup editors.",99:()=>"Since v32, `api.hideOverlay()` does not hide the loading overlay when `loading=true`. Set `loading=false` instead.",101:({propertyName:e,componentName:t,agGridDefaults:n,jsComps:o})=>{const i=[],s=[...Object.keys(n??[]).filter(a=>!["agCellEditor","agGroupRowRenderer","agSortIndicator"].includes(a)),...Object.keys(o??[]).filter(a=>!!o[a])],r=c5({inputValue:t,allSuggestions:s,hideIrrelevant:!0,filterByPercentageOfBestMatch:.8}).values;return i.push(`Could not find '${t}' component. It was configured as "${e}: '${t}'" but it wasn't found in the list of registered components.
84`),r.length>0&&i.push(`         Did you mean: [${r.slice(0,3)}]?
85`),i.push("If using a custom component check it has been registered correctly."),i},102:()=>"selectAll: 'filtered' only works when gridOptions.rowModelType='clientSide'",103:()=>"Invalid selection state. When using client-side row model, the state must conform to `string[]`.",104:({value:e,param:t})=>`Numeric value ${e} passed to ${t} param will be interpreted as ${e} seconds. If this is intentional use "${e}s" to silence this warning.`,105:({e})=>["chart rendering failed",e],106:()=>`Theming API and Legacy Themes are both used in the same page. A Theming API theme has been provided to the 'theme' grid option, but the file (ag-grid.css) is also included and will cause styling issues. Remove ag-grid.css from the page. See the migration guide: ${cu}/theming-migration/`,107:({key:e,value:t})=>`Invalid value for theme param ${e} - ${t}`,108:({e})=>["chart update failed",e],109:({inputValue:e,allSuggestions:t})=>{const n=c5({inputValue:e,allSuggestions:t,hideIrrelevant:!0,filterByPercentageOfBestMatch:.8}).values;return[`Could not find '${e}' aggregate function. It was configured as "aggFunc: '${e}'" but it wasn't found in the list of registered aggregations.`,n.length>0?`         Did you mean: [${n.slice(0,3)}]?`:"","If using a custom aggregation function check it has been registered correctly."].join(`
86`)},110:()=>"groupHideOpenParents only works when specifying specific columns for colDef.showRowGroup",111:()=>"Invalid selection state. When `groupSelects` is enabled, the state must conform to `IServerSideGroupSelectionState`.",113:()=>"Set Filter cannot initialise because you are using a row model that does not contain all rows in the browser. Either use a different filter type, or configure Set Filter such that you provide it with values",114:({component:e})=>`Could not find component with name of ${e}. Is it in Vue.components?`,116:()=>"Invalid selection state. The state must conform to `IServerSideSelectionState`.",117:()=>"selectAll must be of boolean type.",118:()=>"Infinite scrolling must be enabled in order to set the row count.",119:()=>"Unable to instantiate filter",120:()=>"MultiFloatingFilterComp expects MultiFilter as its parent",121:()=>"a column you are grouping or pivoting by has objects as values. If you want to group by complex objects then either a) use a colDef.keyCreator (see AG Grid docs) or b) to toString() on the object to return a key",122:()=>"could not find the document, document is empty",123:()=>"Advanced Filter is only supported with the Client-Side Row Model or Server-Side Row Model.",124:()=>"No active charts to update.",125:({chartId:e})=>`Unable to update chart. No active chart found with ID: ${e}.`,126:()=>"unable to restore chart as no chart model is provided",127:({allRange:e})=>`unable to create chart as ${e?"there are no columns in the grid":"no range is selected"}.`,128:({feature:e})=>`${e} is only available if using 'multiRow' selection mode.`,129:({feature:e,rowModel:t})=>`${e} is only available if using 'clientSide' or 'serverSide' rowModelType, you are using ${t}.`,130:()=>'cannot multi select unless selection mode is "multiRow"',132:()=>"Row selection features are not available unless `rowSelection` is enabled.",133:({iconName:e})=>`icon '${e}' function should return back a string or a dom object`,134:({iconName:e})=>`Did not find icon '${e}'`,135:()=>"Data type of the new value does not match the cell data type of the column",136:()=>"Unable to update chart as the 'type' is missing. It must be either 'rangeChartUpdate', 'pivotChartUpdate', or 'crossFilterChartUpdate'.",137:({type:e,currentChartType:t})=>`Unable to update chart as a '${e}' update type is not permitted on a ${t}.`,138:({chartType:e})=>`invalid chart type supplied: ${e}`,139:({customThemeName:e})=>`a custom chart theme with the name ${e} has been supplied but not added to the 'chartThemes' list`,140:({name:e})=>`no stock theme exists with the name '${e}' and no custom chart theme with that name was supplied to 'customChartThemes'`,141:()=>"cross filtering with row grouping is not supported.",142:()=>"cross filtering is only supported in the client side row model.",143:({panel:e})=>`'${e}' is not a valid Chart Tool Panel name`,144:({type:e})=>`Invalid charts data panel group name supplied: '${e}'`,145:({group:e})=>`As of v32, only one charts customize panel group can be expanded at a time. '${e}' will not be expanded.`,146:({comp:e})=>`Unable to instantiate component '${e}' as its module hasn't been loaded. Add 'ValidationModule' to see which module is required.`,147:({group:e})=>`Invalid charts customize panel group name supplied: '${e}'`,148:({group:e})=>`invalid chartGroupsDef config '${e}'`,149:({group:e,chartType:t})=>`invalid chartGroupsDef config '${e}.${t}'`,150:()=>"'seriesChartTypes' are required when the 'customCombo' chart type is specified.",151:({chartType:e})=>`invalid chartType '${e}' supplied in 'seriesChartTypes', converting to 'line' instead.`,152:({colId:e})=>`no 'seriesChartType' found for colId = '${e}', defaulting to 'line'.`,153:({chartDataType:e})=>`unexpected chartDataType value '${e}' supplied, instead use 'category', 'series' or 'excluded'`,154:({colId:e})=>`cross filtering requires a 'agSetColumnFilter' or 'agMultiColumnFilter' to be defined on the column with id: ${e}`,155:({option:e})=>`'${e}' is not a valid Chart Toolbar Option`,156:({panel:e})=>`Invalid panel in chartToolPanelsDef.panels: '${e}'`,157:({unrecognisedGroupIds:e})=>["unable to find group(s) for supplied groupIds:",e],158:()=>"can not expand a column item that does not represent a column group header",159:()=>"Invalid params supplied to createExcelFileForExcel() - `ExcelExportParams.data` is empty.",160:()=>"Export cancelled. Export is not allowed as per your configuration.",161:()=>"The Excel Exporter is currently on Multi Sheet mode. End that operation by calling 'api.getMultipleSheetAsExcel()' or 'api.exportMultipleSheetsAsExcel
86()'",162:({id:e,dataType:t})=>`Unrecognized data type for excel export [${e}.dataType=${t}]`,163:({featureName:e})=>`Excel table export does not work with ${e}. The exported Excel file will not contain any Excel tables.
87 Please turn off ${e} to enable Excel table exports.`,164:()=>"Unable to add data table to Excel sheet: A table already exists.",165:()=>"Unable to add data table to Excel sheet: Missing required parameters.",166:({unrecognisedGroupIds:e})=>["unable to find groups for these supplied groupIds:",e],167:({unrecognisedColIds:e})=>["unable to find columns for these supplied colIds:",e],168:()=>"detailCellRendererParams.template should be function or string",169:()=>'Reference to eDetailGrid was missing from the details template. Please add data-ref="eDetailGrid" to the template.',170:({providedStrategy:e})=>`invalid cellRendererParams.refreshStrategy = ${e} supplied, defaulting to refreshStrategy = 'rows'.`,171:()=>"could not find detail grid options for master detail, please set gridOptions.detailCellRendererParams.detailGridOptions",172:()=>"could not find getDetailRowData for master / detail, please set gridOptions.detailCellRendererParams.getDetailRowData",173:({group:e})=>`invalid chartGroupsDef config '${e}'`,174:({group:e,chartType:t})=>`invalid chartGroupsDef config '${e}.${t}'`,175:({menuTabName:e,itemsToConsider:t})=>[`Trying to render an invalid menu item '${e}'. Check that your 'menuTabs' contains one of `,t],176:({key:e})=>`unknown menu item type ${e}`,177:()=>"valid values for cellSelection.handle.direction are 'x', 'y' and 'xy'. Default to 'xy'.",178:({colId:e})=>`column ${e} is not visible`,179:()=>"totalValueGetter should be either a function or a string (expression)",180:()=>"agRichSelectCellEditor requires cellEditorParams.values to be set",181:()=>"agRichSelectCellEditor cannot have `multiSelect` and `allowTyping` set to `true`. AllowTyping has been turned off.",182:()=>'you cannot mix groupDisplayType = "multipleColumns" with treeData, only one column can be used to display groups when doing tree data',183:()=>"Group Column Filter only works on group columns. Please use a different filter.",184:({parentGroupData:e,childNodeData:t})=>["duplicate group keys for row data, keys should be unique",[e,t]],185:({data:e})=>["getDataPath() should not return an empty path",[e]],186:({rowId:e,rowData:t,duplicateRowsData:n})=>["duplicate group keys for row data, keys should be unique",e,t,...n??[]],187:({rowId:e,firstData:t,secondData:n})=>[`Duplicate node id ${e}. Row IDs are provided via the getRowId() callback. Please modify the getRowId() callback code to provide unique row id values.`,"first instance",t,"second instance",n],188:e=>`getRowId callback must be provided for Server Side Row Model ${e?.feature||"selection"} to work correctly.`,189:({startRow:e})=>`invalid value ${e} for startRow, the value should be >= 0`,190:({rowGroupId:e,data:t})=>["null and undefined values are not allowed for server side row model keys",e?`column = ${e}`:"","data is ",t],194:({method:e})=>`calling gridApi.${e}() is only possible when using rowModelType=\`clientSide\`.`,195:({justCurrentPage:e})=>`selecting just ${e?"current page":"filtered"} only works when gridOptions.rowModelType='clientSide'`,196:({key:e})=>`Provided ids must be of string type. Invalid id provided: ${e}`,197:()=>"`toggledNodes` must be an array of string ids.",199:()=>"getSelectedNodes and getSelectedRows functions cannot be used with select all functionality with the server-side row model. Use `api.getServerSideSelectionState()` instead.",200:t9,201:({rowModelType:e})=>`Could not find row model for rowModelType = ${e}`,202:()=>"`getSelectedNodes` and `getSelectedRows` functions cannot be used with `groupSelectsChildren` and the server-side row model. Use `api.getServerSideSelectionState()` instead.",203:()=>"Server Side Row Model does not support Dynamic Row Height and Cache Purging. Either a) remove getRowHeight() callback or b) remove maxBlocksInCache property. Purging has been disabled.",204:()=>"Server Side Row Model does not support Auto Row Height and Cache Purging. Either a) remove colDef.autoHeight or b) remove maxBlocksInCache property. Purging has been disabled.",205:({duplicateIdText:e})=>`Unable to display rows as duplicate row ids (${e}) were returned by the getRowId callback. Please modify the getRowId callback to provide unique ids.`,206:()=>"getRowId callback must be implemented for transactions to work. Transaction was ignored.",207:()=>'The Set Filter Parameter "defaultToNothingSelected" value was ignored because it does not work when "excelMode" is used.',208:()=>"Set Filter Value Formatter must return string values. Please ensure the Set Filter Value Formatter returns string values for complex objects.",209:()=>`Set Filter Key Creator is returning null for provided values and provided values are primitives. Please provide complex objects. See ${cu}/filter-set-filter-list/#filter-value-types`,210:()=>"Set Filter has a Key Creator, but provided values are primitives. Did 
87you mean to provide complex objects?",211:()=>"property treeList=true for Set Filter params, but you did not provide a treeListPathGetter or values of type Date.",212:()=>"please review all your toolPanel components, it seems like at least one of them doesn't have an id",213:()=>"Advanced Filter does not work with Filters Tool Panel. Filters Tool Panel has been disabled.",214:({key:e})=>`unable to lookup Tool Panel as invalid key supplied: ${e}`,215:({key:e,defaultByKey:t})=>`the key ${e} is not a valid key for specifying a tool panel, valid keys are: ${Object.keys(t??{}).join(",")}`,216:({name:e})=>`Missing component for '${e}'`,217:({invalidColIds:e})=>["unable to find grid columns for the supplied colDef(s):",e],218:({property:e,defaultOffset:t})=>`${e} must be a number, the value you provided is not a valid number. Using the default of ${t}px.`,219:({property:e})=>`Property ${e} does not exist on the target object.`,220:({lineDash:e})=>`'${e}' is not a valid 'lineDash' option.`,221:()=>"agAggregationComponent should only be used with the client and server side row model.",222:()=>"agFilteredRowCountComponent should only be used with the client side row model.",223:()=>"agSelectedRowCountComponent should only be used with the client and server side row model.",224:()=>"agTotalAndFilteredRowCountComponent should only be used with the client side row model.",225:()=>"agTotalRowCountComponent should only be used with the client side row model.",226:()=>"viewport is missing init method.",227:()=>"menu item icon must be DOM node or string",228:({menuItemOrString:e})=>`unrecognised menu item ${e}`,229:({index:e})=>["invalid row index for ensureIndexVisible: ",e],230:()=>"detailCellRendererParams.template is not supported by AG Grid React. To change the template, provide a Custom Detail Cell Renderer. See https://www.ag-grid.com/react-data-grid/master-detail-custom-detail/",231:()=>"As of v32, using custom components with `reactiveCustomComponents = false` is deprecated.",232:()=>"Using both rowData and v-model. rowData will be ignored.",233:({methodName:e})=>`Framework component is missing the method ${e}()`,234:()=>'Group Column Filter does not work with the colDef property "field". This property will be ignored.',235:()=>'Group Column Filter does not work with the colDef property "filterValueGetter". This property will be ignored.',236:()=>'Group Column Filter does not work with the colDef property "filterParams". This property will be ignored.',237:()=>"Group Column Filter does not work with Tree Data enabled. Please disable Tree Data, or use a different filter.",238:()=>"setRowCount can only accept a positive row count.",239:()=>'Theming API and CSS File Themes are both used in the same page. In v33 we released the Theming API as the new default method of styling the grid. See the migration docs https://www.ag-grid.com/react-data-grid/theming-migration/. Because no value was provided to the `theme` grid option it defaulted to themeQuartz. But the file (ag-grid.css) is also included and will cause styling issues. Either pass the string "legacy" to the theme grid option to use v32 style themes, or remove ag-grid.css from the page to use Theming API.',240:({theme:e})=>`theme grid option must be a Theming API theme object or the string "legacy", received: ${e}`,243:()=>"Failed to deserialize state - each provided state object must be an object.",244:()=>"Failed to deserialize state - `selectAllChildren` must be a boolean value or undefined.",245:()=>"Failed to deserialize state - `toggledNodes` must be an array.",246:()=>"Failed to deserialize state - Every `toggledNode` requires an associated string id.",247:()=>`Row selection state could not be parsed due to invalid data. Ensure all child state has toggledNodes or does not conform with the parent rule. 
88Please rebuild the selection state and reapply it.`,248:()=>"SetFloatingFilter expects SetFilter as its parent",249:()=>"Must supply a Value Formatter in Set Filter params when using a Key Creator",250:()=>"Must supply a Key Creator in Set Filter params when `treeList = true` on a group column, and Tree Data or Row Grouping is enabled.",251:({chartType:e})=>
88`AG Grid: Unable to create chart as an invalid chartType = '${e}' was supplied.`,252:()=>`cannot get grid to draw rows when it is in the middle of drawing rows. 
89Your code probably called a grid API method while the grid was in the render stage. 
90To overcome this, put the API call into a timeout, e.g. instead of api.redrawRows(), call setTimeout(function() { api.redrawRows(); }, 0). 
91To see what part of your code that caused the refresh check this stacktrace.`,253:({version:e})=>["Illegal version string: ",e],254:()=>"Cannot create chart: no chart themes available.",255:({point:e})=>`Lone surrogate U+${e?.toString(16).toUpperCase()} is not a scalar value`,256:()=>"Unable to initialise. See validation error, or load ValidationModule if missing.",257:()=>n9("IntegratedChartsModule"),258:()=>n9("SparklinesModule"),259:({part:e})=>`the argument to theme.withPart must be a Theming API part object, received: ${e}`,260:({propName:e,compName:t,gridScoped:n,gridId:o,rowModelType:i})=>t9({reasonOrId:`AG Grid '${e}' component: ${t}`,moduleName:gu[t],gridId:o,gridScoped:n,rowModelType:i}),261:()=>"As of v33, `column.isHovered()` is deprecated. Use `api.isColumnHovered(column)` instead.",262:()=>'As of v33, icon key "smallDown" is deprecated. Use "advancedFilterBuilderSelect" for Advanced Filter Builder dropdown, "selectOpen" for Select cell editor and dropdowns (e.g. Integrated Charts menu), "richSelectOpen" for Rich Select cell editor.',263:()=>'As of v33, icon key "smallLeft" is deprecated. Use "panelDelimiterRtl" for Row Group Panel / Pivot Panel, "subMenuOpenRtl" for sub-menus.',264:()=>'As of v33, icon key "smallRight" is deprecated. Use "panelDelimiter" for Row Group Panel / Pivot Panel, "subMenuOpen" for sub-menus.',265:({colId:e})=>`Unable to infer chart data type for column '${e}' if first data entry is null. Please specify "chartDataType", or a "cellDataType" in the column definition. For more information, see ${cu}/integrated-charts-range-chart#coldefchartdatatype .`,266:()=>'As of v33.1, using "keyCreator" with the Rich Select Editor has been deprecated. It now requires the "formatValue" callback to convert complex data to strings.',267:()=>"Detail grids can not use a different theme to the master grid, the `theme` detail grid option will be ignored.",268:()=>"Transactions aren't supported with tree data when using treeDataChildrenField",269:()=>"When `masterSelects: 'detail'`, detail grids must be configured with multi-row selection",270:({id:e,parentId:t})=>`Cycle detected for row with id='${e}' and parent id='${t}'. Resetting the parent for row with id='${e}' and showing it as a root-level node.`,271:({id:e,parentId:t})=>`Parent row not found for row with id='${e}' and parent id='${t}'. Showing row with id='${e}' as a root-level node.`,272:()=>BD(),273:({providedId:e,usedId:t})=>`Provided column id '${e}' was already in use, ensure all column and group ids are unique. Using '${t}' instead.`,274:({prop:e})=>{let t=`Since v33, ${e} has been deprecated.`;switch(e){case"maxComponentCreationTimeMs":t+=" This property is no longer required and so will be removed in a future version.";break;case"setGridApi":t+=" This method is not called by AG Grid. To access the GridApi see: https://ag-grid.com/react-data-grid/grid-interface/#grid-api ";break;case"children":t+=" For multiple versions AgGridReact does not support children.";break}return t},275:HD,276:()=>"Row Numbers Row Resizer cannot be used when Grid Columns have `autoHeight` enabled.",277:({colId:e})=>`'enableFilterHandlers' is set to true, but column '${e}' does not have 'filter.doesFilterPass' or 'filter.handler' set.`,278:({colId:e})=>`Unable to create filter handler for column '${e}'`,279:e=>{},280:({colId:e})=>`'name' must be provided for custom filter components for column '${e}`,281:({colId:e})=>`Filter for column '${e}' does not have 'filterParams.buttons', but the new Filters Tool Panel has buttons configured. Either configure buttons for the filter, or disable buttons on the Filters Tool Panel.`,282:()=>"New filter tool panel requires `enableFilterHandlers: true`.",283:()=>"As of v34, use the same method on the filter handler (`api.getColumnFilterHandler(colKey)`) instead.",284:()=>"As of v34, filters are active when they have a model. Use `api.getColumnFilterModel()` instead.",285:()=>"As of v34, use (`api.getColumnFilterModel()`) instead.",286:()=>"As of v34, use (`api.setColumnFilterModel()`) instead.",287:()=>"`api.doFilterAction()` requires `enableFilterHandlers = true",288:()=>"`api.getColumnFilterModel(key, true)` requires `enableFilterHandlers = true",289:({rowModelType:e})=>`Row Model '${e}' is not supported with Batch Editing`,290:({rowIndex:e,rowPinned:t})=>`Row with index '${e}' and pinned state '${t}' not found`,291:()=>"License Key being set multiple times with different values. This can result in an incorrect license key being used,",292:({colId:e})=>`The Multi Filter for column '${e}' has buttons configured against the child filters. When 'enableFilterHandlers=true', buttons must instead be provided against the parent Multi Filter params. The child filter buttons will be ignored.`};function gee(e,t){const n=fee[e];if(!n)return[`Missing error text for error id ${e}!`];const o=n(t),s=`
92See ${jL(e,t)}`;return Array.isArray(o)?o.concat(s):[o,s]}var mee={1:"Charting Aggregation",2:"pivotResultFields",3:"setTooltip"},o9=new WeakMap,i9=new WeakMap;function KFe(e,t,n){if(!t)return qt(11),{};const o=n;let i;if(!o?.setThemeOnGridDiv){const r=An({tag:"div"});r.style.height="100%",e.appendChild(r),e=r,i=()=>e.remove()}return new Cee().create(e,t,r=>{const a=new XK(e);r.createBean(a)},void 0,n,i)}var vee=1,Cee=class{create(e,t,n,o,i,s){const r=B4.applyGlobalGridOptions(t),a=r.gridId??String(vee++),l=this.getRegisteredModules(i,a,r.rowModelType),c=this.createBeansList(r.rowModelType,l,a),u=this.createProvidedBeans(e,r,i);if(!c)return;
92const h={providedBeanInstances:u,beanClasses:c,id:a,beanInitComparator:IK,beanDestroyComparator:FK,derivedBeans:[AK],destroyCallback:()=>{i9.delete(f),o9.delete(e),FG(a),s?.()}},p=new dj(h);this.registerModuleFeatures(p,l),n(p),p.getBean("syncSvc").start(),o?.(p);const f=p.getBean("gridApi");return o9.set(e,f),i9.set(f,e),f}getRegisteredModules(e,t,n){return Wh(aee,void 0,!0),e?.modules?.forEach(o=>Wh(o,t)),OG(t,s9(n))}registerModuleFeatures(e,t){const n=e.getBean("registry"),o=e.getBean("apiFunctionSvc");for(const i of t){n.registerModule(i);const s=i.apiFunctions;if(s){const r=Object.keys(s);for(const a of r)o?.addFunction(a,s[a])}}}createProvidedBeans(e,t,n){let o=n?n.frameworkOverrides:null;pn(o)&&(o=new kK);const i={gridOptions:t,eGridDiv:e,eRootDiv:e,globalListener:n?n.globalListener:null,globalSyncListener:n?n.globalSyncListener:null,frameworkOverrides:o};return n?.providedBeanInstances&&Object.assign(i,n.providedBeanInstances),i}createBeansList(e,t,n){const o={clientSide:"ClientSideRowModel",infinite:"InfiniteRowModel",serverSide:"ServerSideRowModel",viewport:"ViewportRowModel"},i=s9(e),s=o[i];if(!s){jd(201,{rowModelType:i},`Unknown rowModelType ${i}.`);return}if(!BG()){jd(272,void 0,BD());return}if(!e){const a=Object.entries(o).filter(([l,c])=>QC(c,n,l));if(a.length==1){const[l,c]=a[0];if(l!==i){const u={moduleName:c,rowModelType:l};jd(275,u,HD(u));return}}}if(!QC(s,n,i)){jd(200,{reasonOrId:`rowModelType = '${i}'`,moduleName:s,gridScoped:H4(),gridId:n,rowModelType:i},`Missing module ${s}Module for rowModelType ${i}.`);return}const r=new Set;for(const a of t)for(const l of a.beans??[])r.add(l);return Array.from(r)}};function s9(e){return e??"clientSide"}function ja(e){const t=e.rowModel;return t.getType()==="clientSide"?t:void 0}function g0(e){const t=e.rowModel;return t.getType()==="infinite"?t:void 0}function bee(e){const t=e.rowModel;return t.getType()==="serverSide"?t:void 0}var yee=class extends we{constructor(){super(...arguments),this.beanName="localeSvc"}getLocaleTextFunc(){const e=this.gos,t=e.getCallback("getLocaleText");return t?SG(t):EG(e.get("localeText"))}};function wee(e,t=!1){const n=[],o=[],i=[],s=[],r=[],a=[],l=[],c=[],u=[];let d=0;for(let h=0;h<e.length;h++){const{colId:p,sort:f,sortIndex:g,rowGroup:m,rowGroupIndex:v,aggFunc:y,pivot:b,pivotIndex:w,pinned:S,hide:E,width:T,flex:R}=e[h];u.push(p),f&&(n[g??d++]={colId:p,sort:f}),m&&(o[v??0]=p),typeof y=="string"&&i.push({colId:p,aggFunc:y}),b&&(s[w??0]=p),S&&(S==="right"?a:r).push(p),E&&l.push(p),(R!=null||T)&&c.push({colId:p,flex:R??void 0,width:T})}return{sort:n.length?{sortModel:yv(n)}:void 0,rowGroup:o.length?{groupColIds:yv(o)}:void 0,aggregation:i.length?{aggregationModel:i}:void 0,pivot:s.length||t?{pivotMode:t,pivotColIds:yv(s)}:void 0,columnPinning:r.length||a.length?{leftColIds:r,rightColIds:a}:void 0,columnVisibility:l.length?{hiddenColIds:l}:void 0,columnSizing:c.length?{columnSizingModel:c}:void 0,columnOrder:u.length?{orderedColIds:u}:void 0}}function yv(e){return e.filter(t=>t!=null)}function See(e){const t=[];for(const{groupId:n,open:o}of e)o&&t.push(n);return t.length?{openColumnGroupIds:t}:void 0}var qFe=class{wrap(e,t,n,o){const i=this.createWrapper(e,o);for(const s of t??[])this.createMethod(i,s,!0);for(const s of n??[])this.createMethod(i,s,!1);return i}createMethod(e,t,n){e.addMethod(t,this.createMethodProxy(e,t,n))}createMethodProxy(e,t,n){return function(){return e.hasMethod(t)?e.callMethod(t,arguments):(n&&Me(49,{methodName:t}),null)}}};function wv(e){return e.get("tooltipShowMode")==="whenTruncated"}function Eee(e,t){if(typeof e!="number")return"";const n=t(),o=n("thousandSeparator",","),i=n("decimalSeparator",".");return e.toString().replace(".",i).replace(/(\d)(?=(\d{3})+(?!\d))/g,`$1${o}`)}var Tee=class extends we{getFileName(e){const t=this.getDefaultFileExtension();return e?.length||(e=this.getDefaultFileName()),e.includes(".")?e:`${e}.${t}`}getData(e){const t=this.createSerializingSession(e);return this.beans.gridSerializer.serialize(t,e)}getDefaultFileName(){return`export.${this.getDefaultFileExtension()}`}},Ree=class{constructor(e){const{colModel:t,rowGroupColsSvc:n,colNames:o,valueSvc:i,gos:s,processCellCallback:r,processHeaderCallback:a,processGroupHeaderCallback:l,processRowGroupCallback:c}=e;this.colModel=t,this.rowGroupColsSvc=n,this.colNames=o,this.valueSvc=i,this.gos=s,this.processCellCallback=r,this.processHeaderCallback=a,this.processGroupHeaderCallback=l,this.processRowGroupCallback=c}prepare(e){}extractHeaderValue(e){return this.getHeaderName(this.processHeaderCallback,e)??""}extractRowCellValue(e,t,n,o,i){const s=t===0&&QL(this.gos,i,this.colModel.isPivotMode());if(this.processRowGroupCallback&&(this.gos.get("treeData")||i.group)&&(e.isRowGroupDisplayed(i.rowGroupColumn?.getColId()??"")||s))return{value:this.processRowGroupCallback(st(this.gos,{column:e,node:i}
92))??""};if(this.processCellCallback)return{value:this.processCellCallback(st(this.gos,{accumulatedRowIndex:n,column:e,node:i,value:this.valueSvc.getValueForDisplay(e,i,void 0,void 0).value,type:o,parseValue:h=>this.valueSvc.parseValue(e,i,h,this.valueSvc.getValue(e,i,void 0)),formatValue:h=>this.valueSvc.formatValue(e,i,h)??h}))??""};const r=this.gos.get("treeData"),a=this.valueSvc,l=i.level===-1&&i.footer,c=e.colDef.showRowGroup===!0&&(i.group||r);if(!l&&(s||c)){let h="",p=i;for(;p&&p.level!==-1;){const{value:f,valueFormatted:g}=a.getValueForDisplay(s?void 0:e,p,!0,!0);h=` -> ${g??f??""}${h}`,p=p.parent}return{value:h,valueFormatted:h}}const{value:u,valueFormatted:d}=a.getValueForDisplay(e,i,!0,!0);return{value:u??"",valueFormatted:d}}getHeaderName(e,t){return e?e(st(this.gos,{column:t})):this.colNames.getDisplayNameForColumn(t,"csv",!0)}};function Pee(e,t){const n=document.defaultView||window;if(!n){Me(52);return}const o=document.createElement("a"),i=n.URL.createObjectURL(t);o.setAttribute("href",i),o.setAttribute("download",e),o.style.display="none",document.body.appendChild(o),o.dispatchEvent(new MouseEvent("click",{bubbles:!1,cancelable:!0,view:n})),o.remove(),n.setTimeout(()=>{n.URL.revokeObjectURL(i)},0)}var Mee={enableBrowserTooltips:!0,tooltipTrigger:!0,tooltipMouseTrack:!0,tooltipShowMode:!0,tooltipInteraction:!0,defaultColGroupDef:!0,suppressAutoSize:!0,skipHeaderOnAutoSize:!0,autoSizeStrategy:!0,components:!0,stopEditingWhenCellsLoseFocus:!0,undoRedoCellEditing:!0,undoRedoCellEditingLimit:!0,excelStyles:!0,cacheQuickFilter:!0,customChartThemes:!0,chartThemeOverrides:!0,chartToolPanelsDef:!0,loadingCellRendererSelector:!0,localeText:!0,keepDetailRows:!0,keepDetailRowsCount:!0,detailRowHeight:!0,detailRowAutoHeight:!0,tabIndex:!0,valueCache:!0,valueCacheNeverExpires:!0,enableCellExpressions:!0,suppressTouch:!0,suppressBrowserResizeObserver:!0,suppressPropertyNamesCheck:!0,debug:!0,dragAndDropImageComponent:!0,loadingOverlayComponent:!0,suppressLoadingOverlay:!0,noRowsOverlayComponent:!0,paginationPageSizeSelector:!0,paginateChildRows:!0,pivotPanelShow:!0,pivotSuppressAutoColumn:!0,suppressExpandablePivotGroups:!0,aggFuncs:!0,allowShowChangeAfterFilter:!0,ensureDomOrder:!0,enableRtl:!0,suppressColumnVirtualisation:!0,suppressMaxRenderedRowRestriction:!0,suppressRowVirtualisation:!0,rowDragText:!0,groupLockGroupColumns:!0,suppressGroupRowsSticky:!0,rowModelType:!0,cacheOverflowSize:!0,infiniteInitialRowCount:!0,serverSideInitialRowCount:!0,maxBlocksInCache:!0,maxConcurrentDatasourceRequests:!0,blockLoadDebounceMillis:!0,serverSideOnlyRefreshFilteredGroups:!0,serverSidePivotResultFieldSeparator:!0,viewportRowModelPageSize:!0,viewportRowModelBufferSize:!0,debounceVerticalScrollbar:!0,suppressAnimationFrame:!0,suppressPreventDefaultOnMouseWheel:!0,scrollbarWidth:!0,icons:!0,suppressRowTransform:!0,gridId:!0,enableGroupEdit:!0,initialState:!0,processUnpinnedColumns:!0,createChartContainer:!0,getLocaleText:!0,getRowId:!0,reactiveCustomComponents:!0,renderingMode:!0,columnMenu:!0,suppressSetFilterByDefault:!0,getDataPath:!0,enableCellSpan:!0,enableFilterHandlers:!0,filterHandlers:!0},xo="clientSide",so="serverSide",Rc="infinite",Lee={onGroupExpandedOrCollapsed:[xo],refreshClientSideRowModel:[xo],isRowDataEmpty:[xo],forEachLeafNode:[xo],forEachNodeAfterFilter:[xo],forEachNodeAfterFilterAndSort:[xo],resetRowHeights:[xo,so],applyTransaction:[xo],applyTransactionAsync:[xo],flushAsyncTransactions:[xo],getBestCostNodeSelection:[xo],getServerSideSelectionState:[so],setServerSideSelectionState:[so],applyServerSideTransaction:[so],applyServerSideTransactionAsync:[so],applyServerSideRowData:[so],retryServerSideLoads:[so],flushServerSideAsyncTransactions:[so],refreshServerSide:[so],getServerSideGroupLevelState:[so],refreshInfiniteCache:[Rc],purgeInfiniteCache:[Rc],getInfiniteRowCount:[Rc],isLastRowIndexKnown:[Rc,so],expandAll:[xo,so],collapseAll:[xo,so],onRowHeightChanged:[xo,so],setRowCount:[Rc,so],getCacheBlockState:[Rc,so]},xee={showLoadingOverlay:{version:"v32",message:'`showLoadingOverlay` is deprecated. Use the grid option "loading"=true instead or setGridOption("loading", true).'},clearRangeSelection:{version:"v32.2",message:"Use `clearCellSelection` instead."},getInfiniteRowCount:{version:"v32.2",old:"getInfiniteRowCount()",new:"getDisplayedRowCount()"},selectAllFiltered:{version:"v33",old:"selectAllFiltered()",new:'selectAll("filtered")'},deselectAllFiltered:{version:"v33",old:"deselectAllFiltered()",new:'deselectAll("filtered")'}
92,selectAllOnCurrentPage:{version:"v33",old:"selectAllOnCurrentPage()",new:'selectAll("currentPage")'},deselectAllOnCurrentPage:{version:"v33",old:"deselectAllOnCurrentPage()",new:'deselectAll("currentPage")'}};function Dee(e,t,n){const o=xee[e];if(o){const{version:s,new:r,old:a,message:l}=o,c=a??e;return(...u)=>{const d=r?`Please use ${r} instead. `:"";return ah(`Since ${s} api.${c} is deprecated. ${d}${l??""}`),t.apply(t,u)}}const i=Lee[e];return i?(...s)=>{const r=n.rowModel.getType();if(!i.includes(r)){au(`api.${e} can only be called when gridOptions.rowModelType is ${i.join(" or ")}`);return}return t.apply(t,s)}:t}var kee={detailCellRendererCtrl:"SharedMasterDetail",dndSourceComp:"DragAndDrop",fillHandle:"CellSelection",groupCellRendererCtrl:"GroupCellRenderer",headerFilterCellCtrl:"ColumnFilter",headerGroupCellCtrl:"ColumnGroup",rangeHandle:"CellSelection",tooltipFeature:"Tooltip",highlightTooltipFeature:"Tooltip",tooltipStateManager:"Tooltip",groupStrategy:"RowGrouping",treeGroupStrategy:"TreeData",rowNumberRowResizer:"RowNumbers",singleCell:"EditCore",fullRow:"EditCore",agSetColumnFilterHandler:"SetFilter",agMultiColumnFilterHandler:"MultiFilter",agGroupColumnFilterHandler:"GroupFilter",agNumberColumnFilterHandler:"NumberFilter",agDateColumnFilterHandler:"DateFilter",agTextColumnFilterHandler:"TextFilter"},Aee={expanded:1,contracted:1,"tree-closed":1,"tree-open":1,"tree-indeterminate":1,pin:1,"eye-slash":1,arrows:1,left:1,right:1,group:1,aggregation:1,pivot:1,"not-allowed":1,chart:1,cross:1,cancel:1,tick:1,first:1,previous:1,next:1,last:1,linked:1,unlinked:1,"color-picker":1,loading:1,menu:1,"menu-alt":1,filter:1,"filter-add":1,columns:1,maximize:1,minimize:1,copy:1,cut:1,paste:1,grip:1,save:1,csv:1,excel:1,"small-down":1,"small-left":1,"small-right":1,"small-up":1,asc:1,desc:1,none:1,up:1,down:1,plus:1,minus:1,settings:1,"checkbox-checked":1,"checkbox-indeterminate":1,"checkbox-unchecked":1,"radio-button-on":1,"radio-button-off":1,eye:1,"column-arrow":1,"un-pin":1,"pinned-top":1,"pinned-bottom":1,"chevron-up":1,"chevron-down":1,"chevron-left":1,"chevron-right":1,edit:1},_ee={chart:"MenuCore",cancel:"EnterpriseCore",first:"Pagination",previous:"Pagination",next:"Pagination",last:"Pagination",linked:"IntegratedCharts",loadingMenuItems:"MenuCore",unlinked:"IntegratedCharts",menu:"ColumnHeaderComp",legacyMenu:"ColumnMenu",filter:"ColumnFilter",filterActive:"ColumnFilter",filterAdd:"NewFiltersToolPanel",filterCardCollapse:"NewFiltersToolPanel",filterCardExpand:"NewFiltersToolPanel",filterCardEditing:"NewFiltersToolPanel",filterTab:"ColumnMenu",filtersToolPanel:"FiltersToolPanel",columns:["MenuCore"],columnsToolPanel:["ColumnsToolPanel"],maximize:"EnterpriseCore",minimize:"EnterpriseCore",save:"MenuCore",columnGroupOpened:"ColumnGroupHeaderComp",columnGroupClosed:"ColumnGroupHeaderComp",accordionOpen:"EnterpriseCore",accordionClosed:"EnterpriseCore",accordionIndeterminate:"EnterpriseCore",columnSelectClosed:["ColumnsToolPanel","ColumnMenu"],columnSelectOpen:["ColumnsToolPanel","ColumnMenu"],columnSelectIndeterminate:["ColumnsToolPanel","ColumnMenu"],columnMovePin:"SharedDragAndDrop",columnMoveHide:"SharedDragAndDrop",columnMoveMove:"SharedDragAndDrop",columnMoveLeft:"SharedDragAndDrop",columnMoveRight:"SharedDragAndDrop",columnMoveGroup:"SharedDragAndDrop",columnMoveValue:"SharedDragAndDrop",columnMovePivot:"SharedDragAndDrop",dropNotAllowed:"SharedDragAndDrop",ensureColumnVisible:["ColumnsToolPanel","ColumnMenu"],groupContracted:"GroupCellRenderer",groupExpanded:"GroupCellRenderer",setFilterGroupClosed:"SetFilter",setFilterGroupOpen:"SetFilter",setFilterGroupIndeterminate:"SetFilter",setFilterLoading:"SetFilter",close:"EnterpriseCore",check:"MenuItem",colorPicker:"CommunityCore",groupLoading:"LoadingCellRenderer",menuAlt:"ColumnHeaderComp",menuPin:"MenuCore",menuValue:"MenuCore",menuAddRowGroup:["MenuCore","ColumnsToolPanel"],menuRemoveRowGroup:["MenuCore","ColumnsToolPanel"],clipboardCopy:"MenuCore",clipboardCut:"MenuCore",clipboardPaste:"MenuCore",pivotPanel:["ColumnsToolPanel","RowGroupingPanel"],rowGroupPanel:["ColumnsToolPanel","RowGroupingPanel"],valuePanel:"ColumnsToolPanel",columnDrag:"EnterpriseCore",rowDrag:["RowDrag","DragAndDrop"],csvExport:"MenuCore",excelExport:"MenuCore",smallDown:"CommunityCore",selectOpen:"CommunityCore",richSelectOpen:"RichSelect",richSelectRemove:"RichSelect",smallLeft:"CommunityCore",smallRight:"CommunityCore",subMenuOpen:"MenuItem",subMenuOpenRtl:"MenuItem",panelDelimiter:"RowGroupingPanel",panelDelimiterRtl:"RowGroupingPanel",smallUp:"CommunityCore",sortAscending:["MenuCore","Sort"],sortDe
92scending:["MenuCore","Sort"],sortUnSort:["MenuCore","Sort"],advancedFilterBuilder:"AdvancedFilter",advancedFilterBuilderDrag:"AdvancedFilter",advancedFilterBuilderInvalid:"AdvancedFilter",advancedFilterBuilderMoveUp:"AdvancedFilter",advancedFilterBuilderMoveDown:"AdvancedFilter",advancedFilterBuilderAdd:"AdvancedFilter",advancedFilterBuilderRemove:"AdvancedFilter",advancedFilterBuilderSelectOpen:"AdvancedFilter",chartsMenu:"IntegratedCharts",chartsMenuEdit:"IntegratedCharts",chartsMenuAdvancedSettings:"IntegratedCharts",chartsMenuAdd:"IntegratedCharts",chartsColorPicker:"IntegratedCharts",chartsThemePrevious:"IntegratedCharts",chartsThemeNext:"IntegratedCharts",chartsDownload:"IntegratedCharts",checkboxChecked:"CommunityCore",checkboxIndeterminate:"CommunityCore",checkboxUnchecked:"CommunityCore",radioButtonOn:"CommunityCore",radioButtonOff:"CommunityCore",rowPin:"PinnedRow",rowUnpin:"PinnedRow",rowPinBottom:"PinnedRow",rowPinTop:"PinnedRow"},Iee=new Set(["colorPicker","smallUp","checkboxChecked","checkboxIndeterminate","checkboxUnchecked","radioButtonOn","radioButtonOff","smallDown","smallLeft","smallRight"]),Fee=class extends we{constructor(){super(...arguments),this.beanName="validation"}wireBeans(e){this.gridOptions=e.gridOptions,$G(gee)}warnOnInitialPropertyUpdate(e,t){e==="api"&&Mee[t]&&Me(22,{key:t})}processGridOptions(e){this.processOptions(e,LJ())}validateApiFunction(e,t){return Dee(e,t,this.beans)}missingUserComponent(e,t,n,o){const i=gu[t];i?this.gos.assertModuleRegistered(i,`AG Grid '${e}' component: ${t}`):Me(101,{propertyName:e,componentName:t,agGridDefaults:n,jsComps:o})}missingDynamicBean(e){const t=kee[e];return t?Ds(200,{...this.gos.getModuleErrorParams(),moduleName:t,reasonOrId:e}):void 0}checkRowEvents(e){Nee.has(e)&&Me(10,{eventType:e})}validateIcon(e){if(Iee.has(e)&&Me(43,{iconName:e}),Aee[e])return;const t=_ee[e];if(t){qt(200,{reasonOrId:`icon '${e}'`,moduleName:t,gridScoped:H4(),gridId:this.beans.context.getId(),rowModelType:this.gos.get("rowModelType"),additionalText:"Alternatively, use the CSS icon name directly."});return}Me(134,{iconName:e})}isProvidedUserComp(e){return!!gu[e]}validateColDef(e){this.processOptions(e,vJ())}processOptions(e,t){const{validations:n,deprecations:o,allProperties:i,propertyExceptions:s,objectName:r,docsUrl:a}=t;i&&this.gridOptions.suppressPropertyNamesCheck!==!0&&this.checkProperties(e,[...s??[],...Object.keys(o)],i,r,a);const l=new Set;if(Object.keys(e).forEach(u=>{const d=o[u];if(d){const{message:y,version:b}=d;l.add(`As of v${b}, ${String(u)} is deprecated. ${y??""}`)}const h=e[u];if(h==null||h===!1)return;const p=n[u];if(!p)return;const{dependencies:f,validate:g,supportedRowModels:m,expectedType:v}=p;if(v){const y=typeof h;if(y!==v){l.add(`${String(u)} should be of type '${v}' but received '${y}' (${h}).`);return}}if(m){const y=this.gridOptions.rowModelType??"clientSide";if(!m.includes(y)){l.add(`${String(u)} is not supported with the '${y}' row model. It is only valid with: ${m.join(", ")}.`);return}}if(f){const y=this.checkForRequiredDependencies(u,f,e);if(y){l.add(y);return}}if(g){const y=g(e,this.gridOptions,this.beans);if(y){l.add(y);return}}}),l.size>0)for(const u of l)ah(u)}checkForRequiredDependencies(e,t,n){const i=Object.entries(t).filter(([s,r])=>{const a=n[s];return!r.required.includes(a)});return i.length===0?null:i.map(([s,r])=>`'${String(e)}' requires '${s}' to be one of [${r.required.map(a=>a===null?"null":a===void 0?"undefined":a).join(", ")}]. ${r.reason??""}`).join(`
93           `)}checkProperties(e,t,n,o,i){const s=["__ob__","__v_skip","__metadata__"],r=Oee(Object.getOwnPropertyNames(e),[...s,...t,...n],n),a=Object.keys(r);for(const l of a){const c=r[l];let u=`invalid ${o} property '${l}' did you mean any of these: ${c.slice(0,8).join(", ")}.`;n.includes("context")&&(u+=`
94If you are trying to annotate ${o} with application data, use the '${o}.context' property instead.`),ah(u)}if(a.length>0&&i){const l=this.beans.frameworkOverrides.getDocLink(i);ah(`to see all the valid ${o} properties please check: ${l}`)}}};function Oee(e,t,n){const o={},i=e.filter(s=>!t.some(r=>r===s));if(i.length>0)for(const s of i)o[s]=c5({inputValue:s,allSuggestions:n}).values;return o}
94var Nee=new Set(["firstChildChanged","lastChildChanged","childIndexChanged"]),Bee={moduleName:"Validation",version:We,beans:[Fee]};function VD(e){const t=e.sibling;t&&(t.childrenAfterFilter=e.childrenAfterFilter)}var Hee=class extends we{constructor(){super(...arguments),this.beanName="filterStage",this.step="filter",this.refreshProps=["excludeChildrenWhenTreeDataFiltering"]}wireBeans(e){this.filterManager=e.filterManager}execute(e){const{changedPath:t}=e;this.filter(t)}filter(e){const t=!!this.filterManager?.isChildFilterPresent();this.filterNodes(t,e)}filterNodes(e,t){const n=(o,i)=>{o.hasChildren()&&e&&!i?o.childrenAfterFilter=o.childrenAfterGroup.filter(s=>{const r=s.childrenAfterFilter&&s.childrenAfterFilter.length>0,a=s.data&&this.filterManager.doesRowPassFilter({rowNode:s});return r||a}):o.childrenAfterFilter=o.childrenAfterGroup,VD(o)};if(this.doingTreeDataFiltering()){const o=(s,r)=>{if(s.childrenAfterGroup)for(let a=0;a<s.childrenAfterGroup.length;a++){const l=s.childrenAfterGroup[a],c=r||this.filterManager.doesRowPassFilter({rowNode:l});l.childrenAfterGroup?o(s.childrenAfterGroup[a],c):n(l,c)}n(s,r)},i=s=>o(s,!1);t.executeFromRootNode(i)}else{const o=i=>n(i,!1);t.forEachChangedNodeDepthFirst(o,!0)}}doingTreeDataFiltering(){return this.gos.get("treeData")&&!this.gos.get("excludeChildrenWhenTreeDataFiltering")}},Vee=class extends ab{constructor(){super(...arguments),this.iconCreated=!1}wireComp(e,t,n,o,i){this.comp=e;const s=Np(this,this.beans.context,i);this.eButtonShowMainFilter=n,this.eFloatingFilterBody=o,this.setGui(t,s),this.setupActive(),this.refreshHeaderStyles(),this.setupWidth(s),this.setupLeft(s),this.setupHover(s),this.setupFocus(s),this.setupAria(),this.setupFilterButton(),this.setupUserComp(),this.setupSyncWithFilter(s),this.setupUi(),s.addManagedElementListeners(this.eButtonShowMainFilter,{click:this.showParentFilter.bind(this)}),this.setupFilterChangedListener(s);const r=()=>this.onColDefChanged(s);s.addManagedListeners(this.column,{colDefChanged:r}),s.addManagedEventListeners({filterSwitched:({column:a})=>{a===this.column&&r()}}),s.addDestroyFunc(()=>{this.eButtonShowMainFilter=null,this.eFloatingFilterBody=null,this.userCompDetails=null,this.clearComponent()})}resizeHeader(){}moveHeader(){}getHeaderClassParams(){const{column:e,beans:t}=this,n=e.colDef;return st(t.gos,{colDef:n,column:e,floatingFilter:!0})}setupActive(){const e=this.column.getColDef(),t=!!e.filter,n=!!e.floatingFilter;this.active=t&&n}setupUi(){if(this.comp.setButtonWrapperDisplayed(!this.suppressFilterButton&&this.active),this.comp.addOrRemoveBodyCssClass("ag-floating-filter-full-body",this.suppressFilterButton),this.comp.addOrRemoveBodyCssClass("ag-floating-filter-body",!this.suppressFilterButton),!this.active||this.iconCreated)return;const e=pi("filter",this.beans,this.column);e&&(this.iconCreated=!0,this.eButtonShowMainFilter.appendChild(e))}setupFocus(e){e.createManagedBean(new id(this.eGui,{shouldStopEventPropagation:this.shouldStopEventPropagation.bind(this),onTabKeyDown:this.onTabKeyDown.bind(this),handleKeyDown:this.handleKeyDown.bind(this),onFocusIn:this.onFocusIn.bind(this)}))}setupAria(){const e=this.getLocaleTextFunc();Mu(this.eButtonShowMainFilter,e("ariaFilterMenuOpen","Open Filter Menu"))}onTabKeyDown(e){const{beans:t}=this;if(Cn(t)===this.eGui)return;const i=fc(t,this.eGui,null,e.shiftKey);if(i){t.headerNavigation?.scrollToColumn(this.column),e.preventDefault(),i.focus();return}const s=this.findNextColumnWithFloatingFilter(e.shiftKey);s&&t.focusSvc.focusHeaderPosition({headerPosition:{headerRowIndex:this.rowCtrl.rowIndex,column:s},event:e})&&e.preventDefault()}findNextColumnWithFloatingFilter(e){const t=this.beans.visibleCols;let n=this.column;do if(n=e?t.getColBefore(n):t.getColAfter(n),!n)break;while(!n.getColDef().filter||!n.getColDef().floatingFilter);return n}handleKeyDown(e){super.handleKeyDown(e);const t=this.getWrapperHasFocus();switch(e.key){case he.UP:case he.DOWN:case he.LEFT:case he.RIGHT:if(t)return;Xl(e);case he.ENTER:t&&Yl(this.eGui)&&e.preventDefault();break;case he.ESCAPE:t||this.eGui.focus()}}onFocusIn(e){if(this.eGui.contains(e.relatedTarget))return;const n=!!e.relatedTarget&&!e.relatedTarget.classList.contains("ag-floating-filter"),o=!!e.relatedTarget&&Dl(e.relatedTarget,"ag-floating-filter");if(n&&o&&e.target===this.eGui){const i=this.lastFocusEvent,s=!!(i&&i.key===he.TAB);if(i&&s){const r=i.shiftKey;Yl(this.eGui,r)}}this.focusThis()}setupHover(e){this.beans.colHover?.addHeaderFilterColumnHoverListener(e,this.comp,this.column,this.eGui)}setupLeft(e){const t=new rb(this.column,this.eGui,this.beans);e.createManagedBean(t)}setupFilterButton(){this.suppressFilterButton=!this.beans.menuSvc?.isFloatingFilterButtonEnabled(this.column),this.highlightFilterButtonWhenActive=!qo(this.gos)}setupUserComp(){if(!this.active)return;
94const e=this.beans.colFilter?.getFloatingFilterCompDetails(this.column,()=>this.showParentFilter());e&&this.setCompDetails(e)}setCompDetails(e){this.userCompDetails=e,this.comp.setCompDetails(e)}showParentFilter(){const e=this.suppressFilterButton?this.eFloatingFilterBody:this.eButtonShowMainFilter;this.beans.menuSvc?.showFilterMenu({column:this.column,buttonElement:e,containerType:"floatingFilter",positionBy:"button"})}setupSyncWithFilter(e){if(!this.active)return;const{beans:{colFilter:t},column:n,gos:o}=this,i=s=>{if(s?.source==="filterDestroyed"&&(!this.isAlive()||!t?.isAlive()))return;const r=this.comp.getFloatingFilterComp();r&&r.then(a=>{if(a){if(o.get("enableFilterHandlers")){const u=s;let d="filter";u?.afterFloatingFilter?d="ui":u?.afterDataChange?d="dataChanged":s?.source==="api"&&(d="api"),this.updateFloatingFilterParams(this.userCompDetails,d);return}const l=t?.getCurrentFloatingFilterParentModel(n),c=s?{...s,columns:s.columns??[],source:s.source==="api"?"api":"columnFilter"}:null;a.onParentModelChanged(l,c)}})};[this.destroySyncListener]=e.addManagedListeners(n,{filterChanged:i}),t?.isFilterActive(n)&&i(null)}setupWidth(e){const t=()=>{const n=`${this.column.getActualWidth()}px`;this.comp.setWidth(n)};e.addManagedListeners(this.column,{widthChanged:t}),t()}setupFilterChangedListener(e){this.active&&([this.destroyFilterChangedListener]=e.addManagedListeners(this.column,{filterChanged:this.updateFilterButton.bind(this)}),this.updateFilterButton())}updateFilterButton(){if(!this.suppressFilterButton&&this.comp){const e=!!this.beans.filterManager?.isFilterAllowed(this.column);this.comp.setButtonWrapperDisplayed(e),this.highlightFilterButtonWhenActive&&e&&this.eButtonShowMainFilter.classList.toggle("ag-filter-active",this.column.isFilterActive())}}onColDefChanged(e){const t=this.active;this.setupActive();const n=!t&&this.active;t&&!this.active&&(this.destroySyncListener(),this.destroyFilterChangedListener());const o=this.beans.colFilter,i=this.active?o?.getFloatingFilterCompDetails(this.column,()=>this.showParentFilter()):null,s=this.comp.getFloatingFilterComp();!s||!i?this.updateCompDetails(e,i,n):s.then(r=>{!r||o?.areFilterCompsDifferent(this.userCompDetails??null,i)?this.updateCompDetails(e,i,n):this.updateFloatingFilterParams(i,"colDef")})}updateCompDetails(e,t,n){this.isAlive()&&(this.setCompDetails(t),this.setupFilterButton(),this.setupUi(),n&&(this.setupSyncWithFilter(e),this.setupFilterChangedListener(e)))}updateFloatingFilterParams(e,t){if(!e)return;let n=e.params;this.comp.getFloatingFilterComp()?.then(o=>{typeof o?.refresh=="function"&&(this.gos.get("enableFilterHandlers")&&(n={...n,model:zn(this.beans.colFilter?.model??{},this.column.getColId()),source:t}),o.refresh(n))})}addResizeAndMoveKeyboardListeners(){}destroy(){super.destroy(),this.destroySyncListener=null,this.destroyFilterChangedListener=null}};function $ee(e,t){const n=e.colModel.getCol(t);if(!n){qt(12,{colKey:t});return}e.menuSvc?.showColumnMenu({column:n,positionBy:"auto"})}function Wee(e){e.menuSvc?.hidePopupMenu()}var Gee={moduleName:"SharedMenu",version:We,beans:[eK],apiFunctions:{showColumnMenu:$ee,hidePopupMenu:Wee}},zee=class extends wj{postConstruct(){this.beans.ctrlsSvc.whenReady(this,e=>{this.gridCtrl=e.gridCtrl}),this.addManagedEventListeners({gridStylesChanged:this.handleThemeChange.bind(this)})}getDefaultPopupParent(){return this.gridCtrl.getGui()}positionPopupForMenu(e){const{eventSource:t,ePopup:n,event:o}=e,i=t.getBoundingClientRect(),s=this.getParentRect();this.setAlignedTo(t,n);let r=!1;const a=()=>{const l=this.keepXYWithinBounds(n,i.top-s.top,0),c=n.clientWidth>0?n.clientWidth:200;r||(n.style.minWidth=`${c}px`,r=!0);const d=s.right-s.left-c;let h;return this.gos.get("enableRtl")?(h=f(),h<0&&(h=p(),this.setAlignedStyles(n,"left")),h>d&&(h=0,this.setAlignedStyles(n,"right"))):(h=p(),h>d&&(h=f(),this.setAlignedStyles(n,"right")),h<0&&(h=0,this.setAlignedStyles(n,"left"))),{x:h,y:l};function p(){return i.right-s.left-2}function f(){return i.left-s.left-c}};this.positionPopup({ePopup:n,keepWithinBounds:!0,updatePosition:a,postProcessCallback:()=>this.callPostProcessPopup(e,"subMenu",n,t,o instanceof MouseEvent?o:void 0)})}callPostProcessPopup(e,t,n,o,i){const s=this.gos.getCallback("postProcessPopup");if(s){const{column:r,rowNode:a}=e;s({column:r,rowNode:a,ePopup:n,type:t,eventSource:o,mouseEvent:i})}}getActivePopups(){return this.popupList.map(e=>e.element)}handleThemeChange(e){if(e.themeChanged){const t=this.beans.environment;for(const n of this.popupList)t.applyThemeClasses(n.wrapper)}}hasAnchoredPopup(){return this.popupList.some(e=>e.isAnchored)}isStopPropagation(e){return vr(e)}},m0={moduleName:"Popup",version:We,beans:[zee]},Uee=
vendor: 4,984 bytes, line 94
94".ag-set-filter{--ag-indentation-level:0}.ag-set-filter-item{align-items:center;display:flex;height:100%}:where(.ag-ltr) .ag-set-filter-item{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-indentation-level)*var(--ag-set-filter-indent-size))}:where(.ag-rtl) .ag-set-filter-item{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-indentation-level)*var(--ag-set-filter-indent-size))}.ag-set-filter-item-checkbox{display:flex;height:100%;width:100%}.ag-set-filter-group-icons{display:block;>*{cursor:pointer}}:where(.ag-ltr) .ag-set-filter-group-icons{margin-right:var(--ag-widget-container-horizontal-padding)}:where(.ag-rtl) .ag-set-filter-group-icons{margin-left:var(--ag-widget-container-horizontal-padding)}.ag-filter-body-wrapper{display:flex;flex-direction:column}:where(.ag-menu:not(.ag-tabs) .ag-filter) .ag-filter-body-wrapper,:where(.ag-menu:not(.ag-tabs) .ag-filter)>:not(.ag-filter-wrapper){min-width:180px}.ag-filter-filter{flex:1 1 0px}.ag-filter-condition{display:flex;justify-content:center}.ag-floating-filter-body{display:flex;flex:1 1 auto;height:100%;position:relative}.ag-floating-filter-full-body{align-items:center;display:flex;flex:1 1 auto;height:100%;overflow:hidden;width:100%}:where(.ag-floating-filter-full-body)>div{flex:1 1 auto}.ag-floating-filter-input{align-items:center;display:flex;width:100%;>*{flex:1 1 auto}:where(.ag-input-field-input[type=date]),:where(.ag-input-field-input[type=datetime-local]){width:1px}}.ag-floating-filter-button{display:flex;flex:none}.ag-date-floating-filter-wrapper{display:flex}.ag-set-floating-filter-input :where(input)[disabled]{pointer-events:none}.ag-floating-filter-button-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;height:var(--ag-icon-size);width:var(--ag-icon-size)}.ag-filter-loading{align-items:unset;background-color:var(--ag-chrome-background-color);height:100%;padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);position:absolute;width:100%;z-index:1;:where(.ag-menu) &{background-color:var(--ag-menu-background-color)}}.ag-filter-separator{border-top:solid var(--ag-border-width) var(--menu-separator-color)}:where(.ag-filter-select) .ag-picker-field-wrapper{width:0}.ag-filter-condition-operator{height:17px}:where(.ag-ltr) .ag-filter-condition-operator-or{margin-left:calc(var(--ag-spacing)*2)}:where(.ag-rtl) .ag-filter-condition-operator-or{margin-right:calc(var(--ag-spacing)*2)}.ag-set-filter-select-all{padding-top:var(--ag-widget-container-vertical-padding)}.ag-filter-no-matches,.ag-set-filter-list{height:calc(var(--ag-list-item-height)*6)}.ag-filter-no-matches{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}.ag-set-filter-tree-list{height:calc(var(--ag-list-item-height)*10)}.ag-set-filter-filter{margin-left:var(--ag-widget-container-horizontal-padding);margin-right:var(--ag-widget-container-horizontal-padding);margin-top:var(--ag-widget-container-vertical-padding)}.ag-filter-to{margin-top:var(--ag-widget-vertical-spacing)}.ag-mini-filter{margin:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}:where(.ag-ltr) .ag-set-filter-add-group-indent{margin-left:calc(var(--ag-icon-size) + var(--ag-widget-container-horizontal-padding))}:where(.ag-rtl) .ag-set-filter-add-group-indent{margin-right:calc(var(--ag-icon-size) + var(--ag-widget-container-horizontal-padding))}:where(.ag-filter-menu) .ag-set-filter-list{min-width:200px}.ag-filter-virtual-list-item:focus-visible{box-shadow:inset var(--ag-focus-shadow)}.ag-filter-apply-panel{display:flex;justify-content:flex-end;overflow:hidden;padding:var(--ag-widget-vertical-spacing) var(--ag-widget-container-horizontal-padding) var(--ag-widget-container-vertical-padding)}.ag-filter-apply-panel-button{line-height:1.5}:where(.ag-ltr) .ag-filter-apply-panel-button{margin-left:calc(var(--ag-spacing)*2)}:where(.ag-rtl) .ag-filter-apply-panel-button{margin-right:calc(var(--ag-spacing)*2)}.ag-simple-filter-body-wrapper{display:flex;flex-direction:column;min-height:calc(var(--ag-list-item-height) + var(--ag-widget-container-vertical-padding) + var(--ag-widget-vertical-spacing));overflow-y:auto;padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing));&>*{margin-bottom:var(--ag-widget-vertical-spacing)}:where(.ag-resizer-wrapper){margin:0}}.ag-multi-filter-menu-item{margin:var(--ag-spacing) 0}.ag-multi-filter-group-title-bar{background-color:transparent;color:var(--ag-header-text-color);font-weight:500;padding:calc(var(--ag-spacing)*1.5) var(--ag-spacing)}.ag-group-filter-field-select-wrapper{display:flex;flex-direction:column;gap:var(--ag-widget-vertical-spacing);padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}"
94;function jee(e){const t=e.filterManager;return!!t?.isColumnFilterPresent()||!!t?.isAggregateFilterPresent()}function Zee(e,t){return e.filterManager?.getColumnFilterInstance(t)??Promise.resolve(void 0)}function Kee(e,t){const n=e.colModel.getColDefCol(t);if(n)return e.colFilter?.destroyFilter(n,"api")}function qee(e,t){e.frameworkOverrides.wrapIncoming(()=>e.filterManager?.setFilterModel(t))}function Yee(e){return e.filterManager?.getFilterModel()??{}}function Xee(e,t,n){const{gos:o,colModel:i,colFilter:s}=e;n&&!o.get("enableFilterHandlers")&&(Me(288),n=!1);const r=i.getColDefCol(t);return r?s?.getModelForColumn(r,n)??null:null}function Jee(e,t,n){return e.filterManager?.setColumnFilterModel(t,n)??Promise.resolve()}function Qee(e,t){const n=e.colModel.getCol(t);if(!n){qt(12,{colKey:t});return}e.menuSvc?.showFilterMenu({column:n,containerType:"columnFilter",positionBy:"auto"})}function ete(e){e.menuSvc?.hideFilterMenu()}function tte(e,t){const n=e.colModel.getCol(t);if(!n){qt(12,{colKey:t});return}return e.colFilter?.getHandler(n,!0)}function nte(e,t){const{colModel:n,colFilter:o,gos:i}=e;if(!i.get("enableFilterHandlers")){Me(287);return}const{colId:s,action:r}=t;if(s){const a=n.getColById(s);a&&o?.updateModel(a,r)}else o?.updateAllModels(r)}var ote={filterHandler:()=>({doesFilterPass:()=>!0})},ite=class extends we{constructor(){super(...arguments),this.beanName="colFilter",this.allColumnFilters=new Map,this.allColumnListeners=new Map,this.activeAggregateFilters=[],this.activeColumnFilters=[],this.processingFilterChange=!1,this.modelUpdates=[],this.columnModelUpdates=[],this.state=new Map,this.handlerMap={...$x},this.isGlobalButtons=!1,this.activeFilterComps=new Set}postConstruct(){this.addManagedEventListeners({gridColumnsChanged:this.onColumnsChanged.bind(this),dataTypesInferred:this.processFilterModelUpdateQueue.bind(this)});const e=this.gos,t={...e.get("initialState")?.filter?.filterModel??{}};this.initialModel=t,this.model={...t},e.get("enableFilterHandlers")||delete this.handlerMap.agMultiColumnFilter}refreshModel(){this.onNewRowsLoaded("rowDataUpdated")}setModel(e,t="api",n){const{colModel:o,dataTypeSvc:i,filterManager:s}=this.beans;if(i?.isPendingInference){this.modelUpdates.push({model:e,source:t});return}const r=[],a=this.getModel(!0);if(e){const l=new Set(Object.keys(e));this.allColumnFilters.forEach((c,u)=>{const d=e[u];r.push(this.setModelOnFilterWrapper(c,d)),l.delete(u)}),l.forEach(c=>{const u=o.getColDefCol(c)||o.getCol(c);if(!u){Me(62,{colId:c});return}if(!u.isFilterAllowed()){Me(63,{colId:c}
vendor: 5,805 bytes, line 94
94);return}const d=this.getOrCreateFilterWrapper(u,!0);if(!d){Me(64,{colId:c});return}r.push(this.setModelOnFilterWrapper(d,e[c],!0))})}else this.model={},this.allColumnFilters.forEach(l=>{r.push(this.setModelOnFilterWrapper(l,null))});bn.all(r).then(()=>{const l=this.getModel(!0),c=[];this.allColumnFilters.forEach((u,d)=>{const h=a?a[d]:null,p=l?l[d]:null;Nh(h,p)||c.push(u.column)}),c.length>0?s?.onFilterChanged({columns:c,source:t}):n&&this.updateActive("filterChanged")})}getModel(e){const t={},{allColumnFilters:n,initialModel:o,beans:{colModel:i}}=this;if(n.forEach((s,r)=>{const a=this.getModelFromFilterWrapper(s);Ge(a)&&(t[r]=a)}),!e)for(const s of Object.keys(o)){const r=o[s];Ge(r)&&!n.has(s)&&i.getCol(s)?.isFilterAllowed()&&(t[s]=r)}return t}setState(e,t,n="api"){if(this.state.clear(),t)for(const o of Object.keys(t)){const i=t[o];this.state.set(o,{model:zn(this.model,o),state:i})}this.setModel(e,n,!0)}getState(){const e=this.state;if(!e.size)return;const t={};let n=!1;return e.forEach((o,i)=>{const s=o.state;s!=null&&(n=!0,t[i]=s)}),n?t:void 0}getModelFromFilterWrapper(e){const n=e.column.getColId();if(e.isHandler)return zn(this.model,n);const o=e.filter;return o?typeof o.getModel!="function"?(Me(66),null):o.getModel():zn(this.initialModel,n)}isFilterPresent(){return this.activeColumnFilters.length>0}isAggFilterPresent(){return!!this.activeAggregateFilters.length}disableFilters(){this.initialModel={};const{allColumnFilters:e}=this;return e.size?(e.forEach(t=>this.disposeFilterWrapper(t,"advancedFilterEnabled")),!0):!1}updateActiveFilters(){const e=c=>c?c.isFilterActive?c.isFilterActive():(Me(67),!1):!1,{colModel:t,gos:n}=this.beans,o=!!n5(n),i=c=>{if(!c.isPrimary())return!0;const d=!t.isPivotActive();return!c.isValueActive()||!d?!1:t.isPivotMode()?!0:o},s=[],r=[],a=(c,u,d)=>{u&&(i(c)?s.push(d):r.push(d))},l=[];return this.allColumnFilters.forEach(c=>{const u=c.column,d=u.getColId();if(c.isHandler)l.push(bn.resolve().then(()=>{a(u,this.isHandlerActive(u),{colId:d,isHandler:!0,handler:c.handler,handlerParams:c.handlerParams})}));else{const h=Kr(c);h&&l.push(h.then(p=>{a(u,e(p),{colId:d,isHandler:!1,comp:p})}))}}),bn.all(l).then(()=>{this.activeAggregateFilters=s,this.activeColumnFilters=r})}updateFilterFlagInColumns(e,t){const n=[];return this.allColumnFilters.forEach(o=>{const i=o.column;if(o.isHandler)n.push(bn.resolve().then(()=>{this.setColFilterActive(i,this.isHandlerActive(i),e,t)}));else{const s=Kr(o);s&&n.push(s.then(r=>{this.setColFilterActive(i,r.isFilterActive(),e,t)}))}}),this.beans.groupFilter?.updateFilterFlags(e,t),bn.all(n)}doFiltersPass(e,t,n){const{data:o,aggData:i}=e,s=n?this.activeAggregateFilters:this.activeColumnFilters,r=n?i:o,a=this.model;for(let l=0;l<s.length;l++){const c=s[l],{colId:u,isHandler:d}=c;if(u!==t)if(d){const{handler:h,handlerParams:p}=c;if(!h.doesFilterPass({node:e,data:r,model:zn(a,u),handlerParams:p}))return!1}else{const h=c.comp;if(typeof h.doesFilterPass!="function"){qt(91);continue}if(!h.doesFilterPass({node:e,data:r}))return!1}}return!0}getHandlerParams(e){const t=this.allColumnFilters.get(e.getColId());return t?.isHandler?t.handlerParams:void 0}callOnFilterChangedOutsideRenderCycle(e){const{rowRenderer:t,filterManager:n}=this.beans,o=()=>{this.isAlive()&&n?.onFilterChanged(e)};t.isRefreshInProgress()?setTimeout(o,0):o()}updateBeforeFilterChanged(e={}){const{column:t,additionalEventAttributes:n}=e,o=t?.getColId();return this.updateActiveFilters().then(()=>this.updateFilterFlagInColumns("filterChanged",n).then(()=>{this.allColumnFilters.forEach(i=>{const{column:s,isHandler:r}=i;o!==s.getColId()&&(r&&i.handler.onAnyFilterChanged?.(),Kr(i,r)?.then(a=>{typeof a?.onAnyFilterChanged=="function"&&a.onAnyFilterChanged()}))}),this.processingFilterChange=!0}))}updateAfterFilterChanged(){this.processingFilterChange=!1}isSuppressFlashingCellsBecauseFiltering(){return!(this.gos.get("allowShowChangeAfterFilter")??!1)&&this.processingFilterChange}onNewRowsLoaded(e){const t=[];this.allColumnFilters.forEach(n=>{const o=n.isHandler;o&&n.handler.onNewRowsLoaded?.();const i=Kr(n,o);i&&t.push(i.then(s=>{s.onNewRowsLoaded?.()}))}),bn.all(t).then(()=>this.updateActive(e,{afterDataChange:!0}))}updateActive(e,t){this.updateFilterFlagInColumns(e,t).then(()=>this.updateActiveFilters())}createGetValue(e,t){const{filterValueSvc:n,colModel:o}=this.beans;return(i,s)=>{const r=s?o.getCol(s):e;return r?n.getValue(r,i,t):void 0}}isFilterActive(e){const t=this.cachedFilter(e);if(t?.isHandler)return this.isHandlerActive(e);const n=t?.filter;return n?n.isFilterActive():zn(this.initialModel,e.getColId())!=null}isHandlerActive(e){const t=Ge(zn(this.model,e.getColId()));if(t)return t;const n=this.beans.groupFilter;return n?.isGroupFilter(e)?n.isFilterActive(e):!1}getOrCreateFilterUi(e){const t=this.getOrCreateFilterWrapper(e,!0);return t?Kr(t):null}getFilterUiForDisplay(e){const t=this.getOrCreateFilterWrapper(e,!0);if(!t)return null;const n=Kr(t);return n?n.then(o=>({comp:o,params:t.filterUi.filterParams,isHandler:t.isHandler})):null}getHandler(e,t){const n=this.getOrCreateFilterWrapper(e,t);return n?.isHandler?n.handler:void 0}getOrCreateFilterWrapper(e,t){if(!e.isFilterAllowed())return;let n=this.cachedFilter(e);return!n&&t&&(n=this.createFilterWrapper(e),this.setColumnFilterWrapper(e,n)),n}cachedFilter(e){return this.allColumnFilters.get(e.getColId())}getDefaultFilter(e,t=!1){return this.getDefaultFilterFromDataType(()=>this.beans.dataTypeSvc?.getBaseDataType(e),t)}getDefaultFilterFromDataType(e,t=!1){return oz(this.gos)?t?"agSetColumnFloatingFilter":"agSetColumnFilter":Uj(e(),t)}getDefaultFloatingFilter(e){return this.getDefaultFilter(e,!0)}createFilterComp(e,t,n,o,i,s){const r=()=>{const c=this.createFilterCompParams(e,i,s),u=o(c,i);return rU(this.beans.userCompFactory,t,u,n)},a=r();
vendor: 3,498 bytes, line 94
94return a?{compDetails:a,createFilterUi:c=>(c?r():a).newAgStackInstance()}:null}createFilterInstance(e,t,n,o){const i=this.beans.selectableFilter;i?.isSelectable(t)&&(t=i.getFilterDef(e,t));const{handler:s,handlerParams:r,handlerGenerator:a}=this.createHandler(e,t,n)??{},l=this.createFilterComp(e,t,n,o,!!s,"init");if(!l)return{compDetails:null,createFilterUi:null,handler:s,handlerGenerator:a,handlerParams:r};const{compDetails:c,createFilterUi:u}=l;return this.isGlobalButtons&&(c.params?.buttons?.length||Me(281,{colId:e.getColId()})),{compDetails:c,handler:s,handlerGenerator:a,handlerParams:r,createFilterUi:u}}createBaseFilterParams(e,t){const{filterManager:n,rowModel:o}=this.beans;return st(this.gos,{column:e,colDef:e.getColDef(),getValue:this.createGetValue(e),doesRowPassOtherFilter:t?()=>!0:i=>n?.doesRowPassOtherFilters(e.getColId(),i)??!0,rowModel:o})}createFilterCompParams(e,t,n,o){const i=this.filterChangedCallbackFactory(e),s=this.createBaseFilterParams(e,o);if(s.filterChangedCallback=i,s.filterModifiedCallback=o?()=>{}:r=>this.filterModified(e,r),t){const r=s,a=e.getColId(),l=zn(this.model,a);r.model=l,r.state=this.state.get(a)??{model:l},r.onModelChange=(c,u)=>{this.updateStoredModel(a,c),this.refreshHandlerAndUi(e,c,"ui",!1,u).then(()=>{i({...u,source:"columnFilter"})})},r.onStateChange=c=>{this.updateState(e,c),this.updateOrRefreshFilterUi(e)},r.onAction=(c,u,d)=>{this.updateModel(e,c,u),this.dispatchLocalEvent({type:"filterAction",column:e,action:c,event:d})},r.getHandler=()=>this.getHandler(e,!0),r.onUiChange=c=>this.filterUiChanged(e,c),r.source=n}return s}createFilterUiForHandler(e,t){return t?{created:!1,create:t,filterParams:e.params,compDetails:e}:null}createFilterUiLegacy(e,t,n){const o=t(),i={created:!0,create:t,filterParams:e.params,compDetails:e,promise:o};return o.then(n),i}createFilterWrapper(e){const{compDetails:t,handler:n,handlerGenerator:o,handlerParams:i,createFilterUi:s}=this.createFilterInstance(e,e.getColDef(),this.getDefaultFilter(e),a=>a),r=e.getColId();if(n)return delete this.initialModel[r],n.init?.({...i,source:"init",model:zn(this.model,r)}),{column:e,isHandler:!0,handler:n,handlerGenerator:o,handlerParams:i,filterUi:this.createFilterUiForHandler(t,s)};if(s){const a={column:e,filterUi:null,isHandler:!1};return a.filterUi=this.createFilterUiLegacy(t,s,l=>{a.filter=l??void 0}),a}return{column:e,filterUi:null,isHandler:!1}}createHandlerFunc(e,t,n){const{gos:o,frameworkOverrides:i,registry:s}=this.beans;let r;const a=p=>{const f=p.filter;if(mx(f)){const g=f.handler;return g||(r=f.doesFilterPass,r?()=>({doesFilterPass:r}):void 0)}return typeof f=="string"?f:void 0},l=o.get("enableFilterHandlers"),c=l?a(t):void 0,u=p=>()=>this.createBean(s.createDynamicBean(p,!0));let d,h;if(typeof c=="string"){const p=o.get("filterHandlers")?.[c];p!=null?d=p:_j.has(c)&&(d=u(c),h=c)}else d=c;if(!d){let p;const{compName:f,jsComp:g,fwComp:m}=bx(i,t);f?p=f:g==null&&m==null&&t.filter===!0&&(p=n),h=this.handlerMap[p],h&&(d=u(h))}return d?{filterHandler:d,handlerNameOrCallback:r??h}:l?(kn(o)&&Me(277,{colId:e.getColId()}),ote):void 0}createHandler(e,t,n){const o=this.createHandlerFunc(e,t,n);if(!o)return;const i=j2(this.beans.userCompFactory,t,this.createFilterCompParams(e,!0,"init")),{handlerNameOrCallback:s,filterHandler:r}=o,{handler:a,handlerParams:l}=this.createHandlerFromFunc(e,r,i);return{handler:a,handlerParams:l,handlerGenerator:s??r}}createHandlerFromFunc(e,t,n){const o=e.getColDef(),i=t(st(this.gos,{column:e,colDef:o}
94)),s=this.createHandlerParams(e,n);return{handler:i,handlerParams:s}}createHandlerParams(e,t){const n=e.getColDef(),o=e.getColId(),i=this.filterChangedCallbackFactory(e);return st(this.gos,{colDef:n,column:e,getValue:this.createGetValue(e),doesRowPassOtherFilter:s=>this.beans.filterManager?.doesRowPassOtherFilters(o,s)??!0,onModelChange:(s,r)=>{this.updateStoredModel(o,s),this.refreshHandlerAndUi(e,s,"handler",!1,r).then(()=>{i({...r,source:"columnFilter"})})},filterParams:t})}onColumnsChanged(){const e=[],{colModel:t,filterManager:n,groupFilter:o}=this.beans;this.allColumnFilters.forEach((s,r)=>{let a;s.column.isPrimary()?a=t.getColDefCol(r):a=t.getCol(r),!(a&&a===s.column)&&(e.push(s.column),this.disposeFilterWrapper(s,"columnChanged"),this.disposeColumnListener(r))});const i=o&&e.every(s=>o.isGroupFilter(s));e.length>0&&!i&&n?.onFilterChanged({columns:e,source:"api"})}isFilterAllowed(e){if(!e.isFilterAllowed())return!1;const n=this.beans.groupFilter;return n?.isGroupFilter(e)?n.isFilterAllowed(e):!0}getFloatingFilterCompDetails(e,t){const{userCompFactory:n,frameworkOverrides:o,selectableFilter:i}=this.beans,s=h=>{const p=this.getOrCreateFilterUi(e);p?.then(f=>{h(Uh(f))})},r=e.getColDef(),a=i?.isSelectable(r)?i.getFilterDef(e,r):r,l=Yj(o,a,()=>this.getDefaultFloatingFilter(e))??"agReadOnlyFloatingFilter",c=this.gos.get("enableFilterHandlers"),u=j2(n,a,this.createFilterCompParams(e,c,"init",!0)),d=st(this.gos,{column:e,filterParams:u,currentParentModel:()=>this.getCurrentFloatingFilterParentModel(e),parentFilterInstance:s,showParentFilter:t});if(c){const h=d,p=e.getColId(),f=this.filterChangedCallbackFactory(e);h.onUiChange=g=>this.floatingFilterUiChanged(e,g),h.model=zn(this.model,p),h.onModelChange=(g,m)=>{this.updateStoredModel(p,g),this.refreshHandlerAndUi(e,g,"floating",!0,m).then(()=>{f({...m,source:"columnFilter"})})},h.getHandler=()=>this.getHandler(e,!0),h.source="init"}return dU(n,r,d,l)}getCurrentFloatingFilterParentModel(e){return this.getModelFromFilterWrapper(this.cachedFilter(e)??{column:e})}destroyFilterUi(e,t,n,o){const i="paramsUpdated";if(e.isHandler){const s=t.getColId();delete this.initialModel[s],this.state.delete(s);const r=e.filterUi,a=this.createFilterUiForHandler(n,o);e.filterUi=a;const l=this.eventSvc;r?.created?r.promise.then(c=>{this.destroyBean(c),l.dispatchEvent({type:"filterDestroyed",source:i,column:t})}):l.dispatchEvent({type:"filterHandlerDestroyed",source:i,column:t})}else this.destroyFilter(t,i)}destroyFilter(e,t="api"){const n=e.getColId(),o=this.allColumnFilters.get(n);this.disposeColumnListener(n),delete this.initialModel[n],o&&this.disposeFilterWrapper(o,t).then(i=>{i&&this.isAlive()&&this.beans.filterManager?.onFilterChanged({columns:[e],source:"api"})})}disposeColumnListener(e){const t=this.allColumnListeners.get(e);t&&(this.allColumnListeners.delete(e),t())}disposeFilterWrapper(e,t){let n=!1;const{column:o,isHandler:i,filterUi:s}=e,r=o.getColId();i&&(n=this.isHandlerActive(o),this.destroyBean(e.handler),delete this.model[r],this.state.delete(r));const a=()=>{this.setColFilterActive(o,!1,"filterDestroyed"),this.allColumnFilters.delete(r),this.eventSvc.dispatchEvent({type:"filterDestroyed",source:t,column:o})};if(s){if(s.created)return s.promise.then(l=>(n=i?n:!!l?.isFilterActive(),this.destroyBean(l),a(),n));a()}return bn.resolve(n)}filterChangedCallbackFactory(e){return t=>{this.callOnFilterChangedOutsideRenderCycle({additionalEventAttributes:t,columns:[e],column:e,source:t?.source??"columnFilter"})}}filterParamsChanged(e,t="api"){const n=this.allColumnFilters.get(e);if(!n)return;const o=this.beans,i=n.column,s=i.getColDef(),r=i.isFilterAllowed(),a=this.getDefaultFilter(i),l=o.selectableFilter,c=l?.isSelectable(s)?l.getFilterDef(i,s):s,u=r?this.createHandlerFunc(i,c,this.getDefaultFilter(i)):void 0,d=!!u,h=n.isHandler;if(h!=d){this.destroyFilter(i,"paramsUpdated");return}const{compDetails:p,createFilterUi:f}=(r?this.createFilterComp(i,c,a,m=>m,d,"colDef"):null)??{compDetails:null,createFilterUi:null},g=p?.params??j2(o.userCompFactory,c,this.createFilterCompParams(i,d,"colDef"));if(h){const m=u?.handlerNameOrCallback??u?.filterHandler,v=zn(this.model,e);if(n.handlerGenerator!=m){const y=n.handler,{handler:b,handlerParams:w}=this.createHandlerFromFunc(i,u.filterHandler,g);n.handler=b,n.handlerParams=w,n.handlerGenerator=m,delete this.model[e],b.init?.({...w,source:"init",model:null}),this.destroyBean(y),v!=null&&this.beans.filterManager?.onFilterChanged({columns:[i],source:t})}else{const y=this.createHandlerParams(i,p?.params);n.handlerParams=y,n.handler.refresh?.({...y,source:"colDef",model:v})}}
vendor: 1,927 bytes, line 94
94if(this.areFilterCompsDifferent(n.filterUi?.compDetails??null,p)||!n.filterUi||!p){this.destroyFilterUi(n,i,p,f);return}n.filterUi.filterParams=g,Kr(n,h)?.then(m=>{(m?.refresh?m.refresh(g):!0)===!1?this.destroyFilterUi(n,i,p,f):this.dispatchLocalEvent({type:"filterParamsChanged",column:i,params:g})})}refreshHandlerAndUi(e,t,n,o,i){const s=this.cachedFilter(e);if(!s)return o&&this.getOrCreateFilterWrapper(e,!0),bn.resolve();if(!s.isHandler)return bn.resolve();const{filterUi:r,handler:a,handlerParams:l}=s;return Ij(()=>{if(r){const{created:c,filterParams:u}=r;if(c)return r.promise.then(d=>d?{filter:d,filterParams:u}:void 0);r.refreshed=!0}return bn.resolve(void 0)},a,l,t,this.state.get(e.getColId())??{model:t},n,i)}setColumnFilterWrapper(e,t){const n=e.getColId();this.allColumnFilters.set(n,t),this.allColumnListeners.set(n,this.addManagedListeners(e,{colDefChanged:()=>this.filterParamsChanged(n)})[0])}areFilterCompsDifferent(e,t){if(!t||!e)return!0;const{componentClass:n}=e,{componentClass:o}=t;return!(n===o||n?.render&&o?.render&&n.render===o.render)}hasFloatingFilters(){return this.beans.colModel.getCols().some(t=>t.getColDef().floatingFilter)}getFilterInstance(e){const t=this.beans.colModel.getColDefCol(e);if(!t)return Promise.resolve(void 0);const n=this.getOrCreateFilterUi(t);return n?new Promise(o=>{n.then(i=>{o(Uh(i))})}):Promise.resolve(null)}processFilterModelUpdateQueue(){this.modelUpdates.forEach(({model:e,source:t})=>this.setModel(e,t)),this.modelUpdates=[],this.columnModelUpdates.forEach(({key:e,model:t,resolve:n})=>{this.setModelForColumn(e,t).then(()=>n())}),this.columnModelUpdates=[]}getModelForColumn(e,t){if(t){const{state:o,model:i}=this,s=e.getColId(),r=o.get(s);return r?r.model??null:zn(i,s)}const n=this.cachedFilter(e);return n?this.getModelFromFilterWrapper(n):null}setModelForColumn(e,t){if(this.beans.dataTypeSvc?.isPendingInference){let n=()=>{};const o=new Promise(i=>{n=i}
vendor: 1,217 bytes, line 94
94);return this.columnModelUpdates.push({key:e,model:t,resolve:n}),o}return new Promise(n=>{this.setModelForColumnLegacy(e,t).then(o=>n(o))})}getStateForColumn(e){return this.state.get(e)??{model:zn(this.model,e)}}setModelForColumnLegacy(e,t){const n=this.beans.colModel.getColDefCol(e),o=n?this.getOrCreateFilterWrapper(n,!0):null;return o?this.setModelOnFilterWrapper(o,t):bn.resolve()}setColDefPropsForDataType(e,t,n){const o=e.filter,i=o===!0?this.getDefaultFilterFromDataType(()=>t.baseDataType):o;if(typeof i!="string")return;let s,r;const a=this.beans,{filterParams:l,filterValueGetter:c}=e;i==="agMultiColumnFilter"?{filterParams:s,filterValueGetter:r}=a.multiFilter?.getParamsForDataType(l,c,t,n)??{}:{filterParams:s,filterValueGetter:r}=Wj(i,l,c,t,n,a,this.getLocaleTextFunc()),e.filterParams=s,r&&(e.filterValueGetter=r)}setColFilterActive(e,t,n,o){e.filterActive!==t&&(e.filterActive=t,e.dispatchColEvent("filterActiveChanged",n)),e.dispatchColEvent("filterChanged",n,o)}setModelOnFilterWrapper(e,t,n){return new bn(o=>{if(e.isHandler){const s=e.column,r=s.getColId(),a=this.model[r];if(this.updateStoredModel(r,t),n&&t===a){o();return}this.refreshHandlerAndUi(s,t,"api").then(()=>o());return}const i=Kr(e);
94if(i){i.then(s=>{if(typeof s?.setModel!="function"){Me(65),o();return}(s.setModel(t)||bn.resolve()).then(()=>o())});return}o()})}updateStoredModel(e,t){Ge(t)?this.model[e]=t:delete this.model[e];const n=this.state.get(e),o={model:t,state:n?.state};this.state.set(e,o)}filterModified(e,t){this.getOrCreateFilterUi(e)?.then(n=>{this.eventSvc.dispatchEvent({type:"filterModified",column:e,filterInstance:n,...t})})}filterUiChanged(e,t){this.gos.get("enableFilterHandlers")&&this.eventSvc.dispatchEvent({type:"filterUiChanged",column:e,...t})}floatingFilterUiChanged(e,t){this.gos.get("enableFilterHandlers")&&this.eventSvc.dispatchEvent({type:"floatingFilterUiChanged",column:e,...t})}updateModel(e,t,n){const o=e.getColId(),i=this.cachedFilter(e),s=()=>i?.filterUi;v8(t,s,()=>zn(this.model,o),()=>this.state.get(o),r=>this.updateState(e,r),r=>s()?.filterParams?.onModelChange(r,n),i?.isHandler?i.handler.processModelToApply?.bind(i.handler):void 0)}updateAllModels(e,t){const n=[];this.allColumnFilters.forEach((o,i)=>{const s=this.beans.colModel.getColDefCol(i);s&&v8(e,()=>o.filterUi,()=>zn(this.model,i),()=>this.state.get(i),r=>this.updateState(s,r),r=>{this.updateStoredModel(i,r),this.dispatchLocalEvent({type:"filterAction",column:s,action:e}),n.push(this.refreshHandlerAndUi(s,r,"ui"))},o?.isHandler?o.handler.processModelToApply?.bind(o.handler):void 0)}),n.length&&bn.all(n).then(()=>{this.callOnFilterChangedOutsideRenderCycle({source:"columnFilter",additionalEventAttributes:t,columns:[]})})}updateOrRefreshFilterUi(e){const t=e.getColId();Gx(()=>this.cachedFilter(e)?.filterUi,()=>zn(this.model,t),()=>this.state.get(t))}updateState(e,t){this.state.set(e.getColId(),t),this.dispatchLocalEvent({type:"filterStateChanged",column:e,state:t})}canApplyAll(){const{state:e,model:t,activeFilterComps:n}=this;for(const i of n)if(i.source==="COLUMN_MENU")return!1;let o=!1;for(const i of e.keys()){const s=e.get(i);if(s.valid===!1)return!1;(s.model??null)!==zn(t,i)&&(o=!0)}return o}hasUnappliedModel(e){const{model:t,state:n}=this;return(n.get(e)?.model??null)!==zn(t,e)}setGlobalButtons(e){this.isGlobalButtons=e,this.dispatchLocalEvent({type:"filterGlobalButtons",isGlobal:e})}shouldKeepStateOnDetach(e,t){if(t==="newFiltersToolPanel")return!0;const n=this.beans.filterPanelSvc;return n?.isActive?!!n.getState(e.getColId()):!1}destroy(){super.destroy(),this.allColumnFilters.forEach(e=>this.disposeFilterWrapper(e,"gridDestroyed")),this.allColumnListeners.clear(),this.state.clear(),this.activeFilterComps.clear()}};function ste(e){return!!e.filterManager?.isAnyFilterPresent()}
vendor: 4,689 bytes, line 94
94function rte(e,t="api"){e.filterManager?.onFilterChanged({source:t})}var ate=class extends we{constructor(){super(...arguments),this.beanName="filterManager",this.advFilterModelUpdateQueue=[]}wireBeans(e){this.quickFilter=e.quickFilter,this.advancedFilter=e.advancedFilter,this.colFilter=e.colFilter}postConstruct(){const e=this.refreshFiltersForAggregations.bind(this),t=this.updateAdvFilterColumns.bind(this);this.addManagedEventListeners({columnValueChanged:e,columnPivotChanged:e,columnPivotModeChanged:e,newColumnsLoaded:t,columnVisible:t,advancedFilterEnabledChanged:({enabled:o})=>this.onAdvFilterEnabledChanged(o),dataTypesInferred:this.processFilterModelUpdateQueue.bind(this)}),this.externalFilterPresent=this.isExternalFilterPresentCallback(),this.addManagedPropertyListeners(["isExternalFilterPresent","doesExternalFilterPass"],()=>{this.onFilterChanged({source:"api"})}),this.updateAggFiltering(),this.addManagedPropertyListener("groupAggFiltering",()=>{this.updateAggFiltering(),this.onFilterChanged()}),this.quickFilter&&this.addManagedListeners(this.quickFilter,{quickFilterChanged:()=>this.onFilterChanged({source:"quickFilter"})});const{gos:n}=this;this.alwaysPassFilter=n.get("alwaysPassFilter"),this.addManagedPropertyListener("alwaysPassFilter",()=>{this.alwaysPassFilter=n.get("alwaysPassFilter"),this.onFilterChanged({source:"api"})})}isExternalFilterPresentCallback(){const e=this.gos.getCallback("isExternalFilterPresent");return typeof e=="function"&&e({})}doesExternalFilterPass(e){const t=this.gos.get("doesExternalFilterPass");return typeof t=="function"&&t(e)}setFilterState(e,t,n="api"){this.isAdvFilterEnabled()||this.colFilter?.setState(e,t,n)}setFilterModel(e,t="api",n){if(this.isAdvFilterEnabled()){n||this.warnAdvFilters();return}this.colFilter?.setModel(e,t)}getFilterModel(){return this.colFilter?.getModel()??{}}getFilterState(){return this.colFilter?.getState()}isColumnFilterPresent(){return!!this.colFilter?.isFilterPresent()}isAggregateFilterPresent(){return!!this.colFilter?.isAggFilterPresent()}isChildFilterPresent(){return this.isColumnFilterPresent()||this.isQuickFilterPresent()||this.externalFilterPresent||this.isAdvFilterPresent()}isAnyFilterPresent(){return this.isChildFilterPresent()||this.isAggregateFilterPresent()}isAdvFilterPresent(){return this.isAdvFilterEnabled()&&this.advancedFilter.isFilterPresent()}onAdvFilterEnabledChanged(e){e?this.colFilter?.disableFilters()&&this.onFilterChanged({source:"advancedFilter"}):this.advancedFilter?.isFilterPresent()&&(this.advancedFilter.setModel(null),this.onFilterChanged({source:"advancedFilter"}))}isAdvFilterEnabled(){return!!this.advancedFilter?.isEnabled()}isAdvFilterHeaderActive(){return this.isAdvFilterEnabled()&&this.advancedFilter.isHeaderActive()}refreshFiltersForAggregations(){n5(this.gos)&&this.isAnyFilterPresent()&&this.onFilterChanged()}onFilterChanged(e={}){const{source:t,additionalEventAttributes:n,columns:o=[]}=e;this.externalFilterPresent=this.isExternalFilterPresentCallback(),(this.colFilter?this.colFilter.updateBeforeFilterChanged(e):bn.resolve()).then(()=>{const i={source:t,type:"filterChanged",columns:o};n&&Ro(i,n),this.eventSvc.dispatchEvent(i),this.colFilter?.updateAfterFilterChanged()})}isSuppressFlashingCellsBecauseFiltering(){return!!this.colFilter?.isSuppressFlashingCellsBecauseFiltering()}isQuickFilterPresent(){return!!this.quickFilter?.isFilterPresent()}updateAggFiltering(){this.aggFiltering=!!n5(this.gos)}isAggregateQuickFilterPresent(){return this.isQuickFilterPresent()&&this.shouldApplyQuickFilterAfterAgg()}isNonAggregateQuickFilterPresent(){return this.isQuickFilterPresent()&&!this.shouldApplyQuickFilterAfterAgg()}shouldApplyQuickFilterAfterAgg(){return(this.aggFiltering||this.beans.colModel.isPivotMode())&&!this.gos.get("applyQuickFilterBeforePivotOrAgg")}doesRowPassOtherFilters(e,t){return this.doesRowPassFilter({rowNode:t,colIdToSkip:e})}doesRowPassAggregateFilters(e){const{rowNode:t}=e;return this.alwaysPassFilter?.(t)?!0:!(this.isAggregateQuickFilterPresent()&&!this.quickFilter.doesRowPass(t)||this.isAggregateFilterPresent()&&!this.colFilter.doFiltersPass(t,e.colIdToSkip,!0))}doesRowPassFilter(e){const{rowNode:t}=e;return this.alwaysPassFilter?.(t)?!0:!(this.isNonAggregateQuickFilterPresent()&&!this.quickFilter.doesRowPass(t)||this.externalFilterPresent&&!this.doesExternalFilterPass(t)||this.isColumnFilterPresent()&&!this.colFilter.doFiltersPass(t,e.colIdToSkip)||this.isAdvFilterPresent()&&!this.advancedFilter.doesFilterPass(t))}isFilterAllowed(e){return this.isAdvFilterEnabled()?!1:!!this.colFilter?.isFilterAllowed(e)}getAdvFilterModel(){return this.isAdvFilterEnabled()?this.advancedFilter.getModel():null}
94setAdvFilterModel(e,t="api"){if(this.isAdvFilterEnabled()){if(this.beans.dataTypeSvc?.isPendingInference){this.advFilterModelUpdateQueue.push(e);return}this.advancedFilter.setModel(e??null),this.onFilterChanged({source:t})}}toggleAdvFilterBuilder(e,t){this.isAdvFilterEnabled()&&this.advancedFilter.getCtrl().toggleFilterBuilder({source:t,force:e})}updateAdvFilterColumns(){this.isAdvFilterEnabled()&&this.advancedFilter.updateValidity()&&this.onFilterChanged({source:"advancedFilter"})}hasFloatingFilters(){return this.isAdvFilterEnabled()?!1:!!this.colFilter?.hasFloatingFilters()}getColumnFilterInstance(e){return this.isAdvFilterEnabled()?(this.warnAdvFilters(),Promise.resolve(void 0)):this.colFilter?.getFilterInstance(e)??Promise.resolve(void 0)}warnAdvFilters(){Me(68)}setupAdvFilterHeaderComp(e){this.advancedFilter?.getCtrl().setupHeaderComp(e)}getHeaderRowCount(){return this.isAdvFilterHeaderActive()?1:0}getHeaderHeight(){return this.isAdvFilterHeaderActive()?this.advancedFilter.getCtrl().getHeaderHeight():0}processFilterModelUpdateQueue(){for(const e of this.advFilterModelUpdateQueue)this.setAdvFilterModel(e);this.advFilterModelUpdateQueue=[]}setColumnFilterModel(e,t){return this.isAdvFilterEnabled()?(this.warnAdvFilters(),Promise.resolve()):this.colFilter?.setModelForColumn(e,t)??Promise.resolve()}},lte=class extends we{constructor(){super(...arguments),this.beanName="filterMenuFactory"}wireBeans(e){this.popupSvc=e.popupSvc}hideActiveMenu(){this.hidePopup?.()}showMenuAfterMouseEvent(e,t,n,o){e&&!e.isColumn||this.showPopup(e,i=>{this.popupSvc?.positionPopupUnderMouseEvent({column:e,type:n,mouseEvent:t,ePopup:i})},n,t.target,qo(this.gos),o)}showMenuAfterButtonClick(e,t,n,o){if(e&&!e.isColumn)return;let i=-1,s="left";const r=qo(this.gos);!r&&this.gos.get("enableRtl")&&(i=1,s="right");const a=r?void 0:4*i,l=r?void 0:4;this.showPopup(e,c=>{this.popupSvc?.positionPopupByComponent({type:n,eventSource:t,ePopup:c,nudgeX:a,nudgeY:l,alignSide:s,keepWithinBounds:!0,position:"under",column:e})},n,t,r,o)}showPopup(e,t,n,o,i,s){const r=e?this.createBean(new Vj(e,"COLUMN_MENU")):void 0;if(this.activeMenu=r,!r?.hasFilter()||!e){qt(57);return}const a=An({tag:"div",cls:`ag-menu${i?"":" ag-filter-menu"}`,role:"presentation"});[this.tabListener]=this.addManagedElementListeners(a,{keydown:g=>this.trapFocusWithin(g,a)}),a.appendChild(r?.getGui());let l;const c=()=>r?.afterGuiDetached(),u=iz(this.gos)?o??this.beans.ctrlsSvc.getGridBodyCtrl().eGridBody:void 0,d=g=>{R8(e,!1,"contextMenu");const m=g instanceof KeyboardEvent;this.tabListener&&(this.tabListener=this.tabListener()),m&&o&&zs(o)&&Rx(o)?.focus({preventScroll:!0}),c(),this.destroyBean(this.activeMenu),this.dispatchVisibleChangedEvent(!1,n,e),s?.()},h=this.getLocaleTextFunc(),p=i&&n!=="columnFilter"?h("ariaLabelColumnMenu","Column Menu"):h("ariaLabelColumnFilter","Column Filter"),f=this.popupSvc?.addPopup({modal:!0,eChild:a,closeOnEsc:!0,closedCallback:d,positionCallback:()=>t(a),anchorToElement:u,ariaLabel:p});f&&(this.hidePopup=l=f.hideFunc),r.afterInit().then(()=>{t(a),r.afterGuiAttached({container:n,hidePopup:l})}),R8(e,!0,"contextMenu"),this.dispatchVisibleChangedEvent(!0,n,e)}trapFocusWithin(e,t){e.key!==he.TAB||e.defaultPrevented||fc(this.beans,t,!1,e.shiftKey)||(e.preventDefault(),Yl(t,e.shiftKey))}dispatchVisibleChangedEvent(e,t,n){this.eventSvc.dispatchEvent({type:"columnMenuVisibleChanged",visible:e,switchingTab:!1,key:t,column:n??null,columnGroup:null})}isMenuEnabled(e){return e.isFilterAllowed()&&(e.getColDef().menuTabs??["filterMenuTab"]).includes("filterMenuTab")}showMenuAfterContextMenuEvent(){}destroy(){this.destroyBean(this.activeMenu),super.destroy()}},cte=class extends we{constructor(){super(...arguments),this.beanName="filterValueSvc"}getValue(e,t,n){if(!t)return;const o=e.getColDef(),{selectableFilter:i,valueSvc:s}=this.beans,r=n??i?.getFilterValueGetter(e.getColId())??o.filterValueGetter;return r?this.executeFilterValueGetter(r,t.data,e,t,o):s.getValue(e,t)}executeFilterValueGetter(e,t,n,o,i){const{expressionSvc:s,valueSvc:r}=this.beans,a=st(this.gos,{data:t,node:o,column:n,colDef:i,getValue:r.getValueCallback.bind(r,o)});return typeof e=="function"?e(a):s?.evaluate(e,a)}},ute={tag:"div",cls:"ag-floating-filter-input",role:"presentation",children:[{tag:"ag-input-text-field",ref:"eFloatingFilterText"}]},dte=class extends jt{constructor(){super(ute,[u0]),this.eFloatingFilterText=$e}init(e){this.params=e;const t=this.beans.colNames.getDisplayNameForColumn(e.column,"header",!0);if(this.eFloatingFilterText.setDisabled(!0).setInputAriaLabel(`${t} ${this.getLocaleTextFunc()("ariaFilterInput","Filter Input")}`),this.gos.get("enableFilterHandlers")){const n=e,o=n.getHandler();if(o.getModelAsString){const i=o.getModelAsString(n.model);this.eFloatingFilterText.setValue(i)}}}onParentModelChanged(e){if(e==null){this.eFloatingFilterText.setValue("");return}this.params.parentFilterInstance(t=>{if(t.getModelAsString){const n=t.getModelAsString(e);this.eFloatingFilterText.setValue(n)}})}refresh(e){this.init(e)}},pb=class{constructor(){this.customFilterOptions={}}init(e,t){this.filterOptions=e.filterOptions??t,this.mapCustomOptions(),this.defaultOption=this.getDefaultItem(e.defaultOption)}refresh(e,t){const n=e.filterOptions??t;this.filterOptions!==n&&(this.filterOptions=n,this.customFilterOptions={},this.mapCustomOptions()),this.defaultOption=this.getDefaultItem(e.defaultOption)}mapCustomOptions(){const{filterOptions:e}=this;if(e)for(const t of e){if(typeof t=="string")continue;const n=[["displayKey"],["displayName"],["predicate","test"]],o=i=>i.some(s=>t[s]!=null)?!0:(Me(72,{keys:i}),!1);if(!n.every(o)){this.filterOptions=e.filter(i=>i===t)||[];continue}
94this.customFilterOptions[t.displayKey]=t}}getDefaultItem(e){const{filterOptions:t}=this;if(e)return e;if(t.length>=1){const n=t[0];if(typeof n=="string")return n;if(n.displayKey)return n.displayKey;Me(73)}else Me(74)}getCustomOption(e){return this.customFilterOptions[e]}};function hh(e,t,n){return n==null?e.splice(t):e.splice(t,n)}function rm(e){return e==null||typeof e=="string"&&e.trim().length===0}function hte(e){return e==="AND"||e==="OR"?e:"AND"}function pte(e,t,n){if(e==null)return;const{predicate:o}=e;if(o!=null&&!t.some(i=>i==null))return o(t,n)}function fte(e,t){let n=e.length;return n>t&&(e.splice(t),Me(78),n=t),n}function qh(e,t){const n=t.getCustomOption(e);if(n){const{numberOfInputs:i}=n;return i??1}return e&&["empty","notBlank","blank"].indexOf(e)>=0?0:e==="inRange"?2:1}var fb=class extends qj{constructor(e,t,n){super(e,"simple-filter"),this.mapValuesFromModel=t,this.defaultOptions=n,this.eTypes=[],this.eJoinPanels=[],this.eJoinAnds=[],this.eJoinOrs=[],this.eConditionBodies=[],this.listener=()=>this.onUiChanged(),this.lastUiCompletePosition=null,this.joinOperatorId=0}setParams(e){super.setParams(e);const t=new pb;this.optionsFactory=t,t.init(e,this.defaultOptions),this.commonUpdateSimpleParams(e),this.createOption(),this.createMissingConditionsAndOperators()}updateParams(e,t){this.optionsFactory.refresh(e,this.defaultOptions),super.updateParams(e,t),this.commonUpdateSimpleParams(e)}commonUpdateSimpleParams(e){this.setNumConditions(e),this.defaultJoinOperator=hte(e.defaultJoinOperator),this.filterPlaceholder=e.filterPlaceholder,this.createFilterListOptions();const t=this.getGui();this.isReadOnly()?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")}onFloatingFilterChanged(e,t){this.setTypeFromFloatingFilter(e),this.setValueFromFloatingFilter(t),this.onUiChanged("immediately",!0)}setTypeFromFloatingFilter(e){this.eTypes.forEach((t,n)=>{const o=n===0?e:this.optionsFactory.defaultOption;t.setValue(o,!0)})}getModelFromUi(){const e=this.getUiCompleteConditions();return e.length===0?null:this.maxNumConditions>1&&e.length>1?{filterType:this.filterType,operator:this.getJoinOperator(),conditions:e}:e[0]}getConditionTypes(){return this.eTypes.map(e=>e.getValue())}getConditionType(e){return this.eTypes[e].getValue()}getJoinOperator(){const{eJoinOrs:e,defaultJoinOperator:t}=this;return e.length===0?t:e[0].getValue()===!0?"OR":"AND"}areNonNullModelsEqual(e,t){const n=!e.operator,o=!t.operator;if(!n&&o||n&&!o)return!1;let s;if(n){const r=e,a=t;s=this.areSimpleModelsEqual(r,a)}else{const r=e,a=t;s=r.operator===a.operator&&za(r.conditions,a.conditions,(l,c)=>this.areSimpleModelsEqual(l,c))}return s}setModelIntoUi(e,t){if(e==null)return this.resetUiToDefaults(t),bn.resolve();if(e.operator){const o=e;let i=o.conditions;i==null&&(i=[],Me(77));const s=fte(i,this.maxNumConditions),r=this.getNumConditions();if(s<r)this.removeConditionsAndOperators(s);else if(s>r)for(let l=r;l<s;l++)this.createJoinOperatorPanel(),this.createOption();const a=o.operator==="OR";this.eJoinAnds.forEach(l=>l.setValue(!a,!0)),this.eJoinOrs.forEach(l=>
94l.setValue(a,!0)),i.forEach((l,c)=>{this.eTypes[c].setValue(l.type,!0),this.setConditionIntoUi(l,c)})}else{const o=e;this.getNumConditions()>1&&this.removeConditionsAndOperators(1),this.eTypes[0].setValue(o.type,!0),this.setConditionIntoUi(o,0)}return this.lastUiCompletePosition=this.getNumConditions()-1,this.createMissingConditionsAndOperators(),this.updateUiVisibility(),t||this.params.onUiChange(this.getUiChangeEventParams()),bn.resolve()}setNumConditions(e){let t=e.maxNumConditions??2;t<1&&(Me(79),t=1),this.maxNumConditions=t;let n=e.numAlwaysVisibleConditions??1;n<1&&(Me(80),n=1),n>t&&(Me(81),n=t),this.numAlwaysVisibleConditions=n}createOption(){const e=this.getGui(),t=this.createManagedBean(new K4);this.eTypes.push(t),t.addCss("ag-filter-select"),e.appendChild(t.getGui());const n=this.createEValue();this.eConditionBodies.push(n),e.appendChild(n),this.putOptionsIntoDropdown(t),this.resetType(t);const o=this.getNumConditions()-1;this.forEachPositionInput(o,i=>this.resetInput(i)),this.addChangedListeners(t,o)}createJoinOperatorPanel(){const e=An({tag:"div",cls:"ag-filter-condition"});this.eJoinPanels.push(e);const t=this.createJoinOperator(this.eJoinAnds,e,"and"),n=this.createJoinOperator(this.eJoinOrs,e,"or");this.getGui().appendChild(e);const o=this.eJoinPanels.length-1,i=this.joinOperatorId++;this.resetJoinOperatorAnd(t,o,i),this.resetJoinOperatorOr(n,o,i),this.isReadOnly()||(t.onValueChange(this.listener),n.onValueChange(this.listener))}createJoinOperator(e,t,n){const o=this.createManagedBean(new PU);e.push(o);const i="ag-filter-condition-operator";return o.addCss(i),o.addCss(`${i}-${n}`),t.appendChild(o.getGui()),o}createFilterListOptions(){this.filterListOptions=this.optionsFactory.filterOptions.map(e=>typeof e=="string"?this.createBoilerplateListOption(e):this.createCustomListOption(e))}putOptionsIntoDropdown(e){const{filterListOptions:t}=this;for(const n of t)e.addOption(n);e.setDisabled(t.length<=1)}createBoilerplateListOption(e){return{value:e,text:this.translate(e)}}createCustomListOption(e){const{displayKey:t}=e,n=this.optionsFactory.getCustomOption(e.displayKey);return{value:t,text:n?this.getLocaleTextFunc()(n.displayKey,n.displayName):this.translate(t)}}createBodyTemplate(){return null}getAgComponents(){return[]}updateUiVisibility(){const e=this.getJoinOperator();this.updateNumConditions(),this.updateConditionStatusesAndValues(this.lastUiCompletePosition,e)}updateNumConditions(){let e=-1,t=!0;for(let n=0;n<this.getNumConditions();n++)this.isConditionUiComplete(n)?e=n:t=!1;if(this.shouldAddNewConditionAtEnd(t))this.createJoinOperatorPanel(),this.createOption();else{const n=this.lastUiCompletePosition??this.getNumConditions()-2;if(e<n){this.removeConditionsAndOperators(n+1);const o=e+1,i=n-o;i>0&&this.removeConditionsAndOperators(o,i),this.createMissingConditionsAndOperators()}}this.lastUiCompletePosition=e}updateConditionStatusesAndValues(e,t){this.eTypes.forEach((o,i)=>{const s=this.isConditionDisabled(i,e);o.setDisabled(s||this.filterListOptions.length<=1),i===1&&(Hh(this.eJoinPanels[0],s),this.eJoinAnds[0].setDisabled(s),this.eJoinOrs[0].setDisabled(s))}),this.eConditionBodies.forEach((o,i)=>{hn(o,this.isConditionBodyVisible(i))});const n=(t??this.getJoinOperator())==="OR";for(const o of this.eJoinAnds)o.setValue(!n,!0);for(const o of this.eJoinOrs)o.setValue(n,!0);this.forEachInput((o,i,s,r)=>{this.setElementDisplayed(o,i<r),this.setElementDisabled(o,this.isConditionDisabled(s,e))}),this.resetPlaceholder()}shouldAddNewConditionAtEnd(e){return e&&this.getNumConditions()<this.maxNumConditions&&!this.isReadOnly()}removeConditionsAndOperators(e,t){if(e>=this.getNumConditions())return;const{eTypes:n,eConditionBodies:o,eJoinPanels:i,eJoinAnds:s,eJoinOrs:r}=this;this.removeComponents(n,e,t),this.removeElements(o,e,t),this.removeEValues(e,t);const a=Math.max(e-1,0);this.removeElements(i,a,t),this.removeComponents(s,a,t),this.removeComponents(r,a,t)}
94removeElements(e,t,n){const o=hh(e,t,n);for(const i of o)ji(i)}removeComponents(e,t,n){const o=hh(e,t,n);for(const i of o)ji(i.getGui()),this.destroyBean(i)}afterGuiAttached(e){if(super.afterGuiAttached(e),this.resetPlaceholder(),!e?.suppressFocus){let t;if(!this.isReadOnly()){const n=this.getInputs(0)[0];n instanceof vl&&this.isConditionBodyVisible(0)?t=n.getInputElement():t=this.eTypes[0]?.getFocusableElement()}(t??this.getGui()).focus({preventScroll:!0})}}afterGuiDetached(){super.afterGuiDetached();const e=this.params;if(this.beans.colFilter?.shouldKeepStateOnDetach(e.column))return;e.onStateChange({model:e.model});let t=-1,n=-1,o=!1;const i=this.getJoinOperator();for(let r=this.getNumConditions()-1;r>=0;r--)if(this.isConditionUiComplete(r))t===-1&&(t=r,n=r);else{const a=r>=this.numAlwaysVisibleConditions&&!this.isConditionUiComplete(r-1),l=r<t;(a||l)&&(this.removeConditionsAndOperators(r,1),o=!0,l&&n--)}let s=!1;this.getNumConditions()<this.numAlwaysVisibleConditions&&(this.createMissingConditionsAndOperators(),s=!0),this.shouldAddNewConditionAtEnd(n===this.getNumConditions()-1)&&(this.createJoinOperatorPanel(),this.createOption(),s=!0),s&&this.updateConditionStatusesAndValues(n,i),o&&this.updateJoinOperatorsDisabled(),this.lastUiCompletePosition=n}getModelAsString(e){return this.params.getHandler()?.getModelAsString?.(e)??""}getPlaceholderText(e,t){let n=this.translate(e);if(typeof this.filterPlaceholder=="function"){const o=this.eTypes[t].getValue(),i=this.translate(o);n=this.filterPlaceholder({filterOptionKey:o,filterOption:i,placeholder:n})}else typeof this.filterPlaceholder=="string"&&(n=this.filterPlaceholder);return n}resetPlaceholder(){const e=this.getLocaleTextFunc();this.forEachInput((t,n,o,i)=>{if(!(t instanceof vl))return;const s=n===0&&i>1?"inRangeStart":n===0?"filterOoo":"inRangeEnd",r=n===0&&i>1?e("ariaFilterFromValue","Filter from value"):n===0?e("ariaFilterValue","Filter Value"):e("ariaFilterToValue","Filter to Value");t.setInputPlaceholder(this.getPlaceholderText(s,o)),t.setInputAriaLabel(r)})}setElementValue(e,t,n){e instanceof vl&&e.setValue(t!=null?String(t):null,!0)}setElementDisplayed(e,t){r8(e)&&hn(e.getGui(),t)}setElementDisabled(e,t){r8(e)&&Hh(e.getGui(),t)}attachElementOnChange(e,t){e instanceof vl&&e.onValueChange(t)}forEachInput(e){this.getConditionTypes().forEach((t,n)=>{this.forEachPositionTypeInput(n,t,e)})}forEachPositionInput(e,t){const n=this.getConditionType(e);this.forEachPositionTypeInput(e,n,t)}forEachPositionTypeInput(e,t,n){const o=qh(t,this.optionsFactory),i=this.getInputs(e);for(let s=0;s<i.length;s++){const r=i[s];r!=null&&n(r,s,e,o)}}isConditionDisabled(e,t){return this.isReadOnly()?!0:e===0?!1:e>t+1}isConditionBodyVisible(e){const t=this.getConditionType(e);return qh(t,this.optionsFactory)>0}isConditionUiComplete(e){return!(e>=this.getNumConditions()||this.getConditionType(e)==="empty"||this.getValues(e).some(n=>n==null))}getNumConditions(){return this.eTypes.length}getUiCompleteConditions(){const e=[];for(let t=0;t<this.getNumConditions();t++)this.isConditionUiComplete(t)&&e.push(this.createCondition(t));return e}createMissingConditionsAndOperators(){if(!this.isReadOnly())for(let e=this.getNumConditions();e<this.numAlwaysVisibleConditions;e++)this.createJoinOperatorPanel(),this.createOption()}resetUiToDefaults(e){this.removeConditionsAndOperators(this.isReadOnly()?1:this.numAlwaysVisibleConditions),this.eTypes.forEach(t=>this.resetType(t)),this.eJoinAnds.forEach((t,n)=>this.resetJoinOperatorAnd(t,n,this.joinOperatorId+n)),this.eJoinOrs.forEach((t,n)=>this.resetJoinOperatorOr(t,n,this.joinOperatorId+n)),this.joinOperatorId++,this.forEachInput(t=>this.resetInput(t)),this.resetPlaceholder(),this.createMissingConditionsAndOperators(),this.lastUiCompletePosition=null,this.updateUiVisibility(),e||this.params.onUiChange(this.getUiChangeEventParams())}resetType(e){const n=this.getLocaleTextFunc()("ariaFilteringOperator","Filtering operator");e.setValue(this.optionsFactory.defaultOption,!0).setAriaLabel(n).setDisabled(this.isReadOnly()||this.filterListOptions.length<=1)}resetJoinOperatorAnd(e,t,n){this.resetJoinOperator(e,t,this.defaultJoinOperator==="AND",this.translate("andCondition"),n)}resetJoinOperatorOr(e,t,n){this.resetJoinOperator(e,t,this.defaultJoinOperator==="OR",this.translate("orCondition"),n)}resetJoinOperator(e,t,n,o,i){this.updateJoinOperatorDisabled(e.setValue(n,!0).setName(`ag-simple-filter-and-or-${this.getCompId()}-${i}`).setLabel(o),t)}updateJoinOperatorsDisabled(){const e=(t,n)=>this.updateJoinOperatorDisabled(t,n);
94this.eJoinAnds.forEach(e),this.eJoinOrs.forEach(e)}updateJoinOperatorDisabled(e,t){e.setDisabled(this.isReadOnly()||t>0)}resetInput(e){this.setElementValue(e,null),this.setElementDisabled(e,this.isReadOnly())}setConditionIntoUi(e,t){const n=this.mapValuesFromModel(e,this.optionsFactory);this.forEachInput((o,i,s)=>{s===t&&this.setElementValue(o,n[i]!=null?n[i]:null)})}setValueFromFloatingFilter(e){this.forEachInput((t,n,o)=>{this.setElementValue(t,n===0&&o===0?e:null,!0)})}addChangedListeners(e,t){this.isReadOnly()||(e.onValueChange(this.listener),this.forEachPositionInput(t,n=>{this.attachElementOnChange(n,this.listener)}))}hasInvalidInputs(){return!1}isReadOnly(){return!!this.params.readOnly}},$D=class{constructor(e,t,n,o,i,s){this.alive=!0,this.context=e,this.eParent=i;const r=aU(t,n,o);r&&r.newAgStackInstance().then(a=>{if(!this.alive){e.destroyBean(a);return}if(this.dateComp=a,!a)return;i.appendChild(a.getGui()),a?.afterGuiAttached?.();const{tempValue:l,disabled:c}=this;l&&a.setDate(l),c!=null&&a.setDisabled?.(c),s?.(this)})}destroy(){this.alive=!1,this.dateComp=this.context.destroyBean(this.dateComp)}getDate(){return this.dateComp?this.dateComp.getDate():this.tempValue}setDate(e){const t=this.dateComp;t?t.setDate(e):this.tempValue=e}setDisabled(e){const t=this.dateComp;t?t.setDisabled?.(e):this.disabled=e}setDisplayed(e){hn(this.eParent,e)}setInputPlaceholder(e){this.dateComp?.setInputPlaceholder?.(e)}setInputAriaLabel(e){this.dateComp?.setInputAriaLabel?.(e)}afterGuiAttached(e){this.dateComp?.afterGuiAttached?.(e)}updateParams(e){this.dateComp?.refresh?.(e)}},gb=["equals","notEqual","lessThan","greaterThan","inRange","blank","notBlank"];function WD(e,t){const{dateFrom:n,dateTo:o,type:i}=e||{};return[n&&Ho(n,void 0,!0)||null,o&&Ho(o,void 0,!0)||null].slice(0,qh(i,t))}var r9=1e3,a9=1/0,gte=class extends fb{constructor(){super("dateFilter",WD,gb),this.eConditionPanelsFrom=[],this.eConditionPanelsTo=[],this.dateConditionFromComps=[],this.dateConditionToComps=[],this.minValidYear=r9,this.maxValidYear=a9,this.minValidDate=null,this.maxValidDate=null,this.filterType="date"}afterGuiAttached(e){super.afterGuiAttached(e),this.dateConditionFromComps[0].afterGuiAttached(e)}commonUpdateSimpleParams(e){super.commonUpdateSimpleParams(e);const t=(l,c)=>{const u=e[l];if(u!=null)if(isNaN(u))Me(82,{param:l});else return u==null?c:Number(u);return c},n=t("minValidYear",r9),o=t("maxValidYear",a9);this.minValidYear=n,this.maxValidYear=o,n>o&&Me(83);const{minValidDate:i,maxValidDate:s}=e,r=i instanceof Date?i:Ho(i);this.minValidDate=r;const a=s instanceof Date?s:Ho(s);this.maxValidDate=a,r&&a&&r>a&&Me(84)}createDateCompWrapper(e){const{beans:{userCompFactory:t,context:n,gos:o},params:i}=this,s=new $D(n,t,i.colDef,st(o,{onDateChanged:()=>this.onUiChanged(),filterParams:i,location:"filter"}),e);return this.addDestroyFunc(()=>s.destroy()),s}setElementValue(e,t){e.setDate(t)}setElementDisplayed(e,t){e.setDisplayed(t)}setElementDisabled(e,t){e.setDisabled(t)}createEValue(){const e=An({tag:"div",cls:"ag-filter-body"});return this.createFromToElement(e,this.eConditionPanelsFrom,this.dateConditionFromComps,"from"),this.createFromToElement(e,this.eConditionPanelsTo,this.dateConditionToComps,"to"),e}createFromToElement(e,t,n,o){const i=An({tag:"div",cls:`ag-filter-${o} ag-filter-date-${o}`});t.push(i),e.appendChild(i),n.push(this.createDateCompWrapper(i))}removeEValues(e,t){this.removeDateComps(this.dateConditionFromComps,e,t),this.removeDateComps(this.dateConditionToComps,e,t),hh(this.eConditionPanelsFrom,e,t),hh(this.eConditionPanelsTo,e,t)}
94removeDateComps(e,t,n){const o=hh(e,t,n);for(const i of o)i.destroy()}isValidDateValue(e){if(e===null)return!1;const{minValidDate:t,maxValidDate:n,minValidYear:o,maxValidYear:i}=this;if(t){if(e<t)return!1}else if(e.getUTCFullYear()<o)return!1;if(n){if(e>n)return!1}else if(e.getUTCFullYear()>i)return!1;return!0}isConditionUiComplete(e){if(!super.isConditionUiComplete(e))return!1;let t=!0;return this.forEachInput((n,o,i,s)=>{i!==e||!t||o>=s||(t=t&&this.isValidDateValue(n.getDate()))}),t}areSimpleModelsEqual(e,t){return e.dateFrom===t.dateFrom&&e.dateTo===t.dateTo&&e.type===t.type}createCondition(e){const t=this.getConditionType(e),n={},o=this.getValues(e),i=this.params.useIsoSeparator?"T":" ";return o.length>0&&(n.dateFrom=Qo(o[0],!0,i)),o.length>1&&(n.dateTo=Qo(o[1],!0,i)),{dateFrom:null,dateTo:null,filterType:this.filterType,type:t,...n}}resetPlaceholder(){const e=this.getLocaleTextFunc(),t=this.translate("dateFormatOoo"),n=e("ariaFilterValue","Filter Value");this.forEachInput(o=>{o.setInputPlaceholder(t),o.setInputAriaLabel(n)})}getInputs(e){const{dateConditionFromComps:t,dateConditionToComps:n}=this;return e>=t.length?[null,null]:[t[e],n[e]]}getValues(e){const t=[];return this.forEachPositionInput(e,(n,o,i,s)=>{o<s&&t.push(n.getDate())}),t}translate(e){return e==="lessThan"?super.translate("before"):e==="greaterThan"?super.translate("after"):super.translate(e)}},GD=class extends we{constructor(e,t){super(),this.mapValuesFromModel=e,this.defaultOptions=t}init(e){const t=e.filterParams,n=new pb;this.optionsFactory=n,n.init(t,this.defaultOptions),this.filterModelFormatter=this.createManagedBean(new this.FilterModelFormatterClass(n,t)),this.updateParams(e),this.validateModel(e)}refresh(e){if(e.source==="colDef"){const t=e.filterParams,n=this.optionsFactory;n.refresh(t,this.defaultOptions),this.filterModelFormatter.updateParams({optionsFactory:n,filterParams:t}),this.updateParams(e)}this.validateModel(e)}updateParams(e){this.params=e}doesFilterPass(e){const t=e.model;if(t==null)return!0;const{operator:n}=t,o=[];if(n){const r=t;o.push(...r.conditions??[])}else o.push(t);const i=n&&n==="OR"?"some":"every",s=this.params.getValue(e.node);return o[i](r=>this.individualConditionPasses(e,r,s))}getModelAsString(e,t){return this.filterModelFormatter.getModelAsString(e,t)??""}validateModel(e){const{model:t,filterParams:{filterOptions:n,maxNumConditions:o}}=e;if(t==null)return;let s=jx(t)?t.conditions:[t];const r=n?.map(u=>typeof u=="string"?u:u.displayKey)??this.defaultOptions;if(!(!s||s.every(u=>r.find(d=>d===u.type)!==void 0))){this.params={...e,model:null},e.onModelChange(null);return}let l=!1;const c=this.filterType;if((s&&!s.every(u=>u.filterType===c)||t.filterType!==c)&&(s=s.map(u=>({...u,filterType:c})),l=!0),typeof o=="number"&&s&&s.length>o&&(s=s.slice(0,o),l=!0),l){const u=s.length>1?{...t,filterType:c,conditions:s}:{...s[0],filterType:c};this.params={...e,model:u},e.onModelChange(u)}}individualConditionPasses(e,t,n){const o=this.optionsFactory,i=this.mapValuesFromModel(t,o),s=o.getCustomOption(t.type),r=pte(s,i,n);return r??(n==null?this.evaluateNullValue(t.type):this.evaluateNonNullValue(i,n,t,e))}},zD=class extends GD{evaluateNullValue(e){const{includeBlanksInEquals:t,includeBlanksInNotEqual:n,includeBlanksInGreaterThan:o,includeBlanksInLessThan:i,includeBlanksInRange:s}=this.params.filterParams;switch(e){case"equals":if(t)return!0;break;case"notEqual":if(n)return!0;break;case"greaterThan":case"greaterThanOrEqual":if(o)return!0;break;case"lessThan":case"lessThanOrEqual":if(i)return!0;break;case"inRange":if(s)return!0;break;case"blank":return!0;case"notBlank":return!1}return!1}evaluateNonNullValue(e,t,n){const o=n.type;if(!this.isValid(t))return o==="notEqual"||o==="notBlank";const i=this.comparator(),s=e[0]!=null?i(e[0],t):0;switch(o){case"equals":return s===0;case"notEqual":return s!==0;case"greaterThan":return s>0;case"greaterThanOrEqual":return s>=0;case"lessThan":return s<0;case"lessThanOrEqual":return s<=0;case"inRange":{const r=i(e[1],t);return this.params.filterParams.inRangeInclusive?s>=0&&r<=0:s>0&&r<0}case"blank":return rm(t);case"notBlank":return!rm(t);default:return Me(76,{filterModelType:o}),!0}}},UD={equals:"Equals",notEqual:"NotEqual",greaterThan:"GreaterThan",greaterThanOrEqual:"GreaterThanOrEqual",lessThan:"LessThan",lessThanOrEqual:"LessThanOrEqual",inRange:"InRange"},mte={contains:"Contains",notContains:"NotContains",equals:"TextEquals",notEqual:"TextNotEqual",startsWith:"StartsWith",endsWith:"EndsWith",inRange:"InRange"},mb=class extends we{constructor(e,t,n){super(),this.optionsFactory=e,this.filterParams=t,this.valueFormatter=n}getModelAsString(e,t){const n=this.getLocaleTextFunc(),o=t==="filterToolPanel";if(!e)return o?ba(this,"filterSummaryInactive"):null;if(e.operator!=null){const s=e,a=(s.conditions??[]).map(c=>this.getModelAsString(c,t)),l=s.operator==="AND"?"andCondition":"orCondition";return a.join(` ${ba(this,l)} `)}else{if(e.type==="blank"||e.type==="notBlank")return o?ba(this,e.type==="blank"?"filterSummaryBlank":"filterSummaryNotBlank"):n(e.type,e.type);{const s=e,r=this.optionsFactory.getCustomOption(s.type),{displayKey:a,displayName:l,numberOfInputs:c}=r||{};return a&&l&&c===0?n(a,l):this.conditionToString(s,o,s.type==="inRange"||c===2,a,l)}}}updateParams(e){const{optionsFactory:t,filterParams:n}=e;this.optionsFactory=t,this.filterParams=n}conditionForToolPanel(e,t,n,o,i,s){let r;const a=this.getTypeKey(e);return a&&(r=ba(this,a)),i&&s&&(r=this.getLocaleTextFunc()(i,s)),r!=null?t?`${r} ${ba(this,"filterSummaryInRangeValues",[n(),o()])}`:`${r} ${n()}`:null}getTypeKey(e){const t=this.filterTypeKeys[e];return t?`filterSummary${t}`:null}formatValue(e){const t=this.valueFormatter;return t?t(e??null)??"":String(e)}}
94,jD=class extends mb{constructor(e,t){super(e,t,n=>{const{dataTypeSvc:o,valueSvc:i}=this.beans,s=t.column,r=o?.getDateFormatterFunction(s),a=r?r(n??void 0):n;return i.formatValue(s,null,a)}),this.filterTypeKeys=UD}conditionToString(e,t,n,o,i){const{type:s}=e,r=Ho(e.dateFrom),a=Ho(e.dateTo),l=this.filterParams.inRangeFloatingFilterDateFormat,c=t?this.formatValue.bind(this):h=>l5(h,l),u=()=>r!==null?c(r):"null",d=()=>a!==null?c(a):"null";if(t){const h=this.conditionForToolPanel(s,n,u,d,o,i);if(h!=null)return h}return n?`${u()}-${d()}`:r!=null?c(r):`${s}`}};function vte(e,t){const n=t;return n<e?-1:n>e?1:0}var Cte=class extends zD{constructor(){super(WD,gb),this.filterType="date",this.FilterModelFormatterClass=jD}comparator(){return this.params.filterParams.comparator??vte}isValid(e){const t=this.params.filterParams.isValidDate;return!t||t(e)}},ZD=class extends jt{constructor(){super(...arguments),this.defaultDebounceMs=0}setLastTypeFromModel(e){if(!e){this.lastType=this.optionsFactory.defaultOption;return}const t=e.operator;let n;t?n=e.conditions[0]:n=e,this.lastType=n.type}canWeEditAfterModelFromParentFilter(e){if(!e)return this.isTypeEditable(this.lastType);if(e.operator)return!1;const n=e;return this.isTypeEditable(n.type)}init(e){this.params=e;const t=this.gos.get("enableFilterHandlers");if(this.reactive=t,this.setParams(e),t){const n=e;this.onModelUpdated(n.model)}}setParams(e){const t=new pb;this.optionsFactory=t,t.init(e.filterParams,this.defaultOptions),this.filterModelFormatter=this.createManagedBean(new this.FilterModelFormatterClass(t,e.filterParams)),this.setSimpleParams(e,!1)}setSimpleParams(e,t=!0){const n=this.optionsFactory.defaultOption;t||(this.lastType=n),this.readOnly=!!e.filterParams.readOnly;const o=this.isTypeEditable(n);this.setEditable(o)}refresh(e){this.params=e;const t=e,n=this.reactive;if((!n||t.source==="colDef")&&this.updateParams(e),n){const{source:o,model:i}=t;if(o==="dataChanged"||o==="ui")return;this.onModelUpdated(i)}}updateParams(e){const t=this.optionsFactory;t.refresh(e.filterParams,this.defaultOptions),this.setSimpleParams(e),this.filterModelFormatter.updateParams({optionsFactory:t,filterParams:e.filterParams})}onParentModelChanged(e,t){t?.afterFloatingFilter||t?.afterDataChange||this.onModelUpdated(e)}hasSingleInput(e){const t=this.optionsFactory.getCustomOption(e)?.numberOfInputs;return t==null||t==1}isTypeEditable(e){const t=["inRange","empty","blank","notBlank"];return!!e&&!this.readOnly&&this.hasSingleInput(e)&&t.indexOf(e)<0}getAriaLabel(e){return`${this.beans.colNames.getDisplayNameForColumn(e.column,"header",!0)} ${this.getLocaleTextFunc()("ariaFilterInput","Filter Input")}`}},bte={tag:"div",cls:"ag-floating-filter-input",role:"presentation",children:[{tag:"ag-input-text-field",ref:"eReadOnlyText"},{tag:"div",ref:"eDateWrapper",cls:"ag-date-floating-filter-wrapper"}]},yte=class extends ZD{constructor(){super(bte,[u0]),this.eReadOnlyText=$e,this.eDateWrapper=$e,this.FilterModelFormatterClass=jD,this.filterType="date",this.defaultOptions=gb}setParams(e){super.setParams(e),this.createDateComponent();const t=this.getLocaleTextFunc();this.eReadOnlyText.setDisabled(!0).setInputAriaLabel(t("ariaDateFilterInput","Date Filter Input"))}updateParams(e){super.updateParams(e),this.dateComp.updateParams(this.getDateComponentParams()),this.updateCompOnModelChange(e.currentParentModel())}updateCompOnModelChange(e){const t=!this.readOnly&&this.canWeEditAfterModelFromParentFilter(e);if(this.setEditable(t),t){const n=e?Ho(e.dateFrom):null;this.dateComp.setDate(n),this.eReadOnlyText.setValue("")}else this.eReadOnlyText.setValue(this.filterModelFormatter.getModelAsString(e)),this.dateComp.setDate(null)}setEditable(e){hn(this.eDateWrapper,e),hn(this.eReadOnlyText.getGui(),!e)}onModelUpdated(e){super.setLastTypeFromModel(e),this.updateCompOnModelChange(e)}onDateChanged(){const e=this.dateComp.getDate();if(this.reactive){const t=this.params;t.onUiChange();const n=t.model,o=Qo(e),i=o==null?null:{...n??{filterType:this.filterType,type:this.lastType??this.optionsFactory.defaultOption},dateFrom:o};t.onModelChange(i,{afterFloatingFilter:!0})}else this.params.parentFilterInstance(t=>{t?.onFloatingFilterChanged(this.lastType||null,e)})}getDateComponentParams(){const{filterParams:e}=this.params,t=Q4(e,this.defaultDebounceMs);return st(this.gos,{onDateChanged:qn(this,this.onDateChanged.bind(this),t),filterParams:e,location:"floatingFilter"})}createDateComponent(){const{beans:{context:e,userCompFactory:t},eDateWrapper:n,params:o}=this;this.dateComp=new $D(e,t,o.column.getColDef(),this.getDateComponentParams(),n,i=>{i.setInputAriaLabel(this.getAriaLabel(o))}),this.addDestroyFunc(()=>this.dateComp.destroy())}},wte={tag:"div",cls:"ag-filter-filter",children:[{tag:"ag-input-text-field",ref:"eDateInput",cls:"ag-date-filter"}]},Ste=class extends jt{constructor(){super(wte,[u0]),this.eDateInput=$e,this.isApply=!1,this.applyOnFocusOut=!1}init(e){this.params=e,this.setParams(e);const t=this.eDateInput.getInputElement();this.addManagedListeners(t,{mouseDown:()=>{this.eDateInput.isDisabled()||this.usingSafariDatePicker||t.focus({preventScroll:!0})},input:this.handleInput.bind(this,!1),change:this.handleInput.bind(this,!0),focusout:this.handleFocusOut.bind(this)})}
94handleInput(e){if(!this.eDateInput.isDisabled()){if(this.isApply){this.applyOnFocusOut=!e,e&&this.params.onDateChanged();return}e||this.params.onDateChanged()}}handleFocusOut(){this.applyOnFocusOut&&(this.applyOnFocusOut=!1,this.params.onDateChanged())}setParams(e){const t=this.eDateInput.getInputElement(),n=this.shouldUseBrowserDatePicker(e);this.usingSafariDatePicker=n&&Ua();const{minValidYear:o,maxValidYear:i,minValidDate:s,maxValidDate:r,buttons:a,includeTime:l,colDef:c}=e.filterParams||{},u=this.beans.dataTypeSvc,d=l??u?.getDateIncludesTimeFlag?.(c.cellDataType)??!1;if(n?d?(t.type="datetime-local",t.step="1"):t.type="date":t.type="text",s&&o&&Me(85),r&&i&&Me(86),s&&r){const[h,p]=[s,r].map(f=>f instanceof Date?f:Ho(f));h&&p&&h.getTime()>p.getTime()&&Me(87)}s?s instanceof Date?t.min=l5(s):t.min=s:o&&(t.min=`${o}-01-01`),r?r instanceof Date?t.max=l5(r):t.max=r:i&&(t.max=`${i}-12-31`),this.isApply=e.location==="floatingFilter"&&!!a?.includes("apply")}refresh(e){this.params=e,this.setParams(e)}getDate(){return Ho(this.eDateInput.getValue())}setDate(e){const t=this.params.filterParams.colDef.cellDataType,n=this.beans.dataTypeSvc?.getDateIncludesTimeFlag(t)??!1;this.eDateInput.setValue(Qo(e,n))}setInputPlaceholder(e){this.eDateInput.setInputPlaceholder(e)}setInputAriaLabel(e){this.eDateInput.setAriaLabel(e)}setDisabled(e){this.eDateInput.setDisabled(e)}afterGuiAttached(e){e?.suppressFocus||this.eDateInput.getInputElement().focus({preventScroll:!0})}shouldUseBrowserDatePicker(e){return e?.filterParams?.browserDatePicker??!0}},vb=["equals","notEqual","greaterThan","greaterThanOrEqual","lessThan","lessThanOrEqual","inRange","blank","notBlank"];function P5(e){const{allowedCharPattern:t}=e??{};return t??null}function M5(e){return e==null||isNaN(e)?null:e}function KD(e,t){const{filter:n,filterTo:o,type:i}=e||{};return[M5(n),M5(o)].slice(0,qh(i,t))}var Ete=class extends fb{constructor(){super("numberFilter",KD,vb),this.eValuesFrom=[],this.eValuesTo=[],this.filterType="number",this.defaultDebounceMs=500}setElementValue(e,t,n){const{numberFormatter:o}=this.params,i=!n&&o?o(t??null):t;super.setElementValue(e,i)}createEValue(){const e=P5(this.params),t=An({tag:"div",cls:"ag-filter-body",role:"presentation"});return this.createFromToElement(t,this.eValuesFrom,"from",e),this.createFromToElement(t,this.eValuesTo,"to",e),t}createFromToElement(e,t,n,o){const i=this.createManagedBean(o?new gc({allowedCharPattern:o}):new Z4);i.addCss(`ag-filter-${n}`),i.addCss("ag-filter-filter"),t.push(i),e.appendChild(i.getGui())}removeEValues(e,t){const n=o=>this.removeComponents(o,e,t);
94n(this.eValuesFrom),n(this.eValuesTo)}getValues(e){const t=[];return this.forEachPositionInput(e,(n,o,i,s)=>{o<s&&t.push(M5(this.stringToFloat(n.getValue())))}),t}areSimpleModelsEqual(e,t){return e.filter===t.filter&&e.filterTo===t.filterTo&&e.type===t.type}stringToFloat(e){if(typeof e=="number")return e;let t=fr(e);t!=null&&t.trim()===""&&(t=null);const n=this.params.numberParser;return n?n(t):t==null||t.trim()==="-"?null:Number.parseFloat(t)}createCondition(e){const t=this.getConditionType(e),n={filterType:this.filterType,type:t},o=this.getValues(e);return o.length>0&&(n.filter=o[0]),o.length>1&&(n.filterTo=o[1]),n}getInputs(e){const{eValuesFrom:t,eValuesTo:n}=this;return e>=t.length?[null,null]:[t[e],n[e]]}hasInvalidInputs(){let e=!1;return this.forEachInput(t=>{t.getInputElement().validity.valid||(e=!0)}),e}},qD=class extends mb{constructor(e,t){super(e,t,t.numberFormatter),this.filterTypeKeys=UD}conditionToString(e,t,n,o,i){const{filter:s,filterTo:r,type:a}=e,l=this.formatValue.bind(this);if(t){const c=this.conditionForToolPanel(a,n,()=>l(s),()=>l(r),o,i);if(c!=null)return c}return n?`${l(s)}-${l(r)}`:s!=null?l(s):`${a}`}},Tte=class extends zD{constructor(){super(KD,vb),this.filterType="number",this.FilterModelFormatterClass=qD}comparator(){return(e,t)=>e===t?0:e<t?1:-1}isValid(e){return!isNaN(e)}},YD=class extends we{constructor(e){super(),this.params=e,this.eInput=$e,this.onValueChanged=()=>{}}setupGui(e){this.eInput=this.createManagedBean(new gc(this.params?.config));const t=this.eInput.getGui();e.appendChild(t);const n=o=>this.onValueChanged(o);this.addManagedListeners(t,{input:n,keydown:n})}setEditable(e){this.eInput.setDisabled(!e)}getValue(){return this.eInput.getValue()}setValue(e,t){this.eInput.setValue(e,t)}setValueChangedListener(e){this.onValueChanged=e}setParams({ariaLabel:e,autoComplete:t}){const{eInput:n}=this;n.setInputAriaLabel(e),t!==void 0&&n.setAutoComplete(t)}};function L5(e){const t=e?.trim();return t===""?e:t}function XD(e,t){const{filter:n,filterTo:o,type:i}=e||{};return[n||null,o||null].slice(0,qh(i,t))}var Rte={tag:"div",ref:"eFloatingFilterInputContainer",cls:"ag-floating-filter-input",role:"presentation"},JD=class extends ZD{constructor(){super(...arguments),this.eFloatingFilterInputContainer=$e,this.defaultDebounceMs=500}postConstruct(){this.setTemplate(Rte)}onModelUpdated(e){this.setLastTypeFromModel(e),this.setEditable(this.canWeEditAfterModelFromParentFilter(e)),this.inputSvc.setValue(this.filterModelFormatter.getModelAsString(e))}setParams(e){this.setupFloatingFilterInputService(e),super.setParams(e),this.setTextInputParams(e)}setupFloatingFilterInputService(e){this.inputSvc=this.createFloatingFilterInputService(e),this.inputSvc.setupGui(this.eFloatingFilterInputContainer)}setTextInputParams(e){const t=e.browserAutoComplete??!1,{inputSvc:n,defaultDebounceMs:o,readOnly:i}=this;if(n.setParams({ariaLabel:this.getAriaLabel(e),autoComplete:t}),this.applyActive=h0(e.filterParams),!i){const s=Q4(e.filterParams,o),r=qn(this,this.syncUpWithParentFilter.bind(this),s);n.setValueChangedListener(r)}}updateParams(e){super.updateParams(e),this.setTextInputParams(e)}recreateFloatingFilterInputService(e){const{inputSvc:t}=this,n=t.getValue();Xn(this.eFloatingFilterInputContainer),this.destroyBean(t),this.setupFloatingFilterInputService(e),t.setValue(n,!0)}syncUpWithParentFilter(e){const t=e.key===he.ENTER,n=this.reactive;if(n&&this.params.onUiChange(),this.applyActive&&!t)return;const{inputSvc:o,params:i,lastType:s}=this;let r=o.getValue();if(i.filterParams.trimInput&&(r=L5(r),o.setValue(r,!0)),n){const a=i,l=a.model,c=this.convertValue(r),u=c==null?null:{...l??{filterType:this.filterType,type:s??this.optionsFactory.defaultOption},filter:c};a.onModelChange(u,{afterFloatingFilter:!0})}else i.parentFilterInstance(a=>{a?.onFloatingFilterChanged(s||null,r||null)})}convertValue(e){return e||null}setEditable(e){this.inputSvc.setEditable(e)}},Pte=class extends we{constructor(){super(...arguments),this.onValueChanged=()=>{},this.numberInputActive=!0}setupGui(e){this.eNumberInput=this.createManagedBean(new Z4),this.eTextInput=this.createManagedBean(new gc),this.eTextInput.setDisabled(!0);const t=this.eNumberInput.getGui(),n=this.eTextInput.getGui();e.appendChild(t),e.appendChild(n),this.setupListeners(t,o=>this.onValueChanged(o)),this.setupListeners(n,o=>this.onValueChanged(o))}setEditable(e){this.numberInputActive=e,this.eNumberInput.setDisplayed(this.numberInputActive),this.eTextInput.setDisplayed(!this.numberInputActive)}setAutoComplete(e){this.eNumberInput.setAutoComplete(e),this.eTextInput.setAutoComplete(e)}getValue(){return this.getActiveInputElement().getValue()}setValue(e,t){this.getActiveInputElement().setValue(e,t)}getActiveInputElement(){return this.numberInputActive?this.eNumberInput:this.eTextInput}setValueChangedListener(e){this.onValueChanged=e}
94setupListeners(e,t){this.addManagedListeners(e,{input:t,keydown:t})}setParams(e){this.setAriaLabel(e.ariaLabel),e.autoComplete!==void 0&&this.setAutoComplete(e.autoComplete)}setAriaLabel(e){this.eNumberInput.setInputAriaLabel(e),this.eTextInput.setInputAriaLabel(e)}},Mte=class extends JD{constructor(){super(...arguments),this.FilterModelFormatterClass=qD,this.filterType="number",this.defaultOptions=vb}updateParams(e){P5(e.filterParams)!==this.allowedCharPattern&&this.recreateFloatingFilterInputService(e),super.updateParams(e)}createFloatingFilterInputService(e){return this.allowedCharPattern=P5(e.filterParams),this.allowedCharPattern?this.createManagedBean(new YD({config:{allowedCharPattern:this.allowedCharPattern}})):this.createManagedBean(new Pte)}convertValue(e){return e?Number(e):null}},Cb=["contains","notContains","equals","notEqual","startsWith","endsWith","blank","notBlank"],Lte=class extends fb{constructor(){super("textFilter",XD,Cb),this.filterType="text",this.eValuesFrom=[],this.eValuesTo=[],this.defaultDebounceMs=500}createCondition(e){const t=this.getConditionType(e),n={filterType:this.filterType,type:t},o=this.getValues(e);return o.length>0&&(n.filter=o[0]),o.length>1&&(n.filterTo=o[1]),n}areSimpleModelsEqual(e,t){return e.filter===t.filter&&e.filterTo===t.filterTo&&e.type===t.type}getInputs(e){const{eValuesFrom:t,eValuesTo:n}=this;return e>=t.length?[null,null]:[t[e],n[e]]}getValues(e){const t=[];return this.forEachPositionInput(e,(n,o,i,s)=>{o<s&&t.push(fr(n.getValue()))}),t}createEValue(){const e=An({tag:"div",cls:"ag-filter-body",role:"presentation"}),{eValuesFrom:t,eValuesTo:n}=this;return this.createFromToElement(e,t,"from"),this.createFromToElement(e,n,"to"),e}createFromToElement(e,t,n){const o=this.createManagedBean(new gc);o.addCss(`ag-filter-${n}`),o.addCss("ag-filter-filter"),t.push(o),e.appendChild(o.getGui())}removeEValues(e,t){const n=s=>this.removeComponents(s,e,t),{eValuesFrom:o,eValuesTo:i}=this;n(o),n(i)}},QD=class extends mb{constructor(){super(...arguments),this.filterTypeKeys=mte}conditionToString(e,t,n,o,i){const{filter:s,filterTo:r,type:a}=e;if(t){const l=u=>()=>ba(this,"filterSummaryTextQuote",[u]),c=this.conditionForToolPanel(a,n,l(s),l(r),o,i);if(c!=null)return c}return n?`${s}-${r}`:s!=null?`${s}`:`${a}`}},xte=({filterOption:e,value:t,filterText:n})=>{if(n==null)return!1;switch(e){case"contains":return t.includes(n);case"notContains":return!t.includes(n);case"equals":return t===n;case"notEqual":return t!=n;case"startsWith":return t.indexOf(n)===0;case"endsWith":{const o=t.lastIndexOf(n);return o>=0&&o===t.length-n.length}default:return!1}},Dte=e=>e,kte=e=>e==null?null:e.toString().toLowerCase(),Ate=class extends GD{constructor(){super(XD,Cb),this.filterType="text",this.FilterModelFormatterClass=QD}updateParams(e){super.updateParams(e);const t=e.filterParams;this.matcher=t.textMatcher??xte,this.formatter=t.textFormatter??(t.caseSensitive?Dte:kte)}evaluateNullValue(e){return e?["notEqual","notContains","blank"].indexOf(e)>=0:!1}evaluateNonNullValue(e,t,n,o){const i=e.map(h=>this.formatter(h))||[],s=this.formatter(t),{api:r,colDef:a,column:l,context:c,filterParams:{textFormatter:u}}=this.params;if(n.type==="blank")return rm(t);if(n.type==="notBlank")return!rm(t);const d={api:r,colDef:a,column:l,context:c,node:o.node,data:o.data,filterOption:n.type,value:s,textFormatter:u};return i.some(h=>this.matcher({...d,filterText:h}))}processModelToApply(e){if(e&&this.params.filterParams.trimInput){const t=n=>{const o={...n},{filter:i,filterTo:s}=n;return i&&(o.filter=L5(i)??null),s&&(o.filterTo=L5(s)??null),o};return jx(e)?{...e,conditions:e.conditions.map(t)}:t(e)}return e}},_te=class extends JD{constructor(){super(...arguments),this.FilterModelFormatterClass=QD,this.filterType="text",this.defaultOptions=Cb}createFloatingFilterInputService(){return this.createManagedBean(new YD)}};function Ite(e){return!!e.quickFilter?.isFilterPresent()}function Fte(e){return e.quickFilter?.getText()}function Ote(e){e.quickFilter?.resetCache()}var Nte=class extends we{constructor(){super(...arguments),this.beanName="quickFilter",this.quickFilter=null,this.quickFilterParts=null}postConstruct(){const e=this.resetCache.bind(this),t=this.gos;this.addManagedEventListeners({columnPivotModeChanged:e,newColumnsLoaded:e,columnRowGroupChanged:e,columnVisible:()=>{t.get("includeHiddenColumnsInQuickFilter")||this.resetCache()}}),this.addManagedPropertyListener("quickFilterText",n=>this.setFilter(n.currentValue)),this.addManagedPropertyListeners(["includeHiddenColumnsInQuickFilter","applyQuickFilterBeforePivotOrAgg"],()=>this.onColumnConfigChanged()),this.quickFilter=this.parseFilter(t.get("quickFilterText")),this.parser=t.get("quickFilterParser"),this.matcher=t.get("quickFilterMatcher"),this.setFilterParts(),this.addManagedPropertyListeners(["quickFilterMatcher","quickFilterParser"],()=>this.setParserAndMatcher())}refreshCols(){const{autoColSvc:e,colModel:t,gos:n,pivotResultCols:o}=this.beans,i=t.isPivotMode(),s=e?.getColumns(),r=t.getColDefCols();let a=(i&&!n.get("applyQuickFilterBeforePivotOrAgg")?o?.getPivotResultCols()?.list:r)??[];s&&(a=a.concat(s)),this.colsToUse=n.get("includeHiddenColumnsInQuickFilter")?a:a.filter(l=>l.isVisible()||l.isRowGroupActive())}isFilterPresent(){return this.quickFilter!==null}doesRowPass(e){const t=this.gos.get("cacheQuickFilter");return this.matcher?this.doesRowPassMatcher(t,e):this.quickFilterParts.every(n=>t?this.doesRowPassCache(e,n):this.doesRowPassNoCache(e,n))}resetCache(){this.beans.rowModel.forEachNode(e=>e.quickFilterAggregateText=null)}getText(){return this.gos.get("quickFilterText")}setFilterParts(){const{quickFilter:e,parser:t}=this;e?this.quickFilterParts=t?t(e):e.split(" "):this.quickFilterParts=null}parseFilter(e){return Ge(e)?e.toUpperCase():null}setFilter(e){if(e!=null&&typeof e!="string"){Me(70,{newFilter:e});return}const t=this.parseFilter(e);this.quickFilter!==t&&(this.quickFilter=t,this.setFilterParts(),this.dispatchLocalEvent({type:"quickFilterChanged"}))}setParserAndMatcher(){const e=this.gos.get("quickFilterParser"),t=this.gos.get("quickFilterMatcher"),n=e!==this.parser||t!==this.matcher;this.parser=e,this.matcher=t,n&&(this.setFilterParts(),this.dispatchLocalEvent({type:"quickFilterChanged"}))}onColumnConfigChanged(){this.refreshCols(),this.resetCache(),this.isFilterPresent()&&this.dispatchLocalEvent({type:"quickFilterChanged"})}doesRowPassNoCache(e,t){return this.colsToUse.some(n=>{const o=this.getTextForColumn(n,e);return Ge(o)&&o.includes(t)})}doesRowPassCache(e,t){return this.checkGenerateAggText(e),e.quickFilterAggregateText.includes(t)}doesRowPassMatcher(e,t){let n;e?(this.checkGenerateAggText(t),n=t.quickFilterAggregateText):n=this.getAggText(t);const{quickFilterParts:o,matcher:i}=this;return i(o,n)}checkGenerateAggText(e){e.quickFilterAggregateText||(e.quickFilterAggregateText=this.getAggText(e))}getTextForColumn(e,t){let n=this.beans.filterValueSvc.getValue(e,t);const o=e.getColDef();if(o.getQuickFilterText){const i=st(this.gos,{value:n,node:t,data:t.data,column:e,colDef:o});n=o.getQuickFilterText(i)}return Ge(n)?n.toString().toUpperCase():null}getAggText(e){const t=[];for(const n of this.colsToUse){const o=this.getTextForColumn(n,e);
94Ge(o)&&t.push(o)}return t.join(`
95`)}},Bte={moduleName:"ClientSideRowModelFilter",version:We,rowModels:["clientSide"],beans:[Hee]},bb={moduleName:"FilterCore",version:We,beans:[ate],apiFunctions:{isAnyFilterPresent:ste,onFilterChanged:rte},css:[Uee],dependsOn:[Bte]},ek={moduleName:"FilterValue",version:We,beans:[cte]},v0={moduleName:"ColumnFilter",version:We,beans:[ite,lte],dynamicBeans:{headerFilterCellCtrl:Vee},icons:{filter:"filter",filterActive:"filter"},apiFunctions:{isColumnFilterPresent:jee,getColumnFilterInstance:Zee,destroyFilter:Kee,setFilterModel:qee,getFilterModel:Yee,getColumnFilterModel:Xee,setColumnFilterModel:Jee,showColumnFilter:Qee,hideColumnFilter:ete,getColumnFilterHandler:tte,doFilterAction:nte},dependsOn:[bb,m0,ek,Gee]},Hte={moduleName:"CustomFilter",version:We,userComponents:{agReadOnlyFloatingFilter:dte},dependsOn:[v0]},Vte={moduleName:"TextFilter",version:We,dependsOn:[v0],userComponents:{agTextColumnFilter:{classImp:Lte,params:{useForm:!0}},agTextColumnFloatingFilter:_te},dynamicBeans:{agTextColumnFilterHandler:Ate}},$te={moduleName:"NumberFilter",version:We,dependsOn:[v0],userComponents:{agNumberColumnFilter:{classImp:Ete,params:{useForm:!0}},agNumberColumnFloatingFilter:Mte},dynamicBeans:{agNumberColumnFilterHandler:Tte}},Wte={moduleName:"DateFilter",version:We,dependsOn:[v0],userComponents:{agDateColumnFilter:{classImp:gte,params:{useForm:!0}},agDateInput:Ste,agDateColumnFloatingFilter:yte},dynamicBeans:{agDateColumnFilterHandler:Cte}},Gte={moduleName:"QuickFilterCore",version:We,rowModels:["clientSide"],beans:[Nte],dependsOn:[bb,ek]},zte={moduleName:"QuickFilter",version:We,apiFunctions:{isQuickFilterPresent:Ite,getQuickFilter:Fte,resetQuickFilter:Ote},dependsOn:[Gte]},Ute={moduleName:"ExternalFilter",version:We,dependsOn:[bb]},jte=".ag-tooltip{background-color:var(--ag-tooltip-background-color);border:var(--ag-tooltip-border);border-radius:var(--ag-border-radius);color:var(--ag-tooltip-text-color);padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);position:absolute;white-space:normal;z-index:99999;&:where(.ag-cell-editor-tooltip){background-color:var(--ag-tooltip-error-background-color);border:var(--ag-tooltip-error-border);color:var(--ag-tooltip-error-text-color);font-weight:500}}.ag-tooltip-custom{position:absolute;z-index:99999}.ag-tooltip-custom:where(:not(.ag-tooltip-interactive)),.ag-tooltip:where(:not(.ag-tooltip-interactive)){pointer-events:none}.ag-tooltip-animate{transition:opacity 1s;&:where(.ag-tooltip-hiding){opacity:0}}",Sv=(e,t,n)=>{const{editModelSvc:o}=e,i=o?.getCellValidationModel()?.getCellValidation(t)?.errorMessages,s=o?.getRowValidationModel().getRowValidation(t)?.errorMessages,r=i||s;return r?.length?r.join(n("tooltipValidationErrorSeparator",". ")):void 0},Zte=class extends we{constructor(){super(...arguments),this.beanName="tooltipSvc"}setupHeaderTooltip(e,t,n,o){e&&t.destroyBean(e);const i=this.gos,s=wv(i),{column:r,eGui:a}=t,l=r.getColDef();!o&&s&&!l.headerComponent&&(o=g1(()=>a.querySelector(".ag-header-cell-text")));const c="header",d=this.beans.colNames.getDisplayNameForColumn(r,"header",!0),h=n??d,p={getGui:()=>a,getLocation:()=>c,getTooltipValue:()=>n??l?.headerTooltipValueGetter?.(st(i,{location:c,colDef:l,column:r,value:h,valueFormatted:d}))??l?.headerTooltip,shouldDisplayTooltip:o,getAdditionalParams:()=>({column:r,colDef:r.getColDef()})};let f=this.createTooltipFeature(p);return f&&(f=t.createBean(f),t.setRefreshFunction("tooltip",()=>f.refreshTooltip())),f}setupHeaderGroupTooltip(e,t,n,o){e&&t.destroyBean(e);const i=this.gos,s=wv(i),{column:r,eGui:a}=t,l=r.getColGroupDef();!o&&s&&!l?.headerGroupComponent&&(o=g1(()=>a.querySelector(".ag-header-group-text")));const c="headerGroup",d=this.beans.colNames.getDisplayNameForColumnGroup(r,"header"),h=n??d,p={getGui:()=>a,getLocation:()=>c,getTooltipValue:()=>n??l?.headerTooltipValueGetter?.(st(i,{location:c,colDef:l,column:r,value:h,valueFormatted:d}))??l?.headerTooltip,shouldDisplayTooltip:o,getAdditionalParams:()=>{const g={column:r};return l&&(g.colDef=l),g}},f=this.createTooltipFeature(p);return f&&t.createBean(f)}enableCellTooltipFeature(e,t,n){const{beans:o}=this,{gos:i,editSvc:s}=o,{column:r,rowNode:a}=e;let l="cell";const c=()=>{const p=!!!s?.isEditing(e)&&Sv(o,e,this.getLocaleTextFunc());
95if(p)return l="cellEditor",p;l="cell";const f=r.getColDef(),g=a.data;if(f.tooltipField&&Ge(g))return uh(g,f.tooltipField,r.isTooltipFieldContainsDots());const m=f.tooltipValueGetter;return m?m(st(i,{location:"cell",colDef:r.getColDef(),column:r,rowIndex:e.cellPosition.rowIndex,node:a,data:a.data,value:e.value,valueFormatted:e.valueFormatted})):null},u=wv(i);n||(u&&!e.isCellRenderer()?n=()=>{const h=!!s?.isEditing(e);if(!h&&Sv(o,e,this.getLocaleTextFunc()))return!0;if(!r.isTooltipEnabled())return!1;const g=g1(()=>{const m=e.eGui;return m.children.length===0?m:m.querySelector(".ag-cell-value")});return!h&&g()}:n=()=>!s?.isEditing(e));const d={getGui:()=>e.eGui,getLocation:()=>l,getTooltipValue:t!=null?()=>t:c,shouldDisplayTooltip:n,getAdditionalParams:()=>({column:r,colDef:r.getColDef(),rowIndex:e.cellPosition.rowIndex,node:a,data:a.data,valueFormatted:e.valueFormatted})};return this.createTooltipFeature(d,o)}setupFullWidthRowTooltip(e,t,n,o){const i={getGui:()=>t.getFullWidthElement(),getTooltipValue:()=>n,getLocation:()=>
vendor: 5,946 bytes, line 95
95"fullWidthRow",shouldDisplayTooltip:o},s=this.beans,r=s.context;e&&t.destroyBean(e,r);const a=this.createTooltipFeature(i,s);if(a)return t.createBean(a,r)}setupCellEditorTooltip(e,t){const{beans:n}=this,{context:o}=n,i=t.getValidationElement?.(!0)||!t.isPopup?.()&&e.eGui;if(!i)return;const s={getGui:()=>i,getTooltipValue:()=>Sv(n,e,this.getLocaleTextFunc()),getLocation:()=>"cellEditor",shouldDisplayTooltip:()=>{const{editModelSvc:a}=n,l=a?.getRowValidationModel()?.getRowValidationMap(),c=a?.getCellValidationModel()?.getCellValidationMap(),u=!!l&&l.size>0,d=!!c&&c.size>0;return u||d}},r=this.createTooltipFeature(s,n);if(r)return e.createBean(r,o)}initCol(e){const{colDef:t}=e;e.tooltipEnabled=Ge(t.tooltipField)||Ge(t.tooltipValueGetter)||Ge(t.tooltipComponent)}createTooltipFeature(e,t){return this.beans.registry.createDynamicBean("tooltipFeature",!1,e,t)}},Kte=class extends Cj{createTooltipComp(e,t){uU(this.beans.userCompFactory,e)?.newAgStackInstance().then(t)}setEventHandlers(e){[this.onColumnMovedEventCallback]=this.addManagedEventListeners({columnMoved:e})}clearEventHandlers(){this.onColumnMovedEventCallback?.(),this.onColumnMovedEventCallback=void 0}},tk={moduleName:"Tooltip",version:We,beans:[Zte],dynamicBeans:{tooltipFeature:Ox,highlightTooltipFeature:bj,tooltipStateManager:Kte},userComponents:{agTooltipComponent:Sj},dependsOn:[m0],css:[jte]},Vc=class{constructor(e){this.cellValueChanges=e}},Ev=class extends Vc{constructor(e,t,n,o){super(e),this.initialRange=t,this.finalRange=n,this.ranges=o}},qte=10,l9=class{constructor(e){this.actionStack=[],this.maxStackSize=e||qte,this.actionStack=new Array(this.maxStackSize)}pop(){return this.actionStack.pop()}push(e){e.cellValueChanges&&e.cellValueChanges.length>0&&(this.actionStack.length===this.maxStackSize&&this.actionStack.shift(),this.actionStack.push(e))}clear(){this.actionStack=[]}getCurrentStackSize(){return this.actionStack.length}},Yte=class extends we{constructor(){super(...arguments),this.beanName="undoRedo",this.cellValueChanges=[],this.activeCellEdit=null,this.activeRowEdit=null,this.isPasting=!1,this.isRangeInAction=!1,this.batchEditing=!1,this.bulkEditing=!1,this.onCellValueChanged=e=>{const t={column:e.column,rowIndex:e.rowIndex,rowPinned:e.rowPinned},n=this.activeCellEdit!==null&&hD(this.activeCellEdit,t),o=this.activeRowEdit!==null&&bq(this.activeRowEdit,t);if(!(n||o||this.isPasting||this.isRangeInAction))return;const{rowPinned:s,rowIndex:r,column:a,oldValue:l,value:c}=e,u={rowPinned:s,rowIndex:r,columnId:a.getColId(),newValue:c,oldValue:l};this.cellValueChanges.push(u)},this.clearStacks=()=>{this.undoStack.clear(),this.redoStack.clear()}}postConstruct(){const{gos:e,ctrlsSvc:t}=this.beans;if(!e.get("undoRedoCellEditing"))return;const n=e.get("undoRedoCellEditingLimit");if(n<=0)return;this.undoStack=new l9(n),this.redoStack=new l9(n),this.addListeners();const o=this.clearStacks.bind(this);this.addManagedEventListeners({cellValueChanged:this.onCellValueChanged.bind(this),modelUpdated:i=>{i.keepUndoRedoStack||this.clearStacks()},columnPivotModeChanged:o,newColumnsLoaded:o,columnGroupOpened:o,columnRowGroupChanged:o,columnMoved:o,columnPinned:o,columnVisible:o,rowDragEnd:o}),t.whenReady(this,i=>{this.gridBodyCtrl=i.gridBodyCtrl})}getCurrentUndoStackSize(){return this.undoStack?.getCurrentStackSize()??0}getCurrentRedoStackSize(){return this.redoStack?.getCurrentStackSize()??0}undo(e){const{eventSvc:t,undoStack:n,redoStack:o}=this;t.dispatchEvent({type:"undoStarted",source:e});const i=this.undoRedo(n,o,"initialRange","oldValue","undo");t.dispatchEvent({type:"undoEnded",source:e,operationPerformed:i})}redo(e){const{eventSvc:t,undoStack:n,redoStack:o}=this;t.dispatchEvent({type:"redoStarted",source:e});const i=this.undoRedo(o,n,"finalRange","newValue","redo");t.dispatchEvent({type:"redoEnded",source:e,operationPerformed:i})}undoRedo(e,t,n,o,i){if(!e)return!1;const s=e.pop();return s?.cellValueChanges?(this.processAction(s,r=>r[o],i),s instanceof Ev?this.processRange(s.ranges||[s[n]]):this.processCell(s.cellValueChanges),t.push(s),!0):!1}processAction(e,t,n){for(const o of e.cellValueChanges){const{rowIndex:i,rowPinned:s,columnId:r}=o,a={rowIndex:i,rowPinned:s},l=Pr(this.beans,a);l.displayed&&l.setDataValue(r,t(o),n)}}processRange(e){let t;const n=this.beans.rangeSvc;n.removeAllCellRanges(!0),e.forEach((o,i)=>{if(!o)return;const s=o.startRow,r=o.endRow;i===e.length-1&&(t={rowPinned:s.rowPinned,rowIndex:s.rowIndex,columnId:o.startColumn.getColId()},this.setLastFocusedCell(t));const a={rowStartIndex:s.rowIndex,rowStartPinned:s.rowPinned,rowEndIndex:r.rowIndex,rowEndPinned:r.rowPinned,columnStart:o.startColumn,columns:o.columns};n.addCellRange(a)})}processCell(e){const t=e[0],{rowIndex:n,rowPinned:o}=t,i={rowIndex:n,rowPinned:o},s=Pr(this.beans,i),r={rowPinned:t.rowPinned,rowIndex:s.rowIndex,columnId:t.columnId};this.setLastFocusedCell(r)}setLastFocusedCell(e){const{rowIndex:t,columnId:n,rowPinned:o}=e,{colModel:i,focusSvc:s,rangeSvc:r}=this.beans,a=i.getCol(n);if(!a)return;const{scrollFeature:l}=this.gridBodyCtrl;l.ensureIndexVisible(t),l.ensureColumnVisible(a);const c={rowIndex:t,column:a,rowPinned:o};s.setFocusedCell({...c,forceBrowserFocus:!0}),r?.setRangeToCell(c)}addListeners(){this.addManagedEventListeners({rowEditingStarted:e=>{this.activeRowEdit={rowIndex:e.rowIndex,rowPinned:e.rowPinned}},rowEditingStopped:()=>{const e=new Vc(this.cellValueChanges);this.pushActionsToUndoStack(e),this.activeRowEdit=null},cellEditingStarted:e=>{this.activeCellEdit={column:e.column,rowIndex:e.rowIndex,rowPinned:e.rowPinned}},cellEditingStopped:e=>{if(this.activeCellEdit=null,e.valueChanged&&!this.activeRowEdit&&!this.isPasting&&!this.isRangeInAction){const n=new Vc(this.cellValueChanges);this.pushActionsToUndoStack(n)}},pasteStart:()=>{this.isPasting=!0},pasteEnd:()=>{const e=new Vc(this.cellValueChanges);this.pushActionsToUndoStack(e),this.isPasting=!1},fillStart:()=>{this.isRangeInAction=!0}
vendor: 4,455 bytes, line 95
95,fillEnd:e=>{const t=new Ev(this.cellValueChanges,e.initialRange,e.finalRange);this.pushActionsToUndoStack(t),this.isRangeInAction=!1},keyShortcutChangedCellStart:()=>{this.isRangeInAction=!0},keyShortcutChangedCellEnd:()=>{let e;const{rangeSvc:t,gos:n}=this.beans;t&&Rr(n)?e=new Ev(this.cellValueChanges,void 0,void 0,[...t.getCellRanges()]):e=new Vc(this.cellValueChanges),this.pushActionsToUndoStack(e),this.isRangeInAction=!1},batchEditingStarted:()=>this.startBigChange("batchEditing"),batchEditingStopped:({changes:e})=>this.stopBigChange("batchEditing",e),bulkEditingStarted:()=>this.startBigChange("bulkEditing"),bulkEditingStopped:({changes:e})=>this.stopBigChange("bulkEditing",e)})}startBigChange(e){this.updateBigChange(e,!0)}updateBigChange(e,t){e==="bulkEditing"?this.bulkEditing=t:this.batchEditing=t}stopBigChange(e,t){if(e==="bulkEditing"&&!this.bulkEditing||e==="batchEditing"&&!this.batchEditing||(this.updateBigChange(e,!1),t?.length===0))return;const n=new Vc(t??[]);this.pushActionsToUndoStack(n),this.cellValueChanges=[]}pushActionsToUndoStack(e){this.undoStack.push(e),this.cellValueChanges=[],this.redoStack.clear()}},Xte=".ag-cell-inline-editing{border:var(--ag-cell-editing-border)!important;border-radius:var(--ag-border-radius);box-shadow:var(--ag-cell-editing-shadow);padding:0;z-index:1;.ag-cell-edit-wrapper,.ag-cell-editor,.ag-cell-wrapper,:where(.ag-cell-editor) .ag-input-field-input,:where(.ag-cell-editor) .ag-wrapper{height:100%;line-height:normal;min-height:100%;width:100%}&.ag-cell-editing-error{border-color:var(--ag-invalid-color)!important}}:where(.ag-popup-editor) .ag-large-text{background-color:var(--ag-background-color);border-radius:var(--ag-border-radius);box-shadow:var(--ag-dropdown-shadow);padding:0}.ag-large-text-input{display:block;height:auto;padding:var(--ag-cell-horizontal-padding)}:where(.ag-rtl .ag-large-text-input) textarea{resize:none}:where(.ag-ltr) .ag-checkbox-edit{padding-left:var(--ag-cell-horizontal-padding)}:where(.ag-rtl) .ag-checkbox-edit{padding-right:var(--ag-cell-horizontal-padding)}:where(.ag-row.ag-row-editing-invalid .ag-cell-inline-editing){opacity:.8}.ag-popup-editor{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}",Jte={tag:"div",cls:"ag-cell-wrapper ag-cell-edit-wrapper ag-checkbox-edit",children:[{tag:"ag-checkbox",ref:"eEditor",role:"presentation"}]},Qte=class extends f0{constructor(){super(Jte,[j4]),this.eEditor=$e}initialiseEditor(e){const t=e.value??void 0,n=this.eEditor;n.setValue(t),n.getInputElement().setAttribute("tabindex","-1"),this.setAriaLabel(t),this.addManagedListeners(n,{fieldValueChanged:i=>this.setAriaLabel(i.selected)})}getValue(){return this.eEditor.getValue()}focusIn(){this.eEditor.getFocusableElement().focus()}afterGuiAttached(){this.params.cellStartedEdit&&this.focusIn()}isPopup(){return!1}setAriaLabel(e){const t=this.getLocaleTextFunc(),n=l0(t,e),o=t("ariaToggleCellValue","Press SPACE to toggle cell value");this.eEditor.setInputAriaLabel(`${o} (${n})`)}getValidationElement(e){return e?this.params.eGridCell:this.eEditor.getInputElement()}getValidationErrors(){const{params:e}=this,{getValidationErrors:t}=e,n=this.getValue();return t?t({value:n,internalErrors:null,cellEditorParams:e}):null}},C0=class extends f0{constructor(e){super(),this.cellEditorInput=e,this.eEditor=$e}initialiseEditor(e){const{cellEditorInput:t}=this;this.setTemplate({tag:"div",cls:"ag-cell-edit-wrapper",children:[t.getTemplate()]},t.getAgComponents());const{eEditor:n}=this,{cellStartedEdit:o,eventKey:i,suppressPreventDefault:s}=e;n.getInputElement().setAttribute("title",""),t.init(n,e);let r,a=!0;o?(this.focusAfterAttached=!0,i===he.BACKSPACE||i===he.DELETE?r="":i&&i.length===1?s?a=!1:r=i:(r=t.getStartValue(),i!==he.F2&&(this.highlightAllOnFocus=!0))):(this.focusAfterAttached=!1,r=t.getStartValue()),a&&r!=null&&n.setStartValue(r),this.addGuiEventListener("keydown",l=>{const{key:c}=l;(c===he.PAGE_UP||c===he.PAGE_DOWN)&&l.preventDefault()})}afterGuiAttached(){const e=this.getLocaleTextFunc(),t=this.eEditor;if(t.setInputAriaLabel(e("ariaInputEditor","Input Editor")),!this.focusAfterAttached)return;Ua()||t.getFocusableElement().focus();const n=t.getInputElement();this.highlightAllOnFocus?n.select():this.cellEditorInput.setCaret?.()}focusIn(){const{eEditor:e}=this,t=e.getFocusableElement(),n=e.getInputElement();t.focus(),n.select()}getValue(){return this.cellEditorInput.getValue()}isPopup(){return!1}
95getValidationElement(){return this.eEditor.getInputElement()}getValidationErrors(){return this.cellEditorInput.getValidationErrors()}},ene={tag:"ag-input-date-field",ref:"eEditor",cls:"ag-cell-editor"},tne=class{constructor(e,t){this.getDataTypeService=e,this.getLocaleTextFunc=t}getTemplate(){return ene}getAgComponents(){return[Mx]}init(e,t){this.eEditor=e,this.params=t;const{min:n,max:o,step:i,colDef:s}=t;n!=null&&e.setMin(n),o!=null&&e.setMax(o),i!=null&&e.setStep(i),this.includeTime=t.includeTime??this.getDataTypeService()?.getDateIncludesTimeFlag?.(s.cellDataType),this.includeTime!=null&&e.setIncludeTime(this.includeTime)}getValidationErrors(){const t=this.eEditor.getInputElement().valueAsDate,{params:n}=this,{min:o,max:i,getValidationErrors:s}=n;let r=[];const a=this.getLocaleTextFunc();if(t instanceof Date&&!isNaN(t.getTime())){if(o){const l=o instanceof Date?o:new Date(o);if(t<l){const c=l.toLocaleDateString();r.push(a("minDateValidation",`Date must be after ${c}`,[c]))}}if(i){const l=i instanceof Date?i:new Date(i);if(t>l){const c=l.toLocaleDateString();r.push(a("maxDateValidation",`Date must be before ${c}`,[c]))}}}return r.length||(r=null),s?s({value:t,cellEditorParams:n,internalErrors:r}):r}getValue(){const{eEditor:e,params:t}=this,n=e.getDate();return!Ge(n)&&!Ge(t.value)?t.value:n??null}getStartValue(){const{value:e}=this.params;if(e instanceof Date)return Qo(e,this.includeTime??!1)}},nne=class extends C0{constructor(){super(new tne(()=>this.beans.dataTypeSvc,()=>this.getLocaleTextFunc()))}},one={tag:"ag-input-date-field",ref:"eEditor",cls:"ag-cell-editor"},ine=class{constructor(e,t){this.getDataTypeService=e,this.getLocaleTextFunc=t}getTemplate(){return one}getAgComponents(){return[Mx]}init(e,t){this.eEditor=e,this.params=t;const{min:n,max:o,step:i,colDef:s}=t;n!=null&&e.setMin(n),o!=null&&e.setMax(o),i!=null&&e.setStep(i),this.includeTime=t.includeTime??this.getDataTypeService()?.getDateIncludesTimeFlag?.(s.cellDataType),this.includeTime!=null&&e.setIncludeTime(this.includeTime)}getValidationErrors(){const{eEditor:e,params:t}=this,n=e.getInputElement().value,o=this.formatDate(this.parseDate(n??void 0)),{min:i,max:s,getValidationErrors:r}=t;let a=[];if(o){const l=new Date(o),c=this.getLocaleTextFunc();if(i){const u=new Date(i);if(l<u){const d=u.toLocaleDateString();a.push(c("minDateValidation",`Date must be after ${d}`,[d]))}}if(s){const u=new Date(s);if(l>u){const d=u.toLocaleDateString();a.push(c("maxDateValidation",`Date must be before ${d}`,[d]))}}}return a.length||(a=null),r?r({value:this.getValue(),cellEditorParams:t,internalErrors:a}):a}getValue(){const{params:e,eEditor:t}=this,n=this.formatDate(t.getDate());return!Ge(n)&&!Ge(e.value)?e.value:e.parseValue(n??"")}getStartValue(){return Qo(this.parseDate(this.params.value??void 0)??null,this.includeTime??!1)}parseDate(e){const t=this.getDataTypeService();return t?t.getDateParserFunction(this.params.column)(e):Ho(e)??void 0}formatDate(e){const t=this.getDataTypeService();return t?t.getDateFormatterFunction(this.params.column)(e):Qo(e??null,this.includeTime??!1)??void 0}},sne=class extends C0{constructor(){super(new ine(()=>this.beans.dataTypeSvc,()=>this.getLocaleTextFunc()))}},rne={tag:"div",cls:"ag-large-text",children:[{tag:"ag-input-text-area",ref:"eEditor",cls:"ag-large-text-input"}]},ane=class extends f0{constructor(){super(rne,[LU]),this.eEditor=$e}initialiseEditor(e){const{eEditor:t}=this,{cellStartedEdit:n,eventKey:o,maxLength:i,cols:s,rows:r}=e;this.focusAfterAttached=n,t.getInputElement().setAttribute("title",""),t.setMaxLength(i||200).setCols(s||60).setRows(r||10);let a;n?(this.focusAfterAttached=!0,o===he.BACKSPACE||o===he.DELETE?a="":o&&o.length===1?a=o:(a=this.getStartValue(e),o!==he.F2&&(this.highlightAllOnFocus=!0))):(this.focusAfterAttached=!1,a=this.getStartValue(e)),a!=null&&t.setValue(a,!0),this.addGuiEventListener("keydown",this.onKeyDown.bind(this)),this.activateTabIndex()}getStartValue(e){const{value:t}=e;return t?.toString()??t}onKeyDown(e){const t=e.key;(t===he.LEFT||t===he.UP||t===he.RIGHT||t===he.DOWN||e.shiftKey&&t===he.ENTER)&&e.stopPropagation()}afterGuiAttached(){const{eEditor:e,focusAfterAttached:t,highlightAllOnFocus:n}=this,o=this.getLocaleTextFunc();e.setInputAriaLabel(o("ariaInputEditor","Input Editor")),t&&(e.getFocusableElement().focus(),n&&e.getInputElement().select())}getValue(){const{eEditor:e,params:t}=this,{value:n}=t,o=e.getValue();return!Ge(o)&&!Ge(n)?n:t.parseValue(o)}
95getValidationElement(){return this.eEditor.getInputElement()}getValidationErrors(){const{params:e}=this,{maxLength:t,getValidationErrors:n}=e,o=this.getLocaleTextFunc(),i=this.getValue();let s=[];return typeof i=="string"&&t!=null&&i.length>t&&s.push(o("maxLengthValidation",`Must be ${t} characters or fewer.`,[String(t)])),s.length||(s=null),n?n({value:i,internalErrors:s,cellEditorParams:e}):s}},lne={tag:"ag-input-number-field",ref:"eEditor",cls:"ag-cell-editor"},cne=class{constructor(e){this.getLocaleTextFunc=e}getTemplate(){return lne}getAgComponents(){return[xU]}init(e,t){this.eEditor=e,this.params=t;const{max:n,min:o,precision:i,step:s}=t;n!=null&&e.setMax(n),o!=null&&e.setMin(o),i!=null&&e.setPrecision(i),s!=null&&e.setStep(s);const r=e.getInputElement();t.preventStepping?e.addManagedElementListeners(r,{keydown:this.preventStepping}):t.showStepperButtons&&r.classList.add("ag-number-field-input-stepper")}getValidationErrors(){const{params:e}=this,{min:t,max:n,getValidationErrors:o}=e,s=this.eEditor.getInputElement().valueAsNumber,r=this.getLocaleTextFunc();let a=[];return typeof s=="number"&&(t!=null&&s<t&&a.push(r("minValueValidation",`Must be greater than or equal to ${t}.`,[String(t)])),n!=null&&s>n&&a.push(r("maxValueValidation",`Must be less than or equal to ${n}.`,[String(n)]))),a.length||(a=null),o?o({value:s,cellEditorParams:e,internalErrors:a}):a}preventStepping(e){(e.key===he.UP||e.key===he.DOWN)&&e.preventDefault()}getValue(){const{eEditor:e,params:t}=this,n=e.getValue();if(!Ge(n)&&!Ge(t.value))return t.value;let o=t.parseValue(n);if(o==null)return o;if(typeof o=="string"){if(o==="")return null;o=Number(o)}return isNaN(o)?null:o}getStartValue(){return this.params.value}setCaret(){Ua()&&this.eEditor.getInputElement().focus({preventScroll:!0})}},une=class extends C0{constructor(){super(new cne(()=>this.getLocaleTextFunc()))}},dne={tag:"div",cls:"ag-cell-edit-wrapper",children:[{tag:"ag-select",ref:"eEditor",cls:"ag-cell-editor"}]},hne=class extends f0{constructor(){super(dne,[VU]),this.eEditor=$e,this.startedByEnter=!1}wireBeans(e){this.valueSvc=e.valueSvc}initialiseEditor(e){this.focusAfterAttached=e.cellStartedEdit;const{eEditor:t,valueSvc:n,gos:o}=this,{values:i,value:s,eventKey:r}=e;if(pn(i)){Me(58);return}this.startedByEnter=r!=null?r===he.ENTER:!1;let a=!1;i.forEach(d=>{const h={value:d},p=n.formatValue(e.column,null,d),f=p!=null;h.text=f?p:d,t.addOption(h),a=a||s===d}),a?t.setValue(e.value,!0):e.values.length&&t.setValue(e.values[0],!0);const{valueListGap:l,valueListMaxWidth:c,valueListMaxHeight:u}=e;l!=null&&t.setPickerGap(l),u!=null&&t.setPickerMaxHeight(u),c!=null&&t.setPickerMaxWidth(c),o.get("editType")!=="fullRow"&&this.addManagedListeners(this.eEditor,{selectedItem:()=>e.stopEditing()})}afterGuiAttached(){this.focusAfterAttached&&this.eEditor.getFocusableElement().focus(),this.startedByEnter&&setTimeout(()=>{this.isAlive()&&this.eEditor.showPicker()})}focusIn(){this.eEditor.getFocusableElement().focus()}getValue(){return this.eEditor.getValue()}isPopup(){return!1}getValidationElement(){return this.eEditor.getAriaElement()}getValidationErrors(){const{params:e}=this,{values:t,getValidationErrors:n}=e,o=this.getValue();let i=[];if(t&&!t.includes(o)){const s=this.getLocaleTextFunc();i.push(s("invalidSelectionValidation","Invalid selection."))}else i=null;return n?n({value:o,internalErrors:i,cellEditorParams:e}):i}},pne={tag:"ag-input-text-field",ref:"eEditor",cls:"ag-cell-editor"},fne=class{constructor(e){this.getLocaleTextFunc=e}getTemplate(){return pne}getAgComponents(){return[u0]}init(e,t){this.eEditor=e,this.params=t;const n=t.maxLength;n!=null&&e.setMaxLength(n)}getValidationErrors(){const{params:e}=this,{maxLength:t,getValidationErrors:n}=e,o=this.getValue(),i=this.getLocaleTextFunc();let s=[];return t!=null&&typeof o=="string"&&o.length>t&&s.push(i("maxLengthValidation",`Must be ${t} characters or fewer.`,[String(t)])),s.length||(s=null),n?n({value:o,cellEditorParams:e,internalErrors:s}):s}getValue(){const{eEditor:e,params:t}=this,n=e.getValue();return!Ge(n)&&!Ge(t.value)?t.value:t.parseValue(n)}getStartValue(){const e=this.params;return e.useFormatter||e.column.getColDef().refData?e.formatValue(e.value):e.value}
95setCaret(){Ua()&&this.eEditor.getInputElement().focus({preventScroll:!0});const e=this.eEditor,t=e.getValue(),n=Ge(t)&&t.length||0;n&&e.getInputElement().setSelectionRange(n,n)}},c9=class extends C0{constructor(){super(new fne(()=>this.getLocaleTextFunc()))}};function gne(e){return e.ctrlsSvc.getScrollFeature().getVScrollPosition()}function mne(e){return e.ctrlsSvc.getScrollFeature().getHScrollPosition()}function nk(e,t,n="auto"){e.frameworkOverrides.wrapIncoming(()=>e.ctrlsSvc.getScrollFeature().ensureColumnVisible(t,n),"ensureVisible")}function ok(e,t,n){e.frameworkOverrides.wrapIncoming(()=>e.ctrlsSvc.getScrollFeature().ensureIndexVisible(t,n),"ensureVisible")}function vne(e,t,n=null){e.frameworkOverrides.wrapIncoming(()=>e.ctrlsSvc.getScrollFeature().ensureNodeVisible(t,n),"ensureVisible")}function Cne(e){e.undoRedo?.undo("api")}function bne(e){e.undoRedo?.redo("api")}function yne(e,t){return e.editModelSvc?.getEditRowDataValue(t,{checkSiblings:!0})}function wne(e){const t=e.editModelSvc?.getEditMap(),n=[];return t?.forEach((o,i)=>{const{rowIndex:s,rowPinned:r}=i;o.forEach((a,l)=>{const{editorValue:c,pendingValue:u,sourceValue:d,state:h}=a,p=ur(a);let f=c??u;f===Ri&&(f=void 0);const g={newValue:f,oldValue:d,state:h,column:l,colId:l.getColId(),colKey:l.getColId(),rowIndex:s,rowPinned:r};(h==="editing"||h==="changed"&&p)&&n.push(g)})}),n}function Sne(e,t=!1){const{editSvc:n}=e;if(n?.isBatchEditing()){if(t)for(const o of e.editModelSvc?.getEditPositions()??[])o.state==="editing"&&n.revertSingleCellEdit(o);else Cl(e,{persist:!0});mu(e,void 0,{cancel:t})}else n?.stopEditing(void 0,{cancel:t,source:"edit",forceStop:!t,forceCancel:t})}function Ene(e,t){const n=mn(e,t);return e.editSvc?.isEditing(n)??!1}function Tne(e,t){const{key:n,colKey:o,rowIndex:i,rowPinned:s}=t,{editSvc:r,colModel:a}=e,l=a.getCol(o);if(!l){Me(12,{colKey:o});return}const u=Pr(e,{rowIndex:i,rowPinned:s||null});if(!u){Me(290,{rowIndex:i,rowPinned:s});return}if(!l.isCellEditable(u))return;s==null&&ok(e,i),nk(e,o),r?.startEditing({rowNode:u,column:l},{event:n?new KeyboardEvent("keydown",{key:n}):void 0,source:"api"})}function Rne(e){return e.editSvc?.validateEdit()||null}function Pne(e){return e.undoRedo?.getCurrentUndoStackSize()??0}function Mne(e){return e.undoRedo?.getCurrentRedoStackSize()??0}var Lne={tag:"div",cls:"ag-popup-editor",attrs:{tabindex:"-1"}},xne=class extends G4{constructor(e){super(Lne),this.params=e}postConstruct(){ql(this.gos,this.getGui(),"popupEditorWrapper",!0),this.addKeyDownListener()}addKeyDownListener(){const e=this.getGui(),t=this.params,n=o=>{g5(this.gos,o,t.node,t.column,!0)||t.onKeyDown(o)};this.addManagedElementListeners(e,{keydown:n})}};function Dne(e,{column:t},n,o,i="ui"){if(n instanceof KeyboardEvent&&(n.key===he.TAB||n.key===he.ENTER||n.key===he.F2||n.key===he.BACKSPACE&&o))return!0;if(n?.shiftKey&&e.rangeSvc?.getCellRanges().length!=0)return!1;const r=t?.getColDef(),a=kne(e.gos,r),l=n?.type;return l==="click"&&n?.detail===1&&a===1||l==="dblclick"&&n?.detail===2&&a===2?!0:i==="api"?o??!1:!1}function kne(e,t){return e.get("suppressClickEdit")===!0?0:e.get("singleClickEdit")===!0||t?.singleClickEdit?1:2}function x5(e,{rowNode:t,column:n},o="ui"){const i=n.getColDef().editable,s=e.editModelSvc;return n.isColumnFunc(t,i)||!!s&&s.hasEdits({rowNode:t,column:n},{withOpenEditor:!0})}function Ane(e,t,n="ui"){const o=x5(e,t,n);return o===!0||n==="ui"?o:e.colModel.getCols().some(s=>x5(e,{rowNode:t.rowNode,column:s},n))}var am=(e,t=!1)=>{if(e!==void 0)return ur(e)||t&&e.state==="editing"};function ik(e,t,n=!1){return am(e.editModelSvc?.getEdit(t),n)}var sk=(e,t,n)=>{if(e)for(let o=0,i=e.length;o<i;++o){const s=e[o];if(s.data&&(am(t?.getEdit({rowNode:s,column:n}))||am(t?.getEdit({rowNode:s.pinnedSibling,column:n})))||sk(s.childrenAfterGroup,t,n))return!0}};function rk(e,t){const{column:n,rowNode:o}=t;return e.gos.get("groupTotalRow")&&!o?.footer?!1:sk(o?.childrenAfterGroup,e.editModelSvc,n)}function ak(e,{rowNode:t,column:n}){if(t=t.pinnedSibling,!!t)return am(e.editModelSvc?.getEdit({rowNode:t,column:n}))}var _ne=class extends we{constructor(e,t){super(),this.cellCtrl=e,this.beans=t,this.editSvc=t.editSvc,this.editModelSvc=t.editModelSvc}setComp(e){this.cellComp=e,this.applyCellStyles()}applyCellStyles(){const{cellCtrl:e,editSvc:t,beans:n}=this;if(t?.isBatchEditing()&&t.isEditing()){const i=ik(n,e)||rk(n,e)||ak(n,e);this.applyBatchingStyle(i)}else this.applyBatchingStyle(!1);const o=!!this.editModelSvc?.getCellValidationModel().hasCellValidation(this.cellCtrl);this.cellComp.toggleCss("ag-cell-editing-error",o)}
95applyBatchingStyle(e){this.cellComp.toggleCss("ag-cell-editing",e??!1),this.cellComp.toggleCss("ag-cell-batch-edit",(e&&this.editSvc?.isBatchEditing())??!1)}},Ine=class extends we{constructor(e,t){super(),this.rowCtrl=e,this.beans=t,this.gos=t.gos,this.editSvc=t.editSvc,this.editModelSvc=t.editModelSvc}applyRowStyles(){const{rowCtrl:e,editModelSvc:t,beans:n}=this;let o=e.rowNode,i=t?.getEditRow(o);const s=this.editModelSvc?.getRowValidationModel().hasRowValidation({rowNode:o});if(!i&&o.pinnedSibling&&(o=o.pinnedSibling,i=t?.getEditRow(o)),i){const r=Array.from(i.keys()).some(a=>{const l={rowNode:o,column:a};return ik(n,l,!0)||rk(n,l)||ak(n,l)});this.applyStyle(s,r);return}this.applyStyle(s)}applyStyle(e=!1,t=!1){const n=this.editSvc?.isBatchEditing()??!1,o=this.gos.get("editType")==="fullRow";this.rowCtrl?.forEachGui(void 0,({rowComp:i})=>{i.toggleCss("ag-row-editing",o&&t),i.toggleCss("ag-row-batch-edit",o&&t&&n),i.toggleCss("ag-row-inline-editing",t),i.toggleCss("ag-row-not-inline-editing",!t),i.toggleCss("ag-row-editing-invalid",o&&t&&e)})}},Fne=({rowModel:e,pinnedRowModel:t,editModelSvc:n},o)=>{const i=new Set;e.forEachNode(s=>o.has(s)&&i.add(s)),t?.forEachPinnedRow("top",s=>o.has(s)&&i.add(s)),t?.forEachPinnedRow("bottom",s=>o.has(s)&&i.add(s));for(const s of o)i.has(s)||n.removeEdits({rowNode:s});return i},One=({editModelSvc:e},t,n)=>{for(const o of t)e?.getEditRow(o)?.forEach((i,s)=>!n.has(s)&&e.removeEdits({rowNode:o,column:s}))},Nne=e=>()=>{const t=new Set(e.colModel.getCols()),n=e.editModelSvc.getEditMap(!0),o=new Set(n.keys());One(e,Fne(e,o),t)},Bne=new Set(["undo","redo","paste","bulk","rangeSvc"]),Hne=new Set(["ui","api"]),lk={paste:"api",rangeSvc:"api",fillHandle:"api",cellClear:"api",bulk:"api"},Vne=new Set(Object.keys(lk)),$ne=new Set(["paste","rangeSvc","renderer","cellClear","redo","undo"]),Nf={cancel:!0,source:"api"},Wne={cancel:!1,source:"api"},Pc={checkSiblings:!0},Ad={force:!0,suppressFlash:!0},Gne=class extends we{constructor(){super(...arguments),this.beanName="editSvc",this.batch=!1,this.stopping=!1,this.committing=!1}postConstruct(){const{beans:e}=this;this.model=e.editModelSvc,this.valueSvc=e.valueSvc,this.rangeSvc=e.rangeSvc,this.addManagedPropertyListener("editType",({currentValue:o})=>{this.stopEditing(void 0,Nf),this.createStrategy(o)});const t=Nne(e),n=()=>{const o=this.model.getCellValidationModel().getCellValidationMap().size>0,i=this.model.getRowValidationModel().getRowValidationMap().size>0;return o||i?this.stopEditing(void 0,Nf):this.isEditing()&&(this.isBatchEditing()?mu(e,this.model.getEditPositions()):this.stopEditing(void 0,Wne)),!1};this.addManagedEventListeners({columnPinned:t,columnVisible:t,columnRowGroupChanged:t,rowExpansionStateChanged:t,pinnedRowsChanged:t,displayedRowsChanged:t,sortChanged:n,filterChanged:n,cellFocused:this.onCellFocused.bind(this)})}isBatchEditing(){return this.batch}setBatchEditing(e){e?(this.batch=!0,this.stopEditing(void 0,Nf)):(this.stopEditing(void 0,Nf),this.batch=!1)}createStrategy(e){const{beans:t,gos:n,strategy:o}=this,i=u9(n,e);if(o){if(o.beanName===i)return o;this.destroyStrategy()}return this.strategy=this.createOptionalManagedBean(t.registry.createDynamicBean(i,!0))}destroyStrategy(){this.strategy&&(this.strategy.destroy(),this.strategy=this.destroyBean(this.strategy))}shouldStartEditing(e,t,n,o="ui"){const i=Dne(this.beans,e,t,n,o);return i&&(this.strategy??(this.strategy=this.createStrategy())),i}shouldStopEditing(e,t,n="ui"){return this.strategy?.shouldStop(e,t,n)??null}shouldCancelEditing(e,t,n="ui"){return this.strategy?.shouldCancel(e,t,n)??null}validateEdit(){return sQ(this.beans)}isEditing(e,t){return this.model.hasEdits(e,t??Pc)}isRowEditing(e,t){return(e&&this.model.hasRowEdits(e,t))??!1}startEditing(e,t){const{startedEdit:n=!0,event:o=null,source:i="ui",ignoreEventKey:s=!1,silent:r}=t;if(this.strategy??(this.strategy=this.createStrategy()),!this.isCellEditable(e,"api"))return;const a=mn(this.beans,e);if(a&&!a.comp){a.onCompAttachedFuncs.push(()=>this.startEditing(e,t));return}const l=this.shouldStartEditing(e,o,n,i);if(l===!1&&i!=="api"){this.isEditing(e)&&this.stopEditing();return}!this.batch&&this.shouldStopEditing(e,void 0,i)&&!t.continueEditing&&this.stopEditing(void 0,{source:i}),l&&this.isBatchEditing()&&this.dispatchBatchEvent("batchEditingStarted",new Map),this.strategy.start({position:e,event:o,source:i,ignoreEventKey:s,startedEdit:n,silent:r})}stopEditing(e,t){const{event:n,cancel:o,source:i="ui",forceCancel:s,forceStop:r}=t||{},{beans:a,model:l}=this;if(Vne.has(i)&&this.isBatchEditing())return this.bulkRefresh(e),!1;const c=this.committing?lk[i]:i;if(!(this.committing||this.isEditing(e)||this.isBatchEditing()&&l.hasEdits(e,Pc))||!this.strategy||this.stopping)return!1;this.stopping=!0;const d=mn(a,e);d&&(d.onEditorAttachedFuncs=[]);let h=l.getEditMap(!0),p=!1;const f=!o&&(!!this.shouldStopEditing(e,n,c)||this.committing&&!this.batch)||
vendor: 5,134 bytes, line 95
95(r??!1),g=o&&!!this.shouldCancelEditing(e,n,c)||(s??!1);if(f||g){Cl(a,{persist:!0,isCancelling:g||o,isStopping:f});const m=l.getEditMap(),v=this.processEdits(m,o,i);this.strategy?.stop(o,n);for(const y of v)l.clearEditValue(y);this.bulkRefresh(void 0,h);for(const y of l.getEditPositions(m)){const b=mn(a,y),w=ur(y);b?.refreshCell({force:!0,suppressFlash:!w})}h=m,p||(p=f)}else if(n instanceof KeyboardEvent&&this.batch&&this.strategy?.midBatchInputsAllowed(e)&&this.isEditing(e,{withOpenEditor:!0})){const{key:m}=n,v=m===he.ENTER,y=m===he.ESCAPE,b=m===he.TAB;(v||b||y)&&(v||b?Cl(a,{persist:!0}):y&&this.revertSingleCellEdit(d),this.isBatchEditing()?this.strategy?.cleanupEditors():mu(a,l.getEditPositions(),{event:n,cancel:y}),n.preventDefault(),this.bulkRefresh(e,h,{suppressFlash:!0}),h=l.getEditMap())}else Cl(a,{persist:!0}),h=l.getEditMap();return p&&e&&this.model.removeEdits(e),this.navigateAfterEdit(t,d?.cellPosition),E5(a),this.model.hasEdits()||(this.model.getCellValidationModel().clearCellValidationMap(),this.model.getRowValidationModel().clearRowValidationMap()),this.bulkRefresh(),g&&this.beans.rowRenderer.refreshRows({rowNodes:Array.from(h.keys())}),this.isBatchEditing()&&(this.beans.rowRenderer.refreshRows({suppressFlash:!0,force:!0}),p&&f&&this.dispatchBatchEvent("batchEditingStopped",h)),this.stopping=!1,p}navigateAfterEdit(e,t){if(!e||!t)return;const{event:n,suppressNavigateAfterEdit:o}=e;if(!(n instanceof KeyboardEvent)||o)return;const{key:s,shiftKey:r}=n,a=this.gos.get("enterNavigatesVerticallyAfterEdit");if(s!==he.ENTER||!a)return;const l=r?he.UP:he.DOWN;this.beans.navigation?.navigateToNextCell(null,l,t,!1)}processEdits(e,t=!1,n){const o=Array.from(e.keys()),i=this.model.getCellValidationModel().getCellValidationMap().size>0||this.model.getRowValidationModel().getRowValidationMap().size>0,s=[];for(const r of o){const a=e.get(r);for(const l of a.keys()){const c=a.get(l),u={rowNode:r,column:l},d=ur(c);!t&&d&&!i&&(this.setNodeDataValue(r,l,c.pendingValue,void 0,n)||s.push(u))}}return s}setNodeDataValue(e,t,n,o,i="edit"){const{beans:s}=this,r=mn(s,{rowNode:e,column:t}),a=Hne.has(i)?"edit":i;r&&(r.suppressRefreshCell=!0),this.commitNextEdit();const l=e.setDataValue(t,n,a);return r&&(r.suppressRefreshCell=!1),o&&r?.refreshCell(Ad),l}setEditMap(e,t){this.strategy??(this.strategy=this.createStrategy()),this.strategy?.setEditMap(e,t),this.bulkRefresh();let n=Ad;t?.forceRefreshOfEditCellsOnly&&(n={...zne(e),...Ad}),this.beans.rowRenderer.refreshCells(n)}dispatchEditValuesChanged({rowNode:e,column:t},n={}){if(!e||!t||!n)return;const{pendingValue:o,sourceValue:i}=n,{rowIndex:s,rowPinned:r,data:a}=e;this.beans.eventSvc.dispatchEvent({type:"cellEditValuesChanged",node:e,rowIndex:s,rowPinned:r,column:t,source:"api",data:a,newValue:o,oldValue:i,value:o,colDef:t.getColDef()})}bulkRefresh(e={},t,n={}){const{beans:o,gos:i}=this,{editModelSvc:s,rowModel:r}=o;kn(i)&&(e.rowNode&&e.column?this.refCell(e,this.model.getEdit(e),n):t&&s?.getEditMap(!1)?.forEach((a,l)=>{for(const c of a.keys())this.refCell({rowNode:l,column:c},a.get(c),n)}))}refCell({rowNode:e,column:t},n,o={}){const{beans:i,gos:s}=this,r=new Set([e]),a=new Set,l=e.pinnedSibling;l&&r.add(l);const c=e.sibling;c&&a.add(c);let u=e.parent;for(;u;)u.sibling?.footer&&s.get("groupTotalRow")||!u.parent&&u.sibling&&s.get("grandTotalRow")?a.add(u.sibling):a.add(u),u=u.parent;for(const d of r)this.dispatchEditValuesChanged({rowNode:d,column:t},n);for(const d of r)mn(i,{rowNode:d,column:t})?.refreshCell(o);for(const d of a)mn(i,{rowNode:d,column:t})?.refreshCell(o)}stopAllEditing(e=!1,t="ui"){this.isEditing()&&this.stopEditing(void 0,{cancel:e,source:t})}isCellEditable(e,t="ui"){const{rowNode:n}=e,{gos:o,beans:i}=this;if(n.group){if(o.get("treeData")){if(!n.data&&!o.get("enableGroupEdit"))return!1}else if(!o.get("enableGroupEdit"))return!1}const s=u9(o)==="fullRow"?Ane(i,e,t):x5(i,e,t);return s&&(this.strategy??(this.strategy=this.createStrategy())),s}cellEditingInvalidCommitBlocks(){return this.gos.get("invalidEditValueMode")==="block"}checkNavWithValidation(e,t,n=!0){if(this.hasValidationErrors(e)){const o=mn(this.beans,e);return this.cellEditingInvalidCommitBlocks()?(t?.preventDefault?.(),n&&(!o?.hasBrowserFocus()&&o?.focusCell(),o?.comp?.getCellEditor()?.focusIn?.()),"block-stop"):(o&&this.revertSingleCellEdit(o),"revert-continue")}return"continue"}revertSingleCellEdit(e,t=!1){const n=mn(this.beans,e);n?.comp?.getCellEditor()&&(mu(this.beans,[e],{silent:!0}),this.model.clearEditValue(e),Au(this.beans,e,{silent:!0}),Jl(this.beans),n?.refreshCell(Ad),t&&(n?.focusCell(),n?.comp?.getCellEditor()?.focusIn?.()))}hasValidationErrors(e){Jl(this.beans);const t=mn(this.beans,e);t&&(t.refreshCell(Ad),t.rowCtrl.rowEditStyleFeature?.applyRowStyles());let n=!1;return e?.rowNode?(n||(n=this.model.getRowValidationModel().hasRowValidation({rowNode:e.rowNode})),e.column&&(n||(n=this.model.getCellValidationModel().hasCellValidation({rowNode:e.rowNode,column:e.column})))):(n||(n=this.model.getCellValidationModel().getCellValidationMap().size>0),n||(n=this.model.getRowValidationModel().getRowValidationMap().size>0)),n}
95moveToNextCell(e,t,n,o="ui"){let i;const s=this.isEditing(),r=s&&this.checkNavWithValidation(void 0,n)==="block-stop";return e instanceof vu&&s&&(i=this.strategy?.moveToNextEditingCell(e,t,n,o,r)),i===null||(i=i||!!this.beans.focusSvc.focusedHeader,i===!1&&!r&&this.stopEditing()),i}getCellDataValue({rowNode:e,column:t},n=!0){if(!e||!t)return;let o=this.model.getEdit({rowNode:e,column:t});const i=e.pinnedSibling;if(i){const r=this.model.getEdit({rowNode:i,column:t});r&&(o=r)}const s=n?o?.editorValue??o?.pendingValue:o?.pendingValue;return s===Ri||!o?o?.sourceValue??this.valueSvc.getValue(t,e,!1,"api"):s}addStopEditingWhenGridLosesFocus(e){QJ(this,this.beans,e)}createPopupEditorWrapper(e){return new xne(e)}commitNextEdit(){this.committing=!0}setDataValue(e,t,n){try{if((!this.isEditing()||this.committing)&&!$ne.has(n))return;const{beans:o}=this;this.strategy??(this.strategy=this.createStrategy());const i=this.isBatchEditing()?"ui":this.committing?n??"api":"api";if(!n||Bne.has(n))return P1(o,e,t,n,void 0,{persist:!0}),this.setNodeDataValue(e.rowNode,e.column,t,!0,n);const s=this.model.getEdit(e);if(s){if(s.pendingValue===t)return!1;if(s.sourceValue!==t)return P1(o,e,t,n,void 0,{persist:!0}),this.stopEditing(e,{source:i,suppressNavigateAfterEdit:!0}),!0;if(s.sourceValue===t)return o.editModelSvc?.removeEdits(e),this.dispatchEditValuesChanged(e,{...s,pendingValue:t}),!0}return P1(o,e,t,n,void 0,{persist:!0}),this.stopEditing(e,{source:i,suppressNavigateAfterEdit:!0}),!0}finally{this.committing=!1}}handleColDefChanged(e){nQ(this.beans,e)}destroy(){this.model.clear(),this.destroyStrategy(),super.destroy()}prepDetailsDuringBatch(e,t){if(!this.batch||!this.model.hasRowEdits(e.rowNode,Pc))return;const{rowNode:o,column:i}=e,{compDetails:s,valueToDisplay:r}=t;if(s){const{params:l}=s;return l.data=this.model.getEditRowDataValue(o,Pc),{compDetails:s}}const a=this.model.getEditRow(e.rowNode,Pc);if(r!==void 0&&a?.has(i))return{valueToDisplay:this.valueSvc.getValue(i,o)}}cleanupEditors(){this.strategy?.cleanupEditors()}dispatchCellEvent(e,t,n,o){this.strategy?.dispatchCellEvent(e,t,n,o)}dispatchBatchEvent(e,t){this.eventSvc.dispatchEvent(this.createBatchEditEvent(e,t))}createBatchEditEvent(e,t){return st(this.gos,{type:e,...e==="batchEditingStopped"?{changes:this.toEventChangeList(t)}:{}})}toEventChangeList(e){return this.model.getEditPositions(e).map(t=>({rowIndex:t.rowNode.rowIndex,rowPinned:t.rowNode.rowPinned,columnId:t.column.getColId(),newValue:t.pendingValue,oldValue:t.sourceValue}))}applyBulkEdit({rowNode:e,column:t},n){if(!n||n.length===0)return;const{beans:o,rangeSvc:i,valueSvc:s}=this;Cl(o,{persist:!0});const r=this.model.getEditMap(!0),a=r.get(e)?.get(t)?.pendingValue;this.batch||this.eventSvc.dispatchEvent({type:"bulkEditingStarted"}
95),n.forEach(c=>{if(i?.forEachRowInRange(c,u=>{const d=Pr(o,u);if(d===void 0)return;const h=r.get(d)??new Map;for(const p of c.columns)if(p&&this.isCellEditable({rowNode:d,column:p},"api")){const f=s.getValue(p,d,!0,"api");let g=s.parseValue(p,d??null,a,f);Number.isNaN(g)&&(g=null),h.set(p,{editorValue:void 0,pendingValue:g,sourceValue:f,state:"changed",editorState:{isCancelAfterEnd:void 0,isCancelBeforeStart:void 0}})}h.size>0&&r.set(d,h)}),this.setEditMap(r),this.batch){this.cleanupEditors(),E5(o),this.bulkRefresh();return}this.commitNextEdit(),this.stopEditing(void 0,{source:"bulk"}),this.eventSvc.dispatchEvent({type:"bulkEditingStopped",changes:this.toEventChangeList(r)})}),this.bulkRefresh();const l=mn(o,{rowNode:e,column:t});l&&l.focusCell(!0)}createCellStyleFeature(e,t){return new _ne(e,t)}createRowStyleFeature(e,t){return new Ine(e,t)}setEditingCells(e,t){const{beans:n}=this,{colModel:o,valueSvc:i}=n,s=new Map;for(let{colId:r,column:a,colKey:l,rowIndex:c,rowPinned:u,newValue:d,state:h}of e){const p=r?o.getCol(r):l?o.getCol(l):a;if(!p)continue;const f=Pr(n,{rowIndex:c,rowPinned:u});if(!f)continue;const g=i.getValue(p,f,!0,"api");if(!t?.forceRefreshOfEditCellsOnly&&!ur({pendingValue:d,sourceValue:g})&&h!=="editing")continue;let m=s.get(f);m||(m=new Map,s.set(f,m)),d===void 0&&(d=Ri),m.set(p,{editorValue:void 0,pendingValue:d,sourceValue:g,state:h??"changed",editorState:{isCancelAfterEnd:void 0,isCancelBeforeStart:void 0}})}this.setEditMap(s,t)}onCellFocused(e){const t=mn(this.beans,e);if(!t||!this.isEditing(t,Pc))return;const n=this.model.getEdit(t);if(!n||!ur(n))return;const i=this.getLocaleTextFunc()("ariaPendingChange","Pending Change");this.beans.ariaAnnounce?.announceValue(i,"pendingChange")}allowedFocusTargetOnValidation(e){return mn(this.beans,e)}};function zne(e){return{rowNodes:e?Array.from(e.keys()):void 0,columns:e?[...new Set(Array.from(e.values()).flatMap(t=>Array.from(t.keys())))]:void 0}}function u9(e,t){return t??e.get("editType")??"singleCell"}var ck=class extends we{postConstruct(){this.model=this.beans.editModelSvc,this.editSvc=this.beans.editSvc,this.addManagedEventListeners({cellFocused:this.onCellFocusChanged?.bind(this),cellFocusCleared:this.onCellFocusChanged?.bind(this)})}clearEdits(e){this.model.clearEditValue(e)}onCellFocusChanged(e){let t;const n=e.previousParams,{editSvc:o,beans:i}=this,s=e.type==="cellFocused"?e.sourceEvent:null;n&&(t=mn(i,n));const{gos:r,editModelSvc:a}=i,l=e.type==="cellFocusCleared";if(o.isEditing(void 0,{withOpenEditor:!0})){const{column:c,rowIndex:u,rowPinned:d}=e,h={column:c,rowNode:Pr(i,{rowIndex:u,rowPinned:d})},p=r.get("invalidEditValueMode")==="block";if(p)return;const f=!p,g=!!a?.getCellValidationModel().hasCellValidation(h),m=f&&g;(n||l?o.stopEditing(void 0,{cancel:m,source:l&&f?"api":void 0,event:s}):!0)||(o.isBatchEditing()?o.cleanupEditors():o.stopEditing(void 0,{source:"api"}))}t?.refreshCell({suppressFlash:!0,force:!0})}stop(e,t){const n=this.model.getEditPositions(),o={all:[],pass:[],fail:[]};for(const i of n){if(o.all.push(i),(this.model.getCellValidationModel().getCellValidation(i)?.errorMessages?.length??0)>0){o.fail.push(i);continue}o.pass.push(i)}if(e)for(const i of n)im(this.beans,i,{cancel:e}),this.model.stop(i);else{const i=this.processValidationResults(o);if(i.destroy.length>0)for(const s of i.destroy)im(this.beans,s,{event:t,cancel:e}),this.model.stop(s);if(i.keep.length>0)for(const s of i.keep){const r=mn(this.beans,s);this.editSvc?.cellEditingInvalidCommitBlocks()||r&&this.editSvc.revertSingleCellEdit(r)}}return!0}cleanupEditors({rowNode:e}={},t){Cl(this.beans,{persist:!1});const n=this.model.getEditPositions(),o=[];if(e)for(const i of n)i.rowNode!==e&&o.push(i);else for(const i of n)o.push(i);mu(this.beans,o),E5(this.beans,t)}setFocusOutOnEditor(e){e.comp?.getCellEditor()?.focusOut?.()}setFocusInOnEditor(e){const t=e.comp,n=t?.getCellEditor();if(n?.focusIn)n.focusIn();else{const o=this.beans.gos.get("editType")==="fullRow";e.focusCell(o),e.onEditorAttachedFuncs.push(()=>t?.getCellEditor()?.focusIn?.())}}setupEditors(e){const{event:t,ignoreEventKey:n=!1,startedEdit:o,position:i,cells:s=this.model.getEditPositions()}=e,r=t instanceof KeyboardEvent&&!n&&t.key||void 0;tQ(this.beans,s,i,r,t,o)}dispatchCellEvent(e,t,n,o){const i=mn(this.beans,e);i&&this.eventSvc.dispatchEvent({...i.createEvent(t??null,n),...o})}dispatchRowEvent(e,t,n){if(n)return;const o=ub(this.beans,e);o&&this.eventSvc.dispatchEvent(o.createRowEvent(t))}shouldStop(e,t,n="ui"){const o=this.editSvc.isBatchEditing();return o&&n==="api"?!0:o&&(n==="ui"||n==="edit")?!1:n==="api"?!0:t instanceof KeyboardEvent&&!o?t.key===he.ENTER:null}shouldCancel(e,t,n="ui"){const o=this.editSvc.isBatchEditing();return!!(t instanceof KeyboardEvent&&!o&&t.key===he.ESCAPE||o&&n==="api"||n==="api")}setEditMap(e,t){t?.update||this.editSvc.stopEditing(void 0,{cancel:!0,source:"api"});const n=[];if(e.forEach((o,i)=>{o.forEach((s,r)=>{s.state==="editing"&&n.push({...s,rowNode:i,column:r})})}),t?.update&&(e=new Map([...this.model.getEditMap(),...e])),this.model?.setEditMap(e),n.length>0){const o=n.at(-1),i=o.pendingValue===Ri?void 0:o.pendingValue;this.start({position:o,event:new KeyboardEvent("keydown",{key:i}),source:"api"});const s=mn(this.beans,o);s&&this.setFocusInOnEditor(s)}}destroy(){this.cleanupEditors(),super.destroy()}},Une=class extends ck{constructor(){super(...arguments),this.beanName="fullRow",this.startedRows=[]}shouldStop(e,t,n="ui"){const{rowNode:o}=e||{};if(!ub(this.beans,{rowNode:this.rowNode}))return!0;const s=super.shouldStop({rowNode:this.rowNode},t,n);return s!==null?s:this.rowNode?o!==this.rowNode:!1}midBatchInputsAllowed({rowNode:e}){return e?this.model.hasEdits({rowNode:e}):!1}clearEdits(e){this.model.clearEditValue(e)}start(e){const{position:t,silent:n,startedEdit:o,event:i,ignoreEventKey:s}=e,{rowNode:r}=t;this.rowNode!==r&&super.cleanupEditors(t);const a=this.beans.visibleCols.allCols,l=[],c=[];for(const u of a)u.isCellEditable(r)&&c.push(u);if(c.length!=0){this.dispatchRowEvent({rowNode:r},"rowEditingStarted",n),this.startedRows.push(r);for(const u of c){const d={rowNode:r,column:u};l.push(d),this.model.hasEdits(d)||this.model.start(d)}this.rowNode=r,this.setupEditors({cells:l,position:t,startedEdit:o,event:i,ignoreEventKey:s})}}processValidationResults(e){return e.fail.length>0&&this.editSvc.cellEditingInvalidCommitBlocks()?{destroy:[],keep:e.all}:{destroy:e.all,keep:[]}}stop(e,t){const{rowNode:n}=this;if(n&&!this.model.hasRowEdits(n))return!1;const o=[];
95if(e||this.model.getEditMap().forEach((i,s)=>{if(!(!i||i.size===0)){for(const r of i.values())if(ur(r)){o.push(s);break}}}),Jl(this.beans),!e&&this.editSvc?.checkNavWithValidation({rowNode:n})==="block-stop")return!1;super.stop(e,t);for(const i of o)this.dispatchRowEvent({rowNode:i},"rowValueChanged");return this.cleanupEditors({rowNode:n},!0),this.rowNode=void 0,!0}onCellFocusChanged(e){const{rowIndex:t}=e,n=e.previousParams;if(n?.rowIndex===t||e.sourceEvent instanceof KeyboardEvent)return;const o=mn(this.beans,n);this.gos.get("invalidEditValueMode")==="block"&&o&&(this.model.getCellValidationModel().getCellValidation(o)||this.model.getRowValidationModel().getRowValidation(o))||super.onCellFocusChanged(e)}cleanupEditors(e={},t){super.cleanupEditors(e,t);for(const n of this.startedRows)this.dispatchRowEvent({rowNode:n},"rowEditingStopped");this.startedRows.length=0}moveToNextEditingCell(e,t,n,o="ui",i=!1){const s=e.cellPosition;let r;this.model.suspend(!0);try{r=this.beans.navigation?.findNextCellToFocusOn(s,{backwards:t,startEditing:!0,skipToNextEditableCell:!1})}finally{this.model.suspend(!1)}if(r===!1)return null;if(r==null)return!1;const a=r.cellPosition,l=e.isCellEditable(),c=r.isCellEditable(),u=a&&s.rowIndex===a.rowIndex&&s.rowPinned===a.rowPinned;l&&this.setFocusOutOnEditor(e),this.restoreEditors();const d=this.gos.get("suppressStartEditOnTab");return c&&!i?d?r.focusCell(!0,n):(r.comp?.getCellEditor()||Au(this.beans,r,{event:n,cellStartedEdit:!0}),this.setFocusInOnEditor(r),r.focusCell(!1,n)):(c&&i&&this.setFocusInOnEditor(r),r.focusCell(!0,n)),!u&&!i&&(this.editSvc?.stopEditing({rowNode:e.rowNode},{event:n}),this.cleanupEditors(r,!0),d?r.focusCell(!0,n):this.editSvc.startEditing(r,{startedEdit:!0,event:n,source:o,ignoreEventKey:!0})),e.rowCtrl?.refreshRow({suppressFlash:!0,force:!0}),!0}
95restoreEditors(){this.model.getEditMap().forEach((e,t)=>e.forEach(({state:n},o)=>{if(n!=="editing")return;const i=mn(this.beans,{rowNode:t,column:o});i&&!i.comp?.getCellEditor()&&Au(this.beans,i,{silent:!0})}))}destroy(){super.destroy(),this.rowNode=void 0,this.startedRows.length=0}},jne=class extends ck{constructor(){super(...arguments),this.beanName="singleCell"}shouldStop(e,t,n="ui"){const o=super.shouldStop(e,t,n);if(o!==null)return o;const{rowNode:i,column:s}=e||{};return(!this.rowNode||!this.column)&&i&&s?null:this.rowNode!==i||this.column!==s}midBatchInputsAllowed(e){return this.model.hasEdits(e)}start(e){const{position:t,startedEdit:n,event:o,ignoreEventKey:i}=e;(this.rowNode!==t.rowNode||this.column!==t.column)&&super.cleanupEditors(),this.rowNode=t.rowNode,this.column=t.column,this.model.start(t),this.setupEditors({cells:[t],position:t,startedEdit:n,event:o,ignoreEventKey:i})}dispatchRowEvent(e,t,n){}processValidationResults(e){return e.fail.length>0&&this.editSvc.cellEditingInvalidCommitBlocks()?{destroy:[],keep:e.all}:{destroy:e.all,keep:[]}}stop(e,t){return super.stop(e,t),this.rowNode=void 0,this.column=void 0,!0}onCellFocusChanged(e){const{colModel:t,editSvc:n}=this.beans,{rowIndex:o,column:i,rowPinned:s}=e,r=Pr(this.beans,{rowIndex:o,rowPinned:s}),a=S5(i),l=t.getCol(a),c=e.previousParams;if(c){const u=S5(c.column);if(c?.rowIndex===o&&u===a&&c?.rowPinned===s)return}n?.isEditing({rowNode:r,column:l},{withOpenEditor:!0})&&e.type==="cellFocused"||super.onCellFocusChanged(e)}moveToNextEditingCell(e,t,n,o="ui",i=!1){const s=this.beans.focusSvc.getFocusedCell();s&&(e=Xc(this.beans,s)??e);const r=e.cellPosition;let a;const l=this.beans.gos.get("editType")==="fullRow";l&&this.model.suspend(!0),i||(e.eGui.focus(),this.editSvc?.stopEditing(e,{source:this.editSvc?.isBatchEditing()?"ui":"api",event:n}));try{a=this.beans.navigation?.findNextCellToFocusOn(r,{backwards:t,startEditing:!0})}finally{l&&this.model.suspend(!1)}if(a===!1)return null;if(a==null)return!1;const c=a.cellPosition,u=e.isCellEditable(),d=a.isCellEditable(),h=c&&r.rowIndex===c.rowIndex&&r.rowPinned===c.rowPinned;u&&!i&&this.setFocusOutOnEditor(e);const p=this.gos.get("suppressStartEditOnTab");if(!h&&!i&&(super.cleanupEditors(a,!0),p?a.focusCell(!0,n):this.editSvc.startEditing(a,{startedEdit:!0,event:n,source:o,ignoreEventKey:!0})),d&&!i){if(a.focusCell(!1,n),p)a.focusCell(!0,n);else if(!a.comp?.getCellEditor()){const f=this.editSvc?.isEditing(a,{withOpenEditor:!0});Au(this.beans,a,{event:n,cellStartedEdit:!0,silent:f}),this.setFocusInOnEditor(a),this.cleanupEditors(a)}}else d&&i&&this.setFocusInOnEditor(a),a.focusCell(!0,n);return e.rowCtrl?.refreshRow({suppressFlash:!0,force:!0}),!0}destroy(){super.destroy(),this.rowNode=void 0,this.column=void 0}},Za={moduleName:"EditCore",version:We,beans:[JJ,Gne],apiFunctions:{getEditingCells:wne,getEditRowValues:yne,getCellEditorInstances:eQ,startEditingCell:Tne,stopEditing:Sne,isEditing:Ene,validateEdit:Rne},dynamicBeans:{singleCell:jne,fullRow:Une},dependsOn:[m0,tk],css:[Xte]},Zne={moduleName:"UndoRedoEdit",version:We,beans:[Yte],apiFunctions:{undoCellEditing:Cne,redoCellEditing:bne,getCurrentUndoSize:Pne,getCurrentRedoSize:Mne},dependsOn:[Za]},Kne={moduleName:"TextEditor",version:We,userComponents:{agCellEditor:c9,agTextCellEditor:c9},dependsOn:[Za]},qne={moduleName:"NumberEditor",version:We,userComponents:{agNumberCellEditor:{classImp:une}},dependsOn:[Za]},Yne={moduleName:"DateEditor",version:We,userComponents:{agDateCellEditor:nne,agDateStringCellEditor:sne},dependsOn:[Za]},Xne={moduleName:"CheckboxEditor",version:We,userComponents:{agCheckboxCellEditor:Qte},dependsOn:[Za]},Jne={moduleName:"SelectEditor",version:We,userComponents:{agSelectCellEditor:hne},dependsOn:[Za]},Qne={moduleName:"LargeTextEditor",version:We,userComponents:{agLargeTextCellEditor:ane},dependsOn:[Za]},eoe={moduleName:"CustomEditor",version:We,dependsOn:[Za]},toe=class extends we{constructor(){super(...arguments),this.beanName="selectionColSvc"}postConstruct(){this.addManagedPropertyListener("rowSelection",e=>{this.onSelectionOptionsChanged(e.currentValue,e.previousValue,hu(e.source))}),this.addManagedPropertyListener("selectionColumnDef",this.updateColumns.bind(this))}addColumns(e){const t=this.columns;t!=null&&(e.list=t.list.concat(e.list),e.tree=t.tree.concat(e.tree),hz(e))}createColumns(e,t){const n=()=>{qg(this.beans,this.columns?.tree),this.columns=null},o=e.treeDepth,s=(this.columns?.treeDepth??-1)==o,r=this.generateSelectionCols();if(dz(r,this.columns?.list??[])&&s)return;n();const{colGroupSvc:l}=this.beans,c=l?.findDepth(e.tree)??0,u=l?.balanceTreeForAutoCols(r,c)??[];this.columns={list:r,tree:u,treeDepth:c,map:{}},t(h=>{if(!h)return null;const p=h.filter(f=>!Hr(f));return[...r,...p]})}updateColumns(e){const t=hu(e.source);for(const n of this.columns?.list??[]){const o=this.createSelectionColDef(e.currentValue);n.setColDef(o,null,t),Xi(this.beans,{state:[{...o,colId:n.getColId()}]},t)}}getColumn(e){return this.columns?.list.find(t=>lh(t,e))??null}getColumns(){return this.columns?.list??null}isSelectionColumnEnabled(){const{gos:e,beans:t}=this,n=e.get("rowSelection");if(typeof n!="object"||!kl(e))return!1;const o=(t.autoColSvc?.getColumns()?.length??0)>0;if(n.checkboxLocation==="autoGroupColumn"&&o)return!1;const i=!!du(n),s=C1(n);return i||s}createSelectionColDef(e){const{gos:t}=this,n=e??t.get("selectionColumnDef"),o=t.get("enableRtl"),{rowSpan:i,spanRows:s,...r}=n??{};return{width:50,resizable:!1,suppressHeaderMenuButton:!0,sortable:!1,suppressMovable:!0,lockPosition:o?"right":"left",comparator(a,l,c,u){const d=c.isSelected(),h=u.isSelected();return d===h?0:d?1:-1},editable:!1,suppressFillHandle:!0,pinned:null,...r,colId:ox,chartDataType:"excluded"}}generateSelectionCols(){if(!this.isSelectionColumnEnabled())return[];const e=this.createSelectionColDef(),t=e.colId;this.gos.validateColDef(e,t,!0);const n=new pc(e,null,t,!1);return this.createBean(n),[n]}onSelectionOptionsChanged(e,t,n){const o=t&&typeof t!="string"?du(t):void 0,i=e&&typeof e!="string"?du(e):void 0,s=o!==i,r=t&&typeof t!="string"?C1(t):void 0,a=e&&typeof e!="string"?C1(e):void 0,l=r!==a,c=jg(e),u=jg(t);(s||l||c!==u)&&this.beans.colModel.refreshAll(n)}destroy(){qg(this.beans,this.columns?.tree),super.destroy()}
95refreshVisibility(e,t,n){if(!this.columns?.list.length)return;const o=e.length+t.length+n.length;if(o===0)return;const i=this.columns.list[0];if(!i.isVisible())return;const s=()=>{let l;switch(i.pinned){case"left":case!0:l=e;break;case"right":l=n;break;default:l=t}l&&os(l,i)};(this.beans.rowNumbersSvc?.getColumn(ix)?2:1)===o&&s()}};function noe(e,t){if(!t.nodes.every(r=>r.rowPinned&&!$p(r)?(Me(59),!1):r.id===void 0?(Me(60),!1):!0))return;const{nodes:o,source:i,newValue:s}=t;e.selectionSvc?.setNodesSelected({nodes:o,source:i??"api",newValue:s})}function ooe(e,t,n="apiSelectAll"){e.selectionSvc?.selectAllRowNodes({source:n,selectAll:t})}function ioe(e,t,n="apiSelectAll"){e.selectionSvc?.deselectAllRowNodes({source:n,selectAll:t})}function soe(e,t="apiSelectAllFiltered"){e.selectionSvc?.selectAllRowNodes({source:t,selectAll:"filtered"})}function roe(e,t="apiSelectAllFiltered"){e.selectionSvc?.deselectAllRowNodes({source:t,selectAll:"filtered"})}function aoe(e,t="apiSelectAllCurrentPage"){e.selectionSvc?.selectAllRowNodes({source:t,selectAll:"currentPage"})}function loe(e,t="apiSelectAllCurrentPage"){e.selectionSvc?.deselectAllRowNodes({source:t,selectAll:"currentPage"})}function coe(e){return e.selectionSvc?.getSelectedNodes()??[]}function uoe(e){return e.selectionSvc?.getSelectedRows()??[]}var doe=class extends TK{constructor(){super(...arguments),this.beanName="selectionSvc",this.selectedNodes=new Map,this.detailSelection=new Map,this.masterSelectsDetail=!1}postConstruct(){super.postConstruct();const{gos:e}=this;this.mode=Zg(e),this.groupSelectsDescendants=zh(e),this.groupSelectsFiltered=Kg(e)==="filteredDescendants",this.masterSelectsDetail=t8(e)==="detail",this.addManagedPropertyListeners(["groupSelectsChildren","groupSelectsFiltered","rowSelection"],()=>{const t=zh(e),n=Zg(e),o=Kg(e)==="filteredDescendants";this.masterSelectsDetail=t8(e)==="detail",(t!==this.groupSelectsDescendants||o!==this.groupSelectsFiltered||n!==this.mode)&&(this.deselectAllRowNodes({source:"api"}),this.groupSelectsDescendants=t,this.groupSelectsFiltered=o,this.mode=n)}),this.addManagedEventListeners({rowSelected:this.onRowSelected.bind(this)})}destroy(){super.destroy(),this.resetNodes()}handleSelectionEvent(e,t,n){if(this.isRowSelectionBlocked(t))return 0;const o=this.inferNodeSelections(t,e.shiftKey,e.metaKey||e.ctrlKey,n);if(o==null)return 0;if(this.selectionCtx.selectAll=!1,"select"in o)return o.reset?this.resetNodes():this.selectRange(o.deselect,!1,n),this.selectRange(o.select,!0,n);{const i=o.checkFilteredNodes?dk(o.node):o.newValue;return this.setNodesSelected({nodes:[o.node],newValue:i,clearSelection:o.clearSelection,keepDescendants:o.keepDescendants,event:e,source:n})}}setNodesSelected({newValue:e,clearSelection:t,suppressFinishActions:n,nodes:o,event:i,source:s,keepDescendants:r=!1}){if(o.length===0)return 0;const{gos:a}=this;if(!kl(a)&&e)return Me(132),0;if(o.length>1&&!this.isMultiSelect())return Me(130),0;let l=0;for(let c=0;c<o.length;c++){const u=o[c],d=Mc(u);if(d.rowPinned&&!$p(d)){Me(59);continue}if(d.id===void 0){Me(60);continue}this.groupSelectsFiltered&&d.group&&!a.get("treeData")||this.selectRowNode(d,e,i,s)&&(this.detailSelection.delete(d.id),l++),this.groupSelectsDescendants&&d.childrenAfterGroup?.length&&(l+=this.selectChildren(d,e,s))}return n||(o.length===1&&s==="api"&&this.selectionCtx.setRoot(Mc(o[0])),e&&(t||!this.isMultiSelect())&&(l+=this.clearOtherNodes(Mc(o[0]),r,s)),l>0&&(this.updateGroupsFromChildrenSelections(s),this.dispatchSelectionChanged(s))),l}selectRange(e,t,n){let o=0;return e.forEach(i=>{const s=Mc(i);if(s.group&&this.groupSelectsDescendants)return;this.selectRowNode(s,t,void 0,n)&&o++}),o>0&&(this.updateGroupsFromChildrenSelections(n),this.dispatchSelectionChanged(n)),o}selectChildren(e,t,n){const o=this.groupSelectsFiltered?e.childrenAfterAggFilter:e.childrenAfterGroup;return o?this.setNodesSelected({newValue:t,clearSelection:!1,suppressFinishActions:!0,source:n,nodes:o}):0}getSelectedNodes(){return Array.from(this.selectedNodes.values())}getSelectedRows(){const e=[];return this.selectedNodes.forEach(t=>t.data&&e.push(t.data)),e}getSelectionCount(){return this.selectedNodes.size}filterFromSelection(e){const t=new Map;
95this.selectedNodes.forEach((n,o)=>{e(n)&&t.set(o,n)}),this.selectedNodes=t}updateGroupsFromChildrenSelections(e,t){if(!this.groupSelectsDescendants)return!1;const{gos:n,rowModel:o}=this.beans;if(!kn(n))return!1;const i=o.rootNode;if(!i)return!1;t||(t=new Zh(!0,i),t.active=!1);let s=!1;return t.forEachChangedNodeDepthFirst(r=>{if(r!==i){const a=this.calculateSelectedFromChildren(r);s=this.selectRowNode(r,a===null?!1:a,void 0,e)||s}}),s}clearOtherNodes(e,t,n){const o=new Map;let i=0;return this.selectedNodes.forEach(s=>{const r=s.id==e.id;if((t?!poe(e,s):!0)&&!r){const l=this.selectedNodes.get(s.id);i+=this.setNodesSelected({nodes:[l],newValue:!1,clearSelection:!1,suppressFinishActions:!0,source:n}),this.groupSelectsDescendants&&s.parent&&o.set(s.parent.id,s.parent)}}),o.forEach(s=>{const r=this.calculateSelectedFromChildren(s);this.selectRowNode(s,r===null?!1:r,void 0,n)}),i}onRowSelected(e){const t=e.node;this.groupSelectsDescendants&&t.group||(t.isSelected()?this.selectedNodes.set(t.id,t):this.selectedNodes.delete(t.id))}syncInRowNode(e,t){this.syncInOldRowNode(e,t),this.syncInNewRowNode(e)}createDaemonNode(e){if(!e.id)return;const t=new Aa(this.beans);return t.id=e.id,t.data=e.data,t.__selected=e.__selected,t.level=e.level,t}syncInOldRowNode(e,t){t&&e.id!==t.id&&this.selectedNodes.get(t.id)==e&&this.selectedNodes.set(t.id,t)}syncInNewRowNode(e){this.selectedNodes.has(e.id)?(e.__selected=!0,this.selectedNodes.set(e.id,e)):e.__selected=!1}reset(e){const t=this.getSelectionCount();this.resetNodes(),t&&this.dispatchSelectionChanged(e)}resetNodes(){this.selectedNodes.forEach(e=>{this.selectRowNode(e,!1)}),this.selectedNodes.clear()}getBestCostNodeSelection(){const{gos:e,rowModel:t}=this.beans;if(!kn(e))return;const n=t.getTopLevelNodes();if(n===null)return;const o=[];function i(s){for(let r=0,a=s.length;r<a;r++){const l=s[r];l.isSelected()?o.push(l):l.group&&l.childrenAfterGroup&&i(l.childrenAfterGroup)}}return i(n),o}isEmpty(){return this.getSelectionCount()===0}deselectAllRowNodes({source:e,selectAll:t}){const n=kn(this.gos);let o=!1;const i=s=>{const r=this.selectRowNode(Mc(s),!1,void 0,e);o||(o=r)};if(t==="currentPage"||t==="filtered"){if(!n){qt(102);return}this.getNodesToSelect(t).forEach(i)}else this.selectedNodes.forEach(i),this.reset(e);if(this.selectionCtx.selectAll=!1,n&&this.groupSelectsDescendants){const s=this.updateGroupsFromChildrenSelections(e);o||(o=s)}o&&this.dispatchSelectionChanged(e)}getSelectedCounts(e){let t=0,n=0;return this.getNodesToSelect(e).forEach(o=>{this.groupSelectsDescendants&&o.group||(o.isSelected()?t++:o.selectable&&n++)}),{selectedCount:t,notSelectedCount:n}}getSelectAllState(e){const{selectedCount:t,notSelectedCount:n}=this.getSelectedCounts(e);return uk(t,n)??null}hasNodesToSelect(e){return this.getNodesToSelect(e).filter(t=>t.selectable).length>0}getNodesToSelect(e){if(!this.canSelectAll())return[];const t=[],n=i=>t.push(i);if(e==="currentPage")return this.forEachNodeOnPage(i=>{if(!i.group){n(i);return}if(!i.expanded&&!i.footer){const s=r=>{n(r),r.childrenAfterFilter?.forEach(s)};s(i);return}this.groupSelectsDescendants||n(i)}),t;const o=this.beans.rowModel;return e==="filtered"?(o.forEachNodeAfterFilter(n),t):(o.forEachNode(n),t)}forEachNodeOnPage(e){const{pageBounds:t,rowModel:n}=this.beans,o=t.getFirstRow(),i=t.getLastRow();for(let s=o;s<=i;s++){const r=n.getRow(s);r&&e(r)}}selectAllRowNodes(e){const{gos:t,selectionCtx:n}=this;if(!kl(t)){Me(132);return}if(JG(t)&&!Gh(t)){Me(130);return}if(!this.canSelectAll())return;const{source:o,selectAll:i}=e;let s=!1;if(this.getNodesToSelect(i).forEach(r=>{const a=this.selectRowNode(Mc(r),!0,void 0,o);s||(s=a)}),n.selectAll=!0,kn(t)&&this.groupSelectsDescendants){const r=this.updateGroupsFromChildrenSelections(o);s||(s=r)}s&&this.dispatchSelectionChanged(o)}getSelectionState(){return this.isEmpty()?null:Array.from(this.selectedNodes.keys())}setSelectionState(e,t,n){if(e||(e=[]),!Array.isArray(e)){qt(103);return}const o=new Set(e),i=[];this.beans.rowModel.forEachNode(s=>{o.has(s.id)&&i.push(s)}),n&&this.resetNodes(),this.setNodesSelected({newValue:!0,nodes:i,source:t})}canSelectAll(){return kn(this.beans.gos)}updateSelectable(e){const{gos:t,rowModel:n}=this.beans;if(!kl(t))return;const o="selectableChanged",i=e!==void 0,s=kn(t)&&this.groupSelectsDescendants,r=[],a=l=>{if(i&&!l.group)return;if(s&&l.group){const u=l.childrenAfterGroup?.some(d=>d.selectable)??!1;this.setRowSelectable(l,u,!0);return}!this.updateRowSelectable(l,!0)&&l.isSelected()&&r.push(l)};if(s){if(e===void 0){const l=n.rootNode;e=l?new Zh(!1,l):void 0}e?.forEachChangedNodeDepthFirst(a,!i,!i)}
95else n.forEachNode(a);r.length&&this.setNodesSelected({nodes:r,newValue:!1,source:o}),!i&&s&&this.updateGroupsFromChildrenSelections?.(o)}updateSelectableAfterGrouping(e){this.updateSelectable(e),this.groupSelectsDescendants&&this.updateGroupsFromChildrenSelections?.("rowGroupChanged",e)&&this.dispatchSelectionChanged("rowGroupChanged")}refreshMasterNodeState(e,t){if(!this.masterSelectsDetail)return;const n=e.detailNode?.detailGridInfo?.api;if(!n)return;const o=hoe(n);if(e.isSelected()!==o&&this.selectRowNode(e,o,t,"masterDetail")&&this.dispatchSelectionChanged("masterDetail"),!o){const s=this.detailSelection.get(e.id)??new Set;for(const r of n.getSelectedNodes())s.add(r.id);this.detailSelection.set(e.id,s)}}setDetailSelectionState(e,t,n){if(this.masterSelectsDetail){if(!Gh(t)){Me(269);return}switch(e.isSelected()){case!0:{n.selectAll();break}case!1:{n.deselectAll();break}case void 0:{const o=this.detailSelection.get(e.id);if(o){const i=[];for(const s of o){const r=n.getRowNode(s);r&&i.push(r)}n.setNodesSelected({nodes:i,newValue:!0,source:"masterDetail"})}break}}}}dispatchSelectionChanged(e){this.eventSvc.dispatchEvent({type:"selectionChanged",source:e,selectedNodes:this.getSelectedNodes(),serverSideState:null})}};function Mc(e){return $p(e)?e.pinnedSibling:e.footer?e.sibling:e}function hoe(e){let t=0,n=0;return e.forEachNode(o=>{o.isSelected()?t++:o.selectable&&n++}),uk(t,n)}function uk(e,t){if(e===0&&t===0)return!1;if(!(e>0&&t>0))return e>0}function poe(e,t){let n=t.parent;for(;n;){if(n===e)return!0;n=n.parent}return!1}function dk(e){const t=e.isSelected()===!1,n=e.childrenAfterFilter?.some(dk)??!1;return t||n}var foe={moduleName:"SharedRowSelection",version:We,beans:[toe],apiFunctions:{setNodesSelected:noe,selectAll:ooe,deselectAll:ioe,selectAllFiltered:soe,deselectAllFiltered:roe,selectAllOnCurrentPage:aoe,deselectAllOnCurrentPage:loe,getSelectedNodes:coe,getSelectedRows:uoe}},goe={moduleName:"RowSelection",version:We,rowModels:["clientSide","infinite","viewport"],beans:[doe],dependsOn:[foe]};function moe(e){e.expansionSvc?.expandAll(!0)}function voe(e){e.expansionSvc?.expandAll(!1)}function hk(e){e.rowModel?.onRowHeightChanged()}function pk(e){if(e.rowAutoHeight?.active){Me(3);return}e.rowModel?.resetRowHeights()}function Coe(e,t,n){const o=bee(e);if(o){if(e.rowGroupColsSvc?.columns.length===0){if(t<0){qt(238);return}o.setRowCount(t,n);return}qt(28);return}g0(e)?.setRowCount(t,n)}function boe(e){return od(e.gos)?e.rowModel.getBlockStates():e.rowNodeBlockLoader?.getBlockState()??{}}function yoe(e){return e.rowModel.isLastRowIndexKnown()}var woe={moduleName:"CsrmSsrmSharedApi",version:We,apiFunctions:{expandAll:moe,collapseAll:voe}},Soe={moduleName:"RowModelSharedApi",version:We,apiFunctions:{onRowHeightChanged:hk,resetRowHeights:pk}},Eoe={moduleName:"SsrmInfiniteSharedApi",version:We,apiFunctions:{setRowCount:Coe,getCacheBlockState:boe,isLastRowIndexKnown:yoe}},Toe=class extends we{constructor(){super(...arguments),this.beanName="alignedGridsSvc",this.consuming=!1}getAlignedGridApis(){let e=this.gos.get("alignedGrids")??[];const t=typeof e=="function";return typeof e=="function"&&(e=e()),e.map(o=>{if(!o){qt(18),t||qt(20);return}if(this.isGridApi(o))return o;const i=o;return"current"in i?i.current?.api:(i.api||qt(19),i.api)}).filter(o=>!!o&&!o.isDestroyed())}isGridApi(e){return!!e&&!!e.dispatchEvent}postConstruct(){const e=this.fireColumnEvent.bind(this);this.addManagedEventListeners({columnMoved:e,columnVisible:e,columnPinned:e,columnGroupOpened:e,columnResized:e,bodyScroll:this.fireScrollEvent.bind(this),alignedGridColumn:({event:t})=>this.onColumnEvent(t),alignedGridScroll:({event:t})=>this.onScrollEvent(t)})}fireEvent(e){if(!this.consuming)for(const t of this.getAlignedGridApis())t.isDestroyed()||t.dispatchEvent(e)}onEvent(e){this.consuming=!0,e(),this.consuming=!1}fireColumnEvent(e){this.fireEvent({type:"alignedGridColumn",event:e})}fireScrollEvent(e){e.direction==="horizontal"&&this.fireEvent({type:"alignedGridScroll",event:e})}onScrollEvent(e){this.onEvent(()=>{this.beans.ctrlsSvc.getScrollFeature().setHorizontalScrollPosition(e.left,!0)})}extractDataFromEvent(e,t){const n=[];return e.columns?e.columns.forEach(o=>{n.push(t(o))}):e.column&&n.push(t(e.column)),n}getMasterColumns(e){return this.extractDataFromEvent(e,t=>t)}getColumnIds(e){return this.extractDataFromEvent(e,t=>t.getColId())}onColumnEvent(e){this.onEvent(()=>{switch(e.type){case"columnMoved":case"columnVisible":case"columnPinned":case"columnResized":{this.processColumnEvent(e);break}case"columnGroupOpened":{this.processGroupOpenedEvent(e);break}case"columnPivotChanged":Me(21);break}})}processGroupOpenedEvent(e){const{colGroupSvc:t}=this.beans;if(t)for(const n of e.columnGroups){let o=null;n&&(o=t.getProvidedColGroup(n.getGroupId())),!(n&&!o)&&t.setColumnGroupOpened(o,n.isExpanded(),"alignedGridChanged")}}processColumnEvent(e){const t=e.column;let n=null;const o=this.beans,{colResize:i,ctrlsSvc:s,colModel:r}=o;if(t&&(n=r.getColDefCol(t.getColId())),t&&!n)return;const a=this.getMasterColumns(e);switch(e.type){case"columnMoved":{const d=e.api.getColumnState().map(h=>({colId:h.colId}));Xi(o,{state:d,applyOrder:!0},"alignedGridChanged")}break;case"columnVisible":{const d=e.api.getColumnState().map(h=>({colId:h.colId,hide:h.hide}));Xi(o,{state:d},"alignedGridChanged")}break;case"columnPinned":{const d=e.api.getColumnState().map(h=>({colId:h.colId,pinned:h.pinned}));Xi(o,{state:d},"alignedGridChanged")}break;case"columnResized":{const u=e,d={};for(const h of a)d[h.getId()]={key:h.getColId(),newWidth:h.getActualWidth()};for(const h of u.flexColumns??[])d[h.getId()]&&delete d[h.getId()];i?.setColumnWidths(Object.values(d),!1,u.finished,"alignedGridChanged");break}}const c=s.getGridBodyCtrl().isVerticalScrollShowing();for(const u of this.getAlignedGridApis())u.setGridOption("alwaysShowVerticalScroll",c)}},Roe={moduleName:"AlignedGrids",version:We,beans:[Toe],dependsOn:[bD]},Poe=class extends we{constructor(e){super(),this.rootNode=e,this.nextId=0,this.allNodesMap={},d9(e)}getRowNode(e){return this.allNodesMap[e]}setNewRowData(e){const{selectionSvc:t,pinnedRowModel:n,groupStage:o}=this.beans;t?.reset("rowDataChanged"),n?.isManual()&&n.reset(),this.dispatchRowDataUpdateStarted(e),this.allNodesMap=Object.create(null),this.nextId=0;const i=d9(this.rootNode),s=new Array(e.length);i._leafs=s;let r=0;const a=o?.getNestedDataGetter(),l=a?new Set:null,c=(u,d)=>{const h=u.level+1;for(let p=0,f=d.length;p<f;++p){const g=d[p];if(!g)continue;const m=this.createRowNode(g,h);if(m.sourceRowIndex=r,s[r++]=m,l&&!l.has(g)){l.add(g),m.treeParent=u;const v=a(g);v&&c(m,v)}}};c(i,e),s.length=r}setImmutableRowData(e,t){const{rootNode:n,gos:o}=this;this.dispatchRowDataUpdateStarted(t);const i=Lu(o),s=e.changedRowNodes,{adds:r,updates:a}=s,l=new Set,c=[],u=this.beans.groupStage?.getNestedDataGetter();let d=o.get("suppressMaintainUnsortedOrder")?void 0:!1,h=-1,p=!1;const f=(v,y)=>{if(!d&&d!==void 0){const b=v.sourceRowIndex;d=b<=h,h=b}v.data!==y&&(v.updateData(y),r.has(v)||a.add(v),!v.selectable&&v.
95isSelected()&&c.push(v))},g=(v,y,b)=>{for(let w=0,S=y.length;w<S;++w){const E=y[w];if(!E)continue;let T=this.getRowNode(i({data:E,level:b}));if(T?(f(T,E),p||(p=!!u&&T.treeParent!==v)):(T=this.createRowNode(E,b),r.add(T)),!u||l.has(T)){l.add(T);continue}l.add(T),T.treeParent=v;const R=u(E);R&&g(T,R,b+1)}};g(n,t,0);const m=this.deleteUnusedNodes(l,s,c)||d||r.size>0;if(m){const v=n._leafs??(n._leafs=[]);d===void 0?koe(v,l,s):Doe(v,l)&&(s.reordered=!0)}(m||p||a.size)&&(e.rowDataUpdated=!0,this.deselect(c))}deleteUnusedNodes(e,{removals:t},n){const o=this.rootNode._leafs;for(let i=0,s=o.length;i<s;i++){const r=o[i];e.has(r)||(t.add(r),r.isSelected()&&n.push(r),this.deleteNode(r))}return t.size>0}updateRowData(e,t){if(this.dispatchRowDataUpdateStarted(e.add),this.beans.groupStage?.getNestedDataGetter())return Me(268),{remove:[],update:[],add:[]};const n=[],o=Lu(this.gos),i=this.executeRemove(o,e,t,n),s=this.executeUpdate(o,e,t,n),r=this.executeAdd(e,t);return this.deselect(n),{remove:i,update:s,add:r}}executeRemove(e,{remove:t},{adds:n,updates:o,removals:i},s){const r=this.rootNode._leafs,a=r?.length,l=t?.length;if(!l||!a)return[];let c=0,u=a,d=0,h;const p=new Array(l);for(let f=0;f<l;++f){const g=this.lookupNode(e,t[f]);if(!g)continue;const m=g.sourceRowIndex;m<u&&(u=m),m>d&&(d=m),g.isSelected()&&s.push(g),this.deleteNode(g),n.delete(g)?(h??(h=new Set),h.add(g)):(o.delete(g),i.add(g)),p[c++]=g}return p.length=c,c&&xoe(r,u,d,i,h),p}executeUpdate(e,{update:t},{adds:n,updates:o},i){const s=t?.length;if(!s)return[];const r=new Array(s);let a=0;for(let l=0;l<s;l++){const c=t[l],u=this.lookupNode(e,c);u&&(u.updateData(c),!u.selectable&&u.isSelected()&&i.push(u),r[a++]=u,n.has(u)||o.add(u))}return r.length=a,r}executeAdd(e,t){var n;const o=(n=this.rootNode)._leafs??(n._leafs=[]),i=o.length,s=e.add,r=s?.length;if(!r)return[];const a=i+r;let l=this.sanitizeAddIndex(o,e.addIndex);if(l<i){for(let d=i-1,h=a-1;d>=l;--d){const p=o[d];p.sourceRowIndex=h,o[h--]=p}t.reordered=!0}o.length=a;const c=new Array(r),u=t.adds;for(let d=0;d<r;d++){const h=this.createRowNode(s[d],0);u.add(h),h.sourceRowIndex=l,o[l]=h,c[d]=h,l++}return c}dispatchRowDataUpdateStarted(e){this.eventSvc.dispatchEvent({type:"rowDataUpdateStarted",firstRowData:e?.length?e[0]:null})}deselect(e){const t="rowDataChanged",n=this.beans.selectionSvc;e.length&&n?.setNodesSelected({newValue:!1,nodes:e,suppressFinishActions:!0,source:t}),n?.updateGroupsFromChildrenSelections?.(t),e.length&&this.eventSvc.dispatchEvent({type:"selectionChanged",source:t,selectedNodes:n?.getSelectedNodes()??null,serverSideState:null})}createRowNode(e,t){const n=new Aa(this.beans);n.parent=this.rootNode,n.level=t,n.group=!1,n.expanded=!1,n.setDataAndId(e,String(this.nextId++));const o=n.id,i=this.allNodesMap;return i[o]&&Me(2,{nodeId:o}),i[o]=n,n}deleteNode(e){e.clearRowTopAndRowIndex();const t=e.id,n=this.allNodesMap;n[t]===e&&delete n[t];const o=e.pinnedSibling;o&&this.beans.pinnedRowModel?.pinRow(o,null)}lookupNode(e,t){if(!e)return Loe(this.rootNode._leafs,t);const n=e({data:t,level:0}),o=this.allNodesMap[n];return o||(qt(4,{id:n}),null)}sanitizeAddIndex(e,t){const n=e.length;if(typeof t!="number"||t<0||t>=n||Number.isNaN(t))return n;t=Math.ceil(t);const o=this.gos;return t>0&&o.get("treeData")&&o.get("getDataPath")&&(t=Moe(e,t)),t}},Moe=(e,t)=>{for(let n=0,o=e.length;n<o;n++)if(e[n]?.rowIndex==t-1)return n+1;return t},d9=e=>{e.group=!0,e.level=-1,e.id="ROOT_NODE_ID",e._leafs?.length!==0&&(e._leafs=[]);const t=[],n=[],o=[],i=[];e.childrenAfterGroup=t,e.childrenAfterSort=n,e.childrenAfterAggFilter=o,e.childrenAfterFilter=i;const s=e.sibling;return s&&(s.childrenAfterGroup=t,s.childrenAfterSort=n,s.childrenAfterAggFilter=o,s.childrenAfterFilter=i,s.childrenMapped=e.childrenMapped),e.updateHasChildren(),e},Loe=(e,t)=>{if(e)for(let n=0,o=e.length;n<o;n++){const i=e[n];if(i.data===t)return i}return qt(5,{data:t}),null},xoe=(e,t,n,o,i)=>{t=Math.max(0,t);for(let s=t,r=e.length;s<r;++s){const a=e[s];s<=n&&(o.has(a)||i?.has(a))||(a.sourceRowIndex=t,e[t++]=a)}e.length=t},Doe=(e,t)=>{const n=t.size;e.length=n;let o=0,i=!1,s=!1;for(const r of t){const a=r.sourceRowIndex;a===o?s||(s=i):(a>=0?s=!0:i=!0,r.sourceRowIndex=o,e[o]=r),++o}return s},koe=(e,t,{removals:n,adds:o})=>{const i=e.length;e.length=t.size;let s=0;for(let r=0;r<i;++r){const a=e[r];n.has(a)||(s!==r&&(a.sourceRowIndex=s,e[s]=a),++s)}for(const r of o)r.sourceRowIndex<0&&(r.sourceRowIndex=s,e[s++]=r);e.length=s},fk=e=>{const t=e.childrenAfterSort,n=e.sibling;if(n&&(n.childrenAfterSort=t),!!t)for(let o=0,i=t.length-1;o<=i;o++){const s=t[o],r=o===0,a=o===i;s.firstChild!==r&&(s.firstChild=r,s.dispatchRowEvent("firstChildCh
95anged")),s.lastChild!==a&&(s.lastChild=a,s.dispatchRowEvent("lastChildChanged")),s.childIndex!==o&&(s.childIndex=o,s.dispatchRowEvent("childIndexChanged"))}},Aoe=class extends we{constructor(){super(...arguments),this.beanName="sortStage",this.step="sort",this.refreshProps=["postSortRows","groupDisplayType","accentedSort"]}execute(e){const t=this.beans.sortSvc.getSortOptions(),n=t.length>0&&!!e.changedRowNodes&&this.gos.get("deltaSort");this.sort(t,n,e.changedRowNodes,e.changedPath)}sort(e,t,n,o){const{gos:i,colModel:s,rowGroupColsSvc:r,rowNodeSorter:a,rowRenderer:l,showRowGroupCols:c}=this.beans,u=i.get("groupMaintainOrder"),d=s.getCols().some(y=>y.isRowGroupActive()),h=r?.columns,p=s.isPivotMode(),f=i.getCallback("postSortRows");let g=!1,m;const v=y=>{const b=p&&y.leafGroup;let w=u&&d&&!y.leafGroup;w&&(m??(m=this.shouldSortContainsGroupCols(e)),w&&(w=!m));let S=null;if(w){let E=!1;if(h){const T=y.level+1;T<h.length&&(E=h[T].getSort()===null)}E||(S=Foe(y))}else!e.length||b||(t&&n?S=_oe(a,y,n,o,e):S=a.doFullSort(y.childrenAfterAggFilter,e));if(S||(S=y.childrenAfterAggFilter?.slice(0)??[]),g||(g=y.childrenAfterSort?.[0]!==S[0]),y.childrenAfterSort=S,fk(y),f){const E={nodes:y.childrenAfterSort};f(E)}};if(o?.forEachChangedNodeDepthFirst(v),g&&i.get("groupHideOpenParents")){const y=c?.getShowRowGroupCols();y?.length&&l.refreshCells({columns:y,force:!0})}}shouldSortContainsGroupCols(e){const t=e.length;if(!t)return!1;if(Es(this.gos)){for(let n=0;n<t;++n){const o=e[n].column;if(o.isPrimary()&&o.isRowGroupActive())return!0}return!1}for(let n=0;n<t;++n)if(e[n].column.getColDef().showRowGroup)return!0;return!1}},_oe=(e,t,n,o,i)=>{const s=t.childrenAfterAggFilter,r=t.childrenAfterSort;if(!r)return e.doFullSort(s,i);const a=new Set,l=[],{updates:c,adds:u}=n;for(let h=0,p=s.length;h<p;++h){const f=s[h];c.has(f)||u.has(f)||o&&!o.canSkip(f)?l.push({currentPos:l.length,rowNode:f}):a.add(f)}const d=r.filter(h=>a.has(h)).map((h,p)=>({currentPos:p,rowNode:h}));return l.sort((h,p)=>e.compareRowNodes(i,h,p)),Ioe(e,i,l,d)},Ioe=(e,t,n,o)=>{let i=0,s=0;const r=n.length,a=o.length,l=new Array(r+a);let c=0;for(;i<r&&s<a;){const u=n[i],d=o[s];e.compareRowNodes(t,u,d)<0?(l[c++]=u.rowNode,++i):(l[c++]=d.rowNode,++s)}for(;i<r;)l[c++]=n[i++].rowNode;for(;s<a;)l[c++]=o[s++].rowNode;return l},Foe=e=>{const t=e.childrenAfterSort,n=e.childrenAfterAggFilter,o=t?.length,i=n?.length;if(!o||!i)return null;const s=new Array(i),r=new Set;for(let l=0;l<i;++l)r.add(n[l]);let a=0;for(let l=0;l<o;++l){const c=t[l];r.delete(c)&&(s[a++]=c)}if(r.size===0&&a===o)return t;for(const l of r)s[a++]=l;return s.length=a,s},Ooe=class extends we{constructor(){super(...arguments),this.beanName="rowModel",this.rootNode=null,this.rowCountReady=!1,this.nodeManager=void 0,this.rowsToDisplay=[],this.rowDataUpdatedPending=!1,this.asyncTransactions=null,this.asyncTransactionsTimer=0,this.started=!1,this.refreshingModel=!1,this.rowNodesCountReady=!1,this.stages=[],this.stagesRefreshPro
95ps=new Map,this.onRowHeightChanged_debounced=qn(this,this.onRowHeightChanged.bind(this),100)}postConstruct(){const e=this.beans,t=new Aa(e);this.rootNode=t,this.nodeManager=this.createBean(new Poe(t));const n=this.refreshModel.bind(this,{step:"group"}),o=this.refreshModel.bind(this,{step:"group",afterColumnsChanged:!0,keepRenderedRows:!0,animate:!this.gos.get("suppressAnimationFrame")});this.addManagedEventListeners({newColumnsLoaded:o,columnRowGroupChanged:n,columnValueChanged:this.onValueChanged.bind(this),columnPivotChanged:this.refreshModel.bind(this,{step:"pivot"}),filterChanged:this.onFilterChanged.bind(this),sortChanged:this.onSortChanged.bind(this),columnPivotModeChanged:n,gridStylesChanged:this.onGridStylesChanges.bind(this),gridReady:this.onGridReady.bind(this),rowExpansionStateChanged:this.onRowGroupOpened.bind(this)}),this.addPropertyListeners()}addPropertyListeners(){const{beans:e,stagesRefreshProps:t}=this,n=[e.groupStage,e.filterStage,e.pivotStage,e.aggStage,e.sortStage,e.filterAggStage,e.flattenStage].filter(o=>!!o);this.stages=n;for(let o=n.length-1;o>=0;--o)for(const i of n[o].refreshProps)t.set(i,o);this.addManagedPropertyListeners([...t.keys()],o=>{const i=o.changeSet?.properties;i&&this.onPropChange(i)}),this.addManagedPropertyListener("rowData",()=>this.onPropChange(["rowData"])),this.addManagedPropertyListener("rowHeight",()=>this.resetRowHeights())}start(){this.started=!0,this.rowNodesCountReady?this.refreshModel({step:"group",rowDataUpdated:!0,newData:!0}):this.setInitialData()}setInitialData(){this.gos.get("rowData")&&this.onPropChange(["rowData"])}ensureRowHeightsValid(e,t,n,o){let i,s=!1;do{i=!1;const r=this.getRowIndexAtPixel(e),a=this.getRowIndexAtPixel(t),l=Math.max(r,n),c=Math.min(a,o);for(let u=l;u<=c;u++){const d=this.getRow(u);if(d.rowHeightEstimated){const h=Da(this.beans,d);d.setRowHeight(h.height),i=!0,s=!0}}i&&this.setRowTopAndRowIndex()}while(i);return s}onPropChange(e){const{nodeManager:t,gos:n,beans:o}=this,i=o.groupStage;if(!t)return;const s=new Set(e),r=i?.onPropChange(s);let a;s.has("rowData")?a=n.get("rowData"):r&&(a=i?.extractData()),a&&!Array.isArray(a)&&(a=null,Me(1));const l={step:"nothing",changedProps:s};a&&(!r&&!this.isEmpty()&&a.length>0&&n.exists("getRowId")&&!n.get("resetRowDataOnUpdate")?(l.keepRenderedRows=!0,l.animate=!n.get("suppressAnimationFrame"),l.changedRowNodes=new E1,t.setImmutableRowData(l,a)):(l.rowDataUpdated=!0,l.newData=!0,t.setNewRowData(a),this.rowNodesCountReady=!0));const c=l.rowDataUpdated?"group":this.getRefreshedStage(e);c&&(l.step=c,this.refreshModel(l))}
95getRefreshedStage(e){const{stages:t,stagesRefreshProps:n}=this,o=t.length;let i=o;for(let s=0,r=e.length;s<r&&i;++s)i=Math.min(i,n.get(e[s])??i);return i<o?t[i].step:null}setRowTopAndRowIndex(e){const{beans:t,rowsToDisplay:n}=this,o=t.environment.getDefaultRowHeight();let i=0;const s=Jn(this.gos,"normal");for(let r=0,a=n.length;r<a;++r){const l=n[r],c=l.id;if(c!=null&&e?.add(c),l.rowHeight==null){const u=Da(t,l,s,o);l.setRowHeight(u.height,u.estimated)}l.setRowTop(i),l.setRowIndex(r),i+=l.rowHeight}}clearRowTopAndRowIndex(e,t){const n=e.active,o=r=>{r?.id!=null&&!t.has(r.id)&&r.clearRowTopAndRowIndex()},i=r=>{o(r),o(r.detailNode),o(r.sibling);const a=r.childrenAfterGroup;if(!r.hasChildren()||!a)return;const l=r.level==-1;if(!(n&&!l&&!r.expanded))for(let u=0,d=a.length;u<d;++u)i(a[u])},s=this.rootNode;s&&i(s)}isLastRowIndexKnown(){return!0}getRowCount(){return this.rowsToDisplay.length}getTopLevelRowCount(){const{rootNode:e,rowsToDisplay:t}=this;if(!e||!t.length)return 0;if(t[0]===e)return 1;const o=e.sibling?.displayed?1:0;return(e.childrenAfterSort?.length??0)+o}getTopLevelRowDisplayedIndex(e){const{beans:t,rootNode:n,rowsToDisplay:o}=this;if(!n||!o.length||o[0]===n)return e;const s=n.childrenAfterSort,r=l=>{let c=s[l];if(this.gos.get("groupHideOpenParents"))for(;c.expanded&&c.childrenAfterSort&&c.childrenAfterSort.length>0;)c=c.childrenAfterSort[0];return c.rowIndex},a=t.footerSvc;return a?a?.getTopDisplayIndex(o,e,s,r):r(e)}getTopLevelIndexFromDisplayedIndex(e){const{rootNode:t,rowsToDisplay:n}=this;if(!t||!n.length||n[0]===t)return e;let i=this.getRow(e);i.footer&&(i=i.sibling);let s=i.parent;for(;s&&s!==t;)i=s,s=i.parent;const r=t.childrenAfterSort?.indexOf(i)??-1;return r>=0?r:e}getRowBounds(e){const t=this.rowsToDisplay[e];return t?{rowTop:t.rowTop,rowHeight:t.rowHeight}:null}onRowGroupOpened(){this.refreshModel({step:"map",keepRenderedRows:!0,animate:uu(this.gos)})}onFilterChanged({afterDataChange:e,columns:t}){if(!e){const o=t.length===0||t.some(i=>i.isPrimary())?"filter":"filter_aggregates";this.refreshModel({step:o,keepRenderedRows:!0,animate:uu(this.gos)})}}onSortChanged(){this.refreshModel({step:"sort",keepRenderedRows:!0,animate:uu(this.gos)})}getType(){return"clientSide"}onValueChanged(){this.refreshModel({step:this.beans.colModel.isPivotActive()?"pivot":"aggregate"})}createChangePath(e){const t=new Zh(!1,this.rootNode);return t.active=e,t}isSuppressModelUpdateAfterUpdateTransaction(e){if(!this.gos.get("suppressModelUpdateAfterUpdateTransaction"))return!1;const{changedRowNodes:t,newData:n,rowDataUpdated:o}=e;return!(!t||n||!o||t.removals.size||t.adds.size)}refreshModel(e){const{nodeManager:t,beans:n,eventSvc:o,started:i,refreshingModel:s}=this;if(!t)return;const r=!!e.rowDataUpdated,a=e.changedPath??(e.changedPath=this.createChangePath(!e.newData&&r));if(i&&r&&o.dispatchEvent({type:"rowDataUpdated"}),!i||s||n.colModel.changeEventsDispatching||this.isSuppressModelUpdateAfterUpdateTransaction(e)){this.rowDataUpdatedPending||(this.rowDataUpdatedPending=r);return}switch(this.rowDataUpdatedPending&&(this.rowDataUpdatedPending=!1,e.step="group"),this.refreshingModel=!0,n.masterDetailSvc?.refreshModel(e),r&&e.step!=="group"&&n.colFilter?.refreshModel(),e.step){case"group":this.doGrouping(e);case"filter":this.doFilter(a);case"pivot":this.doPivot(a);case"aggregate":this.doAggregate(a);case"filter_aggregates":this.doFilterAggregates(a);case"sort":this.doSort(e.changedRowNodes,a);case"map":this.doRowsToDisplay()}const l=new Set;this.setRowTopAndRowIndex(l),this.clearRowTopAndRowIndex(a,l),this.refreshingModel=!1,o.dispatchEvent({type:"modelUpdated",animate:e.animate,keepRenderedRows:e.keepRenderedRows,newData:e.newData,newPage:!1,keepUndoRedoStack:e.keepUndoRedoStack})}isEmpty(){return!this.rootNode?._leafs?.length||!this.beans.colModel?.ready}isRowsToRender(){return this.rowsToDisplay.length>0}getNodesInRangeForSelection(e,t){let n=!1,o=!1;const i=[],s=zh(this.gos);return this.forEachNodeAfterFilterAndSort(r=>{if(o)return;if(n&&(r===t||r===e)&&(o=!0,s&&r.group)){gk(i,r);return}if(!n){if(r!==t&&r!==e)return;n=!0,t===e&&(o=!0)}(!r.group||!s)&&i.push(r)}),i}getTopLevelNodes(){return this.rootNode?.childrenAfterGroup??null}getRow(e){return this.rowsToDisplay[e]}isRowPresent(e){return this.rowsToDisplay.indexOf(e)>=0}getRowIndexAtPixel(e){const t=this.rowsToDisplay,n=t.length;if(this.isEmpty()||n===0)return-1;let o=0,i=n-1;if(e<=0)return 0;if(t[i].rowTop<=e)return i;let r=-1,a=-1;for(;;){const l=Math.floor((o+i)/2),c=t[l];if(this.isRowInPixel(c,e)||(c.rowTop<e?o=l+1:c.rowTop>e&&(i=l-1),r===o&&a===i))return l;r=o,a=i}}isRowInPixel(e,t){const n=e.rowTop,o=n+e.rowHeight;return n<=t&&o>t}forEachLeafNode(e){const t=this.rootNode?._leafs;if(t)for(let n=0,o=t.length;n<o;++n)e(t[n],n)}forEachNode(e,t=!1){this.depthFirstSearchRowNodes(e,t)}forEachDisplayedNode(e){const t=this.rowsToDisplay;for(let n=0,o=t.length;n<o;++n)e(t[n],n)}forEachNodeAfterFilter(e,t=!1){this.depthFirstSearchRowNodes(e,t,n=>n.childrenAfterAggFilter)}forEachNodeAfterFilterAndSort(e,t=!1){this.depthFirstSearchRowNodes(e,t,n=>n.childrenAfterSort)}forEachPivotNode(e,t,n){const{colModel:o,rowGroupColsSvc:i}=this.beans;if(!o.isPivotMode())return;if(!i?.columns.length){e(this.rootNode,0);return}const s=n?"childrenAfterSort":"childrenAfterGroup";this.depthFirstSearchRowNodes(e,t,r=>r.leafGroup?null:r[s])}depthFirstSearchRowNodes(e,t=!1,n=s=>s.childrenAfterGroup,o=this.rootNode,i=0){let s=i;if(!o)return s;const r=o===this.rootNode;if(r||e(o,s++),o.hasChildren()&&!o.footer){const a=n(o);if(a){const l=this.beans.footerSvc;s=l?.addTotalRows(s,o,e,t,r,"top")??s;for(const c of a)s=this.depthFirstSearchRowNodes(e,t,n,c,s);return l?.addTotalRows(s,o,e,t,r,"bottom")??s}}return s}doAggregate(e){const t=this.rootNode;t&&this.beans.aggStage?.execute({rowNode:t,changedPath:e})}doFilterAggregates(e){const t=this.rootNode,n=this.beans.filterAggStage;if(n){n.execute({rowNode:t,changedPath:e});return}t.childrenAfterAggFilter=t.childrenAfterFilter}doSort(e,t){const n=this.beans.sortStage;if(n){n.execute({rowNode:this.rootNode,changedRowNodes:e,changedPath:t});return}t.forEachChangedNodeDepthFirst(o=>{o.childrenAfterSort=o.childrenAfterAggFilter.slice(0),fk(o)})}doGrouping(e){const t=this.rootNode,o=this.beans.groupStage?.execute({rowNode:t,changedRowNodes:e.changedRowNodes,changedPath:e.changedPath,afterColumnsChanged:!!e.afterColumnsChanged});if(o===void 0){const i=t._leafs;t.childrenAfterGroup=i,t.updateHasChildren();const s=t.sibling;s&&(s.childrenAfterGroup=i)}(o||e.rowDataUpdated)&&this.beans.colFilter?.refreshModel(),!this.rowCountReady&&this.rowNodesCountReady&&(this.rowCountReady=!0,this.eventSvc.dispatchEventOnce({type:"rowCountReady"}))}doFilter(e){const t=this.beans.filterStage;if(t){t.execute({rowNode:this.rootNode,changedPath:e});return}e.forEachChangedNodeDepthFirst(n=>{n.childrenAfterFilter=n.childrenAfterGroup,VD(n)},!0)}doPivot(e){this.beans.pivotStage?.execute({rowNode:this.rootNode,changedPath:e})}getRowNode(e){const t=this.nodeManager?.getRowNode(e);return typeof t=="object"?t:typeof e=="string"&&e.indexOf(h5)===0?this.beans.groupStage?.getNode(e):void 0}batchUpdateRowData(e,t){if(!this.asyncTransactionsTimer){this.asyncTransactions=[];const n=this.gos.get("asyncTransactionWaitMillis");this.asyncTransactionsTimer=setTimeout(()=>this.executeBatchUpdateRowData(),n)}this.asyncTransactions.push({rowDataTransaction:e,callback:t})}flushAsyncTransactions(){const e=this.asyncTransactionsTimer;e&&(clearTimeout(e),this.executeBatchUpdateRowData())}executeBatchUpdateRowData(){const{nodeManager:e,beans:t,eventSvc:n,asyncTransactions:o}=this;if(!e)return;t.valueCache?.onDataChanged();const i=[],s=[],r=new E1;for(const{rowDataTransaction:a,callback:l}of o??[]){this.rowNodesCountReady=!0;const c=e.updateRowData(a,r);i.push(c),l&&s.push(l.bind(null,c))}this.commitTransactions(r),s.length>0&&setTimeout(()=>{for(let a=0,l=s.length;a<l;a++)s[a]()},0),i.length>0&&n.dispatchEvent({type:"asyncTransactionsFlushed",results:i}),this.asyncTransactionsTimer=0,this.asyncTransactions=null}updateRowData(e){const t=this.nodeManager;if(!t)return null;this.beans.valueCache?.onDataChanged(),this.rowNodesCountReady=!0;const n=new E1,o=t.updateRowData(e,n);return this.commitTransactions(n),o}commitTransactions(e){this.refreshModel({step:"group",rowDataUpdated:!0,keepRenderedRows:!0,animate:!this.gos.get("suppressAnimationFrame"),changedRowNodes:e,changedPath:this.createChangePath(!0)})}doRowsToDisplay(){const{beans:e,rootNode:t}=this,n=e.flattenStage;if(n){this.rowsToDisplay=n.execute({rowNode:t});return}const o=this.rootNode.childrenAfterSort??[];for(const i of o)i.setUiLevel(0);this.rowsToDisplay=o}onRowHeightChanged(){this.refreshModel({step:"map",keepRenderedRows:!0,keepUndoRedoStack:!0})}resetRowHeights(){const e=this.rootNode;if(!e)return;const t=this.resetRowHeightsForAllRowNodes();e.setRowHeight(e.rowHeight,!0);const n=e.sibling;n?.setRowHeight(n.rowHeight,!0),t&&this.onRowHeightChanged()}resetRowHeightsForAllRowNodes(){let e=!1;return this.forEachNode(t=>{t.setRowHeight(t.rowHeight,!0);const n=t.detailNode;n?.setRowHeight(n.rowHeight,!0);const o=t.sibling;o?.setRowHeight(o.rowHeight,!0),e=!0}),e}onGridStylesChanges(e){e.rowHeightChanged&&!this.beans.rowAutoHeight?.active&&this.resetRowHeights()}onGridReady(){this.started||this.setInitialData()}destroy(){super.destroy(),this.nodeManager=this.destroyBean(this.nodeManager),this.started=!1,this.rootNode=null,this.rowsToDisplay=[],this.asyncTransactions=null,clearTimeout(this.asyncTransactionsTimer)}onRowHeightChangedDebounced(){this.onRowHeightChanged_debounced()}},gk=(e,t)=>{const n=t.childrenAfterGroup;if(n)for(let o=0,i=n.length;o<i;++o){const s=n[o];s.data&&e.push(s),s.group&&gk(e,s)}};function Noe(e){e.expansionSvc?.onGroupExpandedOrCollapsed()}function Boe(e,t){const n=ja(e);n&&((!t||t==="everything")&&(t="group"),n.refreshModel({step:t,keepRenderedRows:!0,animate:!e.gos.get("suppressAnimationFrame")}))}function Hoe(e){return ja(e)?.isEmpty()??!0}function Voe(e,t){ja(e)?.forEachLeafNode(t)}function $oe(e,t){ja(e)?.forEachNodeAfterFilter(t)}function Woe(e,t){ja(e)?.forEachNodeAfterFilterAndSort(t)}function Goe(e,t){return e.frameworkOverrides.wrapIncoming(()=>ja(e)?.updateRowData(t))}function zoe(e,t,n){e.frameworkOverrides.wrapIncoming(()=>ja(e)?.batchUpdateRowData(t,n))}function Uoe(e){e.frameworkOverrides.wrapIncoming(()=>ja(e)?.flushAsyncTransactions())}function joe(e){return e.selectionSvc?.getBestCostNodeSelection()}var Zoe={moduleName:"ClientSideRowModel",version:We,rowModels:["clientSide"],beans:[Ooe,Aoe],dependsOn:[OD]},Koe={moduleName:"ClientSideRowModelApi",version:We,apiFunctions:{onGroupExpandedOrCollapsed:Noe,refreshClientSideRowModel:Boe,isRowDataEmpty:Hoe,forEachLeafNode:Voe,forEachNodeAfterFilter:$oe,forEachNodeAfterFilterAndSort:Woe,applyTransaction:Goe,applyTransactionAsync:zoe,flushAsyncTransactions:Uoe,getBe
95stCostNodeSelection:joe,resetRowHeights:pk,onRowHeightChanged:hk},dependsOn:[woe,Soe]},qoe=class extends we{constructor(){super(...arguments),this.beanName="gridSerializer"}wireBeans(e){this.visibleCols=e.visibleCols,this.colModel=e.colModel,this.rowModel=e.rowModel,this.pinnedRowModel=e.pinnedRowModel}serialize(e,t={}){const{allColumns:n,columnKeys:o,skipRowGroups:i,exportRowNumbers:s}=t,r=this.getColumnsToExport({allColumns:n,skipRowGroups:i,columnKeys:o,exportRowNumbers:s});return[this.prepareSession(r),this.prependContent(t),this.exportColumnGroups(t,r),this.exportHeaders(t,r),this.processPinnedTopRows(t,r),this.processRows(t,r),this.processPinnedBottomRows(t,r),this.appendContent(t)].reduce((a,l)=>l(a),e).parse()}processRow(e,t,n,o){const i=t.shouldRowBeSkipped||(()=>!1),r=t.rowPositions!=null||!!t.onlySelected,a=this.gos.get("groupHideOpenParents")&&!r,l=this.colModel.isPivotMode()?o.leafGroup:!o.group,c=!!o.footer,u=o.allChildrenCount===1&&o.childrenAfterGroup?.length===1&&YG(this.gos,o);if(!l&&!c&&(t.skipRowGroups||u||a)||t.onlySelected&&!o.isSelected()||t.skipPinnedTop&&o.rowPinned==="top"||t.skipPinnedBottom&&o.rowPinned==="bottom"||o.stub||o.level===-1&&!l&&!c||i(st(this.gos,{node:o})))return;const p=e.onNewBodyRow(o);if(n.forEach((f,g)=>{p.onColumn(f,g,o)}),t.getCustomContentBelowRow){const f=t.getCustomContentBelowRow(st(this.gos,{node:o}));f&&e.addCustomContent(f)}}appendContent(e){return t=>{const n=e.appendContent;return n&&t.addCustomContent(n),t}}prependContent(e){return t=>{const n=e.prependContent;return n&&t.addCustomContent(n),t}}prepareSession(e){return t=>(t.prepare(e),t)}exportColumnGroups(e,t){return n=>{if(!e.skipColumnGroupHeaders){const o=new fx,{colGroupSvc:i}=this.beans,s=i?i.createColumnGroups({columns:t,idCreator:o,pinned:null,isStandaloneStructure:!0}):t;this.recursivelyAddHeaderGroups(s,n,e.processGroupHeaderCallback)}return n}}exportHeaders(e,t){return n=>{if(!e.skipColumnHeaders){const o=n.onNewHeaderRow();t.forEach((i,s)=>{o.onColumn(i,s,void 0)})}return n}}processPinnedTopRows(e,t){return n=>{const o=this.processRow.bind(this,n,e,t);return e.rowPositions?e.rowPositions.filter(i=>i.rowPinned==="top").sort((i,s)=>i.rowIndex-s.rowIndex).map(i=>this.pinnedRowModel?.getPinnedTopRow(i.rowIndex)).forEach(o):this.pinnedRowModel?.isManual()||this.pinnedRowModel?.forEachPinnedRow("top",o),n}}processRows(e,t){return n=>{const o=this.rowModel,i=kn(this.gos),s=od(this.gos),r=!i&&e.onlySelected,a=this.processRow.bind(this,n,e,t),{exportedRows:l="filteredAndSorted"}=e;if(e.rowPositions)e.rowPositions.filter(c=>c.rowPinned==null).sort((c,u)=>c.rowIndex-u.rowIndex).map(c=>o.getRow(c.rowIndex)).forEach(a);else if(this.colModel.isPivotMode())i?o.forEachPivotNode(a,!0,l==="filteredAndSorted"):s?o.forEachNodeAfterFilterAndSort(a,!0):o.forEachNode(a);else if(e.onlySelectedAllPages||r){const c=this.beans.selectionSvc?.getSelectedNodes()??[];this.replicateSortedOrder(c),c.forEach(a)}else l==="all"?o.forEachNode(a):i||s?o.forEachNodeAfterFilterAndSort(a,!0):o.forEachNode(a);return n}}replicateSortedOrder(e){const{sortSvc:t,rowNodeSorter:n}=this.beans;if(!t||!n)return;const o=t.getSortOptions(),i=(s,r)=>s.rowIndex!=null&&r.rowIndex!=null?s.rowIndex-r.rowIndex:s.level===r.level?s.parent?.id===r.parent?.id?n.compareRowNodes(o,{rowNode:s,currentPos:s.rowIndex??-1},{rowNode:r,currentPos:r.rowIndex??-1}):i(s.parent,r.parent):s.level>r.level?i(s.parent,r):i(s,r.parent);e.sort(i)}processPinnedBottomRows(e,t){return n=>{const o=this.processRow.bind(this,n,e,t);return e.rowPositions?e.rowPositions.filter(i=>i.rowPinned==="bottom").sort((i,s)=>i.rowIndex-s.rowIndex).map(i=>this.pinnedRowModel?.getPinnedBottomRow(i.rowIndex)).forEach(o):this.pinnedRowModel?.isManual()||this.pinnedRowModel?.forEachPinnedRow("bottom",o),n}}getColumnsToExport(e){const{allColumns:t=!1,skipRowGroups:n=!1,exportRowNumbers:o=!1,columnKeys:i}=e,{colModel:s,gos:r,visibleCols:a}=this,l=s.isPivotMode(),c=h=>Hr(h)?!1:!gr(h)||o;if(i?.length)return s.getColsForKeys(i).filter(c);const u=r.get("treeData");let d=[];return t&&!l?d=s.getCols():d=a.allCols,d=d.filter(h=>c(h)&&(n&&!u?!$4(h):!0)),d}recursivelyAddHeaderGroups(e,t,n){const o=[];for(const i of e){const s=i;if(s.getChildren)for(const r of s.getChildren()??[])o.push(r)}e.length>0&&xn(e[0])&&this.doAddHeaderHeader(t,e,n),o&&o.length>0&&this.recursivelyAddHeaderGroups(o,t,n)}doAddHeaderHeader(e,t,n){const o=e.onNewHeaderGroupingRow();let i=0;for(const s of t){const r=s;let a;n?a=n(st(this.gos,{columnGroup:r})):a=this.beans.colNames.getDisplayNameForColumnGroup(r,"header");const c=(r.isExpandable()?r.getLeafColumns():[]).reduce((u,d,h,p)=>{let f=on(u);return d.getColumnGroupShow()==="open"?(!f||f[1]!=null)&&(f=[h],u.push(f)):f&&f[1]==null&&(f[1]=h-1),h===p.length-1&&f&&f[1]==null&&(f[1]=h),u},[]);o.onColumn(r,a||"",i++,r.getLeafColumns().length-1,c)}}},Yoe={moduleName:"SharedExport",version:We,beans:[qoe]},h9=`\r
96`,Xoe=class extends Ree{constructor(e){super(e),this.config=e,this.isFirstLine=!0,this.result="";const{suppressQuotes:t,columnSeparator:n}=e;this.suppressQuotes=t,this.columnSeparator=n}
vendor: 1,039 bytes, line 96
96addCustomContent(e){e&&(typeof e=="string"?(/^\s*\n/.test(e)||this.beginNewLine(),e=e.replace(/\r?\n/g,h9),this.result+=e):e.forEach(t=>{this.beginNewLine(),t.forEach((n,o)=>{o!==0&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(n.data.value||""),n.mergeAcross&&this.appendEmptyCells(n.mergeAcross)})}))}onNewHeaderGroupingRow(){return this.beginNewLine(),{onColumn:this.onNewHeaderGroupingRowColumn.bind(this)}}onNewHeaderGroupingRowColumn(e,t,n,o){n!=0&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(t),this.appendEmptyCells(o)}appendEmptyCells(e){for(let t=1;t<=e;t++)this.result+=this.columnSeparator+this.putInQuotes("")}onNewHeaderRow(){return this.beginNewLine(),{onColumn:this.onNewHeaderRowColumn.bind(this)}}onNewHeaderRowColumn(e,t){t!=0&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(this.extractHeaderValue(e))}onNewBodyRow(){return this.beginNewLine(),{onColumn:this.onNewBodyRowColumn.bind(this)}}onNewBodyRowColumn(e,t,n){t!=0&&(this.result+=this.columnSeparator);
96const o=this.extractRowCellValue(e,t,t,"csv",n);this.result+=this.putInQuotes(o.valueFormatted??o.value)}putInQuotes(e){if(this.suppressQuotes)return e;if(e==null)return'""';let t;return typeof e=="string"?t=e:typeof e.toString=="function"?t=e.toString():(Me(53),t=""),'"'+t.replace(/"/g,'""')+'"'}parse(){return this.result}beginNewLine(){this.isFirstLine||(this.result+=h9),this.isFirstLine=!1}},Joe=class extends Tee{constructor(){super(...arguments),this.beanName="csvCreator"}wireBeans(e){this.colModel=e.colModel,this.colNames=e.colNames,this.rowGroupColsSvc=e.rowGroupColsSvc,this.valueSvc=e.valueSvc}getMergedParams(e){const t=this.gos.get("defaultCsvExportParams");return Object.assign({},t,e)}export(e){if(this.isExportSuppressed()){Me(51);return}const t=this.getMergedParams(e),n=this.getData(t),o=new Blob(["\uFEFF",n],{type:"text/plain"}),i=typeof t.fileName=="function"?t.fileName(st(this.gos,{})):t.fileName;Pee(this.getFileName(i),o)}exportDataAsCsv(e){this.export(e)}getDataAsCsv(e,t=!1){const n=t?Object.assign({},e):this.getMergedParams(e);return this.getData(n)}getDefaultFileExtension(){return"csv"}createSerializingSession(e){const{colModel:t,colNames:n,rowGroupColsSvc:o,valueSvc:i,gos:s}=this,{processCellCallback:r,processHeaderCallback:a,processGroupHeaderCallback:l,processRowGroupCallback:c,suppressQuotes:u,columnSeparator:d}=e;return new Xoe({colModel:t,colNames:n,valueSvc:i,gos:s,processCellCallback:r||void 0,processHeaderCallback:a||void 0,processGroupHeaderCallback:l||void 0,processRowGroupCallback:c||void 0,suppressQuotes:u||!1,columnSeparator:d||",",rowGroupColsSvc:o})}isExportSuppressed(){return this.gos.get("suppressCsvExport")}};function Qoe(e,t){return e.csvCreator?.getDataAsCsv(t)}function eie(e,t){e.csvCreator?.exportDataAsCsv(t)}var tie={moduleName:"CsvExport",version:We,beans:[Joe],apiFunctions:{getDataAsCsv:Qoe,exportDataAsCsv:eie},dependsOn:[Yoe]},nie=class extends we{constructor(e,t,n){super(),this.id=e,this.parentCache=t,this.params=n,this.state="needsLoading",this.version=0,this.startRow=e*n.blockSize,this.endRow=this.startRow+n.blockSize}load(){this.state="loading",this.loadFromDatasource()}setStateWaitingToLoad(){this.version++,this.state="needsLoading"}pageLoadFailed(e){this.isRequestMostRecentAndLive(e)&&(this.state="failed"),this.dispatchLocalEvent({type:"loadComplete"})}pageLoaded(e,t,n){this.successCommon(e,{rowData:t,rowCount:n})}isRequestMostRecentAndLive(e){const t=e===this.version,n=this.isAlive();return t&&n}successCommon(e,t){this.dispatchLocalEvent({type:"loadComplete"}),this.isRequestMostRecentAndLive(e)&&(this.state="loaded",this.processServerResult(t))}postConstruct(){this.rowNodes=[];const{params:{blockSize:e,rowHeight:t},startRow:n,beans:o,rowNodes:i}=this;for(let s=0;s<e;s++){const r=n+s,a=new Aa(o);a.setRowHeight(t),a.uiLevel=0,a.setRowIndex(r),a.setRowTop(t*r),i.push(a)}}getBlockStateJson(){const{id:e,startRow:t,endRow:n,state:o}=this;return{id:""+e,state:{blockNumber:e,startRow:t,endRow:n,pageStatus:o}}}setDataAndId(e,t,n){Ge(t)?e.setDataAndId(t,n.toString()):e.setDataAndId(void 0,void 0)}loadFromDatasource(){const e=this.createLoadParams();if(pn(this.params.datasource.getRows)){Me(90);return}window.setTimeout(()=>{this.params.datasource.getRows(e)},0)}createLoadParams(){const{startRow:e,endRow:t,version:n,params:{sortModel:o,filterModel:i},gos:s}=this;return{startRow:e,endRow:t,successCallback:this.pageLoaded.bind(this,n),failCallback:this.pageLoadFailed.bind(this,n),sortModel:o,filterModel:i,context:st(s,{}).context}}forEachNode(e,t,n){this.rowNodes.forEach((o,i)=>{this.startRow+i<n&&e(o,t.value++)})}getRow(e,t=!1){t||(this.lastAccessed=this.params.lastAccessedSequence.value++);const n=e-this.startRow;return this.rowNodes[n]}processServerResult(e){const{rowNodes:t,beans:n}=this;t.forEach((i,s)=>{const r=e.rowData?e.rowData[s]:void 0;!i.id&&i.alreadyRendered&&r&&(t[s]=new Aa(n),t[s].setRowIndex(i.rowIndex),t[s].setRowTop(i.rowTop),t[s].setRowHeight(i.rowHeight),i.clearRowTopAndRowIndex()),this.setDataAndId(t[s],r,this.startRow+s)});const o=e.rowCount!=null&&e.rowCount>=0?e.rowCount:void 0;this.parentCache.pageLoaded(this,o)}destroy(){for(const e of this.rowNodes)e.clearRowTopAndRowIndex();super.destroy()}},oie=2,iie=class extends we{constructor(e){super(),this.params=e,this.lastRowIndexKnown=!1,this.blocks={},this.blockCount=0,this.rowCount=e.initialRowCount}getRow(e,t=!1){const n=Math.floor(e/this.params.blockSize);let o=this.blocks[n];if(!o){if(t)return;o=this.createBlock(n)}return o.getRow(e)}createBlock(e){const t=this.params,n=this.createBean(new nie(e,this,t));return this.blocks[n.id]=n,this.blockCount++,this.purgeBlocksIfNeeded(n),t.rowNodeBlockLoader.addBlock(n),n}refreshCache(){if(this.blockCount==0){this.purgeCache();return}for(const t of this.getBlocksInOrder())t.setStateWaitingToLoad();this.params.rowNodeBlockLoader.checkBlockToLoad()}destroy(){for(const e of this.getBlocksInOrder())this.destroyBlock(e);super.destroy()}getRowCount(){return this.rowCount}isLastRowIndexKnown(){return this.lastRowIndexKnown}pageLoaded(e,t){this.isAlive()&&(xa(this.gos,`InfiniteCache - onPageLoaded: page = ${e.id}, lastRow = ${t}`),this.checkRowCount(e,t),this.onCacheUpdated())}purgeBlocksIfNeeded(e){const t=this.getBlocksInOrder().filter(r=>r!=e),n=(r,a)=>a.lastAccessed-r.lastAccessed;t.sort(n);const o=this.params.maxBlocksInCache>0,i=o?this.params.maxBlocksInCache-1:null,s=oie-1;t.forEach((r,a)=>{const l=r.state==="needsLoading"&&a>=s,c=o?a>=i:!1;if(l||c){if(this.isBlockCurrentlyDisplayed(r)||this.isBlockFocused(r))return;
vendor: 5,876 bytes, line 96
96this.removeBlockFromCache(r)}})}isBlockFocused(e){const t=this.beans.focusSvc.getFocusCellToUseAfterRefresh();if(!t||t.rowPinned!=null)return!1;const{startRow:n,endRow:o}=e;return t.rowIndex>=n&&t.rowIndex<o}isBlockCurrentlyDisplayed(e){const{startRow:t,endRow:n}=e;return this.beans.rowRenderer.isRangeInRenderedViewport(t,n-1)}removeBlockFromCache(e){e&&this.destroyBlock(e)}checkRowCount(e,t){if(typeof t=="number"&&t>=0)this.rowCount=t,this.lastRowIndexKnown=!0;else if(!this.lastRowIndexKnown){const{blockSize:n,overflowSize:o}=this.params,s=(e.id+1)*n+o;this.rowCount<s&&(this.rowCount=s)}}setRowCount(e,t){this.rowCount=e,Ge(t)&&(this.lastRowIndexKnown=t),this.lastRowIndexKnown||this.rowCount%this.params.blockSize===0&&this.rowCount++,this.onCacheUpdated()}forEachNodeDeep(e){const t={value:0};for(const n of this.getBlocksInOrder())n.forEachNode(e,t,this.rowCount)}getBlocksInOrder(){const e=(n,o)=>n.id-o.id;return Object.values(this.blocks).sort(e)}destroyBlock(e){delete this.blocks[e.id],this.destroyBean(e),this.blockCount--,this.params.rowNodeBlockLoader.removeBlock(e)}onCacheUpdated(){this.isAlive()&&(this.destroyAllBlocksPastVirtualRowCount(),this.eventSvc.dispatchEvent({type:"storeUpdated"}))}destroyAllBlocksPastVirtualRowCount(){const e=[];for(const t of this.getBlocksInOrder())t.id*this.params.blockSize>=this.rowCount&&e.push(t);if(e.length>0)for(const t of e)this.destroyBlock(t)}purgeCache(){for(const e of this.getBlocksInOrder())this.removeBlockFromCache(e);this.lastRowIndexKnown=!1,this.rowCount===0&&(this.rowCount=this.params.initialRowCount),this.onCacheUpdated()}getRowNodesInRange(e,t){const n=[];let o=-1,i=!1;const s={value:0};let r=!1;for(const l of this.getBlocksInOrder())if(!r){if(i&&o+1!==l.id){r=!0;continue}o=l.id,l.forEachNode(c=>{const u=c===e||c===t;(i||u)&&n.push(c),u&&(i=!i)},s,this.rowCount)}return r||i?[]:n}},sie=class extends we{constructor(){super(...arguments),this.beanName="rowModel",this.rootNode=null}getRowBounds(e){return{rowHeight:this.rowHeight,rowTop:this.rowHeight*e}}ensureRowHeightsValid(){return!1}postConstruct(){if(this.gos.get("rowModelType")!=="infinite")return;const e=this.beans,t=new Aa(e);this.rootNode=t,t.level=-1,this.rowHeight=Al(e),this.addEventListeners(),this.addDestroyFunc(()=>this.destroyCache())}start(){this.setDatasource(this.gos.get("datasource"))}destroy(){this.destroyDatasource(),super.destroy(),this.rootNode=null}destroyDatasource(){this.datasource&&(this.destroyBean(this.datasource),this.beans.rowRenderer.datasourceChanged(),this.datasource=null)}addEventListeners(){this.addManagedEventListeners({filterChanged:this.reset.bind(this),sortChanged:this.reset.bind(this),newColumnsLoaded:this.onColumnEverything.bind(this),storeUpdated:this.dispatchModelUpdatedEvent.bind(this)}),this.addManagedPropertyListener("datasource",()=>this.setDatasource(this.gos.get("datasource"))),this.addManagedPropertyListener("cacheBlockSize",()=>this.resetCache()),this.addManagedPropertyListener("rowHeight",()=>{this.rowHeight=Al(this.beans),this.cacheParams.rowHeight=this.rowHeight,this.updateRowHeights()})}onColumnEverything(){let e;this.cacheParams?e=!Nh(this.cacheParams.sortModel,this.beans.sortSvc?.getSortModel()??[]):e=!0,e&&this.reset()}getType(){return"infinite"}setDatasource(e){this.destroyDatasource(),this.datasource=e,e&&this.reset()}isEmpty(){return!this.infiniteCache}isRowsToRender(){return!!this.infiniteCache}getNodesInRangeForSelection(e,t){return this.infiniteCache?.getRowNodesInRange(e,t)??[]}reset(){if(!this.datasource)return;Lu(this.gos)!=null||this.beans.selectionSvc?.reset("rowDataChanged"),this.resetCache()}dispatchModelUpdatedEvent(){this.eventSvc.dispatchEvent({type:"modelUpdated",newPage:!1,newPageSize:!1,newData:!1,keepRenderedRows:!0,animate:!1})}resetCache(){this.destroyCache();const e=this.beans,{filterManager:t,sortSvc:n,rowNodeBlockLoader:o,eventSvc:i,gos:s}=e;this.cacheParams={datasource:this.datasource,filterModel:t?.getFilterModel()??{},sortModel:n?.getSortModel()??[],rowNodeBlockLoader:o,initialRowCount:s.get("infiniteInitialRowCount"),maxBlocksInCache:s.get("maxBlocksInCache"),rowHeight:Al(e),overflowSize:s.get("cacheOverflowSize"),blockSize:s.get("cacheBlockSize"),lastAccessedSequence:{value:0}},this.infiniteCache=this.createBean(new iie(this.cacheParams)),i.dispatchEventOnce({type:"rowCountReady"}),this.dispatchModelUpdatedEvent()}updateRowHeights(){this.forEachNode(e=>{e.setRowHeight(this.rowHeight),e.setRowTop(this.rowHeight*e.rowIndex)}),this.dispatchModelUpdatedEvent()}destroyCache(){this.infiniteCache=this.destroyBean(this.infiniteCache)}getRow(e){const t=this.infiniteCache;if(t&&!(e>=t.getRowCount()))return t.getRow(e)}getRowNode(e){let t;return this.forEachNode(n=>{n.id===e&&(t=n)}),t}forEachNode(e){this.infiniteCache?.forEachNodeDeep(e)}getTopLevelRowCount(){return this.getRowCount()}getTopLevelRowDisplayedIndex(e){return e}getRowIndexAtPixel(e){if(this.rowHeight!==0){const t=Math.floor(e/this.rowHeight),n=this.getRowCount()-1;return t>n?n:t}return 0}getRowCount(){return this.infiniteCache?this.infiniteCache.getRowCount():0}isRowPresent(e){return!!this.getRowNode(e.id)}refreshCache(){this.infiniteCache?.refreshCache()}purgeCache(){this.infiniteCache?.purgeCache()}isLastRowIndexKnown(){return this.infiniteCache?.isLastRowIndexKnown()??!1}setRowCount(e,t){this.infiniteCache?.setRowCount(e,t)}resetRowHeights(){}onRowHeightChanged(){}};function rie(e){g0(e)?.refreshCache()}function aie(e){g0(e)?.purgeCache()}function lie(e){return g0(e)?.getRowCount()}var cie=class extends we{constructor(){super(...arguments),this.beanName="rowNodeBlockLoader",this.activeBlockLoadsCount=0,this.blocks=[],this.active=!0}postConstruct(){this.maxConcurrentRequests=XG(this.gos);const e=this.gos.get("blockLoadDebounceMillis");e&&e>0&&(this.checkBlockToLoadDebounce=qn(this,this.performCheckBlocksToLoad.bind(this),e))}
vendor: 3,067 bytes, line 96
96addBlock(e){this.blocks.push(e),e.addEventListener("loadComplete",this.loadComplete.bind(this)),this.checkBlockToLoad()}removeBlock(e){os(this.blocks,e)}destroy(){super.destroy(),this.active=!1}loadComplete(){this.activeBlockLoadsCount--,this.checkBlockToLoad()}checkBlockToLoad(){this.checkBlockToLoadDebounce?this.checkBlockToLoadDebounce():this.performCheckBlocksToLoad()}performCheckBlocksToLoad(){if(!this.active)return;if(this.printCacheStatus(),this.maxConcurrentRequests!=null&&this.activeBlockLoadsCount>=this.maxConcurrentRequests){xa(this.gos,"RowNodeBlockLoader - checkBlockToLoad: max loads exceeded");return}const e=this.maxConcurrentRequests!=null?this.maxConcurrentRequests-this.activeBlockLoadsCount:1,t=this.blocks.filter(n=>n.state==="needsLoading").slice(0,e);this.activeBlockLoadsCount+=t.length;for(const n of t)n.load();this.printCacheStatus()}getBlockState(){const e={};return this.blocks.forEach(t=>{const{id:n,state:o}=t.getBlockStateJson();e[n]=o}),e}printCacheStatus(){xa(this.gos,`RowNodeBlockLoader - printCacheStatus: activePageLoadsCount = ${this.activeBlockLoadsCount}, blocks = ${JSON.stringify(this.getBlockState())}`)}},uie={moduleName:"InfiniteRowModelCore",version:We,rowModels:["infinite"],beans:[sie,cie]},die={moduleName:"InfiniteRowModel",version:We,apiFunctions:{refreshInfiniteCache:rie,purgeInfiniteCache:aie,getInfiniteRowCount:lie},dependsOn:[uie,Eoe]},hie="↑",pie="↓",fie={tag:"span",children:[{tag:"span",ref:"eDelta",cls:"ag-value-change-delta"},{tag:"span",ref:"eValue",cls:"ag-value-change-value"}]},gie=class extends jt{constructor(){super(fie),this.eValue=$e,this.eDelta=$e,this.refreshCount=0}init(e){this.refresh(e,!0)}showDelta(e,t){const n=Math.abs(t),o=e.formatValue(n),i=Ge(o)?o:n,s=t>=0,r=this.eDelta;s?r.textContent=hie+i:r.textContent=pie+i,r.classList.toggle("ag-value-change-delta-up",s),r.classList.toggle("ag-value-change-delta-down",!s)}setTimerToRemoveDelta(){this.refreshCount++;const e=this.refreshCount;this.beans.frameworkOverrides.wrapIncoming(()=>{window.setTimeout(()=>{e===this.refreshCount&&this.hideDeltaValue()},2e3)})}hideDeltaValue(){this.eValue.classList.remove("ag-value-change-value-highlight"),Xn(this.eDelta)}refresh(e,t=!1){const{value:n,valueFormatted:o}=e,{eValue:i,lastValue:s,beans:r}=this;if(n===s||(Ge(o)?i.textContent=o:Ge(n)?i.textContent=n:Xn(i),r.filterManager?.isSuppressFlashingCellsBecauseFiltering()))return!1;const a=n&&typeof n=="object"&&"toNumber"in n?n.toNumber():n,l=s&&typeof s=="object"&&"toNumber"in s?s.toNumber():s;if(a===l)return!1;if(typeof a=="number"&&typeof l=="number"){const c=a-l;this.showDelta(e,c)}return s&&i.classList.add("ag-value-change-value-highlight"),t||this.setTimerToRemoveDelta(),this.lastValue=n,!0}},mie=".ag-value-slide-out{opacity:1}:where(.ag-ltr) .ag-value-slide-out{margin-right:5px;transition:opacity 3s,margin-right 3s}:where(.ag-rtl) .ag-value-slide-out{margin-left:5px;transition:opacity 3s,margin-left 3s}:where(.ag-ltr,.ag-rtl) .ag-value-slide-out{transition-timing-function:linear}.ag-value-slide-out-end{opacity:0}
96:where(.ag-ltr) .ag-value-slide-out-end{margin-right:10px}:where(.ag-rtl) .ag-value-slide-out-end{margin-left:10px}",vie={tag:"span",children:[{tag:"span",ref:"eCurrent",cls:"ag-value-slide-current"}]},Cie=class extends jt{constructor(){super(vie),this.eCurrent=$e,this.refreshCount=0,this.registerCSS(mie)}init(e){this.refresh(e,!0)}addSlideAnimation(){this.refreshCount++;const e=this.refreshCount;this.ePrevious?.remove();const{beans:t,eCurrent:n}=this,o=An({tag:"span",cls:"ag-value-slide-previous ag-value-slide-out"});this.ePrevious=o,o.textContent=n.textContent,this.getGui().insertBefore(o,n),t.frameworkOverrides.wrapIncoming(()=>{window.setTimeout(()=>{e===this.refreshCount&&this.ePrevious.classList.add("ag-value-slide-out-end")},50),window.setTimeout(()=>{e===this.refreshCount&&(this.ePrevious?.remove(),this.ePrevious=null)},3e3)})}refresh(e,t=!1){let n=e.value;if(pn(n)&&(n=""),n===this.lastValue||this.beans.filterManager?.isSuppressFlashingCellsBecauseFiltering())return!1;t||this.addSlideAnimation(),this.lastValue=n;const o=this.eCurrent;return Ge(e.valueFormatted)?o.textContent=e.valueFormatted:Ge(e.value)?o.textContent=n:Xn(o),!0}},bie=class extends we{constructor(){super(...arguments),this.beanName="cellFlashSvc",this.nextAnimationTime=null,this.nextAnimationCycle=null,this.animations={highlight:new Map,"data-changed":new Map}}animateCell(e,t,n=this.beans.gos.get("cellFlashDuration"),o=this.beans.gos.get("cellFadeDuration")){const i=this.animations[t];i.delete(e);const s=Date.now(),r=s+n,a=s+n+o,l={phase:"flash",flashEndTime:r,fadeEndTime:a};i.set(e,l);const c=`ag-cell-${t}`,u=`${c}-animation`,{comp:d,eGui:{style:h}}=e;d.toggleCss(c,!0),d.toggleCss(u,!1),h.removeProperty("transition"),h.removeProperty("transition-delay"),this.nextAnimationTime&&r+15<this.nextAnimationTime&&(clearTimeout(this.nextAnimationCycle),this.nextAnimationCycle=null,this.nextAnimationTime=null),this.nextAnimationCycle||(this.beans.frameworkOverrides.wrapIncoming(()=>{this.nextAnimationCycle=setTimeout(this.advanceAnimations.bind(this),n)}),this.nextAnimationTime=r)}advanceAnimations(){const e=Date.now();let t=null;for(const n of Object.keys(this.animations)){const o=this.animations[n],i=`ag-cell-${n}`,s=`${i}-animation`;for(const[r,a]of o){if(!r.isAlive()||!r.comp){o.delete(r);continue}const{phase:l,flashEndTime:c,fadeEndTime:u}=a,d=l==="flash"?c:u;if(!(e+15>=d)){t=Math.min(d,t??1/0);continue}const{comp:p,eGui:{style:f}}=r;switch(l){case"flash":p.toggleCss(i,!1),p.toggleCss(s,!0),f.transition=`background-color ${u-c}ms`,f.transitionDelay=`${c-e}ms`,t=Math.min(u,t??1/0),a.phase="fade";break;case"fade":p.toggleCss(i,!1),p.toggleCss(s,!1),f.removeProperty("transition"),f.removeProperty("transition-delay"),o.delete(r);break}}}t==null?(this.nextAnimationTime=null,this.nextAnimationCycle=null):t&&(this.nextAnimationCycle=setTimeout(this.advanceAnimations.bind(this),t-e),this.nextAnimationTime=t)}onFlashCells(e,t){if(!e.comp)return;const n=vq(e.cellPosition);t.cells[n]&&this.animateCell(e,"highlight")}flashCell(e,t){this.animateCell(e,"data-changed",t?.flashDuration,t?.fadeDuration)}destroy(){for(const e of Object.keys(this.animations))this.animations[e].clear()}};function yie(e,t={}){const{cellFlashSvc:n}=e;n&&e.frameworkOverrides.wrapIncoming(()=>{for(const o of e.rowRenderer.getCellCtrls(t.rowNodes,t.columns))n.flashCell(o,t)})}var wie={moduleName:"HighlightChanges",version:We,beans:[bie],userComponents:{agAnimateShowChangeCellRenderer:gie,agAnimateSlideCellRenderer:Cie},apiFunctions:{flashCells:yie}};function Sie(e){return e.stateSvc?.getState()??{}}function Eie(e,t,n){return e.stateSvc?.setState(t,n)}function p9(e){return e={...e},e.version||(e.version="32.1.0"),e.version==="32.1.0"&&(e=Tie(e)),e.version=We,e}function Tie(e){return e.cellSelection=Rie(e,"rangeSelection"),e}function Rie(e,t){if(e&&typeof e=="object")return e[t]}var Pie=class extends we{constructor(){super(...arguments),this.beanName="stateSvc",this.updateRowGroupExpansionStateTimer=0,this.suppressEvents=!0,this.queuedUpdateSources=new Set,this.dispatchStateUpdateEventDebounced=qn(this,()=>this.dispatchQueuedStateUpdateEvents(),0),this.onRowGroupOpenedDebounced=qn(this,()=>{this.beans.gos.get("ssrmExpandAllAffectsAllRows")?(this.updateCachedState("ssrmRowGroupExpansion",this.getRowGroupExpansionState()),this.updateCachedState("rowGroupExpansion",void 0)):(this.updateCachedState("rowGroupExpansion",this.getRowGroupExpansionState()),this.updateCachedState("ssrmRowGroupExpansion",void 0))},0),this.onRowSelectedDebounced=qn(this,()=>{this.staleStateKeys.delete("rowSelection"),this.updateCachedState("rowSelection",this.getRowSelectionState())},0),this.staleStateKeys=new Set}
vendor: 4,719 bytes, line 96
96postConstruct(){const{gos:e,ctrlsSvc:t,colDelayRenderSvc:n}=this.beans;this.isClientSideRowModel=kn(e);const o=p9(e.get("initialState")??{}),i=o.partialColumnState;delete o.partialColumnState,this.cachedState=o;const s=this.suppressEventsAndDispatchInitEvent.bind(this);t.whenReady(this,()=>s(()=>this.setupStateOnGridReady(o))),(o.columnOrder||o.columnVisibility||o.columnSizing||o.columnPinning||o.columnGroup)&&n?.hideColumns("columnState");const[r,a,l]=this.addManagedEventListeners({newColumnsLoaded:({source:c})=>{c==="gridInitializing"&&(r(),s(()=>{this.setupStateOnColumnsInitialised(o,!!i),n?.revealColumns("columnState")}))},rowCountReady:()=>{a?.(),s(()=>this.setupStateOnRowCountReady(o))},firstDataRendered:()=>{l?.(),s(()=>this.setupStateOnFirstDataRendered(o))}})}destroy(){super.destroy(),clearTimeout(this.updateRowGroupExpansionStateTimer),this.queuedUpdateSources.clear()}getState(){return this.staleStateKeys.size&&this.refreshStaleState(),this.cachedState}setState(e,t){const n=p9(e);delete n.partialColumnState,this.cachedState=n,this.startSuppressEvents();const o="api",i=t?new Set(t):void 0;this.setGridReadyState(n,o,i),this.setColumnsInitialisedState(n,o,!!i,i),this.setRowCountState(n,o,i),setTimeout(()=>{this.isAlive()&&this.setFirstDataRenderedState(n,o,i),this.stopSuppressEvents(o)})}setGridReadyState(e,t,n){t==="api"&&!n?.has("sideBar")&&this.beans.sideBar?.comp?.setState(e.sideBar),this.updateCachedState("sideBar",this.getSideBarState())}setupStateOnGridReady(e){this.setGridReadyState(e,"gridInitializing");const t=()=>this.updateCachedState("sideBar",this.getSideBarState());this.addManagedEventListeners({toolPanelVisibleChanged:t,sideBarUpdated:t})}updateColumnAndGroupState(){this.updateColumnState(["aggregation","columnOrder","columnPinning","columnSizing","columnVisibility","pivot","rowGroup","sort"]),this.updateCachedState("columnGroup",this.getColumnGroupState())}setColumnsInitialisedState(e,t,n,o){this.setColumnState(e,t,n,o),this.setColumnGroupState(e,t,o),this.updateColumnAndGroupState()}setupStateOnColumnsInitialised(e,t){this.setColumnsInitialisedState(e,"gridInitializing",t);const n=o=>()=>this.updateColumnState([o]);this.addManagedEventListeners({columnValueChanged:n("aggregation"),columnMoved:n("columnOrder"),columnPinned:n("columnPinning"),columnResized:n("columnSizing"),columnVisible:n("columnVisibility"),columnPivotChanged:n("pivot"),columnPivotModeChanged:n("pivot"),columnRowGroupChanged:n("rowGroup"),sortChanged:n("sort"),newColumnsLoaded:this.updateColumnAndGroupState.bind(this),columnGroupOpened:()=>this.updateCachedState("columnGroup",this.getColumnGroupState())})}setRowCountState(e,t,n){const{filter:o,rowGroupExpansion:i,ssrmRowGroupExpansion:s,rowSelection:r,pagination:a}=e,l=(u,d)=>!n?.has(u)&&(d||t==="api");l("filter",o)&&this.setFilterState(o),l("rowGroupExpansion",i)&&this.setRowGroupExpansionState(s,i,t),l("rowSelection",r)&&this.setRowSelectionState(r,t),l("pagination",a)&&this.setPaginationState(a,t);const c=this.updateCachedState.bind(this);c("filter",this.getFilterState()),this.beans.gos.get("ssrmExpandAllAffectsAllRows")?(c("ssrmRowGroupExpansion",this.getRowGroupExpansionState()),c("rowGroupExpansion",void 0)):(c("rowGroupExpansion",this.getRowGroupExpansionState()),c("ssrmRowGroupExpansion",void 0)),c("rowSelection",this.getRowSelectionState()),c("pagination",this.getPaginationState())}setupStateOnRowCountReady(e){this.setRowCountState(e,"gridInitializing");const t=this.updateCachedState.bind(this),n=()=>{this.updateRowGroupExpansionStateTimer=0,this.beans.gos.get("ssrmExpandAllAffectsAllRows")?(t("ssrmRowGroupExpansion",this.getRowGroupExpansionState()),t("rowGroupExpansion",void 0)):(t("rowGroupExpansion",this.getRowGroupExpansionState()),t("ssrmRowGroupExpansion",void 0))},o=()=>t("filter",this.getFilterState()),{gos:i,colFilter:s}=this.beans;this.addManagedEventListeners({filterChanged:o,rowExpansionStateChanged:this.onRowGroupOpenedDebounced,expandOrCollapseAll:n,columnRowGroupChanged:n,rowDataUpdated:()=>{(i.get("groupDefaultExpanded")!==0||i.get("isGroupOpenByDefault"))&&(this.updateRowGroupExpansionStateTimer||(this.updateRowGroupExpansionStateTimer=setTimeout(n)))},selectionChanged:()=>{this.staleStateKeys.add("rowSelection"),this.onRowSelectedDebounced()},paginationChanged:r=>{(r.newPage||r.newPageSize)&&t("pagination",this.getPaginationState())}}),s&&this.addManagedListeners(s,{filterStateChanged:o})}setFirstDataRenderedState(e,t,n){const{scroll:o,cellSelection:i,focusedCell:s,columnOrder:r,rowPinning:a}=e,l=(d,h)=>!n?.has(d)&&(h||t==="api");l("focusedCell",s)&&this.setFocusedCellState(s),l("cellSelection",i)&&this.setCellSelectionState(i),l("scroll",o)&&this.setScrollState(
96o),l("rowPinning",a)&&this.setRowPinningState(a),this.setColumnPivotState(!!r?.orderedColIds,t);const c=this.updateCachedState.bind(this);c("sideBar",this.getSideBarState()),c("focusedCell",this.getFocusedCellState());const u=this.getRangeSelectionState();c("rangeSelection",u),c("cellSelection",u),c("scroll",this.getScrollState())}setupStateOnFirstDataRendered(e){this.setFirstDataRenderedState(e,"gridInitializing");const t=this.updateCachedState.bind(this),n=()=>t("focusedCell",this.getFocusedCellState());this.addManagedEventListeners({cellFocused:n,cellFocusCleared:n,cellSelectionChanged:o=>{if(o.finished){const i=this.getRangeSelectionState();t("rangeSelection",i),t("cellSelection",i)}},bodyScrollEnd:()=>t("scroll",this.getScrollState()),pinnedRowsChanged:()=>t("rowPinning",this.getRowPinningState())})}getColumnState(){const e=this.beans;return wee(Xg(e),e.colModel.isPivotMode())}setColumnState(e,t,n,o){const{sort:i,rowGroup:s,aggregation:r,pivot:a,columnPinning:l,columnVisibility:c,columnSizing:u,columnOrder:d}=e;let h=!1;const p=(D,V)=>{const O=!o?.has(D)&&!!(V||t==="api");return h||(h=O),O},f={},g=D=>{let V=f[D];return V||(V={colId:D},f[D]=V,V)},m={},v=p("sort",i);v&&i?.sortModel.forEach(({colId:D,sort:V},O)=>{const F=g(D);F.sort=V,F.sortIndex=O}),(v||!n)&&(m.sort=null,m.sortIndex=null);const y=p("rowGroup",s);y&&s?.groupColIds.forEach((D,V)=>{const O=g(D);O.rowGroup=!0,O.rowGroupIndex=V}),(y||!n)&&(m.rowGroup=null,m.rowGroupIndex=null);const b=p("aggregation",r);b&&r?.aggregationModel.forEach(({colId:D,aggFunc:V})=>{g(D).aggFunc=V}),(b||!n)&&(m.aggFunc=null);const w=p("pivot",a);w&&(a?.pivotColIds.forEach((D,V)=>{const O=g(D);O.pivot=!0,O.pivotIndex=V}),this.gos.updateGridOptions({options:{pivotMode:!!a?.pivotMode},source:t})),(w||!n)&&(m.pivot=null,m.pivotIndex=null);const S=p("columnPinning",l);if(S){for(const D of l?.leftColIds??[])g(D).pinned="left";for(const D of l?.rightColIds??[])g(D).pinned="right"}(S||!n)&&(m.pinned=null);const E=p("columnVisibility",c);if(E)for(const D of c?.hiddenColIds??[])g(D).hide=!0;(E||!n)&&(m.hide=null);const T=p("columnSizing",u);if(T)for(const{colId:D,flex:V,width:O}of u?.columnSizingModel??[]){const F=g(D);F.flex=V??null,F.width=O}(T||!n)&&(m.flex=null);const R=d?.orderedColIds,A=!!R?.length&&!o?.has("columnOrder"),k=A?R.map(D=>g(D)):Object.values(f);(k.length||h)&&(this.columnStates=k,Xi(this.beans,{state:k,applyOrder:A,defaultState:m},t))}setColumnPivotState(e,t){const n=this.columnStates;this.columnStates=void 0;const o=this.columnGroupStates;this.columnGroupStates=void 0;const i=this.beans,{pivotResultCols:s,colGroupSvc:r}=i;if(s?.isPivotResultColsPresent()){if(n){const a=[];for(const l of n)s.getPivotResultCol(l.colId)&&a.push(l);Xi(i,{state:a,applyOrder:e},t)}o&&r?.setColumnGroupState(o,t)}}getColumnGroupState(){const e=this.beans.colGroupSvc;if(!e)return;const t=e.getColumnGroupState();return See(t)}setColumnGroupState(e,t,n){const o=this.beans.colGroupSvc;if(!o||n?.has("columnGroup")||t!=="api"&&!Object.prototype.hasOwnProperty.call(e,"columnGroup"))return;const i=new Set(e.columnGroup?.openColumnGroupIds),r=o.getColumnGroupState().map(({groupId:a})=>{const l=i.has(a);return l&&i.delete(a),{groupId:a,open:l}});for(const a of i)r.push({groupId:a,open:!0});r.length&&(this.columnGroupStates=r),o.setColumnGroupState(r,t)}getFilterState(){const e=this.beans.filterManager;let t=e?.getFilterModel();t&&Object.keys(t).length===0&&(t=void 0);const n=e?.getFilterState(),o=e?.getAdvFilterModel()??void 0;return t||o||n?{filterModel:t,columnFilterState:n,advancedFilterModel:o}:void 0}setFilterState(e){const t=this.beans.filterManager,{filterModel:n,columnFilterState:o,advancedFilterModel:i}=e??{filterModel:null,columnFilterState:null,advancedFilterModel:null};(n!==void 0||o!==void 0)&&t?.setFilterState(n??null,o??null,"columnFilter"),i!==void 0&&t?.setAdvFilterModel(i??null,"advancedFilter")}getRangeSelectionState(){const e=this.beans.rangeSvc?.getCellRanges().map(t=>{const{id:n,type:o,startRow:i,endRow:s,columns:r,startColumn:a}=t;return{id:n,type:o,startRow:i,endRow:s,colIds:r.map(l=>l.getColId()),startColId:a.getColId()}});return e?.length?{cellRanges:e}:void 0}setCellSelectionState(e){const{gos:t,rangeSvc:n,colModel:o,visibleCols:i}=this.beans;if(!Rr(t)||!n)return;const s=[];for(const r of e?.cellRanges??[]){const a=[];for(const c of r.colIds){const u=o.getCol(c);u&&a.push(u)}if(!a.length)continue;let l=o.getCol(r.startColId);
vendor: 5,516 bytes, line 96
96if(!l){const c=i.allCols,u=new Set(a);l=c.find(d=>u.has(d))}s.push({...r,columns:a,startColumn:l})}n.setCellRanges(s)}getScrollState(){if(!this.isClientSideRowModel)return;const e=this.beans.ctrlsSvc.getScrollFeature(),{left:t}=e?.getHScrollPosition()??{left:0},{top:n}=e?.getVScrollPosition()??{top:0};return n||t?{top:n,left:t}:void 0}setScrollState(e){if(!this.isClientSideRowModel)return;const{top:t,left:n}=e??{top:0,left:0},{frameworkOverrides:o,rowRenderer:i,animationFrameSvc:s,ctrlsSvc:r}=this.beans;o.wrapIncoming(()=>{r.get("center").setCenterViewportScrollLeft(n),r.getScrollFeature()?.setVerticalScrollPosition(t),i.redraw({afterScroll:!0}),s?.flushAllFrames()})}getSideBarState(){return this.beans.sideBar?.comp?.getState()}getFocusedCellState(){if(!this.isClientSideRowModel)return;const e=this.beans.focusSvc.getFocusedCell();if(e){const{column:t,rowIndex:n,rowPinned:o}=e;return{colId:t.getColId(),rowIndex:n,rowPinned:o}}}setFocusedCellState(e){if(!this.isClientSideRowModel)return;const{focusSvc:t,colModel:n}=this.beans;if(!e){t.clearFocusedCell();return}const{colId:o,rowIndex:i,rowPinned:s}=e;t.setFocusedCell({column:n.getCol(o),rowIndex:i,rowPinned:s,forceBrowserFocus:!0,preventScrollOnBrowserFocus:!0})}getPaginationState(){const{pagination:e,gos:t}=this.beans;if(!e)return;const n=e.getCurrentPage(),o=t.get("paginationAutoPageSize")?void 0:e.getPageSize();if(!(!n&&!o))return{page:n,pageSize:o}}setPaginationState(e,t){const{pagination:n,gos:o}=this.beans;if(!n)return;const{pageSize:i,page:s}=e??{page:0,pageSize:o.get("paginationPageSize")},r=t==="gridInitializing";i&&!o.get("paginationAutoPageSize")&&n.setPageSize(i,r?"initialState":"pageSizeSelector"),typeof s=="number"&&(r?n.setPage(s):n.goToPage(s))}getRowSelectionState(){const e=this.beans.selectionSvc;if(!e)return;const t=e.getSelectionState();return!t||!Array.isArray(t)&&(t.selectAll===!1||t.selectAllChildren===!1)&&!t?.toggledNodes?.length?void 0:t}setRowSelectionState(e,t){this.beans.selectionSvc?.setSelectionState(e,t,t==="api")}getRowGroupExpansionState(){const{expansionSvc:e}=this.beans;if(e)return e.getExpansionState()}getRowPinningState(){return this.beans.pinnedRowModel?.getPinnedState()}setRowPinningState(e){const t=this.beans.pinnedRowModel;e?t?.setPinnedState(e):t?.reset()}setRowGroupExpansionState(e,t,n){const o=this.beans.expansionSvc;if(!o)return;const i=t??{expandedRowGroupIds:[],collapsedRowGroupIds:[]};o.setExpansionState(i,n)}updateColumnState(e){const t=this.getColumnState();let n=!1;const o=this.cachedState;for(const i of Object.keys(t)){const s=t[i];Nh(s,o[i])||(n=!0)}this.cachedState={...o,...t},n&&this.dispatchStateUpdateEvent(e)}updateCachedState(e,t){const n=this.cachedState[e];this.setCachedStateValue(e,t),Nh(t,n)||this.dispatchStateUpdateEvent([e])}setCachedStateValue(e,t){this.cachedState={...this.cachedState,[e]:t}}refreshStaleState(){const e=this.staleStateKeys;for(const t of e)t==="rowSelection"&&this.setCachedStateValue(t,this.getRowSelectionState());e.clear()}dispatchStateUpdateEvent(e){if(!this.suppressEvents){for(const t of e)this.queuedUpdateSources.add(t);this.dispatchStateUpdateEventDebounced()}}dispatchQueuedStateUpdateEvents(){const e=this.queuedUpdateSources,t=Array.from(e);e.clear(),this.eventSvc.dispatchEvent({type:"stateUpdated",sources:t,state:this.cachedState})}startSuppressEvents(){this.suppressEvents=!0,this.beans.colAnimation?.setSuppressAnimation(!0)}stopSuppressEvents(e){setTimeout(()=>{this.suppressEvents=!1,this.queuedUpdateSources.clear(),this.isAlive()&&(this.beans.colAnimation?.setSuppressAnimation(!1),this.dispatchStateUpdateEvent([e]))})}suppressEventsAndDispatchInitEvent(e){this.startSuppressEvents(),e(),this.stopSuppressEvents("gridInitializing")}},Mie={moduleName:"GridState",version:We,beans:[Pie],apiFunctions:{getState:Sie,setState:Eie}};function Lie(e){return e.rowModel.isLastRowIndexKnown()}function xie(e){return e.pagination?.getPageSize()??100}function Die(e){return e.pagination?.getCurrentPage()??0}function kie(e){return e.pagination?.getTotalPages()??1}function Aie(e){return e.pagination?e.pagination.getMasterRowCount():e.rowModel.getRowCount()}function _ie(e){e.pagination?.goToNextPage()}function Iie(e){e.pagination?.goToPreviousPage()}function Fie(e){e.pagination?.goToFirstPage()}function Oie(e){e.pagination?.goToLastPage()}function Nie(e,t){e.pagination?.goToPage(t)}var Bie=class extends we{constructor(){super(...arguments),this.beanName="paginationAutoPageSizeSvc"}postConstruct(){this.beans.ctrlsSvc.whenReady(this,e=>{this.centerRowsCtrl=e.center;const t=this.checkPageSize.bind(this);this.addManagedEventListeners({bodyHeightChanged:t,scrollVisibilityChanged:t}),this.addManagedPropertyListener("paginationAutoPageSize",this.onPaginationAutoSizeChanged.bind(this)),this.checkPageSize()})}notActive(){return!this.gos.get("paginationAutoPageSize")||this.centerRowsCtrl==null}onPaginationAutoSizeChanged(){this.notActive()?this.beans.pagination.unsetAutoCalculatedPageSize():this.checkPageSize()}checkPageSize(){if(this.notActive())return;const e=this.centerRowsCtrl.viewportSizeFeature.getBodyHeight();if(e>0){const t=this.beans,n=()=>{const o=Math.max(Al(t),1),i=Math.floor(e/o);t.pagination.setPageSize(i,"autoCalculated")};this.isBodyRendered?qn(this,n,50)():(n(),this.isBodyRendered=!0)}else this.isBodyRendered=!1}},_d="paginationPageSizeSelector",Hie={tag:"span",cls:"ag-paging-page-size"},Vie=class extends jt{constructor(){super(Hie),this.hasEmptyOption=!1,this.handlePageSizeItemSelected=()=>
vendor: 9,190 bytes, line 96
96{if(!this.selectPageSizeComp)return;const e=this.selectPageSizeComp.getValue();if(!e)return;const t=Number(e);isNaN(t)||t<1||t===this.pagination.getPageSize()||(this.pagination.setPageSize(t,"pageSizeSelector"),this.hasEmptyOption&&this.toggleSelectDisplay(!0),this.selectPageSizeComp.getFocusableElement().focus())}}wireBeans(e){this.pagination=e.pagination}postConstruct(){this.addManagedPropertyListener(_d,()=>{this.onPageSizeSelectorValuesChange()}),this.addManagedEventListeners({paginationChanged:e=>this.handlePaginationChanged(e)})}handlePaginationChanged(e){if(!this.selectPageSizeComp||!e?.newPageSize)return;const t=this.pagination.getPageSize();this.getPageSizeSelectorValues().includes(t)?this.selectPageSizeComp.setValue(t.toString()):this.hasEmptyOption?this.selectPageSizeComp.setValue(""):this.toggleSelectDisplay(!0)}toggleSelectDisplay(e){this.selectPageSizeComp&&!e&&this.reset(),e&&(this.reloadPageSizesSelector(),this.selectPageSizeComp)}reset(){Xn(this.getGui()),this.selectPageSizeComp&&(this.selectPageSizeComp=this.destroyBean(this.selectPageSizeComp))}onPageSizeSelectorValuesChange(){this.selectPageSizeComp&&this.shouldShowPageSizeSelector()&&this.reloadPageSizesSelector()}shouldShowPageSizeSelector(){return this.gos.get("pagination")&&!this.gos.get("suppressPaginationPanel")&&!this.gos.get("paginationAutoPageSize")&&this.gos.get(_d)!==!1}reloadPageSizesSelector(){const e=this.getPageSizeSelectorValues(),t=this.pagination.getPageSize(),n=!t||!e.includes(t);if(n){const i=this.gos.exists("paginationPageSize"),s=this.gos.get(_d)!==!0;Me(94,{pageSizeSet:i,pageSizesSet:s,pageSizeOptions:e,paginationPageSizeOption:t}),s||Me(95,{paginationPageSizeOption:t,paginationPageSizeSelector:_d}),e.unshift("")}const o=String(n?"":t);this.selectPageSizeComp?(za(this.pageSizeOptions,e)||(this.selectPageSizeComp.clearOptions().addOptions(this.createPageSizeSelectOptions(e)),this.pageSizeOptions=e),this.selectPageSizeComp.setValue(o,!0)):this.createPageSizeSelectorComp(e,o),this.hasEmptyOption=n}createPageSizeSelectOptions(e){return e.map(t=>({value:String(t)}))}createPageSizeSelectorComp(e,t){const n=this.getLocaleTextFunc(),o=n("pageSizeSelectorLabel","Page Size:"),i=n("ariaPageSizeSelectorLabel","Page Size");this.selectPageSizeComp=this.createManagedBean(new K4).addOptions(this.createPageSizeSelectOptions(e)).setValue(t).setAriaLabel(i).setLabel(o).onValueChange(()=>this.handlePageSizeItemSelected()),this.appendChild(this.selectPageSizeComp)}getPageSizeSelectorValues(){const e=[20,50,100],t=this.gos.get(_d);return!Array.isArray(t)||!t?.length?e:[...t].sort((n,o)=>n-o)}destroy(){this.toggleSelectDisplay(!1),super.destroy()}},$ie={selector:"AG-PAGE-SIZE-SELECTOR",component:Vie},Wie=".ag-paging-panel{align-items:center;border-top:var(--ag-footer-row-border);display:flex;gap:calc(var(--ag-spacing)*4);height:var(--ag-pagination-panel-height);justify-content:flex-end;padding:0 var(--ag-cell-horizontal-padding)}:where(.ag-paging-page-size) .ag-wrapper{min-width:50px}.ag-paging-page-summary-panel{align-items:center;display:flex;gap:var(--ag-cell-widget-spacing);.ag-disabled &{pointer-events:none}}.ag-paging-button{cursor:pointer;position:relative;&.ag-disabled{cursor:default;opacity:.5}}.ag-paging-number,.ag-paging-row-summary-panel-number{font-weight:500}",Gie=class extends cD{constructor(){super(),this.btFirst=$e,this.btPrevious=$e,this.btNext=$e,this.btLast=$e,this.lbRecordCount=$e,this.lbFirstRowOnPage=$e,this.lbLastRowOnPage=$e,this.lbCurrent=$e,this.lbTotal=$e,this.pageSizeComp=$e,this.previousAndFirstButtonsDisabled=!1,this.nextButtonDisabled=!1,this.lastButtonDisabled=!1,this.areListenersSetup=!1,this.allowFocusInnerElement=!1,this.registerCSS(Wie)}wireBeans(e){this.rowModel=e.rowModel,this.pagination=e.pagination,this.ariaAnnounce=e.ariaAnnounce}postConstruct(){const e=this.gos.get("enableRtl");this.setTemplate(this.getTemplate(),[$ie]);const{btFirst:t,btPrevious:n,btNext:o,btLast:i}=this;this.activateTabIndex([t,n,o,i]),t.insertAdjacentElement("afterbegin",pi(e?"last":"first",this.beans)),n.insertAdjacentElement("afterbegin",pi(e?"next":"previous",this.beans)),o.insertAdjacentElement("afterbegin",pi(e?"previous":"next",this.beans)),i.insertAdjacentElement("afterbegin",pi(e?"first":"last",this.beans)),this.addManagedPropertyListener("pagination",this.onPaginationChanged.bind(this)),this.addManagedPropertyListener("suppressPaginationPanel",this.onPaginationChanged.bind(this)),this.addManagedPropertyListeners(["paginationPageSizeSelector","paginationAutoPageSize","suppressPaginationPanel"],()=>this.onPageSizeRelatedOptionsChange()),this.pageSizeComp.toggleSelectDisplay(this.pageSizeComp.shouldShowPageSizeSelector()),this.initialiseTabGuard({onTabKeyDown:()=>{},focusInnerElement:s=>this.allowFocusInnerElement?this.tabGuardFeature.getTabGuardCtrl().focusInnerElement(s):NZ(this.beans,s),forceFocusOutWhenTabGuardsAreEmpty:!0}),this.onPaginationChanged()}setAllowFocus(e){this.allowFocusInnerElement=e}onPaginationChanged(){const t=this.gos.get("pagination")&&!this.gos.get("suppressPaginationPanel");this.setDisplayed(t),t&&(this.setupListeners(),this.enableOrDisableButtons(),this.updateLabels(),this.onPageSizeRelatedOptionsChange())}onPageSizeRelatedOptionsChange(){this.pageSizeComp.toggleSelectDisplay(this.pageSizeComp.shouldShowPageSizeSelector())}setupListeners(){if(!this.areListenersSetup){this.addManagedEventListeners({paginationChanged:this.onPaginationChanged.bind(this)});for(const e of[{el:this.btFirst,fn:this.onBtFirst.bind(this)},{el:this.btPrevious,fn:this.onBtPrevious.bind(this)},{el:this.btNext,fn:this.onBtNext.bind(this)},{el:this.btLast,fn:this.onBtLast.bind(this)}]){const{el:t,fn:n}=e;this.addManagedListeners(t,{click:n,keydown:o=>{(o.key===he.ENTER||o.key===he.SPACE)&&(o.preventDefault(),n())}})}OZ(this.beans,this,this.getGui()),this.areListenersSetup=!0}}onBtFirst(){this.previousAndFirstButtonsDisabled||this.pagination.goToFirstPage()}formatNumber(e){const t=this.gos.getCallback("paginationNumberFormatter");return t?t({value:e}):Eee(e,this.getLocaleTextFunc.bind(this))}getTemplate(){const e=this.getLocaleTextFunc(),t=`ag-${this.getCompId()}`;return{tag:"div",cls:"ag-paging-panel ag-unselectable",attrs:{id:`${t}`},children:[{tag:"ag-page-size-selector",ref:"pageSizeComp"},{tag:"span",cls:"ag-paging-row-summary-panel",children:[{tag:"span",ref:"lbFirstRowOnPage",cls:"ag-paging-row-summary-panel-number",attrs:{id:`${t}-first-row`}},{tag:"span",attrs:{id:`${t}-to`},children:e("to","to")},{tag:"span",ref:"lbLastRowOnPage",cls:"ag-paging-row-summary-panel-number",attrs:{id:`${t}-last-row`}},{tag:"span",attrs:{id:`${t}-of`},children:e("of","of")},{tag:"span",ref:"lbRecordCount",cls:"ag-paging-row-summary-panel-number",attrs:{id:`${t}-row-count`}}]},{tag:"span",cls:"ag-paging-page-summary-panel",role:"presentation",children:[{tag:"div",ref:"btFirst",cls:"ag-button ag-paging-button",role:"button",attrs:{"aria-label":e("firstPage","First Page")}},{tag:"div",ref:"btPrevious",cls:"ag-button ag-paging-button",role:"button",attrs:{"aria-label":e("previousPage","Previous Page")}},{tag:"span",cls:"ag-paging-description",children:[{tag:"span",attrs:{id:`${t}-start-page`},children:e("page","Page")},{tag:"span",ref:"lbCurrent",cls:"ag-paging-number",attrs:{id:`${t}-start-page-number`}},{tag:"span",attrs:{id:`${t}-of-page`},children:e("of","of")},{tag:"span",ref:"lbTotal",cls:"ag-paging-number",attrs:{id:`${t}-of-page-number`}}]},{tag:"div",ref:"btNext",cls:"ag-button ag-paging-button",role:"button",attrs:{"aria-label":e("nextPage","Next Page")}},{tag:"div",ref:"btLast",cls:"ag-button ag-paging-button",role:"button",attrs:{"aria-label":e("lastPage","Last Page")}}]}]}}onBtNext(){this.nextButtonDisabled||this.pagination.goToNextPage()}onBtPrevious(){this.previousAndFirstButtonsDisabled||this.pagination.goToPreviousPage()}onBtLast(){this.lastButtonDisabled||this.pagination.goToLastPage()}enableOrDisableButtons(){const e=this.pagination.getCurrentPage(),t=this.rowModel.isLastRowIndexKnown(),n=this.pagination.getTotalPages();this.previousAndFirstButtonsDisabled=e===0,this.toggleButtonDisabled(this.btFirst,this.previousAndFirstButtonsDisabled),this.toggleButtonDisabled(this.btPrevious,this.previousAndFirstButtonsDisabled);const o=this.isZeroPagesToDisplay(),i=e===n-1;this.nextButtonDisabled=i||o,this.lastButtonDisabled=!t||o||e===n-1,this.toggleButtonDisabled(this.btNext,this.nextButtonDisabled),this.toggleButtonDisabled(this.btLast,this.lastButtonDisabled)}toggleButtonDisabled(e,t){XW(e,t),e.classList.toggle("ag-disabled",t)}isZeroPagesToDisplay(){const e=this.rowModel.isLastRowIndexKnown(),t=this.pagination.getTotalPages();return e&&t===0}updateLabels(){const e=this.rowModel.isLastRowIndexKnown(),t=this.pagination.getTotalPages(),n=this.pagination.getMasterRowCount(),o=e?n:null,i=this.pagination.getCurrentPage(),s=this.pagination.getPageSize();let r,a;this.isZeroPagesToDisplay()?r=a=0:(r=s*i+1,a=r+s-1,e&&a>o&&(a=o));const l=r+s-1,c=!e&&n<l,u=this.formatNumber(r);this.lbFirstRowOnPage.textContent=u;let d;const h=this.getLocaleTextFunc();c?d=h("pageLastRowUnknown","?"):d=this.formatNumber(a),this.lbLastRowOnPage.textContent=d;const f=t>
960?i+1:0,g=this.formatNumber(f);this.lbCurrent.textContent=g;let m,v;if(e)m=this.formatNumber(t),v=this.formatNumber(o);else{const y=h("more","more");m=y,v=y}this.lbTotal.textContent=m,this.lbRecordCount.textContent=v,this.announceAriaStatus(u,d,v,g,m)}announceAriaStatus(e,t,n,o,i){const s=this.getLocaleTextFunc(),r=s("page","Page"),a=s("to","to"),l=s("of","of"),c=`${e} ${a} ${t} ${l} ${n}`,u=`${r} ${o} ${l} ${i}`;c!==this.ariaRowStatus&&(this.ariaRowStatus=c,this.ariaAnnounce?.announceValue(c,"paginationRow")),u!==this.ariaPageStatus&&(this.ariaPageStatus=u,this.ariaAnnounce?.announceValue(u,"paginationPage"))}},zie={selector:"AG-PAGINATION",component:Gie},Uie=class extends we{constructor(){super(...arguments),this.beanName="pagination",this.currentPage=0,this.topDisplayedRowIndex=0,this.bottomDisplayedRowIndex=0,this.masterRowCount=0}postConstruct(){const e=this.gos;this.active=e.get("pagination"),this.pageSizeFromGridOptions=e.get("paginationPageSize"),this.paginateChildRows=this.isPaginateChildRows(),this.addManagedPropertyListener("pagination",this.onPaginationGridOptionChanged.bind(this)),this.addManagedPropertyListener("paginationPageSize",this.onPageSizeGridOptionChanged.bind(this))}getPaginationSelector(){return zie}isPaginateChildRows(){const e=this.gos;return e.get("groupHideParentOfSingleChild")||e.get("groupRemoveSingleChildren")||e.get("groupRemoveLowestSingleChildren")?!0:e.get("paginateChildRows")}onPaginationGridOptionChanged(){this.active=this.gos.get("pagination"),this.calculatePages(),this.dispatchPaginationChangedEvent({keepRenderedRows:!0})}onPageSizeGridOptionChanged(){this.setPageSize(this.gos.get("paginationPageSize"),"gridOptions")}goToPage(e){const t=this.currentPage;if(!this.active||t===e||typeof t!="number")return;const{editSvc:n}=this.beans;n?.isEditing()&&(n.isBatchEditing()?n.cleanupEditors():n.stopEditing(void 0,{source:"api"})),this.currentPage=e,this.calculatePages(),this.dispatchPaginationChangedEvent({newPage:!0})}goToPageWithIndex(e){if(!this.active)return;let t=e;this.paginateChildRows||(t=this.beans.rowModel.getTopLevelIndexFromDisplayedIndex?.(e)??e),this.goToPage(Math.floor(t/this.pageSize))}isRowInPage(e){return this.active?e>=this.topDisplayedRowIndex&&e<=this.bottomDisplayedRowIndex:!0}getCurrentPage(){return this.currentPage}goToNextPage(){this.goToPage(this.currentPage+1)}goToPreviousPage(){this.goToPage(this.currentPage-1)}goToFirstPage(){this.goToPage(0)}goToLastPage(){const e=this.beans.rowModel.getRowCount(),t=Math.floor(e/this.pageSize);this.goToPage(t)}getPageSize(){return this.pageSize}getTotalPages(){return this.totalPages}setPage(e){this.currentPage=e}get pageSize(){return Ge(this.pageSizeAutoCalculated)&&this.gos.get("paginationAutoPageSize")?this.pageSizeAutoCalculated:Ge(this.pageSizeFromPageSizeSelector)?this.pageSizeFromPageSizeSelector:Ge(this.pageSizeFromInitialState)?this.pageSizeFromInitialState:Ge(this.pageSizeFromGridOptions)?this.pageSizeFromGridOptions:this.defaultPageSize}calculatePages(){this.active?this.paginateChildRows?this.calculatePagesAllRows():this.calculatePagesMasterRowsOnly():this.calculatedPagesNotActive(),this.beans.pageBounds.calculateBounds(this.topDisplayedRowIndex,this.bottomDisplayedRowIndex)}unsetAutoCalculatedPageSize(){if(this.pageSizeAutoCalculated===void 0)return;const e=this.pageSizeAutoCalculated;this.pageSizeAutoCalculated=void 0,this.pageSize!==e&&(this.calculatePages(),this.dispatchPaginationChangedEvent({newPageSize:!0}))}setPageSize(e,t){const n=this.pageSize;switch(t){case"autoCalculated":this.pageSizeAutoCalculated=e;break;case"pageSizeSelector":this.pageSizeFromPageSizeSelector=e,this.currentPage!==0&&this.goToFirstPage();break;case"initialState":this.pageSizeFromInitialState=e;break;case"gridOptions":this.pageSizeFromGridOptions=e,this.pageSizeFromInitialState=void 0,this.pageSizeFromPageSizeSelector=void 0,this.currentPage!==0&&this.goToFirstPage();break}n!==this.pageSize&&(this.calculatePages(),this.dispatchPaginationChangedEvent({newPageSize:!0,keepRenderedRows:!0}))}setZeroRows(){this.masterRowCount=0,this.topDisplayedRowIndex=0,this.bottomDis
vendor: 4,772 bytes, line 96
96playedRowIndex=-1,this.currentPage=0,this.totalPages=0}adjustCurrentPageIfInvalid(){const e=this.totalPages;this.currentPage>=e&&(this.currentPage=e-1);const t=this.currentPage;(!isFinite(t)||isNaN(t)||t<0)&&(this.currentPage=0)}calculatePagesMasterRowsOnly(){const e=this.beans.rowModel,t=e.getTopLevelRowCount();if(this.masterRowCount=t,t<=0){this.setZeroRows();return}const n=this.pageSize,o=t-1;this.totalPages=Math.floor(o/n)+1,this.adjustCurrentPageIfInvalid();const i=this.currentPage,s=n*i;let r=n*(i+1)-1;if(r>o&&(r=o),this.topDisplayedRowIndex=e.getTopLevelRowDisplayedIndex(s),r===o)this.bottomDisplayedRowIndex=e.getRowCount()-1;else{const a=e.getTopLevelRowDisplayedIndex(r+1);this.bottomDisplayedRowIndex=a-1}}getMasterRowCount(){return this.masterRowCount}calculatePagesAllRows(){const e=this.beans.rowModel.getRowCount();if(this.masterRowCount=e,e===0){this.setZeroRows();return}const{pageSize:t,currentPage:n}=this,o=e-1;this.totalPages=Math.floor(o/t)+1,this.adjustCurrentPageIfInvalid(),this.topDisplayedRowIndex=t*n,this.bottomDisplayedRowIndex=t*(n+1)-1,this.bottomDisplayedRowIndex>o&&(this.bottomDisplayedRowIndex=o)}calculatedPagesNotActive(){this.setPageSize(void 0,"autoCalculated"),this.totalPages=1,this.currentPage=0,this.topDisplayedRowIndex=0,this.bottomDisplayedRowIndex=this.beans.rowModel.getRowCount()-1}dispatchPaginationChangedEvent(e){const{keepRenderedRows:t=!1,newPage:n=!1,newPageSize:o=!1}=e;this.eventSvc.dispatchEvent({type:"paginationChanged",animate:!1,newData:!1,newPage:n,newPageSize:o,keepRenderedRows:t})}},jie={moduleName:"Pagination",version:We,beans:[Uie,Bie],icons:{first:"first",previous:"previous",next:"next",last:"last"},apiFunctions:{paginationIsLastPageFound:Lie,paginationGetPageSize:xie,paginationGetCurrentPage:Die,paginationGetTotalPages:kie,paginationGetRowCount:Aie,paginationGoToNextPage:_ie,paginationGoToPreviousPage:Iie,paginationGoToFirstPage:Fie,paginationGoToLastPage:Oie,paginationGoToPage:Nie},dependsOn:[m0]};function Zie(e,t={}){const n=t?t.rowNodes:void 0;e.frameworkOverrides.wrapIncoming(()=>e.rowRenderer.redrawRows(n))}function mk(e,t,n,o,i){t&&(o&&t.parent&&t.parent.level!==-1&&mk(e,t.parent,n,o,i),t.setExpanded(n,void 0,i))}function Kie(e,t){return e.rowModel.getRowNode(t)}function qie(e,t,n,o){e.rowRenderer.addRenderedRowListener(t,n,o)}function Yie(e){return e.rowRenderer.getRenderedNodes()}function Xie(e,t,n){e.rowModel.forEachNode(t,n)}function Jie(e){return e.rowRenderer.firstRenderedRow}function Qie(e){return e.rowRenderer.lastRenderedRow}function ese(e,t){return e.rowModel.getRow(t)}function tse(e){return e.rowModel.getRowCount()}var nse={moduleName:"RowApi",version:We,apiFunctions:{redrawRows:Zie,setRowNodeExpanded:mk,getRowNode:Kie,addRenderedRowListener:qie,getRenderedNodes:Yie,forEachNode:Xie,getFirstDisplayedRowIndex:Jie,getLastDisplayedRowIndex:Qie,getDisplayedRowAtIndex:ese,getDisplayedRowCount:tse}},ose={moduleName:"ScrollApi",version:We,apiFunctions:{getVerticalPixelRange:gne,getHorizontalPixelRange:mne,ensureColumnVisible:nk,ensureIndexVisible:ok,ensureNodeVisible:vne}};function ise(e,t,n){if(!t)return;const o=e.ctrlsSvc.getGridBodyCtrl().eGridBody,i=`aria-${t}`;n===null?o.removeAttribute(i):o.setAttribute(i,n)}function sse(e,t={}){e.frameworkOverrides.wrapIncoming(()=>e.rowRenderer.refreshCells(t))}function rse(e){e.frameworkOverrides.wrapIncoming(()=>{for(const t of e.ctrlsSvc.getHeaderRowContainerCtrls())t.refresh()})}function ase(e){return e.animationFrameSvc?.isQueueEmpty()??!0}function lse(e){e.animationFrameSvc?.flushAllFrames()}function cse(e){return{rowHeight:Al(e),headerHeight:Vp(e)}}function use(e,t={}){const n=[];for(const s of e.rowRenderer.getCellCtrls(t.rowNodes,t.columns)){const r=s.getCellRenderer();r!=null&&n.push(Uh(r))}if(t.columns?.length)return n;const o=[],i=T5(t.rowNodes);for(const s of e.rowRenderer.getAllRowCtrls()){if(i&&!R5(s.rowNode,i)||!s.isFullWidth())continue;const r=s.getFullWidthCellRenderers();for(let a=0;a<r.length;a++){const l=r[a];l!=null&&o.push(Uh(l))}}return[...o,...n]}var dse={moduleName:"RenderApi",version:We,apiFunctions:{setGridAriaProperty:ise,refreshCells:sse,refreshHeader:rse,isAnimationFrameQueueEmpty:ase,flushAllAnimationFrames:lse,getSizesForCurrentTheme:cse,getCellRendererInstances:use}};function hse(e,t){typeof t=="number"?e.colAutosize?.sizeColumnsToFit(t,"api"):e.colAutosize?.sizeColumnsToFitGridBody(t)}function vk({colAutosize:e,visibleCols:t},n,o){Array.isArray(n)?e?.autoSizeCols({colKeys:n,skipHeader:o,source:"api"}):e?.autoSizeCols({...n,colKeys:n.colIds??t.allCols,source:"api"})}function pse(e,t){t&&typeof t=="object"?vk(e,t):e.colAutosize?.autoSizeAllColumns({source:"api",skipHeader:t})}var fse=class extends we{constructor(){super(...arguments),this.beanName="
96colAutosize",this.timesDelayed=0,this.shouldQueueResizeOperations=!1,this.resizeOperationQueue=[]}postConstruct(){const{gos:e}=this,t=e.get("autoSizeStrategy");if(t){let n=!1;const o=t.type;if(o==="fitGridWidth"||o==="fitProvidedWidth")n=!0;else if(o==="fitCellContents"){this.addManagedEventListeners({firstDataRendered:()=>this.onFirstDataRendered(t)});const i=e.get("rowData");n=i!=null&&i.length>0&&kn(e)}n&&this.beans.colDelayRenderSvc?.hideColumns(o)}}autoSizeCols(e){const{eventSvc:t,visibleCols:n}=this.beans;this.innerAutoSizeCols(e).then(o=>{const i=c=>xu(t,Array.from(c),!0,"autosizeColumns");if(!e.scaleUpToFitGridWidth)return i(o);const s=f9(this.beans),r=c=>n.leftCols.some(u=>lh(u,c)),a=c=>n.rightCols.some(u=>lh(u,c)),l=e.colKeys.filter(c=>!Hr(c)&&!gr(c)&&!r(c)&&!a(c));this.sizeColumnsToFit(s,e.source,!0,{defaultMaxWidth:e.defaultMaxWidth,defaultMinWidth:e.defaultMinWidth,columnLimits:e.columnLimits?.map(c=>({...c,key:c.colId})),colKeys:l,onlyScaleUp:!0}),i(o)})}innerAutoSizeCols(e){return new Promise((t,n)=>{if(this.shouldQueueResizeOperations)return this.pushResizeOperation(()=>this.innerAutoSizeCols(e).then(t,n));const{colKeys:o,skipHeader:i,skipHeaderGroups:s,stopAtGroup:r,defaultMaxWidth:a,defaultMinWidth:l,columnLimits:c=[],source:u="api"}=e,{animationFrameSvc:d,renderStatus:h,colModel:p,autoWidthCalc:f,visibleCols:g}=this.beans;if(d?.flushAllFrames(),this.timesDelayed<5&&h&&(!h.areHeaderCellsRendered()||!h.areCellsRendered())){this.timesDelayed++,setTimeout(()=>{this.isAlive()&&this.innerAutoSizeCols(e).then(t,n)});return}this.timesDelayed=0;const m=new Set;let v=-1;const y=Object.fromEntries(c.map(({colId:S,...E})=>[S,E])),b=i??this.gos.get("skipHeaderOnAutoSize"),w=s??b;for(;v!==0;){v=0;const S=[];for(const E of o){if(!E||uz(E))continue;const T=p.getCol(E);if(!T||m.has(T))continue;const R=f.getPreferredWidthForColumn(T,b);if(R>0){const A=y[T.colId]??{};A.minWidth??(A.minWidth=l),A.maxWidth??(A.maxWidth=a);const k=gse(T,R,A);T.setActualWidth(k,u),m.add(T),v++}S.push(T)}S.length&&g.refresh(u)}w||this.autoSizeColumnGroupsByColumns(o,u,r),t(m)})}autoSizeColumn(e,t,n){this.autoSizeCols({colKeys:[e],skipHeader:n,skipHeaderGroups:!0,source:t})}autoSizeColumnGroupsByColumns(e,t,n){const{colModel:o,ctrlsSvc:i}=this.beans,s=new Set,r=o.getColsForKeys(e);for(const l of r){let c=l.getParent();for(;c&&c!=n;)c.isPadding()||s.add(c),c=c.getParent()}let a;for(const l of s){for(const c of i.getHeaderRowContainerCtrls())if(a=c.getHeaderCtrlForColumn(l),a)break;a?.resizeLeafColumnsToFit(t)}}autoSizeAllColumns(e){if(this.shouldQueueResizeOperations){this.pushResizeOperation(()=>this.autoSizeAllColumns(e));return}this.autoSizeCols({colKeys:this.beans.visibleCols.allCols,...e})}addColumnAutosizeListeners(e,t){const n=this.gos.get("skipHeaderOnAutoSize"),o=()=>{this.autoSizeColumn(t,"uiColumnResized",n)};e.addEventListener("dblclick",o);const i=new hl(e);return i.addEventListener("doubleTap",o),()=>{e.removeEventListener("dblclick",o),i.destroy()}}addColumnGroupResize(e,t,n){const o=this.gos.get("skipHeaderOnAutoSize"),i=()=>{const s=[],r=t.getDisplayedLeafColumns();for(const a of r)a.getColDef().suppressAutoSize||s.push(a.getColId());s.length>0&&this.autoSizeCols({colKeys:s,skipHeader:o,stopAtGroup:t,source:"uiColumnResized"}),n()};return e.addEventListener("dblclick",i),()=>e.removeEventListener("dblclick",i)}sizeColumnsToFitGridBody(e,t){if(!this.isAlive())return;const n=f9(this.beans);if(n>0){this.sizeColumnsToFit(n,"sizeColumnsToFit",!1,e);return}t===void 0?window.setTimeout(()=>{this.sizeColumnsToFitGridBody(e,100)},0):t===100?window.setTimeout(()=>{this.sizeColumnsToFitGridBody(e,500)},100):t===500?window.setTimeout(()=>{this.sizeColumnsToFitGridBody(e,-1)},500):Me(29)}sizeColumnsToFit(e,t="sizeColumnsToFit",n,o){if(this.shouldQueueResizeOperations){this.pushResizeOperation(()=>this.sizeColumnsToFit(e,t,n,o));return}const i={};for(const{key:f,...g}of o?.columnLimits??[])i[typeof f=="string"?f:f.getColId()]=g;const s=this.beans.visibleCols.allCols;if(e<=0||!s.length)return;const r=ir(s);if(o?.onlyScaleUp&&r>e||e===r&&s.every(g=>{if(g.colDef.suppressSizeToFit)return!0;const m=i?.[g.getId()],v=m?.minWidth??o?.defaultMinWidth,y=m?.maxWidth??o?.defaultMaxWidth,b=g.getActualWidth();return(v==null||b>=v)&&(y==null||b<=y)}))return;const l=[],c=[];for(const f of s){const g=o?.colKeys?.some(m=>lh(f,m))??!0;f.getColDef().suppressSizeToFit||!g?c.push(f):l.push(f)}const u=l.slice(0);let d=!1;const h=f=>{os(l,f),c.push(f)};for(const f of l){f.resetActualWidth(t);const g=i?.[f.getId()],m=g?.minWidth??o?.defaultMinWidth,v=g?.maxWidth??o?.defaultMaxWidth,y=f.getActualWidth();typeof m=="number"&&y<m?f.setActualWidth(m,t,!0):typeof v=="number"&&y>v&&f.setActualWidth(v,t,!0)}for(;!d;){d=!0;const f=e-ir(c);if(f<=0)for(const g of l){const m=i?.[g.getId()]?.minWidth??o?.defaultMinWidth??g.minWidth;g.setActualWidth(m,t,!0)}else{const g=f/ir(l);let m=f;for(let v=l.length-1;v>=0;v--){const y=l[v],b=i?.[y.getId()],w=b?.minWidth??o?.defaultMinWidth,S=b?.maxWidth??o?.defaultMaxWidth,E=y.getMinWidth(),T=y.getMaxWidth(),R=typeof w=="number"&&w>E?w:E,A=typeof S=="number"&&S<T?S:T;let k=Math.round(y.getActualWidth()*g);k<R?(k=R,h(y),d=!1):k>A?(k=A,h(y),d=!1):v===0&&(k=m),y.setActualWidth(k,t,!0),m-=k}}}for(const f of u)f.fireColumnWidthChangedEvent(t);const p=this.beans.visibleCols;p.setLeftValues(t),p.updateBodyWidths(),!n&&xu(this.eventSvc,u,!0,t)}
96applyAutosizeStrategy(){const{gos:e,colDelayRenderSvc:t}=this.beans,n=e.get("autoSizeStrategy");n?.type!=="fitGridWidth"&&n?.type!=="fitProvidedWidth"||setTimeout(()=>{if(!this.isAlive())return;const o=n.type;if(o==="fitGridWidth"){const{columnLimits:i,defaultMinWidth:s,defaultMaxWidth:r}=n,a=i?.map(({colId:l,minWidth:c,maxWidth:u})=>({key:l,minWidth:c,maxWidth:u}));this.sizeColumnsToFitGridBody({defaultMinWidth:s,defaultMaxWidth:r,columnLimits:a})}else o==="fitProvidedWidth"&&this.sizeColumnsToFit(n.width,"sizeColumnsToFit");t?.revealColumns(o)})}onFirstDataRendered({colIds:e,...t}){setTimeout(()=>{if(!this.isAlive())return;const n="autosizeColumns";e?this.autoSizeCols({...t,source:n,colKeys:e}):this.autoSizeAllColumns({...t,source:n}),this.beans.colDelayRenderSvc?.revealColumns(t.type)})}processResizeOperations(){this.shouldQueueResizeOperations=!1;for(const e of this.resizeOperationQueue)e();this.resizeOperationQueue=[]}pushResizeOperation(e){this.resizeOperationQueue.push(e)}destroy(){this.resizeOperationQueue.length=0,super.destroy()}};function gse(e,t,n={}){const o=n.minWidth??e.getMinWidth();t<o&&(t=o);const i=n.maxWidth??e.getMaxWidth();return t>i&&(t=i),t}function f9({ctrlsSvc:e,scrollVisibleSvc:t}){const n=e.getGridBodyCtrl(),i=n.isVerticalScrollShowing()?t.getScrollbarWidth():0;return Vh(n.eGridBody)-i}var mse={moduleName:"ColumnAutoSize",version:We,beans:[fse],apiFunctions:{sizeColumnsToFit:hse,autoSizeColumns:vk,autoSizeAllColumns:pse},dependsOn:[CD]},vse=".ag-row-pinned-source{background-color:var(--ag-pinned-source-row-background-color);color:var(--ag-pinned-source-row-text-color);font-weight:var(--ag-pinned-source-row-font-weight)}.ag-row-pinned-manual{background-color:var(--ag-pinned-row-background-color);color:var(--ag-pinned-row-text-color);font-weight:var(--ag-pinned-row-font-weight)}";function Cse(e){return e.pinnedRowModel?.getPinnedTopRowCount()??0}function bse(e){return e.pinnedRowModel?.getPinnedBottomRowCount()??0}function yse(e,t){return e.pinnedRowModel?.getPinnedTopRow(t)}function wse(e,t){return e.pinnedRowModel?.getPinnedBottomRow(t)}function Sse(e,t,n){return e.pinnedRowModel?.forEachPinnedRow(t,n)}var Ese={moduleName:"PinnedRow",version:We,beans:[bK],css:[vse],apiFunctions:{getPinnedTopRowCount:Cse,getPinnedBottomRowCount:bse,getPinnedTopRow:yse,getPinnedBottomRow:wse,forEachPinnedRow:Sse},icons:{rowPin:"pin",rowPinTop:"pinned-top",rowPinBottom:"pinned-bottom",rowUnpin:"un-pin"}},Tse=class{constructor(e,t){this.col=e,this.firstNode=t,this.cellSpan=!0,this.spannedNodes=new Set,this.addSpannedNode(t)}reset(){this.spannedNodes.clear(),this.addSpannedNode(this.firstNode)}addSpannedNode(e){this.spannedNodes.add(e),this.lastNode=e}getLastNode(){return this.lastNode}getCellHeight(){return this.lastNode.rowTop+this.lastNode.rowHeight-this.firstNode.rowTop-1}doesSpanContain(e){return e.column!==this.col||e.rowPinned!=this.firstNode.rowPinned?!1:this.firstNode.rowIndex<=e.rowIndex&&e.rowIndex<=this.lastNode.rowIndex}getLastNodeAutoHeight(){const e=this.firstNode.__autoHeights?.[this.col.getColId()];if(e==null)return;let t=0;for(const n of this.spannedNodes)n!==this.lastNode&&(t+=n.rowHeight);return e-t}},Rse=class extends we{constructor(e){super(),this.column=e}buildCache(e){const{column:t,beans:{gos:n,pinnedRowModel:o,rowModel:i,valueSvc:s,pagination:r}}=this,{colDef:a}=t,l=this.getNodeMap(e),c=new Map,u=n.getCallback("isFullWidthRow"),d=a.equals,h=a.spanRows,p=typeof h=="function";let f=null,g=null,m;const v=(b,w)=>{f=b,g=null,m=w},y=b=>{const w=!b.isExpandable()&&!b.group&&!b.detail&&(u?!u({rowNode:b}):!0);if(b.rowIndex==null||!w){v(null,null);return}if(f==null||b.level!==f.level||b.footer||g&&b.rowIndex-1!==g?.getLastNode().rowIndex){v(b,s.getValue(t,b));return}const S=s.getValue(t,b);if(p){const E=st(n,{valueA:m,nodeA:f,valueB:S,nodeB:b,column:t,colDef:a});if(!h(E)){v(b,S);return}}else if(d?!d(m,S):m!==S){v(b,S);return}if(!g){const E=l?.get(f);E?.firstNode===f?(E.reset(),g=E):g=new Tse(t,f),c.set(f,g)}g.addSpannedNode(b),c.set(b,g)};switch(e){case"center":i.forEachDisplayedNode?.(b=>{(!r||r.isRowInPage(b.rowIndex))&&y(b)}),this.centerValueNodeMap=c;break;case"top":o?.forEachPinnedRow("top",y),this.topValueNodeMap=c;break;case"bottom":o?.forEachPinnedRow("bottom",y),this.bottomValueNodeMap=c;break}}isCellSpanning(e){return!!this.getCellSpan(e)}getCellSpan(e){return this.getNodeMap(e.rowPinned).get(e)}getNodeMap(e){switch(e){case"top":return this.topValueNodeMap;case"bottom":return this.bottomValueNodeMap;default:return this.centerValueNodeMap}}},Pse=class extends we{constructor(){super(...arguments),this.beanName="rowSpanSvc",this.spanningColumns=new Map,this.debouncePinnedEvent=qn(this,this.dispatchCellsUpdatedEvent.bind(this,!0),0),this.debounceModelEvent=qn(this,this.dispatchCellsUpdatedEvent.bind(this,!1),0),this.pinnedTimeout=null,this.modelTimeout=null}postConstruct(){const e=this.onRowDataUpdated.bind(this),t=this.buildPinnedCaches.bind(this);this.addManagedEventListeners({paginationChanged:this.buildModelCaches.bind(this),pinnedRowDataChanged:t,pinnedRowsChanged:t,rowNodeDataChanged:e,cellValueChanged:e})}register(e){const{gos:t}=this.beans;if(!t.get("enableCellSpan")||this.spanningColumns.has(e))return;const n=this.createManagedBean(new Rse(e));this.spanningColumns.set(e,n),n.buildCache("top"),n.buildCache("bottom"),n.buildCache("center"),this.debouncePinnedEvent(),this.debounceModelEvent()}dispatchCellsUpdatedEvent(e){this.dispatchLocalEvent({type:"spannedCellsUpdated",pinned:e})}deregister(e){this.spanningColumns.delete(e)}onRowDataUpdated({node:e}){const{spannedRowRenderer:t}=this.beans;if(e.rowPinned){if(this.pinnedTimeout!=null)return;this.pinnedTimeout=window.setTimeout(()=>{this.pinnedTimeout=null,this.buildPinnedCaches(),t?.createCtrls("top"),t?.createCtrls("bottom")},0);return}this.modelTimeout==null&&(this.modelTimeout=window.setTimeout(()=>{this.modelTimeout=null,this.buildModelCaches(),t?.createCtrls("center")},0))}buildModelCaches(){this.modelTimeout!=null&&clearTimeout(this.modelTimeout),this.spanningColumns.forEach(e
96=>e.buildCache("center")),this.debounceModelEvent()}buildPinnedCaches(){this.pinnedTimeout!=null&&clearTimeout(this.pinnedTimeout),this.spanningColumns.forEach(e=>{e.buildCache("top"),e.buildCache("bottom")}),this.debouncePinnedEvent()}isCellSpanning(e,t){const n=this.spanningColumns.get(e);return n?n.isCellSpanning(t):!1}getCellSpanByPosition(e){const{pinnedRowModel:t,rowModel:n}=this.beans,o=e.column,i=e.rowIndex,s=this.spanningColumns.get(o);if(!s)return;let r;switch(e.rowPinned){case"top":r=t?.getPinnedTopRow(i);break;case"bottom":r=t?.getPinnedBottomRow(i);break;default:r=n.getRow(i)}if(r)return s.getCellSpan(r)}getCellStart(e){const t=this.getCellSpanByPosition(e);return t?{...e,rowIndex:t.firstNode.rowIndex}:e}getCellEnd(e){const t=this.getCellSpanByPosition(e);return t?{...e,rowIndex:t.getLastNode().rowIndex}:e}getCellSpan(e,t){const n=this.spanningColumns.get(e);if(n)return n.getCellSpan(t)}forEachSpannedColumn(e,t){for(const[n,o]of this.spanningColumns)if(o.isCellSpanning(e)){const i=o.getCellSpan(e);t(n,i)}}destroy(){super.destroy(),this.spanningColumns.clear()}},Mse=class extends vu{constructor(e,t,n){super(e.col,e.firstNode,n,t),this.cellSpan=e,this.SPANNED_CELL_CSS_CLASS="ag-spanned-cell"}setComp(e,t,n,o,i,s,r){this.eWrapper=n,super.setComp(e,t,n,o,i,s,r),this.setAriaRowSpan(),this.refreshAriaRowIndex()}isCellSpanning(){return!0}getCellSpan(){return this.cellSpan}refreshAriaRowIndex(){const{eGui:e,rowNode:t}=this;!e||t.rowIndex==null||Hg(e,t.rowIndex)}setAriaRowSpan(){nG(this.eGui,this.cellSpan.spannedNodes.size)}setFocusedCellPosition(e){this.focusedCellPosition=e}getFocusedCellPosition(){return this.focusedCellPosition??this.cellPosition}checkCellFocused(){const e=this.beans.focusSvc.getFocusedCell();return!!e&&this.cellSpan.doesSpanContain(e)}applyStaticCssClasses(){super.applyStaticCssClasses(),this.comp.toggleCss(this.SPANNED_CELL_CSS_CLASS,!0)}onCellFocused(e){const{beans:t}=this;if(p0(t)){this.focusedCellPosition=void 0;return}const n=this.isCellFocused();n||(this.focusedCellPosition=void 0),e&&n&&(this.focusedCellPosition={rowIndex:e.rowIndex,rowPinned:e.rowPinned,column:e.column}),super.onCellFocused(e)}getRootElement(){return this.eWrapper}},Lse=class extends sm{onRowIndexChanged(){super.onRowIndexChanged();for(const e of this.getAllCellCtrls())e.refreshAriaRowIndex()}getInitialRowClasses(e){return["ag-spanned-row"]}getNewCellCtrl(e){const t=this.beans.rowSpanSvc?.getCellSpan(e,this.rowNode);if(!(!t||t.firstNode!==this.rowNode))return new Mse(t,this,this.beans)}isCorrectCtrlForSpan(e){const t=this.beans.rowSpanSvc?.getCellSpan(e.column,this.rowNode);return!t||t.firstNode!==this.rowNode?!1:e.getCellSpan()===t}onRowHeightChanged(){}refreshFirstAndLastRowStyles(){}addHoverFunctionality(){}resetHoveredStatus(){}},xse=class extends we{constructor(){super(...arguments),this.beanName="spannedRowRenderer",this.topCtrls=new Map,this.bottomCtrls=new Map,this.centerCtrls=new Map}postConstruct(){this.addManagedEventListeners({displayedRowsChanged:this.createAllCtrls.bind(this)})}createAllCtrls(){this.createCtrls("top"),this.createCtrls("bottom"),this.createCtrls("center")}createCtrls(e){const{rowSpanSvc:t}=this.beans,n=this.getCtrlsMap(e),o=n.size,i=this.getAllRelevantRowControls(e),s=new Map;let r=!1;for(const l of i)l.isAlive()&&t?.forEachSpannedColumn(l.rowNode,(c,u)=>{if(s.has(u.firstNode))return;const d=n.get(u.firstNode);if(d){s.set(u.firstNode,d),n.delete(u.firstNode);return}r=!0;const h=new Lse(u.firstNode,this.beans,!1,!1,!1);s.set(u.firstNode,h)});this.setCtrlsMap(e,s);const a=s.size===o;if(!(!r&&a)){for(const l of n.values())l.destroyFirstPass(!0),l.destroySecondPass();this.dispatchLocalEvent({type:"spannedRowsUpdated",ctrlsKey:e})}}getAllRelevantRowControls(e){const{rowRenderer:t}=this.beans;switch(e){case"top":return t.topRowCtrls;case"bottom":return t.bottomRowCtrls;case"center":return t.allRowCtrls}}getCellByPosition(e){const{rowSpanSvc:t}=this.beans,n=t?.getCellSpanByPosition(e);if(!n)return;const o=this.getCtrlsMap(e.rowPinned).get(n.firstNode);if(o)return o.getAllCellCtrls().find(i=>i.column===e.column)}getCtrls(e){return[...this.getCtrlsMap(e).values()]}destroyRowCtrls(e){for(const t of this.getCtrlsMap(e).values())t.de
vendor: 5,270 bytes, line 96
96stroyFirstPass(!0),t.destroySecondPass();this.setCtrlsMap(e,new Map)}getCtrlsMap(e){switch(e){case"top":return this.topCtrls;case"bottom":return this.bottomCtrls;default:return this.centerCtrls}}setCtrlsMap(e,t){switch(e){case"top":this.topCtrls=t;break;case"bottom":this.bottomCtrls=t;break;default:this.centerCtrls=t;break}}destroy(){super.destroy(),this.destroyRowCtrls("top"),this.destroyRowCtrls("bottom"),this.destroyRowCtrls("center")}},Dse={moduleName:"CellSpan",version:We,beans:[Pse,xse]},kse=class extends we{constructor(e,t){super(),this.cellCtrl=e,this.staticClasses=[],this.beans=t,this.column=e.column}setComp(e){this.cellComp=e,this.applyUserStyles(),this.applyCellClassRules(),this.applyClassesFromColDef()}applyCellClassRules(){const{column:e,cellComp:t}=this,n=e.colDef,o=n.cellClassRules,i=this.getCellClassParams(e,n);hb(this.beans.expressionSvc,o===this.cellClassRules?void 0:this.cellClassRules,o,i,s=>t.toggleCss(s,!0),s=>t.toggleCss(s,!1)),this.cellClassRules=o}applyUserStyles(){const e=this.column,t=e.colDef,n=t.cellStyle;if(!n)return;let o;if(typeof n=="function"){const i=this.getCellClassParams(e,t);o=n(i)}else o=n;o&&this.cellComp.setUserStyles(o)}applyClassesFromColDef(){const{column:e,cellComp:t}=this,n=e.colDef,o=this.getCellClassParams(e,n);for(const s of this.staticClasses)t.toggleCss(s,!1);const i=this.beans.cellStyles.getStaticCellClasses(n,o);this.staticClasses=i;for(const s of i)t.toggleCss(s,!0)}getCellClassParams(e,t){const{value:n,rowNode:o}=this.cellCtrl;return st(this.beans.gos,{value:n,data:o.data,node:o,colDef:t,column:e,rowIndex:o.rowIndex})}},Ase=class extends we{constructor(){super(...arguments),this.beanName="cellStyles"}processAllCellClasses(e,t,n,o){hb(this.beans.expressionSvc,void 0,e.cellClassRules,t,n,o),this.processStaticCellClasses(e,t,n)}getStaticCellClasses(e,t){const{cellClass:n}=e;if(!n)return[];let o;return typeof n=="function"?o=n(t):o=n,typeof o=="string"&&(o=[o]),o||[]}createCellCustomStyleFeature(e,t){return new kse(e,t)}processStaticCellClasses(e,t,n){this.getStaticCellClasses(e,t).forEach(i=>{n(i)})}},_se={moduleName:"CellStyle",version:We,beans:[Ase]},Ise={moduleName:"RowStyle",version:We,beans:[yQ]};function Fse(e,t){return!!e.colHover?.isHovered(t)}var Ose=class extends we{constructor(e,t){super(),this.columns=e,this.element=t,this.destroyManagedListeners=[],this.enableFeature=n=>{const{beans:o,gos:i,element:s,columns:r}=this,a=o.colHover;if(n??!!i.get("columnHoverHighlight"))this.destroyManagedListeners=this.addManagedElementListeners(s,{mouseover:a.setMouseOver.bind(a,r),mouseout:a.clearMouseOver.bind(a)});else{for(const c of this.destroyManagedListeners)c();this.destroyManagedListeners=[]}}}postConstruct(){this.addManagedPropertyListener("columnHoverHighlight",({currentValue:e})=>{this.enableFeature(e)}),this.enableFeature()}destroy(){super.destroy(),this.destroyManagedListeners=null}},Nse="ag-column-hover",Bse=class extends we{constructor(){super(...arguments),this.beanName="colHover"}postConstruct(){this.addManagedPropertyListener("columnHoverHighlight",({currentValue:e})=>{e||this.clearMouseOver()})}setMouseOver(e){this.updateState(e)}clearMouseOver(){this.updateState(null)}isHovered(e){if(!this.gos.get("columnHoverHighlight"))return!1;const t=this.selectedColumns;return!!t&&t.indexOf(e)>=0}addHeaderColumnHoverListener(e,t,n){const o=()=>{const i=this.isHovered(n);t.toggleCss("ag-column-hover",i)};e.addManagedEventListeners({columnHoverChanged:o}),o()}onCellColumnHover(e,t){if(!t)return;const n=this.isHovered(e);t.toggleCss(Nse,n)}addHeaderFilterColumnHoverListener(e,t,n,o){this.createHoverFeature(e,[n],o);const i=()=>{const s=this.isHovered(n);t.toggleCss("ag-column-hover",s)};e.addManagedEventListeners({columnHoverChanged:i}),i()}createHoverFeature(e,t,n){e.createManagedBean(new Ose(t,n))}updateState(e){this.selectedColumns=e,this.eventSvc.dispatchEvent({type:"columnHoverChanged"})}},Hse={moduleName:"ColumnHover",version:We,beans:[Bse],apiFunctions:{isColumnHovered:Fse}},Vse=class extends we{constructor(){super(...arguments),this.beanName="apiEventSvc",this.syncListeners=new Map,this.asyncListeners=new Map,this.syncGlobalListeners=new Set,this.globalListenerPairs=new Map}postConstruct(){this.wrapSvc=this.beans.frameworkOverrides.createGlobalEventListenerWrapper?.()}addListener(e,t){const n=this.wrapSvc?.wrap(e,t)??t,o=!R1.has(e),i=o?this.asyncListeners:this.syncListeners;i.has(e)||i.set(e,new Set),i.get(e).add(n),this.eventSvc.addListener(e,n,o)}removeListener(e,t){const n=this.wrapSvc?.unwrap(e,t)??t,i=!!this.asyncListeners.get(e)?.delete(n);i||this.syncListeners.get(e)?.delete(n),this.eventSvc.removeListener(e,n,i)}addGlobalListener(e){const t=this.wrapSvc?.wrapGlobal(e)??e,n=(s,r)=>{R1.has(s)&&t(s,r)},o=(s,r)=>{R1.has(s)||t(s,r)};this.globalListenerPairs.set(e,{syncListener:n,asyncListener:o});const i=this.eventSvc;i.addGlobalListener(n,!1),i.addGlobalListener(o,!0)}removeGlobalListener(e){const{eventSvc:t,wrapSvc:n,globalListenerPairs:o}=this,i=n?.unwrapGlobal(e)??e;if(o.has(i)){const{syncListener:r,asyncListener:a}=o.get(i);t.removeGlobalListener(r,!1),t.removeGlobalListener(a,!0),o.delete(e)}else this.syncGlobalListeners.delete(i),t.removeGlobalListener(i,!1)}destroyEventListeners(e,t){e.forEach((n,o)=>
96{n.forEach(i=>this.eventSvc.removeListener(o,i,t)),n.clear()}),e.clear()}destroyGlobalListeners(e,t){for(const n of e)this.eventSvc.removeGlobalListener(n,t);e.clear()}destroy(){super.destroy(),this.destroyEventListeners(this.syncListeners,!1),this.destroyEventListeners(this.asyncListeners,!0),this.destroyGlobalListeners(this.syncGlobalListeners,!1);const{globalListenerPairs:e,eventSvc:t}=this;e.forEach(({syncListener:n,asyncListener:o})=>{t.removeGlobalListener(n,!1),t.removeGlobalListener(o,!0)}),e.clear()}};function $se(e,t,n){e.apiEventSvc?.addListener(t,n)}function Wse(e,t,n){e.apiEventSvc?.removeListener(t,n)}function Gse(e,t){e.apiEventSvc?.addGlobalListener(t)}function zse(e,t){e.apiEventSvc?.removeGlobalListener(t)}var Use={moduleName:"EventApi",version:We,apiFunctions:{addEventListener:$se,addGlobalListener:Gse,removeEventListener:Wse,removeGlobalListener:zse},beans:[Vse]},jse={moduleName:"Locale",version:We,beans:[yee]},Zse=class extends we{constructor(){super(...arguments),this.beanName="rowAutoHeight",this.wasEverActive=!1,this._debouncedCalculateRowHeights=qn(this,this.calculateRowHeights.bind(this),1)}requestCheckAutoHeight(){this.wasEverActive&&this._debouncedCalculateRowHeights()}calculateRowHeights(){const{visibleCols:e,rowModel:t,rowSpanSvc:n,pinnedRowModel:o}=this.beans,i=e.autoHeightCols;let s=!1;const r=a=>{const l=a.__autoHeights;let c=Da(this.beans,a).height;for(const u of i){let d=l?.[u.getColId()];const h=n?.getCellSpan(u,a);if(h){if(h.getLastNode()!==a)continue;if(d=n?.getCellSpan(u,a)?.getLastNodeAutoHeight(),!d)return}if(d==null){if(this.colSpanSkipCell(u,a))continue;return}c=Math.max(d,c)}c!==a.rowHeight&&(a.setRowHeight(c),s=!0)};o?.forEachPinnedRow?.("top",r),o?.forEachPinnedRow?.("bottom",r),t.forEachDisplayedNode?.(r),s&&t.onRowHeightChanged?.()}setRowAutoHeight(e,t,n){if(e.__autoHeights??(e.__autoHeights={}),t==null){delete e.__autoHeights[n.getId()];return}const o=e.__autoHeights[n.getId()];e.__autoHeights[n.getId()]=t,o!==t&&this.requestCheckAutoHeight()}colSpanSkipCell(e,t){const{colModel:n,colViewport:o,visibleCols:i}=this.beans;if(!n.colSpanActive)return!1;let s=[];switch(e.getPinned()){case"left":s=i.getLeftColsForRow(t);break;case"right":s=i.getRightColsForRow(t);break;case null:s=o.getColsWithinViewport(t);break}return!s.includes(e)}setupCellAutoHeight(e,t,n){if(!e.column.isAutoHeight()||!t)return!1;this.wasEverActive=!0;const o=t.parentElement,{rowNode:i,column:s}=e,r=this.beans,a=u=>{if(this.beans.editSvc?.isEditing(e)||!e.isAlive()||!n.isAlive())return;const{paddingTop:d,paddingBottom:h,borderBottomWidth:p,borderTopWidth:f}=hc(o),g=d+h+p+f,v=t.offsetHeight+g;if(u<5){const b=!Un(r)?.contains(t),w=v==0;if(b||w){window.setTimeout(()=>a(u+1),0);return}}this.setRowAutoHeight(i,v,s)},l=()=>a(0);l();const c=Ga(r,t,l);return n.addDestroyFunc(()=>{c(),this.setRowAutoHeight(i,void 0,s)}),!0}setAutoHeightActive(e){this.active=e.list.some(t=>t.isVisible()&&t.isAutoHeight())}areRowsMeasured(){if(!this.active)return!0;const e=this.beans.rowRenderer.getAllRowCtrls();let t=null;for(const{rowNode:n}of e)if((!t||this.beans.colModel.colSpanActive)&&(t=this.beans.colViewport.getColsWithinViewport(n).filter(i=>i.isAutoHeight())),t.length!==0){if(!n.__autoHeights)return!1;for(const o of t){const i=n.__autoHeights[o.getColId()];if(!i||n.rowHeight<i)return!1}}return!0}},Kse={moduleName:"RowAutoHeight",version:We,beans:[Zse]},qse={moduleName:"AllCommunity",version:We,dependsOn:[Zoe,tie,die,Bee,Kne,qne,Yne,Xne,Jne,Qne,eoe,Zne,Vte,$te,Wte,Hte,zte,Ute,Mie,Roe,jie,bD,nse,ose,dse,mse,_q,Ese,goe,nee,_se,Hse,Ise,Use,see,wie,tk,jse,Kse,Aq,Koe,Dse]};const nt=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Vt=globalThis,Ol="10.32.0";function mc(){return b0(Vt),Vt}function b0(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||Ol,t[Ol]=t[Ol]||{}}function sd(e,t,n=Vt){const o=n.__SENTRY__=n.__SENTRY__||{},i=o[Ol]=o[Ol]||{};return i[e]||(i[e]=t())}const Yse=["debug","info","warn","error","log","assert","trace"],Xse="Sentry Logger ",lm={};function Ka(e){if(!("console"in Vt))return e();const t=Vt.console,n={},o=Object.keys(lm);o.forEach(i=>
96{const s=lm[i];n[i]=t[i],t[i]=s});try{return e()}finally{o.forEach(i=>{t[i]=n[i]})}}function Jse(){wb().enabled=!0}function Qse(){wb().enabled=!1}function Ck(){return wb().enabled}function ere(...e){yb("log",...e)}function tre(...e){yb("warn",...e)}function nre(...e){yb("error",...e)}function yb(e,...t){nt&&Ck()&&Ka(()=>{Vt.console[e](`${Xse}[${e}]:`,...t)})}function wb(){return nt?sd("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const ze={enable:Jse,disable:Qse,isEnabled:Ck,log:ere,warn:tre,error:nre},bk=50,Ql="?",g9=/\(error: (.*)\)/,m9=/captureMessage|captureException/;function yk(...e){const t=e.sort((n,o)=>n[0]-o[0]).map(n=>n[1]);return(n,o=0,i=0)=>{const s=[],r=n.split(`
97`);for(let a=o;a<r.length;a++){let l=r[a];l.length>1024&&(l=l.slice(0,1024));const c=g9.test(l)?l.replace(g9,"$1"):l;if(!c.match(/\S*Error: /)){for(const u of t){const d=u(c);if(d){s.push(d);break}}if(s.length>=bk+i)break}}return ire(s.slice(i))}}function ore(e){return Array.isArray(e)?yk(...e):e}function ire(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(Bf(t).function||"")&&t.pop(),t.reverse(),m9.test(Bf(t).function||"")&&(t.pop(),m9.test(Bf(t).function||"")&&t.pop()),t.slice(0,bk).map(n=>({...n,filename:n.filename||Bf(t).filename,function:n.function||Ql}))}function Bf(e){return e[e.length-1]||{}}const Tv="<anonymous>";function Mr(e){try{return!e||typeof e!="function"?Tv:e.name||Tv}catch{return Tv}}function v9(e){const t=e.exception;if(t){const n=[];try{return t.values.forEach(o=>{o.stacktrace.frames&&n.push(...o.stacktrace.frames)}),n}catch{return}}}function wk(e){return"__v_isVNode"in e&&e.__v_isVNode?"[VueVNode]":"[VueViewModel]"}const M1={},C9={};function qa(e,t){M1[e]=M1[e]||[],M1[e].push(t)}function Ya(e,t){if(!C9[e]){C9[e]=!0;try{t()}catch(n){nt&&ze.error(`Error while instrumenting ${e}`,n)}}}function gi(e,t){const n=e&&M1[e];if(n)for(const o of n)try{o(t)}catch(i){nt&&ze.error(`Error while triggering instrumentation handler.
98Type: ${e}
99Name: ${Mr(o)}
100Error:`,i)}}let Rv=null;function Sk(e){const t="error";qa(t,e),Ya(t,sre)}function sre(){Rv=Vt.onerror,Vt.onerror=function(e,t,n,o,i){return gi("error",{column:o,error:i,line:n,msg:e,url:t}),Rv?Rv.apply(this,arguments):!1},Vt.onerror.__SENTRY_INSTRUMENTED__=!0}let Pv=null;function Ek(e){const t="unhandledrejection";qa(t,e),Ya(t,rre)}function rre(){Pv=Vt.onunhandledrejection,Vt.onunhandledrejection=function(e){return gi("unhandledrejection",e),Pv?Pv.apply(this,arguments):!0},Vt.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const Tk=Object.prototype.toString;function Sb(e){switch(Tk.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return Lr(e,Error)}}function rd(e,t){return Tk.call(e)===`[object ${t}]`}function Rk(e){return rd(e,"ErrorEvent")}function b9(e){return rd(e,"DOMError")}function are(e){return rd(e,"DOMException")}function Cr(e){return rd(e,"String")}function Eb(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function _u(e){return e===null||Eb(e)||typeof e!="object"&&typeof e!="function"}function Yh(e){return rd(e,"Object")}function y0(e){return typeof Event<"u"&&Lr(e,Event)}function lre(e){return typeof Element<"u"&&Lr(e,Element)}function cre(e){return rd(e,"RegExp")}function ad(e){return!!(e?.then&&typeof e.then=="function")}function ure(e){return Yh(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function Lr(e,t){try{return e instanceof t}catch{return!1}}function Pk(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue||e.__v_isVNode))}function Tb(e){return typeof Request<"u"&&Lr(e,Request)}const Rb=Vt,dre=80;function Pi(e,t={}){if(!e)return"<unknown>";try{let n=e;const o=5,i=[];let s=0,r=0;const a=" > ",l=a.length;let c;const u=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||dre;for(;n&&s++<o&&(c=hre(n,u),!(c==="html"||s>1&&r+i.length*l+c.length>=d));)i.push(c),r+=c.length,n=n.parentNode;return i.reverse().join(a)}catch{return"<unknown>"}}function hre(e,t){const n=e,o=[];if(!n?.tagName)return"";if(Rb.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}o.push(n.tagName.toLowerCase());const i=t?.length?t.filter(r=>n.getAttribute(r)).map(r=>[r,n.getAttribute(r)]):null;if(i?.length)i.forEach(r=>{o.push(`[${r[0]}="${r[1]}"]`)});else{n.id&&o.push(`#${n.id}`);const r=n.className;if(r&&Cr(r)){const a=r.split(/\s+/);for(const l of a)o.push(`.${l}`)}}const s=["aria-label","type","name","title","alt"];for(const r of s){const a=n.getAttribute(r);a&&o.push(`[${r}="${a}"]`)}return o.join("")}function Wp(){try{return Rb.document.location.href}catch{return""}}function Mk(e){if(!Rb.HTMLElement)return null;let t=e;const n=5;for(let o=0;o<n;o++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}function Yo(e,t,n){if(!(t in e))return;const o=e[t];if(typeof o!="function")return;const i=n(o);typeof i=="function"&&Lk(i,o);try{e[t]=i}catch{nt&&ze.log(`Failed to replace method "${t}" in object`,e)}}function Vo(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{nt&&ze.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function Lk(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,Vo(e,"__sentry_original__",t)}catch{}}function Pb(e){return e.__sentry_original__}function xk(e){if(Sb(e))return{message:e.message,name:e.name,stack:e.stack,...w9(e)};if(y0(e)){const t={type:e.type,target:y9(e.target),currentTarget:y9(e.currentTarget),...w9(e)};return typeof CustomEvent<"u"&&Lr(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function y9(e){try{return lre(e)?Pi(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function w9(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function pre(e){const t=Object.keys(xk(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}function D5(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function S9(e,t){if(!Array.isArray(e))return"";const n=[];for(let o=0;o<e.length;o++){const i=e[o];try{Pk(i)?n.push(wk(i)):n.push(String(i))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function L1(e,t,n=!1){return Cr(e)?cre(t)?t.test(e):Cr(t)?n?e===t:e.includes(t):!1:!1}function Pa(e,t=[],n=!1){return t.some(o=>L1(e,o,n))}function fre(){const e=Vt;return e.crypto||e.msCrypto}let Mv;function gre(){return Math.random()*16}function mi(e=fre()){try{if(e?.randomUUID)return e.randomUUID().replace(/-/g,"")}catch{}return Mv||(Mv="10000000100040008000"+1e11),Mv.replace(/[018]/g,t=>(t^(gre()&15)>>t/4).toString(16))}function Dk(e){return e.exception?.values?.[0]}function gl(e){const{message:t,event_id:n}=e;if(t)return t;const o=Dk(e);return o?o.type&&o.value?`${o.type}: ${o.value}`:o.type||o.value||n||"<unknown>":n||"<unknown>"}
100function k5(e,t,n){const o=e.exception=e.exception||{},i=o.values=o.values||[],s=i[0]=i[0]||{};s.value||(s.value=t||""),s.type||(s.type="Error")}function Iu(e,t){const n=Dk(e);if(!n)return;const o={type:"generic",handled:!0},i=n.mechanism;if(n.mechanism={...o,...i,...t},t&&"data"in t){const s={...i?.data,...t.data};n.mechanism.data=s}}function E9(e){if(mre(e))return!0;try{Vo(e,"__sentry_captured__",!0)}catch{}return!1}function mre(e){try{return e.__sentry_captured__}catch{}}const kk=1e3;function vc(){return Date.now()/kk}function vre(){const{performance:e}=Vt;if(!e?.now||!e.timeOrigin)return vc;const t=e.timeOrigin;return()=>(t+e.now())/kk}let T9;function _n(){return(T9??(T9=vre()))()}let Lv;function Cre(){const{performance:e}=Vt;if(!e?.now)return[void 0,"none"];const t=3600*1e3,n=e.now(),o=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-o):t,s=i<t,r=e.timing?.navigationStart,l=typeof r=="number"?Math.abs(r+n-o):t,c=l<t;return s||c?i<=l?[e.timeOrigin,"timeOrigin"]:[r,"navigationStart"]:[o,"dateNow"]}function ni(){return Lv||(Lv=Cre()),Lv[0]}function bre(e){const t=_n(),n={sid:mi(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>wre(n)};return e&&Fu(n,e),n}function Fu(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||_n(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:mi()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function yre(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),Fu(e,n)}function wre(e){return{sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}function Gp(e,t,n=2){if(!t||typeof t!="object"||n<=0)return t;if(e&&Object.keys(t).length===0)return e;const o={...e};for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=Gp(o[i],t[i],n-1));return o}function xr(){return mi()}function br(){return mi().substring(16)}const A5="_sentrySpan";function Ou(e,t){t?Vo(e,A5,t):delete e[A5]}function cm(e){return e[A5]}const Sre=100;class Bs{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:xr(),sampleRand:Math.random()}}clone(){const t=new Bs;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,Ou(t,cm(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Fu(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this.setTags({[t]:n})}setAttributes(t){return this._attributes={...this._attributes,...t},this._notifyScopeListeners(),this}setAttribute(t,n){return this.setAttributes({[t]:n})}removeAttribute(t){return t in this._attributes&&(delete this._attributes[t],this._notifyScopeListeners()),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const n=typeof t=="function"?t(this):t,o=n instanceof Bs?n.getScopeData():Yh(n)?t:void 0,{tags:i,attributes:s,extra:r,user:a,contexts:l,level:c,fingerprint:u=[],propagationContext:d}=o||{};return this._tags={...this._tags,...i},this._attributes={...this._attributes,...s},this._extra={...this._extra,...r},this._contexts={...this._contexts,...l},a&&Object.keys(a).length&&(this._user=a),c&&(this._level=c),u.length&&(this._fingerprint=u),d&&(this._propagationContext=d),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,Ou(this,void 0),this._attachments=[],this.setPropagationContext({traceId:xr(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(t,n){const o=typeof n=="number"?n:Sre;if(o<=0)return this;const i={timestamp:vc(),...t,message:t.message?D5(t.message,2048):t.message};return this._breadcrumbs.push(i),this._breadcrumbs.length>o&&(this._breadcrumbs=this._breadcrumbs.slice(-o),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:cm(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=Gp(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const o=n?.event_id||mi();if(!this._client)return nt&&ze.warn("No client configured on scope - will not capture exception!"),o;const i=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:i,...n,event_id:o},this),o}captureMessage(t,n,o){const i=o?.event_id||mi();if(!this._client)return nt&&ze.warn("No client configured on scope - will not capture message!"),i;const s=o?.syntheticException??new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:s,...o,event_id:i},this),i}captureEvent(t,n){const o=n?.event_id||mi();return this._client?(this._client.captureEvent(t,{...n,event_id:o},this),o):(nt&&ze.warn("No client configured on scope - will not capture event!"),o)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
100h(t=>{t(this)}),this._notifyingListeners=!1)}}function Ere(){return sd("defaultCurrentScope",()=>new Bs)}function Tre(){return sd("defaultIsolationScope",()=>new Bs)}class Rre{constructor(t,n){let o;t?o=t:o=new Bs;let i;n?i=n:i=new Bs,this._stack=[{scope:o}],this._isolationScope=i}withScope(t){const n=this._pushScope();let o;try{o=t(n)}catch(i){throw this._popScope(),i}return ad(o)?o.then(i=>(this._popScope(),i),i=>{throw this._popScope(),i}):(this._popScope(),o)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function Nu(){const e=mc(),t=b0(e);return t.stack=t.stack||new Rre(Ere(),Tre())}function Pre(e){return Nu().withScope(e)}function Mre(e,t){const n=Nu();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function R9(e){return Nu().withScope(()=>e(Nu().getIsolationScope()))}function Lre(){return{withIsolationScope:R9,withScope:Pre,withSetScope:Mre,withSetIsolationScope:(e,t)=>R9(t),getCurrentScope:()=>Nu().getScope(),getIsolationScope:()=>Nu().getIsolationScope()}}function ld(e){const t=b0(e);return t.acs?t.acs:Lre()}function tn(){const e=mc();return ld(e).getCurrentScope()}function Cc(){const e=mc();return ld(e).getIsolationScope()}function Ak(){return sd("globalScope",()=>new Bs)}function w0(...e){const t=mc(),n=ld(t);if(e.length===2){const[o,i]=e;return o?n.withSetScope(o,i):n.withScope(i)}return n.withScope(e[0])}function nn(){return tn().getClient()}function xre(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:o,propagationSpanId:i}=t,s={trace_id:n,span_id:i||br()};return o&&(s.parent_span_id=o),s}const Xo="sentry.source",Mb="sentry.sample_rate",_k="sentry.previous_trace_sample_rate",Dr="sentry.op",yn="sentry.origin",Xh="sentry.idle_span_finish_reason",zp="sentry.measurement_unit",Up="sentry.measurement_value",P9="sentry.custom_span_name",Lb="sentry.profile_id",cd="sentry.exclusive_time",Dre="sentry.link.type",kre=0,xb=1,Bn=2;function Are(e){if(e<400&&e>=100)return{code:xb};if(e>=400&&e<500)switch(e){case 401:return{code:Bn,message:"unauthenticated"};case 403:return{code:Bn,message:"permission_denied"};case 404:return{code:Bn,message:"not_found"};case 409:return{code:Bn,message:"already_exists"};case 413:return{code:Bn,message:"failed_precondition"};case 429:return{code:Bn,message:"resource_exhausted"};case 499:return{code:Bn,message:"cancelled"};default:return{code:Bn,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:Bn,message:"unimplemented"};case 503:return{code:Bn,message:"unavailable"};case 504:return{code:Bn,message:"deadline_exceeded"};default:return{code:Bn,message:"internal_error"}}return{code:Bn,message:"internal_error"}}function Ik(e,t){e.setAttribute("http.response.status_code",t);const n=Are(t);n.message!=="unknown_error"&&e.setStatus(n)}const Fk="_sentryScope",Ok="_sentryIsolationScope";function _re(e){try{const t=Vt.WeakRef;if(typeof t=="function")return new t(e)}catch{}return e}function Ire(e){if(e){if(typeof e=="object"&&"deref"in e&&typeof e.deref=="function")try{return e.deref()}catch{return}return e}}function Fre(e,t,n){e&&(Vo(e,Ok,_re(n)),Vo(e,Fk,t))}function um(e){const t=e;return{scope:t[Fk],isolationScope:Ire(t[Ok])}}const Db="sentry-",Ore=/^sentry-/,Nre=8192;function Nk(e){const t=Hre(e);if(!t)return;const n=Object.entries(t).reduce((o,[i,s])=>{if(i.match(Ore)){const r=i.slice(Db.length);o[r]=s}return o},{});if(Object.keys(n).length>0)return n}function Bre(e){if(!e)return;const t=Object.entries(e).reduce((n,[o,i])=>(i&&(n[`${Db}${o}`]=i),n),{});return Vre(t)}function Hre(e){if(!(!e||!Cr(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const o=M9(n);return Object.entries(o).forEach(([i,s])=>{t[i]=s}),t},{}):M9(e)}function M9(e){return e.split(",").map(t=>{const n=t.indexOf("=");if(n===-1)return[];const o=t.slice(0,n),i=t.slice(n+1);return[o,i].map(s=>{try{return decodeURIComponent(s.trim())}catch{return}})}).reduce((t,[n,o])=>(n&&o&&(t[n]=o),t),{})}function Vre(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,o],i)=>{const s=`${encodeURIComponent(n)}=${encodeURIComponent(o)}`,r=i===0?s:`${t},${s}`;return r.length>Nre?(nt&&ze.warn(`Not adding key: ${n} with val: ${o} to baggage header due to exceeding baggage size limits.`),t):r},"")}const $re=/^o(\d+)\./,Wre=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Gre(e){return e==="http"||e==="https"}function ud(e,t=!1){const{host:n,path:o,pass:i,port:s,projectId:r,protocol:a,publicKey:l}=e;return`${a}://${l}${t&&i?`:${i}`:""}@${n}${s?`:${s}`:""}/${o&&`${o}/`}${r}`}function zre(e){const t=Wre.exec(e);if(!t){Ka(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,o,i="",s="",r="",a=""]=t.slice(1);let l="",c=a;const u=c.split("/");if(u.length>1&&(l=u.slice(0,-1).join("/"),c=u.pop()),c){const d=c.match(/^\d+/);d&&(c=d[0])}return Bk({host:s,pass:i,path:l,projectId:c,port:r,protocol:n,publicKey:o})}function Bk(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function Ure(e){if(!nt)return!0;const{port:t,projectId:n,protocol:o}=e;return["protocol","publicKey","host","projectId"].find(r=>e[r]?!1:(ze.error(`Invalid Sentry Dsn: ${r} missing`),!0))?!1:n.match(/^\d+$/)?Gre(o)?t&&isNaN(parseInt(t,10))?(ze.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(ze.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),!1):(ze.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function jre(e){return e.match($re)?.[1]}function Zre(e){const t=e.getOptions(),{host:n}=e.getDsn()||{};let o;return t.orgId?o=String(t.orgId):n&&(o=jre(n)),o}function Kre(e){const t=typeof e=="string"?zre(e):Bk(e);if(!(!t||!Ure(t)))return t}function Jh(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(!(typeof t!="number"||isNaN(t)||t<0||t>1))return t}const Hk=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function qre(e){if(!e)return;const t=e.match(Hk);if(!t)return;let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function Yre(e,t){const n=qre(e),o=Nk(t);
100if(!n?.traceId)return{traceId:xr(),sampleRand:Math.random()};const i=Xre(n,o);o&&(o.sample_rand=i.toString());const{traceId:s,parentSpanId:r,parentSampled:a}=n;return{traceId:s,parentSpanId:r,sampled:a,dsc:o||{},sampleRand:i}}function Vk(e=xr(),t=br(),n){let o="";return n!==void 0&&(o=n?"-1":"-0"),`${e}-${t}${o}`}function $k(e=xr(),t=br(),n){return`00-${e}-${t}-${n?"01":"00"}`}function Xre(e,t){const n=Jh(t?.sample_rand);if(n!==void 0)return n;const o=Jh(t?.sample_rate);return o&&e?.parentSampled!==void 0?e.parentSampled?Math.random()*o:o+Math.random()*(1-o):Math.random()}const Wk=0,kb=1;let L9=!1;function Jre(e){const{spanId:t,traceId:n}=e.spanContext(),{data:o,op:i,parent_span_id:s,status:r,origin:a,links:l}=Ht(e);return{parent_span_id:s,span_id:t,trace_id:n,data:o,op:i,status:r,origin:a,links:l}}function Qre(e){const{spanId:t,traceId:n,isRemote:o}=e.spanContext(),i=o?t:Ht(e).parent_span_id,s=um(e).scope,r=o?s?.getPropagationContext().propagationSpanId||br():t;return{parent_span_id:i,span_id:r,trace_id:n}}function eae(e){const{traceId:t,spanId:n}=e.spanContext(),o=Xa(e);return Vk(t,n,o)}function tae(e){const{traceId:t,spanId:n}=e.spanContext(),o=Xa(e);return $k(t,n,o)}function Gk(e){if(e&&e.length>0)return e.map(({context:{spanId:t,traceId:n,traceFlags:o,...i},attributes:s})=>({span_id:t,trace_id:n,sampled:o===kb,attributes:s,...i}))}function Nl(e){return typeof e=="number"?x9(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?x9(e.getTime()):_n()}function x9(e){return e>9999999999?e/1e3:e}function Ht(e){if(oae(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(nae(e)){const{attributes:o,startTime:i,name:s,endTime:r,status:a,links:l}=e,c="parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0;return{span_id:t,trace_id:n,data:o,description:s,parent_span_id:c,start_timestamp:Nl(i),timestamp:Nl(r)||void 0,status:zk(a),op:o[Dr],origin:o[yn],links:Gk(l)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function nae(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function oae(e){return typeof e.getSpanJSON=="function"}function Xa(e){const{traceFlags:t}=e.spanContext();return t===kb}function zk(e){if(!(!e||e.code===kre))return e.code===xb?"ok":e.message||"internal_error"}const Bl="_sentryChildSpans",_5="_sentryRootSpan";function Uk(e,t){const n=e[_5]||e;Vo(t,_5,n),e[Bl]?e[Bl].add(t):Vo(e,Bl,new Set([t]))}function iae(e,t){e[Bl]&&e[Bl].delete(t)}function x1(e){const t=new Set;function n(o){if(!t.has(o)&&Xa(o)){t.add(o);const i=o[Bl]?Array.from(o[Bl]):[];for(const s of i)n(s)}}return n(e),Array.from(t)}function go(e){return e[_5]||e}function Mo(){const e=mc(),t=ld(e);return t.getActiveSpan?t.getActiveSpan():cm(tn())}function I5(){L9||(Ka(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),L9=!0)}let D9=!1;function sae(){if(D9)return;function e(){const t=Mo(),n=t&&go(t);if(n){const o="internal_error";nt&&ze.log(`[Tracing] Root span: ${o} -> Global error occurred`),n.setStatus({code:Bn,message:o})}}e.tag="sentry_tracingErrorCallback",D9=!0,Sk(e),Ek(e)}function vi(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=e||nn()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}function k9(e){ze.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function dm(e,t){if(!t?.length||!e.description)return!1;for(const n of t){if(aae(n)){if(L1(e.description,n))return nt&&k9(e),!0;continue}if(!n.name&&!n.op)continue;const o=n.name?L1(e.description,n.name):!0,i=n.op?e.op&&L1(e.op,n.op):!0;if(o&&i)return nt&&k9(e),!0}return!1}function rae(e,t){const n=t.parent_span_id,o=t.span_id;if(n)for(const i of e)i.parent_span_id===o&&(i.parent_span_id=n)}function aae(e){return typeof e=="string"||e instanceof RegExp}const Ab="production",jk="_frozenDsc";function D1(e,t){Vo(e,jk,t)}function Zk(e,t){const n=t.getOptions(),{publicKey:o}=t.getDsn()||{},i={environment:n.environment||Ab,release:n.release,public_key:o,trace_id:e,org_id:Zre(t)}
100;return t.emit("createDsc",i),i}function Kk(e,t){const n=t.getPropagationContext();return n.dsc||Zk(n.traceId,e)}function _a(e){const t=nn();if(!t)return{};const n=go(e),o=Ht(n),i=o.data,s=n.spanContext().traceState,r=s?.get("sentry.sample_rate")??i[Mb]??i[_k];function a(f){return(typeof r=="number"||typeof r=="string")&&(f.sample_rate=`${r}`),f}const l=n[jk];if(l)return a(l);const c=s?.get("sentry.dsc"),u=c&&Nk(c);if(u)return a(u);const d=Zk(e.spanContext().traceId,t),h=i[Xo],p=o.description;return h!=="url"&&p&&(d.transaction=p),vi()&&(d.sampled=String(Xa(n)),d.sample_rand=s?.get("sentry.sample_rand")??um(n).scope?.getPropagationContext().sampleRand.toString()),a(d),t.emit("createDsc",d,n),d}class Ia{constructor(t={}){this._traceId=t.traceId||xr(),this._spanId=t.spanId||br()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:Wk}}end(t){}setAttribute(t,n){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}addEvent(t,n,o){return this}addLink(t){return this}addLinks(t){return this}recordException(t,n){}}function nr(e,t=100,n=1/0){try{return F5("",e,t,n)}catch(o){return{ERROR:`**non-serializable** (${o})`}}}function qk(e,t=3,n=100*1024){const o=nr(e,t);return dae(o)>n?qk(e,t-1,n):o}function F5(e,t,n=1/0,o=1/0,i=hae()){const[s,r]=i;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const a=lae(e,t);if(!a.startsWith("[object "))return a;if(t.__sentry_skip_normalization__)return t;const l=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(l===0)return a.replace("object ","");if(s(t))return"[Circular ~]";const c=t;if(c&&typeof c.toJSON=="function")try{const p=c.toJSON();return F5("",p,l-1,o,i)}catch{}const u=Array.isArray(t)?[]:{};let d=0;const h=xk(t);for(const p in h){if(!Object.prototype.hasOwnProperty.call(h,p))continue;if(d>=o){u[p]="[MaxProperties ~]";break}const f=h[p];u[p]=F5(p,f,l-1,o,i),d++}return r(t),u}function lae(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof globalThis<"u"&&t===globalThis)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(Pk(t))return wk(t);if(ure(t))return"[SyntheticEvent]";if(typeof t=="number"&&!Number.isFinite(t))return`[${t}]`;if(typeof t=="function")return`[Function: ${Mr(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=cae(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function cae(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}function uae(e){return~-encodeURI(e).split(/%..|./).length}function dae(e){return uae(JSON.stringify(e))}function hae(){const e=new WeakSet;function t(o){return e.has(o)?!0:(e.add(o),!1)}function n(o){e.delete(o)}return[t,n]}function bc(e,t=[]){return[e,t]}function pae(e,t){const[n,o]=e;return[n,[...o,t]]}function A9(e,t){const n=e[1];for(const o of n){const i=o[0].type;if(t(o,i))return!0}return!1}function O5(e){const t=b0(Vt);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function fae(e){const[t,n]=e;let o=JSON.stringify(t);function i(s){typeof o=="string"?o=typeof s=="string"?o+s:[O5(o),s]:o.push(typeof s=="string"?O5(s):s)}for(const s of n){const[r,a]=s;if(i(`
101${JSON.stringify(r)}
102`),typeof a=="string"||a instanceof Uint8Array)i(a);else{let l;try{l=JSON.stringify(a)}catch{l=JSON.stringify(nr(a))}i(l)}}return typeof o=="string"?o:gae(o)}function gae(e){const t=e.reduce((i,s)=>i+s.length,0),n=new Uint8Array(t);let o=0;for(const i of e)n.set(i,o),o+=i.length;return n}function mae(e){return[{type:"span"},e]}function vae(e){const t=typeof e.data=="string"?O5(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const Cae={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};function _9(e){return Cae[e]}function Yk(e){if(!e?.sdk)return;
102const{name:t,version:n}=e.sdk;return{name:t,version:n}}function bae(e,t,n,o){const i=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&o&&{dsn:ud(o)},...i&&{trace:i}}}function yae(e,t){if(!t)return e;const n=e.sdk||{};return e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0},e}function wae(e,t,n,o){const i=Yk(n),s={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!o&&t&&{dsn:ud(t)}},r="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return bc(s,[r])}function Sae(e,t,n,o){const i=Yk(n),s=e.type&&e.type!=="replay_event"?e.type:"event";yae(e,n?.sdk);const r=bae(e,i,o,t);return delete e.sdkProcessingMetadata,bc(r,[[{type:s},e]])}function Eae(e,t){function n(p){return!!p.trace_id&&!!p.public_key}const o=_a(e[0]),i=t?.getDsn(),s=t?.getOptions().tunnel,r={sent_at:new Date().toISOString(),...n(o)&&{trace:o},...!!s&&i&&{dsn:ud(i)}},{beforeSendSpan:a,ignoreSpans:l}=t?.getOptions()||{},c=l?.length?e.filter(p=>!dm(Ht(p),l)):e,u=e.length-c.length;u&&t?.recordDroppedEvent("before_send","span",u);const d=a?p=>{const f=Ht(p),g=a(f);return g||(I5(),f)}:Ht,h=[];for(const p of c){const f=d(p);f&&h.push(mae(f))}return bc(r,h)}function Tae(e){if(!nt)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:o}=Ht(e),{spanId:i}=e.spanContext(),s=Xa(e),r=go(e),a=r===e,l=`[Tracing] Starting ${s?"sampled":"unsampled"} ${a?"root ":""}span`,c=[`op: ${n}`,`name: ${t}`,`ID: ${i}`];if(o&&c.push(`parent ID: ${o}`),!a){const{op:u,description:d}=Ht(r);c.push(`root ID: ${r.spanContext().spanId}`),u&&c.push(`root op: ${u}`),d&&c.push(`root description: ${d}`)}ze.log(`${l}
103  ${c.join(`
104  `)}`)}function Rae(e){if(!nt)return;const{description:t="< unknown name >",op:n="< unknown op >"}=Ht(e),{spanId:o}=e.spanContext(),s=go(e)===e,r=`[Tracing] Finishing "${n}" ${s?"root ":""}span "${t}" with ID ${o}`;ze.log(r)}function Pae(e,t,n,o=Mo()){const i=o&&go(o);i&&(nt&&ze.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),i.addEvent(e,{[Up]:t,[zp]:n}))}function I9(e){if(!e||e.length===0)return;const t={};return e.forEach(n=>{const o=n.attributes||{},i=o[zp],s=o[Up];typeof i=="string"&&typeof s=="number"&&(t[n.name]={value:s,unit:i})}),t}const F9=1e3;class S0{constructor(t={}){this._traceId=t.traceId||xr(),this._spanId=t.spanId||br(),this._startTime=t.startTimestamp||_n(),this._links=t.links,this._attributes={},this.setAttributes({[yn]:"manual",[Dr]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}addLink(t){return this._links?this._links.push(t):this._links=[t],this}addLinks(t){return this._links?this._links.push(...t):this._links=t,this}recordException(t,n){}spanContext(){const{_spanId:t,_traceId:n,_sampled:o}=this;return{spanId:t,traceId:n,traceFlags:o?kb:Wk}}setAttribute(t,n){return n===void 0?delete this._attributes[t]:this._attributes[t]=n,this}setAttributes(t){return Object.keys(t).forEach(n=>this.setAttribute(n,t[n])),this}updateStartTime(t){this._startTime=Nl(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(Xo,"custom"),this}end(t){this._endTime||(this._endTime=Nl(t),Rae(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[Dr],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:zk(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[yn],profile_id:this._attributes[Lb],exclusive_time:this._attributes[cd],measurements:I9(this._events),is_segment:this._isStandaloneSpan&&go(this)===this||void 0,segment_id:this._isStandaloneSpan?go(this).spanContext().spanId:void 0,links:Gk(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,n,o){nt&&ze.log("[Tracing] Adding an event to span:",t);const i=O9(n)?n:o||_n(),s=O9(n)?{}:n||{},r={name:t,time:Nl(i),attributes:s};return this._events.push(r),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=nn();if(t&&t.emit("spanEnd",this),!(this._isStandaloneSpan||this===go(this)))return;if(this._isStandaloneSpan){this._sampled?Lae(Eae([this],t)):(nt&&ze.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span"));return}const o=this._convertSpanToTransaction();o&&(um(this).scope||tn()).captureEvent(o)}_convertSpanToTransaction(){if(!N9(Ht(this)))return;this._name||(nt&&ze.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:t,isolationScope:n}=um(this),o=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(this._sampled!==!0)return;const s=x1(this).filter(u=>u!==this&&!Mae(u)).map(u=>Ht(u)).filter(N9),r=this._attributes[Xo];
104delete this._attributes[P9],s.forEach(u=>{delete u.data[P9]});const a={contexts:{trace:Jre(this)},spans:s.length>F9?s.sort((u,d)=>u.start_timestamp-d.start_timestamp).slice(0,F9):s,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,dynamicSamplingContext:_a(this)},request:o,...r&&{transaction_info:{source:r}}},l=I9(this._events);return l&&Object.keys(l).length&&(nt&&ze.log("[Measurements] Adding measurements to transaction event",JSON.stringify(l,void 0,2)),a.measurements=l),a}}function O9(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function N9(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function Mae(e){return e instanceof S0&&e.isStandaloneSpan()}function Lae(e){const t=nn();if(!t)return;const n=e[1];if(!n||n.length===0){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}function xae(e,t,n=()=>{},o=()=>{}){let i;try{i=e()}catch(s){throw t(s),n(),s}return Dae(i,t,n,o)}function Dae(e,t,n,o){return ad(e)?e.then(i=>(n(),o(i),i),i=>{throw t(i),n(),i}):(n(),o(e),e)}function kae(e,t,n){if(!vi(e))return[!1];let o,i;typeof e.tracesSampler=="function"?(i=e.tracesSampler({...t,inheritOrSampleWith:a=>typeof t.parentSampleRate=="number"?t.parentSampleRate:typeof t.parentSampled=="boolean"?Number(t.parentSampled):a}),o=!0):t.parentSampled!==void 0?i=t.parentSampled:typeof e.tracesSampleRate<"u"&&(i=e.tracesSampleRate,o=!0);const s=Jh(i);if(s===void 0)return nt&&ze.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(i)} of type ${JSON.stringify(typeof i)}.`),[!1];if(!s)return nt&&ze.log(`[Tracing] Discarding transaction because ${typeof e.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,s,o];const r=n<s;return r||nt&&ze.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(i)})`),[r,s,o]}const Xk="__SENTRY_SUPPRESS_TRACING__";function Aae(e,t){const n=Ib();if(n.startSpan)return n.startSpan(e,t);const o=Qk(e),{forceTransaction:i,parentSpan:s,scope:r}=e,a=r?.clone();return w0(a,()=>Iae(s)(()=>{const c=tn(),u=eA(c,s),h=e.onlyIfParent&&!u?new Ia:Jk({parentSpan:u,spanArguments:o,forceTransaction:i,scope:c});return Ou(c,h),xae(()=>t(h),()=>{const{status:p}=Ht(h);h.isRecording()&&(!p||p==="ok")&&h.setStatus({code:Bn,message:"internal_error"})},()=>{h.end()})}))}function Fa(e){const t=Ib();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=Qk(e),{forceTransaction:o,parentSpan:i}=e;return(e.scope?r=>w0(e.scope,r):i!==void 0?r=>_b(i,r):r=>r())(()=>{const r=tn(),a=eA(r,i);return e.onlyIfParent&&!a?new Ia:Jk({parentSpan:a,spanArguments:n,forceTransaction:o,scope:r})})}function _b(e,t){const n=Ib();return n.withActiveSpan?n.withActiveSpan(e,t):w0(o=>(Ou(o,e||void 0),t(o)))}function Jk({parentSpan:e,spanArguments:t,forceTransaction:n,scope:o}){if(!vi()){const r=new Ia;if(n||!e){const a={sampled:"false",sample_rate:"0",transaction:t.name,..._a(r)};D1(r,a)}return r}const i=Cc();let s;if(e&&!n)s=_ae(e,o,t),Uk(e,s);else if(e){const r=_a(e),{traceId:a,spanId:l}=e.spanContext(),c=Xa(e);s=B9({traceId:a,parentSpanId:l,...t},o,c),D1(s,r)}else{const{traceId:r,dsc:a,parentSpanId:l,sampled:c}={...i.getPropagationContext(),...o.getPropagationContext()};s=B9({traceId:r,parentSpanId:l,...t},o,c),a&&D1(s,a)}return Tae(s),Fre(s,o,i),s}function Qk(e){const n={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const o={...n};return o.startTimestamp=Nl(e.startTime),delete o.startTime,o}return n}function Ib(){const e=mc();return ld(e)}function B9(e,t,n){const o=nn(),i=o?.getOptions()||{},{name:s=""}=e,r={spanAttributes:{...e.attributes},spanName:s,parentSampled:n};o?.emit("beforeSampling",r,{decision:!1});const a=r.parentSampled??n,l=r.spanAttributes,c=t.getPropagationContext(),[u,d,h]=t.getScopeData().sdkProcessingMetadata[Xk]?[!1]:kae(i,{name:s,parentSampled:a,attributes:l,parentSampleRate:Jh(c.dsc?.sample_rate)},c.sampleRand),p=new S0({...e,attributes:{[Xo]:"custom",[Mb]:d!==void 0&&h?d:void 0,...l},sampled:u});return!u&&o&&(nt&&ze.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),o.recordDroppedEvent("sample_rate","transaction")),o&&o.emit("spanStart",p),p}function _ae(e,t,n){const{spanId:o,traceId:i}=e.spanContext(),s=t.getScopeData().sdkProcessingMetadata[Xk]?!1:Xa(e),r=s?new S0({...n,parentSpanId:o,traceId:i,sampled:s}):new Ia({traceId:i});Uk(e,r);const a=nn();return a&&(a.emit("spanStart",r),n.endTimestamp&&a.emit("spanEnd",r)),r}function eA(e,t){if(t)return t;if(t===null)return;const n=cm(e);if(!n)return;const o=nn();return(o?o.getOptions():{}).parentSpanIsAlwaysRootSpan?go(n):n}function Iae(e){return e!==void 0?t=>_b(e,t):t=>t()}const k1={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},Fae="heartbeatFailed",Oae="idleTimeout",Nae="finalTimeout",Bae="externalFinish";function tA(e,t={}){const n=new Map;let o=!1,i,s=Bae,r=!t.disableAutoFinish;const a=[],{idleTimeout:l=k1.idleTimeout,finalTimeout:c=k1.finalTimeout,childSpanTimeout:u=k1.childSpanTimeout,beforeSpanEnd:d,trimIdleSpanEndTimestamp:h=!0}=t,p=nn();if(!p||!vi()){const T=new Ia,R={sample_rate:"0",sampled:"false",..._a(T)};return D1(T,R),T}const f=tn(),g=Mo(),m=Hae(e);m.end=new Proxy(m.end,{apply(T,R,A){if(d&&d(m),R instanceof Ia)return;
104const[k,...D]=A,V=k||_n(),O=Nl(V),F=x1(m).filter(B=>B!==m),_=Ht(m);if(!F.length||!h)return E(O),Reflect.apply(T,R,[O,...D]);const P=p.getOptions().ignoreSpans,L=F?.reduce((B,z)=>{const H=Ht(z);return!H.timestamp||P&&dm(H,P)?B:B?Math.max(B,H.timestamp):H.timestamp},void 0),x=_.start_timestamp,I=Math.min(x?x+c/1e3:1/0,Math.max(x||-1/0,Math.min(O,L||1/0)));return E(I),Reflect.apply(T,R,[I,...D])}});function v(){i&&(clearTimeout(i),i=void 0)}function y(T){v(),i=setTimeout(()=>{!o&&n.size===0&&r&&(s=Oae,m.end(T))},l)}function b(T){i=setTimeout(()=>{!o&&r&&(s=Fae,m.end(T))},u)}function w(T){v(),n.set(T,!0);const R=_n();b(R+u/1e3)}function S(T){if(n.has(T)&&n.delete(T),n.size===0){const R=_n();y(R+l/1e3)}}function E(T){o=!0,n.clear(),a.forEach(F=>F()),Ou(f,g);const R=Ht(m),{start_timestamp:A}=R;if(!A)return;R.data[Xh]||m.setAttribute(Xh,s);const D=R.status;(!D||D==="unknown")&&m.setStatus({code:xb}),ze.log(`[Tracing] Idle span "${R.op}" finished`);const V=x1(m).filter(F=>F!==m);let O=0;V.forEach(F=>{F.isRecording()&&(F.setStatus({code:Bn,message:"cancelled"}),F.end(T),nt&&ze.log("[Tracing] Cancelling span since span ended early",JSON.stringify(F,void 0,2)));const _=Ht(F),{timestamp:P=0,start_timestamp:L=0}=_,x=L<=T,I=(c+l)/1e3,B=P-L<=I;if(nt){const z=JSON.stringify(F,void 0,2);x?B||ze.log("[Tracing] Discarding span since it finished after idle span final timeout",z):ze.log("[Tracing] Discarding span since it happened after idle span was finished",z)}(!B||!x)&&(iae(m,F),O++)}),O>0&&m.setAttribute("sentry.idle_span_discarded_spans",O)}return a.push(p.on("spanStart",T=>{if(o||T===m||Ht(T).timestamp||T instanceof S0&&T.isStandaloneSpan())return;x1(m).includes(T)&&w(T.spanContext().spanId)})),a.push(p.on("spanEnd",T=>{o||S(T.spanContext().spanId)})),a.push(p.on("idleSpanEnableAutoFinish",T=>{T===m&&(r=!0,y(),n.size&&b())})),t.disableAutoFinish||y(),setTimeout(()=>{o||(m.setStatus({code:Bn,message:"deadline_exceeded"}),s=Nae,m.end())},c),m}function Hae(e){const t=Fa(e);return Ou(tn(),t),nt&&ze.log("[Tracing] Started span is an idle span"),t}const xv=0,H9=1,V9=2;function E0(e){return new Qh(t=>{t(e)})}function Fb(e){return new Qh((t,n)=>{n(e)})}class Qh{constructor(t){this._state=xv,this._handlers=[],this._runExecutor(t)}then(t,n){return new Qh((o,i)=>{this._handlers.push([!1,s=>{if(!t)o(s);else try{o(t(s))}catch(r){i(r)}},s=>{if(!n)i(s);else try{o(n(s))}catch(r){i(r)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new Qh((n,o)=>{let i,s;return this.then(r=>{s=!1,i=r,t&&t()},r=>{s=!0,i=r,t&&t()}).then(()=>{if(s){o(i);return}n(i)})})}_executeHandlers(){if(this._state===xv)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===H9&&n[1](this._value),this._state===V9&&n[2](this._value),n[0]=!0)})}_runExecutor(t){const n=(s,r)=>{if(this._state===xv){if(ad(r)){r.then(o,i);return}this._state=s,this._value=r,this._executeHandlers()}},o=s=>{n(H9,s)},i=s=>{n(V9,s)};try{t(o,i)}catch(s){i(s)}}}function Vae(e,t,n,o=0){try{const i=N5(t,n,e,o);return ad(i)?i:E0(i)}catch(i){return Fb(i)}}function N5(e,t,n,o){const i=n[o];if(!e||!i)return e;const s=i({...e},t);return nt&&s===null&&ze.log(`Event processor "${i.id||"?"}" dropped event`),ad(s)?s.then(r=>N5(r,t,n,o+1)):N5(s,t,n,o+1)}function $ae(e,t){const{fingerprint:n,span:o,breadcrumbs:i,sdkProcessingMetadata:s}=t;Wae(e,t),o&&Uae(e,o),jae(e,n),Gae(e,i),zae(e,s)}function $9(e,t){const{extra:n,tags:o,attributes:i,user:s,contexts:r,level:a,sdkProcessingMetadata:l,breadcrumbs:c,fingerprint:u,eventProcessors:d,attachments:h,propagationContext:p,transactionName:f,span:g}=t;Id(e,"extra",n),Id(e,"tags",o),Id(e,"attributes",i),Id(e,"user",s),Id(e,"contexts",r),e.sdkProcessingMetadata=Gp(e.sdkProcessingMetadata,l,2),a&&(e.level=a),f&&(e.transactionName=f),g&&(e.span=g),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),h.length&&(e.attachments=[...e.attachments,...h]),e.propagationContext={...e.propagationContext,...p}}function Id(e,t,n){e[t]=Gp(e[t],n,1)}function Wae(e,t){const{extra:n,tags:o,user:i,contexts:s,level:r,transactionName:a}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(o).length&&(e.tags={...o,...e.tags}),Object.keys(i).length&&(e.user={...i,...e.user}),Object.keys(s).length&&(e.contexts={...s,...e.contexts}),r&&(e.level=r),a&&e.type!=="transaction"&&(e.transaction=a)}function Gae(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function zae(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function Uae(e,t){e.contexts={trace:Qre(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:_a(t),...e.sdkProcessingMetadata};const n=go(t),o=Ht(n).description;o&&!e.transaction&&e.type==="transaction"&&(e.transaction=o)}function jae(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}let cl,W9,G9,Xr;function Zae(e){const t=Vt._sentryDebugIds,n=Vt._debugIds;if(!t&&!n)return{};const o=t?Object.keys(t):[],i=n?Object.keys(n):[];if(Xr&&o.length===W9&&i.length===G9)return Xr;W9=o.length,G9=i.length,Xr={},cl||(cl={});const s=(r,a)=>{for(const l of r){const c=a[l],u=cl?.[l];
104if(u&&Xr&&c)Xr[u[0]]=c,cl&&(cl[l]=[u[0],c]);else if(c){const d=e(l);for(let h=d.length-1;h>=0;h--){const f=d[h]?.filename;if(f&&Xr&&cl){Xr[f]=c,cl[l]=[f,c];break}}}}};return t&&s(o,t),n&&s(i,n),Xr}function Kae(e,t,n,o,i,s){const{normalizeDepth:r=3,normalizeMaxBreadth:a=1e3}=e,l={...t,event_id:t.event_id||n.event_id||mi(),timestamp:t.timestamp||vc()},c=n.integrations||e.integrations.map(m=>m.name);qae(l,e),Jae(l,c),i&&i.emit("applyFrameMetadata",t),t.type===void 0&&Yae(l,e.stackParser);const u=ele(o,n.captureContext);n.mechanism&&Iu(l,n.mechanism);const d=i?i.getEventProcessors():[],h=Ak().getScopeData();if(s){const m=s.getScopeData();$9(h,m)}if(u){const m=u.getScopeData();$9(h,m)}const p=[...n.attachments||[],...h.attachments];p.length&&(n.attachments=p),$ae(l,h);const f=[...d,...h.eventProcessors];return Vae(f,l,n).then(m=>(m&&Xae(m),typeof r=="number"&&r>0?Qae(m,r,a):m))}function qae(e,t){const{environment:n,release:o,dist:i,maxValueLength:s}=t;e.environment=e.environment||n||Ab,!e.release&&o&&(e.release=o),!e.dist&&i&&(e.dist=i);const r=e.request;r?.url&&s&&(r.url=D5(r.url,s)),s&&e.exception?.values?.forEach(a=>{a.value&&(a.value=D5(a.value,s))})}function Yae(e,t){const n=Zae(t);e.exception?.values?.forEach(o=>{o.stacktrace?.frames?.forEach(i=>{i.filename&&(i.debug_id=n[i.filename])})})}function Xae(e){const t={};if(e.exception?.values?.forEach(o=>{o.stacktrace?.frames?.forEach(i=>{i.debug_id&&(i.abs_path?t[i.abs_path]=i.debug_id:i.filename&&(t[i.filename]=i.debug_id),delete i.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([o,i])=>{n.push({type:"sourcemap",code_file:o,debug_id:i})})}function Jae(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function Qae(e,t,n){if(!e)return null;const o={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(i=>({...i,...i.data&&{data:nr(i.data,t,n)}}))},...e.user&&{user:nr(e.user,t,n)},...e.contexts&&{contexts:nr(e.contexts,t,n)},...e.extra&&{extra:nr(e.extra,t,n)}};return e.contexts?.trace&&o.contexts&&(o.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(o.contexts.trace.data=nr(e.contexts.trace.data,t,n))),e.spans&&(o.spans=e.spans.map(i=>({...i,...i.data&&{data:nr(i.data,t,n)}}))),e.contexts?.flags&&o.contexts&&(o.contexts.flags=nr(e.contexts.flags,3,n)),o}function ele(e,t){if(!t)return e;const n=e?e.clone():new Bs;return n.update(t),n}function tle(e){if(e)return nle(e)?{captureContext:e}:ile(e)?{captureContext:e}:e}function nle(e){return e instanceof Bs||typeof e=="function"}const ole=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function ile(e){return Object.keys(e).some(t=>ole.includes(t))}function Ob(e,t){return tn().captureException(e,tle(t))}function nA(e,t){return tn().captureEvent(e,t)}function sle(){const e=nn();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function z9(e){const t=Cc(),n=tn(),{userAgent:o}=Vt.navigator||{},i=bre({user:n.getUser()||t.getUser(),...o&&{userAgent:o},...e}),s=t.getSession();return s?.status==="ok"&&Fu(s,{status:"exited"}),oA(),t.setSession(i),i}function oA(){const e=Cc(),n=tn().getSession()||e.getSession();n&&yre(n),iA(),e.setSession()}function iA(){const e=Cc(),t=nn(),n=e.getSession();n&&t&&t.captureSession(n)}function U9(e=!1){if(e){oA();return}iA()}const rle="7";function ale(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function lle(e){return`${ale(e)}${e.projectId}/envelope/`}function cle(e,t){const n={sentry_version:rle};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function ule(e,t,n){return t||`${lle(e)}?${cle(e,n)}`}const j9=[];function dle(e){const t={};return e.forEach(n=>{const{name:o}=n,i=t[o];i&&!i.isDefaultInstance&&n.isDefaultInstance||(t[o]=n)}),Object.values(t)}function hle(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(i=>{i.isDefaultInstance=!0});let o;if(Array.isArray(n))o=[...t,...n];else if(typeof n=="function"){const i=n(t);o=Array.isArray(i)?i:[i]}else o=t;return dle(o)}function ple(e,t){const n={};return t.forEach(o=>{o&&sA(e,o,n)}),n}function Z9(e,t){for(const n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function sA(e,t,n){if(n[t.name]){nt&&ze.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,!j9.includes(t.name)&&typeof t.setupOnce=="function"&&(t.setupOnce(),j9.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const o=t.preprocessEvent.bind(t);e.on("preprocessEvent",(i,s)=>o(i,s,e))}if(typeof t.processEvent=="function"){const o=t.processEvent.bind(t),i=Object.assign((s,r)=>o(s,r,e),{id:t.name});e.addEventProcessor(i)}nt&&ze.log(`Integration installed: ${t.name}`)}function fle(e){return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{items:e}]}function gle(e,t,n,o){const i={};return t?.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}),n&&o&&(i.dsn=ud(o)),bc(i,[fle(e)])}function rA(e,t){const n=t??mle(e)??[];if(n.length===0)return;const o=e.getOptions(),i=gle(n,o._metadata,o.tunnel,e.getDsn());aA().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(i)}function mle(e){return aA().get(e)}function aA(){return sd("clientToLogBufferMap",()=>new WeakMap)}function vle(e){return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:e}]}function Cle(e,t,n,o){const i={};return t?.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}),n&&o&&(i.dsn=ud(o)),bc(i,[vle(e)])}function lA(e,t){const n=t??ble(e)??[];if(n.length===0)return;const o=e.getOptions(),i=Cle(n,o._metadata,o.tunnel,e.getDsn());cA().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(i)}function ble(e){return cA().get(e)}function cA(){return sd("clientToMetricBufferMap",()=>new WeakMap)}const Nb=Symbol.for("SentryBufferFullError");function Bb(e=100){const t=new Set;function n(){return t.size<e}function o(r){t.delete(r)}function i(r){if(!n())return Fb(Nb);const a=r();return t.add(a),a.then(()=>o(a),()=>o(a)),a}function s(r){if(!t.size)return E0(!0);const a=Promise.allSettled(Array.from(t)).then(()=>!0);if(!r)return a;const l=[a,new Promise(c=>setTimeout(()=>c(!1),r))];return Promise.race(l)}return{get $(){return Array.from(t)},add:i,drain:s}}const yle=60*1e3;function wle(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const o=Date.parse(`${e}`);return isNaN(o)?yle:o-t}function Sle(e,t){return e[t]||e.all||0}function Ele(e,t,n=Date.now()){return Sle(e,t)>n}function Tle(e,{statusCode:t,headers:n},o=Date.now()){const i={...e},s=n?.["x-sentry-rate-limits"],r=n?.["retry-after"];if(s)for(const a of s.trim().split(",")){const[l,c,,,u]=a.split(":",5),d=parseInt(l,10),h=(isNaN(d)?60:d)*1e3;if(!c)i.all=o+h;else for(const p of c.split(";"))p==="metric_bucket"?(!u||u.split(";").includes("custom"))&&(i[p]=o+h):i[p]=o+h}
104else r?i.all=o+wle(r,o):t===429&&(i.all=o+60*1e3);return i}const uA=64;function Rle(e,t,n=Bb(e.bufferSize||uA)){let o={};const i=r=>n.drain(r);function s(r){const a=[];if(A9(r,(d,h)=>{const p=_9(h);Ele(o,p)?e.recordDroppedEvent("ratelimit_backoff",p):a.push(d)}),a.length===0)return Promise.resolve({});const l=bc(r[0],a),c=d=>{A9(l,(h,p)=>{e.recordDroppedEvent(d,_9(p))})},u=()=>t({body:fae(l)}).then(d=>(d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&nt&&ze.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),o=Tle(o,d),d),d=>{throw c("network_error"),nt&&ze.error("Encountered error running transport request:",d),d});return n.add(u).then(d=>d,d=>{if(d===Nb)return nt&&ze.error("Skipped sending event because buffer is full."),c("queue_overflow"),Promise.resolve({});throw d})}return{send:s,flush:i}}function Ple(e,t,n){const o=[{type:"client_report"},{timestamp:vc(),discarded_events:e}];return bc(t?{dsn:t}:{},[o])}function dA(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}function Mle(e){const{trace_id:t,parent_span_id:n,span_id:o,status:i,origin:s,data:r,op:a}=e.contexts?.trace??{};return{data:r??{},description:e.transaction,op:a,parent_span_id:n,span_id:o??"",start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??"",origin:s,profile_id:r?.[Lb],exclusive_time:r?.[cd],measurements:e.measurements,is_segment:!0}}function Lle(e){return{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[Lb]:e.profile_id},...e.exclusive_time&&{[cd]:e.exclusive_time}}}},measurements:e.measurements}}const K9="Not capturing exception because it's already been captured.",q9="Discarded session because of missing or non-string release",hA=Symbol.for("SentryInternalError"),pA=Symbol.for("SentryDoNotSendEventError"),xle=5e3;function A1(e){return{message:e,[hA]:!0}}function Dv(e){return{message:e,[pA]:!0}}function Y9(e){return!!e&&typeof e=="object"&&hA in e}function X9(e){return!!e&&typeof e=="object"&&pA in e}function J9(e,t,n,o,i){let s=0,r,a=!1;e.on(n,()=>{s=0,clearTimeout(r),a=!1}),e.on(t,l=>{s+=o(l),s>=8e5?i(e):a||(a=!0,r=setTimeout(()=>{i(e)},xle))}),e.on("flush",()=>{i(e)})}class Dle{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Bb(t.transportOptions?.bufferSize??uA),t.dsn?this._dsn=Kre(t.dsn):nt&&ze.warn("No DSN provided, client will not send events."),this._dsn){const o=ule(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:o})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&J9(this,"afterCaptureLog","flushLogs",Ile,rA),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&J9(this,"afterCaptureMetric","flushMetrics",_le,lA)}captureException(t,n,o){const i=mi();if(E9(t))return nt&&ze.log(K9),i;const s={event_id:i,...n};return this._process(()=>this.eventFromException(t,s).then(r=>this._captureEvent(r,s,o)).then(r=>r),"error"),s.event_id}captureMessage(t,n,o,i){const s={event_id:mi(),...o},r=Eb(t)?t:String(t),a=_u(t),l=a?this.eventFromMessage(r,n,s):this.eventFromException(t,s);return this._process(()=>l.then(c=>this._captureEvent(c,s,i)),a?"unknown":"error"),s.event_id}captureEvent(t,n,o){const i=mi();if(n?.originalException&&E9(n.originalException))return nt&&ze.log(K9),i;const s={event_id:i,...n},r=t.sdkProcessingMetadata||{},a=r.capturedSpanScope,l=r.capturedSpanIsolationScope,c=Q9(t.type);return this._process(()=>this._captureEvent(t,s,a||o,l),c),s.event_id}captureSession(t){this.sendSession(t),Fu(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(t){const n=this._transport;if(!n)return!0;
104this.emit("flush");const o=await this._isClientDoneProcessing(t),i=await n.flush(t);return o&&i}async close(t){const n=await this.flush(t);return this.getOptions().enabled=!1,this.emit("close"),n}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const n=this._integrations[t.name];sA(this,t,this._integrations),n||Z9(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let o=Sae(t,this._dsn,this._options._metadata,this._options.tunnel);for(const i of n.attachments||[])o=pae(o,vae(i));this.sendEnvelope(o).then(i=>this.emit("afterSendEvent",t,i))}sendSession(t){const{release:n,environment:o=Ab}=this._options;if("aggregates"in t){const s=t.attrs||{};if(!s.release&&!n){nt&&ze.warn(q9);return}s.release=s.release||n,s.environment=s.environment||o,t.attrs=s}else{if(!t.release&&!n){nt&&ze.warn(q9);return}t.release=t.release||n,t.environment=t.environment||o}this.emit("beforeSendSession",t);const i=wae(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(i)}recordDroppedEvent(t,n,o=1){if(this._options.sendClientReports){const i=`${t}:${n}`;nt&&ze.log(`Recording outcome: "${i}"${o>1?` (${o} times)`:""}`),this._outcomes[i]=(this._outcomes[i]||0)+o}}on(t,n){const o=this._hooks[t]=this._hooks[t]||new Set,i=(...s)=>n(...s);return o.add(i),()=>{o.delete(i)}}emit(t,...n){const o=this._hooks[t];o&&o.forEach(i=>i(...n))}async sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)try{return await this._transport.send(t)}catch(n){return nt&&ze.error("Error while sending envelope:",n),{}}return nt&&ze.error("Transport disabled"),{}}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=ple(this,t),Z9(this,t)}_updateSessionFromEvent(t,n){let o=n.level==="fatal",i=!1;const s=n.exception?.values;if(s){i=!0,o=!1;for(const l of s)if(l.mechanism?.handled===!1){o=!0;break}}const r=t.status==="ok";(r&&t.errors===0||r&&o)&&(Fu(t,{...o&&{status:"crashed"},errors:t.errors||Number(i||o)}),this.captureSession(t))}async _isClientDoneProcessing(t){let n=0;for(;!t||n<t;){if(await new Promise(o=>setTimeout(o,1)),!this._numProcessing)return!0;n++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,n,o,i){const s=this.getOptions(),r=Object.keys(this._integrations);return!n.integrations&&r?.length&&(n.integrations=r),this.emit("preprocessEvent",t,n),t.type||i.setLastEventId(t.event_id||n.event_id),Kae(s,t,n,o,this,i).then(a=>{if(a===null)return a;this.emit("postprocessEvent",a,n),a.contexts={trace:xre(o),...a.contexts};const l=Kk(this,o);return a.sdkProcessingMetadata={dynamicSamplingContext:l,...a.sdkProcessingMetadata},a})}_captureEvent(t,n={},o=tn(),i=Cc()){return nt&&B5(t)&&ze.log(`Captured error event \`${dA(t)[0]||"<unknown>"}\``),this._processEvent(t,n,o,i).then(s=>s.event_id,s=>{nt&&(X9(s)?ze.log(s.message):Y9(s)?ze.warn(s.message):ze.warn(s))})}_processEvent(t,n,o,i){const s=this.getOptions(),{sampleRate:r}=s,a=fA(t),l=B5(t),u=`before send for type \`${t.type||"error"}\``,d=typeof r>"u"?void 0:Jh(r);if(l&&typeof d=="number"&&Math.random()>d)return this.recordDroppedEvent("sample_rate","error"),Fb(Dv(`Discarding event because it's not included in the random sample (sampling rate = ${r})`));const h=Q9(t.type);return this._prepareEvent(t,n,o,i).then(p=>{if(p===null)throw this.recordDroppedEvent("event_processor",h),Dv("An event processor returned `null`, will not send event.");if(n.data&&n.data.__sentry__===!0)return p;const g=Ale(this,s,p,n);return kle(g,u)}).then(p=>{if(p===null){if(this.recordDroppedEvent("before_send",h),a){const v=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",v)}throw Dv(`${u} returned \`null\`, will not send event.`)}const f=o.getSession()||i.getSession();if(l&&f&&this._updateSessionFromEvent(f,p),a){const m=p.sdkProcessingMetadata?.spanCountBeforeProcessing||0,v=p.spans?p.spans.length:0,y=m-v;y>0&&this.recordDroppedEvent("before_send","span",y)}const g=p.transaction_info;if(a&&g&&p.transaction!==t.transaction){const m="custom";p.transaction_info={...g,source:m}}return this.sendEvent(p,n),p}).then(null,p=>{throw X9(p)||Y9(p)?p:(this.captureException(p,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:p}),A1(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
105Reason: ${p}`))})}_process(t,n){this._numProcessing++,this._promiseBuffer.add(t).then(o=>(this._numProcessing--,o),o=>(this._numProcessing--,o===Nb&&this.recordDroppedEvent("queue_overflow",n),o))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([n,o])=>{const[i,s]=n.split(":");return{reason:i,category:s,quantity:o}})}_flushOutcomes(){nt&&ze.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){nt&&ze.log("No outcomes to send");return}if(!this._dsn){nt&&ze.log("No dsn provided, will not send outcomes");return}nt&&ze.log("Sending outcomes:",t);const n=Ple(t,this._options.tunnel&&ud(this._dsn));this.sendEnvelope(n)}}function Q9(e){return e==="replay_event"?"replay":e||"error"}function kle(e,t){const n=`${t} must return \`null\` or a valid event.`;if(ad(e))return e.then(o=>{if(!Yh(o)&&o!==null)throw A1(n);return o},o=>{throw A1(`${t} rejected with ${o}`)});if(!Yh(e)&&e!==null)throw A1(n);return e}function Ale(e,t,n,o){const{beforeSend:i,beforeSendTransaction:s,beforeSendSpan:r,ignoreSpans:a}=t;let l=n;if(B5(l)&&i)return i(l,o);if(fA(l)){if(r||a){const c=Mle(l);
105if(a?.length&&dm(c,a))return null;if(r){const u=r(c);u?l=Gp(n,Lle(u)):I5()}if(l.spans){const u=[],d=l.spans;for(const p of d){if(a?.length&&dm(p,a)){rae(d,p);continue}if(r){const f=r(p);f?u.push(f):(I5(),u.push(p))}else u.push(p)}const h=l.spans.length-u.length;h&&e.recordDroppedEvent("before_send","span",h),l.spans=u}}if(s){if(l.spans){const c=l.spans.length;l.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:c}}return s(l,o)}}return l}function B5(e){return e.type===void 0}function fA(e){return e.type==="transaction"}function _le(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+gA(e.attributes)}function Ile(e){let t=0;return e.message&&(t+=e.message.length*2),t+gA(e.attributes)}function gA(e){if(!e)return 0;let t=0;return Object.values(e).forEach(n=>{Array.isArray(n)?t+=n.length*e7(n[0]):_u(n)?t+=e7(n):t+=100}),t}function e7(e){return typeof e=="string"?e.length*2:typeof e=="number"?8:typeof e=="boolean"?4:0}function Fle(e,t){t.debug===!0&&(nt?ze.enable():Ka(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),tn().update(t.initialScope);const o=new e(t);return Ole(o),o.init(),o}function Ole(e){tn().setClient(e)}const Nle="thismessage:/";function mA(e){return"isRelative"in e}function vA(e,t){const n=e.indexOf("://")<=0&&e.indexOf("//")!==0,o=n?Nle:void 0;try{if("canParse"in URL&&!URL.canParse(e,o))return;const i=new URL(e,o);return n?{isRelative:n,pathname:i.pathname,search:i.search,hash:i.hash}:i}catch{}}function Ble(e){if(mA(e))return e.pathname;const t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}function Hl(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",o=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:o,relative:t[5]+n+o}}function Hle(e){return e.split(/[?#]/,1)[0]}function Vle(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):e.ipAddress===void 0&&(e.ipAddress="{{auto}}")}function CA(e,t,n=[t],o="npm"){const i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map(s=>({name:`${o}:@sentry/${s}`,version:Ol})),version:Ol}),e._metadata=i}function bA(e={}){const t=e.client||nn();if(!sle()||!t)return{};const n=mc(),o=ld(n);if(o.getTraceData)return o.getTraceData(e);const i=e.scope||tn(),s=e.span||Mo(),r=s?eae(s):$le(i),a=s?_a(s):Kk(t,i),l=Bre(a);if(!Hk.test(r))return ze.warn("Invalid sentry-trace data. Cannot generate trace data"),{};const u={"sentry-trace":r,baggage:l};return e.propagateTraceparent&&(u.traceparent=s?tae(s):Wle(i)),u}function $le(e){const{traceId:t,sampled:n,propagationSpanId:o}=e.getPropagationContext();return Vk(t,o,n)}function Wle(e){const{traceId:t,sampled:n,propagationSpanId:o}=e.getPropagationContext();return $k(t,o,n)}const Gle=100;function Oa(e,t){const n=nn(),o=Cc();if(!n)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:s=Gle}=n.getOptions();if(s<=0)return;const a={timestamp:vc(),...e},l=i?Ka(()=>i(a,t)):a;l!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",l,t),o.addBreadcrumb(l,s))}let t7;const zle="FunctionToString",n7=new WeakMap,Ule=(()=>({name:zle,setupOnce(){t7=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=Pb(this),n=n7.has(nn())&&t!==void 0?t:this;return t7.apply(n,e)}}catch{}},setup(e){n7.set(e,!0)}})),jle=Ule,Zle=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],Kle="EventFilters",qle=(e={})=>{let t;return{name:Kle,setup(n){const o=n.getOptions();t=o7(e,o)},processEvent(n,o,i){if(!t){const s=i.getOptions();t=o7(e,s)}return Xle(n,t)?null:n}}},Yle=((e={})=>({...qle(e),name:"InboundFilters"}));function o7(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:Zle],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function Xle(e,t){if(e.type){if(e.type==="transaction"&&Qle(e,t.ignoreTransactions))return nt&&ze.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
106Event: ${gl(e)}`),!0}else{if(Jle(e,t.ignoreErrors))return nt&&ze.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
107Event: ${gl(e)}`),!0;if(oce(e))return nt&&ze.warn(`Event dropped due to not having an error message, error type or stacktrace.
108Event: ${gl(e)}`),!0;if(ece(e,t.denyUrls))return nt&&ze.warn(`Event dropped due to being matched by \`denyUrls\` option.
109Event: ${gl(e)}.
110Url: ${hm(e)}`),!0;if(!tce(e,t.allowUrls))return nt&&ze.warn(`Event dropped due to not being matched by \`allowUrls\` option.
111Event: ${gl(e)}.
112Url: ${hm(e)}`),!0}return!1}function Jle(e,t){return t?.length?dA(e).some(n=>Pa(n,t)):!1}function Qle(e,t){if(!t?.length)return!1;const n=e.transaction;return n?Pa(n,t):!1}function ece(e,t){if(!t?.length)return!1;const n=hm(e);return n?Pa(n,t):!1}function tce(e,t){if(!t?.length)return!0;const n=hm(e);return n?Pa(n,t):!0}function nce(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}function hm(e){try{const n=[...e.exception?.values??[]].reverse().find(o=>o.mechanism?.parent_id===void 0&&o.stacktrace?.frames?.length)?.stacktrace?.frames;return n?nce(n):null}catch{return nt&&ze.error(`Cannot extract url for event ${gl(e)}`),null}}function oce(e){return e.exception?.values?.length?!e.message&&!e.exception.values.some(t=>t.stacktrace||t.type&&t.type!=="Error"||t.value):!1}function ice(e,t,n,o,i,s){if(!i.exception?.values||!s||!Lr(s.originalException,Error))return;const r=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;r&&(i.exception.values=H5(e,t,o,s.originalException,n,i.exception.values,r,0))}function H5(e,t,n,o,i,s,r,a){if(s.length>=n+1)return s;let l=[...s];if(Lr(o[i],Error)){i7(r,a);const c=e(t,o[i]),u=l.length;s7(c,i,u,a),l=H5(e,t,n,o[i],i,[c,...l],c,u)}
112return Array.isArray(o.errors)&&o.errors.forEach((c,u)=>{if(Lr(c,Error)){i7(r,a);const d=e(t,c),h=l.length;s7(d,`errors[${u}]`,h,a),l=H5(e,t,n,c,i,[d,...l],d,h)}}),l}function i7(e,t){e.mechanism={handled:!0,type:"auto.core.linked_errors",...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function s7(e,t,n,o){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:o}}function sce(e){const t="console";qa(t,e),Ya(t,rce)}function rce(){"console"in Vt&&Yse.forEach(function(e){e in Vt.console&&Yo(Vt.console,e,function(t){return lm[e]=t,function(...n){gi("console",{args:n,level:e}),lm[e]?.apply(Vt.console,n)}})})}function ace(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const lce="Dedupe",cce=(()=>{let e;return{name:lce,processEvent(t){if(t.type)return t;try{if(dce(t,e))return nt&&ze.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}}),uce=cce;function dce(e,t){return t?!!(hce(e,t)||pce(e,t)):!1}function hce(e,t){const n=e.message,o=t.message;return!(!n&&!o||n&&!o||!n&&o||n!==o||!wA(e,t)||!yA(e,t))}function pce(e,t){const n=r7(t),o=r7(e);return!(!n||!o||n.type!==o.type||n.value!==o.value||!wA(e,t)||!yA(e,t))}function yA(e,t){let n=v9(e),o=v9(t);if(!n&&!o)return!0;if(n&&!o||!n&&o||(n=n,o=o,o.length!==n.length))return!1;for(let i=0;i<o.length;i++){const s=o[i],r=n[i];if(s.filename!==r.filename||s.lineno!==r.lineno||s.colno!==r.colno||s.function!==r.function)return!1}return!0}function wA(e,t){let n=e.fingerprint,o=t.fingerprint;if(!n&&!o)return!0;if(n&&!o||!n&&o)return!1;n=n,o=o;try{return n.join("")===o.join("")}catch{return!1}}function r7(e){return e.exception?.values?.[0]}function fce(e,t,n,o,i){if(!e.fetchData)return;const{method:s,url:r}=e.fetchData,a=vi()&&t(r);if(e.endTimestamp&&a){const p=e.fetchData.__span;if(!p)return;const f=o[p];f&&(vce(f,e),gce(f,e,i),delete o[p]);return}const{spanOrigin:l="auto.http.browser",propagateTraceparent:c=!1}=typeof i=="object"?i:{spanOrigin:i},u=!!Mo(),d=a&&u?Fa(bce(r,s,l)):new Ia;if(e.fetchData.__span=d.spanContext().spanId,o[d.spanContext().spanId]=d,n(e.fetchData.url)){const p=e.args[0],f=e.args[1]||{},g=mce(p,f,vi()&&u?d:void 0,c);g&&(e.args[1]=f,f.headers=g)}const h=nn();if(h){const p={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};h.emit("beforeOutgoingRequestSpan",d,p)}return d}function gce(e,t,n){(typeof n=="object"&&n!==null?n.onRequestSpanEnd:void 0)?.(e,{headers:t.response?.headers,error:t.error})}function mce(e,t,n,o){const i=bA({span:n,propagateTraceparent:o}),s=i["sentry-trace"],r=i.baggage,a=i.traceparent;if(!s)return;const l=t.headers||(Tb(e)?e.headers:void 0);if(l)if(Cce(l)){const c=new Headers(l);if(c.get("sentry-trace")||c.set("sentry-trace",s),o&&a&&!c.get("traceparent")&&c.set("traceparent",a),r){const u=c.get("baggage");u?Hf(u)||c.set("baggage",`${u},${r}`):c.set("baggage",r)}return c}else if(Array.isArray(l)){const c=[...l];l.find(d=>d[0]==="sentry-trace")||c.push(["sentry-trace",s]),o&&a&&!l.find(d=>d[0]==="traceparent")&&c.push(["traceparent",a]);const u=l.find(d=>d[0]==="baggage"&&Hf(d[1]));return r&&!u&&c.push(["baggage",r]),c}else{const c="sentry-trace"in l?l["sentry-trace"]:void 0,u="traceparent"in l?l.traceparent:void 0,d="baggage"in l?l.baggage:void 0,h=d?Array.isArray(d)?[...d]:[d]:[],p=d&&(Array.isArray(d)?d.find(g=>Hf(g)):Hf(d));r&&!p&&h.push(r);const f={...l,"sentry-trace":c??s,baggage:h.length>0?h.join(","):void 0};return o&&a&&!u&&(f.traceparent=a),f}else return{...i}}function vce(e,t){if(t.response){Ik(e,t.response.status);const n=t.response?.headers?.get("content-length");if(n){const o=parseInt(n);o>0&&e.setAttribute("http.response_content_length",o)}}else t.error&&e.setStatus({code:Bn,message:"internal_error"});e.end()}function Hf(e){return e.split(",").some(t=>t.trim().startsWith(Db))}function Cce(e){return typeof Headers<"u"&&Lr(e,Headers)}function bce(e,t,n){const o=vA(e);return{name:o?`${t} ${Ble(o)}`:t,attributes:yce(e,o,t,n)}}function yce(e,t,n,o){const i={url:e,type:"fetch","http.method":n,[yn]:o,[Dr]:"http.client"};return t&&(mA(t)||(i["http.url"]=t.href,i["server.address"]=t.host),t.search&&(i["http.query"]=t.search),t.hash&&(i["http.fragment"]=t.hash)),i}function SA(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}const ep=Vt;function wce(){return"history"in ep&&!!ep.history}function Sce(){if(!("fetch"in ep))return!1;
112try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function V5(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Ece(){if(typeof EdgeRuntime=="string")return!0;if(!Sce())return!1;if(V5(ep.fetch))return!0;let e=!1;const t=ep.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=V5(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){nt&&ze.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function EA(e,t){const n="fetch";qa(n,e),Ya(n,()=>TA(void 0,t))}function Tce(e){const t="fetch-body-resolved";qa(t,e),Ya(t,()=>TA(Pce))}function TA(e,t=!1){t&&!Ece()||Yo(Vt,"fetch",function(n){return function(...o){const i=new Error,{method:s,url:r}=Mce(o),a={args:o,fetchData:{method:s,url:r},startTimestamp:_n()*1e3,virtualError:i,headers:Lce(o)};return e||gi("fetch",{...a}),n.apply(Vt,o).then(async l=>(e?e(l):gi("fetch",{...a,endTimestamp:_n()*1e3,response:l}),l),l=>{if(gi("fetch",{...a,endTimestamp:_n()*1e3,error:l}),Sb(l)&&l.stack===void 0&&(l.stack=i.stack,Vo(l,"framesToPop",1)),l instanceof TypeError&&(l.message==="Failed to fetch"||l.message==="Load failed"||l.message==="NetworkError when attempting to fetch resource."))try{const c=new URL(a.fetchData.url);l.message=`${l.message} (${c.host})`}catch{}throw l})}})}async function Rce(e,t){if(e?.body){const n=e.body,o=n.getReader(),i=setTimeout(()=>{n.cancel().then(null,()=>{})},90*1e3);let s=!0;for(;s;){let r;try{r=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);const{done:a}=await o.read();clearTimeout(r),a&&(t(),s=!1)}catch{s=!1}finally{clearTimeout(r)}}clearTimeout(i),o.releaseLock(),n.cancel().then(null,()=>{})}}function Pce(e){let t;try{t=e.clone()}catch{return}Rce(t,()=>{gi("fetch-body-resolved",{endTimestamp:_n()*1e3,response:e})})}function _1(e,t){return!!e&&typeof e=="object"&&!!e[t]}function a7(e){return typeof e=="string"?e:e?_1(e,"url")?e.url:e.toString?e.toString():"":""}function Mce(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,o]=e;return{url:a7(n),method:_1(o,"method")?String(o.method).toUpperCase():Tb(n)&&_1(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:a7(t),method:_1(t,"method")?String(t.method).toUpperCase():"GET"}}function Lce(e){const[t,n]=e;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(Tb(t))return new Headers(t.headers)}catch{}}function xce(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function Dce(){return"npm"}function kce(){return!xce()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function Ace(){return typeof window<"u"&&(!kce()||_ce())}function _ce(){return Vt.process?.type==="renderer"}const $t=Vt;let $5=0;function RA(){return $5>0}function Ice(){$5++,setTimeout(()=>{$5--})}function Bu(e,t={}){function n(i){return typeof i=="function"}if(!n(e))return e;try{const i=e.__sentry_wrapped__;if(i)return typeof i=="function"?i:e;if(Pb(e))return e}catch{return e}const o=function(...i){try{const s=i.map(r=>Bu(r,t));return e.apply(this,s)}catch(s){throw Ice(),w0(r=>{r.addEventProcessor(a=>(t.mechanism&&(k5(a,void 0),Iu(a,t.mechanism)),a.extra={...a.extra,arguments:i},a)),Ob(s)}),s}};try{for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(o[i]=e[i])}catch{}Lk(o,e),Vo(e,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get(){return e.name}})}catch{}return o}function Hb(){const e=Wp(),{referrer:t}=$t.document||{},{userAgent:n}=$t.navigator||{},o={...t&&{Referer:t},...n&&{"User-Agent":n}};return{url:e,headers:o}}function Vb(e,t){const n=$b(e,t),o={type:Hce(t),value:Vce(t)};return n.length&&(o.stacktrace={frames:n}),o.type===void 0&&o.value===""&&(o.value="Unrecoverable error caught"),o}function Fce(e,t,n,o){const s=nn()?.getOptions().normalizeDepth,r=Uce(t),a={__serialized__:qk(t,s)};if(r)return{exception:{values:[Vb(e,r)]},extra:a};const l={exception:{values:[{type:y0(t)?t.constructor.name:o?"UnhandledRejection":"Error",value:Gce(t,{isUnhandledRejection:o})}]},extra:a};if(n){const c=$b(e,n);c.length&&(l.exception.values[0].stacktrace={frames:c})}return l}function kv(e,t){return{exception:{values:[Vb(e,t)]}}}function $b(e,t){const n=t.stacktrace||t.stack||"",o=Nce(t),i=Bce(t);try{return e(n,o,i)}catch{}return[]}const Oce=/Minified React error #\d+;/i;function Nce(e){return e&&Oce.test(e.message)?1:0}function Bce(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function PA(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function Hce(e){const t=e?.name;return!t&&PA(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function Vce(e){const t=e?.message;return PA(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:"wasm exception":t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function $ce(e,t,n,o){const i=n?.syntheticException||void 0,s=Wb(e,t,i,o);return Iu(s),s.level="error",n?.event_id&&(s.event_id=n.event_id),E0(s)}function Wce(e,t,n="info",o,i){const s=o?.syntheticException||void 0,r=W5(e,t,s,i);return r.level=n,o?.event_id&&(r.event_id=o.event_id),E0(r)}function Wb(e,t,n,o,i){let s;if(Rk(t)&&t.error)return kv(e,t.error);if(b9(t)||are(t)){const r=t;if("stack"in t)s=kv(e,t);else{const a=r.name||(b9(r)?"DOMError":"DOMException"),l=r.message?`${a}: ${r.message}`:a;s=W5(e,l,n,o),k5(s,l)}return"code"in r&&(s.tags={...s.tags,"DOMException.code":`${r.code}`}),s}return Sb(t)?kv(e,t):Yh(t)||y0(t)?(s=Fce(e,t,n,i),Iu(s,{synthetic:!0}),s):(s=W5(e,t,n,o),k5(s,`${t}`),Iu(s,{synthetic:!0}),s)}function W5(e,t,n,o){const i={};if(o&&n){const s=$b(e,n);s.length&&(i.exception={values:[{value:t,stacktrace:{frames:s}}]}),Iu(i,{synthetic:!0})}
112if(Eb(t)){const{__sentry_template_string__:s,__sentry_template_values__:r}=t;return i.logentry={message:s,params:r},i}return i.message=t,i}function Gce(e,{isUnhandledRejection:t}){const n=pre(e),o=t?"promise rejection":"exception";return Rk(e)?`Event \`ErrorEvent\` captured as ${o} with message \`${e.message}\``:y0(e)?`Event \`${zce(e)}\` (type=${e.type}) captured as ${o}`:`Object captured as ${o} with keys: ${n}`}function zce(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function Uce(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}class jce extends Dle{constructor(t){const n=Zce(t),o=$t.SENTRY_SDK_SOURCE||Dce();CA(n,"browser",["browser"],o),n._metadata?.sdk&&(n._metadata.sdk.settings={infer_ip:n.sendDefaultPii?"auto":"never",...n._metadata.sdk.settings}),super(n);const{sendDefaultPii:i,sendClientReports:s,enableLogs:r,_experiments:a,enableMetrics:l}=this._options,c=l??a?.enableMetrics??!0;$t.document&&(s||r||c)&&$t.document.addEventListener("visibilitychange",()=>{$t.document.visibilityState==="hidden"&&(s&&this._flushOutcomes(),r&&rA(this),c&&lA(this))}),i&&this.on("beforeSendSession",Vle)}eventFromException(t,n){return $ce(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",o){return Wce(this._options.stackParser,t,n,o,this._options.attachStacktrace)}_prepareEvent(t,n,o,i){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,o,i)}}function Zce(e){return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:$t.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}const jp=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,yt=Vt,Kce=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",Zp=(e,t,n,o)=>{let i,s;return r=>{t.value>=0&&(r||o)&&(s=t.value-(i??0),(s||i===void 0)&&(i=t.value,t.delta=s,t.rating=Kce(t.value,n),e(t)))}},Kp=(e=!0)=>{const t=yt.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},dd=()=>Kp()?.activationStart??0;function Vl(e,t,n){yt.document&&yt.addEventListener(e,t,n)}function Gb(e,t,n){yt.document&&yt.removeEventListener(e,t,n)}let Cu=-1;const MA=new Set,qce=()=>yt.document?.visibilityState==="hidden"&&!yt.document?.prerendering?0:1/0,I1=e=>{if(Yce(e)&&Cu>-1){if(e.type==="visibilitychange"||e.type==="pagehide")for(const t of MA)t();isFinite(Cu)||(Cu=e.type==="visibilitychange"?e.timeStamp:0,Gb("prerenderingchange",I1,!0))}},qp=()=>{if(yt.document&&Cu<0){const e=dd();Cu=(yt.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(n=>n.name==="hidden"&&n.startTime>e)[0]?.startTime)??qce(),Vl("visibilitychange",I1,!0),Vl("pagehide",I1,!0),Vl("prerenderingchange",I1,!0)}return{get firstHiddenTime(){return Cu},onHidden(e){MA.add(e)}}};function Yce(e){return e.type==="pagehide"||yt.document?.visibilityState==="hidden"}const Xce=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,Yp=(e,t=-1)=>{const n=Kp();let o="navigate";return n&&(yt.document?.prerendering||dd()>0?o="prerender":yt.document?.wasDiscarded?o="restore":n.type&&(o=n.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:Xce(),navigationType:o}},Av=new WeakMap;function zb(e,t){return Av.get(e)||Av.set(e,new t),Av.get(e)}class pm{constructor(){pm.prototype.__init.call(this),pm.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(t){if(t.hadRecentInput)return;const n=this._sessionEntries[0],o=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&n&&o&&t.startTime-o.startTime<1e3&&t.startTime-n.startTime<5e3?(this._sessionValue+=t.value,this._sessionEntries.push(t)):(this._sessionValue=t.value,this._sessionEntries=[t]),this._onAfterProcessingUnexpectedShift?.(t)}}const hd=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const o=new PerformanceObserver(i=>{Promise.resolve().then(()=>{t(i.getEntries())})});return o.observe({type:e,buffered:!0,...n}),o}}catch{}},Ub=e=>{let t=!1;return()=>{t||(e(),t=!0)}},T0=e=>{yt.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},Jce=[1800,3e3],Qce=(e,t={})=>{T0(()=>{const n=qp(),o=Yp("FCP");let i;const r=hd("paint",a=>
112{for(const l of a)l.name==="first-contentful-paint"&&(r.disconnect(),l.startTime<n.firstHiddenTime&&(o.value=Math.max(l.startTime-dd(),0),o.entries.push(l),i(!0)))});r&&(i=Zp(e,o,Jce,t.reportAllChanges))})},eue=[.1,.25],tue=(e,t={})=>{Qce(Ub(()=>{const n=Yp("CLS",0);let o;const i=qp(),s=zb(t,pm),r=l=>{for(const c of l)s._processEntry(c);s._sessionValue>n.value&&(n.value=s._sessionValue,n.entries=s._sessionEntries,o())},a=hd("layout-shift",r);a&&(o=Zp(e,n,eue,t.reportAllChanges),i.onHidden(()=>{r(a.takeRecords()),o(!0)}),yt?.setTimeout?.(o))}))};let LA=0,_v=1/0,Vf=0;const nue=e=>{e.forEach(t=>{t.interactionId&&(_v=Math.min(_v,t.interactionId),Vf=Math.max(Vf,t.interactionId),LA=Vf?(Vf-_v)/7+1:0)})};let G5;const xA=()=>G5?LA:performance.interactionCount||0,oue=()=>{"interactionCount"in performance||G5||(G5=hd("event",nue,{type:"event",buffered:!0,durationThreshold:0}))},Iv=10;let DA=0;const iue=()=>xA()-DA;class fm{constructor(){fm.prototype.__init.call(this),fm.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){DA=xA(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const t=Math.min(this._longestInteractionList.length-1,Math.floor(iue()/50));return this._longestInteractionList[t]}_processEntry(t){if(this._onBeforeProcessingEntry?.(t),!(t.interactionId||t.entryType==="first-input"))return;const n=this._longestInteractionList.at(-1);let o=this._longestInteractionMap.get(t.interactionId);if(o||this._longestInteractionList.length<Iv||t.duration>n._latency){if(o?t.duration>o._latency?(o.entries=[t],o._latency=t.duration):t.duration===o._latency&&t.startTime===o.entries[0].startTime&&o.entries.push(t):(o={id:t.interactionId,entries:[t],_latency:t.duration},this._longestInteractionMap.set(o.id,o),this._longestInteractionList.push(o)),this._longestInteractionList.sort((i,s)=>s._latency-i._latency),this._longestInteractionList.length>Iv){const i=this._longestInteractionList.splice(Iv);for(const s of i)this._longestInteractionMap.delete(s.id)}this._onAfterProcessingINPCandidate?.(o)}}}const kA=e=>{const t=n=>{(n.type==="pagehide"||yt.document?.visibilityState==="hidden")&&e(n)};Vl("visibilitychange",t,!0),Vl("pagehide",t,!0)},AA=e=>{const t=yt.requestIdleCallback||yt.setTimeout;yt.document?.visibilityState==="hidden"?e():(e=Ub(e),Vl("visibilitychange",e,{once:!0,capture:!0}),t(()=>{e(),Gb("visibilitychange",e,{capture:!0})}),kA(e))},sue=[200,500],rue=40,aue=(e,t={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;const n=qp();T0(()=>{oue();const o=Yp("INP");let i;const s=zb(t,fm),r=l=>{AA(()=>{for(const u of l)s._processEntry(u);const c=s._estimateP98LongestInteraction();c&&c._latency!==o.value&&(o.value=c._latency,o.entries=c.entries,i())})},a=hd("event",r,{durationThreshold:t.durationThreshold??rue});i=Zp(e,o,sue,t.reportAllChanges),a&&(a.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{r(a.takeRecords()),i(!0)}))})};class lue{_processEntry(t){this._onBeforeProcessingEntry?.(t)}}const cue=[2500,4e3],uue=(e,t={})=>{T0(()=>{const n=qp(),o=Yp("LCP");let i;const s=zb(t,lue),r=l=>{t.reportAllChanges||(l=l.slice(-1));for(const c of l)s._processEntry(c),c.startTime<n.firstHiddenTime&&(o.value=Math.max(c.startTime-dd(),0),o.entries=[c],i())},a=hd("largest-contentful-paint",r);if(a){i=Zp(e,o,cue,t.reportAllChanges);const l=Ub(()=>{r(a.takeRecords()),a.disconnect(),i(!0)}),c=u=>{u.isTrusted&&(AA(l),Gb(u.type,c,{capture:!0}))};for(const u of["keydown","click","visibilitychange"])Vl(u,c,{capture:!0})}})},due=[800,1800],z5=e=>{yt.document?.prerendering?T0(()=>z5(e)):yt.document?.readyState!=="complete"?addEventListener("load",()=>z5(e),!0):setTimeout(e)},hue=(e,t={})=>{const n=Yp("TTFB"),o=Zp(e,n,due,t.reportAllChanges);z5(()=>{const i=Kp();i&&(n.value=Math.max(i.responseStart-dd(),0),n.entries=[i],o(!0))})},ph={},gm={};let _A,IA,FA,OA;function NA(e,t=!1){return R0("cls",e,gue,_A,t)}function BA(e,t=!1){return R0("lcp",e,mue,IA,t)}function pue(e){return R0("ttfb",e,vue,FA)}function fue(e){return R0("inp",e,Cue,OA)}function Hu(e,t){return HA(e,t),gm[e]||(bue(e),gm[e]=!0),VA(e,t)}function Xp(e,t){const n=ph[e];if(n?.length)for(const o of n)try{o(t)}catch(i){jp&&ze.error(`Error while triggering instrumentation handler.
113Type: ${e}
114Name: ${Mr(o)}
115Error:`,i)}}function gue(){return tue(e=>{Xp("cls",{metric:e}),_A=e},{reportAllChanges:!0})}function mue(){return uue(e=>{Xp("lcp",{metric:e}),IA=e},{reportAllChanges:!0})}function vue(){return hue(e=>{Xp("ttfb",{metric:e}),FA=e})}function Cue(){return aue(e=>{Xp("inp",{metric:e}),OA=e})}function R0(e,t,n,o,i=!1){HA(e,t);let s;return gm[e]||(s=n(),gm[e]=!0),o&&t({metric:o}),VA(e,t,i?s:void 0)}function bue(e){const t={};e==="event"&&(t.durationThreshold=0),hd(e,n=>{Xp(e,{entries:n})},t)}function HA(e,t){ph[e]=ph[e]||[],ph[e].push(t)}function VA(e,t,n){return()=>{n&&n();const o=ph[e];if(!o)return;const i=o.indexOf(t);i!==-1&&o.splice(i,1)}}function yue(e){return"duration"in e}function Fv(e){return typeof e=="number"&&isFinite(e)}function Na(e,t,n,{...o}){const i=Ht(e).start_timestamp;return i&&i>t&&typeof e.updateStartTime=="function"&&e.updateStartTime(t),_b(e,()=>{const s=Fa({startTime:t,...o}
115);return s&&s.end(n),s})}function jb(e){const t=nn();if(!t)return;const{name:n,transaction:o,attributes:i,startTime:s}=e,{release:r,environment:a,sendDefaultPii:l}=t.getOptions(),u=t.getIntegrationByName("Replay")?.getReplayId(),d=tn(),h=d.getUser(),p=h!==void 0?h.email||h.id||h.ip_address:void 0;let f;try{f=d.getScopeData().contexts.profile.profile_id}catch{}const g={release:r,environment:a,user:p||void 0,profile_id:f||void 0,replay_id:u||void 0,transaction:o,"user_agent.original":yt.navigator?.userAgent,"client.address":l?"{{auto}}":void 0,...i};return Fa({name:n,attributes:g,startTime:s,experimental:{standalone:!0}})}function Jp(){return yt.addEventListener&&yt.performance}function Tn(e){return e/1e3}function wue(e){let t="unknown",n="unknown",o="";for(const i of e){if(i==="/"){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t=o==="h"?"http":o,n=e.split(o)[1];break}o+=i}return o===e&&(t=o),{name:t,version:n}}function $A(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function WA(e,t){let n,o=!1;function i(a){!o&&n&&t(a,n),o=!0}kA(()=>{i("pagehide")});const s=e.on("beforeStartNavigationSpan",(a,l)=>{l?.isRedirect||(i("navigation"),s(),r())}),r=e.on("afterStartPageLoadSpan",a=>{n=a.spanContext().spanId,r()})}function Sue(e){let t=0,n;if(!$A("layout-shift"))return;const o=NA(({metric:i})=>{const s=i.entries[i.entries.length-1];s&&(t=i.value,n=s)},!0);WA(e,(i,s)=>{Eue(t,n,s,i),o()})}function Eue(e,t,n,o){jp&&ze.log(`Sending CLS span (${e})`);const i=t?Tn((ni()||0)+t.startTime):_n(),s=tn().getScopeData().transactionName,r=t?Pi(t.sources[0]?.node):"Layout shift",a={[yn]:"auto.http.browser.cls",[Dr]:"ui.webvital.cls",[cd]:0,"sentry.pageload.span_id":n,"sentry.report_event":o};t?.sources&&t.sources.forEach((c,u)=>{a[`cls.source.${u+1}`]=Pi(c.node)});const l=jb({name:r,transaction:s,attributes:a,startTime:i});l&&(l.addEvent("cls",{[zp]:"",[Up]:e}),l.end(i))}function Tue(e){let t=0,n;if(!$A("largest-contentful-paint"))return;const o=BA(({metric:i})=>{const s=i.entries[i.entries.length-1];s&&(t=i.value,n=s)},!0);WA(e,(i,s)=>{Rue(t,n,s,i),o()})}function Rue(e,t,n,o){jp&&ze.log(`Sending LCP span (${e})`);const i=Tn((ni()||0)+(t?.startTime||0)),s=tn().getScopeData().transactionName,r=t?Pi(t.element):"Largest contentful paint",a={[yn]:"auto.http.browser.lcp",[Dr]:"ui.webvital.lcp",[cd]:0,"sentry.pageload.span_id":n,"sentry.report_event":o};t&&(t.element&&(a["lcp.element"]=Pi(t.element)),t.id&&(a["lcp.id"]=t.id),t.url&&(a["lcp.url"]=t.url),t.loadTime!=null&&(a["lcp.loadTime"]=t.loadTime),t.renderTime!=null&&(a["lcp.renderTime"]=t.renderTime),t.size!=null&&(a["lcp.size"]=t.size));const l=jb({name:r,transaction:s,attributes:a,startTime:i});l&&(l.addEvent("lcp",{[zp]:"millisecond",[Up]:e}),l.end(i))}function si(e){return e&&((ni()||performance.timeOrigin)+e)/1e3}function GA(e){const t={};if(e.nextHopProtocol!=null){const{name:n,version:o}=wue(e.nextHopProtocol);t["network.protocol.version"]=o,t["network.protocol.name"]=n}return ni()||Jp()?.timeOrigin?Pue({...t,"http.request.redirect_start":si(e.redirectStart),"http.request.redirect_end":si(e.redirectEnd),"http.request.worker_start":si(e.workerStart),"http.request.fetch_start":si(e.fetchStart),"http.request.domain_lookup_start":si(e.domainLookupStart),"http.request.domain_lookup_end":si(e.domainLookupEnd),"http.request.connect_start":si(e.connectStart),"http.request.secure_connection_start":si(e.secureConnectionStart),"http.request.connection_end":si(e.connectEnd),"http.request.request_start":si(e.requestStart),"http.request.response_start":si(e.responseStart),"http.request.response_end":si(e.responseEnd),"http.request.time_to_first_byte":e.responseStart!=null?e.responseStart/1e3:void 0}):t}function Pue(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null))}const Mue=2147483647;let l7=0,Vi={},ko,mm;function Lue({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){const o=Jp();if(o&&ni()){o.mark&&yt.performance.mark("sentry-tracing-init");const i=t?Tue(n):_ue(),s=Iue(),r=e?Sue(n):Aue();return()=>{i?.(),s(),r?.()}}return()=>{}}function xue(){Hu("longtask",({entries:e})=>{const t=Mo();if(!t)return;const{op:n,start_timestamp:o}=Ht(t);for(const i of e){const s=Tn(ni()+i.startTime),r=Tn(i.duration);n==="navigation"&&o&&s<o||Na(t,s,s+r,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[yn]:"auto.ui.browser.metrics"}})}})}function Due(){new PerformanceObserver(t=>{const n=Mo();if(n)for(const o of t.getEntries()){if(!o.scripts[0])continue;const i=Tn(ni()+o.startTime),{start_timestamp:s,op:r}=Ht(n);if(r==="navigation"&&s&&i<s)continue;const a=Tn(o.duration),l={[yn]:"auto.ui.browser.metrics"},c=o.scripts[0],{invoker:u,invokerType:d,sourceURL:h,sourceFunctionName:p,sourceCharPosition:f}=c;l["browser.script.invoker"]=u,l["browser.script.invoker_type"]=d,h&&(l["code.filepath"]=h),p&&(l["code.function"]=p),f!==-1&&(l["browser.script.source_char_position"]=f),Na(n,i,i+a,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:l})}}).observe({type:"long-animation-frame",buffered:!0})}function kue(){Hu("event",({entries:e})=>{const t=Mo();if(t){for(const n of e)if(n.name==="click"){const o=Tn(ni()+n.startTime),i=Tn(n.duration),s={name:Pi(n.target),op:`ui.interaction.${n.name}`,startTime:o,attributes:{[yn]:"auto.ui.browser.metrics"}},r=Mk(n.target);r&&(s.attributes["ui.component_name"]=r),Na(t,o,o+i,s)}}})}function Aue(){return NA(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Vi.cls={value:e.value,unit:""},mm=t)},!0)}function _ue(){return BA(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Vi.lcp={value:e.value,unit:"millisecond"},ko=t)},!0)}function Iue(){return pue(({metric:e})=>{e.entries[e.entries.length-1]&&(Vi.ttfb={value:e.value,unit:"millisecond"})})}function Fue(e,t){const n=Jp(),o=ni();if(!n?.getEntries||!o)return;const i=Tn(o),s=n.getEntries(),{op:r,start_timestamp:a}=Ht(e);
115s.slice(l7).forEach(l=>{const c=Tn(l.startTime),u=Tn(Math.max(0,l.duration));if(!(r==="navigation"&&a&&i+c<a))switch(l.entryType){case"navigation":{Hue(e,l,i);break}case"mark":case"paint":case"measure":{Nue(e,l,c,u,i,t.ignorePerformanceApiSpans);const d=qp(),h=l.startTime<d.firstHiddenTime;l.name==="first-paint"&&h&&(Vi.fp={value:l.startTime,unit:"millisecond"}),l.name==="first-contentful-paint"&&h&&(Vi.fcp={value:l.startTime,unit:"millisecond"});break}case"resource":{Wue(e,l,l.name,c,u,i,t.ignoreResourceSpans);break}}}),l7=Math.max(s.length-1,0),Gue(e),r==="pageload"&&(jue(Vi),t.recordClsOnPageloadSpan||delete Vi.cls,t.recordLcpOnPageloadSpan||delete Vi.lcp,Object.entries(Vi).forEach(([l,c])=>{Pae(l,c.value,c.unit)}),e.setAttribute("performance.timeOrigin",i),e.setAttribute("performance.activationStart",dd()),zue(e,t)),ko=void 0,mm=void 0,Vi={}}function Oue(e){if(e?.entryType==="measure")try{return e.detail.devtools.track==="Components ⚛"}catch{return}}function Nue(e,t,n,o,i,s){if(Oue(t)||["mark","measure"].includes(t.entryType)&&Pa(t.name,s))return;const r=Kp(!1),a=Tn(r?r.requestStart:0),l=i+Math.max(n,a),c=i+n,u=c+o,d={[yn]:"auto.resource.browser.metrics"};l!==c&&(d["sentry.browser.measure_happened_before_request"]=!0,d["sentry.browser.measure_start_time"]=l),Bue(d,t),l<=u&&Na(e,l,u,{name:t.name,op:t.entryType,attributes:d})}function Bue(e,t){try{const n=t.detail;if(!n)return;if(typeof n=="object"){for(const[o,i]of Object.entries(n))if(i&&_u(i))e[`sentry.browser.measure.detail.${o}`]=i;else if(i!==void 0)try{e[`sentry.browser.measure.detail.${o}`]=JSON.stringify(i)}catch{}return}if(_u(n)){e["sentry.browser.measure.detail"]=n;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch{}}catch{}}function Hue(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(o=>{$f(e,t,o,n)}),$f(e,t,"secureConnection",n,"TLS/SSL"),$f(e,t,"fetch",n,"cache"),$f(e,t,"domainLookup",n,"DNS"),$ue(e,t,n)}function $f(e,t,n,o,i=n){const s=Vue(n),r=t[s],a=t[`${n}Start`];!a||!r||Na(e,o+Tn(a),o+Tn(r),{op:`browser.${i}`,name:t.name,attributes:{[yn]:"auto.ui.browser.metrics",...n==="redirect"&&t.redirectCount!=null?{"http.redirect_count":t.redirectCount}:{}}})}function Vue(e){return e==="secureConnection"?"connectEnd":e==="fetch"?"domainLookupStart":`${e}End`}function $ue(e,t,n){const o=n+Tn(t.requestStart),i=n+Tn(t.responseEnd),s=n+Tn(t.responseStart);t.responseEnd&&(Na(e,o,i,{op:"browser.request",name:t.name,attributes:{[yn]:"auto.ui.browser.metrics"}}),Na(e,s,i,{op:"browser.response",name:t.name,attributes:{[yn]:"auto.ui.browser.metrics"}}))}function Wue(e,t,n,o,i,s,r){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const a=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(r?.includes(a))return;const l={[yn]:"auto.resource.browser.metrics"},c=Hl(n);c.protocol&&(l["url.scheme"]=c.protocol.split(":").pop()),c.host&&(l["server.address"]=c.host),l["url.same_origin"]=n.includes(yt.location.origin),Uue(t,l,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);const u={...l,...GA(t)},d=s+o,h=d+i;Na(e,d,h,{name:n.replace(yt.location.origin,""),op:a,attributes:u})}function Gue(e){const t=yt.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),Fv(n.rtt)&&(Vi["connection.rtt"]={value:n.rtt,unit:"millisecond"})),Fv(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),Fv(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function zue(e,t){ko&&t.recordLcpOnPageloadSpan&&(ko.element&&e.setAttribute("lcp.element",Pi(ko.element)),ko.id&&e.setAttribute("lcp.id",ko.id),ko.url&&e.setAttribute("lcp.url",ko.url.trim().slice(0,200)),ko.loadTime!=null&&e.setAttribute("lcp.loadTime",ko.loadTime),ko.renderTime!=null&&e.setAttribute("lcp.renderTime",ko.renderTime),e.setAttribute("lcp.size",ko.size)),mm?.sources&&t.recordClsOnPageloadSpan&&mm.sources.forEac
115h((n,o)=>e.setAttribute(`cls.source.${o+1}`,Pi(n.node)))}function Uue(e,t,n){n.forEach(([o,i])=>{const s=e[o];s!=null&&(typeof s=="number"&&s<Mue||typeof s=="string")&&(t[i]=s)})}function jue(e){const t=Kp(!1);if(!t)return;const{responseStart:n,requestStart:o}=t;o<=n&&(e["ttfb.requestTime"]={value:n-o,unit:"millisecond"})}function Zue(){return Jp()&&ni()?Hu("element",Kue):()=>{}}const Kue=({entries:e})=>{const t=Mo(),n=t?go(t):void 0,o=n?Ht(n).description:tn().getScopeData().transactionName;e.forEach(i=>{const s=i;if(!s.identifier)return;const r=s.name,a=s.renderTime,l=s.loadTime,[c,u]=l?[Tn(l),"load-time"]:a?[Tn(a),"render-time"]:[_n(),"entry-emission"],d=r==="image-paint"?Tn(Math.max(0,(a??0)-(l??0))):0,h={[yn]:"auto.ui.browser.elementtiming",[Dr]:"ui.elementtiming",[Xo]:"component","sentry.span_start_time_source":u,"sentry.transaction_name":o,"element.id":s.id,"element.type":s.element?.tagName?.toLowerCase()||"unknown","element.size":s.naturalWidth&&s.naturalHeight?`${s.naturalWidth}x${s.naturalHeight}`:void 0,"element.render_time":a,"element.load_time":l,"element.url":s.url||void 0,"element.identifier":s.identifier,"element.paint_type":r};Aae({name:`element[${s.identifier}]`,attributes:h,startTime:c,onlyIfParent:!0},p=>{p.end(c+d)})})},que=1e3;let c7,U5,j5;function Yue(e){qa("dom",e),Ya("dom",Xue)}function Xue(){if(!yt.document)return;const e=gi.bind(null,"dom"),t=u7(e,!0);yt.document.addEventListener("click",t,!1),yt.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const i=yt[n]?.prototype;i?.hasOwnProperty?.("addEventListener")&&(Yo(i,"addEventListener",function(s){return function(r,a,l){if(r==="click"||r=="keypress")try{const c=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},u=c[r]=c[r]||{refCount:0};if(!u.handler){const d=u7(e);u.handler=d,s.call(this,r,d,l)}u.refCount++}catch{}return s.call(this,r,a,l)}}),Yo(i,"removeEventListener",function(s){return function(r,a,l){if(r==="click"||r=="keypress")try{const c=this.__sentry_instrumentation_handlers__||{},u=c[r];u&&(u.refCount--,u.refCount<=0&&(s.call(this,r,u.handler,l),u.handler=void 0,delete c[r]),Object.keys(c).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return s.call(this,r,a,l)}}))})}function Jue(e){if(e.type!==U5)return!1;try{if(!e.target||e.target._sentryId!==j5)return!1}catch{}return!0}function Que(e,t){return e!=="keypress"?!1:t?.tagName?!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable):!0}function u7(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const o=ede(n);if(Que(n.type,o))return;Vo(n,"_sentryCaptured",!0),o&&!o._sentryId&&Vo(o,"_sentryId",mi());
115const i=n.type==="keypress"?"input":n.type;Jue(n)||(e({event:n,name:i,global:t}),U5=n.type,j5=o?o._sentryId:void 0),clearTimeout(c7),c7=yt.setTimeout(()=>{j5=void 0,U5=void 0},que)}}function ede(e){try{return e.target}catch{return null}}let Wf;function Zb(e){const t="history";qa(t,e),Ya(t,tde)}function tde(){if(yt.addEventListener("popstate",()=>{const t=yt.location.href,n=Wf;if(Wf=t,n===t)return;gi("history",{from:n,to:t})}),!wce())return;function e(t){return function(...n){const o=n.length>2?n[2]:void 0;if(o){const i=Wf,s=nde(String(o));if(Wf=s,i===s)return t.apply(this,n);gi("history",{from:i,to:s})}return t.apply(this,n)}}Yo(yt.history,"pushState",e),Yo(yt.history,"replaceState",e)}function nde(e){try{return new URL(e,yt.location.origin).toString()}catch{return e}}const F1={};function ode(e){const t=F1[e];if(t)return t;let n=yt[e];if(V5(n))return F1[e]=n.bind(yt);const o=yt.document;if(o&&typeof o.createElement=="function")try{const i=o.createElement("iframe");i.hidden=!0,o.head.appendChild(i);const s=i.contentWindow;s?.[e]&&(n=s[e]),o.head.removeChild(i)}catch(i){jp&&ze.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,i)}return n&&(F1[e]=n.bind(yt))}function ide(e){F1[e]=void 0}const Jc="__sentry_xhr_v3__";function zA(e){qa("xhr",e),Ya("xhr",sde)}function sde(){if(!yt.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,o){const i=new Error,s=_n()*1e3,r=Cr(o[0])?o[0].toUpperCase():void 0,a=rde(o[1]);if(!r||!a)return t.apply(n,o);n[Jc]={method:r,url:a,request_headers:{}},r==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const l=()=>{const c=n[Jc];if(c&&n.readyState===4){try{c.status_code=n.status}catch{}const u={endTimestamp:_n()*1e3,startTimestamp:s,xhr:n,virtualError:i};gi("xhr",u)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(c,u,d){return l(),c.apply(u,d)}}):n.addEventListener("readystatechange",l),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(c,u,d){const[h,p]=d,f=u[Jc];return f&&Cr(h)&&Cr(p)&&(f.request_headers[h.toLowerCase()]=p),c.apply(u,d)}}),t.apply(n,o)}}),e.send=new Proxy(e.send,{apply(t,n,o){const i=n[Jc];if(!i)return t.apply(n,o);o[0]!==void 0&&(i.body=o[0]);const s={startTimestamp:_n()*1e3,xhr:n};return gi("xhr",s),t.apply(n,o)}})}function rde(e){if(Cr(e))return e;try{return e.toString()}catch{}}function ade(e){let t;try{t=e.getAllResponseHeaders()}catch(n){return jp&&ze.error(n,"Failed to get xhr response headers",e),{}}return t?t.split(`\r
116`).reduce((n,o)=>{const[i,s]=o.split(": ");return s&&(n[i.toLowerCase()]=s),n},{}):{}}const Ov=[],O1=new Map,Lc=new Map,lde=60;function cde(){if(Jp()&&ni()){const t=ude();return()=>{t()}}return()=>{}}const Z5={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function ude(){return fue(dde)}const dde=({metric:e})=>{if(e.value==null)return;const t=Tn(e.value);if(t>lde)return;const n=e.entries.find(f=>f.duration===e.value&&Z5[f.name]);if(!n)return;const{interactionId:o}=n,i=Z5[n.name],s=Tn(ni()+n.startTime),r=Mo(),a=r?go(r):void 0,l=o!=null?O1.get(o):void 0,c=l?.span||a,u=c?Ht(c).description:tn().getScopeData().transactionName,d=l?.elementName||Pi(n.target),h={[yn]:"auto.http.browser.inp",[Dr]:`ui.interaction.${i}`,[cd]:n.duration},p=jb({name:d,transaction:u,attributes:h,startTime:s});p&&(p.addEvent("inp",{[zp]:"millisecond",[Up]:e.value}),p.end(s+t))};function hde(){const e=Object.keys(Z5);Ace()&&e.forEach(i=>{yt.addEventListener(i,t,{capture:!0,passive:!0})});function t(i){const s=i.target;if(!s)return;const r=Pi(s),a=Math.round(i.timeStamp);if(Lc.set(a,r),Lc.size>50){const l=Lc.keys().next().value;l!==void 0&&Lc.delete(l)}}function n(i){const s=Math.round(i.startTime);let r=Lc.get(s);if(!r)for(let a=-5;a<=5;a++){const l=Lc.get(s+a);if(l){r=l;break}}return r||"<unknown>"}const o=({entries:i})=>{const s=Mo(),r=s&&go(s);
116i.forEach(a=>{if(!yue(a))return;const l=a.interactionId;if(l==null||O1.has(l))return;const c=a.target?Pi(a.target):n(a);if(Ov.length>10){const u=Ov.shift();O1.delete(u)}Ov.push(l),O1.set(l,{span:r,elementName:c})})};Hu("event",o),Hu("first-input",o)}const pde=40;function fde(e,t=ode("fetch")){let n=0,o=0;async function i(s){const r=s.body.length;n+=r,o++;const a={body:s.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&o<15,...e.fetchOptions};try{const l=await t(e.url,a);return{statusCode:l.status,headers:{"x-sentry-rate-limits":l.headers.get("X-Sentry-Rate-Limits"),"retry-after":l.headers.get("Retry-After")}}}catch(l){throw ide("fetch"),l}finally{n-=r,o--}}return Rle(e,i,Bb(e.bufferSize||pde))}const Mi=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,gde=30,mde=50;function K5(e,t,n,o){const i={filename:e,function:t==="<anonymous>"?Ql:t,in_app:!0};return n!==void 0&&(i.lineno=n),o!==void 0&&(i.colno=o),i}const vde=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Cde=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,bde=/\((\S*)(?::(\d+))(?::(\d+))\)/,yde=/at (.+?) ?\(data:(.+?),/,wde=e=>{const t=e.match(yde);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};const n=vde.exec(e);if(n){const[,i,s,r]=n;return K5(i,Ql,+s,+r)}const o=Cde.exec(e);if(o){if(o[2]&&o[2].indexOf("eval")===0){const a=bde.exec(o[2]);a&&(o[2]=a[1],o[3]=a[2],o[4]=a[3])}const[s,r]=UA(o[1]||Ql,o[2]);return K5(r,s,o[3]?+o[3]:void 0,o[4]?+o[4]:void 0)}},Sde=[gde,wde],Ede=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Tde=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Rde=e=>{const t=Ede.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const s=Tde.exec(t[3]);s&&(t[1]=t[1]||"eval",t[3]=s[1],t[4]=s[2],t[5]="")}let o=t[3],i=t[1]||Ql;return[i,o]=UA(i,o),K5(o,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},Pde=[mde,Rde],Mde=[Sde,Pde],Lde=yk(...Mde),UA=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,o=e.indexOf("safari-web-extension")!==-1;return n||o?[e.indexOf("@")!==-1?e.split("@")[0]:Ql,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},Gf=1024,xde="Breadcrumbs",Dde=((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:xde,setup(n){t.console&&sce(Ide(n)),t.dom&&Yue(_de(n,t.dom)),t.xhr&&zA(Fde(n)),t.fetch&&EA(Ode(n)),t.history&&Zb(Nde(n)),t.sentry&&n.on("beforeSendEvent",Ade(n))}}}),kde=Dde;function Ade(e){return function(n){nn()===e&&Oa({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:gl(n)},{event:n})}}function _de(e,t){return function(o){if(nn()!==e)return;let i,s,r=typeof t=="object"?t.serializeAttribute:void 0,a=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;a&&a>Gf&&(Mi&&ze.warn(`\`dom.maxStringLength\` cannot exceed ${Gf}, but a value of ${a} was configured. Sentry will use ${Gf} instead.`),a=Gf),typeof r=="string"&&(r=[r]);try{const c=o.event,u=Bde(c)?c.target:c;i=Pi(u,{keyAttrs:r,maxStringLength:a}),s=Mk(u)}catch{i="<unknown>"}if(i.length===0)return;const l={category:`ui.${o.name}`,message:i};s&&(l.data={"ui.component_name":s}),Oa(l,{event:o.event,name:o.name,global:o.global})}}function Ide(e){return function(n){if(nn()!==e)return;const o={category:"console",data:{arguments:n.args,logger:"console"},level:ace(n.level),message:S9(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)o.message=`Assertion failed: ${S9(n.args.slice(1)," ")||"console.assert"}`,o.data.arguments=n.args.slice(1);else return;Oa(o,{input:n.args,level:n.level})}}function Fde(e){return function(n){if(nn()!==e)return;const{startTimestamp:o,endTimestamp:i}=n,s=n.xhr[Jc];if(!o||!i||!s)return;const{method:r,url:a,status_code:l,body:c}=s,u={method:r,url:a,status_code:l},d={xhr:n.xhr,input:c,startTimestamp:o,endTimestamp:i},h={category:"xhr",data:u,type:"http",level:SA(l)};e.emit("beforeOutgoingRequestBreadcrumb",h,d),Oa(h,d)}}function Ode(e){return function(n){if(nn()!==e)return;const{startTimestamp:o,endTimestamp:i}=n;
116if(i&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.fetchData.method,n.fetchData.url,n.error){const s=n.fetchData,r={data:n.error,input:n.args,startTimestamp:o,endTimestamp:i},a={category:"fetch",data:s,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",a,r),Oa(a,r)}else{const s=n.response,r={...n.fetchData,status_code:s?.status};n.fetchData.request_body_size,n.fetchData.response_body_size,s?.status;const a={input:n.args,response:s,startTimestamp:o,endTimestamp:i},l={category:"fetch",data:r,type:"http",level:SA(r.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",l,a),Oa(l,a)}}}function Nde(e){return function(n){if(nn()!==e)return;let o=n.from,i=n.to;const s=Hl($t.location.href);let r=o?Hl(o):void 0;const a=Hl(i);r?.path||(r=s),s.protocol===a.protocol&&s.host===a.host&&(i=a.relative),s.protocol===r.protocol&&s.host===r.host&&(o=r.relative),Oa({category:"navigation",data:{from:o,to:i}})}}function Bde(e){return!!e&&!!e.target}const Hde=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Vde="BrowserApiErrors",$de=((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:Vde,setupOnce(){t.setTimeout&&Yo($t,"setTimeout",d7),t.setInterval&&Yo($t,"setInterval",d7),t.requestAnimationFrame&&Yo($t,"requestAnimationFrame",Gde),t.XMLHttpRequest&&"XMLHttpRequest"in $t&&Yo(XMLHttpRequest.prototype,"send",zde);const n=t.eventTarget;n&&(Array.isArray(n)?n:Hde).forEach(i=>Ude(i,t))}}}),Wde=$de;function d7(e){return function(...t){const n=t[0];return t[0]=Bu(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${Mr(e)}`}}),e.apply(this,t)}}function Gde(e){return function(t){return e.apply(this,[Bu(t,{mechanism:{data:{handler:Mr(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function zde(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in n&&typeof n[i]=="function"&&Yo(n,i,function(s){const r={mechanism:{data:{handler:Mr(s)},handled:!1,type:`auto.browser.browserapierrors.xhr.${i}`}},a=Pb(s);return a&&(r.mechanism.data.handler=Mr(a)),Bu(s,r)})}),e.apply(this,t)}}function Ude(e,t){const o=$t[e]?.prototype;o?.hasOwnProperty?.("addEventListener")&&(Yo(o,"addEventListener",function(i){return function(s,r,a){try{jde(r)&&(r.handleEvent=Bu(r.handleEvent,{mechanism:{data:{handler:Mr(r),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&Zde(this,s,r),i.apply(this,[s,Bu(r,{mechanism:{data:{handler:Mr(r),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),a])}}),Yo(o,"removeEventListener",function(i){return function(s,r,a){try{const l=r.__sentry_wrapped__;l&&i.call(this,s,l,a)}catch{}return i.call(this,s,r,a)}}))}function jde(e){return typeof e.handleEvent=="function"}function Zde(e,t,n){e&&typeof e=="object"&&"removeEventListener"in e&&typeof e.removeEventListener=="function"&&e.removeEventListener(t,n)}const Kde=()=>({name:"BrowserSession",setupOnce(){if(typeof $t.document>"u"){Mi&&ze.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}z9({ignoreDuration:!0}),U9(),Zb(({from:e,to:t})=>{e!==void 0&&e!==t&&(z9({ignoreDuration:!0}),U9())})}}),qde="GlobalHandlers",Yde=((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:qde,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(Jde(n),h7("onerror")),t.onunhandledrejection&&(Qde(n),h7("onunhandledrejection"))}}}),Xde=Yde;function Jde(e){Sk(t=>{const{stackParser:n,attachStacktrace:o}=jA();if(nn()!==e||RA())return;const{msg:i,url:s,line:r,column:a,error:l}=t,c=nhe(Wb(n,l||i,void 0,o,!1),s,r,a);c.level="error",nA(c,{originalException:l,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function Qde(e){Ek(t=>{const{stackParser:n,attachStacktrace:o}=jA();if(nn()!==e||RA())return;const i=ehe(t),s=_u(i)?the(i):Wb(n,i,void 0,o,!0);s.level="error",nA(s,{originalException:i,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function ehe(e){if(_u(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function the(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function nhe(e,t,n,o){const i=e.exception=e.exception||{},s=i.values=i.values||[],r=s[0]=s[0]||{},a=r.stacktrace=r.stacktrace||{},l=a.frames=a.frames||[],c=o,u=n,d=ohe(t)??Wp();return l.length===0&&l.push({colno:c,filename:d,function:Ql,in_app:!0,lineno:u}),e}function h7(e){Mi&&ze.log(`Global Handler attached: ${e}`)}function jA(){return nn()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function ohe(e){if(!(!Cr(e)||e.length===0)){if(e.startsWith("data:")){const t=e.match(/^data:([^;
116]+)/),n=t?t[1]:"text/javascript",o=e.includes("base64,");return`<data:${n}${o?",base64":""}>`}return e}}const ihe=()=>({name:"HttpContext",preprocessEvent(e){if(!$t.navigator&&!$t.location&&!$t.document)return;const t=Hb(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}}),she="cause",rhe=5,ahe="LinkedErrors",lhe=((e={})=>{const t=e.limit||rhe,n=e.key||she;return{name:ahe,preprocessEvent(o,i,s){const r=s.getOptions();ice(Vb,r.stackParser,n,t,o,i)}}}),che=lhe;function uhe(){return dhe()?(Mi&&Ka(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0):!1}function dhe(){if(typeof $t.window>"u")return!1;const e=$t;if(e.nw||!(e.chrome||e.browser)?.runtime?.id)return!1;const n=Wp(),o=["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"];return!($t===$t.top&&o.some(s=>n.startsWith(`${s}://`)))}function ZA(e){return[Yle(),jle(),Wde(),kde(),Xde(),che(),uce(),ihe(),Kde()]}function hhe(e={}){const t=!e.skipBrowserExtensionCheck&&uhe();let n=e.defaultIntegrations==null?ZA():e.defaultIntegrations;const o={...e,enabled:t?!1:e.enabled,stackParser:ore(e.stackParser||Lde),integrations:hle({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||fde};return Fle(jce,o)}function phe(e){return e.split(",").some(t=>t.trim().startsWith("sentry-"))}function KA(e){try{return new URL(e,$t.location.origin).href}catch{return}}function fhe(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function qA(e){try{return new Headers(e)}catch{return}}const p7=new WeakMap,Nv=new Map,YA={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function ghe(e,t){const{traceFetch:n,traceXHR:o,trackFetchStreamPerformance:i,shouldCreateSpanForRequest:s,enableHTTPTimings:r,tracePropagationTargets:a,onRequestSpanStart:l,onRequestSpanEnd:c}
116={...YA,...t},u=typeof s=="function"?s:f=>!0,d=f=>mhe(f,a),h={},p=e.getOptions().propagateTraceparent;n&&(e.addEventProcessor(f=>(f.type==="transaction"&&f.spans&&f.spans.forEach(g=>{if(g.op==="http.client"){const m=Nv.get(g.span_id);m&&(g.timestamp=m/1e3,Nv.delete(g.span_id))}}),f)),i&&Tce(f=>{if(f.response){const g=p7.get(f.response);g&&f.endTimestamp&&Nv.set(g,f.endTimestamp)}}),EA(f=>{const g=fce(f,u,d,h,{propagateTraceparent:p,onRequestSpanEnd:c});if(f.response&&f.fetchData.__span&&p7.set(f.response,f.fetchData.__span),g){const m=KA(f.fetchData.url),v=m?Hl(m).host:void 0;g.setAttributes({"http.url":m,"server.address":v}),r&&f7(g),l?.(g,{headers:f.headers})}})),o&&zA(f=>{const g=vhe(f,u,d,h,p,c);g&&(r&&f7(g),l?.(g,{headers:qA(f.xhr.__sentry_xhr_v3__?.request_headers)}))})}function f7(e){const{url:t}=Ht(e).data;if(!t||typeof t!="string")return;const n=Hu("resource",({entries:o})=>{o.forEach(i=>{fhe(i)&&i.name.endsWith(t)&&(e.setAttributes(GA(i)),setTimeout(n))})})}function mhe(e,t){const n=Wp();if(n){let o,i;try{o=new URL(e,n),i=new URL(n).origin}catch{return!1}const s=o.origin===i;return t?Pa(o.toString(),t)||s&&Pa(o.pathname,t):s}else{const o=!!e.match(/^\/(?!\/)/);return t?Pa(e,t):o}}function vhe(e,t,n,o,i,s){const r=e.xhr,a=r?.[Jc];if(!r||r.__sentry_own_request__||!a)return;const{url:l,method:c}=a,u=vi()&&t(l);if(e.endTimestamp&&u){const v=r.__sentry_xhr_span_id__;if(!v)return;const y=o[v];y&&a.status_code!==void 0&&(Ik(y,a.status_code),y.end(),s?.(y,{headers:qA(ade(r)),error:e.error}),delete o[v]);return}const d=KA(l),h=Hl(d||l),p=Hle(l),f=!!Mo(),g=u&&f?Fa({name:`${c} ${p}`,attributes:{url:l,type:"xhr","http.method":c,"http.url":d,"server.address":h?.host,[yn]:"auto.http.browser",[Dr]:"http.client",...h?.search&&{"http.query":h?.search},...h?.hash&&{"http.fragment":h?.hash}}}):new Ia;r.__sentry_xhr_span_id__=g.spanContext().spanId,o[r.__sentry_xhr_span_id__]=g,n(l)&&Che(r,vi()&&f?g:void 0,i);const m=nn();return m&&m.emit("beforeOutgoingRequestSpan",g,e),g}function Che(e,t,n){const{"sentry-trace":o,baggage:i,traceparent:s}=bA({span:t,propagateTraceparent:n});o&&bhe(e,o,i,s)}function bhe(e,t,n,o){const i=e.__sentry_xhr_v3__?.request_headers;if(!(i?.["sentry-trace"]||!e.setRequestHeader))try{if(e.setRequestHeader("sentry-trace",t),o&&!i?.traceparent&&e.setRequestHeader("traceparent",o),n){const s=i?.baggage;(!s||!phe(s))&&e.setRequestHeader("baggage",n)}}catch{}}function yhe(){$t.document?$t.document.addEventListener("visibilitychange",()=>{const e=Mo();if(!e)return;const t=go(e);if($t.document.hidden&&t){const n="cancelled",{op:o,status:i}=Ht(t);Mi&&ze.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${o}`),i||t.setStatus({code:Bn,message:n}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):Mi&&ze.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const whe=3600,XA="sentry_previous_trace",She="sentry.previous_trace";function Ehe(e,{linkPreviousTrace:t,consistentTraceSampling:n}){const o=t==="session-storage";let i=o?Phe():void 0;e.on("spanStart",r=>{if(go(r)!==r)return;const a=tn().getPropagationContext();i=The(i,r,a),o&&Rhe(i)});let s=!0;n&&e.on("beforeSampling",r=>{if(!i)return;const a=tn(),l=a.getPropagationContext();if(s&&l.parentSpanId){s=!1;return}a.setPropagationContext({...l,dsc:{...l.dsc,sample_rate:String(i.sampleRate),sampled:String(q5(i.spanContext))},sampleRand:i.sampleRand}),r.parentSampled=q5(i.spanContext),r.parentSampleRate=i.sampleRate,r.spanAttributes={...r.spanAttributes,[_k]:i.sampleRate}})}function The(e,t,n){const o=Ht(t);function i(){try{return Number(n.dsc?.sample_rate)??Number(o.data?.[Mb])}catch{return 0}}const s={spanContext:t.spanContext(),startTimestamp:o.start_timestamp,sampleRate:i(),sampleRand:n.sampleRand};if(!e)return s;const r=e.spanContext;return r.traceId===o.trace_id?e:(Date.now()/1e3-e.startTimestamp<=whe&&(Mi&&ze.log(`Adding previous_trace \`${JSON.stringify(r)}\` link to span \`${JSON.stringify({op:o.op,...t.spanContext()})}\``),t.addLink({context:r,attributes:{[Dre]:"previous_trace"}}),t.setAttribute(She,`${r.traceId}-${r.spanId}-${q5(r)?1:0}`)),s)}function Rhe(e){try{$t.sessionStorage.setItem(XA,JSON.stringify(e))}catch(t){Mi&&ze.warn("Could not store previous trace in sessionStorage",t)}}function Phe(){try{const e=$t.sessionStorage?.getItem(XA);return JSON.parse(e)}catch{return}}function q5(e){return e.traceFlags===1}const Mhe="BrowserTracing",Lhe={...k1,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroun
116dSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,enableElementTiming:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...YA},g7=((e={})=>{const t={name:void 0,source:void 0},n=$t.document,{enableInp:o,enableElementTiming:i,enableLongTask:s,enableLongAnimationFrame:r,_experiments:{enableInteractions:a,enableStandaloneClsSpans:l,enableStandaloneLcpSpans:c},beforeStartSpan:u,idleTimeout:d,finalTimeout:h,childSpanTimeout:p,markBackgroundSpan:f,traceFetch:g,traceXHR:m,trackFetchStreamPerformance:v,shouldCreateSpanForRequest:y,enableHTTPTimings:b,ignoreResourceSpans:w,ignorePerformanceApiSpans:S,instrumentPageLoad:E,instrumentNavigation:T,detectRedirects:R,linkPreviousTrace:A,consistentTraceSampling:k,enableReportPageLoaded:D,onRequestSpanStart:V,onRequestSpanEnd:O}={...Lhe,...e};let F,_,P;function L(x,I,B=!0){const z=I.op==="pageload",H=I.name,j=u?u(I):I,Q=j.attributes||{};if(H!==j.name&&(Q[Xo]="custom",j.attributes=Q),!B){const te=vc();Fa({...j,startTime:te}).end(te);return}t.name=j.name,t.source=Q[Xo];const ce=tA(j,{idleTimeout:d,finalTimeout:h,childSpanTimeout:p,disableAutoFinish:z,beforeSpanEnd:te=>{F?.(),Fue(te,{recordClsOnPageloadSpan:!l,recordLcpOnPageloadSpan:!c,ignoreResourceSpans:w,ignorePerformanceApiSpans:S}),v7(x,void 0);const ne=tn(),le=ne.getPropagationContext();ne.setPropagationContext({...le,traceId:ce.spanContext().traceId,sampled:Xa(ce),dsc:_a(te)}),z&&(P=void 0)},trimIdleSpanEndTimestamp:!D});z&&D&&(P=ce),v7(x,ce);function pe(){n&&["interactive","complete"].includes(n.readyState)&&x.emit("idleSpanEnableAutoFinish",ce)}z&&!D&&n&&(n.addEventListener("readystatechange",()=>{pe()}),pe())}return{name:Mhe,setup(x){if(sae(),F=Lue({recordClsStandaloneSpans:l||!1,recordLcpStandaloneSpans:c||!1,client:x}),o&&cde(),i&&Zue(),r&&Vt.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?Due():s&&xue(),a&&kue(),R&&n){const B=()=>{_=_n()};addEventListener("click",B,{capture:!0}),addEventListener("keydown",B,{capture:!0,passive:!0})}function I(){const B=tp(x);B&&!Ht(B).timestamp&&(Mi&&ze.log(`[Tracing] Finishing current active span with op: ${Ht(B).op}`),B.setAttribute(Xh,"cancelled"),B.end())}x.on("startNavigationSpan",(B,z)=>{if(nn()!==x)return;if(z?.isRedirect){Mi&&ze.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),L(x,{op:"navigation.redirect",...B},!1);return}_=void 0,I(),Cc().setPropagationContext({traceId:xr(),sampleRand:Math.random(),propagationSpanId:vi()?void 0:br()});const H=tn();H.setPropagationContext({traceId:xr(),sampleRand:Math.random(),propagationSpanId:vi()?void 0:br()}),H.setSDKProcessingMetadata({normalizedRequest:void 0}),L(x,{op:"navigation",...B,parentSpan:null,forceTransaction:!0})}),x.on("startPageLoadSpan",(B,z={})=>{if(nn()!==x)return;I();const H=z.sentryTrace||m7("sentry-trace"),j=z.baggage||m7("baggage"),Q=Yre(H,j),ce=tn();ce.setPropagationContext(Q),vi()||(ce.getPropagationContext().propagationSpanId=br()),ce.setSDKProcessingMetadata({normalizedRequest:Hb()}),L(x,{op:"pageload",...B})}),x.on("endPageloadSpan",()=>{D&&P&&(P.setAttribute(Xh,"reportPageLoaded"),P.end())})},afterAllSetup(x){let I=Wp();if(A!=="off"&&Ehe(x,{linkPreviousTrace:A,consistentTraceSampling:k}),$t.location){if(E){const B=ni();xhe(x,{name:$t.location.pathname,startTime:B?B/1e3:void 0,attributes:{[Xo]:"url",[yn]:"auto.pageload.browser"}})}T&&Zb(({to:B,from:z})=>{if(z===void 0&&I?.indexOf(B)!==-1){I=void 0;return}I=void 0;const H=vA(B),j=tp(x),Q=j&&R&&khe(j,_);JA(x,{name:H?.pathname||$t.location.pathname,attributes:{[Xo]:"url",[yn]:"auto.navigation.browser"}},{url:B,isRedirect:Q})})}f&&yhe(),a&&Dhe(x,d,h,p,t),o&&hde(),ghe(x,{traceFetch:g,traceXHR:m,trackFetchStreamPerformance:v,tracePropagationTargets:x.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:y,enableHTTPTimings:b,onRequestSpanStart:V,onRequestSpanEnd:O})}}});function xhe(e,t,n){e.emit("startPageLoadSpan",t,n),tn().setTransactionName(t.name);const o=tp(e);return o&&e.emit("afterStartPageLoadSpan",o),o}function JA(e,t,n){const{url:o,isRedirect:i}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:i}),e.emit("startNavigationSpan",t,{isRedirect:i});const s=tn();return s.setTransactionName(t.name),o&&!i&&s.setSDKProcessingMetadata({normalizedRequest:{...Hb(),url:o}}),tp(e)}function m7(e){return $t.document?.querySelector(`meta[name=${e}]`)?.getAttribute("content")||void 0}function Dhe(e,t,n,o,i){const s=$t.document;let r;const a=()=>{const l="ui.action.click",c=tp(e);if(c){const u=Ht(c).op;
116if(["navigation","pageload"].includes(u)){Mi&&ze.warn(`[Tracing] Did not create ${l} span because a pageload or navigation span is in progress.`);return}}if(r&&(r.setAttribute(Xh,"interactionInterrupted"),r.end(),r=void 0),!i.name){Mi&&ze.warn(`[Tracing] Did not create ${l} transaction because _latestRouteName is missing.`);return}r=tA({name:i.name,op:l,attributes:{[Xo]:i.source||"url"}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:o})};s&&addEventListener("click",a,{capture:!0})}const QA="_sentry_idleSpan";function tp(e){return e[QA]}function v7(e,t){Vo(e,QA,t)}const C7=1.5;function khe(e,t){const n=Ht(e),o=vc(),i=n.start_timestamp;return!(o-i>C7||t&&o-t<=C7)}const e_=["activate","mount"],t_=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Ahe=/(?:^|[-_])(\w)/g,_he=e=>e.replace(Ahe,t=>t.toUpperCase()).replace(/[-_]/g,""),Ihe="<Root>",Bv="<Anonymous>",Fhe=(e,t)=>e.repeat(t),fh=(e,t)=>{if(!e)return Bv;if(e.$root===e)return Ihe;if(!e.$options)return Bv;const n=e.$options;let o=n.name||n._componentTag||n.__name;const i=n.__file;if(!o&&i){const s=i.match(/([^/\\]+)\.vue$/);s&&(o=s[1])}return(o?`<${_he(o)}>`:Bv)+(i&&t!==!1?` at ${i}`:"")},Ohe=e=>{if(e&&(e._isVue||e.__isVue)&&e.$parent){const t=[];let n=0;for(;e;){if(t.length>0){const i=t[t.length-1];if(i.constructor===e.constructor){n++,e=e.$parent;continue}else n>0&&(t[t.length-1]=[i,n],n=0)}t.push(e),e=e.$parent}return`
117
118found in
119
120${t.map((i,s)=>`${(s===0?"---> ":Fhe(" ",5+s*2))+(Array.isArray(i)?`${fh(i[0])}... (${i[1]} recursive calls)`:fh(i))}`).join(`
121`)}`}return`
122
123(found in ${fh(e)})`},Nhe=(e,t)=>{const{errorHandler:n}=e.config;e.config.errorHandler=(o,i,s)=>{const r=fh(i,!1),a=i?Ohe(i):"",l={componentName:r,lifecycleHook:s,trace:a};if(t?.attachProps!==!1&&i&&(i.$options?.propsData?l.propsData=i.$options.propsData:i.$props&&(l.propsData=i.$props)),setTimeout(()=>{Ob(o,{captureContext:{contexts:{vue:l}},mechanism:{handled:!!n,type:"auto.function.vue.error_handler"}})}),typeof n=="function"&&e.config.errorHandler)n.call(e,o,i,s);else throw o}},b7="ui.vue",Bhe={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function Hv(e,t,n){e.$_sentryRootComponentSpanTimer&&clearTimeout(e.$_sentryRootComponentSpanTimer),e.$_sentryRootComponentSpanTimer=setTimeout(()=>{e.$root?.$_sentryRootComponentSpan&&(e.$root.$_sentryRootComponentSpan.end(t),e.$root.$_sentryRootComponentSpan=void 0)},n)}function Hhe(e,t){function n(i){return i.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,"$1")}return e.some(i=>n(t)===n(i))}const Vhe=(e={})=>{const t=(e.hooks||[]).concat(e_).filter((i,s,r)=>r.indexOf(i)===s),n={},o=e.timeout||2e3;for(const i of t){const s=Bhe[i];if(!s){t_&&ze.warn(`Unknown hook: ${i}`);continue}for(const r of s)n[r]=function(){const a=this.$root===this;a&&(this.$_sentryRootComponentSpan=this.$_sentryRootComponentSpan||Fa({name:"Application Render",op:`${b7}.render`,attributes:{[yn]:"auto.ui.vue"},onlyIfParent:!0}),Hv(this,_n(),o));const l=fh(this,!1);if(!(a||(Array.isArray(e.trackComponents)?Hhe(e.trackComponents,l):e.trackComponents))){Hv(this,_n(),o);return}this.$_sentryComponentSpans=this.$_sentryComponentSpans||{};const u=r===s[0],d=this.$root?.$_sentryRootComponentSpan||Mo();if(u){if(d){const h=this.$_sentryComponentSpans[i];h&&h.end(),this.$_sentryComponentSpans[i]=Fa({name:`Vue ${l}`,op:`${b7}.${i}`,attributes:{[yn]:"auto.ui.vue"},onlyIfParent:!0})}}else{const h=this.$_sentryComponentSpans[i];if(!h)return;h.end(),Hv(this,_n(),o)}}}return n},$he=Vt,Whe={Vue:$he.Vue,attachProps:!0,attachErrorHandler:!0,tracingOptions:{hooks:e_,timeout:2e3,trackComponents:!1}},Ghe="Vue",zhe=(e={})=>({name:Ghe,setup(t){const n={...Whe,...t.getOptions(),...e};if(!n.Vue&&!n.app){Ka(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured. Update your `Sentry.init` call with an appropriate config option: `app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).")});return}
123n.app?(Array.isArray(n.app)?n.app:[n.app]).forEach(i=>y7(i,n)):n.Vue&&y7(n.Vue,n)}}),y7=(e,t)=>{t_&&e._instance?.isMounted===!0&&Ka(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")}),t.attachErrorHandler&&Nhe(e,t),vi(t)&&e.mixin(Vhe(t.tracingOptions))};function Uhe(e={}){const t={defaultIntegrations:[...ZA(),zhe()],...e};return CA(t,"vue"),hhe(t)}function jhe(e,t,n){let o=!1;e.onError(i=>Ob(i,{mechanism:{handled:!1}})),e.beforeEach((i,s,r)=>{const a=o?void 0:Zhe(),l={};for(const d of Object.keys(i.params))l[`url.path.parameter.${d}`]=i.params[d],l[`params.${d}`]=i.params[d];for(const d of Object.keys(i.query)){const h=i.query[d];h&&(l[`query.${d}`]=h)}let c=i.path,u="url";if(i.name&&t.routeLabel!=="path")c=i.name.toString(),u="custom";else if(i.matched.length>0){const d=i.matched.length-1;c=i.matched[d].path,u="route"}tn().setTransactionName(c),t.instrumentPageLoad&&a&&(Ht(a).data[Xo]!=="custom"&&(a.updateName(c),a.setAttribute(Xo,u)),a.setAttributes({...l,[yn]:"auto.pageload.vue"}),o=!0),t.instrumentNavigation&&!a&&n({name:c,op:"navigation",attributes:{...l,[yn]:"auto.navigation.vue",[Xo]:u}}),r&&r()})}function Zhe(){const e=Mo(),t=e&&go(e);return t&&Ht(t).op==="pageload"?t:void 0}function Khe(e={}){if(!e.router)return g7(e);const t=g7({...e,instrumentNavigation:!1}),{router:n,instrumentNavigation:o=!0,instrumentPageLoad:i=!0,routeLabel:s="name"}=e;return{...t,afterAllSetup(r){t.afterAllSetup(r),jhe(n,{routeLabel:s,instrumentNavigation:o,instrumentPageLoad:i},l=>{JA(r,l)})}}}const qhe={attachPiniaState:!0,addBreadcrumbs:!0,actionTransformer:e=>e,stateTransformer:e=>e},w7=(e,t)=>{const n={};try{return Object.keys(e.state.value).forEach(o=>{n[o]=e.state.value[o]}),t?t(n):n}catch{return n}},Yhe=e=>{const t={...qhe,...e};return({store:o,pinia:i})=>{t.attachPiniaState!==!1&&Ak().addEventProcessor((s,r)=>{try{const l=`pinia_state_all_stores_${new Date().toTimeString().split(" ")[0]}.json`;r.attachments?.some(u=>u.filename.startsWith("pinia_state_all_stores_"))||(r.attachments=[...r.attachments||[],{filename:l,data:JSON.stringify(w7(i,t.stateTransformer))}])}catch{}return s}),o.$onAction(s=>{s.after(()=>{const r=t.actionTransformer(s.name);typeof r<"u"&&r!==null&&t.addBreadcrumbs!==!1&&Oa({category:"pinia.action",message:`Store: ${o.$id} | Action: ${r}`,level:"info"});const a=w7(i,t.stateTransformer),l=tn(),c=l.getScopeData().contexts.state;if(typeof a<"u"&&a!==null){const h=nn()?.getOptions()?.normalizeDepth||3,f={...c||{},state:{type:"pinia",value:a}};Vo(f,"__sentry_override_normalization_depth__",3+h),l.setContext("state",f)}else l.setContext("state",{...c||{},state:{type:"pinia",value:"undefined"}})})})}},Xhe=(e,t)=>{Uhe({app:e,environment:"production",dsn:"https://[email protected]/6379771",integrations:[Khe({router:t})]})};/*!
124  * shared v11.1.10
125  * (c) 2025 kazuya kawaguchi
126  * Released under the MIT License.
127  */function Jhe(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const vm=typeof window<"u",Ja=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Qhe=(e,t,n)=>epe({l:e,k:t,s:n}),epe=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Fn=e=>typeof e=="number"&&isFinite(e),tpe=e=>Kb(e)==="[object Date]",Vu=e=>Kb(e)==="[object RegExp]",P0=e=>Mt(e)&&Object.keys(e).length===0,Wn=Object.assign,npe=Object.create,sn=(e=null)=>npe(e);let S7;const bl=()=>S7||(S7=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof globalThis<"u"?globalThis:sn());function E7(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function T7(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ope(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(o,i,s)=>`${i}="${T7(s)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(o,i,s)=>`${i}='${T7(s)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEac
vendor: 8,492 bytes, lines 127-132
127h(o=>{e=e.replace(o,"$1javascript&#58;")}),e}const ipe=Object.prototype.hasOwnProperty;function Zi(e,t){return ipe.call(e,t)}const wn=Array.isArray,dn=e=>typeof e=="function",Ye=e=>typeof e=="string",Wt=e=>typeof e=="boolean",zt=e=>e!==null&&typeof e=="object",spe=e=>zt(e)&&dn(e.then)&&dn(e.catch),n_=Object.prototype.toString,Kb=e=>n_.call(e),Mt=e=>Kb(e)==="[object Object]",rpe=e=>e==null?"":wn(e)||Mt(e)&&e.toString===n_?JSON.stringify(e,null,2):String(e);function qb(e,t=""){return e.reduce((n,o,i)=>i===0?n+o:n+t+o,"")}const zf=e=>!zt(e)||wn(e);function N1(e,t){if(zf(e)||zf(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:o,des:i}=n.pop();Object.keys(o).forEach(s=>{s!=="__proto__"&&(zt(o[s])&&!zt(i[s])&&(i[s]=Array.isArray(o[s])?[]:sn()),zf(i[s])||zf(o[s])?i[s]=o[s]:n.push({src:o[s],des:i[s]}))})}}/*!
128  * message-compiler v11.1.10
129  * (c) 2025 kazuya kawaguchi
130  * Released under the MIT License.
131  */function ape(e,t,n){return{line:e,column:t,offset:n}}function Y5(e,t,n){return{start:e,end:t}}const Xt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},lpe=17;function M0(e,t,n={}){const{domain:o,messages:i,args:s}=n,r=e,a=new SyntaxError(String(r));return a.code=e,t&&(a.location=t),a.domain=o,a}function cpe(e){throw e}const Xs=" ",upe="\r",So=`
132`,dpe="\u2028",hpe="\u2029";function ppe(e){const t=e;let n=0,o=1,i=1,s=0;const r=T=>t[T]===upe&&t[T+1]===So,a=T=>t[T]===So,l=T=>t[T]===hpe,c=T=>t[T]===dpe,u=T=>r(T)||a(T)||l(T)||c(T),d=()=>n,h=()=>o,p=()=>i,f=()=>s,g=T=>r(T)||l(T)||c(T)?So:t[T],m=()=>g(n),v=()=>g(n+s);function y(){return s=0,u(n)&&(o++,i=0),r(n)&&n++,n++,i++,t[n]}function b(){return r(n+s)&&s++,s++,t[n+s]}function w(){n=0,o=1,i=1,s=0}function S(T=0){s=T}function E(){const T=n+s;for(;T!==n;)y();s=0}return{index:d,line:h,column:p,peekOffset:f,charAt:g,currentChar:m,currentPeek:v,next:y,peek:b,reset:w,resetPeek:S,skipToPeek:E}}const Jr=void 0,fpe=".",R7="'",gpe="tokenizer";function mpe(e,t={}){const n=t.location!==!1,o=ppe(e),i=()=>o.index(),s=()=>ape(o.line(),o.column(),o.index()),r=s(),a=i(),l={currentType:13,offset:a,startLoc:r,endLoc:r,lastType:13,lastOffset:a,lastStartLoc:r,lastEndLoc:r,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d($,G,q,...fe){const ye=c();if(G.column+=q,G.offset+=q,u){const Pe=n?Y5(ye.startLoc,G):null,X=M0($,Pe,{domain:gpe,args:fe});u(X)}}function h($,G,q){$.endLoc=s(),$.currentType=G;const fe={type:G};return n&&(fe.loc=Y5($.startLoc,$.endLoc)),q!=null&&(fe.value=q),fe}const p=$=>h($,13);function f($,G){return $.currentChar()===G?($.next(),G):(d(Xt.EXPECTED_TOKEN,s(),0,G),"")}function g($){let G="";for(;$.currentPeek()===Xs||$.currentPeek()===So;)G+=$.currentPeek(),$.peek();return G}function m($){const G=g($);return $.skipToPeek(),G}function v($){if($===Jr)return!1;const G=$.charCodeAt(0);return G>=97&&G<=122||G>=65&&G<=90||G===95}function y($){if($===Jr)return!1;const G=$.charCodeAt(0);return G>=48&&G<=57}function b($,G){const{currentType:q}=G;if(q!==2)return!1;g($);const fe=v($.currentPeek());return $.resetPeek(),fe}function w($,G){const{currentType:q}=G;if(q!==2)return!1;g($);const fe=$.currentPeek()==="-"?$.peek():$.currentPeek(),ye=y(fe);return $.resetPeek(),ye}function S($,G){const{currentType:q}=G;if(q!==2)return!1;g($);const fe=$.currentPeek()===R7;return $.resetPeek(),fe}function E($,G){const{currentType:q}=G;if(q!==7)return!1;g($);const fe=$.currentPeek()===".";return $.resetPeek(),fe}function T($,G){const{currentType:q}=G;if(q!==8)return!1;g($);const fe=v($.currentPeek());return $.resetPeek(),fe}function R($,G){const{currentType:q}=G;if(!(q===7||q===11))return!1;g($);const fe=$.currentPeek()===":";return $.resetPeek(),fe}function A($,G){const{currentType:q}=G;if(q!==9)return!1;const fe=()=>{const Pe=$.currentPeek();return Pe==="{"?v($.peek()):Pe==="@"||Pe==="|"||Pe===":"||Pe==="."||Pe===Xs||!Pe?!1:Pe===So?($.peek(),fe()):D($,!1)},ye=fe();return $.resetPeek(),ye}function k($){g($);const G=$.currentPeek()==="|";return $.resetPeek(),G}function D($,G=!0){const q=(ye=!1,Pe="")=>{const X=$.currentPeek();return X==="{"||X==="@"||!X?ye:X==="|"?!(Pe===Xs||Pe===So):X===Xs?($.peek(),q(!0,Xs)):X===So?($.peek(),q(!0,So)):!0},fe=q();return G&&$.resetPeek(),fe}function V($,G){const q=$.currentChar();return q===Jr?Jr:G(q)?($.next(),q):null}function O($){const G=$.charCodeAt(0);return G>=97&&G<=122||G>=65&&G<=90||G>=48&&G<=57||G===95||G===36}function F($){return V($,O)}function _($){const G=$.charCodeAt(0);return G>=97&&G<=122||G>=65&&G<=90||G>=48&&G<=57||G===95||G===36||G===45}function P($){return V($,_)}function L($){const G=$.charCodeAt(0);return G>=48&&G<=57}function x($){return V($,L)}function I($){const G=$.charCodeAt(0);return G>=48&&G<=57||G>=65&&G<=70||G>=97&&G<=102}function B($){return V($,I)}function z($){let G="",q="";for(;G=x($);)q+=G;return q}function H($){let G="";for(;;){const q=$.currentChar();if(q==="{"||q==="}"||q==="@"||q==="|"||!q)break;if(q===Xs||q===So)if(D($))G+=q,$.next();else{if(k($))break;G+=q,$.next()}else G+=q,$.next()}return G}function j($){m($);let G="",q="";for(;G=P($);)q+=G;return $.currentChar()===Jr&&d(Xt.UNTERMINATED_CLOSING_BRACE,s(),0),q}function Q($){m($);let G="";return $.currentChar()==="-"?($.next(),G+=`-${z($)}`):G+=z($),$.currentChar()===Jr&&d(Xt.UNTERMINATED_CLOSING_BRACE,s(),0),G}function ce($){return $!==R7&&$!==So}function pe($){m($),f($,"'");let G="",q="";for(;G=V($,ce);)G==="\\"?q+=te($):q+=G;const fe=$.currentChar();return fe===So||fe===Jr?(d(Xt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),fe===So&&($.next(),f($,"'")),q):(f($,"'"),q)}function te($){const G=$.currentChar();switch(G){case"\\":case"'":return $.next(),`\\${G}`;case"u":return ne($,G,4);case"U":return ne($,G,6);default:return d(Xt.UNKNOWN_ESCAPE_SEQUENCE,s(),0,G),""}}function ne($,G,q){f($,G);let fe="";for(let ye=0;ye<q;ye++){const Pe=B($);if(!Pe){d(Xt.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${G}${fe}${$.currentChar()}`);break}fe+=Pe}return`\\${G}${fe}`}function le($){return $!=="{"&&$!=="}"&&$!==Xs&&$!==So}function ae($){m($);let G="",q="";for(;G=V($,le);)q+=G;return q}function Re($){let G="",q="";for(;G=F($);)q+=G;return q}function Oe($){const G=q=>{const fe=$.currentChar();return fe==="{"||fe==="@"||fe==="|"||fe==="("||fe===")"||!fe||fe===Xs?q:(q+=fe,$.next(),G(q))};return G("")}function W($){m($);const G=f($,"|");return m($),G}function Z($,G){let q=null;switch($.currentChar()){case"{":return G.braceNest>=1&&d(Xt.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),$.next(),q=h(G,2,"{"),m($),G.braceNest++,q;case"}":return G.braceNest>0&&G.currentType===2&&d(Xt.EMPTY_PLACEHOLDER,s(),0),$.next(),q=h(G,3,"}"),G.braceNest--,G.braceNest>0&&m($),G.inLinked&&G.braceNest===0&&(G.inLinked=!1),q;case"@":return G.braceNest>0&&d(Xt.UNTERMINATED_CLOSING_BRACE,s(),0),q=ie($,G)||p(G),G.braceNest=0,q;default:{let ye=!0,Pe=!0,X=!0;if(k($))return G.braceNest>0&&d(Xt.UNTERMINATED_CLOSING_BRACE,s(),0),q=h(G,1,W($)),G.braceNest=0,G.inLinked=!1,q;if(G.braceNest>0&&(G.currentType===4||G.currentType===5||G.currentType===6))return d(Xt.UNTERMINATED_CLOSING_BRACE,s(),0),G.braceNest=0,be($,G);if(ye=b($,G))return q=h(G,4,j($)),m($),q;if(Pe=w($,G))return q=h(G,5,Q($)),m($),q;if(X=S($,G))return q=h(G,6,pe($)),m($),q;if(!ye&&!Pe&&!X)return q=h(G,12,ae($)),d(Xt.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,q.value),m($),q;break}}return q}function ie($,G){const{currentType:q}=G;let fe=null;const ye=$.currentChar();switch((q===7||q===8||q===11||q===9)&&(ye===So||ye===Xs)&&d(Xt.INVALID_LINKED_FORMAT,s(),0),ye){case"@":return $.next(),fe=h(G,7,"@"),G.inLinked=!0,fe;case".":return m($),$.next(),h(G,8,".");case":":return m($),$.next(),h(G,9,":");default:return k($)?(fe=h(G,1,W($)),G.braceNest=0,G.inLinked=!1,fe):E($,G)||R($,G)?(m($),ie($,G)):T($,G)?(m($),h(G,11,Re($))):A($,G)?(m($),ye==="{"?Z($,G)||fe:h(G,10,Oe($))):(q===7&&d(Xt.INVALID_LINKED_FORMAT,s(),0),G.braceNest=0,G.inLinked=!1,be($,G))}}function be($,G){let q={type:13};if(G.braceNest>0)return Z($,G)||p(G);if(G.inLinked)return ie($,G)||p(G);switch($.currentChar()){case"{":return Z($,G)||p(G);case"}":return d(Xt.UNBALANCED_CLOSING_BRACE,s(),0),$.next(),h(G,3,"}");case"@":return ie($,G)||p(G);
132default:{if(k($))return q=h(G,1,W($)),G.braceNest=0,G.inLinked=!1,q;if(D($))return h(G,0,H($));break}}return q}function me(){const{currentType:$,offset:G,startLoc:q,endLoc:fe}=l;return l.lastType=$,l.lastOffset=G,l.lastStartLoc=q,l.lastEndLoc=fe,l.offset=i(),l.startLoc=s(),o.currentChar()===Jr?h(l,13):be(o,l)}return{nextToken:me,currentOffset:i,currentPosition:s,context:c}}const vpe="parser",Cpe=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function bpe(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function ype(e={}){const t=e.location!==!1,{onError:n}=e;function o(v,y,b,w,...S){const E=v.currentPosition();if(E.offset+=w,E.column+=w,n){const T=t?Y5(b,E):null,R=M0(y,T,{domain:vpe,args:S});n(R)}}function i(v,y,b){const w={type:v};return t&&(w.start=y,w.end=y,w.loc={start:b,end:b}),w}function s(v,y,b,w){t&&(v.end=y,v.loc&&(v.loc.end=b))}function r(v,y){const b=v.context(),w=i(3,b.offset,b.startLoc);return w.value=y,s(w,v.currentOffset(),v.currentPosition()),w}function a(v,y){const b=v.context(),{lastOffset:w,lastStartLoc:S}=b,E=i(5,w,S);return E.index=parseInt(y,10),v.nextToken(),s(E,v.currentOffset(),v.currentPosition()),E}function l(v,y){const b=v.context(),{lastOffset:w,lastStartLoc:S}=b,E=i(4,w,S);return E.key=y,v.nextToken(),s(E,v.currentOffset(),v.currentPosition()),E}function c(v,y){const b=v.context(),{lastOffset:w,lastStartLoc:S}=b,E=i(9,w,S);return E.value=y.replace(Cpe,bpe),v.nextToken(),s(E,v.currentOffset(),v.currentPosition()),E}function u(v){const y=v.nextToken(),b=v.context(),{lastOffset:w,lastStartLoc:S}=b,E=i(8,w,S);return y.type!==11?(o(v,Xt.UNEXPECTED_EMPTY_LINKED_MODIFIER,b.lastStartLoc,0),E.value="",s(E,w,S),{nextConsumeToken:y,node:E}):(y.value==null&&o(v,Xt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ms(y)),E.value=y.value||"",s(E,v.currentOffset(),v.currentPosition()),{node:E})}function d(v,y){const b=v.context(),w=i(7,b.offset,b.startLoc);return w.value=y,s(w,v.currentOffset(),v.currentPosition()),w}function h(v){const y=v.context(),b=i(6,y.offset,y.startLoc);let w=v.nextToken();if(w.type===8){const S=u(v);b.modifier=S.node,w=S.nextConsumeToken||v.nextToken()}switch(w.type!==9&&o(v,Xt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ms(w)),w=v.nextToken(),w.type===2&&(w=v.nextToken()),w.type){case 10:w.value==null&&o(v,Xt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ms(w)),b.key=d(v,w.value||"");break;case 4:w.value==null&&o(v,Xt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ms(w)),b.key=l(v,w.value||"");break;case 5:w.value==null&&o(v,Xt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ms(w)),b.key=a(v,w.value||"");break;case 6:w.value==null&&o(v,Xt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ms(w)),b.key=c(v,w.value||"");break;default:{o(v,Xt.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const S=v.context(),E=i(7,S.offset,S.startLoc);return E.value="",s(E,S.offset,S.startLoc),b.key=E,s(b,S.offset,S.startLoc),{nextConsumeToken:w,node:b}}}return s(b,v.currentOffset(),v.currentPosition()),{node:b}}function p(v){const y=v.context(),b=y.currentType===1?v.currentOffset():y.offset,w=y.currentType===1?y.endLoc:y.startLoc,S=i(2,b,w);S.items=[];let E=null;do{const A=E||v.nextToken();switch(E=null,A.type){case 0:A.value==null&&o(v,Xt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ms(A)),S.items.push(r
132(v,A.value||""));break;case 5:A.value==null&&o(v,Xt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ms(A)),S.items.push(a(v,A.value||""));break;case 4:A.value==null&&o(v,Xt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ms(A)),S.items.push(l(v,A.value||""));break;case 6:A.value==null&&o(v,Xt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ms(A)),S.items.push(c(v,A.value||""));break;case 7:{const k=h(v);S.items.push(k.node),E=k.nextConsumeToken||null;break}}}while(y.currentType!==13&&y.currentType!==1);const T=y.currentType===1?y.lastOffset:v.currentOffset(),R=y.currentType===1?y.lastEndLoc:v.currentPosition();return s(S,T,R),S}function f(v,y,b,w){const S=v.context();let E=w.items.length===0;const T=i(1,y,b);T.cases=[],T.cases.push(w);do{const R=p(v);E||(E=R.items.length===0),T.cases.push(R)}while(S.currentType!==13);return E&&o(v,Xt.MUST_HAVE_MESSAGES_IN_PLURAL,b,0),s(T,v.currentOffset(),v.currentPosition()),T}function g(v){const y=v.context(),{offset:b,startLoc:w}=y,S=p(v);return y.currentType===13?S:f(v,b,w,S)}function m(v){const y=mpe(v,Wn({},e)),b=y.context(),w=i(0,b.offset,b.startLoc);return t&&w.loc&&(w.loc.source=v),w.body=g(y),e.onCacheKey&&(w.cacheKey=e.onCacheKey(v)),b.currentType!==13&&o(y,Xt.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,v[b.offset]||""),s(w,y.currentOffset(),y.currentPosition()),w}return{parse:m}}function ms(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function wpe(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function P7(e,t){for(let n=0;n<e.length;n++)Yb(e[n],t)}function Yb(e,t){switch(e.type){case 1:P7(e.cases,t),t.helper("plural");break;case 2:P7(e.items,t);break;case 6:{Yb(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Spe(e,t={}){const n=wpe(e);n.helper("normalize"),e.body&&Yb(e.body,n);const o=n.context();e.helpers=Array.from(o.helpers)}function Epe(e){const t=e.body;return t.type===2?M7(t):t.cases.forEach(n=>M7(n)),e}function M7(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const o=e.items[n];if(!(o.type===3||o.type===9)||o.value==null)break;t.push(o.value)}if(t.length===e.items.length){e.static=qb(t);for(let n=0;n<e.items.length;n++){const o=e.items[n];(o.type===3||o.type===9)&&delete o.value}}}}function $c(e){switch(e.t=e.type,e.type){case 0:{const t=e;$c(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let o=0;o<n.length;o++)$c(n[o]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let o=0;o<n.length;o++)$c(n[o]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;$c(t.key),t.k=t.key,delete t.key,t.modifier&&($c(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function Tpe(e,t){const{filename:n,breakLineCode:o,needIndent:i}=t,s=t.location!==!1,r={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:i,indentLevel:0};s&&e.loc&&(r.source=e.loc.source);const a=()=>r;function l(g,m){r.code+=g}function c(g,m=!0){const v=m?o:"";l(i?v+"  ".repeat(g):v)}function u(g=!0){const m=++r.indentLevel;g&&c(m)}function d(g=!0){const m=--r.indentLevel;g&&c(m)}function h(){c(r.indentLevel)}return{context:a,push:l,indent:u,deindent:d,newline:h,helper:g=>`_${g}`,needIndent:()=>r.needIndent}}function Rpe(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),$u(e,t.key),t.modifier?(e.push(", "),$u(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Ppe(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const i=t.items.length;for(let s=0;s<i&&($u(e,t.items[s]),s!==i-1);s++)e.push(", ");e.deindent(o()),e.push("])")}function Mpe(e,t){const{helper:n,needIndent:o}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(o());const i=t.cases.length;for(let s=0;s<i&&($u(e,t.cases[s]),s!==i-1);s++)e.push(", ");e.deindent(o()),e.push("])")}}function Lpe(e,t){t.body?$u(e,t.body):e.push("null")}function $u(e,t){const{helper:n}=e;switch(t.type){case 0:Lpe(e,t);break;case 1:Mpe(e,t);break;case 2:Ppe(e,t);break;case 6:Rpe(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const xpe=(e,t={})=>{const n=Ye(t.mode)?t.mode:"normal",o=Ye(t.filename)?t.filename:"message.intl";t.sourceMap;const i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
133`,s=t.needIndent?t.needIndent:n!=="arrow",r=e.helpers||[],a=Tpe(e,{filename:o,breakLineCode:i,needIndent:s});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),r.length>0&&(a.push(`const { ${qb(r.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),$u(a,e),a.deindent(s),a.push("}"),delete e.helpers;const{code:l,map:c}=a.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function Dpe(e,t={}){const n=Wn({},t),o=!!n.jit,i=!!n.minify,s=n.optimize==null?!0:n.optimize,a=ype(n).parse(e);return o?(s&&Epe(a),i&&$c(a),{ast:a,code:""}):(Spe(a,n),xpe(a,n))}/*!
134  * core-base v11.1.10
135  * (c) 2025 kazuya kawaguchi
136  * Released under the MIT License.
137  */function kpe(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(bl().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(bl().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}
137function ks(e){return zt(e)&&Xb(e)===0&&(Zi(e,"b")||Zi(e,"body"))}const o_=["b","body"];function Ape(e){return Qa(e,o_)}const i_=["c","cases"];function _pe(e){return Qa(e,i_,[])}const s_=["s","static"];function Ipe(e){return Qa(e,s_)}const r_=["i","items"];function Fpe(e){return Qa(e,r_,[])}const a_=["t","type"];function Xb(e){return Qa(e,a_)}const l_=["v","value"];function Uf(e,t){const n=Qa(e,l_);if(n!=null)return n;throw np(t)}const c_=["m","modifier"];function Ope(e){return Qa(e,c_)}const u_=["k","key"];function Npe(e){const t=Qa(e,u_);if(t)return t;throw np(6)}function Qa(e,t,n){for(let o=0;o<t.length;o++){const i=t[o];if(Zi(e,i)&&e[i]!=null)return e[i]}return n}const d_=[...o_,...i_,...s_,...r_,...u_,...c_,...l_,...a_];function np(e){return new Error(`unhandled node type: ${e}`)}function Vv(e){return n=>Bpe(n,e)}function Bpe(e,t){const n=Ape(t);if(n==null)throw np(0);if(Xb(n)===1){const s=_pe(n);return e.plural(s.reduce((r,a)=>[...r,L7(e,a)],[]))}else return L7(e,n)}function L7(e,t){const n=Ipe(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const o=Fpe(t).reduce((i,s)=>[...i,X5(e,s)],[]);return e.normalize(o)}}function X5(e,t){const n=Xb(t);switch(n){case 3:return Uf(t,n);case 9:return Uf(t,n);case 4:{const o=t;if(Zi(o,"k")&&o.k)return e.interpolate(e.named(o.k));if(Zi(o,"key")&&o.key)return e.interpolate(e.named(o.key));throw np(n)}case 5:{const o=t;if(Zi(o,"i")&&Fn(o.i))return e.interpolate(e.list(o.i));if(Zi(o,"index")&&Fn(o.index))return e.interpolate(e.list(o.index));throw np(n)}case 6:{const o=t,i=Ope(o),s=Npe(o);return e.linked(X5(e,s),i?X5(e,i):void 0,e.type)}case 7:return Uf(t,n);case 8:return Uf(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Hpe=e=>e;let jf=sn();function Vpe(e,t={}){let n=!1;const o=t.onError||cpe;return t.onError=i=>{n=!0,o(i)},{...Dpe(e,t),detectError:n}}function $pe(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&Ye(e)){Wt(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||Hpe)(e),i=jf[o];if(i)return i;const{ast:s,detectError:r}=Vpe(e,{...t,location:!1,jit:!0}),a=Vv(s);return r?a:jf[o]=a}else{const n=e.cacheKey;if(n){const o=jf[n];return o||(jf[n]=Vv(e))}else return Vv(e)}}let op=null;function Wpe(e){op=e}function Gpe(e,t,n){op&&op.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const zpe=Upe("function:translate");function Upe(e){return t=>op&&op.emit(e,t)}const dr={INVALID_ARGUMENT:lpe,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},jpe=24;function hr(e){return M0(e,null,void 0)}function Jb(e,t){return t.locale!=null?x7(t.locale):x7(e.locale)}let $v;function x7(e){if(Ye(e))return e;if(dn(e)){if(e.resolvedOnce&&$v!=null)return $v;if(e.constructor.name==="Function"){const t=e();if(spe(t))throw hr(dr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return $v=t}else throw hr(dr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw hr(dr.NOT_SUPPORT_LOCALE_TYPE)}function Zpe(e,t,n){return[...new Set([n,...wn(t)?t:zt(t)?Object.keys(t):Ye(t)?[t]:[n]])]}function h_(e,t,n){const o=Ye(n)?n:ip,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let s=i.__localeChainCache.get(o);if(!s){s=[];let r=[n];for(;wn(r);)r=D7(s,r,t);const a=wn(t)||!Mt(t)?t:t.default?t.default:null;r=Ye(a)?[a]:a,wn(r)&&D7(s,r,!1),i.__localeChainCache.set(o,s)}return s}function D7(e,t,n){let o=!0;for(let i=0;i<t.length&&Wt(o);i++){const s=t[i];Ye(s)&&(o=Kpe(e,t[i],n))}return o}function Kpe(e,t,n){let o;const i=t.split("-");do{const s=i.join("-");o=qpe(e,s,n),i.splice(-1,1)}while(i.length&&o===!0);return o}function qpe(e,t,n){let o=!1;if(!e.includes(t)&&(o=!0,t)){o=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(wn(n)||Mt(n))&&n[i]&&(o=n[i])}return o}const el=[];el[0]={w:[0],i:[3,0],"[":[4],o:[7]};el[1]={w:[1],".":[2],"[":[4],o:[7]};el[2]={w:[2],i:[3,0],0:[3,0]};el[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};el[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};el[5]={"'":[4,0],o:8,l:[5,0]};el[6]={'"':[4,0],o:8,l:[6,0]};const Ype=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Xpe(e){return Ype.test(e)}function Jpe(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Qpe(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function efe(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Xpe(t)?Jpe(t):"*"+t}function tfe(e){const t=[];let n=-1,o=0,i=0,s,r,a,l,c,u,d;const h=[];h[0]=()=>{r===void 0?r=a:r+=a},h[1]=()=>{r!==void 0&&(t.push(r),r=void 0)},h[2]=()=>{h[0](),i++},h[3]=()=>
137{if(i>0)i--,o=4,h[0]();else{if(i=0,r===void 0||(r=efe(r),r===!1))return!1;h[1]()}};function p(){const f=e[n+1];if(o===5&&f==="'"||o===6&&f==='"')return n++,a="\\"+f,h[0](),!0}for(;o!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=Qpe(s),d=el[o],c=d[l]||d.l||8,c===8||(o=c[0],c[1]!==void 0&&(u=h[c[1]],u&&(a=s,u()===!1))))return;if(o===7)return t}}const k7=new Map;function nfe(e,t){return zt(e)?e[t]:null}function ofe(e,t){if(!zt(e))return null;let n=k7.get(t);if(n||(n=tfe(t),n&&k7.set(t,n)),!n)return null;const o=n.length;let i=e,s=0;for(;s<o;){const r=n[s];if(d_.includes(r)&&ks(i))return null;const a=i[r];if(a===void 0||dn(i))return null;i=a,s++}return i}const ife="11.1.10",L0=-1,ip="en-US",A7="",_7=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function sfe(){return{upper:(e,t)=>t==="text"&&Ye(e)?e.toUpperCase():t==="vnode"&&zt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Ye(e)?e.toLowerCase():t==="vnode"&&zt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Ye(e)?_7(e):t==="vnode"&&zt(e)&&"__v_isVNode"in e?_7(e.children):e}}let p_;function rfe(e){p_=e}let f_;function afe(e){f_=e}let g_;function lfe(e){g_=e}let m_=null;const cfe=e=>{m_=e},ufe=()=>m_;let v_=null;const I7=e=>{v_=e},dfe=()=>v_;let F7=0;function hfe(e={}){const t=dn(e.onWarn)?e.onWarn:Jhe,n=Ye(e.version)?e.version:ife,o=Ye(e.locale)||dn(e.locale)?e.locale:ip,i=dn(o)?ip:o,s=wn(e.fallbackLocale)||Mt(e.fallbackLocale)||Ye(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,r=Mt(e.messages)?e.messages:Wv(i),a=Mt(e.datetimeFormats)?e.datetimeFormats:Wv(i),l=Mt(e.numberFormats)?e.numberFormats:Wv(i),c=Wn(sn(),e.modifiers,sfe()),u=e.pluralRules||sn(),d=dn(e.missing)?e.missing:null,h=Wt(e.missingWarn)||Vu(e.missingWarn)?e.missingWarn:!0,p=Wt(e.fallbackWarn)||Vu(e.fallbackWarn)?e.fallbackWarn:!0,f=!!e.fallbackFormat,g=!!e.unresolving,m=dn(e.postTranslation)?e.postTranslation:null,v=Mt(e.processor)?e.processor:null,y=Wt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter,w=dn(e.messageCompiler)?e.messageCompiler:p_,S=dn(e.messageResolver)?e.messageResolver:f_||nfe,E=dn(e.localeFallbacker)?e.localeFallbacker:g_||Zpe,T=zt(e.fallbackContext)?e.fallbackContext:void 0,R=e,A=zt(R.__datetimeFormatters)?R.__datetimeFormatters:new Map,k=zt(R.__numberFormatters)?R.__numberFormatters:new Map,D=zt(R.__meta)?R.__meta:{};F7++;const V={version:n,cid:F7,locale:o,fallbackLocale:s,messages:r,modifiers:c,pluralRules:u,missing:d,missingWarn:h,fallbackWarn:p,fallbackFormat:f,unresolving:g,postTranslation:m,processor:v,warnHtmlMessage:y,escapeParameter:b,messageCompiler:w,messageResolver:S,localeFallbacker:E,fallbackContext:T,onWarn:t,__meta:D};return V.datetimeFormats=a,V.numberFormats=l,V.__datetimeFormatters=A,V.__numberFormatters=k,__INTLIFY_PROD_DEVTOOLS__&&Gpe(V,n,D),V}const Wv=e=>({[e]:sn()});function Qb(e,t,n,o,i){const{missing:s,onWarn:r}=e;if(s!==null){const a=s(e,n,t,i);return Ye(a)?a:t}else return t}function Fd(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function pfe(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function ffe(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let o=n+1;o<t.length;o++)if(pfe(e,t[o]))return!0;return!1}function O7(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:i,onWarn:s,localeFallbacker:r}=e,{__datetimeFormatters:a}=e,[l,c,u,d]=J5(...t),h=Wt(u.missingWarn)?u.missingWarn:e.missingWarn;Wt(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,f=Jb(e,u),g=r(e,i,f);if(!Ye(l)||l==="")return new Intl.DateTimeFormat(f,d).format(c);let m={},v,y=null;const b="datetime format";for(let E=0;E<g.length&&(v=g[E],m=n[v]||{},y=m[l],!Mt(y));E++)Qb(e,l,v,h,b);if(!Mt(y)||!Ye(v))return o?L0:l;let w=`${v}__${l}`;P0(d)||(w=`${w}__${JSON.stringify(d)}`);let S=a.get(w);return S||(S=new Intl.DateTimeFormat(v,Wn({},y,d)),a.set(w,S)),p?S.formatToParts(c):S.format(c)}const C_=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function J5(...e){const[t,n,o,i]=e,s=sn();let r=sn(),a;if(Ye(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw hr(dr.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(c);try{a.toISOString()}catch{throw hr(dr.INVALID_ISO_DATE_ARGUMENT)}}else if(tpe(t)){if(isNaN(t.getTime()))throw hr(dr.INVALID_DATE_ARGUMENT);a=t}else if(Fn(t))a=t;else throw hr(dr.INVALID_ARGUMENT);
137return Ye(n)?s.key=n:Mt(n)&&Object.keys(n).forEach(l=>{C_.includes(l)?r[l]=n[l]:s[l]=n[l]}),Ye(o)?s.locale=o:Mt(o)&&(r=o),Mt(i)&&(r=i),[s.key||"",a,s,r]}function N7(e,t,n){const o=e;for(const i in n){const s=`${t}__${i}`;o.__datetimeFormatters.has(s)&&o.__datetimeFormatters.delete(s)}}function B7(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:i,onWarn:s,localeFallbacker:r}=e,{__numberFormatters:a}=e,[l,c,u,d]=Q5(...t),h=Wt(u.missingWarn)?u.missingWarn:e.missingWarn;Wt(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,f=Jb(e,u),g=r(e,i,f);if(!Ye(l)||l==="")return new Intl.NumberFormat(f,d).format(c);let m={},v,y=null;const b="number format";for(let E=0;E<g.length&&(v=g[E],m=n[v]||{},y=m[l],!Mt(y));E++)Qb(e,l,v,h,b);if(!Mt(y)||!Ye(v))return o?L0:l;let w=`${v}__${l}`;P0(d)||(w=`${w}__${JSON.stringify(d)}`);let S=a.get(w);return S||(S=new Intl.NumberFormat(v,Wn({},y,d)),a.set(w,S)),p?S.formatToParts(c):S.format(c)}const b_=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Q5(...e){const[t,n,o,i]=e,s=sn();let r=sn();if(!Fn(t))throw hr(dr.INVALID_ARGUMENT);const a=t;return Ye(n)?s.key=n:Mt(n)&&Object.keys(n).forEach(l=>{b_.includes(l)?r[l]=n[l]:s[l]=n[l]}),Ye(o)?s.locale=o:Mt(o)&&(r=o),Mt(i)&&(r=i),[s.key||"",a,s,r]}function H7(e,t,n){const o=e;for(const i in n){const s=`${t}__${i}`;o.__numberFormatters.has(s)&&o.__numberFormatters.delete(s)}}const gfe=e=>e,mfe=e=>"",vfe="text",Cfe=e=>e.length===0?"":qb(e),bfe=rpe;function V7(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function yfe(e){const t=Fn(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Fn(e.named.count)||Fn(e.named.n))?Fn(e.named.count)?e.named.count:Fn(e.named.n)?e.named.n:t:t}function wfe(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Sfe(e={}){const t=e.locale,n=yfe(e),o=zt(e.pluralRules)&&Ye(t)&&dn(e.pluralRules[t])?e.pluralRules[t]:V7,i=zt(e.pluralRules)&&Ye(t)&&dn(e.pluralRules[t])?V7:void 0,s=v=>v[o(n,v.length,i)],r=e.list||[],a=v=>r[v],l=e.named||sn();Fn(e.pluralIndex)&&wfe(n,l);const c=v=>l[v];function u(v,y){const b=dn(e.messages)?e.messages(v,!!y):zt(e.messages)?e.messages[v]:!1;return b||(e.parent?e.parent.message(v):mfe)}const d=v=>e.modifiers?e.modifiers[v]:gfe,h=Mt(e.processor)&&dn(e.processor.normalize)?e.processor.normalize:Cfe,p=Mt(e.processor)&&dn(e.processor.interpolate)?e.processor.interpolate:bfe,f=Mt(e.processor)&&Ye(e.processor.type)?e.processor.type:vfe,m={list:a,named:c,plural:s,linked:(v,...y)=>{const[b,w]=y;let S="text",E="";y.length===1?zt(b)?(E=b.modifier||E,S=b.type||S):Ye(b)&&(E=b||E):y.length===2&&(Ye(b)&&(E=b||E),Ye(w)&&(S=w||S));const T=u(v,!0)(m),R=S==="vnode"&&wn(T)&&E?T[0]:T;return E?d(E)(R,S):R},message:u,type:f,interpolate:p,normalize:h,values:Wn(sn(),r,l)};return m}const $7=()=>"",ui=e=>dn(e);function W7(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:i,messageCompiler:s,fallbackLocale:r,messages:a}=e,[l,c]=e3(...t),u=Wt(c.missingWarn)?c.missingWarn:e.missingWarn,d=Wt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,h=Wt(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,f=Ye(c.default)||Wt(c.default)?Wt(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:null,g=n||f!=null&&(Ye(f)||dn(f)),m=Jb(e,c);h&&Efe(c);let[v,y,b]=p?[l,m,a[m]||sn()]:y_(e,l,m,r,d,u),w=v,S=l;if(!p&&!(Ye(w)||ks(w)||ui(w))&&g&&(w=f,S=w),!p&&(!(Ye(w)||ks(w)||ui(w))||!Ye(y)))return i?L0:l;let E=!1;const T=()=>{E=!0},R=ui(w)?w:w_(e,l,y,w,S,T);if(E)return w;const A=Pfe(e,y,b,c),k=Sfe(A),D=Tfe(e,R,k);let V=o?o(D,l):D;if(h&&Ye(V)&&(V=ope(V)),__INTLIFY_PROD_DEVTOOLS__){const O={timestamp:Date.now(),key:Ye(l)?l:ui(w)?w.key:"",locale:y||(ui(w)?w.locale:""),format:Ye(w)?w:ui(w)?w.source:"",message:V};O.meta=Wn({},e.__meta,ufe()||{}),zpe(O)}return V}function Efe(e){wn(e.list)?e.list=e.list.map(t=>
137Ye(t)?E7(t):t):zt(e.named)&&Object.keys(e.named).forEach(t=>{Ye(e.named[t])&&(e.named[t]=E7(e.named[t]))})}function y_(e,t,n,o,i,s){const{messages:r,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,o,n);let d=sn(),h,p=null;const f="translate";for(let g=0;g<u.length&&(h=u[g],d=r[h]||sn(),(p=l(d,t))===null&&(p=d[t]),!(Ye(p)||ks(p)||ui(p)));g++)if(!ffe(h,u)){const m=Qb(e,t,h,s,f);m!==t&&(p=m)}return[p,h,d]}function w_(e,t,n,o,i,s){const{messageCompiler:r,warnHtmlMessage:a}=e;if(ui(o)){const c=o;return c.locale=c.locale||n,c.key=c.key||t,c}if(r==null){const c=(()=>o);return c.locale=n,c.key=t,c}const l=r(o,Rfe(e,n,i,o,a,s));return l.locale=n,l.key=t,l.source=o,l}function Tfe(e,t,n){return t(n)}function e3(...e){const[t,n,o]=e,i=sn();if(!Ye(t)&&!Fn(t)&&!ui(t)&&!ks(t))throw hr(dr.INVALID_ARGUMENT);const s=Fn(t)?String(t):(ui(t),t);return Fn(n)?i.plural=n:Ye(n)?i.default=n:Mt(n)&&!P0(n)?i.named=n:wn(n)&&(i.list=n),Fn(o)?i.plural=o:Ye(o)?i.default=o:Mt(o)&&Wn(i,o),[s,i]}function Rfe(e,t,n,o,i,s){return{locale:t,key:n,warnHtmlMessage:i,onError:r=>{throw s&&s(r),r},onCacheKey:r=>Qhe(t,n,r)}}function Pfe(e,t,n,o){const{modifiers:i,pluralRules:s,messageResolver:r,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,h={locale:t,modifiers:i,pluralRules:s,messages:(p,f)=>{let g=r(n,p);if(g==null&&(u||f)){const[,,m]=y_(u||e,p,t,a,l,c);g=r(m,p)}if(Ye(g)||ks(g)){let m=!1;const y=w_(e,p,t,g,p,()=>{m=!0});return m?$7:y}else return ui(g)?g:$7}};return e.processor&&(h.processor=e.processor),o.list&&(h.list=o.list),o.named&&(h.named=o.named),Fn(o.plural)&&(h.pluralIndex=o.plural),h}kpe();/*!
138  * vue-i18n v11.1.10
139  * (c) 2025 kazuya kawaguchi
140  * Released under the MIT License.
141  */const Mfe="11.1.10";function Lfe(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(bl().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(bl().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(bl().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(bl().__INTLIFY_PROD_DEVTOOLS__=!1)}const $o={UNEXPECTED_RETURN_TYPE:jpe,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function ti(e,...t){return M0(e,null,void 0)}const t3=Ja("__translateVNode"),n3=Ja("__datetimeParts"),o3=Ja("__numberParts"),S_=Ja("__setPluralRules"),E_=Ja("__injectWithOption"),i3=Ja("__dispose");function sp(e){if(!zt(e)||ks(e))return e;for(const t in e)if(Zi(e,t))if(!t.includes("."))zt(e[t])&&sp(e[t]);else{const n=t.split("."),o=n.length-1;let i=e,s=!1;for(let r=0;r<o;r++){if(n[r]==="__proto__")throw new Error(`unsafe key: ${n[r]}`);if(n[r]in i||(i[n[r]]=sn()),!zt(i[n[r]])){s=!0;break}i=i[n[r]]}if(s||(ks(i)?d_.includes(n[o])||delete e[t]:(i[n[o]]=e[t],delete e[t])),!ks(i)){const r=i[n[o]];zt(r)&&sp(r)}}return e}function ey(e,t){const{messages:n,__i18n:o,messageResolver:i,flatJson:s}=t,r=Mt(n)?n:wn(o)?sn():{[e]:sn()};if(wn(o)&&o.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(r[l]=r[l]||sn(),N1(c,r[l])):N1(c,r)}
141else Ye(a)&&N1(JSON.parse(a),r)}),i==null&&s)for(const a in r)Zi(r,a)&&sp(r[a]);return r}function T_(e){return e.type}function R_(e,t,n){let o=zt(t.messages)?t.messages:sn();"__i18nGlobal"in n&&(o=ey(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const i=Object.keys(o);i.length&&i.forEach(s=>{e.mergeLocaleMessage(s,o[s])});{if(zt(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(r=>{e.mergeDateTimeFormat(r,t.datetimeFormats[r])})}if(zt(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(r=>{e.mergeNumberFormat(r,t.numberFormats[r])})}}}function G7(e){return oe(Yi,null,e,0)}const z7="__INTLIFY_META__",U7=()=>[],xfe=()=>!1;let j7=0;function Z7(e){return((t,n,o,i)=>e(n,o,vt()||void 0,i))}const Dfe=()=>{const e=vt();let t=null;return e&&(t=T_(e)[z7])?{[z7]:t}:null};function ty(e={}){const{__root:t,__injectWithOption:n}=e,o=t===void 0,i=e.flatJson,s=vm?J:pt;let r=Wt(e.inheritLocale)?e.inheritLocale:!0;const a=s(t&&r?t.locale.value:Ye(e.locale)?e.locale:ip),l=s(t&&r?t.fallbackLocale.value:Ye(e.fallbackLocale)||wn(e.fallbackLocale)||Mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),c=s(ey(a.value,e)),u=s(Mt(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),d=s(Mt(e.numberFormats)?e.numberFormats:{[a.value]:{}});let h=t?t.missingWarn:Wt(e.missingWarn)||Vu(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:Wt(e.fallbackWarn)||Vu(e.fallbackWarn)?e.fallbackWarn:!0,f=t?t.fallbackRoot:Wt(e.fallbackRoot)?e.fallbackRoot:!0,g=!!e.fallbackFormat,m=dn(e.missing)?e.missing:null,v=dn(e.missing)?Z7(e.missing):null,y=dn(e.postTranslation)?e.postTranslation:null,b=t?t.warnHtmlMessage:Wt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter;const S=t?t.modifiers:Mt(e.modifiers)?e.modifiers:{};let E=e.pluralRules||t&&t.pluralRules,T;T=(()=>{o&&I7(null);const X={version:Mfe,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:S,pluralRules:E,missing:v===null?void 0:v,missingWarn:h,fallbackWarn:p,fallbackFormat:g,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:b,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};X.datetimeFormats=u.value,X.numberFormats=d.value,X.__datetimeFormatters=Mt(T)?T.__datetimeFormatters:void 0,X.__numberFormatters=Mt(T)?T.__numberFormatters:void 0;const K=hfe(X);return o&&I7(K),K})(),Fd(T,a.value,l.value);function A(){return[a.value,l.value,c.value,u.value,d.value]}const k=M({get:()=>a.value,set:X=>{T.locale=X,a.value=X}}),D=M({get:()=>l.value,set:X=>{T.fallbackLocale=X,l.value=X,Fd(T,a.value,X)}}),V=M(()=>c.value),O=M(()=>u.value),F=M(()=>d.value);function _(){return dn(y)?y:null}function P(X){y=X,T.postTranslation=X}function L(){return m}function x(X){X!==null&&(v=Z7(X)),m=X,T.missing=v}const I=(X,K,Ee,Fe,et,de)=>{A();let Ae;try{__INTLIFY_PROD_DEVTOOLS__,o||(T.fallbackContext=t?dfe():void 0),Ae=X(T)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(T.fallbackContext=void 0)}if(Ee!=="translate exists"&&Fn(Ae)&&Ae===L0||Ee==="translate exists"&&!Ae){const[He,It]=K();return t&&f?Fe(t):et(He)}else{if(de(Ae))return Ae;throw ti($o.UNEXPECTED_RETURN_TYPE)}};function B(...X){return I(K=>Reflect.apply(W7,null,[K,...X]),()=>e3(...X),"translate",K=>Reflect.apply(K.t,K,[...X]),K=>K,K=>Ye(K))}function z(...X){const[K,Ee,Fe]=X;if(Fe&&!zt(Fe))throw ti($o.INVALID_ARGUMENT);return B(K,Ee,Wn({resolvedMessage:!0},Fe||{}))}function H(...X){return I(K=>Reflect.apply(O7,null,[K,...X]),()=>J5(...X),"datetime format",K=>Reflect.apply(K.d,K,[...X]),()=>A7,K=>Ye(K)||wn(K))}function j(...X){return I(K=>Reflect.apply(B7,null,[K,...X]),()=>Q5(...X),"number format",K=>Reflect.apply(K.n,K,[...X]),()=>A7,K=>Ye(K)||wn(K))}function Q(X){return X.map(K=>Ye(K)||Fn(K)||Wt(K)?G7(String(K)):K)}const pe={normalize:Q,interpolate:X=>X,type:"vnode"};function te(...X){return I(K=>{let Ee;const Fe=K;try{Fe.processor=pe,Ee=Reflect.apply(W7,null,[Fe,...X])}finally{Fe.processor=null}return Ee},()=>e3(...X),"translate",K=>K[t3](...X),K=>[G7(K)],K=>wn(K))}function ne(...X){return I(K=>Reflect.apply(B7,null,[K,...X]),()=>Q5(...X),"number format",K=>K[o3](...X),U7,K=>Ye(K)||wn(K))}function le(...X){return I(K=>Reflect.apply(O7,null,[K,...X]),()=>J5(...X),"datetime format",K=>K[n3](...X),U7,K=>Ye(K)||wn(K))}function ae(X){E=X,T.pluralRules=E}function Re(X,K){return I(()=>
141{if(!X)return!1;const Ee=Ye(K)?K:a.value,Fe=Z(Ee),et=T.messageResolver(Fe,X);return ks(et)||ui(et)||Ye(et)},()=>[X],"translate exists",Ee=>Reflect.apply(Ee.te,Ee,[X,K]),xfe,Ee=>Wt(Ee))}function Oe(X){let K=null;const Ee=h_(T,l.value,a.value);for(let Fe=0;Fe<Ee.length;Fe++){const et=c.value[Ee[Fe]]||{},de=T.messageResolver(et,X);if(de!=null){K=de;break}}return K}function W(X){const K=Oe(X);return K??(t?t.tm(X)||{}:{})}function Z(X){return c.value[X]||{}}function ie(X,K){if(i){const Ee={[X]:K};for(const Fe in Ee)Zi(Ee,Fe)&&sp(Ee[Fe]);K=Ee[X]}c.value[X]=K,T.messages=c.value}function be(X,K){c.value[X]=c.value[X]||{};const Ee={[X]:K};if(i)for(const Fe in Ee)Zi(Ee,Fe)&&sp(Ee[Fe]);K=Ee[X],N1(K,c.value[X]),T.messages=c.value}function me(X){return u.value[X]||{}}function $(X,K){u.value[X]=K,T.datetimeFormats=u.value,N7(T,X,K)}function G(X,K){u.value[X]=Wn(u.value[X]||{},K),T.datetimeFormats=u.value,N7(T,X,K)}function q(X){return d.value[X]||{}}function fe(X,K){d.value[X]=K,T.numberFormats=d.value,H7(T,X,K)}function ye(X,K){d.value[X]=Wn(d.value[X]||{},K),T.numberFormats=d.value,H7(T,X,K)}j7++,t&&vm&&(Le(t.locale,X=>{r&&(a.value=X,T.locale=X,Fd(T,a.value,l.value))}),Le(t.fallbackLocale,X=>{r&&(l.value=X,T.fallbackLocale=X,Fd(T,a.value,l.value))}));const Pe={id:j7,locale:k,fallbackLocale:D,get inheritLocale(){return r},set inheritLocale(X){r=X,X&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,Fd(T,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:V,get modifiers(){return S},get pluralRules(){return E||{}},get isGlobal(){return o},get missingWarn(){return h},set missingWarn(X){h=X,T.missingWarn=h},get fallbackWarn(){return p},set fallbackWarn(X){p=X,T.fallbackWarn=p},get fallbackRoot(){return f},set fallbackRoot(X){f=X},get fallbackFormat(){return g},set fallbackFormat(X){g=X,T.fallbackFormat=g},get warnHtmlMessage(){return b},set warnHtmlMessage(X){b=X,T.warnHtmlMessage=X},get escapeParameter(){return w},set escapeParameter(X){w=X,T.escapeParameter=X},t:B,getLocaleMessage:Z,setLocaleMessage:ie,mergeLocaleMessage:be,getPostTranslationHandler:_,setPostTranslationHandler:P,getMissingHandler:L,setMissingHandler:x,[S_]:ae};return Pe.datetimeFormats=O,Pe.numberFormats=F,Pe.rt=z,Pe.te=Re,Pe.tm=W,Pe.d=H,Pe.n=j,Pe.getDateTimeFormat=me,Pe.setDateTimeFormat=$,Pe.mergeDateTimeFormat=G,Pe.getNumberFormat=q,Pe.setNumberFormat=fe,Pe.mergeNumberFormat=ye,Pe[E_]=n,Pe[t3]=te,Pe[n3]=le,Pe[o3]=ne,Pe}function kfe(e){const t=Ye(e.locale)?e.locale:ip,n=Ye(e.fallbackLocale)||wn(e.fallbackLocale)||Mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=dn(e.missing)?e.missing:void 0,i=Wt(e.silentTranslationWarn)||Vu(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=Wt(e.silentFallbackWarn)||Vu(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,r=Wt(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=Mt(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=dn(e.postTranslation)?e.postTranslation:void 0,d=Ye(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,h=!!e.escapeParameterHtml,p=Wt(e.sync)?e.sync:!0;let f=e.messages;if(Mt(e.sharedMessages)){const S=e.sharedMessages;f=Object.keys(S).reduce((T,R)=>{const A=T[R]||(T[R]={});return Wn(A,S[R]),T},f||{})}const{__i18n:g,__root:m,__injectWithOption:v}=e,y=e.datetimeFormats,b=e.numberFormats,w=e.flatJson;return{locale:t,fallbackLocale:n,messages:f,flatJson:w,datetimeFormats:y,numberFormats:b,missing:o,missingWarn:i,fallbackWarn:s,fallbackRoot:r,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:p,__i18n:g,__root:m,__injectWithOption:v}}function s3(e={}){const t=ty(kfe(e)),{__extender:n}=e,o={id:t.id,get locale(){return t.locale.value},set locale(i){t.locale.value=i},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(i){t.fallbackLocale.value=i},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(i){t.setMissingHandler(i)},get silentTranslationWarn(){return Wt(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(i){t.missingWarn=Wt(i)?!i:i},get silentFallbackWarn(){return Wt(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(i){t.fallbackWarn=Wt(i)?!i:i},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(i){t.fallbackFormat=i},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(i){t.setPostTranslationHandler(i)},get sync(){return t.inheritLocale},set sync(i){t.inheritLocale=i},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){t.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(i){t.escapeParameter=i},get pluralizationRules(){return t.pluralRules||{}}
141,__composer:t,t(...i){return Reflect.apply(t.t,t,[...i])},rt(...i){return Reflect.apply(t.rt,t,[...i])},te(i,s){return t.te(i,s)},tm(i){return t.tm(i)},getLocaleMessage(i){return t.getLocaleMessage(i)},setLocaleMessage(i,s){t.setLocaleMessage(i,s)},mergeLocaleMessage(i,s){t.mergeLocaleMessage(i,s)},d(...i){return Reflect.apply(t.d,t,[...i])},getDateTimeFormat(i){return t.getDateTimeFormat(i)},setDateTimeFormat(i,s){t.setDateTimeFormat(i,s)},mergeDateTimeFormat(i,s){t.mergeDateTimeFormat(i,s)},n(...i){return Reflect.apply(t.n,t,[...i])},getNumberFormat(i){return t.getNumberFormat(i)},setNumberFormat(i,s){t.setNumberFormat(i,s)},mergeNumberFormat(i,s){t.mergeNumberFormat(i,s)}};return o.__extender=n,o}function Afe(e,t,n){return{beforeCreate(){const o=vt();if(!o)throw ti($o.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const s=i.i18n;if(i.__i18n&&(s.__i18n=i.__i18n),s.__root=t,this===this.$root)this.$i18n=K7(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=s3(s);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=K7(e,i);else{this.$i18n=s3({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;i.__i18nGlobal&&R_(t,i,i),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$te=(s,r)=>this.$i18n.te(s,r),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const o=vt();if(!o)throw ti($o.UNEXPECTED_ERROR);const i=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,i.__disposer&&(i.__disposer(),delete i.__disposer,delete i.__extender),n.__deleteInstance(o),delete this.$i18n}}}function K7(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[S_](t.pluralizationRules||e.pluralizationRules);const n=ey(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const ny={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function _fe({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,i)=>[...o,...i.type===Ze?i.children:[i]],[]):t.reduce((n,o)=>{const i=e[o];return i&&(n[o]=i()),n},sn())}function P_(){return Ze}const Ife=ge({name:"i18n-t",props:Wn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Fn(e)||!isNaN(e)}},ny),setup(e,t){const{slots:n,attrs:o}=t,i=e.i18n||oy({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(d=>d[0]!=="_"),r=sn();e.locale&&(r.locale=e.locale),e.plural!==void 0&&(r.plural=Ye(e.plural)?+e.plural:e.plural);const a=_fe(t,s),l=i[t3](e.keypath,a,r),c=Wn(sn(),o),u=Ye(e.tag)||zt(e.tag)?e.tag:P_();return Ii(u,c,l)}}}),q7=Ife;function Ffe(e){return wn(e)&&!Ye(e[0])}function M_(e,t,n,o){const{slots:i,attrs:s}=t;return()=>{const r={part:!0};let a=sn();e.locale&&(r.locale=e.locale),Ye(e.format)?r.key=e.format:zt(e.format)&&(Ye(e.format.key)&&(r.key=e.format.key),a=Object.keys(e.format).reduce((h,p)=>n.includes(p)?Wn(sn(),h,{[p]:e.format[p]}):h,sn()));const l=o(e.value,r,a);let c=[r.key];wn(l)?c=l.map((h,p)=>
141{const f=i[h.type],g=f?f({[h.type]:h.value,index:p,parts:l}):[h.value];return Ffe(g)&&(g[0].key=`${h.type}-${p}`),g}):Ye(l)&&(c=[l]);const u=Wn(sn(),s),d=Ye(e.tag)||zt(e.tag)?e.tag:P_();return Ii(d,u,c)}}const Ofe=ge({name:"i18n-n",props:Wn({value:{type:Number,required:!0},format:{type:[String,Object]}},ny),setup(e,t){const n=e.i18n||oy({useScope:e.scope,__useComponent:!0});return M_(e,t,b_,(...o)=>n[o3](...o))}}),Y7=Ofe;function Nfe(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function Bfe(e){const t=r=>{const{instance:a,value:l}=r;if(!a||!a.$)throw ti($o.UNEXPECTED_ERROR);const c=Nfe(e,a.$),u=X7(l);return[Reflect.apply(c.t,c,[...J7(u)]),c]};return{created:(r,a)=>{const[l,c]=t(a);vm&&e.global===c&&(r.__i18nWatcher=Le(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),r.__composer=c,r.textContent=l},unmounted:r=>{vm&&r.__i18nWatcher&&(r.__i18nWatcher(),r.__i18nWatcher=void 0,delete r.__i18nWatcher),r.__composer&&(r.__composer=void 0,delete r.__composer)},beforeUpdate:(r,{value:a})=>{if(r.__composer){const l=r.__composer,c=X7(a);r.textContent=Reflect.apply(l.t,l,[...J7(c)])}},getSSRProps:r=>{const[a]=t(r);return{textContent:a}}}}function X7(e){if(Ye(e))return{path:e};if(Mt(e)){if(!("path"in e))throw ti($o.REQUIRED_VALUE,"path");return e}else throw ti($o.INVALID_VALUE)}function J7(e){const{path:t,locale:n,args:o,choice:i,plural:s}=e,r={},a=o||{};return Ye(n)&&(r.locale=n),Fn(i)&&(r.plural=i),Fn(s)&&(r.plural=s),[t,a,r]}function Hfe(e,t,...n){const o=Mt(n[0])?n[0]:{};(Wt(o.globalInstall)?o.globalInstall:!0)&&([q7.name,"I18nT"].forEach(s=>e.component(s,q7)),[Y7.name,"I18nN"].forEach(s=>e.component(s,Y7)),[eS.name,"I18nD"].forEach(s=>e.component(s,eS))),e.directive("t",Bfe(t))}const Vfe=Ja("global-vue-i18n");function $fe(e={}){const t=__VUE_I18N_LEGACY_API__&&Wt(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Wt(e.globalInjection)?e.globalInjection:!0,o=new Map,[i,s]=Wfe(e,t),r=Ja("");function a(d){return o.get(d)||null}function l(d,h){o.set(d,h)}function c(d){o.delete(d)}const u={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(d,...h){if(d.__VUE_I18N_SYMBOL__=r,d.provide(d.__VUE_I18N_SYMBOL__,u),Mt(h[0])){const g=h[0];u.__composerExtend=g.__composerExtend,u.__vueI18nExtend=g.__vueI18nExtend}let p=null;!t&&n&&(p=Yfe(d,u.global)),__VUE_I18N_FULL_INSTALL__&&Hfe(d,u,...h),__VUE_I18N_LEGACY_API__&&t&&d.mixin(Afe(s,s.__composer,u));const f=d.unmount;d.unmount=()=>{p&&p(),u.dispose(),f()}},get global(){return s},dispose(){i.stop()},__instances:o,__getInstance:a,__setInstance:l,__deleteInstance:c};return u}function oy(e={}){const t=vt();if(t==null)throw ti($o.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ti($o.NOT_INSTALLED);const n=Gfe(t),o=Ufe(n),i=T_(t),s=zfe(e,i);if(s==="global")return R_(o,e,i),o;if(s==="parent"){let l=jfe(n,t,e.__useComponent);return l==null&&(l=o),l}const r=n;let a=r.__getInstance(t);if(a==null){const l=Wn({},e);"__i18n"in i&&(l.__i18n=i.__i18n),o&&(l.__root=o),a=ty(l),r.__composerExtend&&(a[i3]=r.__composerExtend(a)),Kfe(r,t,a),r.__setInstance(t,a)}return a}function Wfe(e,t){const n=jm(),o=__VUE_I18N_LEGACY_API__&&t?n.run(()=>s3(e)):n.run(()=>ty(e));if(o==null)throw ti($o.UNEXPECTED_ERROR);return[n,o]}function Gfe(e){const t=je(e.isCE?Vfe:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ti(e.isCE?$o.NOT_INSTALLED_WITH_PROVIDE:$o.UNEXPECTED_ERROR);return t}function zfe(e,t){return P0(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Ufe(e){return e.mode==="composition"?e.global:e.global.__composer}function jfe(e,t,n=!1){let o=null;const i=t.root;let s=Zfe(t,n);for(;s!=null;){const r=e;if(e.mode==="composition")o=r.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const a=r.__getInstance(s);a!=null&&(o=a.__composer,n&&o&&!o[E_]&&(o=null))}if(o!=null||i===s)break;s=s.parent}return o}function Zfe(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Kfe(e,t,n){Dt(()=>{},t),Or(()=>{const o=n;e.__deleteInstance(t);const i=o[i3];i&&(i(),delete o[i3])},t)}const qfe=["locale","fallbackLocale","availableLocales"],Q7=["t","rt","d","n","tm","te"];function Yfe(e,t){const n=Object.create(null);return qfe.forEach(i=>
141{const s=Object.getOwnPropertyDescriptor(t,i);if(!s)throw ti($o.UNEXPECTED_ERROR);const r=_t(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,i,r)}),e.config.globalProperties.$i18n=n,Q7.forEach(i=>{const s=Object.getOwnPropertyDescriptor(t,i);if(!s||!s.value)throw ti($o.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${i}`,s)}),()=>{delete e.config.globalProperties.$i18n,Q7.forEach(i=>{delete e.config.globalProperties[`$${i}`]})}}const Xfe=ge({name:"i18n-d",props:Wn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ny),setup(e,t){const n=e.i18n||oy({useScope:e.scope,__useComponent:!0});return M_(e,t,C_,(...o)=>n[n3](...o))}}),eS=Xfe;Lfe();rfe($pe);afe(ofe);lfe(h_);if(__INTLIFY_PROD_DEVTOOLS__){const e=bl();e.__INTLIFY__=!0,Wpe(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function Gn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function YFe(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function o(){var i=!1;try{i=this instanceof o}catch{}return i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var i=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,i.get?i:{enumerable:!0,get:function(){return e[o]}})}),n}var B1={exports:{}},Jfe=B1.exports,tS;function Qp(){return tS||(tS=1,(function(e,t){(function(n,o){e.exports=o()})(Jfe,(function(){var n=1e3,o=6e4,i=36e5,s="millisecond",r="second",a="minute",l="hour",c="day",u="week",d="month",h="quarter",p="year",f="date",g="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(F){var _=["th","st","nd","rd"],P=F%100;return"["+F+(_[(P-20)%10]||_[P]||_[0])+"]"}},b=function(F,_,P){var L=String(F);return!L||L.length>=_?F:""+Array(_+1-L.length).join(P)+F},w={s:b,z:function(F){var _=-F.utcOffset(),P=Math.abs(_),L=Math.floor(P/60),x=P%60;return(_<=0?"+":"-")+b(L,2,"0")+":"+b(x,2,"0")},m:function F(_,P){if(_.date()<P.date())return-F(P,_);var L=12*(P.year()-_.year())+(P.month()-_.month()),x=_.clone().add(L,d),I=P-x<0,B=_.clone().add(L+(I?-1:1),d);return+(-(L+(P-x)/(I?x-B:B-x))||0)},a:function(F){return F<0?Math.ceil(F)||0:Math.floor(F)},p:function(F){return{M:d,y:p,w:u,d:c,D:f,h:l,m:a,s:r,ms:s,Q:h}[F]||String(F||"").toLowerCase().replace(/s$/,"")},u:function(F){return F===void 0}},S="en",E={};E[S]=y;var T="$isDayjsObject",R=function(F){return F instanceof V||!(!F||!F[T])},A=function F(_,P,L){var x;if(!_)return S;if(typeof _=="string"){var I=_.toLowerCase();E[I]&&(x=I),P&&(E[I]=P,x=I);var B=_.split("-");if(!x&&B.length>1)return F(B[0])}else{var z=_.name;E[z]=_,x=z}return!L&&x&&(S=x),x||!L&&S},k=function(F,_){if(R(F))return F.clone();var P=typeof _=="object"?_:{};return P.date=F,P.args=arguments,new V(P)},D=w;D.l=A,D.i=R,D.w=function(F,_){return k(F,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var V=(function(){function F(P){this.$L=A(P.locale,null,!0),this.parse(P),this.$x=this.$x||P.x||{},this[T]=!0}var _=F.prototype;return _.parse=function(P){this.$d=(function(L){var x=L.date,I=L.utc;if(x===null)return new Date(NaN);if(D.u(x))return new Date;if(x instanceof Date)return new Date(x);if(typeof x=="string"&&!/Z$/i.test(x)){var B=x.match(m);if(B){var z=B[2]-1||0,H=(B[7]||"0").substring(0,3);return I?new Date(Date.UTC(B[1],z,B[3]||1,B[4]||0,B[5]||0,B[6]||0,H)):new Date(B[1],z,B[3]||1,B[4]||0,B[5]||0,B[6]||0,H)}}return new Date(x)})(P),this.init()},_.init=function(){var P=this.$d;this.$y=P.getFullYear(),this.$M=P.getMonth(),this.$D=P.getDate(),this.$W=P.getDay(),this.$H=P.getHours(),this.$m=P.getMinutes(),this.$s=P.getSeconds(),this.$ms=P.getMilliseconds()},_.$utils=function(){return D}
vendor: 4,213 bytes, line 141
141,_.isValid=function(){return this.$d.toString()!==g},_.isSame=function(P,L){var x=k(P);return this.startOf(L)<=x&&x<=this.endOf(L)},_.isAfter=function(P,L){return k(P)<this.startOf(L)},_.isBefore=function(P,L){return this.endOf(L)<k(P)},_.$g=function(P,L,x){return D.u(P)?this[L]:this.set(x,P)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(P,L){var x=this,I=!!D.u(L)||L,B=D.p(P),z=function(le,ae){var Re=D.w(x.$u?Date.UTC(x.$y,ae,le):new Date(x.$y,ae,le),x);return I?Re:Re.endOf(c)},H=function(le,ae){return D.w(x.toDate()[le].apply(x.toDate("s"),(I?[0,0,0,0]:[23,59,59,999]).slice(ae)),x)},j=this.$W,Q=this.$M,ce=this.$D,pe="set"+(this.$u?"UTC":"");switch(B){case p:return I?z(1,0):z(31,11);case d:return I?z(1,Q):z(0,Q+1);case u:var te=this.$locale().weekStart||0,ne=(j<te?j+7:j)-te;return z(I?ce-ne:ce+(6-ne),Q);case c:case f:return H(pe+"Hours",0);case l:return H(pe+"Minutes",1);case a:return H(pe+"Seconds",2);case r:return H(pe+"Milliseconds",3);default:return this.clone()}},_.endOf=function(P){return this.startOf(P,!1)},_.$set=function(P,L){var x,I=D.p(P),B="set"+(this.$u?"UTC":""),z=(x={},x[c]=B+"Date",x[f]=B+"Date",x[d]=B+"Month",x[p]=B+"FullYear",x[l]=B+"Hours",x[a]=B+"Minutes",x[r]=B+"Seconds",x[s]=B+"Milliseconds",x)[I],H=I===c?this.$D+(L-this.$W):L;if(I===d||I===p){var j=this.clone().set(f,1);j.$d[z](H),j.init(),this.$d=j.set(f,Math.min(this.$D,j.daysInMonth())).$d}else z&&this.$d[z](H);return this.init(),this},_.set=function(P,L){return this.clone().$set(P,L)},_.get=function(P){return this[D.p(P)]()},_.add=function(P,L){var x,I=this;P=Number(P);var B=D.p(L),z=function(Q){var ce=k(I);return D.w(ce.date(ce.date()+Math.round(Q*P)),I)};if(B===d)return this.set(d,this.$M+P);if(B===p)return this.set(p,this.$y+P);if(B===c)return z(1);if(B===u)return z(7);var H=(x={},x[a]=o,x[l]=i,x[r]=n,x)[B]||1,j=this.$d.getTime()+P*H;return D.w(j,this)},_.subtract=function(P,L){return this.add(-1*P,L)},_.format=function(P){var L=this,x=this.$locale();if(!this.isValid())return x.invalidDate||g;var I=P||"YYYY-MM-DDTHH:mm:ssZ",B=D.z(this),z=this.$H,H=this.$m,j=this.$M,Q=x.weekdays,ce=x.months,pe=x.meridiem,te=function(ae,Re,Oe,W){return ae&&(ae[Re]||ae(L,I))||Oe[Re].slice(0,W)},ne=function(ae){return D.s(z%12||12,ae,"0")},le=pe||function(ae,Re,Oe){var W=ae<12?"AM":"PM";return Oe?W.toLowerCase():W};return I.replace(v,(function(ae,Re){return Re||(function(Oe){switch(Oe){case"YY":return String(L.$y).slice(-2);case"YYYY":return D.s(L.$y,4,"0");case"M":return j+1;case"MM":return D.s(j+1,2,"0");case"MMM":return te(x.monthsShort,j,ce,3);case"MMMM":return te(ce,j);case"D":return L.$D;case"DD":return D.s(L.$D,2,"0");case"d":return String(L.$W);case"dd":return te(x.weekdaysMin,L.$W,Q,2);case"ddd":return te(x.weekdaysShort,L.$W,Q,3);case"dddd":return Q[L.$W];case"H":return String(z);case"HH":return D.s(z,2,"0");case"h":return ne(1);case"hh":return ne(2);case"a":return le(z,H,!0);case"A":return le(z,H,!1);case"m":return String(H);case"mm":return D.s(H,2,"0");case"s":return String(L.$s);case"ss":return D.s(L.$s,2,"0");case"SSS":return D.s(L.$ms,3,"0");case"Z":return B}return null})(ae)||B.replace(":","")}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(P,L,x){var I,B=this,z=D.p(L),H=k(P),j=(H.utcOffset()-this.utcOffset())*o,Q=this-H,ce=function(){return D.m(B,H)};switch(z){case p:I=ce()/12;break;case d:I=ce();break;case h:I=ce()/3;break;case u:I=(Q-j)/6048e5;break;case c:I=(Q-j)/864e5;break;case l:I=Q/i;break;case a:I=Q/o;break;case r:I=Q/n;break;default:I=Q}return x?I:D.a(I)},_.daysInMonth=function(){return this.endOf(d).$D},_.$locale=function(){return E[this.$L]},_.locale=function(P,L){if(!P)return this.$L;var x=this.clone(),I=A(P,L,!0);return I&&(x.$L=I),x},_.clone=function(){return D.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},F})(),O=V.prototype;return k.prototype=O,[["$ms",s],["$s",r],["$m",a],["$H",l],["$W",c],["$M",d],["$y",p],["$D",f]].forEac
141h((function(F){O[F[1]]=function(_){return this.$g(_,F[0],F[1])}})),k.extend=function(F,_){return F.$i||(F(_,V,k),F.$i=!0),k},k.locale=A,k.isDayjs=R,k.unix=function(F){return k(1e3*F)},k.en=E[S],k.Ls=E,k.p={},k}))})(B1)),B1.exports}var Qfe=Qp();const tt=Gn(Qfe);var H1={exports:{}},e1e=H1.exports,nS;function t1e(){return nS||(nS=1,(function(e,t){(function(n,o){e.exports=o(Qp())})(e1e,(function(n){function o(f){return f&&typeof f=="object"&&"default"in f?f:{default:f}}var i=o(n),s="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),r="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),a="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),l="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),c=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function u(f,g,m){var v,y;return m==="m"?g?"минута":"минуту":f+" "+(v=+f,y={mm:g?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[m].split("_"),v%10==1&&v%100!=11?y[0]:v%10>=2&&v%10<=4&&(v%100<10||v%100>=20)?y[1]:y[2])}var d=function(f,g){return c.test(g)?s[f.month()]:r[f.month()]};d.s=r,d.f=s;var h=function(f,g){return c.test(g)?a[f.month()]:l[f.month()]};h.s=l,h.f=a;var p={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:d,monthsShort:h,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:u,mm:u,h:"час",hh:u,d:"день",dd:u,M:"месяц",MM:u,y:"год",yy:u},ordinal:function(f){return f},meridiem:function(f){return f<4?"ночи":f<12?"утра":f<17?"дня":"вечера"}};return i.default.locale(p,null,!0),p}))})(H1)),H1.exports}t1e();var V1={exports:{}},n1e=V1.exports,oS;function o1e(){return oS||(oS=1,(function(e,t){(function(n,o){e.exports=o(Qp())})(n1e,(function(n){function o(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var i=o(n),s={name:"zh",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(r,a){return a==="W"?r+"周":r+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s后",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(r,a){var l=100*r+a;return l<600?"凌晨":l<900?"早上":l<1100?"上午":l<1300?"中午":l<1800?"下午":"晚上"}};return i.default.locale(s,null,!0),s}))})(V1)),V1.exports}o1e();var $1={exports:{}},i1e=$1.exports,iS;function s1e(){return iS||(iS=1,(function(e,t){(function(n,o){e.exports=o(Qp())})(i1e,(function(n){function o(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var i=o(n),s={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(r){return r+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(r){return r<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return i.default.locale(s,null,!0),s}))})($1)),$1.exports}s1e();var W1={exports:{}},r1e=W1.exports,sS;function a1e(){return sS||(sS=1,(function(e,t){(function(n,o){e.exports=o(Qp())})(r1e,(function(n){function o(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var i=o(n),s={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(r){return r+"일"},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(r){return r<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%
141d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};return i.default.locale(s,null,!0),s}))})(W1)),W1.exports}a1e();var G1={exports:{}},l1e=G1.exports,rS;function c1e(){return rS||(rS=1,(function(e,t){(function(n,o){e.exports=o()})(l1e,(function(){return function(n,o,i){n=n||{};var s=o.prototype,r={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function a(c,u,d,h){return s.fromToBase(c,u,d,h)}i.en.relativeTime=r,s.fromToBase=function(c,u,d,h,p){for(var f,g,m,v=d.$locale().relativeTime||r,y=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],b=y.length,w=0;w<b;w+=1){var S=y[w];S.d&&(f=h?i(c).diff(d,S.d,!0):d.diff(c,S.d,!0));var E=(n.rounding||Math.round)(Math.abs(f));if(m=f>0,E<=S.r||!S.r){E<=1&&w>0&&(S=y[w-1]);var T=v[S.l];p&&(E=p(""+E)),g=typeof T=="string"?T.replace("%d",E):T(E,u,S.l,m);break}}if(u)return g;var R=m?v.future:v.past;return typeof R=="function"?R(g):R.replace("%s",g)},s.to=function(c,u){return a(c,u,this,!0)},s.from=function(c,u){return a(c,u,this)};var l=function(c){return c.$u?i.utc():i()};s.toNow=function(c){return this.to(l(this),c)},s.fromNow=function(c){return this.from(l(this),c)}}}))})(G1)),G1.exports}var u1e=c1e();const d1e=Gn(u1e);function aS(e){const{anchorOffset:t=0,focusOffset:n=0}=e.ownerDocument.getSelection()||{},o=Math.min(t,n),i=Math.max(t,n);return[o,i]}function h1e(e,[t,n]){const o=e.ownerDocument,i=o.createRange();i.setStart(e.firstChild||e,Math.min(t,e.textContent?.length??0)),i.setEnd(e.lastChild||e,Math.min(n,e.textContent?.length??0));const s=o.getSelection();s&&(s.removeAllRanges(),s.addRange(i))}class p1e{constructor(t){this.element=t,this.maxLength=1/0}get value(){return this.element.innerText.replace(/\n\n$/,`
142`)}set value(t){this.element.innerHTML=t.replace(/\n$/,`
143
144`)}get selectionStart(){return aS(this.element)[0]}get selectionEnd(){return aS(this.element)[1]}setSelectionRange(t,n){h1e(this.element,[t??0,n??0])}select(){this.setSelectionRange(0,this.value.length)}}function f1e(e){const t=new p1e(e);return new Proxy(e,{get(n,o){if(o in t)return t[o];const i=n[o];return typeof i=="function"?i.bind(n):i},set(n,o,i,s){return Reflect.set(o in t?t:n,o,i,s)}})}const g1e=e=>e.isContentEditable?f1e(e):e.querySelector("input,textarea")||e,iy={mask:/^.*$/,preprocessors:[],postprocessors:[],plugins:[],overwriteMode:"shift"};class m1e{constructor(){this.now=null,this.past=[],this.future=[]}undo(){const t=this.past.pop();t&&this.now&&(this.future.push(this.now),this.updateElement(t,"historyUndo"))}redo(){const t=this.future.pop();t&&this.now&&(this.past.push(this.now),this.updateElement(t,"historyRedo"))}updateHistory(t){if(!this.now){this.now=t;return}const n=this.now.value!==t.value,o=this.now.selection.some((i,s)=>i!==t.selection[s]);!n&&!o||(n&&(this.past.push(this.now),this.future=[]),this.now=t)}updateElement(t,n){this.now=t,this.updateElementState(t,{inputType:n,data:null})}}function v1e(e,...t){return t.every(({value:n})=>n===e.value)}function r3(e,...t){return t.every(({value:n,selection:o})=>n===e.value&&o[0]===e.selection[0]&&o[1]===e.selection[1])}function lS({value:e,selection:t},n,o){const[i,s]=t,r=typeof o=="function"?o({value:e,selection:t}):o;return{value:e,selection:r==="replace"?[i,Math.max(i+n.length,s)]:[i,s]}}function x0(e){return typeof e=="string"}function cS(e,t,n,o){let i="";for(let s=t.length;s<e.length;s++){const r=e[s]||"",a=o?.value[s]===r;if(!x0(r)||r===n&&!a)return i;i+=r}return i}function L_(e,t){return Array.isArray(t)?e.length===t.length&&Array.from(e).every((n,o)=>{const i=t[o]||"";return x0(i)?n===i:n.match(i)}):t.test(e)}function C1e(e,t,n){let o=null,i=null;const s=Array.from(e.value).reduce((a,l,c)=>{const u=cS(t,a,l,n),d=a+u,h=t[d.length]||"";return o===null&&c>=e.selection[0]&&(o=d.length),i===null&&c>=e.selection[1]&&(i=d.length),x0(h)?d+h:l.match(h)?d+l:u.startsWith(l)?d:a},""),r=cS(t,s,"",n);return{value:L_(s+r,t)?s+r:s,selection:[o??s.length,i??s.length]}}function b1e({value:e,selection:t},n){const[o,i]=t;let s=o,r=i;const a=Array.from(e).reduce((l,c,u)=>{const d=l+c;return o===u&&(s=l.length),i===u&&(r=l.length),d.match(n)?d:l},"");return{value:a,selection:[Math.min(s,a.length),Math.min(r,a.length)]}}function Zf(e,t,n=null){if(L_(e.value,t))return e;const{value:o,selection:i}=Array.isArray(t)?C1e(e,t,n):b1e(e,t);return{selection:i,value:Array.isArray(t)?o.slice(0,t.length):o}}function uS(e,t){if(!Array.isArray(t))return e;const[n,o]=e.selection,i=[],s=Array.from(e.value).reduce((r,a,l)=>{const c=t[l]||"";return l===n&&i.push(r.length),l===o&&i.push(r.length),x0(c)&&c===a?r:r+a},"");return i.length<2&&i.push(...new Array(2-i.length).fill(s.length)),{value:s,selection:[i[0],i[1]]}}class a3{constructor(t,n){this.maskOptions=n,this.unmaskInitialState={value:"",selection:[0,0]},this.value="",this.selection=[0,0];const o=this.getMaskExpression(t),{value:i,selection:s}=Zf(t,o);this.unmaskInitialState=uS({value:i,selection:s},o),this.value=i,this.selection=s}addCharacters(t){const{value:n,selection:o,maskOptions:i}=this,s={value:n,selection:o},{selection:[r,a]}=lS(s,t,i.overwriteMode),l=this.getMaskExpression({value:n.slice(0,r)+t+n.slice(a),selection:[r+t.length,r+t.length]}),[c,u]=lS(this.unmaskInitialState,t,i.overwriteMode).selection,d=this.unmaskInitialState.value.slice(0,c)+t,h=d.length,p=Zf({value:d+this.unmaskInitialState.value.slice(u),selection:[h,h]},l,s),f=n.slice(0,r),g=Zf({value:d,selection:[h,h]},l,s);if(g.value===f||g.value.length<f.length&&uS(g,l).value===this.unmaskInitialState.value.slice(0,c)||r3(this,p))throw new Error("Invalid mask value");this.value=p.value,this.selection=p.selection}deleteCharacters(){const[t,n]=this.selection;if(t===n||!n)return;const{value:o}=this,i=this.getMaskExpression({value:o.slice(0,t)+o.slice(n),selection:[t,t]}),s={value:o},[r,a]=this.unmaskInitialState.selection,l=this.unmaskInitialState.value.slice(0,r)+this.unmaskInitialState.value.slice(a),c=Zf({value:l,selection:[r,r]},i,s);this.value=c.value,this.selection=c.selection}getMaskExpression(t){const{mask:n}=this.maskOptions;return typeof n=="function"?n(t):n}}class sy{constructor(t){this.element=t,this.listeners=[]}listen(t,n,o){const i=n;this.element.addEventListener(t,i,o),this.listeners.push(()=>this.element.removeEventListener(t,i,o))}
144destroy(){this.listeners.forEach(t=>t())}}const Ui={CTRL:1,ALT:2,SHIFT:4,META:8},gh={Y:89,Z:90};function mh(e,t,n){return e.ctrlKey===!!(t&Ui.CTRL)&&e.altKey===!!(t&Ui.ALT)&&e.shiftKey===!!(t&Ui.SHIFT)&&e.metaKey===!!(t&Ui.META)&&e.keyCode===n}function y1e(e){return mh(e,Ui.CTRL,gh.Y)||mh(e,Ui.CTRL|Ui.SHIFT,gh.Z)||mh(e,Ui.META|Ui.SHIFT,gh.Z)}function w1e(e){return mh(e,Ui.CTRL,gh.Z)||mh(e,Ui.META,gh.Z)}function ry(e,t){const n=e.value;if(typeof t=="string")e.value=t;else{const[o,i]=t.selection;e.value=t.value,e.matches(":focus")&&e.setSelectionRange?.(o,i)}e.value!==n&&e.dispatchEvent(new Event("input",{bubbles:!0}))}function S1e({value:e,selection:t},n){const[o,i]=t;if(o!==i)return[o,i];const s=n?e.slice(o).indexOf(`
145`)+1||e.length:e.slice(0,i).lastIndexOf(`
146`)+1;return[n?o:s,n?s:i]}function E1e({value:e,selection:t},n){const[o,i]=t;return o!==i?[o,i]:(n?[o,i+1]:[o-1,i]).map(r=>Math.min(Math.max(r,0),e.length))}const T1e=/\s+$/g,R1e=/^\s+/g,dS=/\s/;function P1e({value:e,selection:t},n){const[o,i]=t;if(o!==i)return[o,i];if(n){const l=e.slice(o),[c]=l.match(R1e)||[""],u=l.trimStart().search(dS);return[o,u!==-1?o+c.length+u:e.length]}const s=e.slice(0,i),[r]=s.match(T1e)||[""],a=s.trimEnd().split("").reverse().findIndex(l=>dS.exec(l));return[a!==-1?i-r.length-a:0,i]}function Cm(e=[]){return(t,...n)=>e.reduce((o,i)=>({...o,...i(o,...n)}),t)}function ay(e,t){const n={...iy,...t},o=Cm(n.preprocessors),i=Cm(n.postprocessors),s=typeof e=="string"?{value:e,selection:[0,0]}:e,{elementState:r}=o({elementState:s,data:""},"validation"),a=new a3(r,n),{value:l,selection:c}=i(a,s);return typeof e=="string"?l:{value:l,selection:c}}function M1e(){return e=>{const t=new sy(e);let n=!1,o,i=e.value;return t.listen("keydown",({key:s})=>{n=s==="Unidentified"}),t.listen("beforeinput",s=>{o=s,i=e.value}),t.listen("input",s=>{n&&o.defaultPrevented&&o.inputType==="deleteContentBackward"&&s.inputType==="deleteContentBackward"&&(e.value=i)},{capture:!0}),()=>t.destroy()}}const Gv=" ";function L1e(){let e="",t=0,n=null,o=!1;return i=>{const s=new sy(i);return s.listen("beforeinput",r=>{const{value:a,selectionStart:l,selectionEnd:c}=i,u=n?.inputType==="insertText"&&n?.data===Gv&&!a.slice(0,Number(c)).endsWith(Gv);r.inputType==="insertText"&&r.data===`.${Gv}`&&(n?.inputType==="deleteContentBackward"&&o?(i.value=e,i.setSelectionRange?.(t,t)):u&&i.setSelectionRange?.(l,l)),o=u,n=r,e=a,t=Number((u?t:c)===a.length?c:l)}),()=>s.destroy()}}const x1e=[L1e(),M1e()];class D1e extends m1e{constructor(t,n){super(),this.element=t,this.maskitoOptions=n,this.isTextArea=this.element.nodeName==="TEXTAREA",this.eventListener=new sy(this.element),this.options={...iy,...this.maskitoOptions},this.upcomingElementState=null,this.preprocessor=Cm(this.options.preprocessors),this.postprocessor=Cm(this.options.postprocessors),this.teardowns=this.options.plugins.concat(x1e).map(o=>o(this.element,this.options)),this.updateHistory(this.elementState),this.eventListener.listen("keydown",o=>{if(y1e(o))return o.preventDefault(),this.redo();if(w1e(o))return o.preventDefault(),this.undo()}),this.eventListener.listen("beforeinput",o=>{const i=o.inputType.includes("Forward");switch(this.updateHistory(this.elementState),o.inputType){case"deleteByCut":case"deleteContentBackward":case"deleteContentForward":return this.handleDelete({event:o,isForward:i,selection:E1e(this.elementState,i)});case"deleteHardLineBackward":case"deleteHardLineForward":case"deleteSoftLineBackward":case"deleteSoftLineForward":return this.handleDelete({event:o,isForward:i,selection:S1e(this.elementState,i),force:!0});
146case"deleteWordBackward":case"deleteWordForward":return this.handleDelete({event:o,isForward:i,selection:P1e(this.elementState,i)});case"historyRedo":return o.preventDefault(),this.redo();case"historyUndo":return o.preventDefault(),this.undo();case"insertCompositionText":return;case"insertLineBreak":case"insertParagraph":return this.handleEnter(o);case"insertReplacementText":return;case"insertFromDrop":case"insertFromPaste":case"insertText":default:return this.handleInsert(o,o.data??o.dataTransfer?.getData("text/plain")??"")}}),this.eventListener.listen("input",()=>{this.upcomingElementState&&!r3(this.upcomingElementState,this.elementState)&&this.updateElementState(this.upcomingElementState),this.upcomingElementState=null},{capture:!0}),this.eventListener.listen("input",({inputType:o})=>{o!=="insertCompositionText"&&(this.ensureValueFitsMask(),this.updateHistory(this.elementState))}),this.eventListener.listen("compositionend",()=>{this.ensureValueFitsMask(),this.updateHistory(this.elementState)})}destroy(){this.eventListener.destroy(),this.teardowns.forEach(t=>t?.())}updateElementState({value:t,selection:n},o){const i=this.elementState.value;this.updateValue(t),this.updateSelectionRange(n),o&&i!==t&&this.dispatchInputEvent(o)}get elementState(){const{value:t,selectionStart:n,selectionEnd:o}=this.element;return{value:t,selection:[n??0,o??0]}}get maxLength(){const{maxLength:t}=this.element;return t===-1?1/0:t}updateSelectionRange([t,n]){const{element:o}=this;o.matches(":focus")&&(o.selectionStart!==t||o.selectionEnd!==n)&&o.setSelectionRange?.(t,n)}updateValue(t){(this.element.value!==t||this.element.isContentEditable)&&(this.element.value=t)}ensureValueFitsMask(){this.updateElementState(ay(this.elementState,this.options),{inputType:"insertText",data:null})}dispatchInputEvent(t={inputType:"insertText",data:null}){globalThis.InputEvent&&this.element.dispatchEvent(new InputEvent("input",{...t,bubbles:!0,cancelable:!1}))}handleDelete({event:t,selection:n,isForward:o}){const i={value:this.elementState.value,selection:n},{elementState:s}=this.preprocessor({elementState:i,data:""},o?"deleteForward":"deleteBackward"),r=new a3(s,this.options);r.deleteCharacters();const a=this.postprocessor(r,i);if(v1e(i,s,r,a)){const[l,c]=s.selection;return t.preventDefault(),this.updateSelectionRange(o?[c,c]:[l,l])}this.upcomingElementState=a}handleInsert(t,n){const{options:o,maxLength:i,elementState:s}=this,[r,a]=s.selection,{elementState:l,data:c=n}=this.preprocessor({data:n,elementState:s},"insert"),u=new a3(l,o);try{u.addCharacters(c)}catch{return t.preventDefault()}this.upcomingElementState=this.clampState(this.postprocessor(u,s)),s.value.length>=i&&r===a&&(o.overwriteMode==="replace"&&!r3(this.upcomingElementState,s)?this.dispatchInputEvent({inputType:"insertText",data:n}):this.upcomingElementState=null)}handleEnter(t){(this.isTextArea||this.element.isContentEditable)&&this.handleInsert(t,`
147`)}clampState({value:t,selection:n}){const[o,i]=n,s=this.maxLength;return{value:t.slice(0,s),selection:[Math.min(o,s),Math.min(i,s)]}}}function rp(e,t,n){const o=A1e(t??e,e);return k1e(n??o,o)}function k1e(e,...t){return t.reduce((n,o)=>n<o?n:o,e)}function A1e(e,...t){return t.reduce((n,o)=>n>o?n:o,e)}const _1e=[".",",","б","ю"],x_=" ",I1e="​",F1e="–",O1e="—",ly="-",cy="−",N1e="ー",D_=[ly,F1e,O1e,N1e,cy],B1e=[":","."];function pd(e){return e}function H1e(){}const k_=/[\\^$.*+?()[\]{}|]/g,V1e=new RegExp(k_.source);function Qn(e){return e&&V1e.test(e)?e.replaceAll(k_,String.raw`\$&`):e}function $1e(e,t){let n="";for(let o=0;o<e.length;o++){if(e[o]!==t[o])return n;n+=e[o]}return n}function hS(e){return e.replaceAll(/[0-9]/g,t=>String.fromCharCode(t.charCodeAt(0)-65248))}function W1e(){return({elementState:e,data:t})=>{const{value:n,selection:o}=e;return{elementState:{selection:o,value:hS(n)},data:hS(t)}}}new RegExp(`[${B1e.map(Qn).join("")}]$`);function G1e(e){const t=new RegExp(`${Qn(e)}$`),n=new RegExp(e&&`(${e.split("").map(Qn).reduce((o,i,s,r)=>`${o}|${r.slice(0,s+1).join("")}`)})$`);return e?({value:o,selection:i},s)=>{if(!o&&!s.value.endsWith(e))return{value:o,selection:i};if(!o.match(n)&&!s.value.endsWith(e))return{selection:i,value:o+e};const r=s.value.replace(t,""),a=s.selection[1]>r.length,l=$1e(r,o);return{selection:i,value:Array.from(e).reverse().reduce((c,u,d)=>{const h=c.length-1-d,p=l[h]===u&&a;return c[h]!==u||p?c.slice(0,h+1)+u+c.slice(h+1):c},o)}}:pd}function z1e(e){return e?({value:t,selection:n},o)=>
147{if(t.startsWith(e)||!t&&!o.value.startsWith(e))return{value:t,selection:n};const[i,s]=n,r=Array.from(e).reduce((l,c,u)=>l[u]===c?l:l.slice(0,u)+c+l.slice(u),t),a=r.length-t.length;return{selection:[i+a,s+a],value:r}}:pd}function uy(e,t,n){return(o,i)=>{const s=()=>t(o,i);return o.addEventListener(e,s,n),()=>o.removeEventListener(e,s,n)}}function U1e(e,{prefix:t,postfix:n,decimalSeparator:o,decimalPseudoSeparators:i,minusSign:s,minusPseudoSigns:r,maximumFractionDigits:a}){const l=[...i,o].map(b=>`\\${b}`).join(""),c=[...r,s].map(b=>`\\${b}`).join(""),u=t&&new RegExp(`^([${c}])?(${t.split("").map(Qn).join("?")}?)`),d=n&&new RegExp(`${n.split("").map(Qn).join("?")}?$`),[,,h=""]=e.match(u)??[],[p=""]=e.match(d)??[],f=e.replace(u,t&&"$1").replace(d,""),g=new RegExp(o&&a>0?`^[${l}]`:""),m=new RegExp(e.endsWith(n)?"":String.raw`^\d+`),v=new RegExp(o&&a>0?`[${l}]$`:""),y=new RegExp(e.startsWith(t)?"":String.raw`\d+$`);return{extractedPrefix:h.replace(v,"").replace(y,""),extractedPostfix:p.replace(g,"").replace(m,""),cleanValue:(y.exec(h)?.[0]??"")+(v.exec(h)?.[0]??"")+f+(m.exec(p)?.[0]??"")+(g.exec(p)?.[0]??"")}}function A_({decimalPseudoSeparators:e,decimalSeparator:t,maximumFractionDigits:n,min:o,minusSign:i,minusPseudoSigns:s,postfix:r,prefix:a,thousandSeparator:l}){const c=o<0&&[i,...s].includes(a)?"":pS(a),u=String.raw`\d`,d=o<0?`[${i}${s.map(v=>`\\${v}`).join("")}]?`:"",h=l?`[${u}${Qn(l).replaceAll(/\s/g,String.raw`\s`)}]*`:`[${u}]*`,p=Number.isFinite(n)?n:"",f=n>0?`([${Qn(t)}${e.map(Qn).join("")}]${u}{0,${p}})?`:"",g=pS(r),m=`(${d+c}|${c+d})`;return new RegExp(`^${m}${h}${f}${g}$`)}function pS(e){return e?`${e.split("").map(t=>`${Qn(t)}?`).join("")}`:""}function mo(e,t){const{extractedPrefix:n,cleanValue:o,extractedPostfix:i}=U1e(e,t),{decimalSeparator:s,minusSign:r,minusPseudoSigns:a,decimalPseudoSeparators:l,maximumFractionDigits:c}=t,[u="",d=""]=s?o.split(s):[o],h=[r,...a].map(g=>`\\${g}`).join(""),[,p="",f=""]=new RegExp(`^([${h}])?(.*)`).exec(u)||[];return{prefix:n,minus:p,integerPart:f,decimalPart:d,decimalSeparator:s&&c>0?new RegExp(`[${[s,...l].map(Qn).join("")}]`,"i").exec(o)?.[0]??"":"",postfix:i}}function vo({minus:e="",integerPart:t="",decimalPart:n="",prefix:o="",postfix:i="",decimalSeparator:s=""},r){const a=n?r.decimalSeparator:s;return`${r.negativePattern==="minusFirst"?e+o:o+e}${t}${a}${n}${i}`}function dy(e,{bigint:t=!1,decimalSeparator:n=".",maximumFractionDigits:o=0,minusPseudoSigns:i=D_,minusSign:s=cy,thousandSeparator:r=x_}={}){const a=!!new RegExp(`^\\D*[${Qn(s)}\\${i.join("\\")}]`).exec(e),l=Qn(n),c=e.replaceAll(new RegExp(`${l}(?!\\d)`,"g"),"").replaceAll(new RegExp(`[^\\d${o<=0&&n===r?"":l}]`,"g"),"").replace(n,n&&".");if(c){const u=a?ly:"";return t?BigInt(`${u}${c}`):+`${u}${c}`}return t?null:NaN}function j1e(e){const t=String(e),[n="",o]=t.split("e-");let i=t;if(o&&typeof e=="number"){const[,s]=n.split("."),r=Number(o)+(s?.length??0);i=e.toFixed(r)}return i}function Z1e({decimalSeparator:e,thousandSeparator:t,decimalPseudoSeparators:n=_1e}){return n.filter(o=>o!==t&&o!==e)}function K1e(e){return({elementState:t,data:n})=>{const{value:o}=t,{prefix:i,postfix:s,...r}=mo(n,e);return{elementState:t,data:vo({...r,prefix:o.startsWith(i)?"":i,postfix:o.endsWith(s)?"":s},e)}}}function q1e(e){const{minimumFractionDigits:t}=e;return t?({value:n,selection:o})=>{if(Number.isNaN(dy(n,e)))return{value:n,selection:o};const{decimalPart:i,...s}=mo(n,e);return{value:vo({...s,decimalPart:i.padEnd(t,"0")},e),selection:o}}:pd}function Y1e(e){return({value:t,selection:n})=>{const[o]=n,{prefix:i,minus:s,integerPart:r,decimalSeparator:a,decimalPart:l,postfix:c}=mo(t,e),u=!r&&!l&&a;return!r&&!Number(l)&&o===(s+i).length||u?{selection:n,value:vo({prefix:i,minus:s,postfix:c},e)}:{value:t,selection:n}}}function X1e(e){let t=!0;const n=A_({...e,prefix:"",postfix:"",thousandSeparator:"",maximumFractionDigits:1/0,min:-1/0});return({elementState:o,data:i})=>{if(!t)return{elementState:o,data:i};t=!1;const{value:s,selection:r}=o,[a,l]=r,{prefix:c,postfix:u,...d}=mo(s,e),h=vo(d,e),p=ay({selection:[Math.max(a-c.length,0),Math.max(l-c.length,0)],value:h},{mask:n}),f=h.slice(0,Math.max(l-c.length,0)).length-p.value.slice(0,p.selection[1]).length;return{elementState:{selection:[Math.max(a-f,0),Math.max(l-f,0)],value:vo({...mo(p.value,e),prefix:c,postfix:u},e)},data:i}}}function J1e(e){return({elementState:t},n)=>{const{value:o,selection:i}=t,[s,r]=i,{prefix:a,minusSign:l,negativePattern:c}=e,u=c==="prefixFirst"?a:l+a,d=vo({...mo(o,e),minus:""},e),h=o.length-d.length;return{elementState:n.includes("delete")&&o.includes(l)&&s<u.length?{value:d,selection:[Math.max(s-h,u.length-1),Math.max(r-h,u.length-1)]}:t}}}function Q1e(e){const{thousandSeparator:t}=e,n=i=>{const s=Qn(t);return i.replace(new RegExp(`^(\\D+)?[0${s}]+(?=0)`),"$1").replace(new RegExp(`^(\\D+)?[0${s}]+(?=[1-9])`),"$1")},o=(i,s)=>{const r=i.slice(0,s),a=i.slice(s).startsWith("0");return r.length-n(r).length+(a?1:0)};return({value:i,selection:s})=>{const[r,a]=s,{integerPart:l,...c}=mo(i,e),u=n(l);if(l===u)return{value:i,selection:s};const d=r-o(i,r),h=a-o(i,a);return{value:vo({...c,integerPart:u},e),selection:[Math.max(d,0),Math.max(h,0)]}}}function ege({min:e,max:t,decimalSeparator:n,minusSign:o,maximumFractionDigits:i}){return({value:s,selection:r})=>{const a=dy(s,{decimalSeparator:n,minusSign:o,bigint:!(i&&s.includes(n))})??NaN,l=a>0?rp(a,null,t):rp(a,e);if(a&&l!==a){const c=`${l}`.replace(".",n).replace(ly,o);return{value:c,selection:[c.length,c.length]}}return{value:s,selection:r}}}function tge({decimalSeparator:e,thousandSeparator:t,minimumFractionDigits:n}){return({elementState:o,data:i},s)=>{const{value:r,selection:a}=o,[l,c]=a,u=r.slice(l,c),d=n?[e,t]:[t],h=!!n&&l>r.indexOf(e)&&!!u.match(/^0+$/gi);return s!=="deleteBackward"&&s!=="deleteForward"||!d.includes(u)&&!h?{elementState:o,data:i}:{elementState:{value:r,selection:s==="deleteForward"?[c,c]:[l,l]},data:i}}}function nge(e){const{maximumFractionDigits:t,decimalSeparator:n}=e,o=new RegExp(`^\\D*${Qn(n)}`);return({elementState:i,data:s})=>{const{value:r,selection:a}=i,{prefix:l,postfix:c,...u}=mo(r,e),d=vo(u,e),[h,p]=a,f=rp(h-l.length,0,d.length),g=rp(p-l.length,0,d.length);if(t<=0||d.slice(0,f).includes(n)||d.slice(g).includes(n)||!s.match(o)
147)return{elementState:i,data:s};const m=/\d+/.exec(d.slice(0,f));return{elementState:i,data:m?s:`0${s}`}}}function oge({prefix:e,minusSign:t,negativePattern:n}){return({value:o,selection:i},s)=>z1e(o.includes(t)&&n==="minusFirst"?t+e:e)({value:o,selection:i},s)}function fS({validCharacter:e,pseudoCharacters:t,...n}){const o=new RegExp(`[${t.join("")}]`,"gi");return({elementState:i,data:s})=>{const{value:r,selection:a}=i,{prefix:l,postfix:c,...u}=mo(r,n),d=vo(u,n).replace(o,e);return{elementState:{selection:a,value:vo({...mo(d,n),prefix:l,postfix:c},n)},data:s.replace(o,e)}}}function ige(e){const{decimalSeparator:t}=e;return t?({elementState:n,data:o})=>{const{value:i,selection:s}=n,[r,a]=s;return{elementState:n,data:!mo(i,e).decimalSeparator||i.slice(r,a+1).includes(t)?o:o.replaceAll(new RegExp(Qn(t),"gi"),"")}}:pd}function sge(e){const{thousandSeparator:t}=e;if(!t)return pd;const n=(...o)=>o.every(i=>/\s/.test(i));return({value:o,selection:i})=>{const[s,r]=i;let[a,l]=i;const{prefix:c,minus:u,integerPart:d,decimalSeparator:h,decimalPart:p,postfix:f}=mo(o,e),g=vo({minus:u,integerPart:d,decimalSeparator:h,decimalPart:p},e).length-(u+d+(h?h+p:"")).length;g>0&&s&&s<=g&&(a-=g),g>0&&r&&r<=g&&(l-=g);const m=Array.from(d).reduceRight((v,y,b)=>{const S=!(!b&&y===t)&&!!v.length&&(v.length+1)%4===0,E=y===t||n(y,t);return S&&E?t+v:!S&&E?(a&&b<=s&&a--,l&&b<=r&&l--,v):S?(b<s&&a++,b<r&&l++,y+t+v):y+v},"");return{value:vo({prefix:c,minus:u,integerPart:m,decimalSeparator:h,decimalPart:p,postfix:f},e),selection:[a,l]}}}function rge(e){const{maximumFractionDigits:t,decimalSeparator:n}=e;if(t>0||!n)return pd;const o=new RegExp(`${Qn(n)}.*$`,"g");return({elementState:i,data:s})=>{const{value:r,selection:a}=i,{prefix:l,postfix:c,...u}=mo(r,e),[d,h]=a,p=vo(u,e).replace(o,""),f=vo({...mo(p,e),prefix:l,postfix:c},e);return{elementState:{selection:[Math.min(d,f.length),Math.min(h,f.length)],value:f},data:s.replace(o,"")}}}const gS=[0,0];function age(e){const t=Q1e(e);return uy("blur",n=>{const o=t({value:n.value,selection:gS},{value:"",selection:gS}).value;ry(n,o)},{capture:!0})}function lge({min:e,max:t,decimalSeparator:n,minusSign:o,maximumFractionDigits:i}){return uy("blur",(s,r)=>{const a=dy(s.value,{decimalSeparator:n,minusSign:o,bigint:!(i&&s.value.includes(n))})??NaN,l=rp(a,e,t);!Number.isNaN(a)&&a!==l&&ry(s,ay(j1e(l),r))},{capture:!0})}function cge(e){const{decimalSeparator:t}=e;return t?uy("blur",n=>{const{prefix:o,postfix:i,...s}=mo(n.value,e),r=vo(s,e).replace(new RegExp(`^(\\D+)?${Qn(t)}`),`$10${t}`),a=vo({...mo(r,e),prefix:o,postfix:i},e);ry(n,a)},{capture:!0}):H1e}function l3({max:e=1/0,min:t=-1/0,thousandSeparator:n=x_,decimalSeparator:o=".",decimalPseudoSeparators:i,prefix:s="",postfix:r="",minusSign:a=cy,minusPseudoSigns:l=D_.filter(h=>h!==n&&h!==o&&h!==a),maximumFractionDigits:c=0,minimumFractionDigits:u=0,negativePattern:d="prefixFirst"}={}){const h=Z1e({decimalSeparator:o,thousandSeparator:n,decimalPseudoSeparators:i}),p={max:e,min:t,thousandSeparator:n,postfix:r,minusSign:a,minusPseudoSigns:l,maximumFractionDigits:c,decimalPseudoSeparators:h,negativePattern:d,decimalSeparator:c<=0&&o===n?"":o,prefix:s.endsWith(o)&&c>0?`${s}${I1e}`:s,minimumFractionDigits:Math.min(u,c)};return{...iy,mask:A_(p),preprocessors:[W1e(),X1e(p),K1e(p),fS({...p,validCharacter:a,pseudoCharacters:l}),fS({...p,validCharacter:o,pseudoCharacters:h}),nge(p),tge(p),rge(p),ige(p),J1e(p)],postprocessors:[ege(p),oge(p),G1e(r),sge(p),q1e(p),Y1e(p)],plugins:[age(p),cge(p),lge(p)],overwriteMode:u>0?({value:f,selection:[g]})=>g<=f.indexOf(o)?"shift":"replace":"shift"}}const uge="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-ae'%20viewBox='0%200%20640%20480'%3e%3cpath%20fill='%2300732f'%20d='M0%200h640v160H0z'/%3e%3cpath%20fill='%23fff'%20d='M0%20160h640v160H0z'/%3e%3cpath%20fill='%23000001'%20d='M0%20320h640v160H0z'/%3e%3cpath%20fill='red'%20d='M0%200h220v480H0z'/%3e%3c/svg%3e",dge="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-ch'%20viewBox='0%200%20640%20480'%3e%3cg%20fill-rule='evenodd'%20stroke-width='1pt'%3e%3cpath%20fill='red'%20d='M0%200h640v480H0z'/%3e%3cg%20fill='%23fff'%3e%3cpath%20d='M170%20195h300v90H170z'/%3e%3cpath%20d='M275%2090h90v300h-90z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",hge="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20id='flag-icons-cn'%20viewBox='0%200%20640%20480'%3e%3cdefs%3e%3cpath%20id='cn-a'%20fill='%23ff0'%20d='M-.6.8%200-1%20.6.8-1-.3h2z'/%3e%3c/defs%3e%3cpath%20fill='%23ee1c25'%20d='M0%200h640v480H0z'/%3e%3cuse%20xlink:href='%23cn-a'%20width='30'%20height='20'%20transform='matrix(71.9991%200%200%2072%20120%20120)'/%3e%3cuse%20xlink:href='%23cn-a'%20width='30'%20height='20'%20transform='matrix(-12.33562%20-20.5871%2020.58684%20-12.33577%20240.3%2048)'/%3e%3cuse%20xlink:href='%23cn-a'%20width='30'%20height='20'%20transform='matrix(-3.38573%20-23.75998%2023.75968%20-3.38578%20288%2095.8)'/%3e%3cuse%20xlink:href='%23cn-a'%20width='30'%20height='20'%20transform='matrix(6.5991%20-23.0749%2023.0746%206.59919%20288%20168)'/%3e%3cuse%20xlink:href='%23cn-a'%20width='30'%20height='20'%20transform='matrix(14.9991%20-18.735
14757%2018.73533%2014.99929%20240%20216)'/%3e%3c/svg%3e",pge="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20id='flag-icons-eu'%20viewBox='0%200%20640%20480'%3e%3cdefs%3e%3cg%20id='eu-d'%3e%3cg%20id='eu-b'%3e%3cpath%20id='eu-a'%20d='m0-1-.3%201%20.5.1z'/%3e%3cuse%20xlink:href='%23eu-a'%20transform='scale(-1%201)'/%3e%3c/g%3e%3cg%20id='eu-c'%3e%3cuse%20xlink:href='%23eu-b'%20transform='rotate(72)'/%3e%3cuse%20xlink:href='%23eu-b'%20transform='rotate(144)'/%3e%3c/g%3e%3cuse%20xlink:href='%23eu-c'%20transform='scale(-1%201)'/%3e%3c/g%3e%3c/defs%3e%3cpath%20fill='%23039'%20d='M0%200h640v480H0z'/%3e%3cg%20fill='%23fc0'%20transform='translate(320%20242.3)scale(23.7037)'%3e%3cuse%20xlink:href='%23eu-d'%20width='100%25'%20height='100%25'%20y='-6'/%3e%3cuse%20xlink:href='%23eu-d'%20width='100%25'%20height='100%25'%20y='6'/%3e%3cg%20id='eu-e'%3e%3cuse%20xlink:href='%23eu-d'%20width='100%25'%20height='100%25'%20x='-6'/%3e%3cuse%20xlink:href='%23eu-d'%20width='100%25'%20height='100%25'%20transform='rotate(-144%20-2.3%20-2.1)'/%3e%3cuse%20xlink:href='%23eu-d'%20width='100%25'%20height='100%25'%20transform='rotate(144%20-2.1%20-2.3)'/%3e%3cuse%20xlink:href='%23eu-d'%20width='100%25'%20height='100%25'%20transform='rotate(72%20-4.7%20-2)'/%3e%3cuse%20xlink:href='%23eu-d'%20width='100%25'%20height='100%25'%20transform='rotate(72%20-5%20.5)'/%3e%3c/g%3e%3cuse%20xlink:href='%23eu-e'%20width='100%25'%20height='100%25'%20transform='scale(-1%201)'/%3e%3c/g%3e%3c/svg%3e",fge="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-gb'%20viewBox='0%200%20640%20480'%3e%3cpath%20fill='%23012169'%20d='M0%200h640v480H0z'/%3e%3cpath%20fill='%23FFF'%20d='m75%200%20244%20181L562%200h78v62L400%20241l240%20178v61h-80L320%20301%2081%20480H0v-60l239-178L0%2064V0z'/%3e%3cpath%20fill='%23C8102E'%20d='m424%20281%20216%20159v40L369%20281zm-184%2020%206%2035L54%20480H0zM640%200v3L391%20191l2-44L590%200zM0%200l239%20176h-60L0%2042z'/%3e%3cpath%20fill='%23FFF'%20d='M241%200v480h160V0zM0%20160v160h640V160z'/%3e%3cpath%20fill='%23C8102E'%20d='M0%20193v96h640v-96zM273%200v480h96V0z'/%3e%3c/svg%3e",gge="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20id='flag-icons-hk'%20viewBox='0%200%20640%20480'%3e%3cpath%20fill='%23EC1B2E'%20d='M0%200h640v480H0'/%3e%3cpath%20id='hk-a'%20fill='%23fff'%20d='M346.3%20103.1C267%2098%20230.6%20201.9%20305.6%20240.3c-26-22.4-20.6-55.3-10.1-72.4l1.9%201.1c-13.8%2023.5-11.2%2052.7%2011.1%2071-12.7-12.3-9.5-39%2012.1-48.9s23.6-39.3%2016.4-49.1q-14.7-25.6%209.3-38.9M307.9%20164l-4.7%207.4-1.8-8.6-8.6-2.3%207.8-4.3-.6-8.9%206.5%206.1%208.3-3.3-3.7%208.1%205.6%206.8z'/%3e%3cuse%20xlink:href='%23hk-a'%20transform='rotate(72%20312.5%20243.5)'/%3e%3cuse%20xlink:href='%23hk-a'%20transform='rotate(144%20312.5%20243.5)'/%3e%3cuse%20xlink:href='%23hk-a'%20transform='rotate(216%20312.5%20243.5)'/%3e%3cuse%20xlink:href='%23hk-a'%20transform='rotate(288%20312.5%20243.5)'/%3e%3c/svg%3e",mge="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-il'%20viewBox='0%200%20640%20480'%3e%3cdefs%3e%3cclipPath%20id='il-a'%3e%3cpath%20fill-opacity='.7'%20d='M-87.6%200H595v512H-87.6z'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20fill-rule='evenodd'%20clip-path='url(%23il-a)'%20transform='translate(82.1)scale(.94)'%3e%3cpath%20fill='%23fff'%20d='M619.4%20512H-112V0h731.4z'/%3e%3cpath%20fill='%230038b8'%20d='M619.4%20115.2H-112V48h731.4zm0%20350.5H-112v-67.2h731.4zm-483-275%20110.1%20191.6L359%20191.6z'/%3e%3cpath%20fill='%23fff'%20d='m225.8%20317.8%2020.9%2035.5%2021.4-35.3z'/%3e%3cpath%20fill='%230038b8'%20d='M136%20320.6%20246.2%20129l112.4%20190.8z'/%3e%3cpath%20fill='%23fff'%20d='m225.8%20191.6%2020.9-35.5%2021.4%2035.4zM182%20271.1l-21.7%2036%2041-.1-19.3-36zm-21.3-66.5%2041.2.3-19.8%2036.3zm151.2%2067%2020.9%2035.5-41.7-.5zm20.5-67-41.2.3%2019.8%2036.3zm-114.3%200L189.7%20256l28.8%2050.3%2052.8%201.2%2032-51.5-29.6-52z'/%3e%3c/g%3e%3c/svg%3e",vge="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20id='flag-icons-in'%20viewBox='0%200%20640%20480'%3e%3cpath%20fill='%23f93'%20d='M0%200h640v160H0z'/%3e%3cpath%20fill='%23fff'%20d='M0%20160h640v160H0z'/%3e%3cpath%20fill='%23128807'%20d='M0%20320h64
1470v160H0z'/%3e%3cg%20transform='matrix(3.2%200%200%203.2%20320%20240)'%3e%3ccircle%20r='20'%20fill='%23008'/%3e%3ccircle%20r='17.5'%20fill='%23fff'/%3e%3ccircle%20r='3.5'%20fill='%23008'/%3e%3cg%20id='in-d'%3e%3cg%20id='in-c'%3e%3cg%20id='in-b'%3e%3cg%20id='in-a'%20fill='%23008'%3e%3ccircle%20r='.9'%20transform='rotate(7.5%20-8.8%20133.5)'/%3e%3cpath%20d='M0%2017.5.6%207%200%202l-.6%205z'/%3e%3c/g%3e%3cuse%20xlink:href='%23in-a'%20width='100%25'%20height='100%25'%20transform='rotate(15)'/%3e%3c/g%3e%3cuse%20xlink:href='%23in-b'%20width='100%25'%20height='100%25'%20transform='rotate(30)'/%3e%3c/g%3e%3cuse%20xlink:href='%23in-c'%20width='100%25'%20height='100%25'%20transform='rotate(60)'/%3e%3c/g%3e%3cuse%20xlink:href='%23in-d'%20width='100%25'%20height='100%25'%20transform='rotate(120)'/%3e%3cuse%20xlink:href='%23in-d'%20width='100%25'%20height='100%25'%20transform='rotate(-120)'/%3e%3c/g%3e%3c/svg%3e",Cge="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-jp'%20viewBox='0%200%20640%20480'%3e%3cdefs%3e%3cclipPath%20id='jp-a'%3e%3cpath%20fill-opacity='.7'%20d='M-88%2032h640v480H-88z'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20fill-rule='evenodd'%20stroke-width='1pt'%20clip-path='url(%23jp-a)'%20transform='translate(88%20-32)'%3e%3cpath%20fill='%23fff'%20d='M-128%2032h720v480h-720z'/%3e%3ccircle%20cx='523.1'%20cy='344.1'%20r='194.9'%20fill='%23bc002d'%20transform='translate(-168.4%208.6)scale(.76554)'/%3e%3c/g%3e%3c/svg%3e",bge="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20id='flag-icons-kr'%20viewBox='0%200%20640%20480'%3e%3cdefs%3e%3cclipPath%20id='kr-a'%3e%3cpath%20fill-opacity='.7'%20d='M-95.8-.4h682.7v512H-95.8z'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20fill-rule='evenodd'%20clip-path='url(%23kr-a)'%20transform='translate(89.8%20.4)scale(.9375)'%3e%3cpath%20fill='%23fff'%20d='M-95.8-.4H587v512H-95.8Z'/%3e%3cg%20transform='rotate(-56.3%20361.6%20-101.3)scale(10.66667)'%3e%3cg%20id='kr-c'%3e%3cpath%20id='kr-b'%20fill='%23000001'%20d='M-6-26H6v2H-6Zm0%203H6v2H-6Zm0%203H6v2H-6Z'/%3e%3cuse%20xlink:href='%23kr-b'%20width='100%25'%20height='100%25'%20y='44'/%3e%3c/g%3e%3cpath%20stroke='%23fff'%20d='M0%2017v10'/%3e%3cpath%20fill='%23cd2e3a'%20d='M0-12a12%2012%200%200%201%200%2024Z'/%3e%3cpath%20fill='%230047a0'%20d='M0-12a12%2012%200%200%200%200%2024A6%206%200%200%200%200%200Z'/%3e%3ccircle%20cy='-6'%20r='6'%20fill='%23cd2e3a'/%3e%3c/g%3e%3cg%20transform='rotate(-123.7%20191.2%2062.2)scale(10.66667)'%3e%3cuse%20xlink:href='%23kr-c'%20width='100%25'%20height='100%25'/%3e%3cpath%20stroke='%23fff'%20d='M0-23.5v3M0%2017v3.5m0%203v3'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",yge="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-ru'%20viewBox='0%200%20640%20480'%3e%3cg%20fill-rule='evenodd'%20stroke-width='1pt'%3e%3cpath%20fill='%23fff'%20d='M0%200h640v480H0z'/%3e%3cpath%20fill='%230039a6'%20d='M0%20160h640v320H0z'/%3e%3cpath%20fill='%23d52b1e'%20d='M0%20320h640v160H0z'/%3e%3c/g%3e%3c/svg%3e",wge="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-sg'%20viewBox='0%200%20640%20480'%3e%3cdefs%3e%3cclipPath%20id='sg-a'%3e%3cpath%20fill-opacity='.7'%20d='M0%200h640v480H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20fill-rule='evenodd'%20clip-path='url(%23sg-a)'%3e%3cpath%20fill='%23fff'%20d='M-20%200h720v480H-20z'/%3e%3cpath%20fill='%23df0000'%20d='M-20%200h720v240H-20z'/%3e%3cpath%20fill='%23fff'%20d='M146%2040.2a84.4%2084.4%200%200%200%20.8%20165.2%2086%2086%200%200%201-106.6-59%2086%2086%200%200%201%2059-106c16-4.6%2030.8-4.7%2046.9-.2z'/%3e%3cpath%20fill='%23fff'%20d='m133%20110%204.9%2015-13-9.2-12.8%209.4%204.7-15.2-12.8-9.3%2015.9-.2%205-15%205%2015h15.8zm17.5%2052%205%2015.1-13-9.2-12.9%209.3%204.8-15.1-12.8-9.4%2015.9-.1%204.9-15.1%205%2015h16zm58.5-.4%204.9%2015.2-13-9.3-12.8%209.3%204.7-15.1-12.8-9.3%2015.9-.2%205-15%205%2015h15.8zm17.4-51.6%204.9%2015.1-13-9.2-12.8%209.3%204.8-15.1-12.9-9.4%2016-.1%204.8-15.1%205%2015h16zm-46.3-34.3%205%2015.2-13-9.3-12.9%209.4%204.8-15.2-12.8-9.4%2015.8-.1%205-15.1%205%2015h16z'/%3e%3c/g%3e%3c/svg%3e",Sge="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-th'%20viewBox='0%200%20640%20480'%3e%3cg%20fill-rule='evenodd'%3e%3cpath%20fill='%23f4f5f8'%20d='M0%200h640v480H0z'/%3e%3cpath%20fill='%232d2a4a'%2
vendor: 6,043 bytes, lines 147-153
1470d='M0%20162.5h640v160H0z'/%3e%3cpath%20fill='%23a51931'%20d='M0%200h640v82.5H0zm0%20400h640v80H0z'/%3e%3c/g%3e%3c/svg%3e",Ege="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-ua'%20viewBox='0%200%20640%20480'%3e%3cg%20fill-rule='evenodd'%20stroke-width='1pt'%3e%3cpath%20fill='gold'%20d='M0%200h640v480H0z'/%3e%3cpath%20fill='%230057b8'%20d='M0%200h640v240H0z'/%3e%3c/g%3e%3c/svg%3e",Tge="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20id='flag-icons-us'%20viewBox='0%200%20640%20480'%3e%3cpath%20fill='%23bd3d44'%20d='M0%200h640v480H0'/%3e%3cpath%20stroke='%23fff'%20stroke-width='37'%20d='M0%2055.3h640M0%20129h640M0%20203h640M0%20277h640M0%20351h640M0%20425h640'/%3e%3cpath%20fill='%23192f5d'%20d='M0%200h364.8v258.5H0'/%3e%3cmarker%20id='us-a'%20markerHeight='30'%20markerWidth='30'%3e%3cpath%20fill='%23fff'%20d='m14%200%209%2027L0%2010h28L5%2027z'/%3e%3c/marker%3e%3cpath%20fill='none'%20marker-mid='url(%23us-a)'%20d='m0%200%2016%2011h61%2061%2061%2061%2060L47%2037h61%2061%2060%2061L16%2063h61%2061%2061%2061%2060L47%2089h61%2061%2060%2061L16%20115h61%2061%2061%2061%2060L47%20141h61%2061%2060%2061L16%20166h61%2061%2061%2061%2060L47%20192h61%2061%2060%2061L16%20218h61%2061%2061%2061%2060z'/%3e%3c/svg%3e";/*!
148 *  decimal.js v10.6.0
149 *  An arbitrary-precision Decimal type for JavaScript.
150 *  https://github.com/MikeMcl/decimal.js
151 *  Copyright (c) 2025 Michael Mclaughlin <[email protected]>
152 *  MIT Licence
153 */var Qc=9e15,tl=1e9,c3="0123456789abcdef",bm="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",ym="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",u3={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-Qc,maxE:Qc,crypto:!1},__,pr,gt=!0,D0="[DecimalError] ",Ba=D0+"Invalid argument: ",I_=D0+"Precision limit exceeded",F_=D0+"crypto unavailable",O_="[object Decimal]",Co=Math.floor,Vn=Math.pow,Rge=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,Pge=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,Mge=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,N_=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Ji=1e7,ct=7,Lge=9007199254740991,xge=bm.length-1,d3=ym.length-1,De={toStringTag:O_};De.absoluteValue=De.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),it(e)};De.ceil=function(){return it(new this.constructor(this),this.e+1,2)};De.clampedTo=De.clamp=function(e,t){var n,o=this,i=o.constructor;if(e=new i(e),t=new i(t),!e.s||!t.s)return new i(NaN);if(e.gt(t))throw Error(Ba+t);return n=o.cmp(e),n<0?e:o.cmp(t)>0?t:new i(o)};De.comparedTo=De.cmp=function(e){var t,n,o,i,s=this,r=s.d,a=(e=new s.constructor(e)).d,l=s.s,c=e.s;if(!r||!a)return!l||!c?NaN:l!==c?l:r===a?0:!r^l<0?1:-1;if(!r[0]||!a[0])return r[0]?l:a[0]?-c:0;if(l!==c)return l;if(s.e!==e.e)return s.e>e.e^l<0?1:-1;for(o=r.length,i=a.length,t=0,n=o<i?o:i;t<n;++t)if(r[t]!==a[t])return r[t]>a[t]^l<0?1:-1;return o===i?0:o>i^l<0?1:-1};De.cosine=De.cos=function(){var e,t,n=this,o=n.constructor;return n.d?n.d[0]?(e=o.precision,t=o.rounding,o.precision=e+Math.max(n.e,n.sd())+ct,o.rounding=1,n=Dge(o,W_(o,n)),o.precision=e,o.rounding=t,it(pr==2||pr==3?n.neg():n,e,t,!0)):new o(1):new o(NaN)};De.cubeRoot=De.cbrt=function(){var e,t,n,o,i,s,r,a,l,c,u=this,d=u.constructor;if(!u.isFinite()||u.isZero())return new d(u);for(gt=!1,s=u.s*Vn(u.s*u,1/3),!s||Math.abs(s)==1/0?(n=Yn(u.d),e=u.e,(s=(e-n.length+1)%3)&&(n+=s==1||s==-2?"0":"00"),s=Vn(n,1/3),e=Co((e+1)/3)-(e%3==(e<0?-1:2)),s==1/0?n="5e"+e:(n=s.toExponential(),n=n.slice(0,n.indexOf("e")+1)+e),o=new d(n),o.s=u.s):o=new d(s.toString()),r=(e=d.precision)+3;;)if(a=o,l=a.times(a).times(a),c=l.plus(u),o=an(c.plus(u).times(a),c.plus(l),r+2,1),Yn(a.d).slice(0,r)===(n=Yn(o.d)).slice(0,r))if(n=n.slice(r-3,r+1),n=="9999"||!i&&n=="4999"){if(!i&&(it(a,e+1,0),a.times(a).times(a).eq(u))){o=a;break}r+=4,i=1}else{(!+n||!+n.slice(1)&&n.charAt(0)=="5")&&(it(o,e+1,1),t=!o.times(o).times(o).eq(u));break}return gt=!0,it(o,e,d.rounding,t)};De.decimalPlaces=De.dp=function(){var e,t=this.d,n=NaN;if(t){if(e=t.length-1,n=(e-Co(this.e/ct))*ct,e=t[e],e)for(;e%10==0;e/=10)n--;n<0&&(n=0)}return n};
vendor: 4,324 bytes, line 153
153De.dividedBy=De.div=function(e){return an(this,new this.constructor(e))};De.dividedToIntegerBy=De.divToInt=function(e){var t=this,n=t.constructor;return it(an(t,new n(e),0,1,1),n.precision,n.rounding)};De.equals=De.eq=function(e){return this.cmp(e)===0};De.floor=function(){return it(new this.constructor(this),this.e+1,3)};De.greaterThan=De.gt=function(e){return this.cmp(e)>0};De.greaterThanOrEqualTo=De.gte=function(e){var t=this.cmp(e);return t==1||t===0};De.hyperbolicCosine=De.cosh=function(){var e,t,n,o,i,s=this,r=s.constructor,a=new r(1);if(!s.isFinite())return new r(s.s?1/0:NaN);if(s.isZero())return a;n=r.precision,o=r.rounding,r.precision=n+Math.max(s.e,s.sd())+4,r.rounding=1,i=s.d.length,i<32?(e=Math.ceil(i/3),t=(1/A0(4,e)).toString()):(e=16,t="2.3283064365386962890625e-10"),s=Wu(r,1,s.times(t),new r(1),!0);for(var l,c=e,u=new r(8);c--;)l=s.times(s),s=a.minus(l.times(u.minus(l.times(u))));return it(s,r.precision=n,r.rounding=o,!0)};De.hyperbolicSine=De.sinh=function(){var e,t,n,o,i=this,s=i.constructor;if(!i.isFinite()||i.isZero())return new s(i);if(t=s.precision,n=s.rounding,s.precision=t+Math.max(i.e,i.sd())+4,s.rounding=1,o=i.d.length,o<3)i=Wu(s,2,i,i,!0);else{e=1.4*Math.sqrt(o),e=e>16?16:e|0,i=i.times(1/A0(5,e)),i=Wu(s,2,i,i,!0);for(var r,a=new s(5),l=new s(16),c=new s(20);e--;)r=i.times(i),i=i.times(a.plus(r.times(l.times(r).plus(c))))}return s.precision=t,s.rounding=n,it(i,t,n,!0)};De.hyperbolicTangent=De.tanh=function(){var e,t,n=this,o=n.constructor;return n.isFinite()?n.isZero()?new o(n):(e=o.precision,t=o.rounding,o.precision=e+7,o.rounding=1,an(n.sinh(),n.cosh(),o.precision=e,o.rounding=t)):new o(n.s)};De.inverseCosine=De.acos=function(){var e=this,t=e.constructor,n=e.abs().cmp(1),o=t.precision,i=t.rounding;return n!==-1?n===0?e.isNeg()?Ps(t,o,i):new t(0):new t(NaN):e.isZero()?Ps(t,o+4,i).times(.5):(t.precision=o+6,t.rounding=1,e=new t(1).minus(e).div(e.plus(1)).sqrt().atan(),t.precision=o,t.rounding=i,e.times(2))};De.inverseHyperbolicCosine=De.acosh=function(){var e,t,n=this,o=n.constructor;return n.lte(1)?new o(n.eq(1)?0:NaN):n.isFinite()?(e=o.precision,t=o.rounding,o.precision=e+Math.max(Math.abs(n.e),n.sd())+4,o.rounding=1,gt=!1,n=n.times(n).minus(1).sqrt().plus(n),gt=!0,o.precision=e,o.rounding=t,n.ln()):new o(n)};De.inverseHyperbolicSine=De.asinh=function(){var e,t,n=this,o=n.constructor;return!n.isFinite()||n.isZero()?new o(n):(e=o.precision,t=o.rounding,o.precision=e+2*Math.max(Math.abs(n.e),n.sd())+6,o.rounding=1,gt=!1,n=n.times(n).plus(1).sqrt().plus(n),gt=!0,o.precision=e,o.rounding=t,n.ln())};De.inverseHyperbolicTangent=De.atanh=function(){var e,t,n,o,i=this,s=i.constructor;return i.isFinite()?i.e>=0?new s(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=s.precision,t=s.rounding,o=i.sd(),Math.max(o,e)<2*-i.e-1?it(new s(i),e,t,!0):(s.precision=n=o-i.e,i=an(i.plus(1),new s(1).minus(i),n+e,1),s.precision=e+4,s.rounding=1,i=i.ln(),s.precision=e,s.rounding=t,i.times(.5))):new s(NaN)};De.inverseSine=De.asin=function(){var e,t,n,o,i=this,s=i.constructor;return i.isZero()?new s(i):(t=i.abs().cmp(1),n=s.precision,o=s.rounding,t!==-1?t===0?(e=Ps(s,n+4,o).times(.5),e.s=i.s,e):new s(NaN):(s.precision=n+6,s.rounding=1,i=i.div(new s(1).minus(i.times(i)).sqrt().plus(1)).atan(),s.precision=n,s.rounding=o,i.times(2)))};De.inverseTangent=De.atan=function(){var e,t,n,o,i,s,r,a,l,c=this,u=c.constructor,d=u.precision,h=u.rounding;if(c.isFinite()){if(c.isZero())return new u(c);if(c.abs().eq(1)&&d+4<=d3)return r=Ps(u,d+4,h).times(.25),r.s=c.s,r}else{if(!c.s)return new u(NaN);if(d+4<=d3)return r=Ps(u,d+4,h).times(.5),r.s=c.s,r}for(u.precision=a=d+10,u.rounding=1,n=Math.min(28,a/ct+2|0),e=n;e;--e)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(gt=!1,t=Math.ceil(a/ct),o=1,l=c.times(c),r=new u(c),i=c;e!==-1;)if(i=i.times(l),s=r.minus(i.div(o+=2)),i=i.times(l),r=s.plus(i.div(o+=2)),r.d[t]!==void 0)for(e=t;r.d[e]===s.d[e]&&e--;);return n&&(r=r.times(2<<n-1)),gt=!0,it(r,u.precision=d,u.rounding=h,!0)};De.isFinite=function(){return!!this.d};De.isInteger=De.isInt=function(){return!!this.d&&Co(this.e/ct)>this.d.length-2};De.isNaN=function(){return!this.s};De.isNegative=De.isNeg=function(){return this.s<0};De.isPositive=De.isPos=function(){return this.s>0};De.isZero=function(){return!!this.d&&this.d[0]===0};De.lessThan=De.lt=function(e){return this.cmp(e)<0}
vendor: 5,478 bytes, line 153
153;De.lessThanOrEqualTo=De.lte=function(e){return this.cmp(e)<1};De.logarithm=De.log=function(e){var t,n,o,i,s,r,a,l,c=this,u=c.constructor,d=u.precision,h=u.rounding,p=5;if(e==null)e=new u(10),t=!0;else{if(e=new u(e),n=e.d,e.s<0||!n||!n[0]||e.eq(1))return new u(NaN);t=e.eq(10)}if(n=c.d,c.s<0||!n||!n[0]||c.eq(1))return new u(n&&!n[0]?-1/0:c.s!=1?NaN:n?0:1/0);if(t)if(n.length>1)s=!0;else{for(i=n[0];i%10===0;)i/=10;s=i!==1}if(gt=!1,a=d+p,r=wa(c,a),o=t?wm(u,a+10):wa(e,a),l=an(r,o,a,1),ap(l.d,i=d,h))do if(a+=10,r=wa(c,a),o=t?wm(u,a+10):wa(e,a),l=an(r,o,a,1),!s){+Yn(l.d).slice(i+1,i+15)+1==1e14&&(l=it(l,d+1,0));break}while(ap(l.d,i+=10,h));return gt=!0,it(l,d,h)};De.minus=De.sub=function(e){var t,n,o,i,s,r,a,l,c,u,d,h,p=this,f=p.constructor;if(e=new f(e),!p.d||!e.d)return!p.s||!e.s?e=new f(NaN):p.d?e.s=-e.s:e=new f(e.d||p.s!==e.s?p:NaN),e;if(p.s!=e.s)return e.s=-e.s,p.plus(e);if(c=p.d,h=e.d,a=f.precision,l=f.rounding,!c[0]||!h[0]){if(h[0])e.s=-e.s;else if(c[0])e=new f(p);else return new f(l===3?-0:0);return gt?it(e,a,l):e}if(n=Co(e.e/ct),u=Co(p.e/ct),c=c.slice(),s=u-n,s){for(d=s<0,d?(t=c,s=-s,r=h.length):(t=h,n=u,r=c.length),o=Math.max(Math.ceil(a/ct),r)+2,s>o&&(s=o,t.length=1),t.reverse(),o=s;o--;)t.push(0);t.reverse()}else{for(o=c.length,r=h.length,d=o<r,d&&(r=o),o=0;o<r;o++)if(c[o]!=h[o]){d=c[o]<h[o];break}s=0}for(d&&(t=c,c=h,h=t,e.s=-e.s),r=c.length,o=h.length-r;o>0;--o)c[r++]=0;for(o=h.length;o>s;){if(c[--o]<h[o]){for(i=o;i&&c[--i]===0;)c[i]=Ji-1;--c[i],c[o]+=Ji}c[o]-=h[o]}for(;c[--r]===0;)c.pop();for(;c[0]===0;c.shift())--n;return c[0]?(e.d=c,e.e=k0(c,n),gt?it(e,a,l):e):new f(l===3?-0:0)};De.modulo=De.mod=function(e){var t,n=this,o=n.constructor;return e=new o(e),!n.d||!e.s||e.d&&!e.d[0]?new o(NaN):!e.d||n.d&&!n.d[0]?it(new o(n),o.precision,o.rounding):(gt=!1,o.modulo==9?(t=an(n,e.abs(),0,3,1),t.s*=e.s):t=an(n,e,0,o.modulo,1),t=t.times(e),gt=!0,n.minus(t))};De.naturalExponential=De.exp=function(){return h3(this)};De.naturalLogarithm=De.ln=function(){return wa(this)};De.negated=De.neg=function(){var e=new this.constructor(this);return e.s=-e.s,it(e)};De.plus=De.add=function(e){var t,n,o,i,s,r,a,l,c,u,d=this,h=d.constructor;if(e=new h(e),!d.d||!e.d)return!d.s||!e.s?e=new h(NaN):d.d||(e=new h(e.d||d.s===e.s?d:NaN)),e;if(d.s!=e.s)return e.s=-e.s,d.minus(e);if(c=d.d,u=e.d,a=h.precision,l=h.rounding,!c[0]||!u[0])return u[0]||(e=new h(d)),gt?it(e,a,l):e;if(s=Co(d.e/ct),o=Co(e.e/ct),c=c.slice(),i=s-o,i){for(i<0?(n=c,i=-i,r=u.length):(n=u,o=s,r=c.length),s=Math.ceil(a/ct),r=s>r?s+1:r+1,i>r&&(i=r,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for(r=c.length,i=u.length,r-i<0&&(i=r,n=u,u=c,c=n),t=0;i;)t=(c[--i]=c[i]+u[i]+t)/Ji|0,c[i]%=Ji;for(t&&(c.unshift(t),++o),r=c.length;c[--r]==0;)c.pop();return e.d=c,e.e=k0(c,o),gt?it(e,a,l):e};De.precision=De.sd=function(e){var t,n=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(Ba+e);return n.d?(t=B_(n.d),e&&n.e+1>t&&(t=n.e+1)):t=NaN,t};De.round=function(){var e=this,t=e.constructor;return it(new t(e),e.e+1,t.rounding)};De.sine=De.sin=function(){var e,t,n=this,o=n.constructor;return n.isFinite()?n.isZero()?new o(n):(e=o.precision,t=o.rounding,o.precision=e+Math.max(n.e,n.sd())+ct,o.rounding=1,n=Age(o,W_(o,n)),o.precision=e,o.rounding=t,it(pr>2?n.neg():n,e,t,!0)):new o(NaN)};De.squareRoot=De.sqrt=function(){var e,t,n,o,i,s,r=this,a=r.d,l=r.e,c=r.s,u=r.constructor;if(c!==1||!a||!a[0])return new u(!c||c<0&&(!a||a[0])?NaN:a?r:1/0);for(gt=!1,c=Math.sqrt(+r),c==0||c==1/0?(t=Yn(a),(t.length+l)%2==0&&(t+="0"),c=Math.sqrt(t),l=Co((l+1)/2)-(l<0||l%2),c==1/0?t="5e"+l:(t=c.toExponential(),t=t.slice(0,t.indexOf("e")+1)+l),o=new u(t)):o=new u(c.toString()),n=(l=u.precision)+3;;)if(s=o,o=s.plus(an(r,s,n+2,1)).times(.5),Yn(s.d).slice(0,n)===(t=Yn(o.d)).slice(0,n))if(t=t.slice(n-3,n+1),t=="9999"||!i&&t=="4999"){if(!i&&(it(s,l+1,0),s.times(s).eq(r))){o=s;break}n+=4,i=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(it(o,l+1,1),e=!o.times(o).eq(r));break}return gt=!0,it(o,l,u.rounding,e)};De.tangent=De.tan=function(){var e,t,n=this,o=n.constructor;return n.isFinite()?n.isZero()?new o(n):(e=o.precision,t=o.rounding,o.precision=e+10,o.rounding=1,n=n.sin(),n.s=1,n=an(n,new o(1).minus(n.times(n)).sqrt(),e+10,0),o.precision=e,o.rounding=t,it(pr==2||pr==4?n.neg():n,e,t,!0)):new o(NaN)};De.times=De.mul=function(e){var t,n,o,i,s,r,a,l,c,u=this,d=u.constructor,h=u.d,p=(e=new d(e)).d;if(e.s*=u.s,!h||!h[0]||!p||!p[0])return new d(!e.s||h&&!h[0]&&!p||p&&!p[0]&&!h?NaN:!h||!p?e.s/0:e.s*0);for(n=Co(u.e/ct)+Co(e.e/ct),l=h.length,c=p.length,l<c&&(s=h,h=p,p=s,r=l,l=c,c=r),s=[],r=l+c,o=r;o--;)s.push(0);for(o=c;--o>=0;){for(t=0,i=l+o;i>o;)a=s[i]+p[o]*h[i-o-1]+t,s[i--]=a%Ji|0,t=a/Ji|0;s[i]=(s[i]+t)%Ji|0}for(;!s[--r];)s.pop();return t?++n:s.shift(),e.d=s,e.e=k0(s,n),gt?it(e,d.precision,d.rounding):e};De.toBinary=function(e,t){return hy(this,2,e,t)};De.toDecimalPlaces=De.toDP=function(e,t){var n=this,o=n.constructor;return n=new o(n),e===void 0?n:(Wo(e,0,tl),t===void 0?t=o.rounding:Wo(t,0,8),it(n,e+n.e+1,t))};De.toExponential=function(e,t){var n,o=this,i=o.constructor;return e===void 0?n=Hs(o,!0):(Wo(e,0,tl),t===void 0?t=i.rounding:Wo(t,0,8),o=it(new i(o),e+1,t),n=Hs(o,!0,e+1)),o.isNeg()&&!o.isZero()?"-"+n:n};De.toFixed=function(e,t){var n,o,i=this,s=i.constructor;return e===void 0?n=Hs(i):(Wo(e,0,tl),t===void 0?t=s.rounding:Wo(t,0,8),o=it(new s(i),e+i.e+1,t),n=Hs(o,!1,e+o.e+1)),i.isNeg()&&!i.isZero()?"-"+n:n};De.toFraction=function(e){var t,n,o,i,s,r,a,l,c,u,d,h,p=this,f=p.d,g=p.c
vendor: 13,570 bytes, line 153
153onstructor;if(!f)return new g(p);if(c=n=new g(1),o=l=new g(0),t=new g(o),s=t.e=B_(f)-p.e-1,r=s%ct,t.d[0]=Vn(10,r<0?ct+r:r),e==null)e=s>0?t:c;else{if(a=new g(e),!a.isInt()||a.lt(c))throw Error(Ba+a);e=a.gt(t)?s>0?t:c:a}for(gt=!1,a=new g(Yn(f)),u=g.precision,g.precision=s=f.length*ct*2;d=an(a,t,0,1,1),i=n.plus(d.times(o)),i.cmp(e)!=1;)n=o,o=i,i=c,c=l.plus(d.times(i)),l=i,i=t,t=a.minus(d.times(i)),a=i;return i=an(e.minus(n),o,0,1,1),l=l.plus(i.times(c)),n=n.plus(i.times(o)),l.s=c.s=p.s,h=an(c,o,s,1).minus(p).abs().cmp(an(l,n,s,1).minus(p).abs())<1?[c,o]:[l,n],g.precision=u,gt=!0,h};De.toHexadecimal=De.toHex=function(e,t){return hy(this,16,e,t)};De.toNearest=function(e,t){var n=this,o=n.constructor;if(n=new o(n),e==null){if(!n.d)return n;e=new o(1),t=o.rounding}else{if(e=new o(e),t===void 0?t=o.rounding:Wo(t,0,8),!n.d)return e.s?n:e;if(!e.d)return e.s&&(e.s=n.s),e}return e.d[0]?(gt=!1,n=an(n,e,0,t,1).times(e),gt=!0,it(n)):(e.s=n.s,n=e),n};De.toNumber=function(){return+this};De.toOctal=function(e,t){return hy(this,8,e,t)};De.toPower=De.pow=function(e){var t,n,o,i,s,r,a=this,l=a.constructor,c=+(e=new l(e));if(!a.d||!e.d||!a.d[0]||!e.d[0])return new l(Vn(+a,c));if(a=new l(a),a.eq(1))return a;if(o=l.precision,s=l.rounding,e.eq(1))return it(a,o,s);if(t=Co(e.e/ct),t>=e.d.length-1&&(n=c<0?-c:c)<=Lge)return i=H_(l,a,n,o),e.s<0?new l(1).div(i):it(i,o,s);if(r=a.s,r<0){if(t<e.d.length-1)return new l(NaN);if((e.d[t]&1)==0&&(r=1),a.e==0&&a.d[0]==1&&a.d.length==1)return a.s=r,a}return n=Vn(+a,c),t=n==0||!isFinite(n)?Co(c*(Math.log("0."+Yn(a.d))/Math.LN10+a.e+1)):new l(n+"").e,t>l.maxE+1||t<l.minE-1?new l(t>0?r/0:0):(gt=!1,l.rounding=a.s=1,n=Math.min(12,(t+"").length),i=h3(e.times(wa(a,o+n)),o),i.d&&(i=it(i,o+5,1),ap(i.d,o,s)&&(t=o+10,i=it(h3(e.times(wa(a,t+n)),t),t+5,1),+Yn(i.d).slice(o+1,o+15)+1==1e14&&(i=it(i,o+1,0)))),i.s=r,gt=!0,l.rounding=s,it(i,o,s))};De.toPrecision=function(e,t){var n,o=this,i=o.constructor;return e===void 0?n=Hs(o,o.e<=i.toExpNeg||o.e>=i.toExpPos):(Wo(e,1,tl),t===void 0?t=i.rounding:Wo(t,0,8),o=it(new i(o),e,t),n=Hs(o,e<=o.e||o.e<=i.toExpNeg,e)),o.isNeg()&&!o.isZero()?"-"+n:n};De.toSignificantDigits=De.toSD=function(e,t){var n=this,o=n.constructor;return e===void 0?(e=o.precision,t=o.rounding):(Wo(e,1,tl),t===void 0?t=o.rounding:Wo(t,0,8)),it(new o(n),e,t)};De.toString=function(){var e=this,t=e.constructor,n=Hs(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+n:n};De.truncated=De.trunc=function(){return it(new this.constructor(this),this.e+1,1)};De.valueOf=De.toJSON=function(){var e=this,t=e.constructor,n=Hs(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+n:n};function Yn(e){var t,n,o,i=e.length-1,s="",r=e[0];if(i>0){for(s+=r,t=1;t<i;t++)o=e[t]+"",n=ct-o.length,n&&(s+=va(n)),s+=o;r=e[t],o=r+"",n=ct-o.length,n&&(s+=va(n))}else if(r===0)return"0";for(;r%10===0;)r/=10;return s+r}function Wo(e,t,n){if(e!==~~e||e<t||e>n)throw Error(Ba+e)}function ap(e,t,n,o){var i,s,r,a;for(s=e[0];s>=10;s/=10)--t;return--t<0?(t+=ct,i=0):(i=Math.ceil((t+1)/ct),t%=ct),s=Vn(10,ct-t),a=e[i]%s|0,o==null?t<3?(t==0?a=a/100|0:t==1&&(a=a/10|0),r=n<4&&a==99999||n>3&&a==49999||a==5e4||a==0):r=(n<4&&a+1==s||n>3&&a+1==s/2)&&(e[i+1]/s/100|0)==Vn(10,t-2)-1||(a==s/2||a==0)&&(e[i+1]/s/100|0)==0:t<4?(t==0?a=a/1e3|0:t==1?a=a/100|0:t==2&&(a=a/10|0),r=(o||n<4)&&a==9999||!o&&n>3&&a==4999):r=((o||n<4)&&a+1==s||!o&&n>3&&a+1==s/2)&&(e[i+1]/s/1e3|0)==Vn(10,t-3)-1,r}function z1(e,t,n){for(var o,i=[0],s,r=0,a=e.length;r<a;){for(s=i.length;s--;)i[s]*=t;for(i[0]+=c3.indexOf(e.charAt(r++)),o=0;o<i.length;o++)i[o]>n-1&&(i[o+1]===void 0&&(i[o+1]=0),i[o+1]+=i[o]/n|0,i[o]%=n)}return i.reverse()}function Dge(e,t){var n,o,i;if(t.isZero())return t;o=t.d.length,o<32?(n=Math.ceil(o/3),i=(1/A0(4,n)).toString()):(n=16,i="2.3283064365386962890625e-10"),e.precision+=n,t=Wu(e,1,t.times(i),new e(1));for(var s=n;s--;){var r=t.times(t);t=r.times(r).minus(r).times(8).plus(1)}return e.precision-=n,t}var an=(function(){function e(o,i,s){var r,a=0,l=o.length;for(o=o.slice();l--;)r=o[l]*i+a,o[l]=r%s|0,a=r/s|0;return a&&o.unshift(a),o}function t(o,i,s,r){var a,l;if(s!=r)l=s>r?1:-1;else for(a=l=0;a<s;a++)if(o[a]!=i[a]){l=o[a]>i[a]?1:-1;break}return l}function n(o,i,s,r){for(var a=0;s--;)o[s]-=a,a=o[s]<i[s]?1:0,o[s]=a*r+o[s]-i[s];for(;!o[0]&&o.length>1;)o.shift()}return function(o,i,s,r,a,l){var c,u,d,h,p,f,g,m,v,y,b,w,S,E,T,R,A,k,D,V,O=o.constructor,F=o.s==i.s?1:-1,_=o.d,P=i.d;if(!_||!_[0]||!P||!P[0])return new O(!o.s||!i.s||(_?P&&_[0]==P[0]:!P)?NaN:_&&_[0]==0||!P?F*0:F/0);for(l?(p=1,u=o.e-i.e):(l=Ji,p=ct,u=Co(o.e/p)-Co(i.e/p)),D=P.length,A=_.length,v=new O(F),y=v.d=[],d=0;P[d]==(_[d]||0);d++);if(P[d]>(_[d]||0)&&u--,s==null?(E=s=O.precision,r=O.rounding):a?E=s+(o.e-i.e)+1:E=s,E<0)y.push(1),f=!0;else{if(E=E/p+2|0,d=0,D==1){for(h=0,P=P[0],E++;(d<A||h)&&E--;d++)T=h*l+(_[d]||0),y[d]=T/P|0,h=T%P|0;f=h||d<A}else{for(h=l/(P[0]+1)|0,h>1&&(P=e(P,h,l),_=e(_,h,l),D=P.length,A=_.length),R=D,b=_.slice(0,D),w=b.length;w<D;)b[w++]=0;V=P.slice(),V.unshift(0),k=P[0],P[1]>=l/2&&++k;do h=0,c=t(P,b,D,w),c<0?(S=b[0],D!=w&&(S=S*l+(b[1]||0)),h=S/k|0,h>1?(h>=l&&(h=l-1),g=e(P,h,l),m=g.length,w=b.length,c=t(g,b,m,w),c==1&&(h--,n(g,D<m?V:P,m,l))):(h==0&&(c=h=1),g=P.slice()),m=g.length,m<w&&g.unshift(0),n(b,g,w,l),c==-1&&(w=b.length,c=t(P,b,D,w),c<1&&(h++,n(b,D<w?V:P,w,l))),w=b.length):c===0&&(h++,b=[0]),y[d++]=h,c&&b[0]?b[w++]=_[R]||0:(b=[_[R]],w=1);while((R++<A||b[0]!==void 0)&&E--);f=b[0]!==void 0}y[0]||y.shift()}if(p==1)v.e=u,__=f;else{for(d=1,h=y[0];h>=10;h/=10)d++;v.e=d+u*p-1,it(v,a?s+v.e+1:s,r,f)}return v}})();function it(e,t,n,o){var i,s,r,a,l,c,u,d,h,p=e.constructor;e:if(t!=null){if(d=e.d,!d)return e;for(i=1,a=d[0];a>=10;a/=10)i++;if(s=t-i,s<0)s+=ct,r=t,u=d[h=0],l=u/Vn(10,i-r-1)%10|0;else if(h=Math.ceil((s+1)/ct),a=d.length,h>=a)if(o){for(;a++<=h;)d.push(0);u=l=0,i=1,s%=ct,r=s-ct+1}else break e;else{for(u=a=d[h],i=1;a>=10;a/=10)i++;s%=ct,r=s-ct+i,l=r<0?0:u/Vn(10,i-r-1)%10|0}if(o=o||t<0||d[h+1]!==void 0||(r<0?u:u%Vn(10,i-r-1)),c=n<4?(l||o)&&(n==0||n==(e.s<0?3:2)):l>5||l==5&&(n==4||o||n==6&&(s>0?r>0?u/Vn(10,i-r):0:d[h-1])%10&1||n==(e.s<0?8:7)),t<1||!d[0])return d.length=0,c?(t-=e.e+1,d[0]=Vn(10,(ct-t%ct)%ct),e.e=-t||0):d[0]=e.e=0,e;if(s==0?(d.length=h,a=1,h--):(d.length=h+1,a=Vn(10,ct-s),d[h]=r>0?(u/Vn(10,i-r)%Vn(10,r)|0)*a:0),c)for(;;)if(h==0){for(s=1,r=d[0];r>=10;r/=10)s++;for(r=d[0]+=a,a=1;r>=10;r/=10)a++;s!=a&&(e.e++,d[0]==Ji&&(d[0]=1));break}else{if(d[h]+=a,d[h]!=Ji)break;d[h--]=0,a=1}for(s=d.length;d[--s]===0;)d.pop()}return gt&&(e.e>p.maxE?(e.d=null,e.e=NaN):e.e<p.minE&&(e.e=0,e.d=[0])),e}function Hs(e,t,n){if(!e.isFinite())return $_(e);var o,i=e.e,s=Yn(e.d),r=s.length;return t?(n&&(o=n-r)>0?s=s.charAt(0)+"."+s.slice(1)+va(o):r>1&&(s=s.charAt(0)+"."+s.slice(1)),s=s+(e.e<0?"e":"e+")+e.e):i<0?(s="0."+va(-i-1)+s,n&&(o=n-r)>0&&(s+=va(o))):i>=r?(s+=va(i+1-r),n&&(o=n-i-1)>0&&(s=s+"."+va(o))):((o=i+1)<r&&(s=s.slice(0,o)+"."+s.slice(o)),n&&(o=n-r)>0&&(i+1===r&&(s+="."),s+=va(o))),s}function k0(e,t){var n=e[0];for(t*=ct;n>=10;n/=10)t++;return t}function wm(e,t,n){if(t>xge)throw gt=!0,n&&(e.precision=n),Error(I_);return it(new e(bm),t,1,!0)}function Ps(e,t,n){if(t>d3)throw Error(I_);return it(new e(ym),t,n,!0)}function B_(e){var t=e.length-1,n=t*ct+1;if(t=e[t],t){for(;t%10==0;t/=10)n--;for(t=e[0];t>=10;t/=10)n++}return n}function va(e){for(var t="";e--;)t+="0";return t}function H_(e,t,n,o){var i,s=new e(1),r=Math.ceil(o/ct+4);for(gt=!1;;){if(n%2&&(s=s.times(t),vS(s.d,r)&&(i=!0)),n=Co(n/2),n===0){n=s.d.length-1,i&&s.d[n]===0&&++s.d[n];break}t=t.times(t),vS(t.d,r)}return gt=!0,s}function mS(e){return e.d[e.d.length-1]&1}function V_(e,t,n){for(var o,i,s=new e(t[0]),r=0;++r<t.length;){if(i=new e(t[r]),!i.s){s=i;break}o=s.cmp(i),(o===n||o===0&&s.s===n)&&(s=i)}return s}function h3(e,t){var n,o,i,s,r,a,l,c=0,u=0,d=0,h=e.constructor,p=h.rounding,f=h.precision;if(!e.d||!e.d[0]||e.e>17)return new h(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(t==null?(gt=!1,l=f):l=t,a=new h(.03125);e.e>-2;)e=e.times(a),d+=5;for(o=Math.log(Vn(2,d))/Math.LN10*2+5|0,l+=o,n=s=r=new h(1),h.precision=l;;){if(s=it(s.times(e),l,1),n=n.times(++u),a=r.plus(an(s,n,l,1)),Yn(a.d).slice(0,l)===Yn(r.d).slice(0,l)){for(i=d;i--;)r=it(r.times(r),l,1);if(t==null)if(c<3&&ap(r.d,l-o,p,c))h.precision=l+=10,n=s=a=new h(1),u=0,c++;else return it(r,h.precision=f,p,gt=!0);else return h.precision=f,r}r=a}}function wa(e,t){var n,o,i,s,r,a,l,c,u,d,h,p=1,f=10,g=e,m=g.d,v=g.constructor,y=v.rounding,b=v.precision;if(g.s<0||!m||!m[0]||!g.e&&m[0]==1&&m.length==1)return new v(m&&!m[0]?-1/0:g.s!=1?NaN:m?0:g);if(t==null?(gt=!1,u=b):u=t,v.precision=u+=f,n=Yn(m),o=n.charAt(0),Math.abs(s=g.e)<15e14){for(;o<7&&o!=1||o==1&&n.charAt(1)>3;)g=g.times(e),n=Yn(g.d),o=n.charAt(0),p++;s=g.e,o>1?(g=new v("0."+n),s++):g=new v(o+"."+n.slice(1))}else return c=wm(v,u+2,b).times(s+""),g=wa(new v(o+"."+n.slice(1)),u-f).plus(c),v.precision=b,t==null?it(g,b,y,gt=!0):g;for(d=g,l=r=g=an(g.minus(1),g.plus(1),u,1),h=it(g.times(g),u,1),i=3;;){if(r=it(r.times(h),u,1),c=l.plus(an(r,new v(i),u,1)),Yn(c.d).slice(0,u)===Yn(l.d).slice(0,u))if(l=l.times(2),s!==0&&(l=l.plus(wm(v,u+2,b).times(s+""))),l=an(l,new v(p),u,1),t==null)if(ap(l.d,u-f,y,a))v.precision=u+=f,c=r=g=an(d.minus(1),d.plus(1),u,1),h=it(g.times(g),u,1),i=a=1;else return it(l,v.precision=b,y,gt=!0);else return v.precision=b,l;l=c,i+=2}}function $_(e){return String(e.s*e.s/0)}function U1(e,t){var n,o,i;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(o=t.search(/e/i))>0?(n<0&&(n=o),n+=+t.slice(o+1),t=t.substring(0,o)):n<0&&(n=t.length),o=0;t.charCodeAt(o)===48;o++);for(i=t.length;t.charCodeAt(i-1)===48;--i);if(t=t.slice(o,i),t){if(i-=o,e.e=n=n-o-1,e.d=[],o=(n+1)%ct,n<0&&(o+=ct),o<i){for(o&&e.d.push(+t.slice(0,o)),i-=ct;o<i;)e.d.push(+t.slice(o,o+=ct));t=t.slice(o),o=ct-t.length}else o-=i;for(;o--;)t+="0";e.d.push(+t),gt&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function kge(e,t){var n,o,i,s,r,a,l,c,u;if(t.indexOf("_")>-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),N_.test(t))return U1(e,t)}else if(t==="Infinity"||t==="NaN")return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(Pge.test(t))n=16,t=t.toLowerCase();else if(Rge.test(t))n=2;else if(Mge.test(t))n=8;else throw Error(Ba+t);for(s=t.search(/p/i),s>0?(l=+t.slice(s+1),t=t.substring(2,s)):t=t.slice(2),s=t.indexOf("."),r=s>=0,o=e.constructor,r&&(t=t.replace(".",""),a=t.length,s=a-s,i=H_(o,new o(n),s,s*2)),c=z1(t,n,Ji),u=c.length-1,s=u;c[s]===0;--s)c.pop();return s<0?new o(e.s*0):(e.e=k0(c,u),e.d=c,gt=!1,r&&(e=an(e,i,a*4)),l&&(e=e.times(Math.abs(l)<54?Vn(2,l):Gu.pow(2,l))),gt=!0,e)}function Age(e,t){var n,o=t.d.length;if(o<3)return t.isZero()?t:Wu(e,2,t,t);n=1.4*Math.sqrt(o),n=n>16?16:n|0,t=t.times(1/A0(5,n)),t=Wu(e,2,t,t);for(var i,s=new e(5),r=new e(16),a=new e(20);n--;)i=t.times(t),t=t.times(s.plus(i.times(r.times(i).minus(a))));return t}function Wu(e,t,n,o,i){var s,r,a,l,c=e.precision,u=Math.ceil(c/ct);for(gt=!1,l=n.times(n),a=new e(o);;){if(r=an(a.times(l),new e(t++*t++),c,1),a=i?o.plus(r):o.minus(r),o=an(r.times(l),new e(t++*t++),c,1),r=a.plus(o),r.d[u]!==void 0){for(s=u;r.d[s]===a.d[s]&&s--;);if(s==-1)break}s=a,a=o,o=r,r=s}return gt=!0,r.d.length=u+1,r}function A0(e,t){for(var n=e;--t;)n*=e;return n}function W_(e,t){var n,o=t.s<0,i=Ps(e,e.precision,1),s=i.times(.5);if(t=t.abs(),t.lte(s))return pr=o?4:1,t;if(n=t.divToInt(i),n.isZero())pr=o?3:2;else{if(t=t.minus(n.times(i)),t.lte(s))return pr=mS(n)?o?2:3:o?4:1,t;pr=mS(n)?o?1:4:o?3:2}return t.minus(i).abs()}function hy(e,t,n,o){var i,s,r,a,l,c,u,d,h,p=e.constructor,f=n!==void 0;if(f?(Wo(n,1,tl),o===void 0?o=p.rounding:Wo(o,0,8)):(n=p.precision,o=p.rounding),!e.isFinite())u=$_(e);else{for(u=Hs(e),r=u.indexOf("."),f?(i=2,t==16?n=n*4-3:t==8&&(n=n*3-2)):i=t,r>=0&&(u=u.replace(".",""),h=new p(1),h.e=u.length-r,h.d=z1(Hs(h),10,i),h.e=h.d.length),d=z1(u,10,i),s=l=d.length;d[--l]==0;)d.pop();if(!d[0])u=f?"0p+0":"0";else{if(r<0?s--:(e=new p(e),e.d=d,e.e=s,e=an(e,h,n,o,0,i),d=e.d,s=e.e,c=__),r=d[n],a=i/2,c=c||d[n+1]!==void 0,c=o<4?(r!==void 0||c)&&(o===0||o===(e.s<0?3:2)):r>a||r===a&&(o===4||c||o===6&&d[n-1]&1||o===(e.s<0?8:7)),d.length=n,c)for(;++d[--n]>i-1;)d[n]=0,n||(++s,d.unshift(1));for(l=d.length;!d[l-1];--l);for(r=0,u="";r<l;r++)u+=c3.charAt(d[r]);if(f){if(l>1)if(t==16||t==8){for(r=t==16?4:3,--l;l%r;l++)u+="0";for(d=z1(u,i,t),l=d.length;!d[l-1];--l);for(r=1,u="1.";r<l;r++)u+=c3.charAt(d[r])}else u=u.charAt(0)+"."+u.slice(1);u=u+(s<0?"p":"p+")+s}else if(s<0){for(;++s;)u="0"+u;u="0."+u}else if(++s>l)for(s-=l;s--;)u+="0";else s<l&&(u=u.slice(0,s)+"."+u.slice(s))}u=(t==16?"0x":t==2?"0b":t==8?"0o":"")+u}return e.s<0?"-"+u:u}function vS(e,t){if(e.length>t)return e.length=t,!0}function _ge(e){return new this(e).abs()}function Ige(e){return new this(e).acos()}function Fge(e){return new this(e).acosh()}function Oge(e,t){return new this(e).plus(t)}function Nge(e){return new this(e).asin()}function Bge(e){return new this(e).asinh()}function Hge(e){return new this(e).atan()}function Vge(e){return new this(e).atanh()}function $ge(e,t){e=new this(e),t=new this(t);var n,o=this.precision,i=this.rounding,s=o+4;return!e.s||!t.s?n=new this(NaN):!e.d&&!t.d?(n=Ps(this,s,1).times(t.s>0?.25:.75),n.s=e.s):!t.d||e.isZero()?(n=t.s<0?Ps(this,o,i):new this(0),n.s=e.s):!e.d||t.isZero()?(n=Ps(this,s,1).times(.5),n.s=e.s):t.s<0?(this.precision=s,this.rounding=1,n=this.atan(an(e,t,s,1)),t=Ps(this,s,1),this.precision=o,this.rounding=i,n=e.s<0?n.minus(t):n.plus(t)):n=this.atan(an(e,t,s,1)),n}function Wge(e){return new this(e).cbrt()}function Gge(e){return it(e=new this(e),e.e+1,2)}
153function zge(e,t,n){return new this(e).clamp(t,n)}function Uge(e){if(!e||typeof e!="object")throw Error(D0+"Object expected");var t,n,o,i=e.defaults===!0,s=["precision",1,tl,"rounding",0,8,"toExpNeg",-Qc,0,"toExpPos",0,Qc,"maxE",0,Qc,"minE",-Qc,0,"modulo",0,9];for(t=0;t<s.length;t+=3)if(n=s[t],i&&(this[n]=u3[n]),(o=e[n])!==void 0)if(Co(o)===o&&o>=s[t+1]&&o<=s[t+2])this[n]=o;else throw Error(Ba+n+": "+o);if(n="crypto",i&&(this[n]=u3[n]),(o=e[n])!==void 0)if(o===!0||o===!1||o===0||o===1)if(o)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[n]=!0;else throw Error(F_);else this[n]=!1;else throw Error(Ba+n+": "+o);return this}function jge(e){return new this(e).cos()}function Zge(e){return new this(e).cosh()}function G_(e){var t,n,o;function i(s){var r,a,l,c=this;if(!(c instanceof i))return new i(s);if(c.constructor=i,CS(s)){c.s=s.s,gt?!s.d||s.e>i.maxE?(c.e=NaN,c.d=null):s.e<i.minE?(c.e=0,c.d=[0]):(c.e=s.e,c.d=s.d.slice()):(c.e=s.e,c.d=s.d?s.d.slice():s.d);return}if(l=typeof s,l==="number"){if(s===0){c.s=1/s<0?-1:1,c.e=0,c.d=[0];return}if(s<0?(s=-s,c.s=-1):c.s=1,s===~~s&&s<1e7){for(r=0,a=s;a>=10;a/=10)r++;gt?r>i.maxE?(c.e=NaN,c.d=null):r<i.minE?(c.e=0,c.d=[0]):(c.e=r,c.d=[s]):(c.e=r,c.d=[s]);return}if(s*0!==0){s||(c.s=NaN),c.e=NaN,c.d=null;return}return U1(c,s.toString())}if(l==="string")return(a=s.charCodeAt(0))===45?(s=s.slice(1),c.s=-1):(a===43&&(s=s.slice(1)),c.s=1),N_.test(s)?U1(c,s):kge(c,s);if(l==="bigint")return s<0?(s=-s,c.s=-1):c.s=1,U1(c,s.toString());throw Error(Ba+s)}if(i.prototype=De,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.EUCLID=9,i.config=i.set=Uge,i.clone=G_,i.isDecimal=CS,i.abs=_ge,i.acos=Ige,i.acosh=Fge,i.add=Oge,i.asin=Nge,i.asinh=Bge,i.atan=Hge,i.atanh=Vge,i.atan2=$ge,i.cbrt=Wge,i.ceil=Gge,i.clamp=zge,i.cos=jge,i.cosh=Zge,i.div=Kge,i.exp=qge,i.floor=Yge,i.hypot=Xge,i.ln=Jge,i.log=Qge,i.log10=tme,i.log2=eme,i.max=nme,i.min=ome,i.mod=ime,i.mul=sme,i.pow=rme,i.random=ame,i.round=lme,i.sign=cme,i.sin=ume,i.sinh=dme,i.sqrt=hme,i.sub=pme,i.sum=fme,i.tan=gme,i.tanh=mme,i.trunc=vme,e===void 0&&(e={}),e&&e.defaults!==!0)for(o=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],t=0;t<o.length;)e.hasOwnProperty(n=o[t++])||(e[n]=this[n]);return i.config(e),i}function Kge(e,t){return new this(e).div(t)}function qge(e){return new this(e).exp()}function Yge(e){return it(e=new this(e),e.e+1,3)}function Xge(){var e,t,n=new this(0);for(gt=!1,e=0;e<arguments.length;)if(t=new this(arguments[e++]),t.d)n.d&&(n=n.plus(t.times(t)));else{if(t.s)return gt=!0,new this(1/0);n=t}return gt=!0,n.sqrt()}function CS(e){return e instanceof Gu||e&&e.toStringTag===O_||!1}function Jge(e){return new this(e).ln()}function Qge(e,t){return new this(e).log(t)}function eme(e){return new this(e).log(2)}function tme(e){return new this(e).log(10)}function nme(){return V_(this,arguments,-1)}function ome(){return V_(this,arguments,1)}function ime(e,t){return new this(e).mod(t)}function sme(e,t){return new this(e).mul(t)}function rme(e,t){return new this(e).pow(t)}function ame(e){var t,n,o,i,s=0,r=new this(1),a=[];if(e===void 0?e=this.precision:Wo(e,1,tl),o=Math.ceil(e/ct),this.crypto)if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(o));s<o;)i=t[s],i>=429e7?t[s]=crypto.getRandomValues(new Uint32Array(1))[0]:a[s++]=i%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(o*=4);s<o;)i=t[s]+(t[s+1]<<8)+(t[s+2]<<16)+((t[s+3]&127)<<24),i>=214e7?crypto.randomBytes(4).copy(t,s):(a.push(i%1e7),s+=4);s=o/4}else throw Error(F_);else for(;s<o;)a[s++]=Math.random()*1e7|0;for(o=a[--s],e%=ct,o&&e&&(i=Vn(10,ct-e),a[s]=(o/i|0)*i);a[s]===0;s--)a.pop();if(s<0)n=0,a=[0];else{for(n=-1;a[0]===0;n-=ct)a.shift();for(o=1,i=a[0];i>=10;i/=10)o++;o<ct&&(n-=ct-o)}return r.e=n,r.d=a,r}function lme(e){return it(e=new this(e),e.e+1,this.rounding)}function cme(e){return e=new this(e),e.d?e.d[0]?e.s:0*e.s:e.s||NaN}function ume(e){return new this(e).sin()}function dme(e){return new this(e).sinh()}function hme(e){return new this(e).sqrt()}function pme(e,t){return new this(e).sub(t)}function fme(){var e=0,t=arguments,n=new this(t[e]);for(gt=!1;n.s&&++e<t.length;)n=n.plus(t[e]);return gt=!0,it(n,this.precision,this.rounding)}function gme(e){return new this(e).tan()}function mme(e){return new this(e).tanh()}function vme(e){return it(e=new this(e),e.e+1,1)}De[Symbol.for("nodejs.util.inspect.custom")]=De.toString;De[Symbol.toStringTag]="Decimal";var Gu=De.constructor=G_(u3);bm=new Gu(bm);ym=new Gu(ym);/*!
154 * pinia v3.0.4
155 * (c) 2025 Eduardo San Martin Morote
156 * @license MIT
157 */let z_;const _0=e=>z_=e,U_=Symbol();function p3(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var vh;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(vh||(vh={}));function Cme(){const e=jm(!0),t=e.run(()=>J({}));let n=[],o=[];const i=Jm({install(s){_0(i),i._a=s,s.provide(U_,i),s.config.globalProperties.$pinia=i,o.forEach(r=>n.push(r)),o=[]},use(s){return this._a?n.push(s):o.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const j_=()=>{};function bS(e,t,n,o=j_){e.add(t);const i=()=>{e.delete(t)&&o()};return!n&&lc()&&Lp(i),i}function xc(e,...t){e.forEach(n=>
157{n(...t)})}const bme=e=>e(),yS=Symbol(),zv=Symbol();function f3(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,o)=>e.set(o,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],i=e[n];p3(i)&&p3(o)&&e.hasOwnProperty(n)&&!_t(o)&&!Ls(o)?e[n]=f3(i,o):e[n]=o}return e}const yme=Symbol();function wme(e){return!p3(e)||!Object.prototype.hasOwnProperty.call(e,yme)}const{assign:la}=Object;function Sme(e){return!!(_t(e)&&e.effect)}function Eme(e,t,n,o){const{state:i,actions:s,getters:r}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=i?i():{});const u=ts(n.state.value[e]);return la(u,s,Object.keys(r||{}).reduce((d,h)=>(d[h]=Jm(M(()=>{_0(n);const p=n._s.get(e);return r[h].call(p,p)})),d),{}))}return l=Z_(e,c,t,n,o,!0),l}function Z_(e,t,n={},o,i,s){let r;const a=la({actions:{}},n),l={deep:!0};let c,u,d=new Set,h=new Set,p;const f=o.state.value[e];!s&&!f&&(o.state.value[e]={}),J({});let g;function m(R){let A;c=u=!1,typeof R=="function"?(R(o.state.value[e]),A={type:vh.patchFunction,storeId:e,events:p}):(f3(o.state.value[e],R),A={type:vh.patchObject,payload:R,storeId:e,events:p});const k=g=Symbol();ot().then(()=>{g===k&&(c=!0)}),u=!0,xc(d,A,o.state.value[e])}const v=s?function(){const{state:A}=n,k=A?A():{};this.$patch(D=>{la(D,k)})}:j_;function y(){r.stop(),d.clear(),h.clear(),o._s.delete(e)}const b=(R,A="")=>{if(yS in R)return R[zv]=A,R;const k=function(){_0(o);const D=Array.from(arguments),V=new Set,O=new Set;function F(L){V.add(L)}function _(L){O.add(L)}xc(h,{args:D,name:k[zv],store:S,after:F,onError:_});let P;try{P=R.apply(this&&this.$id===e?this:S,D)}catch(L){throw xc(O,L),L}return P instanceof Promise?P.then(L=>(xc(V,L),L)).catch(L=>(xc(O,L),Promise.reject(L))):(xc(V,P),P)};return k[yS]=!0,k[zv]=A,k},w={_p:o,$id:e,$onAction:bS.bind(null,h),$patch:m,$reset:v,$subscribe(R,A={}){const k=bS(d,R,A.detached,()=>D()),D=r.run(()=>Le(()=>o.state.value[e],V=>{(A.flush==="sync"?u:c)&&R({storeId:e,type:vh.direct,events:p},V)},la({},l,A)));return k},$dispose:y},S=Rn(w);o._s.set(e,S);const T=(o._a&&o._a.runWithContext||bme)(()=>o._e.run(()=>(r=jm()).run(()=>t({action:b}))));for(const R in T){const A=T[R];if(_t(A)&&!Sme(A)||Ls(A))s||(f&&wme(A)&&(_t(A)?A.value=f[R]:f3(A,f[R])),o.state.value[e][R]=A);else if(typeof A=="function"){const k=b(A,R);T[R]=k,a.actions[R]=A}}return la(S,T),la(Ct(S),T),Object.defineProperty(S,"$state",{get:()=>o.state.value[e],set:R=>{m(A=>{la(A,R)})}}),o._p.forEach(R=>{la(S,r.run(()=>R({store:S,app:o._a,pinia:o,options:a})))}),f&&s&&n.hydrate&&n.hydrate(S.$state,f),c=!0,u=!0,S}/*! #__NO_SIDE_EFFECTS__ */function nl(e,t,n){let o;const i=typeof t=="function";o=i?n:t;function s(r,a){const l=o0();return r=r||(l?je(U_,null):null),r&&_0(r),r=z_,r._s.has(e)||(i?Z_(e,t,o,r):Eme(e,o,r)),r._s.get(e)}return s.$id=e,s}function ec(e){const t=Ct(e),n={};for(const o in t){const i=t[o];i.effect?n[o]=M({get:()=>e[o],set(s){e[o]=s}}):(_t(i)||Ls(i))&&(n[o]=rn(e,o))}return n}function Tme(e,t){if(e==null)return;let n=e;for(let o=0;o<t.length;o++){if(n===void 0||n[t[o]]===void 0)return;if(n===null||n[t[o]]===null)return null;n=n[t[o]]}return n}function py(e,t,n){if(n.length===0)return t;const o=n[0];return n.length>1&&(t=py(typeof e!="object"||e===null||!Object.prototype.hasOwnProperty.call(e,o)?Number.isInteger(Number(n[1]))?[]:{}:e[o],t,Array.prototype.slice.call(n,1))),Number.isInteger(Number(o))&&Array.isArray(e)?e.slice()[o]:Object.assign({},e,{[o]:t})}function K_(e,t){if(e==null||t.length===0)return e;if(t.length===1){if(e==null)return e;if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.slice.call(e,0).splice(t[0],1);const n={};for(const o in e)n[o]=e[o];return delete n[t[0]],n}if(e[t[0]]==null){if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.concat.call([],e);const n={};for(const o in e)n[o]=e[o];return n}return py(e,K_(e[t[0]],Array.prototype.slice.call(t,1)),[t[0]])}function q_(e,t){return t.map(n=>n.split(".")).map(n=>[n,Tme(e,n)]).filter(n=>n[1]!==void 0).reduce((n,o)=>py(n,o[1],o[0]),{})}function Y_(e,t){return t.map(n=>n.split(".")).reduce((n,o)=>K_(n,o),e)}function wS(e,{storage:t,serializer:n,key:o,debug:i,pick:s,omit:r,beforeHydrate:a,afterHydrate:l},c,u=!0){try{u&&a?.(c);const d=t.getItem(o);if(d){const h=n.deserialize(d),p=s?q_(h,s):h,f=r?Y_(p,r):p;e.$patch(f)}u&&l?.(c)}catch(d){i&&console.error("[pinia-plugin-persistedstate]",d)}}function SS(e,{storage:t,serializer:n,key:o,debug:i,pick:s,omit:r}){try{const a=s?q_(e,s):e,l=r?Y_(a,r):a,c=n.serialize(l);t.setItem(o,c)}catch(a){i&&console.error("[pinia-plugin-persistedstate]",a)}}function Rme(e,t){return typeof e=="function"?e(t):typeof e=="string"?e:t}function Pme(e,t,n){const{pinia:o,store:i,options:{persist:s=n}}=e;if(!s)return;// v8 ignore if -- @preserve
158if(!(i.$id in o.state.value)){const a=o._s.get(i.$id.replace("__hot:",""));a&&Promise.resolve().then(()=>a.$persist());return}const r=(Array.isArray(s)?s:s===!0?[{}]:[s]).map(t);i.$hydrate=({runHooks:a=!0}={})=>{r.forEach(l=>{wS(i,l,e,a)})},i.$persist=()=>{r.forEach(a=>{SS(i.$state,a)})},r.forEach(a=>{wS(i,a,e),i.$subscribe((l,c)=>SS(c,a),{detached:!0})})}function Mme(e={}){return function(t){Pme(t,n=>{const o=Rme(n.key,t.store.$id);return{key:(e.key?e.key:i=>
158i)(o),debug:n.debug??e.debug??!1,serializer:n.serializer??e.serializer??{serialize:i=>JSON.stringify(i),deserialize:i=>JSON.parse(i)},storage:n.storage??e.storage??window.localStorage,beforeHydrate:n.beforeHydrate??e.beforeHydrate,afterHydrate:n.afterHydrate??e.afterHydrate,pick:n.pick,omit:n.omit}},e.auto??!1)}}var Lme=Mme();function xme(e){return e&&typeof e.then=="function"}Promise.resolve(!1);Promise.resolve(!0);var $l=Promise.resolve();function X_(e,t){return e||(e=0),new Promise(function(n){return setTimeout(function(){return n(t)},e)})}function Dme(e,t){return Math.floor(Math.random()*(t-e+1)+e)}function fy(){return Math.random().toString(36).substring(2)}var Uv=0;function ef(){var e=Date.now()*1e3;return e<=Uv&&(e=Uv+1),Uv=e,e}var kme=ef,Ame="native";function _me(e){var t={time:ef(),messagesCallback:null,bc:new BroadcastChannel(e),subFns:[]};return t.bc.onmessage=function(n){t.messagesCallback&&t.messagesCallback(n.data)},t}function Ime(e){e.bc.close(),e.subFns=[]}function Fme(e,t){try{return e.bc.postMessage(t,!1),$l}catch(n){return Promise.reject(n)}}function Ome(e,t){e.messagesCallback=t}function Nme(){if(typeof globalThis<"u"&&globalThis.Deno&&globalThis.Deno.args)return!0;if((typeof window<"u"||typeof self<"u")&&typeof BroadcastChannel=="function"){if(BroadcastChannel._pubkey)throw new Error("BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill");return!0}else return!1}function Bme(){return 150}var Hme={create:_me,close:Ime,onMessage:Ome,postMessage:Fme,canBeUsed:Nme,type:Ame,averageResponseTime:Bme,microSeconds:kme};class J_{ttl;map=new Map;_to=!1;constructor(t){this.ttl=t}has(t){const n=this.map.get(t);return typeof n>"u"?!1:n<g3()-this.ttl?(this.map.delete(t),!1):!0}add(t){this.map.delete(t),this.map.set(t,g3()),this._to||(this._to=!0,setTimeout(()=>{this._to=!1,Vme(this)},0))}clear(){this.map.clear()}}function Vme(e){const t=g3()-e.ttl,n=e.map[Symbol.iterator]();for(;;){const o=n.next().value;if(!o)break;const i=o[0];if(o[1]<t)e.map.delete(i);else break}}function g3(){return Date.now()}function gy(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=JSON.parse(JSON.stringify(e));return typeof t.webWorkerSupport>"u"&&(t.webWorkerSupport=!0),t.idb||(t.idb={}),t.idb.ttl||(t.idb.ttl=1e3*45),t.idb.fallbackInterval||(t.idb.fallbackInterval=150),e.idb&&typeof e.idb.onclose=="function"&&(t.idb.onclose=e.idb.onclose),t.localstorage||(t.localstorage={}),t.localstorage.removeTimeout||(t.localstorage.removeTimeout=1e3*60),e.methods&&(t.methods=e.methods),t.node||(t.node={}),t.node.ttl||(t.node.ttl=1e3*60*2),t.node.maxParallelWrites||(t.node.maxParallelWrites=2048),typeof t.node.useFastPath>"u"&&(t.node.useFastPath=!0),t}var $me=ef,Wme="pubkey.broadcast-channel-0-",kr="messages",I0={durability:"relaxed"},Gme="idb";function Q_(){if(typeof indexedDB<"u")return indexedDB;if(typeof window<"u"){if(typeof window.mozIndexedDB<"u")return window.mozIndexedDB;if(typeof window.webkitIndexedDB<"u")return window.webkitIndexedDB;if(typeof window.msIndexedDB<"u")return window.msIndexedDB}return!1}function my(e){e.commit&&e.commit()}function zme(e){var t=Q_(),n=Wme+e,o=t.open(n);return o.onupgradeneeded=function(i){var s=i.target.result;s.createObjectStore(kr,{keyPath:"id",autoIncrement:!0})},new Promise(function(i,s){o.onerror=function(r){return s(r)},o.onsuccess=function(){i(o.result)}})}function Ume(e,t,n){var o=Date.now(),i={uuid:t,time:o,data:n},s=e.transaction([kr],"readwrite",I0);return new Promise(function(r,a){s.oncomplete=function(){return r()},s.onerror=function(c){return a(c)};var l=s.objectStore(kr);l.add(i),my(s)})}function jme(e,t){var n=e.transaction(kr,"readonly",I0),o=n.objectStore(kr),i=[],s=IDBKeyRange.bound(t+1,1/0);if(o.getAll){var r=o.getAll(s);return new Promise(function(l,c){r.onerror=function(u){return c(u)},r.onsuccess=function(u){l(u.target.result)}})}function a(){try{return s=IDBKeyRange.bound(t+1,1/0),o.openCursor(s)}catch{return o.openCursor()}}return new Promise(function(l,c){var u=a();u.onerror=function(d){return c(d)},u.onsuccess=function(d){var h=d.target.result;h?h.value.id<t+1?h.continue(t+1):(i.push(h.value),h.continue()):(my(n),l(i))}})}function Zme(e,t){if(e.closed)return Promise.resolve([]);var n=e.db.transaction(kr,"readwrite",I0),o=n.objectStore(kr);return Promise.all(t.map(function(i){var s=o.delete(i);return new Promise(function(r){s.onsuccess=function(){return r()}})}))}function Kme(e,t){var n=Date.now()-t,o=e.transaction(kr,"readonly",I0),i=o.objectStore(kr),s=[];return new Promise(function(r){i.openCursor().onsuccess=function(a){var l=a.target.result;if(l){var c=l.value;c.time<n?(s.push(c),l.continue()):(my(o),r(s))}else r(s)}})}function qme(e){return Kme(e.db,e.options.idb.ttl).then(function(t){return Zme(e,t.map(function(n){return n.id}))})}function Yme(e,t){return t=gy(t),zme(e).then(function(n){var o={closed:!1,lastCursorId:0,channelName:e,options:t,uuid:fy(),eMIs:new J_(t.idb.ttl*2),writeBlockPromise:$l,messagesCallback:null,readQueuePromises:[],db:n};
158return n.onclose=function(){o.closed=!0,t.idb.onclose&&t.idb.onclose()},eI(o),o})}function eI(e){e.closed||tI(e).then(function(){return X_(e.options.idb.fallbackInterval)}).then(function(){return eI(e)})}function Xme(e,t){return!(e.uuid===t.uuid||t.eMIs.has(e.id)||e.data.time<t.messagesCallbackTime)}function tI(e){return e.closed||!e.messagesCallback?$l:jme(e.db,e.lastCursorId).then(function(t){var n=t.filter(function(o){return!!o}).map(function(o){return o.id>e.lastCursorId&&(e.lastCursorId=o.id),o}).filter(function(o){return Xme(o,e)}).sort(function(o,i){return o.time-i.time});return n.forEach(function(o){e.messagesCallback&&(e.eMIs.add(o.id),e.messagesCallback(o.data))}),$l})}function Jme(e){e.closed=!0,e.db.close()}function Qme(e,t){return e.writeBlockPromise=e.writeBlockPromise.then(function(){return Ume(e.db,e.uuid,t)}).then(function(){Dme(0,10)===0&&qme(e)}),e.writeBlockPromise}function e0e(e,t,n){e.messagesCallbackTime=n,e.messagesCallback=t,tI(e)}function t0e(){return!!Q_()}function n0e(e){return e.idb.fallbackInterval*2}var o0e={create:Yme,close:Jme,onMessage:e0e,postMessage:Qme,canBeUsed:t0e,type:Gme,averageResponseTime:n0e,microSeconds:$me},i0e=ef,s0e="pubkey.broadcastChannel-",r0e="localstorage";function nI(){var e;if(typeof window>"u")return null;try{e=window.localStorage,e=window["ie8-eventlistener/storage"]||window.localStorage}catch{}return e}function oI(e){return s0e+e}function a0e(e,t){return new Promise(function(n){X_().then(function(){var o=oI(e.channelName),i={token:fy(),time:Date.now(),data:t,uuid:e.uuid},s=JSON.stringify(i);nI().setItem(o,s);var r=document.createEvent("Event");r.initEvent("storage",!0,!0),r.key=o,r.newValue=s,window.dispatchEvent(r),n()})})}function l0e(e,t){var n=oI(e),o=function(s){s.key===n&&t(JSON.parse(s.newValue))};return window.addEventListener("storage",o),o}function c0e(e){window.removeEventListener("storage",e)}function u0e(e,t){if(t=gy(t),!iI())throw new Error("BroadcastChannel: localstorage cannot be used");var n=fy(),o=new J_(t.localstorage.removeTimeout),i={channelName:e,uuid:n,eMIs:o};return i.listener=l0e(e,function(s){i.messagesCallback&&s.uuid!==n&&(!s.token||o.has(s.token)||s.data.time&&s.data.time<i.messagesCallbackTime||(o.add(s.token),i.messagesCallback(s.data)))}),i}function d0e(e){c0e(e.listener)}function h0e(e,t,n){e.messagesCallbackTime=n,e.messagesCallback=t}function iI(){var e=nI();if(!e)return!1;try{var t="__broadcastchannel_check";e.setItem(t,"works"),e.removeItem(t)}catch{return!1}return!0}function p0e(){var e=120,t=navigator.userAgent.toLowerCase();return t.includes("safari")&&!t.includes("chrome")?e*2:e}var f0e={create:u0e,close:d0e,onMessage:h0e,postMessage:a0e,canBeUsed:iI,type:r0e,averageResponseTime:p0e,microSeconds:i0e},sI=ef,g0e="simulate",vy=new Set;function m0e(e){var t={time:sI(),name:e,messagesCallback:null};return vy.add(t),t}function v0e(e){vy.delete(e)}var rI=5;function C0e(e,t){return new Promise(function(n){return setTimeout(function(){var o=Array.from(vy);o.forEach(function(i){i.name===e.name&&i!==e&&i.messagesCallback&&i.time<t.time&&i.messagesCallback(t)}),n()},rI)})}function b0e(e,t){e.messagesCallback=t}function y0e(){return!0}function w0e(){return rI}var S0e={create:m0e,close:v0e,onMessage:b0e,postMessage:C0e,canBeUsed:y0e,type:g0e,averageResponseTime:w0e,microSeconds:sI},ES=[Hme,o0e,f0e];function E0e(e){var t=[].concat(e.methods,ES).filter(Boolean);if(e.type){if(e.type==="simulate")return S0e;var n=t.find(function(i){return i.type===e.type});if(n)return n;throw new Error("method-type "+e.type+" not found")}e.webWorkerSupport||(t=t.filter(function(i){return i.type!=="idb"}));var o=t.find(function(i){return i.canBeUsed()});if(o)return o;throw new Error("No usable method found in "+JSON.stringify(ES.map(function(i){return i.type})))}var aI=new Set,T0e=0,Cy=function(t,n){this.id=T0e++,aI.add(this),this.name=t,this.options=gy(n),this.method=E0e(this.options),this._iL=!1,this._onML=null,this._addEL={message:[],internal:[]},this._uMP=new Set,this._befC=[],this._prepP=null,R0e(this)};Cy._pubkey=!0;Cy.prototype={postMessage:function(t){if(this.closed)throw new Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed "+JSON.stringify(t));return TS(this,"message",t)},postInternal:function(t){return TS(this,"internal",t)},set onmessage(e){var t=this.method.microSeconds(),n={time:t,fn:e};PS(this,"message",this._onML),e&&typeof e=="function"?(this._onML=n,RS(this,"message",n)):this._onML=null},addEventListener:function(t,n){var o=this.method.microSeconds(),i={time:o,fn:n};RS(this,t,i)},removeEventListener:function(t,n){var o=this._addEL[t].find(function(i){return i.fn===n});PS(this,t,o)},close:function(){var t=this;if(!this.closed){aI.delete(this),this.closed=!0;var n=this._prepP?this._prepP:$l;return this._onML=null,this._addEL.message=[],n.then(function(){return Promise.all(Array.from(t._uMP))}).then(function(){return Promise.all(t._befC.map(function(o){return o()}))}).then(function(){return t.method.close(t._state)})}}
158,get type(){return this.method.type},get isClosed(){return this.closed}};function TS(e,t,n){var o=e.method.microSeconds(),i={time:o,type:t,data:n},s=e._prepP?e._prepP:$l;return s.then(function(){var r=e.method.postMessage(e._state,i);return e._uMP.add(r),r.catch().then(function(){return e._uMP.delete(r)}),r})}function R0e(e){var t=e.method.create(e.name,e.options);xme(t)?(e._prepP=t,t.then(function(n){e._state=n})):e._state=t}function lI(e){return e._addEL.message.length>0||e._addEL.internal.length>0}function RS(e,t,n){e._addEL[t].push(n),P0e(e)}function PS(e,t,n){e._addEL[t]=e._addEL[t].filter(function(o){return o!==n}),M0e(e)}function P0e(e){if(!e._iL&&lI(e)){var t=function(i){e._addEL[i.type].forEach(function(s){i.time>=s.time&&s.fn(i.data)})},n=e.method.microSeconds();e._prepP?e._prepP.then(function(){e._iL=!0,e.method.onMessage(e._state,t,n)}):(e._iL=!0,e.method.onMessage(e._state,t,n))}}function M0e(e){if(e._iL&&!lI(e)){e._iL=!1;var t=e.method.microSeconds();e.method.onMessage(e._state,null,t)}}function MS(e,t={serialize:JSON.stringify,deserialize:JSON.parse}){return t.deserialize(t.serialize(e))}function L0e(e,t){return Object.keys(t).includes(e)}function x0e({enable:e=!0,initialize:t=!0,type:n,serializer:o}){return({store:i,options:s})=>{const r=s?.share?.enable??e,a=s?.share?.omit??[];if(!r)return;const l=new Cy(i.$id,{type:n});let c=0,u=!1;const d=Object.keys(i.$state).filter(p=>!a.includes(p)&&L0e(p,i.$state));l.onmessage=p=>{if(p===void 0){l.postMessage({timestamp:c,state:MS(i.$state,o)});return}p.timestamp<=c||(u=!0,c=p.timestamp,i.$patch(f=>{d.forEach(g=>{f[g]=p.state[g]})}))},(s?.share?.initialize??t)&&l.postMessage(void 0),i.$subscribe((p,f)=>{u||(c=Date.now(),l.postMessage({timestamp:c,state:MS(f,o)})),u=!1})}}const D0e=e=>{const t=Cme();t.use(Lme),t.use(Yhe()),t.use(x0e({enable:!0,initialize:!0,type:"localstorage"})),e.use(t)},k0e={baseCurrency:"",bitgoAddresses:[],companyName:"",cycle:"",isEmailVerified:!0,isEmailChanged:!1,totpStatus:"",settings:{},plan:"",role:"",status:"",uid:"",walletType:"",profileAvatar:"",profileOriginalAvatar:"",unsettledClientSubscriptions:null,quickLogin:"",language:"",clients:[],email:"",payMeClients:[],payMePayments:[],whiteListIPs:[],username:"",isSuspended:"",createdAt:"",isInvitationExpired:!1,isRegistrationCompleted:!1,subscription:{}},fn=nl("main",{state:()=>({user:{},authToken:null,refreshToken:null,uid:"",role:"",totpStatus:"",preferences:{isSignUpEnabled:null},language:null,deviceId:"",lastResponse:{isServicePage:!1,status:200,statusText:"OK",feVersion:null},settings:{},walletData:{},rawWallets:[],processedWallets:{}}),actions:{initProfile(e){Object.entries(e).forEach(t=>{const[n,o]=t;Object.prototype.hasOwnProperty.call(k0e,n)&&(this.user[n]=o)})},initCurrencyForAdmin(){this.user.baseCurrency="USD"},updateWalletConnectedState(e){this.walletData.isWalletConnected=e.isWalletConnected,this.walletData.publicAddress=e.publicAddress},updateProfileAvatar({profileAvatar:e,profileOriginalAvatar:t}){this.user.profileAvatar=e?.length?`${e}?${Math.random()}`:"",this.user.profileOriginalAvatar=t},clearProfile(){this.user={},this.authToken=null,this.refreshToken=null,this.role=""},updateMerchantSettings(e){this.settings=e},setWalletData(e){this.walletData=e}},getters:{profileAvatar(){return this.user.profileAvatar},currencySign(){if(j1.length===0)return"$";const{symbol:e}=j1.find(t=>t.short===this.user?.baseCurrency)||j1[0];return e},currencyValue(){return this.user?.baseCurrency},currency(){return this.currencySign},notifications(){return this.settings?.notifications},wallets(){return this.processedWallets?.nonCustodialWallets}},persist:!0}),F0=nl("admin",{state:()=>({admin:{},settings:{}}),actions:{initProfile(e){this.admin=e,e.dateFormat===null&&(this.admin.dateFormat=pI.value[0].value)},updateEmail(e){this.admin.email=e},clearProfile(){this.$reset()}},persist:!0}),Ha=(e="",t="#4D94EC")=>{console.log(`%c${e}`,`color: ${t}`)},fd=nl("tables",{state:()=>({tablesSettings:{},shouldHardRefresh6:!0}),actions:{getCurrentTable({moduleName:e}){return this.tablesSettings[this.uid]&&this.tablesSettings[this.uid][e]},getTableColumns({moduleName:e,columnName:t,field:n}){return this.tablesSettings[this.uid]&&this.tablesSettings[this.uid][e]&&this.tablesSettings[this.uid][e].columns&&this.tablesSettings[this.uid][e].columns[t]&&this.tablesSettings[this.uid][e].columns[t][n]},setColumnWidth(e,t,n){this.columns[e][t].width=n}
158,setColumnVisibility(e,t,n){this.columns[e][t].isShow=n},addColumnWhensItWasAddedByDeveloper({columns:e,moduleName:t}){try{e&&e.forEach(n=>{!this.tablesSettings[this.uid][t].columns[n.name]&&(Ha(`${n.name} COLUMN WAS INITIALIZED AND ADDED TO STORE`),this.tablesSettings[this.uid][t].columns[n.name]=n),n.isForcedShow&&(this.tablesSettings[this.uid][t].columns[n.name]={...n,isShow:!0})})}catch{console.warn("hasNoColumnAfterAddInCodebase warning when table initialization")}},initTable({moduleName:e,columns:t}){const n=o=>o?!Object.keys(o).length:!0;n(this.tablesSettings)&&(this.tablesSettings={[this.uid]:{}}),n(this.tablesSettings[this.uid])&&(this.tablesSettings[this.uid]={}),this.tablesSettings[this.uid][e]?this.addColumnWhensItWasAddedByDeveloper({columns:t,moduleName:e}):(this.tablesSettings[this.uid][e]={},t&&(this.tablesSettings[this.uid][e].columns={},t.forEach(o=>{this.tablesSettings[this.uid][e].columns[o.name]=o})))},resetDateFilters(){console.log("resetDateFilters"),this.tablesSettings[this.uid]&&Object.entries(this.tablesSettings[this.uid]).forEach(e=>{const[t,n]=e;n.dateFrom&&delete this.tablesSettings[this.uid][t].dateFrom,n.dateTo&&delete this.tablesSettings[this.uid][t].dateTo})},resetPageDateFilters(e){console.log("resetPageDateFilters");try{delete this.tablesSettings[this.uid][e].dateFrom,delete this.tablesSettings[this.uid][e].dateTo}catch(t){console.error(t)}}},getters:{uid(){const e=fn(),t=F0();return M(()=>e.user.uid||t.admin.username).value}},persist:!0}),XFe=({moduleName:e,columnName:t,field:n,value:o})=>{const i=fd(),s=M(()=>i.uid);i.$patch({tablesSettings:{[s.value]:{[e]:{columns:{[t]:{[n]:o}}}}}})},JFe=({moduleName:e,field:t,value:n})=>{const o=fd(),i=M(()=>o.uid);o.$patch({tablesSettings:{[i.value]:{[e]:{[t]:n}}}})},A0e=nl("temporary",{state:()=>({registration:{uid:null,email:null,step:1,companyName:null,currency:null,revokeAt:null},adminRegistration:{step:1},merchantLogin:{uid:null,step:"account"},accessToken:null,refreshToken:null,deviceId:null,importWallets:[]}),actions:{clearRegistrationState(){this.registration={uid:null,email:null,step:1,companyName:null,currency:null,revokeAt:null},this.merchantLogin={step:"account"},this.accessToken=null,this.refreshToken=null,this.deviceId=null},updateStoreStep(e){this.registration.step=e},updateRegistrationState(e){this.$patch({registration:{...e}})},updateAdminRegistrationState(e){this.$patch({adminRegistration:{...e}})},updateMerchantLoginState(e){this.$patch({merchantLogin:{...e}})},updateTokens({accessToken:e,refreshToken:t}){this.$patch({accessToken:e,refreshToken:t})},updateImportWallets(e,t){const n=["ETH_ETH","ERC-20"];t?n.includes(e)?this.importWallets=[...this.importWallets,...n]:this.importWallets.push(e):n.includes(e)?this.importWallets=this.importWallets.filter(o=>!n.includes(o)):this.importWallets=this.importWallets.filter(o=>o!==e)}},persist:!0}),O0=()=>{const e=A0e(),t=M(()=>e.accessToken),n=M(()=>e.refreshToken),o=M(()=>e.deviceId),i=M(()=>e.registration),s=M(()=>i.value?.step),r=M(()=>t.value?JSON.parse(atob(t.value.split(".")[1])):{}),a=M(()=>r.value?.id),l=M(()=>e.importWallets),c=()=>{e.updateStoreStep(s.value+1)},u=({role:g="merchant",uid:m,response:v})=>{const y=v?.access?.token??t.value,b=v?.refresh?.token??n.value;fn().$patch({role:g,uid:m,authToken:y,refreshToken:b,deviceId:o.value})},d=M(()=>e.adminRegistration),h=M(()=>e.merchantLogin);return{store:e,currentStep:s,accessToken:t,refreshToken:n,deviceId:o,registration:i,merchantId:a,replaceTemporaryStoreWithMain:u,adminRegistration:d,replaceAccessToken:(g="merchant")=>{fn().$patch({role:g,authToken:t.value,deviceId:o.value})},replaceRefreshToken:()=>{fn().$patch({refreshToken:n.value})},setNextStep:c,merchantLogin:h,importWallets:l}},cI=nl("system",{state:()=>({deviceId:null,salt:null}),getters:{getDeviceId(){return this.deviceId&&this.salt?btoa(`${this.deviceId}-${this.salt}`):null}},persist:!0}),LS={invoices:[],deposits:[],historyStartedYear:null,isInvoicesHistoryLoaded:!1,isDepositsHistoryLoaded:!1},_0e=nl("billing-history",{state:()=>LS,actions:{setInvoicesHistory(e){this.invoices=e},setInvoicesHistoryLoaded(e){this.isInvoicesHistoryLoaded=e},setDepositsHistory(e){this.deposits=e},setDepositsHistoryLoaded(e){this.isDepositsHistoryLoaded=e},setHistoryStartedYear(e){this.historyStartedYear=e},clearState(){this.state=LS}},persist:!0}),uI=nl("dashboard",{state:()=>({assetsIncome:m3,data:{yearsList:[],income:{[new Date().getFullYear()]:[{month:"January",data:{}},{month:"February",data:{}},{month:"March",data:{}},{month:"April",data:{}},{month:"May",data:{}},{month:"June",data:{}},{month:"July",data:{}},{month:"August",data:{}},{month:"September",data:{}},{month:"October",data:{}},{month:"November",data:{}},{month:"December",data:{}}]}}}),getters:{},actions:{updateAssetsIncome(e){this.assetsIncome=e},updateTotalData(e){this.data=e}}}),dI=e=>(Object.keys(e).forEach(t=>{const n=e[t];
158n&&typeof n=="object"&&!Array.isArray(n)?(dI(n),Object.keys(n).length===0&&delete e[t]):n||delete e[t]}),e),I0e=(e,t)=>{const n=e||[];return t.forEach(o=>{const i=n.findIndex(s=>s.id===o.id);i!==-1?n[i]=o:n.push(o)}),n},xS=()=>({data:{items:[],totalInDb:0,filters:{},pagination:{}},info:{},selectedItem:null}),F0e=e=>nl(e,{state:()=>xS(),actions:{setItems(t){const{data:n,...o}=t;this.data.items=n,this.data.pagination=o},setTotalInDb(t){this.data.totalInDb=t},setField(t,n){this.info[t]=n},updateItems(t){const{data:n,...o}=t;this.data.items=I0e(this.data.items,n),this.data.pagination=o},getItemById(t){return this.data?.items.find(n=>n.id===t)},updateItemById(t,n){const o=this.data?.items.find(i=>i.id===t);o&&Object.assign(o,n)},deleteItemById(t){this.data.items=this.data?.items.filter(n=>n.id!==t),this.data.pagination.totalCount-=1,this.selectedItem?.id===t&&(this.selectedItem=null)},setSelectedItem(t){this.selectedItem=this.data?.items.find(n=>n.id===t)},resetSelectedItem(){this.selectedItem=null},checkSelectedItem(){this.data.items.some(t=>t.id===this.selectedItem?.id)||(this.selectedItem=null)},setFilters(t){const n={...this.data.filters,...t};this.data.filters=dI(n)},clearItems(){this.data.items=[],this.data.pagination={},this.selectedItem=null},clear(){Object.assign(this,xS())}},getters:{page(){return this.data?.pagination?.page||1},pageCount(){return this.data?.pagination?.pageCount||1},shouldLoadRestData(){return this.page<this.pageCount}},persist:!0})(),Ch=J(!1),by=e=>{const t=F0e(e),{data:n,info:o,selectedItem:i,associatedPayments:s}=ec(t),r=J(!1);return{store:t,data:n,info:o,selectedItem:i,associatedPayments:s,clearStoreData:()=>{td(()=>{t.setFilters({search:""}),window.addEventListener("beforeunload",t.clearItems())}),Or(()=>{r.value=!1,n.value.filters.search="",t.clearItems(),window.removeEventListener("beforeunload",t.clearItems())})},fetchData:async({fn:c,params:u=n.value?.filters})=>{c&&(Ch.value=!0,await c(u),Ch.value=!1,r.value=!0)},isLoading:Ch,isLoaded:r}},QFe=async(e,t,n)=>{const{store:o}=by(e);o.shouldLoadRestData&&(Ch.value=!0,await t({page:o.page+1,...o.data.filters,...n}),Ch.value=!1)},N0=()=>{const e=fn(),{user:t,wallets:n}=ec(e),o=M(()=>t.value?.companyName||t.value?.username),i=M(()=>t.value.email),s=M(()=>t.value),r=M(()=>t.value.role),a=M(()=>G0e),l=M(()=>a.value[t.value?.subscription?.plan?.toLowerCase()]),c=M(()=>t.value?.subscription?.plan==="FREE"),u=M(()=>t.value?.subscription?.isCancelled),d=M(()=>e.profileAvatar),h=M(()=>e.notifications),{uid:p,authToken:f}=ec(e),g=M(()=>t.value.role),m=M(()=>!!(t.value?.profileAvatar&&t.value?.profileOriginalAvatar));return{companyName:o,email:i,user:s,tokenRole:r,profileAvatar:d,wallets:n,notifications:h,accountTypes:a,currentPlan:l,isAvatarExists:m,isPlanFree:c,isPlanCancelled:u,uid:p,role:g,authToken:f}},tf=()=>{const e=fn(),{language:t,settings:n}=ec(e);n.value?.language&&(t.value=n.value?.language);const o=M(()=>n.value?.dateFormat===null?pI.value[0].value:n.value?.dateFormat),i=M(()=>n.value?.timeFormat?n.value?.timeFormat:fI.value[0].value),s=M(()=>{const d=n.value?.numberFormat;return d===null?W0e.value[0].value:d}),r=M(()=>t.value),a=M(()=>n.value?.timezone?.code),l=M(()=>n.value?.timezone?.time),c=M(()=>n.value?.merchantId),u=M(()=>n.value?.createdAt);return{language:r,dateFormat:o,timeFormat:i,timezoneCode:a,timezoneTime:l,numberFormat:s,profileId:c,settings:n,registeredDate:u}},Sm=()=>{const e=F0(),{admin:t,settings:n}=ec(e),o=M(()=>t.value?.dateFormat),i=M(()=>t.value?.timeFormat||fI.value[0].value),s=M(()=>t.value?.numberFormat),r=M(()=>t.value?.timezone?.code),a=M(()=>t.value?.timezone?.time),l=M(()=>t.value?.email),c=M(()=>t.value?.role),u=M(()=>t.value?.adminId),d=M(()=>t.value?.profilePicture?.cropUrl&&`${t.value?.profilePicture?.cropUrl}?${Math.random()}`),h=M(()=>n?.value),p=M(()=>t.value?.twoFaUpdatedAt),f=M(()=>t.value?.username),g=M(()=>t.value?.merchantHistoryStartDate);return{admin:t,adminId:u,dateFormat:o,timeFormat:i,numberFormat:s,timezoneCode:r,timezoneTime:a,profileAvatar:d,email:l,role:c,adminSettings:h,registeredDate:p,profileId:f,merchantHistoryStartDate:g}},O0e=({value:e,decimals:t=2,strategy:n="c"})=>{const o=n==="c"?Gu.ROUND_HALF_EVEN:void 0;return Number(new Gu(e).toDecimalPlaces(t,o))},lp=({val:e,separator:t="comma",baseCurrency:n=null})=>{if(t==="normal")return e;const{user:o}=N0(),i=n==="INR"||o?.value?.baseCurrency==="INR"?"en-IN":"en-US",s=t==="comma"?",":".",r=t==="comma"?".":",";if(e){const[a,l]=e.toString().split(".");return`${new Intl.NumberFormat(i).format(a).replace(/,/g,s)}${l?`${r}${l}`:""}`}return e},N0e=(e,t,n)=>{let o=e;const i=$0e(e,t);return e.length>=2&&e[e.length-1]===n||i>=1e3&&(o=lp({val:i,separator:t,baseCurrency:"INR"})),o},B0e=(e,t)=>{const n=e.indexOf(t);return n===-1||e.length-n<=2?e:e.substring(0,n+3)},eOe=(e,t)=>
158e==="INR"?{mask:/[\d.,]+/,postprocessors:[({value:n,selection:o})=>{let i=N0e(n,t,Dc[t].decimalSeparator);const s=o;return t!=="normal"&&(s[0]=o[0]+(i.length-n.length),s[1]=o[1]+(i.length-n.length)),i.length<=4&&i.includes(Dc[t].thousandSeparator)&&(i=i.replace(Dc[t].thousandSeparator,"")),i=B0e(i,Dc[t].decimalSeparator),{value:i,selection:s}}]}:l3({min:0,thousandSeparator:Dc[t].thousandSeparator,decimalSeparator:Dc[t].decimalSeparator}),H0e=(e,t)=>{const{user:n}=N0();if((n?.value?.baseCurrency==="INR"?"en-IN":"en-US")==="en-IN")switch(!0){case e>=1e7:return[e/1e7,"C"];case e>=1e5:return[e/1e5,"L"];default:return[e,""]}switch(!0){case e>=1e9:return[e/1e9,"B"];case e>=1e6:return[e/1e6,"M"];case e>=1e4:return[e/1e3,"K"];default:return[e,""]}},V0e=({value:e,format:t="",numberType:n="",isRaw:o=!1,isStat:i=!1,isInr:s=!1})=>{const{numberFormat:r}=tf(),{numberFormat:a}=Sm(),l=t||r.value||a.value||"comma";let c=e;if(e!==void 0){if(!o)switch(n){case ca.INT:c=Math.round(c);break;case ca.INT00:c=`${Math.round(c)}.00`;break;case ca.FLOAT2:c=Math.round((c+Number.EPSILON)*100)/100;break;case ca.FLOAT4:c=Math.round((c+Number.EPSILON)*1e4)/1e4;break;case ca.FLOAT5:c=Math.round((c+Number.EPSILON)*1e5)/1e5;break;case ca.TRUNC2:c=Math.floor(c*100)/100;break;case ca.TRUNC4:c=Math.floor(c*1e4)/1e4;break;default:c=Number(c)}if(o&&i){const[u,d]=H0e(c);return c=O0e({value:u,decimals:c<1e4?2:1}),l!=="normal"&&(c=lp({val:c,separator:l,baseCurrency:s?"INR":null})),`${c}${d}`}return l!=="normal"&&(c=lp({val:c,separator:l,baseCurrency:s?"INR":null})),c}},$0e=(e,t)=>e&&Number.isInteger(e)?e:parseFloat(e&&t==="comma"?e.split(",").join(""):e&&t==="point"?e.split(".").join("").replace(",","."):e),Em=[{text:"English",short:"EN",value:"en"},{text:"Русский",short:"RU",value:"ru"},{text:"華語",short:"ZH",value:"zh"},{text:"日本語",short:"JA",value:"ja"},{text:"한국어",short:"KO",value:"ko"}],tOe=[{text:"Free",value:"FREE",icon:"plan-free"},{text:"Pro",value:"PRO",icon:"plan-pro"},{text:"Business",value:"BUSINESS",icon:"plan-business"},{text:"Black",value:"BLACK",icon:"plan-black"},{text:"IO",value:"IO",icon:"plan-io"}],nOe=[{text:"Monthly",value:"MONTHLY"},{text:"Yearly",value:"YEARLY"}],hI=[{icon:"btc-circle",iconDisabled:"btc-disabled",name:"Bitcoin",value:"BTC",isPrimary:!0},{icon:"ltc-circle",iconDisabled:"ltc-disabled",name:"Litecoin",value:"LTC",isPrimary:!0},{icon:"dash-circle",iconDisabled:"dash-disabled",name:"Dash",value:"DASH",isPrimary:!0},{icon:"xmr-circle",iconDisabled:"xmr-disabled",name:"Monero",value:"XMR",isPrimary:!0}],m3={BTC:1,LTC:2,DASH:3,XMR:4},oOe={FREE:1,PRO:2,BUSINESS:3,BLACK:4,IO:5},j1=[{symbol:"$",short:"USD",minAmount:5,countryCode:"us",icon:Tge},{symbol:"€",short:"EUR",minAmount:5,countryCode:"eu",icon:pge},{symbol:"£",short:"GBP",minAmount:5,countryCode:"gb",icon:fge},{symbol:"₣",short:"CHF",minAmount:5,countryCode:"ch",icon:dge},{symbol:"₽",short:"RUB",minAmount:500,countryCode:"ru",icon:yge},{symbol:"₩",short:"KRW",minAmount:5e3,countryCode:"kr",icon:bge},{symbol:"¥",short:"CNY",minAmount:100,countryCode:"cn",icon:hge},{symbol:"¥",short:"JPY",minAmount:1e3,countryCode:"jp",icon:Cge},{symbol:"฿",short:"THB",minAmount:200,countryCode:"th",icon:Sge},{symbol:"₴",short:"UAH",minAmount:500,countryCode:"ua",icon:Ege},{symbol:"₪",short:"ILS",minAmount:20,countryCode:"il",icon:mge},{symbol:"HK$",short:"HKD",minAmount:100,countryCode:"hk",icon:gge},{symbol:"S$",short:"SGD",minAmount:10,countryCode:"sg",icon:wge},{symbol:"₹",short:"INR",minAmount:500,countryCode:"in",icon:vge},{symbol:"د.إ",short:"AED",minAmount:20,hasArabicStyle:!0,countryCode:"ae",icon:uge}],pI=M(()=>{const{t:e}=no.global;return[{label:e("format.date.dateMonthYear"),value:"DD/MM/YYYY"},{label:e("format.date.yearMonthDate"),value:"YYYY/MM/DD"},{label:e("format.date.monthDateYear"),value:"MM/DD/YYYY"}]}),fI=M(()=>{const{t:e}=no.global;return[{label:e("format.time.12h"),value:"h:mm A"},{label:e("format.time.24h"),value:"HH:mm"}]}),W0e=M(()=>{const{t:e}=no.global,t=`${lp({val:1e6,separator:"comma"})}.00`,n=`${lp({val:1e6,separator:"point"})},00`;return[{label:e("format.number.comma",{value:t}),value:"comma"},{label:e("format.number.point",{value:n}),value:"point"},{label:e("format.number.noDelimeter",{value:"1000000"}),value:"normal"}]}),DS={name:"pro",title:"PRO",color:"#D48343",icon:"plan-pro",perMonth:null,perYear:1e3,limits:{payments:100,subscriptions:100,clients:100}},G0e={free:{...DS,name:"free",title:"STANDARD (free)"},pro:DS,business:{name:"business",color:"#922631",icon:"plan-business",title:"BUSINESS",perMonth:1e3,perYear:1e4,limits:{payments:1e3,subscriptions:300,clients:300}},black:{name:"black",color:"#000000",icon:"plan-black",title:"BLACK",perMonth:5e3,perYear:5e4,limits:{payments:"Unlimited",subscriptions:"Unlimited",clients:"Unlimited"}}},Jt=Object.freeze({USER:"user",CLIENT:"client",MERCHANT:"merchant",ADMIN:"admin",SUPER_ADMIN:"superadmin"}),ca=Object.freeze({INT:"INT",INT00:"INT00",FLOAT2:"FLOAT2",FLOAT4:"FLOAT4",FLOAT5:"FLOAT5",TRUNC2:"TRUNC2",TRUNC4:"TRUNC4"}),kS=Object.freeze([{name:"january",text:"Jan",value:0},{name:"february",text:"Feb",value:1},{name:"march",text:"Mar",value:2},{name:"april",text:"Apr",value:3},{name:"may",text:"May",value:4},{name:"june",text:"Jun",value:5},{name:"july",text:"Jul",value:6},{name:"august",text:"Aug",value:7},{name:"september",text:"Sep",value:8},{name:"october",text:"Oct",value:9},{name:"november",text:"Nov",value:10},{name:"december",text:"Dec",value:11}]),z0e=Object.freeze([2023,2024,2025,2026,2027,2028]),U0e={doubleWithTwoDecimal:l3({min:0,thousandSeparator:""}),onlyInteger:l3({min:0,thousandSeparator:""}),totp:{mask:/^[0-9/]+$/i},email:{mask:/^[\w-+@.]+$/i},date:{mask:/^[0-9-/]+$/i},datetime:{mask:/^[0-9a-zA-Z-/():]+$/i},onlyChars:{mask:/^[a-zA-Z]+$/i},numsAndChars:{mask:/^[0-9a-zA-Z]+$/i},ipAddr:{mask:/^[0-9a-z.:]+$/i},all:{mask:/.*/gm}},iOe=Object.freeze({INCIDENT:{text:"Incident",value:"INCIDENT",icon:"pin-flag"},NEWS:{text:"News",value:"NEWS",icon:"tabledocument"}}),j0e=Object.freeze({ACCESS_RESTRICTED:{value:"ACCESS_RESTRICTED",code:403,uri:"/access-restricted"},TOO_MANY_REQUESTS:{value:"TOO_MANY_REQUESTS",code:429},UNDER_MAINTENANCE:{value:"UNDER_MAINTENANCE",code:503,uri:"/under-maintenance"}}),Dc=Object.freeze({comma:{thousandSeparator:",",decimalSeparator:"."}
vendor: 4,376 bytes, line 158
158,point:{thousandSeparator:".",decimalSeparator:","},normal:{thousandSeparator:"",decimalSeparator:"."}}),sOe={MERCHANT_PAYMENTS:"merchantPayments",MERCHANT_DASHBOARD:"merchantDashboard",ADMIN_STAFF:"adminStaff",ADMIN_DEPOSITS:"adminDeposits",ADMIN_INVOICES:"adminInvoices"},gI=Object.freeze({MERCHANT_CLIENTS:"merchantClients"});function mI(e,t){return function(){return e.apply(t,arguments)}}const{toString:Z0e}=Object.prototype,{getPrototypeOf:yy}=Object,{iterator:B0,toStringTag:vI}=Symbol,H0=(e=>t=>{const n=Z0e.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),cs=e=>(e=e.toLowerCase(),t=>H0(t)===e),V0=e=>t=>typeof t===e,{isArray:gd}=Array,zu=V0("undefined");function nf(e){return e!==null&&!zu(e)&&e.constructor!==null&&!zu(e.constructor)&&Fo(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const CI=cs("ArrayBuffer");function K0e(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&CI(e.buffer),t}const q0e=V0("string"),Fo=V0("function"),bI=V0("number"),of=e=>e!==null&&typeof e=="object",Y0e=e=>e===!0||e===!1,Z1=e=>{if(H0(e)!=="object")return!1;const t=yy(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(vI in e)&&!(B0 in e)},X0e=e=>{if(!of(e)||nf(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},J0e=cs("Date"),Q0e=cs("File"),e2e=cs("Blob"),t2e=cs("FileList"),n2e=e=>of(e)&&Fo(e.pipe),o2e=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Fo(e.append)&&((t=H0(e))==="formdata"||t==="object"&&Fo(e.toString)&&e.toString()==="[object FormData]"))},i2e=cs("URLSearchParams"),[s2e,r2e,a2e,l2e]=["ReadableStream","Request","Response","Headers"].map(cs),c2e=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function sf(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,i;if(typeof e!="object"&&(e=[e]),gd(e))for(o=0,i=e.length;o<i;o++)t.call(null,e[o],o,e);else{if(nf(e))return;const s=n?Object.getOwnPropertyNames(e):Object.keys(e),r=s.length;let a;for(o=0;o<r;o++)a=s[o],t.call(null,e[a],a,e)}}function yI(e,t){if(nf(e))return null;t=t.toLowerCase();const n=Object.keys(e);let o=n.length,i;for(;o-- >0;)if(i=n[o],t===i.toLowerCase())return i;return null}const yl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:globalThis,wI=e=>!zu(e)&&e!==yl;function v3(){const{caseless:e,skipUndefined:t}=wI(this)&&this||{},n={},o=(i,s)=>{const r=e&&yI(n,s)||s;Z1(n[r])&&Z1(i)?n[r]=v3(n[r],i):Z1(i)?n[r]=v3({},i):gd(i)?n[r]=i.slice():(!t||!zu(i))&&(n[r]=i)};for(let i=0,s=arguments.length;i<s;i++)arguments[i]&&sf(arguments[i],o);return n}const u2e=(e,t,n,{allOwnKeys:o}={})=>(sf(t,(i,s)=>{n&&Fo(i)?e[s]=mI(i,n):e[s]=i},{allOwnKeys:o}),e),d2e=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),h2e=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},p2e=(e,t,n,o)=>{let i,s,r;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)r=i[s],(!o||o(r,e,t))&&!a[r]&&(t[r]=e[r],a[r]=!0);e=n!==!1&&yy(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},f2e=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n},g2e=e=>{if(!e)return null;if(gd(e))return e;let t=e.length;if(!bI(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},m2e=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&yy(Uint8Array)),v2e=(e,t)=>{const o=(e&&e[B0]).call(e);let i;for(;(i=o.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},C2e=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},b2e=cs("HTMLFormElement"),y2e=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,i){return o.toUpperCase()+i}),AS=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),w2e=cs("RegExp"),SI=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};sf(n,(i,s)=>{let r;(r=t(i,s,e))!==!1&&(o[s]=r||i)}),Object.defineProperties(e,o)},S2e=e=>{SI(e,(t,n)=>{if(Fo(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(Fo(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},E2e=(e,t)=>
vendor: 4,927 bytes, line 158
158{const n={},o=i=>{i.forEach(s=>{n[s]=!0})};return gd(e)?o(e):o(String(e).split(t)),n},T2e=()=>{},R2e=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function P2e(e){return!!(e&&Fo(e.append)&&e[vI]==="FormData"&&e[B0])}const M2e=e=>{const t=new Array(10),n=(o,i)=>{if(of(o)){if(t.indexOf(o)>=0)return;if(nf(o))return o;if(!("toJSON"in o)){t[i]=o;const s=gd(o)?[]:{};return sf(o,(r,a)=>{const l=n(r,i+1);!zu(l)&&(s[a]=l)}),t[i]=void 0,s}}return o};return n(e,0)},L2e=cs("AsyncFunction"),x2e=e=>e&&(of(e)||Fo(e))&&Fo(e.then)&&Fo(e.catch),EI=((e,t)=>e?setImmediate:t?((n,o)=>(yl.addEventListener("message",({source:i,data:s})=>{i===yl&&s===n&&o.length&&o.shift()()},!1),i=>{o.push(i),yl.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Fo(yl.postMessage)),D2e=typeof queueMicrotask<"u"?queueMicrotask.bind(yl):typeof process<"u"&&process.nextTick||EI,k2e=e=>e!=null&&Fo(e[B0]),Ce={isArray:gd,isArrayBuffer:CI,isBuffer:nf,isFormData:o2e,isArrayBufferView:K0e,isString:q0e,isNumber:bI,isBoolean:Y0e,isObject:of,isPlainObject:Z1,isEmptyObject:X0e,isReadableStream:s2e,isRequest:r2e,isResponse:a2e,isHeaders:l2e,isUndefined:zu,isDate:J0e,isFile:Q0e,isBlob:e2e,isRegExp:w2e,isFunction:Fo,isStream:n2e,isURLSearchParams:i2e,isTypedArray:m2e,isFileList:t2e,forEach:sf,merge:v3,extend:u2e,trim:c2e,stripBOM:d2e,inherits:h2e,toFlatObject:p2e,kindOf:H0,kindOfTest:cs,endsWith:f2e,toArray:g2e,forEachEntry:v2e,matchAll:C2e,isHTMLForm:b2e,hasOwnProperty:AS,hasOwnProp:AS,reduceDescriptors:SI,freezeMethods:S2e,toObjectSet:E2e,toCamelCase:y2e,noop:T2e,toFiniteNumber:R2e,findKey:yI,global:yl,isContextDefined:wI,isSpecCompliantForm:P2e,toJSONObject:M2e,isAsyncFn:L2e,isThenable:x2e,setImmediate:EI,asap:D2e,isIterable:k2e};function wt(e,t,n,o,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),i&&(this.response=i,this.status=i.status?i.status:null)}Ce.inherits(wt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Ce.toJSONObject(this.config),code:this.code,status:this.status}}});const TI=wt.prototype,RI={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{RI[e]={value:e}});Object.defineProperties(wt,RI);Object.defineProperty(TI,"isAxiosError",{value:!0});wt.from=(e,t,n,o,i,s)=>{const r=Object.create(TI);Ce.toFlatObject(e,r,function(u){return u!==Error.prototype},c=>c!=="isAxiosError");const a=e&&e.message?e.message:"Error",l=t==null&&e?e.code:t;return wt.call(r,a,l,n,o,i),e&&r.cause==null&&Object.defineProperty(r,"cause",{value:e,configurable:!0}),r.name=e&&e.name||"Error",s&&Object.assign(r,s),r};const A2e=null;function C3(e){return Ce.isPlainObject(e)||Ce.isArray(e)}function PI(e){return Ce.endsWith(e,"[]")?e.slice(0,-2):e}function _S(e,t,n){return e?e.concat(t).map(function(i,s){return i=PI(i),!n&&s?"["+i+"]":i}).join(n?".":""):t}function _2e(e){return Ce.isArray(e)&&!e.some(C3)}const I2e=Ce.toFlatObject(Ce,{},null,function(t){return/^is[A-Z]/.test(t)});function $0(e,t,n){if(!Ce.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Ce.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,m){return!Ce.isUndefined(m[g])});const o=n.metaTokens,i=n.visitor||u,s=n.dots,r=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Ce.isSpecCompliantForm(t);if(!Ce.isFunction(i))throw new TypeError("visitor must be a function");function c(f){if(f===null)return"";if(Ce.isDate(f))return f.toISOString();if(Ce.isBoolean(f))return f.toString();if(!l&&Ce.isBlob(f))throw new wt("Blob is not supported. Use a Buffer instead.");return Ce.isArrayBuffer(f)||Ce.isTypedArray(f)?l&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function u(f,g,m){let v=f;if(f&&!m&&typeof f=="object"){if(Ce.endsWith(g,"{}"))g=o?g:g.slice(0,-2),f=JSON.stringify(f);else if(Ce.isArray(f)&&_2e(f)||(Ce.isFileList(f)||Ce.endsWith(g,"[]"))&&(v=Ce.toArray(f)))return g=PI(g),v.forEach(function(b,w){!(Ce.isUndefined(b)||b===null)&&t.append(r===!0?_S([g],w,s):r===null?g:g+"[]",c(b))}),!1}return C3(f)?!0:(t.append(_S(m,g,s),c(f)),!1)}const d=[],h=Object.assign(I2e,{defaultVisitor:u,convertValue:c,isVisitable:C3});function p(f,g){if(!Ce.isUndefined(f)){if(d.indexOf(f)!==-1)throw Error("Circular reference detected in "+g.join("."));d.push(f),Ce.forEach(f,function(v,y){(!(Ce.isUndefined(v)||v===null)&&i.call(t,v,Ce.isString(y)?y.trim():y,g,h))===!0&&p(v,g?g.concat(y):[y])}),d.pop()}}if(!Ce.isObject(e))throw new TypeError("data must be an object");return p(e),t}
vendor: 5,437 bytes, lines 158-159
158function IS(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function wy(e,t){this._pairs=[],e&&$0(e,this,t)}const MI=wy.prototype;MI.append=function(t,n){this._pairs.push([t,n])};MI.toString=function(t){const n=t?function(o){return t.call(this,o,IS)}:IS;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function F2e(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function LI(e,t,n){if(!t)return e;const o=n&&n.encode||F2e;Ce.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let s;if(i?s=i(t,n):s=Ce.isURLSearchParams(t)?t.toString():new wy(t,n).toString(o),s){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class FS{constructor(){this.handlers=[]}use(t,n,o){return this.handlers.push({fulfilled:t,rejected:n,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Ce.forEach(this.handlers,function(o){o!==null&&t(o)})}}const xI={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},O2e=typeof URLSearchParams<"u"?URLSearchParams:wy,N2e=typeof FormData<"u"?FormData:null,B2e=typeof Blob<"u"?Blob:null,H2e={isBrowser:!0,classes:{URLSearchParams:O2e,FormData:N2e,Blob:B2e},protocols:["http","https","file","blob","url","data"]},Sy=typeof window<"u"&&typeof document<"u",b3=typeof navigator=="object"&&navigator||void 0,V2e=Sy&&(!b3||["ReactNative","NativeScript","NS"].indexOf(b3.product)<0),$2e=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",W2e=Sy&&window.location.href||"http://localhost",G2e=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Sy,hasStandardBrowserEnv:V2e,hasStandardBrowserWebWorkerEnv:$2e,navigator:b3,origin:W2e},Symbol.toStringTag,{value:"Module"})),po={...G2e,...H2e};function z2e(e,t){return $0(e,new po.classes.URLSearchParams,{visitor:function(n,o,i,s){return po.isNode&&Ce.isBuffer(n)?(this.append(o,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function U2e(e){return Ce.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function j2e(e){const t={},n=Object.keys(e);let o;const i=n.length;let s;for(o=0;o<i;o++)s=n[o],t[s]=e[s];return t}function DI(e){function t(n,o,i,s){let r=n[s++];if(r==="__proto__")return!0;const a=Number.isFinite(+r),l=s>=n.length;return r=!r&&Ce.isArray(i)?i.length:r,l?(Ce.hasOwnProp(i,r)?i[r]=[i[r],o]:i[r]=o,!a):((!i[r]||!Ce.isObject(i[r]))&&(i[r]=[]),t(n,o,i[r],s)&&Ce.isArray(i[r])&&(i[r]=j2e(i[r])),!a)}if(Ce.isFormData(e)&&Ce.isFunction(e.entries)){const n={};return Ce.forEachEntry(e,(o,i)=>{t(U2e(o),i,n,0)}),n}return null}function Z2e(e,t,n){if(Ce.isString(e))try{return(t||JSON.parse)(e),Ce.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const rf={transitional:xI,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const o=n.getContentType()||"",i=o.indexOf("application/json")>-1,s=Ce.isObject(t);if(s&&Ce.isHTMLForm(t)&&(t=new FormData(t)),Ce.isFormData(t))return i?JSON.stringify(DI(t)):t;if(Ce.isArrayBuffer(t)||Ce.isBuffer(t)||Ce.isStream(t)||Ce.isFile(t)||Ce.isBlob(t)||Ce.isReadableStream(t))return t;if(Ce.isArrayBufferView(t))return t.buffer;if(Ce.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return z2e(t,this.formSerializer).toString();if((a=Ce.isFileList(t))||o.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return $0(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),Z2e(t)):t}],transformResponse:[function(t){const n=this.transitional||rf.transitional,o=n&&n.forcedJSONParsing,i=this.responseType==="json";if(Ce.isResponse(t)||Ce.isReadableStream(t))return t;if(t&&Ce.isString(t)&&(o&&!this.responseType||i)){const r=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t,this.parseReviver)}catch(a){if(r)throw a.name==="SyntaxError"?wt.from(a,wt.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:po.classes.FormData,Blob:po.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ce.forEach(["delete","get","head","post","put","patch"],e=>{rf.headers[e]={}});const K2e=Ce.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),q2e=e=>{const t={};let n,o,i;return e&&e.split(`
159`).forEach(function(r){i=r.indexOf(":"),n=r.substring(0,i).trim().toLowerCase(),o=r.substring(i+1).trim(),!(!n||t[n]&&K2e[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},OS=Symbol("internals");function Od(e){return e&&String(e).trim().toLowerCase()}function K1(e){return e===!1||e==null?e:Ce.isArray(e)?e.map(K1):String(e)}function Y2e(e){const t=Object.create(null),n=/([^\s,;
159=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const X2e=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function jv(e,t,n,o,i){if(Ce.isFunction(o))return o.call(this,t,n);if(i&&(t=n),!!Ce.isString(t)){if(Ce.isString(o))return t.indexOf(o)!==-1;if(Ce.isRegExp(o))return o.test(t)}}function J2e(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function Q2e(e,t){const n=Ce.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(i,s,r){return this[o].call(this,t,i,s,r)},configurable:!0})})}let Oo=class{constructor(t){t&&this.set(t)}set(t,n,o){const i=this;function s(a,l,c){const u=Od(l);if(!u)throw new Error("header name must be a non-empty string");const d=Ce.findKey(i,u);(!d||i[d]===void 0||c===!0||c===void 0&&i[d]!==!1)&&(i[d||l]=K1(a))}const r=(a,l)=>Ce.forEach(a,(c,u)=>s(c,u,l));if(Ce.isPlainObject(t)||t instanceof this.constructor)r(t,n);else if(Ce.isString(t)&&(t=t.trim())&&!X2e(t))r(q2e(t),n);else if(Ce.isObject(t)&&Ce.isIterable(t)){let a={},l,c;for(const u of t){if(!Ce.isArray(u))throw TypeError("Object iterator must return a key-value pair");a[c=u[0]]=(l=a[c])?Ce.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}r(a,n)}else t!=null&&s(n,t,o);return this}get(t,n){if(t=Od(t),t){const o=Ce.findKey(this,t);if(o){const i=this[o];if(!n)return i;if(n===!0)return Y2e(i);if(Ce.isFunction(n))return n.call(this,i,o);if(Ce.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Od(t),t){const o=Ce.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||jv(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let i=!1;function s(r){if(r=Od(r),r){const a=Ce.findKey(o,r);a&&(!n||jv(o,o[a],a,n))&&(delete o[a],i=!0)}}return Ce.isArray(t)?t.forEach(s):s(t),i}clear(t){const n=Object.keys(this);let o=n.length,i=!1;for(;o--;){const s=n[o];(!t||jv(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,o={};return Ce.forEach(this,(i,s)=>{const r=Ce.findKey(o,s);if(r){n[r]=K1(i),delete n[s];return}const a=t?J2e(s):String(s).trim();a!==s&&delete n[s],n[a]=K1(i),o[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Ce.forEach(this,(o,i)=>{o!=null&&o!==!1&&(n[i]=t&&Ce.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
160`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(i=>o.set(i)),o}static accessor(t){const o=(this[OS]=this[OS]={accessors:{}}).accessors,i=this.prototype;function s(r){const a=Od(r);o[a]||(Q2e(i,r),o[a]=!0)}return Ce.isArray(t)?t.forEach(s):s(t),this}};Oo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Ce.reduceDescriptors(Oo.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});Ce.freezeMethods(Oo);function Zv(e,t){const n=this||rf,o=t||n,i=Oo.from(o.headers);let s=o.data;return Ce.forEach(e,function(a){s=a.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function kI(e){return!!(e&&e.__CANCEL__)}function md(e,t,n){wt.call(this,e??"canceled",wt.ERR_CANCELED,t,n),this.name="CanceledError"}Ce.inherits(md,wt,{__CANCEL__:!0});function AI(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new wt("Request failed with status code "+n.status,[wt.ERR_BAD_REQUEST,wt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function eve(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function tve(e,t){e=e||10;const n=new Array(e),o=new Array(e);let i=0,s=0,r;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=o[s];r||(r=c),n[i]=l,o[i]=c;let d=s,h=0;for(;d!==i;)h+=n[d++],d=d%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),c-r<t)return;const p=u&&c-u;return p?Math.round(h*1e3/p):void 0}}function nve(e,t){let n=0,o=1e3/t,i,s;const r=(c,u=Date.now())=>
vendor: 5,001 bytes, line 160
160{n=u,i=null,s&&(clearTimeout(s),s=null),e(...c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=o?r(c,u):(i=c,s||(s=setTimeout(()=>{s=null,r(i)},o-d)))},()=>i&&r(i)]}const Tm=(e,t,n=3)=>{let o=0;const i=tve(50,250);return nve(s=>{const r=s.loaded,a=s.lengthComputable?s.total:void 0,l=r-o,c=i(l),u=r<=a;o=r;const d={loaded:r,total:a,progress:a?r/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&u?(a-r)/c:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(d)},n)},NS=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},BS=e=>(...t)=>Ce.asap(()=>e(...t)),ove=po.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,po.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(po.origin),po.navigator&&/(msie|trident)/i.test(po.navigator.userAgent)):()=>!0,ive=po.hasStandardBrowserEnv?{write(e,t,n,o,i,s){const r=[e+"="+encodeURIComponent(t)];Ce.isNumber(n)&&r.push("expires="+new Date(n).toGMTString()),Ce.isString(o)&&r.push("path="+o),Ce.isString(i)&&r.push("domain="+i),s===!0&&r.push("secure"),document.cookie=r.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function sve(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function rve(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function _I(e,t,n){let o=!sve(t);return e&&(o||n==!1)?rve(e,t):t}const HS=e=>e instanceof Oo?{...e}:e;function tc(e,t){t=t||{};const n={};function o(c,u,d,h){return Ce.isPlainObject(c)&&Ce.isPlainObject(u)?Ce.merge.call({caseless:h},c,u):Ce.isPlainObject(u)?Ce.merge({},u):Ce.isArray(u)?u.slice():u}function i(c,u,d,h){if(Ce.isUndefined(u)){if(!Ce.isUndefined(c))return o(void 0,c,d,h)}else return o(c,u,d,h)}function s(c,u){if(!Ce.isUndefined(u))return o(void 0,u)}function r(c,u){if(Ce.isUndefined(u)){if(!Ce.isUndefined(c))return o(void 0,c)}else return o(void 0,u)}function a(c,u,d){if(d in t)return o(c,u);if(d in e)return o(void 0,c)}const l={url:s,method:s,data:s,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:a,headers:(c,u,d)=>i(HS(c),HS(u),d,!0)};return Ce.forEach(Object.keys({...e,...t}),function(u){const d=l[u]||i,h=d(e[u],t[u],u);Ce.isUndefined(h)&&d!==a||(n[u]=h)}),n}const II=e=>{const t=tc({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:s,headers:r,auth:a}=t;if(t.headers=r=Oo.from(r),t.url=LI(_I(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&r.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),Ce.isFormData(n)){if(po.hasStandardBrowserEnv||po.hasStandardBrowserWebWorkerEnv)r.setContentType(void 0);else if(Ce.isFunction(n.getHeaders)){const l=n.getHeaders(),c=["content-type","content-length"];Object.entries(l).forEach(([u,d])=>{c.includes(u.toLowerCase())&&r.set(u,d)})}}if(po.hasStandardBrowserEnv&&(o&&Ce.isFunction(o)&&(o=o(t)),o||o!==!1&&ove(t.url))){const l=i&&s&&ive.read(s);l&&r.set(i,l)}return t},ave=typeof XMLHttpRequest<"u",lve=ave&&function(e){return new Promise(function(n,o){const i=II(e);let s=i.data;const r=Oo.from(i.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=i,u,d,h,p,f;function g(){p&&p(),f&&f(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let m=new XMLHttpRequest;m.open(i.method.toUpperCase(),i.url,!0),m.timeout=i.timeout;function v(){if(!m)return;const b=Oo.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),S={data:!a||a==="text"||a==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:b,config:e,request:m};AI(function(T){n(T),g()},function(T){o(T),g()},S),m=null}"onloadend"in m?m.onloadend=v:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(v)},m.onabort=function(){m&&(o(new wt("Request aborted",wt.ECONNABORTED,e,m)),m=null)},m.onerror=function(w){const S=w&&w.message?w.message:"Network Error",E=new wt(S,wt.ERR_NETWORK,e,m);E.event=w||null,o(E),m=null},m.ontimeout=function(){let w=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const S=i.transitional||xI;i.timeoutErrorMessage&&(w=i.timeoutErrorMessage),o(new wt(w,S.clarifyTimeoutError?wt.ETIMEDOUT:wt.ECONNABORTED,e,m)),m=null},s===void 0&&r.setContentType(null),"setRequestHeader"in m&&Ce.forEach(r.toJSON(),function(w,S){m.setRequestHeader(S,w)}),Ce.isUndefined(i.withCredentials)||(m.withCredentials=!!i.withCredentials),a&&a!=="json"&&(m.responseType=i.responseType),c&&
vendor: 4,456 bytes, line 160
160([h,f]=Tm(c,!0),m.addEventListener("progress",h)),l&&m.upload&&([d,p]=Tm(l),m.upload.addEventListener("progress",d),m.upload.addEventListener("loadend",p)),(i.cancelToken||i.signal)&&(u=b=>{m&&(o(!b||b.type?new md(null,e,m):b),m.abort(),m=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const y=eve(i.url);if(y&&po.protocols.indexOf(y)===-1){o(new wt("Unsupported protocol "+y+":",wt.ERR_BAD_REQUEST,e));return}m.send(s||null)})},cve=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let o=new AbortController,i;const s=function(c){if(!i){i=!0,a();const u=c instanceof Error?c:this.reason;o.abort(u instanceof wt?u:new md(u instanceof Error?u.message:u))}};let r=t&&setTimeout(()=>{r=null,s(new wt(`timeout ${t} of ms exceeded`,wt.ETIMEDOUT))},t);const a=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(s):c.removeEventListener("abort",s)}),e=null)};e.forEach(c=>c.addEventListener("abort",s));const{signal:l}=o;return l.unsubscribe=()=>Ce.asap(a),l}},uve=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let o=0,i;for(;o<n;)i=o+t,yield e.slice(o,i),o=i},dve=async function*(e,t){for await(const n of hve(e))yield*uve(n,t)},hve=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:o}=await t.read();if(n)break;yield o}}finally{await t.cancel()}},VS=(e,t,n,o)=>{const i=dve(e,t);let s=0,r,a=l=>{r||(r=!0,o&&o(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await i.next();if(c){a(),l.close();return}let d=u.byteLength;if(n){let h=s+=d;n(h)}l.enqueue(new Uint8Array(u))}catch(c){throw a(c),c}},cancel(l){return a(l),i.return()}},{highWaterMark:2})},$S=64*1024,{isFunction:Kf}=Ce,FI=(({fetch:e,Request:t,Response:n})=>({fetch:e,Request:t,Response:n}))(Ce.global),{ReadableStream:WS,TextEncoder:GS}=Ce.global,zS=(e,...t)=>{try{return!!e(...t)}catch{return!1}},pve=e=>{const{fetch:t,Request:n,Response:o}=Object.assign({},FI,e),i=Kf(t),s=Kf(n),r=Kf(o);if(!i)return!1;const a=i&&Kf(WS),l=i&&(typeof GS=="function"?(f=>g=>f.encode(g))(new GS):async f=>new Uint8Array(await new n(f).arrayBuffer())),c=s&&a&&zS(()=>{let f=!1;const g=new n(po.origin,{body:new WS,method:"POST",get duplex(){return f=!0,"half"}}).headers.has("Content-Type");return f&&!g}),u=r&&a&&zS(()=>Ce.isReadableStream(new o("").body)),d={stream:u&&(f=>f.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(f=>{!d[f]&&(d[f]=(g,m)=>{let v=g&&g[f];if(v)return v.call(g);throw new wt(`Response type '${f}' is not supported`,wt.ERR_NOT_SUPPORT,m)})});const h=async f=>{if(f==null)return 0;if(Ce.isBlob(f))return f.size;if(Ce.isSpecCompliantForm(f))return(await new n(po.origin,{method:"POST",body:f}).arrayBuffer()).byteLength;if(Ce.isArrayBufferView(f)||Ce.isArrayBuffer(f))return f.byteLength;if(Ce.isURLSearchParams(f)&&(f=f+""),Ce.isString(f))return(await l(f)).byteLength},p=async(f,g)=>{const m=Ce.toFiniteNumber(f.getContentLength());return m??h(g)};return async f=>{let{url:g,method:m,data:v,signal:y,cancelToken:b,timeout:w,onDownloadProgress:S,onUploadProgress:E,responseType:T,headers:R,withCredentials:A="same-origin",fetchOptions:k}=II(f);T=T?(T+"").toLowerCase():"text";let D=cve([y,b&&b.toAbortSignal()],w),V=null;const O=D&&D.unsubscribe&&(()=>{D.unsubscribe()});let F;try{if(E&&c&&m!=="get"&&m!=="head"&&(F=await p(R,v))!==0){let B=new n(g,{method:"POST",body:v,duplex:"half"}),z;if(Ce.isFormData(v)&&(z=B.headers.get("content-type"))&&R.setContentType(z),B.body){const[H,j]=NS(F,Tm(BS(E)));v=VS(B.body,$S,H,j)}}Ce.isString(A)||(A=A?"include":"omit");const _=s&&"credentials"in n.prototype,P={...k,signal:D,method:m.toUpperCase(),headers:R.normalize().toJSON(),body:v,duplex:"half",credentials:_?A:void 0};V=s&&new n(g,P);let L=await(s?t(V,k):t(g,P));const x=u&&(T==="stream"||T==="response");if(u&&(S||x&&O)){const B={};["status","statusText","headers"].forEach(Q=>{B[Q]=L[Q]});const z=Ce.toFiniteNumber(L.headers.get("content-length")),[H,j]=S&&NS(z,Tm(BS(S),!0))||[];L=new o(VS(L.body,$S,H,()=>{j&&j(),O&&O()}),B)}T=T||"text";let I=await d[Ce.findKey(d,T)||"text"](L,f);return!x&&O&&O(),await new Promise((B,z)=>{AI(B,z,{data:I,headers:Oo.from(L.headers),status:L.status,statusText:L.statusText,config:f,request:V})})}catch(_){throw O&&O(),_&&_.name==="TypeError"&&/Load failed|fetch/i.test(_.message)?Object.assign(new wt("Network Error",wt.ERR_NETWORK,f,V),{
vendor: 5,846 bytes, lines 160-163
160cause:_.cause||_}):wt.from(_,_&&_.code,f,V)}}},fve=new Map,OI=e=>{let t=Ce.merge.call({skipUndefined:!0},FI,e?e.env:null);const{fetch:n,Request:o,Response:i}=t,s=[o,i,n];let r=s.length,a=r,l,c,u=fve;for(;a--;)l=s[a],c=u.get(l),c===void 0&&u.set(l,c=a?new Map:pve(t)),u=c;return c};OI();const y3={http:A2e,xhr:lve,fetch:{get:OI}};Ce.forEach(y3,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const US=e=>`- ${e}`,gve=e=>Ce.isFunction(e)||e===null||e===!1,NI={getAdapter:(e,t)=>{e=Ce.isArray(e)?e:[e];const{length:n}=e;let o,i;const s={};for(let r=0;r<n;r++){o=e[r];let a;if(i=o,!gve(o)&&(i=y3[(a=String(o)).toLowerCase()],i===void 0))throw new wt(`Unknown adapter '${a}'`);if(i&&(Ce.isFunction(i)||(i=i.get(t))))break;s[a||"#"+r]=i}if(!i){const r=Object.entries(s).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=n?r.length>1?`since :
161`+r.map(US).join(`
162`):" "+US(r[0]):"as no adapter specified";throw new wt("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return i},adapters:y3};function Kv(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new md(null,e)}function jS(e){return Kv(e),e.headers=Oo.from(e.headers),e.data=Zv.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),NI.getAdapter(e.adapter||rf.adapter,e)(e).then(function(o){return Kv(e),o.data=Zv.call(e,e.transformResponse,o),o.headers=Oo.from(o.headers),o},function(o){return kI(o)||(Kv(e),o&&o.response&&(o.response.data=Zv.call(e,e.transformResponse,o.response),o.response.headers=Oo.from(o.response.headers))),Promise.reject(o)})}const BI="1.12.0",W0={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{W0[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const ZS={};W0.transitional=function(t,n,o){function i(s,r){return"[Axios v"+BI+"] Transitional option '"+s+"'"+r+(o?". "+o:"")}return(s,r,a)=>{if(t===!1)throw new wt(i(r," has been removed"+(n?" in "+n:"")),wt.ERR_DEPRECATED);return n&&!ZS[r]&&(ZS[r]=!0,console.warn(i(r," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,r,a):!0}};W0.spelling=function(t){return(n,o)=>(console.warn(`${o} is likely a misspelling of ${t}`),!0)};function mve(e,t,n){if(typeof e!="object")throw new wt("options must be an object",wt.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let i=o.length;for(;i-- >0;){const s=o[i],r=t[s];if(r){const a=e[s],l=a===void 0||r(a,s,e);if(l!==!0)throw new wt("option "+s+" must be "+l,wt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new wt("Unknown option "+s,wt.ERR_BAD_OPTION)}}const q1={assertOptions:mve,validators:W0},vs=q1.validators;let Wl=class{constructor(t){this.defaults=t||{},this.interceptors={request:new FS,response:new FS}}async request(t,n){try{return await this._request(t,n)}catch(o){if(o instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{o.stack?s&&!String(o.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(o.stack+=`
163`+s):o.stack=s}catch{}}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=tc(this.defaults,n);const{transitional:o,paramsSerializer:i,headers:s}=n;o!==void 0&&q1.assertOptions(o,{silentJSONParsing:vs.transitional(vs.boolean),forcedJSONParsing:vs.transitional(vs.boolean),clarifyTimeoutError:vs.transitional(vs.boolean)},!1),i!=null&&(Ce.isFunction(i)?n.paramsSerializer={serialize:i}:q1.assertOptions(i,{encode:vs.function,serialize:vs.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),q1.assertOptions(n,{baseUrl:vs.spelling("baseURL"),withXsrfToken:vs.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let r=s&&Ce.merge(s.common,s[n.method]);s&&Ce.forEach(["delete","get","head","post","put","patch","common"],f=>{delete s[f]}),n.headers=Oo.concat(r,s);const a=[];let l=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(l=l&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let u,d=0,h;if(!l){const f=[jS.bind(this),void 0];for(f.unshift(...a),f.push(...c),h=f.length,u=Promise.resolve(n);d<h;)u=u.then(f[d++],f[d++]);return u}h=a.length;let p=n;for(d=0;d<h;){const f=a[d++],g=a[d++];try{p=f(p)}catch(m){g.call(this,m);break}}try{u=jS.call(this,p)}catch(f){return Promise.reject(f)}for(d=0,h=c.length;d<h;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=tc(this.defaults,t);const n=_I(t.baseURL,t.url,t.allowAbsoluteUrls);return LI(n,t.params,t.paramsSerializer)}};Ce.forEach(["delete","get","head","options"],function(t){Wl.prototype[t]=function(n,o){return this.request(tc(o||{},{method:t,url:n,data:(o||{}).data}))}});Ce.forEach(["post","put","patch"],function(t){function n(o){return function(s,r,a){return this.request(tc(a||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:s,data:r}))}}Wl.prototype[t]=n(),Wl.prototype[t+"Form"]=n(!0)});let vve=class HI{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const o=this;this.promise.then(i=>{if(!o._listeners)return;let s=o._listeners.length;for(;s-- >0;)o._listeners[s](i);o._listeners=null}),this.promise.then=i=>{let s;const r=new Promise(a=>{o.subscribe(a),s=a}).then(i);return r.cancel=function(){o.unsubscribe(s)},r},t(function(s,r,a){o.reason||(o.reason=new md(s,r,a),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
163subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=o=>{t.abort(o)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new HI(function(i){t=i}),cancel:t}}};function Cve(e){return function(n){return e.apply(null,n)}}function bve(e){return Ce.isObject(e)&&e.isAxiosError===!0}const w3={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(w3).forEach(([e,t])=>{w3[t]=e});function VI(e){const t=new Wl(e),n=mI(Wl.prototype.request,t);return Ce.extend(n,Wl.prototype,t,{allOwnKeys:!0}),Ce.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return VI(tc(e,i))},n}const Pn=VI(rf);Pn.Axios=Wl;Pn.CanceledError=md;Pn.CancelToken=vve;Pn.isCancel=kI;Pn.VERSION=BI;Pn.toFormData=$0;Pn.AxiosError=wt;Pn.Cancel=Pn.CanceledError;Pn.all=function(t){return Promise.all(t)};Pn.spread=Cve;Pn.isAxiosError=bve;Pn.mergeConfig=tc;Pn.AxiosHeaders=Oo;Pn.formToJSON=e=>DI(Ce.isHTMLForm(e)?new FormData(e):e);Pn.getAdapter=NI.getAdapter;Pn.HttpStatusCode=w3;Pn.default=Pn;const{Axios:lOe,AxiosError:cOe,CanceledError:uOe,isCancel:dOe,CancelToken:hOe,VERSION:pOe,all:fOe,Cancel:gOe,isAxiosError:mOe,spread:vOe,toFormData:COe,AxiosHeaders:bOe,HttpStatusCode:yOe,formToJSON:wOe,getAdapter:SOe,mergeConfig:EOe}=Pn,Ey=window.location.hostname,qv="switchxxxjtcukf3jjvczui7nq7spl73aikm4jop7l3opppk7ylt5qyd.onion",G0=window.location.hostname.endsWith(".onion"),$I=G0?Ey:"switch.to",Ty=G0?`http://api.${Ey}`:"https://api.switch.to",TOe=()=>{window.truncateLongString=eC;const e=eC(qv,{threshold:5,startLength:6,endLength:34,dots:"...."}),t=eC(qv,{threshold:5,startLength:9,endLength:5,dots:"..."});return{truncatedOnionUrl:e,truncatedShortOnionUrl:t,IS_ONION:G0,SITE_URL:Ey,TOR_URL:qv,BASE_URL:$I,FETCH_URL:Ty}},yve=0,qf=Rn([]);function Vr(){const e=({title:o,text:i,config:s,hasCloseButton:r})=>{const a={app:!0,duration:2e3,top:!0,color:"success"};qf[0]={title:o,text:i,id:yve,hasCloseButton:r,isShown:!0,config:{...a,...s}}},t=o=>{const i=qf.findIndex(s=>s.id===o);qf.splice(i,1)},{t:n}=no.global;return{notifications:qf,addNotification:e,removeNotification:t,t:n}}const wve=({error:e,message:t,hasForceNotification:n,isDefaultErrorNotificationEnabled:o})=>{const{addNotification:i}=Vr(),r=t||e?.response?.data?.message||"Error";e.code==="ERR_NETWORK"&&y5e();const a=ky(r);if(o&&((![400,401,405,429,503].includes(e.response?.status)||n)&&i({text:a,config:{color:"error"}}),e.response?.status===405&&e.response?.data?.message==="INSUFFICIENT_BALANCE_FOR_THE_OPERATION"&&i({text:a,config:{color:"error",duration:5e3}}),e.response?.status===429&&e.response?.data?.message==="REQUEST_BLOCKED"&&i({text:a,config:{color:"warning",duration:5e3}}),e.response?.status===400&&e.response?.data?.message==="TECHNICAL_ERROR"&&i({text:a,config:{color:"error",duration:5e3}}),e.response?.data?.message==="MERCHANT_DAILY_CLIENT_LIMIT_EXCEEDED"&&i({text:a,config:{color:"error",duration:5e3}}),e.response?.status===404&&e.response.data instanceof Blob&&b5e(e)),e.response?.status===500){const{t:c}=no.global;i({text:c("merchantDashboard.notification.code500"),config:{color:"error"}})}};/*!
164  * vue-router v4.3.2
165  * (c) 2024 Eduardo San Martin Morote
166  * @license MIT
167  */const Wc=typeof document<"u";
vendor: 18,728 bytes, line 167
167function Sve(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Yt=Object.assign;function Yv(e,t){const n={};for(const o in t){const i=t[o];n[o]=is(i)?i.map(e):e(i)}return n}const bh=()=>{},is=Array.isArray,WI=/#/g,Eve=/&/g,Tve=/\//g,Rve=/=/g,Pve=/\?/g,GI=/\+/g,Mve=/%5B/g,Lve=/%5D/g,zI=/%5E/g,xve=/%60/g,UI=/%7B/g,Dve=/%7C/g,jI=/%7D/g,kve=/%20/g;function Ry(e){return encodeURI(""+e).replace(Dve,"|").replace(Mve,"[").replace(Lve,"]")}function Ave(e){return Ry(e).replace(UI,"{").replace(jI,"}").replace(zI,"^")}function S3(e){return Ry(e).replace(GI,"%2B").replace(kve,"+").replace(WI,"%23").replace(Eve,"%26").replace(xve,"`").replace(UI,"{").replace(jI,"}").replace(zI,"^")}function _ve(e){return S3(e).replace(Rve,"%3D")}function Ive(e){return Ry(e).replace(WI,"%23").replace(Pve,"%3F")}function Fve(e){return e==null?"":Ive(e).replace(Tve,"%2F")}function cp(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Ove=/\/$/,Nve=e=>e.replace(Ove,"");function Xv(e,t,n="/"){let o,i={},s="",r="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(o=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),i=e(s)),a>-1&&(o=o||t.slice(0,a),r=t.slice(a,t.length)),o=$ve(o??t,n),{fullPath:o+(s&&"?")+s+r,path:o,query:i,hash:cp(r)}}function Bve(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function KS(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Hve(e,t,n){const o=t.matched.length-1,i=n.matched.length-1;return o>-1&&o===i&&Uu(t.matched[o],n.matched[i])&&ZI(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Uu(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ZI(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Vve(e[n],t[n]))return!1;return!0}function Vve(e,t){return is(e)?qS(e,t):is(t)?qS(t,e):e===t}function qS(e,t){return is(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function $ve(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),i=o[o.length-1];(i===".."||i===".")&&o.push("");let s=n.length-1,r,a;for(r=0;r<o.length;r++)if(a=o[r],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+o.slice(r).join("/")}var up;(function(e){e.pop="pop",e.push="push"})(up||(up={}));var yh;(function(e){e.back="back",e.forward="forward",e.unknown=""})(yh||(yh={}));function Wve(e){if(!e)if(Wc){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Nve(e)}const Gve=/^[^#]+#/;function zve(e,t){return e.replace(Gve,"#")+t}function Uve(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const z0=()=>({left:window.scrollX,top:window.scrollY});function jve(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Uve(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function YS(e,t){return(history.state?history.state.position-t:-1)+e}const E3=new Map;function Zve(e,t){E3.set(e,t)}function Kve(e){const t=E3.get(e);return E3.delete(e),t}let qve=()=>location.protocol+"//"+location.host;function KI(e,t){const{pathname:n,search:o,hash:i}=t,s=e.indexOf("#");if(s>-1){let a=i.includes(e.slice(s))?e.slice(s).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),KS(l,"")}return KS(n,e)+o+i}function Yve(e,t,n,o){let i=[],s=[],r=null;const a=({state:h})=>{const p=KI(e,location),f=n.value,g=t.value;let m=0;if(h){if(n.value=p,t.value=h,r&&r===f){r=null;return}m=g?h.position-g.position:0}else o(p);i.forEach(v=>{v(n.value,f,{delta:m,type:up.pop,direction:m?m>0?yh.forward:yh.back:yh.unknown})})};function l(){r=n.value}function c(h){i.push(h);const p=()=>{const f=i.indexOf(h);f>-1&&i.splice(f,1)};return s.push(p),p}function u(){const{history:h}=window;h.state&&h.replaceState(Yt({},h.state,{scroll:z0()}),"")}function d(){for(const h of s)h();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function XS(e,t,n,o=!1,i=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:i?z0():null}}function Xve(e){const{history:t,location:n}=window,o={value:KI(e,n)},i={value:t.state};i.value||s(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const d=e.indexOf("#"),h=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:qve()+e+l;try{t[u?"replaceState":"pushState"](c,"",h),i.value=c}catch(p){console.error(p),n[u?"replace":"assign"](h)}}function r(l,c){const u=Yt({},t.state,XS(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});s(l,u,!0),o.value=l}function a(l,c){const u=Yt({},i.value,t.state,{forward:l,scroll:z0()});s(u.current,u,!0);const d=Yt({},XS(o.value,l,null),{position:u.position+1},c);s(l,d,!1),o.value=l}return{location:o,state:i,push:a,replace:r}}function Jve(e){e=Wve(e);const t=Xve(e),n=Yve(e,t.state,t.location,t.replace);function o(s,r=!0){r||n.pauseListeners(),history.go(s)}const i=Yt({location:"",base:e,go:o,createHref:zve.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function Qve(e){return typeof e=="string"||e&&typeof e=="object"}function qI(e){return typeof e=="string"||typeof e=="symbol"}const Qr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},YI=Symbol("");var JS;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(JS||(JS={}));function ju(e,t){return Yt(new Error,{type:e,[YI]:!0},t)}function Js(e,t){return e instanceof Error&&YI in e&&(t==null||!!(e.type&t))}const QS="[^/]+?",eCe={sensitive:!1,strict:!1,start:!0,end:!0},tCe=/[.+*?^${}()[\]/\\]/g;function nCe(e,t){const n=Yt({},eCe,t),o=[];let i=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let d=0;d<c.length;d++){const h=c[d];let p=40+(n.sensitive?.25:0);if(h.type===0)d||(i+="/"),i+=h.value.replace(tCe,"\\$&"),p+=40;else if(h.type===1){const{value:f,repeatable:g,optional:m,regexp:v}=h;s.push({name:f,repeatable:g,optional:m});const y=v||QS;if(y!==QS){p+=10;try{new RegExp(`(${y})`)}catch(w){throw new Error(`Invalid custom RegExp for param "${f}" (${y}): `+w.message)}}let b=g?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;d||(b=m&&c.length<2?`(?:/${b})`:"/"+b),m&&(b+="?"),i+=b,p+=20,m&&(p+=-8),g&&(p+=-20),y===".*"&&(p+=-50)}u.push(p)}o.push(u)}if(n.strict&&n.end){const c=o.length-1;o[c][o[c].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const r=new RegExp(i,n.sensitive?"":"i");function a(c){const u=c.match(r),d={};if(!u)return null;for(let h=1;h<u.length;h++){const p=u[h]||"",f=s[h-1];d[f.name]=p&&f.repeatable?p.split("/"):p}return d}function l(c){let u="",d=!1;for(const h of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const p of h)if(p.type===0)u+=p.value;else if(p.type===1){const{value:f,repeatable:g,optional:m}=p,v=f in c?c[f]:"";if(is(v)&&!g)throw new Error(`Provided param "${f}" is an array but it is not repeatable (* or + modifiers)`);const y=is(v)?v.join("/"):v;if(!y)if(m)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${f}"`);u+=y}}return u||"/"}return{re:r,score:o,keys:s,parse:a,stringify:l}}function oCe(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function iCe(e,t){let n=0;const o=e.score,i=t.score;for(;n<o.length&&n<i.length;){const s=oCe(o[n],i[n]);if(s)return s;n++}if(Math.abs(i.length-o.length)===1){if(eE(o))return 1;if(eE(i))return-1}return i.length-o.length}function eE(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const sCe={type:0,value:""},rCe=/[a-zA-Z0-9_]/;function aCe(e){if(!e)return[[]];if(e==="/")return[[sCe]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,o=n;const i=[];let s;function r(){s&&i.push(s),s=[]}let a=0,l,c="",u="";function d(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){o=n,n=4;continue}switch(n){case 0:l==="/"?(c&&d(),r()):l===":"?(d(),n=1):h();break;case 4:h(),n=o;break;case 1:l==="("?n=2:rCe.test(l)?h():(d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),r(),i}function lCe(e,t,n){const o=nCe(aCe(e.path),n),i=Yt(o,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function cCe(e,t){const n=[],o=new Map;t=oE({strict:!1,end:!0,sensitive:!1},t);function i(u){return o.get(u)}function s(u,d,h){const p=!h,f=uCe(u);f.aliasOf=h&&h.record;const g=oE(t,u),m=[f];if("alias"in u){const b=typeof u.alias=="string"?[u.alias]:u.alias;for(const w of b)m.push(Yt({},f,{components:h?h.record.components:f.components,path:w,aliasOf:h?h.record:f}))}let v,y;for(const b of m){const{path:w}=b;if(d&&w[0]!=="/"){const S=d.record.path,E=S[S.length-1]==="/"?"":"/";b.path=d.record.path+(w&&E+w)}if(v=lCe(b,d,g),h?h.alias.push(v):(y=y||v,y!==v&&y.alias.push(v),p&&u.name&&!nE(v)&&r(u.name)),f.children){const S=f.children;for(let E=0;E<S.length;E++)s(S[E],v,h&&h.children[E])}h=h||v,(v.record.components&&Object.keys(v.record.components).length||v.record.name||v.record.redirect)&&l(v)}return y?()=>{r(y)}:bh}function r(u){if(qI(u)){const d=o.get(u);d&&(o.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(r),d.alias.forEach(r))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&o.delete(u.record.name),u.children.forEach(r),u.alias.forEach(r))}}function a(){return n}function l(u){let d=0;for(;d<n.length&&iCe(u,n[d])>=0&&(u.record.path!==n[d].record.path||!XI(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!nE(u)&&o.set(u.record.name,u)}function c(u,d){let h,p={},f,g;if("name"in u&&u.name){if(h=o.get(u.name),!h)throw ju(1,{location:u});g=h.record.name,p=Yt(tE(d.params,h.keys.filter(y=>!y.optional).concat(h.parent?h.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),u.params&&tE(u.params,h.keys.map(y=>y.name))),f=h.stringify(p)}else if(u.path!=null)f=u.path,h=n.find(y=>y.re.test(f)),h&&(p=h.parse(f),g=h.record.name);else{if(h=d.name?o.get(d.name):n.find(y=>y.re.test(d.path)),!h)throw ju(1,{location:u,currentLocation:d});g=h.record.name,p=Yt({},d.params,u.params),f=h.stringify(p)}const m=[];let v=h;for(;v;)m.unshift(v.record),v=v.parent;return{name:g,path:f,params:p,matched:m,meta:hCe(m)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:r,getRoutes:a,getRecordMatcher:i}}function tE(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function uCe(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:dCe(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function dCe(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function nE(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function hCe(e){return e.reduce((t,n)=>Yt(t,n.meta),{})}function oE(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function XI(e,t){return t.children.some(n=>n===e||XI(e,n))}function pCe(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<o.length;++i){const s=o[i].replace(GI," "),r=s.indexOf("="),a=cp(r<0?s:s.slice(0,r)),l=r<0?null:cp(s.slice(r+1));if(a in t){let c=t[a];is(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function iE(e){let t="";for(let n in e){const o=e[n];if(n=_ve(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(is(o)?o.map(s=>s&&S3(s)):[o&&S3(o)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function fCe(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=is(o)?o.map(i=>i==null?null:""+i):o==null?o:""+o)}return t}const JI=Symbol(""),sE=Symbol(""),U0=Symbol(""),Py=Symbol(""),T3=Symbol("");function Nd(){let e=[];function t(o){return e.push(o),()=>{const i=e.indexOf(o);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function gCe(e,t,n){const o=()=>{e[t].delete(n)};Or(o),t0(o),h4(()=>{e[t].add(n)}),e[t].add(n)}function ROe(e){const t=je(JI,{}).value;t&&gCe(t,"leaveGuards",e)}function Ca(e,t,n,o,i,s=r=>r()){const r=o&&(o.enterCallbacks[i]=o.enterCallbacks[i]||[]);return()=>new Promise((a,l)=>{const c=h=>{h===!1?l(ju(4,{from:n,to:t})):h instanceof Error?l(h):Qve(h)?l(ju(2,{from:t,to:h})):(r&&o.enterCallbacks[i]===r&&typeof h=="function"&&r.push(h),a())},u=s(()=>e.call(o&&o.instances[i],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(h=>l(h))})}function Jv(e,t,n,o,i=s=>s()){const s=[];for(const r of e)for(const a in r.components){let l=r.components[a];if(!(t!=="beforeRouteEnter"&&!r.instances[a]))if(mCe(l)){const u=(l.__vccOpts||l)[t];u&&s.push(Ca(u,n,o,r,a,i))}else{let c=l();s.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${r.path}"`));const d=Sve(u)?u.default:u;r.components[a]=d;const p=(d.__vccOpts||d)[t];return p&&Ca(p,n,o,r,a,i)()}))}}return s}function mCe(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function rE(e){const t=je(U0),n=je(Py),o=M(()=>{const l=C(e.to);return t.resolve(l)}),i=M(()=>{const{matched:l}=o.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const h=d.findIndex(Uu.bind(null,u));if(h>-1)return h;const p=aE(l[c-2]);return c>1&&aE(u)===p&&d[d.length-1].path!==p?d.findIndex(Uu.bind(null,l[c-2])):h}),s=M(()=>i.value>-1&&yCe(n.params,o.value.params)),r=M(()=>i.value>-1&&i.value===n.matched.length-1&&ZI(n.params,o.value.params));function a(l={}){return bCe(l)?t[C(e.replace)?"replace":"push"](C(e.to)).catch(bh):Promise.resolve()}return{route:o,href:M(()=>o.value.href),isActive:s,isExactActive:r,navigate:a}}const vCe=ge({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:rE,setup(e,{slots:t}){const n=Rn(rE(e)),{options:o}=je(U0),i=M(()=>({[lE(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[lE(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:Ii("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},s)}}}),CCe=vCe;function bCe(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function yCe(e,t){for(const n in t){const o=t[n],i=e[n];if(typeof o=="string"){if(o!==i)return!1}else if(!is(i)||i.length!==o.length||o.some((s,r)=>s!==i[r]))return!1}return!0}function aE(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const lE=(e,t,n)=>e??t??n,wCe=ge({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=je(T3),i=M(()=>e.route||o.value),s=je(sE,0),r=M(()=>{let c=C(s);const{matched:u}=i.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=M(()=>i.value.matched[r.value]);Ut(sE,M(()=>r.value+1)),Ut(JI,a),Ut(T3,i);const l=J();return Le(()=>[l.value,a.value,e.name],([c,u,d],[h,p,f])=>{u&&(u.instances[d]=c,p&&p!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!Uu(u,p)||!h)&&(u.enterCallbacks[d]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=i.value,u=e.name,d=a.value,h=d&&d.components[u];if(!h)return cE(n.default,{Component:h,route:c});const p=d.props[u],f=p?p===!0?c.params:typeof p=="function"?p(c):p:null,m=Ii(h,Yt({},f,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return cE(n.default,{Component:m,route:c})||m}}});function cE(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const SCe=wCe;function ECe(e){const t=cCe(e.routes,e),n=e.parseQuery||pCe,o=e.stringifyQuery||iE,i=e.history,s=Nd(),r=Nd(),a=Nd(),l=pt(Qr);let c=Qr;Wc&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Yv.bind(null,te=>""+te),d=Yv.bind(null,Fve),h=Yv.bind(null,cp);function p(te,ne){let le,ae;return qI(te)?(le=t.getRecordMatcher(te),ae=ne):ae=te,t.addRoute(ae,le)}function f(te){const ne=t.getRecordMatcher(te);ne&&t.removeRoute(ne)}function g(){return t.getRoutes().map(te=>te.record)}function m(te){return!!t.getRecordMatcher(te)}function v(te,ne){if(ne=Yt({},ne||l.value),typeof te=="string"){const Z=Xv(n,te,ne.path),ie=t.resolve({path:Z.path},ne),be=i.createHref(Z.fullPath);return Yt(Z,ie,{params:h(ie.params),hash:cp(Z.hash),redirectedFrom:void 0,href:be})}let le;if(te.path!=null)le=Yt({},te,{path:Xv(n,te.path,ne.path).path});else{const Z=Yt({},te.params);for(const ie in Z)Z[ie]==null&&delete Z[ie];le=Yt({},te,{params:d(Z)}),ne.params=d(ne.params)}const ae=t.resolve(le,ne),Re=te.hash||"";ae.params=u(h(ae.params));const Oe=Bve(o,Yt({},te,{hash:Ave(Re),path:ae.path})),W=i.createHref(Oe);return Yt({fullPath:Oe,hash:Re,query:o===iE?fCe(te.query):te.query||{}},ae,{redirectedFrom:void 0,href:W})}function y(te){return typeof te=="string"?Xv(n,te,l.value.path):Yt({},te)}
167function b(te,ne){if(c!==te)return ju(8,{from:ne,to:te})}function w(te){return T(te)}function S(te){return w(Yt(y(te),{replace:!0}))}function E(te){const ne=te.matched[te.matched.length-1];if(ne&&ne.redirect){const{redirect:le}=ne;let ae=typeof le=="function"?le(te):le;return typeof ae=="string"&&(ae=ae.includes("?")||ae.includes("#")?ae=y(ae):{path:ae},ae.params={}),Yt({query:te.query,hash:te.hash,params:ae.path!=null?{}:te.params},ae)}}function T(te,ne){const le=c=v(te),ae=l.value,Re=te.state,Oe=te.force,W=te.replace===!0,Z=E(le);if(Z)return T(Yt(y(Z),{state:typeof Z=="object"?Yt({},Re,Z.state):Re,force:Oe,replace:W}),ne||le);const ie=le;ie.redirectedFrom=ne;let be;return!Oe&&Hve(o,ae,le)&&(be=ju(16,{to:ie,from:ae}),z(ae,ae,!0,!1)),(be?Promise.resolve(be):k(ie,ae)).catch(me=>Js(me)?Js(me,2)?me:B(me):x(me,ie,ae)).then(me=>{if(me){if(Js(me,2))return T(Yt({replace:W},y(me.to),{state:typeof me.to=="object"?Yt({},Re,me.to.state):Re,force:Oe}),ne||ie)}else me=V(ie,ae,!0,W,Re);return D(ie,ae,me),me})}function R(te,ne){const le=b(te,ne);return le?Promise.reject(le):Promise.resolve()}function A(te){const ne=Q.values().next().value;return ne&&typeof ne.runWithContext=="function"?ne.runWithContext(te):te()}function k(te,ne){let le;const[ae,Re,Oe]=TCe(te,ne);le=Jv(ae.reverse(),"beforeRouteLeave",te,ne);for(const Z of ae)Z.leaveGuards.forEach(ie=>{le.push(Ca(ie,te,ne))});const W=R.bind(null,te,ne);return le.push(W),pe(le).then(()=>{le=[];for(const Z of s.list())le.push(Ca(Z,te,ne));return le.push(W),pe(le)}).then(()=>{le=Jv(Re,"beforeRouteUpdate",te,ne);for(const Z of Re)Z.updateGuards.forEach(ie=>{le.push(Ca(ie,te,ne))});return le.push(W),pe(le)}).then(()=>{le=[];for(const Z of Oe)if(Z.beforeEnter)if(is(Z.beforeEnter))for(const ie of Z.beforeEnter)le.push(Ca(ie,te,ne));else le.push(Ca(Z.beforeEnter,te,ne));return le.push(W),pe(le)}).then(()=>(te.matched.forEach(Z=>Z.enterCallbacks={}),le=Jv(Oe,"beforeRouteEnter",te,ne,A),le.push(W),pe(le))).then(()=>{le=[];for(const Z of r.list())le.push(Ca(Z,te,ne));return le.push(W),pe(le)}).catch(Z=>Js(Z,8)?Z:Promise.reject(Z))}function D(te,ne,le){a.list().forEach(ae=>A(()=>ae(te,ne,le)))}function V(te,ne,le,ae,Re){const Oe=b(te,ne);if(Oe)return Oe;const W=ne===Qr,Z=Wc?history.state:{};le&&(ae||W?i.replace(te.fullPath,Yt({scroll:W&&Z&&Z.scroll},Re)):i.push(te.fullPath,Re)),l.value=te,z(te,ne,le,W),B()}let O;function F(){O||(O=i.listen((te,ne,le)=>{if(!ce.listening)return;const ae=v(te),Re=E(ae);if(Re){T(Yt(Re,{replace:!0}),ae).catch(bh);return}c=ae;const Oe=l.value;Wc&&Zve(YS(Oe.fullPath,le.delta),z0()),k(ae,Oe).catch(W=>Js(W,12)?W:Js(W,2)?(T(W.to,ae).then(Z=>{Js(Z,20)&&!le.delta&&le.type===up.pop&&i.go(-1,!1)}).catch(bh),Promise.reject()):(le.delta&&i.go(-le.delta,!1),x(W,ae,Oe))).then(W=>{W=W||V(ae,Oe,!1),W&&(le.delta&&!Js(W,8)?i.go(-le.delta,!1):le.type===up.pop&&Js(W,20)&&i.go(-1,!1)),D(ae,Oe,W)}).catch(bh)}))}let _=Nd(),P=Nd(),L;function x(te,ne,le){B(te);const ae=P.list();return ae.length?ae.forEach(Re=>Re(te,ne,le)):console.error(te),Promise.reject(te)}function I(){return L&&l.value!==Qr?Promise.resolve():new Promise((te,ne)=>{_.add([te,ne])})}function B(te){return L||(L=!te,F(),_.list().forEach(([ne,le])=>te?le(te):ne()),_.reset()),te}function z(te,ne,le,ae){const{scrollBehavior:Re}=e;if(!Wc||!Re)return Promise.resolve();const Oe=!le&&Kve(YS(te.fullPath,0))||(ae||!le)&&history.state&&history.state.scroll||null;return ot().then(()=>Re(te,ne,Oe)).then(W=>W&&jve(W)).catch(W=>x(W,te,ne))}const H=te=>i.go(te);let j;const Q=new Set,ce={currentRoute:l,listening:!0,addRoute:p,removeRoute:f,hasRoute:m,getRoutes:g,resolve:v,options:e,push:w,replace:S,go:H,back:()=>H(-1),forward:()=>H(1),beforeEach:s.add,beforeResolve:r.add,afterEach:a.add,onError:P.add,isReady:I,install(te){const ne=this;te.component("RouterLink",CCe),te.component("RouterView",SCe),te.config.globalProperties.$router=ne,Object.defineProperty(te.config.globalProperties,"$route",{enumerable:!0,get:()=>C(l)}),Wc&&!j&&l.value===Qr&&(j=!0,w(i.location).catch(Re=>{}));const le={};for(const Re in Qr)Object.defineProperty(le,Re,{get:()=>l.value[Re],enumerable:!0});te.provide(U0,ne),te.provide(Py,s4(le)),te.provide(T3,l);const ae=te.unmount;Q.add(te),te.unmount=function(){Q.delete(te),Q.size<1&&(c=Qr,O&&O(),O=null,l.value=Qr,j=!1,L=!1),ae()}}};function pe(te){return te.reduce((ne,le)=>ne.then(()=>A(le)),Promise.resolve())}return ce}function TCe(e,t){const n=[],o=[],i=[],s=Math.max(t.matched.length,e.matched.length);for(let r=0;r<s;r++){const a=t.matched[r];a&&(e.matched.find(c=>Uu(c,a))?o.push(a):n.push(a));const l=e.matched[r];l&&(t.matched.find(c=>Uu(c,l))||i.push(l))}return[n,o,i]}function POe(){return je(U0)}function RCe(){return je(Py)}function PCe(e){return{all:e=e||new Map,on:function(t,n){var o=e.get(t);o?o.push(n):e.set(t,[n])},off:function(t,n){var o=e.get(t);o&&(n?o.splice(o.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var o=e.get(t);o&&o.slice().map(function(i){i(n)}),(o=e.get("*"))&&o.slice().map(function(i){i(t,n)})}}}const Zu=PCe(),MOe=()=>{const e=J("");let t=null;const n=(o,i)=>{e.value=o,t=i,Zu.on(o,(...s)=>t.apply(s))};return Mn(()=>{Zu.off(e.value)}),{emitHandler:n}},Nt={};function MCe(e){Nt[e]||(Nt[e]=Rn({page:1,perPage:25,search:"",status:null,isLoading:!1,isLoaded:!1,items:[],selectedRows:[],filters:{},pageCount:0,totalCount:0,counter:0,sortBy:null,orderBy:null,computedParams:{},tableFiltersSchema:[]}))}function LCe(e,t){if(Nt[e].sortBy!==t&&(Nt[e].orderBy=null),Nt[e].sortBy=t??Nt[e].sortBy,t&&Nt[e].orderBy===null){Nt[e].orderBy="DESC";return}if(t&&Nt[e].orderBy==="DESC"){Nt[e].orderBy="ASC";return}t&&Nt[e].orderBy==="ASC"&&(Nt[e].sortBy=null,Nt[e].orderBy=null)}function xCe(e,t){return Nt[e].page=t.page??Nt[e].page,Nt[e].perPage=t.perPage??Nt[e].perPage,Nt[e].search=t.search??Nt[e].search,Nt[e].status=t.status??Nt[e].status,Nt[e].filters=t.filters??Nt[e].filters,t.sortBy&&LCe(e,t.sortBy),{page:Nt[e].page,perPage:Nt[e].perPage,search:Nt[e].search,status:Nt[e].status,sortBy:Nt[e].sortBy,orderBy:Nt[e].orderBy,...Nt[e].filters}}const QI=()=>
167{Object.keys(Nt).forEach(e=>{delete Nt[e]})},DCe=()=>{fd().resetDateFilters(),QI()},kCe=(e,t,n)=>{if(e){const o=()=>{t(),n&&n()};Zu.on(e,o),Mn(()=>{Zu.off(e)})}},ACe=(e,t)=>{const o=fd().getCurrentTable({moduleName:t}),i=o?.itemsPerPage,s=o?.status;i&&(e.perPage=i),s&&(e.status=s)},_Ce=({instance:e,opts:t})=>{const o=fd().getCurrentTable({moduleName:t.moduleName}),i={};return e.tableFiltersSchema.forEach(s=>{const r=Array.isArray(s.field);r&&s.field.forEach(a=>{o&&o[a]&&(i[a]=o[a])}),!r&&o&&o[s.field]&&(i[s.field]=o[s.field])}),i};function LOe(e,t={}){const{axiosWrapper:n}=Ln();MCe(e);const o=Nt[e];ACe(o,t.moduleName),t.filters&&(o.tableFiltersSchema=t.filters);const i=async(r={})=>{try{o.isLoading=!0,o.counter===0&&(o.isLoaded=!1);const a=xCe(e,r);a.isFreshResponse=r.isFreshResponse??null,a.shouldResetRequestState=r.shouldResetRequestState??null;const l=_Ce({instance:o,opts:t});Object.assign(a,l),(a.status===null||a.status==="ALL")&&delete a.status;const{result:c}=await n({type:"get",url:e,params:a});if(o.computedParams=a,c?.data?.success){const u=c.data?.data;o.totalCount=u.totalCount,o.pageCount=u.pageCount;const d=u.data.map(h=>{const p=h._id,f={};return h.client?.clientEmail&&(f.clientEmail=h.client.clientEmail),h.client?.clientName&&(f.clientName=h.client.clientName),h.adminId&&!h.id&&(f.id=h.adminId),p&&!h.id&&(f.id=p),{...h,...f}}).splice(0,a.perPage);return d.length===0&&o.items.length===0||(o.items=d),o.items}throw Error("Error")}catch(a){return console.error(a),a}finally{o.isLoading=!1,o.isLoaded=!0,o.counter++}},s=r=>{Zu.emit("clear-filters",r),r.value.forEach(a=>{if(o.filters[a[0]]){o.filters[a[0]]=null;return}o[a[0]]=null})};return t.eventName&&kCe(t.eventName,i),{...ts(o),items:M(()=>o.items),getData:i,clearFilterParams:s}}const yc=()=>{const{isAdminRole:e}=Go(),t=M(()=>e.value||Ar.currentRoute?.value?.meta?.layout==="AdminAuth"),{timezoneTime:n,dateFormat:o,timeFormat:i,timezoneCode:s,profileId:r,numberFormat:a,registeredDate:l}=e.value?Sm():tf(),c=M(()=>`${o.value} (${i.value})`),u=M(()=>s.value?tt().tz(s.value).format(o.value):tt().format(o.value)),d=M(()=>{const f=`${o.value} ${i.value}`;return tt().tz(s.value).format(f)}),{merchantHistoryStartDate:h}=Sm(),p=M(()=>e.value?h.value:l.value);return{isAdminZone:t,timezoneTime:n,dateFormat:o,timeFormat:i,dateTimeFormat:c,registeredDate:l,timezoneCode:s,profileId:r,currentDate:u,currentDateTime:d,numberFormat:a,accountRegisteredDate:p}};function j0(){const e=fn(),{isAdminZone:t}=yc(),n=M(()=>t.value?"en":e.language),o=M(()=>t.value?[Em[0]]:Em),i=M(()=>o.value.find(r=>r.value===n.value));return{language:n,languageObject:i,languages:o,setLanguage:r=>{const a="soon"in o.value.find(l=>l.value===r);r&&!a&&(e.$patch({language:r}),no.global.locale.value=r,tt.locale(r))}}}const ICe=()=>{const e=_0e(),{invoices:t,deposits:n,historyStartedYear:o,isInvoicesHistoryLoaded:i,isDepositsHistoryLoaded:s}=ec(e),r=M(()=>i.value&&s.value);return{store:e,invoices:t,deposits:n,historyStartedYear:o,isInvoicesHistoryLoaded:i,isDepositsHistoryLoaded:s,isHistoryLoaded:r}},FCe=()=>{const{settings:e}=tf(),{setLanguage:t}=j0();t(e.value.language)},OCe=async(e={})=>{const{axiosWrapper:t}=Ln(),{data:n,isSuccess:o}=await t({type:"get",url:"/settings/merchant",params:e});return o&&(fn().updateMerchantSettings(n),FCe()),{data:n,isSuccess:o}},NCe=async(e={})=>{const t=fn(),{axiosWrapper:n}=Ln(),{data:o,isSuccess:i}=await n({type:"get",url:"/merchants/profile",params:e});if(i){t.initProfile(o),t.updateWalletConnectedState(o.settings);const{user:s}=N0();s.value.profileAvatar&&s.value.profileOriginalAvatar||t.updateProfileAvatar({profileAvatar:o.profilePicture?.cropUrl,profileOriginalAvatar:o.profilePicture?.originalUrl}),o.profilePicture||t.updateProfileAvatar({profileAvatar:null,profileOriginalAvatar:null})}},xOe=async({isActive:e})=>{const{axiosWrapper:t,successHandler:n}=Ln(),{data:o,isSuccess:i}=await t({type:"patch",url:"/merchants/subscriptions/plans/change-status",params:{isActive:e}});return i&&fn().$patch({user:{subscription:o}}),{isSuccess:i,successHandler:n}},DOe=async(e,t=!0)=>{const{axiosWrapper:n,successHandler:o,t:i}=Ln(),{data:s,isSuccess:r}=await n({type:"patch",url:"/settings/merchant",params:e});return r&&(t&&o(i("merchantSettings.notification.updateMerchantSettingsSuccess")),DCe(),await OCe()),{data:s,isSuccess:r,successHandler:o}},kOe=async e=>{const{axiosWrapper:t,successHandler:n,t:o}=Ln(),{data:i,isSuccess:s}=await t({type:"patch",url:"/settings/merchant/rules",params:e});return s&&(n(o("merchantSettings.notification.updateRulesSuccess")),fn().$patch({settings:{antiSpam:i.antiSpam,captcha:i.captcha,selfDestruct:i.selfDe
167struct,rulesUpdatedAt:i.rulesUpdatedAt,isDetonationCodeSet:i.isDetonationCodeSet}})),{data:i,isSuccess:s,successHandler:n}},AOe=async({type:e,cycle:t})=>{const{axiosWrapper:n,successHandler:o}=Ln(),{data:i,isSuccess:s}=await n({type:"post",url:"/merchants/subscriptions/plans/upgrade",params:{type:e,cycle:t}});return{data:i,isSuccess:s,successHandler:o}},_Oe=async e=>{const{axiosWrapper:t,successHandler:n,t:o}=Ln(),{data:i,isSuccess:s}=await t({type:"patch",url:"/settings/merchant/slippage",params:{slippage:e}});return s&&(n(o("merchantSettings.notification.updateSlippageSuccess")),fn().$patch({settings:{slippage:i.slippage,rulesUpdatedAt:i.rulesUpdatedAt}})),{data:i,isSuccess:s}},IOe=async e=>{const{axiosWrapper:t,successHandler:n,t:o}=Ln(),{data:i,isSuccess:s,errorObject:r}=await t({type:"patch",url:"/settings/merchant/detonator/enable",params:{totpCode:e}});return s&&(n(o("merchantSettings.notification.enableDetonatorSuccess")),fn().$patch({settings:{isDetonationCodeSet:s}})),{data:i,isSuccess:s,errorObject:r}},FOe=async()=>{const{axiosWrapper:e,successHandler:t,t:n}=Ln(),{data:o,isSuccess:i}=await e({type:"patch",url:"/settings/merchant/detonator/disable"});return i&&(t(n("merchantSettings.notification.disableDetonatorSuccess")),fn().$patch({settings:{isDetonationCodeSet:!1}})),{data:o,isSuccess:i}},OOe=async()=>{const{store:e}=ICe(),{setHistoryStartedYear:t}=e,{axiosWrapper:n}=Ln(),{data:o,isSuccess:i}=await n({type:"get",url:"/settings/merchant/billing"});return i&&t(o.depositStartYear),{data:o,isSuccess:i}},BCe=async()=>{const{axiosWrapper:e}=Ln(),{admin:t,initProfile:n}=F0(),{setLanguage:o}=j0();if(!(Object.keys(t).length>0)){const{data:s,isSuccess:r}=await e({type:"get",url:"/settings/admin/profile"});r&&(n(s),o(s.language))}},eF=e=>{const t=fn(),{initCurrencyForAdmin:n}=fn(),o=["ADMIN_SIGN_IN","ADMIN_SIGN_UP"].includes(e.name),i=e.name==="LANDING";return{readProfile:()=>{const{isAdminRole:a,isMerchantRole:l}=Go(),c=e?.meta?.roles?.includes(Jt.CLIENT)||e?.meta?.roles===void 0;!o&&a.value&&BCe(),a.value&&n(),!o&&l.value&&!c&&NCe()},readGlobalSettings:async()=>{if(i)try{const{axiosWrapper:a}=Ln(),{data:l}=await a({type:"get",url:"/settings/admin/signup",isErrorNotification:!1});return t.$patch({preferences:{isSignUpEnabled:l?.isSignUpEnabled}}),{data:l}}catch(a){console.error(a)}return null}}},NOe=J("start"),HCe=()=>{const e=fn(),{walletData:t}=ec(e),n=M(()=>t.value?.publicAddress),o=M(()=>t.value?.nonCustodialWallets),i=M(()=>t.value?.walletCreationDate),s=M(()=>t.value?.walletType),r=M(()=>t.value.isWalletConnected),a=M(()=>n.value?.isEnabled);return{publicPayments:n,walletCreationDate:i,nonCustodialWallets:o,walletType:s,isWalletConnected:r,isPublicPaymentsEnabled:a}};function BOe(e){return e.reduce((t,n)=>(Array.isArray(n.child)?n.child.forEach(o=>{t[o.coin]=o.enabled}):t[n.coin]=n.enabled,{...t,...n}),{})}const HOe=e=>e.reduce((n,o)=>(Array.isArray(o.child)?o.child.forEach(i=>{n.push({...i,primaryAddress:o.primaryAddress,generatedAt:o.generatedAt,importedAt:o.importedAt})}):(delete o.child,n.push(o)),n),[]),VOe=({wallets:e,walletsAvailability:t})=>hI.map(n=>{const o=e?.find(s=>s.coin===n.value);if(!o)return{xpub:null};const i=!t[n.value];return{...o,...n,isDisabledByAdmin:i}}).filter(n=>n.xpub||n.pubVkey||n.primaryAddress).sort((n,o)=>m3[n.coin]-m3[o.coin]),VCe=(e,t)=>{const n=e.meta?.roles||[Jt.USER],{authToken:o,tokenRole:i,isAdminRole:s,isMerchantRole:r}=Go(),a=!!o.value,l=s.value?"/sales":r.value?"/dashboard":"/",c=a?l:"/";return{checkHomePage:m=>m==="/"||m===c?c:m,checkCommonPages:m=>{if(!a){const v=n.includes(Jt.USER),y=e.meta?.layout==="AdminAuth",b=e.meta?.layout==="EmptyLayout";return v||y||b?m:c}return m},checkRelatedRolesToPages:m=>n.includes(i.value)||n.includes(Jt.USER)?m:c,checkDisabledPages:async m=>{const v=fn();if(m==="/sign-up"){if(v.preferences?.isSignUpEnabled===null){const{readGlobalSettings:b}=eF(e);await b()}if(!M(()=>v.preferences?.isSignUpEnabled).value)return c}if(m==="/session-expired"){const{registration:y}=O0(),b=!y.value.companyName,w=t.path==="/";if(b||w)return c}return m==="/billing"&&v?.user?.subscription?.plan==="IO"?c:m},checkClientPages:m=>{const{tokenRole:v}=Go(),y=v.value==="client";return m.replaceAll("/","")==="/".replaceAll("/","")&&y?"/settings":m.includes("/settings")&&y?m:m.includes("/settings")&&!y?"/":m},checkWalletPages:async m=>{const{isWalletConnected:v}=HCe();return m==="/wallet-setup"&&v.value?"/wallet":m==="/wallet"&&!v.value?"/wallet-setup":m}}},$Ce="modulepreload",WCe=function(e){return"/"+e},uE={},Kt=function(t,n,o){let i=Promise.resolve();if(n&&n.length>0){let l=function(c){return Promise.all(c.map(u=>Promise.resolve(u).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const r=document.querySelector("meta[property=csp-nonce]"),a=r?.nonce||r?.getAttribute("nonce");i=l(n.map(c=>{if(c=WCe(c),c in uE)return;uE[c]=!0;const u=c.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${d}`))return;const h=document.createElement("link");
167if(h.rel=u?"stylesheet":$Ce,u||(h.as="script"),h.crossOrigin="",h.href=c,a&&h.setAttribute("nonce",a),document.head.appendChild(h),u)return new Promise((p,f)=>{h.addEventListener("load",p),h.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${c}`)))})}))}function s(r){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=r,window.dispatchEvent(a),!a.defaultPrevented)throw r}return i.then(r=>{for(const a of r||[])a.status==="rejected"&&s(a.reason);return t().catch(s)})},GCe=[{path:"/:pathMatch(.*)*",name:"NOT_FOUND",meta:{layout:"EmptyLayout"},component:()=>Kt(()=>import("./NotFound-RGJ7_B4w.js"),[])}];Jt.ADMIN,Jt.SUPER_ADMIN,Jt.ADMIN,Jt.SUPER_ADMIN,Jt.SUPER_ADMIN,Jt.ADMIN,Jt.SUPER_ADMIN,Jt.ADMIN,Jt.SUPER_ADMIN,Jt.ADMIN,Jt.SUPER_ADMIN,Jt.SUPER_ADMIN,Jt.ADMIN,Jt.SUPER_ADMIN;const tF=document.querySelector("meta[name=viewport]"),zCe=()=>{setTimeout(()=>(tF.content="width=device-width, initial-scale=1.0, maximum-scale=1.0",!0),0)},$Oe=()=>{setTimeout(()=>(tF.content="",!0),0)},dE={beforeEnter:()=>{zCe()}},UCe=[{path:"/",name:"LANDING",component:()=>Kt(()=>import("./index-BC7KwsfV.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15])),meta:{layout:"LandingLayout"},...dE},{path:"/about",name:"ABOUT",component:()=>Kt(()=>import("./index-CLq-ptlx.js"),__vite__mapDeps([16,8,9,17])),meta:{layout:"LandingLayout"},...dE},{path:"/sign-up",name:"SIGN_UP",meta:{layout:"SignupLayout"},component:()=>Kt(()=>import("./index-DSVIrdXc.js"),__vite__mapDeps([18,1,2,3,19,20,6,7,14,21,22,23,24,25,26,27,28,29,10,11,12,13,30,31]))},{path:"/invite/:hash",name:"SIGN_UP_INVITATION",meta:{layout:"SignupLayout"},component:()=>Kt(()=>import("./SignupInvitation-CPiHYWpT.js"),__vite__mapDeps([32,25,26,19,20,14,21,27,28,29,1,2,3,10,11,12,13,6,7,22,30,33]))},{path:"/session-expired",name:"SESSION_EXPIRED",meta:{layout:"SignupLayout"},component:()=>Kt(()=>import("./SessionExpired-D7nzee3j.js"),__vite__mapDeps([34,35]))},{path:"/pay/:uid",name:"PAY",meta:{layout:"PaymentLayout"},component:()=>Kt(()=>import("./index-nCjxVP0x.js"),__vite__mapDeps([36,37,38,2,39,40,41,42,25,26,43,44,14,45]))},{path:"/payment/:id",name:"PAYMENT",meta:{layout:"PaymentLayout"},component:()=>Kt(()=>import("./index-9G_zaj01.js"),__vite__mapDeps([46,37,47,38,2,39,40,41,10,11,12,13,28,29,8,9,48]))}],jCe=[{path:"/dashboard",name:"DASHBOARD",meta:{layout:"Dashboard",headerTitle:"sidebar.dashboard",roles:[Jt.MERCHANT]},component:()=>Kt(()=>import("./index-DWq_XxyP.js"),__vite__mapDeps([49,50,51,52,8,9,53,54,23,24,55,28,29,43,56,57,4,5,58,59,60,61]))},{path:"/payments",name:"MERCHANT_PAYMENTS",meta:{layout:"Dashboard",headerTitle:"sidebar.payments",roles:[Jt.MERCHANT]},component:()=>Kt(()=>import("./MerchantPayments-uOES3cgr.js"),__vite__mapDeps([62,63,64,65,23,24,66,67,28,29,68,69,70,71,72,73,59,60,14,74,75,55,43,56,11,12,76,77,78,79,57,4,5,58,80,81,82,50,51,42,25,26,44,83]))},{path:"/clients",meta:{layout:"Dashboard",headerTitle:"sidebar.clients",roles:[Jt.MERCHANT]},component:()=>Kt(()=>import("./MerchantClients-Adji6bab.js"),__vite__mapDeps([84,78,79,63,64,65,23,24,66,67,28,29,68,69,70,71,72,73,59,60,14,74,75,55,43,56,11,12,76,85,86,87]))},{path:"/wallet",name:"WALLET",meta:{layout:"Dashboard",roles:[Jt.MERCHANT]},component:()=>Kt(()=>import("./index-DwB_Tabw.js"),__vite__mapDeps([88,63,64,2,8,9,89,43,14,90]))},{path:"/wallet-setup",name:"WALLET_SETUP",meta:{layout:"Dashboard",roles:[Jt.MERCHANT]},component:()=>Kt(()=>import("./index-D2iYUJst.js"),__vite__mapDeps([91,21,2,47,8,9,92,93,94,95,23,24,14,96]))},{path:"/settings",name:"SETTINGS",meta:{layout:"Dashboard",headerTitle:"sidebar.settings",roles:[Jt.MERCHANT]},component:()=>Kt(()=>import("./MerchantSettings-chwlHr2_.js"),__vite__mapDeps([97,63,64,98,85,78,79,71,72,86,99,28,29,59,60,8,9,14,100,101,39,40,102,103,104,6,7,10,11,12,13,105,66,67,106,107,43,25,26,108]))},{path:"/billing",name:"BILLING",meta:{layout:"Dashboard",headerTitle:"header.menu.billing",roles:[Jt.MERCHANT]},component:()=>Kt(()=>import("./index-Ba1rJ-PO.js"),__vite__mapDeps([109,50,51,63,64,10,11,12,13,28,29,8,9,59,60,110,19,20,55,43,56,23,24,111,80,81,92,93,112]))}],ZCe=()=>[...UCe,...jCe,...GCe],KCe=ZCe(),Ar=ECe({history:Jve("/"),routes:KCe,scrollBehavior(){return{top:0}}}),R3=J(!1),qCe=e=>{R3.value=!0,e(),setTimeout(()=>{R3.value=!1},0)};Ar.beforeEach(async(e,t)=>{try{const{checkHomePage:n,checkDisabledPages:o,checkWalletPages:i,checkCommonPages:s,checkRelatedRolesToPages:r,checkClientPages:a}=VCe(e,t),{readProfile:l,readGlobalSettings:c}=eF(e);c(),l();let u=e.fullPath;if(R3.value===!1){u=n(u);const d="default";if(["default","admin"].includes(d)&&(u=await o(u),u=s(u),u=r(u),u=await i(u)),e.fullPath!==u)return u}return!0}catch(n){console.error(n)}return!1});Ar.onError(e=>{/loading chunk \d* failed./i.test(e.message)&&window.location.reload()});const nF=()=>{const{addNotification:e,t}=Vr();e({text:t("signup.notification.sessionExpired"),config:{color:"error"}});const{registration:n}=O0();n.value.currency||n.value.companyName?Ar.push("/session-expired"):Ar.push("/")},WOe=e=>{e===404&&nF()};Zu.on("update-page-data",()=>{sF()});const oF=({method:e,params:t,url:n})=>{const o=t&&Object.entries(t).flatMap(i=>{const[s,r]=i;return r===null?[]:`${s}=${r}`}).join("&");return`${e}:${n}?${o||""}`},Va={};window.cachedResponses=Va;const YCe=e=>{const t=oF(e);if(!t)return{request:e};const n=Va[t];n||(Va[t]={});const o=n&&!!Object.keys(n).length;return{request:e,hasCashedResponse:o,cashedResponse:n}},iF=(e,t)=>{if(e&&!!Object.keys(e).length){const o=oF(e);Va[o]=t}},sF=()=>
167{Object.keys(Va).forEach(e=>{delete Va[e]})},XCe=e=>{try{Object.keys(Va).forEach(t=>{t.split("?")[0].split("get:")[1]===e&&delete Va[t]})}catch{console.warn("wWARN: clearResponseByUrl issue")}},JCe=["/merchants/login","/admin/login"],rF=e=>{if(e?.data&&(e.data=w5e(e.data)),e?.params?.shouldResetRequestState&&(XCe(e.url),delete e.params.shouldResetRequestState),e?.params?.isFreshResponse)return Ha("GET FRESH RESPONSE"),delete e.params.isFreshResponse,e;if(e?.data?.isFreshResponse)return delete e.data.isFreshResponse,e;if(e?.params?.isFreshResponse===!1&&delete e.params.isFreshResponse,Ly(e)||e?.params?.isFreshResponse===!1){const{request:n,cashedResponse:o,hasCashedResponse:i}=YCe(e);if(i)throw Ha(`HAS CACHED RESPONSE: ${n.url}`),{hasCashedResponse:i,cashedResponse:o};return n}return e},aF=(e,t,n)=>{const o=fn(),s=e===429&&t==="Too many requests, please try again later."?"TOO_MANY_REQUESTS":t;hF(n),o.$patch({lastResponse:{status:e,statusText:s,isServicePage:Object.prototype.hasOwnProperty.call(j0e,s)}})},lF=e=>e?.hasCashedResponse?Promise.resolve(e):Promise.reject(e),QCe=e=>{e.config?.url!=="/settings/admin/signup"&&aF(e?.status,e?.statusText,e.headers.feversion);const t=e?.data?.data?.access?.token,n=e?.data?.data?.refresh?.token;if(t){const{updateTokenInStorage:o}=Go();o({accessToken:t,refreshToken:n})}return Ly(e.config)&&iF(e.config,e),e},cF=async e=>{if(aF(e?.response?.status,e?.response?.data?.message||e?.response?.data),e?.hasCashedResponse)return Promise.resolve(e?.cashedResponse);const{addNotification:t,t:n}=Vr(),o=JCe.includes(e.response?.data?.path);if(e.response?.status===401){const s=e.response.data.path===dF&&e.response.data.message==="TokenExpiredError";try{if("JsonWebTokenError".includes(e.response.data.message))throw t({text:n("merchantDashboard.notification.sessionWasExpired"),config:{color:"error"}}),new Error("SESSION WAS EXPIRED");if(e.response.data.message==="Unauthorized")throw new Error("SESSION NOT AUTHORIZED");if(e.response.data.message==="INVALID_SESSION")throw t({text:n("errors.INVALID_SESSION"),config:{color:"error"}}),new Error("DEVICE NOT FOUND");if(e.response.config?.hasBeenRefetched)throw new Error("STOP INFINITE CALLS. SESSION WAS NOT UPDATED");if(s)throw new Error("SESSION WAS NOT UPDATED");if(e.response.data.message==="INVALID_SESSION_TOKEN")throw Qv({pushToHome:!0,useLogoutEndpoint:!1}),e;const{tokenRole:r}=Go();if(r.value==="client")throw Qv({pushToHome:!0,useLogoutEndpoint:!1}),e;if(!o){if(await c5e()){const{authToken:c}=Go();return e.response.config.headers.Authorization=`Bearer ${c.value}`,Ha("RE-FETCH DATA"),$r({...e.response.config,hasBeenRefetched:!0})}throw new Error("SESSION_WAS_NOT_UPDATED")}}catch(r){if(typeof r=="string"&&Ha(r,"#cc0000"),e.response.config.headers.useLogoutHandlerWhenError){const a=["TokenExpiredError","INVALID_SESSION","JsonWebTokenError","Unauthorized"],l=!(e.response.status===401&&a.includes(e.response.data.message));Qv({pushToHome:!0,useLogoutEndpoint:l})}throw e}}return e.response?.status===404&&e.response?.data?.message==="UNREGISTERED_USER_NOT_FOUND"&&nF(),Promise.reject(e)},My={Accept:"application/json","Content-Type":"application/json"},$r=Pn.create({baseURL:Ty,headers:My}),e5e=new BroadcastChannel("auth");e5e.onmessage=e=>{$r.defaults.headers.Authorization=e.data};$r.interceptors.request.use(e=>rF(e),e=>lF(e));$r.interceptors.response.use(e=>QCe(e),e=>cF(e));const uF=async({type:e,url:t,params:n,isErrorNotification:o=!0,successMessage:i=null,useRefreshToken:s=!1,responseType:r="json",useLogoutHandlerWhenError:a=!0,axiosInstance:l=$r,hasForceNotification:c=!1,isDefaultErrorNotificationEnabled:u=!0,headers:d})=>{try{const h={...My,incomeHeaders:d,useLogoutHandlerWhenError:a},{refreshToken:p}=Go();s&&xy(p.value);const f=J(!0),g=await l({responseType:r,url:t,method:e,[e==="get"?"params":"data"]:n,headers:h});f.value=!1;const{data:m}=g.data,v=g.data.success;return v&&i&&Dy(i),{result:g,data:m,isSuccess:v,isLoading:f}}catch(h){o&&wve({error:h,hasForceNotification:c,isDefaultErrorNotificationEnabled:u});const p={message:"",fields:[],error:{}};return h.response?.status===400&&(p.fields=h.response.data.errors,p.message=h.response.data.message),p.error=h.response,{isSuccess:!1,isLoading:!1,error:h.response,errorObject:p}}},Ln=()=>{const{authToken:e}=Go(),{t}=no.global;return e.value&&xy(e.value),{axios:$r,axiosWrapper:uF,successHandler:Dy,t}},nc=Pn.create({baseURL:Ty,headers:My}),t5e=e=>{const{store:t}=O0(),n=e?.data?.data?.access?.token,o=e?.data?.data?.refresh?.token;return n&&(t.updateTokens({accessToken:n,refreshToken:o}),nc.defaults.headers.Authorization=n?`Bearer ${n}`:null),Ly(e.config)&&iF(e.config,e),e};nc.interceptors.request.use(e=>rF(e),e=>lF(e));nc.interceptors.response.use(e=>t5e(e),e=>cF(e));const n5e=async e=>await uF({...e,axiosInstance:nc}),GOe=()=>{const{accessToken:e}=O0();return e.value&&(nc.defaults.headers.Authorization=e.value?`Bearer ${e.value}
167`:null),{axios:nc,axiosTempWrapper:n5e,successHandler:Dy}},o5e=J(!1),zOe=async(e={})=>{const{axiosWrapper:t}=Ln(),{data:n}=await t({type:"get",url:"/merchants/dashboard/elastic",params:{fromCache:!0,...e}});n.yearsList=Object.keys(n.income).map(i=>({text:i,value:i})).reverse(),n.yearsList.forEach(i=>{Array.isArray(n.income[i.value])||(n.income[i.value]=p5e(n.income[i.value],"month"))});const{updateTotalData:o}=uI();return o(n),n},UOe=async(e={})=>{const{axiosWrapper:t}=Ln(),{data:n,isSuccess:o}=await t({type:"get",url:"/merchants/assets-income/elastic",params:e}),{updateAssetsIncome:i}=uI();return i(n),{data:n,isSuccess:o}},jOe=async({name:e="statement",params:t={dateFrom:null,dateTo:null}})=>{const{axiosWrapper:n,successHandler:o,t:i}=Ln(),s=await n({type:"get",url:"/merchants/statements",params:t,responseType:"blob"});s.result?.data&&(C5e({data:s.result.data,filename:e,type:"pdf"}),o(i("merchantDashboard.notification.invoiceWasDownloadedSuccess")))},ZOe=async()=>{const{axiosWrapper:e}=Ln(),{isSuccess:t}=await e({type:"get",url:"/settings/admin/health-check",isErrorNotification:!1});return{isSuccess:t}},hE=({pushToHome:e})=>{const t=fn(),{store:n}=by(gI.MERCHANT_CLIENTS),{language:o,preferences:i}=t;xy(null),o5e.value=!1,F0().clearProfile(),(e===void 0||e===!0)&&qCe(()=>{Ar.push("/")}),setTimeout(()=>{t.clearProfile(),t.$reset(),n.clear(),n.$reset(),QI(),u5e(),t.$patch({language:o,preferences:i})},200)},Qv=async({pushToHome:e,useLogoutEndpoint:t=!0}={pushToHome:!1,useLogoutEndpoint:!0})=>{const{axiosWrapper:n}=Ln();if(!t){hE({pushToHome:e});return}const{isSuccess:o}=await n({type:"post",url:"/auth/logout",useRefreshToken:!0});o&&hE({pushToHome:e})},KOe=async({totpCode:e,role:t})=>{const n=fn(),{axiosWrapper:o,successHandler:i}=Ln(),{data:s,isSuccess:r,error:a,errorObject:l}=await o({type:"post",url:"/auth/totp/authenticate",params:{totpCode:e}});return r&&t&&n.$patch({role:t}),{data:s,isSuccess:r,successHandler:i,error:a,errorObject:l}},qOe=async e=>{const{axiosWrapper:t}=Ln(),{isSuccess:n,errorObject:o}=await t({type:"delete",url:"/merchants/",params:{totpCode:e}});return{isSuccess:n,errorObject:o}},dF="/auth/refresh",i5e=async()=>{const{axios:e,axiosWrapper:t}=Ln(),{refreshToken:n}=Go();if(n.value)e.defaults.headers.Authorization=`Bearer ${n.value}`;else return{isSuccess:!1};const{data:o,isSuccess:i}=await t({type:"post",url:dF});return{isSuccess:i,accessToken:o?.access?.token,refreshToken:o?.refresh?.token}},s5e=[],Ly=e=>s5e.includes(e.url),r5e=new BroadcastChannel("auth"),a5e=e=>{const t=`Bearer ${e}`;$r.defaults.headers.Authorization=e?t:null,r5e.postMessage(t)},xy=e=>{const t=`Bearer ${e}`;$r.defaults.headers.Authorization=t},l5e=async()=>{const{updateTokenInStorage:e}=Go(),{isSuccess:t,accessToken:n,refreshToken:o}=await i5e();return t?(e({accessToken:n,refreshToken:o}),Ha("SESSION WAS UPDATED")):console.error("SESSION WASNT UPDATED"),t},c5e=d5e(l5e),u5e=()=>{sF()},Dy=(e="")=>{const{addNotification:t}=Vr();t({text:e,config:{color:"success"}})},ky=(e,t={})=>{const{t:n}=no.global,{isAdminZone:o}=yc();let i=n("errors.UNKNOWN_ERROR");o.value&&(i=e);const s=Object.values(t)[0],r=s&&typeof s=="object"&&!Array.isArray(s)?s:t,a=n(`errors.${e}`,r);return a===`errors.${e}`?i:a},Go=(e=null)=>{const t=fn(),n=M(()=>t.authToken),o=M(()=>t.refreshToken),i=M(()=>e||n.value),s=M(()=>i.value===null||!h5e(n.value)),r=M(()=>s.value?{}:JSON.parse(atob(i.value.split(".")[1]))),a=M(()=>r.value?.tokenRole||r.value?.role),l=M(()=>r.value?.id),c=M(()=>a.value===Jt.MERCHANT),u=M(()=>[Jt.ADMIN,Jt.SUPER_ADMIN].includes(a.value)),d=M(()=>a.value===Jt.SUPER_ADMIN);return{authToken:n,refreshToken:o,tokenRole:a,merchantId:l,updateTokenInStorage:p=>{t.$patch({authToken:p.accessToken}),a5e(p.accessToken),p.refreshToken&&t.$patch({refreshToken:p.refreshToken})},user:r,isAdminRole:u,isSuperAdminRole:d,isMerchantRole:c}};function d5e(e){let t=!1,n;return async()=>(t||(t=!0,n=e(),await n,t=!1),n)}const YOe=(e,t)=>t<e?[]:Array(t-e+1).fill().map((n,o)=>e+o),XOe=e=>e?`${e[0].toUpperCase()}${e.slice(1).toLowerCase()}`:"",JOe=e=>e?e.match(/data:\w+\/[a-zA-Z+\-.]+;base64,/gm)?.length===1:!1,h5e=e=>e?e.match(/[\w-]+\.[\w-]+\.[\w-]+/gm)?.length===1:!1,QOe=e=>{if(!e)return;const t=e[0]==="#"?e.slice(1):e;if(t.length!==6)return;const n=t.match(/.{1,2}/g);return[parseInt(n[0],16),parseInt(n[1],16),parseInt(n[2],16)]},eNe=(e,t)=>{const n=setInterval(()=>{tt()>=tt(e)&&(clearInterval(n),t())},1e4);return n},p5e=(e,t)=>{const n=[];return e&&Object.keys(e).forEach(o=>{n.push({[t]:o,data:e[o]})}),n},f5e=(e,t,n=void 0)=>{const o=Math.floor(e+Math.random()*(t+1-e));return o===n?f5e(e,t,n):o},tNe=()=>Math.random().toString(36).slice(2,9),eC=(e,{threshold:t,startLength:n,endLength:o,dots:i}={threshold:42,startLength:20,endLength:20,dots:"..."})=>
167{if(!e)return"";if(e.length<=t)return e;const s=e.substring(0,n),r=e.substring(e.length-o);return`${s}${i}${r}`},g5e=(e,{maxLength:t}={maxLenght:20})=>{if(!e)return"";if(e.length<=t)return e;const n=Math.floor(20/2),o=e.slice(0,n),i=e.slice(-n);return`${o}...${i}`},m5e=()=>{const e=(navigator.language||navigator.userLanguage)?.substring(0,2)||"en";return Em.filter(n=>!("soon"in n)).map(n=>n.value).includes(e)?e:Em[0].value},nNe=e=>{const t=M(()=>(e.value?.state==="EXPIRED_WHILE_UNDERPAID"||e.value?.state==="UNDERPAID_EXPIRED_WITH_TWO_TX")&&e.value?.status==="EXPIRED"),n=M(()=>e.value?.state==="COMPLETE_MANUAL"&&e.value?.status==="COMPLETE"),o=M(()=>e.value?.state==="EXPIRED_WHILE_CONFIRMING"&&e.value?.status==="EXPIRED");return{isUnderpaidAndExpired:t,isCompleteManual:n,isExpiredWhileConfirmed:o}},oNe=e=>e?(tt.extend(d1e),tt(e).fromNow()):"",v5e=(e,t)=>{e.target.scrollHeight-(e.target.scrollTop+1)<=e.target.clientHeight&&t()},iNe=async e=>{try{await navigator.clipboard.writeText(e.replace(`
168`,""))}catch{console.error("CLIPBOARD FUNCTION DOESN'T EXIST")}},hF=e=>{const{store:t}=by(gI.MERCHANT_CLIENTS),{isAdminRole:n}=Go();if(n.value||!e)return;const{user:o}=N0(),[i,s]=e.split(","),r=fn();if(i&&r.lastResponse?.feVersion!==i){const a=r.lastResponse?.feVersion&&(o.value?.uid===s||!s);r.$patch({lastResponse:{feVersion:i}}),a&&(t.$reset(),window.location.reload(!0))}},C5e=({data:e,filename:t="data",type:n="txt"})=>{const o=new Blob([e],{type:n}),i=document.createElement("a"),s=URL.createObjectURL(o);i.href=s,i.download=`${t}.${n}`,document.body.appendChild(i),i.click(),setTimeout(()=>{document.body.removeChild(i),window.URL.revokeObjectURL(s)},0)},b5e=e=>{const t=new FileReader;t.onload=n=>{const o=n.target.result;try{const i=JSON.parse(o),s=ky(i.message),{addNotification:r}=Vr();r({text:s,config:{color:"warning",duration:5e3}})}catch(i){console.error("Error parsing JSON:",i)}},t.readAsText(e.response.data)},sNe=e=>{const t=hI.find(o=>o.value===e);return t?.isPrimary?t.value:`${t?.name} (${t?.family})`},rNe=e=>j1.find(n=>n.short===e),y5e=()=>{const{t:e}=no.global,{addNotification:t}=Vr();t({text:e("errors.CONNECTION_LOST"),config:{color:"warning",duration:5e3}})},w5e=e=>{const t=e;return t instanceof Object&&Object.keys(t).forEach(n=>{typeof t[n]=="string"&&(t[n]=t[n].trim())}),t},S5e=(e,t)=>{let n=e.target;for(;n;){if(n.classList&&n.classList.contains(t))return!0;n=n.parentNode}return!1},E5e={"dnd.history.manage":"Manage","merchantSettings.label.preparingData":"Preparing Data","dnd.notifications.title":"DND Settings","merchantBilling.history.title":"History","payment.error.title":"Error","merchantPayments.paymentInfoModal.label.depositAddress":"Deposit address","errors.MERCHANT_CLIENT_LIMIT_EXCEEDED":"Rate limit exceeded, please contact support","merchantClients.payments.noData":"No associated payments","merchantPayments.paymentInfoModal.tab.journal":"Journal","merchantSettings.tab.security":"Security","period.week":"week | weeks","common.search":"Search","plan.business.description":"For small businesses and startups with a user base.","merchantPayments.paymentInfoModal.label.cantBeCancelled":"Payments in progress cannot be cancelled","merchantSettings.general.pictureDescription":"Visible on the public address page","signup.footer.authenticatedMerchant":"Currently logged in as {merchantName}","errors.tokenLength":"Token length must be 6 digits","adminDeposits.table.columns.exchangeCurrency":"Crypto","landing.lostToken.secondaryText":"Access cannot be restored otherwise.","action.COMPLETED":"Completed","errors.CONNECTION_LOST":"Connection Lost","adminDeposits.table.columns.address":"Address","merchantWallet.label.generateWallet":"Generate new wallet","plan.free.title":"Free","merchantBilling.modalToRenew.newExpiryDate":"New expiry date","merchantBilling.balance.label.renewNow":"Renew now","merchantSettings.api.table.ip":"IP","merchantDashboard.statement.monthly":"Monthly statement","merchantBilling.notification.changeMerchantPlanSuccess":"Plan changed!","errors.GEN_SERVICE_FAIL_ON_ATTACHMENT":"Internal Error","signup.label.emailPlaceholder":"Enter your email","merchantBilling.modalToRenew.description":"Renewing your plan forcefully will prolong your current billing cycle with another month/year and carry forward your remaining payments quota into the new cycle. This is not an upgrade and will work only when you have 10% (or less) of your total quota remaining. Use this when you’re about to hit your limits sooner than usual.","sidebar.wallet.disconnect":"Disconnect wallet","payment.unconfirmed.subtitle":"Your transaction is sighted","merchantDashboard.totalRecieved.thirdPartyTokensTooltip":"Only tokens with a payment history are displayed","merchantWallet.generate.familySelection.monero":"This seed phrase will only work with Monero.","payment.expired.title":"Payment E
168xpired","common.active":"Active","merchantSettings.notifications.emailNotification":"Email","about.knowledge.title":"Your entire treasury ciphered within an algorithmic set of pronounceable words  known only to you, accessible anywhere.","merchantWallet.generate.verification.wrong":"Incorrect answers","merchantWallet.generate.final.title":"Setup Complete","merchantBilling.history.noHistory.description":"You will see your transaction history here","payment.label.highFeeNetworkTooltip":"High network fees incurred by Switch included in the amount.","payment.label.tokenIsdisabledGlobally":"This token is currently unavailable","action.PLAN_CANCELLED":"Plan Cancelled","common.reset":"Reset","merchantWallet.generate.password.validation.notEmpty":"Password can not be empty","merchantSettings.notification.updateNotificationSuccess":"Settings updated","ariaLabel.signup":"Signup","merchantBilling.balance.currentPlan":"Current plan","merchantBilling.modalToChangePlan.preview.buttonDowngrade":"Confirm Downgrade for {money}","adminDeposits.table.columns.status":"Status","landing.errors.invalidTotp":"INVALID TOTP","merchantWallet.import.final.description":"Wallets have been configured and you're ready to start accepting cryptocurrency from your customers.","period.year":"year | years","adminStaff.table.columns.status":"Status","errors.isNotEmail":"Invalid email","status.ALLSTATUSES":"All statuses","action.CREDITED":"Credited","merchantClients.table.columns.clientId":"ID","component.changeToken.returnToLogin":"Return to login","merchantPayments.table.columns.expectedAmount":"Amount Due","landing.labels.home":"Home","merchantSettings.notifications.quota.eightyPercentUsed":"80% Used","about.opi.addition.reason":"not your keys, not your coins.","month.august":"August","payment.externalError.subtitle":"There was an error generating this payment, please contact the merchant directly.","merchantClients.table.columns.paymentsCount":"Completed payments","merchantBilling.modalToRenew.currentExpiryDate":"Current expiry date","component.dateRangePicker.enterDateWithFormat":"Enter date in {value} format","merchantSettings.security.recentActivity.date":"Date","landing.header.about":"About","merchantSettings.modalToDeleteAccount.code.description":"To continue with your account deletion, enter the 6 digit code displayed on your software authenticator.","merchantSettings.api.logs.downloadLog":"Download log","merchantPayments.label.statusTooltip.isCompleteManual":"This payment has been marked complete manually","merchantWallet.import.importKeys.label.tvm":"TVM Address","merchantBilling.addBalance.footer":"Deposits must be greater than $1 and require 3 network confirmations before they are credited to your balance.","dnd.label.dnd":"Do Not Disturb","merchantSettings.notifications.quota.attemptToExceed":"Attempt to exceed","component.changeToken.terms.accountRecovery":"Account recovery is not possible without either a valid TOTP or a recovery code.","errors.TECHNICAL_ERROR":"Technical error, Please contact support","component.disconnectWallet.option1":"I will no longer be able to accept payments unless I have an active wallet on my account.","component.disconnectWallet.option2":"Disconnecting this wallet from Switch does not affect the funds in my wallet.","component.disconnectWallet.option3":"In order to start accepting payments again, I will have to setup a new wallet from scratch. Wallets once disconnected cannot be restored.","payment.label.thirdPartyTokenFee":"This includes network fees incurred by Switch.","merchantClients.clientCreateModal.tab.bulk":"Bulk Import","merchantClients.clientInfoModal.title":"Client Details","merchantWallet.import.selectCoins.title":"Select coins","component.contactSupport.attachFilesNote":"Attach up to 5 files (10 MB per file)","merchantBilling.modalToRenew.yourPlan":"Your plan","merchantClients.clientFull.deleteClient":"Delete client","plan.pro.description":"Recommended for individuals and freelancers.","merchantPayments.paymentInfoModal.label.cancelledManually":"Payment was cancelled manually","merchantBilling.label.hash":"Transaction Hash","merchantWallet.label.supportedBscTokens":"Supported BEP-20 tokens on the Binance Smart Chain","merchantBilling.balance.renew.cannotBeEnabled":"Cannot be enabled since your plan is marked for cancellation. This is enabled automatically upon plan change to any paid plan.","errors.NOT_ALLOWED_TO_BLOCK_MERCHANT":"It is not possible to block a merchant at this time","merchantClients.notification.bulkAddClientsWithDublicationsSuccess":`The import was successful. No errors found. 
169{amount} existing entries were ignored.`,"landing.labels.goodbye":"Goodbye","signup.button.createAccount":"Create account","cycle.YEAR":"Year","merchantSettings.changeName.title":"Change merchant name","component.changeToken.title.saveRecovery":"Save Recovery Codes","errors.TICKET_NOT_CREATED":"Ticket creation failed, please try again later","merchantClients.clientCreateModal.error.entriesFound":"{value} existing entries found","errors.INVALID_CODE":"Invalid code","dnd.notifications.changeStatusSuccess":"DND status updated","signup.logout.label":"You must log out of your current session before you can signup for a new account.","signup.companyName.permanent":"Account currency is permanent","signup.invitation.sessionExpired.button":"Begin new signup","common.warning":"warning","ariaLabel.learnMore":"Learn more","merchantPayments.createPaymentModal.button.createPaymentAndNotify":"Create payment and notify client","merchantPayments.createPaymentModal.label.paymentCannotBeCreated":"Payment notifications cannot be sent to clients with DND enabled.","component.accountRecovery.tryAgain":"Start over","ariaLabel.password":"Password","component.timeZone.utcTime":"UTC","errors.P
169UBV_INVALID":"Invalid public view key","errors.notMaxThan":"Entered value must not exceed {max} characters","merchantSettings.rules.antispam.description":"Apply a rate limit/waiting period between payments for each IP address generating payments from the public address page.","merchantWallet.import.importKeys.label.evm":"EVM Address","about.knowledge.description":"Knowledge is power.","merchantBilling.modalToChangePlan.preview.upgrade":"Upgrade to {icon} {plan}","errors.PUBS_INVALID":"Invalid public spend key","action.SUSPENDED":"Suspended","merchantBilling.balance.status.quota":"Quota resets","merchantSettings.api.modal.addNote":"Add note","errors.INVALID_CREDENTIALS":"Invalid credentials","merchantWallet.file.phraseSwitch":"seed","month.november":"November","merchantPayments.label.createButton":"Create payment","common.resend":"Resend","merchantClients.clientCreateModal.error.emailRequired":"Email required","signup.footer.terms":"Terms of Use","merchantSettings.notifications.quota.title":"Quota","errors.CLIENT_EXIST":"Client already exists","merchantSettings.notifications.quota.fiftyPercentUsed":"50% Used","signup.invitation.invalidInvitation.description":"This invite link is either invalid, expired, or has already been used.","component.filter.cycle":"Cycle","merchantWallet.generate.verification.word":"{num} word in the phrase is","merchantSettings.changeToken.title":"Change Token","payment.help.underpayments.title":"Underpayments","servicePage.tooManyRequests.title":"Too many requests","merchantPayments.createPaymentModal.description":"Generate a unique payment link for your client","payment.complete.notAvailable":"Not available for this payment","component.selectClient.paidPaymentsAmount":"{amount} from {paymentsAmount} payment | {amount} from {paymentsAmount} payments","about.opi.title":"One public identity","merchantBilling.balance.title":"Balance","dnd.login.manage":"Manage preferences","adminStaff.table.columns.email":"Email","component.historyBlock.address":"Address","landing.labels.recoveryDetected":"Recovery Code detected","component.avatarManagement.uploadPicture":"Upload new picture","merchantSettings.notification.requestToChangeEmailSuccess":"Email replacement request sent","merchantWallet.faq.question3.description":"Only the coins that were selected during the wallet setup are displayed here, it is not possible to individually add/remove coins. You must {0} and set it up again if you wish to add new coins.","merchantWallet.faq.question2.description":"If you wish to receive payments anonymously (without a name or an email address linked to the payment), this mode can be enabled. Incognito mode requires a memo (small description) to be added to the payment for reference.","merchantWallet.publicAddress.label.incognito":"Incognito mode","common.client":"client | clients","merchantSettings.rules.detonator.title":"Detonator","dnd.notifications.disabled.title":"Disabled","merchantBilling.modalToCancelPlan.description":"Your plan will be downgraded to the Free plan on the next renewal date.","adminInvoices.table.columns.cycle":"Cycle","merchantWallet.label.seedPhrase":"Seed Phrase","errors.CLIENT_CAN_NOT_BE_DELETED":"Client can not be deleted","merchantClients.notification.changeClientNameSuccess":"Client name changed","component.historyBlock.noHistory":"This payment does not have any operational history yet","landing.labels.documentation":"Documentation","merchantBilling.modalToRenew.title":"Force Renewal","merchantPayments.paymentInfoModal.journal.title":"Slide to mark payment complete","merchantBilling.modalToChangePlan.select.yourBalance":"Your balance is","common.createNew":"Create new","currency.gb":"British Pound","merchantSettings.modalToDeleteAccount.final.returnToHome":"Return to Homepage","merchantPayments.table.columns.activatedAt":"Activation Date","merchantWallet.publicAddress.button.save":"Save","sidebar.wallet.publicAddress":"Public Address","common.poweredBy":"Powered by {switchLogo}","common.save":"Save changes","merchantBilling.balance.downgradesToday":"Downgrades to Free Today","component.changeToken.description.saveRecovery":"Any of these codes may be used once for login/recovery.","header.menu.billing":"Billing","status.SUSPENDED":"Suspended","action.VOTING_WINDOW_EXPIRED":"Voting window expired","merchantSettings.general.numberFormat":"Number Format","merchantPayments.label.statusTooltip.isUnderpaidAndExpired":"This payment was partially paid before expiring","merchantBilling.balance.depositAddress":"Deposit address","status.PRE_NEW":"Pending","merchantSettings.tab.rules":"Rules","merchantBilling.modalToChangePlan.preview.dueDate":"New due date","errors.ACCOUNT_UNAVAILABLE":"Account unavailable","errors.MERCHANT_DOES_NOT_EXIST":"Merchant does not exist","merchantSettings.notification.verifyEmailSuccess":"Email verified","merchantWallet.notification.walletRemoveSuccess":"Wallet successfully removed","landing.header.more":"More","merchantPayments.paymentInfoModal.label.journalAvailable":"Only available for expired or cancelled payments","status.COMPLETE":"Complete","currency.eu":"Euro","payment.complete.slippageIncluded":"This payment included a 
169surcharge set by the merchant.","merchantClients.table.columns.createdAt":"Registration Date","component.disconnectWallet.button.disconnect":"Disconnect wallet","common.enable":"Enable","month.september":"September","signup.label.saveCodesTitle":"Save Recovery Codes","merchantClients.clientCreateModal.subtitle.single":"Track statistics (income/payments) from the same email","common.amount":"Amount","component.table.itemsPerPage":"Items per page","merchantSettings.detonatorModal.detonationCode.description":"Use wisely. Entering this code during login will trigger immediate self-destruct for your account. This code will not be displayed again.","merchantSettings.notification.addImageFormatErrorNotification":"Allowed only JPG, JPEG, PNG","about.phylosofy.description":"Switch is neither a banking institution, a wallet provider, or an exchange and operates purely on the application layer with no access to your funds. This means no KYC, no limits and you get full custody - privacy by design, by default.","sidebar.settings":"Settings","signup.invitation.sessionExpired.description":"Your registration session has expired, please begin the process of registration again. Any data collected has been removed.","status.BOUNCED":"Bounced","component.changeToken.save":"Save","component.contactSupport.sendButton":"Send message","component.filter.creationDate":"Creation date","merchantSettings.changeEmail.description.changeEmail":"Enter the desired email address, an OTP will be sent for confirmation.","merchantSettings.notification.updateSlippageSuccess":"Settings updated","merchantSettings.notification.generateApiKeySuccess":"Key generated","merchantSettings.security.recentActivity.session":"Session","merchantDashboard.income.total":"Total","errors.extra_spaces":"Extra spaces found","signup.label.scanCode":"Scan this QR code with any authenticator app and enter the TOTP displayed.","payment.label.otherTokenAlert":"Any token other than {coin} sent to this address will not be detected","merchantPayments.paymentInfoModal.label.revokeIn":"in {time}","merchantSettings.detonatorModal.setDetonator.description":"Enter a valid TOTP to continue.","merchantSettings.modalToDeleteAccount.final.description":"All associated data has been removed beyond recovery. Deleted account numbers or UIDs are one-of-one and never re-assigned to new merchants.","merchantPayments.paymentInfoModal.journal.paidManually":"Marked paid manually on {date} at {time} with the following journal entry","signup.notification.sessionExpired":"Session expired","currency.ch":"Swiss Franc","merchantDashboard.totalRecieved.tooltip":"This is not your wallet balance. To view your balance, you must first import your wallet seed into any compatible wallet application. Switch cannot access your wallet.","common.all":"All","merchantSettings.security.title":"Manage account access","common.importAction":"Import","merchantSettings.notification.updateMerchantNameFail":"Something went wrong","currency.cn":"Chinese Yuan","adminMerchants.table.columns.uid":"UID","common.unavailable":"Unavailable","merchantWallet.notification.atLeastOneCoinWarning":"At least 1 coin must remain enabled","merchantWallet.publicAddress.label.off":"off","period.quarterly":"Quarterly","header.menu.account":"Account","dnd.settings.option2":"You will still receive email notifications for payments you make to any merchant via their public address if you input your email there.","dnd.settings.option1":"DND policy affects all merchants.","about.opi.desctiption":"Your unique account number that lets you accept payments directly into your crypto wallets while you alone retain full custody of your funds accessible on any device through your seed.","merchantDashboard.monthlyIncome.description":"Aggregate does not constitute payments that were underpaid.","merchantPayments.createPaymentModal.label.autoRevokeIn":"Auto-Revoke in","merchantBilling.balance.label.changePlan":"Change Plan","merchantPayments.table.columns.marketRate":"Market Rate","ariaLabel.file":"File","header.menu.logout":"Log Out","errors.isNotEmpty":"This field cannot be empty","landing.labels.copyTorAddress":"Copy TOR address (.onion)","landing.labels.inputToken":"ENTER TOTP","merchantBilling.balance.noPaymentsLeft":"No payments left","merchantSettings.changeEmail.title.enterTotp":"Enter TOTP","action.EMAIL_CHANGE":"Changed Email","payment.error.errorCode":"Error Code","merchantBilling.balance.quotaResetsInDays":"Quota resets in {value} days","month.february":"February","servicePage.notFound.description":"The page you are looking for doesn't exist or has been moved.","merchantSettings.general.timezone":"Time Zone","merchantClients.notification.deleteClientSuccess":"Client removed","merchantClients.clientCreateModal.label.clientNameNote":"This name is for your reference only and not visible to the client","currency.ae":"UAE Dirham","adminMerchants.table.columns.createdAt":"Registration Date","dnd.notifications.block.description":"All merchants on Switch will be blocked from sending any payment request notifications to this email address.","adminStaff.table.columns.createdAt":"Registration Date","component.accountRecovery.successDescription":"Each code may be used only once for login/recovery.","status.COMPLETED":"Completed","merchantSettings.security.recentActivity.ip":"IP Address","common.any":"Any","merchantWallet.faq.question3.title":"Why don't I see all supported coins here?","merchantWallet.import.importKeys.title":"Import data","merchantPayments.paymentInfoModal.label.revoke":"Auto-Revoke","merchantWallet.learnMore":"Learn more about generating wallets","adminStaff.table.columns.username":"Username","common.continue":"Continue","merchantSettings.tab.activeSessions":"Active sessions","merchantPayments.table.columns.uuid":"UUID","merchantSettings.rules.revoke.description":"Use this policy to automatically cancel payments generated from your public address if they remain inactivated/unused for a certain time period. Revoking a payment link cancels the payment so it is not unnecessarily counted towards your plan quota.","merchantBilling.modalToRenew.pay":"Pay","payment.unconfirmed.multipleTransactionsSubtitle":"Multiple transactions sighted","status.ARCHIVED":"Archived","header.menu.settings":"Settings","component.dateRangePicker.cannotLessThanStart":"This date cannot be before the start date","errors.MERCHANT_PAYMENT_QUOTA_EXHAUSTED":"Plan payments quota exhausted","merchantPayments.paymentInfoModal.label.noAvailable":"No longer available for this payment","merchantSettings.api.table.lastUsed":"Last Used","merchantDashboard.totalRecieved.title":"Total Received","signup.label.saveCodes":"Save Codes","merchantPayments.table.columns.clientName":"Client Name","dnd.history.blocked":"Blocked","merchantDashboard.monthlyIncome.title":"Monthly Income","merchantBilling.label.deposit":"Deposit","adminMerchants.table.columns.status":"Status","merchantSettings.rules.title":"Manage system policies","period.second":"second | seconds","component.contactSupport.option.BUG":"Bug report","merchantPayments.notification.generatePaymentSuccess":"Payment created","merchantWallet.import.importKeys.label.privateViewKey":"Private view key","merchantSettings.notification.disableDetonatorSuccess":"Settings updated","status.DISABLED":"Disabled","merchantDashboard.statement.title":"Generate income statement for","payment.help.underpayments.description":"Payments may be completed with a second transaction within the payment window in case the required amount is not received in the first attempt.","merchantBilling.balance.paymentsLeft":"Payments left","merchantWallet.generate.seed.important":"Important","ariaLabel.home":"Home","format.date.dateMonthYear":"DD/MM/YYYY","merchantWallet.import.importKeys.label.publicKey":"Public key","about.description":"A non-custodial payment gateway and accounting system for businesses that accept cryptocurrency payments","common.to":"To","merchantSettings.changeEmail.label.emailAddress":"Email Address","status.PRUNED":"Pruned","merchantWallet.generate.start.description":"A seed phrase will be generated locally on your browser for the coins you choose. Public keys for your wallet will be auto-saved on Switch so you can start accepting payments.","format.time.24h":"23:59 (24H)","common.coin":"Coin","action.DOWNGRADED":"Downgraded","merchantClients.clientCreateModal.error.duplicates":"{value} duplicate | {value} duplicates","payment.expired.tryAgain":"Try again","adminStaff.table.columns.lastAccessDate":"Last Active","signup.footer.description":"By creating an account, you agree to our {terms}","signup.logout.button":"Log out and continue","month.january":"January","merchantBilling.label.confirming":"Confirming","merchantWallet.publicAddress.label.yourAddress":"Your public address","format.number.noDelimeter":"No Delimiter ({value})","merchantSettings.notification.updateMerchantSettingsSuccess":"Settings updated","sidebar.stickies":"Stickies","merchantSettings.rules.detonator.codeSet":"Code Set","merchantClients.clientCreateModal.title.review":"Review Import","status.ACTIVE":"Active","merchantBilling.addBalance.title":"Add funds","errors.INVALID_INPUT":"Invalid input","merchantWallet.generate.seed.confirm":"I understand that recovery of the wallets (and the funds inside) is impossible without the seed phrase and the password (if set).","dnd.notifications.whitelist.title":"Whitelist","merchantBilling.filter.deposits":"Deposits","common.sort.olde
169stFirst":"Oldest first","common.total":"Total","merchantClients.clientInfoModal.label.openStatusTooltip":"This status indicates that the client is open to receiving payment requests via email.","merchantBilling.modalToChangePlan.preview.monthlyCost":"Monthly cost","status.EXPIRED":"Expired","merchantSettings.notifications.access.successfulLogin":"Successful Login","merchantBilling.balance.expiresTomorrow":"Expires Tomorrow","component.disconnectWallet.label.understand":"I understand that","adminDeposits.table.columns.valueInUsd":"Value","status.DRAFT":"Draft","payment.complete.recieptFrom":"Receipt from","errors.error":"Error","adminMerchants.table.columns.email":"Email","errors.DUPLICATED_RECOVERY_SESSION":"Duplicate session detected","merchantSettings.general.language":"Language","month.may":"May","merchantSettings.changeEmail.description.verifyEmail":"Enter the OTP sent to {email}","adminInvoices.table.columns.uid10Digits":"Invoice ID","adminDeposits.table.columns.uid":"Merchant UID","merchantClients.deleteClientModal.desc":"This action cannot be undone.","merchantDashboard.income.week":"This week","errors.matches_ip":"Invalid IPv4 or IPv6","errors.MERCHANT_ACTIVE_PAYMENT_LIMIT_REACHED":"Please try again in some time","merchantSettings.changeName.oldName":"Old name","merchantWallet.import.importKeys.label.import":"Import","payment.complete.hash":"Transaction Hash","common.preview":"Preview","merchantSettings.api.title":"Manage third-party access","sidebar.payments":"Payments","adminDeposits.table.columns.value":"Amount","errors.matches":"Only alphabets are allowed","adminDeposits.table.columns.updatedAt":"Updated at","merchantWallet.coins.description":"Choose the coins you wish to accept through your public address.","servicePage.notFound.title":"Page Not Found","dnd.label.email":"Your email","header.renews":"Renews {date}","payment.help.conversionRates.title":"Conversion Rates","signup.button.codesWereSaved":"I have safely stored the codes","dnd.label.yourPreferences":"Your {dnd} preferences","sidebar.wallet.downloadData":"Download wallet data","component.changeToken.terms.saveCodes":"I have safely stored the codes.","merchantPayments.paymentInfoModal.tab.overview":"Overview","landing.lostToken.mainText":"Only a recovery code from the time of signup may be entered here to access this account and reset the access token.","merchantBilling.addBalance.description":"These deposit addresses are unique to this account and any amount sent here will automatically be converted to USD at the current market rate and credited to your balance.","signup.invitation.linkExpired.title":"Link Expired","action.JOURNAL":"Manually marked complete","paymentType.API_PAYMENT":"API","common.download":"Download","sidebar.profile":"Profile","signup.companyName.placeholder":"My Company Name, Inc.","errors.isEmail":"Invalid email","period.yearly":"Yearly","errors.PAYMENT_NOT_FOUND":"Payment not found","errors.INVALID_SESSION":"Invalid session","merchantSettings.notification.totpWasChangedSuccess":"TOTP code updated","merchantWallet.import.selectCoins.thirdParty":"Supported third-party tokens require that you have an existing wallet address on their network","action.EMAIL_CHANGED":"Email Changed","common.email":"Email","landing.title":"Borderless Banking","merchantClients.notification.updateClientMemoSuccess":"Client memo updated","component.changeToken.notification.allSessionsWereTerminated":"All sessions were terminated, please login again","errors.ADMIN_ALREADY_EXISTS":"Admin already exists","errors.PRV_INVALID":"Invalid private view key","landing.header.sign":"Sign Up","payment.help.alert":"Switch is not an exchange or a wallet custodian and presumes no responsiblity in the delivery of goods/services by the merchant.","merchantPayments.paymentInfoModal.label.publicLink":"Public Link","errors.max":"Entered value must not exceed {max} characters","errors.SESSION_EXPIRED":"Session expired","merchantBilling.modalToChangePlan.preview.descriptionSubtext":"not","merchantWallet.coins.label.imported":"Wallet imported on {date} at {time}","sidebar.dashboard":"Dashboard","action.ACCOUNT_DELETED":"Account Deleted","component.selectClient.label.detailsTitle":"Client details","common.sort.newestFirst":"Newest first","merchantPayments.table.columns.paid":"Amount Received","sidebar.sales":"Sales","about.integration.title":"On-the-fly wallet integration","status.OVERDUE":"Overdue","period.montly":"Monthly","merchantPayments.paymentInfoModal.tab.history":"History","merchantSettings.rules.detonator.de
169scription":"Set a discreet kill switch for your account. Entering this code instead of the TOTP at the time of login will immediately trigger self-destruct for this account.","payment.expired.unavailableDescription":"This payment either does not exist or has since been rescinded.","merchantPayments.paymentInfoModal.label.includesSlippage":"Includes {value}% slippage","merchantWallet.generate.password.confirm":"Confirm passphrase","common.registered":"Registered","merchantBilling.balance.quotaResetsToday":"Quota resets Today","merchantPayments.paymentInfoModal.journal.text1":"Manually mark a payment complete by adding a journal entry (only visible to you) in the system. This is only available for cancelled and expired payments and must only be used in cases where a client missed the original payment window but settled the full amount later. Payment receipts are not generated for payments marked complete with a journal entry. Such payments will also stand out on your income statement.","merchantPayments.paymentInfoModal.journal.text2":"This action is irreversible and income from this payment will immediately be accounted upon your confirmation. Habitual usage of this function is not recommended.","component.table.resetFilters":"Reset all filters","action.RECEIVED":"Received {amount} {currency}","common.linkExpired":"Link Expired","common.success":"success","common.incognito":"Incognito","component.avatarManagement.browsePicture":"Browse picture","component.filter.status":"Status","merchantWallet.publicAddress.label.description":"Receive payments on the internet using one account number for all your coins.","merchantSettings.detonatorModal.detonationCode.title":"Detonation Code","common.copy":"Copy","adminMerchantsPruned.table.columns.companyName":"Name","paymentType.MANUAL_PAYMENT":"Manual","merchantBilling.modalToChangePlan.select.description":"Choose a plan depending on the number of payments you plan to accept from your customers in a month or a year. The payments quota is reset every cycle. Unpaid/incomplete payments from your clients do not count towards the quota.","merchantSettings.changeName.description.confirm":"You won't be able to change the name again for 180 days.","component.historyBlock.hash":"Transaction Hash","adminDeposits.table.columns.cryptoValue":"Amount","pay.button.returnHome":"Return Home","merchantClients.table.columns.clientName":"Name","merchantDashboard.income.month":"This month","signup.button.confirmEmail":"Confirm email","signup.label.codeWasSent":"We sent verification code to your email","action.CANCELLED":"Cancelled","adminStaff.table.columns.adminId":"ID","merchantWallet.tabs.title.verification":"Verification","merchantClients.clientInfoModal.label.cantBeEdited":"Emails cannot be edited. Only client names can be changed.","merchantWallet.faq.question1.description":"Your public address is a unique link you can share with your clients on the internet. All payments received via this link are credited to your wallet directly and a receipt is sent to the client automatically after payment completion.","landing.labels.openTicket":"Open a support ticket","component.avatarManagement.title":"Crop picture","merchantDashboard.notification.invoiceWasDownloadedSuccess":"Your statement is ready!","status.NEW":"New","status.ALL":"All","action.EXPIRED":"Expired","merchantSettings.general.label.lastChanges":"Last changes {periodAgo}","merchantWallet.generate.password.passphrase":"Passphrase","action.CANCELLED_MANUALLY":"Cancelled manually","merchantSettings.changeEmail.label.verifyEmail":"Verify email","merchantSettings.changeName.newName":"New name","pay.label.unknownAccount":"The account either does not exist or is not accepting payments publicly.","adminDeposits.table.columns.hash":"Hash","merchantWallet.import.importKeys.extraCoins.title":"Other third-party tokens","common.from":"From","about.phylosofy.learnMore":"Learn more about our philosophy","status.DO_NOT_DISTURB":"Do Not Disturb","merchantSettings.modalToDeleteAccount.final.title":"Your account has been deleted","merchantSettings.detonatorModal.savedCode":"I have saved the code","merchantPayments.label.statusTooltip.isExpiredWhileConfirmed":"This payment was paid partially before expiring","merchantSettings.general.dateFormat":"Date Format","merchantSettings.modalToDeleteAccount.code.deteteAccount":"Delete account","component.table.pagination.enterPage":"Go to page","dnd.notifications.block.title":"Block everyone","common.notNow":"Not now","merchantClients.clientCreateModal.error.inputError":"{value} input error | {value} input errors","merchantSettings.api.table.actions":"Actions","status.PAID":"Paid","landing.labels.inputAccount":"Enter account","merchantSettings.changeEmail.title.changeEmail":"Change Email","merchantSettings.modalToDeleteAccount.confirm.comment":"Upon deletion, you will be logged out immediately. An email notification will follow.","common.never":"Never","component.changeToken.enterCode":"Enter the 6 digit code displayed on your device","merchantClients.clientInfoModal.label.tooltipForDelete":"Only clients without a payment history can be deleted","signup.label.saveCodesDescription":"Use the following codes for recovering your account. They will not be displayed again.","common.error":"error","merchantSettings.notification.deleteApiKeySuccess":"Key deleted","merchantBilling.notification.planCancellationStopped":"Plan cancellation stopped","merchantSettings.notifications.payments.title":"Payments","merchantSettings.sessions.killAllSessions":"Kill all other sessions","signup.label.authAppConnected":"Authenticator app is connected","common.complete":"Complete","merchantBilling.balance.description":"All deposits are final and calculated in USD regardless of the set account currency.","payment.label.slippage":"This payment includes a surcharge set by the merchant","merchantBilling.modalToCancelPlan.freeLimitations":"Free plan limitations","merchantClients.searchPlaceholder":"Search among {count} clients","signup.companyName.change":"be changed later","about.title":"Accept crypto, freely.","component.contactSupport.memo":"Write your message and you will receive a reply on your registered email address.","merchantPayments.table.columns.clientEmail"
169:"Email","merchantSettings.label.exportData":"Export Data","merchantSettings.security.recentActivity.unknown":"Unknown","merchantSettings.modalToDeleteAccount.confirm.description":"Confirm that you want to delete your account.","payment.label.paid":"Paid","merchantPayments.paymentInfoModal.label.unregisteredClients":"Unregistered clients are marked registered only after their payment is completed","month.march":"March","merchantWallet.generate.final.learnMore":"Learn more about how wallets work","merchantWallet.file.walletData":"wallet_data","payment.label.pay":"Pay {amount} with","merchantWallet.import.start.description":"You will be required to enter a public key for each coin you choose to integrate with Switch. Ethereum integration requires only an EVM address while Monero integration requires the private view key in addition to the public spend key and public view key. None of this data required can technically give Switch access to your funds.","landing.labels.registrationDisabled":"Registrations are currently disabled.","errors.notLessThan":"Entered value cannot be less than {min} characters","common.learnMore":"Learn more","signup.invitation.linkExpired.button":"Return Home","merchantBilling.balance.renewalInDays":"Renewal in {value} days","common.clients":"clients","dnd.notifications.disabled.description":"You allow notifications for payment requests on this email address from any merchant on Switch.","servicePage.tooManyRequests.description":"Please try again later","signup.invitation.selectCurrencyPlaceholder":"Select account currency","merchantSettings.modalToDeleteAccount.confirm.conwirmWithTotp":"Confirm with TOTP","month.april":"April","merchantClients.clientCreateModal.serverError.duplicated":"Duplicate entry","merchantPayments.createPaymentModal.label.autoRevokeLink":"Auto-Revoke Link","common.or":"or","status.PENDING":"Pending","merchantBilling.modalToRenew.footer":"You can force renewal only if your remaining quota is 10% or below.","sidebar.wallet.label":"Wallet","adminInvoices.table.columns.createdAt":"Date","signup.invitation.currencyDescription":"Account currency is permanent and {0} be changed later","merchantWallet.import.importKeys.label.privateSpendKey":"Public spend key","action.RENEWED":"Renewed","merchantClients.clientInfoModal.label.lastPayment":"Last payment","merchantSettings.general.timeFormat":"Time Format","component.selectClient.totalRevenue":"Total Revenue","merchantBilling.modalToChangePlan.select.title":"Change Plan","merchantWallet.generate.password.continueWithout":"Continue without password","adminInvoices.table.columns.plan":"Plan","component.historyBlock.journalEntry":"Journal Entry","merchantSettings.notification.generateNewApiKeymaxAmountWarning":"10 API keys maximum","component.dateRangePicker.cannotBeInFuture":"Date cannot be from the future","period.minute":"minute | minutes","merchantPayments.table.columns.createdAt":"Creation Date","errors.UNKNOWN_ERROR":"Unknown Error","merchantWallet.generate.final.description":"Now that you've created a wallet, you're ready to start accepting cryptocurrency from your customers.","merchantWallet.coins.label.disabled":"Temporarily disabled by the system","common.type":"Type","common.none":"None","errors.ERR_AMOUNT_MIN_VALUE_IS_100":"Amount cannot be below 100","merchantWallet.duplicateSetup":"Duplicate wallet setup sequence","errors.min":"Entered amount cannot be below {min}","status.SUCCESS":"Success","merchantBilling.notification.changeMerchantPlanStatusCancelled":"Plan marked for cancellation","merchantSettings.api.table.actionText":"Callback logs","pay.notification.requestsBlockedSystemError":"You have request block, please try later","merchantBilling.balance.renewalTomorrow":"Renewal Tomorrow","action.ACTIVATED":"Activated with {currency}","adminDeposits.table.columns.createdAt":"Date","merchantPayments.table.columns.amountReceived":"Amount Received","cycle.LIFETIME":"Lifetime","component.accountRecovery.resetToken":"Reset token","status.ERROR":"Error","errors.ERR_AMOUNT_MIN_VALUE":"Amount cannot be below {min} {currency}","dnd.login.verificationTitle":"Verify Email","errors.MONITORING_SERVICE_ERROR":"Internal error","action.REACTIVATED":"Reactivated 
169with {currency}","common.allTime":"All Time","merchantSettings.notifications.payments.underpaidSighted":"Underpayment Sighted","merchantSettings.sessions.tor":"Unknown (Tor)","common.help":"Help","status.BLOCKED":"Do Not Disturb","cycle.ANNUALLY":"Annually","dnd.login.title":"Do Not Disturb","merchantSettings.changeEmail.title.verifyEmail":"Verify Email","merchantWallet.generate.password.setupDescription":"Access to the wallets then becomes impossible without the combination of both - making the knowledge of your seed phrase useless without the password.","about.integration.crypto.title":"Use any crypto wallet","merchantWallet.generate.password.description":"Passwords are optional but add a second layer of security on top of the seed phrase. If you generate more than 1 seed phrase, the same password will apply to both.","merchantPayments.paymentInfoModal.journal.memoPlaceholder":"ex. payment settled in cash next day at 6pm","status.UNPAID":"Unpaid","merchantBilling.balance.quotaResetsTomorrow":"Quota resets Tomorrow","month.december":"December","merchantWallet.faq.learnMore":"Learn more about how Switch works","payment.help.conversionRates.description":"Required amounts in coin values are calculated based on the currently prevalent market rate.","common.address":"address | addresses","status.DELETED":"Deleted","merchantBilling.modalToCancelPlan.paymentsPerMonth":"10 payments per month","errors.MERCHANT_DAILY_CLIENT_LIMIT_EXCEEDED":"Rate limit exceeded, please contact support","sidebar.clients":"Clients","merchantBilling.notification.selectPlanAlreadyHave":"You already have this plan","ariaLabel.next":"Next","errors.ERR_DEVICE_NOT_FOUND":"Session Expired","action.UPGRADED":"Upgraded","merchantSettings.api.keysUsed":"Keys used","merchantClients.notification.addClientSuccess":"Client invited","component.filter.nSelected":"{value} selected","adminInvoices.table.columns.amount":"Amount","merchantPayments.createPaymentModal.label.autoRevokeDescription":"This payment will be cancelled automatically if not activated by {0}","merchantDashboard.notification.sessionWasKilled":"Session killed from another device","status.WAITING":"Awaiting Funds","common.cancel":"Cancel","merchantSettings.notifications.title":"Manage notification triggers","merchantDashboard.notification.sessionWasExpired":"Session expired","dnd.login.subtitle":"Block rogue merchants from sending you notification spam from payment requests.","common.copied":"Copied!","status.QUEUE":"In Queue","dnd.merchants.back":"Back to merchants","component.contactSupport.title":"Contact support","merchantBilling.notification.selectPlanNotEnoughBalance":"Not enough balance","dnd.returnTo":"Return to {link}","merchantSettings.rules.api.title":"API Payments","servicePage.accessRescticted.description":"You lack sufficient privileges to the page requested.","merchantSettings.notification.addImageSizeErrorNotification":"Exceeded image size: {maxSize}MB","merchantBilling.balance.expiresInDays":"Expires in {value} days","status.APPROVALPENDING":"Approval Pending","plan.pro.title":"Pro","merchantSettings.notification.updateRevokeSuccess":"Settings updated","merchantSettings.notifications.payments.paymentSighted":"Payment Sighted","payment.error.paymentID":"Payment ID","landing.errors.systemError":"SYSTEM ERROR","errors.CAN_NOT_ENABLE_DND":"It is not possible to activate DND at this time","adminMerchants.table.columns.companyName":"Name","merchantSettings.api.generateKey":"Generate new key","payment.label.tokenIsDisabledByMerchant":"The merchant is not currently accepting this token","payment.unconfirmed.confirmations":"Confirmations","merchantClients.clientCreateModal.label.bulkMemo":`Import clients in the following format, up to 100 at a time.
170
171<Client Name>:client1{'@'}gmail.com;
172<Client Name>:client2{'@'}gmail.com;
173<Client Name>:client3{'@'}gmail.com`,"merchantSettings.label.deleteAccount":"Delete Account","cycle.YEARLY":"Yearly","merchantSettings.general.picture":"Profile Picture","payment.complete.downloadReceipt":"Download receipt","component.dateRangePicker.cannotBeOlderThanCreationDate":"Date cannot be older than the account","merchantBilling.modalToChangePlan.preview.unlimited":"Unlimited","merchantWallet.import.importKeys.label.paste":"Paste","merchantWallet.import.importKeys.label.invali
173dInput":"Invalid input","merchantSettings.general.merchantName":"Merchant Name","merchantWallet.tabs.title.finalize":"Finalize","ariaLabel.feral":"feral","about.payments.trackReceipts":"Track Receipts","errors.minLength":"Minimum {min} characters required","merchantDashboard.statement.downloadProcessing":"Your download will be ready shortly…","errors.REQUEST_BLOCKED":"Request blocked","merchantPayments.paymentInfoModal.label.paymentAmount":"Payment Amount","errors.clientHasDndEnabled":"The selected client has DND enabled","merchantDashboard.statement.custom":"Custom statement","merchantSettings.modalToDeleteApiKey.title":"Delete API key","adminDeposits.table.columns.depositSequentialId":"ID","component.table.pagination.nextPage":"Next Page","component.contactSupport.descriptionLink":"documentation","merchantSettings.label.yourData":"Your data","merchantDashboard.notification.insufficientBalanceForOperation":"Plan modification failed","component.accountRecovery.openDashboard":"Open dashboard","action.SIGNED_UP":"Signed Up","payment.help.paymentWindows.title":"Payment Windows","action.LINK_ACCESSED":"Link Accessed","merchantBilling.balance.label.stopCancellation":"Stop plan cancellation","status.CANCELLED":"Cancelled","component.table.pagination.prevPage":"Prev Page","merchantBilling.modalToChangePlan.preview.buttonUpgrade":"Confirm Upgrade for {money}","merchantBilling.addBalance.noRefunds":"No refunds.","sidebar.staff":"Staff","merchantSettings.notification.enableDetonatorSuccess":"Settings updated","merchantWallet.import.importKeys.label.learnMore":"Learn more about importing wallets","format.number.point":"Point Delimiter ({value})","merchantSettings.notification.deleteProfilePictureSuccess":"Settings updated","errors.isUrl":"Invalid URL","adminMerchantsPruned.table.columns.uid":"UID","merchantPayments.createPaymentModal.label.memo":"Memo (ex. payment for logo design)","merchantBilling.balance.label.upgradePlan":"Upgrade Plan","merchantClients.table.columns.clientEmail":"Email","merchantPayments.table.columns.status":"Status","component.changeToken.resetToken":"Reset token","merchantSettings.rules.revoke.title":"Automatically revoke payment links","merchantWallet.generate.password.setup":"Setup password","merchantWallet.generate.seed.title":"Save your seed phrases","pay.label.makePayment":"Make a payment to","merchantWallet.tabs.title.coinSelection":"Coin Selection","merchantSettings.sessions.otherSessions":"Other Sessions","component.table.column":"Columns | Column | Columns","merchantWallet.generate.password.title":"Add a password to the seed phrase","signup.forbidden.openOnDesktop":"Open {link} on your desktop to finish signup","dnd.settings.description":"When enabled, all merchants on Switch are blocked from sending you any payment request notifications. Alternatively, only selected merchants may be blocked.","merchantBilling.modalToChangePlan.select.unlimited":"Unlimited","payment.error.date":"Date","component.disconnectWallet.title":"Disconnect Wallet","merchantSettings.detonatorModal.setDetonator.title":"Set detonator","cycle.MONTH":"Month","dnd.login.verifyWithOtp":"Verify with OTP","merchantWallet.generate.verification.description":"Refer to the seed phrase you saved and complete the sequence for verification. If you did not save the seed, you must cancel the setup and start all over.","dnd.merchants.blockAll":"Block all notifications","payment.label.awaitingConfirmation":"Awaiting Confirmation","merchantBilling.balance.status.expires":"Expires","plan.black.title":"Black","merchantClients.clientCreateModal.label.description":"Clients once added cannot be deleted but their names remain editable.","merchantBilling.balance.downgradesTomorrow":"Downgrades to Free Tomorrow","errors.minAmountCannotBeDecimal":"Amount cannot be a decimal number","status.HOLD":"On Hold","signup.button.openDashboard":"Open Dashboard","adminMerchantsPruned.table.columns.baseCurrency":"Currency","signup.invitation.currencyDescriptionSubtext":"cannot","pay.notification.createPaymentContactMerchant":"Error generating payment, please contact the merchant","plan.black.description":"For businesses with a high volume. Flat fee, no limits.","errors.INSUFFICIENT_BALANCE_FOR_THE_OPERATION":"Plan modification failed, merchant has insufficient balance","errors.isEnum":"Invalid input","merchantWallet.faq.question1.title":"How do I use my public address?","component.changeToken.title.changeToken":"Change Token","merchantClients.payments.title":"Associated payments","merchantSettings.changeEmail.label.resendCode":"Resend code","about.payments.title":"Send Payment Requests","merchantClients.table.columns.lastPayment":"Last payment","merchantWallet.generate.verification.title":"Verify mnemonic","merchantClients.clientCreateModal.error.min1Character":"Minimum 1 character required for the client name","merchantClients.table.columns.status":"Status","errors.notMoreThan":"Maximum {max} characters allowed","merchantSettings.modalToDeleteAccount.confirm.title":"Delete Account","merchantBilling.balance.unlimitedPayments":"Unlimited Payments","component.selectClient.label.placeholder":"Search by name/email or add new email","merchantSettings.rules.antispam.title":"Anti-Spam","merchantBilling.balance.learnMore":"Learn more about Plans and Pricing","status.DELIVERED":"Delivered","merchantBilling.label.reason":"Reason","merchantWallet.tabs.title.selectCoins":"Select coins","merchantSettings.api.modal.description":"Generate a token to use with a third party application. Tokens may be restricted to a single IP address. {learnMore}","signup.invitation.invalidInvitation.title":"Invalid Invite","dnd.settings.hello":"Hello {email}","merchantWallet.tabs.title.start":"Start","cycle.QUARTERLY":"Quarterly","merchantPayments.paymentInfoModal.journal.subtitle":"This action is irreversible","merchantClients.clientCreateModal.tab.single":"Single Client","payment.label.coinIsdisabledGlobally":"This coin is currently unavailable","merchantClients.clientCreateModal.title.add":"Add Client","common.payment":"payment | payments","merchantWallet.generate.final.warningHint":"To ensure the validity of your wallet setup, it is strongly advised to test receipt and accessibility of funds via nominal test payments for all c
173onfigured coins before publicizing your Switch address.","merchantWallet.label.importKeys":"Import data","merchantPayments.table.columns.exchangeCurrency":"Coin","merchantSettings.sessions.currentSession":"Current Session","component.contactSupport.description":"Please read the {link} for any questions before sending a message","errors.wrongToken":"Invalid token. Try again","merchantBilling.filter.all":"All","merchantPayments.table.columns.type":"Type","action.NAME_CHANGED":"Changed","merchantBilling.label.credit":"Credit","merchantDashboard.income.year":"This year","merchantWallet.generate.password.validation.max":"Maximum {max} characters","errors.XMR_KEYCHAIN_INVALID":"Invalid keychain for Monero","common.back":"Back","merchantSettings.rules.slippage.title":"Cover slippage","common.disabled":"Disabled","merchantPayments.createPaymentModal.label.amount":"Amount","month.october":"October","component.table.showOnPage":"Showing {period} of {all}","merchantSettings.general.accountNumber":"Account Number","common.verify":"Verify","component.changeToken.description.changeToken":"Enter a valid TOTP or a recovery code from the time of signup to change your authenticator token.","merchantBilling.balance.renew.title":"Auto-Renewal","servicePage.accessRescticted.title":"Access Restricted","dnd.login.enterCode":"Enter code sent to {email}","merchantSettings.notification.resendCodeToVerifyEmailSuccess":"New code sent. Please, check your email","merchantPayments.paymentInfoModal.label.notActivatedLink":"Link not yet activated","common.remaining":"Remaining","errors.minimumAmountByMerchant":"Amount cannot be less than {min} {currency}","about.payments.manageClients":"Manage Clients","adminDeposits.table.columns.companyName":"Merchant name","action.VOTING_DISAGREE":"Disagree","merchantBilling.modalToChangePlan.preview.paymentsPer":"Payments per {period}","merchantBilling.modalToRenew.paymentsLeftNow":"Payments left now","status.SETTLED":"Settled","signup.invitation.description":"Begin accepting cryptocurrency payments","errors.isLength":"Entered value must be between {min} and {max} characters","component.contactSupport.option.FEEDBACK":"Feedback","errors.WALLET_GEN_FAILED":"Wallet setup failed, try again","common.memo":"Memo","action.CANCELLED_BY_MERCHANT":"Cancelled by merchant","component.contactSupport.ticketIsCreated":"Your message is sent","merchantClients.clientCreateModal.error.max50Characters":"Max 50 characters allowed for email","about.integration.accept.title":"Choose what to accept","merchantPayments.paymentInfoModal.label.notSet":"Not set","merchantSettings.security.recentActivity.title":"Recent Activity","common.refresh":"Refresh","merchantWallet.faq.question2.title":"What is the Incognito mode?","action.SIGHTED":"Sighted {amount} {currency}","common.cycle":"Cycle","merchantWallet.publicAddress.label.enabled":"Public address enabled","about.opi.addition.text":"Because {reason}","landing.description":"Borderless banking for businesses and merchants via crypto. Without restriction, without limits.","sidebar.tools":"Tools","payment.help.paymentWindows.description":"Payments are not monitored after the timer runs out. Any funds sent after will be ignored and you will have to contact the merchant to discuss settlement.","merchantWallet.import.importKeys.label.evmHint":"Supported third-party ERC-20 tokens are accepted on the same address","action.RECOVERY_ATTEMPT":"Recovery Attempt","component.selectClient.lastPaid":"Last Paid","action.VOTED":"Voted","merchantSettings.api.table.key":"Api Key","period.month":"month | months","merchantClients.clientInfoModal.button.save":"Save changes","status.QUEUED":"Queued","action.INVITED":"Invited by {admin}","component.table.search":"Search database","common.due":"Due","cycle.SEMI_ANNUAL":"Semi-annual","merchantDashboard.income.today":"Income today","merchantWallet.title":"Public address","adminMerchants.table.columns.deletedAt":"Deletion Date","merchantWallet.generate.familySelection.bip39":"This family of coins uses a similar protocol and will be accessible using a single seed phrase.","component.accountRecovery.qrCodeAnnotation":"Scan this QR code with any authenticator app and enter the TOTP displayed.","period.hour":"hour | hours","merchantSettings.tab.notifications":"Notifications","merchantSettings.detonatorModal.generateCode":"Generate code","merchantBilling.filter.invoices":"Invoices","common.documentation":"Documentation","dnd.history.unblock":"Unblock","merchantWallet.faq.title":"Frequently asked questions","dnd.notifications.description":"Manage settings for all merchants on Switch universally","payment.label.coinIsDisabledByMerchant":"The merchant is not currently accepting this coin","merchantWallet.publicAddress.label.disabled":"Public address disabled","cycle.WEEKLY":"Weekly","errors.invalidCredentials":"Invalid credentials","component.upload.maxSize":"{fileName} is bigger than the allowed {maxSize} MB maximum","merchantWallet.generate.seed.monero":"MONERO Seed","errors.NO_INCOME_STATEMENT":"No income exists for this period. Please try again with another time period","merchantSettings.changeName.de
173scription.tryAgain":"Names may only be changed once in 180 days, please try again in {daysLeft} days.","merchantPayments.table.columns.paymentId":"ID","merchantWallet.tabs.title.password":"Set Password","signup.label.accountReadyDescription":"Save your account number for authorization. This will be your identity on Switch.","component.selectClient.label.addNew":"Add new client","merchantWallet.import.importKeys.label.publicViewKey":"Public view key","errors.MERCHANT_SUBSCRIPTION_LIMIT_EXCEEDED":"Rate limit exceeded, please contact support","merchantWallet.coins.title":"Accepted Coins","about.phylosofy.title":"A revolution in banking","adminDeposits.table.columns.paymentsCount":"Payments","merchantSettings.modalToDeleteApiKey.description":"This action cannot be undone. Subsequent connections to the API with this key will fail.","format.time.12h":"AM/PM (12H)","merchantPayments.createPaymentModal.button.createPayment":"Create payment","common.name":"Name","common.confirm":"Confirm","merchantSettings.general.title":"Manage preferences","sidebar.resetCache":"Cache Reset","merchantSettings.api.table.nodata":"Generate an API key to provide access to third-party apps","merchantClients.deleteClientModal.title":"Delete {name}?","action.CHANGED_TOTP_TOKEN":"Changed TOTP Token","merchantBilling.modalToRenew.paymentsLeftAfter":"Payments left after","payment.expired.unavailableTitle":"Payment Unavailable","about.payments.description":"Unique links that are publicly accessible on the internet so your clients can pay you in the currency of your choice.","merchantClients.clientCreateModal.label.clientName":"Client Name","adminMerchants.table.columns.name":"Name","component.avatarManagement.editPicture":"Edit Picture","merchantSettings.rules.captcha.title":"Captcha","status.PROGRESS":"In Progress","merchantBilling.modalToChangePlan.preview.yearlyCost":"Yearly cost","merchantWallet.publicAddress.label.minAmount":"Minimum amount","merchantPayments.notification.sendPaymentRequestSuccess":"Payment created and notification sent","format.number.comma":"Comma Delimiter ({value})","merchantSettings.api.modal.callbackUrl":"Callback URL (optional)","merchantSettings.rules.desctruct.title":"Self-Destruct","ariaLabel.switch":"switch","merchantSettings.sessions.killSession":"Kill session #{number}","merchantClients.clientCreateModal.serverError.clientIsExists":"A client with this email already exists in your database","merchantWallet.generate.password.button.set":"Set Password","errors.isNumber":"Invalid number","merchantWallet.generate.password.validation.min":"Minimum {min} characters","component.accountRecovery.enterTotp":"Enter TOTP","sidebar.reports":"Reports","errors.uidLength":"UID length must be 7 digits","merchantSettings.changeToken.description":"Your account is protected with a time-based one-time password.","signup.invitation.title":"Finish your merchant account setup","landing.errors.tooManyAttempts":"Too many attempts, try again LATER","adminDeposits.table.columns.lastPayment":"Last payment","status.FAILED":"Failed","payment.label.toNetworkAddress":"To {networkName} address","merchantSettings.tab.api":"API","merchantClients.table.columns.revenue":"Revenue","merchantSettings.notification.updateRulesSuccess":"Settings updated","currency.kr":"South Korean Won","merchantSettings.notification.updateMerchantNameSuccess":"Name updated","pay.label.memoPlaceholder":"Add a note","merchantBilling.balance.label.cancelPlan":"Cancel Plan","pay.label.emailPlaceholder":"Enter your email","merchantPayments.paymentInfoModal.title":"Payment Details","signup.notification.resendEmailSuccess":"Code resent","payment.complete.rate":"Exchange rate","merchantWallet.generate.seed.description":"The seed phrases below are key to access for your multi-coin wallets. Without the seed phrase, the multi-coin wallets cannot be restored.","merchantSettings.modalToDeleteAccount.code.title":"Enter TOTP","sidebar.merchants":"Merchants","common.addMemo":"Add a memo","merchantDashboard.totalRecieved.description":"Lifetime coin value aggregate from all completed payments.","adminMerchants.table.columns.plan":"Plan","currency.jp":"Japanese Yen","merchantPayments.label.disabledTooltip":"A wallet must be setup before you can create a payment request.","merchantDashboard.setupWallet":"Setup a wallet to start receiving payments","merchantSettings.api.modal.addApi":"Add API key","component.changeToken.description.setupNewToken":"Use any software authenticator to scan the QR below and generate a token.","component.disconnectWallet.label.totp":"Enter your TOTP to confirm","merchantClients.clientCreateModal.label.bottomDescription":"No email notifications are sent upon addition.","status.INACTIVE":"Inactive","adminMerchants.table.columns.deposit":"Deposits","merchantBilling.history.noHistory.title":"Make a deposit to get started","payment.error.subtitle":"There was an error finalizing this payment, please contact the merchant.","month.june":"June","payment.expired.UNDERPAID_EXPIRED_WITH_TWO_TX":"Transactions detected on this address did not together equate to the required amount resulting in abrupt closure of the payment window.","action.DEPOSITED":"Deposited {currency}{amount}","common.close":"Close","component.dateRangePicker.cannotBiggerThanEnd":"This date cannot be past the end date","merchantPayments.notification.paymentCancelledSuccess":"Payment cancelled","currency.in":"Indian Rupee","payment.label.sent":"You sent","currency.il":"Israel Shekel","merchantSettings.notifications.quota.tip":"Triggers a notification for you every time an outside/automatic attempt to generate a payment for this account is blocked due to depleted quota.","status.OPEN":"Open","action.LOGGED_IN":"Logged In","merchantBilling.balance.renew.description":"Renews the plan automatically upon expiry given that there is enough balance.","merchantClients.clientCreateModal.title.import":"Import Clients","merchantPayments.createPaymentModal.title":"Create payment","merchantWallet.generate.familySelection.button.cancel":"Cancel wallet setup","status.CONFIRMED":"Confirmed","merchantClients.clientCreateModal.subtitle.bulk":"Any input errors must be rectified below before the import is processed. Duplicate entries (identified with email) within the list or against the database are disregarded upon import.","landing.labels.support":"Support","month.july":"July","adminDeposits.table.columns.revenue":"Revenue","merchantBilling.balance.status.renewal":"Renewal","currency.hk":"Hong Kong Dollar","merchantBilling.balance.expiresToday":"Expires Today","status.UNREGISTERED":"Unregistered","merchantSettings.notification.emailWasChangedSuccess":"Email changed","cycle.WEEK":"Week","common.disable":"Disable","common.payments":"Payments","pay.label.incognito":"The merchant has enabled incognito payments. No name or email address can be associated with this transaction.","merchantPayments.table.columns.baseAmount":"Value","signup.label.accountReady":"Your account is ready!","status.UNCONFIRMED":"Unconfirmed","signup.button.sendCode":"Send verification code","signup.invitation.linkExpired.description":"This link has expired.","dnd.history.title":"Merchant History","plan.business.title":"Business","adminInvoices.table.columns.companyName":"Merchant Name","adminInvoices.table.columns.uid":"UID","merchantWallet.publicAddress.label.on":"on","errors.isRequired":"This field is required","merchantSettings.notification.saveProfilePictureSuccess":"Settings updated","merchantWallet.generate.familySelection.description":"Depending on the family of coins you choose to accept, more than a single seed phrase (also known as a mnemonic) may be generated.","merchantClients.notification.bulkAddClientsSuccess":"The import was successful. No errors found.","merchantWallet.generate.seed.bip39":"BIP39 Seed","merchantWallet.tabs.title.seed":"Seed Phrase","period.day":"day | days","errors.superUidLength":"U
173ID length must be not be less than 3 digits","merchantClients.label.createButton":"Add client","merchantSettings.changeName.description.default":"Names may only be changed once in 180 days.","ariaLabel.twitter":"Twitter","payment.manualComplete.title":"Payment Complete","merchantBilling.modalToCancelPlan.title":"Cancel Plan","component.selectClient.label.newClientTitle":"New client will be added","action.UNSUSPENDED":"Unsuspended","signup.title":"Setup a merchant account","action.TOKEN_CHANGED":"Token Changed","merchantWallet.import.importKeys.extraCoins.description":"Native tokens like TRX on Tron and BNB on BSC are not supported for payments.","payment.manualComplete.description":"This payment was marked complete manually by the merchant. No receipt will be generated for this payment.","about.integration.accept.description":"Switch supports Bitcoin (BTC), Litecoin (LTC), Dash (DASH) and Monero (XMR). Receive payments directly into your wallet.","paymentType.PUBLIC_PAYMENT":"Public","component.changeToken.title.setupNewToken":"Setup New Token","format.date.monthDateYear":"MM/DD/YYYY","pay.notification.paymentQuotaExhaustedSystemError":"Cannot generate payment, please contact the merchant","merchantPayments.paymentInfoModal.button.cancel":"Cancel Payment","merchantSettings.security.recentActivity.action":"Action","period.weekly":"Weekly","merchantClients.clientCreateModal.error.notAnEmail":"Not an email","merchantSettings.modalToDeleteAccount.confirm.warning3":"Any existing deposits on your account will be permanently voided.","cycle.SEMI_ANNUALLY":"Semi-Annually","merchantBilling.balance.renewalToday":"Renewal Today","merchantSettings.modalToDeleteAccount.confirm.warning1":"To continue with your account deletion, enter the 6 digit code displayed on your software authenticator. This action cannot be undone.","merchantSettings.notifications.payments.paymentReceived":"Payment Received","adminMerchants.table.columns.cycle":"Cycle","merchantSettings.modalToDeleteAccount.confirm.warning2":"This will permanently delete your account along with all associated data in the system.","merchantClients.clientCreateModal.error.syntax":"Syntax error","currency.us":"United States Dollar","merchantPayments.paymentInfoModal.label.cancelledAutomaticly":"Payment was cancelled automatically","merchantDashboard.notification.code500":"Code 500. System error","merchantSettings.api.logs.noData":"no logs yet","adminDeposits.table.columns.id":"Deposit ID","payment.complete.fees":"Network Fees","merchantWallet.import.selectCoins.description":"Select the coins you wish to accept, required keys/data for which will be imported in the next step. Individual coins cannot be added/removed after the setup is complete, the wizard will have to be re-initiated in such case.","payment.expired.underpaidBy":"Underpaid by {amount} {currency}","merchantPayments.table.columns.memo":"Memo","currency.ua":"Ukraine Hryvnias","merchantClients.clientsFilter.dndToggle":"Show clients with {status} active","component.table.noRecords":"No Records Found","header.expires":"Expires {date}","status.FAIL":"Fail","currency.th":"Thai Baht","merchantWallet.import.start.title":"Import public keys","merchantSettings.rules.slippage.description":"Apply a % increase on all required coin values for payments to account for settlement/fiat conversion fees for your business. Slippage is visible to clients and stable coins remain unaffected from this rule.","merchantWallet.import.importKeys.description":"Switch uses public data from your wallets like public keys and EVM* addresses to allow you to accept payments from your customers. None of the data entered on this page can technically give Switch control over your funds. In case of Monero, a private view key, public view key and public spend key are required - again denying Switch any control over your funds.","payment.expired.EXPIRED_WHILE_CONFIRMING":"Confirmation period window for the transaction(s) detected on this deposit address has passed.","merchantSettings.rules.api.description":"Apply a similar policy to payments generated via third-party applications","merchantBilling.modalToChangePlan.preview.downgrade":"Downgrade to {icon} {plan}","format.date.yearMonthDate":"YYYY/MM/DD","payment.complete.transaction":"View transaction {number} on the blockchain","errors.ACCOUNT_EXISTS":"This email is already in use.","merchantWallet.generate.familySelection.title":"Coin Selection","currency.sg":"Singapore Dollar","merchantBilling.label.invoice":"Invoice","merchantClients.clientCreateModal.error.nameRequired":"Name required","merchantWallet.faq.question3.descriptionLink":"disconnect the entire wallet","errors.noZeroAsFirstDigit":"UID can not start with 0","action.UNDERPAID_AND_EXPIRED":"Underpaid and Expired","payment.expired.noTransactions":"No transactions were detected on the deposit address during the payment window.","servicePage.underMaintenance.description":"We will be back shortly.","merchantWallet.generate.final.finish":"Finish Setup","about.integration.crypto.description":"Compatible with most cross-platform wallets. Switch abides by the same universal standards for best interoperability.","merchantPayments.table.columns.address":"Address","merchantWallet.tabs.title.keys":"Import data","component.accountRecovery.description2":"All old recovery codes will become obsolete and a new series of recovery codes will be generated.","component.contactSupport.option.QUESTION":"Question","currency.ru":"Russian Ruble","merchantPayments.notification.paymentCancelledFail":"This payment can not be cancelled","merchantSettings.general.saveChanges":"Save Changes","component.accountRecovery.description1":"Upon validation, your current authentication token will be annulled and replaced with the new one.","sidebar.wallet.setup":"Setup","landing.lostToken.label":"Lost token","component.upload.limit":"Only upto {limit} files are allowed","merchantWallet.generate.password.validation.match":"Passwords do not match","adminMerchants.table.columns.baseCurrency":"Currency","merchantBilling.modalToCancelPlan.
173cycleBegins":"Cycle begins upon next renewal date.","common.revenue":"Revenue","signup.invitation.sessionExpired.title":"Session Expired","merchantWallet.generate.start.title":"Generate new wallet","about.payments.descriptionMobile":"A freeform canvas with built-in icon packs, stock photos, and more.","merchantWallet.label.supportedTronTokens":"Supported TRC-20 tokens on the Tron chain","signup.invitation.invalidInvitation.button":"Return Home","merchantClients.clientCreateModal.warning.limitExceeded":"Limit exceeded","sidebar.wallet.setupWallet":"Setup Wallet","dnd.help":"Need help?","status.UNDERPAID":"Underpaid","servicePage.underMaintenance.title":"Under Maintenance","dnd.history.description":"This is a list of merchants that have sent notifications to you in the past.","signup.description":"Begin accepting cryptocurrency payments","merchantSettings.changeEmail.description.enterTotp":"To change your email, please enter the 6 digit code displayed on your authenticator app.","merchantSettings.rules.desctruct.description":"Delete this account along with all associated data after a specific period of inactivity. This action is permanent and irreversible. A warning is sent via email when the inactivity period is reached and the account deleted shortly thereafter if there is still no activity. Any existing deposits upon the time of deletion are irreversibly voided too.","errors.INVALID_ACCOUNT":"Invalid account","cycle.MONTHLY":"Monthly","merchantBilling.modalToChangePlan.preview.description":"New billing dates take effect immediately after confirmation. It is advisable to change plan only if your quota is near exhaustion, leftover quota for payments is {0} carried forward for plan changes.","ariaLabel.telegram":"Telegram","action.CANCELLED_BY_SYSTEM":"Cancelled by system","adminMerchantsPruned.table.columns.email":"Email","merchantSettings.rules.captcha.description":"Force captcha on the public address page when generating payments.","action.LINK_CREATED":"Link Created","merchantBilling.balance.downgradesInValueDays":"Downgrades to Free in {value} days","merchantSettings.tab.general":"General","merchantWallet.coins.label.generated":"Wallet generated via Switch on {date} at {time}","merchantSettings.notifications.access.title":"Access","action.LINK_REVOKED":"Link Revoked"},T5e={"dnd.history.manage":"管理","merchantSettings.label.preparingData":"データ作成","dnd.notifications.title":"DND設定","merchantBilling.history.title":"履歴","payment.error.title":"エラー","merchantPayments.paymentInfoModal.label.depositAddress":"入金先住所","errors.MERCHANT_CLIENT_LIMIT_EXCEEDED":"レートの上限を超えました、サポートまでご連絡ください。","merchantClients.payments.noData":"関連する決済を検出しておりません","merchantPayments.paymentInfoModal.tab.journal":"記録日誌","merchantSettings.tab.security":"セキュリティ","period.week":"週","common.search":"検索","plan.business.description":"ユーザーベースを有する中小企業や新興企業向けプラン","merchantPayments.paymentInfoModal.label.cantBeCancelled":"現在進行中のお支払いはキャンセルできません","merchantSettings.general.pictureDescription":"公開アドレスのページに表示","signup.footer.authenticatedMerchant":"現在{merchantName}アカウントでログインしています","errors.tokenLength":"トークンの長さは 6桁でなければなりません","adminDeposits.table.columns.exchangeCurrency":"暗号","landing.lostToken.secondaryText":"他の方法で接続復元できません。","action.COMPLETED":"処理完了","errors.CONNECTION_LOST":"接続切れ","adminDeposits.table.columns.address":"住所","merchantWallet.label.generateWallet":"新しいウォレットを作成する","plan.free.title":"Free","merchantBilling.modalToRenew.newExpiryDate":"新しい有効期限","merchantBilling.balance.label.renewNow":"即時更新","merchantSettings.api.table.ip":"IP","merchantDashboard.statement.monthly":"月次明細書","merchantBilling.notification.changeMerchantPlanSuccess":"プランが変更になりました!","errors.GEN_SERVICE_FAIL_ON_ATTACHMENT":"内部エラー","signup.label.emailPlaceholder":"メールアドレスを入力","merchantBilling.modalToRenew.description":"プランを強制的に更新することで、現在の請求サイクルを1ヶ月/1年延長し、残りの支払いクォータを新しいサイクルに前倒しすることができます。これはアップグレードではなく、総クォータの10%(またはそれ以下)が残っている場合にのみ機能します。いつもより早く支払限度額に達しそうな場合にご利用ください。","sidebar.wallet.disconnect":"ウォレットの接続解除","payment.unconfirmed.subtitle":"取引が確認されました","merchantDashboard.totalRecieved.thirdPartyTokensTooltip":"支払い履歴のあるトークンのみが表示される","merchantWallet.generate.familySelection.monero":"対応するシードフレーズはモネロのみ対応可能です。","payment.expired.title":"支払い期限が切れました","common.active":"オンライン中","merchantSettings.notifications.emailNotification":"電子メール","about.knowledge.title":"自分だけが知っている言葉をアルゴリズムで暗号化し、どこからでもアクセスできる。","merchantWallet.generate.verification.wrong":"無効な回答","merchantWallet.generate.final.title":"設定が完了しました","merchantBilling.history.noHistory.description":"取引履歴はこちらで確認できます。","payment.label.highFeeNetworkTooltip":"Switchによる高額なネットワーク手数料も金額に含まれています。","payment.label.tokenIsdisabledGlobally":"このトークンは現在使用できません。","action.PLAN_CANCELLED":"プランがキャンセルされました","common.reset":"リセット","merchantWallet.generate.password.validation.notEmpty":"パスワードは空白のままにすることはできません","merchantSettings.notification.updateNotificationSuccess":"設定が変更されました","ariaLabel.signup":"新規登録","merchantBilling.balance.currentPlan":"現行プラン","merchantBilling.modalToChangePlan.preview.buttonDowngrade":"{money}
173 でダウングレードする","adminDeposits.table.columns.status":"状態","landing.errors.invalidTotp":"無効なワンタイムパスワード","merchantWallet.import.final.description":"ウォレットの設定が完了し、顧客の暗号通貨の支払いを受け取ることができます。","period.year":"年","adminStaff.table.columns.status":"状態","errors.isNotEmail":"これはメールではありません","status.ALLSTATUSES":"全ての状態","action.CREDITED":"クレジット登録済み","merchantClients.table.columns.clientId":"ID","component.changeToken.returnToLogin":"ログインに戻る","merchantPayments.table.columns.expectedAmount":"支払額","landing.labels.home":"主頁","merchantSettings.notifications.quota.eightyPercentUsed":"80%使用中です","about.opi.addition.reason":"あなたの鍵でなければ、あなたのコインでもないからです。","month.august":"8月","payment.externalError.subtitle":"当該決済を作成する際にエラーが発生しました。 販売者にお問い合わせください。","merchantClients.table.columns.paymentsCount":"完成した決済","merchantBilling.modalToRenew.currentExpiryDate":"現在の有効期限","component.dateRangePicker.enterDateWithFormat":"日付を{value}形式で入力してください。","merchantSettings.security.recentActivity.date":"日付","landing.header.about":"私たちについて","merchantSettings.modalToDeleteAccount.code.description":"アカウントの削除を続行するには、ソフトウェア認証機に表示される6桁のコードを入力します。","merchantSettings.api.logs.downloadLog":"ダウンロード履歴","merchantPayments.label.statusTooltip.isCompleteManual":`この支払いが完了したものとして手動でマークされました
174
175`,"merchantWallet.import.importKeys.label.tvm":"TVM 住所","merchantBilling.addBalance.footer":"入金額は1ドル以上で、3回のネットワーク確認が必要。","dnd.label.dnd":"送信禁止モード","merchantSettings.notifications.quota.attemptToExceed":"最大試行回数に達しました","component.changeToken.terms.accountRecovery":"アカウント復元には、有効なTOTPまたは回復コードのいずれかをご提供ください。","errors.TECHNICAL_ERROR":"技術的なエラーが発生しました。 サポートにお問い合わせください。","component.disconnectWallet.option1":"アカウントに有効なウォレットがない限り、支払いを受け付けることができません。","component.disconnectWallet.option2":"このウォレットをSwitchから接続解除しても、ウォレット内の資金に影響はありません。","component.disconnectWallet.option3":"支払いの受付を再開するには、最初から新しいウォレットを設定する必要があります。一度切断されたウォレットの復元は不可能です。","payment.label.thirdPartyTokenFee":"Switch経由のネットワーク手数料が含まれています。","merchantClients.clientCreateModal.tab.bulk":"一括輸入","merchantClients.clientInfoModal.title":"顧客詳細","merchantWallet.import.selectCoins.title":"コイン選択","component.contactSupport.attachFilesNote":"最大5つのファイルを添付可能(各最大10MB)","merchantBilling.modalToRenew.yourPlan":"あなたのプラン","merchantClients.clientFull.deleteClient":"顧客を削除する","plan.pro.description":"個人事業主やフリーランス向けプラン。","merchantPayments.paymentInfoModal.label.cancelledManually":"支払いが手動でキャンセルされました","merchantBilling.label.hash":"取引ハッシュ","merchantWallet.label.supportedBscTokens":"バイナンススマートチェーンで対応しているBEP-20トークン","merchantBilling.balance.renew.cannotBeEnabled":"プランがキャンセルされたため、有効にすることはできません。この機能は、有料プランに変更されると自動的に有効になります。","errors.NOT_ALLOWED_TO_BLOCK_MERCHANT":"現時点では、販売者をブロックすることはできません。","merchantClients.notification.bulkAddClientsWithDublicationsSuccess":`輸入は成功しました。エラーが見つかりません。
176既存の{amount}項目は破棄されました。`,"landing.labels.goodbye":"さようなら","signup.button.createAccount":"新規会員登録","cycle.YEAR":"年","merchantSettings.changeName.title":"販売者名変更","component.changeToken.title.saveRecovery":"リカバリーコードの保存","errors.TICKET_NOT_CREATED":"チケットの作成に失敗しました。後で再試行してください。","merchantClients.clientCreateModal.error.entriesFound":"{value} の項目を検出されました","errors.INVALID_CODE":"無効なコード","dnd.notifications.changeStatusSuccess":"DND 状態が更新された","signup.logout.label":"新しい会員登録をするには、現在のセッションからログアウトする必要があります。","signup.companyName.permanent":"アカウント通貨は永続的です","signup.invitation.sessionExpired.button":"新規会員登録を開始する","common.warning":"警告","ariaLabel.learnMore":"詳細はこちら","merchantPayments.createPaymentModal.button.createPaymentAndNotify":"支払いを作成し、顧客に通知を送信する","merchantPayments.createPaymentModal.label.paymentCannotBeCreated":"DNDを使用しているお客様には、支払い通知を送ることができません。","component.accountRecovery.tryAgain":"やり直し","ariaLabel.password":"パスワード","component.timeZone.utcTime":"UTC","errors.P
176UBV_INVALID":"無効な公開閲覧キー","errors.notMaxThan":"入力値は{max}文字以内でなければならない","merchantSettings.rules.antispam.description":"公開アドレスページからで1つのIPアドレスが生成できる支払い要求の速度制限/待機期間を適用します。","merchantWallet.import.importKeys.label.evm":"EVM住所","about.knowledge.description":"知識は力なり。","merchantBilling.modalToChangePlan.preview.upgrade":"{icon} {plan}にアップグレード","errors.PUBS_INVALID":"無効な公開消費キー","action.SUSPENDED":"中断状態","merchantBilling.balance.status.quota":"クォータのリセット","merchantSettings.api.modal.addNote":"メモの追加","errors.INVALID_CREDENTIALS":"無効な認証情報","merchantWallet.file.phraseSwitch":"シードフレーズ","month.november":"11月","merchantPayments.label.createButton":"支払いの作成","common.resend":"再送信","merchantClients.clientCreateModal.error.emailRequired":"電子メールは必須項目です","signup.footer.terms":"使用条件","merchantSettings.notifications.quota.title":"クォータ","errors.CLIENT_EXIST":"クライアントは既に存在します","merchantSettings.notifications.quota.fiftyPercentUsed":"50%使用中です","signup.invitation.invalidInvitation.description":"この招待リンクは無効、期限切れ、または既に使用済みのリンクです","component.filter.cycle":"サイクル","merchantWallet.generate.verification.word":"{num}の単語は","merchantSettings.changeToken.title":"トークン変更","payment.help.underpayments.title":"未払金","servicePage.tooManyRequests.title":"リクエスト回数が制限を超えました","merchantPayments.createPaymentModal.description":"顧客用ユニークな支払いリンクを作成する","payment.complete.notAvailable":"このお支払いではご利用いただけません","component.selectClient.paidPaymentsAmount":"{paymentsAmount}の{amount}支払い | {paymentsAmount}の{amount}支払い","about.opi.title":"一つの公共アイデンティティ","merchantBilling.balance.title":"残高","dnd.login.manage":"個人設定","adminStaff.table.columns.email":"電子メール","component.historyBlock.address":"住所","landing.labels.recoveryDetected":"リカバリーコードが検出されました","component.avatarManagement.uploadPicture":"新しい写真のアップロード","merchantSettings.notification.requestToChangeEmailSuccess":"電子メール変更要求が送信されました","merchantWallet.faq.question3.description":"ここには、ウォレット設定で選択したコインのみが表示され、個別にコインを追加/削除することはできません。 新規コインを追加するには、{0}してから再設定する必要があります。","merchantWallet.faq.question2.description":"このモードを有効にすることで、匿名で(名前やメールアドレスを付けずに)支払いを受けることができます。匿名モードでは、支払い時にメモ(簡単な説明)を追加する必要があります。","merchantWallet.publicAddress.label.incognito":"匿名モード","common.client":"顧客","merchantSettings.rules.detonator.title":"爆破器","dnd.notifications.disabled.title":"中断中","merchantBilling.modalToCancelPlan.description":"次回更新時に無料プランに格下げとなります。","adminInvoices.table.columns.cycle":"サイクル","merchantWallet.label.seedPhrase":"シードフレーズ","errors.CLIENT_CAN_NOT_BE_DELETED":"顧客を削除することはできません。","merchantClients.notification.changeClientNameSuccess":"顧客名が変更されました","component.historyBlock.noHistory":"この決済はまだ作業履歴がありません。","landing.labels.documentation":"ドキュメンテーション","merchantBilling.modalToRenew.title":"強制更新","merchantPayments.paymentInfoModal.journal.title":"スライドで支払い完了をマークする","merchantBilling.modalToChangePlan.select.yourBalance":"残高は","common.createNew":"新規に作成する","currency.gb":"英ポンド","merchantSettings.modalToDeleteAccount.final.returnToHome":"ホームページに戻る","merchantPayments.table.columns.activatedAt":"利用開始日","merchantWallet.publicAddress.button.save":"保存する","sidebar.wallet.publicAddress":"公共アドレス","common.poweredBy":"{switchLogo}
176 ご提供","common.save":"変更内容を保存する","merchantBilling.balance.downgradesToday":"本日、無料プランにダウングレード","component.changeToken.description.saveRecovery":"いずれのコードも、ログイン/リカバリーに1回のみ使用できます。","header.menu.billing":"請求明細","status.SUSPENDED":"中断","action.VOTING_WINDOW_EXPIRED":"投票期限終了","merchantSettings.general.numberFormat":"数字形式","merchantPayments.label.statusTooltip.isUnderpaidAndExpired":"この支払いは、期限切れ前に一部支払われました","merchantBilling.balance.depositAddress":"振込先","status.PRE_NEW":"確認中","merchantSettings.tab.rules":"ルール","merchantBilling.modalToChangePlan.preview.dueDate":"新しい有効期限","errors.ACCOUNT_UNAVAILABLE":"アカウントが利用できません","errors.MERCHANT_DOES_NOT_EXIST":"マーチャントが存在しません","merchantSettings.notification.verifyEmailSuccess":"電子メールが認証されました","merchantWallet.notification.walletRemoveSuccess":"ウォレットが削除されました","landing.header.more":"詳しくは","merchantPayments.paymentInfoModal.label.journalAvailable":"期限切れまたはキャンセルされた支払いにのみ使用できます","status.COMPLETE":"完成","currency.eu":"ユーロ","payment.complete.slippageIncluded":"この支払いには、販売者が設定した追加料金が含まれています。","merchantClients.table.columns.createdAt":"登録日","component.disconnectWallet.button.disconnect":"ウォレットの接続解除","common.enable":"利用開始","month.september":"9月","signup.label.saveCodesTitle":"リカバリーコードの保存","merchantClients.clientCreateModal.subtitle.single":"同じ電子メールの統計( 収入/決済額)を追跡する","common.amount":"金額","component.table.itemsPerPage":"ページあたりの項目","merchantSettings.detonatorModal.detonationCode.description":"ご注意ください。ログイン時にこのコードを入力すると、アカウントが即時爆破されます。このコードは二度と表示されません。","merchantSettings.notification.addImageFormatErrorNotification":"JPG、JPEG、PNGのみ使用可能です","about.phylosofy.description":"Switchは銀行、ウォレットプロバイダー、取引所ではなく、アプリケーションとしてのみ運営されており、顧客の資金に接触することはない。これは、KYCやその他の制限がなく、自分の資金を全面的に管理できる。お客様のプライバシーを守るために設計されています。","sidebar.settings":"設定","signup.invitation.sessionExpired.description":"会員登録セッションの有効期限が切れています。 会員登録の手続きをやり直してください。収集されたデータはすべて削除されました。","status.BOUNCED":"返却されました","component.changeToken.save":"保存する","component.contactSupport.sendButton":"メッセージを送信","component.filter.creationDate":"作成日","merchantSettings.changeEmail.description.changeEmail":"ご希望の電子メールアドレスを入力すると、確認用のOTPが送信されます。","merchantSettings.notification.updateSlippageSuccess":"設定が変更されました","merchantSettings.notification.generateApiKeySuccess":"APIキーが生成されました","merchantSettings.security.recentActivity.session":"セッション","merchantDashboard.income.total":"合計金額","errors.extra_spaces":"空白があります。","signup.label.scanCode":"認証アプリでこのQRコードをスキャンし、表示されたワンタイムパスワードを入力してください。","payment.label.otherTokenAlert":"このアドレスに送信された {coin} 以外のトークンは検出されません","merchantPayments.paymentInfoModal.label.revokeIn":"{time}内","merchantSettings.detonatorModal.setDetonator.description":"続行するには、有効なワンタイムパスワードを入力してください。","merchantSettings.modalToDeleteAccount.final.description":"関連するすべてのデータが削除され、回復が不可能です。削除されたアカウント番号またはUIDは唯一であり、新しい販売者に再度割り当てられることはありません。","merchantPayments.paymentInfoModal.journal.paidManually":"{date} {time} に次の日誌項目を追加して手動で決済処理されました","signup.notification.sessionExpired":"セッション終了","currency.ch":"スイスフラン","merchantDashboard.totalRecieved.tooltip":"これはウォレットの残高ではありません。残高を確認するには、まずウォレットシードをウォレットアプリケーションに輸入する必要があります。Switchは顧客のウォレットにã
176‚¢ã‚¯ã‚»ã‚¹ã§ãã¾ã›ã‚“。","common.all":"全部","merchantSettings.security.title":"アカウントアクセス管理","common.importAction":"輸入","merchantSettings.notification.updateMerchantNameFail":"問題が発生しました","currency.cn":"人民元","adminMerchants.table.columns.uid":"UID","common.unavailable":"利用不可","merchantWallet.notification.atLeastOneCoinWarning":`最低1枚のコインが有効になっている必要があります。
177最低1枚のコインを有効にしてください`,"merchantWallet.publicAddress.label.off":"オフ","period.quarterly":"四半期ごと","header.menu.account":"アカウント","dnd.settings.option2":"販売者へのお支払いの際、販売者の公開アドレスに電子メールを入力すると、通知は電子メールで届きます。","dnd.settings.option1":"DND ポリシーはすべての加盟店に影響する。","about.opi.desctiption":"ユニークな口座番号により、暗号資産ウォレットに支払いを受け取る。シードフレーズを持つことで、どのデバイスからでも、あなただけが資金管理にアクセスできる。","merchantDashboard.monthlyIncome.description":"合計には、金額不足の支払いは含まれません。","merchantPayments.createPaymentModal.label.autoRevokeIn":"次の期限内に自動キャンセル","merchantBilling.balance.label.changePlan":"プラン変更","merchantPayments.table.columns.marketRate":"市場価格","ariaLabel.file":"ファイル","header.menu.logout":"ログアウト","errors.isNotEmpty":"空にすることはできません","landing.labels.copyTorAddress":"トールアドレスをコピーする (.onion)","landing.labels.inputToken":"ワンタイムパスワードを入力してください","merchantBilling.balance.noPaymentsLeft":"支払回数を使い切りました","merchantSettings.changeEmail.title.enterTotp":"{email} を入力してください","action.EMAIL_CHANGE":"メール変更","payment.error.errorCode":"エラーコード","merchantBilling.balance.quotaResetsInDays":"{value}日後に支払いクォータがリセットされます。","month.february":"2月","servicePage.notFound.description":"探しているページは存在しないか、移動して使用することができません。","merchantSettings.general.timezone":"タイムゾーン","merchantClients.notification.deleteClientSuccess":"顧客が削除されました。","merchantClients.clientCreateModal.label.clientNameNote":"この名前は参照用であり、顧客には表示されません。","currency.ae":"UAEディルハム","adminMerchants.table.columns.createdAt":"登録日","dnd.notifications.block.description":"Switch のすべての加盟店は、このメールアドレスへの支払い要求通知の送信をブロックされます。","adminStaff.table.columns.createdAt":"登録日","component.accountRecovery.successDescription":"各コードはログイン/リカバリーに1回のみ使用できます。","status.COMPLETED":"完成","merchantSettings.security.recentActivity.ip":"IPアドレス","common.any":"すべての","merchantWallet.faq.question3.title":"対応可能なコインがすべて表示されないのはなぜですか?","merchantWallet.import.importKeys.title":"公開キーを入力してください","merchantPayments.paymentInfoModal.label.revoke":"自動取り消し","merchantWallet.learnMore":"ウォレット生成の詳細はこちら","adminStaff.table.columns.username":"ユーザー名","common.continue":"続行する","merchantSettings.tab.activeSessions":"有効なセッション","merchantPayments.table.columns.uuid":"UUID","merchantSettings.rules.revoke.description":"長期間非有効化/未使用状態の公開アドレスから生成された支払いを自動キャンセルするには、このポリシーをご利用してください。 支払いリンクをキャンセルすると、プランのクォータが不必要に使用されることを制限できます。","merchantBilling.modalToRenew.pay":"お支払い","payment.unconfirmed.multipleTransactionsSubtitle":"複数の決済が確認されました","status.ARCHIVED":"保存さã
177‚Œã¾ã—た","header.menu.settings":"設定","component.dateRangePicker.cannotLessThanStart":"開始日より前の日付は入力できません。","errors.MERCHANT_PAYMENT_QUOTA_EXHAUSTED":"支払いクォータ制限を超過しました。プランを確認する","merchantPayments.paymentInfoModal.label.noAvailable":"現在の決済には適用できません。","merchantSettings.api.table.lastUsed":"最終使用日","merchantDashboard.totalRecieved.title":"合計受取額","signup.label.saveCodes":"コードを保存する","merchantPayments.table.columns.clientName":"顧客名","dnd.history.blocked":"ブロックされた","merchantDashboard.monthlyIncome.title":"月次収入","merchantBilling.label.deposit":"預金","adminMerchants.table.columns.status":"状態","merchantSettings.rules.title":"システムポリシー管理","period.second":"秒","component.contactSupport.option.BUG":"エラー報告","merchantPayments.notification.generatePaymentSuccess":"支払いが作成されました。","merchantWallet.import.importKeys.label.privateViewKey":"非公開読み取りキー","merchantSettings.notification.disableDetonatorSuccess":"設定が変更されました","status.DISABLED":"使用中止","merchantDashboard.statement.title":"選択した期間の所得明細書の作成","payment.help.underpayments.description":"必要な金額が最初の試行で受け取られなかった場合、支払いは支払いウィンドウ内の 2 回目の取引で完了する場合があります。","merchantBilling.balance.paymentsLeft":"残りの支払い","merchantWallet.generate.seed.important":"重要","ariaLabel.home":"ホームページ","format.date.dateMonthYear":"日/月/å¹´","merchantWallet.import.importKeys.label.publicKey":"公開キー","about.description":"暗号通貨決済を受け入れる企業向けの非管理型決済ゲートウェイおよび会計システム","common.to":"宛先","merchantSettings.changeEmail.label.emailAddress":"電子メール","status.PRUNED":"廃棄された","merchantWallet.generate.start.description":"選択したコインのシードフレーズがブラウザにローカルに生成されます。ウォレットの公開キーはSwitchに自動的に保存され、支払いの受け取りが可能です。","format.time.24h":"23:59 (24時間制)","common.coin":"コイン","action.DOWNGRADED":"ダウングレードされました","merchantClients.clientCreateModal.error.duplicates":"{value} 重複 | {value} 重複","payment.expired.tryAgain":"もう一度やり直してください","adminStaff.table.columns.lastAccessDate":"最終ログイン","signup.footer.description":"会員登録することにより、当社{terms}に同意したものとみなします","signup.logout.button":"ログアウト後に進行","month.january":"1月","merchantBilling.label.confirming":"確認中","merchantWallet.publicAddress.label.yourAddress":"ユーザーの公開アドレス","format.number.noDelimeter":"区切り記号なし({value})","merchantSettings.notification.updateMerchantSettingsSuccess":"設定が変更されました","sidebar.stickies":"お知らせ","merchantSettings.rules.detonator.codeSet":"コード設定完了","merchantClients.clientCreateModal.title.review":"輸入履歴を確認する","status.ACTIVE":"有効","merchantBilling.addBalance.title":"残高へのチャージ","errors.INVALID_INPUT":"無効な入力","merchantWallet.generate.seed.confirm":"シードフレーズとパスワード(設定されている場合)がなければ、ウォレット(および内部資金)の回復は不可能であることを理解しました。","dnd.notifications.whitelist.title":"ホワイトリスト","merchantBilling.filter.deposits":"預金","common.sort.oldestFirst":"古い順","common.total":"合計","merchantClients.clientInfoModal.label.openStatusTooltip":"この状態は、顧客が電子メールによる支払い請求の受信を許可していることを示します。","merchantBilling.modalToChangePlan.preview.monthlyCost":"月額費用","status.EXPIRED":"期限切れ","merchantSettings.notifications.access.successfulLogin":"ログイン成功","merchantBilling.balance.expiresTomorrow":"有効期限は明日まで","component.disconnectWallet.label.understand":"私は以下の点を理解しました。","adminDeposits.table.columns.valueInUsd":"価値","status.DRAFT":"下書き","payment.complete.re
177cieptFrom":"次の販売者からの領収書","errors.error":"エラー","adminMerchants.table.columns.email":"電子メール","errors.DUPLICATED_RECOVERY_SESSION":"重複した回復セッション","merchantSettings.general.language":"言語","month.may":"5月","merchantSettings.changeEmail.description.verifyEmail":"{email} に送信されたワンタイムパスワードを入力してください。","adminInvoices.table.columns.uid10Digits":"インボイスID","adminDeposits.table.columns.uid":"販売者UID","merchantClients.deleteClientModal.desc":"この操作は取り消すことはできません。","merchantDashboard.income.week":"今週は","errors.matches_ip":"IPv4 または IPv6 アドレスではない","errors.MERCHANT_ACTIVE_PAYMENT_LIMIT_REACHED":"後で再試行してください","merchantSettings.changeName.oldName":"既存名前","merchantWallet.import.importKeys.label.import":"インポート","payment.complete.hash":"トランザクションハッシュ","common.preview":"プレビュー","merchantSettings.api.title":"サードパーティのアクセス管理","sidebar.payments":"支払い情報","adminDeposits.table.columns.value":"金額","errors.matches":"アルファベットのみが許可されています","adminDeposits.table.columns.updatedAt":"更新日時","merchantWallet.coins.description":"公開アドレスで受け取りたいコインを選択してください","servicePage.notFound.title":"ページが見つかりません","dnd.label.email":"メールアドレス","header.renews":"{date}に更新","payment.help.conversionRates.title":"コンバージョン率","signup.button.codesWereSaved":"コードは安全に保管しました","dnd.label.yourPreferences":"{dnd} 設定","sidebar.wallet.downloadData":"ウォレット情報ダウンロード","component.changeToken.terms.saveCodes":"私はコードを安全に保管しました。","merchantPayments.paymentInfoModal.tab.overview":"概要","landing.lostToken.mainText":"登録時に発行されたリカバリコードをここに入力することで、接続トークンをリセットしてアカウントに接続することができます。","merchantBilling.addBalance.description":"預金番号はこの口座専用です。送金された金額は現在の市場レートで自動的に米ドルに換金され、残高に加算されます。","signup.invitation.linkExpired.title":"期限切れのリンクです","action.JOURNAL":"手動処理完了","paymentType.API_PAYMENT":"API","common.download":"ダウンロード","sidebar.profile":"ユーザー情報","signup.companyName.placeholder":"会社名","errors.isEmail":"これはメールではありません","period.yearly":"年次","errors.PAYMENT_NOT_FOUND":"支払い履歴が見つかりません","errors.INVALID_SESSION":"無効なセッション","merchantSettings.notification.totpWasChangedSuccess":"ワンタイムパスワードが再送されました","merchantWallet.import.selectCoins.thirdParty":"対応可能なサードパーティのトークンを使用するには、そのネットワークに既存のウォレットアドレスが必要です。","action.EMAIL_CHANGED":"メール変更済み","common.email":"電子メール","landing.title":"ボーダレスバンキング","merchantClients.notification.updateClientMemoSuccess":"顧客メモが更新されました","component.changeToken.notification.allSessionsWereTerminated":"すべてのセッションが終了しました。再度ログインしてください。","errors.ADMIN_ALREADY_EXISTS":"管理者が既に存在します","errors.PRV_INVALID":"無効なプライベートビューキー","landing.header.sign":"サインアップ","payment.help.alert":"Switch は取引所やウォレット管理者ではなく、販売者による商品/サービスの提供については責任を負いません。","merchantPayments.paymentInfoModal.label.publicLink":"公開リンク","errors.max":"値は {max} より最大値であってはなりません","errors.SESSION_EXPIRED":"セッションの有効期限が切れ","merchantBilling.modalToChangePlan.preview.descriptionSubtext":"繰越はできません。","merchantWallet.coins.label.imported":"{date} {time} にウォレットが輸入されます","sidebar.dashboard":"ダッシュボード","action.ACCOUNT_DELETED":"アカウントが削除されました","component.selectClient.label.detailsTitle":"顧客詳細","common.sort.newestFirst":"新しい順","merchantPayments.table.columns.paid":"受取額","sidebar.sales":"売上高","about.integration.title":"即時のウォレット接続","status.OVERDUE":"期限内未払い","period.montly":"月次","merchantPayments.paymentInfoModal.tab.history":"決済履歴","merchantSettings.rules.detonator.de
177scription":"アカウントに秘密のキルスイッチを設定します。ログイン時のワンタイムパスワードの代わりにこのコードを入力すると、アカウントが即時に爆破されます。","payment.expired.unavailableDescription":"この支払いは存在しないかまたは取り消されています。","merchantPayments.paymentInfoModal.label.includesSlippage":"{value}% スリッページを含む","merchantWallet.generate.password.confirm":"パスワードフレーズ確認","common.registered":"登録済み","merchantBilling.balance.quotaResetsToday":"本日、支払いクォータがリセットされます。","merchantPayments.paymentInfoModal.journal.text1":`支払いの完了を手動でマークするには、システムに仕訳(ユーザーにのみ表示されます)を追加してください。手動でマーク可能の支払いは、キャンセルされたまたは期限切れの支払いにのみ適用され、顧客が当初の支払期限を過ぎたが、後に全額支払った場合にのみ使用できます。支払領収書は、仕訳項目が入力完了と表示された支払いについては生成されません。
178代わりに、損益計算書に別途記載されます。`,"merchantPayments.paymentInfoModal.journal.text2":"この操作の取り消しが不可能であり、この支払いの収益は確認した時点で直ちに計上されます。この機能を習慣的に使用することは推奨いたしかねます。","component.table.resetFilters":"すべてのフィルター初期化","action.RECEIVED":"{amount} {currency} が入金されました","common.linkExpired":"リンクは期限切れです","common.success":"成功","common.incognito":"非公開","component.avatarManagement.browsePicture":"写真を見る","component.filter.status":"状態","merchantWallet.publicAddress.label.description":"すべてのコインを1つのアカウント番号で支払いを受けることができます","merchantSettings.detonatorModal.detonationCode.title":"起爆コード","common.copy":"コピー","adminMerchantsPruned.table.columns.companyName":"名称","paymentType.MANUAL_PAYMENT":"手動","merchantBilling.modalToChangePlan.select.description":"毎月または年間に顧客から受け取る予定の支払い回数に応じてプランを選択してください。 支払いクォータはサイクルごとにリセットされます。未完了の支払いはクォータに含まれません。","merchantSettings.changeName.description.confirm":"180日間、再度名前を変更することはできません。","component.historyBlock.hash":"取引ハッシュ","adminDeposits.table.columns.cryptoValue":"金額","pay.button.returnHome":"帰宅","merchantClients.table.columns.clientName":"名前","merchantDashboard.income.month":"今月は","signup.button.confirmEmail":"電子メールをご確認ください","signup.label.codeWasSent":"認証コードがメールで送信されました","action.CANCELLED":"キャンセルされました","adminStaff.table.columns.adminId":"ID","merchantWallet.tabs.title.verification":"認証","merchantClients.clientInfoModal.label.cantBeEdited":"メールアトレスは編集できません。顧客名のみ変更可能です。","merchantWallet.faq.question1.description":"公開アドレスは、インターネット上で顧客とリンクを共有できます。 このリンクを経由して受け取ったすべての支払いは、ウォレットに直接入金され、支払い完了後に領収書が顧客に自動的に送信されます。","landing.labels.openTicket":"サポートチケットを開く","component.avatarManagement.title":"画像トリミング","merchantDashboard.notification.invoiceWasDownloadedSuccess":"明細書ができました!","status.NEW":"新規","status.ALL":"全部","action.EXPIRED":"期限切れ","merchantSettings.general.label.lastChanges":"最終更新日{periodAgo}","merchantWallet.generate.password.passphrase":"パスワードフレーズ","action.CANCELLED_MANUALLY":"手動でキャンセル","merchantSettings.changeEmail.label.verifyEmail":"電子メール認証","merchantSettings.changeName.newName":"新たな名前","pay.label.unknownAccount":"アカウントが存在しないか、公開な支払いを受け付けていません。","adminDeposits.table.columns.hash":"ハッシュ","merchantWallet.import.importKeys.extraCoins.title":"その他サードパーティトークン","common.from":"差出人","about.phylosofy.learnMore":"Switchの理念について","status.DO_NOT_DISTURB":"通知禁止","merchantSettings.modalToDeleteAccount.final.title":"アカウントが削除されました","merchantSettings.detonatorModal.savedCode":"コードを保存しました","merchantPayments.label.statusTooltip.isExpiredWhileConfirmed":"この支払いは、期限切れ前に一部支払われました","merchantSettings.general.dateFormat":"日付形式","merchantSettings.modalToDeleteAccount.code.deteteAccount":"アカウント削除","component.table.pagination.enterPage":"ページへ","dnd.notifications.block.title":"全員をブロックする","common.notNow":"後で","merchantClients.clientCreateModal.error.inputError":"{value} 入力エラー | {value} 入力エラー","merchantSettings.api.table.actions":"アクション","status.PAID":"支払い完了","landing.labels.inputAccount":"アカウントの入力","merchantSettings.changeEmail.title.changeEmail":"電子メールの変更","merchantSettings.modalToDeleteAccount.confirm.comment":"アカウントを削除するとすぐにログアウトされます。その後、電子メールで通知されます。","common.never":"絶対ない","component.changeToken.enterCode":"デバイスに表示されている6桁のコードを入力します。","merchantClients.clientInfoModal.label.tooltipForDelete":"入金履歴がなã
178„顧客のみ削除することができます","signup.label.saveCodesDescription":"アカウントを回復するには、次のコードを使用します。再度表示されることはありません。","common.error":"エラー","merchantSettings.notification.deleteApiKeySuccess":"APIキーが削除されました","merchantBilling.notification.planCancellationStopped":"プランのキャンセルが解除されました","merchantSettings.notifications.payments.title":"お支払い情報","merchantSettings.sessions.killAllSessions":"他のすべてのセッションを終了する","signup.label.authAppConnected":"認証器アプリが接続されました","common.complete":"完了","merchantBilling.balance.description":"設定された口座通貨にかかわらず、すべての入金は米ドルで行われます。","payment.label.slippage":"この支払いには、販売者が設定した追加料金が含まれています。","merchantBilling.modalToCancelPlan.freeLimitations":"無料プランの制限","merchantClients.searchPlaceholder":"{count}名の顧客について検索する","signup.companyName.change":"後で変更される","about.title":"柔軟な仮想通貨決済。","component.contactSupport.memo":"ご登録いただいたメールアドレスに返信いたします。","merchantPayments.table.columns.clientEmail":"電子メール","merchantSettings.label.exportData":"データ輸出","merchantSettings.security.recentActivity.unknown":"不明","merchantSettings.modalToDeleteAccount.confirm.description":"アカウントを削除することを確認してください。","payment.label.paid":"有料","merchantPayments.paymentInfoModal.label.unregisteredClients":"未登録の顧客は、支払いが完了した後に登録済みと表示されます。","month.march":"3月","merchantWallet.generate.final.learnMore":"ウォレットの機能詳細はこちら","merchantWallet.file.walletData":"ウォレット_情報","payment.label.pay":"以下の仮想通貨を選択して{amount}を決済します","merchantWallet.import.start.description":"Switchで使用する各コインの公開キーを入力する必要があります。 イーサリアムはEVMアドレスのみを必要とし、モネロは公開消費キーと公開閲覧キーの他にプライベート閲覧キーを追加で必要とします。 ここに入力必須のデータについて、Switchがユーザーの資金を操作することは技術的に不可能です","landing.labels.registrationDisabled":"現在、登録は無効になっています。","errors.notLessThan":"値は {min} より小さくすることはできません","common.learnMore":"詳細はこちら","signup.invitation.linkExpired.button":"ホームページに戻る","merchantBilling.balance.renewalInDays":"{value}日後に更新されます","common.clients":"顧客","dnd.notifications.disabled.description":"Switch のどの加盟店からも、このメールアドレスへの支払い要求の通知を許可しています。","servicePage.tooManyRequests.description":"後でもう一度お試しください","signup.invitation.selectCurrencyPlaceholder":"アカウント通貨の選択","merchantSettings.modalToDeleteAccount.confirm.conwirmWithTotp":"ワンタイムパスワードで確認","month.april":"4月","merchantClients.clientCreateModal.serverError.duplicated":"重複した項目","merchantPayments.createPaymentModal.label.autoRevokeLink":"自動キャンセルのリンク","common.or":"または","status.PENDING":"確認中","merchantBilling.modalToRenew.footer":"残クォータが10%以下の場合のみ、強制更新が可能です。","sidebar.wallet.label":"ウォレット","adminInvoices.table.columns.createdAt":"日付","signup.invitation.currencyDescription":"アカウントの通貨設定は永久的なもので、後で変更することはできません","merchantWallet.import.importKeys.label.privateSpendKey":"公開消費キー","action.RENEWED":"更新完了","merchantClients.clientInfoModal.label.lastPayment":"最近のお支払い情報","merchantSettings.general.timeFormat":"時間形式","component.selectClient.totalRevenue":"総収入","merchantBilling.modalToChangePlan.select.title":"プラン変更","merchantWallet.generate.password.continueWithout":"パスワード無しで続行する","adminInvoices.table.columns.plan":"プラン","component.historyBlock.journalEntry":"日誌項目","merchantSettings.notification.generateNewApiKeymaxAmountWarning":"最大10個のAPIキーが使用可能です","component.dateRangePicker.cannotBeInFuture":"未来の日付は入力できません","period.minute":"分","merchantPayments.table.columns.createdAt":"作成日","errors.UNKNOWN_ERROR":"不明なエラー","merchantWallet.generate.final.description":"ウォレットの作成が完了しました。顧客から仮想通貨の支払いを受ける準備が整いました。","merchantWallet.coins.label.disabled":"システムにより一時的に無効化される","common.type":"タイプ","common.none":"なし","errors.ERR_AMOUNT_MIN_VALUE_IS_100":"最低額は 100 以上でなければなりません","merchantWallet.duplicateSetup":"重複したウォレット設定手順","errors.min":"金額を {min} 未満にすることはできません","status.SUCCESS":"成功","merchantBilling.notification.changeMerchantPlanStatusCancelled":"近日中にキャンセルされるプラン","merchantSettings.api.table.actionText":"コールバック記録","pay.notification.requestsBlockedSystemError":"要求がブロックされました","merchantBilling.balance.renewalTomorrow":"明日に更新されます","action.ACTIVATED":"{currency}暗号通貨で有効されました","adminDeposits.table.columns.createdAt":"日付","merchantPayments.table.columns.amountReceived":"受取額","cycle.LIFETIME":"永久","component.accountRecovery.resetToken":"トークン再発行","status.ERROR":"エラー","errors.ERR_AMOUNT_MIN_VALUE":"最低額は{min}{currency}です。 ","dnd.login.verificationTitle":"メール認証","errors.MONITORING_SERVICE_ERROR":"内部エラー","action.REACTIVATED":"{currency}で再有効にされました。","common.allTime":"過去記録","merchantSettings.notifications.payments.underpaidSighted":"決済額不足が確認されました","merchantSettings.sessions.tor":"不明
178(トーア)","common.help":"支援","status.BLOCKED":"通知禁止","cycle.ANNUALLY":"毎年","dnd.login.title":"送信禁止モード","merchantSettings.changeEmail.title.verifyEmail":"電子メール認証","merchantWallet.generate.password.setupDescription":"ウォレットにアクセスするには、シードフレーズとパスワードの両方が必要です。 そのため、パスワードがないとシードフレーズが流出しても使用できません。","about.integration.crypto.title":"どの暗号資産ウォレットでも利用可能","merchantWallet.generate.password.description":"パスワードは必須ではありませんが、シードフレーズの上に2つ目のセキュリティとして安全性を強化します。複数のシードフレーズを作成する場合、すべて同じパスワードが適用されます。","merchantPayments.paymentInfoModal.journal.memoPlaceholder":"例:翌日午後6時に現金支払い","status.UNPAID":"未払い","merchantBilling.balance.quotaResetsTomorrow":"明日、支払いクォータがリセットされます。","month.december":"12月","merchantWallet.faq.learnMore":"Switchの仕組ã
178¿ã«ã¤ã„て","payment.help.conversionRates.description":"コイン価値での必要金額は、現在の一般的な市場レートに基づいて計算されます。","common.address":"住所","status.DELETED":"削除済み","merchantBilling.modalToCancelPlan.paymentsPerMonth":"月10回払い","errors.MERCHANT_DAILY_CLIENT_LIMIT_EXCEEDED":"レートの上限を超えました、サポートまでご連絡ください。","sidebar.clients":"お客様","merchantBilling.notification.selectPlanAlreadyHave":"すでにこのプランを利用しています。","ariaLabel.next":"次へ","errors.ERR_DEVICE_NOT_FOUND":"セッション期限切れ","action.UPGRADED":"グレードアップ","merchantSettings.api.keysUsed":"使用されたキー","merchantClients.notification.addClientSuccess":"顧客招待完了","component.filter.nSelected":"{value} を選択されました","adminInvoices.table.columns.amount":"金額","merchantPayments.createPaymentModal.label.autoRevokeDescription":"この支払いは、{0}までに有効にされない場合、自動的にキャンセルされます。","merchantDashboard.notification.sessionWasKilled":"他のデバイスからセッションが強制終了されました","status.WAITING":"決済待ち中","common.cancel":"キャンセル","merchantSettings.notifications.title":"通知条件の設定","merchantDashboard.notification.sessionWasExpired":"セッションが終了しました","dnd.login.subtitle":"不正な加盟店からの支払い要求による通知スパムの送信をブロックする。","common.copied":"コピーしました!","status.QUEUE":"受付中","dnd.merchants.back":"販売者リストに戻る","component.contactSupport.title":"サポートへのお問い合わせ","merchantBilling.notification.selectPlanNotEnoughBalance":"残高不足","dnd.returnTo":"{link}に戻る","merchantSettings.rules.api.title":"API支払い","servicePage.accessRescticted.description":"要求されたページへのアクセス権限がありません。","merchantSettings.notification.addImageSizeErrorNotification":"画像が許可された{maxSize}MBの最大容量を超えました","merchantBilling.balance.expiresInDays":"有効期限{value} 日","status.APPROVALPENDING":"許可待ち中","plan.pro.title":"Pro","merchantSettings.notification.updateRevokeSuccess":"設定が変更されました","merchantSettings.notifications.payments.paymentSighted":"入金が確認されました","payment.error.paymentID":"取引ID","landing.errors.systemError":"システムエラー","errors.CAN_NOT_ENABLE_DND":"現時点では、DNDを起用することはできません。","adminMerchants.table.columns.companyName":"名称","merchantSettings.api.generateKey":"新しいキーを生成する","payment.label.tokenIsDisabledByMerchant":"この販売者は当該トークン決済を受け付けません。","payment.unconfirmed.confirmations":"確認","merchantClients.clientCreateModal.label.bulkMemo":`次の形式で、一度に最大100件の顧客情報を読み込むことができます。
179
180<顧客名>:client1{'@'}gmail.com ;
181<顧客名>:client2{'@'}gmail.com ;
182<顧客名>:client3{'@'}gmail.com`,"merchantSettings.label.deleteAccount":"アカウント削除","cycle.YEARLY":"年間","merchantSettings.general.picture":"プロフィール写真","payment.complete.downloadReceipt":"領収書のダウンロード","component.dateRangePicker.cannotBeOlderThanCreationDate":"アカウント作成日以前の日付は入力できません。","merchantBilling.modalToChangePlan.preview.unlimited":"制限なし","merchantWallet.import.importKeys.label.paste":"貼り付け","merchantWallet.import.importKeys.label.invalidInput":"有効な入力値がありません。","merchantSettings.general.merchantName":"販売者名","merchantWallet.tabs.title.finalize":"最終確認","ariaLabel.feral":"feral","about.payments.trackReceipts":"領収書管理","errors.minLength":"必要な最小 {min} 文字数","merchantDashboard.statement.downloadProcessing":"ダウンロードはまもなく完了します。","errors.REQUEST_BLOCKED":"ブロックされた請求","merchantPayments.paymentInfoModal.label.paymentAmount":"支払額","errors.clientHasDndEnabled":"該当のお客様がDND を使用しています","merchantDashboard.statement.custom"
182:"明細書作成","merchantSettings.modalToDeleteApiKey.title":"APIキー削除","adminDeposits.table.columns.depositSequentialId":"ID","component.table.pagination.nextPage":"次のページ","component.contactSupport.descriptionLink":"ドキュメント","merchantSettings.label.yourData":"ユーザーデータ","merchantDashboard.notification.insufficientBalanceForOperation":"プラン変更に失敗しました","component.accountRecovery.openDashboard":"ダッシュボードを開く","action.SIGNED_UP":"登録完了","payment.help.paymentWindows.title":"支払い窓口","action.LINK_ACCESSED":"リンク接続完了","merchantBilling.balance.label.stopCancellation":"プランのキャンセル中止","status.CANCELLED":"キャンセルされました","component.table.pagination.prevPage":"前のページ","merchantBilling.modalToChangePlan.preview.buttonUpgrade":"{money} でアップグレードする","merchantBilling.addBalance.noRefunds":"返金はできません。","sidebar.staff":"職員","merchantSettings.notification.enableDetonatorSuccess":"設定が変更されました","merchantWallet.import.importKeys.label.learnMore":"ウォレットの輸入詳細はこちら","format.number.point":"ポイント区切り記号 ({value})","merchantSettings.notification.deleteProfilePictureSuccess":"設定が変更されました","errors.isUrl":"無効なURL","adminMerchantsPruned.table.columns.uid":"UID","merchantPayments.createPaymentModal.label.memo":"メモ(例:ロゴデザインの支払い)","merchantBilling.balance.label.upgradePlan":"プランのアップグレード","merchantClients.table.columns.clientEmail":"電子メール","merchantPayments.table.columns.status":"状態","component.changeToken.resetToken":"トークン再発行","merchantSettings.rules.revoke.title":"支払いリンクの自動キャンセル","merchantWallet.generate.password.setup":"パスワード設定","merchantWallet.generate.seed.title":"シードフレーズを保存してください。","pay.label.makePayment":"に支払いをする","merchantWallet.tabs.title.coinSelection":"コインの選択","merchantSettings.sessions.otherSessions":"その他のセッション","component.table.column":"コラム | コラム | コラム","merchantWallet.generate.password.title":"シードフレーズにパスワードを追加する","signup.forbidden.openOnDesktop":"PCで{link}を開き、設定を完了してください","dnd.settings.description":"この機能を有効にすると、Switch上のすべての加盟店から支払い要求通知が送信されなくなります。また、選択した加盟店のみをブロックすることもできます。","merchantBilling.modalToChangePlan.select.unlimited":"制限なし","payment.error.date":"日付","component.disconnectWallet.title":"ウォレットの接続解除","merchantSettings.detonatorModal.setDetonator.title":"起爆装置を設定する","cycle.MONTH":"月","dnd.login.verifyWithOtp":"ワンタイムパスワードで認証","merchantWallet.generate.verification.description":"保存したシードフレーズを参照し、認証手続きを完了してください。シードフレーズを保存していない場合は、設定をキャンセルして最初からやり直す必要があります。","dnd.merchants.blockAll":"すべての通知をブロックする","payment.label.awaitingConfirmation":"確認中","merchantBilling.balance.status.expires":"期限切れ","plan.black.title":"Black","merchantClients.clientCreateModal.label.description":"追加された顧客は削除はできませんが、名前を変更することができます。","merchantBilling.balance.downgradesTomorrow":"明日は無料プランにダウングレード","errors.minAmountCannotBeDecimal":"価額に小数点以下が入力できません","status.HOLD":"保留中","signup.button.openDashboard":"ダッシュボードを開く","adminMerchantsPruned.table.columns.baseCurrency":"通貨","signup.invitation.currencyDescriptionSubtext":"不可能です","pay.notification.createPaymentContactMerchant":"決済の生成に失敗しました。販売者にお問い合わせください。","plan.black.description":"決済件数の多い事業者向けプラン。定額料金、決済回数は制限なし。","errors.INSUFFICIENT_BALANCE_FOR_THE_OPERATION":"マーチャントの残高が不十分です","errors.isEnum":"値が無効です","merchantWallet.faq.question1.title":"公開アドレスの使い方は?","component.changeToken.title.changeToken":"トークン変更","merchantClients.payments.title":"関連決済","merchantSettings.changeEmail.label.resendCode":"コードの再送","about.payments.title":"支払い請求の送信","merchantClients.table.columns.lastPayment":"最近のお支払い情報","merchantWallet.generate.verification.title":"ニーモニック(ウォレット回復コード)認証","merchantClients.clientCreateModal.error.min1Character":"顧客名は1文字以上必要","merchantClients.table.columns.status":"状態","errors.notMoreThan":"許可される最大 {max} 文字数","merchantSettings.modalToDeleteAccount.confirm.title":"アカウント削除","merchantBilling.balance.unlimitedPayments":"無制限の支払い","component.selectClient.label.placeholder":"名前/電子メールによる検索、または新しい電子メールの追加","merchantSettings.rules.antispam.title":"迷惑メール保護","merchantBilling.balance.learnMore":"プランと料金の詳細はこちら","status.DELIVERED":"配信されました","merchantBilling.label.reason":"理由","merchantWallet.tabs.title.selectCoins":"コインの選択","merchantSettings.api.modal.description":"サードパーティアプリケーションで使用するトークンを生成します。トークンは特定のIPアドレスに限å
182®šã™ã‚‹ã“とができます。{learnMore}","signup.invitation.invalidInvitation.title":"招待リンクは無効です","dnd.settings.hello":"{email}こんにちは","merchantWallet.tabs.title.start":"スタート","cycle.QUARTERLY":"四半期","merchantPayments.paymentInfoModal.journal.subtitle":"この操作を取り消すことはできません","merchantClients.clientCreateModal.tab.single":"単一顧客","payment.label.coinIsdisabledGlobally":"このコインは使用できません。","merchantClients.clientCreateModal.title.add":"顧客追加","common.payment":"お支払い ","merchantWallet.generate.final.warningHint":"ウォレット設定の有効性を確保するため、Switchアドレスを公開する前に、設定されたすべての仮想通貨に対して、少額のテスト送金を行い、資金の受領可否を確認することをお勧めいたします。","merchantWallet.label.importKeys":"データ輸入","merchantPayments.table.columns.exchangeCurrency":"コイン","merchantSettings.sessions.currentSession":"今のセッション","component.contactSupport.description":"メッセージを送信する前に、ご質問は{link}をお読みください。","errors.wrongToken":"確認コードが間違っています。もう一度お試してください","merchantBilling.filter.all":"全部","merchantPayments.table.columns.type":"種類","action.NAME_CHANGED":"変更完了","merchantBilling.label.credit":"クレジット","merchantDashboard.income.year":"今年","merchantWallet.generate.password.validation.max":"最大{max} 文字数","errors.XMR_KEYCHAIN_INVALID":"モネロのキーチェーンが無効","common.back":"戻る","merchantSettings.rules.slippage.title":"スリッページ込みの設定","common.disabled":"無効","merchantPayments.createPaymentModal.label.amount":"金額","month.october":"10月","component.table.showOnPage":"{all}の{period} を表示","merchantSettings.general.accountNumber":"アカウント番号","common.verify":"検証する","component.changeToken.description.changeToken":"認証トークンを変更するには、有効なワンタイムパスワードまたはサインアップ時のリカバリコードを入力してください。","merchantBilling.balance.renew.title":"サブスクリプションの自動更新","servicePage.accessRescticted.title":"アクセスが制限されています","dnd.login.enterCode":"{email}に送信されたコードを入力してください","merchantSettings.notification.resendCodeToVerifyEmailSuccess":"新しいコードが送信されましたので、メールをご確認ください","merchantPayments.paymentInfoModal.label.notActivatedLink":"リンクはまだ有効になっていません","common.remaining":"残り","errors.minimumAmountByMerchant":"最低金額は {min} {currency} 以上となります。","about.payments.manageClients":"顧客管理","adminDeposits.table.columns.companyName":"販売者名","action.VOTING_DISAGREE":"反対","merchantBilling.modalToChangePlan.preview.paymentsPer":"{period}ごとに支払い","merchantBilling.modalToRenew.paymentsLeftNow":"現在残っている支払い数","status.SETTLED":"決済済み","signup.invitation.description":"暗号通貨で支払いを受け取り始めましょう","errors.isLength":"値の長さは {min} 以上 {max} 以下である必要があります","component.contactSupport.option.FEEDBACK":"フィードバック","errors.WALLET_GEN_FAILED":"ウォレットの設定に失敗しました。 もう一度お試しください。","common.memo":"メモ","action.CANCELLED_BY_MERCHANT":"販売者からのキャンセル","component.contactSupport.ticketIsCreated":"メッセージが送信されました","merchantClients.clientCreateModal.error.max50Characters":"電子メールでは50文字まで入力可能","about.integration.accept.title":"お取扱い通貨をお選びください","merchantPayments.paymentInfoModal.label.notSet":"未設定","merchantSettings.security.recentActivity.title":"最近の活動","common.refresh":"更新する","merchantWallet.faq.question2.title":"匿名モードとは何ですか?","action.SIGHTED":"{amount} {currency} が検出されました","common.cycle":"サイクル","merchantWallet.publicAddress.label.enabled":"公開アドレスを有効にする","about.opi.addition.text":"からです {reason}","landing.description":"暗号通貨を活用し、ボーダレス・バンキングを実現。無制限。","sidebar.tools":"ツール","payment.help.paymentWindows.description":"タイマーが切れると支払いは監視されません。それ以降に送金された資金は無視されるため、決済については販売者に連絡する必要があります。","merchantWallet.import.importKeys.label.evmHint":"対応可能なサードパーティのERC-20トークンは、同じアドレスで利用可能です。","action.RECOVERY_ATTEMPT":"リカバリ試行","component.selectClient.lastPaid":"最終支払日","action.VOTED":"投票済み","merchantSettings.api.table.key":"Apiキー","period.month":"月","merchantClients.clientInfoModal.button.save":"変更を保存する","status.QUEUED":"受付中","action.INVITED":"{admin}から招待されました","component.table.search":"検索データベース","common.due":"有効期限","cycle.SEMI_ANNUAL":"半年ごと","merchantDashboard.income.today":"今日の収入","merchantWallet.title":"公開アドレス","adminMerchants.table.columns.deletedAt":"削除日","merchantWallet.generate.familySelection.bip39":"これらのコイン群は同様のプロトコルを使用し、単一のシードフレーズを使用してアクセスすることができます。","component.accountRecovery.qrCodeAnnotation":"任意の認証アプリでこのQRコードをスキャンし、表示されたワンタイムパスワードを入力してください。","period.hour":"時間","merchantSettings.tab.notifications":"通知","merchantSettings.detonatorModal.generateCode":"コード生成","merchantBilling.filter.invoices":"インボイス","common.documentation":"ドキュメント","dnd.history.unblock":"ブロック解除","merchantWallet.faq.title":"よくある質問","dnd.notifications.description":"Switch販売者設定の一括管理","payment.label.coinIsDisabledByMerchant":"販売者は現在このコインを受け付けていません。","merchantWallet.publicAddress.label.disabled":"公開アドレスの使用停止","cycle.WEEKLY":"ウィークリー","errors.invalidCredentials":"無効な資格情報","component.upload.maxSize":"{fileName}が{maxSize}MBの最大値を超えます","merchantWallet.generate.seed.monero":"MONEROシード","errors.NO_INCOME_STATEMENT":"該当期間に収入がありません。 期間をリセットして再試
182行してください。","merchantSettings.changeName.description.tryAgain":"名前の変更は180日に1回のみ可能です。{daysLeft}日後に再試行してください。","merchantPayments.table.columns.paymentId":"ID","merchantWallet.tabs.title.password":"パスワード設定","signup.label.accountReadyDescription":"認証用にアカウント番号を保存します。これがSwitch上でのあなたのアイデンティティになります。","component.selectClient.label.addNew":"新規顧客の追加","merchantWallet.import.importKeys.label.publicViewKey":"公開読み取りキー","errors.MERCHANT_SUBSCRIPTION_LIMIT_EXCEEDED":"レートの上限を超えました、サポートまでご連絡ください。","merchantWallet.coins.title":"入金可能コイン","about.phylosofy.title":"銀行業の革命","adminDeposits.table.columns.paymentsCount":"支払い","merchantSettings.modalToDeleteApiKey.description":"この操作は取り消すことができません。今後、そのAPIキーを使用することができません。","format.time.12h":"午前/午後(12時間制)","merchantPayments.createPaymentModal.button.createPayment":"支払いの作成","common.name":"名前","common.confirm":"確認","merchantSettings.general.title":"設定管理","sidebar.resetCache":"キャッシュのリセット","merchantSettings.api.table.nodata":"サードパーティアプリにアクセスするためのAPIキーを生成します","merchantClients.deleteClientModal.title":"{name} を削除しますか?","action.CHANGED_TOTP_TOKEN":"ワンタイムパスワードトークンが変更されました","merchantBilling.modalToRenew.paymentsLeftAfter":"残りの支払い数","payment.expired.unavailableTitle":"支払いは利用できません","about.payments.description":"オンラインでアクセス可能なリンクを通じて、顧客から事前設定された通貨を受け取る。","merchantClients.clientCreateModal.label.clientName":"顧客名","adminMerchants.table.columns.name":"名称","component.avatarManagement.editPicture":"写真の編集","merchantSettings.rules.captcha.title":"キャプチャ認証","status.PROGRESS":"処理中","merchantBilling.modalToChangePlan.preview.yearlyCost":"年間費用","merchantWallet.publicAddress.label.minAmount":"最低額","merchantPayments.notification.sendPaymentRequestSuccess":"支払いが作成され、通知が送信されました。","format.number.comma":"カンマ区切り記号({value})","merchantSettings.api.modal.callbackUrl":"コールバックURL(省略可能)","merchantSettings.rules.desctruct.title":"アカウント爆破","ariaLabel.switch":"switch","merchantSettings.sessions.killSession":"セッション#{number}を終了する","merchantClients.clientCreateModal.serverError.clientIsExists":"同じ電子メールで登録された顧客がすでにデータベースに存在します。","merchantWallet.generate.password.button.set":"パスワード設定","errors.isNumber":"このフィールドは数値である必要があります","merchantWallet.generate.password.validation.min":"最小{min}文字数","component.accountRecovery.enterTotp":"ワンタイムパスワードを入力する","sidebar.reports":"レポート","errors.uidLength":"UID の長さは 7 でなければなりません","merchantSettings.changeToken.description":`顧客様のアカウントはワンタイムパスワードで保護されています。
183アカウントはワンタイムパスワードで保護されています。
184
185`,"signup.invitation.title":"販売者アカウントの設定を完了してください","landing.errors.tooManyAttempts":"試行回数上限に達しました。後でもう一度お試しください。","adminDeposits.table.columns.lastPayment":"最後の支払い","status.FAILED":"失敗","payment.label.toNetworkAddress":"{networkName} アドレスへの送金","merchantSettings.tab.api":"API","merchantClients.table.columns.revenue":"収益","merchantSettings.notification.updateRulesSuccess":"設定が変更されました","currency.kr":"韓国ウォン","merchantSettings.notification.updateMerchantNameSuccess":"名前が変更されました","pay.label.memoPlaceholder":"メモを追加","merchantBilling.balance.label.cancelPlan":"プランのキャンセル","pay.label.emailPlaceholder":"メールアドレスを入力","merchantPayments.paymentInfoModal.title":"お支払いの詳細","signup.notification.resendEmailSuccess":"コードが再送信されました","payment.complete.rate":"為替レート","merchantWallet.generate.seed.description":"以下のシードフレーズは、マルチコインのウォレットにã
185‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ãŸã‚ã®éµã§ã™ã€‚シードフレーズがなければ、マルチコインのウォレットを復元することはできません。","merchantSettings.modalToDeleteAccount.code.title":"ワンタイムパスワード入力","sidebar.merchants":"販売者","common.addMemo":"メモを追加する","merchantDashboard.totalRecieved.description":"完了した決済履歴に基づき、過去のコイン収益合計。","adminMerchants.table.columns.plan":"プラン","currency.jp":"日本円","merchantPayments.label.disabledTooltip":"支払い請求を作成するには、まずウォレットを設定する必要があります。","merchantDashboard.setupWallet":"支払いを受けるためには、ウォレットを設定してください。","merchantSettings.api.modal.addApi":"APIキーの追加","component.changeToken.description.setupNewToken":"以下のQRを読み取り、トークンを生成します。","component.disconnectWallet.label.totp":"確認のためにワンタイムパスワードを入力してください。","merchantClients.clientCreateModal.label.bottomDescription":"追加時にメール通知は送信されません。","status.INACTIVE":"無効","adminMerchants.table.columns.deposit":"預金","merchantBilling.history.noHistory.title":"入金から始めましょう","payment.error.subtitle":"当該決済を完了する際にエラーが発生しました。 販売者にお問い合わせください。","month.june":"6月","payment.expired.UNDERPAID_EXPIRED_WITH_TWO_TX":"このアドレスで検出された取引は必要な金額に一致せず、その結果、支払いウィンドウが突然閉鎖されました。","action.DEPOSITED":"{通貨}{金額}が口座に入金されました","common.close":"閉める","component.dateRangePicker.cannotBiggerThanEnd":"終了日以降の日付は入力できません。","merchantPayments.notification.paymentCancelledSuccess":"支払いがキャンセルされました","currency.in":"インド・ルピー","payment.label.sent":"送金金額","currency.il":"イスラエル・シェケル","merchantSettings.notifications.quota.tip":"クォータが不足ため、このアカウントの外部/自動決済の作成試行がブロックされるたびに通知が送信されます。","status.OPEN":"オープン","action.LOGGED_IN":"ログイン済み","merchantBilling.balance.renew.description":"残高が支払い金額以上であれば、有効期限満了時にプランは自動更新される。","merchantClients.clientCreateModal.title.import":"顧客詳細を輸入する","merchantPayments.createPaymentModal.title":"支払いの作成","merchantWallet.generate.familySelection.button.cancel":"ウォレット設定解除","status.CONFIRMED":"確認済み","merchantClients.clientCreateModal.subtitle.bulk":"輸入情報を登録する前に、下部の入力エラーを修正する必要があります。読み込んだ内容またはデータベースとの重複項目(電子メールで識別)は、輸入時に破棄されます。","landing.labels.support":"サポート","month.july":"7月","adminDeposits.table.columns.revenue":"収益","merchantBilling.balance.status.renewal":"更新","currency.hk":"香港ドル","merchantBilling.balance.expiresToday":"有効期限は本日まで","status.UNREGISTERED":"未登録","merchantSettings.notification.emailWasChangedSuccess":"電子メールが変更されました","cycle.WEEK":"週","common.disable":"無効","common.payments":"お支払い","pay.label.incognito":"販売者はシークレット支払いを有効にしました。この取引に名前や電子メール アドレスを関連付けることはできません。","merchantPayments.table.columns.baseAmount":"価格","signup.label.accountReady":"アカウントの準備ができました!","status.UNCONFIRMED":"支払額未確認","signup.button.sendCode":"認証コード送信","signup.invitation.linkExpired.description":"このリンクは有効期限が切れています","dnd.history.title":"販売者履歴","plan.business.title":"Business","adminInvoices.table.columns.companyName":"販売者名","adminInvoices.table.columns.uid":"UID","merchantWallet.publicAddress.label.on":"オン","errors.isRequired":"このフィールドは必須です","merchantSettings.notification.saveProfilePictureSuccess":"設定が変更されました","merchantWallet.generate.familySelection.description":"受け入れるコイン群によって、複数のシードフレーズ(ニーモニック)が生成される場合があります。","merchantClients.notification.bulkAddClientsSuccess":"輸入は成功しました。エラーは見つかりませんでした。","merchantWallet.generate.seed.bip39":"BIP39 シード","merchantWallet.tabs.title.seed":"シードフレーズ","period.day":"日","errors.superUidLength":"U
185ID の長さは 3 以上でなければなりません","merchantClients.label.createButton":"顧客追加","merchantSettings.changeName.description.default":"名前の変更は180日に1回のみ可能です。","ariaLabel.twitter":"Twitter","payment.manualComplete.title":"支払い完了","merchantBilling.modalToCancelPlan.title":"プランのキャンセル","component.selectClient.label.newClientTitle":"新しい顧客が追加されます。","action.UNSUSPENDED":"中断状態解除","signup.title":"販売者アカウントをセットアップする","action.TOKEN_CHANGED":"トークンが変更されました","merchantWallet.import.importKeys.extraCoins.description":"トロンのTRXやBSCのBNBなどのネイティブトークンは決済に対応していません。","payment.manualComplete.description":"この支払いは販売者によって手動で完了とマークされました。この支払いに対して領収書は発行されません。","about.integration.accept.description":"Switchはビットコイン(BTC)、ライトコイン(LTC)、ダッシュ(DASH)、モネロ(XMR)をサポートしています。あなたのウォレットに直接支払いを受け取ることができます。","paymentType.PUBLIC_PAYMENT":"公開","component.changeToken.title.setupNewToken":"新しいトークンの作成","format.date.monthDateYear":"日/月/年","pay.notification.paymentQuotaExhaustedSystemError":"支払いが実行できないため、販売者にお問い合わせください。","merchantPayments.paymentInfoModal.button.cancel":"支払いのキャンセル","merchantSettings.security.recentActivity.action":"操作","period.weekly":"週ごと","merchantClients.clientCreateModal.error.notAnEmail":"無効な電子メールです","merchantSettings.modalToDeleteAccount.confirm.warning3":"口座にある残高はすべて永久に無効になります。","cycle.SEMI_ANNUALLY":"半年ごと","merchantBilling.balance.renewalToday":"今日に更新されます","merchantSettings.modalToDeleteAccount.confirm.warning1":"アカウントの削除を続行するには、ソフトウェア認証器に表示される6桁のコードを入力してください。この操作は取り消すことができません。","merchantSettings.notifications.payments.paymentReceived":"代金が受領されました","adminMerchants.table.columns.cycle":"サイクル","merchantSettings.modalToDeleteAccount.confirm.warning2":"システムのすべての関連データとともにアカウントが永久に削除されます。","merchantClients.clientCreateModal.error.syntax":"文法エラー","currency.us":"米ドル","merchantPayments.paymentInfoModal.label.cancelledAutomaticly":"支払いが自動的にキャンセルされた","merchantDashboard.notification.code500":"コード500、システムエラー","merchantSettings.api.logs.noData":"記録が存在しません","adminDeposits.table.columns.id":"預金ID","payment.complete.fees":"ネットワーク料金","merchantWallet.import.selectCoins.description":"受け入れるコインを選択すると、次のステップで必要なキー/データを表示します。 設定が完了すると、個々のコインは追加/削除ができず、設定ウィザードを再起動する必要があります。","payment.expired.underpaidBy":"{amount} {currency} の支払い不足","merchantPayments.table.columns.memo":"メモ","currency.ua":"ウクライナ・フリヴニャ","merchantClients.clientsFilter.dndToggle":"{status} がアクティブなクライアントを表示する","component.table.noRecords":"記録が見つかりません","header.expires":"有効期限{date}","status.FAIL":"失敗","currency.th":"タイバーツ","merchantWallet.import.start.title":"公開キーの輸入","merchantSettings.rules.slippage.description":"決済/フィアット交換手数料を考慮し、支払いに必要なすべてのコインの価値を%増加させます。スリッページは顧客に表示され、安定したコインはこのルールの影響を受けません。","merchantWallet.import.importKeys.description":"Switchは、公開鍵やEVM*アドレスなどの公開情報を使用して支払いを行います。Switchは、このページに入力されたデータでユーザーの資金を管理することはできません。 例えば、Moneroの場合(プライベート読み取りキー)、公開読み取りキーと公開使用キーの両方が必要です。 したがって、Switchはユーザーの資金を管理する権限は一切ありません。","payment.expired.EXPIRED_WHILE_CONFIRMING":"この
185入金アドレスで検出されたトランザクションの確認期間が終了しました。","merchantSettings.rules.api.description":"第三者のアプリケーションで生成された支払いに同様の条件を適用する","merchantBilling.modalToChangePlan.preview.downgrade":"{icon} {plan} にダウングレード ","format.date.yearMonthDate":"å¹´/月/日","payment.complete.transaction":"ブロックチェーン上のトランザクション {number} を表示する","errors.ACCOUNT_EXISTS":"このメールは既に使用されています。","merchantWallet.generate.familySelection.title":"コイン選択","currency.sg":"シンガポールドル","merchantBilling.label.invoice":"インボイス","merchantClients.clientCreateModal.error.nameRequired":"名前は必須項目です","merchantWallet.faq.question3.descriptionLink":"ウォレットの接続解除","errors.noZeroAsFirstDigit":"UID を 0 から始めることはできません","action.UNDERPAID_AND_EXPIRED":"金額不足・期限切れ状態","payment.expired.noTransactions":"支払い期間中に入金アドレスでトランザクションは検出されませんでした。","servicePage.underMaintenance.description":"後ほどサービスが再開されます。","merchantWallet.generate.final.finish":"設定完了","about.integration.crypto.description":"主要な共通プラットフォームのウォレットに対応しています。Switchは最良の相互運用性を実現するため、ユニバーサルスタンダードに準拠しています。","merchantPayments.table.columns.address":"住所","merchantWallet.tabs.title.keys":"データ輸入","component.accountRecovery.description2":"以前のリカバリーコードはすべて無効になり、新しいリカバリコードのリストが生成されます。","component.contactSupport.option.QUESTION":"質問","currency.ru":"ロシア・ルーブル","merchantPayments.notification.paymentCancelledFail":"この支払いのキャンセルはできません","merchantSettings.general.saveChanges":"変更を保存する","component.accountRecovery.description1":"検証後、現在の認証トークンは無効化され、新しい認証トークンに置き換えられます。","sidebar.wallet.setup":"設定","landing.lostToken.label":"トークンを紛失しました","component.upload.limit":"最大{limit}ファイルのみ使用できます","merchantWallet.generate.password.validation.match":"パスワードが一致しません","adminMerchants.table.columns.baseCurrency":"通貨","merchantBilling.modalToCancelPlan.cycleBegins":"次の更新日からサイクルが始まります。","common.revenue":"収益","signup.invitation.sessionExpired.title":"セッションが終了しました","merchantWallet.generate.start.title":"新しいウォレット作成","about.payments.descriptionMobile":"様々なアイコンと素材により、管理画面を自由にデザインできる。","merchantWallet.label.supportedTronTokens":"トロンチェーン上で使用可能なTRC-20トークン","signup.invitation.invalidInvitation.button":"ホームページに戻る","merchantClients.clientCreateModal.warning.limitExceeded":"制限超過","sidebar.wallet.setupWallet":"ウォレットの設定","dnd.help":"サポートが必要ですか?","status.UNDERPAID":"支払額不足","servicePage.underMaintenance.title":"点検中","dnd.history.description":"過去に通知を送信した取引先のリストです。","signup.description":"暗号通貨支払いの受け入れを開始","merchantSettings.changeEmail.description.enterTotp":"電子メールを変更するには、認証アプリに表示される6桁のコードを入力してください。","merchantSettings.rules.desctruct.description":"一定期間内アカウントが未接続の場合、すべての関連データが削除されます。この作業は永続的なもので、元に戻すことはできません。 特定の非接続期間に達するとメールで警告が送信され、その後も一定期間内に接続がない場合、アカウントが削除されます。削除すると、既存の決済代金も削除され、復元はできません。","errors.INVALID_ACCOUNT":"無効なアカウント","cycle.MONTHLY":"毎月 ","merchantBilling.modalToChangePlan.preview.description":"新しいご請求日は、確認次第直ちに有効となります。クォータがほぼ使い果たされた場合のã
185¿ã€ãƒ—ランを変更することをお勧めします。 残りの決済クォータが{0}で新しいプランに繰り越されます。","ariaLabel.telegram":"Telegram","action.CANCELLED_BY_SYSTEM":"システムによるキャンセル","adminMerchantsPruned.table.columns.email":"電子メール","merchantSettings.rules.captcha.description":"公開アドレスページで支払い作成時のキャプチャ認証が必要です。","action.LINK_CREATED":"リンク作成完了","merchantBilling.balance.downgradesInValueDays":"{value}日以内に無料プランにダウングレード","merchantSettings.tab.general":"一般","merchantWallet.coins.label.generated":"Switch経由で {date} {time} にウォレットが生成されました","merchantSettings.notifications.access.title":"アクセス","action.LINK_REVOKED":"リンク削除完了"},R5e={"dnd.history.manage":"관리","merchantSettings.label.preparingData":"데이터 준비중","dnd.notifications.title":"방해 금지 설정","merchantBilling.history.title":"이력","payment.error.title":"오류","merchantPayments.paymentInfoModal.label.depositAddress":"입금 주소","errors.MERCHANT_CLIENT_LIMIT_EXCEEDED":"요금 제한을 초과했습니다. 지원팀에 문의하세요.","merchantClients.payments.noData":"관련 결제가 존재하지 않습니다.","merchantPayments.paymentInfoModal.tab.journal":"일지","merchantSettings.tab.security":"보안","period.week":"주","common.search":"검색","plan.business.description":"소상공인과 일부 사용자 보유 스타트업을 위한 플랜.","merchantPayments.paymentInfoModal.label.cantBeCancelled":"현재 진행 중인 결제는 취소할 수 없습니다.","merchantSettings.general.pictureDescription":"공개 주소 페이지에서 ë³¼ 수 있습니다","signup.footer.authenticatedMerchant":"현재 {merchantName} 계정으로 로그인 되었습니다.","errors.tokenLength":"토큰 길이는 6자리만 가능합니다.","adminDeposits.table.columns.exchangeCurrency":"암호화폐","landing.lostToken.secondaryText":"다른 방법으로는 접속 복구가 불가합니다.","action.COMPLETED":"처리가 완료되었습니다.","errors.CONNECTION_LOST":"연결이 유실되었습니다.","adminDeposits.table.columns.address":"주소","merchantWallet.label.generateWallet":"새 지갑 생성","plan.free.title":"Free","merchantBilling.modalToRenew.newExpiryDate":"새 만기일","merchantBilling.balance.label.renewNow":"즉시 갱신","merchantSettings.api.table.ip":"IP","merchantDashboard.statement.monthly":"월별 명세서","merchantBilling.notification.changeMerchantPlanSuccess":"플랜이 변경되었습니다!","errors.GEN_SERVICE_FAIL_ON_ATTACHMENT":"내부 오류가 발생했습니다.","signup.label.emailPlaceholder":"이메일을 입력해 주세요.","merchantBilling.modalToRenew.description":"요금제를 강제로 갱신하면 현재 청구 주기를 한 달/년 더 연장하고 남은 결제 할당량을 새 주기로 앞당길 수 있습니다. 이것은 업그레이드가 아니며, 총 할당량의 10%(또는 ê·¸ 이하)가 남아 있을 때만 작동합니다. 평소보다 더 빨리 결제 한도에 도달할 경우 사용하세요.","sidebar.wallet.disconnect":"지갑 연결 해제","payment.unconfirmed.subtitle":"거래가 확인되었습니다.","merchantDashboard.totalRecieved.thirdPartyTokensTooltip":"결제 이력이 있는 토큰만 표시됩니다.","merchantWallet.generate.familySelection.monero":"해당 시드 문구는 모네로만이 호환 가능합니다.","payment.expired.title":"결제가 만료되었습니다","common.active":"활성화","merchantSettings.notifications.emailNotification":"이메일","about.knowledge.title":"계정의 모든 자금은 고객만이 아는 발음 가능한 알고리즘 단어 세트로 비밀화되어 어디서든 접속이 가능합니다.","merchantWallet.generate.verification.wrong":"유효하지 않은 정보입니다.","merchantWallet.generate.final.title":"설정이 완료되었습니다.","merchantBilling.history.noHistory.description":"이곳에서 거래 이력을 ë³¼ 수 있습니다.","payment.label.highFeeNetworkTooltip":"Switch를 통한 고액의 네트워크 비용이 포함되어 있습니다.","payment.label.tokenIsdisabledGlobally":"해당 토큰은 현재 사용할 수 없습니다.","action.PLAN_CANCELLED":"플랜이 취소되었습니다.","common.reset":"초기화","merchantWallet.generate.password.validation.notEmpty":"비밀번호는 공백으로 둘 수 없습니다.","merchantSettings.notification.updateNotificationSuccess":"설정이 변경되었습니다.","ariaLabel.signup":"회원가입","merchantBilling.balance.currentPlan":"현재 플랜","merchantBilling.modalToChangePlan.preview.buttonDowngrade":"{money} (으)로 다운그레이드 확인","adminDeposits.table.columns.status":"상태","landing.errors.invalidTotp":"유효하지 않은 시간 기반 일회용 비밀번호","merchantWallet.import.final.description":"지갑 구성이 완료되어 이제 고객의 암호화폐 결제를 받을 수 있습니다.","period.year":"연","adminStaff.table.columns.status":"상태","errors.isNotEmail"
185:"유효하지 않은 이메일","status.ALLSTATUSES":"모든 상태","action.CREDITED":"예치되었습니다.","merchantClients.table.columns.clientId":"ID","component.changeToken.returnToLogin":"로그인으로 돌아가기","merchantPayments.table.columns.expectedAmount":"결제 금액","landing.labels.home":"홈페이지","merchantSettings.notifications.quota.eightyPercentUsed":"80% 사용중입니다.","about.opi.addition.reason":"열쇠도 아니고 동전도 아니야.","month.august":"8월","payment.externalError.subtitle":"해당 결제를 생성하는데 오류가 발생했습니다. 판매자에게 직접 문의해 주세요.","merchantClients.table.columns.paymentsCount":"완료된 결제","merchantBilling.modalToRenew.currentExpiryDate":"현재 만기일","component.dateRangePicker.enterDateWithFormat":"{value} 형태로 날짜를 입력하세요.","merchantSettings.security.recentActivity.date":"날짜","landing.header.about":"프로젝트에 대하여","merchantSettings.modalToDeleteAccount.code.description":"계정 삭제를 진행하려면 소프트웨어 인증기에 표시된 6자리 코드를 입력하세요.","merchantSettings.api.logs.downloadLog":"다운로드 기록","merchantPayments.label.statusTooltip.isCompleteManual":"이 결제는 수동으로 완료 표시되었습니다.","merchantWallet.import.importKeys.label.tvm":"TVM 주소","merchantBilling.addBalance.footer":"입금은 1달러를 초과해야 하며 잔고에 예치되기 전에 3개의 네트워크 확인이 필요합니다.","dnd.label.dnd":"방해 금지","merchantSettings.notifications.quota.attemptToExceed":"초과 시도","component.changeToken.terms.accountRecovery":"유효한 TOTP나 복구 코드 없이는 계정을 복구할 수 없습니다.","errors.TECHNICAL_ERROR":"기술적 오류가 발생했습니다. 지원팀에 문의해 주세요.","component.disconnectWallet.option1":"계좌에 활성 지갑이 연동되지 않은 상태로는 결제가 불가합니다.","component.disconnectWallet.option2":"이 지갑을 Switch에서 분리해도 지갑에 있는 자금에는 영향이 없습니다.","component.disconnectWallet.option3":"결제를 다시 받기 위해서는 처음부터 새 지갑을 설정해야 합니다. 한번 연결 해제된 지갑은 복원이 불가능합니다.","payment.label.thirdPartyTokenFee":"Switch를 통한 네트워크 비용이 포함되어 있습니다.","merchantClients.clientCreateModal.tab.bulk":"대량 가져오기","merchantClients.clientInfoModal.title":"고객 상세정보","merchantWallet.import.selectCoins.title":"코인 선택","component.contactSupport.attachFilesNote":"최대 5개의 파일 첨부 가능 (각 최대 10MB)","merchantBilling.modalToRenew.yourPlan":"귀하의 플랜","merchantClients.clientFull.deleteClient":"고객 삭제","plan.pro.description":"개인사업자와 프리랜서를 위한 플랜.","merchantPayments.paymentInfoModal.label.cancelledManually":"결제가 수동으로 취소되었습니다.","merchantBilling.label.hash":"거래 해시","merchantWallet.label.supportedBscTokens":"바이낸스 스마트체인에서 지원되는 BEP-20 토큰","merchantBilling.balance.renew.cannotBeEnabled":"플랜이 곧 취소됨으로 활성화할 수 없습니다. 이 설정은 유료 플랜 사용 시 자동으로 활성화됩니다. ","errors.NOT_ALLOWED_TO_BLOCK_MERCHANT":"현재 판매자를 차단할 수 없습니다.","merchantClients.notification.bulkAddClientsWithDublicationsSuccess":"가져오기에 성공했습니다. 오류를 찾을 수 없습니다.","landing.labels.goodbye":"또 뵙겠습니다","signup.button.createAccount":"회원가입","cycle.YEAR":"년","merchantSettings.changeName.title":"판매자명 변경","component.changeToken.title.saveRecovery":"복구 코드 저장하기","errors.TICKET_NOT_CREATED":"티켓 생성에 오류가 발생했습니다. 잠시 후 다시 시도해 주세요.","merchantClients.clientCreateModal.error.entriesFound":"{value} 이미 해당 항목이 존재합니다.","errors.INVALID_CODE":"유효하지 않은 코드","dnd.notifications.changeStatusSuccess":"방해 금지 상태 업데이트 완료","signup.logout.label":"새 회원가입을 하려면 현재 세션에서 로그아웃해야 합니다.","signup.companyName.permanent":"계정 통화 설정은 영구적입니다.","signup.invitation.sessionExpired.button":"새 회원가입 시작하기","common.warning":"경고","ariaLabel.learnMore":"더 알아보기","merchantPayments.createPaymentModal.button.createPaymentAndNotify":"결제를 생성하고 고객에게 알림 전송","merchantPayments.createPaymentModal.label.paymentCannotBeCreated":"방해 금지 모드를 사용중인 고객에게는 결제 알림을 보낼 수 없습니다.","component.accountRecovery.tryAgain":"초기화","ariaLabel.password":"비밀번호","component.timeZone.utcTime":"UTC","errors.P
185UBV_INVALID":"유효하지 않은 공개 읽기키입니다.","errors.notMaxThan":"글자 수는 최대 {max} 를 초과할 수 없습니다.","merchantSettings.rules.antispam.description":"하나의 IP 주소에서 공개 주소 페이지에서 생성할 수 있는 결제 건의 속도 제한/대기 기간을 적용합니다.","merchantWallet.import.importKeys.label.evm":"EVM 주소","about.knowledge.description":"아는 것이 힘이다.","merchantBilling.modalToChangePlan.preview.upgrade":"{icon} {plan} 으로 업그레이드","errors.PUBS_INVALID":"유효하지 않은 공개 소비키입니다.","action.SUSPENDED":"정지되었습니다.","merchantBilling.balance.status.quota":"할당량 재설정","merchantSettings.api.modal.addNote":"메모 추가하기","errors.INVALID_CREDENTIALS":"유효하지 않은 자격 증명","merchantWallet.file.phraseSwitch":"시드 문구","month.november":"11월","merchantPayments.label.createButton":"결제 생성","common.resend":"재전송","merchantClients.clientCreateModal.error.emailRequired":"이메일은 필수 항목입니다.","signup.footer.terms":"이용약관","merchantSettings.notifications.quota.title":"할당량","errors.CLIENT_EXIST":"이미 있는 고객입니다.","merchantSettings.notifications.quota.fiftyPercentUsed":"50% 사용중입니다.","signup.invitation.invalidInvitation.description":"이 초대 링크는 유효하지 않거나, 만료되었거나 또는 이미 사용된 링크입니다.","component.filter.cycle":"주기","merchantWallet.generate.verification.word":"시드문구의 {num} 번째 단어는","merchantSettings.changeToken.title":"토큰 변경","payment.help.underpayments.title":"미납금","servicePage.tooManyRequests.title":"요청 횟수가 한도를 초과했습니다.","merchantPayments.createPaymentModal.description":"고객을 위한 고유 결제 링크 생성","payment.complete.notAvailable":"이 결제에는 사용할 수 없습니다.","component.selectClient.paidPaymentsAmount":"{paymentsAmount} 건의 결제 총액 {amount} ","about.opi.title":"하나의 공공 정체성","merchantBilling.balance.title":"잔액","dnd.login.manage":"환경 설정","adminStaff.table.columns.email":"이메일","component.historyBlock.address":"주소","landing.labels.recoveryDetected":"복구 코드가 감지되었습니다.","component.avatarManagement.uploadPicture":"이미지 업로드","merchantSettings.notification.requestToChangeEmailSuccess":"이메일 변경 요청이 전송되었습니다.","merchantWallet.faq.question3.description":"이곳에는 지갑 설정 중 선택한 코인만 표시되며, 개별적으로 코인을 추가/제거할 수 없습니다. 신규 코인을 추가하려면 {0}한 후에 다시 설정해야 합니다.","merchantWallet.faq.question2.description":"익명으로 (연결된 이름이나 이메일 주소 없이) 결제를 받으시려면 이 모드를 활성화할 수 있습니다. 익명 모드에서는 참고용으로 메모 (작은 설명) 를 결제에 추가해야 합니다.","merchantWallet.publicAddress.label.incognito":"익명 모드","common.client":"고객","merchantSettings.rules.detonator.title":"폭파 뇌관","dnd.notifications.disabled.title":"사용 중지 상태","merchantBilling.modalToCancelPlan.description":"다음 갱신일에 무료 플랜으로 다운그레이드됩니다.","adminInvoices.table.columns.cycle":"주기","merchantWallet.label.seedPhrase":"시드 문구","errors.CLIENT_CAN_NOT_BE_DELETED":"고객을 삭제할 수 없습니다.","merchantClients.notification.changeClientNameSuccess":"고객명 수정 완료","component.historyBlock.noHistory":"이 결제는 아직 작업 이력이 없습니다.","landing.labels.documentation":"도움말","merchantBilling.modalToRenew.title":"강제 갱신","merchantPayments.paymentInfoModal.journal.title":"밀어서 결제 완료 표시하기","merchantBilling.modalToChangePlan.select.yourBalance":"잔고 총액 ","common.createNew":"추가하기","currency.gb":"영국 파운드","merchantSettings.modalToDeleteAccount.final.returnToHome":"홈페이지로 돌아가기","merchantPayments.table.columns.activatedAt":"활성화 일자","merchantWallet.publicAddress.button.save":"저장하기","sidebar.wallet.publicAddress":"공개 주소","common.poweredBy":"{switchLogo}
185 제공","common.save":"변경 사항 저장","merchantBilling.balance.downgradesToday":"오늘 무료 플랜으로 다운그레이드됩니다.","component.changeToken.description.saveRecovery":"하단의 코드는 로그인/복구에 한 번만 사용 가능합니다.","header.menu.billing":"청구 정보","status.SUSPENDED":"정지","action.VOTING_WINDOW_EXPIRED":"투표 기한이 만료되었습니다.","merchantSettings.general.numberFormat":"숫자 형식","merchantPayments.label.statusTooltip.isUnderpaidAndExpired":"이 결제는 만료되기 이전에 부분적으로 지불되었습니다.","merchantBilling.balance.depositAddress":"입금 주소","status.PRE_NEW":"확인 대기중","merchantSettings.tab.rules":"규칙","merchantBilling.modalToChangePlan.preview.dueDate":"새 납기일","errors.ACCOUNT_UNAVAILABLE":"계정을 사용할 수 없습니다.","errors.MERCHANT_DOES_NOT_EXIST":"판매자가 존재하지 않습니다.","merchantSettings.notification.verifyEmailSuccess":"이메일이 인증되었습니다.","merchantWallet.notification.walletRemoveSuccess":"지갑이 성공적으로 제거되었습니다.","landing.header.more":"추가 정보","merchantPayments.paymentInfoModal.label.journalAvailable":"만료 또는 취소된 결제에만 사용할 수 있습니다.","status.COMPLETE":"완료","currency.eu":"유로","payment.complete.slippageIncluded":"이 결제에는 판매자가 설정한 추가 요금이 포함되어 있습니다.","merchantClients.table.columns.createdAt":"등록일","component.disconnectWallet.button.disconnect":"지갑 연결 해제","common.enable":"활성화","month.september":"9월","signup.label.saveCodesTitle":"복구 코드 저장","merchantClients.clientCreateModal.subtitle.single":"동일 이메일의 통계 (소득/결제액) 추적하기","common.amount":"금액","component.table.itemsPerPage":"페이지별 항목 갯수","merchantSettings.detonatorModal.detonationCode.description":"각별히 주의해서 사용하세요. 로그인 시 이 코드를 입력하면 계정이 즉각 폭파됩니다. 이 코드는 다시 표시되지 않습니다.","merchantSettings.notification.addImageFormatErrorNotification":"JPG, JPEG, PNG만 사용 가능합니다.","about.phylosofy.description":"Switch는 은행, 지갑 제공자나 거래소가 아니며, 고객의 자금에 접촉하지 않고 오직 응용 프로그램으만 작동합니다 . 이것은 KYC나 기타 제한이 없으며 고객이 자금의 모든 것을 관리함을 뜻합니다. 설계의 기초부터 기본 세팅까지 고객의 프라이버시 존중을 최선에 두었습니다.","sidebar.settings":"설정","signup.invitation.sessionExpired.description":"회원가입 세션이 만료되었습니다. 회원가입 절차를 다시 시작해 주세요. 수집된 모든 데이터는 삭제되었습니다.","status.BOUNCED":"반환","component.changeToken.save":"구하다","component.contactSupport.sendButton":"메시지 보내기","component.filter.creationDate":"생성 날짜","merchantSettings.changeEmail.description.changeEmail":"이메일 주소를 입력하면 확인을 위한 일회용 비밀번호가 전송됩니다.","merchantSettings.notification.updateSlippageSuccess":"설정이 변경되었습니다.","merchantSettings.notification.generateApiKeySuccess":"API 키가 생성되었습니다.","merchantSettings.security.recentActivity.session":"세션","merchantDashboard.income.total":"총액","errors.extra_spaces":"띄어쓰기는 사용 불가합니다.","signup.label.scanCode":"인증기 앱으로 이 QR 코드를 스캔하고 표시된 시간 기반 일회용 비밀번호를 입력하세요.","payment.label.otherTokenAlert":"이 주소로 전송된 {coin} 이외의 토큰은 감지되지 않습니다.","merchantPayments.paymentInfoModal.label.revokeIn":"{time} 이후","merchantSettings.detonatorModal.setDetonator.description":"진행하려면 유효한 시간 기반 일회용 비밀번호를 입력하세요.","merchantSettings.modalToDeleteAccount.final.description":"관련된 모든 데이터가 제거되어 복구가 불가합니다. 삭제된 계정 번호 또는 UID는 유일하며 신규 판매자에게 절대 재할당되지 않습니다.","merchantPayments.paymentInfoModal.journal.paidManually":"{date} {time} 에 다음 일지 항목을 추가하여 수동으로 결제 처리되었습니다.","signup.notification.sessionExpired":"세션 만료","currency.ch":"스위스 프랑","merchantDashboard.totalRecieved.tooltip":"이것은 지갑 잔액이 아닙니다. 잔액을 보려면 먼저 호환되는 지갑 응용 프로그램에서 지갑 시드를 가져와야 합니다. Switch는 고객의 지갑에 접근할 수 없습니다.","common.all":"전체","merchantSettings.security.title":"계정 접근 관리","common.importAction":"불러오기","merchantSettings.notification.updateMerchantNameFail":"문제가 발생했습니다.","currency.cn":"중국 위안","adminMerchants.table.columns.uid":"UID","common.unavailable":"사용 불가","merchantWallet.notification.atLeastOneCoinWarning":"최소 1개 코인이 활ì„
185±í™”돼야 합니다.","merchantWallet.publicAddress.label.off":"꺼짐","period.quarterly":"분기별","header.menu.account":"계정","dnd.settings.option2":"판매자의 공개 주소 사용 입금시 이메일 주소롤 입력하면 해당 거래에 대한 이메일 알림이 전송됩니다.","dnd.settings.option1":"DND 정책은 모든 판매자에게 영향을 미칩니다.","about.opi.desctiption":"고유 계정 번호를 통해 고객의 암호화폐 지갑으로 결제금을 직접 송금받을 수 있으며, 어느 기기에서나 시드 문구로 자금을 완벽하게 관리할 수 있습니다.","merchantDashboard.monthlyIncome.description":"총계에는 액수 미달의 결제는 포함되지 않습니다.","merchantPayments.createPaymentModal.label.autoRevokeIn":"선택한 기한 내로 자동 취소 설정","merchantBilling.balance.label.changePlan":"플랜 변경","merchantPayments.table.columns.marketRate":"시세","ariaLabel.file":"파일","header.menu.logout":"로그아웃","errors.isNotEmpty":"비워둘 수 없는 항목입니다.","landing.labels.copyTorAddress":"토르 주소 복사 (.onion)","landing.labels.inputToken":"시간 기반 일회용 비밀번호를 입력하세요.","merchantBilling.balance.noPaymentsLeft":"더 이상의 결제가 없습니다.","merchantSettings.changeEmail.title.enterTotp":"시간 기반 일회용 비밀번호 입력","action.EMAIL_CHANGE":"이메일이 변경되었습니다.","payment.error.errorCode":"오류 코드","merchantBilling.balance.quotaResetsInDays":"{value}일 후에 결제 할당량이 재설정됩니다.","month.february":"2월","servicePage.notFound.description":"찾으시는 페이지는 존재하지 않거나 이동되어 사용할 수 없습니다.","merchantSettings.general.timezone":"시간대","merchantClients.notification.deleteClientSuccess":"고객이 삭제되었습니다.","merchantClients.clientCreateModal.label.clientNameNote":"이 이름은 참조용이며 고객에게 공개되지 않습니다.","currency.ae":"아랍에미리트 디르함","adminMerchants.table.columns.createdAt":"등록일","dnd.notifications.block.description":"Switch 의 모든 판매자는 이 이메일 주소로 결제 요청 알림을 보내는 것이 차단됩니다.","adminStaff.table.columns.createdAt":"등록일","component.accountRecovery.successDescription":"각 코드는 로그인/복구에 한 번만 사용 가능합니다.","status.COMPLETED":"완료","merchantSettings.security.recentActivity.ip":"IP 주소","common.any":"모든","merchantWallet.faq.question3.title":"이곳에서 지원되는 모든 코인이 보이지 않는 이유가 뭔가요?","merchantWallet.import.importKeys.title":"공개 키를 입력하세요.","merchantPayments.paymentInfoModal.label.revoke":"자동 취소","merchantWallet.learnMore":"지갑 생성에 대해 더 알아보기","adminStaff.table.columns.username":"사용자명","common.continue":"계속하기","merchantSettings.tab.activeSessions":"활성 세션","merchantPayments.table.columns.uuid":"UUID","merchantSettings.rules.revoke.description":"장기 비활성화/미사용 상태인 공개 주소에서 생성된 결제를 자동 취소하려면 이 정책을 사용하세요. 결제 링크를 취소하면 결제가 취소되므로 요금제 할당량이 불필요하게 사용되지 않습니다.","merchantBilling.modalToRenew.pay":"지불하기","payment.unconfirmed.multipleTransactionsSubtitle":"복수의 결제가 확인되었습니다.","status.ARCHIVED":"보관","header.menu.settings":"설정","component.dateRangePicker.cannotLessThanStart":"시작일 이전 날짜는 입력할 수 없습니다.","errors.MERCHANT_PAYMENT_QUOTA_EXHAUSTED":"플랜의 결제 할당량이 소진되었습니다.","merchantPayments.paymentInfoModal.label.noAvailable":"현재 결제에 적용될 수 없습니다.","merchantSettings.api.table.lastUsed":"최근 사용","merchantDashboard.totalRecieved.title":"입금 총액","signup.label.saveCodes":"코드 저장하기","merchantPayments.table.columns.clientName":"고객명","dnd.history.blocked":"차단 상태","merchantDashboard.monthlyIncome.title":"월별 수입","merchantBilling.label.deposit":"입금","adminMerchants.table.columns.status":"상태","merchantSettings.rules.title":"시스템 정책 관리","period.second":"초","component.contactSupport.option.BUG":"오류 제보","merchantPayments.notification.generatePaymentSuccess":"결제가 생성되었습니다.","merchantWallet.import.importKeys.label.privateViewKey":"개인 열람 키","merchantSettings.notification.disableDetonatorSuccess":"설정이 변경되었습니다.","status.DISABLED":"사용 중지","merchantDashboard.statement.title":"선택한 기간의 손익계산서 생성","payment.help.underpayments.description":"1ì°¨ 시도에서 청구 금액을 입금하지 못한 경우, 결제 기한 내 2ì°¨ 결제로 결제를 완료할 수 있습니다.","merchantBilling.balance.paymentsLeft":"남은 결제","merchantWallet.generate.seed.important":"중요","ariaLabel.home":"홈페이지","format.date.dateMonthYear":"일/월/연도","merchantWallet.import.importKeys.label.publicKey":"공개 키","about.description":"암호화폐 결제를 허용하는 기업을 위한 비보관형 결제 게이트웨이 및 회계 시스템","common.to":"에게","merchantSettings.changeEmail.label.emailAddress":"이메일 주소","status.PRUNED":"폐기","merchantWallet.generate.start.description":"선택한 코인에 대한 시드 문구가 브라우저에 로컬로 생성됩니다. 지갑에 대한 공개 키는 Switch에 자동 저장되어 결제를 시작할 수 있습니다.","format.time.24h":"23:59 (24시간)","common.coin":"코인","action.DOWNGRADED":"다운그레이드 되었습니다.","merchantClients.clientCreateModal.error.duplicates":"{value} 중복 | {value} 중복","payment.expired.tryAgain":"다시 시도해 주세요.","adminStaff.table.columns.lastAccessDate":"최근 접속 일시","signup.footer.description":"회원가입함으로써 당사 {terms}에 동의하는 것으로 간주합니다.","signup.logout.button":"로그아웃 후에 진행","month.january":"1월","merchantBilling.label.confirming":"확인중","merchantWallet.publicAddress.label.yourAddress":"사용자 공개 주소","format.number.noDelimeter":"구분자 없음 ({value})","merchantSettings.notification.updateMerchantSettingsSuccess":"설정이 변경되었습니다.","sidebar.stickies":"알림","merchantSettings.rules.detonator.codeSet":"코드 설정 완료","merchantClients.clientCreateModal.title.review":"가져온 데이터 검토","status.ACTIVE":"활ì„
185±í™”","merchantBilling.addBalance.title":"잔액 추가","errors.INVALID_INPUT":"유효하지 않은 입력","merchantWallet.generate.seed.confirm":"시드 문구와 비밀번호 (설정된 경우) 없이는 지갑 (및 내부 자금) 의 복구가 불가능하다는 것을 이해했습니다.","dnd.notifications.whitelist.title":"허용 목록","merchantBilling.filter.deposits":"입금","common.sort.oldestFirst":"오래된 항목 순","common.total":"총액","merchantClients.clientInfoModal.label.openStatusTooltip":"이 상태는 고객이 이메일로 결제 요청을 받을 수 있음을 뜻합니다.","merchantBilling.modalToChangePlan.preview.monthlyCost":"월별 비용","status.EXPIRED":"만료","merchantSettings.notifications.access.successfulLogin":"로그인 성공","merchantBilling.balance.expiresTomorrow":"내일 만료됩니다.","component.disconnectWallet.label.understand":"나는 다음 사항을 이해하였습니다.","adminDeposits.table.columns.valueInUsd":"가격","status.DRAFT":"초안","payment.complete.recieptFrom":"다음 판매자로부터의 영수증","errors.error":"오류","adminMerchants.table.columns.email":"이메일","errors.DUPLICATED_RECOVERY_SESSION":"중복 세션이 감지되었습니다.","merchantSettings.general.language":"언어","month.may":"5월","merchantSettings.changeEmail.description.verifyEmail":"{email} 으로 전송된 일회용 비밀번호를 입력하세요.","adminInvoices.table.columns.uid10Digits":"송장 ID","adminDeposits.table.columns.uid":"판매자 UID","merchantClients.deleteClientModal.desc":"이 동작은 되돌릴 수 없습니다.","merchantDashboard.income.week":"이번 주","errors.matches_ip":"유효하지 않은 IPv4 또는 IPv6 주소","errors.MERCHANT_ACTIVE_PAYMENT_LIMIT_REACHED":"잠시 후 다시 시도해 주세요.","merchantSettings.changeName.oldName":"기존 이름","merchantWallet.import.importKeys.label.import":"불러오기","payment.complete.hash":"거래 해시","common.preview":"미리 보기","merchantSettings.api.title":"제3자 접근 관리","sidebar.payments":"결제 정보","adminDeposits.table.columns.value":"금액","errors.matches":"알파벳만 입력할 수 있습니다.","adminDeposits.table.columns.updatedAt":"업데이트 일시","merchantWallet.coins.description":"공개 주소로 입금받을 코인을 선택하세요.","servicePage.notFound.title":"페이지를 찾을 수 없습니다.","dnd.label.email":"사용자 이메일","header.renews":"{date} 에 갱신","payment.help.conversionRates.title":"환율","signup.button.codesWereSaved":"코드를 안전하게 보관했습니다.","dnd.label.yourPreferences":"고객님의 {dnd} 설정","sidebar.wallet.downloadData":"지갑 정보 다운로드","component.changeToken.terms.saveCodes":"저는 코드를 안전하게 저장했습니다.","merchantPayments.paymentInfoModal.tab.overview":"개요","landing.lostToken.mainText":"가입 시 발급받은 복구 코드를 여기에 입력해야만 접속 토큰을 재설정하고 계정에 접속할 수 있습니다.","merchantBilling.addBalance.description":"입금 주소는 이 계좌에 고유하며 여기로 보내진 금액은 현재 시세로 자동으로 USD로 변환되어 잔고에 예치됩니다.","signup.invitation.linkExpired.title":"만료된 링크입니다.","action.JOURNAL":"수동으로 완료 처리되었습니다.","paymentType.API_PAYMENT":"API","common.download":"다운로드","sidebar.profile":"사용자 정보","signup.companyName.placeholder":"회사명","errors.isEmail":"유효하지 않은 이메일","period.yearly":"연간","errors.PAYMENT_NOT_FOUND":"결제 정보를 찾을 수 없습니다.","errors.INVALID_SESSION":"유효하지 않은 세션","merchantSettings.notification.totpWasChangedSuccess":"시간 기반 일회용 비밀번호 코드가 변경되었습니다.","merchantWallet.import.selectCoins.thirdParty":"지원되는 타사 토큰을 사용하려면 해당 네트워크에 기존 지갑 주소가 있어야 합니다.","action.EMAIL_CHANGED":"이메일이 변경되었습니다.","common.email":"이메일","landing.title":"êµ­ê²½ 없는 뱅킹","merchantClients.notification.updateClientMemoSuccess":"고객 메모가 업데이트되었습니다.","component.changeToken.notification.allSessionsWereTerminated":"모든 세션이 종료되었습니다. 다시 로그인해 주세요.","errors.ADMIN_ALREADY_EXISTS":"관리자가 이미 존재합니다.","errors.PRV_INVALID":"유효하지 않은 개인 읽기키입니다.","landing.header.sign":"회원가입","payment.help.alert":"Switch는 거래소나 지갑 제공자가 아니며 판매자의 상품/서비스 제공
185에 대한 책임을 지지 않습니다.","merchantPayments.paymentInfoModal.label.publicLink":"공개 링크","errors.max":"글자 수는 {max} 를 초과할 수 없습니다.","errors.SESSION_EXPIRED":"세션이 만료되었습니다.","merchantBilling.modalToChangePlan.preview.descriptionSubtext":"이월되지 않습니다.","merchantWallet.coins.label.imported":"{date} {time} 에 지갑이 불러오기 되었습니다.","sidebar.dashboard":"대시보드","action.ACCOUNT_DELETED":"계정이 삭제되었습니다.","component.selectClient.label.detailsTitle":"고객 상세정보","common.sort.newestFirst":"최신 항목 순","merchantPayments.table.columns.paid":"수취금액","sidebar.sales":"판매현황","about.integration.title":"즉각적인 암호화폐 지갑 연동","status.OVERDUE":"기한 내 미납","period.montly":"월간","merchantPayments.paymentInfoModal.tab.history":"결제이력","merchantSettings.rules.detonator.description":"계정에 비밀 킬 스위치를 설정합니다. 로그인 시 시간 기반 일회용 비밀번호 대신 이 코드를 입력하면 계정이 즉각 폭파됩니다.","payment.expired.unavailableDescription":"이 결제는 존재하지 않거나 이후 취소되었습니다.","merchantPayments.paymentInfoModal.label.includesSlippage":"{value}% 판매자 수수료 포함","merchantWallet.generate.password.confirm":"암호 문구 확인","common.registered":"가입 완료 상태","merchantBilling.balance.quotaResetsToday":"오늘 결제 할당량이 재설정됩니다.","merchantPayments.paymentInfoModal.journal.text1":"시스템에 일지 항목 (사용자에게만 표시됨) 을 추가하여 수동으로 결제 완료를 표시합니다. 이것은 취소되거나 만료된 결제에만 사용할 수 있으며 고객이 원래 결제 기한을 놓쳤지만 나중에 전액을 결제한 경우에만 사용해야 합니다. 결제 영수증은 일지 항목으로 완료된 것으로 표시된 결제에 대해 생성되지 않습니다. 이러한 결제는 손익계산서에도 별도 표시됩니다.","merchantPayments.paymentInfoModal.journal.text2":"이 동작은 되돌릴 수 없으며 이 결제 건의 수입은 귀하가 확인하는 즉시 회계 처리됩니다. 이 기능을 습관적으로 사용하는 것은 권장하지 않습니다.","component.table.resetFilters":"필터 초기화","action.RECEIVED":"{amount} {currency} 이(가) 입금되었습니다.","common.linkExpired":"만료된 링크","common.success":"성공","common.incognito":"익명","component.avatarManagement.browsePicture":"이미지 열람","component.filter.status":"상태","merchantWallet.publicAddress.label.description":"모든 코인에 대해 하나의 계정 번호를 사용하여 인터넷으로 결제를 받을 수 있습니다.","merchantSettings.detonatorModal.detonationCode.title":"폭파 코드","common.copy":"복사","adminMerchantsPruned.table.columns.companyName":"이름","paymentType.MANUAL_PAYMENT":"수동","merchantBilling.modalToChangePlan.select.description":"매월 또는 연간 고객으로부터 받을 결제 건수에 따라 플랜을 선택하세요. 결제 할당량은 매 주기마다 재설정됩니다. 미완성 결제는 할당량에 포함되지 않습니다.","merchantSettings.changeName.description.confirm":"180일간 이름을 다시 변경할 수 없습니다.","component.historyBlock.hash":"거래 해시","adminDeposits.table.columns.cryptoValue":"금액","pay.button.returnHome":"홈페이지로 돌아가기","merchantClients.table.columns.clientName":"이름","merchantDashboard.income.month":"이번 달","signup.button.confirmEmail":"이메일을 확인해 주세요.","signup.label.codeWasSent":"이메일로 인증 코드가 전송되었습니다.","action.CANCELLED":"취소되었습니다.","adminStaff.table.columns.adminId":"ID","merchantWallet.tabs.title.verification":"인증","merchantClients.clientInfoModal.label.cantBeEdited":"이메일은 수정할 수 없습니다. 고객명만을 수정할 수 있습니다.","merchantWallet.faq.question1.description":"공개 주소는 인터넷에서 고객과 공유할 수 있는 고유한 링크입니다. 이 링크를 통해 받은 모든 결제는 지갑에 직접 예치되며 결제 완료 후 자동으로 고객에게 영수증이 전송됩니다.","landing.labels.openTicket":"서비스 지원 요청하기","component.avatarManagement.title":"이미지 자르기","merchantDashboard.notification.invoiceWasDownloadedSuccess":"손익계산서가 준비되었습니다!","status.NEW":"신규","status.ALL":"전체","action.EXPIRED":"만료되었습니다.","merchantSettings.general.label.lastChanges":"최근 변경 일시 {periodAgo}","merchantWallet.generate.password.passphrase":"암호 문구","action.CANCELLED_MANUALLY":"수동으로 취소되었습니다.","merchantSettings.changeEmail.label.verifyEmail":"이메일 인증","merchantSettings.changeName.newName":"새 이름","pay.label.unknownAccount":"계정이 존재하지 않거나 공개 결제를 허용하지 않습니다.","adminDeposits.table.columns.hash":"해시","merchantWallet.import.importKeys.extraCoins.title":"기타 제3사 토큰","common.from":"에게서","about.phylosofy.learnMore":"Switch의 운영 철학에 대하여","status.DO_NOT_DISTURB":"방해 금지","merchantSettings.modalToDeleteAccount.final.title":"사용자 계정이 삭제 완료되었습니다.","merchantSettings.detonatorModal.savedCode":"나는 코드를 저장하였습니다.","merchantPayments.label.statusTooltip.isExpiredWhileConfirmed":"이 결제는 만료되기 이전에 부분적으로 지불되었습니다.","merchantSettings.general.dateFormat":"날짜 형식","merchantSettings.modalToDeleteAccount.code.deteteAccount":"계정 삭제","component.table.pagination.enterPage":"페이지로 가기","dnd.notifications.block.title":"전원 차단","common.notNow":"나중에","merchantClients.clientCreateModal.error.inputError":"{value} 입력 오류 | {value} 입력 오류","merchantSettings.api.table.actions":"액션","status.PAID":"결제 완료","landing.labels.inputAccount":"계정을 입력하세요.","merchantSettings.changeEmail.title.changeEmail":"이메일 변경","merchantSettings.modalToDeleteAccount.confirm.comment":"계정 삭제 즉시 로그아웃됩니다. 이메일 알림이 ê³§ 전송됩니다.","common.never":"절대","component.changeToken.enterCode":"기기에 표시된 6자리 코드를 입력하세요.","merchantClients.clientInfoModal.label.tooltipForDelete":"입금 내역이 없는 고객만 삭제할 수 있습니다.","signup.label.saveCodesDescription":"계정을 복구하려면 다음 코드를 사용하세요. 이 코드는 다시 표시되지 않습니다.","common.error":"ì˜
185¤ë¥˜","merchantSettings.notification.deleteApiKeySuccess":"API 키가 삭제되었습니다.","merchantBilling.notification.planCancellationStopped":"플랜 취소가 해제되었습니다.","merchantSettings.notifications.payments.title":"결제 정보","merchantSettings.sessions.killAllSessions":"기타 모든 세션 종료하기","signup.label.authAppConnected":"인증기 앱이 연결되었습니다.","common.complete":"완료","merchantBilling.balance.description":"모든 입금은 설정된 계정 통화에 관계없이 최종적으로 USD로 계산됩니다.","payment.label.slippage":"이 결제에는 판매자가 설정한 추가 요금이 포함되어 있습니다.","merchantBilling.modalToCancelPlan.freeLimitations":"무료 플랜 제한","merchantClients.searchPlaceholder":"{count}명의 고객에 대해 검색하기","signup.companyName.change":"추후에 변경","about.title":"쟈유롭게 암호화폐 결제받기","component.contactSupport.memo":"메시지를 남기시면 등록된 이메일 주소로 답변이 보내집니다.","merchantPayments.table.columns.clientEmail":"이메일","merchantSettings.label.exportData":"데이터 내보내기","merchantSettings.security.recentActivity.unknown":"알 수 없음","merchantSettings.modalToDeleteAccount.confirm.description":"계정을 삭제할 것인지 확인합니다.","payment.label.paid":"결제 완료","merchantPayments.paymentInfoModal.label.unregisteredClients":"등록되지 않은 고객은 결제가 완료된 후에만 등록된 것으로 표시됩니다.","month.march":"3월","merchantWallet.generate.final.learnMore":"지갑의 작동 원리에 대해 더 알아보기","merchantWallet.file.walletData":"지갑_정보","payment.label.pay":"하단의 암호화폐를 선택하여 {amount} 결제하기","merchantWallet.import.start.description":"Switch에서 사용할 각 코인에 대한 공개 키를 필수적으로 입력해야 합니다. 이더리움은 EVM 주소만을 필요로 하고 모네로는 공개 소비 키와 공개 열람 키 이외에 추가적으로 개인 열람 키를 필요로 합니다. 이곳에 필수 입력 사항인 어떤 데이터로도 Switch가 사용자의 자금을 통제하는 것은 기술적으로 불가능합니다.","landing.labels.registrationDisabled":"현재 회원가입이 비활성화되어 있습니다.","errors.notLessThan":"글자 수는 최소 {min} 를 초과해야 합니다.","common.learnMore":"더보기","signup.invitation.linkExpired.button":"홈페이지로 돌아가기","merchantBilling.balance.renewalInDays":"{value}일 후 갱신됩니다.","common.clients":"고객","dnd.notifications.disabled.description":"Switch의 모든 판매자로부터 이 이메일 주소로 결제 요청에 대한 알림을 허용합니다.","servicePage.tooManyRequests.description":"잠시 후에 다시 시도해 주세요.","signup.invitation.selectCurrencyPlaceholder":"계정 통화 선택","merchantSettings.modalToDeleteAccount.confirm.conwirmWithTotp":"시간 기반 일회용 비밀번호로 확인","month.april":"4월","merchantClients.clientCreateModal.serverError.duplicated":"중복된 항목","merchantPayments.createPaymentModal.label.autoRevokeLink":"링크 자동 취소","common.or":"혹은 ","status.PENDING":"확인 대기중","merchantBilling.modalToRenew.footer":"강제 갱신은 한도가 10% 혹은 ê·¸ 미만일 때만 사용 가능합니다.","sidebar.wallet.label":"지갑","adminInvoices.table.columns.createdAt":"날짜","signup.invitation.currencyDescription":"계정 통화 설정은 영구적이며 추후에 변경이 {0}","merchantWallet.import.importKeys.label.privateSpendKey":"공개 소비 키","action.RENEWED":"갱신되었습니다.","merchantClients.clientInfoModal.label.lastPayment":"최근 결제 정보","merchantSettings.general.timeFormat":"시간 형식","component.selectClient.totalRevenue":"총소득","merchantBilling.modalToChangePlan.select.title":"플랜 변경","merchantWallet.generate.password.continueWithout":"비밀번호 없이 진행","adminInvoices.table.columns.plan":"플랜","component.historyBlock.journalEntry":"일지 항목","merchantSettings.notification.generateNewApiKeymaxAmountWarning":"최대 10개의 API 키가 사용 가능합니다.","component.dateRangePicker.cannotBeInFuture":"미래의 날짜는 입력할 수 없습니다.","period.minute":"분","merchantPayments.table.columns.createdAt":"생성일","errors.UNKNOWN_ERROR":"알 수 없는 오류","merchantWallet.generate.final.description":"지갑이 생성되어 고객으로부터 암호화폐 결제를 받을 준비가 되었습니다.","merchantWallet.coins.label.disabled":"시스템에 의해 일시적으로 사용 중지되었습니다.","common.type":"유형","common.none":"해당 사항 없음","errors.ERR_AMOUNT_MIN_VALUE_IS_100":"최소 금액은 100을 초과해야 합니다.","merchantWallet.duplicateSetup":"중복된 지갑 설정 순서","errors.min":"금액은 {min} 미만일 수 없습니다.","status.SUCCESS":"성공","merchantBilling.notification.changeMerchantPlanStatusCancelled":"ê³§ 취소될 플랜","merchantSettings.api.table.actionText":"콜백 기록","pay.notification.requestsBlockedSystemError":"요청 차단 상태입니다. 나중에 다시 시도해 주세요.","merchantBilling.balance.renewalTomorrow":"내일 갱신됩니다.","action.ACTIVATED":"{currency} 암호화폐로 활성화되었습니다.","adminDeposits.table.columns.createdAt":"일시","merchantPayments.table.columns.amountReceived":"수취금액","cycle.LIFETIME":"영구","component.accountRecovery.resetToken":"토큰 재발급","status.ERROR":"오류","errors.ERR_AMOUNT_MIN_VALUE":"최소 금액은 {min} {currency} 을 초과해야 합니다.","dnd.login.verificationTitle":"이메일 인증","errors.MONITORING_SERVICE_ERROR":"내부 에러","action.REACTIVATED":"{currency}
185 암호화폐로 재활성화되었습니다.","common.allTime":"역대","merchantSettings.notifications.payments.underpaidSighted":"결제액 부족이 확인되었습니다.","merchantSettings.sessions.tor":"알 수 없음 (토르)","common.help":"고객지원","status.BLOCKED":"방해 금지","cycle.ANNUALLY":"매년","dnd.login.title":"방해 금지","merchantSettings.changeEmail.title.verifyEmail":"이메일 인증","merchantWallet.generate.password.setupDescription":"지갑에 접근하려면 시드 문구와 비밀번호 모두가 필요합니다. 따라서 비밀번호 없이는 시드 문구가 유출되어도 사용이 불가합니다.","about.integration.crypto.title":"어느 암호화폐 지갑도 사용 가능","merchantWallet.generate.password.description":"비밀번호는 선택사항이지만 시드 문구 이외의 추가 보안을 제공합니다. 다수의 시드 문구 생성시 모두 동일한 비밀번호가 적용됩니다.","merchantPayments.paymentInfoModal.journal.memoPlaceholder":"예시: 익일 오후 6시에 현금으로 완납됨","status.UNPAID":"미결제","merchantBilling.balance.quotaResetsTomorrow":"내일 결제 할당량이 재설정됩니다.","month.december":"12월","merchantWallet.faq.learnMore":"Switch 사용에 대해 더 알아보기","payment.help.conversionRates.description":"코인 가치에 필요한 금액은 현 시세 기준으로 계산됩니다.","common.address":"주소","status.DELETED":"삭제","merchantBilling.modalToCancelPlan.paymentsPerMonth":"한달에 결제 10건","errors.MERCHANT_DAILY_CLIENT_LIMIT_EXCEEDED":"요금 제한을 초과했습니다. 지원팀에 문의하세요.","sidebar.clients":"고객","merchantBilling.notification.selectPlanAlreadyHave":"이미 이 플랜을 사용하고 있습니다.","ariaLabel.next":"다음","errors.ERR_DEVICE_NOT_FOUND":"세션이 만료되었습니다.","action.UPGRADED":"업그레이드 되었습니다.","merchantSettings.api.keysUsed":"사용된 키","merchantClients.notification.addClientSuccess":"고객 초대 완료","component.filter.nSelected":"{value}개 선택됨","adminInvoices.table.columns.amount":"금액","merchantPayments.createPaymentModal.label.autoRevokeDescription":"이 결제는 {0} 까지 활성화되지 않으면 자동으로 취소됩니다.","merchantDashboard.notification.sessionWasKilled":"다른 기기에서 세션이 취소되었습니다.","status.WAITING":"결제 대기중","common.cancel":"취소","merchantSettings.notifications.title":"알림 조건 설정","merchantDashboard.notification.sessionWasExpired":"세션이 만료되었습니다.","dnd.login.subtitle":"결제 요청 시 악성 판매자가 스팸 알림을 보내는 것을 차단합니다.","common.copied":"복사되었습니다!","status.QUEUE":"대기열","dnd.merchants.back":"판매자 목록 돌아가기","component.contactSupport.title":"상담하기","merchantBilling.notification.selectPlanNotEnoughBalance":"잔액이 부족합니다.","dnd.returnTo":"{link}로 돌아가기","merchantSettings.rules.api.title":"API 결제","servicePage.accessRescticted.description":"요청한 페이지에 대한 접근 권한이 없습니다.","merchantSettings.notification.addImageSizeErrorNotification":"이미지가 허용된 {maxSize}MB 최대 용량을 초과하였습니다.","merchantBilling.balance.expiresInDays":"{value}일 후 만료됩니다.","status.APPROVALPENDING":"승인 대기중","plan.pro.title":"Pro","merchantSettings.notification.updateRevokeSuccess":"설정이 변경되었습니다.","merchantSettings.notifications.payments.paymentSighted":"입금이 확인되었습니다.","payment.error.paymentID":"거래 ID","landing.errors.systemError":"시스템 오류","errors.CAN_NOT_ENABLE_DND":"현재 DND를 활성화할 수 없습니다.","adminMerchants.table.columns.companyName":"이름","merchantSettings.api.generateKey":"새로운 키 생성","payment.label.tokenIsDisabledByMerchant":"이 판매자가 해당 토큰 결제를 받지 않습니다.","payment.unconfirmed.confirmations":"확인","merchantClients.clientCreateModal.label.bulkMemo":`다음 형식으로 한 번에 최대 100개까지 고객 정보를 가져올 수 있습니다.
186
187<고객명>:client1{'@'}gmail.com ;
188<고객명>:client2{'@'}gmail.com ;
189<고객명>:client3{'@'}gmail.com`,"merchantSettings.label.deleteAccount":"계정 삭제","cycle.YEARLY":"연간","merchantSettings.general.picture":"프로필 사진","payment.complete.downloadReceipt":"영수증 다운로드","component.dateRangePicker.cannotBeOlderThanCreationDate":"회원가입 이전 날짜는 입력할 수 없습니다.","merchantBilling.modalToChangePlan.preview.unlimited":"무제한","merchantWallet.import.importKeys.label.paste":"붙이기","merchantWallet.import.importKeys.label.invali
189dInput":"유효한 입력값이 아닙니다.","merchantSettings.general.merchantName":"판매자명","merchantWallet.tabs.title.finalize":"최종 확인","ariaLabel.feral":"feral","about.payments.trackReceipts":"영수증 관리","errors.minLength":"글자 수는 최소 {min} 를 넘어야 합니다.","merchantDashboard.statement.downloadProcessing":"곧 다운로드 파일이 준비됩니다...","errors.REQUEST_BLOCKED":"요청이 차단되었습니다.","merchantPayments.paymentInfoModal.label.paymentAmount":"결제 금액","errors.clientHasDndEnabled":"해당 고객이 방해 금지 모드를 사용중입니다.","merchantDashboard.statement.custom":"사용자 설정 명세서","merchantSettings.modalToDeleteApiKey.title":"API 키 삭제","adminDeposits.table.columns.depositSequentialId":"ID","component.table.pagination.nextPage":"다음 페이지","component.contactSupport.descriptionLink":"도움말","merchantSettings.label.yourData":"사용자 데이터","merchantDashboard.notification.insufficientBalanceForOperation":"플랜 변경에 실패하였습니다.","component.accountRecovery.openDashboard":"대시보드 열기","action.SIGNED_UP":"가입되었습니다.","payment.help.paymentWindows.title":"결제 기한","action.LINK_ACCESSED":"링크가 접속되었습니다.","merchantBilling.balance.label.stopCancellation":"플랜 취소 중지","status.CANCELLED":"취소","component.table.pagination.prevPage":"이전 페이지","merchantBilling.modalToChangePlan.preview.buttonUpgrade":"{money} (으)로 업그레이드 확인","merchantBilling.addBalance.noRefunds":"환불은 불가합니다.","sidebar.staff":"팀원","merchantSettings.notification.enableDetonatorSuccess":"설정이 변경되었습니다.","merchantWallet.import.importKeys.label.learnMore":"지갑 불러오기에 대해 자세히 알아보기","format.number.point":"온점 구분자 ({value})","merchantSettings.notification.deleteProfilePictureSuccess":"설정이 변경되었습니다.","errors.isUrl":"유효하지 않은 URL 입니다.","adminMerchantsPruned.table.columns.uid":"UID","merchantPayments.createPaymentModal.label.memo":"메모 (예시: 로고 디자인 대금)","merchantBilling.balance.label.upgradePlan":"플랜 업그레이드","merchantClients.table.columns.clientEmail":"이메일","merchantPayments.table.columns.status":"상태","component.changeToken.resetToken":"토큰 재발급","merchantSettings.rules.revoke.title":"결제 링크 자동 취소","merchantWallet.generate.password.setup":"비밀번호 설정","merchantWallet.generate.seed.title":"시드 문구를 저장하세요.","pay.label.makePayment":"다음 판매자에게 결제하기","merchantWallet.tabs.title.coinSelection":"코인 선택","merchantSettings.sessions.otherSessions":"기타 세션","component.table.column":"열","merchantWallet.generate.password.title":"시드 문구에 비밀번호 추가하기","signup.forbidden.openOnDesktop":"PC에서 {link}를 열어 설정을 완료해 주세요.","dnd.settings.description":"이 기능을 활성화하면 Switch의 모든 판매자가 결제 요청 알림을 보내는 것이 차단됩니다. 또는, 일부 판매자만 차단될 수도 있습니다.","merchantBilling.modalToChangePlan.select.unlimited":"무제한","payment.error.date":"날짜","component.disconnectWallet.title":"지갑 연결 해제","merchantSettings.detonatorModal.setDetonator.title":"폭파 뇌관 설치","cycle.MONTH":"월","dnd.login.verifyWithOtp":"일회용 비밀번호로 인증","merchantWallet.generate.verification.description":"저장한 시드 문구를 참조하고 인증 절차를 완료해 주세요. 시드 문구를 저장하지 않았다면 설정을 취소하고 처음부터 다시 시작해야 합니다.","dnd.merchants.blockAll":"모든 알림 차단","payment.label.awaitingConfirmation":"확인 대기중","merchantBilling.balance.status.expires":"만료","plan.black.title":"Black","merchantClients.clientCreateModal.label.description":"추가된 고객은 삭제가 불가하지만 이름을 수정할 수 있습니다.","merchantBilling.balance.downgradesTomorrow":"내일 무료 플랜으로 다운그레이드됩니다.","errors.minAmountCannotBeDecimal":"금액은 소수점을 사용할 수 없습니다.","status.HOLD":"보류","signup.button.openDashboard":"대시보드 열기","adminMerchantsPruned.table.columns.baseCurrency":"화폐","signup.invitation.currencyDescriptionSubtext":"불가능합니다.","pay.notification.createPaymentContactMerchant":"결제를 생성하는데 실패하였습니다. 판매자에게 문의해 주세요.","plan.black.description":"결제 빈도가 높은 사업체를 위한 플랜. 금액은 하나, 결제는 무제한으로.","errors.INSUFFICIENT_BALANCE_FOR_THE_OPERATION":"판매자의 잔액이 부족하여 플랜 변경에 실패하였습니다.","errors.isEnum":"유효하지 않은 입력 값","merchantWallet.faq.question1.title":"공개 주소는 어떻게 사용하나요?","component.changeToken.title.changeToken":"토큰 변경","merchantClients.payments.title":"관련 결제","merchantSettings.changeEmail.label.resendCode":"코드 재전송","about.payments.title":"결제 요청 전송","merchantClients.table.columns.lastPayment":"최근 결제 정보","merchantWallet.generate.verification.title":"니모닉 (지갑 복구코드) 인증","merchantClients.clientCreateModal.error.min1Character":"고객명은 최고 1 글자가 필요합니다.","merchantClients.table.columns.status":"상태","errors.notMoreThan":"글자 수는 최대 {max} 를 초과할 수 없습니다.","merchantSettings.modalToDeleteAccount.confirm.title":"계정 삭제","merchantBilling.balance.unlimitedPayments":"무제한 결제","component.selectClient.label.placeholder":"이름/이메일로 찾기 또는 새 이메일 등록","merchantSettings.rules.antispam.title":"스팸 방지","merchantBilling.balance.learnMore":"플랜과 요금제에 대해 더 알아보기","status.DELIVERED":"송금","merchantBilling.label.reason":"이유","merchantWallet.tabs.title.selectCoins":"코인 선택","merchantSettings.api.modal.description":"제3자 응용 프로그램에서 사용할 토큰을 생성합니다. 토큰은 단일 IP 주소로 제한될 수 있습니다. {learnMore}","signup.invitation.invalidInvitation.title":"초대가 유효하지 않습니다.","dnd.settings.hello":"안녕하세요 {email} 님,","merchantWallet.tabs.title.start":"시작","cycle.QUARTERLY":"분기별","merchantPayments.paymentInfoModal.journal.subtitle":"이 동작은 되돌릴 수 없습니다.","merchantClients.clientCreateModal.tab.single":"단일 고객","payment.label.coinIsdisabledGlobally":"해당 코인은 사용할 수 없습니다.","merchantClients.clientCreateModal.title.add":"고객 추가","common.payment":"결제 정보","merchantWallet.generate.final.warningHint":"지갑 설정의 유효성을 확인하기 위해, Switch에 주소를 공개하기 전에 설정된 모든 암호화폐에 대해 소액의 테스트 송금
189을 진행하여 자금 수령 가능 여부를 확인하는 것을 추천합니다.","merchantWallet.label.importKeys":"데이터 가져오기","merchantPayments.table.columns.exchangeCurrency":"코인","merchantSettings.sessions.currentSession":"현재 세션","component.contactSupport.description":"{link}을 먼저 참조하시고 더 궁금하신 점이 있으면 메시지를 보내 주세요.","errors.wrongToken":"유효하지 않은 토큰입니다. 다시 시도해 주세요.","merchantBilling.filter.all":"전체","merchantPayments.table.columns.type":"유형","action.NAME_CHANGED":"변경되었습니다.","merchantBilling.label.credit":"예치","merchantDashboard.income.year":"올해","merchantWallet.generate.password.validation.max":"최대 {max} 글자수","errors.XMR_KEYCHAIN_INVALID":"유효하지 않은 모네로 키체인입니다.","common.back":"뒤로","merchantSettings.rules.slippage.title":"판매자 수수료 포함 설정","common.disabled":"사용 중지 상태","merchantPayments.createPaymentModal.label.amount":"금액","month.october":"10월","component.table.showOnPage":"{value} 표시","merchantSettings.general.accountNumber":"계정 번호","common.verify":"인증","component.changeToken.description.changeToken":"인증 토큰을 변경하려면 가입시 발급된 유효 시간 기반 일회용 비밀번호 또는 복구 코드를 입력하세요.","merchantBilling.balance.renew.title":"자동 갱신","servicePage.accessRescticted.title":"접근이 제한되었습니다.","dnd.login.enterCode":"{email} 으로 전송된 코드를 입력하세요.","merchantSettings.notification.resendCodeToVerifyEmailSuccess":"새로운 코드가 전송되었습니다. 이메일을 확인해 주세요.","merchantPayments.paymentInfoModal.label.notActivatedLink":"링크가 아직 활성화되지 않았습니다.","common.remaining":"남은","errors.minimumAmountByMerchant":"금액은 {min} {currency}보다 작을 수 없습니다.","about.payments.manageClients":"고객 관리","adminDeposits.table.columns.companyName":"판매자 이름","action.VOTING_DISAGREE":"비동의","merchantBilling.modalToChangePlan.preview.paymentsPer":"{period} 별 결제","merchantBilling.modalToRenew.paymentsLeftNow":"현재 남은 결제 수","status.SETTLED":"종료되었습니다.","signup.invitation.description":"암호화폐로 결제 받기를 시작하세요.","errors.isLength":"글자 수는 최소 {min} 이상, 최대 {max} 이하만 입력할 수 있습니다.","component.contactSupport.option.FEEDBACK":"고객의 소리","errors.WALLET_GEN_FAILED":"지갑 설정에 실패했습니다. 다시 시도해 주세요.","common.memo":"메모","action.CANCELLED_BY_MERCHANT":"판매자에 의해 취소되었습니다.","component.contactSupport.ticketIsCreated":"메시지가 전송되었습니다.","merchantClients.clientCreateModal.error.max50Characters":"이메일 길이는 50자리를 넘길 수 없습니다.","about.integration.accept.title":"지불받을 화폐 선택","merchantPayments.paymentInfoModal.label.notSet":"미설정","merchantSettings.security.recentActivity.title":"최근 활동","common.refresh":"새로 고침","merchantWallet.faq.question2.title":"익명 모드는 무엇인가요?","action.SIGHTED":"{amount} {currency} 이(가) 감지되었습니다.","common.cycle":"주기","merchantWallet.publicAddress.label.enabled":"공개 주소 활성화","about.opi.addition.text":"왜냐하면 {reason}","landing.description":"기업과 판매자를 위한 êµ­ê²½ 초월 암호화폐 뱅킹. 무제약. 무제한.","sidebar.tools":"도구","payment.help.paymentWindows.description":"결제 기한 타이머가 종료된 후에는 결제가 모니터링되지 않습니다. 이후에 전송된 모든 자금은 무시되며 결제에 관해 판매자에게 문의해야 합니다.","merchantWallet.import.importKeys.label.evmHint":"지원되는 제3사 ERC-20 토큰은 동일한 주소에서 사용 가능합니다.","action.RECOVERY_ATTEMPT":"복구 시도","component.selectClient.lastPaid":"최근 거래 이력","action.VOTED":"투표를 완료했습니다.","merchantSettings.api.table.key":"API 키","period.month":"월","merchantClients.clientInfoModal.button.save":"변경된 내용 저장","status.QUEUED":"대기중","action.INVITED":"{admin}에 의해 초대되었습니다.","component.table.search":"데이터베이스 검색","common.due":"만기","cycle.SEMI_ANNUAL":"반년","merchantDashboard.income.today":"오늘 수입","merchantWallet.title":"공개 주소","adminMerchants.table.columns.deletedAt":"삭제일","merchantWallet.generate.familySelection.bip39":"해당 코인군은 유사한 프로토콜을 사용하며 단일 시드 문구를 사용하여 접근할 수 있습니다.","component.accountRecovery.qrCodeAnnotation":"인증기 앱으로나 이 QR 코드를 스캔하고 표시된 시간 기반 일회용 비밀번호를 입력하세요.","period.hour":"시간","merchantSettings.tab.notifications":"알림","merchantSettings.detonatorModal.generateCode":"코드 생성","merchantBilling.filter.invoices":"인보이스","common.documentation":"문ì
189„œ","dnd.history.unblock":"차단 해제","merchantWallet.faq.title":"자주 사용되는 도움말","dnd.notifications.description":"Switch의 모든 판매자에 대한 설정 범용 관리","payment.label.coinIsDisabledByMerchant":"판매자가 현재 해당 코인 결제를 수락하지 않았습니다.","merchantWallet.publicAddress.label.disabled":"공개 주소 사용 중지","cycle.WEEKLY":"매주","errors.invalidCredentials":"유효하지 않은 자격 증명","component.upload.maxSize":"{fileName} 파일이 허용된 {maxSize}MB 최대 용량을 초과하였습니다.","merchantWallet.generate.seed.monero":"모네로 시드 문구","errors.NO_INCOME_STATEMENT":"해당 기간에 수입이 없습니다. 기간을 재설정해서 다시 시도해 보세요.","merchantSettings.changeName.description.tryAgain":"이름은 180일에 한 번 변경할 수 있습니다. {daysLeft} 일 뒤에 다시 시도해 주세요.","merchantPayments.table.columns.paymentId":"ID","merchantWallet.tabs.title.password":"비밀번호 설정","signup.label.accountReadyDescription":"승인에 사용될 계정 번호를 저장하세요. 계정 번호는 Switch에서 귀하의 신원이 됩니다.","component.selectClient.label.addNew":"새 고객 등록","merchantWallet.import.importKeys.label.publicViewKey":"공개 열람 키","errors.MERCHANT_SUBSCRIPTION_LIMIT_EXCEEDED":"요금 제한을 초과했습니다. 지원팀에 문의하세요.","merchantWallet.coins.title":"입금 가능 코인","about.phylosofy.title":"은행업의 혁명","adminDeposits.table.columns.paymentsCount":"결제 정보","merchantSettings.modalToDeleteApiKey.description":"이 동작은 취소할 수 없습니다. 추후 해당 API 키 사용 접근이 불가합니다.","format.time.12h":"오전/오후 (12시간)","merchantPayments.createPaymentModal.button.createPayment":"결제 생성","common.name":"이름","common.confirm":"확인","merchantSettings.general.title":"설정 관리","sidebar.resetCache":"캐시 재설정","merchantSettings.api.table.nodata":"제3자 앱 접근용 API 키를 생성합니다. ","merchantClients.deleteClientModal.title":"{name}을 삭제하시겠습니까?","action.CHANGED_TOTP_TOKEN":"시간 기반 일회용 비밀번호 토큰이 변경되었습니다.","merchantBilling.modalToRenew.paymentsLeftAfter":"플랜 강제 갱신 이후 남은 결제 수","payment.expired.unavailableTitle":"결제 불가","about.payments.description":"온라인으로 공개 접근이 가능한 고유 링크를 통해 사용자가 선택한 화폐로 고객에게 결제받기가 가능합니다.","merchantClients.clientCreateModal.label.clientName":"고객명","adminMerchants.table.columns.name":"이름","component.avatarManagement.editPicture":"이미지 편집","merchantSettings.rules.captcha.title":"캡챠 인증","status.PROGRESS":"처리중","merchantBilling.modalToChangePlan.preview.yearlyCost":"연간 비용","merchantWallet.publicAddress.label.minAmount":"최소 금액","merchantPayments.notification.sendPaymentRequestSuccess":"결제가 생성되고 알림이 전송되었습니다.","format.number.comma":"쉼표 구분자 ({value})","merchantSettings.api.modal.callbackUrl":"콜백 URL (선택사항)","merchantSettings.rules.desctruct.title":"계정 폭파","ariaLabel.switch":"switch","merchantSettings.sessions.killSession":"세션 #{number} 종료하기","merchantClients.clientCreateModal.serverError.clientIsExists":"동일한 이름의 고객이 이미 데이터베이스에 존재합니다.","merchantWallet.generate.password.button.set":"비밀번호 설정","errors.isNumber":"유효하지 않은 숫자","merchantWallet.generate.password.validation.min":"최소 {min} 글자수","component.accountRecovery.enterTotp":"시간 기반 일회용 비밀번호 입력","sidebar.reports":"보고서","errors.uidLength":"UID 길이는 7자리만 가능합니다.","merchantSettings.changeToken.description":"계정은 시간 기반 일회용 암호로 보호됩니다.","signup.invitation.title":"판매자 계정 설정을 완료해 주세요.","landing.errors.tooManyAttempts":"시도 횟수를 초과하였습니다. 잠시 후 다시 시도해 주세요.","adminDeposits.table.columns.lastPayment":"최근 결제 내역","status.FAILED":"실패","payment.label.toNetworkAddress":"{networkName} 네트워크 주소로 송금","merchantSettings.tab.api":"API","merchantClients.table.columns.revenue":"소득","merchantSettings.notification.updateRulesSuccess":"설정이 변경되었습니다.","currency.kr":"대한민국 원","merchantSettings.notification.updateMerchantNameSuccess":"이름이 변경되었습니다.","pay.label.memoPlaceholder":"메모 추가","merchantBilling.balance.label.cancelPlan":"플랜 취소","pay.label.emailPlaceholder":"이메일을 입력하세요.","merchantPayments.paymentInfoModal.title":"결제 상세정보","signup.notification.resendEmailSuccess":"코드가 재전송되었습니다.","payment.complete.rate":"환율","merchantWallet.generate.seed.description":"아래 시드 문구는 멀티 코인 지갑에 접근할 수 있는 열쇠입니다. 시드 문구가 없으면 멀티 코인 지갑은 복원할 수 없습니다.","merchantSettings.modalToDeleteAccount.code.title":"시간 기반 일회용 비밀번호 입력","sidebar.merchants":"판매자","common.addMemo":"메모 추가","merchantDashboard.totalRecieved.description":"완료된 결제 내역에서 합산한 역대 코인 수익 총합.","adminMerchants.table.columns.plan":"플랜","currency.jp":"일본 엔","merchantPayments.label.disabledTooltip":"결제 요청을 생성하려면 먼저 지갑을 설정해야 합니다.","merchantDashboard.setupWallet":"결제를 받기 위해서는 지갑을 설정하세요.","merchantSettings.api.modal.addApi":"새로운 API 키 추가","component.changeToken.description.setupNewToken":"토큰을 생성하려면 소프트웨어 인증기를 사용하여 아래 QR 코드를 스캔하세요.","component.disconnectWallet.label.totp":"확인을 위해 시간 기반 일회용 비밀번호를 입력하세요.","merchantClients.clientCreateModal.label.bottomDescription":"추가 시 이메일 알림이 전송되지 않습니다.","status.INACTIVE":"비활성화","adminMerchants.table.columns.deposit":"입금 내역","merchantBilling.history.noHistory.title":"입금을 통해 시작하세요.","payment.error.subtitle":"해당 결제를 완료하는데에 오류가 발생했습니다. 판매자에게 문의해 주세요.","month.june":"6월","payment.expired.UNDERPAID_EXPIRED_WITH_TWO_TX":"이 주소에서 감지된 복수의 결제 합산이 청구된 금액과 일치하지 않아 갑작스러운 결제 기한 만료가 되었습니다.","action.DEPOSITED":"{currency}{amount}을(를) 입금했습니다.","common.close":"닫기","component.dateRangePicker.cannotBiggerThanEnd":"종료일 이후 날짜는 입력할 수 없습니다.","merchantPayments.notification.paymentCancelledSuccess":"결제가 취소되었습니다.","currency.in":"인도 루피","payment.label.sent":"송금액","currency.il":"이스라엘 셰켈","merchantSettings.notifications.quota.tip":"할당량이 부족하여 이 계정에 대한 외부/자동 결제 생성 시도가 차단될 때마ë
189‹¤ 알림이 전송됩니다.","status.OPEN":"열림","action.LOGGED_IN":"이미 로그인되어 있습니다.","merchantBilling.balance.renew.description":"잔액이 충분할 경우 만기 시 자동으로 플랜을 갱신합니다.","merchantClients.clientCreateModal.title.import":"고객 가져오기","merchantPayments.createPaymentModal.title":"결제 생성","merchantWallet.generate.familySelection.button.cancel":"지갑 설정 취소","status.CONFIRMED":"확인","merchantClients.clientCreateModal.subtitle.bulk":"가져오기를 처리하기 전에 하단에서 입력 오류를 수정해야 합니다. 목록 또는 데이터베이스 내 중복 항목 (이메일로 식별) 은 가져오기 시 무시됩니다.","landing.labels.support":"서비스 지원","month.july":"7월","adminDeposits.table.columns.revenue":"소득","merchantBilling.balance.status.renewal":"갱신","currency.hk":"홍콩 달러","merchantBilling.balance.expiresToday":"오늘 만료됩니다.","status.UNREGISTERED":"회원 미가입","merchantSettings.notification.emailWasChangedSuccess":"이메일이 변경되었습니다.","cycle.WEEK":"주","common.disable":"사용 중지","common.payments":"결제 정보","pay.label.incognito":"판매자가 익명 결제를 활성화했습니다. 이 거래에는 이름이나 이메일 주소를 연동할 수 없습니다.","merchantPayments.table.columns.baseAmount":"가격","signup.label.accountReady":"회원가입이 완료되었습니다!","status.UNCONFIRMED":"미확인","signup.button.sendCode":"인증 코드 발송","signup.invitation.linkExpired.description":"이 링크는 유효기간이 지났습니다.","dnd.history.title":"판매자 이력","plan.business.title":"Business","adminInvoices.table.columns.companyName":"판매자명","adminInvoices.table.columns.uid":"UID","merchantWallet.publicAddress.label.on":"켜짐","errors.isRequired":"필수 입력 항목입니다.","merchantSettings.notification.saveProfilePictureSuccess":"설정이 변경되었습니다.","merchantWallet.generate.familySelection.description":"수락할 코인군에 따라 여러 개의 시드 문구 (니모닉) 이 생성될 수 있습니다.","merchantClients.notification.bulkAddClientsSuccess":"가져오기에 성공했습니다. 오류를 찾을 수 없습니다.","merchantWallet.generate.seed.bip39":"BIP39 시드 문구","merchantWallet.tabs.title.seed":"시드 문구","period.day":"일","errors.superUidLength":"UID는 3자리 이상이어야 합니다.","merchantClients.label.createButton":"고객 추가","merchantSettings.changeName.description.default":"이름은 180일에 한 번 변경할 수 있습니다.","ariaLabel.twitter":"Twitter","payment.manualComplete.title":"결제 완료","merchantBilling.modalToCancelPlan.title":"플랜 취소","component.selectClient.label.newClientTitle":"새 고객이 추가됩니다.","action.UNSUSPENDED":"정지가 해제되었습니다.","signup.title":"판매자 계정 설정","action.TOKEN_CHANGED":"토큰이 변경되었습니다.","merchantWallet.import.importKeys.extraCoins.description":"트론의 TRX나 BSC의 BNB 등 네이티브 토큰은 결제 지원이 되지 않습니다.","payment.manualComplete.description":"이 결제는 판매자가 수동으로 완료로 표시했습니다. 이 결제에 대해서는 영수증이 생성되지 않습니다.","about.integration.accept.description":"Switch는 비트코인(BTC), 라이트코인(LTC), 대시(DASH), 모네로(XMR)를 지원합니다. 지갑으로 직접 결제를 받으세요.","paymentType.PUBLIC_PAYMENT":"공개","component.changeToken.title.setupNewToken":"새 토큰 생성","format.date.monthDateYear":"월/일/연도","pay.notification.paymentQuotaExhaustedSystemError":"결제를 생성할 수 없습니다. 판매자에게 문의해 주세요.","merchantPayments.paymentInfoModal.button.cancel":"결제 취소","merchantSettings.security.recentActivity.action":"동작","period.weekly":"주간","merchantClients.clientCreateModal.error.notAnEmail":"유효한 이메일 주소가 아닙니다.","merchantSettings.modalToDeleteAccount.confirm.warning3":"계좌에 있는 예금은 모두 영구적으로 무효화됩니다.","cycle.SEMI_ANNUALLY":"연 2회","merchantBilling.balance.renewalToday":"오늘 갱신됩니다.","merchantSettings.modalToDeleteAccount.confirm.warning1":"계정 삭제를 진행하려면 소프트웨어 인증기에 표시된 6자리 코드를 입력하십시오. 이 동작은 되돌릴 수 없습니다.","merchantSettings.notifications.payments.paymentReceived":"대금이 수령되었습니다.","adminMerchants.table.columns.cycle":"주기","merchantSettings.modalToDeleteAccount.confirm.warning2":"시스템의 모든 관련 데이터와 함께 계정이 영구적으로 삭제됩니다.","merchantClients.clientCreateModal.error.syntax":"구문상 오류","currency.us":"미국 달러","merchantPayments.paymentInfoModal.label.cancelledAutomaticly":"결제가 자동으로 취소되었습니다.","merchantDashboard.notification.code500":"코드 500, 시스템 오류","merchantSettings.api.logs.noD
189ata":"기록이 존재하지 않습니다.","adminDeposits.table.columns.id":"입금 ID","payment.complete.fees":"네트워크 수수료","merchantWallet.import.selectCoins.description":"수락할 코인을 선택하면 다음 단계에서 필수 키/데이터를 불러옵니다. 설정이 완료되면 개별 코인은 추가/제거가 불가하며, 설정 마법사를 다시 시작해야 합니다.","payment.expired.underpaidBy":"결제 미완납 잔액 {amount} {currency}","merchantPayments.table.columns.memo":"메모","currency.ua":"우크라이나 흐리우냐","merchantClients.clientsFilter.dndToggle":"{status} 활성 클라이언트 표시","component.table.noRecords":"해당 항목을 찾을 수 없습니다.","header.expires":"{date} 에 만료","status.FAIL":"실패","currency.th":"태국 바트","merchantWallet.import.start.title":"공개 키 불러오기","merchantSettings.rules.slippage.description":"귀하의 사업체에서 자금결제/환전에 사용되는 수수료를 모든 결제 건의 코인 액수에 % 증액으로 포함 적용합니다. 이 비율 (슬리피지) 은 고객에게 공개되며 스테이블코인은 해당되지 않습니다.","merchantWallet.import.importKeys.description":"Switch는 공개키 또는 EVM* 주소 등의 공개적 정보를 사용하여 결제를 제공합니다. Switch는 이 페이지에 입력한 데이터로 사용자의 자금을 통제할 수 없습니다. 예를 들어 모네로의 경우, 개인 읽기 키, 공개 읽기 키와 공개 사용 키가 모두 필요합니다. 따라서 Switch는 사용자의 자금 통제권한이 일절 없습니다.","payment.expired.EXPIRED_WHILE_CONFIRMING":"해당 입금 주소에서 감지된 거래에 대한 확인 기간이 만료되었습니다.","merchantSettings.rules.api.description":"제3사 응용 프로그램에서 생성된 결제에 유사한 ì¡°ê±´ 적용하기","merchantBilling.modalToChangePlan.preview.downgrade":"{icon} {plan} 으로 다운그레이드","format.date.yearMonthDate":"연도/월/일","payment.complete.transaction":"블록체인에서 {number} 거래 보기","errors.ACCOUNT_EXISTS":"이미 사용 중인 이메일입니다.","merchantWallet.generate.familySelection.title":"코인 선택","currency.sg":"싱가폴 달러","merchantBilling.label.invoice":"인보이스","merchantClients.clientCreateModal.error.nameRequired":"이름은 필수 항목입니다.","merchantWallet.faq.question3.descriptionLink":"지갑 연결 해제","errors.noZeroAsFirstDigit":"UID는 0으로 시작할 수 없습니다.","action.UNDERPAID_AND_EXPIRED":"금액 부족 및 기한 만료 상태입니다.","payment.expired.noTransactions":"입금주소에서 결제 기한 내 거래가 감지되지 않았습니다.","servicePage.underMaintenance.description":"잠시 후에 서비스가 재개됩니다.","merchantWallet.generate.final.finish":"설정 마무리","about.integration.crypto.description":"Switch는 대부분의 크로스 플랫폼 지갑과 호환 가능하며, 최상의 호환성을 위해 동일한 범용 표준을 준수합니다.","merchantPayments.table.columns.address":"주소","merchantWallet.tabs.title.keys":"데이터 가져오기","component.accountRecovery.description2":"모든 이전 복구 코드는 무효화되고 새로운 복구 코드 목록이 생성됩니다.","component.contactSupport.option.QUESTION":"질문사항","currency.ru":"러시아 루블","merchantPayments.notification.paymentCancelledFail":"결제를 취소할 수 없습니다.","merchantSettings.general.saveChanges":"변경사항 저장","component.accountRecovery.description1":"검증 후, 현재 인증 토큰이 무효화되고 새 인증 토큰으로 대체됩니다.","sidebar.wallet.setup":"설정","landing.lostToken.label":"토큰 찾기","component.upload.limit":"최대 {limit}개의 파일만 허용됩니다.","merchantWallet.generate.password.validation.match":"비밀번호가 일치하지 않습니다.","adminMerchants.table.columns.baseCurrency":"화폐","merchantBilling.modalToCancelPlan.cycleBegins":"다음 갱신일로부터 주기가 시작됩니다.","common.revenue":"소득","signup.invitation.sessionExpired.title":"세션이 만료되었습니다.","merchantWallet.generate.start.title":"새 지갑 생성","about.payments.descriptionMobile":"내장된 아이콘과 이미지를 통해 자유로운 디자인이 가능합니다.","merchantWallet.label.supportedTronTokens":"트론 블록체인상의 사용 가능한 TRC-20 토큰","signup.invitation.invalidInvitation.button":"홈페이지로 돌아가기","merchantClients.clientCreateModal.warning.limitExceeded":"한도 초과","sidebar.wallet.setupWallet":"지갑 설치","dnd.help":"도움이 필요하세요?","status.UNDERPAID":"결제액 부족","servicePage.underMaintenance.title":"점검 중입니다.","dnd.history.description":"알림을 보낸 이력이 있는 판매자들 목록입니다.","signup.description":"암호화폐로 결제 받기를 시작하세요.","merchantSettings.changeEmail.description.enterTotp":"이메일을 변경하려면 인증기 앱에 표시된 6자리 코드를 입력하세요.","merchantSettings.rules.desctruct.description":"특정 기간 동안 계정이 장기 비접속 상태일 시 모든 관련 데이터를 삭제합니다. 이 작업은 영구적이며 되돌릴 수 없습니다. 특정 비접속 기간에 도달하면 이메일로 경고가 전송되고 ê·¸ 후에도 일정 기간 내 접속이 없을 시 계정이 삭제됩니다. 삭제 시 기존 결제 대금도 삭제되어 복원이 불가능합니다.","errors.INVALID_ACCOUNT":"유효하지 않은 계정","cycle.MONTHLY":"매월","merchantBilling.modalToChangePlan.preview.description":"새로운 청구일은 확인 후 즉시 적용됩니다. 할당량이 거의 소진될 때만 플랜을 변경하는 것이 좋습니다. 남은 결제 할당량은 변경된 플랜에 {0}","ariaLabel.telegram":"Telegram","action.CANCELLED_BY_SYSTEM":"시스템에 의해 취소되었습니다.","adminMerchantsPruned.table.columns.email":"이메일","merchantSettings.rules.captcha.description":"공개 주소 페이지에서 결제 생성시 캡챠 인증 필수 사용하기","action.LINK_CREATED":"링크를 생성하였습니다.","merchantBilling.balance.downgradesInValueDays":"{value}일 후에 무료 플랜으로 다운그레이드됩니다.","merchantSettings.tab.general":"일반","merchantWallet.coins.label.generated":"Switch를 통해 {date} {time} 에 지갑이 생성되었습니다.","merchantSettings.notifications.access.title":"접속","action.LINK_REVOKED":"링크가 취소되었습니다."},P5e={"dnd.history.manage":"Управлять","merchantSettings.label.preparingData":"Подготовка данных","dnd.notifications.title":"Ð
189Ð°ÑÑ‚ройки режима «Не беспокоить»","merchantBilling.history.title":"История","payment.error.title":"Ошибка","merchantPayments.paymentInfoModal.label.depositAddress":"Адрес депозита","errors.MERCHANT_CLIENT_LIMIT_EXCEEDED":"Превышен лимит. Обратитесь в службу поддержки","merchantClients.payments.noData":"Нет связанных платежей","merchantPayments.paymentInfoModal.tab.journal":"Журнал","merchantSettings.tab.security":"Безопасность","period.week":"недель | неделя | недели | недель","common.search":"Поиск","plan.business.description":"Для малого бизнеса и стартапов с пользовательской базой.","merchantPayments.paymentInfoModal.label.cantBeCancelled":'Платежи со статусом "ожидание" не могут быть отменены',"merchantSettings.general.pictureDescription":"Доступно на странице публичного адреса","signup.footer.authenticatedMerchant":"Вы уже вошли в систему как {merchantName}","errors.tokenLength":"Длина токена должна быть 6","adminDeposits.table.columns.exchangeCurrency":"Монета","landing.lostToken.secondaryText":"В противном случае доступ не может быть восстановлен.","action.COMPLETED":"Завершено","errors.CONNECTION_LOST":"Соединение потеряно","adminDeposits.table.columns.address":"Адрес","merchantWallet.label.generateWallet":"Сгенерировать новый кошелек","plan.free.title":"Free","merchantBilling.modalToRenew.newExpiryDate":"Новая дата истечения срока действия","merchantBilling.balance.label.renewNow":"Обновить сейчас","merchantSettings.api.table.ip":"IP","merchantDashboard.statement.monthly":"Отчет за последний месяц","merchantBilling.notification.changeMerchantPlanSuccess":"План изменен!","errors.GEN_SERVICE_FAIL_ON_ATTACHMENT":"Внутренняя ошибка","signup.label.emailPlaceholder":"Введите адрес электронной почты","merchantBilling.modalToRenew.description":"Принудительное продление вашего плана продлит ваш текущий платежный цикл еще на месяц/год и перенесет вашу оставшуюся квоту платежей в новый цикл. Это не обновление и сработает только тогда, когда у вас останется 10% (или меньше) от общей квоты. Используйте это, если ваши лимиты скоро истекут","sidebar.wallet.disconnect":"Отключить кошелек","payment.unconfirmed.subtitle":"Ваша транзакция обнаружена","merchantDashboard.totalRecieved.thirdPartyTokensTooltip":"Отображаются только токены с историей платежей","merchantWallet.generate.familySelection.monero":"Эта seed фраза будет работать только с Monero.","payment.expired.title":"Срок платежа истек","common.active":"Активно","merchantSettings.notifications.emailNotification":"Почта","about.knowledge.title":"Ваша сокровищница зашифрована в алгоритмическом наборе произносимых слов, известных только вам, и доступна в любом месте.","merchantWallet.generate.verification.wrong":"Ответы неверны","merchantWallet.generate.final.title":"Настройка завершена","merchantBilling.history.noHistory.description":"Здесь вы увидите историю своих транзакций","payment.label.highFeeNetworkTooltip":`В сумму включены высокие сетевые сборы, взимаемые Switch.
190`,"payment.label.tokenIsdisabledGlobally":"Этот токен в настоящее время недоступен","action.PLAN_CANCELLED":"План отменент","common.reset":"Сбросить","merchantWallet.generate.password.validation.notEmpty":"Пароль не может быть пустым","merchantSettings.notification.updateNotificationSuccess":"Настройки обновлены","ariaLabel.signup":"Зарегистрироваться","merchantBilling.balance.currentPlan":"Текущий план","merchantBilling.modalToChangePlan.preview.buttonDowngrade":"Подтвердить понижение за {money}","adminDeposits.table.columns.status":"Статус","landing.errors.invalidTotp":"НЕВЕРНЫЙ TOTP","merchantWallet.import.final.description":"Кошельки сконфигурированы. С этого момента вы готовы начать принимать криптовалюту от своих клиентов.","period.year":"лет | год | года | года","adminStaff.table.columns.status":"Статус","errors.isNotEmail"
190:"Введен некорректный email","status.ALLSTATUSES":"Все статусы","action.CREDITED":"Зачислено","merchantClients.table.columns.clientId":"ID","component.changeToken.returnToLogin":"Войти заново","merchantPayments.table.columns.expectedAmount":"Ожидаемая сумма","landing.labels.home":"Главная","merchantSettings.notifications.quota.eightyPercentUsed":"80% использовано","about.opi.addition.reason":"не ваши ключи, не ваши монеты.","month.august":"Август","payment.externalError.subtitle":"При создании этого платежа произошла ошибка, пожалуйста, свяжитесь с мерчантом напрямую.","merchantClients.table.columns.paymentsCount":"Кол-во завершенных платежей","merchantBilling.modalToRenew.currentExpiryDate":"Текущая дата истечения срока действия","component.dateRangePicker.enterDateWithFormat":"Введите дату в формате {value}","merchantSettings.security.recentActivity.date":"Дата","landing.header.about":"О нас","merchantSettings.modalToDeleteAccount.code.description":"Чтобы продолжить удаление учетной записи, введите 6-значный код, отображаемый на вашем программном аутентификаторе.","merchantSettings.api.logs.downloadLog":"Скачать лог","merchantPayments.label.statusTooltip.isCompleteManual":"Этот платеж отмечен как выполненный вручную","merchantWallet.import.importKeys.label.tvm":"Адрес TVM","merchantBilling.addBalance.footer":"Депозиты должны превышать 1 доллар США и требуют трех подтверждений сети, прежде чем они будут зачислены на ваш баланс.","dnd.label.dnd":"Do Not Disturb","merchantSettings.notifications.quota.attemptToExceed":"Попытка превысить","component.changeToken.terms.accountRecovery":"Восстановление учетной записи невозможно без действительного TOTP или кода восстановления.","errors.TECHNICAL_ERROR":"Техническая ошибка. Пожалуйста, свяжитесь со службой поддержки","component.disconnectWallet.option1":"Я больше не смогу принимать платежи, если на моем счету не будет активного кошелька.","component.disconnectWallet.option2":"Отключение этого кошелька от Switch не повлияет на средства в моем кошельке.","component.disconnectWallet.option3":"Чтобы снова начать принимать платежи, мне придется настроить новый кошелек с нуля. Отключенные кошельки не могут быть восстановлены.","payment.label.thirdPartyTokenFee":"Комиссия включает сетевые сборы, понесенные Switch.","merchantClients.clientCreateModal.tab.bulk":"Массовый импорт","merchantClients.clientInfoModal.title":"Детали клиента","merchantWallet.import.selectCoins.title":"Выберите монеты","component.contactSupport.attachFilesNote":"Прикрепите до 5 файлов (10 Мб каждый)","merchantBilling.modalToRenew.yourPlan":"Ваш план","merchantClients.clientFull.deleteClient":"Удалить клиента","plan.pro.description":"Рекомендуется для частных лиц и фрилансеров.","merchantPayments.paymentInfoModal.label.cancelledManually":"Платеж был отменен вручную","merchantBilling.label.hash":"Хэш транзакции","merchantWallet.label.supportedBscTokens":"Поддерживает BEP-20 токены в Binance Smart Chain","merchantBilling.balance.renew.cannotBeEnabled":"Невозможно включить, так как ваш план помечен для отмены. Опция включается автоматически при переходе на любой платный план.","errors.NOT_ALLOWED_TO_BLOCK_MERCHANT":"Заблокировать мерчанта в данный момент невозможно","merchantClients.notification.bulkAddClientsWithDublicationsSuccess":`Импорт прошел успешно. Ошибок не обнаружено. 
191{amount} существующих записей было проигнорировано.`,"landing.labels.goodbye":"До скорых встреч","signup.button.createAccount":"Создать аккаунт","cycle.YEAR":"Год","merchantSettings.changeName.title":"Изменить имя мерчанта","component.changeToken.title.saveRecovery":"Сохранить коды восстановления","errors.TICKET_NOT_CREATED":"Ваш запрос не был отправлен. Пожалуйста, повторите попытку позже","merchantClients.clientCreateModal.error.entriesFound":"{value} существующих записей найдено | {value} существующая запись найдена | {value} существующих записей найдено | {value} существующих записей найдено","errors.INVALID_CODE":"Неверный код","dnd.notifications.changeStatusSuccess":"Статус «Не беспокоить» обновлен.","signup.logout.label":"Вы должны выйти из текущего сеанса, прежде чем сможете зарегистрировать новую учетную запись.","signup.companyName.permanent":"Валюта аккаунта явл
191яется постоянной","signup.invitation.sessionExpired.button":"Начать регистрацию заново","common.warning":"предупреждение","ariaLabel.learnMore":"Узнать больше","merchantPayments.createPaymentModal.button.createPaymentAndNotify":"Создать платеж и уведомить клиента","merchantPayments.createPaymentModal.label.paymentCannotBeCreated":'Уведомления о платежах не могут быть отправлены клиентам с включенным режимом "Не беспокоить".',"component.accountRecovery.tryAgain":"Начать сначала","ariaLabel.password":"Пароль","component.timeZone.utcTime":"UTC","errors.PUBV_INVALID":"Неверный публичный ключ","errors.notMaxThan":"Значение не должно быть больше чем {max}","merchantSettings.rules.antispam.description":"Примените ограничение скорости/период ожидания между платежами для каждого IP-адреса, генерирующего платежи со страницы общедоступного адреса.","merchantWallet.import.importKeys.label.evm":"Адрес EVM","about.knowledge.description":"Знание - сила.","merchantBilling.modalToChangePlan.preview.upgrade":"Повысить до {icon} {plan}","errors.PUBS_INVALID":"Неверный открытый ключ","action.SUSPENDED":"Приостановлен","merchantBilling.balance.status.quota":"Квота сбрасывается","merchantSettings.api.modal.addNote":"Добавить заметку","errors.INVALID_CREDENTIALS":"Неверные учетные данные","merchantWallet.file.phraseSwitch":"seed","month.november":"Ноябрь","merchantPayments.label.createButton":"Создать Платеж","common.resend":"Отправить","merchantClients.clientCreateModal.error.emailRequired":"Эл. почта обязательна","signup.footer.terms":"Условия пользования","merchantSettings.notifications.quota.title":"Квота","errors.CLIENT_EXIST":"Такой клиент уже существует","merchantSettings.notifications.quota.fiftyPercentUsed":"50% использовано","signup.invitation.invalidInvitation.description":"Эта ссылка для приглашения либо недействительна, либо просрочена, либо уже использовалась.","component.filter.cycle":"Цикл","merchantWallet.generate.verification.word":"{num} слово во фразе это","merchantSettings.changeToken.title":"Изменить токен","payment.help.underpayments.title":"Недоплаты","servicePage.tooManyRequests.title":"Слишком много запросов","merchantPayments.createPaymentModal.description":"Создайте уникальную платежную ссылку для вашего клиента","payment.complete.notAvailable":"Недоступно для этого платежа","component.selectClient.paidPaymentsAmount":"{amount} c {paymentsAmount} платежей | {amount} c {paymentsAmount} платежа | {amount} c {paymentsAmount} платежей ","about.opi.title":"Одна публичная личность","merchantBilling.balance.title":"Баланс","dnd.login.manage":"Управлять настройками","adminStaff.table.columns.email":"Эл. почта","component.historyBlock.address":"Адрес","landing.labels.recoveryDetected":"Обнаружен код восстановления","component.avatarManagement.uploadPicture":"Загрузить новое изображение","merchantSettings.notification.requestToChangeEmailSuccess":"Запрос на замену по электронной почте отправлен.","merchantWallet.faq.question3.description":"Здесь отображаются только те монеты, которые были выбраны при настройке кошелька, индивидуально добавлять/удалять монеты невозможно. Вам необходимо {0} и настроить его заново, если вы хотите добавить новые монеты.","merchantWallet.faq.question2.description":`Если вы хотите получать платежи анонимно (без имени или адреса электронной почты, связанного с платежом), этот режим можно включить. 
192Режим инкогнито требует добавления к платежу памятки (небольшого описания) для справки.`,"merchantWallet.publicAddress.label.incognito":"Режим инкогнито","common.client":"клиентов | клиент | клиента | клиентов","merchantSettings.rules.detonator.title":"Детонатор","dnd.notifications.disabled.title":"Заблокировано","merchantBilling.modalToCancelPlan.description":"Ваш план будет понижен до бесплатного в следующую дату продления.","adminInvoices.table.columns.cycle":"Период","merchantWallet.label.seedPhrase":"Seed-фраза","errors.CLIENT_CAN_NOT_BE_DELETED":`Клиент не может быть удален
193`,"merchantClients.notification.changeClientNameSuccess":"Имя клиента изменено","component.historyBlock.noHistory":"У этого платежа пока нет истории операций.","landing.labels.documentation":"Документация","merchantBilling.modalToRenew.title":"Принудительное обновление","merchantPayments.paymentInfoModal.journal.title":"Проведите, чтобы подтвердить","merchantBilling.modalToChangePlan.select.yourBalance":"Ваш баланс","common.createNew":"Добавить","currency.gb":"Британский фунт","merchantSettings.modalToDeleteAccount.final.returnToHome":"Вернуться на главную страницу","merchantPayments.table.columns.activatedAt":"Дата активации","merchantWallet.publicAddress.button.save":"Сохр.","sidebar.wallet.publicAddress":"Публичный aдрес","common.poweredBy":"Разработано {switchLogo}
193","common.save":"Сохранить изменения","merchantBilling.balance.downgradesToday":"Сегодня состоится переход на бесплатный план","component.changeToken.description.saveRecovery":"Любой из этих кодов можно использовать один раз для входа/восстановления.","header.menu.billing":"Биллинг","status.SUSPENDED":"Приостановленный","action.VOTING_WINDOW_EXPIRED":"Окно голосования истекло","merchantSettings.general.numberFormat":"Формат чисел","merchantPayments.label.statusTooltip.isUnderpaidAndExpired":"Этот платеж был частично оплачен до истечения срока его действия.","merchantBilling.balance.depositAddress":"Адрес депозита","status.PRE_NEW":"Pending","merchantSettings.tab.rules":"Правила","merchantBilling.modalToChangePlan.preview.dueDate":"Новый срок оплаты","errors.ACCOUNT_UNAVAILABLE":"Аккаунт недоступен","errors.MERCHANT_DOES_NOT_EXIST":"Мерчанта не существует","merchantSettings.notification.verifyEmailSuccess":"Электронная почта подтверждена","merchantWallet.notification.walletRemoveSuccess":"Кошелек успешно удален","landing.header.more":"Подробнее","merchantPayments.paymentInfoModal.label.journalAvailable":"Доступно только для просроченных или отмененных платежей.","status.COMPLETE":"Завершенный","currency.eu":"Евро","payment.complete.slippageIncluded":"Этот платеж включал в себя надбавку, установленную мерчантом.","merchantClients.table.columns.createdAt":"Дата регистрации","component.disconnectWallet.button.disconnect":"Отключить кошелек","common.enable":"Включить","month.september":"Сентябрь","signup.label.saveCodesTitle":"Сохраните коды восстановления","merchantClients.clientCreateModal.subtitle.single":"Отслеживайте статистику (доходы/платежи) с одного и того же почтового адреса","common.amount":"Сумма","component.table.itemsPerPage":"Элементов на странице","merchantSettings.detonatorModal.detonationCode.description":"Используйте с умом. Ввод этого кода при входе в систему приведет к немедленному самоуничтожению вашей учетной записи. Этот код больше не будет отображаться.","merchantSettings.notification.addImageFormatErrorNotification":"Разрешены только JPG, JPEG, PNG.","about.phylosofy.description":"Switch не является банковским учреждением, поставщиком кошельков или обменником и работает исключительно на уровне приложений, не имея доступа к вашим средствам. Это означает отсутствие необходимости в прохождении процедуры KYC, отсутствие лимитов, и вы получаете полную защиту - конфиденциальность по умолчанию.","sidebar.settings":"Настройки","signup.invitation.sessionExpired.description":"Срок вашей регистрации истек, пожалуйста, начните процесс регистрации заново. Все текущие данные были удалены.","status.BOUNCED":"Отскочил","component.changeToken.save":"Сохранить","component.contactSupport.sendButton":"Отправить сообщение","component.filter.creationDate":"Дата создания","merchantSettings.changeEmail.description.changeEmail":"Ð
193’ведите желаемый адрес электронной почты, для подтверждения будет отправлен OTP.","merchantSettings.notification.updateSlippageSuccess":"Настройки обновлены","merchantSettings.notification.generateApiKeySuccess":"Ключ был сгенерирован","merchantSettings.security.recentActivity.session":"Сессия","merchantDashboard.income.total":"Всего","errors.extra_spaces":"Присутствуют лишние пробелы","signup.label.scanCode":"Отсканируйте QR-код с помощью любого приложения для аутентификации и введите TOTP.","payment.label.otherTokenAlert":"Любой токен, кроме {coin}, отправленный на этот адрес, не будет обнаружен.","merchantPayments.paymentInfoModal.label.revokeIn":"через {time}","merchantSettings.detonatorModal.setDetonator.description":"Введите действительный TOTP, чтобы продолжить.","merchantSettings.modalToDeleteAccount.final.description":"Все связанные данные были удалены без возможности восстановления. Удаленные номера счетов или UID являются уникальными и Ð
193½Ð¸ÐºÐ¾Ð³Ð´Ð° не переназначаются новым мерчантам.","merchantPayments.paymentInfoModal.journal.paidManually":"Отмечено оплачено вручную {date} в {time} со следующей записью в журнале","signup.notification.sessionExpired":"Сессия истекла","currency.ch":"Швейцарский франк","merchantDashboard.totalRecieved.tooltip":"Это не баланс вашего кошелька. Для просмотра своего баланса, вам необходимо импортировать seed-фразу своего кошелька в любое совместимое приложение. Switch не может получить доступ к вашему кошельку.","common.all":"Все","merchantSettings.security.title":"Управление доступом к аккаунту","common.importAction":"Импортировать","merchantSettings.notification.updateMerchantNameFail":"Что-то пошло не так","currency.cn":"Китайский юань","adminMerchants.table.columns.uid":"UID","common.unavailable":"Недоступно","merchantWallet.notification.atLeastOneCoinWarning":"Хотя бы одна монета должна оставаться включенной","merchantWallet.publicAddress.label.off":"выкл.","period.quarterly":"Квартальных","header.menu.account":"Аккаунт","dnd.settings.option2":"Вы по-прежнему будете получать уведомления по электронной почте о платежах, которые вы совершаете любому мерчанту через его публичный адрес, если вы введете туда свой адрес электронной почты.","dnd.settings.option1":"Режим «Не беспокоить» затрагивает всех мерчантов","about.opi.desctiption":"Ваш уникальный номер, который позволяет вам принимать платежи непосредственно в ваши криптокошельки, сохраняя при этом полную ответственность за свои средства, доступные на любом устройстве через вашу seed-фразу.","merchantDashboard.monthlyIncome.description":"Совокупная сумма не включает в себя недоплаченные платежи.","merchantPayments.createPaymentModal.label.autoRevokeIn":"Авто-отмена через","merchantBilling.balance.label.changePlan":"Изменить план","merchantPayments.table.columns.marketRate":"Ставка","ariaLabel.file":"Файл","header.menu.logout":"Выйти","errors.isNotEmpty":"Поле не может быть пустым","landing.labels.copyTorAddress":"Скопировать TOR-адрес (.onion)","landing.labels.inputToken":"Введите TOTP","merchantBilling.balance.noPaymentsLeft":"Платежей не осталось","merchantSettings.changeEmail.title.enterTotp":"Введите TOTP","action.EMAIL_CHANGE":"Почтовый адрес изменен","payment.error.errorCode":"Код ошибки","merchantBilling.balance.quotaResetsInDays":"Квота сбрасывается через {value} дней | Квота сбрасывается через {value} день | Квота сбрасывается через {value} дня | Квота сбрасывается через {value} дней ","month.february":"Февраль","servicePage.notFound.description":"Страница, которую вы ищете, не существует или была перемещена.","merchantSettings.general.timezone":"Часовой пояс","merchantClients.notification.deleteClientSuccess":"Клиент удален","merchantClients.clientCreateModal.label.clientNameNote":"Это имя предназначено только для справки и не доступно клиенту.","currency.ae":"Дирхам ОАЭ","adminMerchants.table.columns.createdAt":"Дата регистрации","dnd.notifications.block.description":"Всем мерчантам на Switch будет запрещено отправлять уведомления о платежах на ваш адрес электронной почты.","adminStaff.table.columns.createdAt":"Дата регистрации","component.accountRecovery.successDescription":"Каждый код можно использовать только один раз для входа/восстановления.","status.COMPLETED":"Завершенный","merchantSettings.security.recentActivity.ip":"IP-адрес","common.any":"Любой","merchantWallet.faq.question3.title":"Почему я не вижу здесь все поддерживаемые монеты?","merchantWallet.import.importKeys.title":"Введите публичные ключи","merchantPayments.paymentInfoModal.label.revoke":"Авто-отмена","merchantWallet.learnMore":"Узнайте больше о создании кошельков","adminStaff.table.columns.username":"Никнейм","common.continue":"Продолжить","merchantSettings.tab.activeSessions":"Активные сессии","merchantPayments.table.columns.uuid":"UUID","merchantSettings.rules.revoke.description":"Используйте эту политику для автоматической отмены платежей, созданных с вашего публичного адреса, если они остаются неактивными/неиспользуемыми в течение определенного периода времени. Отзыв платежной ссылки отменяет платеж, поэтому он не учитывается без необходимости в квоте вашего плана.","merchantBilling.modalToRenew.pay":"Заплатите","payment.unconfirmed.multipleTransactionsSubtitle":"Обнаружено несколько транзакций","status.ARCHIVED":"Архивован","header.menu.settings":"Настройки","component.dateRangePicker.cannotLessThanStart":"Текущая дата не может быть меньше даты начала","errors.MERCHANT_PAYMENT_QUOTA_EXHAUSTED":"Квота платежей исчерпалась. Проверьте ваш план","merchantPayments.paymentInfoModal.label.noAvailable":"Не доступно для текущего платежа","merchantSettings.api.table.lastUsed":"Последнее изпользование","merchantDashboard.totalRecieved.title":"Всего получено","signup.label.saveCodes":"Сохранить коды восстановления","merchantPayments.table.columns.clientName":"Имя клиента","dnd.history.blocked":"Заблокировано","merchantDashboard.monthlyIncome.title":"Ежемесячный доход","merchantBilling.label.deposit":"Депозит","adminMerchants.table.columns.status":"Статус","merchantSettings.rules.title":"Управление системными политиками","period.second":"секунд | секунда | секунды | секунд","component.contactSupport.option.BUG":"Отчет об ошибке","merchantPayments.notification.generatePaymentSuccess":"Платеж был создан","merchantWallet.import.importKeys.label.privateViewKey":"Private view ключ","merchantSettings.notification.disableDetonatorSuccess":"Настройки обновлены","status.DISABLED":"Неактивный","merchantDashboard.statement.title":"Сгенерируйте отчет о доходах за период","payment.help.underpayments.description":"Платежи могут быть завершены второй транзакцией в течение платежного окна, если требуемая сумма не получена с первой попытки.","merchantBilling.balance.paymentsLeft":"Платежей осталось","merchantWallet.generate.seed.important":"Важно","ariaLabel.home":"Домой","format.date.dateMonthYear":"ДД/ММ/ГГГГ","merchantWallet.import.importKeys.label.publicKey":"Публичный ключ","about.description":"Некастодиальный платежный шлюз и система учета для бизнеса, принимающего криптовалютные платежи","common.to":"На","merchantSettings.changeEmail.label.emailAddress":"Адрес электронной почты","status.PRUNED":"Удален","merchantWallet.generate.start.description":"Seed фраза будет сгенерирована локально в вашем браузере для выбранных вами монет. Открытые ключи вашего кошелька будут автоматически сохранены на Switch, и вы сможете начать принимать платежи.","format.time.24h":"23:59 (24-часовой)","common.coin":"Монета","action.DOWNGRADED":"Понижен","merchantClients.clientCreateModal.error.duplicates":"{value} дубликатов | {value} дубликат | {value} дубликата | {value} дубликатов","payment.expired.tryAgain":"Попробуйте еще раз","adminStaff.table.columns.lastAccessDate":"Последняя активность","signup.footer.description":"Создавая учетную запись, вы соглашаетесь с нашими {terms}","signup.logout.button":"Выйти и продолжить","month.january":"Январь","merchantBilling.label.confirming":"Подтверждение","merchantWallet.publicAddress.label.yourAddress":"Ваш публичный адрес","format.number.noDelimeter":"Без разделителя ({value})","merchantSettings.notification.updateMerchantSettingsSuccess":"Настройки обновлены","sidebar.stickies":"Уведомления","merchantSettings.rules.detonator.codeSet":"Установить код","merchantClients.clientCreateModal.title.review":"Проверить импорт","status.ACTIVE":"Активный","merchantBilling.addBalance.title":"Добавить средства","errors.INVALID_INPUT":"Недопустимый ввод","merchantWallet.generate.seed.confirm":"Я понимаю, что восстановление кошельков (и средств внутри) невозможно без seed-фразы и пароля (если он установлен).","dnd.notifications.whitelist.title":"Белый список","merchantBilling.filter.deposits":"Депозиты","common.sort.olde
193stFirst":"Сначала старые","common.total":"Всего","merchantClients.clientInfoModal.label.openStatusTooltip":"Этот статус указывает, что клиент открыт для получения запросов на оплату по электронной почте.","merchantBilling.modalToChangePlan.preview.monthlyCost":"Стоимость месячного","status.EXPIRED":"Просроченный","merchantSettings.notifications.access.successfulLogin":"Успешный вход в систему","merchantBilling.balance.expiresTomorrow":"Истекает завтра","component.disconnectWallet.label.understand":"Я понимаю что","adminDeposits.table.columns.valueInUsd":"Значение","status.DRAFT":"Черновик","payment.complete.recieptFrom":"Квитанция от","errors.error":"Ошибка","adminMerchants.table.columns.email":"Эл. почта","errors.DUPLICATED_RECOVERY_SESSION":"Обнаружена повторная попытка восстановления","merchantSettings.general.language":"Язык","month.may":"Май","merchantSettings.changeEmail.description.verifyEmail":"Введите OTP отправленный на {email}","adminInvoices.table.columns.uid10Digits":"ID инвойса","adminDeposits.table.columns.uid":"UID мерчанта","merchantClients.deleteClientModal.desc":"Это действие невозможно отменить.","merchantDashboard.income.week":"За неделю","errors.matches_ip":"Не соответствует формату IPv4 или IPv6 адреса","errors.MERCHANT_ACTIVE_PAYMENT_LIMIT_REACHED":"Пожалуйста, попробуйте еще раз через некоторое время","merchantSettings.changeName.oldName":"Старое имя","merchantWallet.import.importKeys.label.import":"Импорт","payment.complete.hash":"Хэш транзакции","common.preview":"Предварительный просмотр","merchantSettings.api.title":"Управление доступом сторонних приложений","sidebar.payments":"Платежи","adminDeposits.table.columns.value":"Сумма","errors.matches":"Присутствуют недопустимые символы","adminDeposits.table.columns.updatedAt":"Обновлено","merchantWallet.coins.description":"Выберите монеты, которые вы хотите использовать через свой публичный адрес.","servicePage.notFound.title":"Страница не{space}найдена","dnd.label.email":"Ваш email","header.renews":"Обновляется {date}","payment.help.conversionRates.title":"Курсы конверсии","signup.button.codesWereSaved":"Я надежно сохранил коды","dnd.label.yourPreferences":"Ваши {dnd} настройки","sidebar.wallet.downloadData":"Экспорт кошелька","component.changeToken.terms.saveCodes":"Я надежно сохранил коды восстановления.","merchantPayments.paymentInfoModal.tab.overview":"Обзор","landing.lostToken.mainText":"Только код восстановления, полученный с момента регистрации, может быть введен для доступа к этой учетной записи и сброса токена доступа.","merchantBilling.addBalance.description":"Эти депозитные адреса уникальны для этого аккаунта, и любая отправленная сюда сумма будет автоматически конвертирована в доллары США по текущему рыночному курсу и зачислена на ваш баланс.","signup.invitation.linkExpired.title":"Срок действия ссылки истек","action.JOURNAL":"Отмечено вручную как завершенное","paymentType.API_PAYMENT":"API","common.download":"Скачать","sidebar.profile":"Профиль","signup.companyName.placeholder":"НаÐ
193·Ð²Ð°Ð½Ð¸Ðµ компании","errors.isEmail":"Введен некорректный email","period.yearly":"Ежегодных","errors.PAYMENT_NOT_FOUND":"Платеж не найден","errors.INVALID_SESSION":"Невалидная сессия","merchantSettings.notification.totpWasChangedSuccess":"TOTP-код обновлен.","merchantWallet.import.selectCoins.thirdParty":"Поддерживаемые сторонние токены требуют, чтобы у вас был существующий адрес кошелька в соответствующей сети","action.EMAIL_CHANGED":"Почтовый адрес изменен","common.email":"Почтовый адрес","landing.title":"Безграничный банкинг","merchantClients.notification.updateClientMemoSuccess":"Заметка обновлена","component.changeToken.notification.allSessionsWereTerminated":"Все сеансы были завершены. Пожалуйста, войдите снова.","errors.ADMIN_ALREADY_EXISTS":`Админ уже существует
194`,"errors.PRV_INVALID":"Неверный приватный ключ","landing.header.sign":"Cоздать аккаунт","payment.help.alert":"Switch не является биржей или хранителем кошелька и не несет ответственности за доставку товаров/услуг мерчантом.","merchantPayments.paymentInfoModal.label.publicLink":"Публичная ссылка","errors.max":"Значение не должно быть больше чем {max}","errors.SESSION_EXPIRED":"Срок сеанса истек","merchantBilling.modalToChangePlan.preview.descriptionSubtext":"не будет","merchantWallet.coins.label.imported":"Кошелек импортирован {date} в {time}","sidebar.dashboard":"Главная","action.ACCOUNT_DELETED":"Аккаунт удален","component.selectClient.label.detailsTitle":"Информация о клиенте","common.sort.newestFirst":"Сначала новые","merchantPayments.table.columns.paid":"Полученная сумма","sidebar.sales":"Продажи","about.integration.title":"Интеграция кошелька на лету","status.OVERDUE":"Просроченный","period.montly":"Месячных","merchantPayments.paymentInfoModal.tab.history":"История","merchantSettings.rules.detonator.description":"Установите незаметный переключатель отключения для своей учетной записи. Ввод этого кода вместо TOTP во время входа в систему немедленно вызовет самоуничтожение этой учетной записи.","payment.expired.unavailableDescription":"Этот платеж либо не существует, либо был отменен.","merchantPayments.paymentInfoModal.label.includesSlippage":"Включает комиссию на {value} %.","merchantWallet.generate.password.confirm":"Подтвердите парольную фразу","common.registered":"Зарегистрирован","merchantBilling.balance.quotaResetsToday":"Квота сбрасывается сегодня","merchantPayments.paymentInfoModal.journal.text1":`Вручную отметьте платеж как завершенный, добавив в систему запись журнала (видимую только вам). 
195Это доступно только для отмененных и просроченных платежей и должно использоваться только в тех случаях, когда клиент пропустил первоначальное окно платежа, но погасил всю сумму позже. 
196Квитанции об оплате не создаются для платежей, помеченных как завершенные в журнальной записи. 
197Такие выплаты также будут отражены в вашем отчете о прибылях и убытках.`,"merchantPayments.paymentInfoModal.journal.text2":`Это действие является необратимым, и доход от этого платежа будет засчитан сразу после вашего подтверждения. 
198Не рекомендуется пользоваться этой функцией в качестве привычки.`,"component.table.resetFilters":"Сбросить все фильтры","action.RECEIVED":"Получено {amount} {currency}","common.linkExpired":"Ссылка просрочена","common.success":"успешно","common.incognito":"Инкогнито","component.avatarManagement.browsePicture":"Выбрать изображение","component.filter.status":"Статус","merchantWallet.publicAddress.label.description":"Получайте платежи в Интернете, используя один номер счета для всех ваших монет.","merchantSettings.detonatorModal.detonationCode.title":"Код детонации","common.copy":"Копировать","adminMerchantsPruned.table.columns.companyName":"Имя","paymentType.MANUAL_PAYMENT":"Мануальный","merchantBilling.modalToChangePlan.select.description":"Выбирайте план в зависимости от количества платежей, которые вы планируете принимать от своих клиентов в месяц или год. Квота платежей обнуляется каждый цикл. Неоплаченные/неполные платежи от ваших клиентов не учитываются в квоте.","merchantSettings.changeName.de
198scription.confirm":"Вы не сможете снова изменить имя в течение 180 дней.","component.historyBlock.hash":"Хэш транзакции","adminDeposits.table.columns.cryptoValue":"Сумма","pay.button.returnHome":"Вернуться на главную","merchantClients.table.columns.clientName":"Имя","merchantDashboard.income.month":"За месяц","signup.button.confirmEmail":"Подтвердите адрес электронной почты","signup.label.codeWasSent":"Мы отправили код подтверждения на вашу электронную почту","action.CANCELLED":"Отменено","adminStaff.table.columns.adminId":"ID","merchantWallet.tabs.title.verification":"Верификация","merchantClients.clientInfoModal.label.cantBeEdited":"Почтовый адрес нельзя будет отредактировать. Изменить можно будет только имена клиентов.","merchantWallet.faq.question1.description":`Ваш публичный адрес — это уникальная ссылка, которой вы можете поделиться со своими клиентами в Интернете. 
199Все платежи, полученные по этой ссылке, зачисляются непосредственно на ваш кошелек, а квитанция отправляется клиенту автоматически после завершения оплаты.`,"landing.labels.openTicket":"Написать в поддержку","component.avatarManagement.title":"Обрезать изображение","merchantDashboard.notification.invoiceWasDownloadedSuccess":"Ваша ведомость готова!","status.NEW":"Новый","status.ALL":"Все","action.EXPIRED":"Срок действия истек","merchantSettings.general.label.lastChanges":"Последние изменения {periodAgo}","merchantWallet.generate.password.passphrase":"Парольная фраза","action.CANCELLED_MANUALLY":"Отменено вручную","merchantSettings.changeEmail.label.verifyEmail":"Подтвердить Email","merchantSettings.changeName.newName":"Новое имя","pay.label.unknownAccount":"Аккаунт не существует, либо не принимает публичные платежи.","adminDeposits.table.columns.hash":"Хэш","merchantWallet.import.importKeys.extraCoins.title":"Другие third-party токены","common.from":"От","about.phylosofy.learnMore":"Узнайте больше о нашей философии","status.DO_NOT_DISTURB":"Не беспокоить","merchantSettings.modalToDeleteAccount.final.title":"Ваш аккаунт был удален","merchantSettings.detonatorModal.savedCode":"Я сохранил код","merchantPayments.label.statusTooltip.isExpiredWhileConfirmed":"Этот платеж был оплачен частично до истечения срока его действия.","merchantSettings.general.dateFormat":"Формат даты","merchantSettings.modalToDeleteAccount.code.deteteAccount":"Удалить аккаунт","component.table.pagination.enterPage":"К странице","dnd.notifications.block.title":"Блокировать всех","common.notNow":"Не сейчас","merchantClients.clientCreateModal.error.inputError":"{value} ошибок ввода | {value} ошибка ввода | {value} ошибки ввода | {value} ошибок ввода","merchantSettings.api.table.actions":"Действия","status.PAID":"Оплаченный","landing.labels.inputAccount":"Введите аккаунт","merchantSettings.changeEmail.title.changeEmail":"Изменить Email","merchantSettings.modalToDeleteAccount.confirm.comment":"После удаления вы сразу же выйдете из системы. Вы получите уведомление по электронной почте.","common.never":"Никогда","component.changeToken.enterCode":"Введите 6-значный код, отображаемый на вашем устройстве.","merchantClients.clientInfoModal.label.tooltipForDelete":"Удалять можно только клиентов без истории платежей.","signup.label.saveCodesDescription":"Используйте следующие коды для восстановления вашей учетной записи. Они больше не будут отображаться.","common.error":"ошибка","merchantSettings.notification.deleteApiKeySuccess":"Ключ был удален","merchantBilling.notification.planCancellationStopped":"Отмена плана остановлена","merchantSettings.notifications.payments.title":"Платежи","merchantSettings.sessions.killAllSessions":"Завершить все остальные сеансы","signup.label.authAppConnected":"Приложение аутентификации подключено.","common.complete":"Завершено","merchantBilling.balance.description":"Все депозиты являются окончательными и рассчитываются в долларах США независимо от установленной валюты счета.","payment.label.slippage":"Этот платеж включает в себя надбавку, установленную мерчантом.","merchantBilling.modalToCancelPlan.freeLimitations":"Ограничения бесплатного плана","merchantClients.searchPlaceholder":"Искать среди {count} клиентов | Искать среди {count} клиента | Искать среди {count} клиентов | Искать среди {count} клиентов","signup.companyName.change":"быть изменена позже","about.title":"Принимайте криптовалюту без проблем.","component.contactSupport.memo":"Напишите свое сообщение. Вы получите ответ на свой адрес электронной почты","merchantPayments.table.columns.clientEmail"
199:"Почта клиента","merchantSettings.label.exportData":"Экспорт данных","merchantSettings.security.recentActivity.unknown":"Неизвестный","merchantSettings.modalToDeleteAccount.confirm.description":"Подтвердите, что вы хотите удалить свою учетную запись.","payment.label.paid":"Оплачено","merchantPayments.paymentInfoModal.label.unregisteredClients":"Незарегистрированные клиенты отмечаются как зарегистрированные только после завершения оплаты.","month.march":"Март","merchantWallet.generate.final.learnMore":"Узнайте больше о том, как работают кошельки","merchantWallet.file.walletData":"данные_кошелька","payment.label.pay":"Оплатить {amount} с помощью","merchantWallet.import.start.description":"Вам потребуется ввести открытый ключ для каждой монеты, которую вы решите интегрировать с Switch. Для интеграции Ethereum требуется только адрес EVM, тогда как для интеграции Monero требуется закрытый ключ просмотра в дополнение к общедоступному ключу расходов и общедоступному ключу просмотра. Ни одна из этих необходимых данных не может технически предоставить Switch доступ к вашим средствам.","landing.labels.registrationDisabled":"Регистрация временно недоступна.","errors.notLessThan":"Значение не должно быть меньше чем {min}","common.learnMore":"Узнать больше","signup.invitation.linkExpired.button":"Вернуться на главную","merchantBilling.balance.renewalInDays":"Обновляется через {value} дней | Обновляется через {value} день | Обновляется через {value} дня | Обновляется через {value} дней ","common.clients":"клиенты","dnd.notifications.disabled.description":"Вы разрешаете получать на ваш адрес электронной почты уведомления о запросах на оплату  от любого мерчанта на Switch.","servicePage.tooManyRequests.description":"Пожалуйста, повторите попытку позже","signup.invitation.selectCurrencyPlaceholder":"Выберите валюту аккаунта","merchantSettings.modalToDeleteAccount.confirm.conwirmWithTotp":"Подтвердите с помощью TOTP","month.april":"Апрель","merchantClients.clientCreateModal.serverError.duplicated":"Дублированная запись","merchantPayments.createPaymentModal.label.autoRevokeLink":"Авто-отмена","common.or":"или","status.PENDING":"Pending","merchantBilling.modalToRenew.footer":"Вы можете принудительно продлить подписку только в том случае, если оставшаяся квота составляет 10 % или ниже.","sidebar.wallet.label":"Кошелек","adminInvoices.table.columns.createdAt":"Дата","signup.invitation.currencyDescription":"Валюта счета является постоянной и {0} быть изменена позже","merchantWallet.import.importKeys.label.privateSpendKey":"Public spend ключ","action.RENEWED":"Обновлен","merchantClients.clientInfoModal.label.lastPayment":"Последний платеж","merchantSettings.general.timeFormat":"Формат времени","component.selectClient.totalRevenue":"Общий доход","merchantBilling.modalToChangePlan.select.title":"Изменить план","merchantWallet.generate.password.continueWithout":"Продолжить без пароля","adminInvoices.table.columns.plan":"План","component.historyBlock.journalEntry":"Запись в журнале","merchantSettings.notification.generateNewApiKeymaxAmountWarning":"Максимум 10 ключей API","component.dateRangePicker.cannotBeInFuture":"Дата не может быть в будущем","period.minute":"минут | минута | минуты | минут","merchantPayments.table.columns.createdAt":"Дата создания","errors.UNKNOWN_ERROR":"Неизвестная ошибка","merchantWallet.generate.final.description":"Теперь, когда вы создали кошелек, вы cможете принимать криптовалюту от своих клиентов.","merchantWallet.coins.label.disabled":"Временно отключено системой","common.type":"Тип","common.none":"Нет","errors.ERR_AMOUNT_MIN_VALUE_IS_100":"Значение минимального платежа не может быть меньше 100","merchantWallet.duplicateSetup":"Настройка кошелька дублируется","errors.min":"Значение не может быть меньше {min}","status.SUCCESS":"Успешный","merchantBilling.notification.changeMerchantPlanStatusCancelled":"План помечен для отмены","merchantSettings.api.table.actionText":"Логи вызовов","pay.notification.requestsBlockedSystemError":"Ваш запрос заблокирован, попробуйте позже.","merchantBilling.balance.renewalTomorrow":"Обновляется завтра","action.ACTIVATED":"Активирован с помощью {currency}","adminDeposits.table.columns.createdAt":"Дата","merchantPayments.table.columns.amountReceived":"Полученная сумма","cycle.LIFETIME":"Бессрочный","component.accountRecovery.resetToken":"Сбросить токен","status.ERROR":"Ошибка","errors.ERR_AMOUNT_MIN_VALUE":"Сумма не может быть меньше {min}{currency}","dnd.login.verificationTitle":"Подтвердите почту","errors.MONITORING_SERVICE_ERROR":"Внутренняя ошибка","action.REACTIVATED":"Реактивирован с помощью {currency}","common.allTime":"Весь период","merchantSettings.notifications.payments.underpaidSighted":"Замечена недоплата","merchantSettings.sessions.tor":"Неизвестно (Tor)","common.help":"Помощь","status.BLOCKED":"Не беспокоить","cycle.ANNUALLY":"Годовой","dnd.login.title":"Тихий режим","merchantSettings.changeEmail.title.verifyEmail":"Подтвердить Email","merchantWallet.generate.password.setupDescription":"Доступ к кошелькам становится невозможным без комбинации обоих, что делает знание вашей seed-фразы бесполезным без пароля.","about.integration.crypto.title":"Используйте любой криптокошелек","merchantWallet.generate.password.description":"Пароли не явÐ
199»ÑÑŽÑ‚ся обязательными, но добавляют второй уровень безопасности поверх seed-фразы. Если вы сгенерировали более одной seed-фразы, к обеим будет применяться один и тот же пароль.","merchantPayments.paymentInfoModal.journal.memoPlaceholder":"например, оплата производится наличными на следующий день в 18:00.","status.UNPAID":"Неоплаченный","merchantBilling.balance.quotaResetsTomorrow":"Квота сбрасывается завтра","month.december":"Декабрь","merchantWallet.faq.learnMore":"Узнайте больше о том, как работает Switch","payment.help.conversionRates.description":"Требуемые суммы в монетах рассчитываются на основе преобладающего в настоящее время рыночного курса.","common.address":"адресов | адрес | адреса | адресов","status.DELETED":"Удален","merchantBilling.modalToCancelPlan.paymentsPerMonth":"10 платежей в месяц","errors.MERCHANT_DAILY_CLIENT_LIMIT_EXCEEDED":"Превышен лимит. Обратитесь в службу поддержки","sidebar.clients":"Клиенты","merchantBilling.notification.selectPlanAlreadyHave":"У вас уже есть этот план","ariaLabel.next":"Далее","errors.ERR_DEVICE_NOT_FOUND":"Сессия истекла","action.UPGRADED":"Улучшен","merchantSettings.api.keysUsed":"Используемых ключей | Используемых ключей | Используемых ключа | Используемых ключей","merchantClients.notification.addClientSuccess":"Клиент был приглашен","component.filter.nSelected":"{value} выбрано | {value} выбран | {value} выбрано | {value} выбрано","adminInvoices.table.columns.amount":"Цена","merchantPayments.createPaymentModal.label.autoRevokeDescription":"Этот платеж будет отменен автоматически, если он не будет активирован {0}","merchantDashboard.notification.sessionWasKilled":"Сеанс был завершен с другого устройства","status.WAITING":"Ожидание","common.cancel":"Отмена","merchantSettings.notifications.title":"Управление триггерами уведомлений","merchantDashboard.notification.sessionWasExpired":"Сессия истекла","dnd.login.subtitle":"Запретите надоедливым мерчантам отправлять вам спам-уведомления о запросах на оплату.","common.copied":"Скопировано!","status.QUEUE":"В Очереди","dnd.merchants.back":"Вернуться к мерчантам","component.contactSupport.title":"Написать в поддержку","merchantBilling.notification.selectPlanNotEnoughBalance":"Недостаточно баланса","dnd.returnTo":"Вернуться к {link}","merchantSettings.rules.api.title":"API-платежи","servicePage.accessRescticted.description":"У вас недостаточно прав для доступа к запрошенной странице.","merchantSettings.notification.addImageSizeErrorNotification":"Превышен размер изображения: {maxSize}МБ.","merchantBilling.balance.expiresInDays":"Истекает через {value} дней | Истекает через {value} день | Истекает через {value} дня | Истекает через {value} дней ","status.APPROVALPENDING":"Ожидается подтверждение","plan.pro.title":"Pro","merchantSettings.notification.updateRevokeSuccess":"Настройки обновлены","merchantSettings.notifications.payments.paymentSighted":"Платеж замечен","payment.error.paymentID":"Идентификатор платежа","landing.errors.systemError":"СИСТЕМНАЯ ОШИБКА","errors.CAN_NOT_ENABLE_DND":"Активировать режим «Не беспокоить» в данный момент невозможно","adminMerchants.table.columns.companyName":"Имя","merchantSettings.api.generateKey":"Создать новый ключ","payment.label.tokenIsDisabledByMerchant":"Мерчант не принимает этот токен в настоящее время","payment.unconfirmed.confirmations":"Подтверждений","merchantClients.clientCreateModal.label.bulkMemo":`Импортируйте клиентов в следующем формате до 100 одновременно.
200
201<Имя клиента>:client1{'@'}gmail.com;
202<Имя клиента>:client2{'@'}gmail.com;
203<Имя клиента>:client3{'@'}gmail.com`,"merchantSettings.label.deleteAccount":"Удалить аккаунт","cycle.YEARLY":"Годовой","merchantSettings.general.picture":"Изображение профиля","payment.complete.downloadReceipt":"Скачать квитанцию","component.dateRangePicker.cannotBeOlderThanCreationDate":"Дата не может быть старше учетной записи","merchantBilling.modalToChangePlan.preview.unlimited":"Безлимит","merchantWallet.import.importKeys.label.paste":"Вставить","merchantWallet.import.importKeys.label.invali
203dInput":"Неверный ввод","merchantSettings.general.merchantName":"Имя мерчанта","merchantWallet.tabs.title.finalize":"Последний шаг","ariaLabel.feral":"feral","about.payments.trackReceipts":"Отслеживайте поступления","errors.minLength":"Значение должно быть больше, чем {min} символов","merchantDashboard.statement.downloadProcessing":"Ваши данные будут загружены в ближайшее время...","errors.REQUEST_BLOCKED":"Запрос заблокирован","merchantPayments.paymentInfoModal.label.paymentAmount":"Сумма платежа","errors.clientHasDndEnabled":'Выбранный клиент установил режим "Не беспокоить"',"merchantDashboard.statement.custom":"Отчет за выбранный период","merchantSettings.modalToDeleteApiKey.title":"Удалить API ключ","adminDeposits.table.columns.depositSequentialId":"ID","component.table.pagination.nextPage":"Сл. страница","component.contactSupport.descriptionLink":"документацию","merchantSettings.label.yourData":"Ваши данные","merchantDashboard.notification.insufficientBalanceForOperation":"Изменение плана не удалось.","component.accountRecovery.openDashboard":"Открыть панель управления","action.SIGNED_UP":"Зарегистрирован","payment.help.paymentWindows.title":"Платежные окна","action.LINK_ACCESSED":"Доступ по ссылке","merchantBilling.balance.label.stopCancellation":"Остановить отмену плана","status.CANCELLED":"Отменённый","component.table.pagination.prevPage":"Пр. страница","merchantBilling.modalToChangePlan.preview.buttonUpgrade":"Подтвердите повышение за {money}","merchantBilling.addBalance.noRefunds":"Без возвратов.","sidebar.staff":"Команда","merchantSettings.notification.enableDetonatorSuccess":"Настройки обновлены","merchantWallet.import.importKeys.label.learnMore":"Узнайте больше об импорте кошельков","format.number.point":"С точкой ({value})","merchantSettings.notification.deleteProfilePictureSuccess":"Настройки обновлены","errors.isUrl":"Неправильный URL","adminMerchantsPruned.table.columns.uid":"UID","merchantPayments.createPaymentModal.label.memo":"Описание (например, оплата за дизайн логотипа)","merchantBilling.balance.label.upgradePlan":"Обновить план","merchantClients.table.columns.clientEmail":"Почта","merchantPayments.table.columns.status":"Статус","component.changeToken.resetToken":"Сбросить токен","merchantSettings.rules.revoke.title":"Автоматически отзывать платежные ссылки","merchantWallet.generate.password.setup":"Установить пароль","merchantWallet.generate.seed.title":"Сохраните seed фразы","pay.label.makePayment":"Произвести оплату для","merchantWallet.tabs.title.coinSelection":"Выбор монет","merchantSettings.sessions.otherSessions":"Другие сессии","component.table.column":"Колонок | Колонка | Колонки | Колонок","merchantWallet.generate.password.title":"Добавьте пароль к seed-фразе","signup.forbidden.openOnDesktop":"Откройте {link} на компьютере, чтобы завершить регистрацию","dnd.settings.description":"Если данный параметр включен, то мерчанты на Switch не смогут отправлять уведомления о запросе платежа. В качестве альтернативы можно заблокировать только конкретных мерчантов.","merchantBilling.modalToChangePlan.select.unlimited":"Безлимитные","payment.error.date":"Дата","component.disconnectWallet.title":"Отключить кошелек","merchantSettings.detonatorModal.setDetonator.title":"Установить детонатор","cycle.MONTH":"Месяц","dnd.login.verifyWithOtp":"Подтвердить с помощью OTP","merchantWallet.generate.verification.description":"Обратитесь к сохраненной фразе семян и выполните последовательность действий для проверки. Если вы не сохранили начальную фразу, необходимо отменить настройку и начать все сначала.","dnd.merchants.blockAll":"Заблокировать все уведомления","payment.label.awaitingConfirmation":"Ожидание подтверждения","merchantBilling.balance.status.expires":"Срок действия истекает","plan.black.title":"Black","merchantClients.clientCreateModal.label.description":"Добавленные клиенты не могут быть удалены, но их имена остаются редактируемыми.","merchantBilling.balance.downgradesTomorrow":"Завтра состоится переход на бесплатный план","errors.minAmountCannotBeDecimal":"Сумма не может быть дробный числом.","status.HOLD":"На Удержании","signup.button.openDashboard":"Перейти на главную","adminMerchantsPruned.table.columns.baseCurrency":"Валюта","signup.invitation.currencyDescriptionSubtext":"не может","pay.notification.createPaymentContactMerchant":"Ошибка при формировании платежа. Обратитесь к продавцу.","plan.black.description":`Для бизнеса с большим объёмом. 
204Фиксированная плата, без ограничений.`,"errors.INSUFFICIENT_BALANCE_FOR_THE_OPERATION":"Недостаточно средств для операции","errors.isEnum":"Значение не валидно","merchantWallet.faq.question1.title":"Как мне использовать свой публичный адрес?","component.changeToken.title.changeToken":"Изменить токен","merchantClients.payments.title":"Связанные платежи","merchantSettings.changeEmail.label.resendCode":"Отправить код еще раз","about.payments.title":"Отправляйте запросы на оплату","merchantClients.table.columns.lastPayment":"Последний платеж","merchantWallet.generate.verification.title":"Проверьте мнемофразу","merchantClients.clientCreateModal.error.min1Character":"Для имени клиента требуется минимум 1 символ.","merchantClients.table.columns.status":"Статус","errors.notMoreThan":"Допустимо максимум {max} символов","merchantSettings.modalToDeleteAccount.confirm.title":"Удалить аккаунт","merchantBilling.balance.unlimitedPayments":"Неограниченные платежи","component.selectClient.label.placeholder":"В
204ыполните поиск по имени/эл. почте или добавьте новый адрес эл. почты.","merchantSettings.rules.antispam.title":"Антиспам","merchantBilling.balance.learnMore":"Узнайте больше о планах и ценах","status.DELIVERED":"Доставлено","merchantBilling.label.reason":"Причина","merchantWallet.tabs.title.selectCoins":"Выбор коинов","merchantSettings.api.modal.description":"Создайте токен для использования сторонним приложением. Токены могут быть ограничены одним IP-адресом. {learnMore}","signup.invitation.invalidInvitation.title":"Приглашение недействительно","dnd.settings.hello":"Здравствуйте {email}","merchantWallet.tabs.title.start":"Начало","cycle.QUARTERLY":"Квартальный","merchantPayments.paymentInfoModal.journal.subtitle":"Это действие необратимо","merchantClients.clientCreateModal.tab.single":"Один клиент","payment.label.coinIsdisabledGlobally":"Эта монета в настоящее время недоступна","merchantClients.clientCreateModal.title.add":"Добавить клиента","common.payment":"платежей | платеж | платежа | платежей","merchantWallet.generate.final.warningHint":"Чтобы убедиться в правильности настройки вашего кошелька, настоятельно рекомендуется проверить получение и доступность средств с помощью номинальных тестовых платежей для всех настроенных монет, прежде чем обнародовать ваш Switch адрес .","merchantWallet.label.importKeys":"Импортировать данные","merchantPayments.table.columns.exchangeCurrency":"Монета","merchantSettings.sessions.currentSession":"Текущая сессия","component.contactSupport.description":"Пожалуйста, прочтите {link} для ответа на все вопросы перед тем, как отправить сообщение","errors.wrongToken":"Неверный код верификации. Попробуйте еще раз","merchantBilling.filter.all":"Все","merchantPayments.table.columns.type":"Тип","action.NAME_CHANGED":"Имя изменено","merchantBilling.label.credit":"Кредит","merchantDashboard.income.year":"За год","merchantWallet.generate.password.validation.max":"Максимум {max} символов","errors.XMR_KEYCHAIN_INVALID":"Неверная связка ключей для Monero","common.back":"Назад","merchantSettings.rules.slippage.title":"Покрыть slippage","common.disabled":"Заблокировано","merchantPayments.createPaymentModal.label.amount":"Сумма","month.october":"Октябрь","component.table.showOnPage":"Показано {period} из {all}","merchantSettings.general.accountNumber":"Номер счета","common.verify":"Проверить","component.changeToken.description.changeToken":"Введите действительный TOTP или код восстановления с момента регистрации, чтобы изменить токен аутентификации.","merchantBilling.balance.renew.title":"Авто-продление","servicePage.accessRescticted.title":"Доступ ограничен","dnd.login.enterCode":"Введите код, отправленный на {email}","merchantSettings.notification.resendCodeToVerifyEmailSuccess":"Новый код отправлен. Пожалуйста, проверьте свою электронную почту","merchantPayments.paymentInfoModal.label.notActivatedLink":"Ссылка еще не активирована","common.remaining":"Осталось","errors.minimumAmountByMerchant":"Значение не может быть меньше чем  {min} {currency}","about.payments.manageClients":"Управляйте клиентами","adminDeposits.table.columns.companyName":"Имя мерчанта","action.VOTING_DISAGREE":"Не выбран голосованием","merchantBilling.modalToChangePlan.preview.paymentsPer":"Платежей в {period}","merchantBilling.modalToRenew.paymentsLeftNow":"Осталось платежей","status.SETTLED":"Завершено","signup.invitation.description":"Начните принимать платежи в криптовалюте","errors.isLength":"Длина значения должна быть не менее чем {min} и не более чем {max}","component.contactSupport.option.FEEDBACK":"Обратная связь","errors.WALLET_GEN_FAILED":"Настройка кошелька не удалась, попробуйте еще раз","common.memo":"Описание","action.CANCELLED_BY_MERCHANT":"Отменено мерчантом","component.contactSupport.ticketIsCreated":"Ваше сообщение отправлено","merchantClients.clientCreateModal.error.max50Characters":"Для электронной почты разрешено максимум 50 символов.","about.integration.accept.title":"Выберите в чем принимать","merchantPayments.paymentInfoModal.label.notSet":"Не задано","merchantSettings.security.recentActivity.title":"Ð
204ÐµÐ´Ð°Ð²Ð½ÑÑ активность","common.refresh":"Обновить","merchantWallet.faq.question2.title":"Что такое режим инкогнито?","action.SIGHTED":"Обнаружено {amount} {currency}","common.cycle":"Цикл","merchantWallet.publicAddress.label.enabled":"Публичный адрес включен","about.opi.addition.text":"Потому что {reason}","landing.description":"Безграничный банкинг для предприятий и торговцев через криптовалюту. Без ограничений, без лимитов.","sidebar.tools":"Инструменты","payment.help.paymentWindows.description":`Платежи не отслеживаются после истечения таймера. 
205Любые средства, отправленные после этого, будут игнорироваться, и вам придется связаться с мерчантом, чтобы обсудить расчет.`,"merchantWallet.import.importKeys.label.evmHint":"Поддерживаемые сторонние ERC-20 токены принимаются по тому же адресу","action.RECOVERY_ATTEMPT":"Попытка восстановления","component.selectClient.lastPaid":"Последняя оплата","action.VOTED":"Выбран голосованием","merchantSettings.api.table.key":"API-ключ","period.month":"месяцев | месяц | месяца | месяцев","merchantClients.clientInfoModal.button.save":"Сохранить изменения","status.QUEUED":"В Очереди","action.INVITED":"Получил приглашение от {admin}","component.table.search":"Поиск","common.due":"Тариф","cycle.SEMI_ANNUAL":"Пол-года","merchantDashboard.income.today":"Поступлений сегодня","merchantWallet.title":"Публичный адрес","adminMerchants.table.columns.deletedAt":"Дата удаления","merchantWallet.generate.familySelection.bip39":"Это семейство монет использует аналогичный протокол и будет доступно с помощью одной seed-фразы.","component.accountRecovery.qrCodeAnnotation":"Отсканируйте QR-код с помощью любого приложения для аутентификации и введите полученный TOTP.","period.hour":"часов | час | часа | часов","merchantSettings.tab.notifications":"Уведомления","merchantSettings.detonatorModal.generateCode":"Создать код","merchantBilling.filter.invoices":"Инвойсы","common.documentation":"Документация","dnd.history.unblock":"Разблокировать","merchantWallet.faq.title":"Часто задаваемые вопросы","dnd.notifications.description":"Универсальное управление настройками для всех мерчантов на Switch","payment.label.coinIsDisabledByMerchant":"Мерчант в настоящее время не принимает эту монету","merchantWallet.publicAddress.label.disabled":"Публичный адрес отключен","cycle.WEEKLY":"Недельный","errors.invalidCredentials":"Неправильные данные для входа","component.upload.maxSize":"Файл {fileName} слишком большой. Допустимый размер не должен превышать {maxSize} Мб","merchantWallet.generate.seed.monero":"MONERO seed фраза","errors.NO_INCOME_STATEMENT":"Дохода за этот период нет. Пожалуйста, повторите попытку, указав другой временной промежуток.","merchantSettings.changeName.description.tryAgain":"Имена можно менять только один раз в 180 дней. Повторите попытку через {daysLeft} дней.","merchantPayments.table.columns.paymentId":"ID","merchantWallet.tabs.title.password":"Установка пароля","signup.label.accountReadyDescription":"Сохраните номер аккаунта для авторизации. Это будет идентификатор личности на Switch.","component.selectClient.label.addNe
205w":"Добавить нового клиента","merchantWallet.import.importKeys.label.publicViewKey":"Public view ключ","errors.MERCHANT_SUBSCRIPTION_LIMIT_EXCEEDED":"Превышен лимит. Обратитесь в службу поддержки","merchantWallet.coins.title":"Принятые монеты","about.phylosofy.title":"Революция в банковском деле","adminDeposits.table.columns.paymentsCount":"Платежи","merchantSettings.modalToDeleteApiKey.description":"Это действие не может быть отменено. Последующие подключения к API с этим ключом не удастся.","format.time.12h":"AM/PM (12-часовой)","merchantPayments.createPaymentModal.button.createPayment":"Создать платеж","common.name":"Имя","common.confirm":"Подтвердить","merchantSettings.general.title":"Управление настройками","sidebar.resetCache":"Сброс Кэша","merchantSettings.api.table.nodata":"Создайте ключ API для предоставления доступа к сторонним приложениям.","merchantClients.deleteClientModal.title":"Удалить {name}?","action.CHANGED_TOTP_TOKEN":"Изменен токен TOTP","merchantBilling.modalToRenew.paymentsLeftAfter":"Останется платежей после","payment.expired.unavailableTitle":"Платеж недоступен","about.payments.description":"Уникальные ссылки общедоступны в сети, поэтому ваши клиенты могут оплачивать в выбранной вами валюте.","merchantClients.clientCreateModal.label.clientName":"Имя клиента","adminMerchants.table.columns.name":"Имя","component.avatarManagement.editPicture":"Редактировать изображение","merchantSettings.rules.captcha.title":"Капча","status.PROGRESS":"В процесе","merchantBilling.modalToChangePlan.preview.yearlyCost":"Стоимость годового","merchantWallet.publicAddress.label.minAmount":"Минимальная сумма","merchantPayments.notification.sendPaymentRequestSuccess":"Запрос на оплату отправлен","format.number.comma":"С запятой ({value})","merchantSettings.api.modal.callbackUrl":"URL-адрес обратного вызова (необязательно)","merchantSettings.rules.desctruct.title":"Авто-удаление аккаунта","ariaLabel.switch":"switch","merchantSettings.sessions.killSession":"Завершить сессию #{number}","merchantClients.clientCreateModal.serverError.clientIsExists":"Клиент с таким адресом электронной почты уже существует в вашей базе данных","merchantWallet.generate.password.button.set":"Установить пароль","errors.isNumber":"Поле должно быть числом","merchantWallet.generate.password.validation.min":"Минимум {min} символов","component.accountRecovery.enterTotp":"Введите TOTP","sidebar.reports":"Отчеты","errors.uidLength":"Длина UID токена должна быть 7","merchantSettings.changeToken.description":"Аккаунт защищен одноразовым паролем.","signup.invitation.title":"Завершите настройку аккаунта мерчанта","landing.errors.tooManyAttempts":"Превышен лимит. Повторите ПОЗЖЕ","adminDeposits.table.columns.lastPayment":"Последний платеж","status.FAILED":"Неудачный","payment.label.toNetworkAddress":"На {networkName} адрес","merchantSettings.tab.api":"API","merchantClients.table.columns.revenue":"Доход","merchantSettings.notification.updateRulesSuccess":"Настройки обновлены","currency.kr":"Южнокорейская вона","merchantSettings.notification.updateMerchantNameSuccess":"Имя обновлено","pay.label.memoPlaceholder":"Добавить заметку","merchantBilling.balance.label.cancelPlan":"Отменить план","pay.label.emailPlaceholder":"Введите адрес электронной почты","merchantPayments.paymentInfoModal.title":"Детали платежа","signup.notification.resendEmailSuccess":"Код отправлен повторно","payment.complete.rate":"Обменный курс","merchantWallet.generate.seed.description":"Приведенные ниже seed-фразы являются ключом к доступу к вашим мультимонетным кошелькам. Без seed-фразы мультимонетные кошельки не могут быть восстановлены.","merchantSettings.modalToDeleteAccount.code.title":"Введите TOTP","sidebar.merchants":"Коммерсанты","common.addMemo":"Добавить заметку","merchantDashboard.totalRecieved.description":"Совокупная стоимость монет по всем завершенным платежам.","adminMerchants.table.columns.plan":"План","currency.jp":"Японская иена","merchantPayments.label.disabledTooltip":"Прежде чем вы сможете создать запрос на оплату, необходимо настроить кошелек.","merchantDashboard.setupWallet":"Настройте кошелек, чтобы начать получать платежи","merchantSettings.api.modal.addApi":"Добавить ключ API","component.changeToken.description.setupNewToken":"Используйте любой программный аутентификатор, чтобы отсканировать QR-код ниже и сгенерировать токен.","component.disconnectWallet.label.totp":"Введите ваш TOTP для подтверждения","merchantClients.clientCreateModal.label.bottomDescription":"Уведомление по почте не будет отправлено.","status.INACTIVE":"Неактивный","adminMerchants.table.columns.deposit":"Депозиты","merchantBilling.history.noHistory.title":"Внесите депозит, чтобы начать","payment.error.subtitle":"Произошла ошибка при завершении этого платежа, пожалуйста, свяжитесь с мерчантом.","month.june":"Июнь","payment.expired.UNDERPAID_EXPIRED_WITH_TWO_TX":"Транзакции, обнаруженные по этому адресу, в совокупности не соответствовали необходимой сумме, что привело к внезапному закрытию платежного окна.","action.DEPOSITED":"Был осуществлен депозит на {currency}{amount}","common.close":"Закрыть","component.dateRangePicker.cannotBiggerThanEnd":"Текущая дата не может быть больше даты окончания","merchantPayments.notification.paymentCancelledSuccess":"Платеж отменен","currency.in":"Индийская рупия","payment.label.sent":"Вы отправили","currency.il":"Израильский шекель","merchantSettings.notifications.quota.tip":"Вызывает уведомление каждый раз, когда внешняя/автоматическая попытка создания платежа для этого аккаунта блокируется из-за исчерпания квоты.","status.OPEN":"Активный","action.LOGGED_IN":"Вошёл в систему","merchantBilling.balance.renew.description":"Автоматически продлевает план по истечении срока его действия при наличии достаточного баланса.","merchantClients.clientCreateModal.title.import":"Импорт клиентов","merchantPayments.createPaymentModal.title":"Создать платеж","merchantWallet.generate.familySelection.button.cancel":"Отменить настройку кошелька","status.CONFIRMED":"Подтвержденный","merchantClients.clientCreateModal.subtitle.bulk":"Любые ошибки ввода необходимо исправить, прежде чем импорт будет обработан. Повторяющиеся записи (идентифицированные по электронной почте) в списке или в базе данных при импорте игнорируются.","landing.labels.support":"Поддержка","month.july":"Июль","adminDeposits.table.columns.revenue":"Доход","merchantBilling.balance.status.renewal":"Обновление","currency.hk":"Гонконгский доллар","merchantBilling.balance.expiresToday":"Истекает сегодня","status.UNREGISTERED":"Незарегистрированный","merchantSettings.notification.emailWasChangedSuccess":"Электронная почта была изменена","cycle.WEEK":"Неделя","common.disable":"Отключить","common.payments":"Платежи","pay.label.incognito":"Мерчант включил платежи инкогнито. Никакое имя или адрес электронной почты не могут быть связаны с этой транзакцией.","merchantPayments.table.columns.baseAmount":"Сумма","signup.label.accountReady":"Ваш аккаунт готов!","status.UNCONFIRMED":"Неподтвержденный","signup.button.sendCode":"Отправить код подтверждения","signup.invitation.linkExpired.description":"Срок действия этой ссылки истек.","dnd.history.title":"Список мерчантов","plan.business.title":"Business","adminInvoices.table.columns.companyName":"Имя мерчанта","adminInvoices.table.columns.uid":"UID","merchantWallet.publicAddress.label.on":"вкл.","errors.isRequired":"Поле явÐ
205»ÑÐµÑ‚ся обязательным","merchantSettings.notification.saveProfilePictureSuccess":"Настройки обновлены","merchantWallet.generate.familySelection.description":"В зависимости от семейства монет, которое вы решите принять, может быть сгенерировано более одной seed-фразы (также известной как мнемоника).","merchantClients.notification.bulkAddClientsSuccess":"Импорт выполнен успешно. Ошибок не обнаружено.","merchantWallet.generate.seed.bip39":"BIP39 seed фраза","merchantWallet.tabs.title.seed":"Seed фраза","period.day":"дней | день | дня | дней","errors.superUidLength":"Длина UID токена не должна быть меньше 3","merchantClients.label.createButton":"Добавить клиента","merchantSettings.changeName.description.default":"Имена можно менять только один раз в 180 дней.","ariaLabel.twitter":"Twitter","payment.manualComplete.title":"Платеж завершен","merchantBilling.modalToCancelPlan.title":"Отменить план","component.selectClient.label.newClientTitle":"Новый клиент будет добавлен","action.UNSUSPENDED":"Возобновлен","signup.title":"Зарегестрируйте аккаунт мерчанта","action.TOKEN_CHANGED":"Токен обновлен","merchantWallet.import.importKeys.extraCoins.description":"Нативные токены, такие как TRX на Tron и BNB на BSC, не поддерживаются для платежей.","payment.manualComplete.description":`Этот платеж вручную отмечен мерчантом как завершенный. 
206Для этого платежа квитанция не будет создана.`,"about.integration.accept.description":"Switch поддерживает биткоин (BTC), Litecoin (LTC), Dash (DASH) и Monero (XMR). Получайте платежи непосредственно на свой кошелек.","paymentType.PUBLIC_PAYMENT":"Публичный","component.changeToken.title.setupNewToken":"Настройка нового токена","format.date.monthDateYear":"ММ/ДД/ГГГГ","pay.notification.paymentQuotaExhaustedSystemError":"Нельзя создать платеж. Пожалуйста, свяжитесь с мерчантом","merchantPayments.paymentInfoModal.button.cancel":"Отменить платеж","merchantSettings.security.recentActivity.action":"Действие","period.weekly":"Недельных","merchantClients.clientCreateModal.error.notAnEmail":"Не электронная почта","merchantSettings.modalToDeleteAccount.confirm.warning3":"Любые существующие депозиты на вашем счете будут аннулированы навсегда.","cycle.SEMI_ANNUALLY":"Полугодовой","merchantBilling.balance.renewalToday":"Обновляется сегодня","merchantSettings.modalToDeleteAccount.confirm.warning1":`Чтобы продолжить удаление учетной записи, введите 6-значный код, отображаемый на вашем программном аутентификаторе. 
207Это действие не может быть отменено.`,"merchantSettings.notifications.payments.paymentReceived":"Платеж получен","adminMerchants.table.columns.cycle":"Цикл","merchantSettings.modalToDeleteAccount.confirm.warning2":"Это приведет к безвозвратному удалению вашей учетной записи вместе со всеми связанными с ней данными в системе.","merchantClients.clientCreateModal.error.syntax":"Ошибка синтаксиса","currency.us":"Доллар США","merchantPayments.paymentInfoModal.label.cancelledAutomaticly":"Платеж был отменен автоматически","merchantDashboard.notification.code500":"Код 500. Системная ошибка.","merchantSettings.api.logs.noD
207ata":"пока логов нет","adminDeposits.table.columns.id":"ID депозита","payment.complete.fees":"Сетевые сборы","merchantWallet.import.selectCoins.description":"Выберите монеты, которые вы хотите принять, необходимые ключи/данные для которых будут импортированы на следующем шаге. Отдельные монеты не могут быть добавлены/удалены после завершения настройки, в этом случае мастер придется перезапустить.","payment.expired.underpaidBy":"Недоплачено {amount} {currency}","merchantPayments.table.columns.memo":"Заметка","currency.ua":"Украинская гривны","merchantClients.clientsFilter.dndToggle":"Показывать клиентов со статусом {status}","component.table.noRecords":"Записей не найдено","header.expires":"Истекает {date}","status.FAIL":"Ошибка","currency.th":"Тайский бат","merchantWallet.import.start.title":"Импортировать публичные ключи","merchantSettings.rules.slippage.description":`Примените процентное увеличение ко всем необходимым номиналам монет для платежей, чтобы учесть комиссию за расчет/конвертацию фиатных денег для вашего бизнеса. 
208Slippage видно клиентам, и это правило не затрагивает стабильные монеты.`,"merchantWallet.import.importKeys.description":"Switch использует общедоступные данные из ваших кошельков, такие как открытые ключи и адреса EVM*, чтобы вы могли принимать платежи от своих клиентов. Информация введенная на этой странице, технически не может дать Switch контроль над вашими средствами. В случае с Monero требуются приватный ключ просмотра, публичный ключ просмотра и публичный ключ расходов, что снова лишает Switch какого-либо контроля над вашими средствами.","payment.expired.EXPIRED_WHILE_CONFIRMING":"Окно периода подтверждения для транзакций, обнаруженных по этому адресу депозита, прошло.","merchantSettings.rules.api.description":"Примените аналогичную политику к платежам, генерируемым через сторонние приложения.","merchantBilling.modalToChangePlan.preview.downgrade":"Понизить до {icon} {plan}","format.date.yearMonthDate":"ГГГГ/ММ/ДД","payment.complete.transaction":"Транзакция {number} в блокчейне","errors.ACCOUNT_EXISTS":"Эта электронная почта уже используется.","merchantWallet.generate.familySelection.title":"Выбор монет","currency.sg":"Сингапурский доллар","merchantBilling.label.invoice":"Инвойс","merchantClients.clientCreateModal.error.nameRequired":"Имя обязательно","merchantWallet.faq.question3.descriptionLink":"отключить кошелек полностью","errors.noZeroAsFirstDigit":"UID не может начинаться с 0","action.UNDERPAID_AND_EXPIRED":"Недоплачено и срок действия истек","payment.expired.noTransactions":"В период платежа по депозитному адресу не было обнаружено никаких транзакций.","servicePage.underMaintenance.description":"Мы скоро вернемся.","merchantWallet.generate.final.finish":"Завершить настройку","about.integration.crypto.description":"Совместим с большинством Ð
208ºÑ€Ð¾ÑÑÐ¿Ð»Ð°Ñ‚форменных кошельков. Switch придерживается тех же универсальных стандартов для обеспечения лучшей совместимости.","merchantPayments.table.columns.address":"Адрес","merchantWallet.tabs.title.keys":"Импорт данных","component.accountRecovery.description2":"Все старые коды восстановления устареют и будет сгенерирована новая серия кодов восстановления.","component.contactSupport.option.QUESTION":"Вопрос","currency.ru":"Российский рубль","merchantPayments.notification.paymentCancelledFail":"Платеж не был отменен","merchantSettings.general.saveChanges":"Сохранить изменения","component.accountRecovery.description1":"После проверки ваш текущий токен аутентификации будет аннулирован и заменен новым.","sidebar.wallet.setup":"Настроить","landing.lostToken.label":"Потеряли токен","component.upload.limit":"Можно загрузить только {limit} файлов","merchantWallet.generate.password.validation.match":"Пароли не совпадают","adminMerchants.table.columns.baseCurrency":"Валюта","merchantBilling.modalToCancelPlan.cycleBegins":"Цикл начинается со следующей даты продления.","common.revenue":"Прибыль","signup.invitation.sessionExpired.title":"Сессия истекла","merchantWallet.generate.start.title":"Сгенерировать новый кошелек","about.payments.descriptionMobile":"Компонент произвольной формы со встроенными пакетами значков, стоковыми фотографиями и многим другим.","merchantWallet.label.supportedTronTokens":"Поддерживаемые TRC-20 токены в цепочке Tron","signup.invitation.invalidInvitation.button":"Вернуться на главную","merchantClients.clientCreateModal.warning.limitExceeded":"Превышен лимит","sidebar.wallet.setupWallet":"Настроить кошелек","dnd.help":"Нужна помощь?","status.UNDERPAID":"Недоплаченный","servicePage.underMaintenance.title":"На техобслуживании","dnd.history.description":"Это список мерчантов, которые ранее отправляли вам уведомления.","signup.description":"Начните принимать платежи в криптовалюте","merchantSettings.changeEmail.description.enterTotp":"Чтобы изменить адрес электронной почты, введите 6-значный код, отображаемый в приложении для аутентификации.","merchantSettings.rules.desctruct.description":`Удалите эту учетную запись вместе со всеми связанными данными после определенного периода бездействия. 
209Это действие является постоянным и необратимым. 
210Предупреждение отправляется по электронной почте при достижении периода неактивности, и вскоре после этого учетная запись удаляется, если активности по-прежнему нет. Любые существующие депозиты на момент удаления также аннулируются безвозвратно.`,"errors.INVALID_ACCOUNT":"Неверный аккаунт","cycle.MONTHLY":"Месячный","merchantBilling.modalToChangePlan.preview.description":"Новые даты выставления счетов вступают в силу сразу после подтверждения. Целесообразно менять план только в том случае, если ваша квота близка к исчерпанию, оставшаяся квота на платежи {0} перенесена после изменение плана.","ariaLabel.telegram":"Telegram","action.CANCELLED_BY_SYSTEM":"Отменено системой","adminMerchantsPruned.table.columns.email":"Эл. почта","merchantSettings.rules.captcha.description":"Принудительно использовать капчу на странице публичного адреса при создании платежей.","action.LINK_CREATED":"Ссылка создана","merchantBilling.balance.downgradesInValueDays":"Через {value} дней состоится переход на бесплатный план | Через {value} день состоится переход на бесплатный план | Через {value} дня состоится переход на бесплатный план | Через {value} дней состоится переход на бесплатный план","merchantSettings.tab.general":"Общие","merchantWallet.coins.label.generated":"Кошелек создан через Switch {date} в {time}","merchantSettings.notifications.access.title":"Доступ","action.LINK_REVOKED":"Ссылка отозвана"}
210,M5e={"dnd.history.manage":"管理","merchantSettings.label.preparingData":"正在准备数据","dnd.notifications.title":"DND设置","merchantBilling.history.title":"历史","payment.error.title":"错误","merchantPayments.paymentInfoModal.label.depositAddress":"存款地址","errors.MERCHANT_CLIENT_LIMIT_EXCEEDED":"已超出限制,请联系支持人员。","merchantClients.payments.noData":"无相关付款","merchantPayments.paymentInfoModal.tab.journal":"日记账","merchantSettings.tab.security":"安全性","period.week":"星期","common.search":"搜索","plan.business.description":"适用于拥有用户群的小型企业和初创公司。","merchantPayments.paymentInfoModal.label.cantBeCancelled":"正在进行的付款无法取消","merchantSettings.general.pictureDescription":"在公共页面可见","signup.footer.authenticatedMerchant":"目前以 {merchantName} 登录","errors.tokenLength":"保安编码長度必須為 6个数位","adminDeposits.table.columns.exchangeCurrency":"加密货币","landing.lostToken.secondaryText":"否则无法恢复访问。","action.COMPLETED":"已完成","errors.CONNECTION_LOST":"连接中断","adminDeposits.table.columns.address":"地址","merchantWallet.label.generateWallet":"生成新的钱包","plan.free.title":"Free","merchantBilling.modalToRenew.newExpiryDate":"新到期日","merchantBilling.balance.label.renewNow":"现在续订","merchantSettings.api.table.ip":"IP","merchantDashboard.statement.monthly":"月结单","merchantBilling.notification.changeMerchantPlanSuccess":"计划已更改!","errors.GEN_SERVICE_FAIL_ON_ATTACHMENT":"内部错误","signup.label.emailPlaceholder":"输入你的电子邮箱","merchantBilling.modalToRenew.description":"强制续订计划将延长您当前的结算周期一个月/一年,并将您剩余的付款配额结转到新周期。这并不是升级,而且仅在您剩余总配额的少于10%时才能使用。当您比平时更快达到限额时,请使用此方法。","sidebar.wallet.disconnect":"断开钱包连接","payment.unconfirmed.subtitle":"您的交易已可看到","merchantDashboard.totalRecieved.thirdPartyTokensTooltip":"仅显示具有支付历史记录的代币","merchantWallet.generate.familySelection.monero":"此助记词仅适用于门罗币。","payment.expired.title":"付款已过期","common.active":"活跃","merchantSettings.notifications.emailNotification":"电子邮件","about.knowledge.title":"您的资金被加密在只有您知道的一组可发音单字词的算法中,而且可以随时随地访问。","merchantWallet.generate.verification.wrong":"助记符错误。 请您检查一下","merchantWallet.generate.final.title":"设置完成","merchantBilling.history.noHistory.description":"您将在这里看到您的交易记录","payment.label.highFeeNetworkTooltip":"该金额包含了 Switch 产生的高额网络费用。","payment.label.tokenIsdisabledGlobally":"此代币当前不可用","action.PLAN_CANCELLED":"已取消计划","common.reset":"重置","merchantWallet.generate.password.validation.notEmpty":"密码不能为空","merchantSettings.notification.updateNotificationSuccess":"已更新设置","ariaLabel.signup":"注册","merchantBilling.balance.currentPlan":"目前计划","merchantBilling.modalToChangePlan.preview.buttonDowngrade":"确认以{money}降级","adminDeposits.table.columns.status":"状态","landing.errors.invalidTotp":"无效的基于时间的一次性密码","merchantWallet.import.final.description":"钱包已配置完毕,您现在可以开始接受客户的加密货币。","period.year":"å¹´","adminStaff.table.columns.status":"状态","errors.isNotEmail":"无效的电子邮箱","status.ALLSTATUSES":"所有状态","action.CREDITED":"已入账","merchantClients.table.columns.clientId":"账号","component.changeToken.returnToLogin":"返回登录","merchantPayments.table.columns.expectedAmount":"应付金额","landing.labels.home":"主页","merchantSettings.notifications.quota.eightyPercentUsed":"已使用80% ","about.opi.addition.reason":"如果这不是你的钥匙,那它就不是你的硬币。","month.august":"八月","payment.externalError.subtitle":"生成此付款时出现错误ï¼
210Œè¯·ç›´æŽ¥è”系商户。","merchantClients.table.columns.paymentsCount":"已完成的付款","merchantBilling.modalToRenew.currentExpiryDate":"当前到期日","component.dateRangePicker.enterDateWithFormat":"以 {value} 格式输入日期","merchantSettings.security.recentActivity.date":"日期","landing.header.about":"关于","merchantSettings.modalToDeleteAccount.code.description":"请输入软件验证器上显示的 6 位数代码以继续删除帐户。","merchantSettings.api.logs.downloadLog":"下载记录","merchantPayments.label.statusTooltip.isCompleteManual":"此付款已手动标记为完成","merchantWallet.import.importKeys.label.tvm":"TVM地址","merchantBilling.addBalance.footer":"存款必须多于 1 美元,并且需要 3 次网络确认才能存入您的余额。","dnd.label.dnd":"请勿打扰","merchantSettings.notifications.quota.attemptToExceed":"试图超过","component.changeToken.terms.accountRecovery":"如果您没有有效的 TOTP 或恢复代码,就无法恢复帐户。","errors.TECHNICAL_ERROR":"技术错误,请联系支持人员","component.disconnectWallet.option1":"除非我的帐户上有一个有效的钱包,否则我将无法再接受付款。","component.disconnectWallet.option2":"将该钱包与 Switch 断开连接不会影响我钱包里的资金。","component.disconnectWallet.option3":"如需再次开始接受付款,我必须从新设置一个新钱包。 钱包一旦断开就无法恢复。","payment.label.thirdPartyTokenFee":"这包括 Switch 产生的网络费用。","merchantClients.clientCreateModal.tab.bulk":"批量导入","merchantClients.clientInfoModal.title":"客户详情","merchantWallet.import.selectCoins.title":"选择货币","component.contactSupport.attachFilesNote":"最多附加 5 个文件(每个文件 10 MB)","merchantBilling.modalToRenew.yourPlan":"你的计划","merchantClients.clientFull.deleteClient":"删除客户","plan.pro.description":"推荐给个人和自由职业者。","merchantPayments.paymentInfoModal.label.cancelledManually":"付款被手动取消","merchantBilling.label.hash":"交易编码","merchantWallet.label.supportedBscTokens":"支持币安智能链的 BEP-20 代币","merchantBilling.balance.renew.cannotBeEnabled":"您的计划被标记为取消,因此无法启用。 当计划更改为付费计划时,此功能将自动启用。","errors.NOT_ALLOWED_TO_BLOCK_MERCHANT":"目前无法屏蔽封锁商家","merchantClients.notification.bulkAddClientsWithDublicationsSuccess":`导入成功。 没有发现错误。
211{amount} 个现有条目被忽略。`,"landing.labels.goodbye":"再见","signup.button.createAccount":"创建账户","cycle.YEAR":"年","merchantSettings.changeName.title":"更改商户名称","component.changeToken.title.saveRecovery":"保存恢复码","errors.TICKET_NOT_CREATED":"创建工单失败,请稍后重试","merchantClients.clientCreateModal.error.entriesFound":"找到 {value} 个现有条目","errors.INVALID_CODE":"无效的代码","dnd.notifications.changeStatusSuccess":"已更新DND状态","signup.logout.label":"您必须先退出当前时段,才能注册新帐户。","signup.companyName.permanent":"帐户币种是永久性的","signup.invitation.sessionExpired.button":"开始新的注册","common.warning":"警告","ariaLabel.learnMore":"了解更多","merchantPayments.createPaymentModal.button.createPaymentAndNotify":"创建付款并通知客户","merchantPayments.createPaymentModal.label.paymentCannotBeCreated":"无法向启用了 DND 的客户发送付款通知。","component.accountRecovery.tryAgain":"重新开始","ariaLabel.password":"密码","component.timeZone.utcTime":"国际标准时间","errors.PUBV_INVALID":"无效公共查看密钥","errors.notMaxThan":"输入值不应多于 {max} 字符","merchantSettings.rules.antispam.description":"对每个从公共地址页面生成付款的 IP 地址施行付款的频率限制/等候期。","merchantWallet.import.importKeys.label.evm":"EVM 地址","about.knowledge.description":"知识就是力量。","merchantBilling.modalToChangePlan.preview.upgrade":"升级到{icon} {plan}
211","errors.PUBS_INVALID":"无效公共支出密钥","action.SUSPENDED":"已暂停","merchantBilling.balance.status.quota":"配额重置","merchantSettings.api.modal.addNote":"添加备注","errors.INVALID_CREDENTIALS":"凭证无效","merchantWallet.file.phraseSwitch":"词组","month.november":"十一月","merchantPayments.label.createButton":"创建付款","common.resend":"重发","merchantClients.clientCreateModal.error.emailRequired":"需要电邮地址","signup.footer.terms":"使用条款","merchantSettings.notifications.quota.title":"配额","errors.CLIENT_EXIST":"客戶已存在","merchantSettings.notifications.quota.fiftyPercentUsed":"已使用50%","signup.invitation.invalidInvitation.description":"此邀请链接无效、已过期或已被使用。","component.filter.cycle":"周期","merchantWallet.generate.verification.word":"短语中的 {num} 个单词是","merchantSettings.changeToken.title":"更改保安编码","payment.help.underpayments.title":"缴款不足","servicePage.tooManyRequests.title":"请求太多","merchantPayments.createPaymentModal.description":"为您的客户生成独一无二的付款链接","payment.complete.notAvailable":"不适用于此付款","component.selectClient.paidPaymentsAmount":"{paymentsAmount} 次付款的总额 {amount} | {paymentsAmount} 次付款的总额 {amount}","about.opi.title":"一个公共身份","merchantBilling.balance.title":"余额","dnd.login.manage":"管理偏好设置","adminStaff.table.columns.email":"电子邮箱","component.historyBlock.address":"地址","landing.labels.recoveryDetected":"侦测到恢复码","component.avatarManagement.uploadPicture":"上传新图片","merchantSettings.notification.requestToChangeEmailSuccess":"已发送更换电邮地址请求","merchantWallet.faq.question3.description":"此处仅显示钱包设置时选择的货币,并无法单独添加/删除货币。 如果您希望添加新货币,你必须{0}","merchantWallet.faq.question2.description":"如果您希望匿名接收付款(没有与款项相关的姓名或电邮地址),您可以启用此模式。 隐身模式需要在付款中添加备注(简单描述)以供参考。","merchantWallet.publicAddress.label.incognito":"隐身模式","common.client":"客戶","merchantSettings.rules.detonator.title":"销毁装置","dnd.notifications.disabled.title":"被禁用","merchantBilling.modalToCancelPlan.description":"您的计划将在下一个续订日降级为免费计划。","adminInvoices.table.columns.cycle":"周期","merchantWallet.label.seedPhrase":"助记词","errors.CLIENT_CAN_NOT_BE_DELETED":"客户无法被删除。","merchantClients.notification.changeClientNameSuccess":"客户名称已更改","component.historyBlock.noHistory":"这笔付款还没有任何操作历史记录","landing.labels.documentation":"文档","merchantBilling.modalToRenew.title":"强制续订","merchantPayments.paymentInfoModal.journal.title":"滑动以标记完成付款","merchantBilling.modalToChangePlan.select.yourBalance":"您的余额为","common.createNew":"新增","currency.gb":"英镑","merchantSettings.modalToDeleteAccount.final.returnToHome":"返回首页","merchantPayments.table.columns.activatedAt":"启动日期","merchantWallet.publicAddress.button.save":"保存","sidebar.wallet.publicAddress":"公共地址","common.poweredBy":"由{switchLogo}提供技术支持","common.save":"保存更改","merchantBilling.balance.downgradesToday":"于今天降级至免费计划","component.changeToken.description.saveRecovery":"这里的任何一个代码都可以用于登录/恢复一次。","header.menu.billing":"计费","status.SUSPENDED":"暂停","action.VOTING_WINDOW_EXPIRED":"投票期限已过期","merchantSettings.general.numberFormat":"数字格式","merchantPayments.label.statusTooltip.isUnderpaidAndExpired":"这笔款项在到期前已部分支付","merchantBilling.balance.depositAddress":"存款地址","status.PRE_NEW":"待处理","merchantSettings.tab.rules":"规则","merchantBilling.modalToChangePlan.preview.dueDate":"新的到期日","errors.ACCOUNT_UNAVAILABLE":"帳戶不可用","errors.MERCHANT_DOES_NOT_EXIST":"商户不存在","merchantSettings.notification.verifyEmailSuccess":"已验证电邮","merchantWallet.notification.walletRemoveSuccess":"成功删除钱包","landing.header.more":"更多资讯","merchantPayments.paymentInfoModal.label.journalAvailable":"仅适用于过期或取消的付款","status.COMPLETE":"完成","currency.eu":"欧元","payment.complete.slippageIncluded":"此付款包括商家设定的附加费。","merchantClients.table.columns.createdAt":"注册日期","component.disconnectWallet.button.disconnect":"断开钱包连接","common.enable":"启用","month.september":"九月","signup.label.saveCodesTitle":"保存恢复代码","merchantClients.clientCreateModal.subtitle.single":"于同一封电邮追踪统计数据(收入/付款)","common.amount":"金额","component.table.itemsPerPage":"每页项目数量","merchantSettings.detonatorModal.detonationCode.description":"请明智使用。 在登录过程中输入此代码将立即销毁您的帐户。 此代码不会再次出现。","merchantSettings.notification.addImageFormatErrorNotification":"仅允许 JPG、JPEG、PNG","about.phylosofy.description":"Switch 既不是银行机构,也不是钱包供应商或交易所。它只在应用层上运行,而不会接触到您的资金。这意味着这里没有 KYC及限制,而您可以获得完å
211…¨ç›‘护权 - 隐私融入设计,由隐私出发。","sidebar.settings":"设置","signup.invitation.sessionExpired.description":"您的注册时段已过期,请重新开始注册。 所收集的所有数据已被删除。","status.BOUNCED":"被退回","component.changeToken.save":"保存","component.contactSupport.sendButton":"发送信息","component.filter.creationDate":"创建日期","merchantSettings.changeEmail.description.changeEmail":"输入电邮地址,系统将发送一次性密码进行确认。","merchantSettings.notification.updateSlippageSuccess":"已更新设置","merchantSettings.notification.generateApiKeySuccess":"已生成密钥","merchantSettings.security.recentActivity.session":"会话","merchantDashboard.income.total":"总计","errors.extra_spaces":"找到额外间距","signup.label.scanCode":"使用任何验证器应用程序扫描此二维码并输入显示的基于时间的一次性密码。","payment.label.otherTokenAlert":"除 {coin} 之外,发送到此地址的任何代币都不会被检测","merchantPayments.paymentInfoModal.label.revokeIn":"于{time}内","merchantSettings.detonatorModal.setDetonator.description":"输入有效的基于时间的一次性密码以继续。","merchantSettings.modalToDeleteAccount.final.description":"所有相关数据均已被删除且无法恢复。 被删除的帐号或用户编号是独一无二的,并且永远不会重新分配给新商户。","merchantPayments.paymentInfoModal.journal.paidManually":"已于 {date} {time} 手动标记为已付款,并于以下日记帐分录记录","signup.notification.sessionExpired":"会话已过期","currency.ch":"瑞士法郎","merchantDashboard.totalRecieved.tooltip":"这不是您的钱包余额。 您必须先将钱包助记词导入任何兼容的钱包应用程序才能查看您的余额。 Switch 无法访问您的钱包。","common.all":"全部","merchantSettings.security.title":"管理帐户访问","common.importAction":"导入","merchantSettings.notification.updateMerchantNameFail":"出了问题","currency.cn":"人民币","adminMerchants.table.columns.uid":"用户编号","common.unavailable":"不可用","merchantWallet.notification.atLeastOneCoinWarning":"必须有至少 1 个币种保持启用状态","merchantWallet.publicAddress.label.off":"关闭","period.quarterly":"每季","header.menu.account":"帐户","dnd.settings.option2":"如果您在那里输入电邮地址,您仍然会通过任何商户的公共地址收到向其付款的电邮通知。","dnd.settings.option1":"DND 政策影响所有商家。","about.opi.desctiption":"您独一无二的帐号让您的加密货币钱包直接接受付款,同时您可以通过助记词在任何设备上完全保管资金。","merchantDashboard.monthlyIncome.description":"支付不足的付款并不包括在总计内。","merchantPayments.createPaymentModal.label.autoRevokeIn":"设置自动撤销期限","merchantBilling.balance.label.changePlan":"更改计划","merchantPayments.table.columns.marketRate":"市场汇率","ariaLabel.file":"文件","header.menu.logout":"登出","errors.isNotEmpty":"这个字段不能为空","landing.labels.copyTorAddress":"复制 TOR 地址 (.onion)","landing.labels.inputToken":"输入基于时间的一次性密码","merchantBilling.balance.noPaymentsLeft":"支付次数已用完","merchantSettings.changeEmail.title.enterTotp":"输入基于时间的一次性密码","action.EMAIL_CHANGE":"更改电子邮箱","payment.error.errorCode":"错误代码","merchantBilling.balance.quotaResetsInDays":"配额将在 {value} 天后重置","month.february":"二月","servicePage.notFound.description":"您要查找的页面不存在或已被移动。","merchantSettings.general.timezone":"时区","merchantClients.notification.deleteClientSuccess":"客户已被删除。","merchantClients.clientCreateModal.label.clientNameNote":"此名称仅供您参考,客户并不会看到该名称","currency.ae":"阿联酋迪拉姆","adminMerchants.table.columns.createdAt":"注册日期","dnd.notifications.block.description":"Switch 上的所有商家都将被阻止向该电子邮件地址发送任何付款请求通知。","adminStaff.table.columns.createdAt":"注册日期","component.accountRecovery.successDescription":"每个用于登录/恢复的代码只能使用一次。","status.COMPLETED":"完成","merchantSettings.security.recentActivity.ip":"IP地址","common.any":"任何","merchantWallet.faq.question3.title":"为什么我在这里看不到所有支持的币种?","merchantWallet.import.importKeys.title":"输入公共密钥","merchantPayments.paymentInfoModal.label.revoke":"自动撤销","merchantWallet.learnMore":"了解更多有关钱包ç”
211Ÿæˆ","adminStaff.table.columns.username":"用户名称","common.continue":"ç»§ç»­","merchantSettings.tab.activeSessions":"有效会话","merchantPayments.table.columns.uuid":"通用唯一识别码","merchantSettings.rules.revoke.description":"您可以使用此政策自动取消从您的公共地址生成的但在一段时间内未激活/未使用的付款。 撤销付款链接会取消付款,因此不会扣除您的计划配额。","merchantBilling.modalToRenew.pay":"付费","payment.unconfirmed.multipleTransactionsSubtitle":"看到多笔交易","status.ARCHIVED":"已存档","header.menu.settings":"设定","component.dateRangePicker.cannotLessThanStart":"该日期不能早于开始日期","errors.MERCHANT_PAYMENT_QUOTA_EXHAUSTED":"计划付款配额已用完","merchantPayments.paymentInfoModal.label.noAvailable":"不适用于当前付款","merchantSettings.api.table.lastUsed":"上一次使用","merchantDashboard.totalRecieved.title":"收到的总额","signup.label.saveCodes":"保存代码","merchantPayments.table.columns.clientName":"客户名称","dnd.history.blocked":"被封锁","merchantDashboard.monthlyIncome.title":"每月收入","merchantBilling.label.deposit":"存款","adminMerchants.table.columns.status":"状态","merchantSettings.rules.title":"管理系统政策","period.second":"秒","component.contactSupport.option.BUG":"错误报告","merchantPayments.notification.generatePaymentSuccess":"已创建付款","merchantWallet.import.importKeys.label.privateViewKey":"私人查阅密钥","merchantSettings.notification.disableDetonatorSuccess":"已更新设置","status.DISABLED":"被禁用","merchantDashboard.statement.title":"生成选定期间的损益表","payment.help.underpayments.description":"如果您于第一次尝试中未收到所需款项,您可以在付款期限内完成第二笔交易。","merchantBilling.balance.paymentsLeft":"余下支付次数","merchantWallet.generate.seed.important":"重要","ariaLabel.home":"首页","format.date.dateMonthYear":"日/月/å¹´","merchantWallet.import.importKeys.label.publicKey":"公共密钥","about.description":"为接受加密货币支付的企业提供非托管支付网关和会计系统","common.to":"至","merchantSettings.changeEmail.label.emailAddress":"电邮地址","status.PRUNED":"已丢弃","merchantWallet.generate.start.description":"系统将为您选择的货币在您的本地浏览器生成助记词。 您钱包的公共密钥将自动保存在 Switch 上,以便您开始接受付款。","format.time.24h":"23:59 (24小时制)","common.coin":"货币","action.DOWNGRADED":"已降级","merchantClients.clientCreateModal.error.duplicates":"{value} 项重复 | {value} 项重复","payment.expired.tryAgain":"再试一次","adminStaff.table.columns.lastAccessDate":"最后登录","signup.footer.description":"您创建帐户即表示您已同意我们的{terms}","signup.logout.button":"登出并继续","month.january":"一月","merchantBilling.label.confirming":"确认中","merchantWallet.publicAddress.label.yourAddress":"您的公共地址","format.number.noDelimeter":"沒有分隔符 ({value})","merchantSettings.notification.updateMerchantSettingsSuccess":"已更新设置","sidebar.stickies":"便利贴","merchantSettings.rules.detonator.codeSet":"已设置代码","merchantClients.clientCreateModal.title.review":"检查导入","status.ACTIVE":"在線","merchantBilling.addBalance.title":"添加资金","errors.INVALID_INPUT":"输入无效","merchantWallet.generate.seed.confirm":"我明白没有助记词和密码(如有设置),就不能恢复钱包(以及里面的资金)。","dnd.notifications.whitelist.title":"白名单","merchantBilling.filter.deposits":"存款","common.sort.oldestFirst":"以日期升序排列","common.total":"总额","merchantClients.clientInfoModal.label.openStatusTooltip":"此状态表示客户愿意通过电邮接收付款请求。","merchantBilling.modalToChangePlan.preview.monthlyCost":"每月费用","status.EXPIRED":"已过期","merchantSettings.notifications.access.successfulLogin":"登录成功","merchantBilling.balance.expiresTomorrow":"于明天到期","component.disconnectWallet.label.understand":"我明白","adminDeposits.table.columns.valueInUsd":"价值","status.DRAFT":"草稿","payment.complete.re
211cieptFrom":"收据来自","errors.error":"錯誤","adminMerchants.table.columns.email":"电子邮箱","errors.DUPLICATED_RECOVERY_SESSION":"检测到重复会话","merchantSettings.general.language":"语言","month.may":"五月","merchantSettings.changeEmail.description.verifyEmail":"输入已发送到{email}的一次性密码","adminInvoices.table.columns.uid10Digits":"发票编号","adminDeposits.table.columns.uid":"商户编号","merchantClients.deleteClientModal.desc":"此操作无法撤消。","merchantDashboard.income.week":"本周","errors.matches_ip":"无效的 IPv4 或 IPv6 ","errors.MERCHANT_ACTIVE_PAYMENT_LIMIT_REACHED":"请稍后重试","merchantSettings.changeName.oldName":"旧名称","merchantWallet.import.importKeys.label.import":"导入","payment.complete.hash":"交易编码","common.preview":"预览","merchantSettings.api.title":"管理第三方访问","sidebar.payments":"付款","adminDeposits.table.columns.value":"金额","errors.matches":"只允許使用字母","adminDeposits.table.columns.updatedAt":"更新于","merchantWallet.coins.description":"通过您的公共地址选择您希望接受的币种。","servicePage.notFound.title":"找不到网页","dnd.label.email":"你的电子邮箱","header.renews":"于{date}续订","payment.help.conversionRates.title":"转化率","signup.button.codesWereSaved":"我已经安全地存储了代码","dnd.label.yourPreferences":"您的 {dnd} 偏好设置","sidebar.wallet.downloadData":"下载钱包数据","component.changeToken.terms.saveCodes":"我已安全地保存了代码。","merchantPayments.paymentInfoModal.tab.overview":"概述","landing.lostToken.mainText":"只有在此输入注册时的恢复码才能访问此帐户并重设保安编码。","merchantBilling.addBalance.description":"这些存款地址对于此账户是独一无二的,发送到这里的金额都将自动按当前市场汇率转换为美元并存入您的余额。","signup.invitation.linkExpired.title":"链接已过期","action.JOURNAL":"已手动标记为完成","paymentType.API_PAYMENT":"API","common.download":"下载","sidebar.profile":"简介","signup.companyName.placeholder":"我的公司名称","errors.isEmail":"无效的电子邮箱","period.yearly":"每年","errors.PAYMENT_NOT_FOUND":"未找到付款","errors.INVALID_SESSION":"无效会话","merchantSettings.notification.totpWasChangedSuccess":"基于时间的一次性密码已更新","merchantWallet.import.selectCoins.thirdParty":"如要使用支持的第三方代币,您需要在其网络上拥有现有的钱包地址","action.EMAIL_CHANGED":"电子邮箱已更改","common.email":"电子邮箱","landing.title":"无边界的银行账户","merchantClients.notification.updateClientMemoSuccess":"客户备忘录已更新","component.changeToken.notification.allSessionsWereTerminated":"所有会话已终止,请重新登录","errors.ADMIN_ALREADY_EXISTS":"管理员已存在","errors.PRV_INVALID":"无效私人查阅密钥","landing.header.sign":"登记","payment.help.alert":"Switch 并不是交易所或钱包托管人,而且不承担商家交付商品/服务的责任。","merchantPayments.paymentInfoModal.label.publicLink":"公共链接","errors.max":"输入值不應多于 {max}字符","errors.SESSION_EXPIRED":"会话已过期","merchantBilling.modalToChangePlan.preview.descriptionSubtext":"不会","merchantWallet.coins.label.imported":"钱包于 {date} {time} 导入","sidebar.dashboard":"控制面板","action.ACCOUNT_DELETED":"帐户已被删除","component.selectClient.label.detailsTitle":"客户详情","common.sort.newestFirst":"以日期降序排列","merchantPayments.table.columns.paid":"收到的金额","sidebar.sales":"销售量","about.integration.title":"即时整合钱包","status.OVERDUE":"逾期","period.montly":"每月","merchantPayments.paymentInfoModal.tab.history":"历史","merchantSettings.rules.detonator.description":"为您的帐户设置一个谨慎的毁灭开关。 在登录时输入此代码(而不是基于时间的一次性密码)将立即销毁帐户。","payment.expired.unavailableDescription":"此付款并不存在或已被取消。","merchantPayments.paymentInfoModal.label.includesSlippage":"包括{value}%的滑点","merchantWallet.generate.password.confirm":"确认密码","common.registered":"已注册","merchantBilling.balance.quotaResetsToday":"配额将在今天重置","merchantPayments.paymentInfoModal.journal.text1":"在系统中添加日记帐分录(仅您可见)来将付款手动标记为完成。 
211这仅适用于取消和过期的付款,并且只能在客户错过原始付款期限但后来全额支付的情况下使用。 使用日记帐分录标记为完成的付款不会生成付款收据。 而此类付款也会在您的损益表中突出显示。","merchantPayments.paymentInfoModal.journal.text2":"此操作不可逆转,而此付款的收入将在您确认后立即记入账户。 不建议习惯性使用此功能。","component.table.resetFilters":"重置全部筛选条件","action.RECEIVED":"收到{amount} {currency}","common.linkExpired":"链接已过期","common.success":"成功","common.incognito":"隐身","component.avatarManagement.browsePicture":"浏览图片","component.filter.status":"状态","merchantWallet.publicAddress.label.description":"在网上使用一个帐号来接收所有货币的付款。","merchantSettings.detonatorModal.detonationCode.title":"销毁代码","common.copy":"复制","adminMerchantsPruned.table.columns.companyName":"名称","paymentType.MANUAL_PAYMENT":"手动","merchantBilling.modalToChangePlan.select.description":"根据您打算在一个月或一年内接受客户付款次数来选择计划。 付款配额于每个周期都会重置。 您客户的未付/不完整付款并不计入配额。","merchantSettings.changeName.description.confirm":"您将于180 天内无法再次更改名称。","component.historyBlock.hash":"交易编码","adminDeposits.table.columns.cryptoValue":"金额","pay.button.returnHome":"回到主页","merchantClients.table.columns.clientName":"名称","merchantDashboard.income.month":"本月","signup.button.confirmEmail":"确认电邮","signup.label.codeWasSent":"我们已将验证码发送至您的电子邮箱","action.CANCELLED":"已取消","adminStaff.table.columns.adminId":"账号","merchantWallet.tabs.title.verification":"核实","merchantClients.clientInfoModal.label.cantBeEdited":"无法编辑电邮地址。您只能更改客户名称。","merchantWallet.faq.question1.description":"您的公共地址是一个您可以在网上分享给客户的独特链接。 通过此链接收到的所有款项都会直接存入您的钱包,并在付款完成后自动将收据发送给客户。","landing.labels.openTicket":"创建客服工单","component.avatarManagement.title":"裁剪图片","merchantDashboard.notification.invoiceWasDownloadedSuccess":"您的结单已准备好!","status.NEW":"新的","status.ALL":"全部","action.EXPIRED":"已过期","merchantSettings.general.label.lastChanges":"上次修改于{periodAgo}","merchantWallet.generate.password.passphrase":"密码","action.CANCELLED_MANUALLY":"被手动取消","merchantSettings.changeEmail.label.verifyEmail":"验证邮件","merchantSettings.changeName.newName":"新名称","pay.label.unknownAccount":"该帐户不存在或不公开接受付款。","adminDeposits.table.columns.hash":"编码","merchantWallet.import.importKeys.extraCoins.title":"其他第三方代币","common.from":"从","about.phylosofy.learnMore":"了解更多我们的理念","status.DO_NOT_DISTURB":"请勿打扰","merchantSettings.modalToDeleteAccount.final.title":"您的帐户已被删除","merchantSettings.detonatorModal.savedCode":"我已经保存了代码","merchantPayments.label.statusTooltip.isExpiredWhileConfirmed":"这笔款项在到期前已部分支付","merchantSettings.general.dateFormat":"日期格式","merchantSettings.modalToDeleteAccount.code.deteteAccount":"删除帐户","component.table.pagination.enterPage":"到页面","dnd.notifications.block.title":"屏蔽所有人","common.notNow":"现在不要","merchantClients.clientCreateModal.error.inputError":"{value} 项输入错误 | {value} 项输入错误","merchantSettings.api.table.actions":"行动","status.PAID":"已付费","landing.labels.inputAccount":"输入帐号","merchantSettings.changeEmail.title.changeEmail":"更改电邮地址","merchantSettings.modalToDeleteAccount.confirm.comment":"您将在帐户删除后立即被登出。 随后您会收到电邮通知。","common.never":"绝不","component.changeToken.enterCode":"输入您设备上显示的 6 个数位代码","merchantClients.clientInfoModal.label.tooltipForDelete":"只有没有支付记录的客户才能被删除。","signup.label.saveCodesDescription":"使用以下代码以恢复您的帐户。它们将不会再次显示。","common.error":"错误","merchantSettings.notification.deleteApiKeySuccess":"已删除密钥","merchantBilling.notification.planCancellationStopped":"已停止计划取消","merchantSettings.notifications.payments.title":"付款","merchantSettings.sessions.killAllSessions":"终止其他全部会话","signup.label.authAppConnected":"已连接身份验证器应用程序","common.complete":"完成","merchantBilling.balance.description":"所有款项一旦入账均不能退回。不论账户设定为哪种货币,存款都是以美元计算。","payment.label.slippage":"此付款包含商户设定的附加费","merchantBilling.modalToCancelPlan.freeLimitations":"免费计划的限制","merchantClients.searchPlaceholder":"在 {count} 个客户中搜索","signup.companyName.change":"稍後会被更改","about.title":"自由地接受加密货币","component.contactSupport.memo":"写下您的信息,您将在注册的电子邮箱中收到回复。","merchantPayments.table.columns.clientEmail"
211:"电邮","merchantSettings.label.exportData":"导出数据","merchantSettings.security.recentActivity.unknown":"未知","merchantSettings.modalToDeleteAccount.confirm.description":"确认您要删除您的帐户。","payment.label.paid":"已付款","merchantPayments.paymentInfoModal.label.unregisteredClients":"未注册的客户只有在付款完成后才会被标记为已注册","month.march":"三月","merchantWallet.generate.final.learnMore":"详细了解钱包的运作","merchantWallet.file.walletData":"钱包_数据","payment.label.pay":"以加密货币支付{amount}","merchantWallet.import.start.description":"您需要为您选择与 Switch 整合的每个货币输入一个公共密钥。 以太坊整合仅需要 EVM 地址,而门罗币整合除了公共支出密钥和公共查看密钥之外还需要私人查看密钥。 在技术上,这些数据无法让 Switch 访问您的资金。","landing.labels.registrationDisabled":"目前禁止注册。","errors.notLessThan":"输入值不应少于 {min} 字符","common.learnMore":"了解更多","signup.invitation.linkExpired.button":"回到主页","merchantBilling.balance.renewalInDays":"于 {value} 天后续订","common.clients":"客戶","dnd.notifications.disabled.description":"您同意通过电子邮件接收来自 Switch 上任何商家的付款请求通知。","servicePage.tooManyRequests.description":"请稍后再试","signup.invitation.selectCurrencyPlaceholder":"选择账户货币","merchantSettings.modalToDeleteAccount.confirm.conwirmWithTotp":"以基于时间的一次性密码确认","month.april":"四月","merchantClients.clientCreateModal.serverError.duplicated":"重复输入","merchantPayments.createPaymentModal.label.autoRevokeLink":"自动撤销链接","common.or":"或","status.PENDING":"待处理","merchantBilling.modalToRenew.footer":"仅当您的剩余配限额为 10% 或以下时,您才可以强制续订。","sidebar.wallet.label":"钱包","adminInvoices.table.columns.createdAt":"日期","signup.invitation.currencyDescription":"账户的货币是永久性的,之后{0}更改","merchantWallet.import.importKeys.label.privateSpendKey":"公共支出密钥","action.RENEWED":"已续订","merchantClients.clientInfoModal.label.lastPayment":"上一次付款","merchantSettings.general.timeFormat":"时间格式","component.selectClient.totalRevenue":"总收入","merchantBilling.modalToChangePlan.select.title":"更改计划","merchantWallet.generate.password.continueWithout":"无需密码继续","adminInvoices.table.columns.plan":"计划","component.historyBlock.journalEntry":"日记账分录","merchantSettings.notification.generateNewApiKeymaxAmountWarning":"最多 10 个 API 密钥","component.dateRangePicker.cannotBeInFuture":"不可输入未来的日期","period.minute":"分钟","merchantPayments.table.columns.createdAt":"创建日期","errors.UNKNOWN_ERROR":"未知的错误","merchantWallet.generate.final.description":"现在您已经创建了钱包,您可以开始接受客户的加密货币了。","merchantWallet.coins.label.disabled":"被系统暂时禁用","common.type":"类型","common.none":"没有","errors.ERR_AMOUNT_MIN_VALUE_IS_100":"最低金额不应少于 100","merchantWallet.duplicateSetup":"钱包设置重复","errors.min":"输入金额不能少于 {min}","status.SUCCESS":"成功","merchantBilling.notification.changeMerchantPlanStatusCancelled":"计划已标记为取消","merchantSettings.api.table.actionText":"回呼记录","pay.notification.requestsBlockedSystemError":"您的请求已被阻止,请稍后再试","merchantBilling.balance.renewalTomorrow":"于明天续订","action.ACTIVATED":"已使用{currency}启动","adminDeposits.table.columns.createdAt":"日期","merchantPayments.table.columns.amountReceived":"收到的金额","cycle.LIFETIME":"终身","component.accountRecovery.resetToken":"重置保安编码","status.ERROR":"错误","errors.ERR_AMOUNT_MIN_VALUE":"金额不能低于 {min} {currency}","dnd.login.verificationTitle":"验证电邮","errors.MONITORING_SERVICE_ERROR":"内部错误","action.REACTIVATED":"已使用{currency}重新启动","common.allTime":"所有时间","merchantSettings.notifications.payments.underpaidSighted":"已看到缴付不足的付款","merchantSettings.sessions.tor":"未知(Tor)","common.help":"帮助","status.BLOCKED":"请勿打扰","cycle.ANNUALLY":"每年","dnd.login.title":"请勿打扰","merchantSettings.changeEmail.title.verifyEmail":"验证邮件","merchantWallet.generate.password.setupDescription":"访问钱包需要密码和助记词的结合 - 如果您没有密码,您的助记词也就没有用处。","about.integration.crypto.title":"使用任何加密货币钱包","merchantWallet.generate.password.description":"密码是可选的,旨在于助记词之上添加第二层安全性。 如果您生成超过 1 个助记词,相同的密码将应用于这两个助记词。","merchantPayments.paymentInfoModal.journal.memoPlaceholder":"例如,于次日下午 6 点以现金支付","status.UNPAID":"未付款","merchantBilling.balance.quotaResetsTomorrow":"配额将在明天重置","month.december":"十二月","merchantWallet.faq.learnMore":"详细了解 Switch 如何操作","payment.help.conversionRates.description":"需支付的货币价值金额是根据当前流行的市场汇率来è
211®¡ç®—。","common.address":"地址","status.DELETED":"已删除","merchantBilling.modalToCancelPlan.paymentsPerMonth":"每月10次付款","errors.MERCHANT_DAILY_CLIENT_LIMIT_EXCEEDED":"已超出限制,请联系支持人员。","sidebar.clients":"客户","merchantBilling.notification.selectPlanAlreadyHave":"你已经有这个计划","ariaLabel.next":"下一个","errors.ERR_DEVICE_NOT_FOUND":"会话已过期","action.UPGRADED":"已升级","merchantSettings.api.keysUsed":"已使用的密钥","merchantClients.notification.addClientSuccess":"已邀请客户","component.filter.nSelected":"已选择{value} ","adminInvoices.table.columns.amount":"金额","merchantPayments.createPaymentModal.label.autoRevokeDescription":"此付款如果于{0}前没有被激活,将被自动取消。","merchantDashboard.notification.sessionWasKilled":"会话被另一个装置终止","status.WAITING":"等待资金","common.cancel":"取消","merchantSettings.notifications.title":"管理通知触发器","merchantDashboard.notification.sessionWasExpired":"会话已过期","dnd.login.subtitle":"阻止不法商家向您发送付款请求通知垃圾邮件。","common.copied":"已复制!","status.QUEUE":"排队中","dnd.merchants.back":"返回商户","component.contactSupport.title":"联系支持团队","merchantBilling.notification.selectPlanNotEnoughBalance":"余额不足","dnd.returnTo":"返回{link}","merchantSettings.rules.api.title":"API支付","servicePage.accessRescticted.description":"您对所请求的页面没有权限。","merchantSettings.notification.addImageSizeErrorNotification":"超出图像尺寸:{maxSize}MB","merchantBilling.balance.expiresInDays":"于{value}天后到期","status.APPROVALPENDING":"等待批准","plan.pro.title":"Pro","merchantSettings.notification.updateRevokeSuccess":"已更新设置","merchantSettings.notifications.payments.paymentSighted":"看到的付款","payment.error.paymentID":"付款编号","landing.errors.systemError":"系统错误","errors.CAN_NOT_ENABLE_DND":"目前无法启用 DND","adminMerchants.table.columns.companyName":"名称","merchantSettings.api.generateKey":"生成新密钥","payment.label.tokenIsDisabledByMerchant":"商家目前不接受此代币","payment.unconfirmed.confirmations":"确认","merchantClients.clientCreateModal.label.bulkMemo":`按以下格式导入客户,一次最多 100 个。
212
213<客户名称>:client1{'@'}gmail.com;
214<客户名称>:client2{'@'}gmail.com;
215<客户名称>:client3{'@'}gmail.com`,"merchantSettings.label.deleteAccount":"删除帐户","cycle.YEARLY":"每年","merchantSettings.general.picture":"个人资料图片","payment.complete.downloadReceipt":"下载收据","component.dateRangePicker.cannotBeOlderThanCreationDate":"不可输入早于帐户创建的日期","merchantBilling.modalToChangePlan.preview.unlimited":"无限","merchantWallet.import.importKeys.label.paste":"粘贴","merchantWallet.import.importKeys.label.invalidInput":"无效输入","merchantSettings.general.merchantName":"商户名称","merchantWallet.tabs.title.finalize":"最终确定","ariaLabel.feral":"feral","about.payments.trackReceipts":"追踪收据","errors.minLength":"最少需要 {min} 个字符","merchantDashboard.statement.downloadProcessing":"您的下载即将准备就绪…","errors.REQUEST_BLOCKED":"请求被阻止","merchantPayments.paymentInfoModal.label.paymentAmount":"支付金额","errors.clientHasDndEnabled":"选定的客户已启用 DND","merchantDashboard.statement.custom":"自定义时间段结单","merchantSettings.modalToDeleteApiKey.title":"删除 API 密钥","adminDeposits.table.columns.depositSequentialId":"账号","component.table.pagination.nextPage":"下一页","component.contactSupport.descriptionLink":"文档","merchantSettings.label.yourData":"你的资料","merchantDashboard.notification.insufficientBalanceForOperation":"修改计划失败","component.accountRecovery.openDashboard":"打开控制面板","action.SIGNED_UP":"已注册","payment.help.paymentWindows.title":"付款期限","action.LINK_ACCESSED":"已访问链接","merchantBilling.balance.label.stopCancellation":"停止取消计划","status.CANCELLED":"已取消","component.table.pagination.prevPage":"上一页","merchantBilling.modalToChangePlan.preview.buttonUpgrade":"确认以{money}升级","merchantBilling.addBalance.noRefunds":"不能退款。","sidebar.staff":"职员","merchantSettings.notification.enableDetonatorSuccess":"已更新设置","merchantWallet.import.importKeys.label.learnMore":"了解更多有关导入钱包","format.number.point":"点分隔符 ({value})","merchantSettings.notification.deleteProfilePictureSuccess":"已更新设置","errors.isUrl":"无效的URL","adminMerchantsPruned.table.columns.uid":"用户编号","merchantPayments.createPaymentModal.label.memo":"备忘录(例如支付标志设计款项)","merchantBilling.balance.label.upgradePlan":"升级计划","merchantClients.table.columns.clientEmail"
215:"电子邮箱","merchantPayments.table.columns.status":"状态","component.changeToken.resetToken":"重置保安编码","merchantSettings.rules.revoke.title":"自动撤销支付链接","merchantWallet.generate.password.setup":"设置密码","merchantWallet.generate.seed.title":"保存您的助记词","pay.label.makePayment":"付款给","merchantWallet.tabs.title.coinSelection":"币种选择","merchantSettings.sessions.otherSessions":"其他会话","component.table.column":"列","merchantWallet.generate.password.title":"为助记词添加密码","signup.forbidden.openOnDesktop":"在桌面打开{link}以完成注册","dnd.settings.description":"启用此功能后,Switch 上的所有商家都将被阻止向您发送任何付款请求通知。或者,您也可以选择仅阻止特定商家。","merchantBilling.modalToChangePlan.select.unlimited":"无限","payment.error.date":"日期","component.disconnectWallet.title":"断开钱包连接","merchantSettings.detonatorModal.setDetonator.title":"设置销毁装置","cycle.MONTH":"月","dnd.login.verifyWithOtp":"使用一次性密码验证","merchantWallet.generate.verification.description":"请使用您保存的助记词以完成验证。如果您没有保存助记词,则必须取消设置并重新开始。","dnd.merchants.blockAll":"屏蔽所有通知","payment.label.awaitingConfirmation":"等待确认","merchantBilling.balance.status.expires":"过期","plan.black.title":"Black","merchantClients.clientCreateModal.label.description":"添加客户后就无法删除,但您仍可编辑其名称。","merchantBilling.balance.downgradesTomorrow":"于明天降级至免费计划","errors.minAmountCannotBeDecimal":"金额不能为小数","status.HOLD":"暂停","signup.button.openDashboard":"打开控制面板","adminMerchantsPruned.table.columns.baseCurrency":"货币","signup.invitation.currencyDescriptionSubtext":"不能","pay.notification.createPaymentContactMerchant":"生成付款发生错误,请联系商家","plan.black.description":"业务量大的企业适用。 固定费用而且无限制。","errors.INSUFFICIENT_BALANCE_FOR_THE_OPERATION":"修改计划失败, 商戶余额不足","errors.isEnum":"输入无效","merchantWallet.faq.question1.title":"我如何使用我的公共地址?","component.changeToken.title.changeToken":"更改保安编码","merchantClients.payments.title":"相关付款","merchantSettings.changeEmail.label.resendCode":"重新发送验证码","about.payments.title":"发送付款请求","merchantClients.table.columns.lastPayment":"上一次付款","merchantWallet.generate.verification.title":"验证助记符","merchantClients.clientCreateModal.error.min1Character":"客户名称至少需要 1 个字符","merchantClients.table.columns.status":"状态","errors.notMoreThan":"允许最多 {max} 个字符","merchantSettings.modalToDeleteAccount.confirm.title":"删除帐户","merchantBilling.balance.unlimitedPayments":"无限制支付","component.selectClient.label.placeholder":"按姓名/电邮地址搜索或添加新电邮地址","merchantSettings.rules.antispam.title":"反垃圾邮件","merchantBilling.balance.learnMore":"了解更多计划和定价","status.DELIVERED":"已送达","merchantBilling.label.reason":"原因","merchantWallet.tabs.title.selectCoins":"选择货币","merchantSettings.api.modal.description":"生成用于第三方应用程序的保安编码。 保安编码可能仅限于个别 IP 地址。{learnMore}","signup.invitation.invalidInvitation.title":"无效的邀请","dnd.settings.hello":"你好 {email}","merchantWallet.tabs.title.start":"开始","cycle.QUARTERLY":"每季","merchantPayments.paymentInfoModal.journal.subtitle":"此操作不可逆转","merchantClients.clientCreateModal.tab.single":"单一客户","payment.label.coinIsdisabledGlobally":"该货币目前无法使用","merchantClients.clientCreateModal.title.add":"添加客户","common.payment":"付款","merchantWallet.generate.final.warningHint":"为确保您的钱包设置正确,我们建议您在公开您的 Switch 地址之前,先使用所有配置的代币的名义付款测试来验证资金的接收和可用性。","merchantWallet.label.importKeys":"导入数据","merchantPayments.table.columns.exchangeCurrency":"货币","merchantSettings.sessions.currentSession":"当前会话","component.contactSupport.description":"如有疑问,请在向我们发送信息前先细阅{link}.","errors.wrongToken":"保安编码錯誤。再試一次","merchantBilling.filter.all":"全部","merchantPayments.table.columns.type":"类型","action.NAME_CHANGED":"已更改","merchantBilling.label.credit":"余额","merchantDashboard.income.year":"今年","merchantWallet.generate.password.validation.max":"最多 {max} 个字符","errors.XMR_KEYCHAIN_INVALID":"Monero 的钥匙串无效","common.back":"返回","merchantSettings.rules.slippage.title":"覆盖滑点","common.disabled":"被禁用","merchantPayments.createPaymentModal.label.amount":"金额","month.october":"十月","component.table.showOnPage":"显示{all}中的{period}","merchantSettings.general.accountNumber":"帐号","common.verify":"核实","component.changeToken.description.changeToken":"输入有效的基于时间的一次性密码或注册时的恢复码以更改您的验证器保安编码。","merchantBilling.balance.renew.title":"自动续订","servicePage.accessRescticted.title":"访问受限制","dnd.login.enterCode":"输入发送到{email}的代码","merchantSettings.notification.resendCodeToVerifyEmailSuccess":"已发送新代码。 请查看你的邮箱","merchantPayments.paymentInfoModal.label.notActivatedLink":"链接尚未激活","common.remaining":"剩余","errors.minimumAmountByMerchant":"金额不能低于 {min} {currency}","about.payments.manageClients":"管理客户","adminDeposits.table.columns.companyName":"商户名称","action.VOTING_DISAGREE":"不同意","merchantBilling.modalToChangePlan.preview.paymentsPer":"每{period}付款次数","merchantBilling.modalToRenew.paymentsLeftNow":"现在余下支付次数","status.SETTLED":"已结束","signup.invitation.description":"开始接受加密货币付款","errors.isLength":"输入值长度应在 {min} 和 {max}之间","component.contactSupport.option.FEEDBACK":"反馈","errors.WALLET_GEN_FAILED":"钱包设置失败,请再试一次。","common.memo":"备忘录","action.CANCELLED_BY_MERCHANT":"被商户取消","component.contactSupport.ticketIsCreated":"您的信息已发送","merchantClients.clientCreateModal.error.max50Characters":"电邮最多允许 50 个字符","about.integration.accept.title":"选择您接受的货币","merchantPayments.paymentInfoModal.label.notSet":"未设置","merchantSettings.security.recentActivity.title":"最近的活动","common.refresh":"刷新","merchantWallet.faq.question2.title":"什么是隐身模式?","action.SIGHTED":"看到的{amount} {currency}","common.cycle":"周期","merchantWallet.publicAddress.label.enabled":"已启用公共地址","about.opi.addition.text":"因为{reason}","landing.description":"通过加密货币为企业和商户提供无边界é“
215¶è¡ŒæœåŠ¡ã€‚æ— é™åˆ¶ï¼Œæ— çº¦æŸã€‚","sidebar.tools":"工具","payment.help.paymentWindows.description":"付款于定时器超时后不再受到监控。此后发送的任何资金都将被忽略,您必须联系商家讨论支付事宜。","merchantWallet.import.importKeys.label.evmHint":"于同一地址接受支持的第三方 ERC-20 代币","action.RECOVERY_ATTEMPT":"尝试恢复","component.selectClient.lastPaid":"上一次付款","action.VOTED":"已投票","merchantSettings.api.table.key":"API密钥","period.month":"月","merchantClients.clientInfoModal.button.save":"保存变更","status.QUEUED":"已排队","action.INVITED":"由 {admin} 邀请","component.table.search":"搜索数据库","common.due":"到期","cycle.SEMI_ANNUAL":"每半年","merchantDashboard.income.today":"今天的收入","merchantWallet.title":"公共地址","adminMerchants.table.columns.deletedAt":"删除日期","merchantWallet.generate.familySelection.bip39":"此货币系列使用类似的协定,而且可以使用单个助记词进行访问。","component.accountRecovery.qrCodeAnnotation":"使用任何验证应用程序扫描此二维码并输入显示的基于时间的一次性密码。","period.hour":"小时","merchantSettings.tab.notifications":"通知","merchantSettings.detonatorModal.generateCode":"产生代码","merchantBilling.filter.invoices":"发票","common.documentation":"文档","dnd.history.unblock":"解除封锁","merchantWallet.faq.title":"常见问题","dnd.notifications.description":"统一管理 Switch 上所有商户的设置","payment.label.coinIsDisabledByMerchant":"商户目前不接受此货币","merchantWallet.publicAddress.label.disabled":"已禁用公共地址","cycle.WEEKLY":"每周","errors.invalidCredentials":"凭证无效","component.upload.maxSize":"{fileName} 大于允许的 {maxSize} MB 最大值","merchantWallet.generate.seed.monero":"门罗币词组","errors.NO_INCOME_STATEMENT":"此期间没有任何收入。 请换一个时间段重试","merchantSettings.changeName.description.tryAgain":"名称在 180 天内只能更改一次。请在 {daysLeft} 天后重试。","merchantPayments.table.columns.paymentId":`账号
216`,"merchantWallet.tabs.title.password":"设置密码","signup.label.accountReadyDescription":"保存您的账号以供授权。这将是您在 Switch 上的身份。","component.selectClient.label.addNew":"添加新客户","merchantWallet.import.importKeys.label.publicViewKey":"公共查阅密钥","errors.MERCHANT_SUBSCRIPTION_LIMIT_EXCEEDED":"已超出限制,请联系支持人员。","merchantWallet.coins.title":"接受的币种","about.phylosofy.title":"一个银行业的革命","adminDeposits.table.columns.paymentsCount":"付款","merchantSettings.modalToDeleteApiKey.description":"此操作无法撤消。将不能后续连接此密钥与API。","format.time.12h":"上午/下午 (12小时制)","merchantPayments.createPaymentModal.button.createPayment":"创建付款","common.name":"名字","common.confirm":"确认","merchantSettings.general.title":"管理偏好设置","sidebar.resetCache":"缓存重置","merchantSettings.api.table.nodata":"生成 API 密钥向第三方应用程序提供访问","merchantClients.deleteClientModal.title":"删除 {name}?","action.CHANGED_TOTP_TOKEN":"更改基于时间的一次性保安编码","merchantBilling.modalToRenew.paymentsLeftAfter":"之后剩于的付款次数","payment.expired.unavailableTitle":"支付失败","about.payments.description":"您的客户可通过网上公开访问的独一无二链接,以您选择的货币向您付款。","merchantClients.clientCreateModal.label.clientName":"客户名称","adminMerchants.table.columns.name":"名称","component.avatarManagement.editPicture":"编辑图片","merchantSettings.rules.captcha.title":"验证码","status.PROGRESS":"进行中","merchantBilling.modalToChangePlan.preview.yearlyCost":"每年费用","merchantWallet.publicAddress.label.minAmount":"最低金额","merchantPayments.notification.sendPaymentRequestSuccess":"已创建付款并发送通知","format.number.comma":"逗号分隔符 ({value})","merchantSettings.api.modal.callbackUrl":"回呼url (可选)","merchantSettings.rules.desctruct.title":"自我销毁","ariaLabel.switch":"switch","merchantSettings.sessions.killSession":"终止会话#{number}","merchantClients.clientCreateModal.serverError.clientIsExists":"拥有此电邮地址的客户已存在您的数据库中","merchantWallet.generate.password.button.set":"设置
216密码","errors.isNumber":"无效号码","merchantWallet.generate.password.validation.min":"最少 {min} 个字符","component.accountRecovery.enterTotp":"输入基于时间的一次性密码","sidebar.reports":"报告","errors.uidLength":"用户编号長度必須為 7个数位","merchantSettings.changeToken.description":"您的帐户受到基于时间的一次性密码的保护。","signup.invitation.title":"完成您的商户帐户设置","landing.errors.tooManyAttempts":"尝试次数过多,请稍后再试","adminDeposits.table.columns.lastPayment":"上次付款","status.FAILED":"已失败","payment.label.toNetworkAddress":"付款到{networkName}地址","merchantSettings.tab.api":"API","merchantClients.table.columns.revenue":"收入","merchantSettings.notification.updateRulesSuccess":"已更新设置","currency.kr":"韩元","merchantSettings.notification.updateMerchantNameSuccess":"名称已更新","pay.label.memoPlaceholder":"添加便条","merchantBilling.balance.label.cancelPlan":"取消计划","pay.label.emailPlaceholder":"输入你的电子邮箱","merchantPayments.paymentInfoModal.title":"付款详情","signup.notification.resendEmailSuccess":"代码已重新发送","payment.complete.rate":"汇率","merchantWallet.generate.seed.description":"下面的助记词是访问多币种钱包的关键。 如果没有助记词的话,您将无法恢复多币钱包。","merchantSettings.modalToDeleteAccount.code.title":"输入基于时间的一次性密码","sidebar.merchants":"商户","common.addMemo":"添加备忘录","merchantDashboard.totalRecieved.description":"终身货币价值为所有已完成的付款的总计。","adminMerchants.table.columns.plan":"计划","currency.jp":"日圆","merchantPayments.label.disabledTooltip":"您必须先设置钱包,才能创建付款请求。","merchantDashboard.setupWallet":"设置钱包以接收付款","merchantSettings.api.modal.addApi":"添加API密钥","component.changeToken.description.setupNewToken":"使用任何软件验证器扫描以下的二维码以生成保安编码。","component.disconnectWallet.label.totp":"输入您的基于时间的一次性密码进行确认","merchantClients.clientCreateModal.label.bottomDescription":"添加后不会发送电邮通知。","status.INACTIVE":"不活动","adminMerchants.table.columns.deposit":"存款","merchantBilling.history.noHistory.title":"存入资金即可开始使用","payment.error.subtitle":"完成此付款时出现错误,请联系商户。","month.june":"六月","payment.expired.UNDERPAID_EXPIRED_WITH_TWO_TX":"此地址上检测到的交易与所需金额不同,使付款窗口突然关闭。","action.DEPOSITED":"已存入 {currency}{amount}","common.close":"关闭","component.dateRangePicker.cannotBiggerThanEnd":"此日期不能在结束日期之后","merchantPayments.notification.paymentCancelledSuccess":"已取消付款","currency.in":"印度卢比","payment.label.sent":"你已发送","currency.il":"以色列谢克尔","merchantSettings.notifications.quota.tip":"每当外部/自动尝试为此帐户生成付款但因为配额耗尽而被阻止时,系统都会向您发出通知。","status.OPEN":"开启","action.LOGGED_IN":"已登录","merchantBilling.balance.renew.description":"如果有足够的余额,计划于到期后自动续订。","merchantClients.clientCreateModal.title.import":"导入客户","merchantPayments.createPaymentModal.title":"创建付款","merchantWallet.generate.familySelection.button.cancel":"取消设置钱包","status.CONFIRMED":"确认","merchantClients.clientCreateModal.subtitle.bulk":"您必须更正下面的输入错误才能处理导入。 导入时,列表中或数据库中的重复条目(以电邮地址标识)将被忽略。","landing.labels.support":"支持","month.july":"七月","adminDeposits.table.columns.revenue":"收入","merchantBilling.balance.status.renewal":"续订","currency.hk":"港元","merchantBilling.balance.expiresToday":"于今天到期","status.UNREGISTERED":"未注册","merchantSettings.notification.emailWasChangedSuccess":"电邮地址已更改","cycle.WEEK":"星期","common.disable":"禁用","common.payments":"付款","pay.label.incognito":"此商家已启用隐身付款。没有姓名或电邮地址可以与此交易关联。","merchantPayments.table.columns.baseAmount":"价值","signup.label.accountReady":"您的帐户已准备好!","status.UNCONFIRMED":"未经确认","signup.button.sendCode":"发送验证码","signup.invitation.linkExpired.description":"此链接已过期。","dnd.history.title":"商户历史","plan.business.title":"Business","adminInvoices.table.columns.companyName":"商户名称","adminInvoices.table.columns.uid":"用户编号","merchantWallet.publicAddress.label.on":"开启","errors.isRequired":"此栏位为必填项","merchantSettings.notification.saveProfilePictureSuccess":"已更新设置","merchantWallet.generate.familySelection.description":"根据您选择接受的货币系列,系统可能会生成多个助记词(也称为助记符)。","merchantClients.notification.bulkAddClientsSuccess":"导入成功。 没有发现错误。","merchantWallet.generate.seed.bip39":"BIP39 词组","merchantWallet.tabs.title.seed":"助记词","period.day":"天","errors.superUidLength":"用户编号長度必須不少於 3个数位","merchantClients.label.createButton":"添加客户","merchantSettings.changeName.de
216scription.default":"名称在每 180 天内只能更改一次。","ariaLabel.twitter":"Twitter","payment.manualComplete.title":"付款完成","merchantBilling.modalToCancelPlan.title":"取消计划","component.selectClient.label.newClientTitle":"将添加新客户","action.UNSUSPENDED":"已取消暂停","signup.title":"设定商户帐户","action.TOKEN_CHANGED":"已更改保安编码","merchantWallet.import.importKeys.extraCoins.description":"系统不支持Tron的TRX和BSC的BNB等原生代币。","payment.manualComplete.description":"该付款已由商家手动标记为完成。此付款不会生成收据。","about.integration.accept.description":"Switch 支持比特币 (BTC)、莱特币 (LTC)、达什币 (DASH) 和莫奈罗币 (XMR)。直接向您的钱包收款。","paymentType.PUBLIC_PAYMENT":"公共","component.changeToken.title.setupNewToken":"设置保安编码","format.date.monthDateYear":"月/日/年","pay.notification.paymentQuotaExhaustedSystemError":"无法生成付款,请联系商家","merchantPayments.paymentInfoModal.button.cancel":"取消付款","merchantSettings.security.recentActivity.action":"行动","period.weekly":"每周","merchantClients.clientCreateModal.error.notAnEmail":"不是电子邮箱","merchantSettings.modalToDeleteAccount.confirm.warning3":"您帐户上的任何现有存款将永久作废。","cycle.SEMI_ANNUALLY":"每半年","merchantBilling.balance.renewalToday":"于今天续订","merchantSettings.modalToDeleteAccount.confirm.warning1":"请输入软件验证器上显示的 6 位数代码以继续删除帐户。 此操作无法撤消。","merchantSettings.notifications.payments.paymentReceived":"已收到付款","adminMerchants.table.columns.cycle":"周期","merchantSettings.modalToDeleteAccount.confirm.warning2":"这将永久删除您的帐户以及系统中的所有有关的数据。","merchantClients.clientCreateModal.error.syntax":"语法错误","currency.us":"美元","merchantPayments.paymentInfoModal.label.cancelledAutomaticly":"付款已自动取消","merchantDashboard.notification.code500":"代码 500。系统错误","merchantSettings.api.logs.noData":"尚无记录","adminDeposits.table.columns.id":"存款编号","payment.complete.fees":"网络费用","merchantWallet.import.selectCoins.description":"选择您想接受的币种,以及在下一步导入所需的密钥/数据。 在设置完成后您无法添加/删除单个币种,在这种情况下您必须重新启动向导。","payment.expired.underpaidBy":"少付了{amount} {currency}","merchantPayments.table.columns.memo":"备忘录","currency.ua":"乌克兰格里夫纳","merchantClients.clientsFilter.dndToggle":"显示状态为 {status} 的客户","component.table.noRecords":"没有找到记录","header.expires":"于{date}过期","status.FAIL":"失败","currency.th":"泰铢","merchantWallet.import.start.title":"导入公共密钥","merchantSettings.rules.slippage.description":"对所有款项的所需货币价值增加 %,以计入您企业的结算/法定兑换费用。 客户可以看到滑点,而稳定币不受此规则影响。","merchantWallet.import.importKeys.description":"Switch 使用您钱包中的公共数据(例如公共密钥和 EVM* 地址)来允许您接受客户的付款。 在此页面上输入的任何数据都无法让 Switch 控制您的资金。 而需要私人查看密钥、公共查看密钥和公共支出密钥的于门罗币都不会让Switch 对您的资金进行任何控制。","payment.expired.EXPIRED_WHILE_CONFIRMING":"在此存款地址上检测到的交易确认时限已过。","merchantSettings.rules.api.description":"对通过第三方应用程序的付款应用类似的政策","merchantBilling.modalToChangePlan.preview.downgrade":"降级到{icon} {plan}","format.date.yearMonthDate":"年/月/日","payment.complete.transaction":"查看区块链上的交易{number}","errors.ACCOUNT_EXISTS":"此電子郵箱已在使用中。","merchantWallet.generate.familySelection.title":"币种选择","currency.sg":"新加坡元","merchantBilling.label.invoice":"发票","merchantClients.clientCreateModal.error.nameRequired":"必填名字","merchantWallet.faq.question3.descriptionLink":"断开整个钱包","errors.noZeroAsFirstDigit":"用户编号不能以 0 开首","action.UNDERPAID_AND_EXPIRED":"支付不足且过期","payment.expired.noTransactions":"在付款期限内没有在存款地址上检测到任何交易。","servicePage.underMaintenance.description":"我们很快就会回来。","merchantWallet.generate.final.finish":"完成设置","about.integration.crypto.description":"与大多数跨平台的钱包兼容。Switch 遵守相同的国际标准,以实现最佳互操作性。","merchantPayments.table.columns.address":"地址","merchantWallet.tabs.title.keys":"导入数据","component.accountRecovery.description2":"所有旧的恢复码将不能使用,而系统将生成新的恢复码。","component.contactSupport.option.QUESTION":"问题","currency.ru":"俄罗斯卢布","merchantPayments.notification.paymentCancelledFail":"此付款无法取消","merchantSettings.general.saveChanges":"保存变更","component.accountRecovery.description1":"验证后,您当前的身份验证保安编码将被作废,并替换为新的编码。","sidebar.wallet.setup":"设置","landing.lostToken.label":"遺失了保安编码","component.upload.limit":"最多只允许 {limit} 个文件","merchantWallet.generate.password.validation.match":"密码不匹配","adminMerchants.table.columns.baseCurrency":"货币","merchantBilling.modalToCancelPlan.
216cycleBegins":"周期从下一个续订日开始。","common.revenue":"收入","signup.invitation.sessionExpired.title":"会话已过期","merchantWallet.generate.start.title":"生成新钱包","about.payments.descriptionMobile":"无定式的版面设计含有内置图标包、库存照片等。","merchantWallet.label.supportedTronTokens":"Tron 链上支持 TRC-20 代币","signup.invitation.invalidInvitation.button":"回到主页","merchantClients.clientCreateModal.warning.limitExceeded":"超出限值","sidebar.wallet.setupWallet":"设置钱包","dnd.help":"需要帮忙?","status.UNDERPAID":"支付不足","servicePage.underMaintenance.title":"正在维护","dnd.history.description":"这是过去向您发送过通知的商户列表。","signup.description":"开始接受加密货币付款","merchantSettings.changeEmail.description.enterTotp":"请输入身份验证器应用程序上显示的 6 位数代码以更改您的电邮地址。","merchantSettings.rules.desctruct.description":"帐户如在特定时间段没有活动,它以及所有关联数据会被删除。 此操作是永久性且不可逆转的。 当达到不活动期限时,系统会发送电邮警告。如果帐户仍然没有活动,它很快就会被删除,而且任何现有存款也将不可逆转地作废。","errors.INVALID_ACCOUNT":"无效帐户","cycle.MONTHLY":"每月","merchantBilling.modalToChangePlan.preview.description":"新的计费日期在确认后立即生效。 当您的接近耗尽配额时我们才会建议您更改计划,剩余的付款配额是{0}被结转到新的计划。","ariaLabel.telegram":"Telegram","action.CANCELLED_BY_SYSTEM":"被系统取消","adminMerchantsPruned.table.columns.email":"电子邮箱","merchantSettings.rules.captcha.description":"生成付款时在公共地址页面上强制填写验证码。","action.LINK_CREATED":"已创建链接","merchantBilling.balance.downgradesInValueDays":"于{value}天后降级至免费计划","merchantSettings.tab.general":"一般","merchantWallet.coins.label.generated":"通过 Switch 于 {date} {time} 生成的钱包","merchantSettings.notifications.access.title":"访问","action.LINK_REVOKED":"已撤销链接"},no=$fe({legacy:!1,locale:"en",fallbackLocale:"en",messages:{en:E5e,ru:P5e,zh:M5e,ja:T5e,ko:R5e},pluralRules:{ru(e,t){if(e===0)return 0;const n=e>10&&e<20,o=e%10===1;return!n&&o?1:!n&&e%10>=2&&e%10<=4||t<4?2:3}}}),L5e=e=>{const{language:t}=tf(),n=fn(),o=m5e(),i=t.value||o||"en";n.$patch({language:i}),no.global.locale.value=i,tt.locale(i),e.config.globalProperties.t=no.global.t},aNe=(e,t)=>{if(t==="ru")return`${e}-e`;if(t==="en"){const n={1:"st",2:"nd",3:"rd"};return`${e}${(i=>{const s=n[i%10]||"th";return Math.floor(i%100/10)===1?"th":s})(e)}`}if(t==="zh")return`第${e}个`;if(t==="ja")return`${e}番目`;if(t==="ko")return`${e}번째`;throw new Error(`Unsupported language: ${t}`)};function Vs(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var pF=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,x5e=typeof self=="object"&&self&&self.Object===Object&&self,us=pF||x5e||Function("return this")(),tC=function(){return us.Date.now()},D5e=/\s/;function k5e(e){for(var t=e.length;t--&&D5e.test(e.charAt(t)););return t}var A5e=/^\s+/;function _5e(e){return e&&e.slice(0,k5e(e)+1).replace(A5e,"")}var Li=us.Symbol,fF=Object.prototype,I5e=fF.hasOwnProperty,F5e=fF.toString,Bd=Li?Li.toStringTag:void 0;function O5e(e){var t=I5e.call(e,Bd),n=e[Bd];try{e[Bd]=void 0;var o=!0}catch{}var i=F5e.call(e);return o&&(t?e[Bd]=n:delete e[Bd]),i}var N5e=Object.prototype,B5e=N5e.toString;function H5e(e){return B5e.call(e)}var V5e="[object Null]",$5e="[object Undefined]",pE=Li?Li.toStringTag:void 0;function vd(e){return e==null?e===void 0?$5e:V5e:pE&&pE in Object(e)?O5e(e):H5e(e)}function $a(e){return e!=null&&typeof e=="object"}var W5e="[object Symbol]";function Z0(e){return typeof e=="symbol"||$a(e)&&vd(e)==W5e}var fE=NaN,G5e=/^[-+]0x[0-9a-f]+$/i,z5e=/^0b[01]+$/i,U5e=/^0o[0-7]+$/i,j5e=parseInt;function gE(e){if(typeof e=="number")return e;if(Z0(e))return fE;if(Vs(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Vs(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=_5e(e);var n=z5e.test(e);return n||U5e.test(e)?j5e(e.slice(2),n?2:8):G5e.test(e)?fE:+e}var Z5e="Expected a function",K5e=Math.max,q5e=Math.min;function yr(e,t,n){var o,i,s,r,a,l,c=0,u=!1,d=!1,h=!0;if(typeof e!="function")throw new TypeError(Z5e);t=gE(t)||0,Vs(n)&&(u=!!n.leading,d="maxWait"in n,s=d?K5e(gE(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h);function p(E){var T=o,R=i;return o=i=void 0,c=E,r=e.apply(R,T),r}function f(E){return c=E,a=setTimeout(v,t),u?p(E):r}function g(E){var T=E-l,R=E-c,A=t-T;return d?q5e(A,s-R):A}function m(E){var T=E-l,R=E-c;return l===void 0||T>=t||T<0||d&&R>=s}function v(){var E=tC();if(m(E))return y(E);a=setTimeout(v,g(E))}function y(E){return a=void 0,h&&o?p(E):(o=i=void 0,r)}function b(){a!==void 0&&clearTimeout(a),c=0,o=l=i=a=void 0}function w(){return a===void 0?r:y(tC())}function S(){var E=tC(),T=m(E);if(o=arguments,i=this,l=E,T){if(a===void 0)return f(l);if(d)return clearTimeout(a),a=setTimeout(v,t),p(l)}return a===void 0&&(a=setTimeout(v,t)),r}return S.cancel=b,S.flush=w,S}var Y5e="Expected a function";function X5e(e,t,n){var o=!0,i=!0;if(typeof e!="function")throw new TypeError(Y5e);return Vs(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),yr(e,t,{leading:o,maxWait:t,trailing:i})}var eu=function(){return eu=Object.assign||function(t){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},eu.apply(this,arguments)};function gF(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function mF(e){return!e||!e.ownerDocument?document:e.ownerDocument}var vF=function(e){var t={},n=Array.prototype.reduce.call(e,function(o,i){var s=i.name.match(/data-simplebar-(.+)/);if(s){var r=s[1].replace(/\W+(.)/g,function(a,l){return l.toUpperCase()});switch(i.value){case"true":o[r]=!0;break;case"false":o[r]=!1;break;case void 0:o[r]=!0;break;default:o[r]=i.value}}return o},t);return n};function CF(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function bF(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function yF(e){return".".concat(e.split(" ").join("."))}var Ay=!!(typeof window<"u"&&window.document&&window.document.createElement),J5e=Object.freeze({__proto__:null,addClasses:CF,canUseDOM:Ay,classNamesToQuery:yF,getElementDocument:mF,getElementWindow:gF,getOptions:vF,removeClasses:bF}),Gc=null,mE=null;Ay&&window.addEventListener("resize",function(){mE!==window.devicePixelRatio&&(mE=window.devicePixelRatio,Gc=null)});function vE(){if(Gc===null){if(typeof document>"u")return Gc=0,Gc;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),Gc=n}return Gc}var ea=gF,nC=mF,Q5e=vF,ta=CF,na=bF,Do=yF,Rm=(function(){function e(t,n){n===void 0&&(n={});var o=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var i=ea(o.el);o.scrollXTicking||(i.requestAnimationFrame(o.scrollX),o.scrollXTicking=!0),o.scrollYTicking||(i.requestAnimationFrame(o.scrollY),o.scrollYTicking=!0),o.isScrolling||(o.isScrolling=!0,ta(o.el,o.classNames.scrolling)),o.showScrollbar("x"),o.showScrollbar("y"),o.onStopScrolling()},this.scrollX=function(){o.axis.x.isOverflowing&&o.positionScrollbar("x"),o.scrollXTicking=!1},this.scrollY=function(){o.axis.y.isOverflowing&&o.positionScrollbar("y"),o.scrollYTicking=!1},this._onStopScrolling=function(){na(o.el,o.classNames.scrolling),o.options.autoHide&&(o.hideScrollbar("x"),o.hideScrollbar("y")),o.isScrolling=!1},this.onMouseEnter=function(){o.isMouseEntering||(ta(o.el,o.classNames.mouseEntered),o.showScrollbar("x"),o.showScrollbar("y"),o.isMouseEntering=!0),o.onMouseEntered()},this._onMouseEntered=function(){na(o.el,o.classNames.mouseEntered),o.options.autoHide&&(o.hideScrollbar("x"),o.hideScrollbar("y")),o.isMouseEntering=!1},this._onMouseMove=function(i){o.mouseX=i.clientX,o.mouseY=i.clientY,(o.axis.x.isOverflowing||o.axis.x.forceVisible)&&o.onMouseMoveForAxis("x"),(o.axis.y.isOverflowing||o.axis.y.forceVisible)&&o.onMouseMoveForAxis("y")},this.onMouseLeave=function(){o.onMouseMove.cancel(),(o.axis.x.isOverflowing||o.axis.x.forceVisible)&&o.onMouseLeaveForAxis("x"),(o.axis.y.isOverflowing||o.axis.y.forceVisible)&&o.onMouseLeaveForAxis("y"),o.mouseX=-1,o.mouseY=-1},this._onWindowResize=function(){o.scrollbarWidth=o.getScrollbarWidth(),o.hideNativeScrollbar()},this.onPointerEvent=function(i){if(!(!o.axis.x.track.el||!o.axis.y.track.el||!o.axis.x.scrollbar.el||!o.axis.y.scrollbar.el)){var s,r;o.axis.x.track.rect=o.axis.x.track.el.getBoundingClientRect(),o.axis.y.track.rect=o.axis.y.track.el.getBoundingClientRect(),(o.axis.x.isOverflowing||o.axis.x.forceVisible)&&(s=o.isWithinBounds(o.axis.x.track.rect)),(
216o.axis.y.isOverflowing||o.axis.y.forceVisible)&&(r=o.isWithinBounds(o.axis.y.track.rect)),(s||r)&&(i.stopPropagation(),i.type==="pointerdown"&&i.pointerType!=="touch"&&(s&&(o.axis.x.scrollbar.rect=o.axis.x.scrollbar.el.getBoundingClientRect(),o.isWithinBounds(o.axis.x.scrollbar.rect)?o.onDragStart(i,"x"):o.onTrackClick(i,"x")),r&&(o.axis.y.scrollbar.rect=o.axis.y.scrollbar.el.getBoundingClientRect(),o.isWithinBounds(o.axis.y.scrollbar.rect)?o.onDragStart(i,"y"):o.onTrackClick(i,"y"))))}},this.drag=function(i){var s,r,a,l,c,u,d,h,p,f,g;if(!(!o.draggedAxis||!o.contentWrapperEl)){var m,v=o.axis[o.draggedAxis].track,y=(r=(s=v.rect)===null||s===void 0?void 0:s[o.axis[o.draggedAxis].sizeAttr])!==null&&r!==void 0?r:0,b=o.axis[o.draggedAxis].scrollbar,w=(l=(a=o.contentWrapperEl)===null||a===void 0?void 0:a[o.axis[o.draggedAxis].scrollSizeAttr])!==null&&l!==void 0?l:0,S=parseInt((u=(c=o.elStyles)===null||c===void 0?void 0:c[o.axis[o.draggedAxis].sizeAttr])!==null&&u!==void 0?u:"0px",10);i.preventDefault(),i.stopPropagation(),o.draggedAxis==="y"?m=i.pageY:m=i.pageX;var E=m-((h=(d=v.rect)===null||d===void 0?void 0:d[o.axis[o.draggedAxis].offsetAttr])!==null&&h!==void 0?h:0)-o.axis[o.draggedAxis].dragOffset;E=o.draggedAxis==="x"&&o.isRtl?((f=(p=v.rect)===null||p===void 0?void 0:p[o.axis[o.draggedAxis].sizeAttr])!==null&&f!==void 0?f:0)-b.size-E:E;var T=E/(y-b.size),R=T*(w-S);o.draggedAxis==="x"&&o.isRtl&&(R=!((g=e.getRtlHelpers())===null||g===void 0)&&g.isScrollingToNegative?-R:R),o.contentWrapperEl[o.axis[o.draggedAxis].scrollOffsetAttr]=R}},this.onEndDrag=function(i){o.isDragging=!1;var s=nC(o.el),r=ea(o.el);i.preventDefault(),i.stopPropagation(),na(o.el,o.classNames.dragging),o.onStopScrolling(),s.removeEventListener("mousemove",o.drag,!0),s.removeEventListener("mouseup",o.onEndDrag,!0),o.removePreventClickId=r.setTimeout(function(){s.removeEventListener("click",o.preventClick,!0),s.removeEventListener("dblclick",o.preventClick,!0),o.removePreventClickId=null})},this.preventClick=function(i){i.preventDefault(),i.stopPropagation()},this.el=t,this.options=eu(eu({},e.defaultOptions),n),this.classNames=eu(eu({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=X5e(this._onMouseMove,64),this.onWindowResize=yr(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=yr(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=yr(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,o=n?.firstElementChild;if(!o)return null;document.body.appendChild(n),n.scrollLeft=0;var i=e.getOffset(n),s=e.getOffset(o);n.scrollLeft=-999;var r=e.getOffset(o);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:i.left!==s.left,isScrollingToNegative:s.left!==r.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:vE()}catch{return vE()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),o=nC(t),i=ea(t);return{top:n.top+(i.pageYOffset||o.documentElement.scrollTop),left
216:n.left+(i.pageXOffset||o.documentElement.scrollLeft)}},e.prototype.init=function(){Ay&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,n;this.wrapperEl=this.el.querySelector(Do(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(Do(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(Do(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(Do(this.classNames.offset)),this.maskEl=this.el.querySelector(Do(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,Do(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(Do(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(Do(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(Do(this.classNames.track)).concat(Do(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(Do(this.classNames.track)).concat(Do(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(Do(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(Do(this.classNames.scrollbar)))||null,this.options.autoHide||(ta(this.axis.x.scrollbar.el,this.classNames.visible),ta(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,o=ea(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(n=this.contentWrapperEl)===null||n===void 0||n.addEventListener("scroll",this.onScroll),o.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var i=!1,s=o.ResizeObserver||ResizeObserver;this.resizeObserver=new s(function(){i&&o.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),o.requestAnimationFrame(function(){i=!0})}this.mutationObserver=new o.MutationObserver(function(){o.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=ea(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var n=this.contentEl.offsetWidth,o=this.heightAutoObserverEl.offsetHeight<=1,i=this.heightAutoObserverEl.offsetWidth<=1||n>0,s=this.contentWrapperEl.offsetWidth,r=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var l=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=o?"auto":"100%",this.placeholderEl.style.width=i?"".concat(n||c,"px"):"auto",this.placeholderEl.style.height="".concat(l,"px");var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&c>n,this.axis.y.isOverflowing=l>u,this.axis.x.isOverflowing=r==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=a==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var d=this.axis.x.isOverflowing?this.scrollbarWidth:0,h=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>s-h,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&l>u-d,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var n,o;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var i=this.contentEl[this.axis[t].scrollSizeAttr],s=(o=(n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])!==null&&o!==void 0?o:0,r=s/i,a;return a=Math.max(~~(r*s),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(a=Math.min(a,this.options.scrollbarMaxSize)),a},e.prototype.positionScrollbar=function(t){var n,o,i;t===void 0&&(t="y");var s=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!s.el||!this.elStyles)){var r=this.contentWrapperEl[this.axis[t].scrollSizeAttr],a=((n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])||0,l=parseInt(this.elStyles[this.axis[t].sizeAttr],10),c=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];c=t==="x"&&this.isRtl&&(!((o=e.getRtlHelpers())===null||o===void 0)&&o.isScrollOriginAtZero)?-c:c,t==="x"&&this.isRtl&&(c=!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollingToNegative?c:-c);var u=c/(r-l),d=~~((a-s.size)*u);d=t==="x"&&this.isRtl?-d+(a-s.size):d,s.el.style.transform=t==="x"?"translate3d(".concat(d,"px, 0, 0)"):"translate3d(0, ".concat(d,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var n=this.axis[t].track.el,o=this.axis[t].scrollbar.el;!n||!o||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(n.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(n.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?o.style.display="block":o.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(ta(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),!this.isDragging&&this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(na(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var n=this.axis[t];!n.track.el||!n.scrollbar.el||(n.track.rect=n.track.el.getBoundingClientRect(),n.scrollbar.rect=n.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(n.track.rect)?(this.showScrollbar(t),ta(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?ta(n.scrollbar.el,this.classNames.hover):na(n.scrollbar.el,this.classNames.hover)):(na(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),na(this.axis[t].track.el,this.classNames.hover),na(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,n){var o;n===void 0&&(n="y"),this.isDragging=!0;var i=nC(this.el),s=ea(this.el),r=this.axis[n].scrollbar,a=n==="y"?t.pageY:t.pageX;this.axis[n].dragOffset=a-(((o=r.rect)===null||o===void 0?void 0:o[this.axis[n].offsetAttr])||0),this.draggedAxis=n,ta(this.el,this.classNames.dragging),i.addEventListener("mousemove",this.drag,!0),i.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(i.addEventListener("click",this.preventClick,!0),i.addEventListener("dblclick",this.preventClick,!0)):(s.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,n){var o=this,i,s,r,a;n===void 0&&(n="y");var l=this.axis[n];if(!(!this.options.clickOnTrack||!l.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var c=ea(this.el);this.axis[n].scrollbar.rect=l.scrollbar.el.getBoundingClientRect();var u=this.axis[n].scrollbar,d=(s=(i=u.rect)===null||i===void 0?void 0:i[this.axis[n].offsetAttr])!==null&&s!==void 0?s:0,h=parseInt((a=(r=this.elStyles)===null||r===void 0?void 0:r[this.axis[n].sizeAttr])!==null&&a!==void 0?a:"0px",10),p=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],f=n==="y"?this.mouseY-d:this.mouseX-d,g=f<0?-1:1,m=g===-1?p-h:p+h,v=40,y=function(){o.contentWrapperEl&&(g===-1?p>m&&(p-=v,o.contentWrapperEl[o.axis[n].scrollOffsetAttr]=p,c.requestAnimationFrame(y)):p<m&&(p+=v,o.contentWrapperEl[o.axis[n].scrollOffsetAttr]=p,c.requestAnimationFrame(y)))};y()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=ea(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,n){var o=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(i){return o.call(i,n)})[0]}
216,e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=Q5e,e.helpers=J5e,e})(),ml=function(){return ml=Object.assign||function(t){for(var n,o=1,i=arguments.length;o<i;o++){n=arguments[o];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},ml.apply(this,arguments)},e3e={beforeUnmount:"beforeUnmount"},Hd;function t3e(e){var t,n=e.h,o=e.emit,i=e.slots,s=e.props,r=function(l){return o("scroll",l)},a=ml(ml({},Rm.defaultOptions.classNames),s.classNames);return n("div",ml({ref:"element"},{"data-simplebar":"init"}),[n("div",{class:a.wrapper},[n("div",{class:a.heightAutoObserverWrapperEl},[n("div",{class:a.heightAutoObserverEl})]),n("div",{class:a.mask},[n("div",{class:a.offset},[n("div",ml(ml({},{onScroll:r,class:a.contentWrapper,tabIndex:0,role:"region","aria-label":s.ariaLabel||Rm.defaultOptions.ariaLabel}),{ref:"scrollElement"}),[n("div",{class:a.contentEl,ref:"contentElement"},(t=i.default)===null||t===void 0?void 0:t.call(i))])])]),n("div",{class:a.placeholder})]),n("div",{class:"".concat(a.track," simplebar-horizontal")},[n("div",{class:a.scrollbar})]),n("div",{class:"".concat(a.track," simplebar-vertical")},[n("div",{class:a.scrollbar})])])}var n3e=ge((Hd={name:"simplebar-vue",props:{autoHide:{type:Boolean,default:void 0},classNames:Object,forceVisible:{type:[Boolean,String],validator:function(e){return typeof e=="boolean"||e==="x"||e==="y"},default:void 0},ariaLabel:String,direction:{type:String,validator:function(e){return e==="ltr"||e==="rtl"}},timeout:Number,clickOnTrack:{type:Boolean,default:void 0},scrollbarMinSize:Number,scrollbarMaxSize:Number},emits:["scroll"],data:function(){return{}},mounted:function(){for(var e=Rm.getOptions(this.$refs.element.attributes),t=0,n=Object.entries(this.$props);t<n.length;t++){var o=n[t],i=o[0],s=o[1];s!=null&&typeof s!="function"&&(e[i]=s)}this.SimpleBar=new Rm(this.$refs.element,e),this.scrollElement=this.$refs.scrollElement,this.contentElement=this.$refs.contentElement}},Hd[e3e.beforeUnmount]=function(){var e;(e=this.SimpleBar)===null||e===void 0||e.unMount(),this.SimpleBar=void 0},Hd.methods={recalculate:function(){var e;(e=this.SimpleBar)===null||e===void 0||e.recalculate()}},Hd.render=function(e){var t=this;return t3e({h:typeof e=="function"?e:Ii,emit:function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return t.$emit.apply(t,n)},slots:this.$slots,props:this.$props})},Hd));const Lt=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n},o3e={__name:"CustomScroll",props:{hasFullHeight:{type:Boolean,default:!0},isDark:{type:Boolean,default:!1}},emits:["scroll-end","scroll-top"],setup(e,{emit:t}){const n=t,o=J(null),i=s=>{n("scroll-top",s.target.scrollTop),v5e(s,()=>{n("scroll-end")})};return(s,r)=>(N(),ve(C(n3e),{ref_key:"scrollContainer",ref:o,class:U(["simplebar",{"has-full-height":e.hasFullHeight===!0,dark:e.isDark}]),onScroll:i},{default:se(()=>[ke(s.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}},i3e=Lt(o3e,[["__scopeId","data-v-d464949f"]]);var CE={},bE;function s3e(){return bE||(bE=1,(function(){var e={114:function(w,S,E){function T(j){return new Promise((Q,ce)=>{j.oncomplete=j.onsuccess=()=>Q(j.result),j.onabort=j.onerror=()=>ce(j.error)})}function R(j,Q){let ce;return(pe,te)=>(()=>{if(ce)return ce;const ne=indexedDB.open(j);return ne.onupgradeneeded=()=>ne.result.createObjectStore(Q),ce=T(ne),ce.then(le=>{le.onclose=()=>ce=void 0},()=>{}),ce})().then(ne=>te(ne.transaction(Q,pe).objectStore(Q)))}let A;function k(){return A||(A=R("keyval-store","keyval")),A}function D(j,Q=k()){return Q("readonly",ce=>T(ce.get(j)))}function V(j,Q,ce=k()){return ce("readwrite",pe=>(pe.put(Q,j),T(pe.transaction)))}function O(j,Q=k()){return Q("readwrite",ce=>(j.forEach(pe=>ce.put(pe[1],pe[0])),T(ce.transaction)))}function F(j,Q=k()){return Q("readonly",ce=>Promise.all(j.map(pe=>T(ce.get(pe)))))}function _(j,Q,ce=k()){return ce("readwrite",pe=>new Promise((te,ne)=>{pe.get(j).onsuccess=function(){try{pe.put(Q(this.result),j),te(T(pe.transaction))}catch(le){ne(le)}}}))}function P(j,Q=k()){return Q("readwrite",ce=>(ce.delete(j),T(ce.transaction)))}function L(j,Q=k()){return Q("readwrite",ce=>(j.forEach(pe=>ce.delete(pe)),T(ce.transaction)))}function x(j=k()){return j("readwrite",Q=>(Q.clear(),T(Q.transaction)))}function I(j,Q){return j.openCursor().onsuccess=function(){this.result&&(Q(this.result),this.result.continue())},T(j.transaction)}function B(j=k()){return j("readonly",Q=>{if(Q.getAllKeys)return T(Q.getAllKeys());const ce=[];return I(Q,pe=>ce.push(pe.key)).then(()=>ce)})}function z(j=k()){return j("readonly",Q=>{if(Q.getAll)return T(Q.getAll());const ce=[];return I(Q,pe=>ce.push(pe.value)).then(()=>ce)})}function H(j=k()){return j("readonly",Q=>{if(Q.getAll&&Q.getAllKeys)return Promise.all([T(Q.getAllKeys()),T(Q.getAll())]).then(([pe,te])=>pe.map((ne,le)=>[ne,te[le]]));const ce=[];return j("readonly",pe=>I(pe,te=>ce.push([te.key,te.value])).then(()=>ce))})}E.r(S),E.d(S,{clear:function(){return x},createStore:function(){return R},del:function(){return P},delMany:function(){return L},entries:function(){return H},get:function(){return D},getMany:function(){return F},keys:function(){return B},promisifyRequest:function(){return T},set:function(){return V},setMany:function(){return O},update:function(){return _},values:function(){return z}})}
216,187:function(w){w.exports=(S,E,T="")=>{const R=/url\(['"]?#([\w:.-]+)['"]?\)/g,A=/#([\w:.-]+)/g;return E.match(R)&&(E=E.replace(R,function(k,D){return S[D]?`url(#${S[D]})`:k})),["href","xlink:href"].includes(T)&&E.match(A)&&(E=E.replace(A,function(k,D){return S[D]?`#${S[D]}`:k})),E}},383:function(w){w.exports=(S,E,T)=>{const R=new RegExp(`([^\r
217,{}]+)(,(?=[^}]*{)|s*{)`,"g");return S.replace(R,function(A,k,D){if(k.match(/^\s*(@media|@.*keyframes|to|from|@font-face|1?[0-9]?[0-9])/))return k+D;const V=k.match(/#(\w+)/);return V&&T[V[1]]&&(k=k.replace(V[0],`#${T[V[1]]}`)),(k=k.replace(/^(\s*)/,"$1"+E+" "))+D})}},969:function(w){let S=0;w.exports={incr(){return++S},decr(){return--S},curr(){return S}}}},t={};function n(w){var S=t[w];if(S!==void 0)return S.exports;var E=t[w]={exports:{}};return e[w](E,E.exports,n),E.exports}n.d=function(w,S){for(var E in S)n.o(S,E)&&!n.o(w,E)&&Object.defineProperty(w,E,{enumerable:!0,get:S[E]})},n.o=function(w,S){return Object.prototype.hasOwnProperty.call(w,S)},n.r=function(w){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(w,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(w,"__esModule",{value:!0})};const{get:o,set:i,del:s,entries:r}=n(114),a=n(383),l=n(187),c=n(969),u=[],d={},h=(w,S,E)=>{const{enableJs:T,disableUniqueIds:R,disableCssScoping:A,spriteIconId:k}=S,D=!!k,V=new DOMParser().parseFromString(E,"text/html"),O=D?V.getElementById(k):V.querySelector("svg"),F=(()=>
217{if(u.length)return u;for(const I in document.body)I.startsWith("on")&&u.push(I);return u.push("onbegin","onend","onrepeat"),u.push("onfocusin","onfocusout","onbounce","onfinish","onshow"),u})(),_=d[w.getAttribute("data-id")]||new Set,P=w.getAttribute("data-id")||`svg-loader_${c.incr()}`,L={};if(R||Array.from(O.querySelectorAll("[id]")).forEach(I=>{const B=I.getAttribute("id"),z=`${B}_${c.incr()}`;I.setAttribute("id",z),L[B]=z}),Array.from(O.querySelectorAll("*")).concat(O).forEach(I=>{if(I.tagName==="script"){if(I.remove(),!T)return;{const z=document.createElement("script");z.appendChild(I.childNodes[0]),w.appendChild(z)}}const B=[];for(let z=0;z<I.attributes.length;z++){const{name:H,value:j}=I.attributes[z],Q=l(L,j,H);j!==Q&&I.setAttribute(H,Q),!F.includes(H.toLowerCase())||T?["href","xlink:href","values"].includes(H)&&j.startsWith("javascript")&&!T&&B.push(H):B.push(H)}if(B.forEach(z=>I.removeAttribute(z)),I.tagName==="style"&&!A){let z=a(I.innerHTML,`[data-id="${P}"]`,L);z=l(L,z),z!==I.innerHTML&&(I.innerHTML=z)}}),w.innerHTML=k?O.outerHTML:O.innerHTML,!D)for(let I=0;I<O.attributes.length;I++){const{name:B,value:z}=O.attributes[I];w.getAttribute(B)&&!_.has(B)||(_.add(B),w.setAttribute(B,z))}d[P]=_,w.setAttribute("data-id",P);const x=new CustomEvent("iconload",{bubbles:!0});if(w.dispatchEvent(x),w.getAttribute("oniconload")){w.setAttribute("onauxclick",w.getAttribute("oniconload"));const I=new CustomEvent("auxclick",{bubbles:!1,view:window});w.dispatchEvent(I),w.removeAttribute("onauxclick")}},p={},f={},g=async w=>{const S=new URL(w.getAttribute("data-src"),globalThis.location),E=S.toString().replace(S.hash,""),T=S.hash.replace("#",""),R=w.getAttribute("data-cache"),A=w.getAttribute("data-js")==="enabled",k=w.getAttribute("data-unique-ids")==="disabled",D=w.getAttribute("data-css-scoping")==="disabled",V=await(async _=>{let P;try{P=await o(`loader_${_}`)}catch{}if(!P)try{P=localStorage.getItem(`loader_${_}`)}catch{}if(P)return P=JSON.parse(P),Date.now()<P.expiry?P.data:void s(`loader_${_}`)})(E),O=R!=="disabled",F=h.bind(self,w,{enableJs:A,disableUniqueIds:k,disableCssScoping:D,spriteIconId:T});if(f[E]||O&&V){const _=f[E]||V;F(_)}else{if(p[E])return void setTimeout(()=>g(w),20);p[E]=!0,fetch(E).then(_=>{if(!_.ok)throw Error(`Request for '${E}' returned ${_.status} (${_.statusText})`);return _.text()}).then(_=>{const P=_.toLowerCase().trim();if(!(P.startsWith("<svg")||P.startsWith("<?xml")||P.startsWith("<!doctype")))throw Error(`Resource '${E}' returned an invalid SVG file`);O&&(async(L,x,I)=>{const B=parseInt(I,10),z=JSON.stringify({data:x,expiry:Date.now()+(Number.isNaN(B)?2592e6:1e3*B)});try{await i(`loader_${L}`,z)}catch{try{localStorage.setItem(`loader_${L}`,z)}catch(j){console.warn("Failed to set cache: ",j)}}})(E,_,R),f[E]=_,F(_)}).catch(_=>{console.error(_)}).finally(()=>{delete p[E]})}};let m;globalThis.IntersectionObserver&&(m=new IntersectionObserver(w=>{w.forEach(S=>{S.isIntersecting&&(g(S.target),m.unobserve(S.target))})},{rootMargin:"1200px"}));const v=[];function y(){Array.from(document.querySelectorAll("svg[data-src]:not([data-id])")).forEach(w=>{v.indexOf(w)===-1&&(v.push(w),w.getAttribute("data-loading")==="lazy"?m.observe(w):g(w))})}let b=!1;if(globalThis.addEventListener){let w=function(){clearInterval(S),y(),b||(b=!0,new MutationObserver(E=>{E.some(T=>Array.from(T.addedNodes).some(R=>R.nodeType===Node.ELEMENT_NODE&&(R.getAttribute("data-src")&&!R.getAttribute("data-id")||R.querySelector("svg[data-src]:not([data-id])"))))&&y(),E.forEach(T=>{T.type==="attributes"&&g(T.target)})}).observe(document.documentElement,{attributeFilter:["data-src"],attributes:!0,childList:!0,subtree:!0}))};const S=setInterval(()=>{y()},100);document.readyState==="interactive"?w():globalThis.addEventListener("DOMContentLoaded",()=>{w()})}globalThis.SVGLoader={},globalThis.SVGLoader.destroyCache=async()=>{try{const w=await r();for(const S of w)S[0].startsWith("loader_")&&await s(S[0])}catch{}Object.keys(localStorage).forEach(w=>{w.startsWith("loader_")&&localStorage.removeItem(w)})}})()),CE}s3e();const r3e=Object.freeze({"activity-indicator":`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewB
217ox="0 0 14 14" clip-rule="evenodd" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2"><style>
218@keyframes jboszwxjpd9jw8fdqldi32fu_t { 0% { transform: translate(7px,7px) rotate(0deg) translate(-7px,-7px); } 100% { transform: translate(7px,7px) rotate(360deg) translate(-7px,-7px); } }
219</style><path d="M7.9 .9v1.7c0 .5-0.4 .9-0.9 .9c-0.5 0-0.9-0.4-0.9-0.9v-1.7c0-0.5 .4-0.9 .9-0.9c.5 0 .9 .4 .9 .9Zm-4.6 1.2l1.2 1.2c.4 .3 .4 .9 0 1.2c-0.3 .4-0.9 .4-1.2 0l-1.3-1.2c-0.3-0.4-0.3-0.9 0-1.2h.1c.3-0.4 .8-0.4 1.2 0Zm-3.3 4.9c0-0.5 .4-0.9 .9-0.9h1.7c.5 0 .9 .4 .9 .9c0 .5-0.4 .9-0.9 .9h-1.7c-0.5 0-0.9-0.4-0.9-0.9c0 0 0 0 0 0Zm2 3.7l1.3-1.2c.3-0.4 .9-0.4 1.2 0c.4 .3 .4 .9 0 1.2l-1.2 1.3c-0.4 .3-0.9 .3-1.2 0h-0.1c-0.3-0.4-0.3-0.9 0-1.3Zm4.1 2.4v-1.7c0-0.5 .4-0.9 .9-0.9c.5 0 .9 .4 .9 .9v1.7c0 .5-0.4 .9-0.9 .9c-0.5 0-0.9-0.4-0.9-0.9Zm4.6-1.1l-1.2-1.3c-0.4-0.3-0.4-0.9 0-1.2c.3-0.4 .9-0.4 1.2 0l1.3 1.2c.3 .4 .3 .9 0 1.2l-0.1 .1c-0.3 .3-0.8 .3-1.2 0Zm2.4-4.1h-1.7c-0.5 0-0.9-0.4-0.9-0.9c0-0.5 .4-0.9 .9-0.9h1.7c.5 0 .9 .4 .9 .9c0 .5-0.4 .9-0.9 .9Zm-1.1-4.6l-1.3 1.2c-0.3 .4-0.9 .4-1.2 0c-0.4-0.3-0.4-0.9 0-1.2l1.2-1.3c.4-0.3 .9-0.3 1.2 0l.1 .1c.3 .3 .3 .8 0 1.2Z" fill-opacity=".4" transform="translate(7,7) translate(-7,-7)" style="animation: 2s linear infinite both jboszwxjpd9jw8fdqldi32fu_t;"></path></svg>
220`,activity:`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
221
222    <path d="M16.5,8.25C16.914,8.25 17.25,8.586 17.25,9C17.25,9.414 16.914,9.75 16.5,9.75L14.041,9.75L11.962,15.987C11.859,16.293 11.573,16.5 11.25,16.5C10.927,16.5 10.641,16.293 10.538,15.987L6.75,4.622L5.212,9.237C5.109,9.543 4.823,9.75 4.5,9.75L1.5,9.75C1.086,9.75 0.75,9.414 0.75,9C0.75,8.586 1.086,8.25 1.5,8.25L3.959,8.25L6.038,2.013C6.141,1.707 6.427,1.5 6.75,1.5C7.073,1.5 7.359,1.707 7.462,2.013L11.25,13.378L12.788,8.763C12.891,8.457 13.177,8.25 13.5,8.25L16.5,8.25Z"></path>
223</svg>
224`,"arrow-check-done":`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
225
226    <path d="M14.47,3.97C14.762,3.677 15.238,3.677 15.53,3.97C15.823,4.262 15.823,4.738 15.53,5.03L7.28,13.28C6.987,13.573 6.513,13.573 6.22,13.28L2.47,9.53C2.177,9.238 2.177,8.762 2.47,8.47C2.762,8.177 3.238,8.177 3.53,8.47C3.53,8.47 6.75,11.689 6.75,11.689L14.47,3.97Z"></path>
227</svg>
228`,"arrow-basic":`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
229
230    <path d="M8.25,5.561L4.28,9.53C3.988,9.823 3.512,9.823 3.22,9.53C2.927,9.238 2.927,8.762 3.22,8.47L8.47,3.22C8.611,3.079 8.801,3 9,3C9.199,3 9.389,3.079 9.53,3.22L14.78,8.47C15.073,8.762 15.073,9.238 14.78,9.53C14.488,9.823 14.012,9.823 13.72,9.53C13.72,9.53 11.082,6.892 9.75,5.561L9.75,14.25C9.75,14.664 9.414,15 9,15C8.586,15 8.25,14.664 8.25,14.25L8.25,5.561Z"></path>
231</svg>
232`,"arrow-bracket":`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
233
234    <path d="M14.03,10.72C14.323,11.012 14.323,11.488 14.03,11.78C13.738,12.073 13.262,12.073 12.97,11.78L9,7.811L5.03,11.78C4.738,12.073 4.262,12.073 3.97,11.78C3.677,11.488 3.677,11.012 3.97,10.72L8.47,6.22C8.763,5.927 9.237,5.927 9.53,6.22L14.03,10.72Z"></path>
235</svg>
236`,analytics:`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
237
238  <path d="M8.25,12C8.25,11.586 8.586,11.25 9,11.25C9.414,11.25 9.75,11.586 9.75,12L9.75,15.75C9.75,16.164 9.414,16.5 9,16.5C8.586,16.5 8.25,16.164 8.25,15.75L8.25,12Z"></path>
239  <path d="M11.25,10.5C11.25,10.086 11.586,9.75 12,9.75C12.414,9.75 12.75,10.086 12.75,10.5L12.75,15.75C12.75,16.164 12.414,16.5 12,16.5C11.586,16.5 11.25,16.164 11.25,15.75L11.25,10.5Z"></path>
240  <path d="M14.25,7.5C14.25,7.086 14.586,6.75 15,6.75C15.414,6.75 15.75,7.086 15.75,7.5L15.75,15.75C15.75,16.164 15.414,16.5 15,16.5C14.586,16.5 14.25,16.164 14.25,15.75L14.25,7.5Z"></path>
241  <path d="M9.75,7.939L15.97,1.72C16.262,1.427 16.738,1.427 17.03,1.72C17.323,2.012 17.323,2.488 17.03,2.78L10.547,9.264L10.376,9.404L10.181,9.509L9.97,9.573L9.75,9.595L9.53,9.573L9.319,9.509L9.124,9.404C9.124,9.404 8.955,9.265 8.954,9.265L6.75,7.061L2.03,11.78C1.738,12.073 1.262,12.073 0.97,11.78C0.677,11.488 0.677,11.012 0.97,10.72L5.955,5.735L6.126,5.595L6.32,5.491L6.53,5.428L6.75,5.406L6.971,5.428L7.181,5.491L7.374,5.595L7.546,5.735L9.75,7.939ZM10.014,8.204L10.015,8.205C10.015,8.204 10.015,8.204 10.014,8.204ZM9.486,8.204C9.485,8.204 9.485,8.204 9.485,8.205L9.486,8.204Z"></path>
242  <path d="M2.25,13.5C2.25,13.086 2.586,12.75 3,12.75C3.414,12.75 3.75,13.086 3.75,13.5L3.75,15.75C3.75,16.164 3.414,16.5 3,16.5C2.586,16.5 2.25,16.164 2.25,15.75L2.25,13.5Z"></path>
243  <path d="M5.25,10.5C5.25,10.086 5.586,9.75 6,9.75C6.414,9.75 6.75,10.086 6.75,10.5L6.75,15.75C6.75,16.164 6.414,16.5 6,16.5C5.586,16.5 5.25,16.164 5.25,15.75L5.25,10.5Z"></path>
244</svg>
245`,"arrow-rotate-left":`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
246
247    <path d="M7.692,4.368L8.873,5.229C9.207,5.473 9.28,5.943 9.036,6.277C8.792,6.612 8.323,6.685 7.988,6.441L5.461,4.596C5.291,4.472 5.181,4.283 5.158,4.074C5.134,3.865 5.199,3.656 5.337,3.498L7.505,1.008C7.777,0.695 8.251,0.663 8.563,0.934C8.875,1.206 8.908,1.68 8.636,1.992L7.926,2.809C8.269,2.763 8.627,2.737 9.001,2.737C13.007,2.737 16.253,5.983 16.253,9.99C16.253,13.997 13.007,17.243 9.001,17.243C4.994,17.243 1.748,13.997 1.748,9.99C1.748,8.501 2.2,7.113 2.969,5.959C3.199,5.615 3.665,5.521 4.009,5.751C4.353,5.981 4.447,6.447 4.217,6.791C3.606,7.707 3.248,8.809 3.248,9.99C3.248,13.168 5.822,15.743 9.001,15.743C12.179,15.743 14.753,13.168 14.753,9.99C14.753,6.812 12.179,4.238 9.001,4.238C8.537,4.238 8.101,4.286 7.692,4.368Z"></path>
248</svg>
249`,"ban-block-slash":`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
250
251    <path d="M9,17.25C4.444,17.25 0.75,13.556 0.75,9C0.75,4.444 4.444,0.75 9,0.75C13.556,0.75 17.25,4.444 17.25,9C17.25,13.556 13.556,17.25 9,17.25ZM3.726,4.787C2.802,5.941 2.25,7.406 2.25,9C2.25,12.728 5.272,15.75 9,15.75C10.594,15.75 12.058,15.198 13.213,14.274L3.726,4.787ZM14.274,13.213C15.198,12.058 15.75,10.594 15.75,9C15.75,5.272 12.728,2.25 9,2.25C7.406,2.25 5.941,2.802 4.787,3.726L14.274,13.213Z"></path>
252</svg>
253`,"arrow-dropdown":`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
254
255    <path d="M5.47,8.53C5.177,8.238 5.177,7.762 5.47,7.47C5.762,7.177 6.238,7.177 6.53,7.47L9,9.939L11.47,7.47C11.762,7.177 12.238,7.177 12.53,7.47C12.823,7.762 12.823,8.238 12.53,8.53L9.53,11.53C9.237,11.823 8.763,11.823 8.47,11.53L5.47,8.53Z"></path>
256</svg>
257`,bomb:`<svg width="100%" height="100%" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg">
258
259    <path d="M40,12L40,28C40,34.623 34.623,40 28,40L12,40C5.377,40 0,34.623 0,28L0,12C0,5.377 5.377,0 12,0L28,0C34.623,0 40,5.377 40,12Z" fill="rgb(208,91,91)" fill-opacity="0.2"></path>
260    <path d="M30.132,8.155L27.881,8.155L27.881,9.281C27.883,10.334 27.495,11.351 26.793,12.136L26.095,11.438C25.886,11.229 25.638,11.063 25.365,10.949C25.091,10.836 24.799,10.778 24.503,10.778C24.207,10.778 23.914,10.836 23.641,10.949C23.367,11.063 23.119,11.229 22.91,11.438L22.021,12.327C20.019,11.708 17.868,11.778 15.91,12.525C13.952,13.271 12.301,14.652 11.219,16.447C10.138,18.241 9.688,20.346 9.942,22.426C10.197,24.506 11.14,26.441 12.622,27.922C14.104,29.403 16.04,30.345 18.12,30.598C20.199,30.851 22.304,30.4 24.098,29.318C25.892,28.235 27.272,26.583 28.017,24.625C28.763,22.666 28.831,20.515 28.211,18.513L29.1,17.624C29.31,17.415 29.476,17.167 29.589,16.894C29.702,16.62 29.76,16.328 29.76,16.032C29.76,15.736 29.702,15.443 29.589,15.17C29.476,14.896 29.31,14.648 29.1,14.439L28.387,13.726C29.511,12.519 30.135,10.93 30.132,9.281L30.132,8.155Z" fill="rgb(208,91,91)"></path>
261    <path d="M15.125,21.285L15.125,22.411L17.376,22.411L17.376,21.285C17.376,20.788 17.574,20.311 17.925,19.959C18.277,19.607 18.754,19.41 19.252,19.41L20.377,19.41L20.377,17.159L19.252,17.159C18.157,17.159 17.108,17.594 16.334,18.367C15.56,19.141 15.125,20.191 15.125,21.285Z" fill="rgb(231,173,173)"></path>
262</svg>
263`,"book-open":`<svg width="100%" height="100%" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg">
264
265    <path d="M40,9C40,4.033 35.967,0 31,0L9,0C4.033,0 0,4.033 0,9L0,31C0,35.967 4.033,40 9,40L31,40C35.967,40 40,35.967 40,31L40,9Z" fill="rgb(251,243,236)"></path>
266    <path d="M28.689,25.974C27.398,25.421 25.979,25.239 24.591,25.447C23.202,25.655 21.899,26.246 20.827,27.153L20.827,15.231L21.345,14.691C22.273,13.714 23.507,13.083 24.842,12.902C26.177,12.72 27.534,13 28.689,13.694L28.689,25.974Z" fill="rgb(212,131,67)"></path>
267    <path d="M14.291,25.363C13.266,25.364 12.252,25.572 11.311,25.975L11.311,13.694C12.466,13 13.823,12.72 15.158,12.902C16.494,13.083 17.727,13.714 18.655,14.692L19.173,15.232L19.173,27.153C17.808,25.999 16.078,25.365 14.291,25.363Z" fill="rgb(212,131,67)" fill-opacity="0.4"></path>
268</svg>
269`,"at-email":`<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
270
271    <path class="add-fill" d="M10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20Z" fill="#716F80"></path>
272    <path d="M10 3C8.14348 3 6.36301 3.7375 5.05025 5.05025C3.7375 6.36301 3 8.14348 3 10C3 11.8565 3.7375 13.637 5.05025 14.9497C6.36301 16.2625 8.14348 17 10 17C10.2321 17 10.4546 16.9078 10.6187 16.7437C10.7828 16.5796 10.875 16.3571 10.875 16.125C10.875 15.8929 10.7828 15.6704 10.6187 15.5063C10.4546 15.3422 10.2321 15.25 10 15.25C8.96165 15.25 7.94661 14.9421 7.08325 14.3652C6.2199 13.7883 5.54699 12.9684 5.14963 12.0091C4.75227 11.0498 4.6483 9.99418 4.85088 8.97578C5.05345 7.95738 5.55346 7.02191 6.28769 6.28769C7.02191 5.55346 7.95737 5.05345 8.97577 4.85088C9.99417 4.6483 11.0498 4.75227 12.0091 5.14963C12.9684 5.54699 13.7883 6.2199 14.3652 7.08326C14.9421 7.94661 15.25 8.96165 15.25 10V12.625C15.25 12.8571 15.1578 13.0796 14.9937 13.2437C14.8296 13.4078 14.6071 13.5 14.375 13.5C14.1429 13.5 13.9204 13.4078 13.7563 13.2437C13.5922 13.0796 13.5 12.8571 13.5 12.625V10C13.5 9.30777 13.2947 8.63108 12.9101 8.0555C12.5256 7.47993 11.9789 7.
27203133 11.3394 6.76642C10.6998 6.50151 9.99611 6.4322 9.31718 6.56725C8.63825 6.7023 8.01461 7.03564 7.52512 7.52513C7.03564 8.01461 6.7023 8.63825 6.56725 9.31718C6.4322 9.99612 6.50151 10.6999 6.76642 11.3394C7.03133 11.9789 7.47993 12.5256 8.0555 12.9101C8.63107 13.2947 9.30776 13.5 10 13.5C10.6308 13.4969 11.2488 13.3215 11.7872 12.9927C11.8788 13.6501 12.2167 14.2482 12.7324 14.666C13.2481 15.0838 13.9032 15.2903 14.5653 15.2436C15.2274 15.1969 15.8471 14.9005 16.2991 14.4144C16.751 13.9283 17.0015 13.2887 17 12.625V10C16.9982 8.14405 16.2601 6.36463 14.9477 5.05227C13.6354 3.73992 11.856 3.00183 10 3ZM10 11.75C9.65388 11.75 9.31554 11.6474 9.02775 11.4551C8.73996 11.2628 8.51566 10.9895 8.38321 10.6697C8.25075 10.3499 8.2161 9.99806 8.28362 9.65859C8.35115 9.31913 8.51782 9.0073 8.76256 8.76256C9.0073 8.51782 9.31912 8.35115 9.65859 8.28363C9.99806 8.2161 10.3499 8.25076 10.6697 8.38321C10.9895 8.51566 11.2628 8.73997 11.4551 9.02775C11.6474 9.31554 11.75 9.65388 11.75 10C11.7497 10.464 11.5652 10.909 11.2371 11.2371C10.909 11.5652 10.464 11.7497 10 11.75Z" fill="#1F2029"></path>
273</svg>
274`,"bsc-network-disabled":`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
275
276    <path fill="#e1e1e1" d="M1,9a8,8 0 1,0 16,0a8,8 0 1,0 -16,0"></path>
277    <path fill="#fff" fill-rule="nonzero" d="m13.054 9-.007 2.38-2.022 1.19v1.39l3.206-1.88V8.3l-1.177.7Zm0-2.38v1.39l1.177-.7V5.92l-1.177-.69-1.184.69 1.184.7Zm-2.873-.7-1.178-.69-1.184.69 1.184.7 1.178-.7Z"></path>
278    <path fill="#fff" fill-rule="nonzero" d="M12.203 10.89v-1.4l-1.178.7v1.39l1.178-.69Zm-2.023 2.18-1.177.7-1.184-.7v1.39l1.184.69 1.177-.69v-1.39ZM6.13 5.92l-1.177-.69-1.184.69v1.39l1.184.7V6.62l1.177-.7Zm-1.177 5.46L4.946 9l-1.177-.7v3.78l3.205 1.88v-1.39l-2.021-1.19Z"></path>
279    <path fill="#fff" fill-rule="nonzero" d="m5.797 10.89 1.178.69v-1.39l-1.178-.7v1.4Z"></path>
280    <path fill="#fff" fill-rule="nonzero" d="m5.797 7.11-.006 1.4L7.819 9.7v2.38l1.177.69 1.178-.69V9.7l2.028-1.19v-1.4l-1.183-.69-2.015 1.19-2.028-1.19-1.184.69h.005Zm6.406-2.38-3.2-1.88-3.206 1.88 1.178.7 2.028-1.19 2.022 1.19 1.178-.7Z"></path>
281    <path fill="#fff" d="M9 16.44A7.441 7.441 0 0 0 16.444 9c0-4.11-3.333-7.44-7.444-7.44A7.441 7.441 0 0 0 1.556 9c0 4.11 3.333 7.44 7.444 7.44ZM9 18A9 9 0 1 0 9 0a9 9 0 0 0 0 18Z"></path>
282</svg>
283`,"bsc-menu":`<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
284
285  <path d="M12,0C18.628,0 24,5.372 24,12C24,18.628 18.628,24 12,24C5.372,24 0,18.628 0,12C0,5.372 5.372,0 12,0Z" style="fill:rgb(57,57,57);"></path>
286  <g class="icon-logo">
287    <path d="M6.596,8.826L6.596,10.676L5.025,9.747L5.025,7.898L6.596,6.969L8.173,7.898L6.596,8.826Z" style="fill:white;fill-rule:nonzero;"></path>
288    <path d="M6.596,12L6.604,15.173L9.3,16.759L9.3,18.617L5.026,16.11L5.026,11.072L6.596,12Z" style="fill:white;fill-rule:nonzero;"></path>
289    <path d="M10.426,7.898L11.996,6.969L13.574,7.898L11.996,8.826L10.426,7.898Z" style="fill:white;fill-rule:nonzero;"></path>
290    <path d="M10.427,17.424L11.997,18.353L13.575,17.424L13.575,19.274L11.997,20.202L10.427,19.274L10.427,17.424Z" style="fill:white;fill-rule:nonzero;"></path>
291    <path d="M17.397,15.173L17.406,12L18.976,11.071L18.976,16.109L14.702,18.616L14.702,16.758L17.397,15.173Z" style="fill:white;fill-rule:nonzero;"></path>
292    <path d="M15.827,7.898L17.397,6.969L18.975,7.898L18.975,9.747L17.397,10.676L17.397,8.826L15.827,7.898Z" style="fill:white;fill-rule:nonzero;"></path>
293    <path d="M7.73,14.515L7.73,12.657L9.301,13.586L9.301,15.435L7.73,14.515Z" style="fill:white;fill-rule:nonzero;"></path>
294    <path d="M16.269,14.516L14.699,15.436L14.699,13.587L16.269,12.658L16.269,14.516Z" style="fill:white;fill-rule:nonzero;"></path>
295    <path d="M16.271,9.484L16.279,11.342L13.576,12.929L13.576,16.109L12.006,17.03L10.435,16.109L10.435,12.929L7.731,11.342L7.731,9.484L9.308,8.556L11.996,10.15L14.7,8.556L16.278,9.484L16.271,9.484Z" style="fill:white;fill-rule:nonzero;"></path>
296    <path d="M7.73,6.312L11.997,3.797L16.271,6.312L14.701,7.241L11.997,5.647L9.301,7.241L7.73,6.312Z" style="fill:white;fill-rule:nonzero;"></path>
297  </g>
298</svg>
299`,"bsc-network-flat":`<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
300<g opacity="0.4">
301<path d="M13.5653 9.0002L13.5579 11.7081L11.2571 13.062V14.6473L14.9045 12.5081V8.20836L13.5653 9.0002ZM13.5653 6.29235V7.87029L14.9053 7.07763V5.49969L13.5653 4.70703L12.2188 5.49969L13.5653 6.29235ZM10.2962 5.49969L8.95621 4.70703L7.60967 5.49969L8.95621 6.29235L10.2962 5.49969Z" fill="black"></path>
302<path d="M12.5967 11.1468V9.56147L11.2567 10.3541V11.9321L12.5967 11.1468ZM10.2958 13.6298L8.95585 14.4225L7.60931 13.6298V15.2077L8.95585 16.0004L10.2958 15.2077V13.6298ZM5.68756 5.49969L4.34759 4.70703L3.00105 5.49969V7.07763L4.34759 7.87029V6.29235L5.68756 5.49969ZM4.34759 11.7081L4.3402 9.0002L3.00023 8.20754V12.5073L6.64762 14.6465V13.0612L4.34759 11.7081Z" fill="black"></path>
303<path d="M5.30846 11.1459L6.64844 11.9311V10.3532L5.30846 9.56055V11.1459Z" fill="black"></path>
304<path d="M5.30846 6.85361L5.30108 8.43894L7.60849 9.79286V12.5073L8.94847 13.2925L10.2884 12.5073V9.79286L12.5959 8.43894V6.85361L11.2501 6.06095L8.95667 7.42144L6.64926 6.06095L5.30272 6.85361H5.30846ZM12.5967 4.14659L8.95585 2L5.30846 4.14659L6.64844 4.93925L8.95585 3.57876L11.2567 4.93925L12.5967 4.14659Z" fill="black"></path>
305</g>
306</svg>
307`,"bsc-network":`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
308
309    <path fill="#f0b90b" d="M1,9a8,8 0 1,0 16,0a8,8 0 1,0 -16,0"></path>
310    <path fill="#fff" fill-rule="nonzero" d="m13.054 9-.007 2.38-2.022 1.19v1.39l3.206-1.88V8.3l-1.177.7Zm0-2.38v1.39l1.177-.7V5.92l-1.177-.69-1.184.69 1.184.7Zm-2.873-.7-1.178-.69-1.184.69 1.184.7 1.178-.7Z"></path>
311    <path fill="#fff" fill-rule="nonzero" d="M12.203 10.89v-1.4l-1.178.7v1.39l1.178-.69Zm-2.023 2.18-1.177.7-1.184-.7v1.39l1.184.69 1.177-.69v-1.39ZM6.13 5.92l-1.177-.69-1.184.69v1.39l1.184.7V6.62l1.177-.7Zm-1.177 5.46L4.946 9l-1.177-.7v3.78l3.205 1.88v-1.39l-2.021-1.19Z"></path>
312    <path fill="#fff" fill-rule="nonzero" d="m5.797 10.89 1.178.69v-1.39l-1.178-.7v1.4Z"></path>
313    <path fill="#fff" fill-rule="nonzero" d="m5.797 7.11-.006 1.4L7.819 9.7v2.38l1.177.69 1.178-.69V9.7l2.028-1.19v-1.4l-1.183-.69-2.015 1.19-2.028-1.19-1.184.69h.005Zm6.406-2.38-3.2-1.88-3.206 1.88 1.178.7 2.028-1.19 2.022 1.19 1.178-.7Z"></path>
314    <path fill="#fff" d="M9 16.44A7.441 7.441 0 0 0 16.444 9c0-4.11-3.333-7.44-7.444-7.44A7.441 7.441 0 0 0 1.556 9c0 4.11 3.333 7.44 7.444 7.44ZM9 18A9 9 0 1 0 9 0a9 9 0 0 0 0 18Z"></path>
315</svg>
316`,"bsc-dotted":`<svg width="100%" height="100%" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
317<circle cx="16" cy="16" r="16" fill="#F2F2F2"></circle>
318<path d="M11.1312 15.9962L11.1396 19.0896L13.7678 20.6363V22.4473L9.60152 20.0035V15.0916L11.1312 15.9962ZM11.1312 12.9028V14.7054L9.60059 13.7999V11.9973L11.1312 11.0918L12.6693 11.9973L11.1312 12.9028ZM14.8653 11.9973L16.3959 11.0918L17.934 11.9973L16.3959 12.9028L14.8653 11.9973Z" fill="black" fill-opacity="0.4"></path>
319<path d="M12.2393 18.4494V16.6383L13.7698 17.5439V19.3465L12.2393 18.4494ZM14.8674 21.2859L16.398 22.1914L17.9361 21.2859V23.0885L16.398 23.994L14.8674 23.0885V21.2859ZM20.1312 11.9983L21.6618 11.0928L23.1999 11.9983V13.8009L21.6618 14.7064V12.9038L20.1312 11.9983ZM21.6618 19.0906L21.6702 15.9972L23.2008 15.0917V20.0036L19.0346 22.4473V20.6363L21.6618 19.0906Z" fill="black" fill-opacity="0.4"></path>
320<path d="M20.5609 18.4497L19.0303 19.3468V17.5442L20.5609 16.6387V18.4497Z" fill="black" fill-opacity="0.4"></path>
321<path d="M20.5642 13.5446L20.5727 15.3557L17.937 16.9024V20.0032L16.4064 20.9003L14.8758 20.0032V16.9024L12.2402 15.3557V13.5446L13.7773 12.6391L16.3971 14.1933L19.0327 12.6391L20.5708 13.5446H20.5642ZM12.2393 10.4522L16.398 8L20.5642 10.4522L19.0336 11.3577L16.398 9.80353L13.7698 11.3577L12.2393 10.4522Z" fill="black" fill-opacity="0.4"></path>
322<circle opacity="0.4" cx="16" cy="16" r="15.2683" stroke="black" stroke-width="1.46341" stroke-dasharray="3.55 3.55"></circle>
323</svg>
324`,"bsc-circle":`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
325
326    <path fill="#f0b90b" d="M9 0a9 9 0 0 1 9 9 9 9 0 0 1-9 9 9 9 0 0 1-9-9 9 9 0 0 1 9-9Z"></path>
327    <path fill="#fff" fill-rule="nonzero" d="m4.947 9 .007 2.379 2.022 1.19v1.394l-3.206-1.88V8.304L4.947 9Zm0-2.38v1.387L3.77 7.31V5.923l1.177-.696 1.184.696-1.184.697Zm2.873-.697 1.178-.696 1.183.696-1.183.697-1.178-.697Z"></path>
328    <path fill="#fff" fill-rule="nonzero" d="M5.797 10.886V9.493l1.178.697v1.386l-1.178-.69Zm2.022 2.182 1.178.697 1.183-.697v1.387l-1.183.697-1.178-.697v-1.387Zm4.05-7.145 1.178-.696 1.183.696V7.31l-1.183.697V6.62l-1.178-.697Zm1.178 5.456L13.053 9l1.178-.697v3.779l-3.206 1.88v-1.393l2.022-1.19Z"></path>
329    <path fill="#fff" fill-rule="nonzero" d="m12.203 10.887-1.178.691v-1.387l1.178-.697v1.393Z"></path>
330    <path fill="#fff" fill-rule="nonzero" d="m12.202 7.113.007 1.394-2.028 1.189v2.386l-1.178.69-1.178-.69V9.696L5.798 8.507V7.113l1.182-.696 2.016 1.195 2.028-1.195 1.183.696h-.005ZM5.797 4.734l3.2-1.886 3.205 1.886-1.177.697-2.028-1.196-2.022 1.196-1.178-.697Z"></path>
331</svg>
332`,"btc-circle":`<svg width="100%" height="100%" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
333
334    <path fill="#f89f36" d="M0,14a14,14 0 1,0 28,0a14,14 0 1,0 -28,0"></path>
335    <path fill="#fff" fill-rule="nonzero" d="M20.011 15.535c-.105-.748-.472-1.325-1.129-1.706-.301-.171-.63-.289-.971-.433.039-.026.066-.053.092-.066 1.641-.84 1.496-3.373.302-4.239a4.326 4.326 0 0 0-1.588-.709 18.794 18.794 0 0 0-1.234-.223c0-.735.013-1.746.013-2.559h-1.535c-.014.8-.014 1.785-.027 2.506H12.7c0-.721.014-1.706.014-2.506h-1.523c-.013.813-.013 1.824-.026 2.546-1.05-.013-2.061-.013-3.111-.026 0 .564-.013 1.089-.013 1.64.223 0 .42 0 .604.013.197 0 .394 0 .577.014.539.039.814.341.814.866-.026 2.192-.052 4.397-.065 6.589 0 .485-.21.669-.683.669H8.264c-.105.617-.21 1.207-.315 1.824l3.111.04c0 .787-.013 1.785-.013 2.611h1.535c.014-.826.014-1.798.027-2.572l1.233.039c0 .788-.013 1.746-.013 2.547h1.536c.013-.827.013-1.798.026-2.56.053-.013.092-.013.131-.026.735-.118 1.483-.184 2.192-.354.932-.237 1.667-.775 2.061-1.694.276-.708.341-1.456.236-2.231Zm-7.284-5.617c.958 0 1.89-.079 2.756.315.577.249.866.722.827 1.286-.04.604-.381 1.037-.998 1.234-.84.275-1.719.262-2.625.223l.04-3.058Zm3.347 7.665c-.853.38-1.746.38-2.652.394-.249 0-.498-.014-.774-.014l.039-3.399c1.168 0 2.324-.092 3.413.394.564.249.892.682.892 1.325-.013.644-.354 1.05-.918 1.3Z"></path>
336</svg>
337`,"bnb-circle":`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
338
339    <path class="bg" d="M9,0C4.029,0 0,4.029 0,9C0,13.971 4.029,18 9,18C13.971,18 18,13.971 18,9C18,4.029 13.971,0 9,0Z" fill="rgb(240,185,11)"></path>
340    <path class="logo" d="M13.054,9L14.23,8.304L14.23,12.083L11.025,13.963L11.025,12.57L13.047,11.38L13.054,9ZM13.054,6.62L11.87,5.923L13.054,5.227L14.231,5.923L14.231,7.31L13.054,8.007L13.054,6.62ZM10.181,5.923L9.003,6.62L7.819,5.923L9.003,5.227L10.181,5.923ZM12.203,10.886L11.025,11.577L11.025,10.19L12.203,9.493L12.203,10.886ZM10.181,13.069L10.181,14.455L9.003,15.152L7.819,14.455L7.819,13.069L9.003,13.765L10.181,13.069ZM6.13,5.923L4.953,6.62L4.953,8.007L3.769,7.31L3.769,5.923L4.953,5.227L6.13,5.923ZM4.953,11.38L6.974,12.569L6.974,13.962L3.769,12.082L3.769,8.303L4.946,9L4.953,11.38ZM5.797,10.887L5.797,9.493L6.975,10.19L6.975,11.577L5.797,10.887ZM5.797,7.114L5.792,7.114L6.976,6.417L9.004,7.613L11.019,6.417L12.202,7.114L12.202,8.507L10.174,9.697L10.174,12.082L8.996,12.772L7.819,12.082L7.819,9.697L5.791,8.507L5.797,7.114ZM12.203,4.734L11.025,5.431L9.003,4.235L6.975,5.431L5.797,4.734L9.003,2.848L12.203,4.734Z" fill="white"></path>
341    <path class="border" d="M9,16.444C13.112,16.444 16.444,13.112 16.444,9C16.444,4.889 13.112,1.556 9,1.556C4.889,1.556 1.556,4.889 1.556,9C1.556,13.112 4.889,16.444 9,16.444ZM9,18C13.971,18 18,13.971 18,9C18,4.029 13.971,0 9,0C4.029,0 0,4.029 0,9C0,13.971 4.029,18 9,18Z" fill="white" fill-rule="evenodd"></path>
342</svg>
343`,bug:`<svg width="100%" height="100%" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg">
344
345    <path d="M20.67,3L12.17,0C12.063,-0.037 11.947,-0.037 11.84,0L3.33,3C3.228,3.037 3.141,3.105 3.082,3.195C3.022,3.285 2.994,3.392 3,3.5L3,9.5C3,17.26 4.15,20.1 11.77,23.95C11.84,23.985 11.917,24.004 11.995,24.004C12.073,24.004 12.15,23.985 12.22,23.95C19.85,20.1 21,17.26 21,9.5L21,3.5C21.006,3.392 20.978,3.285 20.918,3.195C20.859,3.105 20.772,3.037 20.67,3Z" style="fill:rgb(194,85,85);"></path>
346    <path d="M15.73,14C15.838,14.065 15.918,14.169 15.953,14.29C15.988,14.412 15.975,14.541 15.918,14.654C15.861,14.767 15.764,14.854 15.645,14.898C15.527,14.941 15.396,14.939 15.28,14.89L14.9,14.7C14.724,15.332 14.346,15.888 13.824,16.284C13.303,16.681 12.665,16.895 12.01,16.895C11.355,16.895 10.717,16.681 10.195,16.284C9.673,15.888 9.296,15.332 9.12,14.7L8.74,14.89C8.681,14.926 8.615,14.948 8.547,14.958C8.479,14.967 8.41,14.961 8.344,14.942C8.278,14.923 8.216,14.891 8.163,14.847C8.11,14.803 8.067,14.749 8.036,14.687C8.005,14.626 7.987,14.559 7.983,14.49C7.979,14.422 7.989,14.353 8.013,14.288C8.037,14.224 8.074,14.165 8.121,14.115C8.169,14.066 8.226,14.027 8.29,14L9,13.69L9,13L8,13C7.867,13 7.74,12.948 7.646,12.854C7.553,12.76 7.5,12.633 7.5,12.5C7.5,12.368 7.553,12.24 7.646,12.147C7.74,12.053 7.867,12 8,12L9,12L9,11.31L8.28,10.95C8.172,10.885 8.092,10.782 8.057,10.66C8.022,10.539 8.035,10.409 8.091,10.296C8.148,10.184 8.246,10.097 8.364,10.053C8.483,10.009 8.613,10.012 8.73,10.06L9.15,10.27C9.263,9.956 9.453,9.675 9.703,9.453C9.953,9.231 10.254,9.076 10.58,9C10.618,8.866 10.676,8.738 10.75,8.62L10.1,7.8C10.02,7.694 9.986,7.561 10.005,7.429C10.024,7.298 10.094,7.18 10.2,7.1C10.306,7.021 10.439,6.986 10.571,7.005C10.702,7.024 10.82,7.094 10.9,7.2L11.56,8.07C11.848,7.97 12.162,7.97 12.45,8.07L13.11,7.2C13.19,7.094 13.308,7.024 13.439,7.005C13.504,6.996 13.57,7 13.634,7.016C13.698,7.032 13.757,7.061 13.81,7.1C13.862,7.14 13.907,7.189 13.94,7.245C13.974,7.302 13.996,7.364 14.005,7.429C14.014,7.494 14.011,7.561 13.994,7.624C13.978,7.688 13.949,7.748 13.91,7.8L13.26,8.67C13.334,8.788 13.391,8.916 13.43,9.05C13.75,9.121 14.048,9.269 14.297,9.482C14.547,9.694 14.74,9.965 14.86,10.27L15.28,10.06C15.339,10.025 15.404,10.002 15.473,9.993C15.541,9.984 15.61,9.989 15.676,10.008C15.742,10.027 15.804,10.06 15.857,10.104C15.91,10.147 15.953,10.202 15.984,10.263C16.015,10.324 16.033,10.391 16.037,10.46C16.041,10.529 16.031,10.598 16.007,10.662C15.983,10.726 15.946,10.785 15.898,10.835C15.851,10.884 15.793,10.924 15.73,10.95L15.01,11.31L15.01,12L15.51,12C15.643,12 15.77,12.053 15.863,12.147C15.957,12.24 16.01,12.368 16.01,12.5C16.01,12.633 15.957,12.76 15.863,12.854C15.77,12.948 15.643,13 15.51,13L15,13L15,13.69L15.73,14Z" style="fill:white;"></path>
347</svg>
348`,"btc-disabled":`<svg width="100%" height="100%" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
349
350    <path fill="#e1e1e1" d="M0,14a14,14 0 1,0 28,0a14,14 0 1,0 -28,0"></path>
351    <path fill="#fff" fill-rule="nonzero" d="M20.011 15.535c-.105-.748-.472-1.325-1.129-1.706-.301-.171-.63-.289-.971-.433.04-.026.066-.053.092-.066 1.641-.84 1.496-3.373.302-4.239a4.326 4.326 0 0 0-1.588-.709 18.794 18.794 0 0 0-1.234-.223c0-.735.013-1.746.013-2.559h-1.535c-.014.8-.014 1.785-.027 2.506h-1.233c0-.721.013-1.706.013-2.506h-1.523c-.013.813-.013 1.824-.026 2.546-1.05-.013-2.061-.013-3.111-.026 0 .564-.013 1.089-.013 1.64.223 0 .42 0 .604.013.197 0 .394 0 .577.014.539.039.814.341.814.866-.026 2.192-.052 4.397-.065 6.589 0 .485-.21.669-.683.669H8.264c-.105.617-.21 1.207-.315 1.824l3.111.04c0 .787-.013 1.785-.013 2.611h1.535c.014-.826.014-1.798.027-2.572l1.233.039c0 .788-.013 1.746-.013 2.547h1.536c.013-.827.013-1.798.026-2.56.053-.013.092-.013.131-.026.735-.118 1.484-.184 2.192-.354.932-.237 1.667-.775 2.061-1.694.276-.708.341-1.456.236-2.231Zm-7.284-5.617c.958 0 1.89-.079 2.756.315.578.249.866.722.827 1.286-.039.604-.381 1.037-.998 1.234-.84.275-1.719.262-2.625.223l.04-3.058Zm3.347 7.665c-.853.38-1.746.38-2.652.394-.249 0-.498-.014-.774-.014l.039-3.399c1.169 0 2.324-.092 3.413.394.564.249.892.682.892 1.325-.013.644-.354 1.05-.918 1.3Z"></path>
352</svg>
353`,"cancel-rounded-primary":`<svg width="100%" height="100%" viewB
353ox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
354
355  <path d="M15.95,8C15.95,12.387 12.387,15.95 8,15.95C3.613,15.95 0.05,12.387 0.05,8C0.05,3.613 3.613,0.05 8,0.05C12.387,0.05 15.95,3.613 15.95,8Z" style="fill:rgb(212,131,67);fill-rule:nonzero;"></path>
356  <path d="M6.939,8L4.47,5.53C4.177,5.238 4.177,4.762 4.47,4.47C4.762,4.177 5.238,4.177 5.53,4.47L8,6.939L10.47,4.47C10.762,4.177 11.238,4.177 11.53,4.47C11.823,4.762 11.823,5.238 11.53,5.53L9.061,8L11.53,10.47C11.823,10.762 11.823,11.238 11.53,11.53C11.238,11.823 10.762,11.823 10.47,11.53L8,9.061L5.53,11.53C5.238,11.823 4.762,11.823 4.47,11.53C4.177,11.238 4.177,10.762 4.47,10.47L6.939,8Z" style="fill:white;fill-rule:nonzero;"></path>
357</svg>
358`,"btc-circle-grey":`<svg width="100%" height="100%" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg">
359
360    <path d="M0,20a20,20 0 1,0 40,0a20,20 0 1,0 -40,0" fill="rgb(247,247,247)"></path>
361    <path d="M28.588,22.194C28.438,21.125 27.913,20.3 26.975,19.756C26.544,19.513 26.075,19.344 25.588,19.138C25.644,19.1 25.681,19.063 25.719,19.044C28.063,17.844 27.856,14.225 26.15,12.988C25.456,12.481 24.688,12.163 23.881,11.975C23.3,11.844 22.719,11.75 22.119,11.656C22.119,10.606 22.138,9.163 22.138,8L19.944,8C19.925,9.144 19.925,10.55 19.906,11.581L18.144,11.581C18.144,10.55 18.163,9.144 18.163,8L15.988,8C15.969,9.163 15.969,10.606 15.95,11.637C14.45,11.619 13.006,11.619 11.506,11.6C11.506,12.406 11.488,13.156 11.488,13.944C11.806,13.944 12.088,13.944 12.35,13.963C12.631,13.963 12.913,13.963 13.175,13.981C13.944,14.038 14.338,14.469 14.338,15.219C14.3,18.35 14.263,21.5 14.244,24.631C14.244,25.325 13.944,25.587 13.269,25.587L11.806,25.587C11.656,26.469 11.506,27.313 11.356,28.194C12.838,28.212 14.3,28.231 15.8,28.25C15.8,29.375 15.781,30.8 15.781,31.981L17.975,31.981C17.994,30.8 17.994,29.413 18.013,28.306C18.631,28.325 19.194,28.344 19.775,28.363C19.775,29.488 19.756,30.856 19.756,32L21.95,32C21.969,30.819 21.969,29.431 21.988,28.344C22.063,28.325 22.119,28.325 22.175,28.306C23.225,28.138 24.294,28.044 25.306,27.8C26.638,27.462 27.688,26.694 28.25,25.381C28.644,24.369 28.738,23.3 28.588,22.194ZM18.181,14.169C19.55,14.169 20.881,14.056 22.119,14.619C22.944,14.975 23.356,15.65 23.3,16.456C23.244,17.319 22.756,17.938 21.875,18.219C20.675,18.613 19.419,18.594 18.125,18.538C18.144,17.113 18.163,15.688 18.181,14.169ZM22.963,25.119C21.744,25.663 20.469,25.663 19.175,25.681C18.819,25.681 18.463,25.663 18.069,25.663C18.088,24.031 18.106,22.438 18.125,20.806C19.794,20.806 21.444,20.675 23,21.369C23.806,21.725 24.275,22.344 24.275,23.263C24.256,24.181 23.769,24.763 22.963,25.119Z" style="fill:rgb(204,204,204);fill-rule:nonzero;"></path>
362</svg>
363`,calendar:`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
364
365    <path d="M1.5,15L1.5,4.5C1.5,3.257 2.507,2.25 3.75,2.25L5.25,2.25L5.25,1.5C5.25,1.086 5.586,0.75 6,0.75C6.414,0.75 6.75,1.086 6.75,1.5L6.75,2.25L11.25,2.25L11.25,1.5C11.25,1.086 11.586,0.75 12,0.75C12.414,0.75 12.75,1.086 12.75,1.5L12.75,2.25L14.25,2.25C15.493,2.25 16.5,3.257 16.5,4.5L16.5,15C16.5,16.243 15.493,17.25 14.25,17.25L3.75,17.25C2.507,17.25 1.5,16.243 1.5,15ZM5.25,3.75L3.75,3.75C3.336,3.75 3,4.086 3,4.5L3,6.75L15,6.75L15,4.5C15,4.086 14.664,3.75 14.25,3.75L12.75,3.75L12.75,4.5C12.75,4.914 12.414,5.25 12,5.25C11.586,5.25 11.25,4.914 11.25,4.5L11.25,3.75L6.75,3.75L6.75,4.5C6.75,4.914 6.414,5.25 6,5.25C5.586,5.25 5.25,4.914 5.25,4.5L5.25,3.75ZM3,8.25L3,15C3,15.414 3.336,15.75 3.75,15.75L14.25,15.75C14.664,15.75 15,15.414 15,15L15,8.25L3,8.25Z" style="fill-rule:nonzero;"></path>
366</svg>
367`,"brush-clean":`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
368
369    <path d="M17.232,2.182L10.532,8.882C10.799,9.439 10.887,10.065 10.784,10.673C10.681,11.282 10.392,11.844 9.957,12.282L5.72,8.046C6.158,7.61 6.72,7.321 7.329,7.218C7.938,7.115 8.564,7.204 9.12,7.472L15.82,0.772C15.908,0.661 16.019,0.57 16.144,0.506C16.27,0.441 16.408,0.403 16.549,0.395C16.69,0.387 16.831,0.409 16.963,0.459C17.095,0.51 17.215,0.587 17.315,0.687C17.415,0.787 17.492,0.907 17.543,1.039C17.593,1.171 17.615,1.312 17.608,1.453C17.6,1.594 17.562,1.732 17.497,1.858C17.433,1.983 17.342,2.094 17.232,2.182Z"></path>
370    <path d="M9.249,12.992L8.45,16.35C8.397,16.547 8.329,16.727 8.185,16.878C7.782,17.3 7.45,17.386 6.8,17.15C6.15,16.914 4.362,15.881 3.237,14.755C2.112,13.629 1.559,12.491 1,11C0.814,10.533 0.73,10.197 1.12,9.808C1.248,9.686 1.407,9.6 1.58,9.561L5.011,8.75L5.015,8.754L9.249,12.992Z"></path>
371</svg>
372`,chat:`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
373
374    <path d="M9.596,3.268L9.597,3.251C10.939,3.325 12.207,3.892 13.158,4.842C14.108,5.793 14.675,7.061 14.749,8.403C14.75,8.419 14.75,8.435 14.75,8.452L14.75,8.72C14.752,9.571 14.554,10.41 14.17,11.17C13.716,12.078 13.018,12.842 12.154,13.376C11.29,13.911 10.295,14.194 9.279,14.194C8.535,14.196 7.8,14.045 7.12,13.75L4.237,14.712C3.968,14.801 3.671,14.731 3.47,14.53C3.269,14.329 3.199,14.032 3.288,13.763C3.288,13.763 4.25,10.88 4.25,10.881C3.955,10.2 3.804,9.465 3.806,8.721C3.806,7.705 4.089,6.71 4.624,5.846C5.158,4.982 5.922,4.284 6.83,3.83C7.59,3.446 8.429,3.248 9.265,3.25C9.27,3.25 9.275,3.25 9.281,3.25L9.458,3.25C9.51,3.25 9.556,3.256 9.596,3.268ZM13.25,8.724C13.25,8.721 13.25,8.452 13.25,8.452C13.188,7.491 12.779,6.585 12.097,5.903C11.412,5.218 10.5,4.808 9.533,4.75L9.276,4.75C8.661,4.748 8.054,4.892 7.505,5.169L7.502,5.171C6.842,5.501 6.287,6.008 5.899,6.635C5.511,7.262 5.306,7.985 5.306,8.723L5.306,8.724C5.304,9.339 5.448,9.946 5.725,10.495C5.815,10.674 5.83,10.881 5.767,11.07C5.767,11.07 5.186,12.814 5.186,12.814L6.929,12.233C7.119,12.17 7.326,12.185 7.505,12.275C8.054,12.552 8.661,12.696 9.276,12.694L9.278,12.694C10.015,12.694 10.738,12.489 11.365,12.101C11.992,11.713 12.499,11.158 12.829,10.498L12.831,10.495C13.108,9.946 13.252,9.339 13.25,8.724Z"></path>
375</svg>
376`,"check-gray-filled":`<svg width="100%" height="100%" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">
377
378    <path d="M40,12L40,28C40,34.623 34.623,40 28,40L12,40C5.377,40 0,34.623 0,28L0,12C0,5.377 5.377,-0 12,-0L28,-0C34.623,-0 40,5.377 40,12Z" style="fill:rgb(164,164,164);fill-opacity:0.2;"></path>
379    <path d="M32.483,20L32.483,20C32.483,26.889 26.889,32.483 20,32.483L20,32.483C13.111,32.483 7.517,26.889 7.517,20L7.517,20C7.517,13.111 13.111,7.517 20,7.517L20,7.517C26.889,7.517 32.483,13.111 32.483,20Z" style="fill-opacity:0.1;"></path>
380    <path d="M23.689,15.494C24.237,14.946 25.127,14.946 25.675,15.494C26.223,16.042 26.223,16.932 25.675,17.48L19.239,23.916C18.69,24.465 17.801,24.465 17.253,23.916L14.327,20.991C13.779,20.443 13.779,19.553 14.327,19.005C14.875,18.457 15.765,18.457 16.313,19.005C16.313,19.005 18.246,20.937 18.246,20.937L23.689,15.494Z" style="fill-opacity:0.4;"></path>
381</svg>
382`,"checked-thin":`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
383
384  <path d="M14.47,3.97C14.762,3.677 15.238,3.677 15.53,3.97C15.823,4.262 15.823,4.738 15.53,5.03L7.28,13.28C6.987,13.573 6.513,13.573 6.22,13.28L2.47,9.53C2.177,9.238 2.177,8.762 2.47,8.47C2.762,8.177 3.238,8.177 3.53,8.47C3.53,8.47 6.75,11.689 6.75,11.689L14.47,3.97Z"></path>
385</svg>
386`,"chat-message":`<svg width="100%" height="100%" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg">
387
388    <path d="M10.596,4.268L10.597,4.251C11.939,4.325 13.207,4.892 14.158,5.842C15.058,6.743 15.614,7.927 15.733,9.19C15.772,9.602 15.469,9.969 15.057,10.007C14.645,10.046 14.279,9.743 14.24,9.331C14.153,8.415 13.75,7.556 13.097,6.903C12.412,6.218 11.5,5.808 10.533,5.75L10.276,5.75C9.661,5.748 9.054,5.892 8.505,6.169L8.502,6.171C7.842,6.501 7.287,7.008 6.899,7.635C6.511,8.262 6.306,8.985 6.306,9.723L6.306,9.724C6.304,10.339 6.448,10.946 6.725,11.495C6.815,11.674 6.83,11.881 6.767,12.07C6.767,12.07 6.186,13.814 6.186,13.814L7.929,13.233C8.119,13.17 8.326,13.185 8.505,13.275C9.054,13.552 9.661,13.696 10.276,13.694C10.69,13.693 11.027,14.028 11.028,14.442C11.029,14.856 10.694,15.193 10.28,15.194C9.536,15.196 8.8,15.045 8.12,14.75L5.237,15.712C4.968,15.801 4.671,15.731 4.47,15.53C4.269,15.329 4.199,15.032 4.288,14.763C4.288,14.763 5.25,11.88 5.25,11.881C4.955,11.2 4.804,10.465 4.806,9.721C4.806,8.705 5.089,7.71 5.624,6.846C6.158,5.982 6.922,5.284 7.83,4.83C8.59,4.446 9.429,4.248 10.265,4.25C10.27,4.25 10.275,4.25 10.281,4.25L10.458,4.25C10.51,4.25 10.556,4.256 10.596,4.268Z" fill="#999999"></path>
389    <path d="M12,14a3,3 0 1,0 6,0a3,3 0 1,0 -6,0" style="fill: rgb(212,131,67) !important;"></path>
390</svg>
391`,clients:`<svg width="100%" height="100%" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg">
392
393    <path class="add-fill" d="M10,20C15.523,20 20,15.523 20,10C20,4.477 15.523,0 10,0C4.477,0 0,4.477 0,10C0,15.523 4.477,20 10,20Z" fill="rgb(113,111,128)"></path>
394    <path d="M13.001,8C13.001,9.657 11.658,11 10.001,11C8.344,11 7.001,9.657 7.001,8C7.001,6.343 8.344,5 10.001,5C11.658,5 13.001,6.343 13.001,8Z" fill="rgb(31,32,41)"></path>
395    <path d="M4,15C5.368,13.178 7.547,12 10.001,12C12.454,12 14.633,13.178 16.001,15C14.633,16.822 12.454,18 10.001,18C7.547,18 5.368,16.822 4,15Z" fill="rgb(31,32,41)"></path>
396</svg>
397`,check:`<svg width="100%" height="100%" viewBox="0 0 8 8" xmlns="http://www.w3.org/2000/svg">
398
399    <path d="M6.136,1.47C6.429,1.177 6.904,1.177 7.197,1.47C7.49,1.762 7.49,2.238 7.197,2.53L3.53,6.197C3.39,6.338 3.199,6.417 3,6.417C2.801,6.417 2.61,6.338 2.47,6.197L0.803,4.53C0.51,4.238 0.51,3.762 0.803,3.47C1.096,3.177 1.571,3.177 1.864,3.47L3,4.606L6.136,1.47Z"></path>
400</svg>
401`,"clock-icon":`<svg width="100%" height="100%" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
402
403    <path d="M30 0C13.4318 0 0 13.4318 0 30C0 46.5689 13.4318 60 30 60C46.5689 60 60 46.5689 60 30C60 13.4318 46.5689 0 30 0Z" fill="rgba(0,0,0,0.2)"></path>
404    <path d="M32.3557 29.0255V15.8707C32.3557 14.5701 31.3012 13.5156 30.0006 13.5156C28.7 13.5156 27.6455 14.5701 27.6455 15.8707V30.0011C27.6455 30.0064 27.6473 30.0117 27.6473 30.017C27.6479 30.166 27.6626 30.3149 27.692 30.4615C27.7062 30.534 27.7326 30.5993 27.7533 30.67C27.7762 30.7477 27.7939 30.8266 27.8251 30.9025C27.8592 30.9838 27.9052 31.058 27.9475 31.1345C27.9793 31.1934 28.0047 31.2523 28.0417 31.3082C28.1283 31.4383 28.2266 31.5602 28.3367 31.6691L34.9963 38.3293C35.9159 39.2489 37.4085 39.2489 38.3275 38.3293C39.2472 37.4096 39.2472 35.9171 38.3275 34.9992L32.3557 29.0255Z" fill="rgba(0,0,0,0.5)"></path>
405</svg>
406`,checked:`<svg width="100%" height="100%" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
407
408    <path d="M16,2L16,14C16,15.104 15.104,16 14,16L2,16C0.896,16 0,15.104 0,14L0,2C0,0.896 0.896,0 2,0L14,0C15.104,0 16,0.896 16,2Z" fill="rgb(212,131,67)"></path>
409    <path d="M4.47,8.03C4.177,7.738 4.177,7.262 4.47,6.97C4.762,6.677 5.238,6.677 5.53,6.97L7.5,8.939L10.97,5.47C11.262,5.177 11.738,5.177 12.03,5.47C12.323,5.762 12.323,6.238 12.03,6.53L8.03,10.53C7.737,10.823 7.263,10.823 6.97,10.53L4.47,8.03Z" fill="#ffffff"></path>
410</svg>
411`,"check-wide":`<svg width="100%" height="100%" viewBox="0 0 8 8" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
412    <path d="M6.558.96a.75.75 0 0 1 1.106 1.013L3.386 6.64a.749.749 0 0 1-1.106 0L.336 4.519a.75.75 0 0 1 1.106-1.014l1.391 1.518L6.558.96Z"></path>
413</svg>
414`,"clock-thin":`<svg width="100%" height="100%" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">
415
416    <path d="M20,37.417C10.381,37.417 2.584,29.619 2.584,20C2.584,10.381 10.381,2.584 20,2.584C29.619,2.584 37.417,10.381 37.417,20C37.417,29.619 29.619,37.417 20,37.417ZM20,35.917C28.791,35.917 35.917,28.791 35.917,20C35.917,11.21 28.791,4.084 20,4.084C11.21,4.084 4.084,11.21 4.084,20C4.084,28.791 11.21,35.917 20,35.917Z"></path>
417    <path d="M19.25,10C19.25,9.586 19.586,9.25 20,9.25C20.414,9.25 20.75,9.586 20.75,10L20.75,19.536L27.002,22.662C27.372,22.848 27.523,23.298 27.338,23.669C27.152,24.039 26.702,24.189 26.331,24.004L19.665,20.671C19.411,20.544 19.25,20.284 19.25,20L19.25,10Z"></path>
418</svg>
419`,"close-circle-red":`<svg width="100%" height="100%" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
420
421    <path d="M0,10a10,10 0 1,0 20,0a10,10 0 1,0 -20,0" fill="rgb(194,85,85)"></path>
422    <path d="M8.586,10L5.96,7.374C5.57,6.983 5.57,6.35 5.96,5.959C6.35,5.569 6.984,5.569 7.374,5.959L10,8.586L12.627,5.959C13.017,5.569 13.651,5.569 14.041,5.959C14.431,6.35 14.431,6.983 14.041,7.374L11.415,10L14.041,12.626C14.431,13.016 14.431,13.65 14.041,14.04C13.651,14.431 13.017,14.431 12.627,14.04L10,11.414L7.374,14.04C6.984,14.431 6.35,14.431 5.96,14.04C5.57,13.65 5.57,13.016 5.96,12.626L8.586,10Z" fill="#ffffff"></path>
423</svg>
424`,"cloud-download":`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
425
426    <path d="M4.219,11.812L5.626,11.812L5.626,10.124L4.219,10.124C3.548,10.124 2.904,9.857 2.429,9.383C1.954,8.908 1.688,8.264 1.688,7.592C1.688,6.921 1.954,6.277 2.429,5.802C2.904,5.327 3.548,5.061 4.219,5.061L5.032,5.061L5.196,4.428C5.395,3.644 5.85,2.95 6.488,2.453C7.127,1.957 7.912,1.688 8.72,1.688C9.529,1.688 10.314,1.957 10.953,2.453C11.591,2.95 12.046,3.644 12.245,4.428L12.408,5.061L13.221,5.061C13.893,5.061 14.537,5.327 15.012,5.802C15.486,6.277 15.753,6.921 15.753,7.592C15.753,8.264 15.486,8.908 15.012,9.383C14.537,9.857 13.893,10.124 13.221,10.124L11.815,10.124L11.815,11.812L13.221,11.812C14.3,11.812 15.339,11.398 16.122,10.657C16.906,9.915 17.375,8.901 17.434,7.823C17.494,6.746 17.138,5.687 16.44,4.864C15.742,4.04 14.755,3.516 13.683,3.398C13.295,2.397 12.613,1.537 11.727,0.931C10.842,0.324 9.794,0 8.72,0C7.647,0 6.599,0.324 5.713,0.931C4.828,1.537 4.146,2.397 3.758,3.398C2.685,3.516 1.699,4.04 1.001,4.864C0.303,5.687 -0.053,6.746 0.006,7.823C0.065,8.901 0.535,9.915 1.319,10.657C2.102,11.398 3.14,11.812 4.219,11.812Z" style="fill-rule:nonzero;"></path>
427    <path d="M7.877,7.592L7.877,15.12L6.189,13.432L4.996,14.624L8.124,17.753C8.282,17.911 8.497,18 8.721,18C8.944,18 9.159,17.911 9.317,17.753L12.445,14.624L11.252,13.432L9.565,15.12L9.565,7.592L7.877,7.592Z" style="fill-rule:nonzero;"></path>
428</svg>
429`,"coins-group-active":`<svg width="100%" height="100%" viewBox="0 0 36 20" fill="none" xmlns="http://www.w3.org/2000/svg">
430<path fill-rule="evenodd" clip-rule="evenodd" d="M17 19.9227C20.1689 17.7627 22.2496 14.1243 22.2496 10C22.2496 5.87568 20.1689 2.23731 17 0.0773135C17.4094 0.0262857 17.8264 0 18.2496 0C23.7724 0 28.2496 4.47715 28.2496 10C28.2496 15.5228 23.7724 20 18.2496 20C17.8264 20 17.4094 19.9737 17 19.9227Z" fill="#B2CCE8"></path>
431<path fill-rule="evenodd" clip-rule="evenodd" d="M24.7505 19.9227C27.9194 17.7627 30.0001 14.1243 30.0001 10C30.0001 5.87568 27.9194 2.23731 24.7505 0.0773135C25.1598 0.0262857 25.5769 0 26.0001 0C31.5229 0 36.0001 4.47715 36.0001 10C36.0001 15.5228 31.5229 20 26.0001 20C25.5769 20 25.1598 19.9737 24.7505 19.9227Z" fill="#E6E6E6"></path>
432<circle cx="10" cy="10" r="10" fill="#50AF95"></circle>
433<path fill-rule="evenodd" clip-rule="evenodd" d="M11.1941 10.9131C11.1262 10.9182 10.7752 10.9391 9.99221 10.9391C9.36945 10.9391 8.92728 10.9204 8.77216 10.9131C6.36545 10.8073 4.56906 10.3889 4.56906 9.88788C4.56906 9.38688 6.36545 8.969 8.77216 8.86156V10.4963C8.92955 10.5076 9.3802 10.5342 10.003 10.5342C10.7503 10.5342 11.1245 10.5031 11.1919 10.4969V8.86269C13.5935 8.96957 15.3859 9.38801 15.3859 9.88788C15.3859 10.3878 13.5941 10.8062 11.1919 10.9125L11.1941 10.9131ZM11.1941 8.69362V7.23076H14.5458V5H5.42055V7.23076H8.77159V8.69306C6.04784 8.81802 3.99951 9.35691 3.99951 10.0027C3.99951 10.6484 6.04784 11.1868 8.77159 11.3123V16H11.1936V11.3106C13.9111 11.1856 15.956 10.6473 15.956 10.0021C15.956 9.35691 13.9128 8.81859 11.1936 8.69306L11.1941 8.69362Z" fill="white"></path>
434</svg>
435`,cn:`
436<svg width="100%" height="100%" viewBox="0 0 21 15" fill="none" xmlns="http://www.w3.org/2000/svg">
437  <mask id="cn-mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="21" height="15">
438    <path d="M19 0H2C0.89543 0 0 0.89543 0 2V13C0 14.1046 0.89543 15 2 15H19C20.1046 15 21 14.1046 21 13V2C21 0.89543 20.1046 0 19 0Z" fill="white"></path>
439  </mask>
440  <g mask="url(#cn-mask0)">
441    <path d="M19 0H2C0.89543 0 0 0.89543 0 2V13C0 14.1046 0.89543 15 2 15H19C20.1046 15 21 14.1046 21 13V2C21 0.89543 20.1046 0 19 0Z" fill="#E02600"></path>
442    <path fill-rule="evenodd" clip-rule="evenodd" d="M5.49812 7.23L4.02812 8.003L4.30812 6.366L3.12012 5.206L4.76312 4.969L5.49812 3.479L6.23212 4.969L7.87512 5.206L6.68512 6.366L6.96712 8.002L5.49812 7.23ZM9.00012 3H10.0001V4H9.00012V3ZM10.0001 5H11.0001V6H10.0001V5ZM10.0001 7H11.0001V8H10.0001V7ZM9.00012 9H10.0001V10H9.00012V9Z" fill="#FFE000"></path>
443    <path d="M19 0.5H2C1.17157 0.5 0.5 1.17157 0.5 2V13C0.5 13.8284 1.17157 14.5 2 14.5H19C19.8284 14.5 20.5 13.8284 20.5 13V2C20.5 1.17157 19.8284 0.5 19 0.5Z" stroke="black" stroke-opacity="0.1"></path>
444  </g>
445</svg>
446`,"coins-stacked":`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
447
448    <path d="M17.25,8.625L17.25,14.25C17.25,14.705 17.009,15.175 16.47,15.553C15.701,16.
448093 14.161,16.5 12.375,16.5C10.589,16.5 9.049,16.093 8.28,15.553C7.741,15.175 7.5,14.705 7.5,14.25L7.5,8.625C7.5,8.17 7.741,7.7 8.28,7.322C9.049,6.782 10.589,6.375 12.375,6.375C14.161,6.375 15.701,6.782 16.47,7.322C17.009,7.7 17.25,8.17 17.25,8.625ZM9.065,8.625C9.142,8.689 9.267,8.783 9.379,8.839C10.054,9.174 11.146,9.375 12.375,9.375C13.604,9.375 14.696,9.174 15.371,8.839C15.483,8.783 15.608,8.689 15.685,8.625C15.608,8.561 15.483,8.467 15.371,8.411C14.696,8.076 13.604,7.875 12.375,7.875C11.146,7.875 10.054,8.076 9.379,8.411C9.267,8.467 9.142,8.561 9.065,8.625ZM9,11.383C9.048,11.425 9.225,11.575 9.379,11.651C10.054,11.986 11.146,12.188 12.375,12.188C13.604,12.188 14.696,11.986 15.371,11.651C15.525,11.575 15.702,11.425 15.75,11.383L15.75,10.307C14.909,10.647 13.711,10.875 12.375,10.875C11.039,10.875 9.841,10.647 9,10.307L9,11.383ZM15.75,13.119C14.909,13.46 13.711,13.688 12.375,13.688C11.039,13.687 9.841,13.46 9,13.119L9,14.195C9.048,14.238 9.225,14.387 9.379,14.464C10.054,14.799 11.146,15 12.375,15C13.604,15 14.696,14.799 15.371,14.464C15.525,14.387 15.702,14.238 15.75,14.195L15.75,13.119Z"></path>
449    <path d="M10.5,3.75L10.5,4.875C10.5,5.289 10.164,5.625 9.75,5.625C9.519,5.625 9.313,5.521 9.175,5.357C8.33,5.738 7.056,6 5.625,6C4.289,6 3.091,5.772 2.25,5.432L2.25,6.696C2.293,6.735 2.44,6.864 2.567,6.932C3.17,7.253 4.151,7.457 5.275,7.494C5.39,7.498 5.507,7.5 5.625,7.5C6.039,7.5 6.375,7.836 6.375,8.25C6.375,8.664 6.039,9 5.625,9C5.49,9 5.357,8.998 5.225,8.993C4.051,8.955 3.008,8.738 2.25,8.431L2.25,9.695C2.298,9.738 2.475,9.887 2.629,9.964C3.304,10.299 4.396,10.5 5.625,10.5C6.039,10.5 6.375,10.836 6.375,11.25C6.375,11.664 6.039,12 5.625,12C4.289,12 3.091,11.772 2.25,11.432L2.25,12.695C2.298,12.738 2.475,12.887 2.629,12.964C3.304,13.299 4.396,13.5 5.625,13.5C6.039,13.5 6.375,13.836 6.375,14.25C6.375,14.664 6.039,15 5.625,15C3.839,15 2.299,14.593 1.53,14.053C0.991,13.675 0.75,13.205 0.75,12.75L0.75,3.75C0.75,3.295 0.991,2.825 1.53,2.447C2.299,1.907 3.839,1.5 5.625,1.5C7.411,1.5 8.951,1.907 9.72,2.447C10.259,2.825 10.5,3.295 10.5,3.75ZM2.315,3.75C2.392,3.814 2.517,3.908 2.629,3.964C3.304,4.299 4.396,4.5 5.625,4.5C6.854,4.5 7.946,4.299 8.621,3.964C8.733,3.908 8.858,3.814 8.935,3.75C8.858,3.686 8.733,3.592 8.621,3.536C7.946,3.201 6.854,3 5.625,3C4.396,3 3.304,3.201 2.629,3.536C2.517,3.592 2.392,3.686 2.315,3.75Z"></path>
450</svg>
451`,clock:`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
452
453    <path d="M9,17.25C4.444,17.25 0.75,13.556 0.75,9C0.75,4.444 4.444,0.75 9,0.75C13.556,0.75 17.25,4.444 17.25,9C17.25,13.556 13.556,17.25 9,17.25ZM9,15.75C12.728,15.75 15.75,12.728 15.75,9C15.75,5.272 12.728,2.25 9,2.25C5.272,2.25 2.25,5.272 2.25,9C2.25,12.728 5.272,15.75 9,15.75Z"></path>
454    <path d="M8.25,4.5C8.25,4.086 8.586,3.75 9,3.75C9.414,3.75 9.75,4.086 9.75,4.5L9.75,8.536L12.335,9.829C12.706,10.014 12.856,10.465 12.671,10.835C12.486,11.206 12.035,11.356 11.665,11.171L8.665,9.671C8.411,9.544 8.25,9.284 8.25,9L8.25,4.5Z"></path>
455</svg>
456`,coins:`<svg width="100%" height="100%" viewBox="0 0 20 14" fill="none" xmlns="http://www.w3.org/2000/svg">
457    <path d="M9.22875 1.42151V2.64477C9.22875 3.42935 7.16408 4.06629 4.61656 4.06629C2.06904 4.06629 0.00436967 3.43356 0.00436967 2.64477V1.42151C0.00436967 0.636939 2.06904 0 4.61656 0C7.16408 0 9.22875 0.63483 9.22875 1.42151ZM4.61656 5.41398C2.94298 5.41398 1.20603 5.17144 0.0284029 4.57035C0.0103715 4.61985 0.000779222 4.67185 0 4.72431V5.94757C0 6.73215 2.06467 7.36909 4.61219 7.36909C7.15971 7.36909 9.22438 6.73637 9.22438 5.94757V4.72431C9.2236 4.67185 9.21401 4.61985 9.19598 4.57035C8.03583 5.17144 6.28796 5.41398 4.61656 5.41398ZM4.61656 8.72522C2.94298 8.72522 1.20603 8.48267 0.0284029 7.88159C0.0103339 7.93108 0.000740499 7.98308 0 8.03555V9.25881C0 10.0434 2.06467 10.6803 4.61219 10.6803C7.15971 10.6803 9.22438 10.0476 9.22438 9.25881V8.03555C9.22364 7.98308 9.21405 7.93108 9.19598 7.88159C8.03583 8.48267 6.28796 8.72733 4.61656 8.72733V8.72522ZM4.61656 12.0365C2.94298 12.0365 1.20603 11.7939 0.0284029 11.1928C0.0103715 11.2423 0.000779222 11.2943 0 11.3468V12.5701C0.00218484 13.3673 2.06904 14 4.61656 14C7.16408 14 9.22875 13.3673 9.22875 12.5785V11.3552C9.22797 11.3028 9.21838 11.2508 9.20035 11.2013C8.03583 11.7939 6.28796 12.0365 4.61656 12.0365ZM15.3878 3.30913C12.8403 3.30913 10.7756 3.94185 10.7756 4.73064V5.9539C10.7756 6.73847 12.8403 7.37541 15.3878 7.37541C17.9353 7.37541 20 6.74269 20 5.9539V4.73064C20.0022 3.94607 17.9353 3.30913 15.3878 3.30913ZM15.3878 8.72522C13.7164 8.72733 11.9685 8.48267 10.804 7.8837C10.786 7.9332 10.7764 7.9852 10.7756 8.03766V9.26092C10.7756 10.0455 12.8403 10.6824 15.3878 10.6824C17.9353 10.6824 20 10.0497 20 9.26092V8.03766C19.9992 7.9852 19.9896 7.9332 19.9716 7.8837C18.7983 8.48267 17.0614 8.72733 15.3878 8.72733V8.72522ZM15.3878 12.0365C13.7142 12.0365 11.9773 11.7939 10.7996 11.1928C10.7816 11.2423 10.772 11.2943 10.7712 11.3468V12.5701C10.7756 13.3673 12.8425 14 15.3878 14C17.9331 14 20 13.3673 20 12.5785V11.3552C19.9992 11.3028 19.9896 11.2508 19.9716 11.2013C18.7983 11.7939 17.0614 12.0365 15.3878 12.0365Z" fill="#B3B3B3"></path>
458</svg>
459`,"check-done":`<svg width="100%" height="100%" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
460
461    <path d="M14.582,2.581C14.874,2.288 15.35,2.288 15.642,2.581C15.935,2.874 15.935,3.349 15.642,3.642L8.309,10.975C8.168,11.116 7.978,11.195 7.779,11.195C7.58,11.195 7.389,11.116 7.248,10.975L3.915,7.642C3.622,7.349 3.622,6.874 3.915,6.581C4.208,6.288 4.683,6.288 4.976,6.581L7.779,9.384L14.582,2.581Z"></path>
462    <path d="M10.838,0.669L10.296,2.068C9.064,1.59 7.713,1.509 6.432,1.835C5.151,2.161 4.003,2.877 3.148,3.885C2.294,4.893 1.774,6.143 1.662,7.46C1.549,8.776 1.85,10.096 2.522,11.234C3.194,12.372 4.204,13.273 5.411,13.81C6.619,14.348 7.963,14.497 9.259,14.235C10.555,13.973 11.736,13.315 12.64,12.35C13.544,11.386 14.126,10.164 14.303,8.855L15.79,9.056C15.57,10.675 14.852,12.185 13.735,13.376C12.618,14.568 11.157,15.382 9.556,15.705C7.955,16.029 6.293,15.845 4.801,15.181C3.309,14.516 2.061,13.403 1.23,11.996C0.4,10.59 0.028,8.96 0.167,7.332C0.306,5.705 0.948,4.161 2.005,2.915C3.061,1.669 4.479,0.784 6.062,0.381C7.645,-0.021 9.314,0.079 10.838,0.669Z"></path>
463</svg>
464`,copy:`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
465
466    <path d="M11.522,3.504C11.522,3.241 11.309,3.027 11.045,3.027L4.811,3.027C4.196,3.027 3.692,3.516 3.692,4.114L3.692,11.229C3.692,11.501 3.913,11.722 4.185,11.722C4.457,11.722 4.678,11.501 4.678,11.229L4.678,3.981L11.045,3.981C11.309,3.981 11.522,3.768 11.522,3.504ZM13.221,5.219L7.069,5.219C6.454,5.219 5.951,5.708 5.951,6.306L5.951,13.913C5.951,14.511 6.454,15 7.069,15L13.221,15C13.837,15 14.34,14.511 14.34,13.913L14.34,6.306C14.34,5.708 13.837,5.219 13.221,5.219ZM13.344,14.004L6.947,14.004L6.947,6.215L13.344,6.215L13.344,14.004Z"></path>
467</svg>
468`,"dai-disabled":`<svg width="100%" height="100%" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
469
470    <path fill="#e1e1e1" fill-rule="nonzero" d="M14 0c7.732 0 14 6.269 14 14 0 7.733-6.268 14-14 14S0 21.732 0 14C0 6.269 6.268 0 14 0Z"></path>
471    <path fill="#fefefd" fill-rule="nonzero" d="M9.3 14.989h10.535c.114 0 .167 0 .175-.149.044-.541.044-1.085 0-1.627 0-.105-.052-.149-.166-.149H9.257c-.131 0-.166.044-.166.166v1.558c0 .201 0 .201.209.201Zm10.116-3.745a.171.171 0 0 0 0-.122 3.375 3.375 0 0 0-.316-.551 4.433 4.433 0 0 0-.648-.814 2.143 2.143 0 0 0-.402-.394 6.282 6.282 
4710 0 0-2.625-1.33 6.539 6.539 0 0 0-1.488-.158H9.239c-.131 0-.149.053-.149.167v3.106c0 .131 0 .166.166.166h10.097s.088-.018.106-.07h-.043Zm0 5.565a2.087 2.087 0 0 0-.447 0H9.266c-.131 0-.175 0-.175.175v3.037c0 .14 0 .175.175.175h4.48c.214.016.428.001.638-.044a6.622 6.622 0 0 0 1.899-.42 3.53 3.53 0 0 0 .639-.297h.061a5.681 5.681 0 0 0 2.441-2.458s.061-.132-.008-.167v-.001ZM7.332 21.77v-4.838c0-.114 0-.131-.14-.131H5.294c-.106 0-.149 0-.149-.14v-1.663h2.03c.113 0 .157 0 .157-.148v-1.645c0-.106 0-.131-.14-.131H5.294c-.106 0-.149 0-.149-.14v-1.54c0-.096 0-.122.14-.122h1.881c.131 0 .166 0 .166-.167V6.389c0-.14 0-.175.175-.175h6.563a9.91 9.91 0 0 1 1.417.158 8.55 8.55 0 0 1 2.739 1.015c.562.33 1.079.73 1.539 1.19.347.359.659.749.937 1.163.275.42.504.87.683 1.339a.228.228 0 0 0 .262.184h1.566c.201 0 .201 0 .21.193v1.435c0 .14-.053.175-.193.175h-1.208c-.122 0-.157 0-.149.158a8.907 8.907 0 0 1 0 1.6c0 .149 0 .167.167.167h1.382c.061.078 0 .157 0 .237.009.101.009.204 0 .305v1.059c0 .149-.044.193-.175.193h-1.654a.22.22 0 0 0-.254.166 7 7 0 0 1-1.838 2.678c-.297.268-.609.52-.936.752-.35.202-.691.411-1.05.578a9.528 9.528 0 0 1-2.065.656c-.676.121-1.36.175-2.048.166H7.33v-.009l.002-.002Z"></path>
472</svg>
473`,"dai-circle":`<svg width="100%" height="100%" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
474
475    <path fill="#f5ac37" fill-rule="nonzero" d="M14 0c7.733 0 14 6.269 14 14 0 7.733-6.267 14-14 14-7.732 0-14-6.268-14-14C0 6.269 6.268 0 14 0Z"></path>
476    <path fill="#fefefd" fill-rule="nonzero" d="M9.301 14.989h10.535c.113 0 .167 0 .175-.149.043-.541.043-1.085 0-1.627 0-.105-.052-.149-.167-.149H9.257c-.131 0-.166.044-.166.166v1.558c0 .201 0 .201.21.201Zm10.116-3.745a.171.171 0 0 0 0-.122 3.38 3.38 0 0 0-.317-.551 4.386 4.386 0 0 0-.647-.814 2.18 2.18 0 0 0-.403-.394 6.276 6.276 0 0 0-2.625-1.33 6.524 6.524 0 0 0-1.487-.158H9.239c-.131 0-.149.053-.149.167v3.106c0 .131 0 .166.167.166h10.097s.087-.018.105-.07h-.043.001Zm0 5.565a2.097 2.097 0 0 0-.448 0H9.266c-.131 0-.175 0-.175.175v3.037c0 .14 0 .175.175.175h4.48c.214.016.429.001.638-.044a6.636 6.636 0 0 0 1.9-.42c.221-.077.436-.177.638-.297h.061a5.681 5.681 0 0 0 2.441-2.458s.061-.132-.007-.167v-.001ZM7.333 21.77v-4.838c0-.114 0-.131-.14-.131H5.294c-.105 0-.149 0-.149-.14v-1.663h2.03c.113 0 .158 0 .158-.148v-1.645c0-.106 0-.131-.14-.131H5.294c-.105 0-.149 0-.149-.14v-1.54c0-.096 0-.122.14-.122h1.881c.131 0 .167 0 .167-.167V6.389c0-.14 0-.175.175-.175h6.562a9.91 9.91 0 0 1 1.417.158 8.542 8.542 0 0 1 2.739 1.015 7.7 7.7 0 0 1 1.54 1.19c.346.359.659.749.936 1.163.275.42.504.87.684 1.339a.228.228 0 0 0 .261.184h1.566c.201 0 .201 0 .21.193v1.435c0 .14-.052.175-.193.175h-1.207c-.123 0-.158 0-.149.158a8.907 8.907 0 0 1 0 1.6c0 .149 0 .167.167.167h1.381c.062.078 0 .157 0 .237.009.101.009.204 0 .305v1.059c0 .149-.043.193-.175.193h-1.654a.218.218 0 0 0-.253.166 7 7 0 0 1-1.838 2.678c-.298.268-.61.52-.936.752-.351.202-.692.411-1.051.578a9.51 9.51 0 0 1-2.065.656c-.675.121-1.36.175-2.047.166H7.33v-.009l.003-.002Z"></path>
477</svg>
478`,"coin-crypto":`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
479
480    <path d="M11.25,3C7.935,3 5.25,5.685 5.25,9C5.25,12.315 7.935,15 11.25,15C14.565,15 17.25,12.315 17.25,9C17.25,5.685 14.565,3 11.25,3ZM11.25,13.5C8.768,13.5 6.75,11.483 6.75,9C6.75,6.518 8.768,4.5 11.25,4.5C13.733,4.5 15.75,6.518 15.75,9C15.75,11.483 13.733,13.5 11.25,13.5Z"></path>
481    <path d="M2.25,9C2.25,7.042 3.503,5.377 5.25,4.762L5.25,3.195C2.663,3.862 0.75,6.202 0.75,9C0.75,11.797 2.663,14.137 5.25,14.805L5.25,13.237C3.503,12.622 2.25,10.957 2.25,9Z"></path>
482</svg>
483`,"dash-circle":`<svg width="100%" height="100%" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
484
485    <path fill="#008de4" d="M0,14a14,14 0 1,0 28,0a14,14 0 1,0 -28,0"></path>
486    <path fill="#fff" fill-rule="nonzero" d="M16.552 7.346h-5.977l-.495 2.767 5.394.008c2.656 0 3.442.964 3.419 2.563-.013.82-.366 2.207-.52 2.656-.409 1.197-1.25 2.566-4.401 2.561l-5.243-.003-.497 2.77h5.962c2.103 0 2.997-.245 3.944-.682 2.101-.969 3.351-3.042 3.851-5.747.745-4.027-.185-6.893-5.437-6.893Z"></path>
487    <path fill="#fff" fill-rule="nonzero" d="M7.997 12.618c-1.565 0-1.79 1.02-1.937 1.636a30.271 30.271 0 0 0-.257 1.134h6.118c1.566 0 1.791-1.02 1.937-1.636.194-.808.257-1.134.257-1.134H7.997Z"></path>
488</svg>
489`,dashboard:`<svg width="100%" height="100%" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
490
491    <path d="M.996.996h17.96v17.963H.996Z" fill="rgb(113,111,128)" fill-opacity="0.3"></path>
492    <path class="add-fill" d="M17 0H3C2.204 0 1.441.316.879.879A2.996 2.996 0 0 0 0 3v14c0 .796.316 1.559.879 2.121A2.996 2.996 0 0 0 3 20h14c.796 0 1.559-.316 2.121-.879A2.996 2.996 0 0 0 20 17V3c0-.796-.316-1.559-.879-2.121A2.996 2.996 0 0 0 17 0ZM2 3a.997.997 0 0 1 1-1h14a.997.997 0 0 1 1 1v1H2V3Zm1 15a.997.997 0 0 1-1-1V6h4v12H3Zm15-1a.997.997 0 0 1-1 1H8V6h10v11Z" fill="rgb(113,111,128)"></path>
493</svg>
494`,"dash-disabled":`<svg width="100%" height="100%" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
495
496    <path fill="#e1e1e1" d="M0,14a14,14 0 1,0 28,0a14,14 0 1,0 -28,0"></path>
497    <path fill="#fff" fill-rule="nonzero" d="M16.552 7.346h-5.977l-.495 2.767 5.394.008c2.656 0 3.442.964 3.419 2.563-.013.82-.366 2.207-.52 2.656-.409 1.197-1.25 2.566-4.401 2.561l-5.243-.003-.497 2.77h5.962c2.103 0 2.997-.245 3.944-.682 2.101-.969 3.351-3.042 3.851-5.747.745-4.027-.185-6.893-5.437-6.893Z"></path>
498    <path fill="#fff" fill-rule="nonzero" d="M7.997 12.618c-1.565 0-1.79 1.02-1.937 1.636a30.271 30.271 0 0 0-.257 1.134h6.118c1.566 0 1.791-1.02 1.937-1.636.194-.808.258-1.134.258-1.134H7.997Z"></path>
499</svg>
500`,"doc-bill-invoice":`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
501    <path d="M4,8L0.5,8L0.5,3C0.5,1.343 1.843,0 3.5,0L15,0C16.657,0 18,1.343 18,3L18,16L15.667,18L13.333,16L11,18L8.667,16L6.333,18L4,16L4,8ZM4,1.5L3.5,1.5C2.672,1.5 2,2.172 2,3L2,6.5L4,6.5L4,1.5ZM5.5,1.5L5.5,15.31L6.333,16.024L7.69,14.861L8.667,14.024L9.643,14.861C9.643,14.861 11,16.024 11,16.024L12.357,14.861L13.333,14.024L14.309,14.861C14.309,14.861 15.667,16.024 15.667,16.024L16.5,15.31L16.5,3C16.5,2.172 15.828,1.5 15,1.5C15,1.5 5.5,1.5 5.5,1.5Z"></path>
502    <path d="M8,5.75C7.586,5.75 7.25,5.414 7.25,5C7.25,4.586 7.586,4.25 8,4.25L14,4.25C14.414,4.25 14.75,4.586 14.75,5C14.75,5.414 14.414,5.75 14,5.75L8,5.75Z"></path>
503    <path d="M8,8.75C7.586,8.75 7.25,8.414 7.25,8C7.25,7.586 7.586,7.25 8,7.25L14,7.25C14.414,7.25 14.75,7.586 14.75,8C14.75,8.414 14.414,8.75 14,8.75L8,8.75Z"></path>
504    <path d="M8,11.75C7.586,11.75 7.25,11.414 7.25,11C7.25,10.586 7.586,10.25 8,10.25L11,10.25C11.414,10.25 11.75,10.586 11.75,11C11.75,11.414 11.414,11.75 11,11.75L8,11.75Z"></path>
505</svg>
506`,"device-phone":`<svg width="100%" height="100%" viewBox="0 0 12 14" fill="none" xmlns="http://www.w3.org/2000/svg">
507<path d="M2.25 13.25L9.75 13.25C10.4404 13.25 11 12.6904 11 12L11 2C11 1.30964 10.4404 0.75 9.75 0.75L2.25 0.75C1.55964 0.75 1 1.30964 1 2L1 12C1 12.6904 1.55964 13.25 2.25 13.25Z" stroke="black" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"></path>
508<path d="M5.99935 11.1663C5.76923 11.1663 5.58268 10.9798 5.58268 10.7497C5.58268 10.5196 5.76923 10.333 5.99935 10.333C6.22947 10.333 6.41602 10.5196 6.41602 10.7497C6.41602 10.9798 6.22947 11.1663 5.99935 11.1663Z" stroke="black" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"></path>
509</svg>
510`,"coins-group-disabled":`<svg width="100%" height="100%" viewBox="0 0 36 20" fill="none" xmlns="http://www.w3.org/2000/svg">
511<path fill-rule="evenodd" clip-rule="evenodd" d="M17 19.9227C20.1689 17.7627 22.2496 14.1243 22.2496 10C22.2496 5.87568 20.1689 2.23731 17 0.0773135C17.4094 0.0262857 17.8264 0 18.2496 0C23.7724 0 28.2496 4.47715 28.2496 10C28.2496 15.5228 23.7724 20 18.2496 20C17.8264 20 17.4094 19.9737 17 19.9227Z" fill="#E1E1E1"></path>
512<path fill-rule="evenodd" clip-rule="evenodd" d="M24.75 19.9227C27.9189 17.7627 29.9996 14.1243 29.9996 10C29.9996 5.87568 27.9189 2.23731 24.75 0.0773135C25.1594 0.0262857 25.5764 0 25.9996 0C31.5224 0 35.9996 4.47715 35.9996 10C35.9996 15.5228 31.5224 20 25.9996 20C25.5764 20 25.1594 19.9737 24.75 19.9227Z" fill="#E1E1E1"></path>
513<circle cx="10" cy="10" r="10" fill="#E1E1E1"></circle>
514<path fill-rule="evenodd" clip-rule="evenodd" d="M11.1946 10.9131C11.1267 10.9182 10.7757 10.9391 9.9927 10.9391C9.36993 10.9391 8.92777 10.9204 8.77265 10.9131C6.36594 10.8073 4.56955 10.3889 4.56955 9.88788C4.56955 9.38688 6.36594 8.969 8.77265 8.86156V10.4963C8.93004 10.5076 9.38069 10.5342 10.0035 10.5342C10.7508 10.5342 11.125 10.5031 11.1924 10.4969V8.86269C13.594 8.96957 15.3864 9.38801 15.3864 9.88788C15.3864 10.3878 13.5945 10.8062 11.1924 10.9125L11.1946 10.9131ZM11.1946 8.69362V7.23076H14.5462V5H5.42104V7.23076H8.77208V8.69306C6.04833 8.81802 4 9.35691 4 10.0027C4 10.6484 6.04833 11.1868 8.77208 11.3123V16H11.1941V11.3106C13.9116 11.1856 15.9565 10.6473 15.9565 10.0021C1
5145.9565 9.35691 13.9133 8.81859 11.1941 8.69306L11.1946 8.69362Z" fill="white"></path>
515</svg>
516`,dot:`<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
517  <g opacity="0.4">
518  <rect x="6" y="6" width="6" height="6" fill="black"></rect>
519  </g>
520  </svg>
521`,"deposit-green":`<svg width="100%" height="100%" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg">
522
523    <path d="M0 15a15 15 0 1 0 30 0 15 15 0 1 0-30 0" fill="rgb(233,245,233)"></path>
524    <path d="M21.417 12.083V18.5a1.17 1.17 0 0 1-1.166 1.166h-9.917V18.5h9.917v-6.417h1.166Z" fill="rgb(91,139,93)"></path>
525    <path d="M19.084 16.166V11.5a1.17 1.17 0 0 0-1.167-1.167H9.751A1.17 1.17 0 0 0 8.584 11.5v4.666a1.17 1.17 0 0 0 1.167 1.167h8.166a1.17 1.17 0 0 0 1.167-1.167Zm-5.25-.583c-.968 0-1.75-.782-1.75-1.75s.782-1.75 1.75-1.75 1.75.782 1.75 1.75-.782 1.75-1.75 1.75Z" fill="rgb(91,139,93)"></path>
526</svg>
527`,"dots-menu":`<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
528<g opacity="0.4">
529<path d="M4.5 9L4.5 8.9" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path>
530<path d="M9 9L9 8.9" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path>
531<path d="M13.5 9L13.5 8.9" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path>
532</g>
533</svg>
534`,"download-colored":`<svg width="100%" height="100%" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg">
535<path d="M22.1605 16.0547V20.1261C22.1605 20.666 21.9461 21.1838 21.5643 21.5656C21.1825 21.9474 20.6647 22.1618 20.1248 22.1618H5.87483C5.33492 22.1618 4.81713 21.9474 4.43536 21.5656C4.05359 21.1838 3.83911 20.666 3.83911 20.1261V16.0547" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
536<path d="M7.91064 10.9648L12.9999 16.0541L18.0892 10.9648" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
537<path d="M13 16.0541V3.83984" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
538</svg>
539`,"dashboard-outlined":`<svg width="22px" height="16px" viewBox="0 0 22 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xml:space="preserve">
540    <path d="M21.757,2.613L21.757,13.468C21.757,14.816 20.663,15.911 19.315,15.911L3.032,15.911C1.684,15.911 0.59,14.816 0.59,13.468L0.59,2.613C0.59,1.265 1.684,0.17 3.032,0.17L19.315,0.17C20.663,0.17 21.757,1.265 21.757,2.613ZM6.918,1.437L3.032,1.437C2.383,1.437 1.856,1.964 1.856,2.613L1.856,13.468C1.856,14.117 2.383,14.644 3.032,14.644L6.918,14.644L6.918,1.437ZM8.184,14.644L19.315,14.644C19.964,14.644 20.491,14.117 20.491,13.468L20.491,2.613C20.491,1.964 19.964,1.437 19.315,1.437L8.184,1.437L8.184,14.644Z" style="fill:#737373;"></path>
541    <path d="M3.487,4.512C3.237,4.512 3.035,4.309 3.035,4.06C3.035,3.81 3.237,3.607 3.487,3.607L5.296,3.607C5.546,3.607 5.748,3.81 5.748,4.06C5.748,4.309 5.546,4.512 5.296,4.512L3.487,4.512Z" style="fill:#737373;"></path>
542    <path d="M3.487,6.683C3.237,6.683 3.035,6.48 3.035,6.23C3.035,5.981 3.237,5.778 3.487,5.778L5.296,5.778C5.546,5.778 5.748,5.981 5.748,6.23C5.748,6.48 5.546,6.683 5.296,6.683L3.487,6.683Z" style="fill:#737373;"></path>
543    <path d="M3.487,8.854C3.237,8.854 3.035,8.651 3.035,8.401C3.035,8.152 3.237,7.949 3.487,7.949L5.296,7.949C5.546,7.949 5.748,8.152 5.748,8.401C5.748,8.651 5.546,8.854 5.296,8.854L3.487,8.854Z" style="fill:#737373;"></path>
544</svg>
545`,"edit-white":`
546<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
547  <path d="M8.25 3H3C2.60218 3 2.22064 3.15804 1.93934 3.43934C1.65804 3.72064 1.5 4.10218 1.5 4.5V15C1.5 15.3978 1.65804 15.7794 1.93934 16.0607C2.22064 16.342 2.60218 16.5 3 16.5H13.5C13.8978 16.5 14.2794 16.342 14.5607 16.0607C14.842 15.7794 15 15.3978 15 15V9.75" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
548  <path d="M13.875 1.87419C14.1734 1.57582 14.578 1.4082 15 1.4082C15.422 1.4082 15.8266 1.57582 16.125 1.87419C16.4234 2.17256 16.591 2.57724 16.591 2.99919C16.591 3.42115 16.4234 3.82582 16.125 4.12419L9 11.2492L6 11.9992L6.75 8.99919L13.875 1.87419Z" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
549</svg>
550`,download:`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
551
552    <path d="M15,11.25C15,10.836 15.336,10.5 15.75,10.5C16.164,10.5 16.5,10.836 16.5,11.25L16.5,14.25C16.5,14.847 16.263,15.419 15.841,15.841C15.419,16.263 14.847,16.5 14.25,16.5L3.75,16.5C3.153,16.5 2.581,16.263 2.159,15.841C1.737,15.419 1.5,14.847 1.5,14.25L1.5,11.25C1.5,10.836 1.836,10.5 2.25,10.5C2.664,10.5 3,10.836 3,11.25L3,14.25C3,14.449 3.079,14.64 3.22,14.78C3.36,14.921 3.551,15 3.75,15L14.25,15C14.449,15 14.64,14.921 14.78,14.78C14.921,14.64 15,14.449 15,14.25L15,11.25Z"></path>
553    <path d="M8.47,11.78L4.72,8.03C4.427,7.738 4.427,7.262 4.72,6.97C5.012,6.677 5.488,6.677 5.78,6.97L8.25,9.439L8.25,2.25C8.25,1.836 8.586,1.5 9,1.5C9.414,1.5 9.75,1.836 9.75,2.25L9.75,9.439L12.22,6.97C12.512,6.677 12.988,6.677 13.28,6.97C13.573,7.262 13.573,7.738 13.28,8.03L9.53,11.78C9.389,11.921 9.199,12 9,12C8.801,12 8.611,11.921 8.47,11.78Z"></path>
554</svg>
555`,edit:`<svg width="100%" height="100%" viewBox="0 0 40 41" fill="none" xmlns="http://www.w3.org/2000/svg">
556<rect opacity="0.2" y="0.957031" width="40" height="40" rx="12" fill="#A4A4A4"></rect>
557<path opacity="0.2" d="M29 31.0001H11C10.59 31.0001 10.25 30.6601 10.25 30.2501C10.25 29.8401 10.59 29.5001 11 29.5001H29C29.41 29.5001 29.75 29.8401 29.75 30.2501C29.75 30.6601 29.41 31.0001 29 31.0001ZM27.02 12.4821C25.08 10.5421 23.18 10.4921 21.19 12.4821L19.98 13.6921C19.88 13.7921 19.84 13.9521 19.88 14.0921C20.2625 15.4045 20.9697 16.5992 21.9363 17.5658C22.9029 18.5324 24.0976 19.2397 25.41 19.6221C25.4809 19.6453 25.5568 19.6483 25.6293 19.6306C25.7017 19.6129 25.7678 19.5753 25.82 19.5221L27.02 18.3121C28.01 17.3321 28.49 16.3821 28.49 15.4221C28.5 14.4321 28.02 13.4721 27.02 12.4821Z" fill="black"></path>
558<path opacity="0.4" d="M23.6098 20.5298C23.3198 20.3898 23.0398 20.2498 22.7698 20.0898C22.5505 19.9592 22.337 19.819 22.1298 19.6698C21.9598 19.5598 21.7598 19.3998 21.5698 19.2398C21.5086 19.1952 21.4517 19.145 21.3998 19.0898C21.0698 18.8098 20.6998 18.4498 20.3698 18.0498C20.3398 18.0298 20.2898 17.9598 20.2198 17.8698C20.1198 17.7498 19.9498 17.5498 19.7998 17.3198C19.6573 17.1317 19.527 16.9346 19.4098 16.7298C19.2498 16.4598 19.1098 16.1898 18.9698 15.9098C18.8298 15.6098 18.7198 15.3198 18.6198 15.0498L12.3398 21.3298C12.2098 21.4598 12.0898 21.7098 12.0598 21.8798L11.5198 25.7098C11.4198 26.3898 11.6098 27.0298 12.0298 27.4598C12.3898 27.8098 12.8898 27.9998 13.4298 27.9998C13.5498 27.9998 13.6698 27.9898 13.7898 27.9698L17.6298 27.4298C17.8098 27.3998 18.0598 27.2798 18.1798 27.1498L24.4598 20.8698C24.1798 20.7698 23.9098 20.6598 23.6098 20.5298Z" fill="black"></path>
559</svg>
560`,"device-desktop":`<svg width="100%" height="100%" viewBox="0 0 15 13" fill="none" xmlns="http://www.w3.org/2000/svg">
561<path d="M13 0H1.3C0.58175 0 0 0.58175 0 1.3V9.1C0 9.81825 0.58175 10.4 1.3 10.4H5.85V11.7H4.55V13H9.75V11.7H8.45V10.4H13C13.7183 10.4 14.3 9.81825 14.3 9.1V1.3C14.3 0.58175 13.7183 0 13 0ZM13 9.1H1.3V1.3H13V9.1Z" fill="black"></path>
562</svg>
563`,"email-black":`<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
564<path d="M15.8346 3.33398H4.16797C3.50493 3.33398 2.86904 3.59738 2.4002 4.06622C1.93136 4.53506 1.66797 5.17094 1.66797 5.83398V14.1673C1.66797 14.8304 1.93136 15.4662 2.4002 15.9351C2.86904 16.4039 3.50493 16.6673 4.16797 16.6673H15.8346C16.4977 16.6673 17.1336 16.4039 17.6024 15.9351C18.0712 15.4662 18.3346 14.8304 18.3346 14.1673V5.83398C18.3346 5.17094 18.0712 4.53506 17.6024 4.06622C17.1336 3.59738 16.4977 3.33398 15.8346 3.33398ZM15.8346 5.00065L10.418 8.72565C10.2913 8.79879 10.1476 8.8373 10.0013 8.8373C9.85502 8.8373 9.71132 8.79879 9.58464 8.72565L4.16797 5.00065H15.8346Z" fill="black"></path>
565</svg>
566`,"ellipse-star":`<svg width="100%" height="100%" viewBox="0 0 32 24" fill="none" xmlns="http://www.w3.org/2000/svg">
567<path opacity="0.4" d="M0 12C0 5.37258 5.37258 0 12 0H20C26.6274 0 32 5.37258 32 12C32 18.6274 26.6274 24 20 24H12C5.37258 24 0 18.6274 0 12Z" fill="black"></path>
568<path d="M14.9763 5.50584C15.3955 4.6565 16.6067 4.6565 17.0259 5.50584L18.384 8.25722C18.5504 8.59419 18.8717 8.82786 19.2436 8.8822L22.2825 9.32639C23.2196 9.46336 23.593 10.6152 22.9146 11.2759L20.7174 13.416C20.4479 13.6785 20.3248 14.057 20.3884 14.4279L20.9067 17.4498C21.0669 18.3835 20.0868 19.0955 19.2484 18.6545L16.5331 17.2266C16.2001 17.0514 15.8022 17.0514 15.4692 17.2266L12.7538 18.6545C11.9154 19.0955 10.9353 18.3835 11.0955 17.4498L11.6138 14.4279C11.6774 14.057 11.5544 13.6785 11.2848 13.416L9.08761 11.2759C8.40922 10.6152 8.78268 9.46336 9.71973 9.32639L12.7587 8.8822C13.1305 8.82786 13.4519 8.59419 13.6182 8.25722L14.9763 5.50584Z" fill="white"></path>
569</svg>
570`,"email-grey-filled":`<svg width="100%" height="100%" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
571<rect width="40" height="40" rx="12" fill="#99AAB5"></rect>
572<path d="M32.559 26.1538C32.559 26.9087 32.2592 27.6326 31.7254 28.1664C31.1916 28.7001 30.4677 29 29.7128 29H9.78954C9.03469 29 8.31075 28.7001 7.77699 28.1664C7.24323 27.6326 6.94336 26.9087 6.94336 26.1538V13.346C6.94336 12.5911 7.24323 11.8672 7.77699 11.3334C8.31075 10.7997 9.03469 10.4998 9.78954 10.4998H29.7128C30.4677 10.4998 31.1916 10.7997 31.7254 11.3334C32.2592 11.8672 32.559 12.5911 32.559 13.346V26.1538Z" fill="#CCD6DD"></path>
573<path d="M29.7128 10.4996H9.78945C9.25383 10.5008 8.72945 10.6534 8.27684 10.9398C7.82423 11.2263 7.46182 11.6348 7.23145 12.1184L17.7381 22.6258C18.0024 22.8901 18.3162 23.0998 18.6615 23.2428C19.0068 23.3858 19.377 23.4595 19.7507 23.4595C20.1245 23.4595 20.4946 23.3858 20.84 23.2428C21.1853 23.0998 21.4991 22.8901 21.7634 22.6258L32.2708 12.1184C32.0405 11.6348 31.6781 11.2262 31.2254 10.9397C30.7728 10.6533 30.2484 10.5007 29.7128 10.4996Z" fill="#E1E8ED"></path>
574</svg>
575`,"email-verified":`<svg width="100%" height="100%" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
576    <circle opacity="0.2" cx="30" cy="30" r="30" fill="#50A621"></circle>
577    <rect x="18.333" y="23.334" width="23.3333" height="15.8333" fill="white"></rect>
578    <path d="M15.833 37.0833V22.9177C15.8551 22.8623 15.8736 22.8056 15.8883 22.748C16.1805 21.1793 17.6315 20.006 19.326 20.0044C26.4418 19.9985 33.5574 19.9985 40.6728 20.0044C42.2859 20.0044 43.6832 21.071 44.0629 22.5464C44.095 22.6709 44.1337 22.7943 44.1663 22.9183V37.0833C44.1463 37.1208 44.1301 37.16 44.1182 37.2005C43.8553 38.5837 42.8332 39.6482 41.3817 39.9044C40.7021 40.0253 39.9883 39.9951 39.2905 39.9956C32.6639 40.0015 26.0369 40.0015 19.4095 39.9956C17.7804 39.9956 16.4118 39.0259 15.9691 37.5786C15.9188 37.4182 15.8784 37.2505 15.833 37.0833ZM25.4735 29.7573C25.0308 30.1687 24.6125 30.5572 24.2007 30.9504L19.6918 35.1819C19.4195 35.4366 19.2939 35.7251 19.4084 36.0756C19.6132 36.712 20.4045 36.8651 20.9363 36.3688C22.8097 34.6123 24.6809 32.8513 26.5499 31.0859C26.6189 31.0093 26.6814 30.9278 26.7369 30.8421C26.8919 30.9754 26.9942 31.0588 27.0955 31.1447L29.3489 33.0716C29.7772 33.4362 30.2243 33.432 30.6549 33.0664C31.4344 32.4026 32.2136 31.7377 32.9924 31.0718C33.0632 31.0093 33.1418 30.9478 33.2298 30.8718C33.9342 31.5363 34.6232 32.1878 35.3122 32.8378L39.0663 36.3709C39.3209 36.6109 39.6125 36.724 39.9678 36.6344C40.6557 36.4589 40.8532 35.7053 40.3319 35.211C39.0776 34.0223 37.8194 32.8375 36.5573 31.6566C35.8866 31.026 35.2115 30.3968 34.5291 29.7542C34.6182 29.675 34.6907 29.6094 34.7649 29.5459L37.5063 27.2023L40.3109 24.8025C40.581 24.5718 40.6883 24.2879 40.5992 23.9578C40.5651 23.8119 40.4877 23.678 40.3761 23.5719C40.2644 23.4657 40.123 23.3914 39.9684 23.3578C39.6142 23.2693 39.3275 23.3911 39.063 23.6182C36.1197 26.1413 33.1724 28.6626 30.221 31.1822C30.1502 31.2442 30.0738 31.3035 29.9952 31.3681L25.7773 27.7611C24.1541 26.3765 22.5299 24.9898 20.9048 23.601C20.6486 23.3812 20.3625 23.2755 20.0194 23.3661C19.8659 23.4009 19.7258 23.4756 19.6153 23.5817C19.5047 23.6878 19.428 23.821 19.394 23.9661C19.3088 24.2994 19.4217 24.5796 19.6918 24.8093C20.8531 25.8002 22.0134 26.7923 23.1726 27.7856L25.4735 29.7573Z" fill="#50A621"></path>
579</svg>
580`,"equal-almost":`<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill="#000" fill-rule="nonzero" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" width="100%" height="100%" viewBox="0 0 18 18">
581  <path d="M3.001 7.92c-.012-.943.142-1.701.46-2.275.324-.574.744-.992 1.261-1.253A3.656 3.656 0 0 1 6.376 4c.579 0 1.105.131 1.576.392.478.256 1.032.648 1.662 1.176.426.358.762.614 1.006.767.25.148.528.222.835.222.494 0 .884-.176 1.168-.529.284-.352.417-.869.4-1.551h1.841c.023.943-.128 1.702-.452 2.276-.323.574-.747.991-1.269 1.253a3.656 3.656 0 0 1-1.654.392 3.42 3.42 0 0 1-1.585-.367c-.477-.25-1.028-.65-1.653-1.201-.41-.358-.742-.611-.998-.759a1.61 1.61 0 0 0-.843-.23c-.461 0-.841.159-1.142.477-.302.318-.444.852-.427 1.602h-1.84Zm0 5.148c-.012-.943.142-1.702.46-2.275.324-.574.744-.992 1.261-1.253a3.643 3.643 0 0 1 1.654-.392c.579 0 1.105.13 1.576.392.478.255 1.032.648 1.662 1.176.426.358.762.614 1.006.767.25.148.528.222.835.222.494 0 .884-.177 1.168-.529.284-.352.417-.869.4-1.551h1.841c.023.943-.128 1.702-.452 2.276-.323.573-.747.991-1.269 1.252a3.643 3.643 0 0 1-1.654.392 3.431 3.431 0 0 1-1.585-.366c-.477-.25-1.028-.651-1.653-1.202-.41-.358-.742-.611-.998-.758a1.601 1.601 0 0 0-.843-.23c-.461 0-.841.159-1.142.477-.302.318-.444.852-.427 1.602h-1.84Z"></path>
582</svg>
583`,email:`<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
584<g opacity="0.4">
585<path d="M3 3H15C15.825 3 16.5 3.675 16.5 4.5V13.5C16.5 14.325 15.825 15 15 15H3C2.175 15 1.5 14.325 1.5 13.5V4.5C1.5 3.675 2.175 3 3 3Z" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
586<path d="M16.5 4.5L9 9.75L1.5 4.5" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
587</g>
588</svg>
589`,equal:`<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill="none" stroke="#000" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" clip-rule="evenodd" width="100%" height="100%" viewBox="0 0 18 18">
590  <path stroke-width="2" d="M4 6h10M4 12h10"></path>
591</svg>
592`,"enter-small":`<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
593<path d="M14.2438 4.5C14.0449 4.5 13.8541 4.57902 13.7135 4.71967C13.5728 4.86032 13.4938 5.05109 13.4938 5.25V8.25C13.4938 8.44891 13.4148 8.63968 13.2741 8.78033C13.1335 8.92098 12.9427 9 12.7438 9H5.55132L6.52632 8.0325C6.66755 7.89127 6.74689 7.69973 6.74689 7.5C6.74689 7.30027 6.66755 7.10873 6.52632 6.9675C6.38509 6.82627 6.19354 6.74693 5.99382 6.74693C5.79409 6.74693 5.60255 6.82627 5.46132 6.9675L3.21132 9.2175C3.14304 9.28883 3.08951 9.37294 3.05382 9.465C2.97881 9.64759 2.97881 9.8524 3.05382 10.035C3.08951 10.1271 3.14304 10.2112 3.21132 10.2825L5.46132 12.5325C5.53104 12.6028 5.61399 12.6586 5.70539 12.6967C5.79678 12.7347 5.89481 12.7543 5.99382 12.7543C6.09283 12.7543 6.19086 12.7347 6.28225 12.6967C6.37365 12.6586 6.4566 12.6028 6.52632 12.5325C6.59661 12.4628 6.65241 12.3798 6.69049 12.2884C6.72856 12.197 6.74817 12.099 6.74817 12C6.74817 11.901 6.72856 11.803 6.69049 11.7116C6.65241 11.6202 6.59661 11.5372 6.52632 11.4675L5.55132 10.5H12.7438C13.3406 10.5 13.9129 10.2629 14.3348 9.84099C14.7568 9.41903 14.9938 8.84674 14.9938 8.25V5.25C14.9938 5.05109 14.9148 4.86032 14.7741 4.71967C14.6335 4.57902 14.4427 4.5 14.2438 4.5Z" fill="black"></path>
594</svg>
595`,enter:`<svg width="100%" height="100%" viewBox="0 0 13 11" version="1.1" xmlns="http://www.w3.org/2000/svg">
596    <path d="M2.786,7.53L4.529,9.269C4.823,9.561 4.823,10.036 4.531,10.329C4.239,10.622 3.764,10.623 3.471,10.331L0.471,7.341C0.33,7.2 0.25,7.009 0.25,6.811C0.25,6.612 0.328,6.421 0.469,6.28L3.469,3.27C3.761,2.977 4.236,2.976 4.529,3.269C4.823,3.561 4.823,4.036 4.531,4.329L2.836,6.03C4.953,6.03 11.25,6.03 11.25,6.03L11.25,3.7C11.25,3.7 11.25,2.07 11.25,2.07L6.9,2.07C6.486,2.07 6.15,1.734 6.15,1.32C6.15,0.906 6.486,0.57 6.9,0.57L12,0.57C12.414,0.57 12.75,0.906 12.75,1.32L12.75,6.78C12.75,7.194 12.414,7.53 12,7.53L2.786,7.53Z"></path>
597</svg>
598`,empty:`
599<svg width="0" height="0" viewBox="0 0 0 0" fill="none" xmlns="http://www.w3.org/2000/svg">
600  <path></path>
601</svg>
602
603`,"eth-circle":`<svg width="100%" height="100%" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
604    <path fill="#393939" d="M0,14a14,14 0 1,0 28,0a14,14 0 1,0 -28,0"></path>
605    <path fill="#fff" fill-opacity=".85" fill-rule="nonzero" d="m13.997 3.74-.138.467v13.568l.138.138 6.298-3.723-6.298-10.45Z"></path>
606    <path fill="#fff" fill-rule="nonzero" d="M13.997 3.74 7.699 14.19l6.298 3.723V3.74Z"></path>
607    <path fill="#fff" fill-opacity=".85" fill-rule="nonzero" d="m13.997 19.105-.077.095v4.833l.077.226 6.302-8.875-6.302 3.721Z"></path>
608    <path fill="#fff" fill-rule="nonzero" d="M13.997 24.259v-5.154l-6.298-3.721 6.298 8.875Z"></path>
609    <path fill="#898989" fill-rule="nonzero" d="m13.998 17.913 6.298-3.723-6.298-2.863v6.586Z"></path>
610    <path fill="#9c9c9c" fill-rule="nonzero" d="m7.699 14.19 6.298 3.723v-6.586L7.699 14.19Z"></path>
611</svg>
612`,"error-circle":`<svg width="100%" height="100%" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
613<path d="M24 48C37.2548 48 48 37.2548 48 24C48 10.7452 37.2548 0 24 0C10.7452 0 0 10.7452 0 24C0 37.2548 10.7452 48 24 48Z" fill="#C25555"></path>
614<path d="M21.5645 13.0382C21.5645 12.3684 22.1125 11.8203 22.7824 11.8203H25.2182C25.888 11.8203 26.4361 12.3684 26.4361 13.0382V27.0442C26.4361 27.714 25.888 28.2621 25.2182 28.2621H22.7824C22.1125 28.2621 21.5645 27.714 21.5645 27.0442V13.0382Z" fill="white"></path>
615<path d="M24.0003 36.1785C25.3455 36.1785 26.4361 35.088 26.4361 33.7427C26.4361 32.3974 25.3455 31.3069 24.0003 31.3069C22.655 31.3069 21.5645 32.3974 21.5645 33.7427C21.5645 35.088 22.655 36.1785 24.0003 36.1785Z" fill="white"></path>
616</svg>
617`,"eth-disabled":`<svg width="100%" height="100%" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
618
619    <path fill="#e1e1e1" d="M0,14a14,14 0 1,0 28,0a14,14 0 1,0 -28,0"></path>
620    <path fill="#d6d6d6" fill-rule="nonzero" d="m13.997 3.74-.138.467v13.568l.138.138 6.298-3.723-6.298-10.45Z"></path>
621    <path fill="#fff" fill-rule="nonzero" d="M13.997 3.74 7.699 14.19l6.298 3.723V3.74Z"></path>
622    <path fill="#d6d6d6" fill-rule="nonzero" d="m13.997 19.105-.077.095v4.833l.077.226 6.302-8.875-6.302 3.721Z"></path>
623    <path fill="#fff" fill-rule="nonzero" d="M13.997 24.259v-5.154l-6.298-3.721 6.298 8.875Z"></path>
624    <path fill="#d6d6d6" fill-rule="nonzero" d="m13.998 17.913 6.298-3.723-6.298-2.863v6.586Z"></path>
625    <path fill="#f0f0f0" fill-rule="nonzero" d="m7.699 14.19 6.298 3.723v-6.586L7.699 14.19Z"></path>
626</svg>
627`,"eth-menu":`<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
628
629  <path d="M12,0C18.628,0 24,5.372 24,12C24,18.628 18.628,24 12,24C5.372,24 0,18.628 0,12C0,5.372 5.372,0 12,0Z" style="fill:rgb(57,57,57);"></path>
630  <g class="icon-logo">
631      <path d="M11.997,3.205L11.879,3.606L11.879,15.236L11.997,15.353L17.395,12.162L11.997,3.205Z" style="fill:white;fill-opacity:0.85;fill-rule:nonzero;"></path>
632      <path d="M11.998,3.205L6.6,12.162L11.998,15.353L11.998,3.205Z" style="fill:white;fill-rule:nonzero;"></path>
633      <path d="M11.998,16.377L11.932,16.458L11.932,20.601L11.998,20.795L17.4,13.188L11.998,16.377Z" style="fill:white;fill-opacity:0.85;fill-rule:nonzero;"></path>
634      <path d="M11.998,20.795L11.998,16.377L6.6,13.188L11.998,20.795Z" style="fill:white;fill-rule:nonzero;"></path>
635      <path d="M11.998,15.354L17.396,12.163L11.998,9.709L11.998,15.354Z" style="fill:rgb(137,137,137);fill-rule:nonzero;"></path>
636      <path d="M6.6,12.163L11.998,15.354L11.998,9.709L6.6,12.163Z" style="fill:rgb(156,156,156);fill-rule:nonzero;"></path>
637  </g>
638</svg>
639`,"eth-network-disabled":`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
640
641    <path fill="#e1e1e1" d="M1,9a8,8 0 1,0 16,0a8,8 0 1,0 -16,0"></path>
642    <path fill="#fff" fill-opacity=".85" fill-rule="nonzero" d="m8.998 2.4-.088.3v8.73l.088.09 4.049-2.4L8.998 2.4Z"></path>
643    <path fill="#fff" fill-rule="nonzero" d="M8.998 2.4 4.949 9.12l4.049 2.4V2.4Z"></path>
644    <path fill="#fff" fill-opacity=".85" fill-rule="nonzero" d="m8.998 12.28-.049.06v3.11l.049.15 4.052-5.71-4.052 2.39Z"></path>
645    <path fill="#fff" fill-rule="nonzero" d="M8.998 15.6v-3.32L4.949 9.89l4.049 5.71Z"></path>
646    <path fill="#d6d6d6" fill-rule="nonzero" d="m8.999 11.52 4.048-2.4-4.048-1.84v4.24Z"></path>
647    <path fill="#f0f0f0" fill-rule="nonzero" d="m4.949 9.12 4.049 2.4V7.28L4.949 9.12Z"></path>
648    <path fill="#fff" d="M9 16.44A7.441 7.441 0 0 0 16.444 9c0-4.11-3.333-7.44-7.444-7.44A7.441 7.441 0 0 0 1.556 9c0 4.11 3.333 7.44 7.444 7.44ZM9 18A9 9 0 1 0 9 0a9 9 0 0 0 0 18Z"></path>
649</svg>
650
651`,"eth-network-flat":`<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
652<g opacity="0.4">
653<path d="M8.99691 1L8.88965 1.36455V11.543L8.99691 11.6501L13.9076 8.74755L8.99691 1Z" fill="black"></path>
654<path d="M8.99758 1L4.08691 8.74755L8.99758 11.6501V6.91565V1Z" fill="black"></path>
655<path d="M8.99697 12.9811L8.93652 13.0548V16.8231L8.99697 16.9997L13.9105 10.0801L8.99697 12.9811Z" fill="black"></path>
656<path d="M8.99758 16.9997V12.9811L4.08691 10.0801L8.99758 16.9997Z" fill="black"></path>
657</g>
658</svg>
659`,"eth-network":`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
660
661    <path fill="#393939" d="M1,9a8,8 0 1,0 16,0a8,8 0 1,0 -16,0"></path>
662    <path fill="#fff" fill-opacity=".85" fill-rule="nonzero" d="m8.998 2.4-.088.3v8.73l.088.09 4.049-2.4L8.998 2.4Z"></path>
663    <path fill="#fff" fill-rule="nonzero" d="M8.998 2.4 4.949 9.12l4.049 2.4V2.4Z"></path>
664    <path fill="#fff" fill-opacity=".85" fill-rule="nonzero" d="m8.998 12.28-.049.06v3.11l.049.15 4.052-5.71-4.052 2.39Z"></path>
665    <path fill="#fff" fill-rule="nonzero" d="M8.998 15.6v-3.32L4.949 9.89l4.049 5.71Z"></path>
666    <path fill="#898989" fill-rule="nonzero" d="m8.999 11.52 4.048-2.4-4.048-1.84v4.24Z"></path>
667    <path fill="#9c9c9c" fill-rule="nonzero" d="m4.949 9.12 4.049 2.4V7.28L4.949 9.12Z"></path>
668    <path fill="#fff" d="M9 16.44A7.441 7.441 0 0 0 16.444 9c0-4.11-3.333-7.44-7.444-7.44A7.441 7.441 0 0 0 1.556 9c0 4.11 3.333 7.44 7.444 7.44ZM9 18A9 9 0 1 0 9 0a9 9 0 0 0 0 18Z"></path>
669</svg>
670`,"eth_eth-circle-stroke-disabled":`<svg width="100%" height="100%" viewB
670ox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
671    <circle cx="9" cy="9" r="9" style="fill:rgb(225,225,225);"></circle>
672    <path d="M8.998,2.404L8.91,2.704L8.91,11.427L8.998,11.515L13.047,9.122L8.998,2.404Z" style="fill:rgb(214,214,214);fill-rule:nonzero;"></path>
673    <path d="M8.998,2.404L4.95,9.122L8.998,11.515L8.998,2.404Z" style="fill:white;fill-rule:nonzero;"></path>
674    <path d="M8.998,12.281L8.949,12.342L8.949,15.449L8.998,15.595L13.05,9.889L8.998,12.281Z" style="fill:rgb(214,214,214);fill-rule:nonzero;"></path>
675    <path d="M8.998,15.595L8.998,12.281L4.95,9.889L8.998,15.595Z" style="fill:white;fill-rule:nonzero;"></path>
676    <path d="M8.999,11.515L13.048,9.122L8.999,7.282L8.999,11.515Z" style="fill:rgb(214,214,214);fill-rule:nonzero;"></path>
677    <path d="M4.95,9.122L8.998,11.515L8.998,7.282L4.95,9.122Z" style="fill:rgb(240,240,240);fill-rule:nonzero;"></path>
678    <path d="M9,16.444C13.112,16.444 16.444,13.112 16.444,9C16.444,4.889 13.112,1.556 9,1.556C4.889,1.556 1.556,4.889 1.556,9C1.556,13.112 4.889,16.444 9,16.444ZM9,18C13.971,18 18,13.971 18,9C18,4.029 13.971,0 9,0C4.029,0 0,4.029 0,9C0,13.971 4.029,18 9,18Z" style="fill:white;"></path>
679</svg>
680`,"ethereum-disabled":`<svg width="100%" height="100%" viewBox="0 0 41 40" fill="none" xmlns="http://www.w3.org/2000/svg">
681  <circle cx="20.7275" cy="20" r="20" fill="#E1E1E1"></circle>
682  <path d="M20.7229 5.3418L20.5264 6.00977V25.3927L20.7229 25.5889L29.7202 20.2706L20.7229 5.3418Z" fill="#D6D6D6"></path>
683  <path d="M20.7239 5.3418L11.7266 20.2706L20.7239 25.589V16.1811V5.3418Z" fill="white"></path>
684  <path d="M20.724 27.2922L20.6133 27.4272V34.3318L20.724 34.6553L29.7267 21.9766L20.724 27.2922Z" fill="#D6D6D6"></path>
685  <path d="M20.7239 34.6553V27.2922L11.7266 21.9766L20.7239 34.6553Z" fill="white"></path>
686  <path d="M20.7256 25.5894L29.7228 20.2712L20.7256 16.1816V25.5894Z" fill="#D6D6D6"></path>
687  <path d="M11.7266 20.2712L20.7238 25.5894V16.1816L11.7266 20.2712Z" fill="#F0F0F0"></path>
688  </svg>
689`,"eth_eth-circle-stroke":`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd">
690    <circle cx="9" cy="9" r="8" fill="rgb(57,57,57)"></circle>
691    <path d="M8.998,2.404L8.91,2.705L8.91,11.427L8.998,11.515L13.047,9.122L8.998,2.404Z" fill="rgb(255,255,255)" fill-opacity="0.85"></path>
692    <path d="M8.998,2.404L4.949,9.122L8.998,11.516L8.998,2.404Z" fill="rgb(255,255,255)"></path>
693    <path d="M8.998,12.282L8.949,12.343L8.949,15.45L8.998,15.595L13.05,9.89L8.998,12.282Z" fill="rgb(255,255,255)" fill-opacity="0.85"></path>
694    <path d="M8.998,15.595L8.998,12.282L4.949,9.89L8.998,15.595Z" fill="rgb(255,255,255)"></path>
695    <path d="M8.999,11.515L13.048,9.122L8.999,7.282L8.999,11.515Z" fill="rgb(137,137,137)"></path>
696    <path d="M4.949,9.122L8.998,11.515L8.998,7.282L4.949,9.122Z" fill="rgb(156,156,156)"></path>
697    <path d="M9,16.444C13.112,16.444 16.444,13.112 16.444,9C16.444,4.889 13.112,1.556 9,1.556C4.889,1.556 1.556,4.889 1.556,9C1.556,13.112 4.889,16.444 9,16.444ZM9,18C13.971,18 18,13.971 18,9C18,4.029 13.971,0 9,0C4.029,0 0,4.029 0,9C0,13.971 4.029,18 9,18Z" fill="rgb(255,255,255)"></path>
698</svg>
699`,"ethereum-circle":`<svg width="100%" height="100%" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
700<circle cx="16" cy="16" r="16" fill="#393939"></circle>
701<path opacity="0.85" d="M15.9966 4.27393L15.8394 4.8083V20.3147L15.9966 20.4716L23.1945 16.217L15.9966 4.27393Z" fill="white"></path>
702<path d="M15.9972 4.27441L8.79932 16.2174L15.9972 20.4721V12.9458V4.27441Z" fill="white"></path>
703<path opacity="0.85" d="M15.9973 21.8345L15.9087 21.9425V27.4662L15.9973 27.7251L23.1994 17.582L15.9973 21.8345Z" fill="white"></path>
704<path d="M15.9972 27.7251V21.8345L8.79932 17.582L15.9972 27.7251Z" fill="white"></path>
705<path d="M15.9976 20.4715L23.1953 16.2169L15.9976 12.9453V20.4715Z" fill="#898989"></path>
706<path d="M8.79932 16.2169L15.9971 20.4715V12.9453L8.79932 16.2169Z" fill="#9C9C9C"></path>
707</svg>
708`,exchange:`
709<svg width="100%" height="100%" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
710    <path d="M1.33744 6.72964V4.1778H13.4193L11.7395 5.86549C11.4782 6.12796 11.4782 6.55347 11.7395 6.81564C11.87 6.94672 12.0412 7.01242 12.2124 7.01242C12.3835 7.01242 12.5544 6.94672 12.6852 6.81564L15.5069 3.98102C15.5111 3.97684 15.5138 3.97176 15.5179 3.96788C15.5438 3.94041 15.5685 3.91145 15.5896 3.87979C15.5967 3.86905 15.6014 3.8568 15.6083 3.84546C15.6237 3.81918 15.6392 3.7929 15.6514 3.76454C15.6573 3.7505 15.6597 3.73557 15.6647 3.72154C15.674 3.69436 15.6838 3.66749 15.6897 3.63912C15.6983 3.59583 15.7031 3.55133 15.7031 3.50625C15.7031 3.46116 15.6983 3.41667 15.6897 3.37337C15.6838 3.3444 15.6737 3.31753 15.6645 3.29036C15.6597 3.27632 15.6573 3.26169 15.6514 3.24796C15.6392 3.2181 15.6225 3.19062 15.6065 3.16315C15.6006 3.153 15.5967 3.14225 15.5899 3.1324C15.5655 3.09567 15.5375 3.06163 15.5069 3.03087L12.6861 0.196853C12.4249 -0.0656175 12.0016 -0.0656175 11.7404 0.196853C11.4791 0.459024 11.4791 0.88453 11.7404 1.147L13.4199 2.83439H0.668722C0.299588 2.83439 0 3.13508 0 3.50625V6.72994C0 7.1011 0.299588 7.40179 0.668722 7.40179C1.03786 7.40179 1.33744 7.1008 1.33744 6.72964ZM15.3313 8.59828C14.9621 8.59828 14.6626 8.89898 14.6626 9.27014V11.822H2.58067L4.2605 10.1343C4.52175 9.87182 4.52175 9.44631 4.2605 9.18414C3.99926 8.92167 3.57603 8.92197 3.31478 9.18414L0.493071 12.0188C0.48891 12.0226 0.486533 12.0277 0.482669 12.0316C0.456515 12.0591 0.431549 12.088 0.410447 12.12C0.403611 12.1304 0.399153 12.1421 0.392614 12.1528C0.376565 12.1797 0.360813 12.2063 0.348924 12.2352C0.34298 12.249 0.340602 12.2636 0.335847 12.2773C0.326633 12.3048 0.316529 12.332 0.310584 12.3607C0.301965 12.4042 0.29721 12.4484 0.29721 12.4935C0.29721 12.5386 0.301965 12.5828 0.310584 12.6264C0.316529 12.6554 0.326633 12.6828 0.335847 12.7103C0.340602 12.7241 0.343277 12.7384 0.348924 12.7518C0.361407 12.7823 0.378051 12.81 0.394397 12.8381C0.400342 12.8477 0.404206 12.8581 0.410447 12.8674C0.434818 12.9041 0.462459 12.9381 0.493368 12.9692L3.31419 15.8032C3.44466 15.9343 3.61586 16 3.78705 16C3.95824 16 4.12914 15.9343 4.25991 15.8032C4.52116 15.5411 4.52116 15.1155 4.25991 14.8531L2.58038 13.1657H15.3313C15.7004 13.1657 16 12.865 16 12.4938V9.27014C16 8.89898 15.7004 8.59828 15.3313 8.59828Z" fill="black"></path>
711</svg>
712`,"external-link":`<svg width="100%" height="100%" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg">
713
714    <path d="M8.25,4.207L2.854,9.604C2.658,9.799 2.342,9.799 2.146,9.604C1.951,9.408 1.951,9.092 2.146,8.896L7.543,3.5L4.25,3.5C3.974,3.5 3.75,3.276 3.75,3C3.75,2.724 3.974,2.5 4.25,2.5L8.75,2.5C8.883,2.5 9.01,2.552 9.104,2.646C9.198,2.74 9.25,2.867 9.25,3L9.25,7.5C9.25,7.776 9.026,8 8.75,8C8.474,8 8.25,7.776 8.25,7.5L8.25,4.207Z"></path>
715</svg>
716`,"fdusd-circle":`<svg width="100%" height="100%" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
717
718    <path fill="#0b0e11" d="M28 14c0 7.727-6.273 14-14 14S0 21.727 0 14 6.273 0 14 0s14 6.273 14 14Z"></path>
719    <path fill="#fff" fill-rule="nonzero" d="M20.094 6.222v3.585h-5.129v2.198h5.129v3.585h-8.742l-.001-9.368h8.743Z"></path>
720    <path fill="#00e98d" fill-rule="nonzero" d="M6.222 17.782h8.743v3.99H6.222z"></path>
721</svg>
722`,"eye-view-white":`
723<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
724  <path d="M0.75 9C0.75 9 3.75 3 9 3C14.25 3 17.25 9 17.25 9C17.25 9 14.25 15 9 15C3.75 15 0.75 9 0.75 9Z" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
725  <path d="M9 11.25C10.2426 11.25 11.25 10.2426 11.25 9C11.25 7.75736 10.2426 6.75 9 6.75C7.75736 6.75 6.75 7.75736 6.75 9C6.75 10.2426 7.75736 11.25 9 11.25Z" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
726  <path d="M9 10C9.55228 10 10 9.55228 10 9C10 8.44772 9.55228 8 9 8C8.44772 8 8 8.44772 8 9C8 9.55228 8.44772 10 9 10Z" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
727  <path d="M8.5 8C8.22386 8 8 8.22386 8 8.5C8 8.77614 8.22386 9 8.5 9C8.77614 9 9 8.77614 9 8.5C9 8.22386 8.77614 8 8.5 8Z" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
728</svg>
729`,"fdusd-disabled":`<svg width="100%" height="100%" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
730
731    <path fill="#e1e1e1" d="M28 14c0 7.727-6.273 14-14 14S0 21.727 0 14 6.273 0 14 0s14 6.273 14 14Z"></path>
732    <path fill="#fff" fill-rule="nonzero" d="M20.094 6.222v3.585h-5.129v2.198h5.129v3.585h-8.743V6.222h8.743ZM6.222 17.782h8.743v3.99H6.222z"></path>
733</svg>
734`,"eye-view":`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
735    <path d="M0.079,8.665C0.079,8.665 1.221,6.375 3.337,4.545C4.794,3.285 6.703,2.25 9,2.25C11.297,2.25 13.206,3.285 14.663,4.545C16.779,6.375 17.921,8.665 17.921,8.665C18.026,8.876 18.026,9.124 17.921,9.335C17.921,9.335 16.779,11.625 14.663,13.455C13.206,14.715 11.297,15.75 9,15.75C6.703,15.75 4.794,14.715 3.337,13.455C1.221,11.625 0.079,9.335 0.079,9.335C-0.026,9.124 -0.026,8.876 0.079,8.665ZM1.605,9C1.977,9.644 2.904,11.097 4.319,12.321C5.526,13.365 7.097,14.25 9,14.25C10.903,14.25 12.474,13.365 13.681,12.321C15.096,11.097 16.023,9.644 16.395,9C16.023,8.356 15.096,6.903 13.681,5.679C12.474,4.635 10.903,3.75 9,3.75C7.097,3.75 5.526,4.635 4.319,5.679C2.904,6.903 1.977,8.356 1.605,9Z"></path>
736    <path d="M9,12C7.343,12 6,10.657 6,9C6,7.343 7.343,6 9,6C10.657,6 12,7.343 12,9C12,10.657 10.657,12 9,12Z"></path>
737</svg>
738`,fire:`<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
739<g opacity="1">
740<path d="M14.2474 9.06856C14.1379 9.57718 13.8759 10.0278 13.5126 10.3736C13.0686 7.75984 11.3779 7.7919 11.3779 5.38334C11.3779 4.83608 11.4392 4.30786 11.5453 3.80078C9.17565 4.35406 7.38309 6.92264 7.38309 10.0124C7.38309 10.2901 7.39821 10.5635 7.42649 10.8317C7.01489 10.2735 6.77101 9.5839 6.77101 8.83686C6.77101 8.39376 6.85893 7.97152 7.01433 7.58414C5.88453 8.47076 5.15625 9.84584 5.15625 11.3935C5.15625 13.8665 7.00929 15.9049 9.40203 16.1999C8.89411 15.8003 8.55265 15.0692 8.55265 14.2313C8.55265 12.9656 9.51081 11.5734 10.001 9.8856C10.4917 11.56 12.0202 12.9656 12.0202 14.2313C12.0202 14.9729 11.7522 15.6305 11.3385 16.0494C13.363 15.4687 14.8448 13.605 14.8448 11.3934C14.8447 10.5499 14.6277 9.75834 14.2474 9.06856Z" fill="black"></path>
741</g>
742</svg>
743`,"feral-logo":`<svg width="100%" height="100%" viewBox="0 0 79 14" xmlns="http://www.w3.org/2000/svg">
744
745    <path d="M0.472656 0.535156H13.2748V3.77422H4.54747V5.75056H12.8721V8.88168H4.54747V13.5402H0.472656V0.535156Z"></path>
746    <path d="M28.1285 0.535156V3.74352H19.1237V5.50493H27.6402V8.48447H19.1237V10.3322H28.2381V13.5405H15.0664V0.535485L28.1285 0.535156Z"></path>
747    <path d="M40.334 0.535156C43.5751 0.535156 45.3947 1.73066 45.3947 4.5835V4.89991C45.3947 6.3029 44.7474 7.39207 43.0617 7.94021V7.97738C44.0793 8.29347 44.66 8.73204 44.9827 9.52969C45.3322 10.3958 45.3986 12.0215 45.9654 13.5402H41.651C41.4008 12.6175 41.3935 11.3134 40.8886 10.541C40.5061 9.94597 39.9987 9.65735 39.0342 9.65735H34.195V13.5405H30.1289V0.535485H40.3338L40.334 0.535156ZM41.2812 4.92417C41.2812 3.99401 40.8411 3.73707 39.4566 3.73707H34.1868V6.62063H39.4358C40.8239 6.62063 41.2812 6.31973 41.2812 5.3621L41.2812 4.92417Z"></path>
748    <path d="M59.5784 11.3851H51.9732L50.9191 13.5402H46.5488L53.3874 0.535156H58.1844L65.0025 13.5402H60.6348L59.5784 11.3851ZM55.9272 3.91416L55.858 3.66821H55.7007L55.6341 3.91416L53.4232 8.31932H58.1305L55.9272 3.91416Z"></path>
749    <path d="M70.2428 0.535156V10.3011H78.252V13.5402H66.168V0.535156H70.2428Z"></path>
750</svg>
751`,"flag-tor":`<svg width="100%" height="100%" viewBox="0 0 32 24" xmlns="http://www.w3.org/2000/svg">
752
753    <path d="M32,1.5L32,22.5C32,23.328 31.328,24 30.5,24L1.5,24C0.672,24 0,23.328 0,22.5L0,1.5C0,0.672 0.672,0 1.5,0L30.5,0C31.328,0 32,0.672 32,1.5Z" style="fill:rgb(125,70,152);"></path>
754    <path d="M0.025,1.525C0.025,0.696 0.697,0.025 1.525,0.025L30.47,0.025C31.299,0.025 31.97,0.696 31.97,1.525L31.97,22.47C31.97,23.298 31.299,23.97 30.47,23.97L1.525,23.97C0.697,23.97 0.025,23.298 0.025,22.47L0.025,1.525Z" style="fill:rgb(125,70,152);"></path>
755    <path d="M0,1.5C0,0.672 0.672,0 1.5,0L16,0L16,24L1.5,24C0.672,24 0,23.328 0,22.5L0,1.5Z" style="fill:rgb(113,63,137);"></path>
756    <path d="M16.017,18.627L16.017,17.645C19.127,17.636 21.646,15.112 21.646,12C21.646,8.887 19.127,6.364 16.017,6.355L16.017,5.373C19.67,5.382 22.627,8.345 22.627,12C22.627,15.655 19.67,18.618 16.017,18.627ZM16.017,15.19C17.771,15.181 19.191,13.757 19.191,12C19.191,10.243 17.771,8.819 16.017,8.81L16.017,7.828C18.314,7.837 20.173,9.701 20.173,12C20.173,14.299 18.314,16.163 16.017,16.172L16.017,15.19ZM16.017,10.282C16.958,10.291 17.719,11.056 17.719,12C17.719,12.943 16.958,13.708 16.017,13.717L16.017,10.282ZM7.9,12C7.9,16.473 11.527,20.1 16,20.1C20.474,20.1 24.1,16.473 24.1,12C24.1,7.526 20.474,3.9 16,3.9C11.527,3.9 7.9,7.526 7.9,12Z" style="fill:white;"></path>
757</svg>
758`,"globe-world":`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
759
760    <path d="M0.75,9C0.75,4.444 4.444,0.75 9,0.75C13.556,0.75 17.25,4.444 17.25,9C17.25,13.556 13.556,17.25 9,17.25C4.444,17.25 0.75,13.556 0.75,9ZM7.294,2.467C4.627,3.162 2.601,5.447 2.291,8.25L5.288,8.25C5.456,6.178 6.149,4.188 7.294,2.467ZM15.709,8.25C15.399,5.447 13.373,3.162 10.706,2.467C11.851,4.188 12.544,6.178 12.712,8.25L15.709,8.25ZM10.706,15.533C13.373,14.838 15.399,12.553 15.709,9.75L12.712,9.75C12.544,11.822 11.851,13.812 10.706,15.533ZM2.291,9.75C2.601,12.553 4.627,14.838 7.294,15.533C6.149,13.812 5.456,11.822 5.288,9.75L2.291,9.75ZM11.207,8.25C11.018,6.215 10.252,4.276 9,2.663C7.749,4.274 6.984,6.21 6.794,8.25L11.207,8.25ZM6.793,9.75C6.982,11.785 7.748,13.724 9,15.337C10.251,13.726 11.016,11.79 11.206,9.75L6.793,9.75Z"></path>
761</svg>
762`,goal:`<svg width="100%" height="100%" viewBox="0 0 60 60" version="1.1" xmlns="http://www.w3.org/2000/svg">
763    <path d="M30,10C41.038,10 50,18.962 50,30C50,41.038 41.038,50 30,50C18.962,50 10,41.038 10,30C10,18.962 18.962,10 30,10ZM30,15C21.721,15 15,21.721 15,30C15,38.279 21.721,45 30,45C38.279,45 45,38.279 45,30C45,21.721 38.279,15 30,15Z" style="fill-opacity:0.1;fill-rule:nonzero;"></path>
764    <path d="M30,20C35.519,20 40,24.481 40,30C40,35.519 35.519,40 30,40C24.481,40 20,35.519 20,30C20,24.481 24.481,20 30,20ZM30,25C27.24,25 25,27.24 25,30C25,32.76 27.24,35 30,35C32.76,35 35,32.76 35,30C35,27.24 32.76,25 30,25Z" style="fill-opacity:0.25;fill-rule:nonzero;"></path>
765</svg>
766`,"grey-mail":`<svg width="100%" height="100%" viewBox="0 0 18 14" fill="none" xmlns="http://www.w3.org/2000/svg">
767    <path opacity="0.4" fill-rule="evenodd" clip-rule="evenodd" d="M1.55375 13.3499H16.4248C16.6304 13.3664 16.8371 13.339 17.0313 13.2697C17.2255 13.2004 17.4028 13.0907 17.5515 12.9478C17.7001 12.8049 17.8168 12.6321 17.8938 12.4408C17.9707 12.2495 18.0062 12.044 17.998 11.838V2.16512C18.0089 1.96029 17.9759 1.75549 17.9012 1.56445C17.8265 1.3734 17.7119 1.20051 17.565 1.05736C17.4181 0.914203 17.2423 0.804087 17.0494 0.73438C16.8565 0.664674 16.6509 0.636987 16.4464 0.653173H1.57534C1.36791 0.636412 1.15925 0.664261 0.963461 0.734848C0.767671 0.805435 0.589287 0.917124 0.440256 1.0624C0.291225 1.20768 0.175014 1.38319 0.0994514 1.57712C0.0238888 1.77105 -0.00927498 1.97891 0.00222592 2.18672V11.8452C-0.00010859 11.966 0.0107743 12.0867 0.0346001 12.2052C0.111536 12.5448 0.306365 12.8462 0.584515 13.0558C0.86263 13.2654 1.20604 13.3696 1.55375 13.3499ZM15.8724 3.69786C15.8517 3.71806 15.8306 3.73828 15.8095 3.75936L12.6525 6.84805C12.5915 6.90168 12.5278 6.95215 12.4617 6.99925L12.6309 7.17204C13.6988 8.2088 14.768 9.24316 15.8383 10.2751C15.9397 10.3515 16.0191 10.4534 16.0684 10.5703C16.1177 10.6873 16.1352 10.8152 16.1191 10.9411C16.1014 11.0698 16.0473 11.1907 15.9631 11.2895C15.8789 11.3884 15.7681 11.4611 15.644 11.4991C15.5177 11.5455 15.381 11.5556 15.2492 11.5282C15.1175 11.5008 14.9961 11.4371 14.8988 11.3443C14.7236 11.1853 14.5525 11.0182 14.3824 10.8522C14.3252 10.7964 14.2682 10.7407 14.2112 10.6855C13.3424 9.84554 12.4773 9.00557 11.6157 8.1656C11.5764 8.11872 11.5436 8.06663 11.5185 8.01081C11.1926 8.32112 10.8912 8.59553 10.6006 8.86005C10.4901 8.96071 10.3811 9.05994 10.2729 9.15917C10.1105 9.33498 9.91339 9.47527 9.69408 9.57123C9.47478 9.66718 9.23796 9.71671 8.9986 9.71671C8.75921 9.71671 8.5224 9.66718 8.30309 9.57123C8.08379 9.47527 7.88669 9.33498 7.72424 9.15917C7.33544 8.79918 6.93946 8.4212 6.53989 8.01801L6.39587 8.15121L3.15601 11.2831C3.05954 11.3924 2.93221 11.4698 2.7908 11.5052C2.64939 11.5405 2.50056 11.5321 2.36403 11.4811C2.23646 11.4433 2.12279 11.3689 2.03706 11.2672C1.9513 11.1655 1.8973 11.0408 1.88164 10.9087C1.86698 10.7882 1.88309 10.6659 1.9284 10.5532C1.97372 10.4405 2.04681 10.3412 2.14084 10.2643L5.34832 7.16124L5.51033 6.99925L5.35914 6.85165L2.14805 3.72337C2.04345 3.63858 1.96476 3.52618 1.92085 3.39891C1.87694 3.27165 1.86959 3.13462 1.89963 3.00339C1.92806 2.884 1.98653 2.77386 2.0695 2.68342C2.15245 2.59298 2.25716 2.52525 2.37364 2.48666C2.49016 2.44806 2.61458 2.43989 2.73511 2.46291C2.85568 2.48594 2.96832 2.5394 3.06239 2.61821C3.12408 2.66899 3.18296 2.72307 3.23878 2.7802L8.49102 7.87402C8.54808 7.95571 8.62402 8.02242 8.71239 8.06848C8.80076 8.11454 8.89894 8.13859 8.9986 8.13859C9.09823 8.13859 9.19642 8.11454 9.28479 8.06848C9.37316 8.02242 9.4491 7.95571 9.50616 7.87402L14.8232 2.719C14.9111 2.61853 15.0239 2.54299 15.1503 2.50002C15.2767 2.45704 15.4122 2.44814 15.5432 2.47421C15.6669 2.49508 15.7827 2.54909 15.8782 2.63049C15.9738 2.7119 16.
7670455 2.81766 16.0857 2.93654C16.126 3.05542 16.1332 3.18299 16.1068 3.30568C16.0803 3.42837 16.0212 3.54161 15.9355 3.63337C15.9153 3.65549 15.894 3.67666 15.8724 3.69786Z" fill="black"></path>
768    </svg>
769`,"green-check-circle":`
770    <svg width="100%" height="100%" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
771      <rect width="16" height="16" rx="8" fill="#50A621"></rect>
772      <path d="M12 5L6.5 11L4 8.27273" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
773    </svg>
774`,fx:`<svg width="100%" height="100%" viewBox="0 0 35 36" fill="none" xmlns="http://www.w3.org/2000/svg">
775<path opacity="0.1" d="M30.6239 30.6232C29.164 30.6232 28.749 29.3775 28.749 29.3775L26.1053 24.1081L28.7302 20.9178C29.3965 21.522 30.2752 21.9032 31.2501 21.9032C33.3201 21.9032 35 20.2277 35 18.166C35 16.1031 33.3201 14.4288 31.2501 14.4288C30.0877 14.4288 29.0627 14.967 28.3765 15.7929L24.4441 20.792L21.2492 14.4276H9.8309L10.5909 11.1002C10.6171 10.9433 11.1059 8.27494 13.307 6.75267C13.9932 7.62841 15.0482 8.19895 16.2494 8.19895C18.3218 8.19895 19.9993 6.52719 19.9993 4.46178C19.9993 2.39886 18.3218 0.724609 16.2494 0.724609C8.70094 0.724609 6.25728 6.88222 5.67105 10.2058L4.72858 14.4276H0V18.1647H3.89361L0 35.6049H4.99982L8.97968 18.1647H17.4994L21.0105 25.157L17.6956 29.3725C17.0094 28.6164 16.0257 28.1305 14.922 28.1305C12.852 28.1305 11.1721 29.8048 11.1721 31.8677C11.1721 33.9294 12.852 35.6049 14.922 35.6049C15.9994 35.6049 16.9494 35.1352 17.6306 34.4127L22.6117 28.3548L23.7492 30.622C24.9991 33.1134 26.2491 35.6049 29.9989 35.6049C32.4988 35.6049 34.9987 33.7325 34.9987 28.1305H32.4988C32.4988 29.9966 31.7176 30.6232 30.6239 30.6232Z" fill="#231F20"></path>
776</svg>
777`,history:`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
778    <path d="M9,14.25C6.075,14.25 3.75,11.925 3.75,9C3.75,6.075 6.075,3.75 9,3.75C10.5,3.75 11.925,4.425 12.9,5.475L11.55,5.7C11.175,5.775 10.875,6.15 10.95,6.6C11.025,6.975 11.325,7.2 11.7,7.2L11.85,7.2L15,6.6C15.375,6.525 15.675,6.15 15.6,5.7L15,2.625C14.925,2.25 14.55,1.95 14.1,2.025C13.725,2.1 13.425,2.475 13.5,2.925L13.725,4.2C12.45,3 10.8,2.25 9,2.25C6.525,2.25 4.35,3.6 3.15,5.625C2.55,6.675 2.25,7.8 2.25,9C2.25,10.2 2.55,11.325 3.15,12.375C3.75,13.425 4.575,14.25 5.625,14.85C6.675,15.45 7.8,15.75 9,15.75C9.3,15.75 9.6,15.525 9.675,15.3C9.75,15.225 9.75,15.075 9.75,15C9.75,14.925 9.75,14.775 9.675,14.7C9.6,14.475 9.3,14.25 9,14.25Z"></path>
779    <path d="M15,9.75C15.414,9.75 15.75,9.414 15.75,9C15.75,8.586 15.414,8.25 15,8.25C14.586,8.25 14.25,8.586 14.25,9C14.25,9.414 14.586,9.75 15,9.75Z"></path>
780    <path d="M14.834,12.394C15.041,12.035 14.918,11.576 14.56,11.369C14.201,11.162 13.742,11.285 13.535,11.644C13.328,12.002 13.451,12.461 13.81,12.668C14.168,12.875 14.627,12.752 14.834,12.394Z"></path>
781    <path d="M12.364,14.826C12.723,14.619 12.846,14.161 12.639,13.802C12.432,13.443 11.973,13.32 11.614,13.527C11.256,13.735 11.133,14.193 11.34,14.552C11.547,14.911 12.006,15.034 12.364,14.826Z"></path>
782    <path d="M9.75,8.7L9.75,6.75C9.75,6.3 9.45,6 9,6C8.55,6 8.25,6.3 8.25,6.75L8.25,9C8.25,9.225 8.325,9.375 8.475,9.525L9.975,11.025C10.125,11.175 10.35,11.25 10.5,11.25C10.65,11.25 10.875,11.175 11.025,11.025C11.325,10.725 11.325,10.275 11.025,9.975L9.75,8.7Z"></path>
783</svg>
784`,"info-circle-big":`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
785
786    <path d="M9 16.75a7.75 7.75 0 1 1 0-15.5 7.75 7.75 0 0 1 0 15.5Zm0-1.5a6.25 6.25 0 1 0 0-12.5 6.25 6.25 0 0 0 0 12.5Z"></path>
787    <path d="M9.75 11.809a.75.75 0 0 1-1.5 0v-2.8a.75.75 0 0 1 1.5 0v2.8Z"></path>
788    <path d="M8.25,6.2a0.75,0.75 0 1,0 1.5,0a0.75,0.75 0 1,0 -1.5,0"></path>
789</svg>
790`,"info-circle-medium":`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
791
792    <path d="M9 15.583A6.583 6.583 0 1 1 9 2.417a6.583 6.583 0 1 1 0 13.166Zm0-1.5A5.083 5.083 0 1 0 9 3.916a5.083 5.083 0 0 0 0 10.167Z"></path>
793    <path d="M9.75 11.341a.75.75 0 0 1-1.5 0V9.008a.75.75 0 0 1 1.5 0v2.333Z"></path>
794    <path d="M8.25,6.667a0.75,0.75 0 1,0 1.5,0a0.75,0.75 0 1,0 -1.5,0"></path>
795</svg>
796
797`,"info-question-circle-filled":`<svg width="100%" height="100%" viewB
797ox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
798<path d="M10 0C4.47721 0 0 4.4772 0 10C0 15.523 4.47721 20 10 20C15.523 20 20 15.523 20 10C20 4.4772 15.523 0 10 0Z" fill="#B3B3B3"></path>
799<path d="M9.99908 4.00046C11.4631 3.98168 12.8253 4.85556 13.5303 6.12546C14.1093 7.04487 14.1983 8.24522 13.6553 9.21922C13.3363 9.85322 12.8831 10.376 12.2491 10.688C11.6871 10.958 11.1711 11.3765 10.9991 12.0005V13.0005H8.99908C8.99607 12.5785 8.99108 12.1392 9.03028 11.7192C9.26928 11.0002 9.76578 10.3887 10.3428 9.90671C10.9068 9.49271 11.6113 9.18447 11.9053 8.50047C12.2623 7.49107 11.52 6.30037 10.499 6.06296C9.30503 5.71147 7.94643 6.75277 7.99903 8.00047H5.99902C6.10062 7.20357 6.11497 7.16956 6.15527 6.87547C6.56848 5.17536 8.27208 3.97306 9.99908 4.00046ZM9.99908 14.0005C10.5511 14.0005 10.9991 14.4485 10.9991 15.0005C10.9991 15.5525 10.5511 16.0005 9.99908 16.0005C9.44708 16.0005 8.99908 15.5525 8.99908 15.0005C8.99908 14.4485 9.44708 14.0005 9.99908 14.0005Z" fill="white"></path>
800</svg>
801`,"info-question-circle":`<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
802<path d="M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
803<path d="M6.8175 6.74999C6.99383 6.24874 7.34187 5.82607 7.79997 5.55684C8.25807 5.28761 8.79668 5.1892 9.32039 5.27903C9.8441 5.36886 10.3191 5.64114 10.6613 6.04764C11.0035 6.45414 11.1908 6.96863 11.19 7.49999C11.19 8.99999 8.94001 9.74999 8.94001 9.74999V11" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
804<path d="M8.93994 12.99V13" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
805</svg>
806`,hammer:`<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
807<g opacity="0.4">
808<path d="M9.70998 7.1744L10.9146 8.5469L10.6654 8.76567C10.5961 8.82451 10.5546 8.91105 10.5477 9.00105C10.5442 9.09451 10.5719 9.18451 10.6342 9.25374L11.6069 10.3614C11.6657 10.4307 11.7523 10.4722 11.8457 10.4791H11.8665C11.9496 10.4791 12.0327 10.448 12.095 10.3926L15.6188 7.30144C15.6881 7.23913 15.7296 7.15605 15.7365 7.06259C15.74 6.97259 15.7088 6.88259 15.65 6.81336L14.6773 5.70567C14.6171 5.63639 14.5319 5.59383 14.4404 5.58734C14.3489 5.58085 14.2585 5.61096 14.1892 5.67105L13.9389 5.89086L11.0738 2.62594L11.3231 2.40682C11.4684 2.28221 11.4823 2.06413 11.3542 1.91874L10.3815 0.811052C10.3217 0.742241 10.2371 0.699923 10.1461 0.693359C10.1003 0.689872 10.0543 0.695747 10.0109 0.710625C9.96744 0.725503 9.92748 0.749073 9.89344 0.779898L6.36959 3.87105C6.30382 3.93336 6.25882 4.01644 6.25536 4.1099C6.24844 4.1999 6.27959 4.2899 6.33844 4.35913L7.31113 5.46682C7.38036 5.54644 7.47728 5.58451 7.57421 5.58451C7.65382 5.58451 7.73344 5.55682 7.79921 5.50144L8.04948 5.28197L9.2534 6.65378L7.35128 8.32328C7.11691 8.16014 6.83862 8.0718 6.55305 8.0699C6.2069 8.0699 5.87805 8.19797 5.61844 8.42297L1.21536 12.2861C1.07344 12.4141 1.05959 12.6322 1.18421 12.7776L2.59305 14.3803C2.6519 14.4495 2.73844 14.4911 2.8319 14.498H2.85267C2.93575 14.498 3.01882 14.4668 3.08113 14.4114L7.48421 10.5484C7.97921 10.1122 8.09275 9.40744 7.80752 8.84424L9.70998 7.1744ZM16.5534 14.6295H16.1381V12.8918C16.1381 12.7014 15.9823 12.5457 15.7919 12.5457H10.2673C10.0734 12.5457 9.92113 12.7014 9.92113 12.8918V14.6295H9.50575C9.31536 14.6295 9.15959 14.7853 9.15959 14.9757V16.9626C9.15959 17.153 9.31536 17.3087 9.50575 17.3087H16.5534C16.7438 17.3087 16.8996 17.153 16.8996 16.9626V14.9757C16.8996 14.7853 16.7438 14.6295 16.5534 14.6295
808Z" fill="black"></path>
809</g>
810</svg>
811`,fixer:`<svg width="100%" height="100%" viewBox="0 0 106 25" fill="none" xmlns="http://www.w3.org/2000/svg">
812<path fill-rule="evenodd" clip-rule="evenodd" d="M19.8781 0.461296C19.6647 0.588531 17.6902 1.75603 15.4905 3.05556C11.8047 5.23326 10.8461 5.79975 7.90789 7.53821C7.33669 7.87612 6.30835 8.48416 5.62278 8.88889C4.93722 9.29393 4.09585 9.79168 3.75307 9.99468C3.41029 10.198 2.45517 10.7623 1.63094 11.2485C-0.288323 12.3808 -0.288947 12.3821 0.544947 12.8636C1.15447 13.2158 1.15292 13.1916 0.587327 13.5263C-0.177699 13.9793 -0.183931 14.0928 0.533729 14.5135C1.14887 14.8737 1.14762 14.8466 0.567695 15.1998C-0.187982 15.6602 -0.188605 15.757 0.562086 16.1893C1.18751 16.5495 1.18626 16.5 0.579225 16.8513C-0.262147 17.3382 -0.244385 17.3836 1.08654 18.1541C2.24421 18.8241 5.25757 20.5706 8.84711 22.6517C10.2204 23.4481 11.3781 24.0999 11.4195 24.0999C11.4613 24.0999 11.9736 23.8164 12.5582 23.4698C16.1004 21.3698 19.8741 19.1448 19.8937 19.1448C19.9062 19.1448 20.1243 19.022 20.3783 18.8718C20.6322 18.7218 21.5528 18.1796 22.424 17.6672C23.2953 17.1547 24.0432 16.7049 24.0862 16.6681C24.1289 16.6311 24.7952 16.2289 25.5664 15.7743C29.9275 13.204 31.6016 12.2034 31.6888 12.1145C31.8783 11.9208 31.7708 11.7734 31.2002 11.4448C30.6059 11.1027 30.6087 11.1245 31.1285 10.83C31.9658 10.3556 31.9746 10.2316 31.2014 9.78529C30.5928 9.43395 30.5984 9.46944 31.107 9.18108C32.0088 8.67022 32.0113 8.58103 31.1366 8.08615C30.5847 7.77382 30.5769 7.83424 31.2161 7.44934C31.9686 6.99602 31.968 6.91002 31.2077 6.46981C30.9615 6.32723 30.3277 5.95991 29.7991 5.65333C29.2706 5.34707 27.74 4.45962 26.3972 3.6815C25.0547 2.90339 23.1663 1.80814 22.2009 1.24805C20.2134 0.0949346 20.3917 0.155355 19.8781 0.461296ZM20.678 1.02299C20.8242 1.1077 21.3764 1.42867 21.9049 1.73589C22.4331 2.04343 24.6534 3.33081 26.8388 4.59677C29.0241 5.86241 30.8309 6.91706 30.8543 6.94039C30.8777 6.96341 30.7141 7.09097 30.4906 7.22396C30.2675 7.35695 29.4071 7.86653 28.5785 8.35629C27.7502 8.84605 26.3947 9.64814 25.5664 10.1385C24.7378 10.6293 24.0111 11.057 23.9516 11.089C23.8581 11.1392 23.6948 11.0612 22.783 10.5321C22.2 10.1935 21.3374 9.69354 20.866 9.42053C20.3948 9.14783 18.9691 8.31984 17.698 7.58073C16.4266 6.84161 14.9252 5.9711 14.3609 5.6463C13.7969 5.3215 13.3354 5.04081 13.3354 5.02259C13.3354 5.00405 13.9371 4.63353 14.6725 4.19908C17.0131 2.81643 17.6419 2.44336 18.9704 1.65053C20.4353 0.776187 20.3225 0.817427 20.678 1.02299ZM61.785 3.73969C60.2434 3.9753 60.0465 6.15109 61.5186 6.68656C62.6853 7.11143 63.7392 6.4241 63.7395 5.23838C63.7398 4.18117 62.9352 3.56418 61.785 3.73969ZM44.1336 11.9518V19.6774H45.5615H46.9893L47.0027 16.4674L47.0161 13.2571L50.2233 13.2433L53.4302 13.2296V12.0583V10.8869L50.2233 10.8732L47.0161 10.8594V8.75494V6.65012L50.6387 6.63669L54.2613 6.62294V5.42444V4.22593H49.1974H44.1336V11.9518ZM11.4762 9.40007C12.9985 10.2824 15.3425 11.6398 16.6853 12.4166C18.0277 13.1932 19.1436 13.8453 19.1651 13.8651C19.1863 13.8853 18.6722 14.2158 18.0224 14.5995C17.3727 14.9834 16.245 15.6503 15.5167 16.0812C14.7881 16.5125 13.5675 17.2343 12.8044 17.6854L11.4164 18.5054L8.83122 17.008C7.4093 16.1848 6.07058 15.4079 5.8565 15.2823C5.54706 15.1007 2.59135 13.3878 1.19498 12.581C0.865603 12.3904 0.861863 12.3648 1.14326 12.1996C1.54961 11.9608 4.71878 10.0858 7.18088 8.6277C7.95214 8.17087 8.61121 7.79683 8.64549 7.79651C8.67977 7.7962 9.95367 8.51773 11.4762 9.40007ZM86.2281 8.11684C83.4743 8.70954 81.9234 10.847 81.919 14.0563C81.9159 16.4137 82.7352 17.9837 84.5329 19.0645C86.8105 20.4341 90.3405 19.9683 91.9027 18.0924L92.1392 17.8082L91.9622 17.6122C91.865 17.5045 91.6431 17.2596 91.4692 17.0684C91.2953 16.8769 91.0585 16.6135 90.9429 16.4831L90.7329 16.2458L90.439 16.5451C88.7102 18.3043 85.6039 17.663 84.8994 15.4009C84.718 14.8184 84.2643 14.8821 88.5983 14.8821H92.3966L92.3682 13.8031C92.3022 11.3124 91.6487 9.81566 90.2013 8.84125C89.1374 8.12451 87.5431 7.83392 86.2281 8.11684ZM102.147 8.08487C101.128 8.31665 100.435 8.73703 99.6489 9.59891C99.4227 9.84731 99.2282 10.0407 99.217 10.0286C99.2058 10.0167 99.1675 9.6053 99.132 9.11458L99.0668 8.22202H97.7502H96.4333L96.4464 13.9364L96.4598 19.6508L97.849 19.6649L99.2382 19.6793V16.2673V12.8552L99.4059 12.5026C100.062 11.1209 101.747 10.6088 104.082 11.081C104.652 11.1964 104.593 11.2993 104.79 9.84699C104.882 9.17309 104.969 8.54682 104.984 8.45539L105.012 8.28915L104.657 8.20124C103.876 8.00783 102.72 7.95444 102.147 8.08487ZM30.5187 8.38762C30.729 8.50718 30.8808 8.62482 30.8565 8.64912C30.8319 8.67374 30.4495 8.90775 30.007 9.16957C29.5642 9.4314 28.1454 10.2715 26.854 11.
8120359C24.5147 12.4208 24.2208 12.5912 24.1666 12.5912C24.151 12.5912 24.138 12.3776 24.138 12.1171V11.643L25.787 10.6699C27.691 9.54648 28.4866 9.0743 29.3576 8.55098C30.0977 8.10661 30.0394 8.11492 30.5187 8.38762ZM57.5333 9.39431V10.5663H59.1172H60.7015V13.923V17.2797H59.1172H57.5333V18.4785V19.6774H62.0776H66.6223V18.4785V17.2797H65.09H63.5578V12.751V8.22202H60.5457H57.5333V9.39431ZM69.1872 8.30578C69.2043 8.35149 69.6434 9.02891 70.1626 9.81086C71.4259 11.7133 72.1024 12.7328 72.4851 13.3098C72.8905 13.9214 73.013 13.5896 71.6107 15.6813C70.0981 17.9383 69.0635 19.5083 69.0301 19.5974C68.9893 19.7061 71.9014 19.7192 72.0323 19.6109C72.0765 19.5741 72.3068 19.2567 72.5443 18.905C72.7817 18.5533 73.1064 18.0722 73.266 17.8363C74.7362 15.6583 74.5667 15.8322 74.8309 16.2295C75.0369 16.539 76.2008 18.242 76.7686 19.0648C76.9708 19.3577 77.1603 19.615 77.1899 19.6368C77.2703 19.6956 80.1777 19.6866 80.1777 19.6275C80.1777 19.6 79.9804 19.2822 79.7396 18.9216C79.4987 18.5607 79.1191 17.9907 78.8957 17.6544C78.6723 17.3184 78.0253 16.3475 77.4576 15.4965C76.8901 14.6458 76.414 13.9192 76.3996 13.8814C76.3763 13.8197 76.5826 13.4914 77.543 12.0583C77.7097 11.8092 78.0684 11.2696 78.3398 10.8594C78.6112 10.4493 79.0905 9.72998 79.4046 9.261C79.7187 8.79202 79.9988 8.36652 80.0266 8.31537C80.0746 8.22745 79.9904 8.22202 78.5694 8.22202H77.0612L76.8406 8.53467C76.7194 8.70667 76.3763 9.2041 76.0787 9.64015C74.667 11.7082 74.6053 11.792 74.5349 11.7319C74.4975 11.7002 74.3626 11.5148 74.2354 11.3201C74.1083 11.1254 73.8331 10.7133 73.624 10.4045C73.4149 10.0957 73.0002 9.47807 72.7023 9.03243L72.16 8.22202H70.658C69.3147 8.22202 69.1592 8.23097 69.1872 8.30578ZM30.5118 10.0401C30.9895 10.3105 31.1587 10.1561 28.9681 11.4477C27.9827 12.0285 26.515 12.8952 25.7066 13.3735C24.8983 13.8514 24.2146 14.2427 24.1875 14.2427C24.1601 14.2427 24.138 14.0346 24.138 13.7734V13.3041L27.0594 11.5679C30.3869 9.59028 30.011 9.75652 30.5118 10.0401ZM87.932 10.4327C88.9108 10.6942 89.5758 11.5503 89.5777 12.5512L89.578 12.8575H87.215C84.513 12.8575 84.7704 12.9189 84.9604 12.3201C85.441 10.8083 86.5949 10.0752 87.932 10.4327ZM4.9902 10.8323C3.91791 11.1206 3.25354 11.9266 3.64743 12.4611C3.75213 12.603 3.75057 12.6072 3.54522 12.7207C3.32428 12.8425 3.31961 12.8792 3.51406 12.9617C3.63808 13.0144 3.69293 13.0106 3.82817 12.939C3.98398 12.8562 4.00049 12.8575 4.17874 12.9706L4.36571 13.0893L4.23016 13.2002L4.09491 13.3108L4.24293 13.3981C4.38378 13.4812 4.40124 13.4793 4.60285 13.3616C4.78609 13.2549 4.84155 13.2459 5.01045 13.2935C5.33267 13.385 6.39965 13.3172 6.76518 13.1823C7.36162 12.9623 8.09673 12.3597 7.94809 12.213C7.88296 12.1484 7.51836 12.0944 7.51836 12.1494C7.51836 12.5746 6.28497 13.1378 5.55797 13.0445C5.20895 12.9997 5.20958 12.9991 5.98831 12.5384L6.6424 12.1519L6.49625 12.0589C6.32611 11.9512 6.39996 11.9214 5.47632 12.4687L4.8107 12.8632L4.6496 12.7667C4.39594 12.6148 4.41744 12.5861 5.07371 12.2002C5.93316 11.6945 5.90449 11.72 5.73621 11.6072C5.59848 11.5145 5.59692 11.5151 4.88892 11.9282C4.20928 12.3246 4.17625 12.3377 4.1052 12.2402C3.82848 11.8597 4.39687 11.3022 5.29808 11.0701C5.63182 10.9841 5.63992 10.978 5.58477 10.854C5.51777 10.7028 5.47726 10.7015 4.9902 10.8323ZM30.5065 11.6957C30.9739 11.9688 30.9799 11.9243 30.4339 12.2408C30.1846 12.3853 29.385 12.8565 28.6564 13.2878C27.9282 13.7194 26.6194 14.4933 25.7481 15.0077L24.1641 15.9431L24.1489 15.4559C24.138 15.101 24.152 14.9578 24.2009 14.9284C25.7048 14.0259 30.0456 11.4736 30.078 11.4729C30.103 11.4726 30.2956 11.573 30.5065 11.6957ZM1.8338 13.5972C1.86091 13.6231 2.4558 13.9735 3.15569 14.3763C3.85559 14.7788 4.68512 15.2586 4.99955 15.4422C6.03225 16.0454 9.91814 18.297 10.6735 18.7298L11.4133 19.154L11.7642 18.9539C11.9571 18.8439 12.9327 18.2701 13.9324 17.6787C15.5893 16.6988 16.2291 16.3207 18.6768 14.8737C19.1153 14.6148 19.4833 14.4025 19.4948 14.4025C19.5064 14.4025 19.5151 14.6244 19.5142 14.8955L19.5126 15.3884L18.7223 15.8491C18.2873 16.1026 16.5996 17.0988 14.9714 18.0629C13.3432 19.0271 11.877 19.8941 11.7134 19.9897L11.4158 20.1636L10.3631 19.5533C9.78384 19.218 8.24662 18.3267 6.94717 17.5729C5.6474 16.819 3.74964 15.7193 2.73002 15.1292C1.7104 14.539 0.894895 14.0368 0.917955 14.0128C1.14326 13.7811 1.74156 13.5093 1.8338 13.5972ZM3.07592 15.9853C3.76242 16.3839 4.663 16.907 5.07745 17.147C5.49159 17.3874 6.75365 18.1199 7.88202 18.7746C10.6953 20.4072 11.3775 20.7963 11.4276 20.7963C11.4697 20.7963 12.6866 20.0808 18.3992 16.6979L19.4898 16.0518L19.5048 16.5393C19.5129 16.8075 19.5129 17.0329 19.5048 17.0406C19.4845 17.0585 13.1493 20.8023 12.1799 21.3692L11.4136 21.817L10.336 21.1936C9.74333 20.8506 8.84929 20.3337 8.34945 20.045C3.77208 17.4009 0.95348 15.75 0.938833 15.7049C0.914216 15.6298 1.65774 15.1976 1.75154 15.2324C1.79329 15.2478 2.38942 15.5866 3.07592 15.9853ZM3.14697 17.686C3.93723 18.1438 4.84093 18.6681 5.15535 18.851C5.46947 19.0338 6.54455 19.6572 7.54423 20.2362C8.54422 20.8151 9.6193 21.4385 9.93341 21.6217C11.1771 22.3464 11.3603 22.4481 11.422 22.4481C11.4572 22.4481 11.9661 22.1629 12.5535 21.8145C14.3724 20.7349 17.3546 18.9725 19.4768 17.7228C19.4983 17.71 19.5157 17.9239 19.5157 18.1975V18.6953L18.3082 19.4085C17.6441 19.8011 16.7267 20.3436 16.2696 20.614C12.6099 22.7815 11.451 23.4605 11.4111 23.4605C11.3859 23.4605 11.1484 23.3327 10.8832 23.1767C10.6177 23.0203 9.92157 22.615 9.33604 22.2755C8.75051 21.936 6.61217 20.6962 4.58384 19.5201C2.55583 18.3443 0.904867 17.3651 0.915462 17.3443C0.931667 17.3114 1.64652 16.8622 1.69295 16.8558C1.70261 16.8545 2.35701 17.2282 3.14697 17.686Z" fill="black"></path>
813</svg>
814`,"install-wallet":`<svg width="100%" height="100%" viewBox="0 0 48 45" fill="none" xmlns="http://www.w3.org/2000/svg">
815<rect opacity="0.3" x="46.1743" y="1.71387" width="38.2493" height="39.9131" transform="rotate(90 46.1743 1.71387)" fill="#50A621"></rect>
816<path d="M13.9357 44.9521L38.7093 44.9521C41.1734 44.9521 43.5366 43.9736 45.2788 42.2315C47.0209 40.4889 48 38.1264 48 35.6622L48 9.34071C48 6.87667 47.0209 4.51409 45.2788 2.7714C43.5366 1.02926 41.1736 0.050781 38.7093 0.0507808L9.29067 0.0507796C6.82658 0.0507795 4.4634 1.02928 2.72123 2.7714C0.979061 4.51395 7.33103e-06 6.87653 7.22331e-06 9.34071L6.07274e-06 35.6622C5.96503e-06 38.1262 0.979059 40.4888 2.72123 42.2315C4.4634 43.9736 6.82644 44.9521 9.29067 44.9521L13.9357 44.9521ZM38.7093 6.24407C39.5307 6.24407 40.3187 6.57078 40.8992 7.15129C41.4802 7.7318 41.8064 8.51967 41.8064 9.34106L41.8064 23.276L34.0646 23.276L34.0646 6.24441L38.7093 6.24407ZM27.8712 6.24407L27.8712 13.9857L20.1294 13.9857L20.1294 6.24407L27.8712 6.24407ZM6.19424 23.2756L6.19424 9.34071C6.19424 8.51935 6.52042 7.73142 7.10148 7.15094C7.682 6.57043 8.46989 6.24372 9.29129 6.24372L13.9361 6.24372L13.9361 23.2753L6.19424 23.2756ZM9.29067 38.7588L9.2912 38.7588C8.46983 38.7588 7.68189 38.4321 7.1014 37.8516C6.52033 37.2711 6.19416 36.4832 6.19416 35.6618L6.19416 29.4684L13.9359 29.4684L13.9359 38.7588L9.29067 38.7588ZM20.1288 38.7588L20.1294 20.179L27.8711 20.179L27.8711 38.7588L20.1288 38.7588ZM34.064 38.7588L34.0646 29.4685L41.8063 29.4685L41.8063 35.6619C41.8063 36.4833 41.4801 37.2712 40.8991 37.8517C40.3185 38.4322 39.5307 38.7589 38.7093 38.7589L34.064 38.7588Z" fill="#50A621"></path>
817</svg>
818`,"invoice-blue":`<svg width="100%" height="100%" viewBox="0 0 30 30" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
819
820    <path d="M0,15a15,15 0 1,0 30,0a15,15 0 1,0 -30,0" fill="rgb(232,240,252)"></path>
821    <path d="M10.999,8.333C10.266,8.333 9.673,8.933 9.673,9.666L9.666,20.333C9.666,21.066 10.259,21.666 10.993,21.666L18.999,21.666C19.733,21.666 20.333,21.066 20.333,20.333L20.333,12.333L16.333,8.333L10.999,8.333ZM15.666,13L15.666,9.333L19.333,13L15.666,13Z" fill="rgb(23,103,222)"></path>
822</svg>
823`,"key-filled":`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
824    <path d="M14.841,3.165C12.621,0.953 9.021,0.953 6.816,3.165C5.263,4.703 4.798,6.915 5.398,8.865L1.873,12.39C1.626,12.645 1.453,13.148 1.506,13.508L1.731,15.143C1.813,15.683 2.316,16.193 2.856,16.268L4.491,16.493C4.851,16.545 5.353,16.38 5.608,16.118L6.223,15.503C6.373,15.36 6.373,15.12 6.223,14.97L4.768,13.515C4.663,13.409 4.605,13.267 4.605,13.118C4.605,12.969 4.663,12.826 4.768,12.72C4.986,12.503 5.346,12.503 5.563,12.72L7.026,14.183C7.168,14.325 7.408,14.325 7.551,14.183L9.141,12.6C11.083,13.208 13.296,12.735 14.841,11.198C17.053,8.985 17.053,5.378 14.841,3.165ZM10.873,9C10.376,9 9.899,8.803 9.547,8.451C9.196,8.099 8.998,7.623 8.998,7.125C8.998,6.628 9.196,6.151 9.547,5.799C9.899,5.448 10.376,5.25 10.873,5.25C11.37,5.25 11.847,5.448 12.199,5.799C12.551,6.151 12.748,6.628 12.748,7.125C12.748,7.623 12.551,8.099 12.199,8.451C11.847,8.803 11.37,9 10.873,9Z"></path>
825</svg>
826`,"key-long":`<svg width="100%" height="100%" viewBox="0 0 15 15" version="1.1" xmlns="http://www.w3.org/2000/svg">
827    <path d="M9.069,8.862C8.915,8.862 8.764,8.852 8.616,8.832L8.388,9.06C8.294,9.154 8.167,9.207 8.034,9.207L7.328,9.207L7.328,9.914C7.328,10.046 7.275,10.174 7.181,10.267L6.319,11.129C6.225,11.223 6.098,11.276 5.966,11.276C5.966,11.276 5.259,11.276 5.259,11.276L5.259,11.983C5.259,12.115 5.206,12.243 5.112,12.336L4.595,12.854C4.501,12.947 4.374,13 4.241,13L2,13C1.724,13 1.5,12.776 1.5,12.5L1.5,10.259C1.5,10.126 1.553,9.999 1.646,9.905C1.646,9.905 5.668,5.884 5.668,5.884C5.648,5.736 5.638,5.585 5.638,5.431C5.638,3.536 7.174,2 9.069,2C10.964,2 12.5,3.536 12.5,5.431C12.5,7.326 10.964,8.862 9.069,8.862ZM9.069,7.862C10.412,7.862 11.5,6.774 11.5,5.431C11.5,4.088 10.412,3 9.069,3C7.726,3 6.638,4.088 6.638,5.431C6.638,5.609 6.657,5.782 6.693,5.948C6.729,6.115 6.678,6.288 6.558,6.408L2.5,10.466L2.5,12L4.034,12L4.259,11.776L4.259,10.776C4.259,10.5 4.482,10.276 4.759,10.276L5.758,10.276L6.328,9.707L6.328,8.707C6.328,8.431 6.551,8.207 6.828,8.207L7.827,8.207L8.092,7.942C8.212,7.822 8.385,7.771 8.552,7.807C8.718,7.843 8.891,7.862 9.069,7.862Z"></path>
828    <path d="M9.76,5.294C9.76,5.599 9.513,5.846 9.208,5.846C8.903,5.846 8.656,5.599 8.656,5.294C8.656,4.989 8.903,4.742 9.208,4.742C9.513,4.742 9.76,4.989 9.76,5.294Z"></path>
829</svg>
830`,incognito:`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
831
832    <path d="M10.694,11.352L7.33,11.352C6.969,10.103 5.838,9.181 4.485,9.181C2.836,9.181 1.499,10.531 1.499,12.195C1.499,13.855 2.836,15.211 4.485,15.211C5.838,15.211 6.969,14.288 7.33,13.039L10.694,13.039C11.056,14.288 12.187,15.211 13.54,15.211C15.189,15.211 16.525,13.855 16.525,12.195C16.525,10.531 15.189,9.181 13.54,9.181C12.187,9.181 11.056,10.103 10.694,11.352Z"></path>
833    <path d="M1.215,8.562L16.81,8.562C17.272,8.562 17.645,8.185 17.645,7.718C17.645,7.251 17.272,6.874 16.81,6.874L15.178,6.874L13.975,3.359C13.858,3.021 13.54,2.791 13.184,2.791L4.841,2.791C4.485,2.791 4.167,3.021 4.05,3.359L2.847,6.874L1.215,6.874C0.753,6.874 0.38,7.251 0.38,7.718C0.38,8.185 0.753,8.562 1.215,8.562Z"></path>
834</svg>
835`,laptop:`<svg width="100%" height="100%" viewBox="0 0 47 33" fill="none" xmlns="http://www.w3.org/2000/svg">
836<path d="M6.35619 0H40.6438C41.4495 0 42.2552 0.363636 42.7924 0.909091C43.3295 1.45455 43.6876 2.27273 43.6876 3.09091V24.8182C43.6876 25.6364 43.3295 26.4545 42.7924 27C42.2552 27.5455 41.4495 27.9091 40.6438 27.9091H6.35619C5.55048 27.9091 4.74476 27.5455 4.20762 27C3.67048 26.4545 3.31238 25.6364 3.31238 24.8182V3.09091C3.31238 2.27273 3.67048 1.45455 4.20762 0.909091C4.74476 0.363636 5.55048 0 6.35619 0ZM1.25333 33C0.537143 33 0 32.4545 0 31.7273C0 31 0.537143 30.4545 1.25333 30.4545H45.7467C46.4629 30.4545 47 31 47 31.7273C47 32.4545 46.4629 33 45.7467 33H1.25333ZM40.6438 2.54545H6.35619C6.26667 2.54545 6.08762 2.63636 5.9981 2.72727C5.90857 2.81818 5.81905 3 5.81905 3.09091V24.8182C5.81905 25 5.90857 25.0909 5.9981 25.1818C6.08762 25.2727 6.26667 25.3636 6.35619 25.3636H40.6438C40.7333 25.3636 40.9124 25.2727 41.0019 25.1818C41.0914 25.0909 41.181 25 41.181 24.8182V3.09091C41.181 3 41.0914 2.81818 41.0019 2.72727C40.9124 2.63636 40.7333 2.54545 40.6438 2.54545Z" fill="black"></path>
837</svg>
838`,loader:`
839<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
840<path fill="#3A4751" d="M1.88019 8.84967C1.17295 8.84967 0.589169 9.42662 0.702039 10.1248C0.89062 11.2913 1.33662 12.4095 2.01527 13.3998C2.93827 14.7466 4.25018 15.7964 5.78508 16.4162C7.31999 17.0361 9.00895 17.1983 10.6384 16.8823C12.2678 16.5663 13.7646 15.7863 14.9393 14.6409C16.1141 13.4955 16.9141 12.0362 17.2383 10.4475C17.5624 8.85876 17.396 7.21202 16.7602 5.71549C16.1245 4.21897 15.0478 2.93986 13.6664 2.03993C12.6328 1.36653 11.4632 0.928071 10.2439 0.750004C9.56152 0.650362 8.99963 1.21867 8.99963 1.90823C8.99963 2.5978 9.56459 3.14367 10.2392 3.28656C10.9512 3.43738 11.6316 3.71757 12.2435 4.11622C13.2037 4.74176 13.9521 5.63087 14.394 6.6711C14.836 7.71134 14.9516 8.85599 14.7263 9.96029C14.501 11.0646 13.9449 12.079 13.1283 12.8751C12.3118 13.6713 11.2714 14.2135 10.1387 14.4332C9.00611 14.6528 7.83211 14.5401 6.7652 14.1092C5.69829 13.6783 4.78638 12.9486 4.1448 12.0125C3.74787 11.4333 3.46543 10.7911 3.30775 10.119C3.14623 9.43041 2.58744 8.84967 1.88019 8.84967Z"></path>
841</svg>
842`,"info-circle-small":`<svg width="100%" height="100%" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
843
844    <path d="M6 11.5a5.5 5.5 0 1 1 0-11 5.5 5.5 0 1 1 0 11Zm0-1a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"></path>
845    <path d="M6.5 8.007a.5.5 0 0 1-1 0v-2a.5.5 0 0 1 1 0v2Z"></path>
846    <path d="M5.5,4a0.5,0.5 0 1,0 1,0a0.5,0.5 0 1,0 -1,0"></path>
847</svg>
848`,link:`<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
849<g opacity="1" clip-path="url(#clip0_39125_39239)">
850<path d="M7.5 9.74997C7.82209 10.1806 8.23302 10.5369 8.70491 10.7947C9.17681 11.0525 9.69863 11.2058 10.235 11.2442C10.7713 11.2826 11.3097 11.2052 11.8135 11.0173C12.3173 10.8294 12.7748 10.5353 13.155 10.155L15.405 7.90497C16.0881 7.19772 16.4661 6.25046 16.4575 5.26722C16.449 4.28398 16.0546 3.34343 15.3593 2.64815C14.664 1.95287 13.7235 1.55849 12.7403 1.54995C11.757 1.5414 10.8098 1.91938 10.1025 2.60247L8.8125 3.88497" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
851<path d="M10.5002 8.24992C10.1781 7.81933 9.76713 7.46304 9.29524 7.20522C8.82334 6.9474 8.30152 6.79409 7.76516 6.75567C7.22881 6.71726 6.69046 6.79465 6.18664 6.98259C5.68282 7.17053 5.22531 7.46462 4.84515 7.84492L2.59515 10.0949C1.91206 10.8022 1.53408 11.7494 1.54262 12.7327C1.55117 13.7159 1.94555 14.6565 2.64083 15.3517C3.33611 16.047 4.27666 16.4414 5.2599 16.45C6.24313 16.4585 7.19039 16.0805 7.89765 15.3974L9.18015 14.1149" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
852</g>
853<defs>
854<clipPath id="clip0_39125_39239">
855<rect width="18" height="18" fill="white"></rect>
856</clipPath>
857</defs>
858</svg>
859`,"loader-animated":`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewB
859ox="0 0 18 18" clip-rule="evenodd" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" style="white-space: preserve-spaces;">
860    <style>
861@keyframes cnvsukzrwnh7ml1g9inow1dx_t { 0% { transform: translate(9px,9px) rotate(0deg) translate(-9px,-9px); } 100% { transform: translate(9px,9px) rotate(360deg) translate(-9px,-9px); } }
862    </style>
863    <path d="M13.968,4.065C12.673,2.735,10.887,2,9.032,2C5.182,2,2.032,5.15,2.032,9C2.032,12.85,5.182,16,9.032,16C10.887,16,12.673,15.265,13.968,13.935L12.743,12.71C11.762,13.69,10.432,14.25,9.032,14.25C6.127,14.25,3.782,11.905,3.782,9C3.782,6.095,6.127,3.75,9.032,3.75C10.432,3.75,11.762,4.31,12.743,5.29L13.968,4.065Z" fill-rule="nonzero" transform="translate(9,9) translate(-9,-9)" style="animation: 0.8s linear infinite both cnvsukzrwnh7ml1g9inow1dx_t;"></path>
864</svg>
865`,"lock-grey-thin":`
866     <svg width="100%" height="100%" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
867       <g opacity="0.4">
868         <path d="M23.884 12.4453H8.11592C6.57913 12.4453 5.33331 13.603 5.33331 15.0312V24.0817C5.33331 25.5098 6.57913 26.6675 8.11592 26.6675H23.884C25.4208 26.6675 26.6666 25.5098 26.6666 24.0817V15.0312C26.6666 13.603 25.4208 12.4453 23.884 12.4453Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
869         <path d="M10.6667 10.6658V7.50531C10.6667 6.45754 11.2286 5.45268 12.2288 4.7118C13.229 3.97091 14.5855 3.55469 16 3.55469C17.4145 3.55469 18.7711 3.97091 19.7713 4.7118C20.7715 5.45268 21.3334 6.45754 21.3334 7.50531V10.6658" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
870       </g>
871     </svg>
872`,"lock-grey-filled":`<svg width="100%" height="100%" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xml:space="preserve">
873    <path d="M14.922,7.813L14.375,7.813L14.375,5.625C14.375,3.212 12.413,1.25 10,1.25C7.587,1.25 5.625,3.212 5.625,5.625L5.625,7.813L5.078,7.813C4.174,7.813 3.438,8.548 3.438,9.453L3.438,17.109C3.438,18.014 4.174,18.75 5.078,18.75L14.922,18.75C15.826,18.75 16.562,18.014 16.562,17.109L16.562,9.453C16.562,8.548 15.826,7.813 14.922,7.813ZM7.083,5.625C7.083,4.016 8.391,2.708 10,2.708C11.609,2.708 12.917,4.016 12.917,5.625L12.917,7.813L7.083,7.813L7.083,5.625Z" style="fill:#9e9e9e;fill-rule:nonzero;"></path>
874</svg>
875`,lock:`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
876
877    <path d="M12.707,6.25L13.435,6.25C14.728,6.25 15.75,7.253 15.75,8.455L15.75,13.546C15.75,14.747 14.728,15.75 13.435,15.75L4.565,15.75C3.272,15.75 2.25,14.747 2.25,13.546L2.25,8.455C2.25,7.253 3.272,6.25 4.565,6.25L5.293,6.25C5.265,6.172 5.25,6.088 5.25,6L5.25,4.222C5.25,3.412 5.659,2.621 6.432,2.048C7.114,1.543 8.036,1.25 9,1.25C9.964,1.25 10.886,1.543 11.568,2.048C12.341,2.621 12.75,3.412 12.75,4.222L12.75,6C12.75,6.088 12.735,6.172 12.707,6.25ZM6.707,6.25L11.293,6.25C11.265,6.172 11.25,6.088 11.25,6L11.25,4.222C11.25,3.853 11.027,3.514 10.675,3.254C10.231,2.925 9.627,2.75 9,2.75C8.373,2.75 7.769,2.925 7.325,3.254C6.973,3.514 6.75,3.853 6.75,4.222L6.75,6C6.75,6.088 6.735,6.172 6.707,6.25ZM13.435,7.75L4.565,7.75C4.129,7.75 3.75,8.049 3.75,8.455L3.75,13.546C3.75,13.951 4.129,14.25 4.565,14.25L13.435,14.25C13.871,14.25 14.25,13.951 14.25,13.546L14.25,8.455C14.25,8.049 13.871,7.75 13.435,7.75Z"></path>
878</svg>
879`,key:`<svg width="100%" height="100%" viewBox="0 0 29 28" fill="none" xmlns="http://www.w3.org/2000/svg">
880<g id="Group 21159">
881<g id="Vector" opacity="0.5">
882<path d="M12.9898 12.1936H8.15742C7.43886 12.1936 6.74962 12.479 6.24148 12.9871C5.73336 13.4952 5.44763 14.1845 5.44763 14.903V16.2579C5.44763 16.9034 5.79194 17.4997 6.35109 17.8222C6.90993 18.1448 7.59857 18.1448 8.15736 17.8222C8.71614 17.4997 9.06049 16.9033 9.06049 16.2579V15.8062H12.9897C13.5624 17.4263 14.8697 18.6788 16.5129 19.1818C18.156 19.6846 19.9403 19.3787 21.3216 18.3569C22.7033 17.3349 23.5182 15.7183 23.5182 13.9999C23.5182 12.2816 22.7033 10.6649 21.3216 9.64302C19.9403 8.62111 18.156 8.31523 16.5129 8.81804C14.8698 9.32112 13.5624 10.5736 12.9897 12.1937L12.9898 12.1936ZM19.8994 13.9998C19.8994 14.479 19.7088 14.9383 19.3701 15.2772C19.0315 15.6159 18.5719 15.8061 18.0927 15.8061C17.6136 15.8061 17.1543 15.6159 16.8153 15.2772C16.4767 14.9383 16.2864 14.479 16.2864 13.9998C16.2864 13.5207 16.4767 13.0614 16.8153 12.7224C17.1543 12.3838 17.6136 12.1935 18.0927 12.1935C18.5719 12.1935 19.0315 12.3838 19.3701 12.7224C19.7088 13.0614 19.8994 13.5207 19.8994 13.9998Z" fill="black"></path>
883<path d="M28.9315 5.41955C28.9315 3.98217 28.3604 2.60365 27.3441 1.58738C26.3278 0.571116 24.9494 0 23.5119 0H22.1573C21.5119 0 20.9156 0.344306 20.5927 0.903447C20.2701 1.46228 20.2701 2.15092 20.5927 2.70969C20.9156 3.26853 21.5118 3.61282 22.1573 3.61282H23.5122H23.5119C23.991 3.61282 24.4507 3.80309 24.7893 4.14204C25.1283 4.48068 25.3185 4.94028 25.3185 5.41943V6.77432V6.774C25.3185 7.41947 25.
8836628 8.01575 26.2217 8.33865C26.7805 8.66122 27.4692 8.66122 28.0279 8.33865C28.5871 8.01576 28.9314 7.41947 28.9314 6.774L28.9315 5.41955Z" fill="black"></path>
884<path d="M2.7383 8.58077C3.21743 8.58077 3.67675 8.3905 4.0157 8.05155C4.35434 7.71291 4.54461 7.25331 4.54461 6.77416V5.41959C4.54461 4.94046 4.73488 4.48082 5.07384 4.1422C5.41248 3.80325 5.87209 3.61298 6.35124 3.61298H7.70614H7.70583C8.3513 3.61298 8.94759 3.26867 9.27049 2.70986C9.59306 2.15102 9.59306 1.46239 9.27049 0.903608C8.94759 0.34446 8.3513 0.000161506 7.70583 0.000161506H6.35125C4.91385 0.000161506 3.53532 0.571277 2.51904 1.58754C1.50276 2.60381 0.931641 3.98225 0.931641 5.41971V6.7746V6.77429C0.931641 7.25342 1.12223 7.71306 1.46087 8.05168C1.79951 8.39063 2.25912 8.5809 2.73827 8.5809L2.7383 8.58077Z" fill="black"></path>
885<path d="M0.931866 22.5804C0.931866 24.0178 1.50299 25.3963 2.51927 26.4126C3.53554 27.4289 4.91399 28 6.35147 28H7.70638H7.70606C8.35153 28 8.94782 27.6557 9.27072 27.0966C9.5933 26.5377 9.5933 25.8491 9.27072 25.2903C8.94783 24.7315 8.35154 24.3872 7.70606 24.3872H6.35148C5.87234 24.3872 5.4127 24.1969 5.07408 23.858C4.73512 23.5193 4.54485 23.0597 4.54485 22.5806V21.226C4.54485 20.5805 4.20054 19.9843 3.64172 19.6614C3.08288 19.3388 2.39423 19.3388 1.83545 19.6614C1.2763 19.9842 0.931995 20.5805 0.931995 21.226L0.931866 22.5804Z" fill="black"></path>
886<path d="M28.9315 21.2256C28.9315 20.5802 28.5872 19.9839 28.028 19.661C27.4692 19.3384 26.7806 19.3384 26.2218 19.661C25.6629 19.9839 25.3187 20.5802 25.3187 21.2256V22.5805V22.5802C25.3187 23.0593 25.1284 23.519 24.7894 23.8576C24.4508 24.1966 23.9912 24.3868 23.512 24.3868H22.1574C21.512 24.3868 20.9157 24.7311 20.5928 25.2899C20.2702 25.8488 20.2702 26.5374 20.5928 27.0962C20.9157 27.6553 21.512 27.9996 22.1574 27.9996H23.5123H23.512C24.9494 27.9996 26.328 27.4285 27.3442 26.4123C28.3605 25.396 28.9316 24.0176 28.9316 22.5801L28.9315 21.2256Z" fill="black"></path>
887</g>
888<path id="Vector_2" d="M12.9894 12.1939H8.15705C7.4385 12.1939 6.74925 12.4793 6.24111 12.9875C5.73299 13.4956 5.44727 14.1848 5.44727 14.9034V16.2583C5.44727 16.9037 5.79158 17.5 6.35072 17.8226C6.90956 18.1452 7.59821 18.1452 8.15699 17.8226C8.71577 17.5 9.06012 16.9037 9.06012 16.2583V15.8065H12.9893C13.562 17.4267 14.8693 18.6791 16.5125 19.1822C18.1557 19.6849 19.9399 19.3791 21.3213 18.3572C22.7029 17.3353 23.5178 15.7186 23.5178 14.0003C23.5178 12.2819 22.7029 10.6653 21.3213 9.64337C19.9399 8.62145 18.1557 8.31558 16.5125 8.81839C14.8694 9.32146 13.5621 10.5739 12.9894 12.1939ZM19.899 14.0002C19.899 14.4793 19.7084 14.9386 19.3698 15.2776C19.0311 15.6162 18.5715 15.8065 18.0924 15.8065C17.6132 15.8065 17.1539 15.6162 16.815 15.2776C16.4763 14.9386 16.2861 14.4793 16.2861 14.0002C16.2861 13.521 16.4763 13.0617 16.815 12.7228C17.1539 12.3842 17.6132 12.1939 18.0924 12.1939C18.5715 12.1939 19.0311 12.3842 19.3698 12.7228C19.7084 13.0617 19.899 13.521 19.899 14.0002Z" fill="black"></path>
889</g>
890</svg>
891`,"lock-grey":`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 20 20" fill="none">
892  <g opacity="0.2">
893  <path d="M4.00049 8V6C4.00049 4.4087 4.63263 2.88258 5.75785 1.75736C6.88307 0.632141 8.40919 0 10.0005 0C11.5918 0 13.1179 0.632141 14.2431 1.75736C15.3683 2.88258 16.0005 4.4087 16.0005 6V8H17.0005C17.5309 8 18.0396 8.21071 18.4147 8.58579C18.7898 8.96086 19.0005 9.46957 19.0005 10V18C19.0005 18.5304 18.7898 19.0391 18.4147 19.4142C18.0396 19.7893 17.5309 20 17.0005 20H3.00049C2.47006 20 1.96135 19.7893 1.58627 19.4142C1.2112 19.0391 1.00049 18.5304 1.00049 18V10C1.00049 8.9 1.90049 8 3.00049 8H4.00049ZM9.00049 14.73V17H11.0005V14.73C11.3818 14.5099 11.6798 14.1701 11.8482 13.7633C12.0167 13.3566 12.0463 12.9056 11.9323 12.4803C11.8184 12.055 11.5673 11.6793 11.218 11.4112C10.8687 11.1432 10.4408 10.9979 10.0005 10.9979C9.56022 10.9979 9.13225 11.1432 8.78297 11.4112C8.43368 11.6793 8.18259 12.055 8.06864 12.4803C7.95469 12.9056 7.98425 13.3566 8.15273 13.7633C8.32121 14.1701 8.6192 14.5099 9.00049 14.73ZM7.00049 6V8H13.0005V6C13.0005 5.20435 12.6844 4.44129 12.1218 3.87868C11.5592 3.31607 10.7961 3 10.0005 3C9.20484 3 8.44178 3.31607 7.87917 3.87868C7.31656 4.44129 7.00049 5.20435 7.00049 6Z" fill="black"></path>
894  </g>
895  </svg>
896`,"log-in":`<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
897<g opacity="0.4">
898<path d="M15 15.75V14.25C15 13.4544 14.6839 12.6913 14.1213 12.1287C13.5587 11.5661 12.7956 11.25 12 11.25H6C5.20435 11.25 4.44129 11.5661 3.87868 12.1287C3.31607 12.6913 3 13.4544 3 14.25V15.75" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
899<path d="M9 8.25C10.6569 8.25 12 6.90685 12 5.25C12 3.59315 10.6569 2.25 9 2.25C7.34315 2.25 6 3.59315 6 5.25C6 6.90685 7.34315 8.25 9 8.25Z" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
900</g>
901</svg>
902`,"ltc-circle":`<svg width="100%" height="100%" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
903
904    <path fill="#3a4751" d="M0,14a14,14 0 1,0 28,0a14,14 0 1,0 -28,0"></path>
905    <path fill="#fff" fill-rule="nonzero" d="m13.133 18.456.971-3.595 2.306-.827.574-2.113-.023-.046-2.271.816 1.638-6.041h-4.635L9.55 14.528l-1.779.643-.597 2.171 1.791-.632-1.264 4.64h12.338l.785-2.894h-7.691Z"></path>
906</svg>
907`,"logo-black":`<svg width="100%" height="100%" viewBox="0 0 68 33" fill="none" xmlns="http://www.w3.org/2000/svg">
908<path d="M63.2573 4.89674C61.7845 3.338 60.017 2.10171 58.0623 1.26298C56.1076 0.424255 54.0065 0.000614548 51.8867 0.0178299C49.7835 0.000290742 47.6993 0.424265 45.7629 1.26348C43.8266 2.1027 42.0793 3.3393 40.6294 4.89674L35.8777 9.64453L34.0045 11.5686L29.2588 16.4476L22.6279 23.2506C21.7727 24.1434 20.7517 24.8528 19.6249 25.3371C18.4981 25.8214 17.288 26.0708 16.0656 26.0708C14.8432 26.0708 13.6332 25.8214 12.5063 25.3371C11.3795 24.8528 10.3585 24.1434 9.50335 23.2506C8.63107 22.3681 7.93861 21.3177 7.46602 20.1599C6.99344 19.0021 6.7501 17.76 6.7501 16.5055C6.7501 15.251 6.99344 14.0089 7.46602 12.8511C7.93861 11.6933 8.63107 10.6428 9.50335 9.7604C10.3594 8.86903 11.3806 8.16099 12.5073 7.67766C13.6341 7.19432 14.8437 6.94539 16.0656 6.94539C17.2875 6.94539 18.4972 7.19432 19.6239 7.67766C20.7507 8.16099 21.7719 8.86903 22.6279 9.7604L25.0142 12.1999L20.003 17.3471L22.5026 19.7866L32.1312 9.76345L41.6286 0.0056393H32.1312L27.3796 4.88455C25.9081 3.33878 24.1485 2.11013 22.2048 1.27119C20.261 0.432242 18.1725 0 16.0626 0C13.9527 0 11.8643 0.432242 9.92052 1.27119C7.97678 2.11013 6.21719 3.33878 4.7457 4.88455C3.25053 6.39754 2.0618 8.19701 1.24748 10.1801C0.433171 12.1631 0.00926184 14.2908 0 16.4415C0.0214721 20.8211 1.72589 25.0167 4.7457 28.1234C6.21845 29.6669 7.97844 30.8935 9.92201 31.731C11.8656 32.5685 13.9535 33 16.0626 33C18.1718 33 20.2597 32.5685 22.2033 31.731C24.1468 30.8935 25.9068 29.6669 27.3796 28.1234L31.7465 23.6378L33.9985 21.3265L38.7442 16.4476L45.3751 9.7604C46.2311 8.86903 47.2523 8.16099 48.3791 7.67766C49.5058 7.19432 50.7155 6.94539 51.9374 6.94539C53.1593 6.94539 54.3689 7.19432 55.4957 7.67766C56.6224 8.16099 57.6436 8.86903 58.4996 9.7604C59.802 11.1001 60.6874 12.8038 61.0443 14.657C61.4013 16.5102 61.2137 18.4299 60.5053 20.1743C59.7969 21.9187 58.5994 23.4098 57.0636 24.4597C55.5277 25.5096 53.7223 26.0714 51.8747 26.0742C49.427 26.0458 47.0892 25.0311 45.3691 23.2506L42.9828 20.8111L47.8807 15.67L45.4944 13.2305L40.6204 18.3625L35.7435 23.2414L26.3714 32.9993H35.8688L40.6204 28.1203C42.0882 29.6539 43.8389 30.8748 45.7711 31.7122C47.7034 32.5497 49.779 32.9871 51.8777 32.9993C56.
9081499 32.9743 60.2385 31.2199 63.2483 28.1203C66.2698 25.0143 67.9763 20.8188 68 16.4384C67.9775 12.1007 66.2717 7.94957 63.2573 4.89674Z" fill="#13171A"></path>
909</svg>
910`,logout:`<svg width="100%" height="100%" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">
911
912  <path d="M25.191,31.256L13.767,31.256L13.767,8.744L25.191,8.744L25.191,16.623L27.958,16.623L27.958,6L11,6L11,34L27.958,34L27.958,23.377L25.191,23.377L25.191,31.256Z"></path>
913  <path d="M37.005,19.015L31.754,13.809L29.803,15.779L32.748,18.628L20.508,18.628L20.508,21.372L32.748,21.372L29.803,24.221L31.754,26.191L37.005,20.985L37.963,20L37.005,19.015Z"></path>
914</svg>
915`,mail:`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
916
917    <path d="M17.25,4.5L17.25,13.5C17.25,14.737 16.237,15.75 15,15.75L3,15.75C1.762,15.75 0.75,14.737 0.75,13.5L0.75,4.5C0.75,4.499 0.75,4.498 0.75,4.498C0.751,3.261 1.763,2.25 3,2.25L15,2.25C16.237,2.25 17.249,3.261 17.25,4.498C17.25,4.498 17.25,4.499 17.25,4.5ZM2.25,5.94L2.25,13.5C2.25,13.913 2.588,14.25 3,14.25L15,14.25C15.413,14.25 15.75,13.913 15.75,13.5L15.75,5.94L9.43,10.364C9.172,10.545 8.828,10.545 8.57,10.364L2.25,5.94ZM15.671,4.165C15.547,3.92 15.292,3.75 15,3.75L3,3.75C2.708,3.75 2.453,3.92 2.329,4.165L9,8.835L15.671,4.165Z"></path>
918</svg>
919`,"main-image":`<svg width="100%" height="100%" viewBox="0 0 87 41" fill="none" xmlns="http://www.w3.org/2000/svg">
920  <path d="M80.9321 6.08383C79.0478 4.14721 76.7865 2.61121 74.2856 1.56916C71.7848 0.527104 69.0965 0.00076353 66.3844 0.0221523C63.6937 0.000361225 61.027 0.527117 58.5496 1.56978C56.0722 2.61245 53.8368 4.14882 51.9817 6.08383L45.9023 11.9826L43.5057 14.3732L37.434 20.4348L28.9504 28.8871C27.8562 29.9964 26.55 30.8777 25.1083 31.4794C23.6666 32.0811 22.1185 32.391 20.5545 32.391C18.9906 32.391 17.4425 32.0811 16.0008 31.4794C14.5591 30.8777 13.2528 29.9964 12.1587 28.8871C11.0427 27.7907 10.1568 26.4856 9.55212 25.0471C8.94748 23.6087 8.63615 22.0655 8.63615 20.5068C8.63615 18.9482 8.94748 17.405 9.55212 15.9665C10.1568 14.5281 11.0427 13.2229 12.1587 12.1266C13.2539 11.0191 14.5605 10.1394 16.002 9.53891C17.4436 8.9384 18.9912 8.62912 20.5545 8.62912C22.1179 8.62912 23.6655 8.9384 25.1071 9.53891C26.5486 10.1394 27.8552 11.0191 28.9504 12.1266L32.0034 15.1574L25.5921 21.5525L28.7901 24.5833L41.1091 12.1304L53.2602 0.0070064H41.1091L35.0297 6.06868C33.1471 4.14818 30.8959 2.62168 28.409 1.57935C25.9222 0.537028 23.2501 0 20.5507 0C17.8513 0 15.1793 0.537028 12.6924 1.57935C10.2056 2.62168 7.95434 4.14818 6.07171 6.06868C4.15876 7.94846 2.63789 10.1842 1.59605 12.6479C0.554204 15.1117 0.0118497 17.7552 0 20.4273C0.0274717 25.8687 2.20812 31.0813 6.07171 34.9412C7.95596 36.8589 10.2077 38.3829 12.6943 39.4234C15.181 40.4639 17.8522 41 20.5507 41C23.2492 41 25.9205 40.4639 28.4071 39.4234C30.8937 38.3829 33.1455 36.8589 35.0297 34.9412L40.6168 29.3682L43.4981 26.4965L49.5698 20.4348L58.0534 12.1266C59.1486 11.0191 60.4552 10.1394 61.8967 9.53891C63.3383 8.9384 64.8859 8.62912 66.4493 8.62912C68.0126 8.62912 69.5602 8.9384 71.0018 9.53891C72.4434 10.1394 73.7499 11.0191 74.8451 12.1266C76.5114 13.791 77.6442 15.9078 78.1008 18.2102C78.5575 20.5127 78.3175 22.8977 77.4112 25.065C76.5049 27.2323 74.9727 29.0849 73.0078 30.3893C71.0428 31.6938 68.7329 32.3917 66.3691 32.3953C63.2375 32.36 60.2464 31.0992 58.0458 28.8871L54.9928 25.8562L61.2591 19.4688L58.2061 16.4379L51.9703 22.8141L45.7306 28.8757L33.7398 40.9991H45.8909L51.9703 34.9374C53.8481 36.8428 56.088 38.3596 58.5601 39.4C61.0323 40.4405 63.6878 40.984 66.3729 40.9991C71.8389 40.968 77.0698 38.7884 80.9206 34.9374C84.7863 31.0783 86.9697 25.8658 87 20.4235C86.9712 15.0343 84.7888 9.87674 80.9321 6.08383Z" fill="#D48343"></path>
921  </svg>
922`,mandrill:`
923    <svg width="100%" height="100%" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
924      <g clip-path="url(#mandrill-clip0)">
925        <path d="M0 -0.636719H28V27.9996H0V-0.636719Z" fill="#E6E6E1"></path>
926        <path d="M29.591 -0.955078H-1.59082L14.0289 21.6805L29.591 -0.955078Z" fill="#D8D8D3"></path>
927        <path d="M9.0713 27.9993H18.9869L14.0293 21.6816L9.0713 27.9993Z" fill="#B4B6B4"></path>
928        <path d="M14.0328 14.2636L8.08984 5.54102V13.0286L11.4834 18.0131L14.027 14.2711L14.0328 14.2636Z" fill="#1A1918"></path>
929        <path d="M14.0332 14.2636L16.5926 18.0211L19.9645 13.0911V5.54102L14.0332 14.2638" fill="#ED9D4A"></path>
930        <path d="M14.0271 14.271L11.4834 18.0131L14.0354 21.7598L16.5922 18.021L14.0328 14.2637L14.027 14.271" fill="#BB7731"></path>
931        <path d="M3.86914 21.7686H8.0897V13.0273L3.86914 6.83203V21.7686Z" fill="#4CB2D4"></path>
932        <path d="M3.86914 5.54102V6.83352L8.0897 13.0286V5.54102H3.86914Z" fill="#1B82AD"></path>
933        <path d="M19.9648 13.0915V21.7703H24.1839V6.92383L19.9648 13.0914" fill="#C02439"></path>
934        <path d="M24.1838 5.54102H19.9648V13.0911L24.1839 6.92338V5.54102" fill="#8F202F"></path>
935      </g>
936      <defs>
937        <clipPath id="mandrill-clip0">
938            <rect width="28" height="28" fill="white"></rect>
939        </clipPath>
940      </defs>
941    </svg>
942`,megaphone:`<svg width="100%" height="100%" viewBox="0 0 25 25" version="1.1" xmlns="http://www.w3.org/2000/svg">
943    <path d="M12.34,1.942L7.258,10.419L2.27,13.299L5.15,18.287L10.138,15.407L20.02,15.244L12.34,1.942ZM16.172,6.658L17.852,9.568L18.475,9.208C19.281,8.743 19.556,7.719 19.09,6.913C18.625,6.107 17.601,5.833 16.795,6.298L16.172,6.658ZM7.708,17.919L12.907,22.123L15.816,20.443L10.618,16.239L7.708,17.919Z"></path>
944</svg>
945`,merchants:`
946<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
947  <g clip-path="url(#merchants-clip0)">
948    <path d="M14.2548 12.749C13.02 12.749 12.0098 13.7593 12.0098 14.9941C12.0098 16.2289 13.02 17.2391 14.2548 17.2391C15.4896 17.2391 16.4999 16.2289 16.4999 14.9941C16.4999 13.7593 15.4896 12.749 14.2548 12.749Z" fill="#C0C0C0"></path>
949    <path d="M17.8695 4.08339C17.7348 3.92624 17.5553 3.814 17.3307 3.814H4.15235L3.54619 1.27709C3.47886 0.962794 3.20943 0.760742 2.89513 0.760742H0.672516C0.290886 0.760699 -0.000976562 1.05256 -0.000976562 1.43423C-0.000976562 1.81591 0.290886 2.10773 0.672516 2.10773H2.35631L4.53402 11.2675C4.60136 11.5818 4.87079 11.7838 5.18509 11.7838H15.6695C15.9837 11.7838 16.2532 11.5818 16.3205 11.2675L17.9818 4.64464C18.0267 4.44259 17.9818 4.24053 17.8695 4.08339Z" fill="#616161"></path>
950    <path d="M6.1054 12.749C4.87061 12.749 3.86035 13.7593 3.86035 14.9941C3.86035 16.2289 4.87061 17.2391 6.1054 17.2391C7.34019 17.2391 8.35045 16.2289 8.35045 14.9941C8.35045 13.7593 7.34019 12.749 6.1054 12.749Z" fill="#C0C0C0"></path>
951  </g>
952  <defs>
953    <clipPath id="merchants-clip0">
954        <rect width="18" height="18" fill="white"></rect>
955    </clipPath>
956  </defs>
957</svg>
958`,"minus-circle":`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
959
960    <path d="M9,17.25C4.444,17.25 0.75,13.556 0.75,9C0.75,4.444 4.444,0.75 9,0.75C13.556,0.75 17.25,4.444 17.25,9C17.25,13.556 13.556,17.25 9,17.25ZM9,15.75C12.728,15.75 15.75,12.728 15.75,9C15.75,5.272 12.728,2.25 9,2.25C5.272,2.25 2.25,5.272 2.25,9C2.25,12.728 5.272,15.75 9,15.75Z"></path>
961    <path d="M6,9.75C5.586,9.75 5.25,9.414 5.25,9C5.25,8.586 5.586,8.25 6,8.25L12,8.25C12.414,8.25 12.75,8.586 12.75,9C12.75,9.414 12.414,9.75 12,9.75L6,9.75Z"></path>
962</svg>
963`,minus:`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
964
965  <path d="M15,8.25C15.414,8.25 15.75,8.586 15.75,9C15.75,9.414 15.414,9.75 15,9.75L3,9.75C2.586,9.75 2.25,9.414 2.25,9C2.25,8.586 2.586,8.25 3,8.25L15,8.25Z"></path>
966</svg>
967`,menu:`<svg width="100%" height="100%" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
968
969    <path class="menu-top-line" d="M1.834,15C1.282,15 0.834,14.552 0.834,14C0.834,13.448 1.282,13 1.834,13L18.167,13C18.719,13 19.167,13.448 19.167,14C19.167,14.552 18.719,15 18.167,15L1.834,15Z"></path>
970    <path class="menu-bottom-line" d="M1.834,8C1.282,8 0.834,7.552 0.834,7C0.834,6.448 1.282,6 1.834,6L18.167,6C18.719,6 19.167,6.448 19.167,7C19.167,7.552 18.719,8 18.167,8L1.834,8Z"></path>
971</svg>
972`,moebius:`<svg width="100%" height="100%" viewBox="0 0 24 12" fill="none" xmlns="http://www.w3.org/2000/svg">
973<path d="M18 0C15.591 0 13.7263 1.70569 12 3.67931C10.2737 1.70569 8.409 0 6 0C4.4087 0 2.88258 0.632141 1.75736 1.75736C0.632141 2.88258 0 4.4087 0 6C0 7.5913 0.632141 9.11742 1.75736 10.2426C2.88258 11.3679 4.4087 12 6 12C8.409 12 10.2737 10.2943 12 8.32069C13.7263 10.2943 15.591 12 18 12C19.5913 12 21.1174 11.3679 22.2426 10.2426C23.3679 9.11742 24 7.5913 24 6C24 4.4087 23.3679 2.88258 22.2426 1.75736C21.1174 0.632141 19.5913 0 18 0V0ZM6 9C5.20435 9 4.44129 8.68393 3.87868 8.12132C3.31607 7.55871 3 6.79565 3 6C3 5.20435 3.31607 4.44129 3.87868 3.87868C4.44129 3.31607 5.20435 3 6 3C7.29187 3 8.67488 4.40344 10.0404 6C8.67488 7.59656 7.29187 9 6 9ZM18 9C16.7081 9 15.3251 7.59656 13.9596 6C15.3251 4.40344 16.7081 3 18 3C18.7956 3 19.5587 3.31607 20.1213 3.87868C20.6839 4.44129 21 5.20435 21 6C21 6.79565 20.6839 7.55871 20.1213 8.12132C19.5587 8.68393 18.7956 9 18 9Z" fill="black"></path>
974</svg>
975`,"ltc-disabled":`<svg width="100%" height="100%" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
976
977    <path fill="#e1e1e1" d="M0,14a14,14 0 1,0 28,0a14,14 0 1,0 -28,0"></path>
978    <path fill="#fff" fill-rule="nonzero" d="m13.133 18.456.972-3.595 2.306-.827.574-2.113-.024-.046-2.271.815 1.639-6.04h-4.636l-2.142 7.878-1.779.643-.597 2.171 1.791-.632-1.265 4.64H20.04l.785-2.894h-7.692Z"></path>
979</svg>
980`,"network-menu":`<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
981
982  <path d="M12,0C18.628,0 24,5.372 24,12C24,18.628 18.628,24 12,24C5.372,24 0,18.628 0,12C0,5.372 5.372,0 12,0Z" style="fill:rgb(57,57,57);"></path>
983  <g class="icon-logo">
984    <path d="M12,10.459C15.313,10.459 18,9.469 18,8.243C18,7.017 15.313,6.031 12,6.031C8.687,6.031 6,7.021 6,8.247C6,9.473 8.687,10.459 12,10.459Z" style="fill:white;fill-rule:nonzero;"></path>
985    <path d="M6,13.645L6,15.865C6,17.087 8.687,18.081 12,18.081C15.313,18.081 18,17.091 18,15.865L18,13.645C16.749,14.652 14.314,15.128 12,15.128C9.686,15.128 7.251,14.656 6,13.645ZM10.714,16.748C10.479,16.748 10.286,16.555 10.286,16.319C10.286,16.084 10.479,15.891 10.714,15.891C10.95,15.891 11.143,16.084 11.143,16.319C11.143,16.555 10.95,16.748 10.714,16.748ZM14.143,15.891C14.379,15.891 14.571,16.084 14.571,16.319C14.571,16.555 14.379,16.748 14.143,16.748C13.907,16.748 13.714,16.555 13.714,16.319C13.714,16.084 13.907,15.891 14.143,15.891ZM12.429,15.891C12.664,15.891 12.857,16.084 12.857,16.319C12.857,16.555 12.664,16.748 12.429,16.748C12.193,16.748 12,16.555 12,16.319C12,16.084 12.193,15.891 12.429,15.891Z" style="fill:white;fill-rule:nonzero;"></path>
986    <path d="M18,9.834C16.749,10.841 14.314,11.317 12,11.317C9.686,11.317 7.251,10.841 6,9.834L6,12.054C6,13.276 8.687,14.27 12,14.27C15.313,14.27 18,13.28 18,12.054L18,9.834ZM10.714,12.89C10.479,12.89 10.286,12.697 10.286,12.461C10.286,12.226 10.479,12.033 10.714,12.033C10.95,12.033 11.143,12.226 11.143,12.461C11.143,12.697 10.95,12.89 10.714,12.89ZM12.429,12.89C12.193,12.89 12,12.697 12,12.461C12,12.226 12.193,12.033 12.429,12.033C12.664,12.033 12.857,12.226 12.857,12.461C12.857,12.697 12.664,12.89 12.429,12.89ZM14.143,12.89C13.907,12.89 13.714,12.697 13.714,12.461C13.714,12.226 13.907,12.033 14.143,12.033C14.379,12.033 14.571,12.226 14.571,12.461C14.571,12.697 14.379,12.89 14.143,12.89Z" style="fill:white;fill-rule:nonzero;"></path>
987  </g>
988</svg>
989`,"ltc-circle-grey":`
990    <svg width="100%" height="100%" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
991      <circle cx="20" cy="20" r="20" fill="#F7F7F7"></circle>
992      <path d="M18.7615 26.3656L20.1495 21.2305L23.4441 20.0492L24.2636 17.0305L24.2302 16.9648L20.9857 18.1297L23.3271 9.5H16.7044L13.644 20.7547L11.1019 21.6734L10.249 24.7742L12.8078 23.8719L11.0016 30.5H28.6285L29.749 26.3656H18.7615Z" fill="#CCCCCC"></path>
993    </svg>
994`,"moon-filled":`<svg width="100%" height="100%" viewBox="0 0 52 52" fill="none" xmlns="http://www.w3.org/2000/svg">
995<path d="M46.3746 45.6225C39.9407 53.4089 12.6666 52.7013 5.42865 45.6225C-1.80935 38.5437 -1.80975 12.6569 5.42865 5.57775C12.6671 -1.50145 39.9407 -2.20865 46.3746 5.57775C52.8083 13.3645 52.8083 37.8357 46.3746 45.6225Z" fill="#8A90A4"></path>
996<path d="M38.9385 31.4491C39.2068 30.8315 38.6082 30.2172 37.9438 30.3266C32.2587 31.2631 26.4746 27.7548 24.846 22.0786C23.9261 18.8724 24.448 15.5942 26.0278 12.9368C26.3716 12.3584 26.0152 11.58 25.3429 11.6075C24.2335 11.653 23.1118 11.8302 21.9973 12.15C14.4598 14.3125 10.1026 22.1759 12.2652 29.7132C14.4278 37.2506 22.2912 41.6077 29.8286 39.4451C34.0715 38.2278 37.3067 35.2042 38.9385 31.4491Z" fill="white"></path>
997</svg>
998`,network:`<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
999
1000    <path class="bg" fill="#393939" d="M12 0c6.628 0 12 5.372 12 12s-5.372 12-12 12S0 18.628 0 12 5.372 0 12 0Z"></path>
1001    <g class="logo" fill="#fff">
1002        <path d="M12 10.459c3.313 0 6-.99 6-2.216 0-1.226-2.687-2.212-6-2.212s-6 .99-6 2.216c0 1.226 2.687 2.212 6 2.212ZM6 13.645v2.22c0 1.222 2.687 2.216 6 2.216s6-.99 6-2.216v-2.22c-1.251 1.007-3.686 1.483-6 1.483s-4.749-.472-6-1.483Zm4.714 3.103a.43.43 0 0 1-.428-.429.43.43 0 0 1 .428-.428.43.43 0 0 1 .429.428.43.43 0 0 1-.429.429Zm3.429-.857a.43.43 0 0 1 0 .857.43.43 0 0 1-.429-.429.43.43 0 0 1 .429-.428Zm-1.714 0a.43.43 0 0 1 .428.428.43.43 0 0 1-.428.429.43.43 0 0 1-.429-.429.43.43 0 0 1 .429-.428Z"></path>
1003        <path d="M18 9.836c-1.251 1.007-3.686 1.483-6 1.483s-4.749-.476-6-1.483v2.22c0 1.222 2.687 2.216 6 2.216s6-.99 6-2.216v-2.22Zm-7.286 3.056a.43.43 0 0 1-.428-.428.43.43 0 0 1 .428-.429.43.43 0 0 1 .429.429.43.43 0 0 1-.429.428Zm1.715 0a.43.43 0 0 1-.429-.428.43.43 0 0 1 .429-.429.43.43 0 0 1 .428.429.43.43 0 0 1-.428.428Zm1.714 0a.43.43 0 0 1-.429-.428.43.43 0 1 1 .429.428Z"></path>
1004    </g>
1005</svg>
1006`,news:`
1007  <svg width="100%" height="100%" viewBox="0 0 18 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1008    <path d="M0 3C0 1.34315 1.34315 0 3 0H11C12.6569 0 14 1.34315 14 3V16H3C1.34315 16 0 14.6569 0 13V3Z" fill="#C0C0C0"></path>
1009    <path d="M2.5 4.5C2.5 3.67157 3.17157 3 4 3H10C10.8284 3 11.5 3.67157 11.5 4.5V4.5C11.5 5.32843 10.8284 6 10 6H4C3.17157 6 2.5 5.32843 2.5 4.5V4.5Z" fill="#616161"></path>
1010    <path d="M2.5 8.79999C2.5 8.2477 2.94772 7.79999 3.5 7.79999H10.5C11.0523 7.79999 11.5 8.2477 11.5 8.79999V8.79999C11.5 9.35227 11.0523 9.79999 10.5 9.79999H3.5C2.94772 9.79999 2.5 9.35227 2.5 8.79999V8.79999Z" fill="#616161"></path>
1011    <path d="M2.5 12.6C2.5 12.0477 2.94772 11.6 3.5 11.6H10.5C11.0523 11.6 11.5 12.0477 11.5 12.6V12.6C11.5 13.1523 11.0523 13.6 10.5 13.6H3.5C2.94772 13.6 2.5 13.1523 2.5 12.6V12.6Z" fill="#616161"></path>
1012    <path d="M14 9H16V16H14V9Z" fill="#C0C0C0"></path>
1013    <path d="M14 4H15C16.6569 4 18 5.34315 18 7V14C18 15.1046 17.1046 16 16 16C14.8954 16 14 15.1046 14 14V4Z" fill="#616161"></path>
1014  </svg>
1015`,"notification-error":`<svg width="100%" height="100%" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
1016<g clip-path="url(#clip0_15823_8430)">
1017<g filter="url(#filter0_d_15823_8430)">
1018<circle cx="15" cy="15" r="15" fill="#C25555"></circle>
1019</g>
1020<path d="M18 12L12 18" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
1021<path d="M12 12L18 18" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
1022</g>
1023<defs>
1024<filter id="filter0_d_15823_8430" x="-12" y="-10" width="54" height="54" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
1025<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood>
1026<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix>
1027<feOffset dy="2"></feOffset>
1028<feGaussianBlur stdDeviation="6"></feGaussianBlur>
1029<feComposite in2="hardAlpha" operator="out"></feComposite>
1030<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"></feColorMatrix>
1031<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_15823_8430"></feBlend>
1032<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_15823_8430" result="shape"></feBlend>
1033</filter>
1034<clipPath id="clip0_15823_8430">
1035<rect width="30" height="30" fill="white"></rect>
1036</clipPath>
1037</defs>
1038</svg>
1039`,moon:`<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
1040
1041  <path d="M15.0298 11.6417C15.1511 11.3625 14.8805 11.0848 14.5802 11.1343C12.0105 11.5576 9.39596 9.97179 8.65982 7.40609C8.24402 5.95689 8.47993 4.4751 9.194 3.27393C9.34942 3.01249 9.18832 2.66061 8.88442 2.67307C8.38299 2.69362 7.87597 2.77372 7.37218 2.91826C3.96518 3.89576 1.99569 7.45007 2.9732 10.857C3.95071 14.264 7.50505 16.2335 10.912 15.256C12.8299 14.7057 14.2922 13.339 15.0298 11.6417Z" fill="black"></path>
1042</svg>
1043`,"notification-warning":`<svg width="100%" height="100%" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
1044<g clip-path="url(#clip0_15823_8438)">
1045<g filter="url(#filter0_d_15823_8438)">
1046<circle cx="15" cy="15" r="15" fill="#E9A848"></circle>
1047</g>
1048<path d="M16.2642 9.36328L16.0426 17.511H13.9631L13.7358 9.36328H16.2642ZM15.0029 21.1474C14.6279 21.1474 14.3059 21.0148 14.037 20.7496C13.768 20.4807 13.6355 20.1587 13.6392 19.7837C13.6355 19.4125 13.768 19.0943 14.037 18.8292C14.3059 18.564 14.6279 18.4315 15.0029 18.4315C15.3627 18.4315 15.679 18.564 15.9517 18.8292C16.2245 19.0943 16.3627 19.4125 16.3665 19.7837C16.3627 20.0337 16.2964 20.2629 16.1676 20.4712C16.0426 20.6758 15.8779 20.8406 15.6733 20.9656C15.4688 21.0868 15.2453 21.1474 15.0029 21.1474Z" fill="white"></path>
1049</g>
1050<defs>
1051<filter id="filter0_d_15823_8438" x="-12" y="-10" width="54" height="54" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
1052<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood>
1053<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha">
1053</feColorMatrix>
1054<feOffset dy="2"></feOffset>
1055<feGaussianBlur stdDeviation="6"></feGaussianBlur>
1056<feComposite in2="hardAlpha" operator="out"></feComposite>
1057<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"></feColorMatrix>
1058<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_15823_8438"></feBlend>
1059<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_15823_8438" result="shape"></feBlend>
1060</filter>
1061<clipPath id="clip0_15823_8438">
1062<rect width="30" height="30" fill="white"></rect>
1063</clipPath>
1064</defs>
1065</svg>
1066`,options:`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
1067
1068    <path d="M7.5,13.5a1.5,1.5 0 1,0 3,0a1.5,1.5 0 1,0 -3,0"></path>
1069    <path d="M7.5,9a1.5,1.5 0 1,0 3,0a1.5,1.5 0 1,0 -3,0"></path>
1070    <path d="M7.5,4.5a1.5,1.5 0 1,0 3,0a1.5,1.5 0 1,0 -3,0"></path>
1071</svg>
1072`,"notification-success":`<svg width="100%" height="100%" viewBox="0 0 30 30" version="1.1" xmlns="http://www.w3.org/2000/svg">
1073    <circle cx="15" cy="15.029" r="15" style="fill:rgb(80,166,33);"></circle>
1074    <path d="M19.918,10.104C20.308,9.713 20.942,9.713 21.332,10.104C21.722,10.494 21.722,11.128 21.332,11.518L13.598,19.252C13.207,19.643 12.574,19.643 12.183,19.252L8.668,15.737C8.278,15.346 8.278,14.713 8.668,14.322C9.058,13.932 9.692,13.932 10.082,14.322L12.891,17.131L19.918,10.104Z" style="fill:white;"></path>
1075</svg>
1076`,"notifications-bell-off":`<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1077<circle cx="12" cy="12" r="12" fill="#E9A848"></circle>
1078<g clip-path="url(#clip0_11402_21457)">
1079<path d="M13.0086 17.25C12.906 17.4268 12.7588 17.5735 12.5817 17.6756C12.4046 17.7776 12.2038 17.8313 11.9994 17.8313C11.795 17.8313 11.5942 17.7776 11.4171 17.6756C11.24 17.5735 11.0928 17.4268 10.9902 17.25" stroke="white" stroke-width="1.16667" stroke-linecap="round" stroke-linejoin="round"></path>
1080<path d="M15.8669 12.5834C15.6074 11.6334 15.4836 10.6514 15.4994 9.66675" stroke="white" stroke-width="1.16667" stroke-linecap="round" stroke-linejoin="round"></path>
1081<path d="M8.65167 8.65161C8.55032 8.98038 8.49919 9.32257 8.5 9.66661C8.5 13.7499 6.75 14.9166 6.75 14.9166H14.9167" stroke="white" stroke-width="1.16667" stroke-linecap="round" stroke-linejoin="round"></path>
1082<path d="M15.5001 9.66682C15.5011 9.03277 15.3297 8.41038 15.0045 7.86612C14.6792 7.32186 14.2122 6.87618 13.6534 6.57669C13.0945 6.27719 12.4648 6.13514 11.8315 6.16569C11.1982 6.19624 10.585 6.39825 10.0576 6.75015" stroke="white" stroke-width="1.16667" stroke-linecap="round" stroke-linejoin="round"></path>
1083<path d="M5.58301 5.58325L18.4163 18.4166" stroke="white" stroke-width="1.16667" stroke-linecap="round" stroke-linejoin="round"></path>
1084</g>
1085<defs>
1086<clipPath id="clip0_11402_21457">
1087<rect width="14" height="14" fill="white" transform="translate(5 5)"></rect>
1088</clipPath>
1089</defs>
1090</svg>
1091`,page:`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
1092    <path d="M3.75,1.5C4.164,1.5 4.5,1.836 4.5,2.25C4.5,2.664 4.164,3 3.75,3C3.551,3 3.36,3.079 3.22,3.22C3.079,3.36 3,3.551 3,3.75C3,4.164 2.664,4.5 2.25,4.5C1.836,4.5 1.5,4.164 1.5,3.75C1.5,3.153 1.737,2.581 2.159,2.159C2.581,1.737 3.153,1.5 3.75,1.5Z"></path>
1093    <path d="M14.25,3C13.836,3 13.5,2.664 13.5,2.25C13.5,1.836 13.836,1.5 14.25,1.5C14.847,1.5 15.419,1.737 15.841,2.159C16.263,2.581 16.5,3.153 16.5,3.75C16.5,4.164 16.164,4.5 15.75,4.5C15.336,4.5 15,4.164 15,3.75C15,3.551 14.921,3.36 14.78,3.22C14.64,3.079 14.449,3 14.25,3Z"></path>
1094    <path d="M15,14.25C15,13.836 15.336,13.5 15.75,13.5C16.164,13.5 16.5,13.836 16.5,14.25C16.5,14.847 16.263,15.419 15.841,15.841C15.419,16.263 14.847,16.5 14.25,16.5C13.836,16.5 13.5,16.164 13.5,15.75C13.5,15.336 13.836,15 14.25,15C14.449,15 14.64,14.921 14.78,14.78C14.921,14.64 15,14.449 15,14.25Z"></path>
1095    <path d="M3.75,15C4.164,15 4.5,15.336 4.5,15.75C4.5,16.164 4.164,16.5 3.75,16.5C3.153,16.5 2.581,16.263 2.159,15.841C1.737,15.419 1.5,14.847 1.5,14.25C1.5,13.836 1.836,13.5 2.25,13.5C2.664,13.5 3,13.836 3,14.25C3,14.449 3.079,14.64 3.22,14.78C3.36,14.921 3.551,15 3.75,15Z"></path>
1096    <path d="M6.75,3C6.336,3 6,2.664 6,2.25C6,1.836 6.336,1.5 6.75,1.5L7.5,1.5C7.914,1.5 8.25,1.836 8.25,2.25C8.25,2.664 7.914,3 7.5,3L6.75,3Z"></path>
1097    <path d="M6.75,16.5C6.336,16.5 6,16.164 6,15.75C6,15.336 6.336,15 6.75,15L7.5,15C7.914,15 8.25,15.336 8.25,15.75C8.25,16.164 7.914,16.5 7.5,16.5L6.75,16.5Z"></path>
1098    <path d="M10.5,3C10.086,3 9.75,2.664 9.75,2.25C9.75,1.836 10.086,1.5 10.5,1.5L11.25,1.5C11.664,1.5 12,1.836 12,2.25C12,2.664 11.664,3 11.25,3L10.5,3Z"></path>
1099    <path d="M10.5,16.5C10.086,16.5 9.75,16.164 9.75,15.75C9.75,15.336 10.086,15 10.5,15L11.25,15C11.664,15 12,15.336 12,15.75C12,16.
1099164 11.664,16.5 11.25,16.5L10.5,16.5Z"></path>
1100    <path d="M1.5,6.75C1.5,6.336 1.836,6 2.25,6C2.664,6 3,6.336 3,6.75L3,7.5C3,7.914 2.664,8.25 2.25,8.25C1.836,8.25 1.5,7.914 1.5,7.5L1.5,6.75Z"></path>
1101    <path d="M15,6.75C15,6.336 15.336,6 15.75,6C16.164,6 16.5,6.336 16.5,6.75L16.5,7.5C16.5,7.914 16.164,8.25 15.75,8.25C15.336,8.25 15,7.914 15,7.5L15,6.75Z"></path>
1102    <path d="M1.5,10.5C1.5,10.086 1.836,9.75 2.25,9.75C2.664,9.75 3,10.086 3,10.5L3,11.25C3,11.664 2.664,12 2.25,12C1.836,12 1.5,11.664 1.5,11.25L1.5,10.5Z"></path>
1103    <path d="M15,10.5C15,10.086 15.336,9.75 15.75,9.75C16.164,9.75 16.5,10.086 16.5,10.5L16.5,11.25C16.5,11.664 16.164,12 15.75,12C15.336,12 15,11.664 15,11.25L15,10.5Z"></path>
1104    <path d="M5.25,6.75C4.836,6.75 4.5,6.414 4.5,6C4.5,5.586 4.836,5.25 5.25,5.25L11.25,5.25C11.664,5.25 12,5.586 12,6C12,6.414 11.664,6.75 11.25,6.75L5.25,6.75Z"></path>
1105    <path d="M5.25,9.75C4.836,9.75 4.5,9.414 4.5,9C4.5,8.586 4.836,8.25 5.25,8.25L12.75,8.25C13.164,8.25 13.5,8.586 13.5,9C13.5,9.414 13.164,9.75 12.75,9.75L5.25,9.75Z"></path>
1106    <path d="M5.25,12.75C4.836,12.75 4.5,12.414 4.5,12C4.5,11.586 4.836,11.25 5.25,11.25L9.75,11.25C10.164,11.25 10.5,11.586 10.5,12C10.5,12.414 10.164,12.75 9.75,12.75L5.25,12.75Z"></path>
1107</svg>
1108`,password:`
1109  <svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
1110    <g opacity="0.4">
1111    <path d="M11.625 5.625L14.25 3M15.75 1.5L14.25 3L15.75 1.5ZM8.54249 8.7075C8.92975 9.0896 9.23759 9.54453 9.44831 10.0461C9.65902 10.5477 9.76844 11.0859 9.77026 11.63C9.77209 12.174 9.66628 12.713 9.45893 13.216C9.25158 13.7189 8.94679 14.1759 8.5621 14.5606C8.17742 14.9453 7.72043 15.2501 7.21747 15.4574C6.7145 15.6648 6.17549 15.7706 5.63147 15.7688C5.08744 15.7669 4.54915 15.6575 4.04759 15.4468C3.54602 15.2361 3.09109 14.9283 2.70899 14.541C1.95759 13.763 1.54181 12.721 1.55121 11.6395C1.56061 10.5579 1.99443 9.52331 2.75924 8.7585C3.52405 7.99369 4.55865 7.55987 5.64021 7.55047C6.72177 7.54107 7.76376 7.95685 8.54174 8.70825L8.54249 8.7075ZM8.54249 8.7075L11.625 5.625L8.54249 8.7075ZM11.625 5.625L13.875 7.875L16.5 5.25L14.25 3L11.625 5.625Z" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
1112    </g>
1113  </svg>
1114`,payments:`<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
1115    <path class="add-fill" d="M13 20H7C2 20 0 18 0 13V7C0 2 2 0 7 0H13C18 0 20 2 20 7V13C20 18 18 20 13 20Z" fill="#716F80"></path>
1116    <path d="M15.1087 11.3056C15.0195 10.6694 14.707 10.1784 14.1489 9.8547C13.8922 9.70961 13.6132 9.60916 13.323 9.4864C13.3565 9.46408 13.3788 9.44175 13.4012 9.43059C14.7962 8.71631 14.6735 6.56229 13.6579 5.82568C13.2449 5.52434 12.7873 5.33461 12.3074 5.223C11.9614 5.
111614488 11.6154 5.08908 11.2583 5.03327C11.2583 4.40827 11.2695 3.5489 11.2695 2.85693H9.96366C9.9525 3.53774 9.9525 4.37479 9.94134 4.98863C9.57303 4.98863 9.23821 4.98863 8.89223 4.98863C8.89223 4.37479 8.90339 3.53774 8.90339 2.85693H7.60875C7.59759 3.5489 7.59759 4.40827 7.58643 5.02211C6.69357 5.01095 5.83419 5.01095 4.94134 4.99979C4.94134 5.4797 4.93018 5.92613 4.93018 6.39488C5.11991 6.39488 5.28732 6.39488 5.44357 6.40604C5.61098 6.40604 5.77839 6.40604 5.93464 6.4172C6.39223 6.45068 6.6266 6.70738 6.6266 7.15381C6.60428 9.01765 6.58196 10.8926 6.5708 12.7565C6.5708 13.1694 6.39223 13.3257 5.99044 13.3257C5.70027 13.3257 5.41009 13.3257 5.11991 13.3257C5.03062 13.8502 4.94134 14.3525 4.85205 14.877C5.73375 14.8882 6.60428 14.8993 7.49714 14.9105C7.49714 15.5801 7.48598 16.4284 7.48598 17.1315H8.79178C8.80294 16.4284 8.80294 15.6025 8.8141 14.944C9.18241 14.9551 9.51723 14.9663 9.86321 14.9775C9.86321 15.6471 9.85205 16.4618 9.85205 17.1426H11.1579C11.169 16.4395 11.169 15.6136 11.1802 14.9663C11.2248 14.9551 11.2583 14.9551 11.2918 14.944C11.9168 14.8435 12.5529 14.7877 13.1556 14.6426C13.948 14.4418 14.573 13.9842 14.9079 13.2029C15.1422 12.6002 15.198 11.9641 15.1087 11.3056ZM8.91455 6.52881C9.72928 6.52881 10.5217 6.46184 11.2583 6.79666C11.7494 7.00872 11.9949 7.4105 11.9614 7.89041C11.9279 8.40381 11.6378 8.77211 11.1132 8.93952C10.3989 9.1739 9.65116 9.16274 8.88107 9.12925C8.89223 8.28104 8.90339 7.43283 8.91455 6.52881ZM11.7605 13.0467C11.0351 13.3703 10.2762 13.3703 9.50607 13.3815C9.29401 13.3815 9.08196 13.3703 8.84759 13.3703C8.85875 12.3993 8.86991 11.4507 8.88107 10.4797C9.87437 10.4797 10.8565 10.4016 11.7829 10.8145C12.2628 11.0266 12.5418 11.3949 12.5418 11.9418C12.5306 12.4886 12.2404 12.8346 11.7605 13.0467Z" fill="#1F2029"></path>
1117</svg>
1118`,"payme-unconfirmed":`
1119  <svg width="100%" height="100%" viewBox="0 0 138 138" fill="none" xmlns="http://www.w3.org/2000/svg">
1120<path d="M69 138C107.108 138 138 107.108 138 69C138 30.8924 107.108 0 69 0C30.8924 0 0 30.8924 0 69C0 107.108 30.8924 138 69 138Z" fill="#D48343"></path>
1121<path d="M51.0832 39H86.9165C87.8373 39 88.5832 39.7458 88.5832 40.6667V55.5717C88.5832 55.955 88.4515 56.3267 88.209 56.6233L78.0148 69.155L88.2032 81.5342C88.449 81.8325 88.5832 82.2067 88.5832 82.5933V97.3333C88.5832 98.2542 87.8373 99 86.9165 99H51.0832C50.1623 99 49.4165 98.2542 49.4165 97.3333V82.5933C49.4165 82.2067 49.5507 81.8325 49.7965 81.5342L59.9848 69.155L49.7907 56.6233C49.549 56.3258 49.4165 55.955 49.4165 55.5717V40.6667C49.4165 39.7458 50.1623 39 51.0832 39ZM84.4165 43.1667H53.5832V54.6825L64.939 68.64C65.189 68.9475 65.1882 69.3892 64.9357 69.6958L53.5832 83.49V94.8333H84.4165V83.49L73.064 69.6958C72.8123 69.3892 72.8107 68.9483 73.0607 68.64L84.4165 54.6825V43.1667Z" fill="white"></path>
1122<path d="M79.5689 54.877L70.8548 65.6554C70.5023 66.0912 70.0264 66.4362 69.4781 66.5487C68.6106 66.7262 67.7548 66.4104 67.2189 65.747L58.4306 54.877C57.9898 54.332 58.3781 53.5195 59.0789 53.5195H78.9214C79.6214 53.5195 80.0098 54.332 79.5689 54.877Z" fill="white"></path>
1123<path d="M57.333 91.0841V86.7358C57.333 86.3833 57.5547 86.0699 57.8855 85.9508L67.8772 82.3799C68.6022 82.1208 69.3955 82.1208 70.1205 82.3799L80.1122 85.9508C80.4447 86.0699 80.6663 86.3833 80.6663 86.7358V91.0841H57.333Z" fill="white"></path>
1124</svg>
1125`,pause:`
1126<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
1127  <path d="M6.5 13V5" stroke="black" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"></path>
1128  <path d="M11.5 13V5" stroke="black" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"></path>
1129</svg>
1130`,pen:`
1131    <svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
1132      <path d="M10.625 4.37524L12.75 2.25023C12.947 2.05324 13.1808 1.89699 13.4382 1.79038C13.6956 1.68378 13.9714 1.62891 14.25 1.62891C14.5286 1.62891 14.8044 1.68378 15.0618 1.79038C15.3192 1.89699 15.553 2.05324 15.75 2.25023C15.947 2.44721 16.1032 2.68106 16.2098 2.93843C16.3164 3.1958 16.3713 3.47165 16.3713 3.75023C16.3713 4.0288 16.3164 4.30465 16.2098 4.56202C16.1032 4.81939 15.947 5.05324 15.75 5.25023L13.5 7.50024M10.625 4.37524L13.5 7.50024M10.625 4.37524L3.99998 11.0002M13.5 7.50024L6.99998 14.0002M6.99998 14.0002L5.625 15.3752L1.5 16.5002L2.625 12.3752L3.99998 11.0002M6.99998 14.0002L3.99998 11.0002" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
1133    </svg>
1134`,pdf:`
1135<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
1136  <path d="M2.61816 1.08093C2.61816 0.484423 3.09786 0.000976562 3.68974 0.000976562H11.5479L16.0128 3.7808V16.9202C16.0128 17.5167 15.5331 18.0002 14.9412 18.0002H3.68974C3.09786 18.0002 2.61816 17.5167 2.61816 16.9202V1.08093Z" fill="#FA5655"></path>
1137  <path d="M11.5474 0V2.69987C11.5474 3.29637 12.0271 3.77982 12.619 3.77982H16.0123" fill="#DF2C2C"></path>
1138  <rect y="8" width="18" height="9" rx="0.845908" fill="#DF2C2C"></rect>
1139  <path d="M4.48834 13.6923H3.89218V15.5352H2.57227V9.98242H4.31347C5.8162 9.98242 6.67468 10.5752 6.67468 11.7933C6.67468 13.0995 5.79196 13.6923 4.48834 13.6923ZM4.32936 10.9277H3.89218V12.7306H4.37706C4.97323 12.7306 5.31503 12.4422 5.31503 11.7933C5.31503 11.2081 4.98912 10.9277 4.32936 10.9277Z" fill="white"></path>
1140  <path d="M8.75744 15.5332H7.2627V9.98047H8.66206C10.0773 9.98047 11.4286 10.4371 11.4286 12.7286C11.4286 14.9881 10.1326 15.5332 8.75744 15.5332ZM8.85243 10.9418H8.58217V14.5715H8.85243C9.57576 14.5715 10.061 14.179 10.061 12.7286C10.061 11.2466 9.54436 10.9418 8.85243 10.9418Z" fill="white"></path>
1141  <path d="M13.7253 10.9258V12.3841H15.6492V13.3378H13.7253V15.5332H12.3975V9.98047H16.0308L15.8956 10.9258H13.7253Z" fill="white"></path>
1142</svg>
1143`,pencil:`<svg width="100%" height="100%" viewBox="0 0 14 14" version="1.1" xmlns="http://www.w3.org/2000/svg">
1144    <path d="M8.992,1.865C9.191,1.665 9.456,1.556 9.738,1.556C10.02,1.556 10.285,1.665 10.484,1.865L12.136,3.516C12.335,3.715 12.445,3.98 12.445,4.262C12.445,4.544 12.335,4.809 12.136,5.008L5.223,11.921C5.158,11.986 5.072,12.029 4.98,12.041L2.037,12.441C2.018,12.443 1.999,12.444 1.98,12.444C1.868,12.444 1.76,12.4 1.68,12.32C1.586,12.227 1.542,12.095 1.56,11.963L1.959,9.02C1.972,8.928 2.014,8.843 2.079,8.777L8.992,1.865ZM2.847,11.153L4.575,10.919L8.807,6.687L7.313,5.193L3.081,9.425L2.847,11.153ZM8.138,4.368L9.632,5.862L11.232,4.262L9.738,2.768L8.138,4.368Z"></path>
1145</svg>
1146`,percent:`
1147<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
1148  <path d="M7.84007 8.24339C8.20768 7.87578 8.3911 7.41969 8.3911 6.87513C8.3911 6.33057 8.20768 5.8741 7.84007 5.50668C7.47208 5.13888 7.01599 4.95508 6.47143 4.95508C5.92668 4.95508 5.47078 5.13907 5.10298 5.50668C4.73556 5.87429 4.55176 6.33057 4.55176 6.87513C4.55176 7.41969 4.73575 7.87597 5.10298 8.24339C5.47097 8.61119 5.92668 8.79461 6.47143 8.79461C7.01599 8.7948 7.47227 8.61119 7.84007 8.24339ZM5.75638 7.59475C5.57619 7.40086 5.48581 7.15921 5.48581 6.86961C5.48581 6.5804 5.57619 6.3397 5.75638 6.14733C5.93676 5.95478 6.16832 5.85869 6.45088 5.85869C6.74029 5.85869 6.97508 5.95478 7.15584 6.14733C7.33622 6.3397 7.42603 6.5804 7.42603 6.86961C7.42603 7.15902 7.33622 7.40086 7.15584 7.59475C6.97508 7.78902 6.74181 7.88605 6.45602 7.88605C6.17004 7.88605 5.93676 7.78902 5.75638 7.59475Z" fill="black"></path>
1149  <path d="M10.3876 5.01123L8.83308 7.75498L6.04785 12.6707H7.30385L8.83308 9.96577L11.6339 5.01123H10.3876Z" fill="black"></path>
1150  <path d="M12.5681 9.44813C12.2031 9.08376 11.7505 8.90186 11.2093 8.90186C10.6682 8.90186 10.215 9.08376 9.85096 9.44813C9.48678 9.81251 9.30469 10.2652 9.30469 10.8065C9.30469 11.3478 9.48678 11.8007 9.85096 12.1647C10.215 12.529 10.6682 12.7113 11.2093 12.7113C11.7505 12.7113 12.2031 12.529 12.5681 12.1647C12.9319 11.8007 13.114 11.3478 13.114 10.8065C13.114 10.2652 12.9319 9.81251 12.5681 9.44813ZM11.8677 11.5086C11.6909 11.6975 11.463 11.7919 11.184 11.7919C10.9045 11.7919 10.6766 11.6975 10.4996 11.5086C10.3223 11.3199 10.234 11.0841 10.234 10.8015C10.234 10.5224 10.3223 10.2884 10.4996 10.0994C10.6766 9.9105 10.9026 9.81612 11.1785 9.81612C11.4611 9.81612 11.6907 9.9105 11.8675 10.0994C12.0448 10.2884 12.1331 10.5226 12.1331 10.8015C12.1335 11.0839 12.045 11.3197 11.8677 11.5086Z" fill="black"></path>
1151  <path d="M9 17C13.4183 17 17 13.4183 17 9C17 4.58172 13.4183 1 9 1C4.58172 1 1 4.58172 1 9C1 13.4183 4.58172 17 9 17Z" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
1152</svg>
1153`,"pin-flag":`<svg width="100%" height="100%" viewBox="0 0 14 14" version="1.1" xmlns="http://www.w3.org/2000/svg">
1154    <path d="M3.231,12.854L3.231,8.671L12.509,5.622C12.72,5.561 12.871,5.38 12.871,5.169C12.871,4.958 12.751,4.746 12.569,4.656L1.763,0.249C1.612,0.188 1.431,0.188 1.28,0.309C1.129,0.4 1.068,0.551 1.068,0.732L1.068,12.854L3.231,12.854Z" fill="rgba(194, 85, 85, 1)"></path>
1155</svg>
1156`,plain:`<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1157<path d="M20 4L11 13" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
1158<path d="M20 4L14.4 20L11.2 12.8L4 9.6L20 4Z" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
1159</svg>
1160`,"plan-black":`<svg width="100%" height="100%" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
1161
1162    <path d="M48 23.9c0 7.948-6.452 14.4-14.4 14.4H14.4C6.452 38.3 0 31.848 0 23.9S6.452 9.5 14.4 9.5h19.2c7.948 0 14.4 6.452 14.4 14.4Z" fill="#363636"></path>
1163    <path d="M33.6 11.42H14.4c-6.893 0-12.48 5.588-12.48 12.48 0 6.893 5.587 12.48 12.48 12.48h19.2c6.893 0 12.48-5.587 12.48-12.48 0-6.892-5.587-12.48-12.48-12.48ZM14.4 9.5C6.447 9.5 0 15.947 0 23.9s6.447 14.4 14.4 14.4h19.2c7.953 0 14.4-6.447 14.4-14.4S41.553 9.5 33.6 9.5H14.4Z" fill-rule="evenodd" fill-opacity="0.3"></path>
1164    <g>
1165        <path d="M34.079 21.089a.702.702 0 0 1-.038.269.714.714 0 0 1-.139.232l-9.387 10.395a.703.703 0 0 1-.797.17.711.711 0 0 1-.233-.17l-9.39-10.402a.708.708 0 0 1 .042-.973l4.481-4.2a.679.679 0 0 1 .473-.188h9.818a.672.672 0 0 1 .469.188c.748.699 3.38 3.167 4.485 4.206a.674.674 0 0 1 .216.473Z" fill="#fff" fill-opacity="0.9"></path>
1166        <path d="M24.001 32.216a.703.703 0 0 1-.515-.23l-9.39-10.402a.669.669 0 0 1-.174-.494h5.211l4.868 11.126Z" fill="#bababa"></path>
1167        <path fill="#fff" d="M19.132 16.222h9.735v4.867h-9.735z"></path>
1168        <path d="M34.079 21.09a.687.687 0 0 1-.177.501l-9.387 10.395a.7.7 0 0 1-.515.23l4.868-11.126h5.211Z" fill="#bababa"></path>
1169        <path d="M28.867 21.09 24 32.216 19.132 21.09h9.735Z" fill="#d7d7d7"></path>
1170    </g>
1171</svg>
1172`,"plan-business":`<svg width="100%" height="100%" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
1173
1174    <path d="M48 23.9c0 7.948-6.452 14.4-14.4 14.4H14.4C6.452 38.3 0 31.848 0 23.9S6.452 9.5 14.4 9.5h19.2c7.948 0 14.4 6.452 14.4 14.4Z" fill="#803e29"></path>
1175    <path d="M33.6 11.42H14.4c-6.893 0-12.48 5.588-12.48 12.48 0 6.893 5.587 12.48 12.48 12.48h19.2c6.893 0 12.48-5.587 12.48-12.48 0-6.892-5.587-12.48-12.48-12.48ZM14.4 9.5C6.447 9.5 0 15.947 0 23.9s6.447 14.4 14.4 14.4h19.2c7.953 0 14.4-6.447 14.4-14.4S41.553 9.5 33.6 9.5H14.4Z" fill-rule="evenodd" fill-opacity="0.3"></path>
1176    <path d="M32.65 20.241a1.247 1.247 0 0 0-1.305-.179l-3.952 1.756-2.301-4.141A1.243 1.243 0 0 0 24 17.033a1.25 1.25 0 0 0-1.093.644l-2.301 4.141-3.953-1.756a1.245 1.245 0 0 0-1.692.744c-.074.22-.085.457-.032.684l1.988 8.463a1.235 1.235 0 0 0 .579.789 1.266 1.266 0 0 0 .976.129 20.773 20.773 0 0 1 11.052-.002 1.264 1.264 0 0 0 .975-.128 1.25 1.25 0 0 0 .579-.788l1.992-8.463a1.244 1.244 0 0 0-.42-1.249Z" fill="#fff"></path>
1177</svg>
1178`,"plan-free":`<svg width="100%" height="100%" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
1179
1180    <path d="M48 23.9c0 7.948-6.452 14.4-14.4 14.4H14.4C6.452 38.3 0 31.848 0 23.9S6.452 9.5 14.4 9.5h19.2c7.948 0 14.4 6.452 14.4 14.4Z" fill="#c3c3c3"></path>
1181    <path d="M46 24c0 6.844-5.556 12.4-12.4 12.4H14.4C7.556 36.4 2 30.844 2 24s5.556-12.4 12.4-12.4h19.2C40.444 11.6 46 17.156 46 24Z" fill="#d9d9d9"></path>
1182    <path d="M24.004 19.266c.8-1.183 1.92-2.263 3.733-2.263 2.08 0 4.267 1.8 4.267 4.629 0 4.217-5.707 8.588-6.933 9.308-.587.36-.747.463-1.067.463-.32 0-.48-.103-1.067-.463-1.226-.72-6.933-5.091-6.933-9.308 0-2.829 2.187-4.629 4.267-4.629 1.813 0 2.933 1.08 3.733 2.263Z" fill="#fff"></path>
1183</svg>
1184`,"plan-io":`<svg width="100%" height="100%" viewBox="0 0 25 25" xmlns="http://www.w3.org/2000/svg">
1185
1186  <path fill-rule="evenodd" clip-rule="evenodd" d="M17.5,6h-10C3.9,6,1,8.9,1,12.5C1,16.1,3.9,19,7.5,19h10c3.6,0,6.5-2.9,6.5-6.5C24,8.9,21.1,6,17.5,6z M7.5,5C3.4,5,0,8.4,0,12.5C0,16.6,3.4,20,7.5,20h10c4.1,0,7.5-3.4,7.5-7.5C25,8.4,21.6,5,17.5,5H7.5z"></path>
1187  <path d="M10.9,12.5c0-0.5,0.1-1,0.3-1.4c0.2-0.4,0.5-0.8,0.8-1.1c0.3-0.3,0.8-0.6,1.2-0.7c0.5-0.2,1-0.3,1.6-0.3c0.6,0,1.1,0.1,1.6,0.3c0.5,0.2,0.9,0.4,1.2,0.7c0.3,0.3,0.6,0.7,0.8,1.1c0.2,0.4,0.3,0.9,0.3,1.4c0,0.5-0.1,1-0.3,1.4c-0.2,0.4-0.5,0.8-0.8,1.1c-0.3,0.3-0.8,0.6-1.2,0.7c-0.5,0.2-1,0.3-1.6,0.3c-0.6,0-1.1-0.1-1.6-0.3c-0.5-0.2-0.9-0.4-1.2-0.7c-0.3-0.3-0.6-0.7-0.8-1.1C11,13.5,10.9,13.1,10.9,12.5z M12.3,12.5c0,0.4,0.1,0.7,0.2,1c0.1,0.3,0.3,0.5,0.5,0.7c0.2,0.2,0.5,0.4,0.8,0.5c0.3,0.1,0.6,0.2,1,0.2c0.4,0,0.7-0.1,1-0.2c0.3-0.1,0.6-0.3,0.8-0.5c0.2-0.2,0.4-0.4,0.5-0.7c0.1-0.3,0.2-0.6,0.2-1c0-0.4-0.1-0.7-0.2-1c-0.1-0.3-0.3-0.5-0.5-0.7c-0.2-0.2-0.5-0.3-0.8-0.4c-0.3-0.1-0.6-0.2-1-0.2c-0.4,0-0.7,0.1-1,0.2c-0.3,0.1-0.6,0.3-0.8,0.4c-0.2,0.2-0.4,0.4-0.5,0.7C12.3,11.9,12.3,12.2,12.3,12.5z"></path>
1188  <path d="M7,9.1h1.4V16H7V9.1z"></path>
1189</svg>
1190`,"password-code":`<svg width="100%" height="100%" viewBox="0 0 50 26" fill="none" xmlns="http://www.w3.org/2000/svg">
1191<path d="M42.9688 0.988281H7.03125C5.37422 0.990142 3.78559 1.64922 2.61389 2.82092C1.44219 3.99262 0.783111 5.58125 0.78125 7.23828V18.7617C0.783111 20.4188 1.44219 22.0074 2.61389 23.1791C3.78559 24.3508 5.37422 25.0099 7.03125 25.0117H42.9688C44.6258 25.0099 46.2144 24.3508 47.3861 23.1791C48.5578 22.0074 49.2169 20.4188 49.2188 18.7617V7.23828C49.2169 5.58125 48.5578 3.99262 47.3861 2.82092C46.2144 1.64922 44.6258 0.990142 42.9688 0.988281ZM46.0938 18.7617C46.0928 19.5902 45.7633 20.3845 45.1774 20.9704C44.5916 21.5562 43.7973 21.8858 42.9688 21.8867H7.03125C6.20273 21.8858 5.40842 21.5562 4.82257 20.9704C4.23672 20.3845 3.90718 19.5902 3.90625 18.7617V7.23828C3.90718 6.40977 4.23672 5.61545 4.82257 5.0296C5.40842 4.44375 6.20273 4.11421 7.03125 4.11328H42.9688C43.7973 4.11421 44.5916 4.44375 45.1774 5.0296C45.7633 5.61545 46.0928 6.40977 46.0938 7.23828V18.7617ZM16.2253 12.8378L15.9004 13L16.2253 13.1622C16.5405 13.3194 16.7934 13.5786 16.9428 13.8976C17.0923 14.2166 17.1296 14.5767 17.0486 14.9195C16.9676 15.2624 16.7732 15.5678 16.4969 15.7862C16.2205 16.0047 15.8784 16.1233 15.5262 16.1229C15.0672 16.1229 14.871 15.9789 13.9648 15.5265V16.5805C13.9648 16.9949 13.8002 17.3923 13.5072 17.6853C13.2142 17.9783 12.8167 18.143 12.4023 18.143C11.9879 18.143 11.5905 17.9783 11.2975 17.6853C11.0045 17.3923 10.8398 16.9949 10.8398 16.5805V15.5265C9.93652 15.9774 9.73818 16.1229 9.27852 16.1229C8.92625 16.1233 8.58418 16.0047 8.30783 15.7862C8.03147 15.5678 7.83704 15.2624 7.75608 14.9195C7.67513 14.5767 7.7124 14.2166 7.86185 13.8976C8.0113 13.5786 8.26416 13.3194 8.57939 13.1622L8.9043 13L8.57939 12.8378C8.20955 12.6522 7.92845 12.3274 7.79777 11.9347C7.6671 11.5421 7.69752 11.1136 7.88237 10.7434C8.06722 10.3731 8.3914 10.0913 8.78377 9.95984C9.17614 9.82832 9.60466 9.85783 9.97529 10.0419L10.8398 10.4735V9.41953C10.8398 9.00513 11.0045 8.6077 11.2975 8.31468C11.5905 8.02165 11.9879 7.85703 12.4023 7.85703C12.8167 7.85703 13.2142 8.02165 13.5072 8.31468C13.8002 8.6077 13.9648 9.00513 13.9648 9.41953V10.4735L14.8294 10.0419C15.2 9.85783 15.6285 9.82832 16.0209 9.95984C16.4133 10.0913 16.7375 10.3731 16.9223 10.7434C17.1072 11.1136 17.1376 11.5421 17.0069 11.9347C16.8762 12.3274 16.5951 12.6522 16.2253 12.8378ZM41.4206 12.8378L41.0957 13L41.4206 13.1622C41.7905 13.3478 42.0716 13.6726 42.2022 14.0653C42.3329 14.4579 42.3025 14.8864 42.1176 15.2566C41.9328 15.6269 41.6086 15.9087 41.2162 16.0402C40.8239 16.1717 40.3953 16.1422 40.0247 15.9581L39.1602 15.5265V16.5805C39.1602 16.9949 38.9955 17.3923 38.7025 17.6853C38.4095 17.9783 38.0121 18.143 37.5977 18.143C37.1833 18.143 36.7858 17.9783 36.4928 17.6853C36.1998 17.3923 36.0352 16.9949 36.0352 16.5805V15.5265L35.1706 15.9581C34.987 16.0503 34.787 16.1053 34.582 16.1201C34.3771 16.1349 34.1712 16.1091 33.9763 16.0442C33.7813 15.9793 33.6011 15.8766 33.4459 15.742C33.2906 15.6074 33.1635 15.4434 33.0717 15.2596C32.9799 15.0758 32.9253 14.8756 32.911 14.6707C32.8966 14.4657 32.9229 14.2599 32.9882 14.0651C33.0535 13.8703 33.1566 13.6902 33.2915 13.5353C33.4265 13.3804 33.5907 13.2536 33.7747 13.1622L34.0996 13L33.7747 12.8378C33.5907 12.7464 33.4265 12.6196 33.2915 12.4647C33.1566 12.3098 33.0535 12.1297 32.9882 11.9349C32.9229 11.7401 32.8966 11.5343 32.911 11.3293C32.9253 11.1244 32.9799 10.9242 33.0717 10.7404C33.1635 10.5566 33.2906 10.3926 33.4459 10.258C33.6011 10.1234 33.7813 10.0207 33.9763 9.9558C34.1712 9.89092 34.3771 9.86512 34.582 9.8799C34.787 9.89467 34.987 9.94972 35.1706 10.0419L36.0352 10.4735V9.41953C36.0352 9.00513 36.1998 8.6077 36.4928 8.31468C36.7858 8.02165 37.1833 7.85703 37.5977 7.85703C38.0121 7.85703 38.4095 8.02165 38.7025 8.31468C38.9955 8.6077 39.1602 9.00513 39.1602 9.41953V10.4735L40.0247 10.0419C40.3953 9.85783 40.8239 9.82832 41.2162 9.95984C41.6086 10.0913 41.9328 10.3731 42.1176 10.7434C42.3025 11.1136 42.3329 11.5421 42.2022 11.9347C42.0716 12.3274 41.7905 12.6522 41.4206 12.8378ZM28.823 12.8378L28.498 13L28.823 13.1622C29.1382 13.3194 29.391 13.5786 29.5405 13.8976C29.6899 14.2166 29.7272 14.5767 29.6463 14.9195C29.5653 15.2624 29.3709 15.5678 29.0945 15.7862C28.8182 16.0047 28.4761 16.1233 28.1238 16.1229C27.6648 16.1229 27.4687 15.9789 26.5625 15.5265V16.5805C26.5625 16.9949 26.3979 17.3923 26.1049 17.6853C25.8118 17.9783 25.4144 18.143 25 18.143C24.5856 18.143 24.1882 17.9783 23.8951 17.6853C23.6021 17.3923 23.4375 16.9949 23.4375 16.5805V15.5265L22.573 15.9581C22.3893 16.0503 22.1893 16.1053 21.9844 16.1201C21.7794 16.1349 21.5736 16.1091 21.3786 16.0442C21.1837 15.9793 21.0034 15.8766 20.8482 15.742C20.693 15.6074 20.5658 15.4434 20.4741 15.2596C20.3823 15.0758 20.3277 14.8756 20.3133 14.6707C20.299 14.4657 20.3252 14.2599 20.3905 14.0651C20.4558 13.8703 20.5589 13.6902 20.6939 13.5353C20.8288 13.3804 20.993 13.2536 21.177 13.1622L21.502 13L21.177 12.8378C20.993 12.7464 20.8288 12.6196 20.6939 12.4647C20.5589 12.3098 20.4558 12.1297 20.3905 11.9349C20.3252 11.7401 20.299 11.5343 20.3133 11.3293C20.3277 11.1244 20.3823 10.9242 20.4741 10.7404C20.5658 10.5566 20.693 10.3926 20.8482 10.258C21.0034 10.1234 21.1837 10.0207 21.3786 9.9558C21.5736 9.89092 21.7794 9.86512 21.9844 9.8799C22.1893 9.89467 22.3893 9.94972 22.573 10.0419L23.4375 10.4735V9.41953C23.4375 9.00513 23.6021 8.6077 23.8951 8.31468C24.1882 8.02165 24.5856 7.85703 25 7.85703C25.4144 7.85703 25.8118 8.02165 26.1049 8.31468C26.3979 8.6077 26.5625 9.00513 26.5625 9.41953V10.4735L27.427 10.0419C27.7977 9.85783 28.2262 9.82832 28.6186 9.95984C29.0109 10.0913 29.3351 10.3731 29.52 10.7434C29.7048 11.1136 29.7352 11.5421 29.6046 11.9347C29.4739 12.3274 29.1928 12.6522 28.823 12.8378Z" fill="#8A90A4"></path>
1192</svg>
1193`,"plan-pro":`<svg width="100%" height="100%" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
1194
1195    <path d="M48 23.9c0 7.948-6.452 14.4-14.4 14.4H14.4C6.452 38.3 0 31.848 0 23.9S6.452 9.5 14.4 9.5h19.2c7.948 0 14.4 6.452 14.4 14.4Z" fill="#de9c5f"></path>
1196    <path d="M33.6 11.42H14.4c-6.893 0-12.48 5.588-12.48 12.48 0 6.893 5.587 12.48 12.48 12.48h19.2c6.893 0 12.48-5.587 12.48-12.48 0-6.892-5.587-12.48-12.48-12.48ZM14.4 9.5C6.447 9.5 0 15.947 0 23.9s6.447 14.4 14.4 14.4h19.2c7.953 0 14.4-6.447 14.4-14.4S41.553 9.5 33.6 9.5H14.4Z" fill-rule="evenodd" fill-opacity="0.1"></path>
1197    <path d="m23.596 15.259 2.966 5.687 6.634.918-4.801 4.424 1.133 6.251-5.932-2.953-5.933 2.953 1.133-6.251-4.8-4.424 6.633-.918 2.967-5.687Z" fill="#fff"></path>
1198</svg>
1199`,pin:`<svg width="100%" height="100%" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg">
1200    <path class="add-fill" d="M7.673,0.321L7.165,0.829L8.181,2.863L4.114,6.93L4.114,6.931L2.081,5.913L1.573,6.421L4.622,9.471L1.064,13.03L1.064,14.047L2.081,14.047L5.639,10.488L8.689,13.539L9.198,13.03L8.181,10.996L12.248,6.93L14.283,7.948L14.788,7.436L7.673,0.321Z" fill="rgb(113,111,128)"></path>
1201</svg>
1202`,"plus-add":`<svg width="100%" height="100%" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg">
1203
1204  <path d="M6,8L3.111,8C2.559,8 2.111,7.552 2.111,7C2.111,6.448 2.559,6 3.111,6L6,6L6,3.111C6,2.559 6.448,2.111 7,2.111C7.552,2.111 8,2.559 8,3.111L8,6L10.889,6C11.441,6 11.889,6.448 11.889,7C11.889,7.552 11.441,8 10.889,8L8,8L8,10.889C8,11.441 7.552,11.889 7,11.889C6.448,11.889 6,11.441 6,10.889L6,8Z"></path>
1205</svg>
1206`,play:`
1207<svg width="100%" height="100%" viewBox="0 0 8 10" fill="none" xmlns="http://www.w3.org/2000/svg">
1208    <path d="M7.5 4.13397C8.16667 4.51888 8.16667 5.48113 7.5 5.86603L1.5 9.33013C0.833334 9.71503 5.06336e-07 9.2339 5.39985e-07 8.4641L8.42827e-07 1.5359C8.76476e-07 0.766098 0.833334 0.284973 1.5 0.669873L7.5 4.13397Z" fill="black"></path>
1209</svg>
1210`,"plus-thin":`<svg width="100%" height="100%" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg">
1211    <path d="M7.322,8.498L1.215,8.498C0.84,8.498 0.536,8.194 0.536,7.82C0.536,7.445 0.84,7.141 1.215,7.141L7.322,7.141L7.322,1.216C7.322,0.842 7.626,0.538 8.001,0.538C8.375,0.538 8.679,0.842 8.679,1.216L8.679,7.141L14.785,7.141C15.16,7.141 15.464,7.445 15.464,7.82C15.464,8.194 15.16,8.498 14.785,8.498L8.679,8.498L8.679,14.785C8.679,15.159 8.375,15.463 8.001,15.463C7.626,15.463 7.322,15.159 7.322,14.785L7.322,8.498Z" style="fill:rgb(115,115,115);"></path>
1212</svg>
1213`,polygon:`<svg width="100%" height="100%" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
1214
1215  <path d="M10.5,6L1.5,11.196L1.5,0.804L10.5,6Z"></path>
1216</svg>
1217`,"plus-rounded":`
1218<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
1219  <path d="M13 9.00001L5.00001 8.99999" stroke="black" stroke-linecap="round" stroke-linejoin="round"></path>
1220  <path d="M9 5L9.00002 13" stroke="black" stroke-linecap="round" stroke-linejoin="round"></path>
1221  <rect x="0.5" y="0.5" width="17" height="17" rx="5.5" stroke="black"></rect>
1222</svg>
1223`,plus:`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
1224
1225    <path d="M8.25,9.75L4,9.75C3.586,9.75 3.25,9.414 3.25,9C3.25,8.586 3.586,8.25 4,8.25L8.25,8.25L8.25,4C8.25,3.586 8.586,3.25 9,3.25C9.414,3.25 9.75,3.586 9.75,4L9.75,8.25L14,8.25C14.414,8.25 14.75,8.586 14.75,9C14.75,9.414 14.414,9.75 14,9.75L9.75,9.75L9.75,14C9.75,14.414 9.414,14.75 9,14.75C8.586,14.75 8.25,14.414 8.25,14L8.25,9.75Z"></path>
1226</svg>
1227`,postmark:`
1228    <svg width="100%" height="100%" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
1229      <g clip-path="url(#postmark-clip0)">
1230        <path fill-rule="evenodd" clip-rule="evenodd" d="M1.86667 0H5.89477V1.47364H11.7895V0H16.2099V1.47339H22.1046V0H26.1333C27.1643 0 28 0.835736 28 1.86667V5.89472H26.5262V11.7895H28V16.2105H26.5262V22.1053H28V26.1333C28 27.1643 27.1643 28 26.1333 28H22.1046V26.526H16.2099V28H11.7895V26.5263H5.89477V28H1.86667C0.835735 28 0 27.1643 0 26.1333V22.1053H1.47384V16.2105H0V11.7894H1.47354V5.89468H0V1.86667C0 0.835735 0.835736 0 1.86667 0V0ZM18.1255 14.3454C18.9213 13.5433 19.3193 12.4969 19.3193 11.2061C19.3193 10.1659 19.1375 9.33242 18.7741 8.70579C18.4106 8.0729 17.809 7.60292 16.9694 7.29588C16.1359 6.98883 15.008 6.8353 13.5856 6.8353H8.3125V8.60239H10.0796V19.2331H8.3125V21.0002H14.065V19.2331H12.2227V15.5673H14.0837C15.9824 15.5548 17.3297 15.1475 18.1255 14.3454ZM16.3678 9.22276C16.8879 9.63004 17.1479 10.2755 17.1479 11.159C17.1479 11.8545 17.0258 12.3998 16.7813 12.7945C16.537 13.1831 16.1548 13.4588 15.6346 13.6217C15.1146 13.7783 14.419 13.8566 13.548 13.8566H12.2227V8.60239H13.6983C14.9579 8.60239 15.8477 8.80918 16.3678 9.22276Z" fill="#FADE4B"></path>
1231        <path d="M19.3193 11.2067C19.3193 12.4975 18.9213 13.544 18.1255 14.3461C17.3297 15.1482 15.9824 15.5555 14.0837 15.568H12.2227V19.2337H14.065V21.0008H8.3125V19.2337H10.0796V8.60303H8.3125V6.83594H13.5856C15.008 6.83594 16.1359 6.98946 16.9694 7.29651C17.809 7.60356 18.4106 8.07353 18.7741 8.70642C19.1375 9.33305 19.3193 10.1665 19.3193 11.2067ZM17.1479 11.1597C17.1479 10.2762 16.8879 9.63067 16.3678 9.22339C15.8477 8.80982 14.9579 8.60303 13.6983 8.60303H12.2227V13.8573H13.548C14.419 13.8573 15.1146 13.779 15.6346 13.6224C16.1548 13.4594 16.537 13.1837 16.7813 12.7951C17.0258 12.4004 17.1479 11.8552 17.1479 11.1597Z" fill="#333333"></path>
1232      </g>
1233      <defs>
1234        <clipPath id="postmark-clip0">
1235          <rect width="28" height="28" fill="white"></rect>
1236        </clipPath>
1237      </defs>
1238    </svg>
1239`,"protect-black":`<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
1240<path d="M9.8727 1.66741C9.81951 1.67012 9.76696 1.68008 9.71654 1.697L3.71021 3.78027C3.62459 3.81007 3.54733 3.85938 3.4847 3.92417C3.42208 3.98897 3.37587 4.06741 3.34983 4.15313C2.55114 6.73141 2.59532 9.67949 3.60811 12.2909C4.62089 14.9023 6.63388 17.1779 9.71054 18.2981C9.83852 18.3442 9.97896 18.3442 10.1069 18.2981C13.1836 17.1779 15.1966 14.9023 16.2094 12.2909C17.2222 9.67949 17.2664 6.73141 16.4677 4.15313C16.4416 4.06741 16.3954 3.98897 16.3328 3.92417C16.2702 3.85938 16.1929 3.81007 16.1073 3.78027L10.1009 1.697C10.0277 1.67212 9.95003 1.66206 9.8727 1.66741Z" fill="black"></path>
1241</svg>
1242`,question:`
1243<svg width="100%" height="100%" viewBox="0 0 10 14" fill="none" xmlns="http://www.w3.org/2000/svg">
1244    <path d="M4.69005 13.9229C3.83909 13.9229 3.14679 13.2739 3.14679 12.4374C3.14679 11.608 3.83909 10.9518 4.69005 10.9518C5.54823 10.9518 6.24054 11.6008 6.24054 12.4374C6.24054 13.2739 5.55544 13.9229 4.69005 13.9229ZM7.58909 6.93497C6.33428 7.66333 5.9088 8.19698 5.9088 9.12006V9.68977H3.4064L3.38477 9.06958C3.26217 7.584 3.7814 6.66093 5.08669 5.8965C6.30544 5.16814 6.81746 4.7066 6.81746 3.81237C6.81746 2.91814 5.95207 2.26189 4.87755 2.26189C3.78861 2.26189 3.00255 2.96862 2.94486 4.03593H0.384766C0.435246 1.71381 2.15159 0.0695801 5.05063 0.0695801C7.75496 0.0695801 9.61553 1.56958 9.61553 3.72583C9.61553 5.16093 8.92323 6.14891 7.58909 6.93497Z" fill="white"></path>
1245</svg>
1246`,"plus-black":`<svg width="100%" height="100%" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
1247  <rect width="48" height="48" rx="24" fill="black" fill-opacity="0.6"></rect>
1248  <path d="M30.6667 24.0007H17.3333" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
1249  <path d="M24 17.334V30.6675" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
1250  </svg>
1251`,"rotate-ccw-reload":`<svg width="100%" height="100%" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg">
1252
1253    <path d="M0.25,4.995L0.25,1.995C0.25,1.581 0.586,1.245 1,1.245C1.414,1.245 1.75,1.581 1.75,1.995L1.75,3.261C2.291,2.753 2.8,2.275 2.8,2.275C3.604,1.476 4.646,0.959 5.768,0.801C6.895,0.643 8.043,0.855 9.04,1.405C10.036,1.956 10.826,2.816 11.291,3.854C11.756,4.893 11.871,6.055 11.619,7.165C11.366,8.275 10.76,9.272 9.891,10.008C9.022,10.743 7.938,11.176 6.801,11.241C5.665,11.307 4.538,11.001 3.591,10.37C2.643,9.74 1.926,8.818 1.548,7.745C1.41,7.354 1.616,6.926 2.006,6.788C2.397,6.65 2.825,6.856 2.963,7.246C3.233,8.013 3.745,8.671 4.422,9.122C5.099,9.572 5.903,9.791 6.715,9.744C7.527,9.697 8.301,9.388 8.922,8.863C9.543,8.338 9.976,7.625 10.156,6.832C10.337,6.039 10.254,5.209 9.922,4.467C9.59,3.725 9.025,3.111 8.314,2.718C7.602,2.325 6.782,2.173 5.977,2.287C5.172,2.4 4.426,2.772 3.85,3.346C3.845,3.351 3.839,3.357 3.834,3.362L2.894,4.245L4,4.245C4.414,4.245 4.75,4.581 4.75,4.995C4.75,5.409 4.414,5.745 4,5.745L1.001,5.745C0.793,5.745 0.596,5.66 0.454,5.509C0.323,5.369 0.25,5.187 0.25,4.995Z"></path>
1254</svg>
1255`,reload:`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
1256
1257    <path d="M15.8,5.9C15.1,4.4 14,3.2 12.6,2.4C11.2,1.7 9.6,1.4 8,1.6C6.4,1.8 4.9,2.6 3.8,3.7L1.5,5.8L1.5,3C1.5,2.6 1.2,2.2 0.7,2.2C0.2,2.2 0,2.6 0,3L0,7.5C0,7.9 0.3,8.3 0.8,8.3L5.3,8.3C5.7,8.2 6,7.9 6,7.5C6,7.1 5.7,6.8 5.2,6.8L2.6,6.8L4.7,4.8C5.6,3.9 6.8,3.3 8.1,3.1C9.4,2.9 10.7,3.2 11.8,3.8C12.9,4.4 13.8,5.4 14.4,6.6C14.9,7.8 15.1,9.1 14.8,10.4C14.5,11.7 13.8,12.8 12.8,13.6C11.8,14.4 10.6,14.9 9.3,15C8,15.1 6.7,14.7 5.6,14C4.5,13.3 3.7,12.2 3.3,11C3.2,10.6 2.7,10.4 2.3,10.5C1.9,10.6 1.7,11.1 1.8,11.5C2.3,13 3.4,14.4 4.7,15.3C5.9,16.1 7.4,16.6 8.9,16.6L9.3,16.6C10.9,16.5 12.5,
125715.9 13.7,14.8C14.9,13.8 15.8,12.3 16.2,10.7C16.7,9.1 16.5,7.4 15.8,5.9Z" style="fill-rule:nonzero;"></path>
1258</svg>
1259`,"refresh-orange":`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
1260
1261    <path d="M6.544,8.182L5.492,6.938C5.569,6.807 5.644,6.678 5.733,6.56C6.11,6.049 6.603,5.634 7.17,5.347C7.737,5.06 8.363,4.911 8.999,4.909C10.375,4.909 11.584,5.597 12.326,6.639L13.784,5.909C13.271,5.103 12.565,4.44 11.728,3.979C10.892,3.518 9.953,3.276 8.999,3.273C7.48,3.273 6.023,3.876 4.949,4.95C3.875,6.025 3.271,7.481 3.271,9C3.271,9.514 3.361,10.002 3.487,10.475L6.544,8.182Z" fill="rgba(255,255,255,0.8)"></path>
1262    <path d="M11.453,9.818L12.506,11.062C12.429,11.193 12.353,11.322 12.265,11.44C11.887,11.951 11.395,12.367 10.828,12.653C10.261,12.94 9.634,13.09 8.999,13.091C8.346,13.09 7.704,12.933 7.125,12.632C6.546,12.331 6.048,11.895 5.672,11.362L4.214,12.091C4.726,12.897 5.433,13.561 6.269,14.021C7.105,14.482 8.044,14.725 8.999,14.727C10.518,14.727 11.975,14.124 13.049,13.05C14.123,11.976 14.726,10.519 14.726,9C14.726,8.486 14.636,7.999 14.51,7.526L11.453,9.818Z" fill="rgba(255,255,255,0.8)"></path>
1263    <path d="M9,0C6.613,0 4.324,0.948 2.636,2.636C0.948,4.324 0,6.613 0,9C0,11.387 0.948,13.676 2.636,15.364C4.324,17.052 6.613,18 9,18C11.387,18 13.676,17.052 15.364,15.364C17.052,13.676 18,11.387 18,9C18,6.613 17.052,4.324 15.364,2.636C13.676,0.948 11.387,0 9,0ZM3.273,9C3.273,7.481 3.876,6.024 4.95,4.95C6.024,3.876 7.481,3.273 9,3.273C11.018,3.273 12.767,4.333 13.785,5.909L12.327,6.639C11.951,6.105 11.453,5.67 10.874,5.369C10.295,5.068 9.652,4.91 9,4.909C7.658,4.909 6.48,5.564 5.734,6.56C5.645,6.678 5.57,6.809 5.493,6.937L6.545,8.182L3.489,10.474C3.352,9.995 3.28,9.499 3.273,9ZM9,14.727C8.045,14.725 7.107,14.482 6.27,14.021C5.434,13.56 4.728,12.897 4.215,12.091L5.673,11.361C6.049,11.895 6.547,12.331 7.126,12.632C7.705,12.932 8.348,13.09 9,13.091C10.342,13.091 11.52,12.436 12.266,11.44C12.355,11.322 12.43,11.191 12.507,11.064L11.455,9.818L14.511,7.526C14.637,8 14.727,8.486 14.727,9C14.727,10.519 14.124,11.976 13.05,13.05C11.976,14.124 10.519,14.727 9,14.727Z" fill="rgb(237,161,101)"></path>
1264</svg>
1265`,power:`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
1266
1267    <path d="M13.24,5.51C12.947,5.217 12.947,4.742 13.24,4.45C13.532,4.157 14.008,4.157 14.3,4.45C15.349,5.499 16.063,6.835 16.352,8.29C16.642,9.745 16.493,11.253 15.925,12.623C15.357,13.993 14.396,15.164 13.163,15.988C11.929,16.812 10.48,17.252 8.996,17.252C7.513,17.252 6.063,16.812 4.83,15.988C3.596,15.164 2.635,13.993 2.067,12.623C1.5,11.253 1.351,9.745 1.64,8.29C1.929,6.835 2.643,5.499 3.692,4.45C3.985,4.157 4.46,4.157 4.753,4.45C5.045,4.742 5.046,5.217 4.753,5.51C3.914,6.349 3.343,7.419 3.111,8.582C2.88,9.746 2.999,10.952 3.453,12.049C3.907,13.145 4.676,14.082 5.663,14.741C6.65,15.4 7.81,15.752 8.996,15.752C10.183,15.752 11.343,15.4 12.329,14.741C13.316,14.082 14.085,13.145 14.539,12.049C14.994,10.952 15.112,9.746 14.881,8.582C14.65,7.419 14.079,6.349 13.24,5.51Z"></path>
1268    <path d="M8.25,1.5C8.25,1.086 8.586,0.75 9,0.75C9.414,0.75 9.75,1.086 9.75,1.5L9.75,9C9.75,9.414 9.414,9.75 9,9.75C8.586,9.75 8.25,9.414 8.25,9L8.25,1.5Z"></path>
1269</svg>
1270`,reports:`<svg width="100%" height="100%" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg">
1271    <path class="add-fill" d="M3.666,19.5L3.666,10C3.666,9.724 3.89,9.5 4.166,9.5L7.333,9.5C7.609,9.5 7.833,9.724 7.833,10L7.833,19.5L3.666,19.5ZM9.916,19.5L9.916,5C9.916,4.724 10.14,4.5 10.416,4.5L13.583,4.5C13.859,4.5 14.083,4.724 14.083,5L14.083,19.5L9.916,19.5ZM16.166,19.5L16.166,11.667C16.166,11.391 16.39,11.167 16.666,11.167L19.833,11.167C20.109,11.167 20.333,11.391 20.333,11.667L20.333,19.5L16.166,19.5Z" fill="rgb(113,111,128)"></path>
1272</svg>
1273`,ru:`
1274<svg width="100%" height="100%" viewBox="0 0 21 15" fill="none" xmlns="http://www.w3.org/2000/svg">
1275  <mask id="ru-mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="21" height="15">
1276    <path d="M19 0H2C0.89543 0 0 0.89543 0 2V13C0 14.1046 0.89543 15 2 15H19C20.1046 15 21 14.1046 21 13V2C21 0.89543 20.1046 0 19 0Z" fill="white"></path>
1277  </mask>
1278  <g mask="url(#ru-mask0)">
1279  <path d="M19 0H2C0.89543 0 0 0.89543 0 2V13C0 14.1046 0.89543 15 2 15H19C20.1046 15 21 14.1046 21 13V2C21 0.89543 20.1046 0 19 0Z" fill="#0034A9"></path>
1280  <path fill-rule="evenodd" clip-rule="evenodd" d="M0 10H21V15H0V10Z" fill="#D7280F"></path>
1281  <path fill-rule="evenodd" clip-rule="evenodd" d="M0 0H21V5H0V0Z" fill="white"></path>
1282  <path d="M19 0.5H2C1.17157 0.5 0.5 1.17157 0.5 2V13C0.5 13.8284 1.17157 14.5 2 14.5H19C19.8284 14.5 20.5 13.8284 20.5 13V2C20.5 1.17157 19.8284 0.5 19 0.5Z" stroke="black" stroke-opacity="0.1"></path>
1283</g>
1284</svg>
1285`,"safe-circle":`<svg width="100%" height="100%" viewBox="0 0 40 40" version="1.1" xmlns="http://www.w3.org/2000/svg">
1286    <path d="M40,9C40,4.033 35.967,0 31,0L9,0C4.033,0 0,4.033 0,9L0,31C0,35.967 4.033,40 9,40L31,40C35.967,40 40,35.967 40,31L40,9Z" style="fill:rgb(251,243,236);"></path>
1287    <path d="M20,10.16C14.478,10.16 10,14.638 10,20.16C10,25.683 14.478,30.16 20,30.16C25.522,30.16 30,25.683 30,20.16C30,14.638 25.522,10.16 20,10.16ZM27.96,16.968L25.214,17.812C24.933,17.187 24.54,16.616 24.04,16.116C23.54,15.616 22.969,15.223 22.344,14.941L23.188,12.196C24.25,12.62 25.223,13.263 26.058,14.093C26.893,14.933 27.536,15.906 27.96,16.968ZM20,24.446C17.634,24.446 15.714,22.526 15.714,20.16C15.714,17.794 17.634,15.874 20,15.874C22.366,15.874 24.286,17.794 24.286,20.16C24.286,22.526 22.366,24.446 20,24.446ZM13.938,14.098C14.772,13.263 15.746,12.624 16.808,12.2L17.652,14.946C17.027,15.227 16.455,15.62 15.955,16.12C15.455,16.62 15.063,17.191 14.781,17.816L12.036,16.973C12.464,15.906 13.107,14.933 13.938,14.098ZM12.04,23.352L14.786,22.508C15.067,23.133 15.46,23.705 15.96,24.205C16.46,24.705 17.031,25.098 17.656,25.379L16.813,28.124C15.75,27.7 14.777,27.058 13.942,26.227C13.107,25.388 12.464,24.415 12.04,23.352ZM26.063,26.223C25.228,27.058 24.255,27.696 23.192,28.12L22.348,25.374C22.973,25.093 23.545,24.7 24.045,24.2C24.545,23.7 24.938,23.129 25.219,22.504L27.964,23.348C27.536,24.415 26.893,25.388 26.063,26.223Z" style="fill:rgb(212,131,67);fill-rule:nonzero;"></path>
1288</svg>
1289`,receipt:`<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
1290<path opacity="0.2" d="M5.60866 16.4165C6.29199 15.6832 7.33366 15.7415 7.93366 16.5415L8.77533 17.6665C9.45033 18.5582 10.542 18.5582 11.217 17.6665L12.0587 16.5415C12.6587 15.7415 13.7003 15.6832 14.3837 16.4165C15.867 17.9998 17.0753 17.4748 17.0753 15.2582V5.8665C17.0837 2.50817 16.3003 1.6665 13.1503 1.6665H6.85033C3.70033 1.6665 2.91699 2.50817 2.91699 5.8665V15.2498C2.91699 17.4748 4.13366 17.9915 5.60866 16.4165Z" fill="black" stroke="black" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></path>
1291<path d="M6.66699 5.8335H13.3337" stroke="black" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></path>
1292<path d="M7.5 9.1665H12.5" stroke="black" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"></path>
1293</svg>
1294`,settings:`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
1295
1296    <path d="M9.005,12.013C7.35,12.013 5.989,10.652 5.989,8.999C5.989,7.346 7.35,5.985 9.005,5.985C10.659,5.985 12.02,7.346 12.02,8.999C12.02,10.652 10.659,12.013 9.005,12.013ZM9.005,10.506C9.832,10.506 10.512,9.826 10.512,8.999C10.512,8.172 9.832,7.492 9.005,7.492C8.177,7.492 7.497,8.172 7.497,8.999C7.497,9.826 8.177,10.506 9.005,10.506Z"></path>
1297    <path d="M15.665,6.739C15.504,6.738 15.352,6.658 15.261,6.524C15.224,6.348 15.034,6.111 15.351,5.795C17.423,3.725 14.265,0.484 12.11,2.638C11.813,2.925 11.268,2.694 11.266,2.283C11.266,-0.739 6.743,-0.807 6.743,2.343C6.742,2.504 6.662,2.655 6.528,2.745C6.361,2.78 6.107,2.971 5.804,2.661C5.286,2.119 4.497,1.852 3.703,2.064C2.124,2.488 1.248,4.506 2.599,5.855C2.778,6.034 2.813,6.229 2.72,6.455C2.63,6.679 2.466,6.799 2.219,6.799C-0.73,6.799 -0.729,11.32 2.219,11.32C2.366,11.32 2.643,11.292 2.785,11.632C2.873,11.841 2.834,12.031 2.664,12.198C0.608,14.157 3.655,17.551 5.898,15.362C6.195,15.072 6.788,15.309 6.802,15.724C6.802,18.728 11.326,18.808 11.326,15.657C11.327,15.244 11.873,15.014 12.169,15.301C14.323,17.454 17.48,14.216 15.411,12.146C15.044,11.771 15.34,11.262 15.724,11.26C18.737,11.259 18.82,6.739 15.665,6.739ZM16.315,9.543C15.948,9.969 15.441,9.5 14.58,10.12C13.675,10.773 13.347,12.191 14.338,13.203C14.524,13.391 14.615,13.591 14.546,13.847C14.427,14.293 13.797,14.796 13.277,14.276C12.039,13.039 9.819,13.771 9.819,15.78C9.819,16.263 9.482,16.488 9.065,16.488C8.642,16.488 8.311,16.257 8.311,15.78C8.311,13.978 6.13,13.029 4.798,14.329C4.611,14.512 4.413,14.607 4.154,14.537C3.707,14.418 3.207,13.79 3.721,13.272C4.967,12.053 4.24,9.813 2.219,9.813C1.737,9.813 1.511,9.476 1.511,9.059C1.511,8.638 1.741,8.306 2.219,8.306C4.033,8.306 4.975,6.098 3.665,4.79C3.147,4.273 3.645,3.641 4.094,3.521C4.375,3.446 4.575,3.563 4.772,3.763C5.928,4.957 8.251,4.219 8.251,2.347C8.251,2.138 8.238,1.885 8.46,1.694C8.743,1.45 9.267,1.451 9.549,1.694C9.975,2.061 9.506,2.568 10.127,3.428C10.83,4.402 12.291,4.589 13.172,3.709C13.367,3.514 13.559,3.383 13.856,3.462C14.308,3.583 14.801,4.214 14.285,4.73C13.034,5.979 
129713.735,8.246 15.79,8.246C16.586,8.246 16.634,9.174 16.315,9.543Z"></path>
1298</svg>
1299`,"settings-grey":`<svg width="100%" height="100%" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg">
1300    <path class="add-fill" d="M19.14,12.94C19.18,12.64 19.2,12.33 19.2,12C19.2,11.68 19.18,11.36 19.13,11.06L21.16,9.48C21.34,9.34 21.39,9.07 21.28,8.87L19.36,5.55C19.24,5.33 18.99,5.26 18.77,5.33L16.38,6.29C15.88,5.91 15.35,5.59 14.76,5.35L14.4,2.81C14.36,2.57 14.16,2.4 13.92,2.4L10.08,2.4C9.84,2.4 9.65,2.57 9.61,2.81L9.25,5.35C8.66,5.59 8.12,5.92 7.63,6.29L5.24,5.33C5.02,5.25 4.77,5.33 4.65,5.55L2.74,8.87C2.62,9.08 2.66,9.34 2.86,9.48L4.89,11.06C4.84,11.36 4.8,11.69 4.8,12C4.8,12.31 4.82,12.64 4.87,12.94L2.84,14.52C2.66,14.66 2.61,14.93 2.72,15.13L4.64,18.45C4.76,18.67 5.01,18.74 5.23,18.67L7.62,17.71C8.12,18.09 8.65,18.41 9.24,18.65L9.6,21.19C9.65,21.43 9.84,21.6 10.08,21.6L13.92,21.6C14.16,21.6 14.36,21.43 14.39,21.19L14.75,18.65C15.34,18.41 15.88,18.09 16.37,17.71L18.76,18.67C18.98,18.75 19.23,18.67 19.35,18.45L21.27,15.13C21.39,14.91 21.34,14.66 21.15,14.52L19.14,12.94ZM12,15.6C10.02,15.6 8.4,13.98 8.4,12C8.4,10.02 10.02,8.4 12,8.4C13.98,8.4 15.6,10.02 15.6,12C15.6,13.98 13.98,15.6 12,15.6Z" fill="rgb(113,111,128)"></path>
1301</svg>
1302`,"sales-chart":`<svg width="100%" height="100%" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg">
1303    <path class="add-fill" d="M21,8C19.55,8 18.74,9.44 19.07,10.51L15.52,14.07C15.22,13.98 14.78,13.98 14.48,14.07L11.93,11.52C12.27,10.45 11.46,9 10,9C8.55,9 7.73,10.44 8.07,11.52L3.51,16.07C2.44,15.74 1,16.55 1,18C1,19.1 1.9,20 3,20C4.45,20 5.26,18.56 4.93,17.49L9.48,12.93C9.78,13.02 10.22,13.02 10.52,12.93L13.07,15.48C12.73,16.55 13.54,18 15,18C16.45,18 17.27,16.56 16.93,15.48L20.49,11.93C21.56,12.26 23,11.45 23,10C23,8.9 22.1,8 21,8Z" fill="rgb(113,111,128)"></path>
1304    <path class="add-fill" d="M15,9L15.94,6.93L18,6L15.94,5.07L15,3L14.08,5.07L12,6L14.08,6.93L15,9Z" fill="rgb(113,111,128)"></path>
1305    <path class="add-fill" d="M3.5,11L4,9L6,8.5L4,8L3.5,6L3,8L1,8.5L3,9L3.5,11Z" fill="rgb(113,111,128)"></path>
1306</svg>
1307`,"shield-2fa":`<svg width="100%" height="100%" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">
1308
1309    <path d="M40,12L40,28C40,34.623 34.623,40 28,40L12,40C5.377,40 0,34.623 0,28L0,12C0,5.377 5.377,0 12,0L28,0C34.623,0 40,5.377 40,12Z" style="fill:rgb(212,131,67);fill-opacity:0.2;"></path>
1310    <path d="M31.3,10.1L20.3,6.1C20.1,6 19.8,6 19.6,6.1L8.6,10.1C8.3,10.2 8,10.6 8,11L8,19C8,27.3 12.4,29.8 18.4,33.2L19.5,33.8C19.7,34 19.8,34 20,34C20.2,34 20.3,34 20.5,33.9L21.6,33.3C27.6,29.8 32,27.3 32,19.1L32,11C32,10.6 31.7,10.2 31.3,10.1Z" style="fill:rgb(232,184,92);fill-rule:nonzero;"></path>
1311    <path d="M19.7,6.1L8.7,10.1C8.3,10.2 8,10.6 8,11L8,19C8,27.3 12.4,29.8 18.4,33.2L19.5,33.8C19.6,33.9 19.8,33.9 19.9,33.9L19.9,6C19.8,6 19.7,6 19.7,6.1Z" style="fill:rgb(224,142,52);fill-rule:nonzero;"></path>
1312    <path d="M32,20L32,11C32,10.6 31.7,10.2 31.3,10.1L20.3,6.1C20.1,6 19.8,6 19.6,6.1L8.6,10.1C8.3,10.2 8,10.6 8,11L8,20L32,20Z" style="fill:rgb(232,184,92);fill-rule:nonzero;"></path>
1313    <path d="M31.3,10.1L20.3,6.1C20.2,6 20.1,6 20,6L20,20L32,20L32,11C32,10.6 31.7,10.2 31.3,10.1Z" style="fill:rgb(227,163,74);fill-rule:nonzero;"></path>
1314</svg>
1315`,"shield-grey":`<svg width="100%" height="100%" viewBox="0 0 10 12" fill="none" xmlns="http://www.w3.org/2000/svg">
1316<g opacity="0.22">
1317<path d="M9.84775 2.29247C9.85763 2.21163 9.80641 2.13581 9.72774 2.11488C8.16241 1.42544 6.59738 0.729563 5.03295 0.0272409C4.96131 -0.00908032 4.87662 -0.00908032 4.80497 0.0272409C3.24448 0.724721 1.68361 1.41942 0.122178 2.11128C0.0392405 2.13991 -0.0113089 2.22376 0.00216512 2.31047V4.04177V5.42634V5.42626C-0.00436277 6.99478 0.524735 8.5187 1.50189 9.74548C2.30373 10.8051 3.42182 11.5821 4.6946 11.9638C4.84373 12.0112 5.00384 12.0112 5.15298 11.9638C6.53395 11.5487 7.62218 10.7269 8.47402 9.57986V9.57995C9.14129 8.68656 9.58142 7.64444 9.75657 6.54321C9.81071 6.19748 9.83875 5.84817 9.84059 5.49827C9.85256 4.42922 9.84059 3.36023 9.84779 2.29249L9.84775 2.29247ZM9.24058 5.55952C9.23731 5.86785 9.21087 6.1754 9.16132 6.47969C9.00809 7.44314 8.62361 8.35502 8.04079 9.13721C7.32641 10.
13171375 6.30079 10.873 5.12404 11.2284C5.0606 11.2479 4.99482 11.2584 4.92845 11.2596V0.739849C4.95958 0.741105 4.99013 0.748469 5.01842 0.761441C6.39337 1.37414 7.7672 1.98483 9.13967 2.59351C9.20662 2.61351 9.2493 2.67896 9.24052 2.74825V5.55938L9.24058 5.55952Z" fill="black"></path>
1318</g>
1319</svg>
1320`,shop:`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
1321    <path d="M1.513,8.326C1.122,7.73 0.928,6.99 1.007,6.189L1.21,4.127C1.211,4.117 1.212,4.107 1.213,4.097C1.379,2.904 1.733,2.096 2.304,1.568C2.886,1.031 3.717,0.75 4.941,0.75C4.941,0.75 7.244,0.75 7.251,0.75L10.724,0.75L13.011,0.75C14.235,0.75 15.067,1.031 15.648,1.568C16.22,2.096 16.574,2.904 16.739,4.097C16.74,4.106 16.742,4.115 16.742,4.124L16.952,6.187L16.953,6.188C17.03,6.971 16.847,7.696 16.474,8.284C16.481,8.326 16.485,8.37 16.485,8.414L16.485,11.782C16.485,13.72 16.043,15.06 15.17,15.933C14.297,16.807 12.956,17.249 11.018,17.249C11.018,17.249 10.875,17.25 10.874,17.25L7.124,17.25C7.122,17.25 6.975,17.249 6.975,17.249C5.037,17.249 3.696,16.807 2.823,15.933C1.95,15.06 1.508,13.72 1.508,11.782L1.508,8.414C1.508,8.384 1.51,8.355 1.513,8.326ZM6.634,8.645C6.028,9.318 5.154,9.75 4.229,9.75C3.792,9.75 3.381,9.671 3.008,9.528L3.008,11.782C3.008,13.211 3.24,14.229 3.884,14.873C4.434,15.423 5.256,15.672 6.374,15.734L6.374,14.625C6.374,13.757 6.628,13.12 7.061,12.687C7.494,12.255 8.131,12 8.999,12C9.867,12 10.504,12.255 10.936,12.687C11.369,13.12 11.624,13.757 11.624,14.625L11.624,15.733C12.74,15.672 13.56,15.422 14.109,14.873C14.753,14.229 14.985,13.211 14.985,11.782L14.985,9.515C14.604,9.667 14.181,9.75 13.731,9.75C12.816,9.75 11.951,9.327 11.345,8.667C10.802,9.332 9.967,9.75 8.998,9.75C8.019,9.75 7.177,9.323 6.634,8.645ZM10.045,2.25L7.929,2.25L7.495,6.584C7.405,7.501 8.08,8.25 8.998,8.25C9.821,8.25 10.449,7.649 10.506,6.864C10.505,6.854 10.503,6.832 10.503,6.832L10.045,2.25ZM12.011,6.794C12.153,7.607 12.904,8.25 13.731,8.25C14.79,8.25 15.565,7.39 15.46,6.337C15.46,6.337 15.252,4.291 15.25,4.282C15.146,3.536 14.99,3.001 14.631,2.67C14.278,2.344 13.753,2.25 13.011,2.25L11.581,2.25L11.995,6.436C12.007,6.557 12.012,6.677 12.011,6.794ZM7.874,15.75L10.124,15.75L10.124,14.625C10.124,14.24 10.068,13.94 9.876,13.748C9.684,13.556 9.384,13.5 8.999,13.5C8.614,13.5 8.314,13.556 8.122,13.748C7.93,13.94 7.874,14.24 7.874,14.625C7.874,14.625 7.874,15.75 7.874,15.75ZM4.229,8.25C5.093,8.25 5.874,7.549 5.957,6.685L5.957,6.683L6.123,5.025L6.4,2.25L4.941,2.25C4.2,2.25 3.674,2.344 3.322,2.67C2.962,3.003 2.806,3.539 2.701,4.289L2.5,6.337C2.395,7.39 3.17,8.25 4.229,8.25Z"></path>
1322</svg>
1323`,search:`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
1324
1325    <path d="M12.463,13.524C11.308,14.448 9.844,15 8.25,15C4.522,15 1.5,11.978 1.5,8.25C1.5,4.522 4.522,1.5 8.25,1.5C11.978,1.5 15,4.522 15,8.25C15,9.844 14.448,11.309 13.524,12.463L16.28,15.22C16.573,15.512 16.573,15.988 16.28,16.28C15.987,16.573 15.512,16.573 15.219,16.28L12.463,13.524ZM12.032,11.892C12.941,10.948 13.5,9.664 13.5,8.25C13.5,5.351 11.149,3 8.25,3C5.351,3 3,5.351 3,8.25C3,11.149 5.351,13.5 8.25,13.5C9.664,13.5 10.948,12.941 11.892,12.032C11.911,12.006 11.933,11.981 11.957,11.957C11.981,11.933 12.006,11.912 12.032,11.892Z"></path>
1326</svg>
1327`,sort:`<svg width="100%" height="100%" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg">
1328
1329    <g class="group">
1330        <path d="M26,12C26.265,12 26.52,12.105 26.707,12.293C26.895,12.48 27,12.735 27,13C27,13.265 26.895,13.52 26.707,13.707C26.52,13.895 26.265,14 26,14L18,14C17.735,14 17.48,13.895 17.293,13.707C17.105,13.52 17,13.265 17,13C17,12.735 17.105,12.48 17.293,12.293C17.48,12.105 17.735,12 18,12L26,12Z"></path>
1331        <path d="M26,17C26.265,17 26.52,17.105 26.707,17.293C26.895,17.48 27,17.735 27,18C27,18.265 26.895,18.52 26.707,18.707C26.52,18.895 26.265,19 26,19L21,19C20.735,19 20.48,18.895 20.293,18.707C20.105,18.52 20,18.265 20,18C20,17.735 20.105,17.48 20.293,17.293C20.48,17.105 20.735,17 21,17L26,17Z"></path>
1332        <path d="M27,23C27,22.735 26.895,22.48 26.707,22.293C26.52,22.105 26.265,22 26,22L23,22C22.735,22 22.48,22.105 22.293,22.293C22.105,22.48 22,22.735 22,23C22,23.265 22.105,23.52 22.293,23.707C22.48,23.895 22.735,24 23,24L26,24C26.265,24 26.52,23.895 26.707,23.707C26.895,23.52 27,23.265 27,23Z"></path>
1333    </g>
1334    <path class="arrow" d="M9.181,13.874C9.025,14.082 8.956,14.342 8.988,14.6C9.021,14.858 9.152,15.093 9.355,15.255C9.558,15.418 9.816,15.495 10.075,15.47C10.333,15.446 10.572,15.322 10.741,15.124L10.961,14.849L10.961,23.999C10.961,24.264 11.066,24.519 11.254,24.706C11.441,24.894 11.696,24.999 11.961,24.999C12.226,24.999 12.481,24.894 12.668,24.706C12.856,24.519 12.961,24.264 12.961,23.999L12.961,14.849L13.181,15.124C13.261,15.231 13.363,15.321 13.478,15.388C13.594,15.456 13.722,15.499 13.855,15.516C13.988,15.533 14.123,15.522 14.252,15.486C14.381,15.45 14.501,15.388 14.606,15.304C14.71,15.22 14.797,15.116 14.861,14.998C14.924,14.881 14.963,14.751 14.976,14.618C14.989,14.484 14.974,14.35 14.934,14.222C14.894,14.094 14.828,13.976 14.741,13.874L12.741,11.374C12.647,11.257 12.529,11.163 12.394,11.098C12.259,11.034 12.111,11 11.961,11C11.811,11 11.663,11.034 11.528,11.098C11.393,11.163 11.275,11.257 11.181,11.374L9.181,13.874Z"></path>
1335</svg>
1336`,"spinner-thin":`<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><style>
1337@keyframes mgb5tuv11au4ptl5acr6h2kz9c_t { 0% { transform: translate(9px,9px) rotate(0deg) translate(-9px,-9px); } 100% { transform: translate(9px,9px) rotate(360deg) translate(-9px,-9px); } }
1338</style>
1339<g opacity="0.4" style="animation: .8s linear infinite both mgb5tuv11au4ptl5acr6h2kz9c_t;">
1340<path d="M16 9C16 7.61553 15.5895 6.26215 14.8203 5.11101C14.0511 3.95986 12.9579 3.06266 11.6788 2.53284C10.3997 2.00303 8.99223 1.86441 7.63437 2.1345C6.2765 2.4046 5.02922 3.07129 4.05025 4.05025C3.07128 5.02922 2.4046 6.2765 2.1345 7.63437C1.86441 8.99223 2.00303 10.3997 2.53284 11.6788C3.06266 12.9579 3.95986 14.0511 5.11101 14.8203C6.26215 15.5895 7.61553 16 9 16" stroke="black" stroke-width="2" stroke-linecap="round"></path>
1341</g>
1342</svg>
1343`,"shop-fill":`<svg width="100%" height="100%" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
1344
1345    <path class="add-fill" d="M9.995,13.143C10.998,13.143 11.927,12.823 12.685,12.28C13.466,12.815 14.412,13.129 15.431,13.129C16.497,13.129 17.483,12.786 18.284,12.205L18.284,13.198C18.284,17.438 16.785,19.357 12.545,19.357L12.081,19.357L12.081,17.424C12.081,16.032 11.389,15.34 9.997,15.34C8.606,15.34 7.914,16.032 7.914,17.424L7.914,19.357L7.455,19.357C3.215,19.357 1.703,17.438 1.703,13.198L1.703,12.221C2.5,12.792 3.477,13.129 4.533,13.129C5.558,13.129 6.509,12.812 7.293,12.271C8.053,12.819 8.986,13.143 9.995,13.143Z" fill="rgb(113,111,128)"></path>
1346    <path class="add-fill" d="M7.406,8.339L7.387,8.567C7.25,9.981 5.962,11.123 4.547,11.123C2.816,11.123 1.547,9.717 1.719,7.994L1.95,4.637C2.259,2.408 3.116,1.551 5.362,1.551L14.583,1.551C16.829,1.551 17.686,2.408 17.995,4.637L18.235,7.994C18.406,9.717 17.138,11.123 15.406,11.123C14.015,11.123 12.756,10.011 12.577,8.628C12.541,10.032 11.442,11.123 9.992,11.123C8.445,11.123 7.291,9.878 7.406,8.339Z" fill="rgb(113,111,128)"></path>
1347</svg>
1348`,spinner:`<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 12 12" fill="none"><style>
1349@keyframes mgb5tuvau4ptl5acr6h2kz9c_t { 0% { transform: translate(6px,6px) rotate(0deg) translate(-6px,-6px); } 100% { transform: translate(6px,6px) rotate(360deg) translate(-6px,-6px); } }
1350</style><path d="M6 0c-1.3 0-2.7 .5-3.7 1.3c-1.1 .8-1.8 2-2.1 3.3c-0.3 1.3-0.2 2.7 .3 3.9c.6 1.2 1.6 2.2 2.8 2.8c1.2 .7 2.5 .8 3.9 .6c1.3-0.3 2.5-1 3.4-2c.8-1 1.3-2.3 1.4-3.7c.1-1.3-0.3-2.6-1.1-3.7l-2 1.4c.5 .6 .7 1.4 .7 2.2c0 .9-0.3 1.6-0.9 2.2c-0.5 .7-1.2 1.1-2 1.2c-0.8 .2-1.6 .1-2.3-0.3c-0.8-0.4-1.3-1-1.7-1.7c-0.3-0.7-0.4-1.6-0.2-2.3c.2-0.8 .6-1.5 1.3-2c.6-0.5 1.4-0.8 2.2-0.8v-2.4Z" fill="#000" transform="translate(6,6) translate(-6,-6)" style="animation: .5s linear infinite both mgb5tuvau4ptl5acr6h2kz9c_t;"></path></svg>
1351`,"square-checked":`<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
1352  <g opacity="0.4">
1353  <rect x="1.75" y="0.75" width="14.5" height="16.5" rx="2.25" stroke="black" stroke-width="1.5"></rect>
1354  <path d="M11.7002 7.5L8.3877 11.5L6.2002 9.22727" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
1355  </g>
1356  </svg>
1357`,"success-paid":`<svg width="100%" height="100%" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
1358<path d="M30 60C46.5685 60 60 46.5685 60 30C60 13.4315 46.5685 0 30 0C13.4315 0 0 13.4315 0 30C0 46.5685 13.4315 60 30 60Z" fill="#50A621"></path>
1359<path d="M37.0821 23L27.4929 32.4403L23.9105 28.9094L21.085 31.6972L27.492 38L28.3212 37.1859L39.9147 25.7797L37.0821 23Z" fill="#FCFCFC"></path>
1360</svg>
1361`,"switch-logo":`<svg width="100%" height="100%" viewBox="0 0 87 41" xmlns="http://www.w3.org/2000/svg">
1362
1363    <path d="M80.932,6.084C79.048,4.147 76.787,2.611 74.286,1.569C71.785,0.527 69.097,0.001 66.384,0.022C63.694,0 61.027,0.527 58.55,1.57C56.072,2.612 53.837,4.149 51.982,6.084L45.902,11.983L43.506,14.373L37.434,20.435L28.95,28.887C27.856,29.996 26.55,30.878 25.108,31.479C23.667,32.081 22.119,32.391 20.555,32.391C18.991,32.391 17.443,32.081 16.001,31.479C14.559,30.878 13.253,29.996 12.159,28.887C11.043,27.791 10.157,26.486 9.552,25.047C8.947,23.609 8.636,22.066 8.636,20.507C8.636,18.948 8.947,17.405 9.552,15.967C10.157,14.528 11.043,13.223 12.159,12.127C13.254,11.019 14.56,10.139 16.002,9.539C17.444,8.938 18.991,8.629 20.555,8.629C22.118,8.629 23.666,8.938 25.107,9.539C26.549,10.139 27.855,11.019 28.95,12.127L32.003,15.157L25.592,21.552L28.79,24.583L41.109,12.13L53.26,0.007L41.109,0.007L35.03,6.069C33.147,4.148 30.896,2.622 28.409,1.579C25.922,0.537 23.25,0 20.551,0C17.851,0 15.179,0.537 12.692,1.579C10.206,2.622 7.954,4.148 6.072,6.069C4.159,7.948 2.638,10.184 1.596,12.648C0.554,15.112 0.012,17.755 0,20.427C0.027,25.869 2.208,31.081 6.072,34.941C7.956,36.859 10.208,38.383 12.694,39.423C15.181,40.464 17.852,41 20.551,41C23.249,41 25.921,40.464 28.407,39.423C30.894,38.383 33.146,36.859 35.03,34.941L40.617,29.368L43.498,26.497L49.57,20.435L58.053,12.127C59.149,11.019 60.455,10.139 61.897,9.539C63.338,8.938 64.886,8.629 66.449,8.629C68.013,8.629 69.56,8.938 71.002,9.539C72.443,10.139 73.75,11.019 74.845,12.127C76.511,13.791 77.644,15.908 78.101,18.21C78.558,20.513 78.318,22.898 77.411,25.065C76.505,27.232 74.973,29.085 73.008,30.389C71.043,31.694 68.733,32.392 66.369,32.395C63.237,32.36 60.246,31.099 58.046,28.887L54.993,25.856L61.259,19.469L58.206,16.438L51.97,22.814L45.731,28.876L33.74,40.999L45.891,40.999L51.97,34.937C53.848,36.843 56.088,38.36 58.56,39.4C61.032,40.441 63.688,40.984 66.373,40.999C71.839,40.968 77.07,38.788 80.921,34.937C84.786,31.078 86.97,25.866 87,20.424C86.971,15.034 84.789,9.877 80.932,6.084Z"></path>
1364</svg>
1365`,"switch-logo-full":`<svg width="100%" height="100%" viewBox="0 0 75 12" xmlns="http://www.w3.org/2000/svg">
1366
1367    <path d="M30.341,11.266C33.606,11.266 34.665,10.545 34.665,8.478C34.665,6.678 33.859,6.018 31.58,5.796L30.304,5.674C28.904,5.536 28.621,5.386 28.621,4.829C28.621,4.158 29.03,4.178 30.59,4.178L32.707,4.178C33.424,4.178 34.336,4.123 34.565,4.797L36.656,11.053L39.002,11.053L40.961,5.023L42.916,11.051L45.263,11.051L48.061,2.377L45.838,2.377L44.041,8.334L42.102,2.375L39.899,2.375L37.961,8.313L36.866,4.793C36.196,2.679 35.306,2.375 32.704,2.375L30.587,2.375C27.496,2.392 26.425,2.887 26.425,4.948C26.425,6.731 27.307,7.32 29.548,7.535L30.822,7.661C32.203,7.799 32.472,7.966 32.472,8.562C32.472,9.265 32.06,9.461 30.409,9.461C28.811,9.461 27.789,9.269 26.519,8.852L26.356,10.74C27.468,11.1 28.723,11.261 30.338,11.261L30.341,11.266ZM52.725,0L54.946,0L54.946,2.375L57.458,2.375L57.458,4.174L54.946,4.174L54.946,7.993C54.946,8.95 55.178,9.182 56.077,9.182L57.458,9.182L57.458,11.053L55.485,11.053C53.492,11.053 52.725,10.335 52.725,8.247L52.725,4.174L50.984,4.174L50.984,2.375L52.725,2.375L52.725,0ZM65.498,11.049L67.726,11.049L67.726,4.913C68.604,4.409 69.286,4.174 70.147,4.174C71.367,4.174 71.833,4.641 71.833,5.904L71.833,11.049L74.057,11.049L74.057,5.31C74.057,3.132 73.053,2.159 70.829,2.159C69.751,2.159 68.874,2.394 67.726,3.007L67.726,0L65.498,0L65.498,11.049ZM62.249,11.266C63.234,11.275 64.214,11.135 65.156,10.85L65.013,8.926C64.194,9.181 63.341,9.307 62.484,9.302C60.472,9.302 59.847,8.675 59.847,6.696C59.847,4.735 60.476,4.122 62.484,4.122C63.341,4.117 64.194,4.245 65.013,4.5L65.156,2.574C64.214,2.29 63.234,2.149 62.249,2.157C58.913,2.157 57.587,3.439 57.587,6.713C57.587,10.005 58.913,11.266 62.249,11.266ZM48.414,11.049L50.638,11.049L50.638,2.375L48.414,2.375L48.414,11.049Z"></path>
1368    <path d="M20.611,3.173C20.138,2.683 19.57,2.295 18.942,2.031C18.315,1.768 17.64,1.635 16.959,1.64C16.284,1.635 15.615,1.768 14.993,2.032C14.371,2.295 13.81,2.684 13.344,3.173L11.818,4.664L11.217,5.269L9.693,6.801L7.563,8.938C7.289,9.219 6.961,9.442 6.599,9.594C6.237,9.746 5.849,9.824 5.456,9.824C5.063,9.824 4.675,9.746 4.313,9.594C3.951,9.442 3.623,9.219 3.349,8.938C3.069,8.661 2.846,8.331 2.694,7.968C2.543,7.604 2.465,7.214 2.465,6.82C2.465,6.426 2.543,6.035 2.694,5.672C2.846,5.308 3.069,4.978 3.349,4.701C3.624,4.421 3.952,4.198 4.313,4.047C4.675,3.895 5.064,3.817 5.456,3.817C5.848,3.817 6.237,3.895 6.599,4.047C6.961,4.198 7.288,4.421 7.563,4.701L8.33,5.467L6.72,7.084L7.523,7.85L10.615,4.702L13.665,1.637L10.615,1.637L9.089,3.169C8.617,2.684 8.052,2.298 7.427,2.034C6.803,1.771 6.133,1.635 5.455,1.635C4.778,1.635 4.107,1.771 3.483,2.034C2.858,2.298 2.293,2.684 1.821,3.169C1.341,3.644 0.959,4.21 0.697,4.833C0.436,5.456 0.3,6.124 0.297,6.8C0.304,8.175 0.851,9.493 1.821,10.469C2.294,10.954 2.859,11.339 3.483,11.602C4.107,11.866 4.778,12.001 5.455,12.001C6.132,12.001 6.803,11.866 7.427,11.602C8.051,11.339 8.616,10.954 9.089,10.469L10.492,9.06L11.215,8.334L12.739,6.801L14.868,4.701C15.143,4.421 15.471,4.198 15.833,4.047C16.195,3.895 16.583,3.817 16.976,3.817C17.368,3.817 17.756,3.895 18.118,4.047C18.48,4.198 18.808,4.421 19.083,4.701C19.501,5.122 19.785,5.657 19.9,6.239C20.015,6.821 19.954,7.424 19.727,7.972C19.499,8.52 19.115,8.988 18.622,9.318C18.128,9.648 17.549,9.825 16.955,9.825C16.169,9.817 15.419,9.498 14.866,8.938L14.1,8.172L15.673,6.557L14.907,5.791L13.341,7.403L11.775,8.936L8.765,12.001L11.815,12.001L13.341,10.468C13.813,10.95 14.375,11.333 14.995,11.597C15.616,11.86 16.282,11.997 16.956,12.001C18.328,11.993 19.641,11.442 20.608,10.468C21.578,9.492 22.126,8.175 22.134,6.799C22.126,5.436 21.579,4.132 20.611,3.173Z"></path>
1369</svg>
1370`,"switch-dnd":`<svg width="100%" height="100%" viewBox="0 0 97 22" xmlns="http://www.w3.org/2000/svg">
1371
1372    <path d="M38.115,16.965C42.468,16.965 43.88,16.005 43.88,13.248C43.88,10.848 42.806,9.968 39.766,9.672L38.065,9.508C36.199,9.325 35.821,9.125 35.821,8.382C35.821,7.488 36.366,7.515 38.447,7.515L41.27,7.515C42.225,7.515 43.441,7.441 43.747,8.34L46.534,16.682L49.664,16.682L52.276,8.641L54.883,16.679L58.012,16.679L61.743,5.112L58.778,5.112L56.382,13.055L53.797,5.11L50.859,5.11L48.275,13.028L46.815,8.335C45.921,5.516 44.735,5.11 41.266,5.11L38.443,5.11C34.321,5.133 32.893,5.793 32.893,8.542C32.893,10.919 34.068,11.704 37.
1372057,11.99L38.756,12.159C40.598,12.343 40.957,12.565 40.957,13.359C40.957,14.297 40.406,14.559 38.205,14.559C36.074,14.559 34.712,14.303 33.018,13.746L32.8,16.264C34.283,16.744 35.957,16.959 38.111,16.959L38.115,16.965ZM67.962,1.943L70.924,1.943L70.924,5.11L74.272,5.11L74.272,7.51L70.924,7.51L70.924,12.601C70.924,13.878 71.233,14.187 72.431,14.187L74.272,14.187L74.272,16.682L71.641,16.682C68.985,16.682 67.962,15.724 67.962,12.94L67.962,7.51L65.64,7.51L65.64,5.11L67.962,5.11L67.962,1.943ZM84.994,16.676L87.965,16.676L87.965,8.494C89.135,7.823 90.044,7.51 91.192,7.51C92.82,7.51 93.44,8.132 93.44,9.816L93.44,16.676L96.406,16.676L96.406,9.024C96.406,6.12 95.068,4.822 92.102,4.822C90.665,4.822 89.495,5.135 87.965,5.953L87.965,1.943L84.994,1.943L84.994,16.676ZM80.661,16.965C81.974,16.978 83.281,16.791 84.538,16.411L84.346,13.846C83.255,14.185 82.117,14.354 80.974,14.347C78.292,14.347 77.458,13.51 77.458,10.871C77.458,8.257 78.297,7.439 80.974,7.439C82.118,7.433 83.255,7.603 84.346,7.944L84.538,5.375C83.281,4.997 81.974,4.809 80.661,4.82C76.213,4.82 74.445,6.529 74.445,10.894C74.445,15.284 76.213,16.965 80.661,16.965ZM62.213,16.676L65.179,16.676L65.179,5.11L62.213,5.11L62.213,16.676Z" fill="rgb(40,52,65)"></path>
1373    <path d="M0,11a11,11 0 1,0 22,0a11,11 0 1,0 -22,0" fill="rgb(40,52,65)"></path>
1374    <path d="M17.381,13.248C17.498,12.98 17.238,12.714 16.95,12.761C14.486,13.167 11.979,11.647 11.273,9.186C10.875,7.797 11.101,6.376 11.786,5.224C11.935,4.973 11.78,4.636 11.489,4.648C11.008,4.667 10.522,4.744 10.039,4.883C6.772,5.82 4.883,9.228 5.82,12.495C6.758,15.762 10.166,17.651 13.433,16.714C15.272,16.186 16.674,14.875 17.381,13.248Z" fill="#ffffff"></path>
1375</svg>
1376`,table:`<svg width="100%" height="100%" viewBox="0 0 56 55" fill="none" xmlns="http://www.w3.org/2000/svg">
1377<path d="M0 4C0 1.79086 1.79086 0 4 0H52C54.2091 0 56 1.79086 56 4V51C56 53.2091 54.2091 55 52 55H4C1.79086 55 0 53.2091 0 51V4Z" fill="white"></path>
1378<path d="M0.75 4C0.75 2.20507 2.20507 0.75 4 0.75H52C53.7949 0.75 55.25 2.20508 55.25 4V51C55.25 52.7949 53.7949 54.25 52 54.25H4C2.20508 54.25 0.75 52.7949 0.75 51V4Z" stroke="black" stroke-opacity="0.1" stroke-width="1.5"></path>
1379<path d="M7 7H20V16H7V7Z" fill="#EFEFEF"></path>
1380<path d="M22 7H34V16H22V7Z" fill="#EFEFEF"></path>
1381<path d="M36 7H49V16H36V7Z" fill="#EFEFEF"></path>
1382<path d="M7 18H20V27H7V18Z" fill="#EFEFEF"></path>
1383<path d="M22 18H34V27H22V18Z" fill="#EFEFEF"></path>
1384<path d="M36 18H49V27H36V18Z" fill="#EFEFEF"></path>
1385<path d="M7 29H20V38H7V29Z" fill="#EFEFEF"></path>
1386<path d="M22 29H34V38H22V29Z" fill="#EFEFEF"></path>
1387<path d="M36 29H49V38H36V29Z" fill="#EFEFEF"></path>
1388<path d="M7 40H20V49H7V40Z" fill="#EFEFEF"></path>
1389<path d="M22 40H34V49H22V40Z" fill="#EFEFEF"></path>
1390<path d="M36 40H49V49H36V40Z" fill="#EFEFEF"></path>
1391</svg>
1392`,ticket:`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
1393
1394  <path d="M3.335,0.829L4.5,1.411L5.665,0.829C5.876,0.724 6.124,0.724 6.335,0.829L7.5,1.411L8.665,0.829C8.876,0.724 9.124,0.724 9.335,0.829L10.5,1.411L11.665,0.829C11.876,0.724 12.124,0.724 12.335,0.829L13.5,1.411L14.665,0.829C14.897,0.713 15.173,0.725 15.394,0.862C15.615,0.999 15.75,1.24 15.75,1.5L15.75,16.5C15.75,16.76 15.615,17.001 15.394,17.138C15.173,17.275 14.897,17.287 14.665,17.171L13.5,16.589L12.335,17.171C12.124,17.276 11.876,17.276 11.665,17.171L10.5,16.589L9.335,17.171C9.124,17.276 8.876,17.276 8.665,17.171L7.5,16.589L6.335,17.171C6.124,17.276 5.876,17.276 5.665,17.171L4.5,16.589L3.335,17.171C3.103,17.287 2.827,17.275 2.606,17.138C2.385,17.001 2.25,16.76 2.25,16.5L2.25,1.5C2.25,1.24 2.385,0.999 2.606,0.862C2.827,0.725 3.103,0.713 3.335,0.829ZM3.75,2.714C3.75,2.714 3.75,15.286 3.75,15.286L4.165,15.079C4.376,14.974 4.624,14.974 4.835,15.079L6,15.661L7.165,15.079C7.376,14.974 7.624,14.974 7.835,15.079L9,15.661L10.165,15.079C10.376,14.974 10.624,14.974 10.835,15.079L12,15.661L13.165,15.079C13.376,14.974 13.624,14.974 13.835,15.079L14.25,15.286C14.25,15.286 14.25,2.714 14.25,2.714L13.835,2.921C13.624,3.026 13.376,3.026 13.165,2.921L12,2.339L10.835,2.921C10.624,3.026 10.376,3.026 10.165,2.921L9,2.339L7.835,2.921C7.624,3.026 7.376,3.026 7.165,2.921L6,2.339L4.835,2.921C4.624,3.026 4.376,3.026 4.165,2.921L3.75,2.714Z"></path>
1395  <path d="M10.5,5.25C10.914,5.25 11.25,5.586 11.25,6C11.25,6.414 10.914,6.75 10.5,6.75L6,6.75C5.586,6.75 5.25,6.414 5.25,6C5.25,5.586 5.586,5.25 6,5.25L10.5,5.25Z"></path>
1396  <path d="M12,8.25C12.414,8.25 12.75,8.586 12.75,9C12.75,9.414 12.414,9.75 12,9.75L6,9.75C5.586,9.75 5.25,9.414 5.25,9C5.25,8.586 5.586,8.25 6,8.25L12,8.25Z"></path>
1397  <path d="M9.75,11.25C10.164,11.25 10.5,11.586 10.5,12C10.5,12.414 10.164,12.75 9.75,12.75L6,12.75C5.586,12.75 5.25,12.414 5.25,12C5.25,11.586 5.586,11.25 6,11.25L9.75,11.25Z"></path>
1398</svg>
1399`,tie:`<svg width="100%" height="100%" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg">
1400    <path d="M54,27C54,12.098 41.902,0 27,0C12.098,0 0,12.098 0,27C0,41.902 12.098,54 27,54C41.902,54 54,41.902 54,27Z" fill="rgb(250,241,230)"></path>
1401    <path d="M30.572,23.169L33.628,35.394C33.936,36.624 33.437,37.914 32.382,38.618C30.636,39.782 27.555,41.836 27.555,41.836C27.219,42.06 26.781,42.06 26.445,41.836C26.445,41.836 23.364,39.782 21.618,38.618C20.563,37.914 20.064,36.624 20.372,35.394L23.428,23.169C24.362,24.123 25.647,24.67 27,24.67C28.353,24.67 29.638,24.123 30.572,23.169ZM33.8,15.604C34.027,15.301 34.064,14.895 33.894,14.556C33.725,14.218 33.379,14.004 33,14.004L21,14.004C20.621,14.004 20.275,14.218 20.106,14.556C19.936,14.895 19.973,15.301 20.2,15.604C20.2,15.604 22.823,19.1 24.6,21.47C25.167,22.226 26.056,22.67 27,22.67C27.944,22.67 28.833,22.226 29.4,21.47C31.177,19.1 33.8,15.604 33.8,15.604Z" fill="rgb(224,210,191)"></path>
1402</svg>
1403`,swaps:`
1404  <svg width="100%" height="100%" viewBox="0 0 16 18" fill="none" xmlns="http://www.w3.org/2000/svg">
1405    <path d="M5.00002 2.99998H14C14.5523 2.99998 15 3.4477 15 3.99998V4.99998C15 5.55227 14.5523 5.99998 14 5.99998H5.00002V2.99998Z" fill="#C4C4C4"></path>
1406    <path d="M0.408175 4.87031C0.189463 4.67188 0.189463 4.32812 0.408175 4.12969L4.41405 0.495301C4.73536 0.203794 5.25002 0.431774 5.25002 0.865608V8.13439C5.25002 8.56822 4.73536 8.7962 4.41405 8.5047L0.408175 4.87031Z" fill="#C4C4C4"></path>
1407    <path d="M11 11.6354H1.99998C1.4477 11.6354 0.999982 12.0831 0.999982 12.6354V13.6354C0.999982 14.1876 1.4477 14.6354 1.99998 14.6354H11V11.6354Z" fill="#616161"></path>
1408    <path d="M15.5918 13.5057C15.8105 13.3073 15.8105 12.9635 15.5918 12.7651L11.5859 9.13068C11.2646 8.83917 10.75 9.06715 10.75 9.50098V16.7698C10.75 17.2036 11.2646 17.4316 11.5859 17.1401L15.5918 13.5057Z" fill="#616161"></path>
1409  </svg>
1410`,telegram:`<svg width="100%" height="100%" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg">
1411    <path d="M7.385,12.121L7.137,15.844C7.492,15.844 7.646,15.681 7.83,15.486L9.495,13.789L12.944,16.483C13.576,16.859 14.022,16.661 14.192,15.862L16.456,4.548L16.457,4.547C16.658,3.55 16.119,3.16 15.503,3.404L2.196,8.838C1.288,9.214 1.302,9.754 2.042,9.999L5.443,11.128L13.346,5.854C13.717,5.591 14.056,5.736 13.777,5.999L7.385,12.121Z" fill="rgb(153,153,153)"></path>
1412</svg>
1413`,tilde:`<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill="#000" fill-rule="nonzero" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" width="100%" height="100%" viewBox="0 0 12 12">
1414  <path d="M2.573 7.446c-.019-.581.052-1.074.212-1.477s.393-.709.697-.919c.308-.209.67-.314 1.085-.314.289 0 .566.06.831.18s.565.328.9.624c.179.157.33.277.453.36a.76.76 0 0 0 .424.12.676.676 0 0 0 .541-.254c.141-.173.207-.445.198-.817h1.505c.022.584-.049 1.078-.212 1.482-.163.403-.399.709-.707.918-.307.21-.666.314-1.075.314-.305 0-.591-.063-.859-.189-.265-.129-.558-.336-.882-.619a4.01 4.01 0 0 0-.457-.364.708.708 0 0 0-.406-.116.68.68 0 0 0-.54.249c-.142.164-.208.437-.199.822H2.573Z"></path>
1415</svg>
1416`,tabledocument:`<svg width="100%" height="100%" viewBox="0 0 14 14" version="1.1" xmlns="http://www.w3.org/2000/svg">
1417    <path d="M8.749,13.37L5.249,13.37C3.632,13.37 2.48,13.018 1.73,12.268C0.981,11.519 0.629,10.367 0.629,8.749L0.629,5.249C0.629,3.632 0.981,2.48 1.73,1.73C2.48,0.981 3.632,0.629 5.249,0.629L8.749,0.629C10.367,0.629 11.519,0.981 12.268,1.73C13.018,2.48 13.37,3.632 13.37,5.249L13.37,8.749C13.37,10.367 13.018,11.519 12.268,12.268C11.519,13.018 10.367,13.37 8.749,13.37ZM5.249,1.704C3.939,1.704 3.049,1.928 2.489,2.489C1.928,3.049 1.704,3.939 1.704,5.249L1.704,8.749C1.704,10.059 1.928,10.95 2.489,11.51C3.049,12.07 3.939,12.295 5.249,12.295L8.749,12.295C10.059,12.295 10.95,12.07 11.51,11.51C12.07,10.95 12.295,10.059 12.295,8.749L12.295,5.249C12.295,3.939 12.07,3.049 11.51,2.489C10.95,1.928 10.059,1.704 8.749,1.704L5.249,1.704Z" style="fill-rule:nonzero;"></path>
1418    <path d="M9.188,5.787L4.813,5.787C4.519,5.787 4.275,5.544 4.275,5.25C4.275,4.956 4.519,4.713 4.812,4.713L9.188,4.713C9.481,4.713 9.725,4.956 9.725,5.25C9.725,5.544 9.481,5.787 9.188,5.787ZM9.188,9.288L4.813,9.288C4.519,9.288 4.275,9.044 4.275,8.75C4.275,8.456 4.519,8.213 4.812,8.213L9.188,8.213C9.481,8.213 9.725,8.456 9.725,8.75C9.725,9.044 9.481,9.288 9.188,9.288Z" style="fill-rule:nonzero;"></path>
1419</svg>
1420`,"time-management":`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
1421
1422  <path d="M1.5,6L1.5,2.25C1.5,1.836 1.836,1.5 2.25,1.5C2.664,1.5 3,1.836 3,2.25C3,2.25 3,3.326 3,4.189L3.415,3.775C3.418,3.772 3.421,3.769 3.424,3.766C4.92,2.32 6.917,1.508 8.997,1.5L9,1.5C10.483,1.5 11.933,1.94 13.167,2.764C14.4,3.588 15.361,4.759 15.929,6.13C16.497,7.5 16.645,9.008 16.356,10.463C16.067,11.918 15.352,13.254 14.303,14.303C13.254,15.352 11.918,16.067 10.463,16.356C9.008,16.645 7.5,16.497 6.13,15.929C4.759,15.361 3.588,14.4 2.764,13.167C1.94,11.933 1.5,10.483 1.5,9C1.5,8.586 1.836,8.25 2.25,8.25C2.664,8.25 3,8.586 3,9C3,10.187 3.352,11.347 4.011,12.333C4.67,13.32 5.608,14.089 6.704,14.543C7.8,14.997 9.007,15.116 10.171,14.885C11.334,14.653 12.404,14.082 13.243,13.243C14.082,12.404 14.653,11.334 14.885,10.171C15.116,9.007 14.997,7.8 14.543,6.704C14.089,5.608 13.32,4.67 12.333,4.011C11.347,3.352 10.187,3 9.001,3C7.31,3.007 5.687,3.666 4.47,4.841L4.061,5.25L6,5.25C6.414,5.25 6.75,5.586 6.75,6C6.75,6.414 6.414,6.75 6,6.75L2.25,6.75C2.05,6.75 1.861,6.671 1.72,6.53C1.579,6.389 1.5,6.2 1.5,6Z"></path>
1423  <path d="M8.25,5.25C8.25,4.836 8.586,4.5 9,4.5C9.414,4.5 9.75,4.836 9.75,5.25L9.75,8.536L12.335,9.829C12.706,10.014 12.856,10.465 12.671,10.835C12.486,11.206 12.035,11.356 11.665,11.171L8.665,9.671C8.411,9.544 8.25,9.284 8.25,9L8.25,5.25Z"></path>
1424</svg>
1425`,"stickies-bg":`<svg width="100%" height="100%" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
1426    <rect x="0" y="0" width="32" height="32" style="fill:rgb(250,250,250);"></rect>
1427    <circle cx="24" cy="24.003" r="1" style="fill:rgb(230,230,230);"></circle>
1428    <circle cx="8" cy="24.003" r="1" style="fill:rgb(230,230,230);"></circle>
1429    <circle cx="24" cy="8" r="1" style="fill:rgb(230,230,230);"></circle>
1430    <circle cx="8" cy="8" r="1" style="fill:rgb(230,230,230);"></circle>
1431</svg>
1432`,tor:`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
1433
1434    <path d="M0.9,9C0.9,4.526 4.526,0.9 9,0.9C13.473,0.9 17.1,4.526 17.1,9C17.1,13.473 13.473,17.1 9,17.1C4.526,17.1 0.9,13.473 0.9,9ZM9.017,7.282L9.017,10.717C9.958,10.708 10.718,9.943 10.718,9C10.718,8.056 9.958,7.291 9.017,7.282ZM9.017,12.19L9.017,13.172C11.313,13.163 13.173,11.299 13.173,9C13.173,6.701 11.313,4.837 9.017,4.828L9.017,5.81C10.771,5.819 12.191,7.243 12.191,9C12.191,10.757 10.771,12.181 9.017,12.19ZM9.017,15.627C12.669,15.618 15.627,12.655 15.627,9C15.627,5.345 12.669,2.382 9.017,2.373L9.017,3.355C12.127,3.364 14.645,5.887 14.645,9C14.645,12.112 12.127,14.636 9.017,14.645L9.017,15.627Z"></path>
1435</svg>
1436`,"trash-red-filled":`<svg width="100%" height="100%" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">
1437
1438    <path d="M40,12L40,28C40,34.623 34.623,40 28,40L12,40C5.377,40 0,34.623 0,28L0,12C0,5.377 5.377,0 12,0L28,0C34.623,0 40,5.377 40,12Z" style="fill:rgb(208,91,91);fill-opacity:0.2;"></path>
1439    <path d="M11.333,14.583L10.25,14.583C9.652,14.583 9.167,14.098 9.167,13.5C9.167,12.902 9.652,12.417 10.25,12.417L29.75,12.417C30.348,12.417 30.833,12.902 30.833,13.5C30.833,14.098 30.348,14.583 29.75,14.583L28.666,14.583L28.666,28.667C28.666,29.529 28.324,30.355 27.714,30.965C27.105,31.574 26.278,31.917 25.416,31.917L14.583,31.917C13.721,31.917 12.894,31.574 12.285,30.965C11.675,30.355 11.333,29.529 11.333,28.667L11.333,14.583Z" style="fill:rgb(208,91,91);"></path>
1440    <path d="M14.583,12.417L14.583,11.334C14.583,10.472 14.925,9.645 15.535,9.036C16.144,8.426 16.971,8.084 17.833,8.084L22.166,8.084C23.028,8.084 23.855,8.426 24.464,9.036C25.074,9.645 25.416,10.472 25.416,11.334L25.416,12.417L27.583,12.417C28.181,12.417 28.666,12.902 28.666,13.5C28.666,14.098 28.181,14.584 27.583,14.584L12.416,14.584C11.818,14.584 11.333,14.098 11.333,13.5C11.333,12.902 11.818,12.417 12.416,12.417L14.583,12.417ZM23.249,12.417L23.249,11.334C23.249,11.046 23.135,10.771 22.932,10.568C22.729,10.364 22.453,10.25 22.166,10.25L17.833,10.25C17.545,10.25 17.27,10.364 17.067,10.568C16.863,10.771 16.749,11.046 16.749,11.334L16.749,12.417L23.249,12.417Z" style="fill:rgb(208,91,91);fill-opacity:0.5;"></path>
1441    <path d="M17.371,18.879L18.597,25.771C18.694,26.314 18.331,26.834 17.788,26.931C17.245,27.027 16.725,26.665 16.628,26.12
14411L15.402,19.23C15.305,18.686 15.668,18.167 16.211,18.07C16.755,17.973 17.274,18.336 17.371,18.879Z" style="fill:white;fill-opacity:0.5;"></path>
1442    <path d="M24.607,19.233L23.363,26.122C23.265,26.665 22.744,27.026 22.201,26.928C21.658,26.83 21.296,26.309 21.394,25.766L22.639,18.878C22.737,18.335 23.257,17.973 23.8,18.071C24.344,18.169 24.705,18.69 24.607,19.233Z" style="fill:white;fill-opacity:0.5;"></path>
1443</svg>
1444`,tornado:`<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
1445<path d="M11.2051 7.8902L11.2051 7.89021C9.41904 8.99744 7.8355 10.1079 6.96411 11.0625C6.53646 11.531 6.22813 12.0168 6.2197 12.4839C6.21525 12.7308 6.29504 12.9601 6.46171 13.1572C6.62348 13.3485 6.8571 13.4981 7.14637 13.6155C8.37733 14.115 9.10708 14.6382 9.52266 15.1232C9.93251 15.6015 10.0429 16.0489 10.0255 16.4285C10.0101 16.763 9.89431 17.0633 9.76199 17.3012C9.72948 17.1893 9.68769 17.0691 9.63392 16.9448C9.38915 16.3788 8.89596 15.7307 7.92588 15.4104C4.98432 14.4386 3.89585 13.6973 2.7628 12.5746C1.99151 11.8102 1.03189 9.22379 3.92558 6.5954C4.14802 6.3934 4.28567 6.16681 4.32345 5.91404C4.36081 5.66414 4.2945 5.42857 4.18652 5.21821C3.98681 4.82915 3.59769 4.44377 3.2385 4.08803C3.22447 4.07414 3.21049 4.06029 3.19657 4.04649C2.80566 3.65903 2.44266 3.29262 2.23679 2.91923C2.13648 2.73732 2.0815 2.56696 2.07457 2.40377C2.06779 2.24427 2.10606 2.07458 2.21947 1.88834C2.32986 1.70722 2.55202 1.50767 2.91339 1.31115C3.27108 1.11665 3.74486 0.936144 4.32981 0.782332C5.49934 0.474812 7.08526 0.28125 9.00994 0.28125C10.9302 0.28125 12.5028 0.510454 13.6671 0.83603C14.2494 0.998868 14.7251 1.1846 15.0894 1.37503C15.458 1.56767 15.6948 1.75595 15.8189 1.91504C15.9789 2.12033 16.0526 2.4134 15.9906 2.80613C15.9282 3.2019 15.7293 3.68312 15.3649 4.22712C14.6366 5.31439 13.28 6.60401 11.2051 7.8902ZM15.4691 2.268C15.4691 1.88604 15.1888 1.59063 14.854 1.37474C14.5066 1.15074 14.0226 0.959656 13.4496 0.803386C12.2995 0.489746 10.7266 0.29925 9.00038 0.29925C7.27418 0.29925 5.70124 0.489746 4.55118 0.803386C3.97817 0.959656 3.49412 1.15074 3.14672 1.37474C2.81191 1.59063 2.53163 1.88605 2.53163 2.268C2.53163 2.64996 2.81191 2.94537 3.14672 3.16126C3.49412 3.38526 3.97817 3.57634 4.55118 3.73261C5.70124 4.04625 7.27418 4.23675 9.00038 4.23675C10.7266 4.23675 12.2995 4.04625 13.4496 3.73261C14.0226 3.57634 14.5066 3.38526 14.854 3.16126C15.1888 2.94537 15.4691 2.64996 15.4691 2.268Z" fill="black" stroke="black" stroke-width="0.5625"></path>
1446</svg>
1447`,trash:`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
1448
1449    <path d="M3,5.25L2.25,5.25C1.836,5.25 1.5,4.914 1.5,4.5C1.5,4.086 1.836,3.75 2.25,3.75L5.25,3.75L5.25,3C5.25,2.403 5.487,1.831 5.909,1.409C6.331,0.987 6.903,0.75 7.5,0.75L10.5,0.75C11.097,0.75 11.669,0.987 12.091,1.409C12.513,1.831 12.75,2.403 12.75,3L12.75,3.75L15.75,3.75C16.164,3.75 16.5,4.086 16.5,4.5C16.5,4.914 16.164,5.25 15.75,5.25L15,5.25L15,15C15,15.597 14.763,16.169 14.341,16.591C13.919,17.013 13.347,17.25 12.75,17.25L5.25,17.25C4.653,17.25 4.081,17.013 3.659,16.591C3.237,16.169 3,15.597 3,15L3,5.25ZM6.75,3.75L11.25,3.75L11.25,3C11.25,2.801 11.171,2.61 11.03,2.47C10.89,2.329 10.699,2.25 10.5,2.25L7.5,2.25C7.301,2.25 7.11,2.329 6.97,2.47C6.829,2.61 6.75,2.801 6.75,3L6.75,3.75ZM13.5,5.25L12,5.25L6,5.25L4.5,5.25L4.5,15C4.5,15.199 4.579,15.39 4.72,15.53C4.86,15.671 5.051,15.75 5.25,15.75L12.75,15.75C12.949,15.75 13.14,15.671 13.28,15.53C13.421,15.39 13.5,15.199 13.5,15L13.5,5.25Z"></path>
1450</svg>
1451`,"triangle-circle-red":`<svg width="100%" height="100%" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
1452<circle cx="10" cy="10" r="10" fill="#C25555"></circle>
1453<path d="M10 15L4.80385 7.5L15.1962 7.5L10 15Z" fill="white"></path>
1454</svg>
1455`,"tron-menu":`<svg width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
1456
1457  <path d="M12,24C18.627,24 24,18.627 24,12C24,5.373 18.627,0 12,0C5.373,0 0,5.373 0,12C0,18.627 5.373,24 12,24Z" style="fill:rgb(57,57,57);fill-rule:nonzero;"></path>
1458  <path class="icon-logo" d="M16.449,7.435L19.259,10.107L11.321,19.777L5.625,5.443L16.449,7.435ZM12.079,11.243L7.104,7.116L11.3,17.678L12.079,11.243ZM12.799,11.584L12.062,17.684L17.814,10.677L12.799,11.584ZM12.419,10.543L15.447,8.02L7.646,6.584L12.419,10.543ZM16.275,8.313L13.403,10.707L17.931,9.887L16.275,8.313Z" style="fill:white;"></path>
1459</svg>
1460`,"tron-dotted":`<svg width="100%" height="100%" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
1461<circle cx="16" cy="16" r="16" fill="#F2F2F2"></circle>
1462<path d="M19.9872 11.1115L8.55469 8.9502L14.5712 24.5022L22.9547 14.01L19.9872 11.1115ZM19.8035 12.0635L21.5526 13.7715L16.7695 14.6609L19.8035 12.0635ZM15.7301 14.4827L10.6888 10.1879L18.9289 11.7454L15.7301 14.4827ZM15.3713 15.2428L14.549 22.2246L10.1168 10.7648L15.3713 15.2428ZM16.1318 15.613L21.429 14.6284L15.3531 22.2311L16.1318 15.613Z" fill="black" fill-opacity="0.4"></path>
1463<circle opacity="0.4" cx="16" cy="16" r="15.2683" stroke="black" stroke-width="1.46341" stroke-dasharray="3.55 3.55"></circle>
1464</svg>
1465`,"tron-circle":`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
1466
1467    <path fill="#ef0027" fill-rule="nonzero" d="M9 18a9 9 0 0 0 9-9 9 9 0 0 0-9-9 9 9 0 0 0-9 9 9 9 0 0 0 9 9Z"></path>
1468    <path fill="#fff" fill-rule="nonzero" d="M12.337 5.576 4.219 4.082l4.272 10.751 5.953-7.253-2.107-2.004Zm-.131.658 1.242 1.181-3.396.615 2.154-1.796ZM9.314 7.906l-3.58-2.968 5.851 1.076-2.271 1.892Zm-.255.526-.584 4.826-3.147-7.922 3.731 3.096Zm.54.256 3.762-.681-4.315 5.256.553-4.575Z"></path>
1469</svg>
1470`,"toll-black":`<svg width="100%" height="100%" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
1471  <path d="M17.4994 4.66602C12.3427 4.66602 8.16602 8.84268 8.16602 13.9993C8.16602 19.156 12.3427 23.3327 17.4994 23.3327C22.656 23.3327 26.8327 19.156 26.8327 13.9993C26.8327 8.84268 22.656 4.66602 17.4994 4.66602ZM17.4994 20.9993C13.6377 20.9993 10.4993 17.861 10.4993 13.9993C10.4993 10.1377 13.6377 6.99935 17.4994 6.99935C21.361 6.99935 24.4994 10.1377 24.4994 13.9993C24.4994 17.861 21.361 20.9993 17.4994 20.9993ZM3.49935 13.9993C3.49935 10.9543 5.44768 8.36435 8.16602 7.40768V4.96935C4.14102 6.00768 1.16602 9.64768 1.16602 13.9993C1.16602 18.351 4.14102 21.991 8.16602 23.0293V20.591C5.44768 19.6343 3.49935 17.0443 3.49935 13.9993V13.9993Z" fill="black"></path>
1472  </svg>
1473`,"tron-network-flat":`<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
1474<g opacity="0.4">
1475<path d="M8.35314 16C8.32977 16 8.30641 15.9987 8.28319 15.9959C8.17645 15.984 8.07466 15.9444 7.98782 15.8812C7.90099 15.818 7.8321 15.7332 7.78792 15.6353L2.03047 2.8739C1.98612 2.775 1.96852 2.66619 1.97941 2.55835C1.99031 2.45051 2.02933 2.34742 2.09257 2.25939C2.15581 2.17136 2.24106 2.10148 2.33978 2.05673C2.4385 2.01198 2.54724 1.99394 2.65513 2.0044L12.6731 2.99493C12.8238 3.01017 12.9636 3.0801 13.0662 3.19149L15.6354 5.97519C15.734 6.08207 15.7918 6.22024 15.7987 6.36546C15.8056 6.51069 15.7611 6.65372 15.6732 6.76947L8.84593 15.7554C8.7882 15.8314 8.71368 15.893 8.62819 15.9354C8.54271 15.9779 8.44858 15.9999 8.35314 16ZM3.59891 3.33976L8.48965 14.1771L14.374 6.43269L12.3171 4.204L3.59891 3.33976Z" fill="black"></path>
1476<path d="M8.35313 16H8.33672C8.17262 15.9957 8.01695 15.9264 7.90393 15.8074C7.79091 15.6883 7.7298 15.5292 7.73405 15.3651L7.92782 7.95783L2.19358 3.09124C2.06839 2.98496 1.99054 2.83331 1.97716 2.66964C1.97053 2.5886 1.97993 2.50704 2.00483 2.42963C2.02972 2.35223 2.06961 2.28
1476048 2.12223 2.21849C2.17486 2.1565 2.23917 2.10548 2.31151 2.06834C2.38385 2.03121 2.46279 2.00869 2.54383 2.00206C2.7075 1.98868 2.86979 2.04087 2.99498 2.14714L8.95457 7.20472C9.02511 7.2646 9.08133 7.33954 9.1191 7.42402C9.15686 7.50849 9.17521 7.60036 9.17279 7.69286L8.9719 15.3961C8.96794 15.5576 8.90102 15.7111 8.78541 15.824C8.6698 15.9368 8.51467 16 8.35313 16Z" fill="black"></path>
1477<path d="M8.55373 8.29674C8.43134 8.29671 8.31171 8.26041 8.20994 8.19242C8.10818 8.12443 8.02885 8.02781 7.98198 7.91475C7.93511 7.8017 7.9228 7.67728 7.9466 7.55724C7.97041 7.43719 8.02926 7.32689 8.11573 7.24027L12.1741 3.17384C12.2306 3.11278 12.2989 3.06374 12.3748 3.02965C12.4508 2.99557 12.5328 2.97715 12.616 2.97548C12.6992 2.97381 12.7819 2.98894 12.8591 3.01995C12.9363 3.05097 13.0065 3.09723 13.0654 3.15598C13.1244 3.21473 13.1709 3.28477 13.2021 3.36189C13.2334 3.43902 13.2488 3.52166 13.2474 3.60487C13.246 3.68807 13.2278 3.77015 13.194 3.84618C13.1601 3.92221 13.1113 3.99063 13.0504 4.04736L10.4193 6.68496L15.0643 5.78729C15.2249 5.75757 15.3907 5.79251 15.5256 5.8845C15.6606 5.97649 15.7537 6.11807 15.7847 6.27841C15.8158 6.43874 15.7822 6.60485 15.6913 6.74054C15.6004 6.87623 15.4596 6.97052 15.2995 7.00286L8.67073 8.28528C8.63219 8.29285 8.59301 8.29669 8.55373 8.29674Z" fill="black"></path>
1478</g>
1479</svg>
1480`,"tron-network":`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
1481
1482    <path fill="#ef0027" fill-rule="nonzero" d="M1,9a8,8 0 1,0 16,0a8,8 0 1,0 -16,0"></path>
1483    <path fill="#fff" fill-rule="nonzero" d="m12.337 5.58-8.118-1.5 4.272 10.75 5.953-7.25-2.107-2Zm-.131.65 1.242 1.18-3.396.62 2.154-1.8ZM9.314 7.91l-3.58-2.97 5.851 1.07-2.271 1.9Zm-.255.52-.584 4.83-3.147-7.92 3.731 3.09Zm.54.26 3.762-.68-4.315 5.25.553-4.57Z"></path>
1484    <path fill="#fff" d="M9 16.44A7.441 7.441 0 0 0 16.444 9c0-4.11-3.333-7.44-7.444-7.44A7.441 7.441 0 0 0 1.556 9c0 4.11 3.333 7.44 7.444 7.44ZM9 18A9 9 0 1 0 9 0a9 9 0 0 0 0 18Z"></path>
1485</svg>
1486`,"trx-circle":`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
1487    <path class="bg" d="M9,18C13.971,18 18,13.971 18,9C18,4.029 13.971,0 9,0C4.029,0 0,4.029 0,9C0,13.971 4.029,18 9,18Z" fill="rgb(239,0,39)"></path>
1488    <path class="logo" d="M12.337,5.576L4.219,4.082L8.491,14.833L14.444,7.58L12.337,5.576ZM12.206,6.234L13.448,7.415L10.052,8.03L12.206,6.234ZM9.314,7.906L5.734,4.938L11.585,6.014L9.314,7.906ZM9.059,8.432L8.475,13.258L5.328,5.336L9.059,8.432ZM9.599,8.688L13.361,8.007L9.046,13.263L9.599,8.688Z" fill="white"></path>
1489    <path class="border" d="M9,16.444C13.112,16.444 16.444,13.112 16.444,9C16.444,4.889 13.112,1.556 9,1.556C4.889,1.556 1.556,4.889 1.556,9C1.556,13.112 4.889,16.444 9,16.444ZM9,18C13.971,18 18,13.971 18,9C18,4.029 13.971,0 9,0C4.029,0 0,4.029 0,9C0,13.971 4.029,18 9,18Z" fill="white" fill-rule="evenodd"></path>
1490</svg>
1491`,twitter:`<svg width="100%" height="100%" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg">
1492    <path d="M7.119,16.288C12.961,16.288 16.154,11.448 16.154,7.254C16.154,7.115 16.154,6.977 16.147,6.845C16.766,6.398 17.306,5.838 17.734,5.199C17.168,5.45 16.556,5.621 15.909,5.7C16.569,5.305 17.069,4.687 17.306,3.942C16.694,4.304 16.015,4.567 15.291,4.712C14.711,4.093 13.888,3.711 12.974,3.711C11.221,3.711 9.8,5.133 9.8,6.885C9.8,7.135 9.826,7.379 9.884,7.609C7.244,7.478 4.906,6.213 3.339,4.291C3.069,4.758 2.911,5.305 2.911,5.884C2.911,6.984 3.471,7.958 4.328,8.525C3.807,8.512 3.32,8.366 2.892,8.129L2.892,8.169C2.892,9.711 3.985,10.987 5.44,11.285C5.177,11.356 4.893,11.395 4.605,11.395C4.4,11.395 4.203,11.377 4.004,11.336C4.406,12.6 5.578,13.516 6.967,13.542C5.881,14.393 4.512,14.9 3.023,14.9C2.766,14.9 2.516,14.885 2.266,14.852C3.655,15.761 5.328,16.288 7.119,16.288Z" fill="rgb(153,153,153)"></path>
1493</svg>
1494`,undo:`
1495<svg width="100%" height="100%" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1496  <g clip-path="url(#undo-clip0)">
1497    <path d="M0.666992 2.66699V6.66699H4.66699" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
1498    <path d="M2.34033 9.99964C2.77259 11.2266 3.59188 12.2798 4.67476 13.0006C5.75764 13.7214 7.04545 14.0707 8.34414 13.996C9.64282 13.9212 10.882 13.4264 11.8751 12.5861C12.8681 11.7459 13.5612 10.6056 13.8498 9.33721C14.1385 8.0688 14.0071 6.74094 13.4754 5.55371C12.9438 4.36647 12.0407 3.38417 10.9
1498022 2.75482C9.76375 2.12546 8.45159 1.88315 7.16344 2.06438C5.87529 2.24562 4.68093 2.84059 3.76033 3.75964L0.666992 6.66631" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
1499  </g>
1500  <defs>
1501    <clipPath id="undo-clip0">
1502        <rect width="16" height="16" fill="white"></rect>
1503    </clipPath>
1504  </defs>
1505</svg>
1506`,"uid-circle":`<svg width="100%" height="100%" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
1507<path d="M24 0C37.2545 0 48 10.7455 48 24C48 37.2545 37.2545 48 24 48C10.7455 48 0 37.2545 0 24C0 10.7455 10.7455 0 24 0Z" fill="#D9D8D7"></path>
1508<path d="M23.9995 6.54102C33.6398 6.54102 41.454 14.3563 41.454 23.9956C41.454 33.6359 33.6398 41.4501 23.9995 41.4501C14.3591 41.4501 6.54492 33.6359 6.54492 23.9956C6.54492 14.3563 14.3591 6.54102 23.9995 6.54102Z" fill="#A3A3A3"></path>
1509<path opacity="0.1" d="M24 33.8154C18.5771 33.8154 14.1818 29.4201 14.1818 23.9972C14.1818 21.8426 14.8844 19.8572 16.0604 18.2383C13.6036 20.023 12 22.9106 12 26.179C12 31.6019 16.3953 35.9972 21.8182 35.9972C25.0865 35.9972 27.9742 34.3936 29.7578 31.9368C28.14 33.1128 26.1545 33.8154 24 33.8154V33.8154Z" fill="black"></path>
1510<path opacity="0.15" d="M26.8315 22.837L37.1384 12.5301C36.618 11.9356 36.0606 11.377 35.466 10.8567L25.1591 21.1636V6.59993C24.774 6.57374 24.39 6.54102 23.9995 6.54102C23.6089 6.54102 23.2249 6.57374 22.8409 6.59993V21.1647L12.534 10.8577C11.9395 11.3781 11.3809 11.9356 10.8617 12.5301L21.1686 22.837H6.60383C6.57765 23.2221 6.54492 23.6039 6.54492 23.9956C6.54492 24.3872 6.57765 24.7701 6.60383 25.1541H21.1686L10.8617 35.461C11.382 36.0556 11.9395 36.6141 12.534 37.1334L22.8409 26.8265V41.3912C23.2249 41.4174 23.6089 41.4501 23.9995 41.4501C24.39 41.4501 24.774 41.4174 25.158 41.3912V26.8276L35.4649 37.1345C36.0595 36.6141 36.6191 36.0567 37.1373 35.461L26.8304 25.1552H41.3951C41.4213 24.7701 41.454 24.3872 41.454 23.9956C41.454 23.6039 41.4213 23.2221 41.3951 22.837H26.8315Z" fill="white"></path>
1511<path d="M23.9998 14.1836C29.4227 14.1836 33.818 18.5789 33.818 24.0018C33.818 29.4247 29.4227 33.82 23.9998 33.82C18.5769 33.82 14.1816 29.4247 14.1816 24.0018C14.1816 18.5789 18.5769 14.1836 23.9998 14.1836Z" fill="#D9D8D7"></path>
1512<path d="M23.979 24.0259L33.3073 27.1132C33.6346 26.1346 33.819 25.0906 33.819 24.0019C33.819 22.9132 33.6346 21.8692 33.3073 20.8906L23.979 24.0259V24.0259ZM14.1826 24.0019C14.1826 25.0841 14.3648 26.1226 14.6877 27.0968L23.979 24.0259L14.6877 20.907C14.3648 21.8812 14.1826 22.9197 14.1826 24.0019V24.0019Z" fill="#CECDCC"></path>
1513<path d="M23.999 14.1738C22.9102 14.1738 21.8662 14.3582 20.8877 14.6855L23.9772 24.016L27.1092 14.6855C26.1317 14.3582 25.0877 14.1738 23.999 14.1738V14.1738ZM23.9772 24.016L20.9041 33.3051C21.8782 33.628 22.9168 33.8102 23.999 33.8102C25.0812 33.8102 26.1197 33.628 27.0939 33.3051L23.9772 24.016V24.016Z" fill="#E4E4E3"></path>
1514</svg>
1515`,update:`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
1516
1517    <path d="M15.356,6.75L13.256,4.777C13.251,4.771 13.245,4.766 13.24,4.76C12.523,4.044 11.637,3.52 10.663,3.238C9.689,2.957 8.66,2.926 7.672,3.15C6.683,3.374 5.767,3.844 5.01,4.517C4.252,5.191 3.678,6.045 3.34,7C3.201,7.391 2.773,7.595 2.382,7.457C1.992,7.319 1.787,6.89 1.925,6.5C2.348,5.306 3.066,4.238 4.013,3.396C4.96,2.555 6.105,1.966 7.341,1.687C8.576,1.407 9.863,1.445 11.08,1.797C12.292,2.148 13.397,2.799 14.291,3.69L16.5,5.766L16.5,3C16.5,2.586 16.836,2.25 17.25,2.25C17.664,2.25 18,2.586 18,3L18,7.5C18,7.692 17.928,7.874 17.797,8.014C17.654,8.165 17.458,8.25 17.25,8.25L12.75,8.25C12.336,8.25 12,7.914 12,7.5C12,7.086 12.336,6.75 12.75,6.75L15.356,6.75Z"></path>
1518    <path d="M1.5,12.234L1.5,15C1.5,15.414 1.164,15.75 0.75,15.75C0.336,15.75 -0,15.414 0,15L0,10.5C0,10.309 0.072,10.126 0.203,9.987C0.346,9.835 0.542,9.75 0.75,9.75L5.25,9.75C5.664,9.75 6,10.086 6,10.5C6,10.914 5.664,11.25 5.25,11.25L2.643,11.25L4.744,13.224C4.749,13.229 4.755,13.234 4.76,13.24C5.477,13.957 6.363,14.481 7.337,14.762C8.311,15.044 9.34,15.074 10.328,14.85C11.317,14.627 12.233,14.156 12.99,13.483C13.748,12.81 14.322,11.955 14.66,11C14.799,10.61 15.227,10.405 15.618,10.543C16.008,10.681 16.213,11.11 16.075,11.5C15.652,12.695 14.934,13.763 13.987,14.604C13.04,15.446 11.895,16.034 10.659,16.314C9.424,16.593 8.137,16.555 6.92,16.203C5.707,15.852 4.603,15.201 3.709,14.31L1.5,12.234Z"></path>
1519</svg>
1520`,us:`
1521<svg width="100%" height="100%" viewBox="0 0 21 15" fill="none" xmlns="http://www.w3.org/2000/svg">
1522  <mask id="us-mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="21" height="15">
1523    <path d="M19 0H2C0.89543 0 0 0.89543 0 2V13C0 14.1046 0.89543 15 2 15H19C20.1046 15 21 14.1046 21 13V2C21 0.89543 20.1046 0 19 0Z" fill="white"></path>
1524  </mask>
1525  <g mask="url(#us-mask0)">
1526  <path d="M19 0H2C0.89543 0 0 0.89543 0 2V13C0 14.1046 0.89543 15 2 15H19C20.1046 15 21 14.1046 21 13V2C21 0.89543 20.1046 0 19 0Z" fill="white"></path>
1527  <path fill-rule="evenodd" clip-rule="evenodd" d="M0 0H9V7H0V0Z" fill="#444379"></path>
1528  <path fill-rule="evenodd" clip-rule="evenodd" d="M1 1V2H2V1H1ZM3 1V2H4V1H3ZM5 1V2H6V1H5ZM7 1V2H8V1H7ZM6 2V3H7V2H6ZM4 2V3H5V2H4ZM2 2V3H3V2H2ZM1 3V4H2V3H1ZM3 3V4H4V3H3ZM5 3V4H6V3H5ZM7 3V4H8V3H7ZM1 5V6H2V5H1ZM3 5V6H4V5H3ZM5 5V6H6V5H5ZM7 5V6H8V5H7ZM6 4V5H7V4H6ZM4 4V5H5V4H4ZM2 4V5H3V4H2Z" fill="#A7B6E7"></path>
1529  <path fill-rule="evenodd" clip-rule="evenodd" d="M9 0V1H21V0H9ZM9 2V3H21V2H9ZM9 4V5H21V4H9ZM9 6V7H21V6H9ZM0 8V9H21V8H0ZM0 10V11H21V10H0ZM0 12V13H21V12H0ZM0 14V15H21V14H0Z" fill="#ED4C49"></path>
1530  <path d="M19 0.5H2C1.17157 0.5 0.5 1.17157 0.5 2V13C0.5 13.8284 1.17157 14.5 2 14.5H19C19.8284 14.5 20.5 13.8284 20.5 13V2C20.5 1.17157 19.8284 0.5 19 0.5Z" stroke="black" stroke-opacity="0.1"></path>
1531  </g>
1532</svg>
1533`,"usdc-circle":`<svg width="100%" height="100%" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
1534
1535    <path fill="#2775ca" d="M0,14a14,14 0 1,0 28,0a14,14 0 1,0 -28,0"></path>
1536    <path fill="#fff" fill-rule="nonzero" d="M17.85 16.217c0-2.042-1.225-2.742-3.675-3.034-1.75-.233-2.1-.7-2.1-1.516 0-.817.583-1.342 1.75-1.342 1.05 0 1.633.35 1.925 1.225a.438.438 0 0 0 .408.292h.934a.399.399 0 0 0 .408-.409v-.058a2.915 2.915 0 0 0-2.625-2.392v-1.4c0-.233-.175-.408-.467-.466h-.875c-.233 0-.408.175-.466.466v1.342c-1.75.233-2.859 1.4-2.859 2.858 0 1.925 1.167 2.684 3.617 2.975 1.633.292 2.158.642 2.158 1.575 0 .934-.816 1.575-1.925 1.575-1.516 0-2.041-.641-2.216-1.516-.059-.234-.234-.35-.409-.35h-.991a.399.399 0 0 0-.409.408v.058c.234 1.459 1.167 2.509 3.092 2.8v1.4c0 .234.175.409.467.467h.875c.233 0 .408-.175.466-.467v-1.4c1.75-.291 2.917-1.516 2.917-3.091Z"></path>
1537    <path fill="#fff" fill-rule="nonzero" d="M11.025 22.342c-4.55-1.634-6.883-6.709-5.192-11.2.875-2.45 2.8-4.317 5.192-5.192.233-.117.35-.292.35-.583V4.55c0-.233-.117-.408-.35-.467-.058 0-.175 0-.233.059-5.542 1.75-8.575 7.641-6.825 13.183a10.492 10.492 0 0 0 6.825 6.825c.233.117.466 0 .525-.233.058-.059.058-.117.058-.234v-.816c0-.175-.175-.409-.35-.525Zm6.183-18.2c-.233-.117-.466 0-.525.233-.058.058-.058.117-.058.233v.817c0 .233.175.467.35.583 4.55 1.634 6.883 6.709 5.192 11.2-.875 2.45-2.8 4.317-5.192 5.192-.233.117-.35.292-.35.583v.817c0 .233.117.408.35.467.058 0 .175 0 .233-.059 5.542-1.75 8.575-7.641 6.825-13.183a10.578 10.578 0 0 0-6.825-6.883Z"></path>
1538</svg>
1539`,"tron-network-disabled":`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
1540
1541    <path fill="#e1e1e1" fill-rule="nonzero" d="M1,9a8,8 0 1,0 16,0a8,8 0 1,0 -16,0"></path>
1542    <path fill="#fff" fill-rule="nonzero" d="m12.337 5.58-8.118-1.5 4.272 10.75 5.953-7.25-2.107-2Zm-.131.65 1.242 1.18-3.396.62 2.154-1.8ZM9.314 7.91l-3.58-2.97 5.851 1.07-2.271 1.9Zm-.255.52-.584 4.83-3.147-7.92 3.731 3.09Zm.54.26 3.762-.68-4.315 5.25.553-4.57Z"></path>
1543    <path fill="#fff" d="M9 16.44A7.441 7.441 0 0 0 16.444 9c0-4.11-3.333-7.44-7.444-7.44A7.441 7.441 0 0 0 1.556 9c0 4.11 3.333 7.44 7.444 7.44ZM9 18A9 9 0 1 0 9 0a9 9 0 0 0 0 18Z"></path>
1544</svg>
1545`,"usdt-circle":`<svg width="100%" height="100%" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
1546
1547    <path fill="#50af95" d="M0,14a14,14 0 1,0 28,0a14,14 0 1,0 -28,0"></path>
1548    <path fill="#fff" d="M15.672 15.278c-.095.007-.586.037-1.683.037-.871 0-1.49-.026-1.708-.037-3.369-.148-5.884-.734-5.884-1.435 0-.701 2.515-1.286 5.884-1.437v2.289c.221.016.852.053 1.723.053 1.047 0 1.571-.044 1.665-.052v-2.288c3.362.149 5.872.735 5.872 1.435 0 .7-2.509 1.286-5.872 1.435h.003Zm0-3.107v-2.048h4.692V7H7.589v3.123h4.692v2.047c-3.814.175-6.681.93-6.681 1.834s2.867 1.657 6.681 1.833V22.4h3.39v-6.565c3.805-.175 6.668-.929 6.668-1.832s-2.861-1.657-6.668-1.833l.001.001Z"></path>
1549</svg>
1550`,"user-calendar":`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
1551
1552  <path d="M14.25,17.25L3.75,17.25C2.507,17.25 1.5,16.243 1.5,15L1.5,4.5C1.5,3.257 2.507,2.25 3.75,2.25L5.25,2.25L5.25,1.5C5.25,1.086 5.586,0.75 6,0.75C6.414,0.75 6.75,1.086 6.75,1.5L6.75,2.25L11.25,2.25L11.25,1.5C11.25,1.086 11.586,0.75 12,0.75C12.414,0.75 12.75,1.086 12.75,1.5L12.75,2.25L14.25,2.25C15.493,2.25 16.5,3.257 16.5,4.5L16.5,15C16.5,16.243 15.493,17.25 14.25,17.25ZM14.25,3.75L3.75,3.75C3.336,3.75 3,4.086 3,4.5L3,15C3,15.411 3.331,15.745 3.74,15.75C3.901,14.635 4.418,13.594 5.224,12.788C5.614,12.398 6.058,12.076 6.539,11.829C5.749,11.142 5.25,10.129 5.25,9C5.25,6.929 6.929,5.25 9,5.25C11.071,5.25 12.75,6.929 12.75,9C12.75,10.152 12.231,11.183 11.413,11.871C11.864,12.112 12.281,12.42 12.649,12.788C13.455,13.594 13.972,14.635 14.133,15.75L14.25,15.75C14.664,15.75 15,15.414 15,15L15,4.5C15,4.086 14.664,3.75 14.25,3.75ZM5.262,15.75L12.611,15.75C12.465,15.035 12.112,14.372 11.588,13.848C10.9,13.16 9.972,12.767 9,12.75L8.937,12.75C7.942,12.75 6.988,13.145 6.285,13.848C5.761,14.372 5.408,15.035 5.262,15.75ZM9,11.25C10.243,11.25 11.25,10.243 11.25,9C11.25,7.757 10.243,6.75 9,6.75C7.757,6.75 6.75,7.757 6.75,9C6.75,10.221 7.723,11.216 8.937,11.25C8.958,11.25 8.979,11.25 9,11.25Z"></path>
1553</svg>
1554`,"user-default":`
1555  <svg width="100%" height="100%" viewBox="0 0 160 160" xmlns="http://www.w3.org/2000/svg">
1556    <g transform="matrix(1.02564,0,0,1.02564,-2.05128,-2.05128)">
1557        <path d="M158,78.05C158,36.077 123.923,2 81.95,2L78.05,2C36.077,2 2,36.077 2,78.05L2,81.95C2,123.923 36.077,158 78.05,158L81.95,158C123.923,158 158,123.923 158,81.95L158,78.05Z" style="fill:rgb(250,241,230);"></path>
1558    </g>
1559    <g transform="matrix(1,0,0,1,-0.8955,0)">
1560        <path d="M49.784,113.08L112.006,113.08C112.598,113.08 113.084,112.594 113.084,112.002L113.084,100.956C113.084,98.591 111.542,96.458 109.282,95.803C90.357,90.248 71.433,90.248 52.509,95.803C50.249,96.458 48.707,98.612 48.707,100.956L48.707,112.002C48.707,112.594 49.193,113.08 49.784,113.08Z" style="fill:rgb(224,210,191);fill-rule:nonzero;"></path>
1561    </g>
1562    <g transform="matrix(1,0,0,1,-0.8955,0)">
1563        <path d="M80.895,80.891C89.787,80.891 96.989,73.689 96.989,64.797C96.989,55.905 89.787,48.703 80.895,48.703C72.003,48.703 64.801,55.905 64.801,64.797C64.801,73.689 72.003,80.891 80.895,80.891Z" style="fill:rgb(224,210,191);fill-rule:nonzero;"></path>
1564    </g>
1565  </svg>
1566  `,"user-filled-clock":`<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
1567
1568<g>
1569<path fill-rule="evenodd" clip-rule="evenodd" d="M7.76689 9.93548C8.03415 10.4119 8.36666 10.8522 8.75712 11.2426C9.57515 12.0607 10.6118 12.6243 11.7417 12.8666V13.3226C11.7417 13.6967 11.4384 14 11.0643 14H2.93523C2.5611 14 2.25781 13.6967 2.25781 13.3226V12.3065C2.25781 10.997 3.31933 9.93548 4.62878 9.93548H7.76689ZM7.99602 3.68902C7.78511 4.00775 7.60415 4.34741 7.45648 4.7039C7.00236 5.80026 6.88354 7.00665 7.11505 8.17054C7.16448 8.41908 7.22942 8.6633 7.30916 8.90188C7.20762 8.91342 7.10438 8.91935 6.99975 8.91935C5.50323 8.91935 4.29007 7.70619 4.29007 6.20968C4.29007 4.71316 5.50323 3.5 6.99975 3.5C7.35152 3.5 7.68763 3.56703 7.99602 3.68902Z" fill="black"></path>
1570<path fill-rule="evenodd" clip-rule="evenodd" d="M18 7C18 9.76142 15.7614 12 13 12C10.2386 12 8 9.76142 8 7C8 4.23858 10.2386 2 13 2C15.7614 2 18 4.23858 18 7ZM13.75 4.5C13.75 4.08579 13.4142 3.75 13 3.75C12.5858 3.75 12.25 4.08579 12.25 4.5V7C12.25 7.25076 12.3753 7.48494 12.584 7.62404L14.084 8.62404C14.4286 8.8538 14.8943 8.76067 15.124 8.41603C15.3538 8.07138 15.2607 7.60573 14.916 7.37596L13.75 6.59861V4.5Z" fill="black"></path>
1571</g>
1572</svg>
1573`,"user-filled":`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
1574
1575    <path d="M4.258,12.306C4.258,10.997 5.32,9.935 6.629,9.935L11.371,9.935C12.68,9.935 13.742,10.997 13.742,12.306L13.742,13.323C13.742,13.697 13.439,14 13.065,14L4.935,14C4.561,14 4.258,13.697 4.258,13.323L4.258,12.306Z"></path>
1576    <path d="M9,8.919C10.496,8.919 11.71,7.706 11.71,6.21C11.71,4.713 10.496,3.5 9,3.5C7.504,3.5 6.29,4.713 6.29,6.21C6.29,7.706 7.504,8.919 9,8.919Z"></path>
1577</svg>
1578`,"user-plus":`<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
1579<path d="M12 15.75V14.25C12 13.4544 11.6839 12.6913 11.1213 12.1287C10.5587 11.5661 9.79565 11.25 9 11.25H3.75C2.95435 11.25 2.19129 11.5661 1.62868 12.1287C1.06607 12.6913 0.75 13.4544 0.75 14.25V15.75" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
1580<path d="M6.375 8.25C8.03185 8.25 9.375 6.90685 9.375 5.25C9.375 3.59315 8.03185 2.25 6.375 2.25C4.71815 2.25 3.375 3.59315 3.375 5.25C3.375 6.90685 4.71815 8.25 6.375 8.25Z" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
1581<path d="M15 6V10.5" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
1582<path d="M17.25 8.25H12.75" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
1583</svg>
1584`,"usdt-disabled":`<svg width="100%" height="100%" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
1585
1586    <path fill="#e1e1e1" d="M0,14a14,14 0 1,0 28,0a14,14 0 1,0 -28,0"></path>
1587    <path fill="#fff" d="M15.672 15.278c-.095.007-.587.037-1.683.037-.872 0-1.491-.026-1.708-.037-3.369-.148-5.884-.734-5.884-1.435 0-.701 2.515-1.286 5.884-1.437v2.289c.22.016.851.053 1.723.053 1.046 0 1.57-.044 1.665-.052v-2.288c3.362.149 5.871.735 5.871 1.435 0 .7-2.508 1.286-5.871 1.435h.003Zm0-3.107v-2.048h4.692V7H7.589v3.123h4.691v2.047c-3.813.175-6.681.93-6.681 1.834s2.868 1.657 6.681 1.833V22.4h3.391v-6.565c3.805-.175 6.668-.929 6.668-1.832s-2.861-1.657-6.668-1.833l.001.001Z"></path>
1588</svg>
1589`,"user-sholders":`<svg width="100%" height="100%" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1590<path d="M8 8C10.21 8 12 6.21 12 4C12 1.79 10.21 0 8 0C5.79 0 4 1.79 4 4C4 6.21 5.79 8 8 8ZM8 10C5.33 10 0 11.34 0 14V15C0 15.55 0.45 16 1 16H15C15.55 16 16 15.55 16 15V14C16 11.34 10.67 10 8 10Z" fill="#E08E34"></path>
1591</svg>
1592`,user:`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
1593
1594    <path d="M15.75,15.75C15.75,16.164 15.414,16.5 15,16.5C14.586,16.5 14.25,16.164 14.25,15.75L14.25,14.25C14.25,13.653 14.013,13.081 13.591,12.659C13.169,12.237 12.597,12 12,12L6,12C5.403,12 4.831,12.237 4.409,12.659C3.987,13.081 3.75,13.653 3.75,14.25L3.75,15.75C3.75,16.164 3.414,16.5 3,16.5C2.586,16.5 2.25,16.164 2.25,15.75L2.25,14.25C2.25,13.255 2.645,12.302 3.348,11.598C4.052,10.895 5.005,10.5 6,10.5L12,10.5C12.995,10.5 13.948,10.895 14.652,11.598C15.355,12.302 15.75,13.255 15.75,14.25L15.75,15.75Z"></path>
1595    <path d="M9,9C6.929,9 5.25,7.321 5.25,5.25C5.25,3.179 6.929,1.5 9,1.5C11.071,1.5 12.75,3.179 12.75,5.25C12.75,7.321 11.071,9 9,9ZM9,7.5C10.243,7.5 11.25,6.493 11.25,5.25C11.25,4.007 10.243,3 9,3C7.757,3 6.75,4.007 6.75,5.25C6.75,6.493 7.757,7.5 9,7.5Z"></path>
1596</svg>
1597`,"usdc-disabled":`<svg width="100%" height="100%" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
1598
1599    <path fill="#e1e1e1" d="M0,14a14,14 0 1,0 28,0a14,14 0 1,0 -28,0"></path>
1600    <path fill="#fff" fill-rule="nonzero" d="M17.85 16.217c0-2.042-1.225-2.742-3.675-3.034-1.75-.233-2.1-.7-2.1-1.516 0-.817.583-1.342 1.75-1.342 1.05 0 1.633.35 1.925 1.225a.438.438 0 0 0 .408.292h.934a.399.399 0 0 0 .408-.409v-.058a2.915 2.915 0 0 0-2.625-2.392v-1.4c0-.233-.175-.408-.467-.466h-.875c-.233 0-.408.175-.466.466v1.342c-1.75.233-2.859 1.4-2.859 2.858 0 1.925 1.167 2.684 3.617 2.975 1.633.292 2.158.642 2.158 1.575 0 .934-.816 1.575-1.925 1.575-1.516 0-2.041-.641-2.216-1.516-.059-.234-.234-.35-.409-.35h-.991a.399.399 0 0 0-.409.408v.058c.234 1.459 1.167 2.509 3.092 2.8v1.4c0 .234.175.409.467.467h.875c.233 0 .408-.175.466-.467v-1.4c1.75-.291 2.917-1.516 2.917-3.091Z"></path>
1601    <path fill="#fff" fill-rule="nonzero" d="M11.025 22.342c-4.55-1.634-6.883-6.709-5.192-11.2.875-2.45 2.8-4.317 5.192-5.192.233-.117.35-.292.35-.583V4.55c0-.233-.117-.408-.35-.467-.058 0-.175 0-.233.059-5.542 1.75-8.575 7.641-6.825 13.183a10.492 10.492 0 0 0 6.825 6.825c.233.117.466 0 .525-.233.058-.059.058-.117.058-.234v-.816c0-.175-.175-.409-.35-.525Zm6.183-18.2c-.233-.117-.466 0-.525.233-.058.058-.058.117-.058.233v.817c0 .233.175.467.35.583 4.55 1.634 6.883 6.709 5.192 11.2-.875 2.45-2.8 4.317-5.192 5.192-.233.117-.35.292-.35.583v.817c0 .233.117.408.35.467.058 0 .175 0 .233-.059 5.542-1.75 8.575-7.641 6.825-13.183a10.578 10.578 0 0 0-6.825-6.883Z"></path>
1602</svg>
1603`,"users-stroke":`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
1604
1605    <path d="M13.5,15.75C13.5,16.164 13.164,16.5 12.75,16.5C12.336,16.5 12,16.164 12,15.75L12,14.25C12,13.653 11.763,13.081 11.341,12.659C10.919,12.237 10.347,12 9.75,12L3.75,12C3.153,12 2.581,12.237 2.159,12.659C1.737,13.081 1.5,13.653 1.5,14.25L1.5,15.75C1.5,16.164 1.164,16.5 0.75,16.5C0.336,16.5 -0,16.164 0,15.75L0,14.25C0,13.255 0.395,12.302 1.098,11.598C1.802,10.895 2.755,10.5 3.75,10.5L9.75,10.5C10.745,10.5 11.698,10.895 12.402,11.598C13.105,12.302 13.5,13.255 13.5,14.25L13.5,15.75Z"></path>
1606    <path d="M6.75,9C4.679,9 3,7.321 3,5.25C3,3.179 4.679,1.5 6.75,1.5C8.821,1.5 10.5,3.179 10.5,5.25C10.5,7.321 8.821,9 6.75,9ZM6.75,7.5C7.993,7.5 9,6.493 9,5.25C9,4.007 7.993,3 6.75,3C5.507,3 4.5,4.007 4.5,5.25C4.5,6.493 5.507,7.5 6.75,7.5Z"></path>
1607    <path d="M18,15.75C18,16.164 17.664,16.5 17.25,16.5C16.836,16.5 16.5,16.164 16.5,15.75L16.5,14.251C16.5,13.752 16.334,13.268 16.028,12.874C15.723,12.48 15.295,12.198 14.813,12.074C14.412,11.97 14.17,11.561 14.274,11.16C14.377,10.759 14.787,10.518 15.187,10.621C15.992,10.829 16.705,11.298 17.214,11.955C17.723,12.612 17.999,13.419 18,14.25L18,15.75Z"></path>
1608    <path d="M11.814,3.074C11.413,2.972 11.171,2.563 11.273,2.162C11.376,1.761 11.785,1.518 12.186,1.621C12.993,1.828 13.708,2.297 14.218,2.955C14.729,3.612 15.006,4.421 15.006,5.254C15.006,6.087 14.729,6.896 14.218,7.553C13.708,8.211 12.993,8.68 12.186,8.887C11.785,8.989 11.376,8.747 11.273,8.346C11.171,7.945 11.413,7.536 11.814,7.434C12.298,7.31 12.727,7.028 13.033,6.634C13.34,6.239 13.506,5.753 
160813.506,5.254C13.506,4.754 13.34,4.269 13.033,3.874C12.727,3.48 12.298,3.198 11.814,3.074Z"></path>
1609</svg>
1610`,users:`<svg width="100%" height="100%" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg">
1611    <path class="add-fill" d="M16,11C17.66,11 18.99,9.66 18.99,8C18.99,6.34 17.66,5 16,5C14.34,5 13,6.34 13,8C13,9.66 14.34,11 16,11ZM8,11C9.66,11 10.99,9.66 10.99,8C10.99,6.34 9.66,5 8,5C6.34,5 5,6.34 5,8C5,9.66 6.34,11 8,11ZM8,13C5.67,13 1,14.17 1,16.5L1,19L15,19L15,16.5C15,14.17 10.33,13 8,13ZM16,13C15.71,13 15.38,13.02 15.03,13.05C16.19,13.89 17,15.02 17,16.5L17,19L23,19L23,16.5C23,14.17 18.33,13 16,13Z" fill="rgb(113,111,128)"></path>
1612</svg>
1613`,"view-grid":`<svg width="100%" height="100%" viewBox="0 0 14 14" version="1.1" xmlns="http://www.w3.org/2000/svg">
1614    <path d="M6.583,1.75L6.583,5.833C6.583,6.248 6.248,6.583 5.833,6.583L1.75,6.583C1.336,6.583 1,6.248 1,5.833L1,1.75C1,1.336 1.336,1 1.75,1L5.833,1C6.248,1 6.583,1.336 6.583,1.75ZM5.083,2.5L2.5,2.5L2.5,5.083L5.083,5.083L5.083,2.5Z"></path>
1615    <path d="M13,1.75L13,5.833C13,6.248 12.664,6.583 12.25,6.583L8.167,6.583C7.752,6.583 7.416,6.248 7.416,5.833L7.416,1.75C7.417,1.336 7.752,1 8.166,1L12.25,1C12.664,1 13,1.336 13,1.75ZM11.5,2.5L8.916,2.5L8.917,5.083L11.5,5.083L11.5,2.5Z"></path>
1616    <path d="M13,8.167L13,12.25C13,12.664 12.664,13 12.25,13L8.167,13C7.752,13 7.416,12.664 7.416,12.25L7.416,8.167C7.417,7.752 7.752,7.417 8.166,7.417L12.25,7.417C12.664,7.417 13,7.752 13,8.167ZM11.5,8.917L8.916,8.917L8.917,11.5L11.5,11.5L11.5,8.917Z"></path>
1617    <path d="M6.583,8.167L6.583,12.25C6.583,12.664 6.248,13 5.833,13L1.75,13C1.336,13 1,12.664 1,12.25L1,8.167C1,7.752 1.336,7.417 1.75,7.417L5.833,7.417C6.248,7.417 6.583,7.752 6.583,8.167ZM5.083,8.917L2.5,8.917L2.5,11.5L5.083,11.5L5.083,8.917Z"></path>
1618</svg>
1619`,"wallet-deposit":`<svg width="100%" height="100%" viewBox="0 0 15 15" version="1.1" xmlns="http://www.w3.org/2000/svg">
1620    <path d="M10,7.5C10,7.776 9.776,8 9.5,8C9.224,8 9,7.776 9,7.5C9,7.224 9.224,7 9.5,7C9.776,7 10,7.224 10,7.5Z"></path>
1621    <path d="M11.621,3.914L12.5,3.914C12.776,3.914 13,4.138 13,4.414L13,10.621C13,11.659 12.159,12.5 11.121,12.5L3.879,12.5C2.841,12.5 2,11.659 2,10.621L2,3.379C2,3.359 2.001,3.339 2.004,3.319C2.001,3.282 2,3.245 2,3.207C2,2.264 2.764,1.5 3.707,1.5L9.741,1.5C10.779,1.5 11.621,2.341 11.621,3.379L11.621,3.914ZM3,4.761L3,10.621C3,11.106 3.394,11.5 3.879,11.5L11.121,11.5C11.606,11.5 12,11.106 12,10.621C12,10.621 12,4.914 12,4.914L3.707,4.914C3.455,4.914 3.215,4.859 3,4.761ZM10.621,3.914L10.621,3.379C10.621,2.894 10.227,2.5 9.741,2.5L3.707,2.5C3.316,2.5 3,2.816 3,3.207C3,3.597 3.316,3.914 3.707,3.914L10.621,3.914Z"></path>
1622</svg>
1623`,"wallet-orange":`<svg width="100%" height="100%" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
1624  <path opacity="0.5" d="M15 19L36.9508 6.84263C39.6432 5.35145 43.0307 6.62356 44.0761 9.51836L47.5 19H15Z" fill="#D48343"></path>
1625  <rect x="7.5" y="19" width="45" height="32.5" rx="5" fill="#D48343"></rect>
1626  <circle cx="41.25" cy="35.25" r="3.75" fill="#F2F2F2"></circle>
1627  <circle cx="14" cy="18" r="14" fill="#FFD200"></circle>
1628  <path d="M19.0001 18.0001H8.99995" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
1629  <path d="M14 13V23.0001" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
1630  </svg>
1631`,"wallet-red":`<svg width="100%" height="100%" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">
1632
1633    <path d="M40,12L40,28C40,34.623 34.623,40 28,40L12,40C5.377,40 0,34.623 0,28L0,12C0,5.377 5.377,0 12,0L28,0C34.623,0 40,5.377 40,12Z" style="fill:rgb(208,91,91);fill-opacity:0.2;"></path>
1634    <path d="M12.8,15.2L23.336,9.364C24.629,8.649 26.255,9.259 26.756,10.649L28.4,15.2L12.8,15.2Z" style="fill:rgb(208,91,91);fill-opacity:0.5;fill-rule:nonzero;"></path>
1635    <path d="M30.8,17.6L30.8,28.4C30.8,29.725 29.725,30.8 28.4,30.8L11.6,30.8C10.276,30.8 9.2,29.725 9.2,28.4L9.2,17.6C9.2,16.276 10.276,15.2 11.6,15.2L28.4,15.2C29.725,15.2 30.8,16.276 30.8,17.6Z" style="fill:rgb(208,91,91);"></path>
1636    <path d="M23.6,23a1.8,1.8 0 1,0 3.6,0a1.8,1.8 0 1,0 -3.6,0" style="fill:rgb(231,173,173);"></path>
1637</svg>
1638`,wallet:`<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1639<path d="M6 6L14.7803 1.13705C15.8573 0.54058 17.2123 1.04942 17.6304 2.20735L19 6H6Z" fill="#716F80" opacity="0.5"></path>
1640<rect class="add-fill" x="3" y="6" width="18" height="13" rx="2" fill="#716F80"></rect>
1641<circle cx="16.5" cy="12.5" r="1.5" fill="#1F2029"></circle>
1642</svg>
1643`,"warning-alert-attention":`<svg width="100%" height="100%" viewBox="0 0 14 14" version="1.1" xmlns="http://www.w3.org/2000/svg">
1644    <circle cx="7" cy="7.005" r="7" style="fill:#D48343;"></circle>
1645    <path d="M7,3.25C7.414,3.25 7.75,3.586 7.75,4L7.75,7C7.75,7.414 7.414,7.75 7,7.75C6.586,7.75 6.25,7.414 6.25,7L6.25,4C6.25,3.586 6.586,3.25 7,3.25ZM7.75,10C7.75,9.586 7.414,9.25 7,9.25C6.586,9.25 6.25,9.586 6.25,10L6.25,10.01C6.25,10.424 6.586,10.76 7,10.76C7.414,10.76 7.75,10.424 7.75,10.01L7.75,10Z" style="fill:white;"></path>
1646</svg>
1647`,"warning-alert-circle":`<svg width="100%" height="100%" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
1648<path d="M30 60C46.5685 60 60 46.5685 60 30C60 13.4315 46.5685 0 30 0C13.4315 0 0 13.4315 0 30C0 46.5685 13.4315 60 30 60Z" fill="#CCCCCC"></path>
1649<path d="M26.9551 16.2997C26.9551 15.4624 27.6402 14.7773 28.4775 14.7773H31.5222C32.3596 14.7773 33.0446 15.4624 33.0446 16.2997V33.8072C33.0446 34.6445 32.3596 35.3296 31.5222 35.3296H28.4775C27.6402 35.3296 26.9551 34.6445 26.9551 33.8072V16.2997Z" fill="#666666"></path>
1650<path d="M29.9999 45.2251C31.6814 45.2251 33.0446 43.8619 33.0446 42.1803C33.0446 40.4987 31.6814 39.1356 29.9999 39.1356C28.3183 39.1356 26.9551 40.4987 26.9551 42.1803C26.9551 43.8619 28.3183 45.2251 29.9999 45.2251Z" fill="#666666"></path>
1651</svg>
1652`,"warning-alert":`<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
1653    <g opacity="0.4">
1654        <path d="M2.67982 15.775H15.3202C16.6128 15.775 17.4185 14.3733 16.7722 13.257L10.452 2.33724C9.80576 1.22092 8.19424 1.22092 7.54795 2.33724L1.22777 13.257C0.581484 14.3733 1.38724 15.775 2.67982 15.775ZM9 9.89963C8.53837 9.89963 8.16067 9.52193 8.16067 9.0603V7.38163C8.16067 6.92 8.53837 6.5423 9 6.5423C9.46163 6.5423 9.83933 6.92 9.83933 7.38163V9.0603C9.83933 9.52193 9.46163 9.89963 9 9.89963ZM9.83933 13.257H8.16067V11.5783H9.83933V13.257Z" fill="black"></path>
1655    </g>
1656</svg>
1657`,"warning-circle":`<svg width="100%" height="100%" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
1658<path d="M24 48C37.2548 48 48 37.2548 48 24C48 10.7452 37.2548 0 24 0C10.7452 0 0 10.7452 0 24C0 37.2548 10.7452 48 24 48Z" fill="#D48343"></path>
1659<path d="M21.5645 13.0382C21.5645 12.3684 22.1125 11.8203 22.7824 11.8203H25.2182C25.888 11.8203 26.4361 12.3684 26.4361 13.0382V27.0442C26.4361 27.714 25.888 28.2621 25.2182 28.2621H22.7824C22.1125 28.2621 21.5645 27.714 21.5645 27.0442V13.0382Z" fill="white"></path>
1660<path d="M24.0003 36.1785C25.3455 36.1785 26.4361 35.088 26.4361 33.7427C26.4361 32.3974 25.3455 31.3069 24.0003 31.3069C22.655 31.3069 21.5645 32.3974 21.5645 33.7427C21.5645 35.088 22.655 36.1785 24.0003 36.1785Z" fill="white"></path>
1661</svg>
1662`,"warning-modal":`<svg width="100%" height="100%" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
1663<g id="Modal icon">
1664<rect id="Rectangle 1118" opacity="0.2" width="40" height="40" rx="12" fill="#D05B5B"></rect>
1665<path id="Vector" d="M10.1677 30.539H29.8305C31.8412 30.539 33.0946 28.3586 32.0893 26.6221L22.2579 9.63586C21.2525 7.89937 18.7457 7.89937 17.7404 9.63586L7.909 26.6221C6.90366 28.3586 8.15707 30.539 10.1677 30.539Z" fill="#D05B5B"></path>
1666<path id="!" d="M21.2594 14.082L21.0288 22.5622H18.8645L18.628 14.082H21.2594ZM19.9467 27.3878C19.5564 27.3878 19.2213 27.2498 18.9414 26.9738C18.6615 26.6939 18.5235 26.3588 18.5274 25.9685C18.5235 25.5822 18.6615 25.251 18.9414 24.975C19.2213 24.699 19.5564 24.5611 19.9467 24.5611C20.3212 24.5611 20.6504 24.699 20.9342 24.975C21.218 25.251 21.3619 25.5822 21.3659 25.9685C21.3619 26.2287 21.2929 26.4672 21.1589 26.6841C21.0288 26.897 20.8573 27.0685 20.6444 27.1986C20.4316 27.3247 20.199 27.3878 19.9467 27.3878Z" fill="#E7ADAD"></path>
1667</g>
1668</svg>
1669`,"warning-banner":`
1670<svg width="100%" height="100%" viewBox="0 0 85 85" fill="none" xmlns="http://www.w3.org/2000/svg">
1671  <circle opacity="0.2" cx="42.5" cy="42.5" r="42.5" fill="#D48343"></circle>
1672  <path d="M54.6357 57.072H31.5799C29.2584 57.072 27.5078 56.2651 26.6491 54.8004C25.7904 53.3347 25.957 51.4372 27.1176 49.4571L38.6455 29.7859C39.8053 27.8054 41.3904 26.7148 43.1074 26.7148C44.8244 26.7148 46.4096 27.8054 47.5694 29.7859L59.0973 49.4571C60.2578 51.4372 60.4244 53.3347 59.5657 54.8004C58.7074 56.2651 56.9568 57.072 54.6357 57.072ZM45.4602 50.1487C45.4602 48.968 44.4886 48.0107 43.2903 48.0107C42.092 48.0107 41.1203 48.968 41.1203 50.1487C41.1203 51.3293 42.092 52.2866 43.2903 52.2866C44.4886 52.2866 45.4602 51.3293 45.4602 50.1487ZM45.5188 37.2828C45.5188 36.0705 44.5211 35.0875 43.2906 35.0875C42.0602 35.0875 41.0625 36.0705 41.0625 37.2828L41.5888 45.0737H41.5959C41.6722 45.9342 42.3972 46.6116 43.2906 46.6116C44.1168 46.6116 44.8063 46.0343 44.9657 45.2669C44.9786 45.2047 44.9797 45.1385 44.9854 45.0741H45.0005L45.5188 37.2828Z" fill="#D48343"></path>
1673  <path d="M45.4602 50.1487C45.4602 48.968 44.4886 48.0107 43.2903 48.0107C42.092 48.0107 41.1203 48.968 41.1203 50.1487C41.1203 51.3293 42.092 52.2866 43.2903 52.2866C44.4886 52.2866 45.4602 51.3293 45.4602 50.1487ZM45.5188 37.2828C45.5188 36.0705 44.5211 35.0875 43.2906 35.0875C42.0602 35.0875 41.0625 36.0705 41.0625 37.2828L41.5888 45.0737H41.5959C41.6722 45.9342 42.3972 46.6116 43.2906 46.6116C44.1168 46.6116 44.8063 46.0343 44.9657 45.2669C44.9786 45.2047 44.9797 45.1385 44.9854 45.0741H45.0005L45.5188 37.2828Z" fill="white"></path>
1674</svg>
1675`,"warning-triangle":`<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
1676<path d="M2.67982 15.775H15.3202C16.6128 15.775 17.4185 14.3733 16.7722 13.257L10.452 2.33724C9.80576 1.22092 8.19424 1.22092 7.54795 2.33724L1.22777 13.257C0.581484 14.3733 1.38724 15.775 2.67982 15.775Z" fill="#D48343"></path>
1677<path d="M9.59011 6.94727L9.48028 10.9854H8.44962L8.33697 6.94727H9.59011ZM8.96495 13.2833C8.77909 13.2833 8.61952 13.2176 8.48622 13.0862C8.35293 12.9529 8.28722 12.7933 8.2891 12.6075C8.28722 12.4235 8.35293 12.2658 8.48622 12.1344C8.61952 12.003 8.77909 11.9373 8.96495 11.9373C9.1433 11.9373 9.30005 12.003 9.43522 12.1344C9.57039 12.2658 9.63892 12.4235 9.64079 12.6075C9.63892 12.7314 9.60606 12.845 9.54223 12.9482C9.48028 13.0496 9.39862 13.1313 9.29724 13.1932C9.19586 13.2533 9.0851 13.2833 8.96495 13.2833Z" fill="white"></path>
1678</svg>
1679`,warning:`<svg width="100%" height="100%" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
1680    <path d="M2.67982 15.775H15.3202C16.6128 15.775 17.4185 14.3733 16.7722 13.257L10.452 2.33724C9.80576 1.22092 8.19424 1.22092 7.54795 2.33724L1.22777 13.257C0.581484 14.3733 1.38724 15.775 2.67982 15.775Z" fill="#C25555"></path>
1681    <path d="M9.59108 6.94727L9.48126 10.9854H8.45059L8.33795 6.94727H9.59108ZM8.96592 13.2833C8.78007 13.2833 8.62049 13.2176 8.4872 13.0862C8.35391 12.9529 8.2882 12.7933 8.29008 12.6075C8.2882 12.4235 8.35391 12.2658 8.4872 12.1344C8.62049 12.003 8.78007 11.9373 8.96592 11.9373C9.14427 11.9373 9.30103 12.003 9.4362 12.1344C9.57137 12.2658 9.63989 12.4235 9.64177 12.6075C9.63989 12.7314 9.60704 12.845 9.54321 12.9482C9.48126 13.0496 9.39959 13.1313 9.29822 13.1932C9.19684 13.2533 9.08607 13.2833 8.96592 13.2833Z" fill="white"></path>
1682</svg>
1683`,"x-close-small":`<svg width="100%" height="100%" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
1684
1685  <path d="M7.939,9L5.47,6.53C5.177,6.238 5.177,5.762 5.47,5.47C5.762,5.177 6.238,5.177 6.53,5.47L9,7.939L11.47,5.47C11.762,5.177 12.238,5.177 12.53,5.47C12.823,5.762 12.823,6.238 12.53,6.53L10.061,9L12.53,11.47C12.823,11.762 12.823,12.238 12.53,12.53C12.238,12.823 11.762,12.823 11.47,12.53L9,10.061L6.53,12.53C6.238,12.823 5.762,12.823 5.47,12.53C5.177,12.238 5.177,11.762 5.47,11.47L7.939,9Z"></path>
1686</svg>
1687`,"world-grey":`<svg width="100%" height="100%" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg">
1688
1689    <path d="M20,10C20,15.519 15.519,20 10,20C4.481,20 0,15.519 0,10C0,4.481 4.481,0 10,0C15.519,0 20,4.481 20,10
1689Z" style="fill:rgb(128,128,128);"></path>
1690    <path d="M16,10C16,9.212 15.845,8.432 15.543,7.704C15.242,6.976 14.8,6.315 14.243,5.757C13.685,5.2 13.024,4.758 12.296,4.457C11.568,4.155 10.788,4 10,4C8.409,4 6.883,4.632 5.757,5.757C4.632,6.883 4,8.409 4,10C4,11.591 4.632,13.117 5.757,14.243C6.883,15.368 8.409,16 10,16C11.591,16 13.117,15.368 14.243,14.243C15.368,13.117 16,11.591 16,10ZM14.758,9.4L13,9.4C12.901,7.989 12.418,6.632 11.602,5.476C12.44,5.774 13.179,6.298 13.736,6.991C14.293,7.684 14.647,8.518 14.758,9.4ZM8.248,10.6L11.8,10.6C11.647,12.082 11.015,13.475 10,14.566C8.986,13.479 8.369,12.082 8.248,10.6ZM8.248,9.4C8.388,7.925 9.003,6.535 10,5.44C11.023,6.524 11.656,7.917 11.8,9.4L8.248,9.4ZM8.464,5.458C7.644,6.62 7.153,7.982 7.042,9.4L5.242,9.4C5.355,8.507 5.718,7.664 6.287,6.967C6.857,6.27 7.611,5.747 8.464,5.458ZM5.242,10.6L7.042,10.6C7.141,12.017 7.629,13.379 8.452,14.536C7.602,14.246 6.851,13.723 6.284,13.027C5.716,12.332 5.355,11.491 5.242,10.6ZM11.572,14.53C12.393,13.372 12.886,12.015 13,10.6L14.77,10.6C14.657,11.488 14.297,12.327 13.732,13.021C13.167,13.716 12.419,14.238 11.572,14.53Z" style="fill:white;fill-rule:nonzero;"></path>
1691</svg>
1692`,"x-close-thin":`<svg width="100%" height="100%" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg">
1693
1694  <path d="M16.586,18L5.293,6.707C4.903,6.317 4.903,5.683 5.293,5.293C5.683,4.903 6.317,4.903 6.707,5.293L18,16.586L29.293,5.293C29.683,4.903 30.317,4.903 30.707,5.293C31.097,5.683 31.097,6.317 30.707,6.707L19.414,18L30.707,29.293C31.097,29.683 31.097,30.317 30.707,30.707C30.317,31.097 29.683,31.097 29.293,30.707L18,19.414L6.707,30.707C6.317,31.097 5.683,31.097 5.293,30.707C4.903,30.317 4.903,29.683 5.293,29.293L16.586,18Z"></path>
1695</svg>
1696`,"x-close":`<svg width="100%" height="100%" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
1697
1698    <path d="M7.939,9L2.47,3.53C2.177,3.238 2.177,2.762 2.47,2.47C2.762,2.177 3.238,2.177 3.53,2.47L9,7.939L14.47,2.47C14.762,2.177 15.238,2.177 15.53,2.47C15.823,2.762 15.823,3.238 15.53,3.53L10.061,9L15.53,14.47C15.823,14.762 15.823,15.238 15.53,15.53C15.238,15.823 14.762,15.823 14.47,15.53L9,10.061L3.53,15.53C3.238,15.823 2.762,15.823 2.47,15.53C2.177,15.238 2.177,14.762 2.47,14.47L7.939,9Z"></path>
1699</svg>
1700`,"xmr-circle":`<svg width="100%" height="100%" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
1701
1702    <path fill="#fff" d="M0,14a14,14 0 1,0 28,0a14,14 0 1,0 -28,0"></path>
1703    <path fill="#f26822" fill-rule="nonzero" d="M14 .001c-7.73 0-14 6.269-14 14 0 1.545.251 3.031.713 4.422H4.9V6.644l9.1 9.1 9.1-9.1v11.779h4.187c.463-1.391.713-2.877.713-4.422 0-7.731-6.269-14-14-14Z"></path>
1704    <path fill="#4d4d4d" fill-rule="nonzero" d="m11.908 17.835-3.971-3.971v7.412H2.038C4.495 25.307 8.934 28 14 28c5.067 0 9.506-2.693 11.963-6.724h-5.899v-7.412l-3.971 3.971L14 19.927l-2.092-2.092Z"></path>
1705</svg>
1706
1707`,"xmr-disabled":`<svg width="100%" height="100%" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd">
1708
1709    <path fill="#e1e1e1" d="M0,14a14,14 0 1,0 28,0a14,14 0 1,0 -28,0"></path>
1710    <path fill="#fff" fill-rule="nonzero" d="M14.001 4.901a9.101 9.101 0 0 0-8.637 11.974h2.722V9.219l5.915 5.915 5.915-5.915v7.656h2.721a9.101 9.101 0 0 0-8.636-11.974Z"></path>
1711    <path fill="#fff" fill-rule="nonzero" d="m12.64 16.493-2.581-2.581v4.817H6.225A9.093 9.093 0 0 0 14 23.1a9.094 9.094 0 0 0 7.776-4.371h-3.834v-4.817l-2.582 2.581-1.36 1.36-1.359-1.36h-.001Z"></path>
1712</svg>
1713`}),a3e=["innerHTML"],l3e={__name:"AppIcon",props:{name:{type:String,default:""},ariaLabel:{type:String,default:""},width:{type:[String,Number],default:null},height:{type:[String,Number],default:null},size:{type:[String,Number],default:""},display:{type:String,default:"block"},opacity:{type:[String,Number],default:"unset"},fill:{type:String,default:""},stroke:{type:String,default:""},isHovered:{type:Boolean,default:!1},color:{type:String,default:""}},setup(e){const t=e,o=Rn((()=>{const r={};return t.height&&(r["--icon-height"]=t.height),t.width&&(r["--icon-width"]=t.width),t.size&&(r["--icon-width"]=t.size,r["--icon-height"]=t.size),t.display&&(r["--icon-display"]=t.display),t.opacity&&(r["--icon-opacity"]=t.opacity),t.fill&&(r["--icon-fill"]=t.fill),t.stroke&&(r["--icon-stroke"]=t.stroke),t.color&&(r["--icon-color"]=t.color),r})()),i=M(()=>
1713r3e[t.name]),s=Rn({class:{"is-hovered":t.isHovered,"has-color":!!t.color,"has-fill":!!t.fill,icon:!0},style:o,"aria-label":t.ariaLabel});return(r,a)=>(N(),ee("span",Rt({key:i.value,class:"icon"},s,{innerHTML:i.value}),null,16,a3e))}},K0=Lt(l3e,[["__scopeId","data-v-ac49ec96"]]),c3e="#D48343",u3e="var(--color-black-005)",d3e="#5cb56a",h3e="white",p3e="#ffffff",f3e="#E34F62",g3e="#ffffff",m3e="#000000",v3e="#2F80ED",C3e="#fff",b3e="#C25555",y3e="white",w3e="#DEDEDE",S3e="#13171A",E3e="white",T3e="#E8EBED",R3e="#3A4751",P3e="#BC0000",M3e="white",L3e="#F7F7F7",x3e="499px",D3e="320px",k3e="52px",A3e="500px",_3e="_selectable_1pj9s_46",I3e={primary:c3e,disabled:u3e,success:d3e,tsuccess:h3e,tprimary:p3e,secondary:f3e,tsecondary:g3e,default:"#F2F2F2",tdefault:m3e,info:v3e,tinfo:C3e,"primary-light":"#E9A848","tprimary-light":"#fff","secondary-light":"#EC5B5B","tsecondary-light":"#fff",danger:b3e,tdanger:y3e,draft:w3e,black:S3e,white:E3e,grey:T3e,darkGrey:R3e,error:P3e,terror:M3e,BGlabel:L3e,"default-status-color":"rgba(0, 0, 0, 0.05)","tdefault-status-color":"rgba(0, 0, 0, 0.5)","bdefault-status-color":"rgba(0, 0, 0, 0.2)","blocked-status-color":"#f2f2f2","tblocked-status-color":"rgba(0, 0, 0, 0.5)","bblocked-status-color":"rgba(0, 0, 0, 0.2)","inactive-status-color":"rgba(0, 0, 0, 0.05)","tinactive-status-color":"rgba(0, 0, 0, 0.5)","binactive-status-color":"rgba(0, 0, 0, 0.2)","cancelled-status-color":"#f2f2f2","tcancelled-status-color":"rgba(0, 0, 0, 0.5)","bcancelled-status-color":"rgba(0, 0, 0, 0.2)","primary-status-color":"#F19436","tprimary-status-color":"white","info-status-color":"#E5F4FD","tinfo-status-color":"#3D7EB1","binfo-status-color":"rgba(61, 126, 177, 0.2)","secondary-status-color":"#5D9D52","tsecondary-status-color":"white","success-status-color":"#E6F9D8","tsuccess-status-color":"rgb(35, 100, 0)","bsuccess-status-color":"rgba(35, 100, 0, 0.2)","deleted-status-color":"rgba(167, 0, 0, 0.5)","tdeleted-status-color":"#ffffff","danger-status-color":"#FCEBCC","tdanger-status-color":"#784A20","bdanger-status-color":"rgba(120, 74, 32, 0.2)","bounced-status-color":"#F9E2E2","tbounced-status-color":"#862A25","bbounced-status-color":"rgba(134, 42, 37, 0.2)","white-status-color":"white","twhite-status-color":"rgba(0, 0, 0, 0.5)","bwhite-status-color":"rgba(0, 0, 0, 0.2)","draft-status-color":"#DEDEDE","disabled-status-color":"#F9E2E2","pre_new-status-color":"#DEDEDE","pending-status-color":"#DEDEDE","error-status-color":"rgba(167, 0, 0, 0.5)","terror-status-color":"white","ADMINsuccess-status-color":"#E6F9D8","tADMINsuccess-status-color":"#5D9D52","bADMINsuccess-status-color":"rgba(35, 100, 0, 0.2)","ADMINinactive-status-color":"#FCEBCC","tADMINinactive-status-color":"#784A20","bADMINinactive-status-color":"rgba(120, 74, 32, 0.2)","ADMINdanger-status-color":"rgba(0, 0, 0, 0.05)","tADMINdanger-status-color":"#797979","bADMINdanger-status-color":"rgba(0, 0, 0, 0.2)","ADMINdeleted-status-color":"#ffffff","tADMINdeleted-status-color":"#999999","bADMINdeleted-status-color":"rgba(0, 0, 0, 0.2)",mobileMaxWidth:x3e,mobileMinWidth:D3e,mobileheaderHeight:k3e,desktopMinWidth:A3e,"font-regular":"_font-regular_1pj9s_3","font-medium":"_font-medium_1pj9s_7","font-semibold":"_font-semibold_1pj9s_11","font-mono":"_font-mono_1pj9s_15","visually-hidden":"_visually-hidden_1pj9s_21","no-events":"_no-events_1pj9s_35","focus-visible":"_focus-visible_1pj9s_39",selectable:_3e},_y={name:"AppText",inheritAttrs:!0,props:{variant:{type:String,default:"span"},type:{type:String,default:""},size:{type:String,default:"13px"},lineHeight:{type:Number,default:1.2},mt:{type:String,default:"0"},mr:{type:String,default:"0"},mb:{type:String,default:"0"},ml:{type:String,default:"0"},pt:{type:String,default:"0"},pr:{type:String,default:"0"},pb:{type:String,default:"0"},pl:{type:String,default:"0"},color:{type:String,default:"inherit"},theme:{type:String,default:""},opacity:{type:[String,Number],default:"1"},uppercaseFirstLetter:{type:Boolean,default:!1},spacing:{type:String,default:"inherit"},isBlock:{type:Boolean,default:!1},to:{type:String,default:""},align:{type:String,default:"left",validate:e=>["left","center","right"].includes(e)}},setup(e,{attrs:t}){const n=M(()=>Object.keys(t).reduce((s,r)=>({...s,[`text__${r}`]:!0}),{})),o=M(()=>I3e[e.theme]||e.color),i=M(()=>`${Math.round(e.size?.replace("px","")*e.lineHeight)}px`||"13px");return{classes:n,colorTheme:o,calculatedLineHeight:i}}},yE=()=>{Gs(e=>({v437b29ac:e.size,v404f2fc2:e.calculatedLineHeight,v2da7ed4c:e.color,v36d74f10:e.mt,v36d74f0e:e.mr,v36d74efe:e.mb,v36d74f08:e.ml,v36d74f6d:e.pt,v36d74f6b:e.pr,v36d74f5b:e.pb,v36d74f65:e.pl,v6ba39f7c:e.opacity,c471c70c:e.spacing,v2de31e08:e.align}))},wE=_y.setup;_y.setup=wE?(e,t)=>(yE(),wE(e,t)):yE;function F3e(e,t,n,o,i,s){const r=Ke("router-link");return N(),ve(vn(n.variant),{class:U(["text",{[`text__${n.type}`]:n.type,"text__uppercase-first":n.uppercaseFirstLetter,...o.classes,"is-block":n.isBlock}])},{default:se(()=>[n.to.length?(N(),ve(r,{key:0,to:n.to},{default:se(()=>[ke(e.$slots,"default",{},void 0,!0)]),_:3},8,["to"])):ke(e.$slots,"default",{key:1},void 0,!0)]),_:3},8,["class"])}const O3e=Lt(_y,[["render",F3e],["__scopeId","data-v-bea7060d"]]);var Y1={exports:{}},N3e=Y1.exports,SE;function B3e(){return SE||(SE=1,(function(e,t){(function(n,o){e.exports=o()})(N3e,(function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(i,s,r){var a,l=function(h,p,f){f===void 0&&(f={});var g=new Date(h),m=(function(v,y){y===void 0&&(y={});var b=y.timeZoneName||"short",w=v+"|"+b,S=o[w];return S||(S=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:v,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:b}),o[w]=S),S})(p,f);return m.formatToParts(g)},c=function(h,p){for(var f=l(h,p),g=[],m=0;m<f.length;m+=1){var v=f[m],y=v.type,b=v.value,w=n[y];w>=0&&(g[w]=parseInt(b,10))}var S=g[3],E=S===24?0:S,T=g[0]+"-"+g[1]+"-"+g[2]+" "+E+":"+g[4]+":"+g[5]+":000",R=+h;return(r.utc(T).valueOf()-(R-=R%1e3))/6e4},u=s.prototype;u.tz=function(h,p){h===void 0&&(h=a);
1713var f,g=this.utcOffset(),m=this.toDate(),v=m.toLocaleString("en-US",{timeZone:h}),y=Math.round((m-new Date(v))/1e3/60),b=15*-Math.round(m.getTimezoneOffset()/15)-y;if(!Number(b))f=this.utcOffset(0,p);else if(f=r(v,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(b,!0),p){var w=f.utcOffset();f=f.add(g-w,"minute")}return f.$x.$timezone=h,f},u.offsetName=function(h){var p=this.$x.$timezone||r.tz.guess(),f=l(this.valueOf(),p,{timeZoneName:h}).find((function(g){return g.type.toLowerCase()==="timezonename"}));return f&&f.value};var d=u.startOf;u.startOf=function(h,p){if(!this.$x||!this.$x.$timezone)return d.call(this,h,p);var f=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return d.call(f,h,p).tz(this.$x.$timezone,!0)},r.tz=function(h,p,f){var g=f&&p,m=f||p||a,v=c(+r(),m);if(typeof h!="string")return r(h).tz(m);var y=(function(E,T,R){var A=E-60*T*1e3,k=c(A,R);if(T===k)return[A,T];var D=c(A-=60*(k-T)*1e3,R);return k===D?[A,k]:[E-60*Math.min(k,D)*1e3,Math.max(k,D)]})(r.utc(h,g).valueOf(),v,m),b=y[0],w=y[1],S=r(b).utcOffset(w);return S.$x.$timezone=m,S},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(h){a=h}}}))})(Y1)),Y1.exports}var H3e=B3e();const wF=Gn(H3e);var X1={exports:{}},V3e=X1.exports,EE;function $3e(){return EE||(EE=1,(function(e,t){(function(n,o){e.exports=o()})(V3e,(function(){var n="minute",o=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(s,r,a){var l=r.prototype;a.utc=function(g){var m={date:g,utc:!0,args:arguments};return new r(m)},l.utc=function(g){var m=a(this.toDate(),{locale:this.$L,utc:!0});return g?m.add(this.utcOffset(),n):m},l.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var c=l.parse;l.parse=function(g){g.utc&&(this.$u=!0),this.$utils().u(g.$offset)||(this.$offset=g.$offset),c.call(this,g)};var u=l.init;l.init=function(){if(this.$u){var g=this.$d;this.$y=g.getUTCFullYear(),this.$M=g.getUTCMonth(),this.$D=g.getUTCDate(),this.$W=g.getUTCDay(),this.$H=g.getUTCHours(),this.$m=g.getUTCMinutes(),this.$s=g.getUTCSeconds(),this.$ms=g.getUTCMilliseconds()}else u.call(this)};var d=l.utcOffset;l.utcOffset=function(g,m){var v=this.$utils().u;if(v(g))return this.$u?0:v(this.$offset)?d.call(this):this.$offset;if(typeof g=="string"&&(g=(function(S){S===void 0&&(S="");var E=S.match(o);if(!E)return null;var T=(""+E[0]).match(i)||["-",0,0],R=T[0],A=60*+T[1]+ +T[2];return A===0?0:R==="+"?A:-A})(g),g===null))return this;var y=Math.abs(g)<=16?60*g:g;if(y===0)return this.utc(m);var b=this.clone();if(m)return b.$offset=y,b.$u=!1,b;var w=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(b=this.local().add(y+w,n)).$offset=y,b.$x.$localOffset=w,b};var h=l.format;l.format=function(g){var m=g||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,m)},l.valueOf=function(){var g=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*g},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var p=l.toDate;l.toDate=function(g){return g==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var f=l.diff;l.diff=function(g,m,v){if(g&&this.$u===g.$u)return f.call(this,g,m,v);var y=this.local(),b=a(g).local();return f.call(y,b,m,v)}}}))})(X1)),X1.exports}var W3e=$3e();const SF=Gn(W3e),G3e={name:"DateFormatter",inheritAttrs:!0,props:{date:{type:[String,Date],default:""},format:{type:String,default:null},isUtc:{type:Boolean,default:!1},isPlainText:{type:Boolean,default:!1}},setup(e){const{isAdminRole:t}=Go(),{dateFormat:n,timezoneCode:o}=t.value?Sm():tf(),i=M(()=>e.format?e.format:n.value),s=a=>{if(tt.extend(SF),tt.extend(wF),e.isUtc)return tt.utc(a);try{return tt(a).tz(o.value)}catch{return tt(a)}};return{formattedDate:M(()=>e.date?s(e.date).format(i.value):"-")}}};function z3e(e,t,n,o,i,s){const r=Ke("AppText");return n.isPlainText?(N(),ee(Ze,{key:0},[mt(Be(o.formattedDate),1)],64)):(N(),ve(r,Rt({key:1},e.$attrs,{class:"date"}),{default:se(()=>[mt(Be(o.formattedDate),1)]),_:1},16))}const EF=Lt(G3e,[["render",z3e]]),lNe=Object.freeze(Object.defineProperty({__proto__:null,default:EF},Symbol.toStringTag,{value:"Module"})),U3e={__name:"NumberFormatter",props:{value:{type:Number,default:0},format:{type:String,default:"",validate:e=>["comma","normal"].includes(e)},type:{type:String,default:"",validate:e=>Object.values(ca).includes(e)},isRaw:{type:Boolean,default:!1},isStat:{type:Boolean,default:!1},isInr:{type:Boolean,default:!1}},setup(e){const t=e,n=M(()=>V0e({value:t.value,format:t.format,numberType:t.type,isRaw:t.isRaw,isStat:t.isStat,isInr:t.isInr}));return(o,i)=>{const s=Ke("AppText");return N(),ve(s,_i(as(o.$attrs)),{default:se(()=>[mt(Be(n.value),1)]),_:1},16)}}},In=(e,t,{checkForDefaultPrevented:n=!0}={})=>i=>{const s=e?.(i);if(n===!1||!s)return t?.(i)},TE=e=>t=>t.pointerType==="mouse"?e(t):void 0;var j3e=Object.defineProperty,Z3e=Object.defineProperties,K3e=Object.getOwnPropertyDescriptors,RE=Object.getOwnPropertySymbols,q3e=Object.prototype.hasOwnProperty,Y3e=Object.prototype.propertyIsEnumerable,PE=(e,t,n)=>t in e?j3e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,X3e=(e,t)=>
1713{for(var n in t||(t={}))q3e.call(t,n)&&PE(e,n,t[n]);if(RE)for(var n of RE(t))Y3e.call(t,n)&&PE(e,n,t[n]);return e},J3e=(e,t)=>Z3e(e,K3e(t));function ME(e,t){var n;const o=pt();return E4(()=>{o.value=e()},J3e(X3e({},t),{flush:(n=void 0)!=null?n:"sync"})),ao(o)}var LE;const eo=typeof window<"u",Q3e=e=>typeof e<"u",e4e=e=>typeof e=="function",t4e=e=>typeof e=="string",TF=()=>{},RF=eo&&((LE=window?.navigator)==null?void 0:LE.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function PF(e){return typeof e=="function"?e():C(e)}function n4e(e){return e}function Iy(e){return lc()?(Lp(e),!0):!1}function o4e(e,t=!0){vt()?Dt(e):t?e():ot(e)}function Sa(e){var t;const n=PF(e);return(t=n?.$el)!=null?t:n}const q0=eo?window:void 0,i4e=eo?window.document:void 0;function Ci(...e){let t,n,o,i;if(t4e(e[0])||Array.isArray(e[0])?([n,o,i]=e,t=q0):[t,n,o,i]=e,!t)return TF;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const s=[],r=()=>{s.forEach(u=>u()),s.length=0},a=(u,d,h,p)=>(u.addEventListener(d,h,p),()=>u.removeEventListener(d,h,p)),l=Le(()=>[Sa(t),PF(i)],([u,d])=>{r(),u&&s.push(...n.flatMap(h=>o.map(p=>a(u,h,p,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),r()};return Iy(c),c}let xE=!1;function MF(e,t,n={}){const{window:o=q0,ignore:i=[],capture:s=!0,detectIframe:r=!1}=n;if(!o)return;RF&&!xE&&(xE=!0,Array.from(o.document.body.children).forEach(h=>h.addEventListener("click",TF)));let a=!0;const l=h=>i.some(p=>{if(typeof p=="string")return Array.from(o.document.querySelectorAll(p)).some(f=>f===h.target||h.composedPath().includes(f));{const f=Sa(p);return f&&(h.target===f||h.composedPath().includes(f))}}),u=[Ci(o,"click",h=>{const p=Sa(e);if(!(!p||p===h.target||h.composedPath().includes(p))){if(h.detail===0&&(a=!l(h)),!a){a=!0;return}t(h)}},{passive:!0,capture:s}),Ci(o,"pointerdown",h=>{const p=Sa(e);p&&(a=!h.composedPath().includes(p)&&!l(h))},{passive:!0}),r&&Ci(o,"blur",h=>{var p;const f=Sa(e);((p=o.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!f?.contains(o.document.activeElement)&&t(h)})].filter(Boolean);return()=>u.forEach(h=>h())}function s4e(e,t=!1){const n=J(),o=()=>n.value=!!e();return o(),o4e(o,t),n}function r4e(e){return JSON.parse(JSON.stringify(e))}const DE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},kE="__vueuse_ssr_handlers__";DE[kE]=DE[kE]||{};function a4e({document:e=i4e}={}){if(!e)return J("visible");const t=J(e.visibilityState);return Ci(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var AE=Object.getOwnPropertySymbols,l4e=Object.prototype.hasOwnProperty,c4e=Object.prototype.propertyIsEnumerable,u4e=(e,t)=>{var n={};for(var o in e)l4e.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&AE)for(var o of AE(e))t.indexOf(o)<0&&c4e.call(e,o)&&(n[o]=e[o]);return n};function Cd(e,t,n={}){const o=n,{window:i=q0}=o,s=u4e(o,["window"]);let r;const a=s4e(()=>i&&"ResizeObserver"in i),l=()=>{r&&(r.disconnect(),r=void 0)},c=Le(()=>Sa(e),d=>{l(),a.value&&i&&d&&(r=new ResizeObserver(t),r.observe(d,s))},{immediate:!0,flush:"post"}),u=()=>{l(),c()};return Iy(u),{isSupported:a,stop:u}}var _E;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(_E||(_E={}));var d4e=Object.defineProperty,IE=Object.getOwnPropertySymbols,h4e=Object.prototype.hasOwnProperty,p4e=Object.prototype.propertyIsEnumerable,FE=(e,t,n)=>t in e?d4e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f4e=(e,t)=>{for(var n in t||(t={}))h4e.call(t,n)&&FE(e,n,t[n]);if(IE)for(var n of IE(t))p4e.call(t,n)&&FE(e,n,t[n]);return e};const g4e={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};f4e({linear:n4e},g4e);function m4e(e,t,n,o={}){var i,s,r;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:d}=o,h=vt(),p=h?.emit||((i=h?.$emit)==null?void 0:i.bind(h))||((r=(s=h?.proxy)==null?void 0:s.$emit)==null?void 0:r.bind(h?.proxy));let f=c;f=c||f||`update:${t.toString()}`;const g=v=>a?e4e(a)?a(v):r4e(v):v,m=()=>Q3e(e[t])?g(e[t]):d;if(l){const v=m(),y=J(v);return Le(()=>e[t],b=>y.value=g(b)),Le(y,b=>{(b!==e[t]||u)&&p(f,b)},{deep:u}),y}else return M({get(){return m()},set(v){p(f,v)}})}function v4e({window:e=q0}={}){if(!e)return J(!1);const t=J(e.document.hasFocus());return Ci(e,"blur",()=>{t.value=!1}
vendor: 4,190 bytes, line 1713
1713),Ci(e,"focus",()=>{t.value=!0}),t}const C4e=()=>eo&&/firefox/i.test(window.navigator.userAgent);function b4e(e,t){for(var n=-1,o=e==null?0:e.length,i=Array(o);++n<o;)i[n]=t(e[n],n,e);return i}var ss=Array.isArray,OE=Li?Li.prototype:void 0,NE=OE?OE.toString:void 0;function LF(e){if(typeof e=="string")return e;if(ss(e))return b4e(e,LF)+"";if(Z0(e))return NE?NE.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function y4e(e){return e}var w4e="[object AsyncFunction]",S4e="[object Function]",E4e="[object GeneratorFunction]",T4e="[object Proxy]";function xF(e){if(!Vs(e))return!1;var t=vd(e);return t==S4e||t==E4e||t==w4e||t==T4e}var oC=us["__core-js_shared__"],BE=(function(){var e=/[^.]+$/.exec(oC&&oC.keys&&oC.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function R4e(e){return!!BE&&BE in e}var P4e=Function.prototype,M4e=P4e.toString;function wc(e){if(e!=null){try{return M4e.call(e)}catch{}try{return e+""}catch{}}return""}var L4e=/[\\^$.*+?()[\]{}|]/g,x4e=/^\[object .+?Constructor\]$/,D4e=Function.prototype,k4e=Object.prototype,A4e=D4e.toString,_4e=k4e.hasOwnProperty,I4e=RegExp("^"+A4e.call(_4e).replace(L4e,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function F4e(e){if(!Vs(e)||R4e(e))return!1;var t=xF(e)?I4e:x4e;return t.test(wc(e))}function O4e(e,t){return e?.[t]}function Sc(e,t){var n=O4e(e,t);return F4e(n)?n:void 0}var P3=Sc(us,"WeakMap"),HE=Object.create,N4e=(function(){function e(){}return function(t){if(!Vs(t))return{};if(HE)return HE(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}})();function B4e(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var H4e=800,V4e=16,$4e=Date.now;function W4e(e){var t=0,n=0;return function(){var o=$4e(),i=V4e-(o-n);if(n=o,i>0){if(++t>=H4e)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function G4e(e){return function(){return e}}var Pm=(function(){try{var e=Sc(Object,"defineProperty");return e({},"",{}),e}catch{}})(),z4e=Pm?function(e,t){return Pm(e,"toString",{configurable:!0,enumerable:!1,value:G4e(t),writable:!0})}:y4e,U4e=W4e(z4e);function j4e(e,t){for(var n=-1,o=e==null?0:e.length;++n<o&&t(e[n],n,e)!==!1;);return e}var Z4e=9007199254740991,K4e=/^(?:0|[1-9]\d*)$/;function Fy(e,t){var n=typeof e;return t=t??Z4e,!!t&&(n=="number"||n!="symbol"&&K4e.test(e))&&e>-1&&e%1==0&&e<t}function q4e(e,t,n){t=="__proto__"&&Pm?Pm(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Oy(e,t){return e===t||e!==e&&t!==t}var Y4e=Object.prototype,X4e=Y4e.hasOwnProperty;function DF(e,t,n){var o=e[t];(!(X4e.call(e,t)&&Oy(o,n))||n===void 0&&!(t in e))&&q4e(e,t,n)}var VE=Math.max;function J4e(e,t,n){return t=VE(t===void 0?e.length-1:t,0),function(){for(var o=arguments,i=-1,s=VE(o.length-t,0),r=Array(s);++i<s;)r[i]=o[t+i];i=-1;for(var a=Array(t+1);++i<t;)a[i]=o[i];return a[t]=n(r),B4e(e,this,a)}}var Q4e=9007199254740991;function Ny(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Q4e}function ebe(e){return e!=null&&Ny(e.length)&&!xF(e)}var tbe=Object.prototype;function kF(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||tbe;return e===n}function nbe(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}var obe="[object Arguments]";function $E(e){return $a(e)&&vd(e)==obe}var AF=Object.prototype,ibe=AF.hasOwnProperty,sbe=AF.propertyIsEnumerable,By=$E((function(){return arguments})())?$E:function(e){return $a(e)&&ibe.call(e,"callee")&&!sbe.call(e,"callee")};function rbe(){return!1}var _F=typeof exports=="object"&&exports&&!exports.nodeType&&exports,WE=_F&&typeof module=="object"&&module&&!module.nodeType&&module,abe=WE&&WE.exports===_F,GE=abe?us.Buffer:void 0,lbe=GE?GE.isBuffer:void 0,Mm=lbe||rbe,cbe="[object Arguments]",ube="[object Array]",dbe="[object Boolean]",hbe="[object Date]",pbe="[object Error]",fbe="[object Function]",gbe="[object Map]",mbe="[object Number]",vbe="[object Object]",Cbe="[object RegExp]",bbe="[object Set]",ybe="[object String]",wbe="[object WeakMap]",Sbe="[object ArrayBuffer]",Ebe="[object DataView]",Tbe="[object Float32Array]",Rbe="[object Float64Array
1713]",Pbe="[object Int8Array]",Mbe="[object Int16Array]",Lbe="[object Int32Array]",xbe="[object Uint8Array]",Dbe="[object Uint8ClampedArray]",kbe="[object Uint16Array]",Abe="[object Uint32Array]",un={};un[Tbe]=un[Rbe]=un[Pbe]=un[Mbe]=un[Lbe]=un[xbe]=un[Dbe]=un[kbe]=un[Abe]=!0;un[cbe]=un[ube]=un[Sbe]=un[dbe]=un[Ebe]=un[hbe]=un[pbe]=un[fbe]=un[gbe]=un[mbe]=un[vbe]=un[Cbe]=un[bbe]=un[ybe]=un[wbe]=!1;function _be(e){return $a(e)&&Ny(e.length)&&!!un[vd(e)]}function Hy(e){return function(t){return e(t)}}var IF=typeof exports=="object"&&exports&&!exports.nodeType&&exports,wh=IF&&typeof module=="object"&&module&&!module.nodeType&&module,Ibe=wh&&wh.exports===IF,iC=Ibe&&pF.process,Ku=(function(){try{var e=wh&&wh.require&&wh.require("util").types;return e||iC&&iC.binding&&iC.binding("util")}catch{}})(),zE=Ku&&Ku.isTypedArray,FF=zE?Hy(zE):_be,Fbe=Object.prototype,Obe=Fbe.hasOwnProperty;function Nbe(e,t){var n=ss(e),o=!n&&By(e),i=!n&&!o&&Mm(e),s=!n&&!o&&!i&&FF(e),r=n||o||i||s,a=r?nbe(e.length,String):[],l=a.length;for(var c in e)Obe.call(e,c)&&!(r&&(c=="length"||i&&(c=="offset"||c=="parent")||s&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Fy(c,l)))&&a.push(c);return a}function OF(e,t){return function(n){return e(t(n))}}var Bbe=OF(Object.keys,Object),Hbe=Object.prototype,Vbe=Hbe.hasOwnProperty;function $be(e){if(!kF(e))return Bbe(e);var t=[];for(var n in Object(e))Vbe.call(e,n)&&n!="constructor"&&t.push(n);return t}function Wbe(e){return ebe(e)?Nbe(e):$be(e)}var Gbe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,zbe=/^\w*$/;function Ube(e,t){if(ss(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Z0(e)?!0:zbe.test(e)||!Gbe.test(e)||t!=null&&e in Object(t)}var dp=Sc(Object,"create");function jbe(){this.__data__=dp?dp(null):{},this.size=0}function Zbe(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Kbe="__lodash_hash_undefined__",qbe=Object.prototype,Ybe=qbe.hasOwnProperty;function Xbe(e){var t=this.__data__;if(dp){var n=t[e];return n===Kbe?void 0:n}return Ybe.call(t,e)?t[e]:void 0}var Jbe=Object.prototype,Qbe=Jbe.hasOwnProperty;function eye(e){var t=this.__data__;return dp?t[e]!==void 0:Qbe.call(t,e)}var tye="__lodash_hash_undefined__";function nye(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=dp&&t===void 0?tye:t,this}function oc(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}oc.prototype.clear=jbe;oc.prototype.delete=Zbe;oc.prototype.get=Xbe;oc.prototype.has=eye;oc.prototype.set=nye;function oye(){this.__data__=[],this.size=0}function Y0(e,t){for(var n=e.length;n--;)if(Oy(e[n][0],t))return n;return-1}var iye=Array.prototype,sye=iye.splice;function rye(e){var t=this.__data__,n=Y0(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():sye.call(t,n,1),--this.size,!0}function aye(e){var t=this.__data__,n=Y0(t,e);return n<0?void 0:t[n][1]}function lye(e){return Y0(this.__data__,e)>-1}function cye(e,t){var n=this.__data__,o=Y0(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function Wr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}Wr.prototype.clear=oye;Wr.prototype.delete=rye;Wr.prototype.get=aye;Wr.prototype.has=lye;Wr.prototype.set=cye;var hp=Sc(us,"Map");function uye(){this.size=0,this.__data__={hash:new oc,map:new(hp||Wr),string:new oc}}function dye(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function X0(e,t){var n=e.__data__;return dye(t)?n[typeof t=="string"?"string":"hash"]:n.map}function hye(e){var t=X0(this,e).delete(e);return this.size-=t?1:0,t}function pye(e){return X0(this,e).get(e)}function fye(e){return X0(this,e).has(e)}function gye(e,t){var n=X0(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}function Gr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}Gr.prototype.clear=uye;Gr.prototype.delete=hye;Gr.prototype.get=pye;Gr.prototype.has=fye;Gr.prototype.set=gye;var mye="Expected a function";function Vy(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(mye);var n=function(){var o=arguments,i=t?t.apply(this,o):o[0],s=n.cache;if(s.has(i))return s.get(i);var r=e.apply(this,o);return n.cache=s.set(i,r)||s,r};return n.cache=new(Vy.Cache||Gr),n}Vy.Cache=Gr;var vye=500;function Cye(e){var t=Vy(e,function(o){return n.size===vye&&n.clear(),o}),n=t.cache;return t}var bye=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yye=/\\(\\)?/g,wye=Cye(function(e){var t=[];
1713return e.charCodeAt(0)===46&&t.push(""),e.replace(bye,function(n,o,i,s){t.push(i?s.replace(yye,"$1"):o||n)}),t});function Sye(e){return e==null?"":LF(e)}function J0(e,t){return ss(e)?e:Ube(e,t)?[e]:wye(Sye(e))}function $y(e){if(typeof e=="string"||Z0(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function NF(e,t){t=J0(t,e);for(var n=0,o=t.length;e!=null&&n<o;)e=e[$y(t[n++])];return n&&n==o?e:void 0}function ci(e,t,n){var o=e==null?void 0:NF(e,t);return o===void 0?n:o}function BF(e,t){for(var n=-1,o=t.length,i=e.length;++n<o;)e[i+n]=t[n];return e}var UE=Li?Li.isConcatSpreadable:void 0;function Eye(e){return ss(e)||By(e)||!!(UE&&e&&e[UE])}function Tye(e,t,n,o,i){var s=-1,r=e.length;for(n||(n=Eye),i||(i=[]);++s<r;){var a=e[s];n(a)?BF(i,a):i[i.length]=a}return i}function HF(e){var t=e==null?0:e.length;return t?Tye(e):[]}function Rye(e){return U4e(J4e(e,void 0,HF),e+"")}var Pye=OF(Object.getPrototypeOf,Object);function jE(){if(!arguments.length)return[];var e=arguments[0];return ss(e)?e:[e]}function Mye(){this.__data__=new Wr,this.size=0}function Lye(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function xye(e){return this.__data__.get(e)}function Dye(e){return this.__data__.has(e)}var kye=200;function Aye(e,t){var n=this.__data__;if(n instanceof Wr){var o=n.__data__;if(!hp||o.length<kye-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new Gr(o)}return n.set(e,t),this.size=n.size,this}function wr(e){var t=this.__data__=new Wr(e);this.size=t.size}wr.prototype.clear=Mye;wr.prototype.delete=Lye;wr.prototype.get=xye;wr.prototype.has=Dye;wr.prototype.set=Aye;var VF=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ZE=VF&&typeof module=="object"&&module&&!module.nodeType&&module,_ye=ZE&&ZE.exports===VF,KE=_ye?us.Buffer:void 0;KE&&KE.allocUnsafe;function Iye(e,t){return e.slice()}function Fye(e,t){for(var n=-1,o=e==null?0:e.length,i=0,s=[];++n<o;){var r=e[n];t(r,n,e)&&(s[i++]=r)}return s}function Oye(){return[]}var Nye=Object.prototype,Bye=Nye.propertyIsEnumerable,qE=Object.getOwnPropertySymbols,Hye=qE?function(e){return e==null?[]:(e=Object(e),Fye(qE(e),function(t){return Bye.call(e,t)}))}:Oye;function Vye(e,t,n){var o=t(e);return ss(e)?o:BF(o,n(e))}function M3(e){return Vye(e,Wbe,Hye)}var L3=Sc(us,"DataView"),x3=Sc(us,"Promise"),D3=Sc(us,"Set"),YE="[object Map]",$ye="[object Object]",XE="[object Promise]",JE="[object Set]",QE="[object WeakMap]",eT="[object DataView]",Wye=wc(L3),Gye=wc(hp),zye=wc(x3),Uye=wc(D3),jye=wc(P3),Gi=vd;(L3&&Gi(new L3(new ArrayBuffer(1)))!=eT||hp&&Gi(new hp)!=YE||x3&&Gi(x3.resolve())!=XE||D3&&Gi(new D3)!=JE||P3&&Gi(new P3)!=QE)&&(Gi=function(e){var t=vd(e),n=t==$ye?e.constructor:void 0,o=n?wc(n):"";if(o)switch(o){case Wye:return eT;case Gye:return YE;case zye:return XE;case Uye:return JE;case jye:return QE}return t});var Zye=Object.prototype,Kye=Zye.hasOwnProperty;function qye(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&Kye.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var Lm=us.Uint8Array;function Wy(e){var t=new e.constructor(e.byteLength);return new Lm(t).set(new Lm(e)),t}function Yye(e,t){var n=Wy(e.buffer);return new e.constructor(n,e.byteOffset,e.byteLength)}var Xye=/\w*$/;function Jye(e){var t=new e.constructor(e.source,Xye.exec(e));return t.lastIndex=e.lastIndex,t}var tT=Li?Li.prototype:void 0,nT=tT?tT.valueOf:void 0;function Qye(e){return nT?Object(nT.call(e)):{}}function ewe(e,t){var n=Wy(e.buffer);return new e.constructor(n,e.byteOffset,e.length)}var twe="[object Boolean]",nwe="[object Date]",owe="[object Map]",iwe="[object Number]",swe="[object RegExp]",rwe="[object Set]",awe="[object String]",lwe="[object Symbol]",cwe="[object ArrayBuffer]",uwe="[object DataView]",dwe="[object Float32Array]",hwe="[object Float64Array]",pwe="[object Int8Array]",fwe="[object Int16Array]",gwe="[object Int32Array]",mwe="[object Uint8Array]",vwe="[object Uint8ClampedArray]",Cwe="[object Uint16Array]",bwe="[object Uint32Array]";function ywe(e,t,n){var o=e.constructor;switch(t){case cwe:return Wy(e);case twe:case nwe:return new o(+e);case uwe:return Yye(e);
vendor: 4,962 bytes, line 1713
1713case dwe:case hwe:case pwe:case fwe:case gwe:case mwe:case vwe:case Cwe:case bwe:return ewe(e);case owe:return new o;case iwe:case awe:return new o(e);case swe:return Jye(e);case rwe:return new o;case lwe:return Qye(e)}}function wwe(e){return typeof e.constructor=="function"&&!kF(e)?N4e(Pye(e)):{}}var Swe="[object Map]";function Ewe(e){return $a(e)&&Gi(e)==Swe}var oT=Ku&&Ku.isMap,Twe=oT?Hy(oT):Ewe,Rwe="[object Set]";function Pwe(e){return $a(e)&&Gi(e)==Rwe}var iT=Ku&&Ku.isSet,Mwe=iT?Hy(iT):Pwe,$F="[object Arguments]",Lwe="[object Array]",xwe="[object Boolean]",Dwe="[object Date]",kwe="[object Error]",WF="[object Function]",Awe="[object GeneratorFunction]",_we="[object Map]",Iwe="[object Number]",GF="[object Object]",Fwe="[object RegExp]",Owe="[object Set]",Nwe="[object String]",Bwe="[object Symbol]",Hwe="[object WeakMap]",Vwe="[object ArrayBuffer]",$we="[object DataView]",Wwe="[object Float32Array]",Gwe="[object Float64Array]",zwe="[object Int8Array]",Uwe="[object Int16Array]",jwe="[object Int32Array]",Zwe="[object Uint8Array]",Kwe="[object Uint8ClampedArray]",qwe="[object Uint16Array]",Ywe="[object Uint32Array]",ln={};ln[$F]=ln[Lwe]=ln[Vwe]=ln[$we]=ln[xwe]=ln[Dwe]=ln[Wwe]=ln[Gwe]=ln[zwe]=ln[Uwe]=ln[jwe]=ln[_we]=ln[Iwe]=ln[GF]=ln[Fwe]=ln[Owe]=ln[Nwe]=ln[Bwe]=ln[Zwe]=ln[Kwe]=ln[qwe]=ln[Ywe]=!0;ln[kwe]=ln[WF]=ln[Hwe]=!1;function J1(e,t,n,o,i,s){var r;if(r!==void 0)return r;if(!Vs(e))return e;var a=ss(e);if(a)r=qye(e);else{var l=Gi(e),c=l==WF||l==Awe;if(Mm(e))return Iye(e);if(l==GF||l==$F||c&&!i)r=c?{}:wwe(e);else{if(!ln[l])return i?e:{};r=ywe(e,l)}}s||(s=new wr);var u=s.get(e);if(u)return u;s.set(e,r),Mwe(e)?e.forEach(function(p){r.add(J1(p,t,n,p,e,s))}):Twe(e)&&e.forEach(function(p,f){r.set(f,J1(p,t,n,f,e,s))});var d=M3,h=a?void 0:d(e);return j4e(h||e,function(p,f){h&&(f=p,p=e[f]),DF(r,f,J1(p,t,n,f,e,s))}),r}var Xwe=1,Jwe=4;function sT(e){return J1(e,Xwe|Jwe)}var Qwe="__lodash_hash_undefined__";function e6e(e){return this.__data__.set(e,Qwe),this}function t6e(e){return this.__data__.has(e)}function xm(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Gr;++t<n;)this.add(e[t])}xm.prototype.add=xm.prototype.push=e6e;xm.prototype.has=t6e;function n6e(e,t){for(var n=-1,o=e==null?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}function o6e(e,t){return e.has(t)}var i6e=1,s6e=2;function zF(e,t,n,o,i,s){var r=n&i6e,a=e.length,l=t.length;if(a!=l&&!(r&&l>a))return!1;var c=s.get(e),u=s.get(t);if(c&&u)return c==t&&u==e;var d=-1,h=!0,p=n&s6e?new xm:void 0;for(s.set(e,t),s.set(t,e);++d<a;){var f=e[d],g=t[d];if(o)var m=r?o(g,f,d,t,e,s):o(f,g,d,e,t,s);if(m!==void 0){if(m)continue;h=!1;break}if(p){if(!n6e(t,function(v,y){if(!o6e(p,y)&&(f===v||i(f,v,n,o,s)))return p.push(y)})){h=!1;break}}else if(!(f===g||i(f,g,n,o,s))){h=!1;break}}return s.delete(e),s.delete(t),h}function r6e(e){var t=-1,n=Array(e.size);return e.forEach(function(o,i){n[++t]=[i,o]}),n}function a6e(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=o}),n}var l6e=1,c6e=2,u6e="[object Boolean]",d6e="[object Date]",h6e="[object Error]",p6e="[object Map]",f6e="[object Number]",g6e="[object RegExp]",m6e="[object Set]",v6e="[object String]",C6e="[object Symbol]",b6e="[object ArrayBuffer]",y6e="[object DataView]",rT=Li?Li.prototype:void 0,sC=rT?rT.valueOf:void 0;function w6e(e,t,n,o,i,s,r){switch(n){case y6e:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case b6e:return!(e.byteLength!=t.byteLength||!s(new Lm(e),new Lm(t)));case u6e:case d6e:case f6e:return Oy(+e,+t);case h6e:return e.name==t.name&&e.message==t.message;case g6e:case v6e:return e==t+"";case p6e:var a=r6e;case m6e:var l=o&l6e;if(a||(a=a6e),e.size!=t.size&&!l)return!1;var c=r.get(e);if(c)return c==t;o|=c6e,r.set(e,t);var u=zF(a(e),a(t),o,i,s,r);return r.delete(e),u;case C6e:if(sC)return sC.call(e)==sC.call(t)}return!1}var S6e=1,E6e=Object.prototype,T6e=E6e.hasOwnProperty;function R6e(e,t,n,o,i,s){var r=n&S6e,a=M3(e),l=a.length,c=M3(t),u=c.length;if(l!=u&&!r)return!1;for(var d=l;d--;){var h=a[d];if(!(r?h in t:T6e.call(t,h)))return!1}var p=s.get(e),f=s.get(t);if(p&&f)return p==t&&f==e;var g=!0;s.set(e,t),s.set(t,e);for(var m=r;++d<l;){h=a[d];var v=e[h],y=t[h];if(o)var b=r?o(y,v,h,t,e,s):o(v,y,h,e,t,s);if(!(b===void 0?v===y||i(v,y,n,o,s):b)){g=!1;break}m||(m=h=="constructor")}if(g&&!m){var w=e.constructor,S=t.constructor;w!=S&&"constructor"in e&&"constructor"in t&&!(typeof w=="function"&&w instanceof w&&typeof S=="function"&&S instanceof S)&&(g=!1)}return s.delete(e),s.delete(t),g}var P6e=1,aT="[object Arguments]",lT="[object Array]",Yf="[object Object]",M6e=Object.prototype,cT=M6e.hasOwnProperty;function L6e(e,t,n,o,i,s){var r=ss(e),a=ss(t),l=r?lT:Gi(e),c=a?lT:Gi(t);l=l==aT?Yf:l,c=c==aT?Yf:c;var u=l==Yf,d=c==Yf,h=l==c;if(h&&Mm(e)){if(!Mm(t))return!1;r=!0,u=!1}if(h&&!u)return s||(s=new wr),r||FF(e)?zF(e,t,n,o,i,s):w6e(e,t,l,n,o,i,s);if(!(n&P6e)){var p=u&&cT.call(e,"__wrapped__"),f=d&&cT.call(t,"__wrapped__");
1713if(p||f){var g=p?e.value():e,m=f?t.value():t;return s||(s=new wr),i(g,m,n,o,s)}}return h?(s||(s=new wr),R6e(e,t,n,o,i,s)):!1}function UF(e,t,n,o,i){return e===t?!0:e==null||t==null||!$a(e)&&!$a(t)?e!==e&&t!==t:L6e(e,t,n,o,UF,i)}function x6e(e,t){return e!=null&&t in Object(e)}function D6e(e,t,n){t=J0(t,e);for(var o=-1,i=t.length,s=!1;++o<i;){var r=$y(t[o]);if(!(s=e!=null&&n(e,r)))break;e=e[r]}return s||++o!=i?s:(i=e==null?0:e.length,!!i&&Ny(i)&&Fy(r,i)&&(ss(e)||By(e)))}function k6e(e,t){return e!=null&&D6e(e,t,x6e)}function Dm(e){for(var t=-1,n=e==null?0:e.length,o={};++t<n;){var i=e[t];o[i[0]]=i[1]}return o}function pp(e,t){return UF(e,t)}function Qi(e){return e==null}function A6e(e){return e===void 0}function _6e(e,t,n,o){if(!Vs(e))return e;t=J0(t,e);for(var i=-1,s=t.length,r=s-1,a=e;a!=null&&++i<s;){var l=$y(t[i]),c=n;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(i!=r){var u=a[l];c=void 0,c===void 0&&(c=Vs(u)?u:Fy(t[i+1])?[]:{})}DF(a,l,c),a=a[l]}return e}function I6e(e,t,n){for(var o=-1,i=t.length,s={};++o<i;){var r=t[o],a=NF(e,r);n(a,r)&&_6e(s,J0(r,e),a)}return s}function F6e(e,t){return I6e(e,t,function(n,o){return k6e(e,o)})}var O6e=Rye(function(e,t){return e==null?{}:F6e(e,t)});const Ki=e=>e===void 0,es=e=>typeof e=="boolean",Bt=e=>typeof e=="number",jF=e=>!e&&e!==0||_e(e)&&e.length===0||Et(e)&&!Object.keys(e).length,fp=e=>typeof Element>"u"?!1:e instanceof Element,N6e=e=>lt(e)?!Number.isNaN(Number(e)):!1,B6e=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),ya=e=>ac(e),uT=e=>Object.keys(e),H6e=e=>Object.entries(e);class V6e extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function js(e,t){throw new V6e(`[${e}] ${t}`)}const ZF=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},$6e=(e,t)=>{var n;if(!eo||!e||!t)return"";let o=$n(t);o==="float"&&(o="cssFloat");try{const i=e.style[o];if(i)return i;const s=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return s?s[o]:""}catch{return e.style[o]}};function gp(e,t="px"){if(!e)return"";if(Bt(e)||N6e(e))return`${e}${t}`;if(lt(e))return e}function W6e(e,t){if(!eo)return;if(!t){e.scrollTop=0;return}const n=[];let o=t.offsetParent;for(;o!==null&&e!==o&&e.contains(o);)n.push(o),o=o.offsetParent;const i=t.offsetTop+n.reduce((l,c)=>l+c.offsetTop,0),s=i+t.offsetHeight,r=e.scrollTop,a=r+e.clientHeight;i<r?e.scrollTop=i:s>a&&(e.scrollTop=s-e.clientHeight)}/*! Element Plus Icons Vue v2.3.2 */var G6e=ge({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),Q0=G6e,z6e=ge({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0"})]))}}),km=z6e,U6e=ge({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512 340.864 831.872a30.59 30.59 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),bu=U6e,j6e=ge({name:"ArrowUp",__name:"arrow-up",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),KF=j6e,Z6e=ge({name:"Calendar",__name:"calendar",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),K6e=Z6e,q6e=ge({name:"Check",__name:"check",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),qF=q6e,Y6e=ge({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m
17130 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),re("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"})]))}}),Gy=Y6e,X6e=ge({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),re("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),af=X6e,J6e=ge({name:"Clock",__name:"clock",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),re("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),re("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),Q6e=J6e,e8e=ge({name:"Close",__name:"close",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),mp=e8e,t8e=ge({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672zm256 0a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672z"})]))}}),vp=t8e,n8e=ge({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L764.736 512 452.864 192a30.59 30.59 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L508.736 512 196.864 192a30.59 30.59 0 0 1 0-42.688"})]))}}),Cp=n8e,o8e=ge({name:"Delete",__name:"delete",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),i8e=o8e,s8e=ge({name:"Document",__name:"document",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),r8e=s8e,a8e=ge({name:"Hide",__name:"hide",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4s-12.8-9.6-22.4-9.6-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176S0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4m-646.4 528Q115.2 579.2 76.8 512q43.2-72 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4m140.8-96Q352 555.2 352 512c0-44.8 16-83.2 48-112s67.2-48 112-48c28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6q-43.2 72-153.6 172.8c-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176S1024 528 1024 512s-48.001-73.6-134.401-176"}),re("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112s-67.2 48-112 48"})]))}}),l8e=a8e,c8e=ge({name:"Loading",__name:"loading",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0"})]))}}),zy=c8e,u8e=ge({name:"Minus",__name:"minus",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),d8e=u8e,h8e=ge({name:"PictureFilled",__name:"picture-filled",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),p8e=h8e,f8e=ge({name:"Plus",__name:"plus",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),YF=f8e,g8e=ge({name:"View",__name:"view",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288m0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.19 160.19 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),m8e=g8e,v8e=ge({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),C8e=v8e,b8e=ge({name:"ZoomIn",__name:"zoom-in",setup(e){return(t,n)=>(N(),ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[re("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),y8e=b8e;const XF="__epPropKey",xe=e=>e,w8e=e=>Et(e)&&!!e[XF],e2=(e,t)=>{if(!Et(e)||w8e(e))return e;const{values:n,required:o,default:i,type:s,validator:r}=e,l={type:s,required:!!o,validator:n||r?c=>{let u=!1,d=[];if(n&&(d=Array.from(n),Ft(e,"default")&&d.push(i),u||(u=d.includes(c))),r&&(u||(u=r(c))),!u&&d.length>0){const h=[...new Set(d)].map(p=>JSON.stringify(p)).join(", ");BM(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${h}], got value ${JSON.stringify(c)}.`)}return u}:void 0,[XF]:!0};return Ft(e,"default")&&(l.default=i),l},Je=e=>Dm(Object.entries(e).map(([t,n])=>[t,e2(n,t)])),_r=xe([String,Object,Function]),S8e={validating:zy,success:Gy,error:af},Nn=(e,t)=>{if(e.install=n=>{for(const o of[e,...Object.values(t??{})])n.component(o.name,o)},t)for(const[n,o]of Object.entries(t))e[n]=o;return e},Oi=e=>(e.install=Ot,e),JF=(...e)=>t=>{e.forEach(n=>{qe(n)?n(t):n.value=t})},bt={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},E8e=["year","month","date","dates","week","datetime","datetimerange","daterange","monthrange"],At="update:modelValue",xi="change",As="input",Uy=["","default","small","large"],T8e={large:40,default:32,small:24},R8e=e=>T8e[e||"default"],QF=e=>
1713["",...Uy].includes(e),Q1=e=>{const t=_e(e)?e:[e],n=[];return t.forEach(o=>{var i;_e(o)?n.push(...Q1(o)):Ei(o)&&_e(o.children)?n.push(...Q1(o.children)):(n.push(o),Ei(o)&&((i=o.component)!=null&&i.subTree)&&n.push(...Q1(o.component.subTree)))}),n},Gl=e=>!e&&e!==0?[]:Array.isArray(e)?e:[e],eO=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e),tO=()=>Math.floor(Math.random()*1e4),ic=e=>e,P8e=["class","style"],M8e=/^on[A-Z]/,L8e=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,o=M(()=>(n?.value||[]).concat(P8e)),i=vt();return M(i?()=>{var s;return Dm(Object.entries((s=i.proxy)==null?void 0:s.$attrs).filter(([r])=>!o.value.includes(r)&&!(t&&M8e.test(r))))}:()=>({}))},t2=({from:e,replacement:t,scope:n,version:o,ref:i,type:s="API"},r)=>{Le(()=>C(r),a=>{},{immediate:!0})},x8e=e=>({focus:()=>{var t,n;(n=(t=e.value)==null?void 0:t.focus)==null||n.call(t)}});var D8e={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};const k8e=e=>(t,n)=>A8e(t,n,C(e)),A8e=(e,t,n)=>ci(n,e,e).replace(/\{(\w+)\}/g,(o,i)=>{var s;return`${(s=t?.[i])!=null?s:`{${i}}`}`}),_8e=e=>{const t=M(()=>C(e).name),n=_t(e)?e:J(e);return{lang:t,locale:n,t:k8e(e)}},nO=Symbol("localeContextKey"),oo=e=>{const t=je(nO,J());return _8e(M(()=>t.value||D8e))},dT="el",I8e="is-",ul=(e,t,n,o,i)=>{let s=`${e}-${t}`;return n&&(s+=`-${n}`),o&&(s+=`__${o}`),i&&(s+=`--${i}`),s},oO=Symbol("namespaceContextKey"),jy=e=>{const t=je(oO,J(dT));return M(()=>C(t)||dT)},Xe=(e,t)=>{const n=jy();return{namespace:n,b:(g="")=>ul(n.value,e,g,"",""),e:g=>g?ul(n.value,e,"",g,""):"",m:g=>g?ul(n.value,e,"","",g):"",be:(g,m)=>g&&m?ul(n.value,e,g,m,""):"",em:(g,m)=>g&&m?ul(n.value,e,"",g,m):"",bm:(g,m)=>g&&m?ul(n.value,e,g,"",m):"",bem:(g,m,v)=>g&&m&&v?ul(n.value,e,g,m,v):"",is:(g,...m)=>{const v=m.length>=1?m[0]:!0;return g&&v?`${I8e}${g}`:""},cssVar:g=>{const m={};for(const v in g)g[v]&&(m[`--${n.value}-${v}`]=g[v]);return m},cssVarName:g=>`--${n.value}-${g}`,cssVarBlock:g=>{const m={};for(const v in g)g[v]&&(m[`--${n.value}-${e}-${v}`]=g[v]);return m},cssVarBlockName:g=>`--${n.value}-${e}-${g}`}},F8e=e2({type:xe(Boolean),default:null}),O8e=e2({type:xe(Function)}),N8e=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,o=[t],i={[e]:F8e,[n]:O8e};return{useModelToggle:({indicator:r,toggleReason:a,shouldHideWhen
1713RouteChanges:l,shouldProceed:c,onShow:u,onHide:d})=>{const h=vt(),{emit:p}=h,f=h.props,g=M(()=>qe(f[n])),m=M(()=>f[e]===null),v=T=>{r.value!==!0&&(r.value=!0,a&&(a.value=T),qe(u)&&u(T))},y=T=>{r.value!==!1&&(r.value=!1,a&&(a.value=T),qe(d)&&d(T))},b=T=>{if(f.disabled===!0||qe(c)&&!c())return;const R=g.value&&eo;R&&p(t,!0),(m.value||!R)&&v(T)},w=T=>{if(f.disabled===!0||!eo)return;const R=g.value&&eo;R&&p(t,!1),(m.value||!R)&&y(T)},S=T=>{es(T)&&(f.disabled&&T?g.value&&p(t,!1):r.value!==T&&(T?v():y()))},E=()=>{r.value?w():b()};return Le(()=>f[e],S),l&&h.appContext.config.globalProperties.$route!==void 0&&Le(()=>({...h.proxy.$route}),()=>{l.value&&r.value&&w()}),Dt(()=>{S(f[e])}),{hide:w,show:b,toggle:E,hasUpdateHandler:g}},useModelToggleProps:i,useModelToggleEmits:o}},iO=e=>{const t=vt();return M(()=>{var n,o;return(o=(n=t?.proxy)==null?void 0:n.$props)==null?void 0:o[e]})};var No="top",Di="bottom",ki="right",Bo="left",Zy="auto",lf=[No,Di,ki,Bo],qu="start",bp="end",B8e="clippingParents",sO="viewport",Vd="popper",H8e="reference",hT=lf.reduce(function(e,t){return e.concat([t+"-"+qu,t+"-"+bp])},[]),bd=[].concat(lf,[Zy]).reduce(function(e,t){return e.concat([t,t+"-"+qu,t+"-"+bp])},[]),V8e="beforeRead",$8e="read",W8e="afterRead",G8e="beforeMain",z8e="main",U8e="afterMain",j8e="beforeWrite",Z8e="write",K8e="afterWrite",q8e=[V8e,$8e,W8e,G8e,z8e,U8e,j8e,Z8e,K8e];function $s(e){return e?(e.nodeName||"").toLowerCase():null}function ds(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Yu(e){var t=ds(e).Element;return e instanceof t||e instanceof Element}function bi(e){var t=ds(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Ky(e){if(typeof ShadowRoot>"u")return!1;var t=ds(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Y8e(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var o=t.styles[n]||{},i=t.attributes[n]||{},s=t.elements[n];
vendor: 4,131 bytes, line 1713
1713!bi(s)||!$s(s)||(Object.assign(s.style,o),Object.keys(i).forEach(function(r){var a=i[r];a===!1?s.removeAttribute(r):s.setAttribute(r,a===!0?"":a)}))})}function X8e(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(o){var i=t.elements[o],s=t.attributes[o]||{},r=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:n[o]),a=r.reduce(function(l,c){return l[c]="",l},{});!bi(i)||!$s(i)||(Object.assign(i.style,a),Object.keys(s).forEach(function(l){i.removeAttribute(l)}))})}}var rO={name:"applyStyles",enabled:!0,phase:"write",fn:Y8e,effect:X8e,requires:["computeStyles"]};function _s(e){return e.split("-")[0]}var zl=Math.max,Am=Math.min,Xu=Math.round;function Ju(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),o=1,i=1;if(bi(e)&&t){var s=e.offsetHeight,r=e.offsetWidth;r>0&&(o=Xu(n.width)/r||1),s>0&&(i=Xu(n.height)/s||1)}return{width:n.width/o,height:n.height/i,top:n.top/i,right:n.right/o,bottom:n.bottom/i,left:n.left/o,x:n.left/o,y:n.top/i}}function qy(e){var t=Ju(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function aO(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ky(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Ir(e){return ds(e).getComputedStyle(e)}function J8e(e){return["table","td","th"].indexOf($s(e))>=0}function ol(e){return((Yu(e)?e.ownerDocument:e.document)||window.document).documentElement}function n2(e){return $s(e)==="html"?e:e.assignedSlot||e.parentNode||(Ky(e)?e.host:null)||ol(e)}function pT(e){return!bi(e)||Ir(e).position==="fixed"?null:e.offsetParent}function Q8e(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&bi(e)){var o=Ir(e);if(o.position==="fixed")return null}var i=n2(e);for(Ky(i)&&(i=i.host);bi(i)&&["html","body"].indexOf($s(i))<0;){var s=Ir(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function cf(e){for(var t=ds(e),n=pT(e);n&&J8e(n)&&Ir(n).position==="static";)n=pT(n);return n&&($s(n)==="html"||$s(n)==="body"&&Ir(n).position==="static")?t:n||Q8e(e)||t}function Yy(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Sh(e,t,n){return zl(e,Am(t,n))}function e9e(e,t,n){var o=Sh(e,t,n);return o>n?n:o}function lO(){return{top:0,right:0,bottom:0,left:0}}function cO(e){return Object.assign({},lO(),e)}function uO(e,t){return t.reduce(function(n,o){return n[o]=e,n},{})}var t9e=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,cO(typeof e!="number"?e:uO(e,lf))};function n9e(e){var t,n=e.state,o=e.name,i=e.options,s=n.elements.arrow,r=n.modifiersData.popperOffsets,a=_s(n.placement),l=Yy(a),c=[Bo,ki].indexOf(a)>=0,u=c?"height":"width";if(!(!s||!r)){var d=t9e(i.padding,n),h=qy(s),p=l==="y"?No:Bo,f=l==="y"?Di:ki,g=n.rects.reference[u]+n.rects.reference[l]-r[l]-n.rects.popper[u],m=r[l]-n.rects.reference[l],v=cf(s),y=v?l==="y"?v.clientHeight||0:v.clientWidth||0:0,b=g/2-m/2,w=d[p],S=y-h[u]-d[f],E=y/2-h[u]/2+b,T=Sh(w,E,S),R=l;n.modifiersData[o]=(t={},t[R]=T,t.centerOffset=T-E,t)}}function o9e(e){var t=e.state,n=e.options,o=n.element,i=o===void 0?"[data-popper-arrow]":o;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!aO(t.elements.popper,i)||(t.elements.arrow=i))}var i9e={name:"arrow",enabled:!0,phase:"main",fn:n9e,effect:o9e,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Qu(e){return e.split("-")[1]}var s9e={top:"auto",right:"auto",bottom:"auto",left:"auto"};function r9e(e){var t=e.x,n=e.y,o=window,i=o.devicePixelRatio||1;return{x:Xu(t*i)/i||0,y:Xu(n*i)/i||0}}
vendor: 4,758 bytes, line 1713
1713function fT(e){var t,n=e.popper,o=e.popperRect,i=e.placement,s=e.variation,r=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,h=r.x,p=h===void 0?0:h,f=r.y,g=f===void 0?0:f,m=typeof u=="function"?u({x:p,y:g}):{x:p,y:g};p=m.x,g=m.y;var v=r.hasOwnProperty("x"),y=r.hasOwnProperty("y"),b=Bo,w=No,S=window;if(c){var E=cf(n),T="clientHeight",R="clientWidth";if(E===ds(n)&&(E=ol(n),Ir(E).position!=="static"&&a==="absolute"&&(T="scrollHeight",R="scrollWidth")),E=E,i===No||(i===Bo||i===ki)&&s===bp){w=Di;var A=d&&E===S&&S.visualViewport?S.visualViewport.height:E[T];g-=A-o.height,g*=l?1:-1}if(i===Bo||(i===No||i===Di)&&s===bp){b=ki;var k=d&&E===S&&S.visualViewport?S.visualViewport.width:E[R];p-=k-o.width,p*=l?1:-1}}var D=Object.assign({position:a},c&&s9e),V=u===!0?r9e({x:p,y:g}):{x:p,y:g};if(p=V.x,g=V.y,l){var O;return Object.assign({},D,(O={},O[w]=y?"0":"",O[b]=v?"0":"",O.transform=(S.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",O))}return Object.assign({},D,(t={},t[w]=y?g+"px":"",t[b]=v?p+"px":"",t.transform="",t))}function a9e(e){var t=e.state,n=e.options,o=n.gpuAcceleration,i=o===void 0?!0:o,s=n.adaptive,r=s===void 0?!0:s,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:_s(t.placement),variation:Qu(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,fT(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,fT(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var dO={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:a9e,data:{}},Xf={passive:!0};function l9e(e){var t=e.state,n=e.instance,o=e.options,i=o.scroll,s=i===void 0?!0:i,r=o.resize,a=r===void 0?!0:r,l=ds(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&c.forEach(function(u){u.addEventListener("scroll",n.update,Xf)}),a&&l.addEventListener("resize",n.update,Xf),function(){s&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Xf)}),a&&l.removeEventListener("resize",n.update,Xf)}}var hO={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:l9e,data:{}},c9e={left:"right",right:"left",bottom:"top",top:"bottom"};function eg(e){return e.replace(/left|right|bottom|top/g,function(t){return c9e[t]})}var u9e={start:"end",end:"start"};function gT(e){return e.replace(/start|end/g,function(t){return u9e[t]})}function Xy(e){var t=ds(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function Jy(e){return Ju(ol(e)).left+Xy(e).scrollLeft}function d9e(e){var t=ds(e),n=ol(e),o=t.visualViewport,i=n.clientWidth,s=n.clientHeight,r=0,a=0;return o&&(i=o.width,s=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=o.offsetLeft,a=o.offsetTop)),{width:i,height:s,x:r+Jy(e),y:a}}function h9e(e){var t,n=ol(e),o=Xy(e),i=(t=e.ownerDocument)==null?void 0:t.body,s=zl(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),r=zl(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-o.scrollLeft+Jy(e),l=-o.scrollTop;return Ir(i||n).direction==="rtl"&&(a+=zl(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:r,x:a,y:l}}function Qy(e){var t=Ir(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)}function pO(e){return["html","body","#document"].indexOf($s(e))>=0?e.ownerDocument.body:bi(e)&&Qy(e)?e:pO(n2(e))}function Eh(e,t){var n;t===void 0&&(t=[]);var o=pO(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),s=ds(o),r=i?[s].concat(s.visualViewport||[],Qy(o)?o:[]):o,a=t.concat(r);return i?a:a.concat(Eh(n2(r)))}function k3(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function p9e(e){var t=Ju(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function mT(e,t){return t===sO?k3(d9e(e)):Yu(t)?p9e(t):k3(h9e(ol(e)))}function f9e(e){var t=Eh(n2(e)),n=["absolute","fixed"].indexOf(Ir(e).position)>=0,o=n&&bi(e)?cf(e):e;return Yu(o)?t.filter(function(i){return Yu(i)&&aO(i,o)&&$s(i)!=="body"}):[]}function g9e(e,t,n){var o=t==="clippingParents"?f9e(e):[].concat(t),i=[].concat(o,[n]),s=i[0],r=i.reduce(function(a,l){var c=mT(e,l);return a.top=zl(c.top,a.top),a.right=Am(c.right,a.right),a.bottom=Am(c.bottom,a.bottom),a.left
vendor: 7,204 bytes, line 1713
1713=zl(c.left,a.left),a},mT(e,s));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}function fO(e){var t=e.reference,n=e.element,o=e.placement,i=o?_s(o):null,s=o?Qu(o):null,r=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(i){case No:l={x:r,y:t.y-n.height};break;case Di:l={x:r,y:t.y+t.height};break;case ki:l={x:t.x+t.width,y:a};break;case Bo:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var c=i?Yy(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(s){case qu:l[c]=l[c]-(t[u]/2-n[u]/2);break;case bp:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function yp(e,t){t===void 0&&(t={});var n=t,o=n.placement,i=o===void 0?e.placement:o,s=n.boundary,r=s===void 0?B8e:s,a=n.rootBoundary,l=a===void 0?sO:a,c=n.elementContext,u=c===void 0?Vd:c,d=n.altBoundary,h=d===void 0?!1:d,p=n.padding,f=p===void 0?0:p,g=cO(typeof f!="number"?f:uO(f,lf)),m=u===Vd?H8e:Vd,v=e.rects.popper,y=e.elements[h?m:u],b=g9e(Yu(y)?y:y.contextElement||ol(e.elements.popper),r,l),w=Ju(e.elements.reference),S=fO({reference:w,element:v,placement:i}),E=k3(Object.assign({},v,S)),T=u===Vd?E:w,R={top:b.top-T.top+g.top,bottom:T.bottom-b.bottom+g.bottom,left:b.left-T.left+g.left,right:T.right-b.right+g.right},A=e.modifiersData.offset;if(u===Vd&&A){var k=A[i];Object.keys(R).forEach(function(D){var V=[ki,Di].indexOf(D)>=0?1:-1,O=[No,Di].indexOf(D)>=0?"y":"x";R[D]+=k[O]*V})}return R}function m9e(e,t){t===void 0&&(t={});var n=t,o=n.placement,i=n.boundary,s=n.rootBoundary,r=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?bd:l,u=Qu(o),d=u?a?hT:hT.filter(function(f){return Qu(f)===u}):lf,h=d.filter(function(f){return c.indexOf(f)>=0});h.length===0&&(h=d);var p=h.reduce(function(f,g){return f[g]=yp(e,{placement:g,boundary:i,rootBoundary:s,padding:r})[_s(g)],f},{});return Object.keys(p).sort(function(f,g){return p[f]-p[g]})}function v9e(e){if(_s(e)===Zy)return[];var t=eg(e);return[gT(e),t,gT(t)]}function C9e(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var i=n.mainAxis,s=i===void 0?!0:i,r=n.altAxis,a=r===void 0?!0:r,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,p=n.flipVariations,f=p===void 0?!0:p,g=n.allowedAutoPlacements,m=t.options.placement,v=_s(m),y=v===m,b=l||(y||!f?[eg(m)]:v9e(m)),w=[m].concat(b).reduce(function(Q,ce){return Q.concat(_s(ce)===Zy?m9e(t,{placement:ce,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:g}):ce)},[]),S=t.rects.reference,E=t.rects.popper,T=new Map,R=!0,A=w[0],k=0;k<w.length;k++){var D=w[k],V=_s(D),O=Qu(D)===qu,F=[No,Di].indexOf(V)>=0,_=F?"width":"height",P=yp(t,{placement:D,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),L=F?O?ki:Bo:O?Di:No;S[_]>E[_]&&(L=eg(L));var x=eg(L),I=[];if(s&&I.push(P[V]<=0),a&&I.push(P[L]<=0,P[x]<=0),I.every(function(Q){return Q})){A=D,R=!1;break}T.set(D,I)}if(R)for(var B=f?3:1,z=function(Q){var ce=w.find(function(pe){var te=T.get(pe);if(te)return te.slice(0,Q).every(function(ne){return ne})});if(ce)return A=ce,"break"},H=B;H>0;H--){var j=z(H);if(j==="break")break}t.placement!==A&&(t.modifiersData[o]._skip=!0,t.placement=A,t.reset=!0)}}var b9e={name:"flip",enabled:!0,phase:"main",fn:C9e,requiresIfExists:["offset"],data:{_skip:!1}};function vT(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function CT(e){return[No,ki,Di,Bo].some(function(t){return e[t]>=0})}function y9e(e){var t=e.state,n=e.name,o=t.rects.reference,i=t.rects.popper,s=t.modifiersData.preventOverflow,r=yp(t,{elementContext:"reference"}),a=yp(t,{altBoundary:!0}),l=vT(r,o),c=vT(a,i,s),u=CT(l),d=CT(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}var w9e={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:y9e};function S9e(e,t,n){var o=_s(e),i=[Bo,No].indexOf(o)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,r=s[0],a=s[1];return r=r||0,a=(a||0)*i,[Bo,ki].indexOf(o)>=0?{x:a,y:r}:{x:r,y:a}}function E9e(e){var t=e.state,n=e.options,o=e.name,i=n.offset,s=i===void 0?[0,0]:i,r=bd.reduce(function(u,d){return u[d]=S9e(d,t.rects,s),u},{}),a=r[t.placement],l=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=r}var T9e={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:E9e};function R9e(e){var t=e.state,n=e.name;t.modifiersData[n]=fO({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var gO={name:"popperOffsets",enabled:!0,phase:"read",fn:R9e,data:{}};function P9e(e){return e==="x"?"y":"x"}function M9e(e){var t=e.state,n=e.options,o=e.name,i=n.mainAxis,s=i===void 0?!0:i,r=n.altAxis,a=r===void 0?!1:r,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,h=n.tether,p=h===void 0?!0:h,f=n.tetherOffset,g=f===void 0?0:f,m=yp(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),v=_s(t.placement),y=Qu(t.placement),b=!y,w=Yy(v),S=P9e(w),E=t.modifiersData.popperOffsets,T=t.rects.reference,R=t.rects.popper,A=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,k=typeof A=="number"?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,V={x:0,y:0};if(E){if(s){var O,F=w==="y"?No:Bo,_=w==="y"?Di:ki,P=w==="y"?"height":"width",L=E[w],x=L+m[F],I=L-m[_],B=p?-R[P]/2:0,z=y===qu?T[P]:R[P],H=y===qu?-R[P]:-T[P],j=t.elements.arrow,Q=p&&j?qy(j):{width:0,height:0},ce=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:lO(),pe=ce[F],te=ce[_],ne=Sh(0,T[P],Q[P]),le=b?T[P]/2-B-ne-pe-k.mainAxis:z-ne-pe-k.mainAxis,ae=b?-T[P]/2+B+ne+te+k.mainAxis:H+ne+te+k.mainAxis,Re=t.elements.arrow&&cf(t.elements.arrow),Oe=Re?w==="y"?Re.clientTop||0:Re.clientLeft||0:0,W=(O=D?.[w])!=null?O:0,Z=L+le-W-Oe,ie=L+ae-W,be=Sh(p?Am(x,Z):x,L,p?zl(I,ie):I);E[w]=be,V[w]=be-L}if(a){var me,$=w==="x"?No:Bo,G=w==="x"?Di:ki,q=E[S],fe=S==="y"?"height":"width",ye=q+m[$],Pe=q-m[G],X=[No,Bo].indexOf(v)!==-1,K=(me=D?.[S])!=null?me:0,Ee=X?ye:q-T[fe]-R[fe]-K+k.altAxis,Fe=X?q+T[fe]+R[fe]-K-k.altAxis:Pe,et=p&&X?e9e(Ee,q,Fe):Sh(p?Ee:ye,q,p?Fe:Pe);E[S]=et,V[S]=et-q}t.modifiersData[o]=V}}var L9e={name:"preventOverflow",enabled:!0,phase:"main",fn:M9e,requiresIfExists:["offset"]};function x9e(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function D9e(e){return e===ds(e)||!bi(e)?Xy(e):x9e(e)}function k9e(e){var t=e.getBoundingClientRect(),n=Xu(t.width)/e.offsetWidth||1,o=Xu(t.height)/e.offsetHeight||1;return n!==1||o!==1}function A9e(e,t,n){n===void 0&&(n=!1);var o=bi(t),i=bi(t)&&k9e(t),s=ol(t),r=Ju(e,i),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!n)&&(($s(t)!=="body"||Qy(s))&&(a=D9e(t)),bi(t)?(l=Ju(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=Jy(s))),{x:r.left+a.scrollLeft-l.x,y:r.top+a.scrollTop-l.y,width:r.width,height:r.height}}function _9e(e){var t=new Map,n=new Set,o=[];e.forEach(function(s){t.set(s.name,s)});function i(s){n.add(s.name);
1713var r=[].concat(s.requires||[],s.requiresIfExists||[]);r.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&i(l)}}),o.push(s)}return e.forEach(function(s){n.has(s.name)||i(s)}),o}function I9e(e){var t=_9e(e);return q8e.reduce(function(n,o){return n.concat(t.filter(function(i){return i.phase===o}))},[])}function F9e(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function O9e(e){var t=e.reduce(function(n,o){var i=n[o.name];return n[o.name]=i?Object.assign({},i,o,{options:Object.assign({},i.options,o.options),data:Object.assign({},i.data,o.data)}):o,n},{});return Object.keys(t).map(function(n){return t[n]})}var bT={placement:"bottom",modifiers:[],strategy:"absolute"};function yT(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function ew(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,o=n===void 0?[]:n,i=t.defaultOptions,s=i===void 0?bT:i;return function(r,a,l){l===void 0&&(l=s);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},bT,s),modifiersData:{},elements:{reference:r,popper:a},attributes:{},styles:{}},u=[],d=!1,h={state:c,setOptions:function(g){var m=typeof g=="function"?g(c.options):g;f(),c.options=Object.assign({},s,c.options,m),c.scrollParents={reference:Yu(r)?Eh(r):r.contextElement?Eh(r.contextElement):[],popper:Eh(a)};var v=I9e(O9e([].concat(o,c.options.modifiers)));return c.orderedModifiers=v.filter(function(y){return y.enabled}),p(),h.update()},forceUpdate:function(){if(!d){var g=c.elements,m=g.reference,v=g.popper;if(yT(m,v)){c.rects={reference:A9e(m,cf(v),c.options.strategy==="fixed"),popper:qy(v)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(R){return c.modifiersData[R.name]=Object.assign({},R.data)});for(var y=0;y<c.orderedModifiers.length;y++){if(c.reset===!0){c.reset=!1,y=-1;continue}var b=c.orderedModifiers[y],w=b.fn,S=b.options,E=S===void 0?{}:S,T=b.name;typeof w=="function"&&(c=w({state:c,options:E,name:T,instance:h})||c)}}}},update:F9e(function(){return new Promise(function(g){h.forceUpdate(),g(c)})}),destroy:function(){f(),d=!0}};if(!yT(r,a))return h;h.setOptions(l).then(function(g){!d&&l.onFirstUpdate&&l.onFirstUpdate(g)});function p(){c.orderedModifiers.forEach(function(g){var m=g.name,v=g.options,y=v===void 0?{}:v,b=g.effect;if(typeof b=="function"){var w=b({state:c,name:m,instance:h,options:y}),S=function(){};u.push(w||S)}})}function f(){u.forEach(function(g){return g()}),u=[]}return h}}ew();var N9e=[hO,gO,dO,rO];ew({defaultModifiers:N9e});var B9e=[hO,gO,dO,rO,T9e,b9e,L9e,i9e,w9e],H9e=ew({defaultModifiers:B9e});const V9e=(e,t,n={})=>{const o={name:"updateState",enabled:!0,phase:"write",fn:({state:l})=>{const c=$9e(l);Object.assign(r.value,c)},requires:["computeStyles"]},i=M(()=>{const{onFirstUpdate:l,placement:c,strategy:u,modifiers:d}=C(n);return{onFirstUpdate:l,placement:c||"bottom",strategy:u||"absolute",modifiers:[...d||[],o,{name:"applyStyles",enabled:!1}]}}),s=pt(),r=J({styles:{popper:{position:C(i).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),a=()=>{s.value&&(s.value.destroy(),s.value=void 0)};return Le(i,l=>{const c=C(s);c&&c.setOptions(l)},{deep:!0}),Le([e,t],([l,c])=>{a(),!(!l||!c)&&(s.value=H9e(l,c,C(i)))}),Mn(()=>{a()}),{state:M(()=>{var l;return{...((l=C(s))==null?void 0:l.state)||{}}}),styles:M(()=>C(r).styles),attributes:M(()=>C(r).attributes),update:()=>{var l;return(l=C(s))==null?void 0:l.update()},forceUpdate:()=>{var l;return(l=C(s))==null?void 0:l.forceUpdate()},instanceRef:M(()=>C(s))}};function $9e(e){const t=Object.keys(e.elements),n=Dm(t.map(i=>[i,e.styles[i]||{}])),o=Dm(t.map(i=>[i,e.attributes[i]]));return{styles:n,attributes:o}}const W9e=(e,t=0)=>{if(t===0)return e;const n=J(!1);let o=0;const i=()=>{o&&clearTimeout(o),o=window.setTimeout(()=>{n.value=e.value},t)};return Dt(i),Le(()=>e.value,s=>{s?i():n.value=s}),n};function wT(){let e;const t=(o,i)=>{n(),e=window.setTimeout(o,i)},n=()=>window.clearTimeout(e);return Iy(()=>n()),{registerTimeout:t,cancelTimeout:n}}const ST={prefix:Math.floor(Math.random()*1e4),current:0},G9e=Symbol("elIdInjection"),mO=()=>vt()?je(G9e,ST):ST,uf=e=>{const t=mO(),n=jy();return M(()=>C(e)||`${n.value}-id-${t.prefix}-${t.current++}`)};let zc=[];const ET=e=>{const t=e;
1713t.key===bt.esc&&zc.forEach(n=>n(t))},z9e=e=>{Dt(()=>{zc.length===0&&document.addEventListener("keydown",ET),eo&&zc.push(e)}),Mn(()=>{zc=zc.filter(t=>t!==e),zc.length===0&&eo&&document.removeEventListener("keydown",ET)})};let TT;const vO=()=>{const e=jy(),t=mO(),n=M(()=>`${e.value}-popper-container-${t.prefix}`),o=M(()=>`#${n.value}`);return{id:n,selector:o}},U9e=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},j9e=()=>{const{id:e,selector:t}=vO();return td(()=>{eo&&!TT&&!document.body.querySelector(t.value)&&(TT=U9e(e.value))}),{id:e,selector:t}},Z9e=Je({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),K9e=({showAfter:e,hideAfter:t,autoClose:n,open:o,close:i})=>{const{registerTimeout:s}=wT(),{registerTimeout:r,cancelTimeout:a}=wT();return{onOpen:u=>{s(()=>{o(u);const d=C(n);Bt(d)&&d>0&&r(()=>{i(u)},d)},C(e))},onClose:u=>{a(),s(()=>{i(u)},C(t))}}},CO=Symbol("elForwardRef"),q9e=e=>{Ut(CO,{setForwardRef:n=>{e.value=n}})},Y9e=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),RT=J(0),X9e=2e3,bO=Symbol("zIndexContextKey"),J9e=e=>{const t=je(bO,void 0),n=M(()=>{const s=C(t);return Bt(s)?s:X9e}),o=M(()=>n.value+RT.value);return{initialZIndex:n,currentZIndex:o,nextZIndex:()=>(RT.value++,o.value)}};function Q9e(e){const t=J();function n(){if(e.value==null)return;const{selectionStart:i,selectionEnd:s,value:r}=e.value;if(i==null||s==null)return;const a=r.slice(0,Math.max(0,i)),l=r.slice(Math.max(0,s));t.value={selectionStart:i,selectionEnd:s,value:r,beforeTxt:a,afterTxt:l}}function o(){if(e.value==null||t.value==null)return;const{value:i}=e.value,{beforeTxt:s,afterTxt:r,selectionStart:a}=t.value;if(s==null||r==null||a==null)return;let l=i.length;if(i.endsWith(r))l=i.length-r.length;else if(i.startsWith(s))l=s.length;else{const c=s[a-1],u=i.indexOf(c,a-1);u!==-1&&(l=u+1)}e.value.setSelectionRange(l,l)}return[n,o]}const e7e=(e,t,n)=>Q1(e.subTree).filter(s=>{var r;return Ei(s)&&((r=s.type)==null?void 0:r.name)===t&&!!s.component}).map(s=>s.component.uid).map(s=>n[s]).filter(s=>!!s),t7e=(e,t)=>{const n={},o=pt([]);return{children:o,addChild:r=>{n[r.uid]=r,o.value=e7e(e,t,n)},removeChild:r=>{delete n[r],o.value=o.value.filter(a=>a.uid!==r)}}},rs=e2({type:String,values:Uy,required:!1}),yO=Symbol("size"),n7e=()=>{const e=je(yO,{});return M(()=>C(e.size)||"")};function o7e(e,{afterFocus:t,afterBlur:n}={}){const o=vt(),{emit:i}=o,s=pt(),r=J(!1),a=u=>{r.value||(r.value=!0,i("focus",u),t?.())},l=u=>{var d;u.relatedTarget&&((d=s.value)!=null&&d.contains(u.relatedTarget))||(r.value=!1,i("blur",u),n?.())},c=()=>{var u;(u=e.value)==null||u.focus()};return Le(s,u=>{u&&(u.setAttribute("role","button"),u.setAttribute("tabindex","-1"))}),Ci(s,"click",c),{wrapperRef:s,isFocused:r,handleFocus:a,handleBlur:l}}const wO=Symbol(),_m=J();function SO(e,t=void 0){const n=vt()?je(wO,_m):_m;return e?M(()=>{var o,i;return(i=(o=n.value)==null?void 0:o[e])!=null?i:t}):n}const i7e=(e,t,n=!1)=>{var o;const i=!!vt(),s=i?SO():void 0,r=(o=void 0)!=null?o:i?Ut:void 0;if(!r)return;const a=M(()=>{const l=C(e);return s?.value?s7e(s.value,l):l});return r(wO,a),r(nO,M(()=>a.value.locale)),r(oO,M(()=>a.value.namespace)),r(bO,M(()=>a.value.zIndex)),r(yO,{size:M(()=>a.value.size||"")}),(n||!_m.value)&&(_m.value=a.value),a},s7e=(e,t)=>{var n;const o=[...new Set([...uT(e),...uT(t)])],i={};for(const s of o)i[s]=(n=t[s])!=null?n:e[s];return i},r7e=Je({a11y:{type:Boolean,default:!0},locale:{type:xe(Object)},size:rs,button:{type:xe(Object)},experimentalFeatures:{type:xe(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:xe(Object)},zIndex:Number,namespace:{type:String,default:"el"}}),a7e={},l7e=ge({name:"ElConfigProvider",props:r7e,setup(e,{slots:t}){Le(()=>e.message,o=>{Object.assign(a7e,o??{})},{immediate:!0,deep:!0});const n=i7e(e);return()=>ke(t,"default",{config:n?.value})}}),c7e=Nn(l7e);var Qe=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n};const u7e=Je({size:{type:xe([Number,String])},color:{type:String}}),d7e=ge({name:"ElIcon",inheritAttrs:!1}),h7e=ge({...d7e,props:u7e,setup(e){const t=e,n=Xe("icon"),o=M(()=>{const{size:i,color:s}=t;return!i&&!s?{}:{fontSize:Ki(i)?void 0:gp(i),"--color":s}});return(i,s)=>(N(),ee("i",Rt({class:C(n).b(),style:C(o)},i.$attrs),[ke(i.$slots,"default")],16))}});var p7e=Qe(h7e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src
1713/icon.vue"]]);const at=Nn(p7e),tw=Symbol("formContextKey"),Im=Symbol("formItemContextKey"),Ai=(e,t={})=>{const n=J(void 0),o=t.prop?n:iO("size"),i=t.global?n:n7e(),s=t.form?{size:void 0}:je(tw,void 0),r=t.formItem?{size:void 0}:je(Im,void 0);return M(()=>o.value||C(e)||r?.size||s?.size||i.value||"")},hs=e=>{const t=iO("disabled"),n=je(tw,void 0);return M(()=>t.value||C(e)||n?.disabled||!1)},ps=()=>{const e=je(tw,void 0),t=je(Im,void 0);return{form:e,formItem:t}},yd=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:o})=>{n||(n=J(!1)),o||(o=J(!1));const i=J();let s;const r=M(()=>{var a;return!!(!e.label&&t&&t.inputIds&&((a=t.inputIds)==null?void 0:a.length)<=1)});return Dt(()=>{s=Le([rn(e,"id"),n],([a,l])=>{const c=a??(l?void 0:uf().value);c!==i.value&&(t?.removeInputId&&(i.value&&t.removeInputId(i.value),!o?.value&&!l&&c&&t.addInputId(c)),i.value=c)},{immediate:!0})}),Or(()=>{s&&s(),t?.removeInputId&&i.value&&t.removeInputId(i.value)}),{isLabeledByFormItem:r,inputId:i}};let Ni;const f7e=`
1714  height:0 !important;
1715  visibility:hidden !important;
1716  ${C4e()?"":"overflow:hidden !important;"}
1717  position:absolute !important;
1718  z-index:-1000 !important;
1719  top:0 !important;
1720  right:0 !important;
1721`,g7e=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function m7e(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),o=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),i=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:g7e.map(r=>`${r}:${t.getPropertyValue(r)}`).join(";"),paddingSize:o,borderSize:i,boxSizing:n}}function PT(e,t=1,n){var o;Ni||(Ni=document.createElement("textarea"),document.body.appendChild(Ni));const{paddingSize:i,borderSize:s,boxSizing:r,contextStyle:a}=m7e(e);Ni.setAttribute("style",`${a};${f7e}`),Ni.value=e.value||e.placeholder||"";let l=Ni.scrollHeight;const c={};r==="border-box"?l=l+s:r==="content-box"&&(l=l-i),Ni.value="";const u=Ni.scrollHeight-i;if(Bt(t)){let d=u*t;r==="border-box"&&(d=d+i+s),l=Math.max(d,l),c.minHeight=`${d}px`}if(Bt(n)){let d=u*n;r==="border-box"&&(d=d+i+s),l=Math.min(d,l)}return c.height=`${l}px`,(o=Ni.parentNode)==null||o.removeChild(Ni),Ni=void 0,c}const v7e=Je({id:{type:String,default:void 0},size:rs,disabled:Boolean,modelValue:{type:xe([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:xe([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:_r},prefixIcon:{type:_r},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:xe([Object,Array,String]),default:()=>ic({})}}),C7e={[At]:e=>lt(e),input:e=>lt(e),change:e=>lt(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},b7e=["role"],y7e=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form"],w7e=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form"],S7e=ge({name:"ElInput",inheritAttrs:!1}),E7e=ge({...S7e,props:v7e,emits:C7e,setup(e,{expose:t,emit:n}){const o=e,i=kp(),s=Nr(),r=M(()=>{const K={};return o.containerRole==="combobox"&&(K["aria-haspopup"]=i["aria-haspopup"],K["aria-owns"]=i["aria-owns"],K["aria-expanded"]=i["aria-expanded"]),K}),a=M(()=>[o.type==="textarea"?m.b():g.b(),g.m(p.value),g.is("disabled",f.value),g.is("exceed",Q.value),{[g.b("group")]:s.prepend||s.append,[g.bm("group","append")]:s.append,[g.bm("group","prepe
1721nd")]:s.prepend,[g.m("prefix")]:s.prefix||o.prefixIcon,[g.m("suffix")]:s.suffix||o.suffixIcon||o.clearable||o.showPassword,[g.bm("suffix","password-clear")]:B.value&&z.value},i.class]),l=M(()=>[g.e("wrapper"),g.is("focus",k.value)]),c=L8e({excludeKeys:M(()=>Object.keys(r.value))}),{form:u,formItem:d}=ps(),{inputId:h}=yd(o,{formItemContext:d}),p=Ai(),f=hs(),g=Xe("input"),m=Xe("textarea"),v=pt(),y=pt(),b=J(!1),w=J(!1),S=J(!1),E=J(),T=pt(o.inputStyle),R=M(()=>v.value||y.value),{wrapperRef:A,isFocused:k,handleFocus:D,handleBlur:V}=o7e(R,{afterBlur(){var K;o.validateEvent&&((K=d?.validate)==null||K.call(d,"blur").catch(Ee=>void 0))}}),O=M(()=>{var K;return(K=u?.statusIcon)!=null?K:!1}),F=M(()=>d?.validateState||""),_=M(()=>F.value&&S8e[F.value]),P=M(()=>S.value?m8e:l8e),L=M(()=>[i.style,o.inputStyle]),x=M(()=>[o.inputStyle,T.value,{resize:o.resize}]),I=M(()=>Qi(o.modelValue)?"":String(o.modelValue)),B=M(()=>o.clearable&&!f.value&&!o.readonly&&!!I.value&&(k.value||b.value)),z=M(()=>o.showPassword&&!f.value&&!o.readonly&&!!I.value&&(!!I.value||k.value)),H=M(()=>o.showWordLimit&&!!c.value.maxlength&&(o.type==="text"||o.type==="textarea")&&!f.value&&!o.readonly&&!o.showPassword),j=M(()=>I.value.length),Q=M(()=>!!H.value&&j.value>Number(c.value.maxlength)),ce=M(()=>!!s.suffix||!!o.suffixIcon||B.value||o.showPassword||H.value||!!F.value&&O.value),[pe,te]=Q9e(v);Cd(y,K=>{if(ae(),!H.value||o.resize!=="both")return;const Ee=K[0],{width:Fe}=Ee.contentRect;E.value={right:`calc(100% - ${Fe+15+6}px)`}});const ne=()=>{const{type:K,autosize:Ee}=o;if(!(!eo||K!=="textarea"||!y.value))if(Ee){const Fe=Et(Ee)?Ee.minRows:void 0,et=Et(Ee)?Ee.maxRows:void 0,de=PT(y.value,Fe,et);T.value={overflowY:"hidden",...de},ot(()=>{y.value.offsetHeight,T.value=de})}else T.value={minHeight:PT(y.value).minHeight}},ae=(K=>{let Ee=!1;return()=>{var Fe;if(Ee||!o.autosize)return;((Fe=y.value)==null?void 0:Fe.offsetParent)===null||(K(),Ee=!0)}})(ne),Re=()=>{const K=R.value,Ee=o.formatter?o.formatter(I.value):I.value;!K||K.value===Ee||(K.value=Ee)},Oe=async K=>{pe();let{value:Ee}=K.target;if(o.formatter&&(Ee=o.parser?o.parser(Ee):Ee),!w.value){if(Ee===I.value){Re();return}n(At,Ee),n("input",Ee),await ot(),Re(),te()}},W=K=>{n("change",K.target.value)},Z=K=>{n("compositionstart",K),w.value=!0},ie=K=>{var Ee;n("compositionupdate",K);const Fe=(Ee=K.target)==null?void 0:Ee.value,et=Fe[Fe.length-1]||"";w.value=!eO(et)},be=K=>{n("compositionend",K),w.value&&(w.value=!1,Oe(K))},me=()=>{S.value=!S.value,$()},$=async()=>{var K;await ot(),(K=R.value)==null||K.focus()},G=()=>{var K;return(K=R.value)==null?void 0:K.blur()},q=K=>{b.value=!1,n("mouseleave",K)},fe=K=>{b.value=!0,n("mouseenter",K)},ye=K=>{n("keydown",K)},Pe=()=>{var K;(K=R.value)==null||K.select()},X=()=>{n(At,""),n("change",""),n("clear"),n("input","")};return Le(()=>o.modelValue,()=>{var K;ot(()=>ne()),o.validateEvent&&((K=d?.validate)==null||K.call(d,"change").catch(Ee=>void 0))}),Le(I,()=>Re()),Le(()=>o.type,async()=>{await ot(),Re(),ne()}),Dt(()=>{!o.formatter&&o.parser,Re(),ot(ne)}),t({input:v,textarea:y,ref:R,textareaStyle:x,autosize:rn(o,"autosize"),focus:$,blur:G,select:Pe,clear:X,resizeTextarea:ne}),(K,Ee)=>Pt((N(),ee("div",Rt(C(r),{class:C(a),style:C(L),role:K.containerRole,onMouseenter:fe,onMouseleave:q}),[Se(" input "),K.type!=="textarea"?(N(),ee(Ze,{key:0},[Se(" prepend slot "),K.$slots.prepend?(N(),ee("div",{key:0,class:U(C(g).be("group","prepend"))},[ke(K.$slots,"prepend")],2)):Se("v-if",!0),re("div",{ref_key:"wrapperRef",ref:A,class:U(C(l))},[Se(" prefix slot "),K.$slots.prefix||K.prefixIcon?(N(),ee("span",{key:0,class:U(C(g).e("prefix"))},[re("span",{class:U(C(g).e("prefix-inner"))},[ke(K.$slots,"prefix"),K.prefixIcon?(N(),ve(C(at),{key:0,class:U(C(g).e("icon"))},{default:se(()=>[(N(),ve(vn(K.prefixIcon)))]),_:1},8,["class"])):Se("v-if",!0)],2)],2)):Se("v-if",!0),re("input",Rt({id:C(h),ref_key:"input",ref:v,class:C(g).e("inner")},C(c),{type:K.showPassword?S.value?"text":"password":K.type,disabled:C(f),formatter:K.formatter,parser:K.parser,readonly:K.readonly,autocomplete:K.autocomplete,tabindex:K.tabindex,"aria-label":K.label,placeholder:K.placeholder,style:K.inputStyle,form:o.form,onCompositionstart:Z,onCompositionupdate:ie,onCompositionend:be,onInput:Oe,onFocus:Ee[0]||(Ee[0]=(...Fe)=>C(D)&&C(D)(...Fe)),onBlur:Ee[1]||(Ee[1]=(...Fe)=>C(V)&&C(V)(...Fe)),onChange:W,onKeydown:ye}),null,16,y7e),Se(" suffix slot "),C(ce)?(N(),ee("span",{key:1,class:U(C(g).e("suffix"))},[re("span",{class:U(C(g).e("suffix-inner"))},[!C(B)||!C(z)||!C(H)?(N(),ee(Ze,{key:0},[ke(K.$slots,"suffix"),K.suffixIcon?(N(),ve(C(at),{key:0,class:U(C(g).e("icon"))},{default:se(()=>[(N(),ve(vn(K.suffixIcon)))]),_:1},8,["class"])):Se("v-if",!0)],64)):Se("v-if",!0),C(B)?(N(),ve(C(at),{key:1,class:U([C(g).e("icon"),C(g).e("clear")]),onMousedown:St(C(Ot),["prevent"]),onClick:X},{default:se(()=>[oe(C(af))]),_:1},8,["class","onMousedown"])):Se("v-if",!0),C(z)?(N(),ve(C(at),{key:2,class:U([C(g).e("icon"),C(g).e("password")]),onClick:me},{default:se(()=>[(N(),ve(vn(C(P))))]),_:1},8,["class"])):Se("v-if",!0),C(H)?(N(),ee("span",{key:3,class:U(C(g).e("count"))},[re("span",{class:U(C(g).e("count-inner"))},Be(C(j))+" / "+Be(C(c).maxlength),3)],2)):Se("v-if",!0),C(F)&&C(_)&&C(O)?(N(),ve(C(at),{key:4,class:U([C(g).e("icon"),C(g).e("validateIcon"),C(g).is("loading",C(F)==="validating")])},{default:se(()=>[(N(),ve(vn(C(_))))]),_:1},8,["class"])):Se("v-if",!0)],2)],2)):Se("v-if",!0)],2),Se(" append slot "),K.$slots.append?(N(),ee("div",{key:1,class:U(C(g).be("group","append"))},[ke(K.$slots,"append")],2)):Se("v-if",!0)],64)):(N(),ee(Ze,{key:1},[Se(" textarea "),re("textarea",Rt({id:C(h),ref_key:"textarea",ref:y,class:C(m).e("inner")},C(c),{tabindex:K.tabindex,disabled:C(f),readonly:K.readonly,autocomplete:K.autocomplete,style:C(x),"aria-label":K.label,placeholder:K.placeholder,form:o.form,onCompositionstart:Z,onCompositionupdate:ie,onCompositionend:be,onInput:Oe,onFocus:Ee[2]||(Ee[2]=(...Fe)=>C(D)&&C(D)(...Fe)),onBlur:Ee[3]||(Ee[3]=(...Fe)=>C(V)&&C(V)(...Fe)),onChange:W,onKeydown:ye}
1721),null,16,w7e),C(H)?(N(),ee("span",{key:0,style:ft(E.value),class:U(C(g).e("count"))},Be(C(j))+" / "+Be(C(c).maxlength),7)):Se("v-if",!0)],64))],16,b7e)),[[Dn,K.type!=="hidden"]])}});var T7e=Qe(E7e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const Ms=Nn(T7e),tu=4,R7e={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},P7e=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),EO=Symbol("scrollbarContextKey"),M7e=Je({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),L7e="Thumb",x7e=ge({__name:"thumb",props:M7e,setup(e){const t=e,n=je(EO),o=Xe("scrollbar");n||js(L7e,"can not inject scrollbar context");const i=J(),s=J(),r=J({}),a=J(!1);let l=!1,c=!1,u=eo?document.onselectstart:null;const d=M(()=>R7e[t.vertical?"vertical":"horizontal"]),h=M(()=>P7e({size:t.size,move:t.move,bar:d.value})),p=M(()=>i.value[d.value.offset]**2/n.wrapElement[d.value.scrollSize]/t.ratio/s.value[d.value.offset]),f=E=>{var T;if(E.stopPropagation(),E.ctrlKey||[1,2].includes(E.button))return;(T=window.getSelection())==null||T.removeAllRanges(),m(E);const R=E.currentTarget;R&&(r.value[d.value.axis]=R[d.value.offset]-(E[d.value.client]-R.getBoundingClientRect()[d.value.direction]))},g=E=>{if(!s.value||!i.value||!n.wrapElement)return;const T=Math.abs(E.target.getBoundingClientRect()[d.value.direction]-E[d.value.client]),R=s.value[d.value.offset]/2,A=(T-R)*100*p.value/i.value[d.value.offset];n.wrapElement[d.value.scroll]=A*n.wrapElement[d.value.scrollSize]/100},m=E=>{E.stopImmediatePropagation(),l=!0,document.addEventListener("mousemove",v),document.addEventListener("mouseup",y),u=document.onselectstart,document.onselectstart=()=>!1},v=E=>{if(!i.value||!s.value||l===!1)return;const T=r.value[d.value.axis];if(!T)return;const R=(i.value.getBoundingClientRect()[d.value.direction]-E[d.value.client])*-1,A=s.value[d.value.offset]-T,k=(R-A)*100*p.value/i.value[d.value.offset];n.wrapElement[d.value.scroll]=k*n.wrapElement[d.value.scrollSize]/100},y=()=>{l=!1,r.value[d.value.axis]=0,document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",y),S(),c&&(a.value=!1)},b=()=>{c=!1,a.value=!!t.size},w=()=>{c=!0,a.value=l};Mn(()=>{S(),document.removeEventListener("mouseup",y)});const S=()=>{document.onselectstart!==u&&(document.onselectstart=u)};return Ci(rn(n,"scrollbarElement"),"mousemove",b),Ci(rn(n,"scrollbarElement"),"mouseleave",w),(E,T)=>(N(),ve(Ti,{name:C(o).b("fade"),persisted:""},{default:se(()=>[Pt(re("div",{ref_key:"instance",ref:i,class:U([C(o).e("bar"),C(o).is(C(d).key)]),onMousedown:g},[re("div",{ref_key:"thumb",ref:s,class:U(C(o).e("thumb")),style:ft(C(h)),onMousedown:f},null,38)],34),[[Dn,E.always||a.value]])]),_:1},8,["name"]))}});var MT=Qe(x7e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const D7e=Je({always:{type:Boolean,default:!0},width:String,height:String,ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}}),k7e=ge({__name:"bar",props:D7e,setup(e,{expose:t}){const n=e,o=J(0),i=J(0);return t({handleScroll:r=>{if(r){const a=r.offsetHeight-tu,l=r.offsetWidth-tu;i.value=r.scrollTop*100/a*n.ratioY,o.value=r.scrollLeft*100/l*n.ratioX}}}),(r,a)=>(N(),ee(Ze,null,[oe(MT,{move:o.value,ratio:r.ratioX,size:r.width,always:r.always},null,8,["move","ratio","size","always"]),oe(MT,{move:i.value,ratio:r.ratioY,size:r.height,vertical:"",always:r.always},null,8,["move","ratio","size","always"])],64))}});var A7e=Qe(k7e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const _7e=Je({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:xe([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20}}),I7e={scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(Bt)},F7e="ElScrollbar",O7e=ge({name:F7e}),N7e=ge({...O7e,props:_7e,emits:I7e,setup(e,{expose:t,emit:n}){const o=e,i=Xe("scrollbar");let s,r;const a=J(),l=J(),c=J(),u=J("0"),d=J("0"),h=J(),p=J(1),f=J(1),g=M(()=>{const T={};return o.height&&(T.height=gp(o.height)),o.maxHeight&&(T.maxHeight=gp(o.maxHeight)),[o.wrapStyle,T]}),m=M(()=>[o.wrapClass,i.e("wrap"),{[i.em("wrap","hidden-default")]:!o.native}]),v=M(()=>[i.e("view"),o.viewClass]),y=()=>{var T;l.value&&((T=h.value)==null||T.handleScroll(l.value),n("scroll",{scrollTop:l.value.scrollTop,scrollLeft:l.value.scrollLeft}))};function b(T,R){Et(T)?l.value.scrollTo(T):Bt(T)&&Bt(R)&&l.value.scrollTo(T,R)}const w=T=>{Bt(T)&&(l.value.scrollTop=T)},S=T=>{Bt(T)&&(l.value.scrollLeft=T)},E=()=>
1721{if(!l.value)return;const T=l.value.offsetHeight-tu,R=l.value.offsetWidth-tu,A=T**2/l.value.scrollHeight,k=R**2/l.value.scrollWidth,D=Math.max(A,o.minSize),V=Math.max(k,o.minSize);p.value=A/(T-A)/(D/(T-D)),f.value=k/(R-k)/(V/(R-V)),d.value=D+tu<T?`${D}px`:"",u.value=V+tu<R?`${V}px`:""};return Le(()=>o.noresize,T=>{T?(s?.(),r?.()):({stop:s}=Cd(c,E),r=Ci("resize",E))},{immediate:!0}),Le(()=>[o.maxHeight,o.height],()=>{o.native||ot(()=>{var T;E(),l.value&&((T=h.value)==null||T.handleScroll(l.value))})}),Ut(EO,Rn({scrollbarElement:a,wrapElement:l})),Dt(()=>{o.native||ot(()=>{E()})}),dc(()=>E()),t({wrapRef:l,update:E,scrollTo:b,setScrollTop:w,setScrollLeft:S,handleScroll:y}),(T,R)=>(N(),ee("div",{ref_key:"scrollbarRef",ref:a,class:U(C(i).b())},[re("div",{ref_key:"wrapRef",ref:l,class:U(C(m)),style:ft(C(g)),onScroll:y},[(N(),ve(vn(T.tag),{ref_key:"resizeRef",ref:c,class:U(C(v)),style:ft(T.viewStyle)},{default:se(()=>[ke(T.$slots,"default")]),_:3},8,["class","style"]))],38),T.native?Se("v-if",!0):(N(),ve(A7e,{key:0,ref_key:"barRef",ref:h,height:d.value,width:u.value,always:T.always,"ratio-x":f.value,"ratio-y":p.value},null,8,["height","width","always","ratio-x","ratio-y"]))],2))}});var B7e=Qe(N7e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const nw=Nn(B7e),ow=Symbol("popper"),TO=Symbol("popperContent"),H7e=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],RO=Je({role:{type:String,values:H7e,default:"tooltip"}}),V7e=ge({name:"ElPopper",inheritAttrs:!1}),$7e=ge({...V7e,props:RO,setup(e,{expose:t}){const n=e,o=J(),i=J(),s=J(),r=J(),a=M(()=>n.role),l={triggerRef:o,popperInstanceRef:i,contentRef:s,referenceRef:r,role:a};return t(l),Ut(ow,l),(c,u)=>ke(c.$slots,"default")}});var W7e=Qe($7e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const PO=Je({arrowOffset:{type:Number,default:5}}),G7e=ge({name:"ElPopperArrow",inheritAttrs:!1}),z7e=ge({...G7e,props:PO,setup(e,{expose:t}){const n=e,o=Xe("popper"),{arrowOffset:i,arrowRef:s,arrowStyle:r}=je(TO,void 0);return Le(()=>n.arrowOffset,a=>{i.value=a}),Mn(()=>{s.value=void 0}),t({arrowRef:s}),(a,l)=>(N(),ee("span",{ref_key:"arrowRef",ref:s,class:U(C(o).e("arrow")),style:ft(C(r)),"data-popper-arrow":""},null,6))}});var U7e=Qe(z7e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const j7e="ElOnlyChild",MO=ge({name:j7e,setup(e,{slots:t,attrs:n}){var o;const i=je(CO),s=Y9e((o=i?.setForwardRef)!=null?o:Ot);return()=>{var r;const a=(r=t.default)==null?void 0:r.call(t,n);if(!a||a.length>1)return null;const l=LO(a);return l?Pt(ns(l,n),[[s]]):null}}});function LO(e){if(!e)return null;const t=e;for(const n of t){if(Et(n))switch(n.type){case Sn:continue;case Yi:case"svg":return LT(n);case Ze:return LO(n.children);default:return n}return LT(n)}return null}function LT(e){const t=Xe("only-child");return oe("span",{class:t.e("content")},[e])}const xO=Je({virtualRef:{type:xe(Object)},virtualTriggering:Boolean,onMouseenter:{type:xe(Function)},onMouseleave:{type:xe(Function)},onClick:{type:xe(Function)},onKeydown:{type:xe(Function)},onFocus:{type:xe(Function)},onBlur:{type:xe(Function)},onContextmenu:{type:xe(Function)},id:String,open:Boolean}),Z7e=ge({name:"ElPopperTrigger",inheritAttrs:!1}),K7e=ge({...Z7e,props:xO,setup(e,{expose:t}){const n=e,{role:o,triggerRef:i}=je(ow,void 0);q9e(i);const s=M(()=>a.value?n.id:void 0),r=M(()=>{if(o&&o.value==="tooltip")return n.open&&n.id?n.id:void 0}),a=M(()=>{if(o&&o.value!=="tooltip")return o.value}),l=M(()=>a.value?`${n.open}`:void 0);let c;return Dt(()=>{Le(()=>n.virtualRef,u=>{u&&(i.value=Sa(u))},{immediate:!0}),Le(i,(u,d)=>{c?.(),c=void 0,fp(u)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(h=>{var p;const f=n[h];f&&(u.addEventListener(h.slice(2).toLowerCase(),f),(p=d?.removeEventListener)==null||p.call(d,h.slice(2).toLowerCase(),f))}),c=Le([s,r,a,l],h=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((p,f)=>{Qi(h[f])?u.removeAttribute(p):u.setAttribute(p,h[f])})},{immediate:!0})),fp(d)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(h=>d.removeAttribute(h))},{immediate:!0})}),Mn(()=>{c?.(),c=void 0}),t({triggerRef:i}),(u,d)=>u.virtualTriggering?Se("v-if",!0):(N(),ve(C(MO),Rt({key:0},u.$attrs,{"aria-controls":C(s),"aria-describedby":C(r),"aria-expanded":C(l),"aria-haspopup":C(a)}),{default:se(()=>[ke(u.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var q7e=Qe(K7e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);const rC="focus-trap.focus-after-trapped",aC="focus-trap.focus-after-released",Y7e="focus-trap.focusout-prevented",xT={cancelable:!0,bubbles:!1},X7e={cancelable:!0,bubbles:!1},DT="focusAfterTrapped",kT="focusAfterReleased",DO=Symbol("elFocusTrap"),iw=J(),o2=J(0),sw=J(0);let Jf=0;const kO=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const i=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||i?NodeFilter.FILTER_SKIP:o.tabIndex>=0||o===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},AT=(e,t)=>
1721{for(const n of e)if(!J7e(n,t))return n},J7e=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},Q7e=e=>{const t=kO(e),n=AT(t,e),o=AT(t.reverse(),e);return[n,o]},eSe=e=>e instanceof HTMLInputElement&&"select"in e,ua=(e,t)=>{if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),sw.value=window.performance.now(),e!==n&&eSe(e)&&t&&e.select()}};function _T(e,t){const n=[...e],o=e.indexOf(t);return o!==-1&&n.splice(o,1),n}const tSe=()=>{let e=[];return{push:o=>{const i=e[0];i&&o!==i&&i.pause(),e=_T(e,o),e.unshift(o)},remove:o=>{var i,s;e=_T(e,o),(s=(i=e[0])==null?void 0:i.resume)==null||s.call(i)}}},nSe=(e,t=!1)=>{const n=document.activeElement;for(const o of e)if(ua(o,t),document.activeElement!==n)return},IT=tSe(),oSe=()=>o2.value>sw.value,Qf=()=>{iw.value="pointer",o2.value=window.performance.now()},FT=()=>{iw.value="keyboard",o2.value=window.performance.now()},iSe=()=>(Dt(()=>{Jf===0&&(document.addEventListener("mousedown",Qf),document.addEventListener("touchstart",Qf),document.addEventListener("keydown",FT)),Jf++}),Mn(()=>{Jf--,Jf<=0&&(document.removeEventListener("mousedown",Qf),document.removeEventListener("touchstart",Qf),document.removeEventListener("keydown",FT))}),{focusReason:iw,lastUserFocusTimestamp:o2,lastAutomatedFocusTimestamp:sw}),e1=e=>new CustomEvent(Y7e,{...X7e,detail:e}),sSe=ge({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[DT,kT,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=J();let o,i;const{focusReason:s}=iSe();z9e(f=>{e.trapped&&!r.paused&&t("release-requested",f)});const r={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},a=f=>{if(!e.loop&&!e.trapped||r.paused)return;const{key:g,altKey:m,ctrlKey:v,metaKey:y,currentTarget:b,shiftKey:w}=f,{loop:S}=e,E=g===bt.tab&&!m&&!v&&!y,T=document.activeElement;if(E&&T){const R=b,[A,k]=Q7e(R);if(A&&k){if(!w&&T===k){const V=e1({focusReason:s.value});t("focusout-prevented",V),V.defaultPrevented||(f.preventDefault(),S&&ua(A,!0))}else if(w&&[A,R].includes(T)){const V=e1({focusReason:s.value});t("focusout-prevented",V),V.defaultPrevented||(f.preventDefault(),S&&ua(k,!0))}}else if(T===R){const V=e1({focusReason:s.value});t("focusout-prevented",V),V.defaultPrevented||f.preventDefault()}}};Ut(DO,{focusTrapRef:n,onKeydown:a}),Le(()=>e.focusTrapEl,f=>{f&&(n.value=f)},{immediate:!0}),Le([n],([f],[g])=>{f&&(f.addEventListener("keydown",a),f.addEventListener("focusin",u),f.addEventListener("focusout",d)),g&&(g.removeEventListener("keydown",a),g.removeEventListener("focusin",u),g.removeEventListener("focusout",d))});const l=f=>{t(DT,f)},c=f=>t(kT,f),u=f=>{const g=C(n);if(!g)return;const m=f.target,v=f.relatedTarget,y=m&&g.contains(m);e.trapped||v&&g.contains(v)||(o=v),y&&t("focusin",f),!r.paused&&e.trapped&&(y?i=m:ua(i,!0))},d=f=>{const g=C(n);if(!(r.paused||!g))if(e.trapped){const m=f.relatedTarget;!Qi(m)&&!g.contains(m)&&setTimeout(()=>{if(!r.paused&&e.trapped){const v=e1({focusReason:s.value});t("focusout-prevented",v),v.defaultPrevented||ua(i,!0)}},0)}else{const m=f.target;m&&g.contains(m)||t("focusout",f)}};async function h(){await ot();const f=C(n);if(f){IT.push(r);const g=f.contains(document.activeElement)?o:document.activeElement;if(o=g,!f.contains(g)){const v=new Event(rC,xT);f.addEventListener(rC,l),f.dispatchEvent(v),v.defaultPrevented||ot(()=>{let y=e.focusStartEl;lt(y)||(ua(y),document.activeElement!==y&&(y="first")),y==="first"&&nSe(kO(f),!0),(document.activeElement===g||y==="container")&&ua(f)})}}}function p(){const f=C(n);if(f){f.removeEventListener(rC,l);const g=new CustomEvent(aC,{...xT,detail:{focusReason:s.value}});f.addEventListener(aC,c),f.dispatchEvent(g),!g.defaultPrevented&&(s.value=="keyboard"||!oSe()||f.contains(document.activeElement))&&ua(o??document.body),f.removeEventListener(aC,l),IT.remove(r)}}return Dt(()=>{e.trapped&&h(),Le(()=>e.trapped,f=>{f?h():p()})}),Mn(()=>{e.trapped&&p()}),{onKeydown:a}}});function rSe(e,t,n,o,i,s){return ke(e.$slots,"default",{handleKeydown:e.onKeydown})}var aSe=Qe(sSe,[["render",rSe],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const lSe=["fixed","absolute"],cSe=Je({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:xe(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:bd,default:"bottom"},popperOptions:{type:xe(Object),default:()=>({})},strategy:{type:String,values:lSe,default:"absolute"}}),AO=Je({...cSe,id:String,style:{type:xe([String,Array,Object])},className:{type:xe([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:xe([String,Array,Object])},popperStyle:{type:xe([String,Array,Object])},referenceEl:{type:xe(Object)},triggerTargetEl:{type:xe(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},ariaLabel:{type:String,default:void 0},virtualTriggering:Boolean,zIndex:Number}),uSe={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},dSe=(e,t=[])=>{const{placement:n,strategy:o,popperOptions:i}=e,s={placement:n,strategy:o,...i,modifiers:[...pSe(e),...t]};return fSe(s,i?.modifiers),s},hSe=e=>{if(eo)return Sa(e)};function pSe(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:o}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:o}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function fSe(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const gSe=0,mSe=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:o,role:i}=je(ow,void 0),s=J(),r=J(),a=M(()=>({name:"eventListeners",enabled:!!e.visible})),l=M(()=>{var v;const y=C(s),b=(v=C(r))!=null?v:gSe;return{name:"arrow",enabled:!A6e(y),options:{element:y,padding:b}}}),c=M(()=>({onFirstUpdate:()=>{f()},...dSe(e,[C(l),C(a)])})),u=M(()=>hSe(e.referenceEl)||C(o)),{attributes:d,state:h,styles:p,update:f,forceUpdate:g,instanceRef:m}=V9e(u,n,c);return Le(m,v=>t.value=v),Dt(()=>{Le(()=>{var v;return(v=C(u))==null?void 0:v.getBoundingClientRect()},()=>{f()})}),{attributes:d,arrowRef:s,contentRef:n,instanceRef:m,state:h,styles:p,role:i,forceUpdate:g,update:f}},vSe=(e,{attributes:t,styles:n,role:o})=>{const{nextZIndex:i}=J9e(),s=Xe("popper"),r=M(()=>C(t).popper),a=J(e.zIndex||i()),l=M(()=>[s.b(),s.is("pure",e.pure),s.is(e.effect),e.popperClass]),c=M(()=>[{zIndex:C(a)},C(n).popper,e.popperStyle||{}]),u=M(()=>o.value==="dialog"?"false":void 0),d=M(()=>C(n).arrow||{});return{ariaModal:u,arrowStyle:d,contentAttrs:r,contentClass:l,contentStyle:c,contentZIndex:a,updateZIndex:()=>{a.value=e.zIndex||i()}}},CSe=(e,t)=>{const n=J(!1),o=J();
1721return{focusStartRef:o,trapped:n,onFocusAfterReleased:c=>{var u;((u=c.detail)==null?void 0:u.focusReason)!=="pointer"&&(o.value="first",t("blur"))},onFocusAfterTrapped:()=>{t("focus")},onFocusInTrap:c=>{e.visible&&!n.value&&(c.target&&(o.value=c.target),n.value=!0)},onFocusoutPrevented:c=>{e.trapping||(c.detail.focusReason==="pointer"&&c.preventDefault(),n.value=!1)},onReleaseRequested:()=>{n.value=!1,t("close")}}},bSe=ge({name:"ElPopperContent"}),ySe=ge({...bSe,props:AO,emits:uSe,setup(e,{expose:t,emit:n}){const o=e,{focusStartRef:i,trapped:s,onFocusAfterReleased:r,onFocusAfterTrapped:a,onFocusInTrap:l,onFocusoutPrevented:c,onReleaseRequested:u}=CSe(o,n),{attributes:d,arrowRef:h,contentRef:p,styles:f,instanceRef:g,role:m,update:v}=mSe(o),{ariaModal:y,arrowStyle:b,contentAttrs:w,contentClass:S,contentStyle:E,updateZIndex:T}=vSe(o,{styles:f,attributes:d,role:m}),R=je(Im,void 0),A=J();Ut(TO,{arrowStyle:b,arrowRef:h,arrowOffset:A}),R&&(R.addInputId||R.removeInputId)&&Ut(Im,{...R,addInputId:Ot,removeInputId:Ot});let k;const D=(O=!0)=>{v(),O&&T()},V=()=>{D(!1),o.visible&&o.focusOnShow?s.value=!0:o.visible===!1&&(s.value=!1)};return Dt(()=>{Le(()=>o.triggerTargetEl,(O,F)=>{k?.(),k=void 0;const _=C(O||p.value),P=C(F||p.value);fp(_)&&(k=Le([m,()=>o.ariaLabel,y,()=>o.id],L=>{["role","aria-label","aria-modal","id"].forEach((x,I)=>{Qi(L[I])?_.removeAttribute(x):_.setAttribute(x,L[I])})},{immediate:!0})),P!==_&&fp(P)&&["role","aria-label","aria-modal","id"].forEach(L=>{P.removeAttribute(L)})},{immediate:!0}),Le(()=>o.visible,V,{immediate:!0})}),Mn(()=>{k?.(),k=void 0}),t({popperContentRef:p,popperInstanceRef:g,updatePopper:D,contentStyle:E}),(O,F)=>(N(),ee("div",Rt({ref_key:"contentRef",ref:p},C(w),{style:C(E),class:C(S),tabindex:"-1",onMouseenter:F[0]||(F[0]=_=>O.$emit("mouseenter",_)),onMouseleave:F[1]||(F[1]=_=>O.$emit("mouseleave",_))}),[oe(C(aSe),{trapped:C(s),"trap-on-focus-in":!0,"focus-trap-el":C(p),"focus-start-el":C(i),onFocusAfterTrapped:C(a),onFocusAfterReleased:C(r),onFocusin:C(l),onFocusoutPrevented:C(c),onReleaseRequested:C(u)},{default:se(()=>[ke(O.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var wSe=Qe(ySe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const SSe=Nn(W7e),i2=Symbol("elTooltip"),wp=Je({...Z9e,...AO,appendTo:{type:xe([String,Object])},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:xe(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),rw=Je({...xO,disabled:Boolean,trigger:{type:xe([String,Array]),default:"hover"},triggerKeys:{type:xe(Array),default:()=>[bt.enter,bt.space]}}),{useModelToggleProps:ESe,useModelToggleEmits:TSe,useModelToggle:RSe}=N8e("visible"),PSe=Je({...RO,...ESe,...wp,...rw,...PO,showArrow:{type:Boolean,default:!0}}),MSe=[...TSe,"before-show","before-hide","show","hide","open","close"],LSe=(e,t)=>_e(e)?e.includes(t):e===t,kc=(e,t,n)=>o=>{LSe(C(e),t)&&n(o)},xSe=ge({name:"ElTooltipTrigger"}),DSe=ge({...xSe,props:rw,setup(e,{expose:t}){const n=e,o=Xe("tooltip"),{controlled:i,id:s,open:r,onOpen:a,onClose:l,onToggle:c}=je(i2,void 0),u=J(null),d=()=>{if(C(i)||n.disabled)return!0},h=rn(n,"trigger"),p=In(d,kc(h,"hover",a)),f=In(d,kc(h,"hover",l)),g=In(d,kc(h,"click",w=>{w.button===0&&c(w)})),m=In(d,kc(h,"focus",a)),v=In(d,kc(h,"focus",l)),y=In(d,kc(h,"contextmenu",w=>{w.preventDefault(),c(w)})),b=In(d,w=>{const{code:S}=w;n.triggerKeys.includes(S)&&(w.preventDefault(),c(w))});return t({triggerRef:u}),(w,S)=>(N(),ve(C(q7e),{id:C(s),"virtual-ref":w.virtualRef,open:C(r),"virtual-triggering":w.virtualTriggering,class:U(C(o).e("trigger")),onBlur:C(v),onClick:C(g),onContextmenu:C(y),onFocus:C(m),onMouseenter:C(p),onMouseleave:C(f),onKeydown:C(b)},{default:se(()=>[ke(w.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var kSe=Qe(DSe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const ASe=ge({name:"ElTooltipContent",inheritAttrs:!1}),_Se=ge({...ASe,props:wp,setup(e,{expose:t}){const n=e,{selector:o}=vO(),i=Xe("tooltip"),s=J(null),r=J(!1),{controlled:a,id:l,open:c,trigger:u,onClose:d,onOpen:h,onShow:p,onHide:f,onBeforeShow:g,onBeforeHide:m}=je(i2,void 0),v=M(()=>n.transition||`${i.namespace.value}-fade-in-linear`),y=M(()=>n.persistent);Mn(()=>{r.value=!0});const b=M(()=>C(y)?!0:C(c)),w=M(()=>n.disabled?!1:C(c)),S=M(()=>n.appendTo||o.value),E=M(()=>{var L;return(L=n.style)!=null?L:{}}),T=M(()=>!C(c)),R=()=>{f()},A=()=>{if(C(a))return!0},k=In(A,()=>{n.enterable&&C(u)==="hover"&&h()}),D=In(A,()=>{C(u)==="hover"&&d()}),V=()=>{var L,x;(x=(L=s.value)==null?void 0:L.updatePopper)==null||x.call(L),g?.()},O=()=>{m?.()},F=()=>{p(),P=MF(M(()=>{var L;return(L=s.value)==null?void 0:L.popperContentRef}),()=>{if(C(a))return;C(u)!=="hover"&&d()})},_=()=>{n.virtualTriggering||d()};let P;return Le(()=>C(c),L=>{L||P?.()},{flush:"post"}),Le(()=>n.content,()=>{var L,x;(x=(L=s.value)==null?void 0:L.updatePopper)==null||x.call(L)}),t({contentRef:s}),(L,x)=>(N(),ve(xp,{disabled:!L.teleported,to:C(S)},[oe(Ti,{name:C(v),onAfterLeave:R,onBeforeEnter:V,onAfterEnter:F,onBeforeLeave:O},{default:se(()=>[C(b)?Pt((N(),ve(C(wSe),Rt({key:0,id:C(l),ref_key:"contentRef",ref:s},L.$attrs,{"aria-label":L.ariaLabel,"aria-hidden":C(T),"boundaries-padding":L.boundariesPadding,"fallback-placements":L.fallbackPlacements,"gpu-acceleration":L.gpuAcceleration,offset:L.offset,placement:L.placement,"popper-options":L.popperOptions,strategy:L.strategy,effect:L.effect,enterable:L.enterable,pure:L.pure,"popper-class":L.popperClass,"popper-style":[L.popperStyle,C(E)],"reference-el":L.referenceEl,"trigger-target-el":L.triggerTargetEl,visible:C(w),"z-index":L.zIndex,onMouseenter:C(k),onMouseleave:C(D),onBlur:_,onClose:C(d)}),{default:se(()=>[r.value?Se("v-if",!0):ke(L.$slots,"default",{key:0})]),_:3}
1721,16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[Dn,C(w)]]):Se("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"]))}});var ISe=Qe(_Se,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const FSe=["innerHTML"],OSe={key:1},NSe=ge({name:"ElTooltip"}),BSe=ge({...NSe,props:PSe,emits:MSe,setup(e,{expose:t,emit:n}){const o=e;j9e();const i=uf(),s=J(),r=J(),a=()=>{var v;const y=C(s);y&&((v=y.popperInstanceRef)==null||v.update())},l=J(!1),c=J(),{show:u,hide:d,hasUpdateHandler:h}=RSe({indicator:l,toggleReason:c}),{onOpen:p,onClose:f}=K9e({showAfter:rn(o,"showAfter"),hideAfter:rn(o,"hideAfter"),autoClose:rn(o,"autoClose"),open:u,close:d}),g=M(()=>es(o.visible)&&!h.value);Ut(i2,{controlled:g,id:i,open:ao(l),trigger:rn(o,"trigger"),onOpen:v=>{p(v)},onClose:v=>{f(v)},onToggle:v=>{C(l)?f(v):p(v)},onShow:()=>{n("show",c.value)},onHide:()=>{n("hide",c.value)},onBeforeShow:()=>{n("before-show",c.value)},onBeforeHide:()=>{n("before-hide",c.value)},updatePopper:a}),Le(()=>o.disabled,v=>{v&&l.value&&(l.value=!1)});const m=()=>{var v,y;const b=(y=(v=r.value)==null?void 0:v.contentRef)==null?void 0:y.popperContentRef;return b&&b.contains(document.activeElement)};return t0(()=>l.value&&d()),t({popperRef:s,contentRef:r,isFocusInsideContent:m,updatePopper:a,onOpen:p,onClose:f,hide:d}),(v,y)=>(N(),ve(C(SSe),{ref_key:"popperRef",ref:s,role:v.role},{default:se(()=>[oe(kSe,{disabled:v.disabled,trigger:v.trigger,"trigger-keys":v.triggerKeys,"virtual-ref":v.virtualRef,"virtual-triggering":v.virtualTriggering},{default:se(()=>[v.$slots.default?ke(v.$slots,"default",{key:0}):Se("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),oe(ISe,{ref_key:"contentRef",ref:r,"aria-label":v.ariaLabel,"boundaries-padding":v.boundariesPadding,content:v.content,disabled:v.disabled,effect:v.effect,enterable:v.enterable,"fallback-placements":v.fallbackPlacements,"hide-after":v.hideAfter,"gpu-acceleration":v.gpuAcceleration,offset:v.offset,persistent:v.persistent,"popper-class":v.popperClass,"popper-style":v.popperStyle,placement:v.placement,"popper-options":v.popperOptions,pure:v.pure,"raw-content":v.rawContent,"reference-el":v.referenceEl,"trigger-target-el":v.triggerTargetEl,"show-after":v.showAfter,strategy:v.strategy,teleported:v.teleported,transition:v.transition,"virtual-triggering":v.virtualTriggering,"z-index":v.zIndex,"append-to":v.appendTo},{default:se(()=>[ke(v.$slots,"content",{},()=>[v.rawContent?(N(),ee("span",{key:0,innerHTML:v.content},null,8,FSe)):(N(),ee("span",OSe,Be(v.content),1))]),v.showArrow?(N(),ve(C(U7e),{key:0,"arrow-offset":v.arrowOffset},null,8,["arrow-offset"])):Se("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]),_:3},8,["role"]))}});var HSe=Qe(BSe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const s2=Nn(HSe),_O=Symbol("buttonGroupContextKey"),VSe=(e,t)=>{t2({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},M(()=>e.type==="text"));const n=je(_O,void 0),o=SO("button"),{form:i}=ps(),s=Ai(M(()=>n?.size)),r=hs(),a=J(),l=Nr(),c=M(()=>e.type||n?.type||""),u=M(()=>{var f,g,m;return(m=(g=e.autoInsertSpace)!=null?g:(f=o.value)==null?void 0:f.autoInsertSpace)!=null?m:!1}),d=M(()=>e.tag==="button"?{ariaDisabled:r.value||e.loading,disabled:r.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),h=M(()=>{var f;const g=(f=l.default)==null?void 0:f.call(l);
vendor: 5,959 bytes, line 1721
1721if(u.value&&g?.length===1){const m=g[0];if(m?.type===Yi){const v=m.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(v.trim())}}return!1});return{_disabled:r,_size:s,_type:c,_ref:a,_props:d,shouldAddSpace:h,handleClick:f=>{e.nativeType==="reset"&&i?.resetFields(),t("click",f)}}},$Se=["default","primary","success","warning","info","danger","text",""],WSe=["button","submit","reset"],A3=Je({size:rs,disabled:Boolean,type:{type:String,values:$Se,default:""},icon:{type:_r},nativeType:{type:String,values:WSe,default:"button"},loading:Boolean,loadingIcon:{type:_r,default:()=>zy},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:xe([String,Object]),default:"button"}}),GSe={click:e=>e instanceof MouseEvent};function to(e,t){zSe(e)&&(e="100%");var n=USe(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function t1(e){return Math.min(1,Math.max(0,e))}function zSe(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function USe(e){return typeof e=="string"&&e.indexOf("%")!==-1}function IO(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function n1(e){return e<=1?"".concat(Number(e)*100,"%"):e}function wl(e){return e.length===1?"0"+e:String(e)}function jSe(e,t,n){return{r:to(e,255)*255,g:to(t,255)*255,b:to(n,255)*255}}function OT(e,t,n){e=to(e,255),t=to(t,255),n=to(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),s=0,r=0,a=(o+i)/2;if(o===i)r=0,s=0;else{var l=o-i;switch(r=a>.5?l/(2-o-i):l/(o+i),o){case e:s=(t-n)/l+(t<n?6:0);break;case t:s=(n-e)/l+2;break;case n:s=(e-t)/l+4;break}s/=6}return{h:s,s:r,l:a}}function lC(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ZSe(e,t,n){var o,i,s;if(e=to(e,360),t=to(t,100),n=to(n,100),t===0)i=n,s=n,o=n;else{var r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;o=lC(a,r,e+1/3),i=lC(a,r,e),s=lC(a,r,e-1/3)}return{r:o*255,g:i*255,b:s*255}}function NT(e,t,n){e=to(e,255),t=to(t,255),n=to(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),s=0,r=o,a=o-i,l=o===0?0:a/o;if(o===i)s=0;else{switch(o){case e:s=(t-n)/a+(t<n?6:0);break;case t:s=(n-e)/a+2;break;case n:s=(e-t)/a+4;break}s/=6}return{h:s,s:l,v:r}}function KSe(e,t,n){e=to(e,360)*6,t=to(t,100),n=to(n,100);var o=Math.floor(e),i=e-o,s=n*(1-t),r=n*(1-i*t),a=n*(1-(1-i)*t),l=o%6,c=[n,r,s,s,a,n][l],u=[a,n,n,r,s,s][l],d=[s,s,a,n,n,r][l];return{r:c*255,g:u*255,b:d*255}}function BT(e,t,n,o){var i=[wl(Math.round(e).toString(16)),wl(Math.round(t).toString(16)),wl(Math.round(n).toString(16))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function qSe(e,t,n,o,i){var s=[wl(Math.round(e).toString(16)),wl(Math.round(t).toString(16)),wl(Math.round(n).toString(16)),wl(YSe(o))];return i&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))&&s[3].startsWith(s[3].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0):s.join("")}function YSe(e){return Math.round(parseFloat(e)*255).toString(16)}function HT(e){return Zo(e)/255}function Zo(e){return parseInt(e,16)}function XSe(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var _3={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",s
1721almon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function JSe(e){var t={r:0,g:0,b:0},n=1,o=null,i=null,s=null,r=!1,a=!1;return typeof e=="string"&&(e=tEe(e)),typeof e=="object"&&(Qs(e.r)&&Qs(e.g)&&Qs(e.b)?(t=jSe(e.r,e.g,e.b),r=!0,a=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Qs(e.h)&&Qs(e.s)&&Qs(e.v)?(o=n1(e.s),i=n1(e.v),t=KSe(e.h,o,i),r=!0,a="hsv"):Qs(e.h)&&Qs(e.s)&&Qs(e.l)&&(o=n1(e.s),s=n1(e.l),t=ZSe(e.h,o,s),r=!0,a="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=IO(n),{ok:r,format:e.format||a,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var QSe="[-\\+]?\\d+%?",eEe="[-\\+]?\\d*\\.\\d+%?",Ea="(?:".concat(eEe,")|(?:").concat(QSe,")"),cC="[\\s|\\(]+(".concat(Ea,")[,|\\s]+(").concat(Ea,")[,|\\s]+(").concat(Ea,")\\s*\\)?"),uC="[\\s|\\(]+(".concat(Ea,")[,|\\s]+(").concat(Ea,")[,|\\s]+(").concat(Ea,")[,|\\s]+(").concat(Ea,")\\s*\\)?"),Bi={CSS_UNIT:new RegExp(Ea),rgb:new RegExp("rgb"+cC),rgba:new RegExp("rgba"+uC),hsl:new RegExp("hsl"+cC),hsla:new RegExp("hsla"+uC),hsv:new RegExp("hsv"+cC),hsva:new RegExp("hsva"
1721+uC),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function tEe(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(_3[e])e=_3[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Bi.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Bi.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Bi.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Bi.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Bi.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Bi.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Bi.hex8.exec(e),n?{r:Zo(n[1]),g:Zo(n[2]),b:Zo(n[3]),a:HT(n[4]),format:t?"name":"hex8"}:(n=Bi.hex6.exec(e),n?{r:Zo(n[1]),g:Zo(n[2]),b:Zo(n[3]),format:t?"name":"hex"}:(n=Bi.hex4.exec(e),n?{r:Zo(n[1]+n[1]),g:Zo(n[2]+n[2]),b:Zo(n[3]+n[3]),a:HT(n[4]+n[4]),format:t?"name":"hex8"}:(n=Bi.hex3.exec(e),n?{r:Zo(n[1]+n[1]),g:Zo(n[2]+n[2]),b:Zo(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Qs(e){return!!Bi.CSS_UNIT.exec(String(e))}var nEe=(function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var o;if(t instanceof e)return t;typeof t=="number"&&(t=XSe(t)),this.originalInput=t;var i=JSe(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=n.format)!==null&&o!==void 0?o:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,o,i,s=t.r/255,r=t.g/255,a=t.b/255;return s<=.03928?n=s/12.92:n=Math.pow((s+.055)/1.055,2.4),r<=.03928?o=r/12.92:o=Math.pow((r+.055)/1.055,2.4),a<=.03928?i=a/12.92:i=Math.pow((a+.055)/1.055,2.4),.2126*n+.7152*o+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=IO(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=NT(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=NT(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(o,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(o,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=OT(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=OT(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(o,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(o,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),BT(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),qSe(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),o=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(o,")"):"rgba(".concat(t,", ").concat(n,", ").concat(o,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(to(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(to(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+BT(this.r,this.g,this.b,!1),n=0,o=Object.entries(_3);n<o.length;n++){var i=o[n],s=i[0],r=i[1];if(t===r)return s}return!1},e.prototype.toString=function(t){var n=!!t;t=t??this.format;var o=!1,i=this.a<1&&this.a>=0,s=!n&&i&&(t.startsWith("hex")||t==="name");return s?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(o=this.toRgbString()),t==="prgb"&&(o=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(o=this.toHexString()),t==="hex3"&&(o=this.toHexString(!0)),t==="hex4"&&(o=this.toHex8String(!0)),t==="hex8"&&(o=this.toHex8String()),t==="name"&&(o=this.toName()),t==="hsl"&&(o=this.toHslString()),t==="hsv"&&(o=this.toHsvString()),o||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=t1(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=t1(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=t1(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=t1(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var o=this.toRgb(),i=new e(t).toRgb(),s=n/100,r={r:(i.r-o.r)*s+o.r,g:(i.g-o.g)*s+o.g,b:(i.b-o.b)*s+o.b,a:(i.a-o.a)*s+o.a};return new e(r)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var o=this.toHsl(),i=360/n,s=[this];for(o.h=(o.h-(i*t>>1)+720)%360;--t;)o.h=(o.h+i)%360,s.push(new e(o));return s},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),o=n.h,i=n.s,s=n.v,r=[],a=1/t;
1721t--;)r.push(new e({h:o,s:i,v:s})),s=(s+a)%1;return r},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),o=new e(t).toRgb(),i=n.a+o.a*(1-n.a);return new e({r:(n.r*n.a+o.r*o.a*(1-n.a))/i,g:(n.g*n.a+o.g*o.a*(1-n.a))/i,b:(n.b*n.a+o.b*o.a*(1-n.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),o=n.h,i=[this],s=360/t,r=1;r<t;r++)i.push(new e({h:(o+r*s)%360,s:n.s,l:n.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e})();function oa(e,t=20){return e.mix("#141414",t).toString()}function oEe(e){const t=hs(),n=Xe("button");return M(()=>{let o={};const i=e.color;if(i){const s=new nEe(i),r=e.dark?s.tint(20).toString():oa(s,20);if(e.plain)o=n.cssVarBlock({"bg-color":e.dark?oa(s,90):s.tint(90).toString(),"text-color":i,"border-color":e.dark?oa(s,50):s.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":i,"hover-border-color":i,"active-bg-color":r,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":r}),t.value&&(o[n.cssVarBlockName("disabled-bg-color")]=e.dark?oa(s,90):s.tint(90).toString(),o[n.cssVarBlockName("disabled-text-color")]=e.dark?oa(s,50):s.tint(50).toString(),o[n.cssVarBlockName("disabled-border-color")]=e.dark?oa(s,80):s.tint(80).toString());else{const a=e.dark?oa(s,30):s.tint(30).toString(),l=s.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(o=n.cssVarBlock({"bg-color":i,"text-color":l,"border-color":i,"hover-bg-color":a,"hover-text-color":l,"hover-border-color":a,"active-bg-color":r,"active-border-color":r}),t.value){const c=e.dark?oa(s,50):s.tint(50).toString();o[n.cssVarBlockName("disabled-bg-color")]=c,o[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,o[n.cssVarBlockName("disabled-border-color")]=c}}}return o})}const iEe=ge({name:"ElButton"}),sEe=ge({...iEe,props:A3,emits:GSe,setup(e,{expose:t,emit:n}){const o=e,i=oEe(o),s=Xe("button"),{_ref:r,_size:a,_type:l,_disabled:c,_props:u,shouldAddSpace:d,handleClick:h}=VSe(o,n);return t({ref:r,size:a,type:l,disabled:c,shouldAddSpace:d}),(p,f)=>(N(),ve(vn(p.tag),Rt({ref_key:"_ref",ref:r},C(u),{class:[C(s).b(),C(s).m(C(l)),C(s).m(C(a)),C(s).is("disabled",C(c)),C(s).is("loading",p.loading),C(s).is("plain",p.plain),C(s).is("roun
1721d",p.round),C(s).is("circle",p.circle),C(s).is("text",p.text),C(s).is("link",p.link),C(s).is("has-bg",p.bg)],style:C(i),onClick:C(h)}),{default:se(()=>[p.loading?(N(),ee(Ze,{key:0},[p.$slots.loading?ke(p.$slots,"loading",{key:0}):(N(),ve(C(at),{key:1,class:U(C(s).is("loading"))},{default:se(()=>[(N(),ve(vn(p.loadingIcon)))]),_:1},8,["class"]))],64)):p.icon||p.$slots.icon?(N(),ve(C(at),{key:1},{default:se(()=>[p.icon?(N(),ve(vn(p.icon),{key:0})):ke(p.$slots,"icon",{key:1})]),_:3})):Se("v-if",!0),p.$slots.default?(N(),ee("span",{key:2,class:U({[C(s).em("text","expand")]:C(d)})},[ke(p.$slots,"default")],2)):Se("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var rEe=Qe(sEe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const aEe={size:A3.size,type:A3.type},lEe=ge({name:"ElButtonGroup"}),cEe=ge({...lEe,props:aEe,setup(e){const t=e;Ut(_O,Rn({size:rn(t,"size"),type:rn(t,"type")}));const n=Xe("button");return(o,i)=>(N(),ee("div",{class:U(`${C(n).b("group")}`)},[ke(o.$slots,"default")],2))}});var FO=Qe(cEe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const sc=Nn(rEe,{ButtonGroup:FO});Oi(FO);var tg={exports:{}},uEe=tg.exports,VT;function dEe(){return VT||(VT=1,(function(e,t){(function(n,o){e.exports=o()})(uEe,(function(){var n=1e3,o=6e4,i=36e5,s="millisecond",r="second",a="minute",l="hour",c="day",u="week",d="month",h="quarter",p="year",f="date",g="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(F){var _=["th","st","nd","rd"],P=F%100;return"["+F+(_[(P-20)%10]||_[P]||_[0])+"]"}},b=function(F,_,P){var L=String(F);return!L||L.length>=_?F:""+Array(_+1-L.length).join(P)+F},w={s:b,z:function(F){var _=-F.utcOffset(),P=Math.abs(_),L=Math.floor(P/60),x=P%60;return(_<=0?"+":"-")+b(L,2,"0")+":"+b(x,2,"0")},m:function F(_,P){if(_.date()<P.date())return-F(P,_);var L=12*(P.year()-_.year())+(P.month()-_.month()),x=_.clone().add(L,d),I=P-x<0,B=_.clone().add(L+(I?-1:1),d);return+(-(L+(P-x)/(I?x-B:B-x))||0)},a:function(F){return F<0?Math.ceil(F)||0:Math.floor(F)},p:function(F){return{M:d,y:p,w:u,d:c,D:f,h:l,m:a,s:r,ms:s,Q:h}[F]||String(F||"").toLowerCase().replace(/s$/,"")},u:function(F){return F===void 0}},S="en",E={};E[S]=y;var T="$isDayjsObject",R=function(F){return F instanceof V||!(!F||!F[T])},A=function F(_,P,L){var x;if(!_)return S;if(typeof _=="string"){var I=_.toLowerCase();E[I]&&(x=I),P&&(E[I]=P,x=I);var B=_.split("-");if(!x&&B.length>1)return F(B[0])}else{var z=_.name;E[z]=_,x=z}return!L&&x&&(S=x),x||!L&&S},k=function(F,_){if(R(F))return F.clone();var P=typeof _=="object"?_:{};return P.date=F,P.args=arguments,new V(P)},D=w;D.l=A,D.i=R,D.w=function(F,_){return k(F,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var V=(function(){function F(P){this.$L=A(P.locale,null,!0),this.parse(P),this.$x=this.$x||P.x||{},this[T]=!0}var _=F.prototype;return _.parse=function(P){this.$d=(function(L){var x=L.date,I=L.utc;if(x===null)return new Date(NaN);if(D.u(x))return new Date;if(x instanceof Date)return new Date(x);if(typeof x=="string"&&!/Z$/i.test(x)){var B=x.match(m);if(B){var z=B[2]-1||0,H=(B[7]||"0").substring(0,3);return I?new Date(Date.UTC(B[1],z,B[3]||1,B[4]||0,B[5]||0,B[6]||0,H)):new Date(B[1],z,B[3]||1,B[4]||0,B[5]||0,B[6]||0,H)}}return new Date(x)})(P),this.init()},_.init=function(){var P=this.$d;this.$y=P.getFullYear(),this.$M=P.getMonth(),this.$D=P.getDate(),this.$W=P.getDay(),this.$H=P.getHours(),this.$m=P.getMinutes(),this.$s=P.getSeconds(),this.$ms=P.getMilliseconds()},_.$utils=function(){return D},_.isValid=function(){return this.$d.toString()!==g},_.isSame=function(P,L){var x=k(P);return this.startOf(L)<=x&&x<=this.endOf(L)},_.isAfter=function(P,L){return k(P)<this.startOf(L)},_.isBefore=function(P,L){return this.endOf(L)<k(P)},_.$g=function(P,L,x){return D.u(P)?this[L]:this.set(x,P)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(P,L){var x=this,I=!!D.u(L)||L,B=D.p(P),z=function(le,ae){var Re=D.w(x.$u?Date.UTC(x.$y,ae,le):new Date(x.$y,ae,le),x);
vendor: 5,496 bytes, line 1721
1721return I?Re:Re.endOf(c)},H=function(le,ae){return D.w(x.toDate()[le].apply(x.toDate("s"),(I?[0,0,0,0]:[23,59,59,999]).slice(ae)),x)},j=this.$W,Q=this.$M,ce=this.$D,pe="set"+(this.$u?"UTC":"");switch(B){case p:return I?z(1,0):z(31,11);case d:return I?z(1,Q):z(0,Q+1);case u:var te=this.$locale().weekStart||0,ne=(j<te?j+7:j)-te;return z(I?ce-ne:ce+(6-ne),Q);case c:case f:return H(pe+"Hours",0);case l:return H(pe+"Minutes",1);case a:return H(pe+"Seconds",2);case r:return H(pe+"Milliseconds",3);default:return this.clone()}},_.endOf=function(P){return this.startOf(P,!1)},_.$set=function(P,L){var x,I=D.p(P),B="set"+(this.$u?"UTC":""),z=(x={},x[c]=B+"Date",x[f]=B+"Date",x[d]=B+"Month",x[p]=B+"FullYear",x[l]=B+"Hours",x[a]=B+"Minutes",x[r]=B+"Seconds",x[s]=B+"Milliseconds",x)[I],H=I===c?this.$D+(L-this.$W):L;if(I===d||I===p){var j=this.clone().set(f,1);j.$d[z](H),j.init(),this.$d=j.set(f,Math.min(this.$D,j.daysInMonth())).$d}else z&&this.$d[z](H);return this.init(),this},_.set=function(P,L){return this.clone().$set(P,L)},_.get=function(P){return this[D.p(P)]()},_.add=function(P,L){var x,I=this;P=Number(P);var B=D.p(L),z=function(Q){var ce=k(I);return D.w(ce.date(ce.date()+Math.round(Q*P)),I)};if(B===d)return this.set(d,this.$M+P);if(B===p)return this.set(p,this.$y+P);if(B===c)return z(1);if(B===u)return z(7);var H=(x={},x[a]=o,x[l]=i,x[r]=n,x)[B]||1,j=this.$d.getTime()+P*H;return D.w(j,this)},_.subtract=function(P,L){return this.add(-1*P,L)},_.format=function(P){var L=this,x=this.$locale();if(!this.isValid())return x.invalidDate||g;var I=P||"YYYY-MM-DDTHH:mm:ssZ",B=D.z(this),z=this.$H,H=this.$m,j=this.$M,Q=x.weekdays,ce=x.months,pe=x.meridiem,te=function(ae,Re,Oe,W){return ae&&(ae[Re]||ae(L,I))||Oe[Re].slice(0,W)},ne=function(ae){return D.s(z%12||12,ae,"0")},le=pe||function(ae,Re,Oe){var W=ae<12?"AM":"PM";return Oe?W.toLowerCase():W};return I.replace(v,(function(ae,Re){return Re||(function(Oe){switch(Oe){case"YY":return String(L.$y).slice(-2);case"YYYY":return D.s(L.$y,4,"0");case"M":return j+1;case"MM":return D.s(j+1,2,"0");case"MMM":return te(x.monthsShort,j,ce,3);case"MMMM":return te(ce,j);case"D":return L.$D;case"DD":return D.s(L.$D,2,"0");case"d":return String(L.$W);case"dd":return te(x.weekdaysMin,L.$W,Q,2);case"ddd":return te(x.weekdaysShort,L.$W,Q,3);case"dddd":return Q[L.$W];case"H":return String(z);case"HH":return D.s(z,2,"0");case"h":return ne(1);case"hh":return ne(2);case"a":return le(z,H,!0);case"A":return le(z,H,!1);case"m":return String(H);case"mm":return D.s(H,2,"0");case"s":return String(L.$s);case"ss":return D.s(L.$s,2,"0");case"SSS":return D.s(L.$ms,3,"0");case"Z":return B}return null})(ae)||B.replace(":","")}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(P,L,x){var I,B=this,z=D.p(L),H=k(P),j=(H.utcOffset()-this.utcOffset())*o,Q=this-H,ce=function(){return D.m(B,H)};switch(z){case p:I=ce()/12;break;case d:I=ce();break;case h:I=ce()/3;break;case u:I=(Q-j)/6048e5;break;case c:I=(Q-j)/864e5;break;case l:I=Q/i;break;case a:I=Q/o;break;case r:I=Q/n;break;default:I=Q}return x?I:D.a(I)},_.daysInMonth=function(){return this.endOf(d).$D},_.$locale=function(){return E[this.$L]},_.locale=function(P,L){if(!P)return this.$L;var x=this.clone(),I=A(P,L,!0);return I&&(x.$L=I),x},_.clone=function(){return D.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},F})(),O=V.prototype;return k.prototype=O,[["$ms",s],["$s",r],["$m",a],["$H",l],["$W",c],["$M",d],["$y",p],["$D",f]].forEach((function(F){O[F[1]]=function(_){return this.$g(_,F[0],F[1])}})),k.extend=function(F,_){return F.$i||(F(_,V,k),F.$i=!0),k},k.locale=A,k.isDayjs=R,k.unix=function(F){return k(1e3*F)},k.en=E[S],k.Ls=E,k.p={},k}))})(tg)),tg.exports}var hEe=dEe();const ht=Gn(hEe);var ng={exports:{}},pEe=ng.exports,$T;function fEe(){return $T||($T=1,(function(e,t){(function(n,o){e.exports=o()})(pEe,(function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},o=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,s=/\d\d/,r=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,l={},c=function(m){return(m=+m)+(m>68?1900:2e3)},u=function(m){return function(v){this[m]=+v}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(m){(this.zone||(this.zone={})).offset=(function(v){if(!v||v==="Z")return 0;var y=v.match(/([+-]|\d\d)/g),b=60*y[1]+(+y[2]||0);return b===0?0:y[0]==="+"?-b:b})(m)}],h=function(m){var v=l[m];return v&&(v.indexOf?v:v.s.concat(v.f))},p=function(m,v){var y,b=l.meridiem;if(b){for(var w=1;w<=24;w+=1)if(m.indexOf(b(w,0,v))>-1){y=w>12;break}}else y=m===(v?"pm":"PM");return y},f={A:[a,function(m){this.afternoon=p(m,!1)}],a:[a,function(m){this.afternoon=p(m,!0)}],Q:[i,function(m){this.month=3*(m-1)+1}],S:[i,function(m){this.milliseconds=100*+m}],SS:[s,function(m){this.milliseconds=10*+m}],SSS:[/\d{3}/,function(m){this.milliseconds=+m}],s:[r,u("seconds")],ss:[r,u("seconds")],m:[r,u("minutes")],mm:[r,u("minutes")],H:[r,u("hours")],h:[r,u("hours")],HH:[r,u("hours")],hh:[r,u("hours")],D:[r,u("day")],DD:[s,u("day")],Do:[a,function(m){var v=l.ordinal,y=m.match(/\d+/);if(this.day=y[0],v)for(var b=1;b<=31;b+=1)v(b).replace(/\[|\]/g,"")===m&&(this.day=b)}],w:[r,u("week")],ww:[s,u("week")],M:[r,u("month")],MM:[s,u("month")],MM
1721M:[a,function(m){var v=h("months"),y=(h("monthsShort")||v.map((function(b){return b.slice(0,3)}))).indexOf(m)+1;if(y<1)throw new Error;this.month=y%12||y}],MMMM:[a,function(m){var v=h("months").indexOf(m)+1;if(v<1)throw new Error;this.month=v%12||v}],Y:[/[+-]?\d+/,u("year")],YY:[s,function(m){this.year=c(m)}],YYYY:[/\d{4}/,u("year")],Z:d,ZZ:d};function g(m){var v,y;v=m,y=l&&l.formats;for(var b=(m=v.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(k,D,V){var O=V&&V.toUpperCase();return D||y[V]||n[V]||y[O].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(F,_,P){return _||P.slice(1)}))}))).match(o),w=b.length,S=0;S<w;S+=1){var E=b[S],T=f[E],R=T&&T[0],A=T&&T[1];b[S]=A?{regex:R,parser:A}:E.replace(/^\[|\]$/g,"")}return function(k){for(var D={},V=0,O=0;V<w;V+=1){var F=b[V];if(typeof F=="string")O+=F.length;else{var _=F.regex,P=F.parser,L=k.slice(O),x=_.exec(L)[0];P.call(D,x),k=k.replace(x,"")}}return(function(I){var B=I.afternoon;if(B!==void 0){var z=I.hours;B?z<12&&(I.hours+=12):z===12&&(I.hours=0),delete I.afternoon}})(D),D}}return function(m,v,y){y.p.customParseFormat=!0,m&&m.parseTwoDigitYear&&(c=m.parseTwoDigitYear);var b=v.prototype,w=b.parse;b.parse=function(S){var E=S.date,T=S.utc,R=S.args;this.$u=T;var A=R[1];if(typeof A=="string"){var k=R[2]===!0,D=R[3]===!0,V=k||D,O=R[2];D&&(O=R[2]),l=this.$locale(),!k&&O&&(l=y.Ls[O]),this.$d=(function(L,x,I,B){try{if(["x","X"].indexOf(x)>-1)return new Date((x==="X"?1e3:1)*L);var z=g(x)(L),H=z.year,j=z.month,Q=z.day,ce=z.hours,pe=z.minutes,te=z.seconds,ne=z.milliseconds,le=z.zone,ae=z.week,Re=new Date,Oe=Q||(H||j?1:Re.getDate()),W=H||Re.getFullYear(),Z=0;H&&!j||(Z=j>0?j-1:Re.getMonth());var ie,be=ce||0,me=pe||0,$=te||0,G=ne||0;return le?new Date(Date.UTC(W,Z,Oe,be,me,$,G+60*le.offset*1e3)):I?new Date(Date.UTC(W,Z,Oe,be,me,$,G)):(ie=new Date(W,Z,Oe,be,me,$,G),ae&&(ie=B(ie).week(ae).toDate()),ie)}catch{return new Date("")}})(E,A,T,y),this.init(),O&&O!==!0&&(this.$L=this.locale(O).$L),V&&E!=this.format(A)&&(this.$d=new Date("")),l={}}else if(A instanceof Array)for(var F=A.length,_=1;_<=F;_+=1){R[1]=A[_-1];var P=y.apply(this,R);if(P.isValid()){this.$d=P.$d,this.$L=P.$L,this.init();break}_===F&&(this.$d=new Date(""))}else w.call(this,S)}}}))})(ng)),ng.exports}var gEe=fEe();const mEe=Gn(gEe),WT=["hours","minutes","seconds"],GT="HH:mm:ss",Uc="YYYY-MM-DD",vEe={date:Uc,dates:Uc,week:"gggg[w]ww",year:"YYYY",month:"YYYY-MM",datetime:`${Uc} ${GT}`,monthrange:"YYYY-MM",daterange:Uc,datetimerange:`${Uc} ${GT}`},dC=(e,t)=>[e>0?e-1:void 0,e,e<t?e+1:void 0],OO=e=>Array.from(Array.from({length:e}).keys()),NO=e=>e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),BO=e=>e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),zT=function(e,t){const n=Rh(e),o=Rh(t);return n&&o?e.getTime()===t.getTime():!n&&!o?e===t:!1},UT=function(e,t){const n=_e(e),o=_e(t);return n&&o?e.length!==t.length?!1:e.every((i,s)=>zT(i,t[s])):!n&&!o?zT(e,t):!1},jT=function(e,t,n){const o=jF(t)||t==="x"?ht(e).locale(n):ht(e,t).locale(n);return o.isValid()?o:void 0},ZT=function(e,t,n){return jF(t)?e:t==="x"?+e:ht(e).locale(n).format(t)},hC=(e,t)=>{var n;const o=[],i=t?.();for(let s=0;s<e;s++)o.push((n=i?.includes(s))!=null?n:!1);return o},HO=Je({disabledHours:{type:xe(Function)},disabledMinutes:{type:xe(Function)},disabledSeconds:{type:xe(Function)}}),CEe=Je({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),VO=Je({id:{type:xe([Array,String])},name:{type:xe([Array,String]),default:""},popperClass:{type:String,default:""},format:String,valueFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:xe([String,Object]),default:af},editable:{type:Boolean,default:!0},prefixIcon:{type:xe([String,Object]),default:""},size:rs,readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:""},popperOptions:{type:xe(Object),default:()=>({})},modelValue:{type:xe([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:xe([Date,Array])},defaultTime:{type:xe([Date,Array])},isRange:{type:Boolean,default:!1},...HO,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:{type:Boolean,default:!1},label:{type:String,default:void 0},tabindex:{type:xe([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean}),bEe=["id","name","placeholder","value","disabled","readonly"],yEe=["id","name","placeholder","value","disabled","readonly"],wEe=ge({name:"Picker"}),SEe=ge({...wEe,props:VO,emits:["update:modelValue","change","focus","blur","calendar-change","panel-change","visible-change","keydown"],setup(e,{expose:t,emit:n}){const o=e,i=kp(),{lang:s}=oo(),r=Xe("date"),a=Xe("input"),l=Xe("range"),{form:c,formItem:u}=ps(),d=je("ElPopperOptions",{}),h=J(),p=J(),f=J(!1),g=J(!1),m=J(null);let v=!1,y=!1;const b=M(()=>[r.b("editor"),r.bm("editor",o.type),a.e("wrapper"),r.is("disabled",H.value),r.is("active",f.value),l.b("editor"),me?l.bm("editor",me.value):"",i.class]),w=M(()=>[a.e("icon"),l.e("close-icon"),le.value?"":l.e("close-icon--hidden")]);Le(f,Y=>{Y?ot(()=>{Y&&(m.value=o.modelValue)}):(q.value=null,ot(()=>{S(o.modelValue)}))});const S=(Y,Ie)=>{(Ie||!UT(Y,m.value))&&(n("change",Y),o.validateEvent&&u?.validate("change").catch(rt=>void 0))},E=Y=>{if(!UT(o.modelValue,Y)){let Ie;_e(Y)?Ie=Y.map(rt=>ZT(rt,o.valueFormat,s.value)):Y&&(Ie=ZT(Y,o.valueFormat,s.value)),n("update:modelValue",Y&&Ie,s.value)}},T=Y=>{n("keydown",Y)},R=M(()=>
1721{if(p.value){const Y=be.value?p.value:p.value.$el;return Array.from(Y.querySelectorAll("input"))}return[]}),A=(Y,Ie,rt)=>{const Gt=R.value;Gt.length&&(!rt||rt==="min"?(Gt[0].setSelectionRange(Y,Ie),Gt[0].focus()):rt==="max"&&(Gt[1].setSelectionRange(Y,Ie),Gt[1].focus()))},k=()=>{x(!0,!0),ot(()=>{y=!1})},D=(Y="",Ie=!1)=>{Ie||(y=!0),f.value=Ie;let rt;_e(Y)?rt=Y.map(Gt=>Gt.toDate()):rt=Y&&Y.toDate(),q.value=null,E(rt)},V=()=>{g.value=!0},O=()=>{n("visible-change",!0)},F=Y=>{Y?.key===bt.esc&&x(!0,!0)},_=()=>{g.value=!1,f.value=!1,y=!1,n("visible-change",!1)},P=()=>{f.value=!0},L=()=>{f.value=!1},x=(Y=!0,Ie=!1)=>{y=Ie;const[rt,Gt]=C(R);let ue=rt;!Y&&be.value&&(ue=Gt),ue&&ue.focus()},I=Y=>{o.readonly||H.value||f.value||y||(f.value=!0,n("focus",Y))};let B;const z=Y=>{const Ie=async()=>{setTimeout(()=>{var rt;B===Ie&&(!((rt=h.value)!=null&&rt.isFocusInsideContent()&&!v)&&R.value.filter(Gt=>Gt.contains(document.activeElement)).length===0&&(fe(),f.value=!1,n("blur",Y),o.validateEvent&&u?.validate("blur").catch(Gt=>void 0)),v=!1)},0)};B=Ie,Ie()},H=M(()=>o.disabled||c?.disabled),j=M(()=>{let Y;if(Re.value?He.value.getDefaultValue&&(Y=He.value.getDefaultValue()):_e(o.modelValue)?Y=o.modelValue.map(Ie=>jT(Ie,o.valueFormat,s.value)):Y=jT(o.modelValue,o.valueFormat,s.value),He.value.getRangeAvailableTime){const Ie=He.value.getRangeAvailableTime(Y);pp(Ie,Y)||(Y=Ie,E(_e(Y)?Y.map(rt=>rt.toDate()):Y.toDate()))}return _e(Y)&&Y.some(Ie=>!Ie)&&(Y=[]),Y}),Q=M(()=>{if(!He.value.panelReady)return"";const Y=Pe(j.value);return _e(q.value)?[q.value[0]||Y&&Y[0]||"",q.value[1]||Y&&Y[1]||""]:q.value!==null?q.value:!pe.value&&Re.value||!f.value&&Re.value?"":Y?te.value?Y.join(", "):Y:""}),ce=M(()=>o.type.includes("time")),pe=M(()=>o.type.startsWith("time")),te=M(()=>o.type==="dates"),ne=M(()=>o.prefixIcon||(ce.value?Q6e:K6e)),le=J(!1),ae=Y=>{o.readonly||H.value||le.value&&(Y.stopPropagation(),k(),E(null),S(null,!0),le.value=!1,f.value=!1,He.value.handleClear&&He.value.handleClear())},Re=M(()=>{const{modelValue:Y}=o;return!Y||_e(Y)&&!Y.filter(Boolean).length}),Oe=async Y=>{var Ie;o.readonly||H.value||(((Ie=Y.target)==null?void 0:Ie.tagName)!=="INPUT"||R.value.includes(document.activeElement))&&(f.value=!0)},W=()=>{o.readonly||H.value||!Re.value&&o.clearable&&(le.value=!0)},Z=()=>{le.value=!1},ie=Y=>{var Ie;o.readonly||H.value||(((Ie=Y.touches[0].target)==null?void 0:Ie.tagName)!=="INPUT"||R.value.includes(document.activeElement))&&(f.value=!0)},be=M(()=>o.type.includes("range")),me=Ai(),$=M(()=>{var Y,Ie;return(Ie=(Y=C(h))==null?void 0:Y.popperRef)==null?void 0:Ie.contentRef}),G=M(()=>{var Y;return C(be)?C(p):(Y=C(p))==null?void 0:Y.$el});MF(G,Y=>{const Ie=C($),rt=C(G);Ie&&(Y.target===Ie||Y.composedPath().includes(Ie))||Y.target===rt||Y.composedPath().includes(rt)||(f.value=!1)});const q=J(null),fe=()=>{if(q.value){const Y=ye(Q.value);Y&&X(Y)&&(E(_e(Y)?Y.map(Ie=>Ie.toDate()):Y.toDate()),q.value=null)}q.value===""&&(E(null),S(null),q.value=null)},ye=Y=>Y?He.value.parseUserInput(Y):null,Pe=Y=>Y?He.value.formatToString(Y):null,X=Y=>He.value.isValidValue(Y),K=async Y=>{if(o.readonly||H.value)return;const{code:Ie}=Y;if(T(Y),Ie===bt.esc){f.value===!0&&(f.value=!1,Y.preventDefault(),Y.stopPropagation());return}if(Ie===bt.down&&(He.value.handleFocusPicker&&(Y.preventDefault(),Y.stopPropagation()),f.value===!1&&(f.value=!0,await ot()),He.value.handleFocusPicker)){He.value.handleFocusPicker();return}if(Ie===bt.tab){v=!0;return}if(Ie===bt.enter||Ie===bt.numpadEnter){(q.value===null||q.value===""||X(ye(Q.value)))&&(fe(),f.value=!1),Y.stopPropagation();return}if(q.value){Y.stopPropagation();return}He.value.handleKeydownInput&&He.value.handleKeydownInput(Y)},Ee=Y=>{q.value=Y,f.value||(f.value=!0)},Fe=Y=>{const Ie=Y.target;q.value?q.value=[Ie.value,q.value[1]]:q.value=[Ie.value,null]},et=Y=>{const Ie=Y.target;q.value?q.value=[q.value[0],Ie.value]:q.value=[null,Ie.value]},de=()=>{var Y;const Ie=q.value,rt=ye(Ie&&Ie[0]),Gt=C(j);if(rt&&rt.isValid()){q.value=[Pe(rt),((Y=Q.value)==null?void 0:Y[1])||null];const ue=[rt,Gt&&(Gt[1]||null)];X(ue)&&(E(ue),q.value=null)}},Ae=()=>{var Y;const Ie=C(q),rt=ye(Ie&&Ie[1]),Gt=C(j);if(rt&&rt.isValid()){q.value=[((Y=C(Q))==null?void 0:Y[0])||null,Pe(rt)];const ue=[Gt&&Gt[0],rt];X(ue)&&(E(ue),q.value=null)}},He=J({}),It=Y=>{He.value[Y[0]]=Y[1],He.value.panelReady=!0},Ve=Y=>{n("calendar-change",Y)},Ue=(Y,Ie,rt)=>{n("panel-change",Y,Ie,rt)};return Ut("EP_PICKER_BASE",{props:o}),t({focus:x,handleFocusInput:I,handleBlurInput:z,handleOpen:P,handleClose:L,onPick:D}),(Y,Ie)=>(N(),ve(C(s2),Rt({ref_key:"refPopper",ref:h,visible:f.value,effect:"light",pure:"",trigger:"click"},Y.$attrs,{role:"dialog",teleported:"",transition:`${C(r).namespace.value}-zoom-in-top`,"popper-class":[`${C(r).namespace.value}-picker__popper`,Y.popperClass],"popper-options":C(d),"fallback-placements":["bottom","top","right","left"],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:V,onShow:O,onHide:_}),{default:se(()=>[C(be)?(N(),ee("div",{key:1,ref_key:"inputRef",ref:p,class:U(C(b)),style:ft(Y.$attrs.style),onClick:I,onMouseenter:W,onMouseleave:Z,onTouchstart:ie,onKeydown:K},[C(ne)?(N(),ve(C(at),{key:0,class:U([C(a).e("icon"),C(l).e("icon")]),onMousedown:St(Oe,["prevent"]),onTouchstart:ie},{default:se(()=>[(N(),ve(vn(C(ne))))]),_:1},8,["class","onMousedown"])):Se("v-if",!0),re("input",{id:Y.id&&Y.id[0],autocomplete:"off",name:Y.name&&Y.name[0],placeholder:Y.startPlaceholder,value:C(Q)&&C(Q)[0],disabled:C(H),readonly:!Y.editable||Y.readonly,class:U(C(l).b("input")),onMousedown:Oe,onInput:Fe,onCh
1721ange:de,onFocus:I,onBlur:z},null,42,bEe),ke(Y.$slots,"range-separator",{},()=>[re("span",{class:U(C(l).b("separator"))},Be(Y.rangeSeparator),3)]),re("input",{id:Y.id&&Y.id[1],autocomplete:"off",name:Y.name&&Y.name[1],placeholder:Y.endPlaceholder,value:C(Q)&&C(Q)[1],disabled:C(H),readonly:!Y.editable||Y.readonly,class:U(C(l).b("input")),onMousedown:Oe,onFocus:I,onBlur:z,onInput:et,onChange:Ae},null,42,yEe),Y.clearIcon?(N(),ve(C(at),{key:1,class:U(C(w)),onClick:ae},{default:se(()=>[(N(),ve(vn(Y.clearIcon)))]),_:1},8,["class"])):Se("v-if",!0)],38)):(N(),ve(C(Ms),{key:0,id:Y.id,ref_key:"inputRef",ref:p,"container-role":"combobox","model-value":C(Q),name:Y.name,size:C(me),disabled:C(H),placeholder:Y.placeholder,class:U([C(r).b("editor"),C(r).bm("editor",Y.type),Y.$attrs.class]),style:ft(Y.$attrs.style),readonly:!Y.editable||Y.readonly||C(te)||Y.type==="week",label:Y.label,tabindex:Y.tabindex,"validate-event":!1,onInput:Ee,onFocus:I,onBlur:z,onKeydown:K,onChange:fe,onMousedown:Oe,onMouseenter:W,onMouseleave:Z,onTouchstart:ie,onClick:Ie[0]||(Ie[0]=St(()=>{},["stop"]))},{prefix:se(()=>[C(ne)?(N(),ve(C(at),{key:0,class:U(C(a).e("icon")),onMousedown:St(Oe,["prevent"]),onTouchstart:ie},{default:se(()=>[(N(),ve(vn(C(ne))))]),_:1},8,["class","onMousedown"])):Se("v-if",!0)]),suffix:se(()=>[le.value&&Y.clearIcon?(N(),ve(C(at),{key:0,class:U(`${C(a).e("icon")} clear-icon`),onClick:St(ae,["stop"])},{default:se(()=>[(N(),ve(vn(Y.clearIcon)))]),_:1},8,["class","onClick"])):Se("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","label","tabindex","onKeydown"]))]),content:se(()=>[ke(Y.$slots,"default",{visible:f.value,actualVisible:g.value,parsedValue:C(j),format:Y.format,unlinkPanels:Y.unlinkPanels,type:Y.type,defaultValue:Y.defaultValue,onPick:D,onSelectRange:A,onSetPickerOption:It,onCalendarChange:Ve,onPanelChange:Ue,onKeydown:F,onMousedown:Ie[1]||(Ie[1]=St(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-options"]))}});var EEe=Qe(SEe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/common/picker.vue"]]);const TEe=Je({...CEe,datetimeRole:String,parsedValue:{type:xe(Object)}}),REe=({getAvailableHours:e,getAvailableMinutes:t,getAvailableSeconds:n})=>{const o=(r,a,l,c)=>{const u={hour:e,minute:t,second:n};let d=r;return["hour","minute","second"].forEach(h=>{if(u[h]){let p;const f=u[h];switch(h){case"minute":{p=f(d.hour(),a,c);break}case"second":{p=f(d.hour(),d.minute(),a,c);break}default:{p=f(a,c);break}}if(p?.length&&!p.includes(d[h]())){const g=l?0:p.length-1;d=d[h](p[g])}}}),d},i={};return{timePickerOptions:i,getAvailableTime:o,onSetOption:([r,a])=>{i[r]=a}}},pC=e=>{const t=(o,i)=>o||i,n=o=>o!==!0;return e.map(t).filter(n)},$O=(e,t,n)=>({getHoursList:(r,a)=>hC(24,e&&(()=>e?.(r,a))),getMinutesList:(r,a,l)=>hC(60,t&&(()=>t?.(r,a,l))),getSecondsList:(r,a,l,c)=>hC(60,n&&(()=>n?.(r,a,l,c)))}),PEe=(e,t,n)=>{const{getHoursList:o,getMinutesList:i,getSecondsList:s}=$O(e,t,n);return{getAvailableHours:(c,u)=>pC(o(c,u)),getAvailableMinutes:(c,u,d)=>pC(i(c,u,d)),getAvailableSeconds:(c,u,d,h)=>pC(s(c,u,d,h))}},MEe=e=>{const t=J(e.parsedValue);return Le(()=>e.visible,n=>{n||(t.value=e.parsedValue)}),t},da=new Map;let KT;eo&&(document.addEventListener("mousedown",e=>KT=e),document.addEventListener("mouseup",e=>{for(const t of da.values())for(const{documentHandler:n}of t)n(e,KT)}));function qT(e,t){let n=[];return Array.isArray(t.arg)?n=t.arg:fp(t.arg)&&n.push(t.arg),function(o,i){const s=t.instance.popperRef,r=o.target,a=i?.target,l=!t||!t.instance,c=!r||!a,u=e.contains(r)||e.contains(a),d=e===r,h=n.length&&n.some(f=>f?.contains(r))||n.length&&n.includes(a),p=s&&(s.contains(r)||s.contains(a));l||c||u||d||h||p||t.value(o,i)}}const Fm={beforeMount(e,t){da.has(e)||da.set(e,[]),da.get(e).push({documentHandler:qT(e,t),bindingFn:t.value})},updated(e,t){da.has(e)||da.set(e,[]);const n=da.get(e),o=n.findIndex(s=>s.bindingFn===t.oldValue),i={documentHandler:qT(e,t),bindingFn:t.value};o>=0?n.splice(o,1,i):n.push(i)},unmounted(e){da.delete(e)}},LEe=100,xEe=600,Om={beforeMount(e,t){const n=t.value,{interval:o=LEe,delay:i=xEe}=qe(n)?{}:n;let s,r;const a=()=>qe(n)?n():n.handler(),l=()=>{r&&(clearTimeout(r),r=void 0),s&&(clearInterval(s),s=void 0)};e.addEventListener("mousedown",c=>{c.button===0&&(l(),a(),document.addEventListener("mouseup",()=>l(),{once:!0}),r=setTimeout(()=>{s=setInterval(()=>{a()},o)},i))})}},DEe=Je({role:{type:String,required:!0},spinnerDate:{type:xe(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:xe(String),default:""},...HO}),kEe=["onClick"],AEe=["onMouseenter"],_Ee=ge({__name:"basic-time-spinner",props:DEe,emits:["change","select-range","set-option"],setup(e,{emit:t}){const n=e,o=Xe("time"),{getHoursList:i,getMinutesList:s,getSecondsList:r}=$O(n.disabledHours,n.disabledMinutes,n.disabledSeconds);let a=!1;const l=J(),c=J(),u=J(),d=J(),h={hours:c,minutes:u,seconds:d},p=M(()=>n.showSeconds?WT:WT.slice(0,2)),f=M(()=>{const{spinnerDate:I}=n,B=I.hour(),z=I.minute(),H=I.second();return{hours:B,minutes:z,seconds:H}}),g=M(()=>{const{hours:I,minutes:B}=C(f);return{hours:i(n.role),minutes:s(I,n.role),seconds:r(I,B,n.role)}}),m=M(()=>{const{hours:I,minutes:B,seconds:z}=C(f);return{hours:dC(I,23),minutes:dC(B,59),seconds:dC(z,59)}}),v=yr(I=>{a=!1,w(I)},200),y=I=>{if(!!!n.amPmMode)return"";const z=n.amPmMode==="A";let H=I<12?" am":" pm";return z&&(H=H.toUpperCase()),H},b=I=>{let B;switch(I){case"hours":B=[0,2];break;case"minutes":B=[3,5];break;case"seconds":B=[6,8];break}const[z,H]=B;
1721t("select-range",z,H),l.value=I},w=I=>{T(I,C(f)[I])},S=()=>{w("hours"),w("minutes"),w("seconds")},E=I=>I.querySelector(`.${o.namespace.value}-scrollbar__wrap`),T=(I,B)=>{if(n.arrowControl)return;const z=C(h[I]);z&&z.$el&&(E(z.$el).scrollTop=Math.max(0,B*R(I)))},R=I=>{const B=C(h[I]),z=B?.$el.querySelector("li");return z&&Number.parseFloat($6e(z,"height"))||0},A=()=>{D(1)},k=()=>{D(-1)},D=I=>{l.value||b("hours");const B=l.value,z=C(f)[B],H=l.value==="hours"?24:60,j=V(B,z,I,H);O(B,j),T(B,j),ot(()=>b(B))},V=(I,B,z,H)=>{let j=(B+z+H)%H;const Q=C(g)[I];for(;Q[j]&&j!==B;)j=(j+z+H)%H;return j},O=(I,B)=>{if(C(g)[I][B])return;const{hours:j,minutes:Q,seconds:ce}=C(f);let pe;switch(I){case"hours":pe=n.spinnerDate.hour(B).minute(Q).second(ce);break;case"minutes":pe=n.spinnerDate.hour(j).minute(B).second(ce);break;case"seconds":pe=n.spinnerDate.hour(j).minute(Q).second(B);break}t("change",pe)},F=(I,{value:B,disabled:z})=>{z||(O(I,B),b(I),T(I,B))},_=I=>{a=!0,v(I);const B=Math.min(Math.round((E(C(h[I]).$el).scrollTop-(P(I)*.5-10)/R(I)+3)/R(I)),I==="hours"?23:59);O(I,B)},P=I=>C(h[I]).$el.offsetHeight,L=()=>{const I=B=>{const z=C(h[B]);z&&z.$el&&(E(z.$el).onscroll=()=>{_(B)})};I("hours"),I("minutes"),I("seconds")};Dt(()=>{ot(()=>{!n.arrowControl&&L(),S(),n.role==="start"&&b("hours")})});const x=(I,B)=>{h[B].value=I};return t("set-option",[`${n.role}_scrollDown`,D]),t("set-option",[`${n.role}_emitSelectRange`,b]),Le(()=>n.spinnerDate,()=>{a||S()}),(I,B)=>(N(),ee("div",{class:U([C(o).b("spinner"),{"has-seconds":I.showSeconds}])},[I.arrowControl?Se("v-if",!0):(N(!0),ee(Ze,{key:0},Tt(C(p),z=>(N(),ve(C(nw),{key:z,ref_for:!0,ref:H=>x(H,z),class:U(C(o).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":C(o).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:H=>b(z),onMousemove:H=>w(z)},{default:se(()=>[(N(!0),ee(Ze,null,Tt(C(g)[z],(H,j)=>(N(),ee("li",{key:j,class:U([C(o).be("spinner","item"),C(o).is("active",j===C(f)[z]),C(o).is("disabled",H)]),onClick:Q=>F(z,{value:j,disabled:H})},[z==="hours"?(N(),ee(Ze,{key:0},[mt(Be(("0"+(I.amPmMode?j%12||12:j)).slice(-2))+Be(y(j)),1)],64)):(N(),ee(Ze,{key:1}
1721,[mt(Be(("0"+j).slice(-2)),1)],64))],10,kEe))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),I.arrowControl?(N(!0),ee(Ze,{key:1},Tt(C(p),z=>(N(),ee("div",{key:z,class:U([C(o).be("spinner","wrapper"),C(o).is("arrow")]),onMouseenter:H=>b(z)},[Pt((N(),ve(C(at),{class:U(["arrow-up",C(o).be("spinner","arrow")])},{default:se(()=>[oe(C(KF))]),_:1},8,["class"])),[[C(Om),k]]),Pt((N(),ve(C(at),{class:U(["arrow-down",C(o).be("spinner","arrow")])},{default:se(()=>[oe(C(Q0))]),_:1},8,["class"])),[[C(Om),A]]),re("ul",{class:U(C(o).be("spinner","list"))},[(N(!0),ee(Ze,null,Tt(C(m)[z],(H,j)=>(N(),ee("li",{key:j,class:U([C(o).be("spinner","item"),C(o).is("active",H===C(f)[z]),C(o).is("disabled",C(g)[z][H])])},[typeof H=="number"?(N(),ee(Ze,{key:0},[z==="hours"?(N(),ee(Ze,{key:0},[mt(Be(("0"+(I.amPmMode?H%12||12:H)).slice(-2))+Be(y(H)),1)],64)):(N(),ee(Ze,{key:1},[mt(Be(("0"+H).slice(-2)),1)],64))],64)):Se("v-if",!0)],2))),128))],2)],42,AEe))),128)):Se("v-if",!0)],2))}});var IEe=Qe(_Ee,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/basic-time-spinner.vue"]]);const FEe=ge({__name:"panel-time-pick",props:TEe,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,o=je("EP_PICKER_BASE"),{arrowControl:i,disabledHours:s,disabledMinutes:r,disabledSeconds:a,defaultValue:l}=o.props,{getAvailableHours:c,getAvailableMinutes:u,getAvailableSeconds:d}=PEe(s,r,a),h=Xe("time"),{t:p,lang:f}=oo(),g=J([0,2]),m=MEe(n),v=M(()=>Ki(n.actualVisible)?`${h.namespace.value}-zoom-in-top`:""),y=M(()=>n.format.includes("ss")),b=M(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),w=x=>{const I=ht(x).locale(f.value),B=F(I);return I.isSame(B)},S=()=>{t("pick",m.value,!1)},E=(x=!1,I=!1)=>{I||t("pick",n.parsedValue,x)},T=x=>{if(!n.visible)return;const I=F(x).millisecond(0);t("pick",I,!0)},R=(x,I)=>{t("select-range",x,I),g.value=[x,I]},A=x=>{const I=[0,3].concat(y.value?[6]:[]),B=["hours","minutes"].concat(y.value?["seconds"]:[]),H=(I.indexOf(g.value[0])+x+I.length)%I.length;D.start_emitSelectRange(B[H])},k=x=>{const I=x.code,{left:B,right:z,up:H,down:j}=bt;if([B,z].includes(I)){A(I===B?-1:1),x.preventDefault();return}if([H,j].includes(I)){const Q=I===H?-1:1;D.start_scrollDown(Q),x.preventDefault();return}},{timePickerOptions:D,onSetOption:V,getAvailableTime:O}=REe({getAvailableHours:c,getAvailableMinutes:u,getAvailableSeconds:d}),F=x=>O(x,n.datetimeRole||"",!0),_=x=>x?ht(x,n.format).locale(f.value):null,P=x=>x?x.format(n.format):null,L=()=>ht(l).locale(f.value);return t("set-picker-option",["isValidValue",w]),t("set-picker-option",["formatToString",P]),t("set-picker-option",["parseUserInput",_]),t("set-picker-option",["handleKeydownInput",k]),t("set-picker-option",["getRangeAvailableTime",F]),t("set-picker-option",["getDefaultValue",L]),(x,I)=>(N(),ve(Ti,{name:C(v)},{default:se(()=>[x.actualVisible||x.visible?(N(),ee("div",{key:0,class:U(C(h).b("panel"))},[re("div",{class:U([C(h).be("panel","content"),{"has-seconds":C(y)}])},[oe(IEe,{ref:"spinner",role:x.datetimeRole||"start","arrow-control":C(i),"show-seconds":C(y),"am-pm-mode":C(b),"spinner-date":x.parsedValue,"disabled-hours":C(s),"disabled-minutes":C(r),"disabled-seconds":C(a),onChange:T,onSetOption:C(V),onSelectRange:R},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),re("div",{class:U(C(h).be("panel","footer"))},[re("button",{type:"button",class:U([C(h).be("panel","btn"),"cancel"]),onClick:S},Be(C(p)("el.datepicker.cancel")),3),re("button",{type:"button",class:U([C(h).be("panel","btn"),"confirm"]),onClick:I[0]||(I[0]=B=>E())},Be(C(p)("el.datepicker.confirm")),3)],2)],2)):Se("v-if",!0)]),_:1},8,["name"]))}});var I3=Qe(FEe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-pick.vue"]]),og={exports:{}},OEe=og.exports,YT;function NEe(){return YT||(YT=1,(function(e,t){(function(n,o){e.exports=o()})(OEe,(function(){return function(n,o,i){var s=o.prototype,r=function(d){return d&&(d.indexOf?d:d.s)},a=function(d,h,p,f,g){var m=d.name?d:d.$locale(),v=r(m[h]),y=r(m[p]),b=v||y.map((function(S){return S.slice(0,f)}));if(!g)return b;var w=m.weekStart;return b.map((function(S,E){return b[(E+(w||0))%7]}))},l=function(){return i.Ls[i.locale()]},c=function(d,h){return d.formats[h]||(function(p){return p.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(f,g,m){return g||m.slice(1)}))})(d.formats[h.toUpperCase()])},u=function(){var d=this;return{months:function(h){return h?h.format("MMMM"):a(d,"months")},monthsShort:function(h){return h?h.format("MMM"):a(d,"monthsShort","months",3)},firstDayOfWeek:function(){return d.$locale().weekStart||0},weekdays:function(h){return h?h.format("dddd"):a(d,"weekdays")},weekdaysMin:function(h){return h?h.format("dd"):a(d,"weekdaysMin","weekdays",2)},weekdaysShort:function(h){return h?h.format("ddd"):a(d,"weekdaysShort","weekdays",3)},longDateFormat:function(h){return c(d.$locale(),h)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};s.localeData=function(){return u.bind(this)()},i.localeData=function(){var d=l();return{firstDayOfWeek:function(){return d.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(h){return c(d,h)},meridiem:d.meridiem,ordinal:d.ordinal}},i.months=function(){return a(l(),"months")},i.monthsShort=function(){return a(l(),"monthsShort","months",3)},i.weekdays=function(d){return a(l(),"weekdays",null,null,d)},i.weekdaysShort=function(d){return a(l(),"weekdaysShort","weekdays",3,d)},i.weekdaysMin=function(d){return a(l(),"weekdaysMin","weekdays",2,d)}}}))})(og)),og.exports}var BEe=NEe();const HEe=Gn(BEe),WO={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object]},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0}
1721,border:Boolean,size:rs,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},GO={[At]:e=>lt(e)||Bt(e)||es(e),change:e=>lt(e)||Bt(e)||es(e)},wd=Symbol("checkboxGroupContextKey"),VEe=({model:e,isChecked:t})=>{const n=je(wd,void 0),o=M(()=>{var s,r;const a=(s=n?.max)==null?void 0:s.value,l=(r=n?.min)==null?void 0:r.value;return!Ki(a)&&e.value.length>=a&&!t.value||!Ki(l)&&e.value.length<=l&&t.value});return{isDisabled:hs(M(()=>n?.disabled.value||o.value)),isLimitDisabled:o}},$Ee=(e,{model:t,isLimitExceeded:n,hasOwnLabel:o,isDisabled:i,isLabeledByFormItem:s})=>{const r=je(wd,void 0),{formItem:a}=ps(),{emit:l}=vt();function c(f){var g,m;return f===e.trueLabel||f===!0?(g=e.trueLabel)!=null?g:!0:(m=e.falseLabel)!=null?m:!1}function u(f,g){l("change",c(f),g)}function d(f){if(n.value)return;const g=f.target;l("change",c(g.checked),f)}async function h(f){n.value||!o.value&&!i.value&&s.value&&(f.composedPath().some(v=>v.tagName==="LABEL")||(t.value=c([!1,e.falseLabel].includes(t.value)),await ot(),u(t.value,f)))}const p=M(()=>r?.validateEvent||e.validateEvent);return Le(()=>e.modelValue,()=>{p.value&&a?.validate("change").catch(f=>void 0)}),{handleChange:d,onClickRoot:h}},WEe=e=>{const t=J(!1),{emit:n}=vt(),o=je(wd,void 0),i=M(()=>Ki(o)===!1),s=J(!1);return{model:M({get(){var a,l;return i.value?(a=o?.modelValue)==null?void 0:a.value:(l=e.modelValue)!=null?l:t.value},set(a){var l,c;i.value&&_e(a)?(s.value=((l=o?.max)==null?void 0:l.value)!==void 0&&a.length>o?.max.value,s.value===!1&&((c=o?.changeEvent)==null||c.call(o,a))):(n(At,a),t.value=a)}}),isGroup:i,isLimitExceeded:s}},GEe=(e,t,{model:n})=>{const o=je(wd,void 0),i=J(!1),s=M(()=>{const c=n.value;return es(c)?c:_e(c)?Et(e.label)?c.map(Ct).some(u=>pp(u,e.label)):c.map(Ct).includes(e.label):c!=null?c===e.trueLabel:!!c}),r=Ai(M(()=>{var c;return(c=o?.size)==null?void 0:c.value}),{prop:!0}),a=Ai(M(()=>{var c;return(c=o?.size)==null?void 0:c.value})),l=M(()=>!!(t.default||e.label));return{checkboxButtonSize:r,isChecked:s,isFocused:i,checkboxSize:a,hasOwnLabel:l}},zEe=(e,{model:t})=>{function n(){_e(t.value)&&!t.value.includes(e.label)?t.value.push(e.label):t.value=e.trueLabel||!0}e.checked&&n()},zO=(e,t)=>{const{formItem:n}=ps(),{model:o,isGroup:i,isLimitExceeded:s}=WEe(e),{isFocused:r,isChecked:a,checkboxButtonSize:l,checkboxSize:c,hasOwnLabel:u}=GEe(e,t,{model:o}),{isDisabled:d}=VEe({model:o,isChecked:a}),{inputId:h,isLabeledByFormItem:p}=yd(e,{formItemContext:n,disableIdGeneration:u,disableIdManagement:i}),{handleChange:f,onClickRoot:g}=$Ee(e,{model:o,isLimitExceeded:s,hasOwnLabel:u,isDisabled:d,isLabeledByFormItem:p});return zEe(e,{model:o}),{inputId:h,isLabeledByFormItem:p,isChecked:a,isDisabled:d,isFocused:r,checkboxButtonSize:l,checkboxSize:c,hasOwnLabel:u,model:o,handleChange:f,onClickRoot:g}},UEe=["tabindex","role","aria-checked"],jEe=["id","aria-hidden","name","tabindex","disabled","true-value","false-value"],ZEe=["id","aria-hidden","disabled","value","name","tabindex"],KEe=ge({name:"ElCheckbox"}),qEe=ge({...KEe,props:WO,emits:GO,setup(e){const t=e,n=Nr(),{inputId:o,isLabeledByFormItem:i,isChecked:s,isDisabled:r,isFocused:a,checkboxSize:l,hasOwnLabel:c,model:u,handleChange:d,onClickRoot:h}=zO(t,n),p=Xe("checkbox"),f=M(()=>[p.b(),p.m(l.value),p.is("disabled",r.value),p.is("bordered",t.border),p.is("checked",s.value)]),g=M(()=>[p.e("input"),p.is("disabled",r.value),p.is("checked",s.value),p.is("indeterminate",t.indeterminate),p.is("focus",a.value)]);return(m,v)=>(N(),ve(vn(!C(c)&&C(i)?"span":"label"),{class:U(C(f)),"aria-controls":m.indeterminate?m.controls:null,onClick:C(h)},{default:se(()=>[re("span",{class:U(C(g)),tabindex:m.indeterminate?0:void 0,role:m.indeterminate?"checkbox":void 0,"aria-checked":m.indeterminate?"mixed":void 0},[m.trueLabel||m.falseLabel?Pt((N(),ee("input",{key:0,id:C(o),"onUpdate:modelValue":v[0]||(v[0]=y=>_t(u)?u.value=y:null),class:U(C(p).e("original")),type:"checkbox","aria-hidden":m.indeterminate?"true":"false",name:m.name,tabindex:m.tabindex,disabled:C(r),"true-value":m.trueLabel,"false-value":m.falseLabel,onChange:v[1]||(v[1]=(...y)=>C(d)&&C(d)(...y)),onFocus:v[2]||(v[2]=y=>a.value=!0),onBlur:v[3]||(v[3]=y=>a.value=!1)},null,42,jEe)),[[Zl,C(u)]]):Pt((N(),ee("input",{key:1,id:C(o),"onUpdate:modelValue":v[4]||(v[4]=y=>_t(u)?u.value=y:null),class:U(C(p).e("original")),type:"checkbox","aria-hidden":m.indeterminate?"true":"false",disabled:C(r),value:m.label,name:m.name,tabindex:m.tabindex,onChange:v[5]||(v[5]=(...y)=>C(d)&&C(d)(...y)),onFocus:v[6]||(v[6]=y=>
1721a.value=!0),onBlur:v[7]||(v[7]=y=>a.value=!1)},null,42,ZEe)),[[Zl,C(u)]]),re("span",{class:U(C(p).e("inner"))},null,2)],10,UEe),C(c)?(N(),ee("span",{key:0,class:U(C(p).e("label"))},[ke(m.$slots,"default"),m.$slots.default?Se("v-if",!0):(N(),ee(Ze,{key:0},[mt(Be(m.label),1)],64))],2)):Se("v-if",!0)]),_:3},8,["class","aria-controls","onClick"]))}});var YEe=Qe(qEe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const XEe=["name","tabindex","disabled","true-value","false-value"],JEe=["name","tabindex","disabled","value"],QEe=ge({name:"ElCheckboxButton"}),eTe=ge({...QEe,props:WO,emits:GO,setup(e){const t=e,n=Nr(),{isFocused:o,isChecked:i,isDisabled:s,checkboxButtonSize:r,model:a,handleChange:l}=zO(t,n),c=je(wd,void 0),u=Xe("checkbox"),d=M(()=>{var p,f,g,m;const v=(f=(p=c?.fill)==null?void 0:p.value)!=null?f:"";return{backgroundColor:v,borderColor:v,color:(m=(g=c?.textColor)==null?void 0:g.value)!=null?m:"",boxShadow:v?`-1px 0 0 0 ${v}`:void 0}}),h=M(()=>[u.b("button"),u.bm("button",r.value),u.is("disabled",s.value),u.is("checked",i.value),u.is("focus",o.value)]);return(p,f)=>(N(),ee("label",{class:U(C(h))},[p.trueLabel||p.falseLabel?Pt((N(),ee("input",{key:0,"onUpdate:modelValue":f[0]||(f[0]=g=>_t(a)?a.value=g:null),class:U(C(u).be("button","original")),type:"checkbox",name:p.name,tabindex:p.tabindex,disabled:C(s),"true-value":p.trueLabel,"false-value":p.falseLabel,onChange:f[1]||(f[1]=(...g)=>C(l)&&C(l)(...g)),onFocus:f[2]||(f[2]=g=>o.value=!0),onBlur:f[3]||(f[3]=g=>o.value=!1)},null,42,XEe)),[[Zl,C(a)]]):Pt((N(),ee("input",{key:1,"onUpdate:modelValue":f[4]||(f[4]=g=>_t(a)?a.value=g:null),class:U(C(u).be("button","original")),type:"checkbox",name:p.name,tabindex:p.tabindex,disabled:C(s),value:p.label,onChange:f[5]||(f[5]=(...g)=>C(l)&&C(l)(...g)),onFocus:f[6]||(f[6]=g=>o.value=!0),onBlur:f[7]||(f[7]=g=>o.value=!1)},null,42,JEe)),[[Zl,C(a)]]),p.$slots.default||p.label?(N(),ee("span",{key:2,class:U(C(u).be("button","inner")),style:ft(C(i)?C(d):void 0)},[ke(p.$slots,"default",{},()=>[mt(Be(p.label),1)])],6)):Se("v-if",!0)],2))}});var UO=Qe(eTe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);const tTe=Je({modelValue:{type:xe(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:rs,label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0}}),nTe={[At]:e=>_e(e),change:e=>_e(e)},oTe=ge({name:"ElCheckboxGroup"}),iTe=ge({...oTe,props:tTe,emits:nTe,setup(e,{emit:t}){const n=e,o=Xe("checkbox"),{formItem:i}=ps(),{inputId:s,isLabeledByFormItem:r}=yd(n,{formItemContext:i}),a=async c=>{t(At,c),await ot(),t("change",c)},l=M({get(){return n.modelValue},set(c){a(c)}});return Ut(wd,{...O6e(ts(n),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:l,changeEvent:a}),Le(()=>n.modelValue,()=>{n.validateEvent&&i?.validate("change").catch(c=>void 0)}),(c,u)=>{var d;return N(),ve(vn(c.tag),{id:C(s),class:U(C(o).b("group")),role:"group","aria-label":C(r)?void 0:c.label||"checkbox-group","aria-labelledby":C(r)?(d=C(i))==null?void 0:d.labelId:void 0},{default:se(()=>[ke(c.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var jO=Qe(iTe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const sTe=Nn(YEe,{CheckboxButton:UO,CheckboxGroup:jO});Oi(UO);Oi(jO);const ZO=Je({size:rs,disabled:Boolean,label:{type:[String,Number,Boolean],default:""}}),rTe=Je({...ZO,modelValue:{type:[String,Number,Boolean],default:""},name:{type:String,default:""},border:Boolean}),KO={[At]:e=>lt(e)||Bt(e)||es(e),[xi]:e=>lt(e)||Bt(e)||es(e)},qO=Symbol("radioGroupKey"),YO=(e,t)=>{const n=J(),o=je(qO,void 0),i=M(()=>!!o),s=M({get(){return i.value?o.modelValue:e.modelValue},set(u){i.value?o.changeEvent(u):t&&t(At,u),n.value.checked=e.modelValue===e.label}}),r=Ai(M(()=>o?.size)),a=hs(M(()=>o?.disabled)),l=J(!1),c=M(()=>a.value||i.value&&s.value!==e.label?-1:0);return{radioRef:n,isGroup:i,radioGroup:o,focus:l,size:r,disabled:a,tabIndex:c,modelValue:s}},aTe=["value","name","disabled"],lTe=ge({name:"ElRadio"}),cTe=ge({...lTe,props:rTe,emits:KO,setup(e,{emit:t}){const n=e,o=Xe("radio"),{radioRef:i,radioGroup:s,focus:r,size:a,disabled:l,modelValue:c}=YO(n,t);function u(){ot(()=>t("change",c.value))}return(d,h)=>{var p;return N(),ee("label",{class:U([C(o).b(),C(o).is("disabled",C(l)),C(o).is("focus",C(r)),C(o).is("bordered",d.border),C(o).is("checked",C(c)===d.label),C(o).m(C(a))])},[re("span",{class:U([C(o).e("input"),C(o).is("disabled",C(l)),C(o).is("checked",C(c)===d.label)])},[Pt(re("input",{ref_key:"radioRef",ref:i,"onUpdate:modelValue":h[0]||(h[0]=f=>_t(c)?c.value=f:null),class:U(C(o).e("original")),value:d.label,name:d.name||((p=C(s))==null?void 0:p.name),disabled:C(l),type:"radio",onFocus:h[1]||(h[1]=f=>r.value=!0),onBlur:h[2]||(h[2]=f=>r.value=!1),onChange:u}
1721,null,42,aTe),[[Ip,C(c)]]),re("span",{class:U(C(o).e("inner"))},null,2)],2),re("span",{class:U(C(o).e("label")),onKeydown:h[3]||(h[3]=St(()=>{},["stop"]))},[ke(d.$slots,"default",{},()=>[mt(Be(d.label),1)])],34)],2)}}});var uTe=Qe(cTe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);const dTe=Je({...ZO,name:{type:String,default:""}}),hTe=["value","name","disabled"],pTe=ge({name:"ElRadioButton"}),fTe=ge({...pTe,props:dTe,setup(e){const t=e,n=Xe("radio"),{radioRef:o,focus:i,size:s,disabled:r,modelValue:a,radioGroup:l}=YO(t),c=M(()=>({backgroundColor:l?.fill||"",borderColor:l?.fill||"",boxShadow:l?.fill?`-1px 0 0 0 ${l.fill}`:"",color:l?.textColor||""}));return(u,d)=>{var h;return N(),ee("label",{class:U([C(n).b("button"),C(n).is("active",C(a)===u.label),C(n).is("disabled",C(r)),C(n).is("focus",C(i)),C(n).bm("button",C(s))])},[Pt(re("input",{ref_key:"radioRef",ref:o,"onUpdate:modelValue":d[0]||(d[0]=p=>_t(a)?a.value=p:null),class:U(C(n).be("button","original-radio")),value:u.label,type:"radio",name:u.name||((h=C(l))==null?void 0:h.name),disabled:C(r),onFocus:d[1]||(d[1]=p=>i.value=!0),onBlur:d[2]||(d[2]=p=>i.value=!1)},null,42,hTe),[[Ip,C(a)]]),re("span",{class:U(C(n).be("button","inner")),style:ft(C(a)===u.label?C(c):{}),onKeydown:d[3]||(d[3]=St(()=>{},["stop"]))},[ke(u.$slots,"default",{},()=>[mt(Be(u.label),1)])],38)],2)}}});var XO=Qe(fTe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-button.vue"]]);const gTe=Je({id:{type:String,default:void 0},size:rs,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:""},fill:{type:String,default:""},label:{type:String,default:void 0},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0}}),mTe=KO,vTe=["id","aria-label","aria-labelledby"],CTe=ge({name:"ElRadioGroup"}),bTe=ge({...CTe,props:gTe,emits:mTe,setup(e,{emit:t}){const n=e,o=Xe("radio"),i=uf(),s=J(),{formItem:r}=ps(),{inputId:a,isLabeledByFormItem:l}=yd(n,{formItemContext:r}),c=d=>{t(At,d),ot(()=>t("change",d))};Dt(()=>{const d=s.value.querySelectorAll("[type=radio]"),h=d[0];!Array.from(d).some(p=>p.checked)&&h&&(h.tabIndex=0)});const u=M(()=>n.name||i.value);return Ut(qO,Rn({...ts(n),changeEvent:c,name:u})),Le(()=>n.modelValue,()=>{n.validateEvent&&r?.validate("change").catch(d=>void 0)}),(d,h)=>(N(),ee("div",{id:C(a),ref_key:"radioGroupRef",ref:s,class:U(C(o).b("group")),role:"radiogroup","aria-label":C(l)?void 0:d.label||"radio-group","aria-labelledby":C(l)?C(r).labelId:void 0},[ke(d.$slots,"default")],10,vTe))}});var JO=Qe(bTe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue"]]);const yTe=Nn(uTe,{RadioButton:XO,RadioGroup:JO}),QO=Oi(JO),wTe=Oi(XO),eN=Je({type:{type:String,values:["success","info","warning","danger",""],default:""},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:{type:String,default:""},size:{type:String,values:Uy,default:""},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),STe={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},ETe=ge({name:"ElTag"}),TTe=ge({...ETe,props:eN,emits:STe,setup(e,{emit:t}){const n=e,o=Ai(),i=Xe("tag"),s=M(()=>{const{type:l,hit:c,effect:u,closable:d,round:h}=n;return[i.b(),i.is("closable",d),i.m(l),i.m(o.value),i.m(u),i.is("hit",c),i.is("roun
1721d",h)]}),r=l=>{t("close",l)},a=l=>{t("click",l)};return(l,c)=>l.disableTransitions?(N(),ee("span",{key:0,class:U(C(s)),style:ft({backgroundColor:l.color}),onClick:a},[re("span",{class:U(C(i).e("content"))},[ke(l.$slots,"default")],2),l.closable?(N(),ve(C(at),{key:0,class:U(C(i).e("close")),onClick:St(r,["stop"])},{default:se(()=>[oe(C(mp))]),_:1},8,["class","onClick"])):Se("v-if",!0)],6)):(N(),ve(Ti,{key:1,name:`${C(i).namespace.value}-zoom-in-center`,appear:""},{default:se(()=>[re("span",{class:U(C(s)),style:ft({backgroundColor:l.color}),onClick:a},[re("span",{class:U(C(i).e("content"))},[ke(l.$slots,"default")],2),l.closable?(N(),ve(C(at),{key:0,class:U(C(i).e("close")),onClick:St(r,["stop"])},{default:se(()=>[oe(C(mp))]),_:1},8,["class","onClick"])):Se("v-if",!0)],6)]),_:3},8,["name"]))}});var RTe=Qe(TTe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const PTe=Nn(RTe),XT=e=>typeof Bt(e),MTe=Je({accordion:Boolean,modelValue:{type:xe([Array,String,Number]),default:()=>ic([])}}),LTe={[At]:XT,[xi]:XT},tN=Symbol("collapseContextKey"),xTe=(e,t)=>{const n=J(jE(e.modelValue)),o=s=>{n.value=s;const r=e.accordion?n.value[0]:n.value;t(At,r),t(xi,r)},i=s=>{if(e.accordion)o([n.value[0]===s?"":s]);else{const r=[...n.value],a=r.indexOf(s);a>-1?r.splice(a,1):r.push(s),o(r)}};return Le(()=>e.modelValue,()=>n.value=jE(e.modelValue),{deep:!0}),Ut(tN,{activeNames:n,handleItemClick:i}),{activeNames:n,setActiveNames:o}},DTe=()=>{const e=Xe("collapse");return{rootKls:M(()=>e.b())}},kTe=ge({name:"ElCollapse"}),ATe=ge({...kTe,props:MTe,emits:LTe,setup(e,{expose:t,emit:n}){const o=e,{activeNames:i,setActiveNames:s}=xTe(o,n),{rootKls:r}=DTe();return t({activeNames:i,setActiveNames:s}),(a,l)=>(N(),ee("div",{class:U(C(r)),role:"tablist","aria-multiselectable":"true"},[ke(a.$slots,"default")],2))}});var _Te=Qe(ATe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse.vue"]]);const ITe=ge({name:"ElCollapseTransition"}),FTe=ge({...ITe,setup(e){const t=Xe("collapse-transition"),n={beforeEnter(o){o.dataset||(o.dataset={}),o.dataset.oldPaddingTop=o.style.paddingTop,o.dataset.oldPaddingBottom=o.style.paddingBottom,o.style.maxHeight=0,o.style.paddingTop=0,o.style.paddingBottom=0},enter(o){o.dataset.oldOverflow=o.style.overflow,o.scrollHeight!==0?(o.style.maxHeight=`${o.scrollHeight}px`,o.style.paddingTop=o.dataset.oldPaddingTop,o.style.paddingBottom=o.dataset.oldPaddingBottom):(o.style.maxHeight=0,o.style.paddingTop=o.dataset.oldPaddingTop,o.style.paddingBottom=o.dataset.oldPaddingBottom),o.style.overflow="hidden"},afterEnter(o){o.style.maxHeight="",o.style.overflow=o.dataset.oldOverflow},beforeLeave(o){o.dataset||(o.dataset={}),o.dataset.oldPaddingTop=o.style.paddingTop,o.dataset.oldPaddingBottom=o.style.paddingBottom,o.dataset.oldOverflow=o.style.overflow,o.style.maxHeight=`${o.scrollHeight}px`,o.style.overflow="hidden"},leave(o){o.scrollHeight!==0&&(o.style.maxHeight=0,o.style.paddingTop=0,o.style.paddingBottom=0)},afterLeave(o){o.style.maxHeight="",o.style.overflow=o.dataset.oldOverflow,o.style.paddingTop=o.dataset.oldPaddingTop,o.style.paddingBottom=o.dataset.oldPaddingBottom}};return(o,i)=>(N(),ve(Ti,Rt({name:C(t).b()},nM(n)),{default:se(()=>[ke(o.$slots,"default")]),_:3},16,["name"]))}});var ig=Qe(FTe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse-transition/src/collapse-transition.vue"]]);ig.install=e=>{e.component(ig.name,ig)};const OTe=ig,NTe=Je({title:{type:String,default:""},name:{type:xe([String,Number]),default:()=>tO()},disabled:Boolean}),BTe=e=>{const t=je(tN),n=J(!1),o=J(!1),i=J(tO()),s=M(()=>t?.activeNames.value.includes(e.name));return{focusing:n,id:i,isActive:s,handleFocus:()=>{setTimeout(()=>{o.value?o.value=!1:n.value=!0},50)},handleHeaderClick:()=>{e.disabled||(t?.handleItemClick(e.name),n.value=!1,o.value=!0)},handleEnterClick:()=>{t?.handleItemClick(e.name)}}},HTe=(e,{focusing:t,isActive:n,id:o})=>{const i=Xe("collapse"),s=M(()=>[i.b("item"),i.is("active",C(n)),i.is("disabled",e.disabled)]),r=M(()=>[i.be("item","header"),i.is("active",C(n)),{focusing:C(t)&&!e.disabled}]),a=M(()=>[i.be("item","arrow"),i.is("active",C(n))]),l=M(()=>
1721i.be("item","wrap")),c=M(()=>i.be("item","content")),u=M(()=>i.b(`content-${C(o)}`)),d=M(()=>i.b(`head-${C(o)}`));return{arrowKls:a,headKls:r,rootKls:s,itemWrapperKls:l,itemContentKls:c,scopedContentId:u,scopedHeadId:d}},VTe=["aria-expanded","aria-controls","aria-describedby"],$Te=["id","tabindex"],WTe=["id","aria-hidden","aria-labelledby"],GTe=ge({name:"ElCollapseItem"}),zTe=ge({...GTe,props:NTe,setup(e,{expose:t}){const n=e,{focusing:o,id:i,isActive:s,handleFocus:r,handleHeaderClick:a,handleEnterClick:l}=BTe(n),{arrowKls:c,headKls:u,rootKls:d,itemWrapperKls:h,itemContentKls:p,scopedContentId:f,scopedHeadId:g}=HTe(n,{focusing:o,isActive:s,id:i});return t({isActive:s}),(m,v)=>(N(),ee("div",{class:U(C(d))},[re("div",{role:"tab","aria-expanded":C(s),"aria-controls":C(f),"aria-describedby":C(f)},[re("div",{id:C(g),class:U(C(u)),role:"button",tabindex:m.disabled?-1:0,onClick:v[0]||(v[0]=(...y)=>C(a)&&C(a)(...y)),onKeypress:v[1]||(v[1]=Qt(St((...y)=>C(l)&&C(l)(...y),["stop","prevent"]),["space","enter"])),onFocus:v[2]||(v[2]=(...y)=>C(r)&&C(r)(...y)),onBlur:v[3]||(v[3]=y=>o.value=!1)},[ke(m.$slots,"title",{},()=>[mt(Be(m.title),1)]),oe(C(at),{class:U(C(c))},{default:se(()=>[oe(C(bu))]),_:1},8,["class"])],42,$Te)],8,VTe),oe(C(OTe),null,{default:se(()=>[Pt(re("div",{id:C(f),class:U(C(h)),role:"tabpanel","aria-hidden":!C(s),"aria-labelledby":C(g)},[re("div",{class:U(C(p))},[ke(m.$slots,"default")],2)],10,WTe),[[Dn,C(s)]])]),_:3})],2))}});var nN=Qe(zTe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse-item.vue"]]);const UTe=Nn(_Te,{CollapseItem:nN}),jTe=Oi(nN);var sg={exports:{}},ZTe=sg.exports,JT;function KTe(){return JT||(JT=1,(function(e,t){(function(n,o){e.exports=o()})(ZTe,(function(){return function(n,o){var i=o.prototype,s=i.format;i.format=function(r){var a=this,l=this.$locale();if(!this.isValid())return s.bind(this)(r);var c=this.$utils(),u=(r||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(d){switch(d){case"Q":return Math.ceil((a.$M+1)/3);case"Do":return l.ordinal(a.$D);case"gggg":return a.weekYear();case"GGGG":return a.isoWeekYear();case"wo":return l.ordinal(a.week(),"W");case"w":case"ww":return c.s(a.week(),d==="w"?1:2,"0");case"W":case"WW":return c.s(a.isoWeek(),d==="W"?1:2,"0");case"k":case"kk":return c.s(String(a.$H===0?24:a.$H),d==="k"?1:2,"0");case"X":return Math.floor(a.$d.getTime()/1e3);case"x":return a.$d.getTime();case"z":return"["+a.offsetName()+"]";case"zzz":return"["+a.offsetName("long")+"]";default:return d}}));return s.bind(this)(u)}}}))})(sg)),sg.exports}var qTe=KTe();const YTe=Gn(qTe);var rg={exports:{}},XTe=rg.exports,QT;function JTe(){return QT||(QT=1,(function(e,t){(function(n,o){e.exports=o()})(XTe,(function(){var n="week",o="year";return function(i,s,r){var a=s.prototype;a.week=function(l){if(l===void 0&&(l=null),l!==null)return this.add(7*(l-this.week()),"day");var c=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var u=r(this).startOf(o).add(1,o).date(c),d=r(this).endOf(n);if(u.isBefore(d))return 1}var h=r(this).startOf(o).date(c).startOf(n).subtract(1,"millisecond"),p=this.diff(h,n,!0);return p<0?r(this).startOf("week").week():Math.ceil(p)},a.weeks=function(l){return l===void 0&&(l=null),this.week(l)}}}))})(rg)),rg.exports}var QTe=JTe();const eRe=Gn(QTe);var ag={exports:{}},tRe=ag.exports,eR;function nRe(){return eR||(eR=1,(function(e,t){(function(n,o){e.exports=o()})(tRe,(function(){return function(n,o){o.prototype.weekYear=function(){var i=this.month(),s=this.week(),r=this.year();return s===1&&i===11?r+1:i===0&&s>=52?r-1:r}}}))})(ag)),ag.exports}var oRe=nRe();const iRe=Gn(oRe);var lg={exports:{}},sRe=lg.exports,tR;function rRe(){return tR||(tR=1,(function(e,t){(function(n,o){e.exports=o()})(sRe,(function(){return function(n,o,i){o.prototype.dayOfYear=function(s){var r=Math.round((i(this).startOf("day")-i(this).startOf("year"))/864e5)+1;return s==null?r:this.add(s-r,"day")}}}))})(lg)),lg.exports}var aRe=rRe();const lRe=Gn(aRe);var cg={exports:{}},cRe=cg.exports,nR;function uRe(){return nR||(nR=1,(function(e,t){(function(n,o){e.exports=o()})(cRe,(function(){return function(n,o){o.prototype.isSameOrAfter=function(i,s){return this.isSame(i,s)||this.isAfter(i,s)}}}))})(cg)),cg.exports}var dRe=uRe();const hRe=Gn(dRe);var ug={exports:{}},pRe=ug.exports,oR;function fRe(){return oR||(oR=1,(function(e,t){(function(n,o){e.exports=o()})(pRe,(function(){return function(n,o){o.prototype.isSameOrBefore=function(i,s){return this.isSame(i,s)||this.isBefore(i,s)}}}))})(ug)),ug.exports}var gRe=fRe();const mRe=Gn(gRe),aw=Symbol(),vRe=Je({...VO,type:{type:xe(String),default:"date"}}),CRe=["date","dates","year","month","week","range"],lw=Je({disabledDate:{type:xe(Function)},date:{type:xe(Object),required:!0},minDate:{type:xe(Object)},maxDate:{type:xe(Object)},parsedValue:{type:xe([Object,Array])},rangeState:{type:xe(Object),default:()=>({endDate:null,selecting:!1})}}),oN=Je({type:{type:xe(String),required:!0,values:E8e}}),iN=Je({unlinkPanels:Boolean,parsedValue:{type:xe(Array)}}),sN=e=>({type:String,values:CRe,default:e}),bRe=Je({...oN,parsedValue:{type:xe([Object,Array])},visible:{type:Boolean},format:{type:String,default:""}}),yRe=Je({...lw,cellClassName:{type:xe(Function)},showWeekNumber:Boolean,selectionMode:sN("date")}),F3=e=>{if(!_e(e))return!1;const[t,n]=e;return ht.isDayjs(t)&&ht.isDayjs(n)&&t.isSameOrBefore(n)},rN=(e,{lang:t,unit:n,unlinkPanels:o})=>{let i;if(_e(e)){let[s,r]=e.map(a=>ht(a).locale(t));return o||(r=s.add(1,n)),[s,r]}else e?i=ht(e):i=ht();return i=i.locale(t),[i,i.add(1,n)]},wRe=(e,t,{columnIndexOffset:n,startDate:o,nextEndDate:i,now:s,unit:r,relativeDateGetter:a,setCellMetadata:l,setRowMetadata:c})=>{for(let u=0;u<e.row;u++){const d=t[u];for(let h=0;h<e.column;h++){let p=d[h+n];p||(p={row:u,column:h,type:"normal",inRange:!1,start:!1,end:!1});const f=u*e.column+h,g=a(f);p.dayjs=g,p.date=g.toDate(),p.timestamp=g.valueOf(),p.type="normal",p.inRange=!!(o&&g.isSameOrAfter(o,r)&&i&&g.isSameOrBefore(i,r))||!!(o&&g.isSameOrBefore(o,r)&&i&&g.isSameOrAfter(i,r)),o?.isSameOrAfter(i)?(p.start=!!i&&g.isSame(i,r),p.end=o&&g.isSame(o,r)):(p.start=!!o&&g.isSame(o,r),p.end=!!i&&g.isSame(i,r)),g.isSame(s,r)&&(p.type="today"),l?.(p,{rowIndex:u,columnIndex:h}),d[h+n]=p}c?.(d)}},SRe=Je({cell:{type:xe(Object)}});var ERe=ge({name:"ElDatePickerCell",props:SRe,setup(e){const t=Xe("date-table-cell"),{slots:n}=je(aw);return()=>{const{cell:o}=e;if(n.default){const i=n.default(o).filter(s=>s.patchFlag!==-2&&s.type.toString()!=="Symbol(Comment)");if(i.length)return i}return oe("div",{class:t.b()},[oe("span",{class:t.e("text")},[o?.text])])}}});const TRe=["aria-label","onMousedown"],RRe={key:0,scope:"col"},PRe=["aria-label"],MRe=["aria-current","aria-selected","tabindex"],LRe=ge({__name:"basic-date-table",props:yRe,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const o=e,i=Xe("date-table"),{t:s,lang:r}=oo(),a=J(),l=J(),c=J(),u=J(),d=J([[],[],[],[],[],[]]);let h=!1;const p=o.date.$locale().weekStart||7,f=o.date.locale("en").localeData().weekdaysShort().map(H=>H.toLowerCase()),g=M(()=>p>3?7-p:-p),m=M(()=>{const H=o.date.startOf("month");return H.subtract(H.day()||7,"day")}),v=M(()=>f.concat(f).slice(p,p+7)),y=M(()=>HF(R.value).some(H=>H.isCurrent)),b=M(()=>{const H=o.date.startOf("month"),j=H.day()||7,Q=H.daysInMonth(),ce=H.subtract(1,"month").daysInMonth();return{startOfMonthDay:j,dateCountOfMonth:Q,dateCountOfLastMonth:ce}}),w=M(()=>o.selectionMode==="dates"?Gl(o.parsedValue):[]),S=(H,{count:j,rowIndex:Q,columnIndex:ce})=>{const{startOfMonthDay:pe,dateCountOfMonth:te,dateCountOfLastMonth:ne}=C(b),le=C(g);if(Q>=0&&Q<=1){const ae=pe+le<0?7+pe+le:pe+le;if(ce+Q*7>=ae)return H.text=j,!0;H.text=ne-(ae-ce%7)+1+Q*7,H.type="prev-month"}else return j<=te?H.text=j:(H.text=j-te,H.type="next-month"),!0;return!1}
1721,E=(H,{columnIndex:j,rowIndex:Q},ce)=>{const{disabledDate:pe,cellClassName:te}=o,ne=C(w),le=S(H,{count:ce,rowIndex:Q,columnIndex:j}),ae=H.dayjs.toDate();return H.selected=ne.find(Re=>Re.valueOf()===H.dayjs.valueOf()),H.isSelected=!!H.selected,H.isCurrent=D(H),H.disabled=pe?.(ae),H.customClass=te?.(ae),le},T=H=>{if(o.selectionMode==="week"){const[j,Q]=o.showWeekNumber?[1,7]:[0,6],ce=z(H[j+1]);H[j].inRange=ce,H[j].start=ce,H[Q].inRange=ce,H[Q].end=ce}},R=M(()=>{const{minDate:H,maxDate:j,rangeState:Q,showWeekNumber:ce}=o,pe=g.value,te=d.value,ne="day";let le=1;if(ce)for(let ae=0;ae<6;ae++)te[ae][0]||(te[ae][0]={type:"week",text:m.value.add(ae*7+1,ne).week()});return wRe({row:6,column:7},te,{startDate:H,columnIndexOffset:ce?1:0,nextEndDate:Q.endDate||j||Q.selecting&&H||null,now:ht().locale(C(r)).startOf(ne),unit:ne,relativeDateGetter:ae=>m.value.add(ae-pe,ne),setCellMetadata:(...ae)=>{E(...ae,le)&&(le+=1)},setRowMetadata:T}),te});Le(()=>o.date,async()=>{var H,j;(H=a.value)!=null&&H.contains(document.activeElement)&&(await ot(),(j=l.value)==null||j.focus())});const A=async()=>{var H;(H=l.value)==null||H.focus()},k=(H="")=>["normal","today"].includes(H),D=H=>o.selectionMode==="date"&&k(H.type)&&V(H,o.parsedValue),V=(H,j)=>j?ht(j).locale(r.value).isSame(o.date.date(Number(H.text)),"day"):!1,O=H=>{const j=[];return k(H.type)&&!H.disabled?(j.push("available"),H.type==="today"&&j.push("today")):j.push(H.type),D(H)&&j.push("current"),H.inRange&&(k(H.type)||o.selectionMode==="week")&&(j.push("in-range"),H.start&&j.push("start-date"),H.end&&j.push("end-date")),H.disabled&&j.push("disabled"),H.selected&&j.push("selected"),H.customClass&&j.push(H.customClass),j.join(" ")},F=(H,j)=>{const Q=H*7+(j-(o.showWeekNumber?1:0))-g.value;return m.value.add(Q,"day")},_=H=>{var j;if(!o.rangeState.selecting)return;let Q=H.target;if(Q.tagName==="SPAN"&&(Q=(j=Q.parentNode)==null?void 0:j.parentNode),Q.tagName==="DIV"&&(Q=Q.parentNode),Q.tagName!=="TD")return;const ce=Q.parentNode.rowIndex-1,pe=Q.cellIndex;R.value[ce][pe].disabled||(ce!==c.value||pe!==u.value)&&(c.value=ce,u.value=pe,n("changerange",{selecting:!0,endDate:F(ce,pe)}))},P=H=>!y.value&&H?.text===1&&H.type==="normal"||H.isCurrent,L=H=>{h||y.value||o.selectionMode!=="date"||B(H,!0)},x=H=>{H.target.closest("td")&&(h=!0)},I=H=>{H.target.closest("td")&&(h=!1)},B=(H,j=!1)=>{const Q=H.target.closest("td");if(!Q)return;const ce=Q.parentNode.rowIndex-1,pe=Q.cellIndex,te=R.value[ce][pe];if(te.disabled||te.type==="week")return;const ne=F(ce,pe);if(o.selectionMode==="range")!o.rangeState.selecting||!o.minDate?(n("pick",{minDate:ne,maxDate:null}),n("select",!0)):(ne>=o.minDate?n("pick",{minDate:o.minDate,maxDate:ne}):n("pick",{minDate:ne,maxDate:o.minDate}),n("select",!1));else if(o.selectionMode==="date")n("pick",ne,j);else if(o.selectionMode==="week"){const le=ne.week(),ae=`${ne.year()}w${le}`;n("pick",{year:ne.year(),week:le,value:ae,date:ne.startOf("week")})}else if(o.selectionMode==="dates"){const le=te.selected?Gl(o.parsedValue).filter(ae=>ae?.valueOf()!==ne.valueOf()):Gl(o.parsedValue).concat([ne]);n("pick",le)}},z=H=>{if(o.selectionMode!=="week")return!1;let j=o.date.startOf("day");if(H.type==="prev-month"&&(j=j.subtract(1,"month")),H.type==="next-month"&&(j=j.add(1,"month")),j=j.date(Number.parseInt(H.text,10)),o.parsedValue&&!Array.isArray(o.parsedValue)){const Q=(o.parsedValue.day()-p+7)%7-1;return o.parsedValue.subtract(Q,"day").isSame(j,"day")}return!1};return t({focus:A}),(H,j)=>(N(),ee("table",{role:"grid","aria-label":C(s)("el.datepicker.dateTablePrompt"),cellspacing:"0",cellpadding:"0",class:U([C(i).b(),{"is-week-mode":H.selectionMode==="week"}]),onClick:B,onMousemove:_,onMousedown:St(x,["prevent"]),onMouseup:I},[re("tbody",{ref_key:"tbodyRef",ref:a},[re("tr",null,[H.showWeekNumber?(N(),ee("th",RRe,Be(C(s)("el.datepicker.week")),1)):Se("v-if",!0),(N(!0),ee(Ze,null,Tt(C(v),(Q,ce)=>(N(),ee("th",{key:ce,scope:"col","aria-label":C(s)("el.datepicker.weeksFull."+Q)},Be(C(s)("el.datepicker.weeks."+Q)),9,PRe))),128))]),(N(!0),ee(Ze,null,Tt(C(R),(Q,ce)=>(N(),ee("tr",{key:ce,class:U([C(i).e("row"),{current:z(Q[1])}])},[(N(!0),ee(Ze,null,Tt(Q,(pe,te)=>(N(),ee("td",{key:`${ce}.${te}`,ref_for:!0,ref:ne=>P(pe)&&(l.value=ne),class:U(O(pe)),"aria-current":pe.isCurrent?"date":void 0,"aria-selected":pe.isCurrent,tabindex:P(pe)?0:-1,onFocus:L},[oe(C(ERe),{cell:pe},null,8,["cell"])],42,MRe))),128))],2))),128))],512)],42,TRe))}});var O3=Qe(LRe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-date-table.vue"]]);const xRe=Je({...lw,selectionMode:sN("month")}),DRe=["aria-label"],kRe=["aria-selected","aria-label","tabindex","onKeydown"],ARe={class:"cell"},_Re=ge({__name:"basic-month-table",props:xRe,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const o=e,i=(w,S,E)=>{const T=ht().locale(E).startOf("month").month(S).year(w),R=T.daysInMonth();return OO(R).map(A=>T.add(A,"day").toDate())},s=Xe("month-table"),{t:r,lang:a}=oo(),l=J(),c=J(),u=J(o.date.locale("en").localeData().monthsShort().map(w=>w.toLowerCase())),d=J([[],[],[]]),h=J(),p=J(),f=M(()=>{var w,S;const E=d.value,T=ht().locale(a.value).startOf("month");for(let R=0;R<3;R++){const A=E[R];for(let k=0;k<4;k++){const D=A[k]||(A[k]={row:R,column:k,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});D.type="normal";const V=R*4+k,O=o.date.startOf("year").month(V),F=o.rangeState.endDate||o.maxDate||o.rangeState.selecting&&o.minDate||null;D.inRange=!!(o.minDate&&O.isSameOrAfter(o.minDate,"month")&&F&&O.isSameOrBefore(F,"month"))||!!(o.minDate&&O.isSameOrBefore(o.minDate,"month")&&F&&O.isSameOrAfter(F,"month")),(w=o.minDate)!=null&&w.isSameOrAfter(F)?(D.start=!!(F&&O.isSame(F,"month")),D.end=o.minDate&&O.isSame(o.minDate,"month")):(D.start=!!(o.minDate&&O.isSame(o.minDate,"month")),D.end=!!(F&&O.isSame(F,"month"))),T.isSame(O)&&(D.type="today"),D.text=V,D.disabled=((S=o.disabledDate)==null?void 0:S.call(o,O.toDate()))||!1}}return E}),g=()=>{var w;(w=c.value)==null||w.focus()},m=w=>{const S={},E=o.date.year(),T=new Date,R=w.text;return S.disabled=o.disabledDate?i(E,R,a.value).every(o.disabledDate):!1,S.current=Gl(o.parsedValue).findIndex(A=>ht.isDayjs(A)&&A.year()===E&&A.month()===R)>=0,S.today=T.getFullYear()===E&&T.getMonth()===R,w.inRange&&(S["in-range"]=!0,w.start&&(S["start-date"]=!0),w.end&&(S["end-date"]=!0)),S},v=w=>{const S=o.date.year(),E=w.text;
1721return Gl(o.date).findIndex(T=>T.year()===S&&T.month()===E)>=0},y=w=>{var S;if(!o.rangeState.selecting)return;let E=w.target;if(E.tagName==="A"&&(E=(S=E.parentNode)==null?void 0:S.parentNode),E.tagName==="DIV"&&(E=E.parentNode),E.tagName!=="TD")return;const T=E.parentNode.rowIndex,R=E.cellIndex;f.value[T][R].disabled||(T!==h.value||R!==p.value)&&(h.value=T,p.value=R,n("changerange",{selecting:!0,endDate:o.date.startOf("year").month(T*4+R)}))},b=w=>{var S;const E=(S=w.target)==null?void 0:S.closest("td");if(E?.tagName!=="TD"||ZF(E,"disabled"))return;const T=E.cellIndex,A=E.parentNode.rowIndex*4+T,k=o.date.startOf("year").month(A);o.selectionMode==="range"?o.rangeState.selecting?(o.minDate&&k>=o.minDate?n("pick",{minDate:o.minDate,maxDate:k}):n("pick",{minDate:k,maxDate:o.minDate}),n("select",!1)):(n("pick",{minDate:k,maxDate:null}),n("select",!0)):n("pick",A)};return Le(()=>o.date,async()=>{var w,S;(w=l.value)!=null&&w.contains(document.activeElement)&&(await ot(),(S=c.value)==null||S.focus())}),t({focus:g}),(w,S)=>(N(),ee("table",{role:"grid","aria-label":C(r)("el.datepicker.monthTablePrompt"),class:U(C(s).b()),onClick:b,onMousemove:y},[re("tbody",{ref_key:"tbodyRef",ref:l},[(N(!0),ee(Ze,null,Tt(C(f),(E,T)=>(N(),ee("tr",{key:T},[(N(!0),ee(Ze,null,Tt(E,(R,A)=>(N(),ee("td",{key:A,ref_for:!0,ref:k=>v(R)&&(c.value=k),class:U(m(R)),"aria-selected":`${v(R)}`,"aria-label":C(r)(`el.datepicker.month${+R.text+1}`),tabindex:v(R)?0:-1,onKeydown:[Qt(St(b,["prevent","stop"]),["space"]),Qt(St(b,["prevent","stop"]),["enter"])]},[re("div",null,[re("span",ARe,Be(C(r)("el.datepicker.months."+u.value[R.text])),1)])],42,kRe))),128))]))),128))],512)],42,DRe))}});var N3=Qe(_Re,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-month-table.vue"]]);const{date:IRe,disabledDate:FRe,parsedValue:ORe}=lw,NRe=Je({date:IRe,disabledDate:FRe,parsedValue:ORe}),BRe=["aria-label"],HRe=["aria-selected","tabindex","onKeydown"],VRe={class:"cell"},$Re={key:1},WRe=ge({__name:"basic-year-table",props:NRe,emits:["pick"],setup(e,{expose:t,emit:n}){const o=e,i=(g,m)=>{const v=ht(String(g)).locale(m).startOf("year"),b=v.endOf("year").dayOfYear();return OO(b).map(w=>v.add(w,"day").toDate())},s=Xe("year-table"),{t:r,lang:a}=oo(),l=J(),c=J(),u=M(()=>Math.floor(o.date.year()/10)*10),d=()=>{var g;(g=c.value)==null||g.focus()},h=g=>{const m={},v=ht().locale(a.value);return m.disabled=o.disabledDate?i(g,a.value).every(o.disabledDate):!1,m.current=Gl(o.parsedValue).findIndex(y=>y.year()===g)>=0,m.today=v.year()===g,m},p=g=>g===u.value&&o.date.year()<u.value&&o.date.year()>u.value+9||Gl(o.date).findIndex(m=>m.year()===g)>=0,f=g=>{const v=g.target.closest("td");if(v&&v.textContent){if(ZF(v,"disabled"))return;const y=v.textContent||v.innerText;n("pick",Number(y))}};return Le(()=>o.date,async()=>{var g,m;(g=l.value)!=null&&g.contains(document.activeElement)&&(await ot(),(m=c.value)==null||m.focus())}),t({focus:d}),(g,m)=>(N(),ee("table",{role:"grid","aria-label":C(r)("el.datepicker.yearTablePrompt"),class:U(C(s).b()),onClick:f},[re("tbody",{ref_key:"tbodyRef",ref:l},[(N(),ee(Ze,null,Tt(3,(v,y)=>re("tr",{key:y},[(N(),ee(Ze,null,Tt(4,(b,w)=>(N(),ee(Ze,{key:y+"_"+w},[y*4+w<10?(N(),ee("td",{key:0,ref_for:!0,ref:S=>p(C(u)+y*4+w)&&(c.value=S),class:U(["available",h(C(u)+y*4+w)]),"aria-selected":`${p(C(u)+y*4+w)}`,tabindex:p(C(u)+y*4+w)?0:-1,onKeydown:[Qt(St(f,["prevent","stop"]),["space"]),Qt(St(f,["prevent","stop"]),["enter"])]},[re("span",VRe,Be(C(u)+y*4+w),1)],42,HRe)):(N(),ee("td",$Re))],64))),64))])),64))],512)],10,BRe))}});var GRe=Qe(WRe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/basic-year-table.vue"]]);const zRe=["onClick"],URe=["aria-label"],jRe=["aria-label"],ZRe=["aria-label"],KRe=["aria-label"],qRe=ge({__name:"panel-date-pick",props:bRe,emits:["pick","set-picker-option","panel-change"],setup(e,{emit:t}){const n=e,o=(de,Ae,He)=>!0,i=Xe("picker-panel"),s=Xe("date-picker"),r=kp(),a=Nr(),{t:l,lang:c}=oo(),u=je("EP_PICKER_BASE"),d=je(i2),{shortcuts:h,disabledDate:p,cellClassName:f,defaultTime:g,arrowControl:m}=u.props,v=rn(u.props,"defaultValue"),y=J(),b=J(ht().locale(c.value)),w=J(!1),S=M(()=>ht(g).locale(c.value)),E=M(()=>b.value.month()),T=M(()=>b.value.year()),R=J([]),A=J(null),k=J(null),D=de=>R.value.length>
17210?o(de,R.value,n.format||"HH:mm:ss"):!0,V=de=>g&&!Oe.value&&!w.value?S.value.year(de.year()).month(de.month()).date(de.date()):pe.value?de.millisecond(0):de.startOf("day"),O=(de,...Ae)=>{if(!de)t("pick",de,...Ae);else if(_e(de)){const He=de.map(V);t("pick",He,...Ae)}else t("pick",V(de),...Ae);A.value=null,k.value=null,w.value=!1},F=(de,Ae)=>{if(B.value==="date"){de=de;let He=n.parsedValue?n.parsedValue.year(de.year()).month(de.month()).date(de.date()):de;D(He),b.value=He,O(He,pe.value||Ae)}else B.value==="week"?O(de.date):B.value==="dates"&&O(de,!0)},_=de=>{const Ae=de?"add":"subtract";b.value=b.value[Ae](1,"month"),et("month")},P=de=>{const Ae=b.value,He=de?"add":"subtract";b.value=L.value==="year"?Ae[He](10,"year"):Ae[He](1,"year"),et("year")},L=J("date"),x=M(()=>{const de=l("el.datepicker.year");if(L.value==="year"){const Ae=Math.floor(T.value/10)*10;return de?`${Ae} ${de} - ${Ae+9} ${de}`:`${Ae} - ${Ae+9}`}return`${T.value} ${de}`}),I=de=>{const Ae=qe(de.value)?de.value():de.value;if(Ae){O(ht(Ae).locale(c.value));return}de.onClick&&de.onClick({attrs:r,slots:a,emit:t})},B=M(()=>{const{type:de}=n;return["week","month","year","dates"].includes(de)?de:"date"}),z=M(()=>B.value==="date"?L.value:B.value),H=M(()=>!!h.length),j=async de=>{b.value=b.value.startOf("month").month(de),B.value==="month"?O(b.value,!1):(L.value="date",["month","year","date","week"].includes(B.value)&&(O(b.value,!0),await ot(),K())),et("month")},Q=async de=>{B.value==="year"?(b.value=b.value.startOf("year").year(de),O(b.value,!1)):(b.value=b.value.year(de),L.value="month",["month","year","date","week"].includes(B.value)&&(O(b.value,!0),await ot(),K())),et("year")},ce=async de=>{L.value=de,await ot(),K()},pe=M(()=>n.type==="datetime"||n.type==="datetimerange"),te=M(()=>pe.value||B.value==="dates"),ne=()=>{if(B.value==="dates")O(n.parsedValue);else{let de=n.parsedValue;if(!de){const Ae=ht(g).locale(c.value),He=X();de=Ae.year(He.year()).month(He.month()).date(He.date())}b.value=de,O(de)}},le=()=>{const Ae=ht().locale(c.value).toDate();w.value=!0,(!p||!p(Ae))&&D(Ae)&&(b.value=ht().locale(c.value),O(b.value))},ae=M(()=>BO(n.format)),Re=M(()=>NO(n.format)),Oe=M(()=>{if(k.value)return k.value;if(!(!n.parsedValue&&!v.value))return(n.parsedValue||b.value).format(ae.value)}),W=M(()=>{if(A.value)return A.value;if(!(!n.parsedValue&&!v.value))return(n.parsedValue||b.value).format(Re.value)}),Z=J(!1),ie=()=>{Z.value=!0},be=()=>{Z.value=!1},me=de=>({hour:de.hour(),minute:de.minute(),second:de.second(),year:de.year(),month:de.month(),date:de.date()}),$=(de,Ae,He)=>{const{hour:It,minute:Ve,second:Ue}=me(de),Y=n.parsedValue?n.parsedValue.hour(It).minute(Ve).second(Ue):de;b.value=Y,O(b.value,!0),He||(Z.value=Ae)},G=de=>{const Ae=ht(de,ae.value).locale(c.value);if(Ae.isValid()&&D(Ae)){const{year:He,month:It,date:Ve}=me(b.value);b.value=Ae.year(He).month(It).date(Ve),k.value=null,Z.value=!1,O(b.value,!0)}},q=de=>{const Ae=ht(de,Re.value).locale(c.value);if(Ae.isValid()){if(p&&p(Ae.toDate()))return;const{hour:He,minute:It,second:Ve}=me(b.value);b.value=Ae.hour(He).minute(It).second(Ve),A.value=null,O(b.value,!0)}},fe=de=>ht.isDayjs(de)&&de.isValid()&&(p?!p(de.toDate()):!0),ye=de=>B.value==="dates"?de.map(Ae=>Ae.format(n.format)):de.format(n.format),Pe=de=>ht(de,n.format).locale(c.value),X=()=>{const de=ht(v.value).locale(c.value);if(!v.value){const Ae=S.value;return ht().hour(Ae.hour()).minute(Ae.minute()).second(Ae.second()).locale(c.value)}return de},K=async()=>{var de;["week","month","year","date"].includes(B.value)&&((de=y.value)==null||de.focus(),B.value==="week"&&Fe(bt.down))},Ee=de=>{const{code:Ae}=de;[bt.up,bt.down,bt.left,bt.right,bt.home,bt.end,bt.pageUp,bt.pageDown].includes(Ae)&&(Fe(Ae),de.stopPropagation(),de.preventDefault()),[bt.enter,bt.space,bt.numpadEnter].includes(Ae)&&A.value===null&&k.value===null&&(de.preventDefault(),O(b.value,!1))},Fe=de=>{var Ae;const{up:He,down:It,left:Ve,right:Ue,home:Y,end:Ie,pageUp:rt,pageDown:Gt}=bt,ue={year:{[He]:-4,[It]:4,[Ve]:-1,[Ue]:1,offset:(Ne,ut)=>Ne.setFullYear(Ne.getFullYear()+ut)},month:{[He]:-4,[It]:4,[Ve]:-1,[Ue]:1,offset:(Ne,ut)=>Ne.setMonth(Ne.getMonth()+ut)},week:{[He]:-1,[It]:1,[Ve]:-1,[Ue]:1,offset:(Ne,ut)=>Ne.setDate(Ne.getDate()+ut*7)},date:{[He]:-7,[It]:7,[Ve]:-1,[Ue]:1,[Y]:Ne=>-Ne.getDay(),[Ie]:Ne=>-Ne.getDay()+6,[rt]:Ne=>-new Date(Ne.getFullYear(),Ne.getMonth(),0).getDate(),[Gt]:Ne=>new Date(Ne.getFullYear(),Ne.getMonth()+1,0).getDate(),offset:(Ne,ut)=>Ne.setDate(Ne.getDate()+ut)}},Te=b.value.toDate();for(;Math.abs(b.value.diff(Te,"year",!0))<1;){const Ne=ue[z.value];if(!Ne)return;if(Ne.offset(Te,qe(Ne[de])?Ne[de](Te):(Ae=Ne[de])!=null?Ae:0),p&&p(Te))break;const ut=ht(Te).locale(c.value);b.value=ut,t("pick",ut,!0);break}},et=de=>{t("panel-change",b.value.toDate(),de,L.value)};return Le(()=>B.value,de=>{if(["month","year"].includes(de)){L.value=de;return}L.value="date"},{immediate:!0}),Le(()=>L.value,()=>{d?.updatePopper()}),Le(()=>v.value,de=>{de&&(b.value=X())},{immediate:!0}),Le(()=>n.parsedValue,de=>{if(de){if(B.value==="dates"||Array.isArray(de))return;b.value=de}else b.value=X()},{immediate:!0}),t("set-picker-option",["isValidValue",fe]),t("set-picker-option",["formatToString",ye]),t("set-picker-option",["parseUserInput",Pe]),t("set-picker-option",["handleFocusPicker",K]),(de,Ae)=>(N(),ee("div",{class:U([C(i).b(),C(s).b(),{"has-sidebar":de.$slots.sidebar||C(H),"has-time":C(pe)}])},[re("div",{class:U(C(i).e("body-wrapper"))},[ke(de.$slots,"sidebar",{class:U(C(i).e("sidebar"))}),C(H)?(N(),ee("div",{key:0,class:U(C(i).e("sidebar"))},[(N(!0),ee(Ze,null,Tt(C(h),(He,It)=>(N(),ee("button",{key:It,type:"button",class:U(C(i).e("shortcut")),onClick:Ve=>I(He)},Be(He.text),11,zRe))),128))],2)):Se("v-if",!0),re("div",{class:U(C(i).e("body"))},[C(pe)?(N(),ee("div",{key:0,class:U(C(s).e("time-header"))},[re("span",{class:U(C(s).e("editor-wrap"))},[oe(C(Ms),{placeholder:C(l)("el.datepicker.selectDate"),"model-value":C(W),size:"small","validate-event":!1,onInput:Ae[0]||(Ae[0]=He=>A.value=He),onChange:q},null,8,["placeholder","model-value"])],2),Pt((N(),ee("span",{class:U(C(s).e("editor-wrap"))},[oe(C(Ms),{placeholder:C(l)("el.datepicker.selectTime"),"model-value":C(Oe),size:"small","validate-event":!1,onFocus:ie,onInput:Ae[1]||(Ae[1]=He=>k.value=He),onChange:G},null,8,["placeholder","model-value"]),oe(C(I3),{visible:Z.value,format:C(ae),"time-arrow-control":C(m),"parsed-value":b.value,onPick:$}
1721,null,8,["visible","format","time-arrow-control","parsed-value"])],2)),[[C(Fm),be]])],2)):Se("v-if",!0),Pt(re("div",{class:U([C(s).e("header"),(L.value==="year"||L.value==="month")&&C(s).e("header--bordered")])},[re("span",{class:U(C(s).e("prev-btn"))},[re("button",{type:"button","aria-label":C(l)("el.datepicker.prevYear"),class:U(["d-arrow-left",C(i).e("icon-btn")]),onClick:Ae[2]||(Ae[2]=He=>P(!1))},[oe(C(at),null,{default:se(()=>[oe(C(vp))]),_:1})],10,URe),Pt(re("button",{type:"button","aria-label":C(l)("el.datepicker.prevMonth"),class:U([C(i).e("icon-btn"),"arrow-left"]),onClick:Ae[3]||(Ae[3]=He=>_(!1))},[oe(C(at),null,{default:se(()=>[oe(C(km))]),_:1})],10,jRe),[[Dn,L.value==="date"]])],2),re("span",{role:"button",class:U(C(s).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:Ae[4]||(Ae[4]=Qt(He=>ce("year"),["enter"])),onClick:Ae[5]||(Ae[5]=He=>ce("year"))},Be(C(x)),35),Pt(re("span",{role:"button","aria-live":"polite",tabindex:"0",class:U([C(s).e("header-label"),{active:L.value==="month"}]),onKeydown:Ae[6]||(Ae[6]=Qt(He=>ce("month"),["enter"])),onClick:Ae[7]||(Ae[7]=He=>ce("month"))},Be(C(l)(`el.datepicker.month${C(E)+1}`)),35),[[Dn,L.value==="date"]]),re("span",{class:U(C(s).e("next-btn"))},[Pt(re("button",{type:"button","aria-label":C(l)("el.datepicker.nextMonth"),class:U([C(i).e("icon-btn"),"arrow-right"]),onClick:Ae[8]||(Ae[8]=He=>_(!0))},[oe(C(at),null,{default:se(()=>[oe(C(bu))]),_:1})],10,ZRe),[[Dn,L.value==="date"]]),re("button",{type:"button","aria-label":C(l)("el.datepicker.nextYear"),class:U([C(i).e("icon-btn"),"d-arrow-right"]),onClick:Ae[9]||(Ae[9]=He=>P(!0))},[oe(C(at),null,{default:se(()=>[oe(C(Cp))]),_:1})],10,KRe)],2)],2),[[Dn,L.value!=="time"]]),re("div",{class:U(C(i).e("content")),onKeydown:Ee},[L.value==="date"?(N(),ve(O3,{key:0,ref_key:"currentViewRef",ref:y,"selection-mode":C(B),date:b.value,"parsed-value":de.parsedValue,"disabled-date":C(p),"cell-class-name":C(f),onPick:F},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):Se("v-if",!0),L.value==="year"?(N(),ve(GRe,{key:1,ref_key:"currentViewRef",ref:y,date:b.value,"disabled-date":C(p),"parsed-value":de.parsedValue,onPick:Q},null,8,["date","disabled-date","parsed-value"])):Se("v-if",!0),L.value==="month"?(N(),ve(N3,{key:2,ref_key:"currentViewRef",ref:y,date:b.value,"parsed-value":de.parsedValue,"disabled-date":C(p),onPick:j},null,8,["date","parsed-value","disabled-date"])):Se("v-if",!0)],34)],2)],2),Pt(re("div",{class:U(C(i).e("footer"))},[Pt(oe(C(sc),{text:"",size:"small",class:U(C(i).e("link-btn")),onClick:le},{default:se(()=>[mt(Be(C(l)("el.datepicker.now")),1)]),_:1},8,["class"]),[[Dn,C(B)!=="dates"]]),oe(C(sc),{plain:"",size:"small",class:U(C(i).e("link-btn")),onClick:ne},{default:se(()=>[mt(Be(C(l)("el.datepicker.confirm")),1)]),_:1},8,["class"])],2),[[Dn,C(te)&&L.value==="date"]])],2))}});var YRe=Qe(qRe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-pick.vue"]]);const XRe=Je({...oN,...iN}),JRe=e=>{const{emit:t}=vt(),n=kp(),o=Nr();return s=>{const r=qe(s.value)?s.value():s.value;if(r){t("pick",[ht(r[0]).locale(e.value),ht(r[1]).locale(e.value)]);return}s.onClick&&s.onClick({attrs:n,slots:o,emit:t})}},aN=(e,{defaultValue:t,leftDate:n,rightDate:o,unit:i,onParsedValueChanged:s})=>{const{emit:r}=vt(),{pickerNs:a}=je(aw),l=Xe("date-range-picker"),{t:c,lang:u}=oo(),d=JRe(u),h=J(),p=J(),f=J({endDate:null,selecting:!1}),g=b=>{f.value=b},m=(b=!1)=>{const w=C(h),S=C(p);F3([w,S])&&r("pick",[w,S],b)},v=b=>{f.value.selecting=b,b||(f.value.endDate=null)},y=()=>{const[b,w]=rN(C(t),{lang:C(u),unit:i,unlinkPanels:e.unlinkPanels});h.value=void 0,p.value=void 0,n.value=b,o.value=w};return Le(t,b=>{b&&y()},{immediate:!0}),Le(()=>e.parsedValue,b=>{if(_e(b)&&b.length===2){const[w,S]=b;h.value=w,n.value=w,p.value=S,s(C(h),C(p))}else y()},{immediate:!0}),{minDate:h,maxDate:p,rangeState:f,lang:u,ppNs:a,drpNs:l,handleChangeRange:g,handleRangeConfirm:m,handleShortcutClick:d,onSelect:v,t:c}},QRe=["onClick"],ePe=["disabled"],tPe=["disabled"],nPe=["disabled"],oPe=["disabled"],o1="month",iPe=ge({__name:"panel-date-range",props:XRe,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(e,{emit:t}){const n=e,o=je("EP_PICKER_BASE"),{disabledDate:i,cellClassName:s,format:r,defaultTime:a,arrowControl:l,clearable:c}=o.props,u=rn(o.props,"shortcuts"),d=rn(o.props,"defaultValue"),{lang:h}
1721=oo(),p=J(ht().locale(h.value)),f=J(ht().locale(h.value).add(1,o1)),{minDate:g,maxDate:m,rangeState:v,ppNs:y,drpNs:b,handleChangeRange:w,handleRangeConfirm:S,handleShortcutClick:E,onSelect:T,t:R}=aN(n,{defaultValue:d,leftDate:p,rightDate:f,unit:o1,onParsedValueChanged:It}),A=J({min:null,max:null}),k=J({min:null,max:null}),D=M(()=>`${p.value.year()} ${R("el.datepicker.year")} ${R(`el.datepicker.month${p.value.month()+1}`)}`),V=M(()=>`${f.value.year()} ${R("el.datepicker.year")} ${R(`el.datepicker.month${f.value.month()+1}`)}`),O=M(()=>p.value.year()),F=M(()=>p.value.month()),_=M(()=>f.value.year()),P=M(()=>f.value.month()),L=M(()=>!!u.value.length),x=M(()=>A.value.min!==null?A.value.min:g.value?g.value.format(j.value):""),I=M(()=>A.value.max!==null?A.value.max:m.value||g.value?(m.value||g.value).format(j.value):""),B=M(()=>k.value.min!==null?k.value.min:g.value?g.value.format(H.value):""),z=M(()=>k.value.max!==null?k.value.max:m.value||g.value?(m.value||g.value).format(H.value):""),H=M(()=>BO(r)),j=M(()=>NO(r)),Q=()=>{p.value=p.value.subtract(1,"year"),n.unlinkPanels||(f.value=p.value.add(1,"month")),Oe("year")},ce=()=>{p.value=p.value.subtract(1,"month"),n.unlinkPanels||(f.value=p.value.add(1,"month")),Oe("month")},pe=()=>{n.unlinkPanels?f.value=f.value.add(1,"year"):(p.value=p.value.add(1,"year"),f.value=p.value.add(1,"month")),Oe("year")},te=()=>{n.unlinkPanels?f.value=f.value.add(1,"month"):(p.value=p.value.add(1,"month"),f.value=p.value.add(1,"month")),Oe("month")},ne=()=>{p.value=p.value.add(1,"year"),Oe("year")},le=()=>{p.value=p.value.add(1,"month"),Oe("month")},ae=()=>{f.value=f.value.subtract(1,"year"),Oe("year")},Re=()=>{f.value=f.value.subtract(1,"month"),Oe("month")},Oe=Ve=>{t("panel-change",[p.value.toDate(),f.value.toDate()],Ve)},W=M(()=>{const Ve=(F.value+1)%12,Ue=F.value+1>=12?1:0;return n.unlinkPanels&&new Date(O.value+Ue,Ve)<new Date(_.value,P.value)}),Z=M(()=>n.unlinkPanels&&_.value*12+P.value-(O.value*12+F.value+1)>=12),ie=M(()=>!(g.value&&m.value&&!v.value.selecting&&F3([g.value,m.value]))),be=M(()=>n.type==="datetime"||n.type==="datetimerange"),me=(Ve,Ue)=>{if(Ve)return a?ht(a[Ue]||a).locale(h.value).year(Ve.year()).month(Ve.month()).date(Ve.date()):Ve},$=(Ve,Ue=!0)=>{const Y=Ve.minDate,Ie=Ve.maxDate,rt=me(Y,0),Gt=me(Ie,1);m.value===Gt&&g.value===rt||(t("calendar-change",[Y.toDate(),Ie&&Ie.toDate()]),m.value=Gt,g.value=rt,!(!Ue||be.value)&&S())},G=J(!1),q=J(!1),fe=()=>{G.value=!1},ye=()=>{q.value=!1},Pe=(Ve,Ue)=>{A.value[Ue]=Ve;const Y=ht(Ve,j.value).locale(h.value);if(Y.isValid()){if(i&&i(Y.toDate()))return;Ue==="min"?(p.value=Y,g.value=(g.value||p.value).year(Y.year()).month(Y.month()).date(Y.date()),!n.unlinkPanels&&(!m.value||m.value.isBefore(g.value))&&(f.value=Y.add(1,"month"),m.value=g.value.add(1,"month"))):(f.value=Y,m.value=(m.value||f.value).year(Y.year()).month(Y.month()).date(Y.date()),!n.unlinkPanels&&(!g.value||g.value.isAfter(m.value))&&(p.value=Y.subtract(1,"month"),g.value=m.value.subtract(1,"month")))}},X=(Ve,Ue)=>{A.value[Ue]=null},K=(Ve,Ue)=>{k.value[Ue]=Ve;const Y=ht(Ve,H.value).locale(h.value);Y.isValid()&&(Ue==="min"?(G.value=!0,g.value=(g.value||p.value).hour(Y.hour()).minute(Y.minute()).second(Y.second()),(!m.value||m.value.isBefore(g.value))&&(m.value=g.value)):(q.value=!0,m.value=(m.value||f.value).hour(Y.hour()).minute(Y.minute()).second(Y.second()),f.value=m.value,m.value&&m.value.isBefore(g.value)&&(g.value=m.value)))},Ee=(Ve,Ue)=>{k.value[Ue]=null,Ue==="min"?(p.value=g.value,G.value=!1):(f.value=m.value,q.value=!1)},Fe=(Ve,Ue,Y)=>{k.value.min||(Ve&&(p.value=Ve,g.value=(g.value||p.value).hour(Ve.hour()).minute(Ve.minute()).second(Ve.second())),Y||(G.value=Ue),(!m.value||m.value.isBefore(g.value))&&(m.value=g.value,f.value=Ve))},et=(Ve,Ue,Y)=>{k.value.max||(Ve&&(f.value=Ve,m.value=(m.value||f.value).hour(Ve.hour()).minute(Ve.minute()).second(Ve.second())),Y||(q.value=Ue),m.value&&m.value.isBefore(g.value)&&(g.value=m.value))},de=()=>{p.value=rN(C(d),{lang:C(h),unit:"month",unlinkPanels:n.unlinkPanels})[0],f.value=p.value.add(1,"month"),t("pick",null)},Ae=Ve=>_e(Ve)?Ve.map(Ue=>Ue.format(r)):Ve.format(r),He=Ve=>_e(Ve)?Ve.map(Ue=>ht(Ue,r).locale(h.value)):ht(Ve,r).locale(h.value);function It(Ve,Ue){if(n.unlinkPanels&&Ue){const Y=Ve?.year()||0,Ie=Ve?.month()||0,rt=Ue.year(),Gt=Ue.month();f.value=Y===rt&&Ie===Gt?Ue.add(1,o1):Ue}else f.value=p.value.add(1,o1),Ue&&(f.value=f.value.hour(Ue.hour()).minute(Ue.minute()).second(Ue.second()))}return t("set-picker-option",["isValidValue",F3]),t("set-picker-option",["parseUserInput",He]),t("set-picker-option",["formatToString",Ae]),t("set-picker-option",["handleClear",de]),(Ve,Ue)=>(N(),ee("div",{class:U([C(y).b(),C(b).b(),{"has-sidebar":Ve.$slots.sidebar||C(L),"has-time":C(be)}])},[re("div",{class:U(C(y).e("body-wrapper"))},[ke(Ve.$slots,"sidebar",{class:U(C(y).e("sidebar"))}),C(L)?(N(),ee("div",{key:0,class:U(C(y).e("sidebar"))},[(N(!0),ee(Ze,null,Tt(C(u),(Y,Ie)=>(N(),ee("button",{key:Ie,type:"button",class:U(C(y).e("shortcut")),onClick:rt=>C(E)(Y)},Be(Y.text),11,QRe))),128))],2)):Se("v-if",!0),re("div",{class:U(C(y).e("body"))},[C(be)?(N(),ee("div",{key:0,class:U(C(b).e("time-header"))},[re("span",{class:U(C(b).e("editors-wrap"))},[re("span",{class:U(C(b).e("time-picker-wrap"))},[oe(C(Ms),{size:"small",disabled:C(v).selecting,placeholder:C(R)("el.datepicker.startDate"),class:U(C(b).e("editor")),"model-value":C(x),"validate-event":!1,onInput:Ue[0]||(Ue[0]=Y=>Pe(Y,"min")),onChange:Ue[1]||(Ue[1]=Y=>X(Y,"min"))},null,8,["disabled","placeholder","class","model-value"])],2),Pt((N(),ee("span",{class:U(C(b).e("time-picker-wrap"))},[oe(C(Ms),{size:"small",class:U(C(b).e("editor")),disabled:C(v).selecting,placeholder:C(R)("el.datepicker.startTime"),"model-value":C(B),"validate-event":!1,onFocus:Ue[2]||(Ue[2]=Y=>G.value=!0),onInput:Ue[3]||(Ue[3]=Y=>K(Y,"min")),onChange:Ue[4]||(Ue[4]=Y=>Ee(Y,"min"))},null,8,["class","disabled","placeholder","model-value"]),oe(C(I3),{visible:G.value,format:C(H),"datetime-role":"start","time-arrow-control":C(l),"parsed-value":p.value,onPick:Fe}
1721,null,8,["visible","format","time-arrow-control","parsed-value"])],2)),[[C(Fm),fe]])],2),re("span",null,[oe(C(at),null,{default:se(()=>[oe(C(bu))]),_:1})]),re("span",{class:U([C(b).e("editors-wrap"),"is-right"])},[re("span",{class:U(C(b).e("time-picker-wrap"))},[oe(C(Ms),{size:"small",class:U(C(b).e("editor")),disabled:C(v).selecting,placeholder:C(R)("el.datepicker.endDate"),"model-value":C(I),readonly:!C(g),"validate-event":!1,onInput:Ue[5]||(Ue[5]=Y=>Pe(Y,"max")),onChange:Ue[6]||(Ue[6]=Y=>X(Y,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),Pt((N(),ee("span",{class:U(C(b).e("time-picker-wrap"))},[oe(C(Ms),{size:"small",class:U(C(b).e("editor")),disabled:C(v).selecting,placeholder:C(R)("el.datepicker.endTime"),"model-value":C(z),readonly:!C(g),"validate-event":!1,onFocus:Ue[7]||(Ue[7]=Y=>C(g)&&(q.value=!0)),onInput:Ue[8]||(Ue[8]=Y=>K(Y,"max")),onChange:Ue[9]||(Ue[9]=Y=>Ee(Y,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),oe(C(I3),{"datetime-role":"end",visible:q.value,format:C(H),"time-arrow-control":C(l),"parsed-value":f.value,onPick:et},null,8,["visible","format","time-arrow-control","parsed-value"])],2)),[[C(Fm),ye]])],2)],2)):Se("v-if",!0),re("div",{class:U([[C(y).e("content"),C(b).e("content")],"is-left"])},[re("div",{class:U(C(b).e("header"))},[re("button",{type:"button",class:U([C(y).e("icon-btn"),"d-arrow-left"]),onClick:Q},[oe(C(at),null,{default:se(()=>[oe(C(vp))]),_:1})],2),re("button",{type:"button",class:U([C(y).e("icon-btn"),"arrow-left"]),onClick:ce},[oe(C(at),null,{default:se(()=>[oe(C(km))]),_:1})],2),Ve.unlinkPanels?(N(),ee("button",{key:0,type:"button",disabled:!C(Z),class:U([[C(y).e("icon-btn"),{"is-disabled":!C(Z)}],"d-arrow-right"]),onClick:ne},[oe(C(at),null,{default:se(()=>[oe(C(Cp))]),_:1})],10,ePe)):Se("v-if",!0),Ve.unlinkPanels?(N(),ee("button",{key:1,type:"button",disabled:!C(W),class:U([[C(y).e("icon-btn"),{"is-disabled":!C(W)}],"arrow-right"]),onClick:le},[oe(C(at),null,{default:se(()=>[oe(C(bu))]),_:1})],10,tPe)):Se("v-if",!0),re("div",null,Be(C(D)),1)],2),oe(O3,{"selection-mode":"range",date:p.value,"min-date":C(g),"max-date":C(m),"range-state":C(v),"disabled-date":C(i),"cell-class-name":C(s),onChangerange:C(w),onPick:$,onSelect:C(T)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),re("div",{class:U([[C(y).e("content"),C(b).e("content")],"is-right"])},[re("div",{class:U(C(b).e("header"))},[Ve.unlinkPanels?(N(),ee("button",{key:0,type:"button",disabled:!C(Z),class:U([[C(y).e("icon-btn"),{"is-disabled":!C(Z)}],"d-arrow-left"]),onClick:ae},[oe(C(at),null,{default:se(()=>[oe(C(vp))]),_:1})],10,nPe)):Se("v-if",!0),Ve.unlinkPanels?(N(),ee("button",{key:1,type:"button",disabled:!C(W),class:U([[C(y).e("icon-btn"),{"is-disabled":!C(W)}],"arrow-left"]),onClick:Re},[oe(C(at),null,{default:se(()=>[oe(C(km))]),_:1})],10,oPe)):Se("v-if",!0),re("button",{type:"button",class:U([C(y).e("icon-btn"),"d-arrow-right"]),onClick:pe},[oe(C(at),null,{default:se(()=>[oe(C(Cp))]),_:1})],2),re("button",{type:"button",class:U([C(y).e("icon-btn"),"arrow-right"]),onClick:te},[oe(C(at),null,{default:se(()=>[oe(C(bu))]),_:1})],2),re("div",null,Be(C(V)),1)],2),oe(O3,{"selection-mode":"range",date:f.value,"min-date":C(g),"max-date":C(m),"range-state":C(v),"disabled-date":C(i),"cell-class-name":C(s),onChangerange:C(w),onPick:$,onSelect:C(T)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),C(be)?(N(),ee("div",{key:0,class:U(C(y).e("footer"))},[C(c)?(N(),ve(C(sc),{key:0,text:"",size:"small",class:U(C(y).e("link-btn")),onClick:de},{default:se(()=>[mt(Be(C(R)("el.datepicker.clear")),1)]),_:1},8,["class"])):Se("v-if",!0),oe(C(sc),{plain:"",size:"small",class:U(C(y).e("link-btn")),disabled:C(ie),onClick:Ue[10]||(Ue[10]=Y=>C(S)(!1))},{default:se(()=>[mt(Be(C(R)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2)):Se("v-if",!0)],2))}});var sPe=Qe(iPe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-date-range.vue"]]);const rPe=Je({...iN}),aPe=["pick","set-picker-option"],lPe=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const{t:o}=oo(),i=()=>{t.value=t.value.subtract(1,"year"),e.value||(n.value=n.value.subtract(1,"year"))},s=()=>{e.value||(t.value=t.value.add(1,"year")),n.value=n.value.add(1,"year")},r=()=>{t.value=t.value.add(1,"year")},a=()=>{n.value=n.value.subtract(1,"year")},l=M(()=>`${t.value.year()} ${o("el.datepicker.year")}`),c=M(()=>`${n.value.year()} ${o("el.datepicker.year")}`),u=M(()=>t.value.year()),d=M(()=>n.value.year()===t.value.year()?t.value.year()+1:n.value.year());return{leftPrevYear:i,rightNextYear:s,leftNextYear:r,rightPrevYear:a,leftLabel:l,rightLabel:c,leftYear:u,rightYear:d}},cPe=["onClick"],uPe=["disabled"],dPe=["disabled"],i1="year",hPe=ge({name:"DatePickerMonthRange"}
1721),pPe=ge({...hPe,props:rPe,emits:aPe,setup(e,{emit:t}){const n=e,{lang:o}=oo(),i=je("EP_PICKER_BASE"),{shortcuts:s,disabledDate:r,format:a}=i.props,l=rn(i.props,"defaultValue"),c=J(ht().locale(o.value)),u=J(ht().locale(o.value).add(1,i1)),{minDate:d,maxDate:h,rangeState:p,ppNs:f,drpNs:g,handleChangeRange:m,handleRangeConfirm:v,handleShortcutClick:y,onSelect:b}=aN(n,{defaultValue:l,leftDate:c,rightDate:u,unit:i1,onParsedValueChanged:P}),w=M(()=>!!s.length),{leftPrevYear:S,rightNextYear:E,leftNextYear:T,rightPrevYear:R,leftLabel:A,rightLabel:k,leftYear:D,rightYear:V}=lPe({unlinkPanels:rn(n,"unlinkPanels"),leftDate:c,rightDate:u}),O=M(()=>n.unlinkPanels&&V.value>D.value+1),F=(L,x=!0)=>{const I=L.minDate,B=L.maxDate;h.value===B&&d.value===I||(h.value=B,d.value=I,x&&v())},_=L=>L.map(x=>x.format(a));function P(L,x){if(n.unlinkPanels&&x){const I=L?.year()||0,B=x.year();u.value=I===B?x.add(1,i1):x}else u.value=c.value.add(1,i1)}return t("set-picker-option",["formatToString",_]),(L,x)=>(N(),ee("div",{class:U([C(f).b(),C(g).b(),{"has-sidebar":!!L.$slots.sidebar||C(w)}])},[re("div",{class:U(C(f).e("body-wrapper"))},[ke(L.$slots,"sidebar",{class:U(C(f).e("sidebar"))}),C(w)?(N(),ee("div",{key:0,class:U(C(f).e("sidebar"))},[(N(!0),ee(Ze,null,Tt(C(s),(I,B)=>(N(),ee("button",{key:B,type:"button",class:U(C(f).e("shortcut")),onClick:z=>C(y)(I)},Be(I.text),11,cPe))),128))],2)):Se("v-if",!0),re("div",{class:U(C(f).e("body"))},[re("div",{class:U([[C(f).e("content"),C(g).e("content")],"is-left"])},[re("div",{class:U(C(g).e("header"))},[re("button",{type:"button",class:U([C(f).e("icon-btn"),"d-arrow-left"]),onClick:x[0]||(x[0]=(...I)=>C(S)&&C(S)(...I))},[oe(C(at),null,{default:se(()=>[oe(C(vp))]),_:1})],2),L.unlinkPanels?(N(),ee("button",{key:0,type:"button",disabled:!C(O),class:U([[C(f).e("icon-btn"),{[C(f).is("disabled")]:!C(O)}],"d-arrow-right"]),onClick:x[1]||(x[1]=(...I)=>C(T)&&C(T)(...I))},[oe(C(at),null,{default:se(()=>[oe(C(Cp))]),_:1})],10,uPe)):Se("v-if",!0),re("div",null,Be(C(A)),1)],2),oe(N3,{"selection-mode":"range",date:c.value,"min-date":C(d),"max-date":C(h),"range-state":C(p),"disabled-date":C(r),onChangerange:C(m),onPick:F,onSelect:C(b)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),re("div",{class:U([[C(f).e("content"),C(g).e("content")],"is-right"])},[re("div",{class:U(C(g).e("header"))},[L.unlinkPanels?(N(),ee("button",{key:0,type:"button",disabled:!C(O),class:U([[C(f).e("icon-btn"),{"is-disabled":!C(O)}],"d-arrow-left"]),onClick:x[2]||(x[2]=(...I)=>C(R)&&C(R)(...I))},[oe(C(at),null,{default:se(()=>[oe(C(vp))]),_:1})],10,dPe)):Se("v-if",!0),re("button",{type:"button",class:U([C(f).e("icon-btn"),"d-arrow-right"]),onClick:x[3]||(x[3]=(...I)=>C(E)&&C(E)(...I))},[oe(C(at),null,{default:se(()=>[oe(C(Cp))]),_:1})],2),re("div",null,Be(C(k)),1)],2),oe(N3,{"selection-mode":"range",date:u.value,"min-date":C(d),"max-date":C(h),"range-state":C(p),"disabled-date":C(r),onChangerange:C(m),onPick:F,onSelect:C(b)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2))}});var fPe=Qe(pPe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker/src/date-picker-com/panel-month-range.vue"]]);const gPe=function(e){switch(e){case"daterange":case"datetimerange":return sPe;case"monthrange":return fPe;default:return YRe}};ht.extend(HEe);ht.extend(YTe);ht.extend(mEe);ht.extend(eRe);ht.extend(iRe);ht.extend(lRe);ht.extend(hRe);ht.extend(mRe);var mPe=ge({name:"ElDatePicker",install:null,props:vRe,emits:["update:modelValue"],setup(e,{expose:t,emit:n,slots:o}){const i=Xe("picker-panel");Ut("ElPopperOptions",Rn(rn(e,"popperOptions"))),Ut(aw,{slots:o,pickerNs:i});const s=J();t({focus:(l=!0)=>{var c;(c=s.value)==null||c.focus(l)},handleOpen:()=>{var l;(l=s.value)==null||l.handleOpen()},handleClose:()=>{var l;(l=s.value)==null||l.handleClose()}});const a=l=>{n("update:modelValue",l)};return()=>{var l;const c=(l=e.format)!=null?l:vEe[e.type]||Uc,u=gPe(e.type);return oe(EEe,Rt(e,{format:c,type:e.type,ref:s,"onUpdate:modelValue":a}),{default:d=>oe(u,d,null),"range-separator":o["range-separator"]})}}});const dg=mPe;dg.install=e=>{e.component(dg.name,dg)};const lN=dg,vPe=ge({inheritAttrs:!1});function CPe(e,t,n,o,i,s){return ke(e.$slots,"default")}var bPe=Qe(vPe,[["render",CPe],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);const yPe=ge({name:"ElCollectionItem",inheritAttrs:!1});function wPe(e,t,n,o,i,s){return ke(e.$slots,"default")}var SPe=Qe(yPe,[["render",wPe],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);const cN="data-el-collection-item",uN=e=>{const t=`El${e}Collection`,n=`${t}Item`,o=Symbol(t),i=Symbol(n),s={...bPe,name:t,setup(){const a=J(null),l=new Map;Ut(o,{itemMap:l,getItems:()=>{const u=C(a);if(!u)return[];const d=Array.from(u.querySelectorAll(`[${cN}]`));return[...l.values()].sort((p,f)=>d.indexOf(p.ref)-d.indexOf(f.ref))},collectionRef:a})}},r={...SPe,name:n,setup(a,{attrs:l}){const c=J(null),u=je(o,void 0);Ut(i,{collectionItemRef:c}),Dt(()=>{const d=C(c);d&&u.itemMap.set(d,{ref:d,...l})}),Mn(()=>{const d=C(c);
1721u.itemMap.delete(d)})}};return{COLLECTION_INJECTION_KEY:o,COLLECTION_ITEM_INJECTION_KEY:i,ElCollection:s,ElCollectionItem:r}},EPe=Je({style:{type:xe([String,Array,Object])},currentTabId:{type:xe(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:xe(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:TPe,ElCollectionItem:RPe,COLLECTION_INJECTION_KEY:cw,COLLECTION_ITEM_INJECTION_KEY:PPe}=uN("RovingFocusGroup"),uw=Symbol("elRovingFocusGroup"),dN=Symbol("elRovingFocusGroupItem"),MPe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},LPe=(e,t)=>e,xPe=(e,t,n)=>{const o=LPe(e.key);return MPe[o]},DPe=(e,t)=>e.map((n,o)=>e[(o+t)%e.length]),dw=e=>{const{activeElement:t}=document;for(const n of e)if(n===t||(n.focus(),t!==document.activeElement))return},iR="currentTabIdChange",sR="rovingFocusGroup.entryFocus",kPe={bubbles:!1,cancelable:!0},APe=ge({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:EPe,emits:[iR,"entryFocus"],setup(e,{emit:t}){var n;const o=J((n=e.currentTabId||e.defaultCurrentTabId)!=null?n:null),i=J(!1),s=J(!1),r=J(null),{getItems:a}=je(cw,void 0),l=M(()=>[{outline:"none"},e.style]),c=g=>{t(iR,g)},u=()=>{i.value=!0},d=In(g=>{var m;(m=e.onMousedown)==null||m.call(e,g)},()=>{s.value=!0}),h=In(g=>{var m;(m=e.onFocus)==null||m.call(e,g)},g=>{const m=!C(s),{target:v,currentTarget:y}=g;if(v===y&&m&&!C(i)){const b=new Event(sR,kPe);if(y?.dispatchEvent(b),!b.defaultPrevented){const w=a().filter(A=>A.focusable),S=w.find(A=>A.active),E=w.find(A=>A.id===C(o)),R=[S,E,...w].filter(Boolean).map(A=>A.ref);dw(R)}}s.value=!1}),p=In(g=>{var m;(m=e.onBlur)==null||m.call(e,g)},()=>{i.value=!1}),f=(...g)=>{t("entryFocus",...g)};Ut(uw,{currentTabbedId:ao(o),loop:rn(e,"loop"),tabIndex:M(()=>C(i)?-1:0),rovingFocusGroupRef:r,rovingFocusGroupRootStyle:l,orientation:rn(e,"orientation"),dir:rn(e,"dir"),onItemFocus:c,onItemShiftTab:u,onBlur:p,onFocus:h,onMousedown:d}),Le(()=>e.currentTabId,g=>{o.value=g??null}),Ci(r,sR,f)}});function _Pe(e,t,n,o,i,s){return ke(e.$slots,"default")}var IPe=Qe(APe,[["render",_Pe],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group-impl.vue"]]);const FPe=ge({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:TPe,ElRovingFocusGroupImpl:IPe}});function OPe(e,t,n,o,i,s){const r=Ke("el-roving-focus-group-impl"),a=Ke("el-focus-group-collection");return N(),ve(a,null,{default:se(()=>[oe(r,_i(as(e.$attrs)),{default:se(()=>[ke(e.$slots,"default")]),_:3},16)]),_:3})}var NPe=Qe(FPe,[["render",OPe],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);const BPe=ge({components:{ElRovingFocusCollectionItem:RPe},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:n,loop:o,onItemFocus:i,onItemShiftTab:s}=je(uw,void 0),{getItems:r}=je(cw,void 0),a=uf(),l=J(null),c=In(p=>{t("mousedown",p)},p=>{e.focusable?i(C(a)):p.preventDefault()}),u=In(p=>{t("focus",p)},()=>{i(C(a))}),d=In(p=>{t("keydown",p)},p=>{const{key:f,shiftKey:g,target:m,currentTarget:v}=p;if(f===bt.tab&&g){s();return}if(m!==v)return;const y=xPe(p);if(y){p.preventDefault();let w=r().filter(S=>S.focusable).map(S=>S.ref);switch(y){case"last":{w.reverse();break}case"prev":case"next":{y==="prev"&&w.reverse();const S=w.indexOf(v);w=o.value?DPe(w,S+1):w.slice(S+1);break}}ot(()=>{dw(w)})}}),h=M(()=>n.value===C(a));return Ut(dN,{rovingFocusGroupItemRef:l,tabIndex:M(()=>C(h)?0:-1),handleMousedown:c,handleFocus:u,handleKeydown:d}),{id:a,handleKeydown:d,handleFocus:u,handleMousedown:c}}});function HPe(e,t,n,o,i,s){const r=Ke("el-roving-focus-collection-item");
1721return N(),ve(r,{id:e.id,focusable:e.focusable,active:e.active},{default:se(()=>[ke(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var VPe=Qe(BPe,[["render",HPe],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-item.vue"]]);const $Pe=Je({trigger:rw.trigger,effect:{...wp.effect,default:"light"},type:{type:xe(String)},placement:{type:xe(String),default:"bottom"},popperOptions:{type:xe(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:xe([Number,String]),default:0},maxHeight:{type:xe([Number,String]),default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},role:{type:String,default:"menu"},buttonProps:{type:xe(Object)},teleported:wp.teleported}),hN=Je({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:_r}}),WPe=Je({onKeydown:{type:xe(Function)}}),GPe=[bt.down,bt.pageDown,bt.home],pN=[bt.up,bt.pageUp,bt.end],zPe=[...GPe,...pN],{ElCollection:UPe,ElCollectionItem:jPe,COLLECTION_INJECTION_KEY:ZPe,COLLECTION_ITEM_INJECTION_KEY:KPe}=uN("Dropdown"),r2=Symbol("elDropdown"),{ButtonGroup:qPe}=sc,YPe=ge({name:"ElDropdown",components:{ElButton:sc,ElButtonGroup:qPe,ElScrollbar:nw,ElDropdownCollection:UPe,ElTooltip:s2,ElRovingFocusGroup:NPe,ElOnlyChild:MO,ElIcon:at,ArrowDown:Q0},props:$Pe,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=vt(),o=Xe("dropdown"),{t:i}=oo(),s=J(),r=J(),a=J(null),l=J(null),c=J(null),u=J(null),d=J(!1),h=[bt.enter,bt.space,bt.down],p=M(()=>({maxHeight:gp(e.maxHeight)})),f=M(()=>[o.m(w.value)]),g=uf().value,m=M(()=>e.id||g);Le([s,rn(e,"trigger")],([P,L],[x])=>{var I,B,z;const H=_e(L)?L:[L];(I=x?.$el)!=null&&I.removeEventListener&&x.$el.removeEventListener("pointerenter",E),(B=P?.$el)!=null&&B.removeEventListener&&P.$el.removeEventListener("pointerenter",E),(z=P?.$el)!=null&&z.addEventListener&&H.includes("hover")&&P.$el.addEventListener("pointerenter",E)},{immediate:!0}),Mn(()=>{var P,L;(L=(P=s.value)==null?void 0:P.$el)!=null&&L.removeEventListener&&s.value.$el.removeEventListener("pointerenter",E)});function v(){y()}function y(){var P;(P=a.value)==null||P.onClose()}function b(){var P;(P=a.value)==null||P.onOpen()}const w=Ai();function S(...P){t("command",...P)}function E(){var P,L;(L=(P=s.value)==null?void 0:P.$el)==null||L.focus()}function T(){}function R(){const P=C(l);P?.focus(),u.value=null}function A(P){u.value=P}function k(P){d.value||(P.preventDefault(),P.stopImmediatePropagation())}function D(){t("visible-change",!0)}function V(P){P?.type==="keydown"&&l.value.focus()}function O(){t("visible-change",!1)}return Ut(r2,{contentRef:l,role:M(()=>e.role),triggerId:m,isUsingKeyboard:d,onItemEnter:T,onItemLeave:R}),Ut("elDropdown",{instance:n,dropdownSize:w,handleClick:v,commandHandler:S,trigger:rn(e,"trigger"),hideOnClick:rn(e,"hideOnClick")}),{t:i,ns:o,scrollbar:c,wrapStyle:p,dropdownTriggerKls:f,dropdownSize:w,triggerId:m,triggerKeys:h,currentTabId:u,handleCurrentTabIdChange:A,handlerMainButtonClick:P=>{t("click",P)},handleEntryFocus:k,handleClose:y,handleOpen:b,handleBeforeShowTooltip:D,handleShowTooltip:V,handleBeforeHideTooltip:O,onFocusAfterTrapped:P=>{var L,x;P.preventDefault(),(x=(L=l.value)==null?void 0:L.focus)==null||x.call(L,{preventScroll:!0})},popperRef:a,contentRef:l,triggeringElementRef:s,referenceElementRef:r}}});function XPe(e,t,n,o,i,s){var r;const a=Ke("el-dropdown-collection"),l=Ke("el-roving-focus-group"),c=Ke("el-scrollbar"),u=Ke("el-only-child"),d=Ke("el-tooltip"),h=Ke("el-button"),p=Ke("arrow-down"),f=Ke("el-icon"),g=Ke("el-button-group");return N(),ee("div",{class:U([e.ns.b(),e.ns.is("disabled",e.disabled)])},[oe(d,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,"hide-after":e.trigger==="hover"?e.hideTimeout:0,"manual-mode":!0,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"reference-element":(r=e.referenceElementRef)==null?void 0:r.$el,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-after":e.trigger==="hover"?e.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":e.triggeringElementRef,"virtual-triggering":e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,pure:"",persistent:"",onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},Si({content:se(()=>[oe(c,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:se(()=>[oe(l,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdC
1721hange:e.handleCurrentTabIdChange,onEntryFocus:e.handleEntryFocus},{default:se(()=>[oe(a,null,{default:se(()=>[ke(e.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:se(()=>[oe(u,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:se(()=>[ke(e.$slots,"default")]),_:3},8,["id","tabindex"])])}]),1032,["role","effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","trigger-keys","trigger-target-el","show-after","virtual-ref","virtual-triggering","disabled","transition","teleported","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(N(),ve(g,{key:0},{default:se(()=>[oe(h,Rt({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:se(()=>[ke(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),oe(h,Rt({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:se(()=>[oe(f,{class:U(e.ns.e("icon"))},{default:se(()=>[oe(p)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):Se("v-if",!0)],2)}var JPe=Qe(YPe,[["render",XPe],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue"]]);const QPe=ge({name:"DropdownItemImpl",components:{ElIcon:at},props:hN,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=Xe("dropdown"),{role:o}=je(r2,void 0),{collectionItemRef:i}=je(KPe,void 0),{collectionItemRef:s}=je(PPe,void 0),{rovingFocusGroupItemRef:r,tabIndex:a,handleFocus:l,handleKeydown:c,handleMousedown:u}=je(dN,void 0),d=JF(i,s,r),h=M(()=>o.value==="menu"?"menuitem":o.value==="navigation"?"link":"button"),p=In(f=>{const{code:g}=f;if(g===bt.enter||g===bt.space)return f.preventDefault(),f.stopImmediatePropagation(),t("clickimpl",f),!0},c);return{ns:n,itemRef:d,dataset:{[cN]:""},role:h,tabIndex:a,handleFocus:l,handleKeydown:p,handleMousedown:u}}}),eMe=["aria-disabled","tabindex","role"];function tMe(e,t,n,o,i,s){const r=Ke("el-icon");return N(),ee(Ze,null,[e.divided?(N(),ee("li",Rt({key:0,role:"separator",class:e.ns.bem("menu","item","divided")},e.$attrs),null,16)):Se("v-if",!0),re("li",Rt({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:t[0]||(t[0]=a=>e.$emit("clickimpl",a)),onFocus:t[1]||(t[1]=(...a)=>e.handleFocus&&e.handleFocus(...a)),onKeydown:t[2]||(t[2]=St((...a)=>e.handleKeydown&&e.handleKeydown(...a),["self"])),onMousedown:t[3]||(t[3]=(...a)=>e.handleMousedown&&e.handleMousedown(...a)),onPointermove:t[4]||(t[4]=a=>e.$emit("pointermove",a)),onPointerleave:t[5]||(t[5]=a=>e.$emit("pointerleave",a))}),[e.icon?(N(),ve(r,{key:0},{default:se(()=>[(N(),ve(vn(e.icon)))]),_:1})):Se("v-if",!0),ke(e.$slots,"default")],16,eMe)],64)}var nMe=Qe(QPe,[["render",tMe],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item-impl.vue"]]);const fN=()=>{const e=je("elDropdown",{}),t=M(()=>e?.dropdownSize);return{elDropdown:e,_elDropdownSize:t}},oMe=ge({name:"ElDropdownItem",components:{ElDropdownCollectionItem:jPe,ElRovingFocusItem:VPe,ElDropdownItemImpl:nMe},inheritAttrs:!1,props:hN,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:o}=fN(),i=vt(),s=J(null),r=M(()=>{var p,f;return(f=(p=C(s))==null?void 0:p.textContent)!=null?f:""}),{onItemEnter:a,onItemLeave:l}=je(r2,void 0),c=In(p=>(t("pointermove",p),p.defaultPrevented),TE(p=>{if(e.disabled){l(p);return}const f=p.currentTarget;f===document.activeElement||f.contains(document.activeElement)||(a(p),p.defaultPrevented||f?.focus())})),u=In(p=>(t("pointerleave",p),p.defaultPrevented),TE(p=>{l(p)})),d=In(p=>{if(!e.disabled)return t("click",p),p.type!=="keydown"&&p.defaultPrevented},p=>{var f,g,m;if(e.disabled){p.stopImmediatePropagation();return}(f=o?.hideOnClick)!=null&&f.value&&((g=o.handleClick)==null||g.call(o)),(m=o.commandHandler)==null||m.call(o,e.command,i,p)}),h=M(()=>({...e,...n}));return{handleClick:d,handlePointerMove:c,handlePointerLeave:u,textContent:r,propsAndAttrs:h}}});function iMe(e,t,n,o,i,s){var r;const a=Ke("el-dropdown-item-impl"),l=Ke("el-roving-focus-item"),c=Ke("el-dropdown-collection-item");return N(),ve(c,{disabled:e.disabled,"text-value":(r=e.textValue)!=null?r:e.textContent},{default:se(()=>[oe(l,{focusable:!e.disabled},{default:se(()=>[oe(a,Rt(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),{default:se(()=>[ke(e.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var gN=Qe(oMe,[["render",iMe],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue"]]);const sMe=ge({name:"ElDropdownMenu",props:WPe,setup(e){const t=Xe("dropdown"),{_elDropdownSize:n}=fN(),o=n.value,{focusTrapRef:i,onKeydown:s}=je(DO,void 0),{contentRef:r,role:a,triggerId:l}=je(r2,void 0),{collectionRef:c,getItems:u}=je(ZPe,void 0),{rovingFocusGroupRef:d,rovingFocusGroupRootStyle:h,tabIndex:p,onBlur:f,onF
1721ocus:g,onMousedown:m}=je(uw,void 0),{collectionRef:v}=je(cw,void 0),y=M(()=>[t.b("menu"),t.bm("menu",o?.value)]),b=JF(r,c,i,d,v),w=In(E=>{var T;(T=e.onKeydown)==null||T.call(e,E)},E=>{const{currentTarget:T,code:R,target:A}=E;if(T.contains(A),bt.tab===R&&E.stopImmediatePropagation(),E.preventDefault(),A!==C(r)||!zPe.includes(R))return;const D=u().filter(V=>!V.disabled).map(V=>V.ref);pN.includes(R)&&D.reverse(),dw(D)});return{size:o,rovingFocusGroupRootStyle:h,tabIndex:p,dropdownKls:y,role:a,triggerId:l,dropdownListWrapperRef:b,handleKeydown:E=>{w(E),s(E)},onBlur:f,onFocus:g,onMousedown:m}}}),rMe=["role","aria-labelledby"];function aMe(e,t,n,o,i,s){return N(),ee("ul",{ref:e.dropdownListWrapperRef,class:U(e.dropdownKls),style:ft(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onBlur:t[0]||(t[0]=(...r)=>e.onBlur&&e.onBlur(...r)),onFocus:t[1]||(t[1]=(...r)=>e.onFocus&&e.onFocus(...r)),onKeydown:t[2]||(t[2]=St((...r)=>e.handleKeydown&&e.handleKeydown(...r),["self"])),onMousedown:t[3]||(t[3]=St((...r)=>e.onMousedown&&e.onMousedown(...r),["self"]))},[ke(e.$slots,"default")],46,rMe)}var mN=Qe(sMe,[["render",aMe],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-menu.vue"]]);const lMe=Nn(JPe,{DropdownItem:gN,DropdownMenu:mN});Oi(gN);Oi(mN);const cMe=Je({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:Number,readonly:Boolean,disabled:Boolean,size:rs,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:e=>e===null||Bt(e)||["min","max"].includes(e),default:null},name:String,label:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)},validateEvent:{type:Boolean,default:!0}}),uMe={[xi]:(e,t)=>t!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[As]:e=>Bt(e)||Qi(e),[At]:e=>Bt(e)||Qi(e)},dMe=["aria-label","onKeydown"],hMe=["aria-label","onKeydown"],pMe=ge({name:"ElInputNumber"}),fMe=ge({...pMe,props:cMe,emits:uMe,setup(e,{expose:t,emit:n}){const o=e,{t:i}=oo(),s=Xe("input-number"),r=J(),a=Rn({currentValue:o.modelValue,userInput:null}),{formItem:l}=ps(),c=M(()=>
1721Bt(o.modelValue)&&o.modelValue<=o.min),u=M(()=>Bt(o.modelValue)&&o.modelValue>=o.max),d=M(()=>{const O=v(o.step);return Ki(o.precision)?Math.max(v(o.modelValue),O):(O>o.precision,o.precision)}),h=M(()=>o.controls&&o.controlsPosition==="right"),p=Ai(),f=hs(),g=M(()=>{if(a.userInput!==null)return a.userInput;let O=a.currentValue;if(Qi(O))return"";if(Bt(O)){if(Number.isNaN(O))return"";Ki(o.precision)||(O=O.toFixed(o.precision))}return O}),m=(O,F)=>{if(Ki(F)&&(F=d.value),F===0)return Math.round(O);let _=String(O);const P=_.indexOf(".");if(P===-1||!_.replace(".","").split("")[P+F])return O;const I=_.length;return _.charAt(I-1)==="5"&&(_=`${_.slice(0,Math.max(0,I-1))}6`),Number.parseFloat(Number(_).toFixed(F))},v=O=>{if(Qi(O))return 0;const F=O.toString(),_=F.indexOf(".");let P=0;return _!==-1&&(P=F.length-_-1),P},y=(O,F=1)=>Bt(O)?m(O+o.step*F):a.currentValue,b=()=>{if(o.readonly||f.value||u.value)return;const O=Number(g.value)||0,F=y(O);E(F),n(As,a.currentValue)},w=()=>{if(o.readonly||f.value||c.value)return;const O=Number(g.value)||0,F=y(O,-1);E(F),n(As,a.currentValue)},S=(O,F)=>{const{max:_,min:P,step:L,precision:x,stepStrictly:I,valueOnClear:B}=o;_<P&&js("InputNumber","min should not be greater than max.");let z=Number(O);if(Qi(O)||Number.isNaN(z))return null;if(O===""){if(B===null)return null;z=lt(B)?{min:P,max:_}[B]:B}return I&&(z=m(Math.round(z/L)*L,x)),Ki(x)||(z=m(z,x)),(z>_||z<P)&&(z=z>_?_:P,F&&n(At,z)),z},E=(O,F=!0)=>{var _;const P=a.currentValue,L=S(O);if(!F){n(At,L);return}P!==L&&(a.userInput=null,n(At,L),n(xi,L,P),o.validateEvent&&((_=l?.validate)==null||_.call(l,"change").catch(x=>void 0)),a.currentValue=L)},T=O=>{a.userInput=O;const F=O===""?null:Number(O);n(As,F),E(F,!1)},R=O=>{const F=O!==""?Number(O):"";(Bt(F)&&!Number.isNaN(F)||O==="")&&E(F),a.userInput=null},A=()=>{var O,F;(F=(O=r.value)==null?void 0:O.focus)==null||F.call(O)},k=()=>{var O,F;(F=(O=r.value)==null?void 0:O.blur)==null||F.call(O)},D=O=>{n("focus",O)},V=O=>{var F;n("blur",O),o.validateEvent&&((F=l?.validate)==null||F.call(l,"blur").catch(_=>void 0))};return Le(()=>o.modelValue,O=>{const F=S(a.userInput),_=S(O,!0);!Bt(F)&&(!F||F!==_)&&(a.currentValue=_,a.userInput=null)},{immediate:!0}),Dt(()=>{var O;const{min:F,max:_,modelValue:P}=o,L=(O=r.value)==null?void 0:O.input;if(L.setAttribute("role","spinbutton"),Number.isFinite(_)?L.setAttribute("aria-valuemax",String(_)):L.removeAttribute("aria-valuemax"),Number.isFinite(F)?L.setAttribute("aria-valuemin",String(F)):L.removeAttribute("aria-valuemin"),L.setAttribute("aria-valuenow",String(a.currentValue)),L.setAttribute("aria-disabled",String(f.value)),!Bt(P)&&P!=null){let x=Number(P);Number.isNaN(x)&&(x=null),n(At,x)}}),dc(()=>{var O;const F=(O=r.value)==null?void 0:O.input;F?.setAttribute("aria-valuenow",`${a.currentValue}`)}),t({focus:A,blur:k}),(O,F)=>(N(),ee("div",{class:U([C(s).b(),C(s).m(C(p)),C(s).is("disabled",C(f)),C(s).is("without-control
1721s",!O.controls),C(s).is("controls-right",C(h))]),onDragstart:F[1]||(F[1]=St(()=>{},["prevent"]))},[O.controls?Pt((N(),ee("span",{key:0,role:"button","aria-label":C(i)("el.inputNumber.decrease"),class:U([C(s).e("decrease"),C(s).is("disabled",C(c))]),onKeydown:Qt(w,["enter"])},[oe(C(at),null,{default:se(()=>[C(h)?(N(),ve(C(Q0),{key:0})):(N(),ve(C(d8e),{key:1}))]),_:1})],42,dMe)),[[C(Om),w]]):Se("v-if",!0),O.controls?Pt((N(),ee("span",{key:1,role:"button","aria-label":C(i)("el.inputNumber.increase"),class:U([C(s).e("increase"),C(s).is("disabled",C(u))]),onKeydown:Qt(b,["enter"])},[oe(C(at),null,{default:se(()=>[C(h)?(N(),ve(C(KF),{key:0})):(N(),ve(C(YF),{key:1}))]),_:1})],42,hMe)),[[C(Om),b]]):Se("v-if",!0),oe(C(Ms),{id:O.id,ref_key:"input",ref:r,type:"number",step:O.step,"model-value":C(g),placeholder:O.placeholder,readonly:O.readonly,disabled:C(f),size:C(p),max:O.max,min:O.min,name:O.name,label:O.label,"validate-event":!1,onWheel:F[0]||(F[0]=St(()=>{},["prevent"])),onKeydown:[Qt(St(b,["prevent"]),["up"]),Qt(St(w,["prevent"]),["down"])],onBlur:V,onFocus:D,onInput:T,onChange:R},null,8,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","label","onKeydown"])],34))}});var gMe=Qe(fMe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input-number/src/input-number.vue"]]);const mMe=Nn(gMe),vN=Symbol("ElSelectGroup"),a2=Symbol("ElSelect");function vMe(e,t){const n=je(a2),o=je(vN,{disabled:!1}),i=M(()=>Object.prototype.toString.call(e.value).toLowerCase()==="[object object]"),s=M(()=>n.props.multiple?d(n.props.modelValue,e.value):h(e.value,n.props.modelValue)),r=M(()=>{if(n.props.multiple){const g=n.props.modelValue||[];return!s.value&&g.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),a=M(()=>e.label||(i.value?"":e.value)),l=M(()=>e.value||e.label||""),c=M(()=>e.disabled||t.groupDisabled||r.value),u=vt(),d=(g=[],m)=>{if(i.value){const v=n.props.valueKey;return g&&g.some(y=>Ct(ci(y,v))===ci(m,v))}else return g&&g.includes(m)},h=(g,m)=>{if(i.value){const{valueKey:v}=n.props;return ci(g,v)===ci(m,v)}else return g===m},p=()=>{!e.disabled&&!o.disabled&&(n.hoverIndex=n.optionsArray.indexOf(u.proxy))};Le(()=>a.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),Le(()=>e.value,(g,m)=>{const{remote:v,valueKey:y}=n.props;if(Object.is(g,m)||(n.onOptionDestroy(m,u.proxy),n.onOptionCreate(u.proxy)),!e.created&&!v){if(y&&typeof g=="object"&&typeof m=="object"&&g[y]===m[y])return;n.setSelected()}}),Le(()=>o.disabled,()=>{t.groupDisabled=o.disabled},{immediate:!0});const{queryChange:f}=Ct(n);return Le(f,g=>{const{query:m}=C(g),v=new RegExp(B6e(m),"i");t.visible=v.test(a.value)||e.created,t.visible||n.filteredOptionsCount--},{immediate:!0}),{select:n,currentLabel:a,currentValue:l,itemSelected:s,isDisabled:c,hoverItem:p}}const CMe=ge({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},setup(e){const t=Xe("select"),n=M(()=>[t.be("dropdown","item"),t.is("disabled",C(r)),{selected:C(s),hover:C(u)}]),o=Rn({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:i,itemSelected:s,isDisabled:r,select:a,hoverItem:l}=vMe(e,o),{visible:c,hover:u}=ts(o),d=vt().proxy;a.onOptionCreate(d),Mn(()=>{const p=d.value,{selected:f}=a,m=(a.props.multiple?f:[f]).some(v=>v.value===d.value);ot(()=>{a.cachedOptions.get(p)===d&&!m&&a.cachedOptions.delete(p)}),a.onOptionDestroy(p,d)});function h(){e.disabled!==!0&&o.groupDisabled!==!0&&a.handleOptionSelect(d)}return{ns:t,containerKls:n,currentLabel:i,itemSelected:s,isDisabled:r,select:a,hoverItem:l,visible:c,hover:u,selectOptionClick:h,states:o}}});function bMe(e,t,n,o,i,s){return Pt((N(),ee("li",{class:U(e.containerKls),onMouseenter:t[0]||(t[0]=(...r)=>e.hoverItem&&e.hoverItem(...r)),onClick:t[1]||(t[1]=St((...r)=>e.selectOptionClick&&e.selectOptionClick(...r),["stop"]))},[ke(e.$slots,"default",{},()=>[re("span",null,Be(e.currentLabel),1)])],34)),[[Dn,e.visible]])}var hw=Qe(CMe,[["render",bMe],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);const yMe=ge({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=je(a2),t=Xe("select"),n=M(()=>e.props.popperClass),o=M(()=>e.props.multiple),i=M(()=>e.props.fitInputWidth),s=J("");function r(){var a;s.value=`${(a=e.selectWrapper)==null?void 0:a.offsetWidth}px`}return Dt(()=>{r(),Cd(e.selectWrapper,r)}),{ns:t,minWidth:s,popperClass:n,isMultiple:o,isFitInputWidth:i}}});function wMe(e,t,n,o,i,s){return N(),ee("div",{class:U([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:ft({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[ke(e.$slots,"default")],6)}var SMe=Qe(yMe,[["render",wMe],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);function EMe(e){const{t}=oo();return Rn({options:new Map,cachedOptions:new Map,createdLabel:null,createdSelected:!1,selected:e.multiple?[]:{}
1721,inputLength:20,inputWidth:0,optionsCount:0,filteredOptionsCount:0,visible:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,cachedPlaceHolder:"",currentPlaceholder:t("el.select.placeholder"),menuVisibleOnFocus:!1,isOnComposition:!1,prefixWidth:11,mouseEnter:!1})}let fC=!1;const TMe=(e,t,n)=>{const{t:o}=oo(),i=Xe("select");t2({from:"suffixTransition",replacement:"override style scheme",version:"2.3.0",scope:"props",ref:"https://element-plus.org/en-US/component/select.html#select-attributes"},M(()=>e.suffixTransition===!1));const s=J(null),r=J(null),a=J(null),l=J(null),c=J(null),u=J(null),d=J(null),h=J(null),p=J(-1),f=pt({query:""}),g=pt(""),m=J([]);let v=0;const{form:y,formItem:b}=ps(),w=M(()=>!e.filterable||e.multiple||!t.visible),S=M(()=>e.disabled||y?.disabled),E=M(()=>{const ue=e.multiple?Array.isArray(e.modelValue)&&e.modelValue.length>0:e.modelValue!==void 0&&e.modelValue!==null&&e.modelValue!=="";return e.clearable&&!S.value&&t.inputHovering&&ue}),T=M(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),R=M(()=>i.is("reverse",T.value&&t.visible&&e.suffixTransition)),A=M(()=>e.remote?300:0),k=M(()=>e.loading?e.loadingText||o("el.select.loading"):e.remote&&t.query===""&&t.options.size===0?!1:e.filterable&&t.query&&t.options.size>0&&t.filteredOptionsCount===0?e.noMatchText||o("el.select.noMatch"):t.options.size===0?e.noDataText||o("el.select.noData"):null),D=M(()=>{const ue=Array.from(t.options.values()),Te=[];return m.value.forEach(Ne=>{const ut=ue.findIndex(io=>io.currentLabel===Ne);ut>-1&&Te.push(ue[ut])}),Te.length?Te:ue}),V=M(()=>Array.from(t.cachedOptions.values())),O=M(()=>{const ue=D.value.filter(Te=>!Te.created).some(Te=>Te.currentLabel===t.query);return e.filterable&&e.allowCreate&&t.query!==""&&!ue}),F=Ai(),_=M(()=>["small"].includes(F.value)?"small":"default"),P=M({get(){return t.visible&&k.value!==!1},set(ue){t.visible=ue}});Le([()=>S.value,()=>F.value,()=>y?.size],()=>{ot(()=>{L()})}),Le(()=>e.placeholder,ue=>{t.cachedPlaceHolder=t.currentPlaceholder=ue,e.multiple&&Array.isArray(e.modelValue)&&e.modelValue.length>0&&(t.currentPlaceholder="")}),Le(()=>e.modelValue,(ue,Te)=>{e.multiple&&(L(),ue&&ue.length>0||r.value&&t.query!==""?t.currentPlaceholder="":t.currentPlaceholder=t.cachedPlaceHolder,e.filterable&&!e.reserveKeyword&&(t.query="",x(t.query))),z(),e.filterable&&!e.multiple&&(t.inputLength=20),!pp(ue,Te)&&e.validateEvent&&b?.validate("change").catch(Ne=>void 0)},{flush:"post",deep:!0}),Le(()=>t.visible,ue=>{var Te,Ne,ut,io,bo;ue?((Ne=(Te=l.value)==null?void 0:Te.updatePopper)==null||Ne.call(Te),e.filterable&&(t.filteredOptionsCount=t.optionsCount,t.query=e.remote?"":t.selectedLabel,(io=(ut=a.value)==null?void 0:ut.focus)==null||io.call(ut),e.multiple?(bo=r.value)==null||bo.focus():t.selectedLabel&&(t.currentPlaceholder=`${t.selectedLabel}`,t.selectedLabel=""),x(t.query),!e.multiple&&!e.remote&&(f.value.query="",Oc(f),Oc(g)))):(e.filterable&&(qe(e.filterMethod)&&e.filterMethod(""),qe(e.remoteMethod)&&e.remoteMethod("")),r.value&&r.value.blur(),t.query="",t.previousQuery=null,t.selectedLabel="",t.inputLength=20,t.menuVisibleOnFocus=!1,j(),ot(()=>{r.value&&r.value.value===""&&t.selected.length===0&&(t.currentPlaceholder=t.cachedPlaceHolder)}),e.multiple||(t.selected&&(e.filterable&&e.allowCreate&&t.createdSelected&&t.createdLabel?t.selectedLabel=t.createdLabel:t.selectedLabel=t.selected.currentLabel,e.filterable&&(t.query=t.selectedLabel)),e.filterable&&(t.currentPlaceholder=t.cachedPlaceHolder))),n.emit("visible-change",ue)}),Le(()=>t.options.entries(),()=>{var ue,Te,Ne;if(!eo)return;(Te=(ue=l.value)==null?void 0:ue.updatePopper)==null||Te.call(ue),e.multiple&&L();const ut=((Ne=d.value)==null?void 0:Ne.querySelectorAll("input"))||[];Array.from(ut).includes(document.activeElement)||z(),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&B()},{flush:"post"}),Le(()=>t.hoverIndex,ue=>{Bt(ue)&&ue>-1?p.value=D.value[ue]||{}:p.value={},D.value.forEach(Te=>{Te.hover=p.value===Te})});const L=()=>{ot(()=>{var ue,Te;if(!s.value)return;const Ne=s.value.$el.querySelector("input");v=v||(Ne.clientHeight>0?Ne.clientHeight+2:0);const ut=u.value,io=R8e(F.value||y?.size),bo=F.value||io===v||v<=0?io:v;!(Ne.offsetParent===null)&&(Ne.style.height=`${(t.selected.length===0?bo:Math.max(ut?ut.clientHeight+(ut.clientHeight>bo?6:0):0,bo))-2}px`),t.visible&&k.value!==!1&&((Te=(ue=l.value)==null?void 0:ue.updatePopper)==null||Te.call(ue))})},x=async ue=>
1721{if(!(t.previousQuery===ue||t.isOnComposition)){if(t.previousQuery===null&&(qe(e.filterMethod)||qe(e.remoteMethod))){t.previousQuery=ue;return}t.previousQuery=ue,ot(()=>{var Te,Ne;t.visible&&((Ne=(Te=l.value)==null?void 0:Te.updatePopper)==null||Ne.call(Te))}),t.hoverIndex=-1,e.multiple&&e.filterable&&ot(()=>{const Te=r.value.value.length*15+20;t.inputLength=e.collapseTags?Math.min(50,Te):Te,I(),L()}),e.remote&&qe(e.remoteMethod)?(t.hoverIndex=-1,e.remoteMethod(ue)):qe(e.filterMethod)?(e.filterMethod(ue),Oc(g)):(t.filteredOptionsCount=t.optionsCount,f.value.query=ue,Oc(f),Oc(g)),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&(await ot(),B())}},I=()=>{t.currentPlaceholder!==""&&(t.currentPlaceholder=r.value.value?"":t.cachedPlaceHolder)},B=()=>{const ue=D.value.filter(ut=>ut.visible&&!ut.disabled&&!ut.states.groupDisabled),Te=ue.find(ut=>ut.created),Ne=ue[0];t.hoverIndex=Z(D.value,Te||Ne)},z=()=>{var ue;if(e.multiple)t.selectedLabel="";else{const Ne=H(e.modelValue);(ue=Ne.props)!=null&&ue.created?(t.createdLabel=Ne.props.value,t.createdSelected=!0):t.createdSelected=!1,t.selectedLabel=Ne.currentLabel,t.selected=Ne,e.filterable&&(t.query=t.selectedLabel);return}const Te=[];Array.isArray(e.modelValue)&&e.modelValue.forEach(Ne=>{Te.push(H(Ne))}),t.selected=Te,ot(()=>{L()})},H=ue=>{let Te;const Ne=qd(ue).toLowerCase()==="object",ut=qd(ue).toLowerCase()==="null",io=qd(ue).toLowerCase()==="undefined";for(let Ks=t.cachedOptions.size-1;Ks>=0;Ks--){const oi=V.value[Ks];if(Ne?ci(oi.value,e.valueKey)===ci(ue,e.valueKey):oi.value===ue){Te={value:ue,currentLabel:oi.currentLabel,isDisabled:oi.isDisabled};break}}if(Te)return Te;const bo=Ne?ue.label:!ut&&!io?ue:"",Zs={value:ue,currentLabel:bo};return e.multiple&&(Zs.hitState=!1),Zs},j=()=>{setTimeout(()=>{const ue=e.valueKey;e.multiple?t.selected.length>0?t.hoverIndex=Math.min.apply(null,t.selected.map(Te=>D.value.findIndex(Ne=>ci(Ne,ue)===ci(Te,ue)))):t.hoverIndex=-1:t.hoverIndex=D.value.findIndex(Te=>He(Te)===He(t.selected))},300)},Q=()=>{var ue,Te;ce(),(Te=(ue=l.value)==null?void 0:ue.updatePopper)==null||Te.call(ue),e.multiple&&L()},ce=()=>{var ue;t.inputWidth=(ue=s.value)==null?void 0:ue.$el.offsetWidth},pe=()=>{e.filterable&&t.query!==t.selectedLabel&&(t.query=t.selectedLabel,x(t.query))},te=yr(()=>{pe()},A.value),ne=yr(ue=>{x(ue.target.value)},A.value),le=ue=>{pp(e.modelValue,ue)||n.emit(xi,ue)},ae=ue=>{if(ue.code!==bt.delete){if(ue.target.value.length<=0&&!q()){const Te=e.modelValue.slice();Te.pop(),n.emit(At,Te),le(Te)}ue.target.value.length===1&&e.modelValue.length===0&&(t.currentPlaceholder=t.cachedPlaceHolder)}},Re=(ue,Te)=>{const Ne=t.selected.indexOf(Te);if(Ne>-1&&!S.value){const ut=e.modelValue.slice();ut.splice(Ne,1),n.emit(At,ut),le(ut),n.emit("remove-tag",Te.value)}ue.stopPropagation()},Oe=ue=>{ue.stopPropagation();const Te=e.multiple?[]:"";if(!lt(Te))for(const Ne of t.selected)Ne.isDisabled&&Te.push(Ne.value);n.emit(At,Te),le(Te),t.hoverIndex=-1,t.visible=!1,n.emit("clear")},W=ue=>{var Te;if(e.multiple){const Ne=(e.modelValue||[]).slice(),ut=Z(Ne,ue.value);ut>-1?Ne.splice(ut,1):(e.multipleLimit<=0||Ne.length<e.multipleLimit)&&Ne.push(ue.value),n.emit(At,Ne),le(Ne),ue.created&&(t.query="",x(""),t.inputLength=20),e.filterable&&((Te=r.value)==null||Te.focus())}else n.emit(At,ue.value),le(ue.value),t.visible=!1;ie(),!t.visible&&ot(()=>{be(ue)})},Z=(ue=[],Te)=>{if(!Et(Te))return ue.indexOf(Te);const Ne=e.valueKey;let ut=-1;return ue.some((io,bo)=>Ct(ci(io,Ne))===ci(Te,Ne)?(ut=bo,!0):!1),ut},ie=()=>{const ue=r.value||s.value;ue&&ue?.focus()},be=ue=>{var Te,Ne,ut,io,bo;const Zs=Array.isArray(ue)?ue[0]:ue;let Ks=null;if(Zs?.value){const oi=D.value.filter(gf=>gf.value===Zs.value);oi.length>0&&(Ks=oi[0].$el)}if(l.value&&Ks){const oi=(io=(ut=(Ne=(Te=l.value)==null?void 0:Te.popperRef)==null?void 0:Ne.contentRef)==null?void 0:ut.querySelector)==null?void 0:io.call(ut,`.${i.be("dropdown","wrap")}`);oi&&W6e(oi,Ks)}(bo=h.value)==null||bo.handleScroll()},me=ue=>{t.optionsCount++,t.filteredOptionsCount++,t.options.set(ue.value,ue),t.cachedOptions.set(ue.value,ue)},$=(ue,Te)=>{t.options.get(ue)===Te&&(t.optionsCount--,t.filteredOptionsCount--,t.options.delete(ue))},G=ue=>{ue.code!==bt.backspace&&q(!1),t.inputLength=r.value.value.length*15+20,L()},q=ue=>{if(!Array.isArray(t.selected))return;const Te=t.selected[t.selected.length-1];if(Te)return ue===!0||ue===!1?(Te.hitState=ue,ue):(Te.hitState=!Te.hitState,Te.hitState)},fe=ue=>{const Te=ue.target.value;if(ue.type==="compositionend")t.isOnComposition=!1,ot(()=>x(Te));else{const Ne=Te[Te.length-1]||"";t.isOnComposition=!eO(Ne)}},ye=()=>{ot(()=>be(t.selected))},Pe=ue=>{fC?fC=!1:((e.automaticDropdown||e.filterable)&&(e.filterable&&!t.visible&&(t.menuVisibleOnFocus=!0),t.visible=!0),n.emit("focus",ue))},X=()=>{var ue,Te,Ne;t.visible=!1,(ue=s.value)==null||ue.blur(),(Ne=(Te=a.value)==null?void 0:Te.blur)==null||Ne.call(Te)},K=ue=>{setTimeout(()=>{var Te;if((Te=l.value)!=null&&Te.isFocusInsideContent()){fC=!0;return}t.visible&&Fe(),n.emit("blur",ue)})},Ee=ue=>{Oe(ue)},Fe=()=>{t.visible=!1},et=ue=>{t.visible&&(ue.preventDefault(),ue.stopPropagation(),t.visible=!1)},de=ue=>{var Te;ue&&!t.mouseEnter||S.value||(t.menuVisibleOnFocus?t.menuVisibleOnFocus=!1:(!l.value||!l.value.isFocusInsideContent())&&(t.visible=!t.visible),t.visible&&((Te=r.value||s.value)==null||Te.focus()))},Ae=()=>{t.visible?D.value[t.hoverIndex]&&W(D.value[t.hoverIndex]):de()},He=ue=>Et(ue.value)?ci(ue.value,e.valueKey):ue.value,It=M(()=>D.value.filter(ue=>ue.visible).every(ue=>ue.disabled)),Ve=M(()=>t.selected.slice(0,e.maxCollapseTags)),Ue=M(()=>t.selected.slice(e.maxCollapseTags)),Y=ue=>{if(!t.visible){t.visible=!0;return}if(!(t.options.size===0||t.filteredOptionsCount===0)&&!t.isOnComposition&&!It.value){ue==="next"?(t.hoverIndex++,t.hoverIndex===t.options.size&&(t.hoverIndex=0)):ue==="prev"&&(t.hoverIndex--,t.hoverIndex<0&&(t.hoverIndex=t.options.size-1));const Te=D.value[t.hoverIndex];(Te.disabled===!0||Te.states.groupDisabled===!0||!Te.visible)&&Y(ue),ot(()=>be(p.value))}};return{optionList:m,optionsArray:D,selectSize:F,handleResize:Q,debouncedOnInputChange:te,debouncedQueryChange:ne,deletePrevTag:ae,deleteTag:Re,deleteSelected:Oe,handleOptionSelect:W,scrollToOption:be,readonly:w,resetInputHeight:L,showClose:E,iconComponent:T,iconReverse:R,showNewOption:O,collapseTagSize:_,setSelected:z,managePlaceholder:I,selectDisabled:S,emptyText:k,toggleLastOptionHitState:q,resetInputState:G,handleComposition:fe,onOptionCreate:me,onOptionDestroy:$,handleMenuEnter:ye,handleFocus:Pe,blur:X,handleBlur:K,handleClearClick:Ee,handleClose:Fe,handleKeydownEscape:et,toggleMenu:de,selectOption:Ae,getValueKey:He,navigateOptions:Y,handleDeleteTooltipTag:(ue,Te)=>{var Ne,ut;Re(ue,Te),(ut=(Ne=c.value)==null?void 0:Ne.updatePopper)==null||ut.call(Ne)},dropMenuVisible:P,queryChange:f,groupQueryChange:g,showTagList:Ve,collapseTagList:Ue,reference:s,input:r,iOSInput:a,tooltipRef:l,tagTooltipRef:c,tags:u,selectWrapper:d,scrollbar:h,handleMouseEnter:()=>{t.mouseEnter=!0},handleMouseLeave:()=>{t.mouseEnter=!1}}};var RMe=ge({name:"ElOptions",emits:["update-options"],setup(e,{slots:t,emit:n}){let o=[];function i(s,r){if(s.length!==r.length)return!1;for(const[a]of s.entries())if(s[a]!=r[a])return!1;return!0}return()=>{var s,r;const a=(s=t.default)==null?void 0:s.call(t),l=[];function c(u){Array.isArray(u)&&u.forEach(d=>{var h,p,f,g;const m=(h=d?.type||{})==null?void 0:h.name;m==="ElOptionGroup"?c(!lt(d.children)&&!Array.isArray(d.children)&&qe((p=d.children)==null?void 0:p.default)?(f=d.children)==null?void 0:f.default():d.children):m==="ElOption"?l.push((g=d.props)==null?void 0:g.label):Array.isArray(d.children)&&c(d.children)})}return a.length&&c((r=a[0])==null?void 0:r.children),i(l,o)||(o=l,n("update-options",l)),a}}});const rR="ElSelect",PMe=ge({name:rR,componentName:rR,components:{ElInput:Ms,ElSelectMenu:SMe,ElOption:hw,ElOptions:RMe,ElTag:PTe,ElScrollbar:nw,ElTooltip:s2,ElIcon:at},directives:{ClickOutside:Fm},props:{name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:{type:String,validator:QF},effect:{type:String,default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:Object,default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:{type:Boolean,default:!1},maxCollapseTags:{type:Number,default:1},teleported:wp.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:_r,default:af},fitInputWidth:{type:Boolean,default:!1},suffixIcon:{type:_r,default:Q0},tagType:{...eN.type,default:"info"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:{type:Boolean,default:!1},suffixTransition:{type:Boolean,default:!0},placement:{type:String,values:bd,default:"bottom-start"}},emits:[At,xi,"remove-tag","clear","visible-change","focus","blur"],setup(e,t){const n=Xe("select"),o=Xe("input"),{t:i}=oo(),s=EMe(e),{optionList:r,optionsArray:a,selectSize:l,readonly:c,handleResize:u,collapseTagSize:d,debouncedOnInputChange:h,debouncedQueryChange:p,deletePrevTag:f,deleteTag:g,deleteSelected:m,handleOptionSelect:v,scrollToOption:y,setSelected:b,resetInputHeight:w,managePlaceholder:S,showClose:E,selectDisabled:T,iconComponent:R,iconReverse:A,showNewOption:k,emptyText:D,toggleLastOptionHitState:V,resetInputState:O,handleComposition:F,onOptionCreate:_,onOptionDestroy:P,handleMenuEnter:L,handleFocus:x,blur:I,handleBlur:B,handleClearClick:z,handleClose:H,handleKeydownEscape:j,toggleMenu:Q,selectOption:ce,getValueKey:pe,navigateOptions:te,handleDeleteTooltipTag:ne,dropMenuVisible:le,reference:ae,input:Re,iOSInput:Oe,tooltipRef:W,tagTooltipRef:Z,tags:ie,selectWrapper:be,scrollbar:me,queryChange:$,groupQueryChange:G,handleMouseEnter:q,handleMouseLeave:fe,showTagList:ye,collapseTagList:Pe}=TMe(e,s,t),{focus:X}
1721=x8e(ae),{inputWidth:K,selected:Ee,inputLength:Fe,filteredOptionsCount:et,visible:de,selectedLabel:Ae,hoverIndex:He,query:It,inputHovering:Ve,currentPlaceholder:Ue,menuVisibleOnFocus:Y,isOnComposition:Ie,options:rt,cachedOptions:Gt,optionsCount:ue,prefixWidth:Te}=ts(s),Ne=M(()=>{const Uo=[n.b()],sl=C(l);return sl&&Uo.push(n.m(sl)),e.disabled&&Uo.push(n.m("disabled")),Uo}),ut=M(()=>[n.e("tags"),n.is("disabled",C(T))]),io=M(()=>[n.b("tags-wrapper"),{"has-prefix":C(Te)&&C(Ee).length}]),bo=M(()=>[n.e("input"),n.is(C(l)),n.is("disabled",C(T))]),Zs=M(()=>[n.e("input"),n.is(C(l)),n.em("input","iOS")]),Ks=M(()=>[n.is("empty",!e.allowCreate&&!!C(It)&&C(et)===0)]),oi=M(()=>({maxWidth:`${C(K)-32}px`,width:"100%"})),gf=M(()=>({maxWidth:`${C(K)>123?C(K)-123:C(K)-75}px`})),aB=M(()=>({marginLeft:`${C(Te)}px`,flexGrow:1,width:`${C(Fe)/(C(K)-32)}%`,maxWidth:`${C(K)-42}px`}));Ut(a2,Rn({props:e,options:rt,optionsArray:a,cachedOptions:Gt,optionsCount:ue,filteredOptionsCount:et,hoverIndex:He,handleOptionSelect:v,onOptionCreate:_,onOptionDestroy:P,selectWrapper:be,selected:Ee,setSelected:b,queryChange:$,groupQueryChange:G})),Dt(()=>{s.cachedPlaceHolder=Ue.value=e.placeholder||(()=>i("el.select.placeholder")),e.multiple&&Array.isArray(e.modelValue)&&e.modelValue.length>0&&(Ue.value=""),Cd(be,u),e.remote&&e.multiple&&w(),ot(()=>{const Uo=ae.value&&ae.value.$el;if(Uo&&(K.value=Uo.getBoundingClientRect().width,t.slots.prefix)){const sl=Uo.querySelector(`.${o.e("prefix")}`);Te.value=Math.max(sl.getBoundingClientRect().width+11,30)}}),b()}),e.multiple&&!Array.isArray(e.modelValue)&&t.emit(At,[]),!e.multiple&&Array.isArray(e.modelValue)&&t.emit(At,"");const lB=M(()=>{var Uo,sl;return(sl=(Uo=W.value)==null?void 0:Uo.popperRef)==null?void 0:sl.contentRef});return{isIOS:RF,onOptionsRendered:Uo=>{r.value=Uo},prefixWidth:Te,selectSize:l,readonly:c,handleResize:u,collapseTagSize:d,debouncedOnInputChange:h,debouncedQueryChange:p,deletePrevTag:f,deleteTag:g,handleDeleteTooltipTag:ne,deleteSelected:m,handleOptionSelect:v,scrollToOption:y,inputWidth:K,selected:Ee,inputLength:Fe,filteredOptionsCount:et,visible:de,selectedLabel:Ae,hoverIndex:He,query:It,inputHovering:Ve,currentPlaceholder:Ue,menuVisibleOnFocus:Y,isOnComposition:Ie,options:rt,resetInputHeight:w,managePlaceholder:S,showClose:E,selectDisabled:T,iconComponent:R,iconReverse:A,showNewOption:k,emptyText:D,toggleLastOptionHitState:V,resetInputState:O,handleComposition:F,handleMenuEnter:L,handleFocus:x,blur:I,handleBlur:B,handleClearClick:z,handleClose:H,handleKeydownEscape:j,toggleMenu:Q,selectOption:ce,getValueKey:pe,navigateOptions:te,dropMenuVisible:le,focus:X,reference:ae,input:Re,iOSInput:Oe,tooltipRef:W,popperPaneRef:lB,tags:ie,selectWrapper:be,scrollbar:me,wrapperKls:Ne,tagsKls:ut,tagWrapperKls:io,inputKls:bo,iOSInputKls:Zs,scrollbarKls:Ks,selectTagsStyle:oi,nsSelect:n,tagTextStyle:gf,inputStyle:aB,handleMouseEnter:q,handleMouseLeave:fe,showTagList:ye,collapseTagList:Pe,tagTooltipRef:Z}}}),MMe=["disabled","autocomplete"],LMe=["disabled"],xMe={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}};function DMe(e,t,n,o,i,s){const r=Ke("el-tag"),a=Ke("el-tooltip"),l=Ke("el-icon"),c=Ke("el-input"),u=Ke("el-option"),d=Ke("el-options"),h=Ke("el-scrollbar"),p=Ke("el-select-menu"),f=m4("click-outside");return Pt((N(),ee("div",{ref:"selectWrapper",class:U(e.wrapperKls),onMouseenter:t[21]||(t[21]=(...g)=>e.handleMouseEnter&&e.handleMouseEnter(...g)),onMouseleave:t[22]||(t[22]=(...g)=>e.handleMouseLeave&&e.handleMouseLeave(...g)),onClick:t[23]||(t[23]=St((...g)=>e.toggleMenu&&e.toggleMenu(...g),["stop"]))},[oe(a,{ref:"tooltipRef",visible:e.dropMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-options":e.popperOptions,"fallback-placements":["bottom-start","top-start","right","left"],effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,onShow:e.handleMenuEnter},{default:se(()=>[re("div",{class:"select-trigger",onMouseenter:t[19]||(t[19]=g=>e.inputHovering=!0),onMouseleave:t[20]||(t[20]=g=>e.inputHovering=!1)},[e.multiple?(N(),ee("div",{key:0,ref:"tags",class:U(e.tagsKls),style:ft(e.selectTagsStyle)},[e.collapseTags&&e.selected.length?(N(),ve(Ti,{key:0,onAfterLeave:e.resetInputHeight},{default:se(()=>[re("span",{class:U(e.tagWrapperKls)},[(N(!0),ee(Ze,null,Tt(e.showTagList,g=>(N(),ve(r,{key:e.getValueKey(g),closable:!e.selectDisabled&&!g.isDisabled,size:e.collapseTagSize,hit:g.hitState,type:e.tagType,"disable-transitions":"",onClose:m=>e.deleteTag(m,g)},{default:se(()=>[re("span",{class:U(e.nsSelect.e("tags-text")),style:ft(e.tagTextStyle)},Be(g.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128)),e.selected.length>e.maxCollapseTags?(N(),ve(r,{key:0,closable:!1,size:e.collapseTagSize,type:e.tagType,"disable-transitions":""},{default:se(()=>[e.collapseTagsTooltip?(N(),ve(a,{key:0,ref:"tagTooltipRef",disabled:e.dropMenuVisible,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:e.teleported},{default:se(()=>[re("span",{class:U(e.nsSelect.e("tags-text"))},"+ "+Be(e.selected.length-e.maxCollapseTags),3)]),content:se(()=>[re("div",{class:U(e.nsSelect.e("collapse-tags"))},[(N(!0),ee(Ze,null,Tt(e.collapseTagList,g=>(N(),ee("div",{key:e.getValueKey(g),class:U(e.nsSelect.e("collapse-tag"))},[oe(r,{class:"in-tooltip",closable:!e.selectDisabled&&!g.isDisabled,size:e.collapseTagSize,hit:g.hitState,type:e.tagType,"disable-transitions":"",style:{margin:"2px"},onClose:m=>e.handleDeleteTooltipTag(m,g)},{default:se(()=>[re("span",{class:U(e.nsSelect.e("tags-text")),style:ft({maxWidth:e.inputWidth-75+"px"})},Be(g.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"])],2))),128))],2)]),_:1},8,["disabled","effect","teleported"])):(N(),ee("span",{key:1,class:U(e.nsSelect.e("tags-text"))},"+ "+Be(e.selected.length-e.maxCollapseTags),3))]),_:1},8,["size","type"])):Se("v-if",!0)],2)]),_:1},8,["onAfterLeave"])):Se("v-if",!0),e.collapseTags?Se("v-if",!0):(N(),ve(Ti,{key:1,onAfterLeave:e.resetInputHeight},{default:se(()=>[re("span",{class:U(e.tagWrapperKls),style:ft(e.prefixWidth&&e.selected.length?{marginLeft:`${e.prefixWidth}px`}:"")},[(N(!0),ee(Ze,null,Tt(e.selected,g=>(N(),ve(r,{key:e.getValueKey(g),closable:!e.selectDisabled&&!g.isDisabled,size:e.collapseTagSize,hit:g.hitState,type:e.tagType,"disable-transitions":"",onClose:m=>e.deleteTag(m,g)},{default:se(()=>[re("span",{class:U(e.nsSelect.e("tags-text")),style:ft({maxWidth:e.inputWidth-75+"px"})},Be(g.currentLabel),7)]),_:2},1032,["closable","size","hit","type","onClose"]))),128))],6)]),_:1},8,["onAfterLeave"])),e.filterable&&!e.selectDisabled?Pt((N(),ee("input",{key:2,ref:"input","onUpdate:modelValue":t[0]||(t[0]=g=>e.query=g),type:"text",class:U(e.inputKls),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:ft(e.inputStyle),onFocus:t[1]||(t[1]=(...g)=>e.handleFocus&&e.handleFocus(...g)),onBlur:t[2]||(t[2]=(...g)=>e.handleBlur&&e.handleBlur(...g)),onKeyup:t[3]||(t[3]=(...g)=>e.managePlaceholder&&e.managePlaceholder(...g)),onKeydown:[t[4]||(t[4]=(...g)=>e.resetInputState&&e.resetInputState(...g)),t[5]||(t[5]=Qt(St(g=>e.navigateOptions("next"),["prevent"]),["down"])),t[6]||(t[6]=Qt(St(g=>
1721e.navigateOptions("prev"),["prevent"]),["up"])),t[7]||(t[7]=Qt((...g)=>e.handleKeydownEscape&&e.handleKeydownEscape(...g),["esc"])),t[8]||(t[8]=Qt(St((...g)=>e.selectOption&&e.selectOption(...g),["stop","prevent"]),["enter"])),t[9]||(t[9]=Qt((...g)=>e.deletePrevTag&&e.deletePrevTag(...g),["delete"])),t[10]||(t[10]=Qt(g=>e.visible=!1,["tab"]))],onCompositionstart:t[11]||(t[11]=(...g)=>e.handleComposition&&e.handleComposition(...g)),onCompositionupdate:t[12]||(t[12]=(...g)=>e.handleComposition&&e.handleComposition(...g)),onCompositionend:t[13]||(t[13]=(...g)=>e.handleComposition&&e.handleComposition(...g)),onInput:t[14]||(t[14]=(...g)=>e.debouncedQueryChange&&e.debouncedQueryChange(...g))},null,46,MMe)),[[Oh,e.query]]):Se("v-if",!0)],6)):Se("v-if",!0),Se(" fix: https://github.com/element-plus/element-plus/issues/11415 "),e.isIOS&&!e.multiple&&e.filterable&&e.readonly?(N(),ee("input",{key:1,ref:"iOSInput",class:U(e.iOSInputKls),disabled:e.selectDisabled,type:"text"},null,10,LMe)):Se("v-if",!0),oe(c,{id:e.id,ref:"reference",modelValue:e.selectedLabel,"onUpdate:modelValue":t[15]||(t[15]=g=>e.selectedLabel=g),type:"text",placeholder:typeof e.currentPlaceholder=="function"?e.currentPlaceholder():e.currentPlaceholder,name:e.name,autocomplete:e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,class:U([e.nsSelect.is("focus",e.visible)]),tabindex:e.multiple&&e.filterable?-1:void 0,onFocus:e.handleFocus,onBlur:e.handleBlur,onInput:e.debouncedOnInputChange,onPaste:e.debouncedOnInputChange,onCompositionstart:e.handleComposition,onCompositionupdate:e.handleComposition,onCompositionend:e.handleComposition,onKeydown:[t[16]||(t[16]=Qt(St(g=>e.navigateOptions("next"),["stop","prevent"]),["down"])),t[17]||(t[17]=Qt(St(g=>e.navigateOptions("prev"),["stop","prevent"]),["up"])),Qt(St(e.selectOption,["stop","prevent"]),["enter"]),Qt(e.handleKeydownEscape,["esc"]),t[18]||(t[18]=Qt(g=>e.visible=!1,["tab"]))]},Si({suffix:se(()=>[e.iconComponent&&!e.showClose?(N(),ve(l,{key:0,class:U([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:se(()=>[(N(),ve(vn(e.iconComponent)))]),_:1},8,["class"])):Se("v-if",!0),e.showClose&&e.clearIcon?(N(),ve(l,{key:1,class:U([e.nsSelect.e("caret"),e.nsSelect.e("icon")]),onClick:e.handleClearClick},{default:se(()=>[(N(),ve(vn(e.clearIcon)))]),_:1},8,["class","onClick"])):Se("v-if",!0)]),_:2},[e.$slots.prefix?{name:"prefix",fn:se(()=>[re("div",xMe,[ke(e.$slots,"prefix")])])}:void 0]),1032,["id","modelValue","placeholder","name","autocomplete","size","disabled","readonly","class","tabindex","onFocus","onBlur","onInput","onPaste","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown"])],32)]),content:se(()=>[oe(p,null,{default:se(()=>[Pt(oe(h,{ref:"scrollbar",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:U(e.scrollbarKls)},{default:se(()=>[e.showNewOption?(N(),ve(u,{key:0,value:e.query,created:!0},null,8,["value"])):Se("v-if",!0),oe(d,{onUpdateOptions:e.onOptionsRendered},{default:se(()=>[ke(e.$slots,"default")]),_:3},8,["onUpdateOptions"])]),_:3},8,["wrap-class","view-class","class"]),[[Dn,e.options.size>0&&!e.loading]]),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&e.options.size===0)?(N(),ee(Ze,{key:0},[e.$slots.empty?ke(e.$slots,"empty",{key:0}):(N(),ee("p",{key:1,class:U(e.nsSelect.be("dropdown","empty"))},Be(e.emptyText),3))],64)):Se("v-if",!0)]),_:3})]),_:3},8,["visible","placement","teleported","popper-class","popper-options","effect","transition","persistent","onShow"])],34)),[[f,e.handleClose,e.popperPaneRef]])}var kMe=Qe(PMe,[["render",DMe],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);const AMe=ge({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:{type:Boolean,default:!1}},setup(e){const t=Xe("select"),n=J(!0),o=vt(),i=J([]);Ut(vN,Rn({...ts(e)}));const s=je(a2);Dt(()=>{i.value=r(o.subTree)});const r=l=>{const c=[];return Array.isArray(l.children)&&l.children.forEach(u=>{var d;u.type&&u.type.name==="ElOption"&&u.component&&u.component.proxy?c.push(u.component.proxy):(d=u.children)!=null&&d.length&&c.push(...r(u))}),c},{groupQueryChange:a}=Ct(s);return Le(a,()=>{n.value=i.value.some(l=>l.visible===!0)},{flush:"post"}),{visible:n,ns:t}}});function _Me(e,t,n,o,i,s){return Pt((N(),ee("ul",{class:U(e.ns.be("group","wrap"))},[re("li",{class:U(e.ns.be("group","title"))},Be(e.label),3),re("li",null,[re("ul",{class:U(e.ns.b("group"))},[ke(e.$slots,"default")],2)])],2)),[[Dn,e.visible]])}var CN=Qe(AMe,[["render",_Me],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);const IMe=Nn(kMe,{Option:hw,OptionGroup:CN}),FMe=Oi(hw);Oi(CN);const OMe=Je({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:{type:Boolean,default:!1},duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:xe(String),default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:xe([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:xe(Function),default:e=>`${e}%`}}),NMe=["aria-valuenow"],BMe={viewBox:"0 0 100 100"},HMe=["d","stroke","stroke-linecap","stroke-width"],VMe=["d","stroke","opacity","stroke-linecap","stroke-width"],$Me={key:0}
1721,WMe=ge({name:"ElProgress"}),GMe=ge({...WMe,props:OMe,setup(e){const t=e,n={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},o=Xe("progress"),i=M(()=>({width:`${t.percentage}%`,animationDuration:`${t.duration}s`,backgroundColor:y(t.percentage)})),s=M(()=>(t.strokeWidth/t.width*100).toFixed(1)),r=M(()=>["circle","dashboard"].includes(t.type)?Number.parseInt(`${50-Number.parseFloat(s.value)/2}`,10):0),a=M(()=>{const b=r.value,w=t.type==="dashboard";return`
1722          M 50 50
1723          m 0 ${w?"":"-"}${b}
1724          a ${b} ${b} 0 1 1 0 ${w?"-":""}${b*2}
1725          a ${b} ${b} 0 1 1 0 ${w?"":"-"}${b*2}
1726          `}),l=M(()=>2*Math.PI*r.value),c=M(()=>t.type==="dashboard"?.75:1),u=M(()=>`${-1*l.value*(1-c.value)/2}px`),d=M(()=>({strokeDasharray:`${l.value*c.value}px, ${l.value}px`,strokeDashoffset:u.value})),h=M(()=>({strokeDasharray:`${l.value*c.value*(t.percentage/100)}px, ${l.value}px`,strokeDashoffset:u.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),p=M(()=>{let b;return t.color?b=y(t.percentage):b=n[t.status]||n.default,b}),f=M(()=>t.status==="warning"?C8e:t.type==="line"?t.status==="success"?Gy:af:t.status==="success"?qF:mp),g=M(()=>t.type==="line"?12+t.strokeWidth*.4:t.width*.111111+2),m=M(()=>t.format(t.percentage));function v(b){const w=100/b.length;return b.map((E,T)=>lt(E)?{color:E,percentage:(T+1)*w}:E).sort((E,T)=>E.percentage-T.percentage)}const y=b=>{var w;const{color:S}=t;if(qe(S))return S(b);if(lt(S))return S;{const E=v(S);for(const T of E)if(T.percentage>b)return T.color;return(w=E[E.length-1])==null?void 0:w.color}};return(b,w)=>(N(),ee("div",{class:U([C(o).b(),C(o).m(b.type),C(o).is(b.status),{[C(o).m("without-text")]:!b.showText,[C(o).m("text-inside")]:b.textInside}]),role:"progressbar","aria-valuenow":b.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[b.type==="line"?(N(),ee("div",{key:0,class:U(C(o).b("bar"))},[re("div",{class:U(C(o).be("bar","outer")),style:ft({height:`${b.strokeWidth}px`})},[re("div",{class:U([C(o).be("bar","inner"),{[C(o).bem("bar","inner","indeterminate")]:b.indeterminate},{[C(o).bem("bar","inner","striped")]:b.striped},{[C(o).bem("bar","inner","striped-flow")]:b.stripedFlow}]),style:ft(C(i))},[(b.showText||b.$slots.default)&&b.textInside?(N(),ee("div",{key:0,class:U(C(o).be("bar","innerText"))},[ke(b.$slots,"default",{percentage:b.percentage},()=>[re("span",null,Be(C(m)),1)])],2)):Se("v-if",!0)],6)],6)],2)):(N(),ee("div",{key:1,class:U(C(o).b("circle")),style:ft({height:`${b.width}px`,width:`${b.width}px`})},[(N(),ee("svg",BMe,[re("path",{class:U(C(o).be("circle","track")),d:C(a),stroke:`var(${C(o).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":b.strokeLinecap,"stroke-width":C(s),fill:"none",style:ft(C(d))},null,14,HMe),re("path",{class:U(C(o).be("circle","path")),d:C(a),stroke:C(p),fill:"none",opacity:b.percentage?1:0,"stroke-linecap":b.strokeLinecap,"stroke-width":C(s),style:ft(C(h))},null,14,VMe)]))],6)),(b.showText||b.$slots.default)&&!b.textInside?(N(),ee("div",{key:2,class:U(C(o).e("text")),style:ft({fontSize:`${C(g)}px`})},[ke(b.$slots,"default",{percentage:b.percentage},()=>[b.status?(N(),ve(C(at),{key:1},{default:se(()=>[(N(),ve(vn(C(f))))]),_:1})):(N(),ee("span",$Me,Be(C(m)),1))])],6)):Se("v-if",!0)],10,NMe))}});var zMe=Qe(GMe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/progress/src/progress.vue"]]);const UMe=Nn(zMe),jMe=Je({animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:Number}}),ZMe=Je({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),KMe=ge({name:"ElSkeletonItem"}),qMe=ge({...KMe,props:ZMe,setup(e){const t=Xe("skeleton");return(n,o)=>(N(),ee("div",{class:U([C(t).e("item"),C(t).e(n.variant)])},[n.variant==="image"?(N(),ve(C(p8e),{key:0})):Se("v-if",!0)],2))}});var Nm=Qe(qMe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton-item.vue"]]);const YMe=ge({name:"ElSkeleton"}),XMe=ge({...YMe,props:jMe,setup(e,{expose:t}){const n=e,o=Xe("skeleton"),i=W9e(rn(n,"loading"),n.throttle);return t({uiLoading:i}),(s,r)=>C(i)?(N(),ee("div",Rt({key:0,class:[C(o).b(),C(o).is("animated",s.animated)]},s.$attrs),[(N(!0),ee(Ze,null,Tt(s.count,a=>(N(),ee(Ze,{key:a},[s.loading?ke(s.$slots,"template",{key:a},()=>[oe(Nm,{class:U(C(o).is("first")),variant:"p"},null,8,["class"]),(N(!0),ee(Ze,null,Tt(s.rows,l=>(N(),ve(Nm,{key:l,class:U([C(o).e("paragraph"),C(o).is("last",l===s.rows&&s.rows>1)]),variant:"p"},null,8,["class"]))),128))]):Se("v-if",!0)],64))),128))],16)):ke(s.$slots,"default",_i(Rt({key:1},s.$attrs)))}});var JMe=Qe(XMe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton.vue"]]);const QMe=Nn(JMe,{SkeletonItem:Nm}),eLe=Oi(Nm),bN=Symbol("sliderContextKey"),tLe=Je({modelValue:{type:xe([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:rs,inputSize:rs,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:xe(Function),default:void 0},disabled:Boolean,range:Boolean,vertical:Boolean,height:String,debounce:{type:Number,default:300},label:{type:String,default:void 0},rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:xe(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:bd,default:"top"},marks:{type:xe(Object)}
1726,validateEvent:{type:Boolean,default:!0}}),gC=e=>Bt(e)||_e(e)&&e.every(Bt),nLe={[At]:gC,[As]:gC,[xi]:gC},oLe=(e,t,n)=>{const o=J();return Dt(async()=>{e.range?(Array.isArray(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):(typeof e.modelValue!="number"||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),Ci(window,"resize",n),await ot(),n()}),{sliderWrapper:o}},iLe=e=>M(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((n,o)=>n-o).filter(n=>n<=e.max&&n>=e.min).map(n=>({point:n,position:(n-e.min)*100/(e.max-e.min),mark:e.marks[n]})):[]),sLe=(e,t,n)=>{const{form:o,formItem:i}=ps(),s=pt(),r=J(),a=J(),l={firstButton:r,secondButton:a},c=M(()=>e.disabled||o?.disabled||!1),u=M(()=>Math.min(t.firstValue,t.secondValue)),d=M(()=>Math.max(t.firstValue,t.secondValue)),h=M(()=>e.range?`${100*(d.value-u.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),p=M(()=>e.range?`${100*(u.value-e.min)/(e.max-e.min)}%`:"0%"),f=M(()=>e.vertical?{height:e.height}:{}),g=M(()=>e.vertical?{height:h.value,bottom:p.value}:{width:h.value,left:p.value}),m=()=>{s.value&&(t.sliderSize=s.value[`client${e.vertical?"Height":"Width"}`])},v=D=>{const V=e.min+D*(e.max-e.min)/100;if(!e.range)return r;let O;return Math.abs(u.value-V)<Math.abs(d.value-V)?O=t.firstValue<t.secondValue?"firstButton":"secondButton":O=t.firstValue>t.secondValue?"firstButton":"secondButton",l[O]},y=D=>{const V=v(D);return V.value.setPosition(D),V},b=D=>{t.firstValue=D,S(e.range?[u.value,d.value]:D)},w=D=>{t.secondValue=D,e.range&&S([u.value,d.value])},S=D=>{n(At,D),n(As,D)},E=async()=>{await ot(),n(xi,e.range?[u.value,d.value]:e.modelValue)},T=D=>{var V,O,F,_,P,L;if(c.value||t.dragging)return;m();let x=0;if(e.vertical){const I=(F=(O=(V=D.touches)==null?void 0:V.item(0))==null?void 0:O.clientY)!=null?F:D.clientY;x=(s.value.getBoundingClientRect().bottom-I)/t.sliderSize*100}else{const I=(L=(P=(_=D.touches)==null?void 0:_.item(0))==null?void 0:P.clientX)!=null?L:D.clientX,B=s.value.getBoundingClientRect().left;x=(I-B)/t.sliderSize*100}if(!(x<0||x>100))return y(x)};return{elFormItem:i,slider:s,firstButton:r,secondButton:a,sliderDisabled:c,minValue:u,maxValue:d,runwayStyle:f,barStyle:g,resetSize:m,setPosition:y,emitChange:E,onSliderWrapperPrevent:D=>{var V,O;((V=l.firstButton.value)!=null&&V.dragging||(O=l.secondButton.value)!=null&&O.dragging)&&D.preventDefault()},onSliderClick:D=>{T(D)&&E()},onSliderDown:async D=>{const V=T(D);V&&(await ot(),V.value.onButtonDown(D))},setFirstValue:b,setSecondValue:w}},{left:rLe,down:aLe,right:lLe,up:cLe,home:uLe,end:dLe,pageUp:hLe,pageDown:pLe}=bt,fLe=(e,t,n)=>{const o=J(),i=J(!1),s=M(()=>t.value instanceof Function),r=M(()=>s.value&&t.value(e.modelValue)||e.modelValue),a=yr(()=>{n.value&&(i.value=!0)},50),l=yr(()=>{n.value&&(i.value=!1)},50);return{tooltip:o,tooltipVisible:i,formatValue:r,displayTooltip:a,hideTooltip:l}},gLe=(e,t,n)=>{const{disabled:o,min:i,max:s,step:r,showTooltip:a,precision:l,sliderSize:c,formatTooltip:u,emitChange:d,resetSize:h,updateDragging:p}=je(bN),{tooltip:f,tooltipVisible:g,formatValue:m,displayTooltip:v,hideTooltip:y}=fLe(e,u,a),b=J(),w=M(()=>`${(e.modelValue-i.value)/(s.value-i.value)*100}%`),S=M(()=>e.vertical?{bottom:w.value}:{left:w.value}),E=()=>{t.hovering=!0,v()},T=()=>{t.hovering=!1,t.dragging||y()},R=H=>{o.value||(H.preventDefault(),x(H),window.addEventListener("mousemove",I),window.addEventListener("touchmove",I),window.addEventListener("mouseup",B),window.addEventListener("touchend",B),window.addEventListener("contextmenu",B),b.value.focus())},A=H=>{o.value||(t.newPosition=Number.parseFloat(w.value)+H/(s.value-i.value)*100,z(t.newPosition),d())},k=()=>{A(-r.value)},D=()=>{A(r.value)},V=()=>{A(-r.value*4)},O=()=>{A(r.value*4)},F=()=>{o.value||(z(0),d())},_=()=>{o.value||(z(100),d())},P=H=>{let j=!0;[rLe,aLe].includes(H.key)?k():[lLe,cLe].includes(H.key)?D():H.key===uLe?F():H.key===dLe?_():H.key===pLe?V():H.key===hLe?O():j=!1,j&&H.preventDefault()},L=H=>{let j,Q;return H.type.startsWith("touch")?(Q=H.touches[0].clientY,j=H.touches[0].clientX):(Q=H.clientY,j=H.clientX),{clientX:j,clientY:Q}},x=H=>{t.dragging=!0,t.isClick=!0;const{clientX:j,clientY:Q}=L(H);e.vertical?t.startY=Q:t.startX=j,t.startPosition=Number.parseFloat(w.value),t.newPosition=t.startPosition},I=H=>{if(t.dragging){t.isClick=!1,v(),h();let j;const{clientX:Q,clientY:ce}
1726=L(H);e.vertical?(t.currentY=ce,j=(t.startY-t.currentY)/c.value*100):(t.currentX=Q,j=(t.currentX-t.startX)/c.value*100),t.newPosition=t.startPosition+j,z(t.newPosition)}},B=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||y(),t.isClick||z(t.newPosition),d()},0),window.removeEventListener("mousemove",I),window.removeEventListener("touchmove",I),window.removeEventListener("mouseup",B),window.removeEventListener("touchend",B),window.removeEventListener("contextmenu",B))},z=async H=>{if(H===null||Number.isNaN(+H))return;H<0?H=0:H>100&&(H=100);const j=100/((s.value-i.value)/r.value);let ce=Math.round(H/j)*j*(s.value-i.value)*.01+i.value;ce=Number.parseFloat(ce.toFixed(l.value)),ce!==e.modelValue&&n(At,ce),!t.dragging&&e.modelValue!==t.oldValue&&(t.oldValue=e.modelValue),await ot(),t.dragging&&v(),f.value.updatePopper()};return Le(()=>t.dragging,H=>{p(H)}),{disabled:o,button:b,tooltip:f,tooltipVisible:g,showTooltip:a,wrapperStyle:S,formatValue:m,handleMouseEnter:E,handleMouseLeave:T,onButtonDown:R,onKeyDown:P,setPosition:z}},mLe=(e,t,n,o)=>({stops:M(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step===0)return[];const r=(e.max-e.min)/e.step,a=100*e.step/(e.max-e.min),l=Array.from({length:r-1}).map((c,u)=>(u+1)*a);return e.range?l.filter(c=>c<100*(n.value-e.min)/(e.max-e.min)||c>100*(o.value-e.min)/(e.max-e.min)):l.filter(c=>c>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:r=>e.vertical?{bottom:`${r}%`}:{left:`${r}%`}}),vLe=(e,t,n,o,i,s)=>{const r=c=>{i(At,c),i(As,c)},a=()=>e.range?![n.value,o.value].every((c,u)=>c===t.oldValue[u]):e.modelValue!==t.oldValue,l=()=>{var c,u;e.min>e.max&&js("Slider","min should not be greater than max.");const d=e.modelValue;e.range&&Array.isArray(d)?d[1]<e.min?r([e.min,e.min]):d[0]>e.max?r([e.max,e.max]):d[0]<e.min?r([e.min,d[1]]):d[1]>e.max?r([d[0],e.max]):(t.firstValue=d[0],t.secondValue=d[1],a()&&(e.validateEvent&&((c=s?.validate)==null||c.call(s,"change").catch(h=>void 0)),t.oldValue=d.slice())):!e.range&&typeof d=="number"&&!Number.isNaN(d)&&(d<e.min?r(e.min):d>e.max?r(e.max):(t.firstValue=d,a()&&(e.validateEvent&&((u=s?.validate)==null||u.call(s,"change").catch(h=>void 0)),t.oldValue=d)))};l(),Le(()=>t.dragging,c=>{c||l()}),Le(()=>e.modelValue,(c,u)=>{t.dragging||Array.isArray(c)&&Array.isArray(u)&&c.every((d,h)=>d===u[h])&&t.firstValue===c[0]&&t.secondValue===c[1]||l()},{deep:!0}),Le(()=>[e.min,e.max],()=>{l()})},CLe=Je({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:bd,default:"top"}}),bLe={[At]:e=>Bt(e)},yLe=["tabindex"],wLe=ge({name:"ElSliderButton"}),SLe=ge({...wLe,props:CLe,emits:bLe,setup(e,{expose:t,emit:n}){const o=e,i=Xe("slider"),s=Rn({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:o.modelValue}),{disabled:r,button:a,tooltip:l,showTooltip:c,tooltipVisible:u,wrapperStyle:d,formatValue:h,handleMouseEnter:p,handleMouseLeave:f,onButtonDown:g,onKeyDown:m,setPosition:v}=gLe(o,s,n),{hovering:y,dragging:b}=ts(s);return t({onButtonDown:g,onKeyDown:m,setPosition:v,hovering:y,dragging:b}),(w,S)=>(N(),ee("div",{ref_key:"button",ref:a,class:U([C(i).e("button-wrapper"),{hover:C(y),dragging:C(b)}]),style:ft(C(d)),tabindex:C(r)?-1:0,onMouseenter:S[0]||(S[0]=(...E)=>C(p)&&C(p)(...E)),onMouseleave:S[1]||(S[1]=(...E)=>C(f)&&C(f)(...E)),onMousedown:S[2]||(S[2]=(...E)=>C(g)&&C(g)(...E)),onTouchstart:S[3]||(S[3]=(...E)=>C(g)&&C(g)(...E)),onFocus:S[4]||(S[4]=(...E)=>C(p)&&C(p)(...E)),onBlur:S[5]||(S[5]=(...E)=>C(f)&&C(f)(...E)),onKeydown:S[6]||(S[6]=(...E)=>C(m)&&C(m)(...E))},[oe(C(s2),{ref_key:"tooltip",ref:l,visible:C(u),placement:w.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":w.tooltipClass,disabled:!C(c),persistent:""},{content:se(()=>[re("span",null,Be(C(h)),1)]),default:se(()=>[re("div",{class:U([C(i).e("button"),{hover:C(y),dragging:C(b)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled"])],46,yLe))}});var aR=Qe(SLe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/button.vue"]]);const ELe=Je({mark:{type:xe([String,Object]),default:void 0}});var TLe=ge({name:"ElSliderMarker",props:ELe,setup(e){const t=Xe("slider"),n=M(()=>lt(e.mark)?e.mark:e.mark.label),o=M(()=>lt(e.mark)?void 0:e.mark.style);return()=>Ii("div",{class:t.e("marks-text"),style:o.value},n.value)}});const RLe=["id","role","aria-label","aria-labelledby"],PLe={key:1},MLe=ge({name:"ElSlider"}),LLe=ge({...MLe,props:tLe,emits:nLe,setup(e,{expose:t,emit:n}){const o=e,i=Xe("slider"),{t:s}=oo(),r=Rn({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:a,slider:l,firstButton:c,secondButton:u,sliderDisabled:d,minValue:h,maxValue:p,runwayStyle:f,barStyle:g,resetSize:m,emitChange:v,onSliderWrapperPrevent:y,onSliderClick:b,onSliderDown:w,setFirstValue:S,setSecondValue:E}=sLe(o,r,n),{stops:T,getStopStyle:R}=mLe(o,r,h,p),{inputId:A,isLabeledByFormItem:k}=yd(o,{formItemContext:a}),D=Ai(),V=M(()=>o.inputSize||D.value),O=M(()=>o.label||s("el.slider.defaultLabel",{min:o.min,max:o.max})),F=M(()=>o.range?o.rangeStartLabel||s("el.slider.defaultRangeStartLabel"):O.value),_=M(()=>o.formatValueText?o.formatValueText(H.value):`${H.value}`),P=M(()=>o.rangeEndLabel||s("el.slider.defaultRangeEndLabel")),L=M(()=>o.formatValueText?o.formatValueText(j.value):`${j.value}`),x=M(()=>
1726[i.b(),i.m(D.value),i.is("vertical",o.vertical),{[i.m("with-input")]:o.showInput}]),I=iLe(o);vLe(o,r,h,p,n,a);const B=M(()=>{const pe=[o.min,o.max,o.step].map(te=>{const ne=`${te}`.split(".")[1];return ne?ne.length:0});return Math.max.apply(null,pe)}),{sliderWrapper:z}=oLe(o,r,m),{firstValue:H,secondValue:j,sliderSize:Q}=ts(r),ce=pe=>{r.dragging=pe};return Ut(bN,{...ts(o),sliderSize:Q,disabled:d,precision:B,emitChange:v,resetSize:m,updateDragging:ce}),t({onSliderClick:b}),(pe,te)=>{var ne,le;return N(),ee("div",{id:pe.range?C(A):void 0,ref_key:"sliderWrapper",ref:z,class:U(C(x)),role:pe.range?"group":void 0,"aria-label":pe.range&&!C(k)?C(O):void 0,"aria-labelledby":pe.range&&C(k)?(ne=C(a))==null?void 0:ne.labelId:void 0,onTouchstart:te[2]||(te[2]=(...ae)=>C(y)&&C(y)(...ae)),onTouchmove:te[3]||(te[3]=(...ae)=>C(y)&&C(y)(...ae))},[re("div",{ref_key:"slider",ref:l,class:U([C(i).e("runway"),{"show-input":pe.showInput&&!pe.range},C(i).is("disabled",C(d))]),style:ft(C(f)),onMousedown:te[0]||(te[0]=(...ae)=>C(w)&&C(w)(...ae)),onTouchstart:te[1]||(te[1]=(...ae)=>C(w)&&C(w)(...ae))},[re("div",{class:U(C(i).e("bar")),style:ft(C(g))},null,6),oe(aR,{id:pe.range?void 0:C(A),ref_key:"firstButton",ref:c,"model-value":C(H),vertical:pe.vertical,"tooltip-class":pe.tooltipClass,placement:pe.placement,role:"slider","aria-label":pe.range||!C(k)?C(F):void 0,"aria-labelledby":!pe.range&&C(k)?(le=C(a))==null?void 0:le.labelId:void 0,"aria-valuemin":pe.min,"aria-valuemax":pe.range?C(j):pe.max,"aria-valuenow":C(H),"aria-valuetext":C(_),"aria-orientation":pe.vertical?"vertical":"horizontal","aria-disabled":C(d),"onUpdate:modelValue":C(S)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),pe.range?(N(),ve(aR,{key:0,ref_key:"secondButton",ref:u,"model-value":C(j),vertical:pe.vertical,"tooltip-class":pe.tooltipClass,placement:pe.placement,role:"slider","aria-label":C(P),"aria-valuemin":C(H),"aria-valuemax":pe.max,"aria-valuenow":C(j),"aria-valuetext":C(L),"aria-orientation":pe.vertical?"vertical":"horizontal","aria-disabled":C(d),"onUpdate:modelValue":C(E)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):Se("v-if",!0),pe.showStops?(N(),ee("div",PLe,[(N(!0),ee(Ze,null,Tt(C(T),(ae,Re)=>
1726(N(),ee("div",{key:Re,class:U(C(i).e("stop")),style:ft(C(R)(ae))},null,6))),128))])):Se("v-if",!0),C(I).length>0?(N(),ee(Ze,{key:2},[re("div",null,[(N(!0),ee(Ze,null,Tt(C(I),(ae,Re)=>(N(),ee("div",{key:Re,style:ft(C(R)(ae.position)),class:U([C(i).e("stop"),C(i).e("marks-stop")])},null,6))),128))]),re("div",{class:U(C(i).e("marks"))},[(N(!0),ee(Ze,null,Tt(C(I),(ae,Re)=>(N(),ve(C(TLe),{key:Re,mark:ae.mark,style:ft(C(R)(ae.position))},null,8,["mark","style"]))),128))],2)],64)):Se("v-if",!0)],38),pe.showInput&&!pe.range?(N(),ve(C(mMe),{key:0,ref:"input","model-value":C(H),class:U(C(i).e("input")),step:pe.step,disabled:C(d),controls:pe.showInputControls,min:pe.min,max:pe.max,debounce:pe.debounce,size:C(V),"onUpdate:modelValue":C(S),onChange:C(v)},null,8,["model-value","class","step","disabled","controls","min","max","debounce","size","onUpdate:modelValue","onChange"])):Se("v-if",!0)],42,RLe)}}});var xLe=Qe(LLe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/slider.vue"]]);const DLe=Nn(xLe),kLe=Je({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:String,validator:QF},width:{type:[String,Number],default:""},inlinePrompt:{type:Boolean,default:!1},activeIcon:{type:_r},inactiveIcon:{type:_r},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},borderColor:{type:String,default:""},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:xe(Function)},id:String,tabindex:{type:[String,Number]},value:{type:[Boolean,String,Number],default:!1}}),ALe={[At]:e=>es(e)||lt(e)||Bt(e),[xi]:e=>es(e)||lt(e)||Bt(e),[As]:e=>es(e)||lt(e)||Bt(e)},_Le=["onClick"],ILe=["id","aria-checked","aria-disabled","name","true-value","false-value","disabled","tabindex","onKeydown"],FLe=["aria-hidden"],OLe=["aria-hidden"],NLe=["aria-hidden"],B3="ElSwitch",BLe=ge({name:B3}),HLe=ge({...BLe,props:kLe,emits:ALe,setup(e,{expose:t,emit:n}){const o=e,i=vt(),{formItem:s}=ps(),r=Ai(),a=Xe("switch");(R=>{R.forEach(A=>{t2({from:A[0],replacement:A[1],scope:B3,version:"2.3.0",ref:"https://element-plus.org/en-US/component/switch.html#attributes",type:"Attribute"},M(()=>{var k;return!!((k=i.vnode.props)!=null&&k[A[2]])}))})})([['"value"','"model-value" or "v-model"',"value"],['"active-color"',"CSS var `--el-switch-on-color`","activeColor"],['"inactive-color"',"CSS var `--el-switch-off-color`","inactiveColor"],['"border-color"',"CSS var `--el-switch-border-color`","borderColor"]]);const{inputId:c}=yd(o,{formItemContext:s}),u=hs(M(()=>o.loading)),d=J(o.modelValue!==!1),h=J(),p=J(),f=M(()=>[a.b(),a.m(r.value),a.is("disabled",u.value),a.is("checked",b.value)]),g=M(()=>[a.e("label"),a.em("label","left"),a.is("active",!b.value)]),m=M(()=>[a.e("label"),a.em("label","right"),a.is("active",b.value)]),v=M(()=>({width:gp(o.width)}));Le(()=>o.modelValue,()=>{d.value=!0}),Le(()=>o.value,()=>{d.value=!1});const y=M(()=>d.value?o.modelValue:o.value),b=M(()=>y.value===o.activeValue);[o.activeValue,o.inactiveValue].includes(y.value)||(n(At,o.inactiveValue),n(xi,o.inactiveValue),n(As,o.inactiveValue)),Le(b,R=>{var A;h.value.checked=R,o.validateEvent&&((A=s?.validate)==null||A.call(s,"change").catch(k=>void 0))});const w=()=>{const R=b.value?o.inactiveValue:o.activeValue;n(At,R),n(xi,R),n(As,R),ot(()=>{h.value.checked=b.value})},S=()=>{if(u.value)return;const{beforeChange:R}=o;if(!R){w();return}const A=R();[wu(A),es(A)].includes(!0)||js(B3,"beforeChange must return type `Promise<boolean>` or `boolean`"),wu(A)?A.then(D=>{D&&w()}).catch(D=>{}):A&&w()},E=M(()=>a.cssVarBlock({...o.activeColor?{"on-color":o.activeColor}:null,...o.inactiveColor?{"off-color":o.inactiveColor}:null,...o.borderColor?{"border-color":o.borderColor}:null})),T=()=>{var R,A;(A=(R=h.value)==null?void 0:R.focus)==null||A.call(R)};return Dt(()=>{h.value.checked=b.value}),t({focus:T,checked:b}),(R,A)=>(N(),ee("div",{class:U(C(f)),style:ft(C(E)),onClick:St(S,["prevent"])},[re("input",{id:C(c),ref_key:"input",ref:h,class:U(C(a).e("input")),type:"checkbox",role:"switch","aria-checked":C(b),"aria-disabled":C(u),name:R.name,"true-value":R.activeValue,"false-value":R.inactiveValue,disabled:C(u),tabindex:R.tabindex,onChange:w,onKeydown:Qt(S,["enter"])},null,42,ILe),!R.inlinePrompt&&(R.inactiveIcon||R.inactiveText)?(N(),ee("span",{key:0,class:U(C(g))},[R.inactiveIcon?(N(),ve(C(at),{key:0},{default:se(()=>[(N(),ve(vn(R.inactiveIcon)))]),_:1})):Se("v-if",!0),!R.inactiveIcon&&R.inactiveText?(N(),ee("span",{key:1,"aria-hidden":C(b)},Be(R.inactiveText),9,FLe)):Se("v-if",!0)],2)):Se("v-if",!0),re("span",{ref_key:"core",ref:p,class:U(C(a).e("core")),style:ft(C(v))},[R.inlinePrompt?(N(),ee("div",{key:0,class:U(C(a).e("inner"))},[R.activeIcon||R.inactiveIcon?(N(),ve(C(at),{key:0,class:U(C(a).is("icon"))},{default:se(()=>[(N(),ve(vn(C(b)?R.activeIcon:R.inactiveIcon)))]),_:1},8,["class"])):R.activeText||R.inactiveText?(N(),ee("span",{key:1,class:U(C(a).is("text")),"aria-hidden":!C(b)},Be(C(b)?R.activeText:R.inactiveText),11,OLe)):Se("v-if",!0)],2)):Se("v-if",!0),re("div",{class:U(C(a).e("action"))},[R.loading?(N(),ve(C(at),{key:0,class:U(C(a).is("loading"))},{default:se(()=>[oe(C(zy))]),_:1},8,["class"])):Se("v-if",!0)],2)],6),!R.inlinePrompt&&(R.activeIcon||R.activeText)?(N(),ee("span",{key:1,class:U(C(m))},[R.activeIcon?(N(),ve(C(at),{key:0},{default:se(()=>[(N(),ve(vn(R.activeIcon)))]),_:1})):Se("v-if",!0),!R.activeIcon&&R.activeText?(N(),ee("span",{key:1,"aria-hidden":!C(b)},Be(R.activeText),9,NLe)):Se("v-if",!0)],2)):Se("v-if",!0)],14,_Le))}});var VLe=Qe(HLe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/switch/src/switch.vue"]]);const $Le=Nn(VLe),l2=Symbol("tabsRootContextKey"),WLe=Je({tabs:{type:xe(Array),default:()=>ic([])}}),yN="ElTabBar",GLe=ge({name:yN}),zLe=ge({...GLe,props:WLe,setup(e,{expose:t}){const n=e,o=vt(),i=je(l2);i||js(yN,"<el-tabs><el-tab-bar /></el-tabs>");const s=Xe("tabs"),r=J(),a=J(),l=()=>{let u=0,d=0;const h=["top","bottom"].includes(i.props.tabPosition)?"width":"height",p=h==="width"?"x":"y",f=p==="x"?"left":"top";return n.tabs.every(g=>{var m,v;const y=(v=(m=o.parent)==null?void 0:m.refs)==null?void 0:v[`tab-${g.uid}`];if(!y)return!1;if(!g.active)return!0;u=y[`offset${ya(f)}`],d=y[`client${ya(h)}`];const b=window.getComputedStyle(y);return h==="width"&&(n.tabs.length>1&&(d-=Number.parseFloat(b.paddingLeft)+Number.parseFloat(b.paddingRight)),u+=Number.parseFloat(b.paddingLeft)),!1}),{[h]:`${d}px`,transform:`translate${ya(p)}(${u}px)`}}
1726,c=()=>a.value=l();return Le(()=>n.tabs,async()=>{await ot(),c()},{immediate:!0}),Cd(r,()=>c()),t({ref:r,update:c}),(u,d)=>(N(),ee("div",{ref_key:"barRef",ref:r,class:U([C(s).e("active-bar"),C(s).is(C(i).props.tabPosition)]),style:ft(a.value)},null,6))}});var ULe=Qe(zLe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-bar.vue"]]);const jLe=Je({panes:{type:xe(Array),default:()=>ic([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),ZLe={tabClick:(e,t,n)=>n instanceof Event,tabRemove:(e,t)=>t instanceof Event},lR="ElTabNav",KLe=ge({name:lR,props:jLe,emits:ZLe,setup(e,{expose:t,emit:n}){const o=vt(),i=je(l2);i||js(lR,"<el-tabs><tab-nav /></el-tabs>");const s=Xe("tabs"),r=a4e(),a=v4e(),l=J(),c=J(),u=J(),d=J(),h=J(!1),p=J(0),f=J(!1),g=J(!0),m=M(()=>["top","bottom"].includes(i.props.tabPosition)?"width":"height"),v=M(()=>({transform:`translate${m.value==="width"?"X":"Y"}(-${p.value}px)`})),y=()=>{if(!l.value)return;const A=l.value[`offset${ya(m.value)}`],k=p.value;if(!k)return;const D=k>A?k-A:0;p.value=D},b=()=>{if(!l.value||!c.value)return;const A=c.value[`offset${ya(m.value)}`],k=l.value[`offset${ya(m.value)}`],D=p.value;if(A-D<=k)return;const V=A-D>k*2?D+k:A-k;p.value=V},w=async()=>{const A=c.value;if(!h.value||!u.value||!l.value||!A)return;await ot();const k=u.value.querySelector(".is-active");if(!k)return;const D=l.value,V=["top","bottom"].includes(i.props.tabPosition),O=k.getBoundingClientRect(),F=D.getBoundingClientRect(),_=V?A.offsetWidth-F.width:A.offsetHeight-F.height,P=p.value;let L=P;V?(O.left<F.left&&(L=P-(F.left-O.left)),O.right>F.right&&(L=P+O.right-F.right)):(O.top<F.top&&(L=P-(F.top-O.top)),O.bottom>F.bottom&&(L=P+(O.bottom-F.bottom))),L=Math.max(L,0),p.value=Math.min(L,_)},S=()=>{var A;if(!c.value||!l.value)return;e.stretch&&((A=d.value)==null||A.update());const k=c.value[`offset${ya(m.value)}`],D=l.value[`offset${ya(m.value)}`],V=p.value;D<k?(h.value=h.value||{},h.value.prev=V,h.value.next=V+D<k,k-V<D&&(p.value=k-D)):(h.value=!1,V>0&&(p.value=0))},E=A=>{const k=A.code,{up:D,down:V,left:O,right:F}=bt;if(![D,V,O,F].includes(k))return;const _=Array.from(A.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),P=_.indexOf(A.target);let L;k===O||k===D?P===0?L=_.length-1:L=P-1:P<_.length-1?L=P+1:L=0,_[L].focus({preventScroll:!0}),_[L].click(),T()},T=()=>{g.value&&(f.value=!0)},R=()=>f.value=!1;return Le(r,A=>{A==="hidden"?g.value=!1:A==="visible"&&setTimeout(()=>g.value=!0,50)}),Le(a,A=>{A?setTimeout(()=>g.value=!0,50):g.value=!1}),Cd(u,S),Dt(()=>setTimeout(()=>w(),0)),dc(()=>S()),t({scrollToActiveTab:w,removeFocus:R}),Le(()=>e.panes,()=>o.update(),{flush:"post",deep:!0}),()=>{const A=h.value?[oe("span",{class:[s.e("nav-prev"),s.is("disabled",!h.value.prev)],onClick:y},[oe(at,null,{default:()=>[oe(km,null,null)]})]),oe("span",{class:[s.e("nav-next"),s.is("disabled",!h.value.next)],onClick:b},[oe(at,null,{default:()=>[oe(bu,null,null)]})])]:null,k=e.panes.map((D,V)=>{var O,F,_,P;const L=D.uid,x=D.props.disabled,I=(F=(O=D.props.name)!=null?O:D.index)!=null?F:`${V}`,B=!x&&(D.isClosable||e.editable);D.index=`${V}`;const z=B?oe(at,{class:"is-icon-close",onClick:Q=>n("tabRemove",D,Q)},{default:()=>[oe(mp,null,null)]}):null,H=((P=(_=D.slots).label)==null?void 0:P.call(_))||D.props.label,j=!x&&D.active?0:-1;return oe("div",{ref:`tab-${L}`,class:[s.e("item"),s.is(i.props.tabPosition),s.is("active",D.active),s.is("disabled",x),s.is("closable",B),s.is("focus",f.value)],id:`tab-${I}`,key:`tab-${L}`,"aria-controls":`pane-${I}`,role:"tab","aria-selected":D.active,tabindex:j,onFocus:()=>T(),onBlur:()=>R(),onClick:Q=>{R(),n("tabClick",D,I,Q)},onKeydown:Q=>{B&&(Q.code===bt.delete||Q.code===bt.backspace)&&n("tabRemove",D,Q)}},[H,z])});return oe("div",{ref:u,class:[s.e("nav-wrap"),s.is("scrollable",!!h.value),s.is(i.props.tabPosition)]},[A,oe("div",{class:s.e("nav-scroll"),ref:l},[oe("div",{class:[s.e("nav"),s.is(i.props.tabPosition),s.is("stretch",e.stretch&&["top","bottom"].includes(i.props.tabPosition))],ref:c,style:v.value,role:"tablist",onKeydown:E},[e.type?null:oe(ULe,{ref:d,tabs:[...e.panes]},null),k])])])}}}),qLe=Je({type:{type:String,values:["card","border-card",""],default:""},activeName:{type:[String,Number]},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:xe(Function),default:()=>!0},stretch:Boolean}),mC=e=>lt(e)||Bt(e),YLe={[At]:e=>mC(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>mC(e),edit:(e,t)=>
1726["remove","add"].includes(t),tabRemove:e=>mC(e),tabAdd:()=>!0};var XLe=ge({name:"ElTabs",props:qLe,emits:YLe,setup(e,{emit:t,slots:n,expose:o}){var i,s;const r=Xe("tabs"),{children:a,addChild:l,removeChild:c}=t7e(vt(),"ElTabPane"),u=J(),d=J((s=(i=e.modelValue)!=null?i:e.activeName)!=null?s:"0"),h=v=>{d.value=v,t(At,v),t("tabChange",v)},p=async v=>{var y,b,w;if(!(d.value===v||Ki(v)))try{await((y=e.beforeLeave)==null?void 0:y.call(e,v,d.value))!==!1&&(h(v),(w=(b=u.value)==null?void 0:b.removeFocus)==null||w.call(b))}catch{}},f=(v,y,b)=>{v.props.disabled||(p(y),t("tabClick",v,b))},g=(v,y)=>{v.props.disabled||Ki(v.props.name)||(y.stopPropagation(),t("edit",v.props.name,"remove"),t("tabRemove",v.props.name))},m=()=>{t("edit",void 0,"add"),t("tabAdd")};return t2({from:'"activeName"',replacement:'"model-value" or "v-model"',scope:"ElTabs",version:"2.3.0",ref:"https://element-plus.org/en-US/component/tabs.html#attributes",type:"Attribute"},M(()=>!!e.activeName)),Le(()=>e.activeName,v=>p(v)),Le(()=>e.modelValue,v=>p(v)),Le(d,async()=>{var v;await ot(),(v=u.value)==null||v.scrollToActiveTab()}),Ut(l2,{props:e,currentName:d,registerPane:l,unregisterPane:c}),o({currentName:d}),()=>{const v=e.editable||e.addable?oe("span",{class:r.e("new-tab"),tabindex:"0",onClick:m,onKeydown:w=>{w.code===bt.enter&&m()}},[oe(at,{class:r.is("icon-plus")},{default:()=>[oe(YF,null,null)]})]):null,y=oe("div",{class:[r.e("header"),r.is(e.tabPosition)]},[v,oe(KLe,{ref:u,currentName:d.value,editable:e.editable,type:e.type,panes:a.value,stretch:e.stretch,onTabClick:f,onTabRemove:g},null)]),b=oe("div",{class:r.e("content")},[ke(n,"default")]);return oe("div",{class:[r.b(),r.m(e.tabPosition),{[r.m("card")]:e.type==="card",[r.m("border-card")]:e.type==="border-card"}]},[...e.tabPosition!=="bottom"?[y,b]:[b,y]])}}});const JLe=Je({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),QLe=["id","aria-hidden","aria-labelledby"],wN="ElTabPane",exe=ge({name:wN}
1726),txe=ge({...exe,props:JLe,setup(e){const t=e,n=vt(),o=Nr(),i=je(l2);i||js(wN,"usage: <el-tabs><el-tab-pane /></el-tabs/>");const s=Xe("tab-pane"),r=J(),a=M(()=>t.closable||i.props.closable),l=ME(()=>{var p;return i.currentName.value===((p=t.name)!=null?p:r.value)}),c=J(l.value),u=M(()=>{var p;return(p=t.name)!=null?p:r.value}),d=ME(()=>!t.lazy||c.value||l.value);Le(l,p=>{p&&(c.value=!0)});const h=Rn({uid:n.uid,slots:o,props:t,paneName:u,active:l,index:r,isClosable:a});return Dt(()=>{i.registerPane(h)}),Or(()=>{i.unregisterPane(h.uid)}),(p,f)=>C(d)?Pt((N(),ee("div",{key:0,id:`pane-${C(u)}`,class:U(C(s).b()),role:"tabpanel","aria-hidden":!C(l),"aria-labelledby":`tab-${C(u)}`},[ke(p.$slots,"default")],10,QLe)),[[Dn,C(l)]]):Se("v-if",!0)}});var SN=Qe(txe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-pane.vue"]]);const nxe=Nn(XLe,{TabPane:SN}),oxe=Oi(SN),EN=Symbol("uploadContextKey"),ixe="ElUpload";class sxe extends Error{constructor(t,n,o,i){super(t),this.name="UploadAjaxError",this.status=n,this.method=o,this.url=i}}function cR(e,t,n){let o;return n.response?o=`${n.response.error||n.response}`:n.responseText?o=`${n.responseText}`:o=`fail to ${t.method} ${e} ${n.status}`,new sxe(o,n.status,t.method,e)}function rxe(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}const axe=e=>{typeof XMLHttpRequest>"u"&&js(ixe,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,n=e.action;t.upload&&t.upload.addEventListener("progress",s=>{const r=s;r.percent=s.total>0?s.loaded/s.total*100:0,e.onProgress(r)});const o=new FormData;if(e.data)for(const[s,r]of Object.entries(e.data))Array.isArray(r)?o.append(s,...r):o.append(s,r);o.append(e.filename,e.file,e.file.name),t.addEventListener("error",()=>{e.onError(cR(n,e,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return e.onError(cR(n,e,t));e.onSuccess(rxe(t))}),t.open(e.method,n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const i=e.headers||{};if(i instanceof Headers)i.forEach((s,r)=>t.setRequestHeader(r,s));else for(const[s,r]of Object.entries(i))Qi(r)||t.setRequestHeader(s,String(r));return t.send(o),t},TN=["text","picture","picture-card"];let lxe=1;const H3=()=>Date.now()+lxe++,RN=Je({action:{type:String,default:"#"},headers:{type:xe(Object)},method:{type:String,default:"post"},data:{type:Object,default:()=>ic({})},multiple:{type:Boolean,default:!1},name:{type:String,default:"file"},drag:{type:Boolean,default:!1},withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},type:{type:String,default:"select"},fileList:{type:xe(Array),default:()=>ic([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:TN,default:"text"},httpRequest:{type:xe(Function),default:axe},disabled:Boolean,limit:Number}),cxe=Je({...RN,beforeUpload:{type:xe(Function),default:Ot},beforeRemove:{type:xe(Function)},onRemove:{type:xe(Function),default:Ot},onChange:{type:xe(Function),default:Ot},onPreview:{type:xe(Function),default:Ot},onSuccess:{type:xe(Function),default:Ot},onProgress:{type:xe(Function),default:Ot},onError:{type:xe(Function),default:Ot},onExceed:{type:xe(Function),default:Ot}}),uxe=Je({files:{type:xe(Array),default:()=>ic([])},disabled:{type:Boolean,default:!1},handlePreview:{type:xe(Function),default:Ot},listType:{type:String,values:TN,default:"text"}}),dxe={remove:e=>!!e},hxe=["onKeydown"],pxe=["src"],fxe=["onClick"],gxe=["title"],mxe=["onClick"],vxe=["onClick"],Cxe=ge({name:"ElUploadList"}),bxe=ge({...Cxe,props:uxe,emits:dxe,setup(e,{emit:t}){const{t:n}=oo(),o=Xe("upload"),i=Xe("icon"),s=Xe("list"),r=hs(),a=J(!1),l=c=>{t("remove",c)};return(c,u)=>(N(),ve(R4,{tag:"ul",class:U([C(o).b("list"),C(o).bm("list",c.listType),C(o).is("disabled",C(r))]),name:C(s).b()},{default:se(()=>[(N(!0),ee(Ze,null,Tt(c.files,d=>(N(),ee("li",{key:d.uid||d.name,class:U([C(o).be("list","item"),C(o).is(d.status),{focusing:a.value}]),tabindex:"0",onKeydown:Qt(h=>!C(r)&&l(d),["delete"]),onFocus:u[0]||(u[0]=h=>a.value=!0),onBlur:u[1]||(u[1]=h=>a.value=!1),onClick:u[2]||(u[2]=h=>a.value=!1)},[ke(c.$slots,"default",{file:d},()=>[c.listType==="picture"||d.status!=="uploading"&&c.listType==="picture-card"?(N(),ee("img",{key:0,class:U(C(o).be("list","item-thumbnail")),src:d.url,alt:""},null,10,pxe)):Se("v-if",!0),d.status==="uploading"||c.listType!=="picture-card"?(N(),ee("div",{key:1,class:U(C(o).be("list","item-info"))},[re("a",{class:U(C(o).be("list","item-name")),onClick:St(h=>c.handlePreview(d),["prevent"])},[oe(C(at),{class:U(C(i).m("document"))},{default:se(()=>[oe(C(r8e))]),_:1},8,["class"]),re("span",{class:U(C(o).be("list","item-file-name")),title:d.name},Be(d.name),11,gxe)],10,fxe),d.status==="uploading"?(N(),ve(C(UMe),{key:0,t
1726ype:c.listType==="picture-card"?"circle":"line","stroke-width":c.listType==="picture-card"?6:2,percentage:Number(d.percentage),style:ft(c.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):Se("v-if",!0)],2)):Se("v-if",!0),re("label",{class:U(C(o).be("list","item-status-label"))},[c.listType==="text"?(N(),ve(C(at),{key:0,class:U([C(i).m("upload-success"),C(i).m("circle-check")])},{default:se(()=>[oe(C(Gy))]),_:1},8,["class"])):["picture-card","picture"].includes(c.listType)?(N(),ve(C(at),{key:1,class:U([C(i).m("upload-success"),C(i).m("check")])},{default:se(()=>[oe(C(qF))]),_:1},8,["class"])):Se("v-if",!0)],2),C(r)?Se("v-if",!0):(N(),ve(C(at),{key:2,class:U(C(i).m("close")),onClick:h=>l(d)},{default:se(()=>[oe(C(mp))]),_:2},1032,["class","onClick"])),Se(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),Se(" This is a bug which needs to be fixed "),Se(" TODO: Fix the incorrect navigation interaction "),C(r)?Se("v-if",!0):(N(),ee("i",{key:3,class:U(C(i).m("close-tip"))},Be(C(n)("el.upload.deleteTip")),3)),c.listType==="picture-card"?(N(),ee("span",{key:4,class:U(C(o).be("list","item-actions"))},[re("span",{class:U(C(o).be("list","item-preview")),onClick:h=>c.handlePreview(d)},[oe(C(at),{class:U(C(i).m("zoom-in"))},{default:se(()=>[oe(C(y8e))]),_:1},8,["class"])],10,mxe),C(r)?Se("v-if",!0):(N(),ee("span",{key:0,class:U(C(o).be("list","item-delete")),onClick:h=>l(d)},[oe(C(at),{class:U(C(i).m("delete"))},{default:se(()=>[oe(C(i8e))]),_:1},8,["class"])],10,vxe))],2)):Se("v-if",!0)])],42,hxe))),128)),ke(c.$slots,"append")]),_:3},8,["class","name"]))}});var uR=Qe(bxe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-list.vue"]]);const yxe=Je({disabled:{type:Boolean,default:!1}}),wxe={file:e=>_e(e)},Sxe=["onDrop","onDragover"],PN="ElUploadDrag",Exe=ge({name:PN}),Txe=ge({...Exe,props:yxe,emits:wxe,setup(e,{emit:t}){const n=je(EN);n||js(PN,"usage: <el-upload><el-upload-dragger /></el-upload>");const o=Xe("upload"),i=J(!1),s=hs(),r=l=>{if(s.value)return;i.value=!1,l.stopPropagation();const c=Array.from(l.dataTransfer.files),u=n.accept.value;if(!u){t("file",c);return}const d=c.filter(h=>{const{type:p,name:f}=h,g=f.includes(".")?`.${f.split(".").pop()}`:"",m=p.replace(/\/.*$/,"");return u.split(",").map(v=>v.trim()).filter(v=>v).some(v=>v.startsWith(".")?g===v:/\/\*$/.test(v)?m===v.replace(/\/\*$/,""):/^[^/]+\/[^/]+$/.test(v)?p===v:!1)});t("file",d)},a=()=>{s.value||(i.value=!0)};return(l,c)=>(N(),ee("div",{class:U([C(o).b("dragger"),C(o).is("dragover",i.value)]),onDrop:St(r,["prevent"]),onDragover:St(a,["prevent"]),onDragleave:c[0]||(c[0]=St(u=>i.value=!1,["prevent"]))},[ke(l.$slots,"default")],42,Sxe))}});var Rxe=Qe(Txe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-dragger.vue"]]);const Pxe=Je({...RN,beforeUpload:{type:xe(Function),default:Ot},onRemove:{type:xe(Function),default:Ot},onStart:{type:xe(Function),default:Ot},onSuccess:{type:xe(Function),default:Ot},onProgress:{type:xe(Function),default:Ot},onError:{type:xe(Function),default:Ot},onExceed:{type:xe(Function),default:Ot}}),Mxe=["onKeydown"],Lxe=["name","multiple","accept"],xxe=ge({name:"ElUploadContent",inheritAttrs:!1}),Dxe=ge({...xxe,props:Pxe,setup(e,{expose:t}){const n=e,o=Xe("upload"),i=hs(),s=pt({}),r=pt(),a=f=>{if(f.length===0)return;const{autoUpload:g,limit:m,fileList:v,multiple:y,onStart:b,onExceed:w}=n;if(m&&v.length+f.length>m){w(f,v);return}y||(f=f.slice(0,1));for(const S of f){const E=S;E.uid=H3(),b(E),g&&l(E)}},l=async f=>{if(r.value.value="",!n.beforeUpload)return c(f);let g,m={};try{const y=n.data,b=n.beforeUpload(f);m=Et(n.data)?sT(n.data):n.data,g=await b,Et(n.data)&&pp(y,m)&&(m=sT(n.data))}catch{g=!1}if(g===!1){n.onRemove(f);return}let v=f;g instanceof Blob&&(g instanceof File?v=g:v=new File([g],f.name,{type:f.type})),c(Object.assign(v,{uid:f.uid}),m)},c=(f,g)=>{const{headers:m,data:v,method:y,withCredentials:b,name:w,action:S,onProgress:E,onSuccess:T,onError:R,httpRequest:A}=n,{uid:k}=f,D={headers:m||{},withCredentials:b,file:f,data:g??v,method:y,filename:w,action:S,onProgress:O=>{E(O,f)},onSuccess:O=>{T(O,f),delete s.value[k]},onError:O=>{R(O,f),delete s.value[k]}},V=A(D);s.value[k]=V,V instanceof Promise&&V.then(D.onSuccess,D.onError)},u=f=>{const g=f.target.files;g&&a(Array.from(g))},d=()=>{i.value||(r.value.value="",r.value.click())},h=()=>{d()};return t({abort:f=>{H6e(s.value).filter(f?([m])=>String(f.uid)===m:()=>
1726!0).forEach(([m,v])=>{v instanceof XMLHttpRequest&&v.abort(),delete s.value[m]})},upload:l}),(f,g)=>(N(),ee("div",{class:U([C(o).b(),C(o).m(f.listType),C(o).is("drag",f.drag)]),tabindex:"0",onClick:d,onKeydown:Qt(St(h,["self"]),["enter","space"])},[f.drag?(N(),ve(Rxe,{key:0,disabled:C(i),onFile:a},{default:se(()=>[ke(f.$slots,"default")]),_:3},8,["disabled"])):ke(f.$slots,"default",{key:1}),re("input",{ref_key:"inputRef",ref:r,class:U(C(o).e("input")),name:f.name,multiple:f.multiple,accept:f.accept,type:"file",onChange:u,onClick:g[0]||(g[0]=St(()=>{},["stop"]))},null,42,Lxe)],42,Mxe))}});var dR=Qe(Dxe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-content.vue"]]);const hR="ElUpload",kxe=e=>{var t;(t=e.url)!=null&&t.startsWith("blob:")&&URL.revokeObjectURL(e.url)},Axe=(e,t)=>{const n=m4e(e,"fileList",void 0,{passive:!0}),o=h=>n.value.find(p=>p.uid===h.uid);function i(h){var p;(p=t.value)==null||p.abort(h)}function s(h=["ready","uploading","success","fail"]){n.value=n.value.filter(p=>!h.includes(p.status))}const r=(h,p)=>{const f=o(p);f&&(console.error(h),f.status="fail",n.value.splice(n.value.indexOf(f),1),e.onError(h,f,n.value),e.onChange(f,n.value))},a=(h,p)=>{const f=o(p);f&&(e.onProgress(h,f,n.value),f.status="uploading",f.percentage=Math.round(h.percent))},l=(h,p)=>{const f=o(p);f&&(f.status="success",f.response=h,e.onSuccess(h,f,n.value),e.onChange(f,n.value))},c=h=>{Qi(h.uid)&&(h.uid=H3());const p={name:h.name,percentage:0,status:"ready",size:h.size,raw:h,uid:h.uid};if(e.listType==="picture-card"||e.listType==="picture")try{p.url=URL.createObjectURL(h)}catch(f){f.message,e.onError(f,p,n.value)}n.value=[...n.value,p],e.onChange(p,n.value)},u=async h=>{const p=h instanceof File?o(h):h;p||js(hR,"file to be removed not found");const f=g=>{i(g);const m=n.value;m.splice(m.indexOf(g),1),e.onRemove(g,m),kxe(g)};e.beforeRemove?await e.beforeRemove(p,n.value)!==!1&&f(p):f(p)};function d(){n.value.filter(({status:h})=>h==="ready").forEach(({raw:h})=>{var p;return h&&((p=t.value)==null?void 0:p.upload(h))})}return Le(()=>e.listType,h=>{h!=="picture-card"&&h!=="picture"||(n.value=n.value.map(p=>{const{raw:f,url:g}=p;if(!g&&f)try{p.url=URL.createObjectURL(f)}catch(m){e.onError(m,p,n.value)}return p}))}),Le(n,h=>{for(const p of h)p.uid||(p.uid=H3()),p.status||(p.status="success")},{immediate:!0,deep:!0}),{uploadFiles:n,abort:i,clearFiles:s,handleError:r,handleProgress:a,handleStart:c,handleSuccess:l,handleRemove:u,submit:d}},_xe=ge({name:"ElUpload"}),Ixe=ge({..._xe,props:cxe,setup(e,{expose:t}){const n=e,o=Nr(),i=hs(),s=pt(),{abort:r,submit:a,clearFiles:l,uploadFiles:c,handleStart:u,handleError:d,handleRemove:h,handleSuccess:p,handleProgress:f}=Axe(n,s),g=M(()=>n.listType==="picture-card"),m=M(()=>({...n,fileList:c.value,onStart:u,onProgress:f,onSuccess:p,onError:d,onRemove:h}));return Mn(()=>{c.value.forEach(({url:v})=>{v?.startsWith("blob:")&&URL.revokeObjectURL(v)})}),Ut(EN,{accept:rn(n,"accept")}),t({abort:r,submit:a,clearFiles:l,handleStart:u,handleRemove:h}),(v,y)=>(N(),ee("div",null,[C(g)&&v.showFileList?(N(),ve(uR,{key:0,disabled:C(i),"list-type":v.listType,files:C(c),"handle-preview":v.onPreview,onRemove:C(h)},Si({append:se(()=>[oe(dR,Rt({ref_key:"uploadRef",ref:s},C(m)),{default:se(()=>[C(o).trigger?ke(v.$slots,"trigger",{key:0}):Se("v-if",!0),!C(o).trigger&&C(o).default?ke(v.$slots,"default",{key:1}):Se("v-if",!0)]),_:3},16)]),_:2},[v.$slots.file?{name:"default",fn:se(({file:b})=>[ke(v.$slots,"file",{file:b})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):Se("v-if",!0),!C(g)||C(g)&&!v.showFileList?(N(),ve(dR,Rt({key:1,ref_key:"uploadRef",ref:s},C(m)),{default:se(()=>[C(o).trigger?ke(v.$slots,"trigger",{key:0}):Se("v-if",!0),!C(o).trigger&&C(o).default?ke(v.$slots,"default",{key:1}):Se("v-if",!0)]),_:3},16)):Se("v-if",!0),v.$slots.trigger?ke(v.$slots,"default",{key:2}):Se("v-if",!0),ke(v.$slots,"tip"),!C(g)&&v.showFileList?(N(),ve(uR,{key:3,disabled:C(i),"list-type":v.listType,files:C(c),"handle-preview":v.onPreview,onRemove:C(h)},Si({_:2},[v.$slots.file?{name:"default",fn:se(({file:b})=>[ke(v.$slots,"file",{file:b})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):Se("v-if",!0)]))}});var Fxe=Qe(Ixe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload.vue"]]);const Oxe=Nn(Fxe),pR=["plain","primary","text","black","black-transparent","transparent","danger","white","inner","secondary","black-danger","success","gray"],N
1726xe=ge({components:{ElButton:sc},props:{isFullWidth:{type:Boolean,default:!1},isTextFullWidth:{type:Boolean,default:!1},icon:{type:String,default:""},name:{type:String,default:""},type:{type:String,default:"primary",validator(e){return[...pR,""].includes(e)}},noMargin:{type:Boolean,default:!1},isIcon:{type:Boolean,default:!1},isLowerCased:{type:Boolean,default:!1},to:{type:[String,void 0],default:void 0},href:{type:[String,void 0],default:void 0},size:{type:String,default:"default"},iconSize:{type:String,default:"18px"},isStopPropagation:{type:Boolean,default:!1},noMedium:{type:Boolean,default:!1},isImgTag:{type:Boolean,default:!1}},emits:["click"],setup(e,{slots:t,emit:n}){const o=J(!1);Dt(()=>{t.default&&(o.value=!0)});const i=d=>{if(e.isStopPropagation&&d.stopPropagation(),n("click"),e.to&&Ar.push(e.to),e.href){const h=e.href.includes("mailto:");window.open(e.href,h?"_self":"_blank").focus()}},s=[...pR,""],r=["x-small"],a=M(()=>s.includes(e.type)?"":e.type),l=M(()=>r.includes(e.size)?null:e.size),c=M(()=>({[`el-button--${e.type}`]:a.value==="",[`el-button--${e.size}`]:l.value===null})),u=M(()=>{if(e.icon&&!e.isIcon)return"left";if(t.default&&Array.isArray(t.default())){const d=t.default().findIndex(h=>h.type?.__name==="AppIcon");if(d===0)return"left";if(d===t.default().length-1)return"right"}return null});return{hasSlotData:o,onClick:i,customType:a,customSize:l,customClasses:c,iconPosition:u}}});function Bxe(e,t,n,o,i,s){const r=Ke("AppIcon"),a=Ke("ElButton");return N(),ve(a,Rt(e.$attrs,{type:e.customType,size:e.customSize,class:{"is-full-width":e.isFullWidth,"is-text-full-width":e.isTextFullWidth,"no-margin":e.noMargin,"is-icon":e.isIcon,"has-slot-data":e.hasSlotData,"is-lowercased":e.isLowerCased,"has-font-medium":!e.noMedium,"icon-position-left":e.iconPosition==="left","icon-position-right":e.iconPosition==="right",...e.customClasses},name:e.name||e.icon,"aria-label":e.name||e.icon,onClick:e.onClick}),{default:se(()=>[e.icon&&!e.$attrs?.loading?Pt((N(),ve(r,{key:0,"is-img-tag":e.isImgTag,name:e.icon,size:e.iconSize},null,8,["is-img-tag","name","size"])),[[Dn,!e.$attrs?.loading]]):Se("",!0),(N(!0),ee(Ze,null,Tt(e.$slots,(l,c)=>ke(e.$slots,c,{},void 0,!0)),256))]),_:3},16,["type","size","class","name","aria-label","onClick"])}const Hxe=Lt(Nxe,[["render",Bxe],["__scopeId","data-v-d2afaa08"]]),Vxe={__name:"DatePicker",props:{label:{type:String,default:""},isFullWidth:{type:Boolean,default:!0},isSmall:{type:Boolean,default:!1},isInputReadonly:{type:Boolean,default:!1}},setup(e){const t=e,n=pt({render(){return Ii(K0,{name:"calendar",size:"18px"})}}),o=J(null);Dt(()=>{const s=o.value.querySelector(".el-input__inner");t.isInputReadonly&&s&&s.setAttribute("readonly",!0)});const{dateFormat:i}=yc();return(s,r)=>{const a=Ke("AppText");return N(),ee("div",{ref_key:"datePicker",ref:o,class:U(["f-date-picker",{"is-full-width":e.isFullWidth}])},[e.label?(N(),ve(a,{key:0,class:"f-input__label"},{default:se(()=>[mt(Be(e.label),1)]),_:1})):Se("",!0),oe(C(lN),Rt(s.$attrs,{class:{"is-small":e.isSmall},"prefix-icon":n.value,format:C(i),"value-format":C(i),"popper-options":{modifiers:[{name:"offset",options:{offset:[0,4]}}]}}),null,16,["class","prefix-icon","format","value-format"])],2)}}},$xe=Lt(Vxe,[["__scopeId","data-v-d6129d2b"]]);var hg={exports:{}},Wxe=hg.exports,fR;function Gxe(){return fR||(fR=1,(function(e,t){(function(n,o){e.exports=o()})(Wxe,(function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},o=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,s=/\d\d/,r=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,l={},c=function(m){return(m=+m)+(m>68?1900:2e3)},u=function(m){return function(v){this[m]=+v}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(m){(this.zone||(this.zone={})).offset=(function(v){if(!v||v==="Z")return 0;var y=v.match(/([+-]|\d\d)/g),b=60*y[1]+(+y[2]||0);return b===0?0:y[0]==="+"?-b:b})(m)}],h=function(m){var v=l[m];return v&&(v.indexOf?v:v.s.concat(v.f))},p=function(m,v){var y,b=l.meridiem;if(b){for(var w=1;w<=24;w+=1)if(m.indexOf(b(w,0,v))>-1){y=w>12;break}}else y=m===(v?"pm":"PM");return y},f={A:[a,function(m){this.afternoon=p(m,!1)}],a:[a,function(m){this.afternoon=p(m,!0)}],Q:[i,function(m){this.month=3*(m-1)+1}],S:[i,function(m){this.milliseconds=100*+m}],SS:[s,function(m){this.milliseconds=10*+m}],SSS:[/\d{3}/,function(m){this.milliseconds=+m}],s:[r,u("seconds")],ss:[r,u("seconds")],m:[r,u("minutes")],mm:[r,u("minutes")],H:[r,u("hours")],h:[r,u("hours")],HH:[r,u("hours")],hh:[r,u("hours")],D:[r,u("day")],DD:[s,u("day")],Do:[a,function(m){var v=l.ordinal,y=m.match(/\d+/);if(this.day=y[0],v)for(var b=1;b<=31;b+=1)v(b).replace(/\[|\]/g,"")===m&&(this.day=b)}],w:[r,u("week")],ww:[s,u("week")],M:[r,u("month")],MM:[s,u("month")],MM
1726M:[a,function(m){var v=h("months"),y=(h("monthsShort")||v.map((function(b){return b.slice(0,3)}))).indexOf(m)+1;if(y<1)throw new Error;this.month=y%12||y}],MMMM:[a,function(m){var v=h("months").indexOf(m)+1;if(v<1)throw new Error;this.month=v%12||v}],Y:[/[+-]?\d+/,u("year")],YY:[s,function(m){this.year=c(m)}],YYYY:[/\d{4}/,u("year")],Z:d,ZZ:d};function g(m){var v,y;v=m,y=l&&l.formats;for(var b=(m=v.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(k,D,V){var O=V&&V.toUpperCase();return D||y[V]||n[V]||y[O].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(F,_,P){return _||P.slice(1)}))}))).match(o),w=b.length,S=0;S<w;S+=1){var E=b[S],T=f[E],R=T&&T[0],A=T&&T[1];b[S]=A?{regex:R,parser:A}:E.replace(/^\[|\]$/g,"")}return function(k){for(var D={},V=0,O=0;V<w;V+=1){var F=b[V];if(typeof F=="string")O+=F.length;else{var _=F.regex,P=F.parser,L=k.slice(O),x=_.exec(L)[0];P.call(D,x),k=k.replace(x,"")}}return(function(I){var B=I.afternoon;if(B!==void 0){var z=I.hours;B?z<12&&(I.hours+=12):z===12&&(I.hours=0),delete I.afternoon}})(D),D}}return function(m,v,y){y.p.customParseFormat=!0,m&&m.parseTwoDigitYear&&(c=m.parseTwoDigitYear);var b=v.prototype,w=b.parse;b.parse=function(S){var E=S.date,T=S.utc,R=S.args;this.$u=T;var A=R[1];if(typeof A=="string"){var k=R[2]===!0,D=R[3]===!0,V=k||D,O=R[2];D&&(O=R[2]),l=this.$locale(),!k&&O&&(l=y.Ls[O]),this.$d=(function(L,x,I,B){try{if(["x","X"].indexOf(x)>-1)return new Date((x==="X"?1e3:1)*L);var z=g(x)(L),H=z.year,j=z.month,Q=z.day,ce=z.hours,pe=z.minutes,te=z.seconds,ne=z.milliseconds,le=z.zone,ae=z.week,Re=new Date,Oe=Q||(H||j?1:Re.getDate()),W=H||Re.getFullYear(),Z=0;H&&!j||(Z=j>0?j-1:Re.getMonth());var ie,be=ce||0,me=pe||0,$=te||0,G=ne||0;return le?new Date(Date.UTC(W,Z,Oe,be,me,$,G+60*le.offset*1e3)):I?new Date(Date.UTC(W,Z,Oe,be,me,$,G)):(ie=new Date(W,Z,Oe,be,me,$,G),ae&&(ie=B(ie).week(ae).toDate()),ie)}catch{return new Date("")}})(E,A,T,y),this.init(),O&&O!==!0&&(this.$L=this.locale(O).$L),V&&E!=this.format(A)&&(this.$d=new Date("")),l={}}else if(A instanceof Array)for(var F=A.length,_=1;_<=F;_+=1){R[1]=A[_-1];var P=y.apply(this,R);if(P.isValid()){this.$d=P.$d,this.$L=P.$L,this.init();break}_===F&&(this.$d=new Date(""))}else w.call(this,S)}}}))})(hg)),hg.exports}var zxe=Gxe();const MN=Gn(zxe);function Sp(e,t){return lc()?(Lp(e,t),!0):!1}const vC=new WeakMap,Uxe=(...e)=>{var t;const n=e[0],o=(t=vt())===null||t===void 0?void 0:t.proxy,i=o??lc();if(i==null&&!o0())throw new Error("injectLocal must be called in setup");return i&&vC.has(i)&&n in vC.get(i)?vC.get(i)[n]:je(...e)},Bm=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const jxe=e=>e!=null,Zxe=Object.prototype.toString,Kxe=e=>Zxe.call(e)==="[object Object]",nu=()=>{};function qxe(e,t){function n(...o){return new Promise((i,s)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(i).catch(s)})}return n}function Yxe(...e){let t=0,n,o=!0,i=nu,s,r,a,l,c;!_t(e[0])&&typeof e[0]=="object"?{delay:r,trailing:a=!0,leading:l=!0,rejectOnCancel:c=!1}=e[0]:[r,a=!0,l=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,i(),i=nu)};return h=>{const p=En(r),f=Date.now()-t,g=()=>s=h();return u(),p<=0?(t=Date.now(),g()):(f>p?(t=Date.now(),(l||!o)&&g()):a&&(s=new Promise((m,v)=>{i=c?v:m,n=setTimeout(()=>{t=Date.now(),o=!0,m(g()),u()},Math.max(0,p-f))})),!l&&!n&&(n=setTimeout(()=>o=!0,p)),o=!1,s)}}function gR(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Th(e){return Array.isArray(e)?e:[e]}function Xxe(e){return vt()}function cNe(e,t=200,n=!1,o=!0,i=!1){return qxe(Yxe(t,n,o,i),e)}function pw(e,t=!0,n){Xxe()?Dt(e,n):t?e():ot(e)}function uNe(e,t=1e3,n={}){const{immediate:o=!0,immediateCallback:i=!1}=n;let s=null;const r=pt(!1);function a(){s&&(clearInterval(s),s=null)}function l(){r.value=!1,a()}function c(){const u=En(t);u<=0||(r.value=!0,i&&e(),a(),r.value&&(s=setInterval(e,u)))}return o&&Bm&&c(),(_t(t)||typeof t=="function")&&Sp(Le(t,()=>{r.value&&Bm&&c()})),Sp(l),{isActive:r4(r),pause:l,resume:c}}function dNe(e,t,n={}){const{immediate:o=!0,immediateCallback:i=!1}=n,s=pt(!1);let r;function a(){r&&(clearTimeout(r),r=void 0)}function l(){s.value=!1,a()}function c(...u){i&&e(),a(),s.value=!0,r=setTimeout(()=>{s.value=!1,r=void 0,e(...u)},En(t))}return o&&(s.value=!0,Bm&&c()),Sp(l),{isPending:r4(s),start:c,stop:l}}function Jxe(e,t,n){return Le(e,t,{...n,immediate:!0})}const il=Bm?window:void 0;function To(e){var t;const n=En(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function ei(...e){const t=(o,i,s,r)=>(o.addEventListener(i,s,r),()=>o.removeEventListener(i,s,r)),n=M(()=>{const o=Th(En(e[0])).filter(i=>i!=null);return o.every(i=>
1726typeof i!="string")?o:void 0});return Jxe(()=>{var o,i;return[(o=(i=n.value)===null||i===void 0?void 0:i.map(s=>To(s)))!==null&&o!==void 0?o:[il].filter(s=>s!=null),Th(En(n.value?e[1]:e[0])),Th(C(n.value?e[2]:e[1])),En(n.value?e[3]:e[2])]},([o,i,s,r],a,l)=>{if(!o?.length||!i?.length||!s?.length)return;const c=Kxe(r)?{...r}:r,u=o.flatMap(d=>i.flatMap(h=>s.map(p=>t(d,h,p,c))));l(()=>{u.forEach(d=>d())})},{flush:"post"})}function hNe(e,t,n={}){const{window:o=il,ignore:i=[],capture:s=!0,detectIframe:r=!1,controls:a=!1}=n;if(!o)return a?{stop:nu,cancel:nu,trigger:nu}:nu;let l=!0;const c=m=>En(i).some(v=>{if(typeof v=="string")return Array.from(o.document.querySelectorAll(v)).some(y=>y===m.target||m.composedPath().includes(y));{const y=To(v);return y&&(m.target===y||m.composedPath().includes(y))}});function u(m){const v=En(m);return v&&v.$.subTree.shapeFlag===16}function d(m,v){const y=En(m),b=y.$.subTree&&y.$.subTree.children;return b==null||!Array.isArray(b)?!1:b.some(w=>w.el===v.target||v.composedPath().includes(w.el))}const h=m=>{const v=To(e);if(m.target!=null&&!(!(v instanceof Element)&&u(e)&&d(e,m))&&!(!v||v===m.target||m.composedPath().includes(v))){if("detail"in m&&m.detail===0&&(l=!c(m)),!l){l=!0;return}t(m)}};let p=!1;const f=[ei(o,"click",m=>{p||(p=!0,setTimeout(()=>{p=!1},0),h(m))},{passive:!0,capture:s}),ei(o,"pointerdown",m=>{const v=To(e);l=!c(m)&&!!(v&&!m.composedPath().includes(v))},{passive:!0}),r&&ei(o,"blur",m=>{setTimeout(()=>{var v;const y=To(e);((v=o.document.activeElement)===null||v===void 0?void 0:v.tagName)==="IFRAME"&&!y?.contains(o.document.activeElement)&&t(m)},0)},{passive:!0})].filter(Boolean),g=()=>f.forEach(m=>m());return a?{stop:g,cancel:()=>{l=!1},trigger:m=>{l=!0,h(m),l=!1}}:g}function Qxe(){const e=pt(!1),t=vt();return t&&Dt(()=>{e.value=!0},t),e}function c2(e){const t=Qxe();return M(()=>(t.value,!!e()))}function eDe(e,t,n={}){const{window:o=il,...i}=n;let s;const r=c2(()=>o&&"MutationObserver"in o),a=()=>{s&&(s.disconnect(),s=void 0)},l=Le(M(()=>{const d=Th(En(e)).map(To).filter(jxe);return new Set(d)}),d=>{a(),r.value&&d.size&&(s=new MutationObserver(t),d.forEach(h=>s.observe(h,i)))},{immediate:!0,flush:"post"}),c=()=>s?.takeRecords(),u=()=>{l(),a()};return Sp(u),{isSupported:r,stop:u,takeRecords:c}}const tDe=Symbol("vueuse-ssr-width");function nDe(){const e=o0()?Uxe(tDe,null):null;return typeof e=="number"?e:void 0}function oDe(e,t={}){const{window:n=il,ssrWidth:o=nDe()}=t,i=c2(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=pt(typeof o=="number"),r=pt(),a=pt(!1),l=c=>{a.value=c.matches};return E4(()=>{if(s.value){s.value=!i.value,a.value=En(e).split(",").some(c=>{const u=c.includes("not all"),d=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),h=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(d||h);return d&&p&&(p=o>=gR(d[1])),h&&p&&(p=o<=gR(h[1])),u?!p:p});return}i.value&&(r.value=n.matchMedia(En(e)),a.value=r.value.matches)}),ei(r,"change",l,{passive:!0}),M(()=>a.value)}function LN(e,t,n={}){const{window:o=il,...i}=n;let s;const r=c2(()=>o&&"ResizeObserver"in o),a=()=>{s&&(s.disconnect(),s=void 0)},l=Le(M(()=>{const u=En(e);return Array.isArray(u)?u.map(d=>To(d)):[To(u)]}),u=>{if(a(),r.value&&o){s=new ResizeObserver(t);for(const d of u)d&&s.observe(d,i)}},{immediate:!0,flush:"post"}),c=()=>{a(),l()};return Sp(c),{isSupported:r,stop:c}}function mR(e,t={}){const{reset:n=!0,windowResize:o=!0,windowScroll:i=!0,immediate:s=!0,updateTiming:r="sync"}=t,a=pt(0),l=pt(0),c=pt(0),u=pt(0),d=pt(0),h=pt(0),p=pt(0),f=pt(0);function g(){const v=To(e);if(!v){n&&(a.value=0,l.value=0,c.value=0,u.value=0,d.value=0,h.value=0,p.value=0,f.value=0);return}const y=v.getBoundingClientRect();a.value=y.height,l.value=y.bottom,c.value=y.left,u.value=y.right,d.value=y.top,h.value=y.width,p.value=y.x,f.value=y.y}function m(){r==="sync"?g():r==="next-frame"&&requestAnimationFrame(()=>g())}return LN(e,m),Le(()=>To(e),v=>!v&&m()),eDe(e,m,{attributeFilter:["style","class"]}),i&&ei("scroll",m,{capture:!0,passive:!0}),o&&ei("resize",m,{passive:!0}),pw(()=>{s&&m()}),{height:a,bottom:l,left:c,right:u,top:d,width:h,x:p,y:f,update:m}}function iDe(e,t={width:0,height:0},n={}){const{window:o=il,box:i="content-box"}=n,s=M(()=>{var d;return(d=To(e))===null||d===void 0||(d=d.namespaceURI)===null||d===void 0?void 0:d.includes("svg")}),r=pt(t.width),a=pt(t.height),{stop:l}=LN(e,([d])=>{const h=i==="border-box"?d.borderBoxSize:i==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(o&&s.value){const p=To(e);if(p){const f=p.getBoundingClientRect();r.value=f.width,a.value=f.height}}else if(h){const p=Th(h);r.value=p.reduce((f,{inlineSize:g})=>f+g,0),a.value=p.reduce((f,{blockSize:g})=>f+g,0)}else r.value=d.contentRect.width,a.value=d.contentRect.height},n);pw(()=>{const d=To(e);d&&(r.value="offsetWidth"in d?d.offsetWidth:t.width,a.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=Le(()=>To(e),d=>{r.value=d?t.width:0,a.value=d?t.height:0});function u(){l(),c()}return{width:r,height:a,stop:u}}function pNe(e,t={}){const{initialValue:n=!1,focusVisible:o=!1,preventScroll:i=!1}=t,s=pt(!1),r=M(()=>To(e)),a={passive:!0};ei(r,"focus",c=>{var u,d;(!o||!((u=(d=c.target).matches)===null||u===void 0)&&u.call(d,":focus-visible"))&&(s.value=!0)},a),ei(r,"blur",()=>s.value=!1,a);const l=M({get:()=>s.value,set(c){var u,d;!c&&s.value?(u=r.value)===null||u===void 0||u.blur():c&&!s.value&&((d=r.value)===null||d===void 0||d.focus({preventScroll:i}))}});return Le(r,()=>{l.value=n},{immediate:!0,flush:"post"}),{focused:l}}function sDe(e={}){const{window:t=il}=e,n=t?.navigator,o=c2(()=>n&&"connection"in n),i=pt(!0),s=pt(!1),r=pt(void 0),a=pt(void 0),l=pt(void 0),c=pt(void 0),u=pt(void 0),d=pt(void 0),h=pt("unknown"),p=o.value&&n.connection;function f(){n&&(i.value=n.onLine,r.value=i.value?void 0:Date.now(),a.value=i.value?Date.now():void 0,p&&(l.value=p.downlink,c.value=p.downlinkMax,d.value=p.effectiveType,u.value=p.rtt,s.value=p.saveData,h.value=p.type))}const g={passive:!0};return t&&(ei(t,"offline",()=>{i.value=!1,r.value=Date.now()},g),ei(t,"online",()=>{i.value=!0,a.value=Date.now()},g)),p&&ei(p,"change",f,g),f(),{isSupported:o,isOnline:ao(i),saveData:ao(s),offlineAt:ao(r),onlineAt:ao(a),downlink:ao(l),downlinkMax:ao(c),effectiveType:ao(d),rtt:ao(u),type:ao(h)}}function fNe(e={}){const{window:t=il,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:s=!0,type:r="inner"}=e,a=pt(n),l=pt(o),c=()=>
1726{if(t)if(r==="outer")a.value=t.outerWidth,l.value=t.outerHeight;else if(r==="visual"&&t.visualViewport){const{width:d,height:h,scale:p}=t.visualViewport;a.value=Math.round(d*p),l.value=Math.round(h*p)}else s?(a.value=t.innerWidth,l.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight)};c(),pw(c);const u={passive:!0};return ei("resize",c,u),t&&r==="visual"&&t.visualViewport&&ei(t.visualViewport,"resize",c,u),i&&Le(oDe("(orientation: portrait)"),()=>c()),{width:a,height:l}}const rDe={name:"DropdownArrow",props:{isOpen:{type:Boolean,default:!1}}};function aDe(e,t,n,o,i,s){const r=Ke("AppIcon");return N(),ve(r,{name:"arrow-bracket",size:"18px",opacity:.4,class:U(n.isOpen?"arrow-active":"arrow-inactive")},null,8,["class"])}const lDe=Lt(rDe,[["render",aDe],["__scopeId","data-v-230ee544"]]),cDe=ge({emits:["reset"]});function uDe(e,t,n,o,i,s){const r=Ke("AppIcon");return N(),ee("div",{class:"reset",onClick:t[0]||(t[0]=St(a=>e.$emit("reset"),["stop"]))},[oe(r,{name:"x-close-small",size:"18px","is-img-tag":""})])}const dDe=Lt(cDe,[["render",uDe],["__scopeId","data-v-fcb6715e"]]),hDe={beforeMount(e,t){const n=t.value?.handler||t.value,o=t.value?.related||[];e.clickOutsideEvent=i=>{let s=!0;o.forEach(r=>{(r===i.target||r.contains(i.target)||i.path.includes(r))&&(s=!1)}),(e===i.target||e.contains(i.target))&&(s=!1),s&&n(i,e)},document.body.addEventListener("mousedown",e.clickOutsideEvent)},unmounted(e){document.body.removeEventListener("mousedown",e.clickOutsideEvent)}};function xN(e,t){td(()=>{window.addEventListener("keydown",o=>{n(o)})}),Mn(()=>{window.removeEventListener("keydown",n)});const n=o=>{["INPUT","TEXTAREA"].includes(o.target.tagName)||o.keyCode===e&&t()}}const DN=Object.freeze({ENTER:13,ESCAPE:27,BACKQUOTE:192,BACKSPACE:8}),V3=(e,t,n={})=>{const o=n.formatter||(r=>r),i=n.prop||"modelValue";return{value:M({get:()=>o(e[i]),set(r){t(`update:${i}`,o(r))}})}},fw={name:"DropdownItem",props:{noBorder:{type:Boolean,default:!1},noPaddings:{type:Boolean,default:!1},to:{type:String,default:""},size:{type:String,default:"regular",validate:e=>["large","regular","medium","small"].includes(e)}},setup(e){return{height:M(()=>{switch(e.size){case"large":return"48px";case"regular":return"44px";case"medium":return"40px";case"small":return"36px";default:return"44px"}})}}},vR=()=>{Gs(e=>({v7afd2074:e.height}))},CR=fw.setup;fw.setup=CR?(e,t)=>(vR(),CR(e,t)):vR;function pDe(e,t,n,o,i,s){const r=Ke("router-link");return N(),ee("div",{class:U(["dropdown-item",[n.noBorder?"no-border":"",n.noPaddings?"":"paddings",n.size,n.to?"has-link":""]])},[n.to?(N(),ve(r,{key:0,class:"no-styles dropdown-link",to:n.to},{default:se(()=>[ke(e.$slots,"default",{},void 0,!0)]),_:3},8,["to"])):ke(e.$slots,"default",{key:1},void 0,!0)],2)}const fDe=Lt(fw,[["render",pDe],["__scopeId","data-v-1cb453b7"]]),gDe=ge({props:{months:{type:Array,default:()=>[]}},emits:["set-month"],setup(e,{emit:t}){return{onClick:o=>{o.isAvailable&&t("set-month",o.value)}}}}),mDe={class:"month-selector"},vDe=["onClick"];function CDe(e,t,n,o,i,s){return N(),ee("div",mDe,[(N(!0),ee(Ze,null,Tt(e.months,r=>(N(),ee("div",{key:r.value,class:U(["month-item",{"is-disabled":!r.isAvailable}]),onClick:a=>e.onClick(r)},Be(r.text),11,vDe))),128))])}const bDe=Lt(gDe,[["render",CDe],["__scopeId","data-v-64221309"]]),yDe={class:"period-selector"},wDe={__name:"PeriodSelector",props:Eu({params:{type:Object,default:()=>{}}},{modelValue:{type:String,default:""},modelModifiers:{}}),emits:Eu(["change"],["update:modelValue"]),setup(e,{emit:t}){const n=e,o=t,{t:i}
1726=no.global,s=i0(e,"modelValue"),{language:r}=j0(),{registeredDate:a}=yc(),l=M(()=>tt(a.value).month()),c=M(()=>["ru","en"].includes(r.value)),u=M(()=>tt(s.value||void 0).year()),d=M(()=>tt().year()),h=M(()=>tt().month()),p=M(()=>kS.map(b=>{const w=i(`month.${b.name}`);let S=!0;return u.value<d.value?S=l.value<=b.value:u.value===d.value&&(S=h.value>=b.value),{...b,name:w,text:c.value?w.substring(0,3):w,isAvailable:S}})),f=M(()=>z0e.filter(b=>b>=tt(a.value).year()&&b<=tt().year())),g=kS.map(b=>b.name),m=M(()=>n.params.month||g[tt(s.value||void 0).month()]),v=b=>{s.value=tt(s.value||void 0).month(b).format(),o("change")},y=b=>{s.value=tt(s.value||void 0).year(b).format(),o("change")};return(b,w)=>{const S=Ke("FDropdown");return N(),ee("div",yDe,[oe(S,{"show-indicator":"","block-class":"select-columns-popper",placement:"bottom",teleported:!1},{title:se(()=>[mt(Be(m.value),1)]),content:se(()=>[oe(bDe,{months:p.value,onSetMonth:v},null,8,["months"])]),_:1}),oe(S,{"show-indicator":"","block-class":"select-columns-popper",placement:"bottom",teleported:!1},{title:se(()=>[mt(Be(e.params.year||u.value),1)]),content:se(()=>[(N(!0),ee(Ze,null,Tt(f.value,(E,T)=>(N(),ve(fDe,{key:T,"no-border":"",onClick:R=>y(E)},{default:se(()=>[mt(Be(E),1)]),_:2},1032,["onClick"]))),128))]),_:1})])}}},SDe=Lt(wDe,[["__scopeId","data-v-43c80f8d"]]);tt.extend(MN);tt.extend(SF);tt.extend(wF);const bR=({date:e,timezoneCode:t,dateFormat:n})=>t.value?tt(e).tz(t.value).format(n.value):tt(e).format(n.value),EDe=ge({components:{ElDatePicker:lN,PeriodSelector:SDe},props:{range:{type:Array,default:()=>[]},isPickerOpen:{type:Boolean,default:!1}},emits:["update:are-dates-valid","update:range","update:isPickerOpen"],setup(e,{emit:t,expose:n}){const{dateFormat:o,accountRegisteredDate:i,timezoneCode:s}=yc(),{t:r}=no.global,{value:a}=V3(e,t,{prop:"range"}),{value:l}=V3(e,t,{prop:"isPickerOpen"}),c=J(""),u=J(""),d=bR({date:i.value,timezoneCode:s,dateFormat:o}),h=bR({timezoneCode:s,dateFormat:o});setTimeout(()=>{console.log(i.value),console.log(s.value),console.log(d),console.log(h)},1e3);const p=ne=>{const le=tt(tt(ne).format(o.value),o.value).startOf("day"),ae=le.diff(tt(d,o.value).startOf("day"),"day")>=0,Re=le.diff(tt(h,o.value).startOf("day"),"day")<=0;return!(ae&&Re)},f=M(()=>tt(c.value,o.value,!0).isValid()),g=M(()=>tt(c.value,o.value,!0).diff(tt(d,o.value),"day")>=0),m=M(()=>tt(c.value,o.value,!0).diff(tt(),"day")<=0),v=M(()=>u.value?tt(c.value,o.value,!0).diff(tt(u.value,o.value,!0),"day")<=0:!0),y=M(()=>f.value&&g.value&&m.value&&v.value),b=M(()=>f.value?g.value?m.value?v.value?"":r("component.dateRangePicker.cannotBiggerThanEnd"):r("component.dateRangePicker.cannotBeInFuture"):r("component.dateRangePicker.cannotBeOlderThanCreationDate"):r("component.dateRangePicker.enterDateWithFormat",{value:o.value})),w=M(()=>tt(u.value,o.value,!0).isValid()),S=M(()=>tt(u.value,o.value,!0).diff(tt(d,o.value),"day")>=0),E=M(()=>tt(u.value,o.value,!0).diff(tt(),"day")<=0),T=M(()=>tt(u.value,o.value,!0).diff(tt(c.value,o.value,!0),"day")>=0),R=M(()=>w.value&&S&&E.value&&T.value),A=M(()=>w.value?S.value?E.value?T.value?"":r("component.dateRangePicker.cannotLessThanStart"):r("component.dateRangePicker.cannotBeInFuture"):r("component.dateRangePicker.cannotBeOlderThanCreationDate"):r("component.dateRangePicker.enterDateWithFormat",{value:o.value})),k=M(()=>(t("update:are-dates-valid",y.value&&R.value),y.value&&R.value)),D=()=>{l.value=!1,a.value=[],c.value="",u.value="",t("update:are-dates-valid",k.value)};Le(()=>a.value,ne=>{ne||D()});const V=()=>{if(k.value){const ne=tt(c.value,o?.value).format("YYYY-MM-DDTHH:mm:ss"),le=`${tt(u.value,o?.value).format("YYYY-MM-DD")}T23:59:59`;a.value=[ne,le],H()}},O=()=>{!a.value?.length&&l.value&&(c.value=d,u.value=h,V())};Le(l,()=>{a.value||(a.value=[]),O(),z(),H()});const F=()=>{j(),k.value&&V()},_=J(null),P=J({}),L=J({}),x=()=>{const ne=document.querySelector(".el-picker-panel__body .is-left .el-date-range-picker__header div"),le=document.querySelector(".el-picker-panel__body .is-right .el-date-range-picker__header div");ne&&le&&(P.value.month=ne.innerText.replace(/\d+/g,"").trim(),P.value.year=Number(ne.innerText.match(/(\d+)/)[0]),L.value.month=le.innerText.replace(/\d+/g,"").trim(),L.value.year=Number(le.innerText.match(/(\d+)/)[0]))},I=ne=>Number(ne.querySelector(".el-date-table-cell__text").innerHTML),B=(ne,le)=>{ne.classList.remove("today"),le.classList.add("today")},z=()=>{const ne=document.querySelector(".el-picker-panel__body .is-left .el-date-table__row .today")||document.querySelector(".el-picker-panel__body .is-right .el-d
1726ate-table__row .today"),le=s.value?Number(tt().tz(s.value).format("DD")):Number(tt().format("DD"));if(ne){if(I(ne)===le)return;if(I(ne.nextElementSibling)===le){B(ne,ne.nextElementSibling);return}if(I(ne.previousElementSibling)===le){B(ne,ne.previousElementSibling);return}const ae=ne.parentElement,Re=Array.from(ae.children).findIndex(Oe=>Oe.className.split(" ").includes("today"));if(Re===0){const Oe=ae.previousElementSibling.querySelectorAll("td")[6];B(ne,Oe);return}if(Re===6){const Oe=ae.nextElementSibling.querySelectorAll("td")[0];B(ne,Oe)}}},H=()=>{setTimeout(()=>{x(),z()},0)},j=()=>{!v.value&&!T.value&&(Ha("DATES WERE SWAPPED"),[c.value,u.value]=[u.value,c.value],V())},Q=()=>{c.value=a.value[0]?tt(a.value[0]).format(o?.value):"",u.value=a.value[1]?tt(a.value[1]).format(o?.value):"",P.value={},L.value={},H(),j()},ce=ne=>{c.value=ne[0]?tt(ne[0]).format(o?.value):"",u.value=ne[1]?tt(ne[1]).format(o?.value):"",k.value&&(l.value=!1),V(),H()},pe=()=>{e.range?.length&&ce(e.range)},te=ne=>{ne===0&&(c.value=""),ne===1&&(u.value=""),a[ne]=void 0,c.value===""&&u.value===""&&D()};return pe(),n({clearPicker:D,initDates:O}),{datePicker:_,propRange:a,dateFormat:o,calendarChange:ce,fromDate:c,toDate:u,isFromDateValid:y,isToDateValid:R,fromDateErrorMessage:b,toDateErrorMessage:A,areDatesValid:k,clearPicker:D,onInputEnter:F,onPeriodSelectorChange:Q,getDisabledDates:p,onPanelChange:H,startParams:P,endParams:L,onCloseButtonClick:te}}}),TDe={class:"range"};function RDe(e,t,n,o,i,s){const r=Ke("AppIcon"),a=Ke("FButton"),l=Ke("FInput"),c=Ke("PeriodSelector"),u=Ke("ElDatePicker");return N(),ee("div",{class:U(["range-wrapper",{"has-error-messages":!!(e.fromDate.length&&!e.isFromDateValid)||!!(e.toDate.length&&!e.isToDateValid)}])},[re("div",TDe,[oe(l,{modelValue:e.fromDate,"onUpdate:modelValue":t[1]||(t[1]=d=>e.fromDate=d),"has-prefix":"",mask:"date",placeholder:e.t("common.from"),"has-error":!!(e.fromDate.length&&!e.isFromDateValid),"error-text":e.fromDateErrorMessage,onKeydown:Qt(St(e.onInputEnter,["stop"]),["enter"])},{prefix:se(()=>[oe(r,{name:"calendar",size:"18px",fill:"var(--color-black-04)"})]),suffix:se(()=>[e.fromDate?(N(),ve(a,{key:0,"is-icon":"",type:"transparent",small:"",icon:"x-close-small",class:"close-button",onClick:t[0]||(t[0]=d=>e.onCloseButtonClick(0))})):Se("",!0)]),_:1},8,["modelValue","placeholder","has-error","error-text","onKeydown"]),e.isPickerOpen&&e.propRange?(N(),ve(c,{key:0,modelValue:e.propRange[0],"onUpdate:modelValue":t[2]||(t[2]=d=>e.propRange[0]=d),params:e.startParams,onChange:e.onPeriodSelectorChange},null,8,["modelValue","params","onChange"])):Se("",!0),t[6]||(t[6]=re("span",{class:"range__item"},"—",-1)),oe(l,{modelValue:e.toDate,"onUpdate:modelValue":t[4]||(t[4]=d=>e.toDate=d),"has-prefix":"",mask:"date",placeholder:e.t("common.to"),"has-error":!!(e.toDate.length&&!e.isToDateValid),"error-text":e.toDateErrorMessage,onKeydown:Qt(St(e.onInputEnter,["stop"]),["enter"])},{prefix:se(()=>[oe(r,{name:"calendar",size:"18px",fill:"var(--color-black-04)"})]),suffix:se(()=>[e.toDate?(N(),ve(a,{key:0,"is-icon":"",type:"transparent",small:"",icon:"x-close-small",class:"close-button",onClick:t[3]||(t[3]=d=>e.onCloseButtonClick(1))})):Se("",!0)]),_:1},8,["modelValue","placeholder","has-error","error-text","onKeydown"]),e.isPickerOpen&&e.propRange?(N(),ve(c,{key:1,modelValue:e.propRange[1],"onUpdate:modelValue":t[5]||(t[5]=d=>e.propRange[1]=d),params:e.endParams,style:{left:"380px"},onChange:e.onPeriodSelectorChange},null,8,["modelValue","params","onChange"])):Se("",!0)]),oe(u,{ref:"datePicker","model-value":e.propRange,type:"daterange","range-separator":"—","start-placeholder":"From","unlink-panels":"","end-placeholder":"To","popper-class":"date-daterange-popper",format:e.dateFormat,teleported:!1,"disabled-date":e.getDisabledDates,onCalendarChange:e.calendarChange,onPanelChange:e.onPanelChange},null,8,["model-value","format","disabled-date","onCalendarChange","onPanelChange"])],2)}const PDe=Lt(EDe,[["render",RDe],["__scopeId","data-v-c0918699"]]),MDe={style:{position:"relative",height:"100%","aspect-ratio":"1/1",transform:"translateX(11px)"},class:"flex-center"},LDe={class:"picker__range dropdown-wrapper"},xDe={__name:"DateRangeDropdown",props:{modelValue:{type:Array,default:[]},modelModifiers:{}},emits:Eu(["update"],["update:modelValue"]),setup(e,{emit:t}){Gs(b=>({v18b9a85d:c.value,v18b9a85c:l.value}));const n=J(null),o=J(null),{width:i}=mR(o),{bottom:s,left:r,width:a}=mR(n),l=M(()=>`${r.value-(i.value-a.value)}px`),c=M(()=>`${s.value+4}px`);tt.extend(MN);const u=t,{dateFormat:d}=yc(),h=J(!1),p=J(!1);xN(DN.BACKQUOTE,()=>{h.value=!1});const f=i0(e,"modelValue"),g=M(()=>f.value===null?[]:[f.value[0]&&tt(f.value[0]).format(d?.value),f.value[1]&&tt(f.value[1]).format(d?.value)].filter(b=>b)),m=J(null),v=()=>{m.value.clearPicker()};Le(f,()=>{u("update")});const y=b=>{S5e(b,"dropdown-popper")||(h.value=!1)};return(b,w)=>{const S=Ke("AppIcon"),E=Ke("AppText");return Pt((N(),ee("div",{ref_key:"picker",ref:n,class:U(["picker",{active:h.value}]),tabindex:"0"},[re("div",{class:U(["picker__input",{"is-filled":p.value&&g.value.length===2}]),onClickCapture:w[0]||(w[0]=T=>h.value=!h.value)},[ke(b.$slots,"title",{},()=>[oe(S,{name:"calendar",size:"18px",opacity:.4,"is-img-tag":"",style:{"margin-right":"12px"}}),oe(E,{"line-height":1.35,class:U(["picker__input-val",{"has-value":p.value&&g.value.length===2}])},{default:se(()=>[p.value&&g.value.length===2?(N(),ee(Ze,{key:0},[mt(Be(g.value[0])+" — "+Be(g.value[1]),1)],64)):(N(),ee(Ze,{key:1},[mt(Be(b.t("common.allTime")),1)],64))]),_:1},8,["class"])],!0),re("div",MDe,[p.value&&g.value.length===2?(N(),ve(dDe,{key:0,style:{position:"relative"},onReset:v})):(N(),ve(lDe,{key:1,"is-open":h.value},null,8,["is-open"]))])],34),oe(Ti,{name:"show-fast"},{default:se(()=>[(N(),ve(xp,{to:"#top"},[Pt(re("div",{ref_key:"popper",ref:o,class:"el-popper dropdown-popper daterange-popper"},[re("div",LDe,[mt(Be(f.value)+" ",1),oe(PDe,{ref_key:"rangePicker",ref:m,range:f.value,"onUpdate:range":w[1]||(w[1]=T=>f.value=T),"is-picker-open":h.value,"onUpdate:isPickerOpen":w[2]||(w[2]=T=>h.value=T),areDatesValid:p.value,"onUpdate:areDatesValid":w[3]||(w[3]=T=>p.value=T)},null,8,["range","is-picker-open","areDatesValid"])])],512),[[Dn,h.value]])]))]),_:1})],2)),[[C(hDe),y]])}}},DDe=Lt(xDe,[["__scopeId","data-v-22e75fb9"]]),kN=e=>{e&&setTimeout(()=>{e.blur(),e.focus()},0)},kDe=ge({name:"FCheckbox",components:{ElCheckbox:sTe},props:{isWrap:{type:Boolean,default:!1},hasError:{type:Boolean,default:!1},type:{type:String,default:"square",validator:e=>["square","round"].includes(e)}},setup(e,{attrs:t}){return Dt(()=>{if(t.autofocus||t.autofocus===""){const n=document.querySelector(".el-checkbox__original");kN(n)}}),{}}});function ADe(e,t,n,o,i,s){const r=Ke("ElCheckbox");
1726return N(),ve(r,Rt(e.$attrs,{class:{"is-wrap":e.isWrap,"is-error":e.hasError,round:e.type==="round"}}),Si({_:2},[Tt(e.$slots,(a,l)=>({name:l,fn:se(c=>[ke(e.$slots,l,_i(as(c)),void 0,!0)])}))]),1040,["class"])}const _De=Lt(kDe,[["render",ADe],["__scopeId","data-v-ee1c43bc"]]),Hm=new Map,$3=new Map;async function yR(e,t){const n=t?.elementPredicate??g1e;$3.set(e,n);const o=await n(e);$3.get(e)===n&&(Hm.get(e)?.destroy(),t&&Hm.set(e,new D1e(o,t)))}const IDe={unmounted:e=>{Hm.get(e)?.destroy(),Hm.delete(e),$3.delete(e)},mounted:async(e,{value:t})=>yR(e,t),updated:async(e,{value:t,oldValue:n})=>{t!==n&&await yR(e,t)}},AN=()=>{const e=J(null),t=J(!1),n=o=>{o.code==="Tab"&&(t.value=!0)};return Dt(()=>{const o=e.value?.input||e.value?.textarea||e.value?.reference?.input;o&&o.addEventListener("keyup",n)}),Mn(()=>{const o=e.value?.input||e.value?.textarea||e.value?.reference?.input;o&&o.removeEventListener("keyup",n)}),{element:e,isFocusedByKeyboard:t}},FDe=ge({name:"FInput",components:{ElInput:Ms},props:{modelValue:{type:[String,Number],default:""},label:{type:String,default:""},hasError:{type:Boolean,default:!1},hasSuccess:{type:Boolean,default:!1},errorText:{type:String,default:""},hint:{type:String,default:""},textareaRows:{type:[Number,String],default:2},showValidateIcon:{type:Boolean,default:!1},showErrorIcon:{type:Boolean,default:!1},hasForceError:{type:Boolean,default:!1},isFullWidth:{type:Boolean,default:!0},isFilled:{type:Boolean,default:!1},noMargin:{type:Boolean,default:!1},type:{type:String,default:"string"},maxlength:{type:[String,Number],default:200},isInheritAttrs:{type:Boolean,default:!0},isHideLabelVisually:{type:Boolean,default:!1},validationError:{type:Object,default:()=>{}},hasPrefix:{type:Boolean,default:!1},mask:{type:[String,Function,Object],default:()=>({})},size:{type:String,default:""},placeholder:{type:[String,Number],default:""}},emits:["update:modelValue","slot-append-click"],setup(e,{emit:t,attrs:n}){const{element:o}=AN(),{value:i}=V3(e,t),s=M(()=>!!(e.modelValue?.length||e.modelValue));Dt(()=>{(n.autofocus||n.autofocus==="")&&kN(o.value.input)});const r=M(()=>e.validationError?.message),a=M(()=>e.hasError&&e.hasForceError||e.hasError&&e.modelValue?.length||r.value),l=()=>{t("slot-append-click")},c=()=>{window.getSelection()&&window.getSelection().removeAllRanges()},u=M(()=>typeof e.mask!="string"?e.mask||{}:U0e[e.mask]||{}),d=["medium","big","big-medium"],h=M(()=>d.includes(e.size)?null:e.size),p=M(()=>({[`el-input--${e.size}`]:h.value===null}));return{value:i,maskitoOptions:u,hasValue:s,validationErrorMessage:r,hasErrorClass:a,customSize:h,customClasses:p,onSlotApendClick:l,onBlur:c,inputElement:o}},beforeCreate(){this.$options.inheritAttrs=this.isInheritAttrs,this.$options.directives=this.type!=="textarea"?{maskito:IDe}:{maskito:{}}}}),ODe={class:"f-input__container"};function NDe(e,t,n,o,i,s){const r=Ke("AppText"),a=Ke("ElInput"),l=Ke("AppIcon"),c=m4("maskito");return N(),ee("div",{class:U(["f-input",{"is-full-width":e.isFullWidth,"no-margin":e.noMargin,"has-prefix":e.hasPrefix}])},[e.label?(N(),ve(r,{key:0,class:U(["f-input__label font-medium",{"visually-hidden":e.isHideLabelVisually}])},{default:se(()=>[mt(Be(e.label),1)]),_:1},8,["class"])):Se("",!0),re("div",ODe,[Pt((N(),ve(a,Rt({ref:"inputElement",modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=u=>e.value=u)},e.$attrs,{class:{"has-value":e.hasValue,"has-error":e.hasErrorClass,"has-success":e.hasSuccess,"is-filled":e.isFilled,...e.customClasses},size:e.customSize,rows:e.textareaRows,type:e.type,maxlength:e.maxlength,placeholder:e.placeholder.toString()||"",title:"",onBlur:e.onBlur}),Si({_:2},[Tt(e.$slots,(u,d)=>({name:d,fn:se(h=>[ke(e.$slots,d,_i(as(h)),void 0,!0)])}))]),1040,["modelValue","class","size","rows","type","maxlength","placeholder","onBlur"])),[[c,e.maskitoOptions]]),re("div",{class:"slot-append",onClick:t[1]||(t[1]=(...u)=>e.onSlotApendClick&&e.onSlotApendClick(...u))},[ke(e.$slots,"append",{},void 0,!0),e.showValidateIcon&&e.modelValue?.length?(N(),ve(l,{key:e.hasError,fill:e.hasError?"var(--color-error)":"var(--color-green)",name:e.hasError?"red-close":"checked-thin"},null,8,["fill","name"])):e.showErrorIcon?(N(),ve(l,{key:1,name:"x-close",fill:"var(--color-error)"})):Se("",!0)])]),e.errorText&&e.hasError||e.validationErrorMessage?(N(),ve(r,{key:1,class:"f-input__error-text"},{default:se(()=>[mt(Be(e.validationErrorMessage||e.errorText),1)]),_:1})):Se("",!0),!(e.errorText&&e.hasError||e.validationErrorMessage)&&(e.hint||e.$slots.hint)?(N(),ve(r,{key:2,class:"f-input__hint"},{default:se(()=>
1726[e.$slots.hint?ke(e.$slots,"hint",{key:0},void 0,!0):(N(),ee(Ze,{key:1},[mt(Be(e.hint),1)],64))]),_:3})):Se("",!0)],2)}const BDe=Lt(FDe,[["render",NDe],["__scopeId","data-v-6517f90a"]]),HDe=ge({name:"FRadio",components:{ElRadioGroup:QO,ElRadio:yTe},props:{options:{type:Array,default:()=>[]},isFullWidth:{type:Boolean,default:!1},modelValue:{type:String,default:""},color:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:t}){return{onModelValueUpdate:o=>{t("update:modelValue",o)}}}});function VDe(e,t,n,o,i,s){const r=Ke("el-radio"),a=Ke("el-radio-group");return N(),ee("div",{class:U(["f-radio",{"is-full-width":e.isFullWidth,[e.color]:e.color}])},[oe(a,Rt({"model-value":e.modelValue},e.$attrs,{onChange:e.onModelValueUpdate}),{default:se(()=>[(N(!0),ee(Ze,null,Tt(e.options,l=>(N(),ve(r,{key:l.value,label:l?.value},{default:se(()=>[mt(Be(l.text),1)]),_:2},1032,["label"]))),128))]),_:1},16,["model-value","onChange"])],2)}const $De=Lt(HDe,[["render",VDe],["__scopeId","data-v-6190e7af"]]),WDe={__name:"RadioButton",props:{options:{type:Array,default:()=>[]},isFullWidth:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},isSecondary:{type:Boolean,default:!1},modelValue:{type:[String,Boolean],default:""},color:{type:String,default:"primary",validate:e=>["black","primary"].includes(e)},isAnimationDisabled:{type:Boolean,default:!1}},emits:["update:modelValue","updateHover"],setup(e,{emit:t}){const n=e,o=t,i=r=>{const a=n.options.find(l=>l.value===r);o("update:modelValue",a?.value)},s=(r,a,l)=>{o("updateHover",r,a,l)};return(r,a)=>(N(),ee("div",{class:U(["f-radio-button",{"is-full-width":e.isFullWidth,"is-loading":e.isLoading,"is-animation-disabled":e.isAnimationDisabled,[e.color]:e.color}])},[oe(C(QO),{"model-value":e.modelValue,onChange:i},{default:se(()=>[(N(!0),ee(Ze,null,Tt(e.options,(l,c)=>(N(),ve(C(wTe),{key:l.value,index:c,label:l.value,"model-value":l.value,class:U({"is-selected":e.modelValue===l.value||l.value==="ALL"&&e.modelValue===null,"is-secondary":e.isSecondary}),onMouseenter:u=>s(l.value,e.modelValue,!0),onMouseleave:u=>s(l.value,e.modelValue,!1)},{default:se(()=>[ke(r.$slots,"default",{text:l.text,value:l.value,logo:l.logo},()=>[mt(Be(l?.text),1)],!0)]),_:2},1032,["index","label","model-value","class","onMouseenter","onMouseleave"]))),128))]),_:3},8,["model-value"])],2))}},GDe=Lt(WDe,[["__scopeId","data-v-213a16d2"]]),gw=ge({name:"FSelect",components:{ElSelect:IMe,ElOption:FMe},props:{label:{type:String,default:""},placeholder:{type:String,default:""},options:{type:Array,default(){return[{text:"Option1",value:"1"}]}},hasArrow:{type:Boolean,default:!1},hasCloseIcon:{type:Boolean,default:!1},hasLabelOnRight:{type:Boolean,default:!1},isFilled:{type:Boolean,default:!1},isBig:{type:Boolean,default:!1},showObject:{type:Boolean,default:!1},noMargin:{type:Boolean,default:!1},color:{type:String,default:"default",validator(e){return["primary","default",""].includes(e)}},returnKey:{type:String,default:""},optionText:{type:String,default:"text"},disabledField:{type:String,default:""},optionValue:{type:String,default:"value"},popperClass:{type:String,default:"select-container"},hasError:{type:Boolean,default:!1},errorText:{type:String,default:""},optionLabel:{type:String,default:null},noDataText:{type:String,default:"No data"},size:{type:String,default:""},maxHeight:{type:String,default:"220px"}},emits:["update:modelValue"],setup(e,{emit:t}){const n=`color-${e.color}`,o=pt({render(){return Ii(K0,{name:"arrow-dropdown",size:"18px"})}}),i=g=>{const m=e.returnKey?e.options.find(v=>v[e.optionValue]===g)[e.returnKey]:g;t("update:modelValue",m)},s=J(""),r=g=>{s.value=g},{element:a,isFocusedByKeyboard:l}=AN(),c=()=>{l.value=!1,setTimeout(()=>{s.value=""},300)},u=M(()=>{if(!s.value)return e.options;const g=s.value.toLowerCase();return e.options.filter(m=>{const v=m[e.optionText].toLowerCase().includes(g),y=m?.time?.toLowerCase().includes(g),b=typeof m[e.optionValue]=="string"?m[e.optionValue].toLowerCase().includes(g):!1,w=m[e.optionText].toLowerCase().replace("_"," ").includes(g);return v||y||b||w})}),d=["x-small"],h=M(()=>d.includes(e.size)?null:e.size),p=M(()=>({[`el-select--${e.size}`]:h.value===null}));return{suffixIcon:o,colorClassName:n,onChange:i,onFilter:r,onBlur:c,filteredOptions:u,onSpacePress:g=>{g.preventDefault()},customSize:h,customClasses:p,selectElement:a,isFocusedByKeyboard:l}}}),wR=()=>{Gs(e=>({v30f147cf:e.maxHeight}))},SR=gw.setup;gw.setup=SR?(e,t)=>(wR(),SR(e,t)):wR;function zDe(e,t,n,o,i,s){const r=Ke("AppText"),a=Ke("ElOption"),l=Ke("CustomScroll"),c=Ke("ElSelect");return N(),ee("div",{class:U(["f-select--wrapper",{"has-label-on-right":e.hasLabelO
1726nRight,"no-margin":e.noMargin,"has-label":!!e.label}])},[e.label?(N(),ve(r,{key:0,class:"f-input__label font-medium"},{default:se(()=>[mt(Be(e.label),1)]),_:1})):Se("",!0),oe(c,Rt(e.$attrs,{ref:"selectElement",class:["f-select",{"has-arrow":e.hasArrow,"is-big":e.isBig,"is-filled":e.isFilled,"has-error":e.hasError,"is-focused-by-keyboard":e.isFocusedByKeyboard,"has-close-icon":e.hasCloseIcon&&e.$attrs.modelValue,...e.customClasses}],size:e.customSize,"popper-class":`dropdown-popper ${e.popperClass}`,placeholder:e.placeholder||e.label,"filter-method":e.onFilter,"no-data-text":e.noDataText,"suffix-icon":e.suffixIcon,onChange:e.onChange,onBlur:e.onBlur,onKeypress:Qt(e.onSpacePress,["space"])}),Si({default:se(()=>[(N(),ve(l,{key:e.filteredOptions,style:ft({"max-height":e.maxHeight})},{default:se(()=>[(N(!0),ee(Ze,null,Tt(e.filteredOptions,u=>(N(),ve(a,{key:u[e.optionValue],class:U(["f-select-option",e.colorClassName]),label:e.optionLabel||u[e.optionText],value:u[e.optionValue],disabled:!!u[e.disabledField]},{default:se(()=>[ke(e.$slots,"option",{item:u},()=>[e.showObject?(N(),ee(Ze,{key:0},[mt(Be(u[e.optionText])+" ",1),t[0]||(t[0]=re("br",null,null,-1)),mt(" "+Be(u[e.optionValue]),1)],64)):Se("",!0)],!0)]),_:2},1032,["class","label","value","disabled"]))),128))]),_:3},8,["style"]))]),_:2},[Tt(e.$slots,(u,d)=>({name:d,fn:se(h=>[ke(e.$slots,d,_i(as(h)),void 0,!0)])}))]),1040,["class","size","popper-class","placeholder","filter-method","no-data-text","suffix-icon","onChange","onBlur","onKeypress"]),e.hasError?(N(),ve(r,{key:1,class:"f-select__error-text"},{default:se(()=>[mt(Be(e.errorText),1)]),_:1})):Se("",!0)],2)}const UDe=Lt(gw,[["render",zDe],["__scopeId","data-v-bfc42e64"]]),mw=ge({name:"FSlider",components:{ElSlider:DLe},inheritAttrs:!1,props:{error:{type:Boolean,default:!1},title:{type:String,default:"Slide to confirm"},subtitle:{type:String,default:"This action is irreversible."}},emits:["complete"],setup(e,{emit:t}){const i=J(2),s=J(!1),r=J(!1),a=async({time:d}={time:300})=>{r.value=!0,await new Promise(h=>{setTimeout(h,d)})},l=()=>{i.value=2,r.value=!1};Le(M(()=>e.error),()=>{e.error&&l()}),Le(i,(d,h)=>{d<2&&(i.value=2),d===0&&h===81&&(i.value=81),i.value===81&&(t("complete"),s.value=!0)});const c=()=>{i.value<81&&l()},u=M(()=>i.value*1.23456/100);return{value:i,opacityColor:u,isComplete:r,onSliderChange:c,complete:a,reset:l}}}),ER=()=>{Gs(e=>({v27e6d7a0:e.opacityColor}))},TR=mw.setup;mw.setup=TR?(e,t)=>(ER(),TR(e,t)):ER;const jDe={class:"slider-wrapper d-flex align-items-center"},ZDe={class:"flex-center flex-column align-items-start",style:{"padding-left":"70px"}},KDe={class:"complete-message"};function qDe(e,t,n,o,i,s){const r=Ke("AppIcon"),a=Ke("AppText"),l=Ke("ElSlider");return N(),ee("div",{class:U(["f-slider-wrapper",{"has-error":e.error,"is-complete":e.isComplete}])},[re("div",jDe,[re("div",{class:"slider-circle",style:ft(`left: ${e.value}%`)},[oe(r,{name:"arrow-bracket",class:"rotate-90",size:"24px"})],4),re("div",{class:"filled-background",style:ft(`width: ${e.value}%`)},null,4),re("div",ZDe,[oe(a,{class:"font-medium",style:{"margin-bottom":"1px"}},{default:se(()=>[mt(Be(e.title),1)]),_:1}),oe(a,{size:"12px",color:"var(--color-black-04)"},{default:se(()=>[mt(Be(e.subtitle),1)]),_:1})]),re("div",KDe,[oe(a,{color:"var(--color-black-04)",class:"font-medium"},{default:se(()=>[mt(Be(e.t("common.complete")),1)]),_:1})])]),e.error?Se("",!0):(N(),ve(l,Rt({key:0,modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=c=>e.value=c),class:"f-slider","show-tooltip":!1,max:81},e.$attrs,{onChange:e.onSliderChange}),null,16,["modelValue","onChange"]))],2)}const YDe=Lt(mw,[["render",qDe],["__scopeId","data-v-57796752"]]),XDe=ge({name:"FSwitch",components:{ElSwitch:$Le},props:{labels:{type:Array,default(){return["",""]}},isBig:{type:Boolean,default:!1},isSmall:{type:Boolean,default:!1},isIntermidiate:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},type:{type:String,default:"primary",validator:e=>["primary","success","danger"].includes(e)}},setup(){}});function JDe(e,t,n,o,i,s){const r=Ke("el-switch");return N(),ve(r,Rt(e.$attrs,{loading:e.loading,class:["f-switch",{"is-small":e.isSmall,"is-big":e.isBig,"is-loading":e.loading,"is-intermidiate":e.isIntermidiate,[e.type]:!0,"has-labels":e.labels&&e.labels.length}],"inline-prompt":"","active-text":!e.loading&&e.labels&&e.labels[0]||"","inactive-text":!e.loading&&e.labels&&e.labels[1]||""}),Si({_:2},[Tt(e.$slots,(a,l)=>({name:l,fn:se(c=>[ke(e.$slots,l,_i(as(c)),void 0,!0)])}))]),1040,["loading","class","active-text","inactive-text"])}const QDe=Lt(XDe,[["render",JDe],["__scopeId","data-v-f458bbe4"]]),eke=ge({name:"FCollapse",components:{ElCollapse:UTe},setup(){return{suffixIcon:pt({render(){return Ii(K0,{name:"warning",size:"18px"})}})}}});function tke(e,t,n,o,i,s){const r=Ke("ElCollapse");return N(),ve(r,Rt(e.$attrs,{class:"f-collapse","suffix-icon":e.suffixIcon}),Si({_:2},[Tt(e.$slots,(a,l)=>({name:l,fn:se(c=>[ke(e.$slots,l,_i(as(c)),void 0,!0)])}))]),1040,["suffix-icon"])}const nke=Lt(eke,[["render",tke],["__scopeId","data-v-a7d505ca"]]),oke=ge({components:{ElCollapseItem:jTe},props:{index:{type:String,default:""}},setup(){return{}}});function ike(e,t,n,o,i,s){const r=Ke("ElCollapseItem");return N(),ve(r,Rt(e.$attrs,{class:"f-collapse-item",name:e.index}),Si({_:2},[Tt(e.$slots,(a,l)=>({name:l,fn:se(c=>[ke(e.$slots,l,_i(as(c)),void 0,!0)])}))]),1040,["name"])}const ske=Lt(oke,[["render",ike],["__scopeId","data-v-8c4ba9c7"]]),vw={name:"AppTooltip",props:{width:{type:String,default:"auto"},textAlign:{type:String,default:"left",validator:e=>["left","center","right"].includes(e)},isEnabled:{type:Boolean,default:!0},isBlock:{type:Boolean,default:!1},cursor:{type:String,default:"pointer"}},emits:["onVisibleChange"],setup(e,{emit:t}){const n=J(null),o=J(null),i=J(!1),s=M(()=>({position:"fixed",zIndex:9999,background:"var(--color-black-07)",color:"var(--color-white)",padding:"8px 12px",borderRadius:"6px",fontSize:"13px",lineHeight:1.5,top:r.value.top,left
1726:r.value.left,width:e.width,textAlign:e.textAlign,opacity:i.value?1:0})),r=J({top:0,left:0}),a=p=>{u(p),i.value=!0,t("onVisibleChange",!0)},l=()=>{i.value=!1,t("onVisibleChange",!1)},c=p=>{u(p)},u=p=>{r.value.left=`${d(p)}px`,r.value.top=`${p.clientY+16}px`},d=p=>{let f=-1e3;if(o.value){f=0;const g=o.value.getBoundingClientRect().width,m=p.view.innerWidth||p.view.clientX;f=p.clientX-g*.5,f+g>m&&(f=m-g)}return f},h=M(()=>e.isBlock?"flex":"inline-flex");return{isVisible:i,onMouseEnter:a,onMouseMove:c,onMouseLeave:l,tooltip:n,tip:o,position:r,styles:s,displayType:h}}},RR=()=>{Gs(e=>({v19f67011:e.cursor,v967b697e:e.displayType}))},PR=vw.setup;vw.setup=PR?(e,t)=>(RR(),PR(e,t)):RR;function rke(e,t,n,o,i,s){return N(),ee("div",{ref:"tooltip",class:U(["tooltip",{"is-disabled":!n.isEnabled}]),onMouseenter:t[0]||(t[0]=(...r)=>o.onMouseEnter&&o.onMouseEnter(...r)),onMouseleave:t[1]||(t[1]=(...r)=>o.onMouseLeave&&o.onMouseLeave(...r)),onMousemove:t[2]||(t[2]=(...r)=>o.onMouseMove&&o.onMouseMove(...r))},[ke(e.$slots,"default",{isEnabled:n.isEnabled},void 0,!0),(N(),ve(xp,{to:"body"},[oe(Ti,{name:"show"},{default:se(()=>[n.isEnabled&&o.isVisible?(N(),ee("div",{key:0,ref:"tip",style:ft(o.styles)},[ke(e.$slots,"text",{},void 0,!0)],4)):Se("",!0)]),_:3})]))],34)}const ake=Lt(vw,[["render",rke],["__scopeId","data-v-bfcd6336"]]),lke={__name:"FTabs",props:{modelValue:{type:String,default:""},options:{type:Array,default:()=>[]},disableTabChange:{type:Boolean,default:!1},hasColoredTitles:{type:Boolean,default:!1},height:{type:String,default:"40px"}},emits:["update:modelValue"],setup(e,{emit:t}){Gs(s=>({v2f7b3755:e.height}));const n=e,o=t,i=s=>{n.disableTabChange||o("update:modelValue",s.props.name)};return(s,r)=>(N(),ve(C(nxe),Rt({key:e.options,"model-value":e.modelValue},s.$attrs,{class:{"is-ftabs-left":s.$attrs["tab-position"]==="left","has-colored-titles":e.hasColoredTitles,"is-readonly":e.disableTabChange},onTabClick:i}),{default:se(()=>[(N(!0),ee(Ze,null,Tt(e.options,a=>(N(),ve(C(oxe),{key:a.value,label:a.text,name:a.value,disabled:a.disabled},{label:se(()=>[oe(ake,{"is-enabled":a.disabled===!0&&!!a.tooltipMessage,"text-align":"left",width:a.tooltipWidth||"182px",cursor:a.disabled===!0||s.$attrs["tab-position"]==="left"?"default":"pointer"},{text:se(()=>[mt(Be(a.tooltipMessage),1)]),default:se(()=>[re("div",{class:U(["custom-label",{"is-custom-active":a.value===e.modelValue}])},[ke(s.$slots,"label",{item:a},()=>[mt(Be(a.text),1)],!0)],2)]),_:2},1032,["is-enabled","width","cursor"])]),_:2},1032,["label","name","disabled"]))),128))]),_:3},16,["model-value","class"]))}},cke=Lt(lke,[["__scopeId","data-v-9f7e1c9d"]]),uke=ge({name:"FDropdown",components:{ElDropdown:lMe},props:{blockClass:{type:String,default:""},hideOnClick:{type:Boolean,default:!0},noStyles:{type:Boolean,default:!1},showIndicator:{type:Boolean,default:!1},type:{type:String,default:"normal",validator:e=>["normal","small"].includes(e)},pooperOptions:{type:Object,default:()=>{}}},emits:["visible-change"],setup(e,{emit:t,expose:n}){const o=J(null),i=M(()=>`f-dropdown--content dropdown-popper ${e.blockClass}`),s=J(!1),r=()=>{o.value&&e.hideOnClick&&o.value.handleClose()},a=()=>{o.value&&o.value.handleClose()},l=()=>{o.value&&(s.value?o.value.handleClose():o.value.handleOpen())},c=u=>{s.value=u,t("visible-change",u)};return xN(DN.BACKQUOTE,()=>{a()}),n({onForceHandleDropdown:a,onToggleDropdown:l}),{dropdown:o,onHandleDropdown:r,popperClass:i,isDropdownOpen:s,onVisibleChange:c}}});function dke(e,t,n,o,i,s){const r=Ke("AppIcon"),a=Ke("ElDropdown");return N(),ee("div",{class:U(["f-dropdown",{"no-styles":e.noStyles}])},[ke(e.$slots,"prepend",{},void 0,!0),oe(a,Rt(e.$attrs,{ref:"dropdown",trigger:"click","hide-on-click":e.hideOnClick,"popper-class":e.popperClass,"show-timeout":0,"hide-timeout":0,"popper-options":{...e.pooperOptions,modifiers:[{name:"offset",options:{offset:[0,4]}}]},onVisibleChange:e.onVisibleChange}),{dropdown:se(()=>[re("div",{class:"handler",onClick:t[0]||(t[0]=(...l)=>e.onHandleDropdown&&e.onHandleDropdown(...l))},[ke(e.$slots,"content",{},void 0,!0)])]),default:se(()=>[re("div",{class:U(["f-dropdown--title",{small:e.type==="small"}])},[ke(e.$slots,"title",{},()=>[t[1]||(t[1]=mt(" Title here ",-1))],!0),e.showIndicator?(N(),ve(r,{key:0,name:"arrow-dropdown",size:"18px",color:"rgba(0, 0, 0, 1)","is-img-tag":"",class:U(e.isDropdownOpen?"arrow-active":"arrow-inactive")},null,8,["class"])):Se("",!0)],2)]),_:3},16,["hide-on-click","popper-class","popper-options","onVisibleChange"])],2)}const hke=Lt(uke,[["render",dke],["__scopeId","data-v-bb5a6f0e"]]),Cw=ge({name:"FSkeleton",components:{ElSkeleton:QMe,ElSkeletonItem:eLe},props:{isLoading:{type:Boolean,default:!1},transitionName:{type:String,default:"show-1"},variant:{type:String,default:"p"},isFullWidth:{type:Boolean,default:!1},isCentered:{type:Boolean,default:!1},height:{type:String,default:""},circleSize:{type:String,default:"40px"}}}),MR=()=>{Gs(e=>
1726({f8c393f4:e.circleSize,v026170bc:e.height}))},LR=Cw.setup;Cw.setup=LR?(e,t)=>(MR(),LR(e,t)):MR;function pke(e,t,n,o,i,s){const r=Ke("el-skeleton-item"),a=Ke("el-skeleton");return N(),ee("div",{class:U(e.transitionName.includes("fade-absolute")?"position-relative":"")},[oe(Ti,{name:e.transitionName},{default:se(()=>[e.isLoading?(N(),ve(a,Rt({key:0,loading:e.isLoading,animated:"",class:["f-skeleton",{[e.variant]:!0,"is-centered":e.isCentered,"custom-height":!!e.height}]},e.$attrs),{template:se(()=>[oe(r,{variant:e.variant,class:U({"is-full-width":e.isFullWidth,"custom-height":!!e.height})},null,8,["variant","class"])]),default:se(()=>[...t[0]||(t[0]=[])]),_:1},16,["loading","class"])):ke(e.$slots,"default",{key:1},void 0,!0)]),_:3},8,["name"])],2)}const fke=Lt(Cw,[["render",pke],["__scopeId","data-v-95a20d53"]]),gke=["onClick"],mke={__name:"FUpload",props:Eu({limit:{type:Number,default:5},maxSize:{type:Number,default:10}},{modelValue:{type:Array,default:[]},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=J(null),n=e,{t:o}=no.global,i=i0(e,"modelValue"),s=(u,d)=>{const h=(u.size/1048576).toFixed(2),p=d.find(f=>f.uid===u.uid);h>n.maxSize&&p?(r({text:o("component.upload.maxSize",{fileName:u.name,maxSize:n.maxSize}),config:{color:"warning",duration:3e3}}),t.value.handleRemove(p)):i.value=d},{addNotification:r}=Vr(),a=()=>{r({text:o("component.upload.limit",{limit:n.limit}),config:{color:"warning"}})},l=u=>{const d=u.split("."),h=d[d.length-1],p=d.slice(0,d.length-1).join();return`${g5e(p,{maxLength:20})}.${h}`},c=u=>{t.value.handleRemove(u)};return(u,d)=>{const h=Ke("AppText"),p=Ke("AppIcon");return N(),ve(C(Oxe),Rt({ref_key:"uploadComponent",ref:t},u.$attrs,{"file-list":i.value,"onUpdate:fileList":d[0]||(d[0]=f=>i.value=f),class:"f-upload","auto-upload":!1,limit:e.limit,onChange:s,onExceed:a}),Si({file:se(({file:f})=>[re("div",{class:"file-wrapper",onClick:g=>c(f)},[oe(h,{color:"var(--color-black)"},{default:se(()=>[mt(Be(l(f.name)),1)]),_:2},1024),oe(p,{name:"x-close-small",size:"18px",class:"close-icon"})],8,gke)]),_:2},[Tt(u.$slots,(f,g)=>({name:g,fn:se(m=>[ke(u.$slots,g,_i(as(m)),void 0,!0)])}))]),1040,["file-list","limit"])}}},vke=Lt(mke,[["__scopeId","data-v-f87cf868"]]),Cke={},bke={class:"f-spacer"};function yke(e,t){return N(),ee("div",bke)}const wke=Lt(Cke,[["render",yke],["__scopeId","data-v-6239db50"]]),Ske=()=>{const e=J("");return{imageSrc:e,getImageUrl:async(n,o)=>{const{axios:i}=Ln(),s=n.replace("/api","");try{const r=await i.get(s,{responseType:"blob"}),a=new window.FileReader;a.readAsDataURL(r.data),a.onload=()=>{e.value=a.result,o&&o(a.result)}}catch{e.value=void 0}}}},Eke=ge({props:{src:{type:String,default:""},isReadyPicture:{type:Boolean,default:!1}},emits:["update"],setup(e,{emit:t}){const{imageSrc:n,getImageUrl:o}=Ske();return td(async()=>{e.isReadyPicture?n.value=e.src:await o(e.src),t("update",n.value)}),{imageSrc:n}}}),Tke=["src"];function Rke(e,t,n,o,i,s){return N(),ee("img",Rt(e.$attrs,{src:e.imageSrc,class:["image",{"has-data":e.imageSrc}],alt:"image",draggable:"false"}),null,16,Tke)}const Pke=Lt(Eke,[["render",Rke],["__scopeId","data-v-287c678b"]]),Mke={AppImage:Pke,AppSpacer:wke,FButton:Hxe,FDatePicker:$xe,FDateRangeDropdown:DDe,FInput:BDe,FRadioButton:GDe,FRadio:$De,FSelect:UDe,FSwitch:QDe,FDropdown:hke,FTabs:cke,FCheckbox:_De,FSkeleton:fke,FCollapce:nke,FCollapceItem:ske,FSlider:YDe,FUpload:vke},Lke=e=>{e.component("AppText",O3e),e.component("AppIcon",K0),e.component("DateFormatter",EF),e.component("NumberFormatter",U3e),e.component("CustomScroll",i3e),Object.entries(Mke).forEach(t=>{const[n,o]=t;e.component(n,o)})},xke={class:"icon"},Dke={class:"info"},kke={__name:"NotificationItem",props:{duration:{type:[Number,String],default:2e3},type:{type:String,required:!0,default:"success",validator:e=>["success","warning","error"].includes(e)},message:{type:String,default:""}},emits:["close"],setup(e,{emit:t}){const n=t,o=e,i=J(-1),s=p=>{window.clearTimeout(i.value);const f=Number(p);i.value=window.setTimeout(()=>{l.value&&r()},f)},r=()=>{n("close")};s(o.duration);const a=M(()=>o.type?`notification-${o.type}`:"notification-success"),l=J(!0),c=()=>{l.value=!0,s(1e3)},u=J(null),{height:d}=iDe(u),h=M(()=>d.value>36);return(p,f)=>{const g=Ke("AppIcon"),m=Ke("AppText");return N(),ee("div",{ref_key:"notificationRef",ref:u,class:U(["notification",{"has-two-lines":h.value}]),onMouseenter:f[0]||(f[0]=v=>l.value=!1),onMouseleave:c,onClick:r},[re("div",xke,[(N(),ve(g,{key:a.value,name:a.value,size:"18px"},null,8,["name"]))]),re("div",Dke,[oe(m,{ref:"message","line-height":1.5},{default:se(()=>[mt(Be(e.message),1)]),_:1},512)])],34)}}},Ake=Lt(kke,[["__scopeId","data-v-61b709c7"]]),_ke={components:{NotificationItem:Ake},setup(){const{notifications:e,removeNotification:t}=Vr();return{notifications:e,onSnackbarInput:(i,s)=>{s===!1&&t(i)},onClose:i=>{t(i)}}}},Ike={class:"notify-container"};function Fke(e,t,n,o,i,s){const r=Ke("NotificationItem");return N(),ve(xp,{to:"body"},[re("div",Ike,[oe(R4,{name:"anim"},{default:se(()=>[(N(!0),ee(Ze,null,Tt(o.notifications,a=>(N(),ve(r,{key:a.id,type:a.config.color,duration:a.config.duration,title:a.title,message:a.text,onClose:l=>o.onClose(a.id)},null,8,["type","duration","title","message","onClose"]))),128))]),_:1})])])}const Oke=Lt(_ke,[["render",Fke],["__scopeId","data-v-217779e6"]]),Nke={},Bke={id:"top",class:"wrap"};function Hke(e,t){return N(),ee("div",Bke)}const Vke=Lt(Nke,[["render",Hke],["__scopeId","data-v-4ab18c67"]]),$ke={},Wke={class:"service"};function Gke(e,t){return N(),ee("div",Wke,[ke(e.$slots,"default",{},void 0,!0)])}const zke=Lt($ke,[["render",Gke],["__scopeId","data-v-efb487f7"]]),Uke={class:"service__page"},jke={class:"title"},Zke={class:"description"},Kke={class:"contacts"},qke=["aria-label"],Yke=["aria-label"],Xke=["aria-label"],Jke={__name:"ServicePage",props:{title:{type:String,default:"Service Page"},description:{type:String,default:"Service Page Description"}},setup(e){const t=e,n="[email protected]",o=`mailto:${n}`;return(i,s)=>{const r=Ke("AppIcon");
1726return N(),ee("div",Uke,[re("div",jke,Be(t.title),1),re("div",Zke,Be(t.description),1),re("div",Kke,[re("a",{class:"contacts__item",target:"_blank",rel:"noopener noreferrer",href:"https://t.me/switch_to","aria-label":i.t("ariaLabel.telegram")},[oe(r,{name:"telegram",size:"24px"})],8,qke),re("a",{class:"contacts__item",target:"_blank",rel:"noopener noreferrer",href:"https://twitter.com/switch767","aria-label":i.t("ariaLabel.twitter")},[oe(r,{name:"twitter",size:"24px"})],8,Yke),re("a",{class:"contacts__item support",href:o},Be(n))]),re("a",{class:"logo",href:"/","aria-label":i.t("ariaLabel.home")},[oe(r,{name:"switch-logo",size:"90px"})],8,Xke)])}}},Qke=Lt(Jke,[["__scopeId","data-v-a658a746"]]),eAe={name:"TooManyRequestsError"},tAe={class:"error"};function nAe(e,t,n,o,i,s){const r=Ke("AppIcon"),a=Ke("AppText");return N(),ee("div",tAe,[oe(r,{name:"switch-logo",size:"87px",opacity:.2,"is-img-tag":""}),oe(a,{size:"20px",class:"font-medium",variant:"div",mt:"50px"},{default:se(()=>[mt(Be(e.t("servicePage.tooManyRequests.title")),1)]),_:1}),oe(a,{size:"15px",opacity:.5,variant:"div",mt:"12px"},{default:se(()=>[mt(Be(e.t("servicePage.tooManyRequests.description")),1)]),_:1})])}const oAe=Lt(eAe,[["render",nAe],["__scopeId","data-v-d977df71"]]),iAe={__name:"AppService",props:{info:{type:Object,required:!0}},setup(e){const t=e,{t:n}=no.global,o=Object.freeze({ACCESS_RESTRICTED:{title:n("servicePage.accessRescticted.title"),description:n("servicePage.accessRescticted.description")},UNDER_MAINTENANCE:{title:n("servicePage.underMaintenance.title"),description:n("servicePage.underMaintenance.description")}}),i=M(()=>o[t.info?.statusText]),s=M(()=>t.info?.statusText==="TOO_MANY_REQUESTS");return(r,a)=>(N(),ve(Ti,{name:"fade-absolute"},{default:se(()=>[s.value?(N(),ve(oAe,{key:0})):i.value?.title?(N(),ve(zke,{key:1},{default:se(()=>[oe(Qke,{title:i.value?.title,description:i.value?.description},null,8,["title","description"])]),_:1})):Se("",!0)]),_:1}))}},sAe={name:"AppLayout",components:{Dashboard:ra(()=>Kt(()=>import("./index-Byij9KjG.js"),__vite__mapDeps([113,110,59,60,19,20,55,28,29,43,56,23,24,111,8,9,14,114,53,6,7,89,101,39,40,102,103,104,115]))),AdminAuth:ra(()=>Kt(()=>import("./AdminAuth-FVW9ic5P.js"),__vite__mapDeps([116,117]))),EmptyLayout:ra(()=>Kt(()=>import("./EmptyLayout-Ddlm9cJv.js"),[])),LandingLayout:ra(()=>Kt(()=>import("./index-CrxTAiJ5.js"),__vite__mapDeps([118,52,8,9,53,54,119,120,28,29,121]))),PaymentLayout:ra(()=>Kt(()=>import("./index-BCR4r619.js"),__vite__mapDeps([122,119,120,37,102,103,123]))),SignupLayout:ra(()=>Kt(()=>import("./index-BNF9S1Zr.js"),__vite__mapDeps([124,8,9,106,28,29,107,22,125]))),ClientLayout:ra(()=>Kt(()=>import("./ClientLayout-DZcr1da3.js"),__vite__mapDeps([126,8,9,119,120,127])))},setup(){const e=RCe(),t=M(()=>e.meta.layout),{isAdminRole:n}=Go(),o=M(()=>n.value?"theme-admin":"");return{layout:t,theme:o}}};function rAe(e,t,n,o,i,s){return N(),ve(vn(o.layout),{class:U(o.theme)},null,8,["class"])}const aAe=Lt(sAe,[["render",rAe]]),Ws=Object.create(null);Ws.open="0";Ws.close="1";Ws.ping="2";Ws.pong="3";Ws.message="4";Ws.upgrade="5";Ws.noop="6";const pg=Object.create(null);Object.keys(Ws).forEach(e=>{pg[Ws[e]]=e});const W3={type:"error",data:"parser error"},_N=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",IN=typeof ArrayBuffer=="function",FN=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,bw=({type:e,data:t},n,o)=>_N&&t instanceof Blob?n?o(t):xR(t,o):IN&&(t instanceof ArrayBuffer||FN(t))?n?o(t):xR(new Blob([t]),o):o(Ws[e]+(t||"")),xR=(e,t)=>{const n=new FileReader;return n.onload=function(){const o=n.result.split(",")[1];t("b"+(o||""))},n.readAsDataURL(e)};function DR(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let CC;function lAe(e,t){if(_N&&e.data instanceof Blob)return e.data.arrayBuffer().then(DR).then(t);if(IN&&(e.data instanceof ArrayBuffer||FN(e.data)))return t(DR(e.data));bw(e,!1,n=>{CC||(CC=new TextEncoder),t(CC.encode(n))})}const kR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1726+/",Kd=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<kR.length;e++)Kd[kR.charCodeAt(e)]=e;const cAe=e=>{let t=e.length*.75,n=e.length,o,i=0,s,r,a,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const c=new ArrayBuffer(t),u=new Uint8Array(c);for(o=0;o<n;o+=4)s=Kd[e.charCodeAt(o)],r=Kd[e.charCodeAt(o+1)],a=Kd[e.charCodeAt(o+2)],l=Kd[e.charCodeAt(o+3)],u[i++]=s<<2|r>>4,u[i++]=(r&15)<<4|a>>2,u[i++]=(a&3)<<6|l&63;return c},uAe=typeof ArrayBuffer=="function",yw=(e,t)=>{if(typeof e!="string")return{type:"message",data:ON(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:dAe(e.substring(1),t)}:pg[n]?e.length>1?{type:pg[n],data:e.substring(1)}:{type:pg[n]}:W3},dAe=(e,t)=>{if(uAe){const n=cAe(e);return ON(n,t)}else return{base64:!0,data:e}},ON=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},NN="�",hAe=(e,t)=>{const n=e.length,o=new Array(n);let i=0;e.forEach((s,r)=>{bw(s,!1,a=>{o[r]=a,++i===n&&t(o.join(NN))})})},pAe=(e,t)=>{const n=e.split(NN),o=[];for(let i=0;i<n.length;i++){const s=yw(n[i],t);if(o.push(s),s.type==="error")break}return o};function fAe(){return new TransformStream({transform(e,t){lAe(e,n=>{const o=n.length;let i;if(o<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,o);else if(o<65536){i=new Uint8Array(3);const s=new DataView(i.buffer);s.setUint8(0,126),s.setUint16(1,o)}else{i=new Uint8Array(9);const s=new DataView(i.buffer);s.setUint8(0,127),s.setBigUint64(1,BigInt(o))}e.data&&typeof e.data!="string"&&(i[0]|=128),t.enqueue(i),t.enqueue(n)})}})}let bC;function s1(e){return e.reduce((t,n)=>t+n.length,0)}function r1(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let o=0;for(let i=0;i<t;i++)n[i]=e[0][o++],o===e[0].length&&(e.shift(),o=0);return e.length&&o<e[0].length&&(e[0]=e[0].slice(o)),n}function gAe(e,t){bC||(bC=new TextDecoder);const n=[];let o=0,i=-1,s=!1;return new TransformStream({transform(r,a){for(n.push(r);;){if(o===0){if(s1(n)<1)break;const l=r1(n,1);s=(l[0]&128)===128,i=l[0]&127,i<126?o=3:i===126?o=1:o=2}else if(o===1){if(s1(n)<2)break;const l=r1(n,2);i=new DataView(l.buffer,l.byteOffset,l.length).getUint16(0),o=3}else if(o===2){if(s1(n)<8)break;const l=r1(n,8),c=new DataView(l.buffer,l.byteOffset,l.length),u=c.getUint32(0);if(u>Math.pow(2,21)-1){a.enqueue(W3);break}i=u*Math.pow(2,32)+c.getUint32(4),o=3}else{if(s1(n)<i)break;const l=r1(n,i);a.enqueue(yw(s?l:bC.decode(l),t)),o=0}if(i===0||i>e){a.enqueue(W3);break}}}})}const BN=4;function On(e){if(e)return mAe(e)}function mAe(e){for(var t in On.prototype)e[t]=On.prototype[t];return e}On.prototype.on=On.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};On.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this};On.prototype.off=On.prototype.removeListener=On.prototype.removeAllListeners=On.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var o,i=0;i<n.length;i++)if(o=n[i],o===t||o.fn===t){n.splice(i,1);break}return n.length===0&&delete this._callbacks["$"+e],this};On.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],o=1;o<arguments.length;o++)t[o-1]=arguments[o];if(n){n=n.slice(0);for(var o=0,i=n.length;o<i;++o)n[o].apply(this,t)}return this};On.prototype.emitReserved=On.prototype.emit;On.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};On.prototype.hasListeners=function(e){return!!this.listeners(e).length};const di=typeof self<"u"?self:typeof window<"u"?window:Function("return this")();function HN(e,...t){return t.reduce((n,o)=>(e.hasOwnProperty(o)&&(n[o]=e[o]),n),{})}const vAe=di.setTimeout,CAe=di.clearTimeout;function u2(e,t){t.useNativeTimers?(e.setTimeoutFn=vAe.bind(di),e.clearTimeoutFn=CAe.bind(di)):(e.setTimeoutFn=di.setTimeout.bind(di),e.clearTimeoutFn=di.clearTimeout.bind(di))}const bAe=1.33;function yAe(e){return typeof e=="string"?wAe(e):Math.ceil((e.byteLength||e.size)*bAe)}function wAe(e){let t=0,n=0;for(let o=0,i=e.length;o<i;o++)t=e.charCodeAt(o),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(o++,n+=4);return n}function SAe(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function EAe(e){let t={},n=e.split("&");for(let o=0,i=n.length;o<i;o++){let s=n[o].split("=");
1726t[decodeURIComponent(s[0])]=decodeURIComponent(s[1])}return t}class TAe extends Error{constructor(t,n,o){super(t),this.description=n,this.context=o,this.type="TransportError"}}class ww extends On{constructor(t){super(),this.writable=!1,u2(this,t),this.opts=t,this.query=t.query,this.socket=t.socket}onError(t,n,o){return super.emitReserved("error",new TAe(t,n,o)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=yw(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,n={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const n=SAe(t);return n.length?"?"+n:""}}const VN="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),G3=64,RAe={};let AR=0,a1=0,_R;function IR(e){let t="";do t=VN[e%G3]+t,e=Math.floor(e/G3);while(e>0);return t}function $N(){const e=IR(+new Date);return e!==_R?(AR=0,_R=e):e+"."+IR(AR++)}for(;a1<G3;a1++)RAe[VN[a1]]=a1;let WN=!1;try{WN=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const PAe=WN;function GN(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||PAe))return new XMLHttpRequest}catch{}if(!t)try{return new di[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}function MAe(){}const LAe=(function(){return new GN({xdomain:!1}).responseType!=null})();class xAe extends ww{constructor(t){if(super(t),this.polling=!1,typeof location<"u"){const o=location.protocol==="https:";let i=location.port;i||(i=o?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||i!==t.port}const n=t&&t.forceBase64;this.supportsBinary=LAe&&!n,this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}doOpen(){this.poll()}pause(t){this.readyState="pausing";const n=()=>{this.readyState="paused",t()};if(this.polling||!this.writable){let o=0;this.polling&&(o++,this.once("pollComplete",function(){--o||n()})),this.writable||(o++,this.once("drain",function(){--o||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=o=>{if(this.readyState==="opening"&&o.type==="open"&&this.onOpen(),o.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(o)};pAe(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,hAe(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=$N()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}request(t={}){return Object.assign(t,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new yu(this.uri(),t)}doWrite(t,n){const o=this.request({method:"POST",data:t});o.on("success",n),o.on("error",(i,s)=>{this.onError("xhr post error",i,s)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,o)=>{this.onError("xhr poll error",n,o)}),this.pollXhr=t}}let yu=class fg extends On{constructor(t,n){super(),u2(this,n),this.opts=n,this.method=n.method||"GET",this.uri=t,this.data=n.data!==void 0?n.data:null,this.create()}create(){var t;const n=HN(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this.opts.xd;const o=this.xhr=new GN(n);try{o.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){o.setDisableHeaderCheck&&o.setDisableHeaderCheck(!0);for(let i in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(i)&&o.setRequestHeader(i,this.opts.extraHeaders[i])}}catch{}if(this.method==="POST")try{o.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{o.setRequestHeader("Accept","*/*")}catch{}(t=this.opts.cookieJar)===null||t===void 0||t.addCookies(o),"withCredentials"in o&&(o.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(o.timeout=this.opts.requestTimeout),o.onreadystatechange=()=>{var i;o.readyState===3&&((i=this.opts.cookieJar)===null||i===void 0||i.parseCookies(o)),o.readyState===4&&(o.status===200||o.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof o.status=="number"?o.status:0)},0))},o.send(this.data)}catch(i){this.setTimeoutFn(()=>{this.onError(i)},0);return}typeof document<"u"&&(this.index=fg.requestsCount++,fg.requests[this.index]=this)}onError(t){this.emitReserved("error",t,this.xhr),this.cleanup(!0)}cleanup(t){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=MAe,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete fg.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}};yu.requestsCount=0;yu.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",FR);else if(typeof addEventListener=="function"){const e="onpagehide"in di?"pagehide":"unload";addEventListener(e,FR,!1)}}function FR(){for(let e in yu.requests)yu.requests.hasOwnProperty(e)&&yu.requests[e].abort()}const Sw=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0),l1=di.WebSocket||di.MozWebSocket,OR=!0,DAe="arraybuffer",NR=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class kAe extends ww{constructor(t){super(t),this.supportsBinary=!t.forceBase64}get name(){return"websocket"}
1726doOpen(){if(!this.check())return;const t=this.uri(),n=this.opts.protocols,o=NR?{}:HN(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(o.headers=this.opts.extraHeaders);try{this.ws=OR&&!NR?n?new l1(t,n):new l1(t):new l1(t,n,o)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const o=t[n],i=n===t.length-1;bw(o,this.supportsBinary,s=>{const r={};try{OR&&this.ws.send(s)}catch{}i&&Sw(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=$N()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}check(){return!!l1}}class AAe extends ww{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(t=>{const n=gAe(Number.MAX_SAFE_INTEGER,this.socket.binaryType),o=t.readable.pipeThrough(n).getReader(),i=fAe();i.readable.pipeTo(t.writable),this.writer=i.writable.getWriter();const s=()=>{o.read().then(({done:a,value:l})=>{a||(this.onPacket(l),s())}).catch(a=>{})};s();const r={type:"open"};this.query.sid&&(r.data=`{"sid":"${this.query.sid}"}`),this.writer.write(r).then(()=>this.onOpen())})}))}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const o=t[n],i=n===t.length-1;this.writer.write(o).then(()=>{i&&Sw(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this.transport)===null||t===void 0||t.close()}}const _Ae={websocket:kAe,webtransport:AAe,polling:xAe},IAe=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,FAe=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function z3(e){if(e.length>2e3)throw"URI too long";const t=e,n=e.indexOf("["),o=e.indexOf("]");n!=-1&&o!=-1&&(e=e.substring(0,n)+e.substring(n,o).replace(/:/g,";")+e.substring(o,e.length));let i=IAe.exec(e||""),s={},r=14;for(;r--;)s[FAe[r]]=i[r]||"";return n!=-1&&o!=-1&&(s.source=t,s.host=s.host.substring(1,s.host.length-1).replace(/;/g,":"),s.authority=s.authority.replace("[","").replace("]","").replace(/;/g,":"),s.ipv6uri=!0),s.pathNames=OAe(s,s.path),s.queryKey=NAe(s,s.query),s}function OAe(e,t){const n=/\/{2,9}/g,o=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&o.splice(0,1),t.slice(-1)=="/"&&o.splice(o.length-1,1),o}function NAe(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(o,i,s){i&&(n[i]=s)}),n}let zN=class jc extends On{constructor(t,n={}){super(),this.binaryType=DAe,this.writeBuffer=[],t&&typeof t=="object"&&(n=t,t=null),t?(t=z3(t),n.hostname=t.host,n.secure=t.protocol==="https"||t.protocol==="wss",n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=z3(n.host).host),u2(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=EAe(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})}
1726,addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=BN,n.transport=t,this.id&&(n.sid=this.id);const o=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new _Ae[t](o)}open(){let t;if(this.opts.rememberUpgrade&&jc.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(t){let n=this.createTransport(t),o=!1;jc.priorWebsocketSuccess=!1;const i=()=>{o||(n.send([{type:"ping",data:"probe"}]),n.once("packet",d=>{if(!o)if(d.type==="pong"&&d.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;jc.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{o||this.readyState!=="closed"&&(u(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const h=new Error("probe error");h.transport=n.name,this.emitReserved("upgradeError",h)}}))};function s(){o||(o=!0,u(),n.close(),n=null)}const r=d=>{const h=new Error("probe error: "+d);h.transport=n.name,s(),this.emitReserved("upgradeError",h)};function a(){r("transport closed")}function l(){r("socket closed")}function c(d){n&&d.name!==n.name&&s()}const u=()=>{n.removeListener("open",i),n.removeListener("error",r),n.removeListener("close",a),this.off("close",l),this.off("upgrading",c)};n.once("open",i),n.once("error",r),n.once("close",a),this.once("close",l),this.once("upgrading",c),this.upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{o||n.open()},200):n.open()}onOpen(){if(this.readyState="open",jc.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let t=0;const n=this.upgrades.length;for(;t<n;t++)this.probe(this.upgrades[t])}}onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),this.resetPingTimeout(),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const n=new Error("server error");n.code=t.data,this.onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this.getWritablePackets();this.transport.send(t),this.prevBufferLen=t.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let o=0;o<this.writeBuffer.length;o++){const i=this.writeBuffer[o].data;if(i&&(n+=yAe(i)),o>0&&n>this.maxPayload)return this.writeBuffer.slice(0,o);n+=2}return this.writeBuffer}write(t,n,o){return this.sendPacket("message",t,n,o),this}send(t,n,o){return this.sendPacket("message",t,n,o),this}sendPacket(t,n,o,i){if(typeof n=="function"&&(i=n,n=void 0),typeof o=="function"&&(i=o,o=null),this.readyState==="closing"||this.readyState==="closed")return;o=o||{},o.compress=o.compress!==!1;const s={type:t,data:n,options:o};this.emitReserved("packetCreate",s),this.writeBuffer.push(s),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},o=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?o():t()}):this.upgrading?o():t()),this}onError(t){jc.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const n=[];let o=0;const i=t.length;for(;o<i;o++)~this.transports.indexOf(t[o])&&n.push(t[o]);return n}};zN.protocol=BN;function BAe(e,t="",n){let o=e;n=n||typeof location<"u"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n<"u"?e=n.protocol+"//"+e:e="https://"+e),o=z3(e)),o.port||(/^(http|ws)$/.test(o.protocol)?o.port="80":/^(http|ws)s$/.test(o.protocol)&&(o.port="443")),o.path=o.path||"/";const s=o.host.indexOf(":")!==-1?"["+o.host+"]":o.host;return o.id=o.protocol+"://"+s+":"+o.port+t,o.href=o.protocol+"://"+s+(n&&n.port===o.port?"":":"+o.port),o}const HAe=typeof ArrayBuffer=="function",VAe=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,
vendor: 5,138 bytes, line 1726
1726UN=Object.prototype.toString,$Ae=typeof Blob=="function"||typeof Blob<"u"&&UN.call(Blob)==="[object BlobConstructor]",WAe=typeof File=="function"||typeof File<"u"&&UN.call(File)==="[object FileConstructor]";function Ew(e){return HAe&&(e instanceof ArrayBuffer||VAe(e))||$Ae&&e instanceof Blob||WAe&&e instanceof File}function gg(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,o=e.length;n<o;n++)if(gg(e[n]))return!0;return!1}if(Ew(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return gg(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&gg(e[n]))return!0;return!1}function GAe(e){const t=[],n=e.data,o=e;return o.data=U3(n,t),o.attachments=t.length,{packet:o,buffers:t}}function U3(e,t){if(!e)return e;if(Ew(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){const n=new Array(e.length);for(let o=0;o<e.length;o++)n[o]=U3(e[o],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){const n={};for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=U3(e[o],t));return n}return e}function zAe(e,t){return e.data=j3(e.data,t),delete e.attachments,e}function j3(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=j3(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=j3(e[n],t));return e}const UAe=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],jAe=5;var kt;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(kt||(kt={}));class ZAe{constructor(t){this.replacer=t}encode(t){return(t.type===kt.EVENT||t.type===kt.ACK)&&gg(t)?this.encodeAsBinary({type:t.type===kt.EVENT?kt.BINARY_EVENT:kt.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===kt.BINARY_EVENT||t.type===kt.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){const n=GAe(t),o=this.encodeAsString(n.packet),i=n.buffers;return i.unshift(o),i}}function BR(e){return Object.prototype.toString.call(e)==="[object Object]"}class Tw extends On{constructor(t){super(),this.reviver=t}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);const o=n.type===kt.BINARY_EVENT;o||n.type===kt.BINARY_ACK?(n.type=o?kt.EVENT:kt.ACK,this.reconstructor=new KAe(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(Ew(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let n=0;const o={type:Number(t.charAt(0))};if(kt[o.type]===void 0)throw new Error("unknown packet type "+o.type);if(o.type===kt.BINARY_EVENT||o.type===kt.BINARY_ACK){const s=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const r=t.substring(s,n);if(r!=Number(r)||t.charAt(n)!=="-")throw new Error("Illegal attachments");o.attachments=Number(r)}if(t.charAt(n+1)==="/"){const s=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););o.nsp=t.substring(s,n)}else o.nsp="/";const i=t.charAt(n+1);if(i!==""&&Number(i)==i){const s=n+1;for(;++n;){const r=t.charAt(n);if(r==null||Number(r)!=r){--n;break}if(n===t.length)break}o.id=Number(t.substring(s,n+1))}if(t.charAt(++n)){const s=this.tryParse(t.substr(n));if(Tw.isPayloadValid(o.type,s))o.data=s;else throw new Error("invalid payload")}return o}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case kt.CONNECT:return BR(n);case kt.DISCONNECT:return n===void 0;case kt.CONNECT_ERROR:return typeof n=="string"||BR(n);case kt.EVENT:case kt.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&UAe.indexOf(n[0])===-1);case kt.ACK:case kt.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class KAe{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=zAe(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const qAe=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Tw,Encoder:ZAe,get PacketType(){return kt},protocol:jAe},Symbol.toStringTag,{value:"Module"}));function $i(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const YAe=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});
1726class jN extends On{constructor(t,n,o){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,o&&o.auth&&(this.auth=o.auth),this._opts=Object.assign({},o),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[$i(t,"open",this.onopen.bind(this)),$i(t,"packet",this.onpacket.bind(this)),$i(t,"error",this.onerror.bind(this)),$i(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){if(YAe.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const o={type:kt.EVENT,data:n};if(o.options={},o.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const r=this.ids++,a=n.pop();this._registerAckCallback(r,a),o.id=r}const i=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!i||!this.connected)||(this.connected?(this.notifyOutgoingListeners(o),this.packet(o)):this.sendBuffer.push(o)),this.flags={},this}_registerAckCallback(t,n){var o;const i=(o=this.flags.timeout)!==null&&o!==void 0?o:this._opts.ackTimeout;if(i===void 0){this.acks[t]=n;return}const s=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let r=0;r<this.sendBuffer.length;r++)this.sendBuffer[r].id===t&&this.sendBuffer.splice(r,1);n.call(this,new Error("operation has timed out"))},i);this.acks[t]=(...r)=>{this.io.clearTimeoutFn(s),n.apply(this,[null,...r])}}emitWithAck(t,...n){const o=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((i,s)=>{n.push((r,a)=>o?r?s(r):i(a):i(r)),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const o={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((i,...s)=>o!==this._queue[0]?void 0:(i!==null?o.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(i)):(this._queue.shift(),n&&n(null,...s)),o.pending=!1,this._drainQueue())),this._queue.push(o),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:kt.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n)}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case kt.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case kt.EVENT:case kt.BINARY_EVENT:this.onevent(t);break;case kt.ACK:case kt.BINARY_ACK:this.onack(t);break;case kt.DISCONNECT:this.ondisconnect();break;case kt.CONNECT_ERROR:this.destroy();const o=new Error(t.data.message);o.data=t.data.data,this.emitReserved("connect_error",o);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const o of n)o.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let o=!1;return function(...i){o||(o=!0,n.packet({type:kt.ACK,id:t,data:i}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(n.apply(this,t.data),delete this.acks[t.id])}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}
vendor: 5,186 bytes, line 1726
1726destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:kt.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let o=0;o<n.length;o++)if(t===n[o])return n.splice(o,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const n=this._anyOutgoingListeners;for(let o=0;o<n.length;o++)if(t===n[o])return n.splice(o,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const o of n)o.apply(this,t.data)}}}function Sd(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}Sd.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=(Math.floor(t*10)&1)==0?e-n:e+n}return Math.min(e,this.max)|0};Sd.prototype.reset=function(){this.attempts=0};Sd.prototype.setMin=function(e){this.ms=e};Sd.prototype.setMax=function(e){this.max=e};Sd.prototype.setJitter=function(e){this.jitter=e};class Z3 extends On{constructor(t,n){var o;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,u2(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((o=n.randomizationFactor)!==null&&o!==void 0?o:.5),this.backoff=new Sd({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const i=n.parser||qAe;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new zN(this.uri,this.opts);const n=this.engine,o=this;this._readyState="opening",this.skipReconnect=!1;const i=$i(n,"open",function(){o.onopen(),t&&t()}),s=a=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",a),t?t(a):this.maybeReconnectOnOpen()},r=$i(n,"error",s);if(this._timeout!==!1){const a=this._timeout,l=this.setTimeoutFn(()=>{i(),s(new Error("timeout")),n.close()},a);this.opts.autoUnref&&l.unref(),this.subs.push(()=>{this.clearTimeoutFn(l)})}return this.subs.push(i),this.subs.push(r),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push($i(t,"ping",this.onping.bind(this)),$i(t,"data",this.ondata.bind(this)),$i(t,"error",this.onerror.bind(this)),$i(t,"close",this.onclose.bind(this)),$i(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){Sw(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let o=this.nsps[t];return o?this._autoConnect&&!o.active&&o.connect():(o=new jN(this,t,n),this.nsps[t]=o),o}_destroy(t){const n=Object.keys(this.nsps);for(const o of n)if(this.nsps[o].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let o=0;o<n.length;o++)this.engine.write(n[o],t.options)}
1726cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const o=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(i=>{i?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",i)):t.onreconnect()}))},n);this.opts.autoUnref&&o.unref(),this.subs.push(()=>{this.clearTimeoutFn(o)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const $d={};function mg(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=BAe(e,t.path||"/socket.io"),o=n.source,i=n.id,s=n.path,r=$d[i]&&s in $d[i].nsps,a=t.forceNew||t["force new connection"]||t.multiplex===!1||r;let l;return a?l=new Z3(o,t):($d[i]||($d[i]=new Z3(o,t)),l=$d[i]),n.query&&!t.query&&(t.query=n.queryKey),l.socket(n.path,t)}Object.assign(mg,{Manager:Z3,Socket:jN,io:mg,connect:mg});const XAe=()=>G0?`ws://sync.${$I}`:"wss://sync.switch.to";let Ta=null;const dl=new Map,JAe=()=>Ta||(Ta=mg(XAe(),{transports:["websocket"],reconnection:!0,reconnectionDelay:1e3,reconnectionAttempts:5}),Ta),QAe=()=>{const e=JAe();return{socket:e,addSocketListener:(o,i)=>(dl.has(o)||dl.set(o,new Set),dl.get(o).add(i),e.on(o,i),()=>{const s=dl.get(o);s&&(s.delete(i),s.size===0&&dl.delete(o)),e.off(o,i)}),disconnect:()=>{Ta&&(dl.forEach((o,i)=>{o.forEach(s=>{Ta.off(i,s)})}),dl.clear(),Ta.disconnect(),Ta=null)}}},e_e={},t_e={class:"visually-hidden"};function n_e(e,t){return N(),ee("div",t_e,[...t[0]||(t[0]=[re("div",{class:"font-mono"}," fix ",-1),re("div",{class:"font-regular"}," fix ",-1),re("div",{class:"font-medium"}," fix ",-1),re("div",{class:"font-semibold"}," fix ",-1)])])}const o_e=Lt(e_e,[["render",n_e]]),i_e=()=>{const e=fd();return{addFunctionToCleanTableStore:()=>{window.clearTableStorage=()=>{e.tablesSettings={},console.info("Table tablesStore was cleared. Page will be refreshed now"),setTimeout(()=>{document.location.reload()},3e3)}},refreshTableStoreWhenFirstUsageAfterUpdate:()=>{const o=Object.entries(e.tablesSettings).length;e.shouldHardRefresh6&&window.clearTableStorage&&o&&window.clearTableStorage(),e.shouldHardRefresh6=!1}}},s_e=()=>{const e=fn(),t=M(()=>!1),n=M(()=>e.lastResponse?.isServicePage&&t.value===!1),o=M(()=>e.lastResponse||{});return{isServicePage:n,serviceInfo:o,isAdminZone:t}};var vg={exports:{}};/*! Element Plus v2.3.8 */var r_e=vg.exports,HR;function a_e(){return HR||(HR=1,(function(e,t){(function(n,o){e.exports=o()})(r_e,(function(){var n={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",n
1726ov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};return n}))}
1726)(vg)),vg.exports}var l_e=a_e();const c_e=Gn(l_e);var Cg={exports:{}};/*! Element Plus v2.3.8 */var u_e=Cg.exports,VR;function d_e(){return VR||(VR=1,(function(e,t){(function(n,o){e.exports=o()})(u_e,(function(){var n={name:"ru",el:{colorpicker:{confirm:"OK",clear:"Очистить"},datepicker:{now:"Сейчас",today:"Сегодня",cancel:"Отмена",clear:"Очистить",confirm:"OK",selectDate:"Выбрать дату",selectTime:"Выбрать время",startDate:"Дата начала",startTime:"Время начала",endDate:"Дата окончания",endTime:"Время окончания",prevYear:"Предыдущий год",nextYear:"Следующий год",prevMonth:"Предыдущий месяц",nextMonth:"Следующий месяц",year:"",month1:"Январь",month2:"Февраль",month3:"Март",month4:"Апрель",month5:"Май",month6:"Июнь",month7:"Июль",month8:"Август",month9:"Сентябрь",month10:"Октябрь",month11:"Ноябрь",month12:"Декабрь",week:"неделя",weeks:{sun:"Вс",mon:"Пн",tue:"Вт",wed:"Ср",thu:"Чт",fri:"Пт",sat:"Сб"},months:{jan:"Янв",feb:"Фев",mar:"Мар",apr:"Апр",may:"Май",jun:"Июн",jul:"Июл",aug:"Авг",sep:"Сен",oct:"Окт",nov:"Ноя",dec:"Дек"}},select:{loading:"Загрузка",noMatch:"Совпадений не найдено",noData:"Нет данных",placeholder:"Выбрать"},cascader:{noMatch:"Совпадений не найдено",loading:"Загрузка",placeholder:"Выбрать",noData:"Нет данных"},pagination:{goto:"Перейти",pagesize:" на странице",total:"Всего {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages"},messagebox:{title:"Сообщение",confirm:"OK",cancel:"Отмена",error:"Недопустимый ввод данных"},upload:{deleteTip:"Нажмите [Удалить] для удаления",delete:"Удалить",preview:"Превью",continue:"Продолжить"},table:{emptyText:"Нет данных",confirmFilter:"Подтвердить",resetFilter:"Сбросить",clearFilter:"Все",sumText:"Сумма"},tree:{emptyText:"Нет данных"},transfer:{noMatch:"Совпадений не найдено",noData:"Нет данных",titles:["Список 1","Список 2"],filterPlaceholder:"Введите ключевое слово",noCheckedFormat:"{total} пунктов",hasCheckedFormat:"{checked}/{total} выбрано"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"OK",cancelButtonText:"Отмена"}}};return n}))})(Cg)),Cg.exports}var h_e=d_e();const p_e=Gn(h_e);var bg={exports:{}};/*! Element Plus v2.3.8 */var f_e=bg.exports,$R;function g_e(){return $R||($R=1,(function(e,t){(function(n,o){e.exports=o()})(f_e,(function(){var n={name:"zh-cn",el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"}}};return n}))})(bg)),bg.exports}var m_e=g_e();const v_e=Gn(m_e);var yg={exports:{}};/*! Element Plus v2.3.8 */var C_e=yg.exports,WR;function b_e(){return WR||(WR=1,(function(e,t){(function(n,o){e.exports=o()})(C_e,(function(){var n={name:"ja",el:{colorpicker:{confirm:"OK",clear:"クリア"},datepicker:{now:"現在",today:"今日",cancel:"キャンセル",clear:"クリア",confirm:"OK",selectDate:"日付を選択",selectTime:"時間を選択",startDate:"開始日",startTime:"開始時間",endDate:"終了日",endTime:"終了時間",prevYear:"前年",nextYear:"翌年",prevMonth:"前月",nextMonth:"翌月",year:"年",month1:"1月",month2:"2月",month3:"3月",month4:"4月",month5:"5月",month6:"6月",month7:"7月",month8:"8月",month9:"9月",month10:"10月",month11:"11月",month12:"12月",weeks:{sun:"日",mon:"月",tue:"火",wed:"水",thu:"木",fri:"金",sat:"土"},months:{jan:"1月",feb:"2月",mar:"3月",apr:"4月",may:"5月",jun:"6月",jul:"7月",aug:"8月",sep:"9月",oct:"10月",nov:"11月",dec:"12月"}}
1726,select:{loading:"ロード中",noMatch:"データなし",noData:"データなし",placeholder:"選択してください"},cascader:{noMatch:"データなし",loading:"ロード中",placeholder:"選択してください",noData:"データなし"},pagination:{goto:"",pagesize:"件/ページ",total:"総計 {total} 件",pageClassifier:"ページ目へ",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages"},messagebox:{title:"メッセージ",confirm:"OK",cancel:"キャンセル",error:"正しくない入力"},upload:{deleteTip:"Delキーを押して削除する",delete:"削除する",preview:"プレビュー",continue:"続行する"},table:{emptyText:"データなし",confirmFilter:"確認",resetFilter:"初期化",clearFilter:"すべて",sumText:"合計"},tree:{emptyText:"データなし"},transfer:{noMatch:"データなし",noData:"データなし",titles:["リスト 1","リスト 2"],filterPlaceholder:"キーワードを入力",noCheckedFormat:"総計 {total} 件",hasCheckedFormat:"{checked}/{total} を選択した"},image:{error:"失敗"},pageHeader:{title:"戻る"},popconfirm:{confirmButtonText:"はい",cancelButtonText:"いいえ"}}};return n}))})(yg)),yg.exports}var y_e=b_e();const w_e=Gn(y_e);var wg={exports:{}};/*! Element Plus v2.3.8 */var S_e=wg.exports,GR;function E_e(){return GR||(GR=1,(function(e,t){(function(n,o){e.exports=o()})(S_e,(function(){var n={name:"ko",el:{colorpicker:{confirm:"확인",clear:"초기화",defaultLabel:"색상 선택기",description:"현재 색상은 {color}입니다. Enter 키를 눌러 새 색상을 선택합니다."},datepicker:{now:"지금",today:"오늘",cancel:"취소",clear:"초기화",confirm:"확인",dateTablePrompt:"화살표 키를 사용하고 Enter를 눌러 날짜를 선택하십시오.",monthTablePrompt:"화살표 키를 사용하고 Enter를 눌러 월을 선택합니다.",yearTablePrompt:"화살표 키를 사용하고 Enter 키를 눌러 연도를 선택합니다.",selectDate:"날짜 선택",selectTime:"시간 선택",startDate:"시작 날짜",startTime:"시작 시간",endDate:"종료 날짜",endTime:"종료 시간",prevYear:"지난해",nextYear:"다음해",prevMonth:"지난달",nextMonth:"다음달",year:"년",month1:"1월",month2:"2월",month3:"3월",month4:"4월",month5:"5월",month6:"6월",month7:"7월",month8:"8월",month9:"9월",month10:"10월",month11:"11월",month12:"12월",weeks:{sun:"일",mon:"월",tue:"화",wed:"수",thu:"목",fri:"금",sat:"토"},months:{jan:"1월",feb:"2월",mar:"3월",apr:"4월",may:"5월",jun:"6월",jul:"7월",aug:"8월",sep:"9월",oct:"10월",nov:"11월",dec:"12월"}},inputNumber:{decrease:"값 증가",increase:"값 감소"},select:{loading:"불러오는 중",noMatch:"검색된 데이터 없음",noData:"데이터 없음",placeholder:"선택"},dropdown:{toggleDropdown:"드롭다운 전환"},cascader:{noMatch:"검색된 데이터 없음",loading:"불러오는 중",placeholder:"선택",noData:"데이터 없음"},pagination:{goto:"",pagesize:"건/페이지",total:"총 {total} 건",pageClassifier:"페이지로",page:"페이지",prev:"이전 페이지로 이동",next:"다음 페이지로 이동",currentPage:"페이지 {pager}",prevPages:"이전 {pager} 페이지",nextPages:"다음 {pager} 페이지",deprecationWarning:"더 이상 사용되지 않는 동작이 감지되었습니다. 자세한 내용은 el-pagination 문서를 참조하세요."},dialog:{close:"대화 상자 닫기"},drawer:{close:"대화 상자 닫기"},messagebox:{title:"메시지",confirm:"확인",cancel:"취소",error:"올바르지 않은 입력",close:"대화 상자 닫기"},upload:{deleteTip:"Delete 키를 눌러 삭제",delete:"삭제",preview:"미리보기",continue:"계속하기"},slider:{defaultLabel:"{min}과 {max} 사이의 슬라이더",defaultRangeStartLabel:"시작 값 선택",defaultRangeEndLabel:"종료 값 선택"},table:{emptyText:"데이터 없음",confirmFilter:"확인",resetFilter:"초기화",clearFilter:"전체",sumText:"합계"},tree:{emptyText:"데이터 없음"},transfer:{noMatch:"검색된 데이터 없음",noData:"데이터 없음",titles:["리스트 1","리스트 2"],filterPlaceholder:"검색어를 입력하세요",noCheckedFormat:"총 {total} 건",hasCheckedFormat:"{checked}/{total} 선택됨"},image:{error:"불러오기 실패"},pageHeader:{title:"뒤로"},popconfirm:{confirmButtonText:"예",cancelButtonText:"아니오"}}};return n}))})(wg)),wg.exports}var T_e=E_e();const R_e=Gn(T_e),P_e=()=>{const e={ru:p_e,en:c_e,zh:v_e,ja:w_e,ko:R_e},{language:t}=j0();return{locale:M(()=>e[t.value])}},Ac=({rel:e,href:t,sizes:n,type:o,color:i})=>{const s=document?.createElement("link");n&&(s.sizes=n),o&&(s.type=o),i&&(s.color=i),s.rel=e,s.href=t,document?.head.append(s)},M_e=()=>{const{isAdminZone:e}=yc(),t=M(()=>window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches),n=()=>{Ha("ADMIN DARK ICONS IS USED"),Ac({rel:"apple-touch-icon",href:"/favicon-dark/apple-touch-icon.png",sizes:"180x180"}),Ac({rel:"icon",href:"/favicon-dark/favicon-32x32.png",sizes:"32x32",type:"image/png"}),Ac({rel:"icon",href:"/favicon-dark/favicon-16x16.png",sizes:"16x16",type:"image/png"}),Ac({rel:"mask-icon",href:"/favicon-dark/safari-pinned-tab.svg",color:"#d48343"}),Ac({rel:"icon",href:"/favicon-dark/favicon.svg",type:"image/svg+xml"}),Ac({rel:"icon",href:"/favicon-dark/favicon.ico"})},o=()=>{e.value&&t.value&&n()};Le(e,()=>{o()},{immediate:!0})};var ZN="5.0.1";function Vm(e,t){return new Promise(n=>setTimeout(n,e,t))}function L_e(){return new Promise(e=>{const t=new MessageChannel;t.port1.onmessage=()=>e(),t.port2.postMessage(null)})}
1726function x_e(e,t=1/0){const{requestIdleCallback:n}=window;return n?new Promise(o=>n.call(window,()=>o(),{timeout:t})):Vm(Math.min(e,t))}function KN(e){return!!e&&typeof e.then=="function"}function zR(e,t){try{const n=e();KN(n)?n.then(o=>t(!0,o),o=>t(!1,o)):t(!0,n)}catch(n){t(!1,n)}}async function UR(e,t,n=16){const o=Array(e.length);let i=Date.now();for(let s=0;s<e.length;++s){o[s]=t(e[s],s);const r=Date.now();r>=i+n&&(i=r,await L_e())}return o}function Ep(e){return e.then(void 0,()=>{}),e}function D_e(e,t){for(let n=0,o=e.length;n<o;++n)if(e[n]===t)return!0;return!1}function k_e(e,t){return!D_e(e,t)}function Rw(e){return parseInt(e)}function Hi(e){return parseFloat(e)}function sr(e,t){return typeof e=="number"&&isNaN(e)?t:e}function Po(e){return e.reduce((t,n)=>t+(n?1:0),0)}function qN(e,t=1){if(Math.abs(t)>=1)return Math.round(e/t)*t;{const n=1/t;return Math.round(e*n)/n}}function A_e(e){var t,n;const o=`Unexpected syntax '${e}'`,i=/^\s*([a-z-]*)(.*)$/i.exec(e),s=i[1]||void 0,r={},a=/([.:#][\w-]+|\[.+?\])/gi,l=(c,u)=>{r[c]=r[c]||[],r[c].push(u)};for(;;){const c=a.exec(i[2]);if(!c)break;const u=c[0];switch(u[0]){case".":l("class",u.slice(1));break;case"#":l("id",u.slice(1));break;case"[":{const d=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(u);if(d)l(d[1],(n=(t=d[4])!==null&&t!==void 0?t:d[5])!==null&&n!==void 0?n:"");else throw new Error(o);break}default:throw new Error(o)}}return[s,r]}function __e(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++){const o=e.charCodeAt(n);if(o>127)return new TextEncoder().encode(e);t[n]=o}return t}function ia(e,t){const n=e[0]>>>16,o=e[0]&65535,i=e[1]>>>16,s=e[1]&65535,r=t[0]>>>16,a=t[0]&65535,l=t[1]>>>16,c=t[1]&65535;let u=0,d=0,h=0,p=0;p+=s+c,h+=p>>>16,p&=65535,h+=i+l,d+=h>>>16,h&=65535,d+=o+a,u+=d>>>16,d&=65535,u+=n+r,u&=65535,e[0]=u<<16|d,e[1]=h<<16|p}
1726function li(e,t){const n=e[0]>>>16,o=e[0]&65535,i=e[1]>>>16,s=e[1]&65535,r=t[0]>>>16,a=t[0]&65535,l=t[1]>>>16,c=t[1]&65535;let u=0,d=0,h=0,p=0;p+=s*c,h+=p>>>16,p&=65535,h+=i*c,d+=h>>>16,h&=65535,h+=s*l,d+=h>>>16,h&=65535,d+=o*c,u+=d>>>16,d&=65535,d+=i*l,u+=d>>>16,d&=65535,d+=s*a,u+=d>>>16,d&=65535,u+=n*c+o*l+i*a+s*r,u&=65535,e[0]=u<<16|d,e[1]=h<<16|p}function _c(e,t){const n=e[0];t%=64,t===32?(e[0]=e[1],e[1]=n):t<32?(e[0]=n<<t|e[1]>>>32-t,e[1]=e[1]<<t|n>>>32-t):(t-=32,e[0]=e[1]<<t|n>>>32-t,e[1]=n<<t|e[1]>>>32-t)}function jo(e,t){t%=64,t!==0&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<<t):(e[0]=e[1]<<t-32,e[1]=0))}function gn(e,t){e[0]^=t[0],e[1]^=t[1]}const I_e=[4283543511,3981806797],F_e=[3301882366,444984403];function jR(e){const t=[0,e[0]>>>1];gn(e,t),li(e,I_e),t[1]=e[0]>>>1,gn(e,t),li(e,F_e),t[1]=e[0]>>>1,gn(e,t)}const c1=[2277735313,289559509],u1=[1291169091,658871167],ZR=[0,5],O_e=[0,1390208809],N_e=[0,944331445];function B_e(e,t){const n=__e(e);t=t||0;const o=[0,n.length],i=o[1]%16,s=o[1]-i,r=[0,t],a=[0,t],l=[0,0],c=[0,0];let u;for(u=0;
1726u<s;u=u+16)l[0]=n[u+4]|n[u+5]<<8|n[u+6]<<16|n[u+7]<<24,l[1]=n[u]|n[u+1]<<8|n[u+2]<<16|n[u+3]<<24,c[0]=n[u+12]|n[u+13]<<8|n[u+14]<<16|n[u+15]<<24,c[1]=n[u+8]|n[u+9]<<8|n[u+10]<<16|n[u+11]<<24,li(l,c1),_c(l,31),li(l,u1),gn(r,l),_c(r,27),ia(r,a),li(r,ZR),ia(r,O_e),li(c,u1),_c(c,33),li(c,c1),gn(a,c),_c(a,31),ia(a,r),li(a,ZR),ia(a,N_e);l[0]=0,l[1]=0,c[0]=0,c[1]=0;const d=[0,0];switch(i){case 15:d[1]=n[u+14],jo(d,48),gn(c,d);case 14:d[1]=n[u+13],jo(d,40),gn(c,d);case 13:d[1]=n[u+12],jo(d,32),gn(c,d);case 12:d[1]=n[u+11],jo(d,24),gn(c,d);case 11:d[1]=n[u+10],jo(d,16),gn(c,d);case 10:d[1]=n[u+9],jo(d,8),gn(c,d);case 9:d[1]=n[u+8],gn(c,d),li(c,u1),_c(c,33),li(c,c1),gn(a,c);case 8:d[1]=n[u+7],jo(d,56),gn(l,d);case 7:d[1]=n[u+6],jo(d,48),gn(l,d);case 6:d[1]=n[u+5],jo(d,40),gn(l,d);case 5:d[1]=n[u+4],jo(d,32),gn(l,d);case 4:d[1]=n[u+3],jo(d,24),gn(l,d);case 3:d[1]=n[u+2],jo(d,16),gn(l,d);case 2:d[1]=n[u+1],jo(d,8),gn(l,d);case 1:d[1]=n[u],gn(l,d),li(l,c1),_c(l,31),li(l,u1),gn(r,l)}return gn(r,o),gn(a,o),ia(r,a),ia(a,r),jR(r),jR(a),ia(r,a),ia(a,r),("00000000"+(r[0]>>>0).toString(16)).slice(-8)+("00000000"+(r[1]>>>0).toString(16)).slice(-8)+("00000000"+(a[0]>>>0).toString(16)).slice(-8)+("00000000"+(a[1]>>>0).toString(16)).slice(-8)}function H_e(e){var t;return{name:e.name,message:e.message,stack:(t=e.stack)===null||t===void 0?void 0:t.split(`
1727`),...e}}function V_e(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}function $_e(e){return typeof e!="function"}function W_e(e,t){const n=Ep(new Promise(o=>{const i=Date.now();zR(e.bind(null,t),(...s)=>{const r=Date.now()-i;if(!s[0])return o(()=>({error:s[1],duration:r}));const a=s[1];if($_e(a))return o(()=>({value:a,duration:r}));o(()=>new Promise(l=>{const c=Date.now();zR(a,(...u)=>{const d=r+Date.now()-c;if(!u[0])return l({error:u[1],duration:d});l({value:u[1],duration:d})})}))})}));return function(){return n.then(i=>i())}}function G_e(e,t,n,o){const i=Object.keys(e).filter(r=>k_e(n,r)),s=Ep(UR(i,r=>W_e(e[r],t),o));return async function(){const a=await s,l=await UR(a,d=>Ep(d()),o),c=await Promise.all(l),u={};for(let d=0;d<i.length;++d)u[i[d]]=c[d];return u}}function YN(){const e=window,t=navigator;return Po(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function z_e(){const e=window,t=navigator;return Po(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!YN()}function df(){const e=window,t=navigator;return Po(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,(t.vendor||"").indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function fs(){const e=window,t=navigator;return Po(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,t.vendor.indexOf("Apple")===0,"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function Pw(){const e=window,{HTMLElement:t,Document:n}=e;return Po(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function hf(){const e=window;return V_e(e.print)&&String(e.browser)==="[object WebPageNamespace]"}function XN(){var e,t;const n=window;return Po(["buildID"in navigator,"MozAppearance"in((t=(e=document.documentElement)===null||e===void 0?void 0:e.style)!==null&&t!==void 0?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function U_e(){const e=window;return Po([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3}function j_e(){const e=window,{URLPattern:t}=e;return Po(["union"in Set.prototype,"Iterator"in e,t&&"hasRegExpGroups"in t.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}function Z_e(){const e=window;return Po(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}function pf(){const e=window,t=navigator,{CSS:n,HTMLButtonElement:o}=e;return Po([!("getStorageUpdates"in t),o&&"popover"in o.prototype,"CSSCounterStyleRule"in e,n.supports("font-size-adjust: ex-height 0.5"),n.supports("text-transform: full-width")])>=4}function K_e(){if(navigator.platform==="iPad")return!0;const e=screen,t=e.width/e.height;return Po(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}function q_e(){const e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function Y_e(){const e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function Mw(){const e=df(),t=XN(),n=window,o=navigator,i="connection";return e?Po([!("SharedWorker"in n),o[i]&&"ontypechange"in o[i],!("sinkId"in new Audio)])>=2:t?Po(["onorientationchange"in n,"orientation"in n,/android/i.test(o.appVersion)])>=2:!1}function X_e(){const e=navigator,t=window,n=Audio.prototype,{visualVie
1727wport:o}=t;return Po(["srLatency"in n,"srChannelCount"in n,"devicePosture"in e,o&&"segments"in o,"getTextInformation"in Image.prototype])>=3}function J_e(){return tIe()?-4:Q_e()}function Q_e(){const e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(eIe())return-1;const n=4500,o=5e3,i=new t(1,o,44100),s=i.createOscillator();s.type="triangle",s.frequency.value=1e4;const r=i.createDynamicsCompressor();r.threshold.value=-50,r.knee.value=40,r.ratio.value=12,r.attack.value=0,r.release.value=.25,s.connect(r),r.connect(i.destination),s.start(0);const[a,l]=nIe(i),c=Ep(a.then(u=>oIe(u.getChannelData(0).subarray(n)),u=>{if(u.name==="timeout"||u.name==="suspended")return-3;throw u}));return()=>(l(),c)}function eIe(){return fs()&&!Pw()&&!Z_e()}function tIe(){return fs()&&pf()&&hf()||df()&&X_e()&&j_e()}function nIe(e){let s=()=>{};return[new Promise((a,l)=>{let c=!1,u=0,d=0;e.oncomplete=f=>a(f.renderedBuffer);const h=()=>{setTimeout(()=>l(KR("timeout")),Math.min(500,d+5e3-Date.now()))},p=()=>{try{const f=e.startRendering();switch(KN(f)&&Ep(f),e.state){case"running":d=Date.now(),c&&h();break;case"suspended":document.hidden||u++,c&&u>=3?l(KR("suspended")):setTimeout(p,500);break}}catch(f){l(f)}};p(),s=()=>{c||(c=!0,d>0&&h())}}),s]}function oIe(e){let t=0;for(let n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}function KR(e){const t=new Error(e);return t.name=e,t}async function JN(e,t,n=50){var o,i,s;const r=document;for(;!r.body;)await Vm(n);const a=r.createElement("iframe");try{for(await new Promise((l,c)=>{let u=!1;const d=()=>{u=!0,l()},h=g=>{u=!0,c(g)};a.onload=d,a.onerror=h;const{style:p}=a;p.setProperty("display","block","important"),p.position="absolute",p.top="0",p.left="0",p.visibility="hidden",t&&"srcdoc"in a?a.srcdoc=t:a.src="about:blank",r.body.appendChild(a);const f=()=>{var g,m;u||(((m=(g=a.contentWindow)===null||g===void 0?void 0:g.document)===null||m===void 0?void 0:m.readyState)==="complete"?d():setTimeout(f,10))};f()});!(!((i=(o=a.contentWindow)===null||o===void 0?void 0:o.document)===null||i===void 0)&&i.body);)await Vm(n);return await e(a,a.contentWindow)}finally{(s=a.parentNode)===null||s===void 0||s.removeChild(a)}}function iIe(e){const[t,n]=A_e(e),o=document.createElement(t??"div");for(const i of Object.keys(n)){const s=n[i].join(" ");i==="style"?sIe(o.style,s):o.setAttribute(i,s)}return o}function sIe(e,t){for(const n of t.split(";")){const o=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(n);if(o){const[,i,s,,r]=o;e.setProperty(i,s,r||"")}}}function rIe(){let e=window;for(;;){const t=e.parent;if(!t||t===e)return!1;try{if(t.location.origin!==e.location.origin)return!0}catch(n){if(n instanceof Error&&n.name==="SecurityError")return!0;throw n}e=t}}const aIe="mmMwWLliI0O&1",lIe="48px",Ic=["monospace","sans-serif","serif"],qR=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function cIe(){return JN(async(e,{document:t})=>{const n=t.body;n.style.fontSize=lIe;const o=t.createElement("div");o.style.setProperty("visibility","hidden","important");const i={},s={},r=p=>{const f=t.createElement("span"),{style:g}=f;return g.position="absolute",g.top="0",g.left="0",g.fontFamily=p,f.textContent=aIe,o.appendChild(f),f},a=(p,f)=>r(`'${p}',${f}`),l=()=>Ic.map(r),c=()=>{const p={};for(const f of qR)p[f]=Ic.map(g=>a(f,g));return p},u=p=>Ic.some((f,g)=>p[g].offsetWidth!==i[f]||p[g].offsetHeight!==s[f]),d=l(),h=c();n.appendChild(o);for(let p=0;p<Ic.length;p++)i[Ic[p]]=d[p].offsetWidth,s[Ic[p]]=d[p].offsetHeight;return qR.filter(p=>u(h[p]))})}function uIe(){const e=navigator.plugins;if(!e)return;const t=[];for(let n=0;n<e.length;++n){const o=e[n];if(!o)continue;const i=[];for(let s=0;s<o.length;++s){const r=o[s];i.push({type:r.type,suffixes:r.suffixes})}t.push({name:o.name,description:o.description,mimeTypes:i})}return t}function dIe(){return hIe(bIe())}function hIe(e){let t=!1,n,o;const[i,s]=pIe();return fIe(i,s)?(t=gIe(s),e?n=o="skipped":[n,o]=mIe(i,s)):n=o="unsupported",{winding:t,geometry:n,text:o}}function pIe(){const e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}function fIe(e,t){return!!(t&&e.toDataURL)}function gIe(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(
17275,5,"evenodd")}function mIe(e,t){vIe(e,t);const n=yC(e),o=yC(e);return n!==o?["unstable","unstable"]:(CIe(e,t),[yC(e),n])}function vIe(e,t){e.width=240,e.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"';const n="Cwm fjordbank gly 😃";t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}function CIe(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(const[n,o,i]of[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]])t.fillStyle=n,t.beginPath(),t.arc(o,i,40,0,Math.PI*2,!0),t.closePath(),t.fill();t.fillStyle="#f9c",t.arc(60,60,60,0,Math.PI*2,!0),t.arc(60,60,20,0,Math.PI*2,!0),t.fill("evenodd")}function yC(e){return e.toDataURL()}function bIe(){return fs()&&pf()&&hf()}function yIe(){const e=navigator;let t=0,n;e.maxTouchPoints!==void 0?t=Rw(e.maxTouchPoints):e.msMaxTouchPoints!==void 0&&(t=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),n=!0}catch{n=!1}const o="ontouchstart"in window;return{maxTouchPoints:t,touchEvent:n,touchStart:o}}function wIe(){return navigator.oscpu}function SIe(){const e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(n!==void 0&&t.push([n]),Array.isArray(e.languages))df()&&U_e()||t.push(e.languages);else if(typeof e.languages=="string"){const o=e.languages;o&&t.push(o.split(","))}return t}function EIe(){return window.screen.colorDepth}function TIe(){return sr(Hi(navigator.deviceMemory),void 0)}function RIe(){if(!(fs()&&pf()&&hf()))return PIe()}function PIe(){const e=screen,t=o=>sr(Rw(o),null),n=[t(e.width),t(e.height)];return n.sort().reverse(),n}const MIe=2500,LIe=10;let Sg,wC;function xIe(){if(wC!==void 0)return;const e=()=>{const t=K3();q3(t)?wC=setTimeout(e,MIe):(Sg=t,wC=void 0)};e()}function DIe(){return xIe(),async()=>{let e=K3();if(q3(e)){if(Sg)return[...Sg];q_e()&&(await Y_e(),e=K3())}return q3(e)||(Sg=e),e}}function kIe(){if(fs()&&pf()&&hf())return()=>Promise.resolve(void 0);const e=DIe();return async()=>{const t=await e(),n=o=>o===null?null:qN(o,LIe);return[n(t[0]),n(t[1]),n(t[2]),n(t[3])]}}function K3(){const e=screen;return[sr(Hi(e.availTop),null),sr(Hi(e.width)-Hi(e.availWidth)-sr(Hi(e.availLeft),0),null),sr(Hi(e.height)-Hi(e.availHeight)-sr(Hi(e.availTop),0),null),sr(Hi(e.availLeft),null)]}function q3(e){for(let t=0;t<4;++t)if(e[t])return!1;return!0}function AIe(){return sr(Rw(navigator.hardwareConcurrency),void 0)}function _Ie(){var e;const t=(e=window.Intl)===null||e===void 0?void 0:e.DateTimeFormat;if(t){const o=new t().resolvedOptions().timeZone;if(o)return o}const n=-IIe();return`UTC${n>=0?"+":""}${n}`}function IIe(){const e=new Date().getFullYear();return Math.max(Hi(new Date(e,0,1).getTimezoneOffset()),Hi(new Date(e,6,1).getTimezoneOffset()))}function FIe(){try{return!!window.sessionStorage}catch{return!0}}function OIe(){try{return!!window.localStorage}catch{return!0}}function NIe(){if(!(YN()||z_e()))try{return!!window.indexedDB}catch{return!0}}function BIe(){return!!window.openDatabase}function HIe(){return navigator.cpuClass}function VIe(){const{platform:e}=navigator;return e==="MacIntel"&&fs()&&!Pw()?K_e()?"iPad":"iPhone":e}function $Ie(){return navigator.vendor||""}function WIe(){const e=[];for(const t of["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"]){const n=window[t];n&&typeof n=="object"&&e.push(t)}return e.sort()}function GIe(){const e=document;try{e.cookie="cookietest=1; SameSite=Strict;";const t=e.cookie.indexOf("cookietest=")!==-1;return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch{return!1}}function zIe
vendor: 7,239 bytes, line 1727
1727(){const e=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',e("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",e("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",e("LnNwb25zb3JpdA=="),".ylamainos",e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",e("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",e("LmhlYWRlci1ibG9ja2VkLWFk"),e("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",e("I2FkXzMwMFgyNTA="),e("I2Jhbm5lcmZsb2F0MjI="),e("I2NhbXBhaWduLWJhbm5lcg=="),e("I0FkLUNvbnRlbnQ=")],adGuardChinese:[e("LlppX2FkX2FfSA=="),e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",e("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),e("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",e("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),e("LmFkZ29vZ2xl"),e("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[e("YW1wLWF1dG8tYWRz"),e("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",e("I2FkX2ludmlld19hcmVh")],adGuardRussian:[e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),e("LnJlY2xhbWE="),'div[id^="smi2adblock"]',e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",e("I3Jla2xhbWk="),e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",e("LndpZGdldF9wb19hZHNfd2lkZ2V0"),e("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",e("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),e("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",e("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",e("I3Jla2xhbW5pLWJveA=="),e("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[e("I2FkdmVydGVudGll"),e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",e("LnNwb25zb3JsaW5rZ3J1ZW4="),e("I3dlcmJ1bmdza3k="),e("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),e("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[e("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[e("LnJla2xhbW9zX3RhcnBhcw=="),e("LnJla2xhbW9zX251b3JvZG9z"),e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",e("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",e("LmFkX19tYWlu"),e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),e("I2xpdmVyZUFkV3JhcHBlcg=="),e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),e("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[e("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),e("ZGl2I3NrYXBpZWNfYWQ=")],ro:[e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),e("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",e("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}
1727async function UIe({debug:e}={}){if(!jIe())return;const t=zIe(),n=Object.keys(t),o=[].concat(...n.map(r=>t[r])),i=await ZIe(o);e&&KIe(t,i);const s=n.filter(r=>{const a=t[r];return Po(a.map(c=>i[c]))>a.length*.6});return s.sort(),s}function jIe(){return fs()||Mw()}async function ZIe(e){var t;const n=document,o=n.createElement("div"),i=new Array(e.length),s={};YR(o);for(let r=0;r<e.length;++r){const a=iIe(e[r]);a.tagName==="DIALOG"&&a.show();const l=n.createElement("div");YR(l),l.appendChild(a),o.appendChild(l),i[r]=a}for(;!n.body;)await Vm(50);n.body.appendChild(o);try{for(let r=0;r<e.length;++r)i[r].offsetParent||(s[e[r]]=!0)}finally{(t=o.parentNode)===null||t===void 0||t.removeChild(o)}return s}function YR(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function KIe(e,t){let n="DOM blockers debug:\n```";for(const o of Object.keys(e)){n+=`
1728${o}:`;for(const i of e[o])n+=`
1729  ${t[i]?"🚫":"➡️"} ${i}`}console.log(`${n}
1730\`\`\``)}function qIe(){for(const e of["rec2020","p3","srgb"])if(matchMedia(`(color-gamut: ${e})`).matches)return e}function YIe(){if(XR("inverted"))return!0;if(XR("none"))return!1}function XR(e){return matchMedia(`(inverted-colors: ${e})`).matches}function XIe(){if(JR("active"))return!0;if(JR("none"))return!1}function JR(e){return matchMedia(`(forced-colors: ${e})`).matches}const JIe=100;function QIe(){if(matchMedia("(min-monochrome: 0)").matches){for(let e=0;e<=JIe;++e)if(matchMedia(`(max-monochrome: ${e})`).matches)return e;throw new Error("Too high value")}}function eFe(){if(Fc("no-preference"))return 0;if(Fc("high")||Fc("more"))return 1;if(Fc("low")||Fc("less"))return-1;if(Fc("forced"))return 10}function Fc(e){return matchMedia(`(prefers-contrast: ${e})`).matches}function tFe(){if(QR("reduce"))return!0;if(QR("no-preference"))return!1}function QR(e){return matchMedia(`(prefers-reduced-motion: ${e})`).matches}
1730function nFe(){if(eP("reduce"))return!0;if(eP("no-preference"))return!1}function eP(e){return matchMedia(`(prefers-reduced-transparency: ${e})`).matches}function oFe(){if(tP("high"))return!0;if(tP("standard"))return!1}function tP(e){return matchMedia(`(dynamic-range: ${e})`).matches}const Zt=Math,yo=()=>0;function iFe(){const e=Zt.acos||yo,t=Zt.acosh||yo,n=Zt.asin||yo,o=Zt.asinh||yo,i=Zt.atanh||yo,s=Zt.atan||yo,r=Zt.sin||yo,a=Zt.sinh||yo,l=Zt.cos||yo,c=Zt.cosh||yo,u=Zt.tan||yo,d=Zt.tanh||yo,h=Zt.exp||yo,p=Zt.expm1||yo,f=Zt.log1p||yo,g=R=>Zt.pow(Zt.PI,R),m=R=>Zt.log(R+Zt.sqrt(R*R-1)),v=R=>Zt.log(R+Zt.sqrt(R*R+1)),y=R=>Zt.log((1+R)/(1-R))/2,b=R=>Zt.exp(R)-1/Zt.exp(R)/2,w=R=>(Zt.exp(R)+1/Zt.exp(R))/2,S=R=>Zt.exp(R)-1,E=R=>(Zt.exp(2*R)-1)/(Zt.exp(2*R)+1),T=R=>Zt.log(1+R);return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:m(1e154),asin:n(.12312423423423424),asinh:o(1),asinhPf:v(1),atanh:i(.5),atanhPf:y(.5),atan:s(.5),sin:r(-1e300),sinh:a(1),sinhPf:b(1),cos:l(10.000000000123),cosh:c(1),coshPf:w(1),tan:u(-1e300),tanh:d(1),tanhPf:E(1),exp:h(1),expm1:p(1),expm1Pf:S(1),log1p:f(10),log1pPf:T(10),powPI:g(-100)}}const sFe="mmMwWLliI0fiflO&1",SC={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function rFe(){return aFe((e,t)=>{const n={},o={};for(const i of Object.keys(SC)){const[s={},r=sFe]=SC[i],a=e.createElement("span");a.textContent=r,a.style.whiteSpace="nowrap";for(const l of Object.keys(s)){const c=s[l];c!==void 0&&(a.style[l]=c)}n[i]=a,t.append(e.createElement("br"),a)}for(const i of Object.keys(SC))o[i]=n[i].getBoundingClientRect().width;return o})}function aFe(e,t=4e3){return JN((n,o)=>{const i=o.document,s=i.body,r=s.style;r.width=`${t}px`,r.webkitTextSizeAdjust=r.textSizeAdjust="none",df()?s.style.zoom=`${1/o.devicePixelRatio}`:fs()&&(s.style.zoom="reset");const a=i.createElement("div");return a.textContent=[...Array(t/20<<0)].map(()=>"word").join(" "),s.appendChild(a),e(i,s)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}function lFe(){return navigator.pdfViewerEnabled}function cFe(){const e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]}function uFe(){const{ApplePaySession:e}=window;if(typeof e?.canMakePayments!="function")return-1;if(dFe())return-3;try{return e.canMakePayments()?1:0}catch(t){return hFe(t)}}const dFe=rIe;function hFe(e){if(e instanceof Error&&e.name==="InvalidAccessError"&&/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;throw e}function pFe(){var e;const t=document.createElement("a"),n=(e=t.attributionSourceId)!==null&&e!==void 0?e:t.attributionsourceid;return n===void 0?void 0:String(n)}const QN=-1,eB=-2,fFe=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),gFe=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),mFe=["FRAGMENT_SHADER","VERTEX_SHADER"],vFe=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],tB="WEBGL_debug_renderer_info",CFe="WEBGL_polygon_mode";function bFe({cache:e}){var t,n,o,i,s,r;const a=nB(e);if(!a)return QN;if(!iB(a))return eB;const l=oB()?null:a.getExtension(tB);return{version:((t=a.getParameter(a.VERSION))===null||t===void 0?void 0:t.toString())||"",vendor:((n=a.getParameter(a.VENDOR))===null||n===void 0?void 0:n.toString())||"",vendorUnmasked:l?(o=a.getParameter(l.UNMASKED_VENDOR_WEBGL))===null||o===void 0?void 0:o.toString():"",renderer:((i=a.getParameter(a.RENDERER))===null||i===void 0?void 0:i.toString())||"",rendererUnmasked:l?(s=a.getParameter(l.UNMASKED_RENDERER_WEBGL))===null||s===void 0?void 0:s.toString():"",shadingLanguageVersion:((r=a.getParameter(a.SHADING_LANGUAGE_VERSION))===null||r===void 0?void 0:r.toString())||""}}function yFe({cache:e}){const t=nB(e);if(!t)return QN;if(!iB(t))return eB;
1730const n=t.getSupportedExtensions(),o=t.getContextAttributes(),i=[],s=[],r=[],a=[],l=[];if(o)for(const u of Object.keys(o))s.push(`${u}=${o[u]}`);const c=nP(t);for(const u of c){const d=t[u];r.push(`${u}=${d}${fFe.has(d)?`=${t.getParameter(d)}`:""}`)}if(n)for(const u of n){if(u===tB&&oB()||u===CFe&&EFe())continue;const d=t.getExtension(u);if(!d){i.push(u);continue}for(const h of nP(d)){const p=d[h];a.push(`${h}=${p}${gFe.has(p)?`=${t.getParameter(p)}`:""}`)}}for(const u of mFe)for(const d of vFe){const h=wFe(t,u,d);l.push(`${u}.${d}=${h.join(",")}`)}return a.sort(),r.sort(),{contextAttributes:s,parameters:r,shaderPrecisions:l,extensions:n,extensionParameters:a,unsupportedExtensions:i}}function nB(e){if(e.webgl)return e.webgl.context;const t=document.createElement("canvas");let n;t.addEventListener("webglCreateContextError",()=>n=void 0);for(const o of["webgl","experimental-webgl"]){try{n=t.getContext(o)}catch{}if(n)break}return e.webgl={context:n},n}function wFe(e,t,n){const o=e.getShaderPrecisionFormat(e[t],e[n]);return o?[o.rangeMin,o.rangeMax,o.precision]:[]}function nP(e){return Object.keys(e.__proto__).filter(SFe)}function SFe(e){return typeof e=="string"&&!e.match(/[^A-Z0-9_x]/)}function oB(){return XN()}function EFe(){return df()||fs()}function iB(e){return typeof e.getParameter=="function"}function TFe(){if(!(Mw()||fs()))return-2;if(!window.AudioContext)return-1;const t=new AudioContext().baseLatency;return t==null?-1:isFinite(t)?t:-3}function RFe(){if(!window.Intl)return-1;const e=window.Intl.DateTimeFormat;if(!e)return-2;const t=e().resolvedOptions().locale;return!t&&t!==""?-3:t}const PFe={fonts:cIe,domBlockers:UIe,fontPreferences:rFe,audio:J_e,screenFrame:kIe,canvas:dIe,osCpu:wIe,languages:SIe,colorDepth:EIe,deviceMemory:TIe,screenResolution:RIe,hardwareConcurrency:AIe,timezone:_Ie,sessionStorage:FIe,localStorage:OIe,indexedDB:NIe,openDatabase:BIe,cpuClass:HIe,platform:VIe,plugins:uIe,touchSupport:yIe,vendor:$Ie,vendorFlavors:WIe,cookiesEnabled:GIe,colorGamut:qIe,invertedColors:YIe,forcedColors:XIe,monochrome:QIe,contrast:eFe,reducedMotion:tFe,reducedTransparency:nFe,hdr:oFe,math:iFe,pdfViewerEnabled:lFe,architecture:cFe,applePay:uFe,privateClickMeasurement:pFe,audioBaseLatency:TFe,dateTimeLocale:RFe,webGlBasics:bFe,webGlExtensions:yFe};function MFe(e){return G_e(PFe,e,[])}const LFe="$ if upgrade to Pro: https://fpjs.dev/pro";function xFe(e){const t=DFe(e),n=kFe(t);return{score:t,comment:LFe.replace(/\$/g,`${n}`)}}function DFe(e){if(Mw())return .4;if(fs())return Pw()&&!(pf()&&hf())?.5:.3;const t="value"in e.platform?e.platform.value:"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}function kFe(e){return qN(.99+.01*e,1e-4)}function AFe(e){let t="";for(const n of Object.keys(e).sort()){const o=e[n],i="error"in o?"error":JSON.stringify(o.value);t+=`${t?"|":""}${n.replace(/([:|\\])/g,"\\$1")}:${i}`}return t}function sB(e){return JSON.stringify(e,(t,n)=>n instanceof Error?H_e(n):n,2)}function rB(e){return B_e(AFe(e))}function _Fe(e){let t;const n=xFe(e);return{get visitorId(){return t===void 0&&(t=rB(this.components)),t},set visitorId(o){t=o},confidence:n,components:e,version:ZN}}function IFe(e=50){return x_e(e,e*2)}function FFe(e,t){const n=Date.now();return{async get(o){const i=Date.now(),s=await e(),r=_Fe(s);return(t||o?.debug)&&console.log(`Copy the text below to get the debug data:
1731
1732\`\`\`
1733version: ${r.version}
1734userAgent: ${navigator.userAgent}
1735timeBetweenLoadAndGet: ${i-n}
1736visitorId: ${r.visitorId}
1737components: ${sB(s)}
1738\`\`\``),r}}}function OFe(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{const e=new XMLHttpRequest;e.open("get",`https://m1.openfpcdn.io/fingerprintjs/v${ZN}/npm-monitoring`,!0),e.send()}catch(e){console.error(e)}}async function NFe(e={}){var t;(!((t=e.monitoring)!==null&&t!==void 0)||t)&&OFe();const{delayFallback:n,debug:o}=e;await IFe(n);const i=MFe({cache:{},debug:o});return FFe(i,o)}var oP={load:NFe,hashComponents:rB,componentsToDebugString:sB};const iP=async e=>{e&&($r.defaults.headers.device_id=e,nc.defaults.headers.device_id=e)},BFe=async()=>{const e=cI();if(e.salt===null){const t=Math.random();e.$patch({salt:t})}},HFe=async()=>{const n=await(await await oP.load()).get(),{screenResolution:o,screenFrame:i,...s}=n.components;return oP.hashComponents(s)},VFe=async()=>{const e=cI(),t=e.getDeviceId;if(t)iP(t);else{BFe();const n=await HFe();e.$patch({deviceId:n}),iP(e.getDeviceId)}},$Fe={__name:"App",setup(e){VFe();const{addFunctionToCleanTableStore:t,refreshTableStoreWhenFirstUsageAfterUpdate:n}=i_e();t(),n(),L5e(ff);const{locale:o}=P_e(),{isServicePage:i,serviceInfo:s,isAdminZone:r}=s_e(),a=M(()=>r.value?!1:i.value);M_e();const{addSocketListener:l,disconnect:c}=QAe();ot(()=>{l("newFeVersion",d=>{hF(d.feVersion)})}),f4((d,h)=>h.$options.name!=="i18n-t");const{isOnline:u}=sDe();return Le(u,d=>{if(!d){const{t:h}=no.global,{addNotification:p}=Vr();p({text:h("errors.CONNECTION_LOST"),config:{color:"warning",duration:5e3}})}}),Mn(()=>{c()}),(d,h)=>(N(),ve(C(c7e),{locale:C(o)},{default:se(()=>[oe(Oke),Pt(oe(iAe,{info:C(s)},null,8,["info"]),[[Dn,a.value]]),Pt(oe(Vke,null,null,512),[[Dn,!a.value]]),Pt(oe(aAe,null,null,512),[[Dn,!a.value]]),oe(o_e)]),_:1},8,["locale"]))}};VG.registerModules([qse]);const ff=Bg($Fe).use(Ar).use(no).use(VW,{localizationFunction:ky});Xhe(ff,Ar);D0e(ff);Lke(ff);ff.mount("#app");export{j0 as $,Zu as A,u5e as B,Qt as C,KOe as D,fn as E,Ar as F,fDe as G,no as H,ec as I,HCe as J,C5e as K,ft as L,Ze as M,ake as N,Tt as O,Si as P,Go as Q,Jt as R,td as S,hDe as T,N0 as U,$Oe as V,O0 as W,Mn as X,C as Y,vn as Z,Lt as _,cI as a,NCe as a$,i0 as a0,lDe as a1,St as a2,TOe as a3,fNe as a4,Gs as a5,Le as a6,Ti as a7,Rt as a8,Dt as a9,rn as aA,xN as aB,DN as aC,Eu as aD,fI as aE,pI as aF,W0e as aG,Dy as aH,iDe as aI,iOe as aJ,En as aK,j1 as aL,d1e as aM,hI as aN,m3 as aO,zy as aP,eC as aQ,ra as aR,ca as aS,Kt as aT,GOe as aU,m4 as aV,jV as aW,eNe as aX,WOe as aY,zOe as aZ,UOe as a_,i3e as aa,POe as ab,ZOe as ac,$I as ad,Qke as ae,zke as af,yc as ag,Rn as ah,LOe as ai,sOe as aj,oOe as ak,tOe as al,nOe as am,EF as an,tt as ao,f5e as ap,MOe as aq,I3e as ar,lp as as,XOe as at,ot as au,tV as av,_t as aw,R4 as ax,Pt as ay,Dn as az,QAe as b,pNe as b$,OCe as b0,$0e as b1,xp as b2,U3e as b3,sNe as b4,BOe as b5,SF as b6,wF as b7,tf as b8,jOe as b9,Me as bA,kK as bB,Ct as bC,qt as bD,oL as bE,Ls as bF,Xm as bG,nse as bH,R1 as bI,ZFe as bJ,Ii as bK,V0e as bL,YOe as bM,eOe as bN,hNe as bO,Oh as bP,by as bQ,gI as bR,I0e as bS,QFe as bT,K0 as bU,rNe as bV,iNe as bW,nNe as bX,NOe as bY,tNe as bZ,aNe as b_,E4 as ba,fd as bb,JFe as bc,uI as bd,o5e as be,uNe as bf,nl as bg,cNe as bh,kCe as bi,dDe as bj,XFe as bk,mR as bl,MN as bm,S5e as bn,HH as bo,ts as bp,TJ as bq,Wh as br,vt as bs,Jm as bt,jFe as bu,lb as bv,KFe as bw,Or as bx,hV as by,qFe as bz,Vr as c,Zl as c0,ROe as c1,VOe as c2,HOe as c3,oNe as c4,DOe as c5,FCe as c6,G0e as c7,kOe as c8,IOe as c9,GFe as cA,Ske as cB,JOe as cC,QOe as cD,U0e as cE,IDe as cF,dNe as cG,P4 as cH,J$ as cI,Pf as cJ,HW as cK,UFe as cL,ICe as cM,xOe as cN,OOe as cO,AOe as cP,lNe as cQ,FOe as ca,_Oe as cb,qOe as cc,Ot as cd,en as ce,lt as cf,Y3 as cg,yi as ch,uB as ci,ac as cj,$n as ck,xt as cl,Et as cm,ou as cn,_e as co,ed as cp,Tl as cq,kB as cr,AB as cs,_B as ct,IB as cu,rP as cv,zo as cw,EB as cx,YFe as cy,zFe as cz,Ln as d,ky as e,V3 as f,Gn as g,Ke as h,ve as i,oe as j,re as k,Qv as l,mt as m,ke as n,N as o,U as p,ge as q,J as r,Sm as s,Be as t,F0 as u,M as v,se as w,ee as x,Se as y,RCe as z};

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.